vendor: 6,122 bytes, lines 1-9
1var G0=t=>{throw TypeError(t)};var Ff=(t,e,r)=>e.has(t)||G0("Cannot "+r);var I=(t,e,r)=>(Ff(t,e,"read from private field"),r?r.call(t):e.get(t)),Te=(t,e,r)=>e.has(t)?G0("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),de=(t,e,r,n)=>(Ff(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),Wt=(t,e,r)=>(Ff(t,e,"access private method"),r);var Dc=(t,e,r,n)=>({set _(s){de(t,e,s,r)},get _(){return I(t,e,n)}});function MN(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const s in n)if(s!=="default"&&!(s in t)){const i=Object.getOwnPropertyDescriptor(n,s);i&&Object.defineProperty(t,s,i.get?i:{enumerable:!0,get:()=>n[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(s){if(s.ep)return;s.ep=!0;const i=r(s);fetch(s.href,i)}})();function By(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Vy={exports:{}},Bd={},Uy={exports:{}},Ce={};/** 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 wc=Symbol.for("react.element"),ON=Symbol.for("react.portal"),DN=Symbol.for("react.fragment"),IN=Symbol.for("react.strict_mode"),LN=Symbol.for("react.profiler"),FN=Symbol.for("react.provider"),zN=Symbol.for("react.context"),$N=Symbol.for("react.forward_ref"),BN=Symbol.for("react.suspense"),VN=Symbol.for("react.memo"),UN=Symbol.for("react.lazy"),K0=Symbol.iterator;function WN(t){return t===null||typeof t!="object"?null:(t=K0&&t[K0]||t["@@iterator"],typeof t=="function"?t:null)}var Wy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Hy=Object.assign,Yy={};function Fa(t,e,r){this.props=t,this.context=e,this.refs=Yy,this.updater=r||Wy}Fa.prototype.isReactComponent={};Fa.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,e,"setState")};Fa.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function Gy(){}Gy.prototype=Fa.prototype;function Im(t,e,r){this.props=t,this.context=e,this.refs=Yy,this.updater=r||Wy}var Lm=Im.prototype=new Gy;Lm.constructor=Im;Hy(Lm,Fa.prototype);Lm.isPureReactComponent=!0;var X0=Array.isArray,Ky=Object.prototype.hasOwnProperty,Fm={current:null},Xy={key:!0,ref:!0,__self:!0,__source:!0};function Qy(t,e,r){var n,s={},i=null,o=null;if(e!=null)for(n in e.ref!==void 0&&(o=e.ref),e.key!==void 0&&(i=""+e.key),e)Ky.call(e,n)&&!Xy.hasOwnProperty(n)&&(s[n]=e[n]);var a=arguments.length-2;if(a===1)s.children=r;else if(1<a){for(var c=Array(a),u=0;u<a;u++)c[u]=arguments[u+2];s.children=c}if(t&&t.defaultProps)for(n in a=t.defaultProps,a)s[n]===void 0&&(s[n]=a[n]);return{$$typeof:wc,type:t,key:i,ref:o,props:s,_owner:Fm.current}}function HN(t,e){return{$$typeof:wc,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function zm(t){return typeof t=="object"&&t!==null&&t.$$typeof===wc}function YN(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var Q0=/\/+/g;function zf(t,e){return typeof t=="object"&&t!==null&&t.key!=null?YN(""+t.key):e.toString(36)}function bu(t,e,r,n,s){var i=typeof t;(i==="undefined"||i==="boolean")&&(t=null);var o=!1;if(t===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case wc:case ON:o=!0}}if(o)return o=t,s=s(o),t=n===""?"."+zf(o,0):n,X0(s)?(r="",t!=null&&(r=t.replace(Q0,"$&/")+"/"),bu(s,e,r,"",function(u){return u})):s!=null&&(zm(s)&&(s=HN(s,r+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(Q0,"$&/")+"/")+t)),e.push(s)),1;if(o=0,n=n===""?".":n+":",X0(t))for(var a=0;a<t.length;a++){i=t[a];var c=n+zf(i,a);o+=bu(i,e,r,c,s)}else if(c=WN(t),typeof c=="function")for(t=c.call(t),a=0;!(i=t.next()).done;)i=i.value,c=n+zf(i,a++),o+=bu(i,e,r,c,s);else if(i==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return o}function Ic(t,e,r){if(t==null)return t;var n=[],s=0;return bu(t,n,"","",function(i){return e.call(r,i,s++)}),n}function GN(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(r){(t._status===0||t._status===-1)&&(t._status=1,t._result=r)},function(r){(t._status===0||t._status===-1)&&(t._status=2,t._result=r)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var hr={current:null},_u={transition:null},KN={ReactCurrentDispatcher:hr,ReactCurrentBatchConfig:_u,ReactCurrentOwner:Fm};function qy(){throw Error("act(...) is not supported in production builds of React.")}Ce.Children={map:Ic,forEach:function(t,e,r){Ic(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return Ic(t,function(){e++}),e},toArray:function(t){return Ic(t,function(e){return e})||[]},only:function(t){if(!zm(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Ce.Component=Fa;Ce.Fragment=DN;Ce.Profiler=LN;Ce.PureComponent=Im;Ce.StrictMode=IN;Ce.Suspense=BN;
vendor: 7,016 bytes, lines 9-25
9Ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=KN;Ce.act=qy;Ce.cloneElement=function(t,e,r){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var n=Hy({},t.props),s=t.key,i=t.ref,o=t._owner;if(e!=null){if(e.ref!==void 0&&(i=e.ref,o=Fm.current),e.key!==void 0&&(s=""+e.key),t.type&&t.type.defaultProps)var a=t.type.defaultProps;for(c in e)Ky.call(e,c)&&!Xy.hasOwnProperty(c)&&(n[c]=e[c]===void 0&&a!==void 0?a[c]:e[c])}var c=arguments.length-2;if(c===1)n.children=r;else if(1<c){a=Array(c);for(var u=0;u<c;u++)a[u]=arguments[u+2];n.children=a}return{$$typeof:wc,type:t.type,key:s,ref:i,props:n,_owner:o}};Ce.createContext=function(t){return t={$$typeof:zN,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:FN,_context:t},t.Consumer=t};Ce.createElement=Qy;Ce.createFactory=function(t){var e=Qy.bind(null,t);return e.type=t,e};Ce.createRef=function(){return{current:null}};Ce.forwardRef=function(t){return{$$typeof:$N,render:t}};Ce.isValidElement=zm;Ce.lazy=function(t){return{$$typeof:UN,_payload:{_status:-1,_result:t},_init:GN}};Ce.memo=function(t,e){return{$$typeof:VN,type:t,compare:e===void 0?null:e}};Ce.startTransition=function(t){var e=_u.transition;_u.transition={};try{t()}finally{_u.transition=e}};Ce.unstable_act=qy;Ce.useCallback=function(t,e){return hr.current.useCallback(t,e)};Ce.useContext=function(t){return hr.current.useContext(t)};Ce.useDebugValue=function(){};Ce.useDeferredValue=function(t){return hr.current.useDeferredValue(t)};Ce.useEffect=function(t,e){return hr.current.useEffect(t,e)};Ce.useId=function(){return hr.current.useId()};Ce.useImperativeHandle=function(t,e,r){return hr.current.useImperativeHandle(t,e,r)};Ce.useInsertionEffect=function(t,e){return hr.current.useInsertionEffect(t,e)};Ce.useLayoutEffect=function(t,e){return hr.current.useLayoutEffect(t,e)};Ce.useMemo=function(t,e){return hr.current.useMemo(t,e)};Ce.useReducer=function(t,e,r){return hr.current.useReducer(t,e,r)};Ce.useRef=function(t){return hr.current.useRef(t)};Ce.useState=function(t){return hr.current.useState(t)};Ce.useSyncExternalStore=function(t,e,r){return hr.current.useSyncExternalStore(t,e,r)};Ce.useTransition=function(){return hr.current.useTransition()};Ce.version="18.3.1";Uy.exports=Ce;var y=Uy.exports;const z=By(y),$m=MN({__proto__:null,default:z},[y]);/** 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 XN=y,QN=Symbol.for("react.element"),qN=Symbol.for("react.fragment"),ZN=Object.prototype.hasOwnProperty,JN=XN.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ej={key:!0,ref:!0,__self:!0,__source:!0};function Zy(t,e,r){var n,s={},i=null,o=null;r!==void 0&&(i=""+r),e.key!==void 0&&(i=""+e.key),e.ref!==void 0&&(o=e.ref);for(n in e)ZN.call(e,n)&&!ej.hasOwnProperty(n)&&(s[n]=e[n]);if(t&&t.defaultProps)for(n in e=t.defaultProps,e)s[n]===void 0&&(s[n]=e[n]);return{$$typeof:QN,type:t,key:i,ref:o,props:s,_owner:JN.current}}Bd.Fragment=qN;Bd.jsx=Zy;Bd.jsxs=Zy;Vy.exports=Bd;var l=Vy.exports,Jy={exports:{}},Qr={},e1={exports:{}},t1={};/** 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(t){function e(P,A){var j=P.length;P.push(A);e:for(;0<j;){var H=j-1>>>1,Y=P[H];if(0<s(Y,A))P[H]=A,P[j]=Y,j=H;else break e}}function r(P){return P.length===0?null:P[0]}function n(P){if(P.length===0)return null;var A=P[0],j=P.pop();if(j!==A){P[0]=j;e:for(var H=0,Y=P.length,te=Y>>>1;H<te;){var G=2*(H+1)-1,ce=P[G],ve=G+1,B=P[ve];if(0>s(ce,j))ve<Y&&0>s(B,ce)?(P[H]=B,P[ve]=j,H=ve):(P[H]=ce,P[G]=j,H=G);else if(ve<Y&&0>s(B,j))P[H]=B,P[ve]=j,H=ve;else break e}}return A}function s(P,A){var j=P.sortIndex-A.sortIndex;return j!==0?j:P.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();t.unstable_now=function(){return o.now()-a}}var c=[],u=[],d=1,f=null,m=3,h=!1,b=!1,p=!1,v=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(P){for(var A=r(u);A!==null;){if(A.callback===null)n(u);else if(A.startTime<=P)n(u),A.sortIndex=A.expirationTime,e(c,A);else break;A=r(u)}}function _(P){if(p=!1,w(P),!b)if(r(c)!==null)b=!0,L(C);else{var A=r(u);A!==null&&F(_,A.startTime-P)}}function C(P,A){b=!1,p&&(p=!1,x(E),E=-1),h=!0;var j=m;try{for(w(A),f=r(c);f!==null&&(!(f.expirationTime>A)||P&&!D());){var H=f.callback;if(typeof H=="function"){f.callback=null,m=f.priorityLevel;var Y=H(f.expirationTime<=A);A=t.unstable_now(),typeof Y=="function"?f.callback=Y:f===r(c)&&n(c),w(A)}else n(c);f=r(c)}if(f!==null)var te=!0;else{var G=r(u);G!==null&&F(_,G.startTime-A),te=!1}return te}finally{f=null,m=j,h=!1}}var N=!1,S=null,E=-1,k=5,T=-1;function D(){return!(t.unstable_now()-T<k)}function R(){if(S!==null){var P=t.unstable_now();T=P;var A=!0;try{A=S(!0,P)}finally{A?$():(N=!1,S=null)}}else N=!1}var $;if(typeof g=="function")$=function(){g(R)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,U=O.port2;O.port1.onmessage=R,$=function(){U.postMessage(null)}}else $=function(){v(R,0)};function L(P){S=P,N||(N=!0,$())}function F(P,A){E=v(function(){P(t.unstable_now())},A)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(P){P.callback=null},t.unstable_continueExecution=function(){b||h||(b=!0,L(C))},t.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<P?Math.floor(1e3/P):5},t.unstable_getCurrentPriorityLevel=function(){return m},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(P){switch(m){case 1:case 2:case 3:var A=3;break;default:A=m}var j=m;m=A;try{return P()}finally{m=j}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(P,A){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var j=m;m=P;try{return A()}finally{m=j}},t.unstable_scheduleCallback=function(P,A,j){var H=t.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?H+j:H):j=H,P){case 1:var Y=-1;break;case 2:Y=250;break;case 5:Y=1073741823;break;case 4:Y=1e4;break;default:Y=5e3}
vendor: 4,614 bytes, lines 25-33
25return Y=j+Y,P={id:d++,callback:A,priorityLevel:P,startTime:j,expirationTime:Y,sortIndex:-1},j>H?(P.sortIndex=j,e(u,P),r(c)===null&&P===r(u)&&(p?(x(E),E=-1):p=!0,F(_,j-H))):(P.sortIndex=Y,e(c,P),b||h||(b=!0,L(C))),P},t.unstable_shouldYield=D,t.unstable_wrapCallback=function(P){var A=m;return function(){var j=m;m=A;try{return P.apply(this,arguments)}finally{m=j}}}})(t1);e1.exports=t1;var tj=e1.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 rj=y,Gr=tj;function V(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r1=new Set,Vl={};function Co(t,e){ba(t,e),ba(t+"Capture",e)}function ba(t,e){for(Vl[t]=e,t=0;t<e.length;t++)r1.add(e[t])}var Es=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hh=Object.prototype.hasOwnProperty,nj=/^[: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]*$/,q0={},Z0={};function sj(t){return Hh.call(Z0,t)?!0:Hh.call(q0,t)?!1:nj.test(t)?Z0[t]=!0:(q0[t]=!0,!1)}function ij(t,e,r,n){if(r!==null&&r.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function oj(t,e,r,n){if(e===null||typeof e>"u"||ij(t,e,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function pr(t,e,r,n,s,i,o){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=n,this.attributeNamespace=s,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=i,this.removeEmptyString=o}var Lt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){Lt[t]=new pr(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];Lt[e]=new pr(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){Lt[t]=new pr(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){Lt[t]=new pr(t,2,!1,t,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(t){Lt[t]=new pr(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){Lt[t]=new pr(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){Lt[t]=new pr(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){Lt[t]=new pr(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){Lt[t]=new pr(t,5,!1,t.toLowerCase(),null,!1,!1)});var Bm=/[\-:]([a-z])/g;function Vm(t){return t[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(t){var e=t.replace(Bm,Vm);Lt[e]=new pr(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(Bm,Vm);Lt[e]=new pr(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(Bm,Vm);Lt[e]=new pr(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){Lt[t]=new pr(t,1,!1,t.toLowerCase(),null,!1,!1)});Lt.xlinkHref=new pr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){Lt[t]=new pr(t,1,!1,t.toLowerCase(),null,!0,!0)});function Um(t,e,r,n){var s=Lt.hasOwnProperty(e)?Lt[e]:null;(s!==null?s.type!==0:n||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(oj(e,r,s,n)&&(r=null),n||s===null?sj(e)&&(r===null?t.removeAttribute(e):t.setAttribute(e,""+r)):s.mustUseProperty?t[s.propertyName]=r===null?s.type===3?!1:"":r:(e=s.attributeName,n=s.attributeNamespace,r===null?t.removeAttribute(e):(s=s.type,r=s===3||s===4&&r===!0?"":""+r,n?t.setAttributeNS(n,e,r):t.setAttribute(e,r))))}var Ds=rj.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Lc=Symbol.for("react.element"),Io=Symbol.for("react.portal"),Lo=Symbol.for("react.fragment"),Wm=Symbol.for("react.strict_mode"),Yh=Symbol.for("react.profiler"),n1=Symbol.for("react.provider"),s1=Symbol.for("react.context"),Hm=Symbol.for("react.forward_ref"),Gh=Symbol.for("react.suspense"),Kh=Symbol.for("react.suspense_list"),Ym=Symbol.for("react.memo"),Ys=Symbol.for("react.lazy"),i1=Symbol.for("react.offscreen"),J0=Symbol.iterator;function Ka(t){return t===null||typeof t!="object"?null:(t=J0&&t[J0]||t["@@iterator"],typeof t=="function"?t:null)}var Je=Object.assign,$f;function al(t){if($f===void 0)try{throw Error()}catch(r){var e=r.stack.trim().match(/\n( *(at )?)/);$f=e&&e[1]||""}return` 34`+$f+t}var Bf=!1;function Vf(t,e){if(!t||Bf)return"";Bf=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(u){var n=u}Reflect.construct(t,[],e)}else{try{e.call()}catch(u){n=u}t.call(e.prototype)}else{try{throw Error()}catch(u){n=u}t()}}catch(u){if(u&&n&&typeof u.stack=="string"){for(var s=u.stack.split(` 35`),i=n.stack.split(` 36`),o=s.length-1,a=i.length-1;1<=o&&0<=a&&s[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(s[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||s[o]!==i[a]){var c=` 37`+s[o].replace(" at new "," at ");return t.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",t.displayName)),c}while(1<=o&&0<=a);break}}}finally{Bf=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?al(t):""}function aj(t){switch(t.tag){case 5:return al(t.type);case 16:return al("Lazy");case 13:return al("Suspense");case 19:return al("SuspenseList");case 0:case 2:case 15:return t=Vf(t.type,!1),t;case 11:return t=Vf(t.type.render,!1),t;case 1:return t=Vf(t.type,!0),t;default:return""}}function Xh(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Lo:return"Fragment";case Io:return"Portal";case Yh:return"Profiler";case Wm:return"StrictMode";case Gh:return"Suspense";case Kh:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case s1:return(t.displayName||"Context")+".Consumer";case n1:return(t._context.displayName||"Context")+".Provider";case Hm:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Ym:return e=t.displayName||null,e!==null?e:Xh(t.type)||"Memo";case Ys:e=t._payload,t=t._init;try{return Xh(t(e))}catch{}}return null}function lj(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Xh(e);case 8:return e===Wm?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function wi(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function o1(t){var e=t.type;
vendor: 15,745 bytes, line 37
37return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function cj(t){var e=o1(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),n=""+t[e];if(!t.hasOwnProperty(e)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var s=r.get,i=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(o){n=""+o,i.call(this,o)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Fc(t){t._valueTracker||(t._valueTracker=cj(t))}function a1(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),n="";return t&&(n=o1(t)?t.checked?"true":"false":t.value),t=n,t!==r?(e.setValue(t),!0):!1}function Gu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Qh(t,e){var r=e.checked;return Je({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??t._wrapperState.initialChecked})}function ev(t,e){var r=e.defaultValue==null?"":e.defaultValue,n=e.checked!=null?e.checked:e.defaultChecked;r=wi(e.value!=null?e.value:r),t._wrapperState={initialChecked:n,initialValue:r,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function l1(t,e){e=e.checked,e!=null&&Um(t,"checked",e,!1)}function qh(t,e){l1(t,e);var r=wi(e.value),n=e.type;if(r!=null)n==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if(n==="submit"||n==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?Zh(t,e.type,r):e.hasOwnProperty("defaultValue")&&Zh(t,e.type,wi(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function tv(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var n=e.type;if(!(n!=="submit"&&n!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}r=t.name,r!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,r!==""&&(t.name=r)}function Zh(t,e,r){(e!=="number"||Gu(t.ownerDocument)!==t)&&(r==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}var ll=Array.isArray;function qo(t,e,r,n){if(t=t.options,e){e={};for(var s=0;s<r.length;s++)e["$"+r[s]]=!0;for(r=0;r<t.length;r++)s=e.hasOwnProperty("$"+t[r].value),t[r].selected!==s&&(t[r].selected=s),s&&n&&(t[r].defaultSelected=!0)}else{for(r=""+wi(r),e=null,s=0;s<t.length;s++){if(t[s].value===r){t[s].selected=!0,n&&(t[s].defaultSelected=!0);return}e!==null||t[s].disabled||(e=t[s])}e!==null&&(e.selected=!0)}}function Jh(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(V(91));return Je({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function rv(t,e){var r=e.value;if(r==null){if(r=e.children,e=e.defaultValue,r!=null){if(e!=null)throw Error(V(92));if(ll(r)){if(1<r.length)throw Error(V(93));r=r[0]}e=r}e==null&&(e=""),r=e}t._wrapperState={initialValue:wi(r)}}function c1(t,e){var r=wi(e.value),n=wi(e.defaultValue);r!=null&&(r=""+r,r!==t.value&&(t.value=r),e.defaultValue==null&&t.defaultValue!==r&&(t.defaultValue=r)),n!=null&&(t.defaultValue=""+n)}function nv(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function u1(t){switch(t){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 ep(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?u1(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var zc,d1=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,r,n,s){MSApp.execUnsafeLocalFunction(function(){return t(e,r,n,s)})}:t}(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(zc=zc||document.createElement("div"),zc.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=zc.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Ul(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=e;return}}t.textContent=e}var wl={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},uj=["Webkit","ms","Moz","O"];Object.keys(wl).forEach(function(t){uj.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),wl[e]=wl[t]})});function f1(t,e,r){return e==null||typeof e=="boolean"||e===""?"":r||typeof e!="number"||e===0||wl.hasOwnProperty(t)&&wl[t]?(""+e).trim():e+"px"}function h1(t,e){t=t.style;for(var r in e)if(e.hasOwnProperty(r)){var n=r.indexOf("--")===0,s=f1(r,e[r],n);r==="float"&&(r="cssFloat"),n?t.setProperty(r,s):t[r]=s}}var dj=Je({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 tp(t,e){if(e){if(dj[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(V(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(V(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(V(61))}if(e.style!=null&&typeof e.style!="object")throw Error(V(62))}}function rp(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){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 np=null;function Gm(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var sp=null,Zo=null,Jo=null;function sv(t){if(t=Cc(t)){if(typeof sp!="function")throw Error(V(280));var e=t.stateNode;e&&(e=Yd(e),sp(t.stateNode,t.type,e))}}function p1(t){Zo?Jo?Jo.push(t):Jo=[t]:Zo=t}function m1(){if(Zo){var t=Zo,e=Jo;if(Jo=Zo=null,sv(t),e)for(t=0;t<e.length;t++)sv(e[t])}}function g1(t,e){return t(e)}function v1(){}var Uf=!1;function x1(t,e,r){if(Uf)return t(e,r);Uf=!0;try{return g1(t,e,r)}finally{Uf=!1,(Zo!==null||Jo!==null)&&(v1(),m1())}}function Wl(t,e){var r=t.stateNode;if(r===null)return null;var n=Yd(r);if(n===null)return null;r=n[e];e:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break e;default:t=!1}if(t)return null;if(r&&typeof r!="function")throw Error(V(231,e,typeof r));return r}var ip=!1;if(Es)try{var Xa={};Object.defineProperty(Xa,"passive",{get:function(){ip=!0}}),window.addEventListener("test",Xa,Xa),window.removeEventListener("test",Xa,Xa)}catch{ip=!1}function fj(t,e,r,n,s,i,o,a,c){var u=Array.prototype.slice.call(arguments,3);try{e.apply(r,u)}catch(d){this.onError(d)}}var bl=!1,Ku=null,Xu=!1,op=null,hj={onError:function(t){bl=!0,Ku=t}};function pj(t,e,r,n,s,i,o,a,c){bl=!1,Ku=null,fj.apply(hj,arguments)}function mj(t,e,r,n,s,i,o,a,c){if(pj.apply(this,arguments),bl){if(bl){var u=Ku;bl=!1,Ku=null}else throw Error(V(198));Xu||(Xu=!0,op=u)}}function So(t){var e=t,r=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(r=e.return),t=e.return;while(t)}return e.tag===3?r:null}function y1(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function iv(t){if(So(t)!==t)throw Error(V(188))}function gj(t){var e=t.alternate;if(!e){if(e=So(t),e===null)throw Error(V(188));return e!==t?null:t}for(var r=t,n=e;;){var s=r.return;if(s===null)break;var i=s.alternate;if(i===null){if(n=s.return,n!==null){r=n;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===r)return iv(s),t;if(i===n)return iv(s),e;i=i.sibling}throw Error(V(188))}if(r.return!==n.return)r=s,n=i;else{for(var o=!1,a=s.child;a;){if(a===r){o=!0,r=s,n=i;break}if(a===n){o=!0,n=s,r=i;break}a=a.sibling}if(!o){for(a=i.child;a;){if(a===r){o=!0,r=i,n=s;break}if(a===n){o=!0,n=i,r=s;break}a=a.sibling}if(!o)throw Error(V(189))}}if(r.alternate!==n)throw Error(V(190))}if(r.tag!==3)throw Error(V(188));return r.stateNode.current===r?t:e}function w1(t){return t=gj(t),t!==null?b1(t):null}function b1(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=b1(t);if(e!==null)return e;t=t.sibling}return null}var _1=Gr.unstable_scheduleCallback,ov=Gr.unstable_cancelCallback,vj=Gr.unstable_shouldYield,xj=Gr.unstable_requestPaint,ut=Gr.unstable_now,yj=Gr.unstable_getCurrentPriorityLevel,Km=Gr.unstable_ImmediatePriority,C1=Gr.unstable_UserBlockingPriority,Qu=Gr.unstable_NormalPriority,wj=Gr.unstable_LowPriority,S1=Gr.unstable_IdlePriority,Vd=null,Jn=null;function bj(t){if(Jn&&typeof Jn.onCommitFiberRoot=="function")try{Jn.onCommitFiberRoot(Vd,t,void 0,(t.current.flags&128)===128)}catch{}}var En=Math.clz32?Math.clz32:Sj,_j=Math.log,Cj=Math.LN2;function Sj(t){return t>>>=0,t===0?32:31-(_j(t)/Cj|0)|0}var $c=64,Bc=4194304;function cl(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function qu(t,e){var r=t.pendingLanes;if(r===0)return 0;var n=0,s=t.suspendedLanes,i=t.pingedLanes,o=r&268435455;if(o!==0){var a=o&~s;a!==0?n=cl(a):(i&=o,i!==0&&(n=cl(i)))}else o=r&~s,o!==0?n=cl(o):i!==0&&(n=cl(i));if(n===0)return 0;if(e!==0&&e!==n&&!(e&s)&&(s=n&-n,i=e&-e,s>=i||s===16&&(i&4194240)!==0))return e;if(n&4&&(n|=r&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=n;0<e;)r=31-En(e),s=1<<r,n|=t[r],e&=~s;return n}function Nj(t,e){switch(t){case 1:case 2:case 4:return e+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 e+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 jj(t,e){for(var r=t.suspendedLanes,n=t.pingedLanes,s=t.expirationTimes,i=t.pendingLanes;0<i;){var o=31-En(i),a=1<<o,c=s[o];c===-1?(!(a&r)||a&n)&&(s[o]=Nj(a,e)):c<=e&&(t.expiredLanes|=a),i&=~a}}function ap(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function N1(){var t=$c;return $c<<=1,!($c&4194240)&&($c=64),t}function Wf(t){for(var e=[],r=0;31>r;r++)e.push(t);return e}function bc(t,e,r){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-En(e),t[e]=r}function Ej(t,e){var r=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var n=t.eventTimes;for(t=t.expirationTimes;0<r;){var s=31-En(r),i=1<<s;e[s]=0,n[s]=-1,t[s]=-1,r&=~i}}function Xm(t,e){var r=t.entangledLanes|=e;for(t=t.entanglements;r;){var n=31-En(r),s=1<<n;s&e|t[n]&e&&(t[n]|=e),r&=~s}}var Ae=0;function j1(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var E1,Qm,k1,T1,P1,lp=!1,Vc=[],ci=null,ui=null,di=null,Hl=new Map,Yl=new Map,Ks=[],kj="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 av(t,e){switch(t){case"focusin":case"focusout":ci=null;break;case"dragenter":case"dragleave":ui=null;break;case"mouseover":case"mouseout":di=null;break;case"pointerover":case"pointerout":Hl.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yl.delete(e.pointerId)}}function Qa(t,e,r,n,s,i){return t===null||t.nativeEvent!==i?(t={blockedOn:e,domEventName:r,eventSystemFlags:n,nativeEvent:i,targetContainers:[s]},e!==null&&(e=Cc(e),e!==null&&Qm(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,s!==null&&e.indexOf(s)===-1&&e.push(s),t)}function Tj(t,e,r,n,s){switch(e){case"focusin":return ci=Qa(ci,t,e,r,n,s),!0;case"dragenter":return ui=Qa(ui,t,e,r,n,s),!0;case"mouseover":return di=Qa(di,t,e,r,n,s),!0;case"pointerover":var i=s.pointerId;return Hl.set(i,Qa(Hl.get(i)||null,t,e,r,n,s)),!0;case"gotpointercapture":return i=s.pointerId,Yl.set(i,Qa(Yl.get(i)||null,t,e,r,n,s)),!0}return!1}function R1(t){var e=Ui(t.target);if(e!==null){var r=So(e);if(r!==null){if(e=r.tag,e===13){if(e=y1(r),e!==null){t.blockedOn=e,P1(t.priority,function(){k1(r)});return}}else if(e===3&&r.stateNode.current.memoizedState.isDehydrated){t.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Cu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var r=cp(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(r===null){r=t.nativeEvent;var n=new r.constructor(r.type,r);np=n,r.target.dispatchEvent(n),np=null}else return e=Cc(r),e!==null&&Qm(e),t.blockedOn=r,!1;e.shift()}return!0}function lv(t,e,r){Cu(t)&&r.delete(e)}function Pj(){lp=!1,ci!==null&&Cu(ci)&&(ci=null),ui!==null&&Cu(ui)&&(ui=null),di!==null&&Cu(di)&&(di=null),Hl.forEach(lv),Yl.forEach(lv)}function qa(t,e){t.blockedOn===e&&(t.blockedOn=null,lp||(lp=!0,Gr.unstable_scheduleCallback(Gr.unstable_NormalPriority,Pj)))}function Gl(t){function e(s){return qa(s,t)}if(0<Vc.length){qa(Vc[0],t);for(var r=1;r<Vc.length;r++){var n=Vc[r];n.blockedOn===t&&(n.blockedOn=null)}}for(ci!==null&&qa(ci,t),ui!==null&&qa(ui,t),di!==null&&qa(di,t),Hl.forEach(e),Yl.forEach(e),r=0;r<Ks.length;r++)n=Ks[r],n.blockedOn===t&&(n.blockedOn=null);for(;0<Ks.length&&(r=Ks[0],r.blockedOn===null);)R1(r),r.blockedOn===null&&Ks.shift()}var ea=Ds.ReactCurrentBatchConfig,Zu=!0;function Rj(t,e,r,n){var s=Ae,i=ea.transition;ea.transition=null;try{Ae=1,qm(t,e,r,n)}finally{Ae=s,ea.transition=i}}function Aj(t,e,r,n){var s=Ae,i=ea.transition;ea.transition=null;try{Ae=4,qm(t,e,r,n)}finally{Ae=s,ea.transition=i}}function qm(t,e,r,n){if(Zu){var s=cp(t,e,r,n);if(s===null)eh(t,e,n,Ju,r),av(t,n);else if(Tj(s,t,e,r,n))n.stopPropagation();else if(av(t,n),e&4&&-1<kj.indexOf(t)){for(;s!==null;){var i=Cc(s);if(i!==null&&E1(i),i=cp(t,e,r,n),i===null&&eh(t,e,n,Ju,r),i===s)break;s=i}s!==null&&n.stopPropagation()}else eh(t,e,n,null,r)}}var Ju=null;function cp(t,e,r,n){if(Ju=null,t=Gm(n),t=Ui(t),t!==null)if(e=So(t),e===null)t=null;else if(r=e.tag,r===13){if(t=y1(e),t!==null)return t;t=null}else if(r===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return Ju=t,null}
vendor: 10,401 bytes, line 37
37function A1(t){switch(t){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(yj()){case Km:return 1;case C1:return 4;case Qu:case wj:return 16;case S1:return 536870912;default:return 16}default:return 16}}var ti=null,Zm=null,Su=null;function M1(){if(Su)return Su;var t,e=Zm,r=e.length,n,s="value"in ti?ti.value:ti.textContent,i=s.length;for(t=0;t<r&&e[t]===s[t];t++);var o=r-t;for(n=1;n<=o&&e[r-n]===s[i-n];n++);return Su=s.slice(t,1<n?1-n:void 0)}function Nu(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Uc(){return!0}function cv(){return!1}function qr(t){function e(r,n,s,i,o){this._reactName=r,this._targetInst=s,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var a in t)t.hasOwnProperty(a)&&(r=t[a],this[a]=r?r(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Uc:cv,this.isPropagationStopped=cv,this}return Je(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Uc)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Uc)},persist:function(){},isPersistent:Uc}),e}var za={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jm=qr(za),_c=Je({},za,{view:0,detail:0}),Mj=qr(_c),Hf,Yf,Za,Ud=Je({},_c,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:eg,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Za&&(Za&&t.type==="mousemove"?(Hf=t.screenX-Za.screenX,Yf=t.screenY-Za.screenY):Yf=Hf=0,Za=t),Hf)},movementY:function(t){return"movementY"in t?t.movementY:Yf}}),uv=qr(Ud),Oj=Je({},Ud,{dataTransfer:0}),Dj=qr(Oj),Ij=Je({},_c,{relatedTarget:0}),Gf=qr(Ij),Lj=Je({},za,{animationName:0,elapsedTime:0,pseudoElement:0}),Fj=qr(Lj),zj=Je({},za,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),$j=qr(zj),Bj=Je({},za,{data:0}),dv=qr(Bj),Vj={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Uj={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"},Wj={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hj(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Wj[t])?!!e[t]:!1}function eg(){return Hj}var Yj=Je({},_c,{key:function(t){if(t.key){var e=Vj[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Nu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Uj[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:eg,charCode:function(t){return t.type==="keypress"?Nu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Nu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Gj=qr(Yj),Kj=Je({},Ud,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fv=qr(Kj),Xj=Je({},_c,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:eg}),Qj=qr(Xj),qj=Je({},za,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zj=qr(qj),Jj=Je({},Ud,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),eE=qr(Jj),tE=[9,13,27,32],tg=Es&&"CompositionEvent"in window,_l=null;Es&&"documentMode"in document&&(_l=document.documentMode);var rE=Es&&"TextEvent"in window&&!_l,O1=Es&&(!tg||_l&&8<_l&&11>=_l),hv=" ",pv=!1;function D1(t,e){switch(t){case"keyup":return tE.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function I1(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Fo=!1;function nE(t,e){switch(t){case"compositionend":return I1(e);case"keypress":return e.which!==32?null:(pv=!0,hv);case"textInput":return t=e.data,t===hv&&pv?null:t;default:return null}}function sE(t,e){if(Fo)return t==="compositionend"||!tg&&D1(t,e)?(t=M1(),Su=Zm=ti=null,Fo=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return O1&&e.locale!=="ko"?null:e.data;default:return null}}var iE={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 mv(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!iE[t.type]:e==="textarea"}function L1(t,e,r,n){p1(n),e=ed(e,"onChange"),0<e.length&&(r=new Jm("onChange","change",null,r,n),t.push({event:r,listeners:e}))}var Cl=null,Kl=null;function oE(t){K1(t,0)}function Wd(t){var e=Bo(t);if(a1(e))return t}function aE(t,e){if(t==="change")return e}var F1=!1;if(Es){var Kf;if(Es){var Xf="oninput"in document;if(!Xf){var gv=document.createElement("div");gv.setAttribute("oninput","return;"),Xf=typeof gv.oninput=="function"}Kf=Xf}else Kf=!1;F1=Kf&&(!document.documentMode||9<document.documentMode)}function vv(){Cl&&(Cl.detachEvent("onpropertychange",z1),Kl=Cl=null)}function z1(t){if(t.propertyName==="value"&&Wd(Kl)){var e=[];L1(e,Kl,t,Gm(t)),x1(oE,e)}}function lE(t,e,r){t==="focusin"?(vv(),Cl=e,Kl=r,Cl.attachEvent("onpropertychange",z1)):t==="focusout"&&vv()}function cE(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Wd(Kl)}function uE(t,e){if(t==="click")return Wd(e)}function dE(t,e){if(t==="input"||t==="change")return Wd(e)}function fE(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Tn=typeof Object.is=="function"?Object.is:fE;function Xl(t,e){if(Tn(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var s=r[n];if(!Hh.call(e,s)||!Tn(t[s],e[s]))return!1}return!0}function xv(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function yv(t,e){var r=xv(t);t=0;for(var n;r;){if(r.nodeType===3){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=xv(r)}}function $1(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?$1(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function B1(){for(var t=window,e=Gu();e instanceof t.HTMLIFrameElement;){try{var r=typeof e.contentWindow.location.href=="string"}catch{r=!1}if(r)t=e.contentWindow;else break;e=Gu(t.document)}return e}function rg(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function hE(t){var e=B1(),r=t.focusedElem,n=t.selectionRange;if(e!==r&&r&&r.ownerDocument&&$1(r.ownerDocument.documentElement,r)){if(n!==null&&rg(r)){if(e=n.start,t=n.end,t===void 0&&(t=e),"selectionStart"in r)r.selectionStart=e,r.selectionEnd=Math.min(t,r.value.length);else if(t=(e=r.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var s=r.textContent.length,i=Math.min(n.start,s);n=n.end===void 0?i:Math.min(n.end,s),!t.extend&&i>n&&(s=n,n=i,i=s),s=yv(r,i);var o=yv(r,n);s&&o&&(t.rangeCount!==1||t.anchorNode!==s.node||t.anchorOffset!==s.offset||t.focusNode!==o.node||t.focusOffset!==o.offset)&&(e=e.createRange(),e.setStart(s.node,s.offset),t.removeAllRanges(),i>n?(t.addRange(e),t.extend(o.node,o.offset)):(e.setEnd(o.node,o.offset),t.addRange(e)))}}for(e=[],t=r;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<e.length;r++)t=e[r],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var pE=Es&&"documentMode"in document&&11>=document.documentMode,zo=null,up=null,Sl=null,dp=!1;function wv(t,e,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;dp||zo==null||zo!==Gu(n)||(n=zo,"selectionStart"in n&&rg(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focu
vendor: 4,383 bytes, line 37
37sNode:n.focusNode,focusOffset:n.focusOffset}),Sl&&Xl(Sl,n)||(Sl=n,n=ed(up,"onSelect"),0<n.length&&(e=new Jm("onSelect","select",null,e,r),t.push({event:e,listeners:n}),e.target=zo)))}function Wc(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit"+t]="webkit"+e,r["Moz"+t]="moz"+e,r}var $o={animationend:Wc("Animation","AnimationEnd"),animationiteration:Wc("Animation","AnimationIteration"),animationstart:Wc("Animation","AnimationStart"),transitionend:Wc("Transition","TransitionEnd")},Qf={},V1={};Es&&(V1=document.createElement("div").style,"AnimationEvent"in window||(delete $o.animationend.animation,delete $o.animationiteration.animation,delete $o.animationstart.animation),"TransitionEvent"in window||delete $o.transitionend.transition);function Hd(t){if(Qf[t])return Qf[t];if(!$o[t])return t;var e=$o[t],r;for(r in e)if(e.hasOwnProperty(r)&&r in V1)return Qf[t]=e[r];return t}var U1=Hd("animationend"),W1=Hd("animationiteration"),H1=Hd("animationstart"),Y1=Hd("transitionend"),G1=new Map,bv="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 Ei(t,e){G1.set(t,e),Co(e,[t])}for(var qf=0;qf<bv.length;qf++){var Zf=bv[qf],mE=Zf.toLowerCase(),gE=Zf[0].toUpperCase()+Zf.slice(1);Ei(mE,"on"+gE)}Ei(U1,"onAnimationEnd");Ei(W1,"onAnimationIteration");Ei(H1,"onAnimationStart");Ei("dblclick","onDoubleClick");Ei("focusin","onFocus");Ei("focusout","onBlur");Ei(Y1,"onTransitionEnd");ba("onMouseEnter",["mouseout","mouseover"]);ba("onMouseLeave",["mouseout","mouseover"]);ba("onPointerEnter",["pointerout","pointerover"]);ba("onPointerLeave",["pointerout","pointerover"]);Co("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Co("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Co("onBeforeInput",["compositionend","keypress","textInput","paste"]);Co("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Co("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Co("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ul="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(" "),vE=new Set("cancel close invalid load scroll toggle".split(" ").concat(ul));function _v(t,e,r){var n=t.type||"unknown-event";t.currentTarget=r,mj(n,e,void 0,t),t.currentTarget=null}function K1(t,e){e=(e&4)!==0;for(var r=0;r<t.length;r++){var n=t[r],s=n.event;n=n.listeners;e:{var i=void 0;if(e)for(var o=n.length-1;0<=o;o--){var a=n[o],c=a.instance,u=a.currentTarget;if(a=a.listener,c!==i&&s.isPropagationStopped())break e;_v(s,a,u),i=c}else for(o=0;o<n.length;o++){if(a=n[o],c=a.instance,u=a.currentTarget,a=a.listener,c!==i&&s.isPropagationStopped())break e;_v(s,a,u),i=c}}}if(Xu)throw t=op,Xu=!1,op=null,t}function Ve(t,e){var r=e[gp];r===void 0&&(r=e[gp]=new Set);var n=t+"__bubble";r.has(n)||(X1(e,t,2,!1),r.add(n))}function Jf(t,e,r){var n=0;e&&(n|=4),X1(r,t,n,e)}var Hc="_reactListening"+Math.random().toString(36).slice(2);function Ql(t){if(!t[Hc]){t[Hc]=!0,r1.forEach(function(r){r!=="selectionchange"&&(vE.has(r)||Jf(r,!1,t),Jf(r,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Hc]||(e[Hc]=!0,Jf("selectionchange",!1,e))}}function X1(t,e,r,n){switch(A1(e)){case 1:var s=Rj;break;case 4:s=Aj;break;default:s=qm}r=s.bind(null,e,r,t),s=void 0,!ip||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(s=!0),n?s!==void 0?t.addEventListener(e,r,{capture:!0,passive:s}):t.addEventListener(e,r,!0):s!==void 0?t.addEventListener(e,r,{passive:s}):t.addEventListener(e,r,!1)}function eh(t,e,r,n,s){var i=n;
vendor: 5,434 bytes, lines 37-38
37if(!(e&1)&&!(e&2)&&n!==null)e:for(;;){if(n===null)return;var o=n.tag;if(o===3||o===4){var a=n.stateNode.containerInfo;if(a===s||a.nodeType===8&&a.parentNode===s)break;if(o===4)for(o=n.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===s||c.nodeType===8&&c.parentNode===s))return;o=o.return}for(;a!==null;){if(o=Ui(a),o===null)return;if(c=o.tag,c===5||c===6){n=i=o;continue e}a=a.parentNode}}n=n.return}x1(function(){var u=i,d=Gm(r),f=[];e:{var m=G1.get(t);if(m!==void 0){var h=Jm,b=t;switch(t){case"keypress":if(Nu(r)===0)break e;case"keydown":case"keyup":h=Gj;break;case"focusin":b="focus",h=Gf;break;case"focusout":b="blur",h=Gf;break;case"beforeblur":case"afterblur":h=Gf;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=uv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Dj;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=Qj;break;case U1:case W1:case H1:h=Fj;break;case Y1:h=Zj;break;case"scroll":h=Mj;break;case"wheel":h=eE;break;case"copy":case"cut":case"paste":h=$j;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=fv}var p=(e&4)!==0,v=!p&&t==="scroll",x=p?m!==null?m+"Capture":null:m;p=[];for(var g=u,w;g!==null;){w=g;var _=w.stateNode;if(w.tag===5&&_!==null&&(w=_,x!==null&&(_=Wl(g,x),_!=null&&p.push(ql(g,_,w)))),v)break;g=g.return}0<p.length&&(m=new h(m,b,null,r,d),f.push({event:m,listeners:p}))}}if(!(e&7)){e:{if(m=t==="mouseover"||t==="pointerover",h=t==="mouseout"||t==="pointerout",m&&r!==np&&(b=r.relatedTarget||r.fromElement)&&(Ui(b)||b[ks]))break e;if((h||m)&&(m=d.window===d?d:(m=d.ownerDocument)?m.defaultView||m.parentWindow:window,h?(b=r.relatedTarget||r.toElement,h=u,b=b?Ui(b):null,b!==null&&(v=So(b),b!==v||b.tag!==5&&b.tag!==6)&&(b=null)):(h=null,b=u),h!==b)){if(p=uv,_="onMouseLeave",x="onMouseEnter",g="mouse",(t==="pointerout"||t==="pointerover")&&(p=fv,_="onPointerLeave",x="onPointerEnter",g="pointer"),v=h==null?m:Bo(h),w=b==null?m:Bo(b),m=new p(_,g+"leave",h,r,d),m.target=v,m.relatedTarget=w,_=null,Ui(d)===u&&(p=new p(x,g+"enter",b,r,d),p.target=w,p.relatedTarget=v,_=p),v=_,h&&b)t:{for(p=h,x=b,g=0,w=p;w;w=Eo(w))g++;for(w=0,_=x;_;_=Eo(_))w++;for(;0<g-w;)p=Eo(p),g--;for(;0<w-g;)x=Eo(x),w--;for(;g--;){if(p===x||x!==null&&p===x.alternate)break t;p=Eo(p),x=Eo(x)}p=null}else p=null;h!==null&&Cv(f,m,h,p,!1),b!==null&&v!==null&&Cv(f,v,b,p,!0)}}e:{if(m=u?Bo(u):window,h=m.nodeName&&m.nodeName.toLowerCase(),h==="select"||h==="input"&&m.type==="file")var C=aE;else if(mv(m))if(F1)C=dE;else{C=cE;var N=lE}else(h=m.nodeName)&&h.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(C=uE);if(C&&(C=C(t,u))){L1(f,C,r,d);break e}N&&N(t,m,u),t==="focusout"&&(N=m._wrapperState)&&N.controlled&&m.type==="number"&&Zh(m,"number",m.value)}switch(N=u?Bo(u):window,t){case"focusin":(mv(N)||N.contentEditable==="true")&&(zo=N,up=u,Sl=null);break;case"focusout":Sl=up=zo=null;break;case"mousedown":dp=!0;break;case"contextmenu":case"mouseup":case"dragend":dp=!1,wv(f,r,d);break;case"selectionchange":if(pE)break;case"keydown":case"keyup":wv(f,r,d)}var S;if(tg)e:{switch(t){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else Fo?D1(t,r)&&(E="onCompositionEnd"):t==="keydown"&&r.keyCode===229&&(E="onCompositionStart");E&&(O1&&r.locale!=="ko"&&(Fo||E!=="onCompositionStart"?E==="onCompositionEnd"&&Fo&&(S=M1()):(ti=d,Zm="value"in ti?ti.value:ti.textContent,Fo=!0)),N=ed(u,E),0<N.length&&(E=new dv(E,t,null,r,d),f.push({event:E,listeners:N}),S?E.data=S:(S=I1(r),S!==null&&(E.data=S)))),(S=rE?nE(t,r):sE(t,r))&&(u=ed(u,"onBeforeInput"),0<u.length&&(d=new dv("onBeforeInput","beforeinput",null,r,d),f.push({event:d,listeners:u}),d.data=S))}K1(f,e)})}function ql(t,e,r){return{instance:t,listener:e,currentTarget:r}}function ed(t,e){for(var r=e+"Capture",n=[];t!==null;){var s=t,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=Wl(t,r),i!=null&&n.unshift(ql(t,i,s)),i=Wl(t,e),i!=null&&n.push(ql(t,i,s))),t=t.return}return n}function Eo(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Cv(t,e,r,n,s){for(var i=e._reactName,o=[];r!==null&&r!==n;){var a=r,c=a.alternate,u=a.stateNode;if(c!==null&&c===n)break;a.tag===5&&u!==null&&(a=u,s?(c=Wl(r,i),c!=null&&o.unshift(ql(r,c,a))):s||(c=Wl(r,i),c!=null&&o.push(ql(r,c,a)))),r=r.return}o.length!==0&&t.push({event:e,listeners:o})}var xE=/\r\n?/g,yE=/\u0000|\uFFFD/g;function Sv(t){return(typeof t=="string"?t:""+t).replace(xE,` 38`).replace(yE,"")}function Yc(t,e,r){if(e=Sv(e),Sv(t)!==e&&r)throw Error(V(425))}function td(){}var fp=null,hp=null;function pp(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var mp=typeof setTimeout=="function"?setTimeout:void 0,wE=typeof clearTimeout=="function"?clearTimeout:void 0,Nv=typeof Promise=="function"?Promise:void 0,bE=typeof queueMicrotask=="function"?queueMicrotask:typeof Nv<"u"?function(t){return Nv.resolve(null).then(t).cat
vendor: 4,824 bytes, line 38
38ch(_E)}:mp;function _E(t){setTimeout(function(){throw t})}function th(t,e){var r=e,n=0;do{var s=r.nextSibling;if(t.removeChild(r),s&&s.nodeType===8)if(r=s.data,r==="/$"){if(n===0){t.removeChild(s),Gl(e);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=s}while(r);Gl(e)}function fi(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function jv(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var r=t.data;if(r==="$"||r==="$!"||r==="$?"){if(e===0)return t;e--}else r==="/$"&&e++}t=t.previousSibling}return null}var $a=Math.random().toString(36).slice(2),Gn="__reactFiber$"+$a,Zl="__reactProps$"+$a,ks="__reactContainer$"+$a,gp="__reactEvents$"+$a,CE="__reactListeners$"+$a,SE="__reactHandles$"+$a;function Ui(t){var e=t[Gn];if(e)return e;for(var r=t.parentNode;r;){if(e=r[ks]||r[Gn]){if(r=e.alternate,e.child!==null||r!==null&&r.child!==null)for(t=jv(t);t!==null;){if(r=t[Gn])return r;t=jv(t)}return e}t=r,r=t.parentNode}return null}function Cc(t){return t=t[Gn]||t[ks],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function Bo(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(V(33))}function Yd(t){return t[Zl]||null}var vp=[],Vo=-1;function ki(t){return{current:t}}function Ue(t){0>Vo||(t.current=vp[Vo],vp[Vo]=null,Vo--)}function $e(t,e){Vo++,vp[Vo]=t.current,t.current=e}var bi={},er=ki(bi),br=ki(!1),co=bi;function _a(t,e){var r=t.type.contextTypes;if(!r)return bi;var n=t.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===e)return n.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in r)s[i]=e[i];return n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=s),s}function _r(t){return t=t.childContextTypes,t!=null}function rd(){Ue(br),Ue(er)}function Ev(t,e,r){if(er.current!==bi)throw Error(V(168));$e(er,e),$e(br,r)}function Q1(t,e,r){var n=t.stateNode;if(e=e.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var s in n)if(!(s in e))throw Error(V(108,lj(t)||"Unknown",s));return Je({},r,n)}function nd(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||bi,co=er.current,$e(er,t),$e(br,br.current),!0}function kv(t,e,r){var n=t.stateNode;if(!n)throw Error(V(169));r?(t=Q1(t,e,co),n.__reactInternalMemoizedMergedChildContext=t,Ue(br),Ue(er),$e(er,t)):Ue(br),$e(br,r)}var vs=null,Gd=!1,rh=!1;function q1(t){vs===null?vs=[t]:vs.push(t)}function NE(t){Gd=!0,q1(t)}function Ti(){if(!rh&&vs!==null){rh=!0;var t=0,e=Ae;try{var r=vs;for(Ae=1;t<r.length;t++){var n=r[t];do n=n(!0);while(n!==null)}vs=null,Gd=!1}catch(s){throw vs!==null&&(vs=vs.slice(t+1)),_1(Km,Ti),s}finally{Ae=e,rh=!1}}return null}var Uo=[],Wo=0,sd=null,id=0,tn=[],rn=0,uo=null,_s=1,Cs="";function Fi(t,e){Uo[Wo++]=id,Uo[Wo++]=sd,sd=t,id=e}function Z1(t,e,r){tn[rn++]=_s,tn[rn++]=Cs,tn[rn++]=uo,uo=t;var n=_s;t=Cs;var s=32-En(n)-1;n&=~(1<<s),r+=1;var i=32-En(e)+s;if(30<i){var o=s-s%5;i=(n&(1<<o)-1).toString(32),n>>=o,s-=o,_s=1<<32-En(e)+s|r<<s|n,Cs=i+t}else _s=1<<i|r<<s|n,Cs=t}function ng(t){t.return!==null&&(Fi(t,1),Z1(t,1,0))}function sg(t){for(;t===sd;)sd=Uo[--Wo],Uo[Wo]=null,id=Uo[--Wo],Uo[Wo]=null;for(;t===uo;)uo=tn[--rn],tn[rn]=null,Cs=tn[--rn],tn[rn]=null,_s=tn[--rn],tn[rn]=null}var Wr=null,Vr=null,He=!1,jn=null;function J1(t,e){var r=on(5,null,null,0);r.elementType="DELETED",r.stateNode=e,r.return=t,e=t.deletions,e===null?(t.deletions=[r],t.flags|=16):e.push(r)}function Tv(t,e){switch(t.tag){case 5:var r=t.type;return e=e.nodeType!==1||r.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,Wr=t,Vr=fi(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,Wr=t,Vr=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(r=uo!==null?{id:_s,overflow:Cs}:null,t.memoizedState={dehydrated:e,treeContext:r,retryLane:1073741824},r=on(18,null,null,0),r.stateNode=e,r.return=t,t.child=r,Wr=t,Vr=null,!0):!1;default:return!1}}function xp(t){return(t.mode&1)!==0&&(t.flags&128)===0}function yp(t){if(He){var e=Vr;if(e){var r=e;if(!Tv(t,e)){if(xp(t))throw Error(V(418));e=fi(r.nextSibling);var n=Wr;e&&Tv(t,e)?J1(n,r):(t.flags=t.flags&-4097|2,He=!1,Wr=t)}}else{if(xp(t))throw Error(V(418));t.flags=t.flags&-4097|2,He=!1,Wr=t}}}function Pv(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Wr=t}function Gc(t){if(t!==Wr)return!1;if(!He)return Pv(t),He=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!pp(t.type,t.memoizedProps)),e&&(e=Vr)){if(xp(t))throw ew(),Error(V(418));for(;e;)J1(t,e),e=fi(e.nextSibling)}if(Pv(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(V(317));e:{for(t=t.nextSibling,e=0;t;
vendor: 12,477 bytes, line 38
38){if(t.nodeType===8){var r=t.data;if(r==="/$"){if(e===0){Vr=fi(t.nextSibling);break e}e--}else r!=="$"&&r!=="$!"&&r!=="$?"||e++}t=t.nextSibling}Vr=null}}else Vr=Wr?fi(t.stateNode.nextSibling):null;return!0}function ew(){for(var t=Vr;t;)t=fi(t.nextSibling)}function Ca(){Vr=Wr=null,He=!1}function ig(t){jn===null?jn=[t]:jn.push(t)}var jE=Ds.ReactCurrentBatchConfig;function Ja(t,e,r){if(t=r.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(V(309));var n=r.stateNode}if(!n)throw Error(V(147,t));var s=n,i=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===i?e.ref:(e=function(o){var a=s.refs;o===null?delete a[i]:a[i]=o},e._stringRef=i,e)}if(typeof t!="string")throw Error(V(284));if(!r._owner)throw Error(V(290,t))}return t}function Kc(t,e){throw t=Object.prototype.toString.call(e),Error(V(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function Rv(t){var e=t._init;return e(t._payload)}function tw(t){function e(x,g){if(t){var w=x.deletions;w===null?(x.deletions=[g],x.flags|=16):w.push(g)}}function r(x,g){if(!t)return null;for(;g!==null;)e(x,g),g=g.sibling;return null}function n(x,g){for(x=new Map;g!==null;)g.key!==null?x.set(g.key,g):x.set(g.index,g),g=g.sibling;return x}function s(x,g){return x=gi(x,g),x.index=0,x.sibling=null,x}function i(x,g,w){return x.index=w,t?(w=x.alternate,w!==null?(w=w.index,w<g?(x.flags|=2,g):w):(x.flags|=2,g)):(x.flags|=1048576,g)}function o(x){return t&&x.alternate===null&&(x.flags|=2),x}function a(x,g,w,_){return g===null||g.tag!==6?(g=ch(w,x.mode,_),g.return=x,g):(g=s(g,w),g.return=x,g)}function c(x,g,w,_){var C=w.type;return C===Lo?d(x,g,w.props.children,_,w.key):g!==null&&(g.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Ys&&Rv(C)===g.type)?(_=s(g,w.props),_.ref=Ja(x,g,w),_.return=x,_):(_=Au(w.type,w.key,w.props,null,x.mode,_),_.ref=Ja(x,g,w),_.return=x,_)}function u(x,g,w,_){return g===null||g.tag!==4||g.stateNode.containerInfo!==w.containerInfo||g.stateNode.implementation!==w.implementation?(g=uh(w,x.mode,_),g.return=x,g):(g=s(g,w.children||[]),g.return=x,g)}function d(x,g,w,_,C){return g===null||g.tag!==7?(g=to(w,x.mode,_,C),g.return=x,g):(g=s(g,w),g.return=x,g)}function f(x,g,w){if(typeof g=="string"&&g!==""||typeof g=="number")return g=ch(""+g,x.mode,w),g.return=x,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Lc:return w=Au(g.type,g.key,g.props,null,x.mode,w),w.ref=Ja(x,null,g),w.return=x,w;case Io:return g=uh(g,x.mode,w),g.return=x,g;case Ys:var _=g._init;return f(x,_(g._payload),w)}if(ll(g)||Ka(g))return g=to(g,x.mode,w,null),g.return=x,g;Kc(x,g)}return null}function m(x,g,w,_){var C=g!==null?g.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return C!==null?null:a(x,g,""+w,_);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Lc:return w.key===C?c(x,g,w,_):null;case Io:return w.key===C?u(x,g,w,_):null;case Ys:return C=w._init,m(x,g,C(w._payload),_)}if(ll(w)||Ka(w))return C!==null?null:d(x,g,w,_,null);Kc(x,w)}return null}function h(x,g,w,_,C){if(typeof _=="string"&&_!==""||typeof _=="number")return x=x.get(w)||null,a(g,x,""+_,C);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Lc:return x=x.get(_.key===null?w:_.key)||null,c(g,x,_,C);case Io:return x=x.get(_.key===null?w:_.key)||null,u(g,x,_,C);case Ys:var N=_._init;return h(x,g,w,N(_._payload),C)}if(ll(_)||Ka(_))return x=x.get(w)||null,d(g,x,_,C,null);Kc(g,_)}return null}function b(x,g,w,_){for(var C=null,N=null,S=g,E=g=0,k=null;S!==null&&E<w.length;E++){S.index>E?(k=S,S=null):k=S.sibling;var T=m(x,S,w[E],_);if(T===null){S===null&&(S=k);break}t&&S&&T.alternate===null&&e(x,S),g=i(T,g,E),N===null?C=T:N.sibling=T,N=T,S=k}if(E===w.length)return r(x,S),He&&Fi(x,E),C;if(S===null){for(;E<w.length;E++)S=f(x,w[E],_),S!==null&&(g=i(S,g,E),N===null?C=S:N.sibling=S,N=S);return He&&Fi(x,E),C}for(S=n(x,S);E<w.length;E++)k=h(S,x,E,w[E],_),k!==null&&(t&&k.alternate!==null&&S.delete(k.key===null?E:k.key),g=i(k,g,E),N===null?C=k:N.sibling=k,N=k);return t&&S.forEach(function(D){return e(x,D)}),He&&Fi(x,E),C}function p(x,g,w,_){var C=Ka(w);if(typeof C!="function")throw Error(V(150));if(w=C.call(w),w==null)throw Error(V(151));for(var N=C=null,S=g,E=g=0,k=null,T=w.next();S!==null&&!T.done;E++,T=w.next()){S.index>E?(k=S,S=null):k=S.sibling;var D=m(x,S,T.value,_);if(D===null){S===null&&(S=k);break}t&&S&&D.alternate===null&&e(x,S),g=i(D,g,E),N===null?C=D:N.sibling=D,N=D,S=k}if(T.done)return r(x,S),He&&Fi(x,E),C;if(S===null){for(;!T.done;E++,T=w.next())T=f(x,T.value,_),T!==null&&(g=i(T,g,E),N===null?C=T:N.sibling=T,N=T);return He&&Fi(x,E),C}for(S=n(x,S);!T.done;E++,T=w.next())T=h(S,x,E,T.value,_),T!==null&&(t&&T.alternate!==null&&S.delete(T.key===null?E:T.key),g=i(T,g,E),N===null?C=T:N.sibling=T,N=T);return t&&S.forEach(function(R){return e(x,R)}),He&&Fi(x,E),C}function v(x,g,w,_){if(typeof w=="object"&&w!==null&&w.type===Lo&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Lc:e:{for(var C=w.key,N=g;N!==null;){if(N.key===C){if(C=w.type,C===Lo){if(N.tag===7){r(x,N.sibling),g=s(N,w.props.children),g.return=x,x=g;break e}}else if(N.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Ys&&Rv(C)===N.type){r(x,N.sibling),g=s(N,w.props),g.ref=Ja(x,N,w),g.return=x,x=g;break e}r(x,N);break}else e(x,N);N=N.sibling}w.type===Lo?(g=to(w.props.children,x.mode,_,w.key),g.return=x,x=g):(_=Au(w.type,w.key,w.props,null,x.mode,_),_.ref=Ja(x,g,w),_.return=x,x=_)}return o(x);case Io:e:{for(N=w.key;g!==null;){if(g.key===N)if(g.tag===4&&g.stateNode.containerInfo===w.containerInfo&&g.stateNode.implementation===w.implementation){r(x,g.sibling),g=s(g,w.children||[]),g.return=x,x=g;break e}else{r(x,g);break}else e(x,g);g=g.sibling}g=uh(w,x.mode,_),g.return=x,x=g}return o(x);case Ys:return N=w._init,v(x,g,N(w._payload),_)}if(ll(w))return b(x,g,w,_);if(Ka(w))return p(x,g,w,_);Kc(x,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,g!==null&&g.tag===6?(r(x,g.sibling),g=s(g,w),g.return=x,x=g):(r(x,g),g=ch(w,x.mode,_),g.return=x,x=g),o(x)):r(x,g)}return v}var Sa=tw(!0),rw=tw(!1),od=ki(null),ad=null,Ho=null,og=null;function ag(){og=Ho=ad=null}function lg(t){var e=od.current;Ue(od),t._currentValue=e}function wp(t,e,r){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===r)break;t=t.return}}function ta(t,e){ad=t,og=Ho=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(wr=!0),t.firstContext=null)}function fn(t){var e=t._currentValue;if(og!==t)if(t={context:t,memoizedValue:e,next:null},Ho===null){if(ad===null)throw Error(V(308));Ho=t,ad.dependencies={lanes:0,firstContext:t}}else Ho=Ho.next=t;return e}var Wi=null;function cg(t){Wi===null?Wi=[t]:Wi.push(t)}function nw(t,e,r,n){var s=e.interleaved;return s===null?(r.next=r,cg(e)):(r.next=s.next,s.next=r),e.interleaved=r,Ts(t,n)}function Ts(t,e){t.lanes|=e;var r=t.alternate;for(r!==null&&(r.lanes|=e),r=t,t=t.return;t!==null;)t.childLanes|=e,r=t.alternate,r!==null&&(r.childLanes|=e),r=t,t=t.return;return r.tag===3?r.stateNode:null}var Gs=!1;function ug(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function sw(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function Ns(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function hi(t,e,r){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,ke&2){var s=n.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),n.pending=e,Ts(t,r)}return s=n.interleaved,s===null?(e.next=e,cg(n)):(e.next=s.next,s.next=e),n.interleaved=e,Ts(t,r)}function ju(t,e,r){if(e=e.updateQueue,e!==null&&(e=e.shared,(r&4194240)!==0)){var n=e.lanes;n&=t.pendingLanes,r|=n,e.lanes=r,Xm(t,r)}}function Av(t,e){var r=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var s=null,i=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};i===null?s=i=o:i=i.next=o,r=r.next}while(r!==null);i===null?s=i=e:i=i.next=e}else s=i=e;r={baseState:n.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:n.shared,effects:n.effects},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=e:t.next=e,r.lastBaseUpdate=e}function ld(t,e,r,n){var s=t.updateQueue;Gs=!1;var i=s.firstBaseUpdate,o=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var c=a,u=c.next;c.next=null,o===null?i=u:o.next=u,o=c;var d=t.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==o&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=c))}if(i!==null){var f=s.baseState;o=0,d=u=c=null,a=i;do{var m=a.lane,h=a.eventTime;if((n&m)===m){d!==null&&(d=d.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var b=t,p=a;switch(m=e,h=r,p.tag){case 1:if(b=p.payload,typeof b=="function"){f=b.call(h,f,m);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=p.payload,m=typeof b=="function"?b.call(h,f,m):b,m==null)break e;f=Je({},f,m);break e;case 2:Gs=!0}}a.callback!==null&&a.lane!==0&&(t.flags|=64,m=s.effects,m===null?s.effects=[a]:m.push(a))}else h={eventTime:h,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=h,c=f):d=d.next=h,o|=m;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;m=a,a=m.next,m.next=null,s.lastBaseUpdate=m,s.shared.pending=null}}while(!0);if(d===null&&(c=f),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=d,e=s.shared.interleaved,e!==null){s=e;do o|=s.lane,s=s.next;while(s!==e)}else i===null&&(s.shared.lanes=0);ho|=o,t.lanes=o,t.memoizedState=f}}function Mv(t,e,r){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var n=t[e],s=n.callback;if(s!==null){if(n.callback=null,n=r,typeof s!="function")throw Error(V(191,s));s.call(n)}}}var Sc={},es=ki(Sc),Jl=ki(Sc),ec=ki(Sc);function Hi(t){if(t===Sc)throw Error(V(174));return t}function dg(t,e){switch($e(ec,e),$e(Jl,t),$e(es,Sc),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:ep(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=ep(e,t)}Ue(es),$e(es,e)}function Na(){Ue(es),Ue(Jl),Ue(ec)}function iw(t){Hi(ec.current);var e=Hi(es.current),r=ep(e,t.type);e!==r&&($e(Jl,t),$e(es,r))}function fg(t){Jl.current===t&&(Ue(es),Ue(Jl))}var Xe=ki(0);function cd(t){for(var e=t;e!==null;){if(e.tag===13){var r=e.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var nh=[];function hg(){for(var t=0;t<nh.length;t++)nh[t]._workInProgressVersionPrimary=null;nh.length=0}var Eu=Ds.ReactCurrentDispatcher,sh=Ds.ReactCurrentBatchConfig,fo=0,Ze=null,bt=null,Et=null,ud=!1,Nl=!1,tc=0,EE=0;function Ht(){throw Error(V(321))}function pg(t,e){if(e===null)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(!Tn(t[r],e[r]))return!1;return!0}function mg(t,e,r,n,s,i){if(fo=i,Ze=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Eu.current=t===null||t.memoizedState===null?RE:AE,t=r(n,s),Nl){i=0;do{if(Nl=!1,tc=0,25<=i)throw Error(V(301));i+=1,Et=bt=null,e.updateQueue=null,Eu.current=ME,t=r(n,s)}while(Nl)}if(Eu.current=dd,e=bt!==null&&bt.next!==null,fo=0,Et=bt=Ze=null,ud=!1,e)throw Error(V(300));return t}function gg(){var t=tc!==0;return tc=0,t}function Bn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Et===null?Ze.memoizedState=Et=t:Et=Et.next=t,Et}function hn(){if(bt===null){var t=Ze.alternate;t=t!==null?t.memoizedState:null}else t=bt.next;var e=Et===null?Ze.memoizedState:Et.next;if(e!==null)Et=e,bt=t;else{if(t===null)throw Error(V(310));bt=t,t={memoizedState:bt.memoizedState,baseState:bt.baseState,baseQueue:bt.baseQueue,queue:bt.queue,next:null},Et===null?Ze.memoizedState=Et=t:Et=Et.next=t}return Et}function rc(t,e){return typeof e=="function"?e(t):e}function ih(t){var e=hn(),r=e.queue;if(r===null)throw Error(V(311));r.lastRenderedReducer=t;
vendor: 4,649 bytes, line 38
38var n=bt,s=n.baseQueue,i=r.pending;if(i!==null){if(s!==null){var o=s.next;s.next=i.next,i.next=o}n.baseQueue=s=i,r.pending=null}if(s!==null){i=s.next,n=n.baseState;var a=o=null,c=null,u=i;do{var d=u.lane;if((fo&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:t(n,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(a=c=f,o=n):c=c.next=f,Ze.lanes|=d,ho|=d}u=u.next}while(u!==null&&u!==i);c===null?o=n:c.next=a,Tn(n,e.memoizedState)||(wr=!0),e.memoizedState=n,e.baseState=o,e.baseQueue=c,r.lastRenderedState=n}if(t=r.interleaved,t!==null){s=t;do i=s.lane,Ze.lanes|=i,ho|=i,s=s.next;while(s!==t)}else s===null&&(r.lanes=0);return[e.memoizedState,r.dispatch]}function oh(t){var e=hn(),r=e.queue;if(r===null)throw Error(V(311));r.lastRenderedReducer=t;var n=r.dispatch,s=r.pending,i=e.memoizedState;if(s!==null){r.pending=null;var o=s=s.next;do i=t(i,o.action),o=o.next;while(o!==s);Tn(i,e.memoizedState)||(wr=!0),e.memoizedState=i,e.baseQueue===null&&(e.baseState=i),r.lastRenderedState=i}return[i,n]}function ow(){}function aw(t,e){var r=Ze,n=hn(),s=e(),i=!Tn(n.memoizedState,s);if(i&&(n.memoizedState=s,wr=!0),n=n.queue,vg(uw.bind(null,r,n,t),[t]),n.getSnapshot!==e||i||Et!==null&&Et.memoizedState.tag&1){if(r.flags|=2048,nc(9,cw.bind(null,r,n,s,e),void 0,null),kt===null)throw Error(V(349));fo&30||lw(r,e,s)}return s}function lw(t,e,r){t.flags|=16384,t={getSnapshot:e,value:r},e=Ze.updateQueue,e===null?(e={lastEffect:null,stores:null},Ze.updateQueue=e,e.stores=[t]):(r=e.stores,r===null?e.stores=[t]:r.push(t))}function cw(t,e,r,n){e.value=r,e.getSnapshot=n,dw(e)&&fw(t)}function uw(t,e,r){return r(function(){dw(e)&&fw(t)})}function dw(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!Tn(t,r)}catch{return!0}}function fw(t){var e=Ts(t,1);e!==null&&kn(e,t,1,-1)}function Ov(t){var e=Bn();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:rc,lastRenderedState:t},e.queue=t,t=t.dispatch=PE.bind(null,Ze,t),[e.memoizedState,t]}function nc(t,e,r,n){return t={tag:t,create:e,destroy:r,deps:n,next:null},e=Ze.updateQueue,e===null?(e={lastEffect:null,stores:null},Ze.updateQueue=e,e.lastEffect=t.next=t):(r=e.lastEffect,r===null?e.lastEffect=t.next=t:(n=r.next,r.next=t,t.next=n,e.lastEffect=t)),t}function hw(){return hn().memoizedState}function ku(t,e,r,n){var s=Bn();Ze.flags|=t,s.memoizedState=nc(1|e,r,void 0,n===void 0?null:n)}function Kd(t,e,r,n){var s=hn();n=n===void 0?null:n;var i=void 0;if(bt!==null){var o=bt.memoizedState;if(i=o.destroy,n!==null&&pg(n,o.deps)){s.memoizedState=nc(e,r,i,n);return}}Ze.flags|=t,s.memoizedState=nc(1|e,r,i,n)}function Dv(t,e){return ku(8390656,8,t,e)}function vg(t,e){return Kd(2048,8,t,e)}function pw(t,e){return Kd(4,2,t,e)}function mw(t,e){return Kd(4,4,t,e)}function gw(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function vw(t,e,r){return r=r!=null?r.concat([t]):null,Kd(4,4,gw.bind(null,e,t),r)}function xg(){}function xw(t,e){var r=hn();e=e===void 0?null:e;var n=r.memoizedState;return n!==null&&e!==null&&pg(e,n[1])?n[0]:(r.memoizedState=[t,e],t)}function yw(t,e){var r=hn();e=e===void 0?null:e;var n=r.memoizedState;return n!==null&&e!==null&&pg(e,n[1])?n[0]:(t=t(),r.memoizedState=[t,e],t)}function ww(t,e,r){return fo&21?(Tn(r,e)||(r=N1(),Ze.lanes|=r,ho|=r,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,wr=!0),t.memoizedState=r)}function kE(t,e){var r=Ae;Ae=r!==0&&4>r?r:4,t(!0);var n=sh.transition;sh.transition={};try{t(!1),e()}finally{Ae=r,sh.transition=n}}function bw(){return hn().memoizedState}function TE(t,e,r){var n=mi(t);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},_w(t))Cw(e,r);else if(r=nw(t,e,r,n),r!==null){var s=fr();kn(r,t,n,s),Sw(r,e,n)}}function PE(t,e,r){var n=mi(t),s={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(_w(t))Cw(e,s);else{var i=t.alternate;if(t.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var o=e.lastRenderedState,a=i(o,r);if(s.hasEagerState=!0,s.eagerState=a,Tn(a,o)){var c=e.interleaved;c===null?(s.next=s,cg(e)):(s.next=c.next,c.next=s),e.interleaved=s;return}}catch{}finally{}r=nw(t,e,s,n),r!==null&&(s=fr(),kn(r,t,n,s),Sw(r,e,n))}}function _w(t){var e=t.alternate;return t===Ze||e!==null&&e===Ze}function Cw(t,e){Nl=ud=!0;var r=t.pending;r===null?e.next=e:(e.next=r.next,r.next=e),t.pending=e}function Sw(t,e,r){if(r&4194240){var n=e.lanes;
vendor: 7,307 bytes, lines 38-40
38n&=t.pendingLanes,r|=n,e.lanes=r,Xm(t,r)}}var dd={readContext:fn,useCallback:Ht,useContext:Ht,useEffect:Ht,useImperativeHandle:Ht,useInsertionEffect:Ht,useLayoutEffect:Ht,useMemo:Ht,useReducer:Ht,useRef:Ht,useState:Ht,useDebugValue:Ht,useDeferredValue:Ht,useTransition:Ht,useMutableSource:Ht,useSyncExternalStore:Ht,useId:Ht,unstable_isNewReconciler:!1},RE={readContext:fn,useCallback:function(t,e){return Bn().memoizedState=[t,e===void 0?null:e],t},useContext:fn,useEffect:Dv,useImperativeHandle:function(t,e,r){return r=r!=null?r.concat([t]):null,ku(4194308,4,gw.bind(null,e,t),r)},useLayoutEffect:function(t,e){return ku(4194308,4,t,e)},useInsertionEffect:function(t,e){return ku(4,2,t,e)},useMemo:function(t,e){var r=Bn();return e=e===void 0?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var n=Bn();return e=r!==void 0?r(e):e,n.memoizedState=n.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},n.queue=t,t=t.dispatch=TE.bind(null,Ze,t),[n.memoizedState,t]},useRef:function(t){var e=Bn();return t={current:t},e.memoizedState=t},useState:Ov,useDebugValue:xg,useDeferredValue:function(t){return Bn().memoizedState=t},useTransition:function(){var t=Ov(!1),e=t[0];return t=kE.bind(null,t[1]),Bn().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,r){var n=Ze,s=Bn();if(He){if(r===void 0)throw Error(V(407));r=r()}else{if(r=e(),kt===null)throw Error(V(349));fo&30||lw(n,e,r)}s.memoizedState=r;var i={value:r,getSnapshot:e};return s.queue=i,Dv(uw.bind(null,n,i,t),[t]),n.flags|=2048,nc(9,cw.bind(null,n,i,r,e),void 0,null),r},useId:function(){var t=Bn(),e=kt.identifierPrefix;if(He){var r=Cs,n=_s;r=(n&~(1<<32-En(n)-1)).toString(32)+r,e=":"+e+"R"+r,r=tc++,0<r&&(e+="H"+r.toString(32)),e+=":"}else r=EE++,e=":"+e+"r"+r.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},AE={readContext:fn,useCallback:xw,useContext:fn,useEffect:vg,useImperativeHandle:vw,useInsertionEffect:pw,useLayoutEffect:mw,useMemo:yw,useReducer:ih,useRef:hw,useState:function(){return ih(rc)},useDebugValue:xg,useDeferredValue:function(t){var e=hn();return ww(e,bt.memoizedState,t)},useTransition:function(){var t=ih(rc)[0],e=hn().memoizedState;return[t,e]},useMutableSource:ow,useSyncExternalStore:aw,useId:bw,unstable_isNewReconciler:!1},ME={readContext:fn,useCallback:xw,useContext:fn,useEffect:vg,useImperativeHandle:vw,useInsertionEffect:pw,useLayoutEffect:mw,useMemo:yw,useReducer:oh,useRef:hw,useState:function(){return oh(rc)},useDebugValue:xg,useDeferredValue:function(t){var e=hn();return bt===null?e.memoizedState=t:ww(e,bt.memoizedState,t)},useTransition:function(){var t=oh(rc)[0],e=hn().memoizedState;return[t,e]},useMutableSource:ow,useSyncExternalStore:aw,useId:bw,unstable_isNewReconciler:!1};function bn(t,e){if(t&&t.defaultProps){e=Je({},e),t=t.defaultProps;for(var r in t)e[r]===void 0&&(e[r]=t[r]);return e}return e}function bp(t,e,r,n){e=t.memoizedState,r=r(n,e),r=r==null?e:Je({},e,r),t.memoizedState=r,t.lanes===0&&(t.updateQueue.baseState=r)}var Xd={isMounted:function(t){return(t=t._reactInternals)?So(t)===t:!1},enqueueSetState:function(t,e,r){t=t._reactInternals;var n=fr(),s=mi(t),i=Ns(n,s);i.payload=e,r!=null&&(i.callback=r),e=hi(t,i,s),e!==null&&(kn(e,t,s,n),ju(e,t,s))},enqueueReplaceState:function(t,e,r){t=t._reactInternals;var n=fr(),s=mi(t),i=Ns(n,s);i.tag=1,i.payload=e,r!=null&&(i.callback=r),e=hi(t,i,s),e!==null&&(kn(e,t,s,n),ju(e,t,s))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var r=fr(),n=mi(t),s=Ns(r,n);s.tag=2,e!=null&&(s.callback=e),e=hi(t,s,n),e!==null&&(kn(e,t,n,r),ju(e,t,n))}};function Iv(t,e,r,n,s,i,o){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,i,o):e.prototype&&e.prototype.isPureReactComponent?!Xl(r,n)||!Xl(s,i):!0}function Nw(t,e,r){var n=!1,s=bi,i=e.contextType;return typeof i=="object"&&i!==null?i=fn(i):(s=_r(e)?co:er.current,n=e.contextTypes,i=(n=n!=null)?_a(t,s):bi),e=new e(r,i),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=Xd,t.stateNode=e,e._reactInternals=t,n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=s,t.__reactInternalMemoizedMaskedChildContext=i),e}function Lv(t,e,r,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(r,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(r,n),e.state!==t&&Xd.enqueueReplaceState(e,e.state,null)}function _p(t,e,r,n){var s=t.stateNode;s.props=r,s.state=t.memoizedState,s.refs={},ug(t);var i=e.contextType;typeof i=="object"&&i!==null?s.context=fn(i):(i=_r(e)?co:er.current,s.context=_a(t,i)),s.state=t.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(bp(t,e,i,r),s.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(e=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),e!==s.state&&Xd.enqueueReplaceState(s,s.state,null),ld(t,r,s,n),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308)}function ja(t,e){try{var r="",n=e;do r+=aj(n),n=n.return;while(n);var s=r}catch(i){s=` 39Error generating stack: `+i.message+` 40`+i.stack}return{value:t,source:e,stack:s,digest:null}}function ah(t,e,r){return{value:t,source:null,stack:r??null,digest:e??null}}function Cp(t,e){try{console.error(e.value)}catch(r){setTimeout(function(){throw r})}}var OE=typeof WeakMap=="function"?WeakMap:Map;function jw(t,e,r){r=Ns(-1,r),r.tag=3,r.payload={element:null};var n=e.value;return r.callback=function(){hd||(hd=!0,Mp=n),Cp(t,e)},r}function Ew(t,e,r){r=Ns(-1,r),r.tag=3;var n=t.type.getDerivedStateFromError;if(typeof n=="function"){var s=e.value;r.payload=function(){return n(s)},r.callback=function(){Cp(t,e)}}var i=t.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(r.callback=function(){Cp(t,e),typeof n!="function"&&(pi===null?pi=new Set([this]):pi.add(this));var o=e.stack;this.componentDidCatch(e.value,{componentStack:o!==null?o:""})}),r}function Fv(t,e,r){var n=t.pingCache;if(n===null){n=t.pingCache=new OE;var s=new Set;n.set(e,s)}else s=n.get(e),s===void 0&&(s=new Set,n.set(e,s));s.has(r)||(s.add(r),t=KE.bind(null,t,e,r),e.then(t,t))}function zv(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function $v(t,e,r,n,s){return t.mode&1?(t.flags|=65536,t.lanes=s,t):(t===e?t.flags|=65536:(t.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(e=Ns(-1,1),e.tag=2,hi(r,e,1))),r.lanes|=1),t)}var DE=Ds.ReactCurrentOwner,wr=!1;function or(t,e,r,n){e.child=t===null?rw(e,null,r,n):Sa(e,t.child,r,n)}function Bv(t,e,r,n,s){r=r.render;var i=e.ref;return ta(e,s),n=mg(t,e,r,n,i,s),r=gg(),t!==null&&!wr?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~s,Ps(t,e,s)):(He&&r&&ng(e),e.flags|=1,or(t,e,n,s),e.child)}function Vv(t,e,r,n,s){if(t===null){var i=r.type;return typeof i=="function"&&!jg(i)&&i.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(e.tag=15,e.type=i,kw(t,e,
vendor: 5,874 bytes, line 40
40i,n,s)):(t=Au(r.type,null,n,e,e.mode,s),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!(t.lanes&s)){var o=i.memoizedProps;if(r=r.compare,r=r!==null?r:Xl,r(o,n)&&t.ref===e.ref)return Ps(t,e,s)}return e.flags|=1,t=gi(i,n),t.ref=e.ref,t.return=e,e.child=t}function kw(t,e,r,n,s){if(t!==null){var i=t.memoizedProps;if(Xl(i,n)&&t.ref===e.ref)if(wr=!1,e.pendingProps=n=i,(t.lanes&s)!==0)t.flags&131072&&(wr=!0);else return e.lanes=t.lanes,Ps(t,e,s)}return Sp(t,e,r,n,s)}function Tw(t,e,r){var n=e.pendingProps,s=n.children,i=t!==null?t.memoizedState:null;if(n.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},$e(Go,Dr),Dr|=r;else{if(!(r&1073741824))return t=i!==null?i.baseLanes|r:r,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,$e(Go,Dr),Dr|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=i!==null?i.baseLanes:r,$e(Go,Dr),Dr|=n}else i!==null?(n=i.baseLanes|r,e.memoizedState=null):n=r,$e(Go,Dr),Dr|=n;return or(t,e,s,r),e.child}function Pw(t,e){var r=e.ref;(t===null&&r!==null||t!==null&&t.ref!==r)&&(e.flags|=512,e.flags|=2097152)}function Sp(t,e,r,n,s){var i=_r(r)?co:er.current;return i=_a(e,i),ta(e,s),r=mg(t,e,r,n,i,s),n=gg(),t!==null&&!wr?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~s,Ps(t,e,s)):(He&&n&&ng(e),e.flags|=1,or(t,e,r,s),e.child)}function Uv(t,e,r,n,s){if(_r(r)){var i=!0;nd(e)}else i=!1;if(ta(e,s),e.stateNode===null)Tu(t,e),Nw(e,r,n),_p(e,r,n,s),n=!0;else if(t===null){var o=e.stateNode,a=e.memoizedProps;o.props=a;var c=o.context,u=r.contextType;typeof u=="object"&&u!==null?u=fn(u):(u=_r(r)?co:er.current,u=_a(e,u));var d=r.getDerivedStateFromProps,f=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==n||c!==u)&&Lv(e,o,n,u),Gs=!1;var m=e.memoizedState;o.state=m,ld(e,n,o,s),c=e.memoizedState,a!==n||m!==c||br.current||Gs?(typeof d=="function"&&(bp(e,r,d,n),c=e.memoizedState),(a=Gs||Iv(e,r,a,n,m,c,u))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=c),o.props=n,o.state=c,o.context=u,n=a):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{o=e.stateNode,sw(t,e),a=e.memoizedProps,u=e.type===e.elementType?a:bn(e.type,a),o.props=u,f=e.pendingProps,m=o.context,c=r.contextType,typeof c=="object"&&c!==null?c=fn(c):(c=_r(r)?co:er.current,c=_a(e,c));var h=r.getDerivedStateFromProps;(d=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==f||m!==c)&&Lv(e,o,n,c),Gs=!1,m=e.memoizedState,o.state=m,ld(e,n,o,s);var b=e.memoizedState;a!==f||m!==b||br.current||Gs?(typeof h=="function"&&(bp(e,r,h,n),b=e.memoizedState),(u=Gs||Iv(e,r,u,n,m,b,c)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,b,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,b,c)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===t.memoizedProps&&m===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&m===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=b),o.props=n,o.state=b,o.context=c,n=u):(typeof o.componentDidUpdate!="function"||a===t.memoizedProps&&m===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&m===t.memoizedState||(e.flags|=1024),n=!1)}return Np(t,e,r,n,i,s)}function Np(t,e,r,n,s,i){Pw(t,e);var o=(e.flags&128)!==0;if(!n&&!o)return s&&kv(e,r,!1),Ps(t,e,i);n=e.stateNode,DE.current=e;var a=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return e.flags|=1,t!==null&&o?(e.child=Sa(e,t.child,null,i),e.child=Sa(e,null,a,i)):or(t,e,a,i),e.memoizedState=n.state,s&&kv(e,r,!0),e.child}function Rw(t){var e=t.stateNode;e.pendingContext?Ev(t,e.pendingContext,e.pendingContext!==e.context):e.context&&Ev(t,e.context,!1),dg(t,e.containerInfo)}function Wv(t,e,r,n,s){return Ca(),ig(s),e.flags|=256,or(t,e,r,n),e.child}var jp={dehydrated:null,treeContext:null,retryLane:0};function Ep(t){return{baseLanes:t,cachePool:null,transitions:null}}function Aw(t,e,r){var n=e.pendingProps,s=Xe.current,i=!1,o=(e.flags&128)!==0,a;if((a=o)||(a=t!==null&&t.memoizedState===null?!1:(s&2)!==0),a?(i=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(s|=1),$e(Xe,s&1),t===null)return yp(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(o=n.children,t=n.fallback,i?(n=e.mode,i=e.child,o={mode:"hidden",children:o},!(n&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Zd(o,n,0,null),t=to(t,n,r,null),i.return=e,t.return=e,i.sibling=t,e.child=i,e.child.memoizedState=Ep(r),e.memoizedState=jp,t):yg(e,o));if(s=t.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return IE(t,e,o,n,a,s,r);if(i){i=n.fallback,o=e.mode,s=t.child,a=s.sibling;var c={mode:"hidden",children:n.children};return!(o&1)&&e.child!==s?(n=e.child,n.childLanes=0,n.pendingProps=c,e.deletions=null):(n=gi(s,c),n.subtreeFlags=s.subtreeFlags&14680064),a!==null?i=gi(a,i):(i=to(i,o,r,null),i.flags|=2),i.return=e,n.return=e,n.sibling=i,e.child=n,n=i,i=e.child,o=t.child.memoizedState,o=o===null?Ep(r):{base
vendor: 7,075 bytes, line 40
40Lanes:o.baseLanes|r,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=t.childLanes&~r,e.memoizedState=jp,n}return i=t.child,t=i.sibling,n=gi(i,{mode:"visible",children:n.children}),!(e.mode&1)&&(n.lanes=r),n.return=e,n.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=n,e.memoizedState=null,n}function yg(t,e){return e=Zd({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function Xc(t,e,r,n){return n!==null&&ig(n),Sa(e,t.child,null,r),t=yg(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function IE(t,e,r,n,s,i,o){if(r)return e.flags&256?(e.flags&=-257,n=ah(Error(V(422))),Xc(t,e,o,n)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(i=n.fallback,s=e.mode,n=Zd({mode:"visible",children:n.children},s,0,null),i=to(i,s,o,null),i.flags|=2,n.return=e,i.return=e,n.sibling=i,e.child=n,e.mode&1&&Sa(e,t.child,null,o),e.child.memoizedState=Ep(o),e.memoizedState=jp,i);if(!(e.mode&1))return Xc(t,e,o,null);if(s.data==="$!"){if(n=s.nextSibling&&s.nextSibling.dataset,n)var a=n.dgst;return n=a,i=Error(V(419)),n=ah(i,n,void 0),Xc(t,e,o,n)}if(a=(o&t.childLanes)!==0,wr||a){if(n=kt,n!==null){switch(o&-o){case 4:s=2;break;case 16:s=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:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(n.suspendedLanes|o)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,Ts(t,s),kn(n,t,s,-1))}return Ng(),n=ah(Error(V(421))),Xc(t,e,o,n)}return s.data==="$?"?(e.flags|=128,e.child=t.child,e=XE.bind(null,t),s._reactRetry=e,null):(t=i.treeContext,Vr=fi(s.nextSibling),Wr=e,He=!0,jn=null,t!==null&&(tn[rn++]=_s,tn[rn++]=Cs,tn[rn++]=uo,_s=t.id,Cs=t.overflow,uo=e),e=yg(e,n.children),e.flags|=4096,e)}function Hv(t,e,r){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),wp(t.return,e,r)}function lh(t,e,r,n,s){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:s}:(i.isBackwards=e,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=s)}function Mw(t,e,r){var n=e.pendingProps,s=n.revealOrder,i=n.tail;if(or(t,e,n.children,r),n=Xe.current,n&2)n=n&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Hv(t,r,e);else if(t.tag===19)Hv(t,r,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}n&=1}if($e(Xe,n),!(e.mode&1))e.memoizedState=null;else switch(s){case"forwards":for(r=e.child,s=null;r!==null;)t=r.alternate,t!==null&&cd(t)===null&&(s=r),r=r.sibling;r=s,r===null?(s=e.child,e.child=null):(s=r.sibling,r.sibling=null),lh(e,!1,s,r,i);break;case"backwards":for(r=null,s=e.child,e.child=null;s!==null;){if(t=s.alternate,t!==null&&cd(t)===null){e.child=s;break}t=s.sibling,s.sibling=r,r=s,s=t}lh(e,!0,r,null,i);break;case"together":lh(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Tu(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function Ps(t,e,r){if(t!==null&&(e.dependencies=t.dependencies),ho|=e.lanes,!(r&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(V(153));if(e.child!==null){for(t=e.child,r=gi(t,t.pendingProps),e.child=r,r.return=e;t.sibling!==null;)t=t.sibling,r=r.sibling=gi(t,t.pendingProps),r.return=e;r.sibling=null}return e.child}function LE(t,e,r){switch(e.tag){case 3:Rw(e),Ca();break;case 5:iw(e);break;case 1:_r(e.type)&&nd(e);break;case 4:dg(e,e.stateNode.containerInfo);break;case 10:var n=e.type._context,s=e.memoizedProps.value;$e(od,n._currentValue),n._currentValue=s;break;case 13:if(n=e.memoizedState,n!==null)return n.dehydrated!==null?($e(Xe,Xe.current&1),e.flags|=128,null):r&e.child.childLanes?Aw(t,e,r):($e(Xe,Xe.current&1),t=Ps(t,e,r),t!==null?t.sibling:null);$e(Xe,Xe.current&1);break;case 19:if(n=(r&e.childLanes)!==0,t.flags&128){if(n)return Mw(t,e,r);e.flags|=128}if(s=e.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),$e(Xe,Xe.current),n)break;return null;case 22:case 23:return e.lanes=0,Tw(t,e,r)}return Ps(t,e,r)}var Ow,kp,Dw,Iw;Ow=function(t,e){for(var r=e.child;r!==null;){if(r.tag===5||r.tag===6)t.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};kp=function(){};Dw=function(t,e,r,n){var s=t.memoizedProps;if(s!==n){t=e.stateNode,Hi(es.current);var i=null;switch(r){case"input":s=Qh(t,s),n=Qh(t,n),i=[];break;case"select":s=Je({},s,{value:void 0}),n=Je({},n,{value:void 0}),i=[];break;case"textarea":s=Jh(t,s),n=Jh(t,n),i=[];break;default:typeof s.onClick!="function"&&typeof n.onClick=="function"&&(t.onclick=td)}tp(r,n);var o;r=null;for(u in s)if(!n.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var a=s[u];for(o in a)a.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Vl.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in n){var c=n[u];if(a=s!=null?s[u]:void 0,n.hasOwnProperty(u)&&c!==a&&(c!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in c)c.hasOwnProperty(o)&&a[o]!==c[o]&&(r||(r={}),r[o]=c[o])}else r||(i||(i=[]),i.push(u,r)),r=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"&&(Vl.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&Ve("scroll",t),i||a===c||(i=[])):(i=i||[]).push(u,c))}r&&(i=i||[]).push("style",r);var u=i;(e.updateQueue=u)&&(e.flags|=4)}};Iw=function(t,e,r,n){r!==n&&(e.flags|=4)};function el(t,e){if(!He)switch(t.tailMode){case"hidden":e=t.tail;for(var r=null;e!==null;)e.alternate!==null&&(r=e),e=e.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function Yt(t){var e=t.alternate!==null&&t.alternate.child===t.child,r=0,n=0;if(e)for(var s=t.child;s!==null;)r|=s.lanes|s.childLanes,n|=s.subtreeFlags&14680064,n|=s.flags&14680064,s.return=t,s=s.sibling;else for(s=t.child;s!==null;)r|=s.lanes|s.childLanes,n|=s.subtreeFlags,n|=s.flags,s.return=t,s=s.sibling;return t.subtreeFlags|=n,t.childLanes=r,e}function FE(t,e,r){var n=e.pendingProps;switch(sg(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yt(e),null;case 1:return _r(e.type)&&rd(),Yt(e),null;
vendor: 35,808 bytes, line 40
40case 3:return n=e.stateNode,Na(),Ue(br),Ue(er),hg(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Gc(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,jn!==null&&(Ip(jn),jn=null))),kp(t,e),Yt(e),null;case 5:fg(e);var s=Hi(ec.current);if(r=e.type,t!==null&&e.stateNode!=null)Dw(t,e,r,n,s),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!n){if(e.stateNode===null)throw Error(V(166));return Yt(e),null}if(t=Hi(es.current),Gc(e)){n=e.stateNode,r=e.type;var i=e.memoizedProps;switch(n[Gn]=e,n[Zl]=i,t=(e.mode&1)!==0,r){case"dialog":Ve("cancel",n),Ve("close",n);break;case"iframe":case"object":case"embed":Ve("load",n);break;case"video":case"audio":for(s=0;s<ul.length;s++)Ve(ul[s],n);break;case"source":Ve("error",n);break;case"img":case"image":case"link":Ve("error",n),Ve("load",n);break;case"details":Ve("toggle",n);break;case"input":ev(n,i),Ve("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!i.multiple},Ve("invalid",n);break;case"textarea":rv(n,i),Ve("invalid",n)}tp(r,i),s=null;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];o==="children"?typeof a=="string"?n.textContent!==a&&(i.suppressHydrationWarning!==!0&&Yc(n.textContent,a,t),s=["children",a]):typeof a=="number"&&n.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Yc(n.textContent,a,t),s=["children",""+a]):Vl.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&Ve("scroll",n)}switch(r){case"input":Fc(n),tv(n,i,!0);break;case"textarea":Fc(n),nv(n);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(n.onclick=td)}n=s,e.updateQueue=n,n!==null&&(e.flags|=4)}else{o=s.nodeType===9?s:s.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=u1(r)),t==="http://www.w3.org/1999/xhtml"?r==="script"?(t=o.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof n.is=="string"?t=o.createElement(r,{is:n.is}):(t=o.createElement(r),r==="select"&&(o=t,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):t=o.createElementNS(t,r),t[Gn]=e,t[Zl]=n,Ow(t,e,!1,!1),e.stateNode=t;e:{switch(o=rp(r,n),r){case"dialog":Ve("cancel",t),Ve("close",t),s=n;break;case"iframe":case"object":case"embed":Ve("load",t),s=n;break;case"video":case"audio":for(s=0;s<ul.length;s++)Ve(ul[s],t);s=n;break;case"source":Ve("error",t),s=n;break;case"img":case"image":case"link":Ve("error",t),Ve("load",t),s=n;break;case"details":Ve("toggle",t),s=n;break;case"input":ev(t,n),s=Qh(t,n),Ve("invalid",t);break;case"option":s=n;break;case"select":t._wrapperState={wasMultiple:!!n.multiple},s=Je({},n,{value:void 0}),Ve("invalid",t);break;case"textarea":rv(t,n),s=Jh(t,n),Ve("invalid",t);break;default:s=n}tp(r,s),a=s;for(i in a)if(a.hasOwnProperty(i)){var c=a[i];i==="style"?h1(t,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&d1(t,c)):i==="children"?typeof c=="string"?(r!=="textarea"||c!=="")&&Ul(t,c):typeof c=="number"&&Ul(t,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Vl.hasOwnProperty(i)?c!=null&&i==="onScroll"&&Ve("scroll",t):c!=null&&Um(t,i,c,o))}switch(r){case"input":Fc(t),tv(t,n,!1);break;case"textarea":Fc(t),nv(t);break;case"option":n.value!=null&&t.setAttribute("value",""+wi(n.value));break;case"select":t.multiple=!!n.multiple,i=n.value,i!=null?qo(t,!!n.multiple,i,!1):n.defaultValue!=null&&qo(t,!!n.multiple,n.defaultValue,!0);break;default:typeof s.onClick=="function"&&(t.onclick=td)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return Yt(e),null;case 6:if(t&&e.stateNode!=null)Iw(t,e,t.memoizedProps,n);else{if(typeof n!="string"&&e.stateNode===null)throw Error(V(166));if(r=Hi(ec.current),Hi(es.current),Gc(e)){if(n=e.stateNode,r=e.memoizedProps,n[Gn]=e,(i=n.nodeValue!==r)&&(t=Wr,t!==null))switch(t.tag){case 3:Yc(n.nodeValue,r,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&Yc(n.nodeValue,r,(t.mode&1)!==0)}i&&(e.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Gn]=e,e.stateNode=n}return Yt(e),null;case 13:if(Ue(Xe),n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(He&&Vr!==null&&e.mode&1&&!(e.flags&128))ew(),Ca(),e.flags|=98560,i=!1;else if(i=Gc(e),n!==null&&n.dehydrated!==null){if(t===null){if(!i)throw Error(V(318));if(i=e.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(V(317));i[Gn]=e}else Ca(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;Yt(e),i=!1}else jn!==null&&(Ip(jn),jn=null),i=!0;if(!i)return e.flags&65536?e:null}return e.flags&128?(e.lanes=r,e):(n=n!==null,n!==(t!==null&&t.memoizedState!==null)&&n&&(e.child.flags|=8192,e.mode&1&&(t===null||Xe.current&1?Ct===0&&(Ct=3):Ng())),e.updateQueue!==null&&(e.flags|=4),Yt(e),null);case 4:return Na(),kp(t,e),t===null&&Ql(e.stateNode.containerInfo),Yt(e),null;case 10:return lg(e.type._context),Yt(e),null;case 17:return _r(e.type)&&rd(),Yt(e),null;case 19:if(Ue(Xe),i=e.memoizedState,i===null)return Yt(e),null;if(n=(e.flags&128)!==0,o=i.rendering,o===null)if(n)el(i,!1);else{if(Ct!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(o=cd(t),o!==null){for(e.flags|=128,el(i,!1),n=o.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),e.subtreeFlags=0,n=r,r=e.child;r!==null;)i=r,t=n,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=t,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,t=o.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return $e(Xe,Xe.current&1|2),e.child}t=t.sibling}i.tail!==null&&ut()>Ea&&(e.flags|=128,n=!0,el(i,!1),e.lanes=4194304)}else{if(!n)if(t=cd(o),t!==null){if(e.flags|=128,n=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),el(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!He)return Yt(e),null}else 2*ut()-i.renderingStartTime>Ea&&r!==1073741824&&(e.flags|=128,n=!0,el(i,!1),e.lanes=4194304);i.isBackwards?(o.sibling=e.child,e.child=o):(r=i.last,r!==null?r.sibling=o:e.child=o,i.last=o)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=ut(),e.sibling=null,r=Xe.current,$e(Xe,n?r&1|2:r&1),e):(Yt(e),null);case 22:case 23:return Sg(),n=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==n&&(e.flags|=8192),n&&e.mode&1?Dr&1073741824&&(Yt(e),e.subtreeFlags&6&&(e.flags|=8192)):Yt(e),null;case 24:return null;case 25:return null}throw Error(V(156,e.tag))}function zE(t,e){switch(sg(e),e.tag){case 1:return _r(e.type)&&rd(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Na(),Ue(br),Ue(er),hg(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return fg(e),null;case 13:if(Ue(Xe),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(V(340));Ca()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Ue(Xe),null;case 4:return Na(),null;case 10:return lg(e.type._context),null;case 22:case 23:return Sg(),null;case 24:return null;default:return null}}var Qc=!1,Qt=!1,$E=typeof WeakSet=="function"?WeakSet:Set,K=null;function Yo(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){st(t,e,n)}else r.current=null}function Tp(t,e,r){try{r()}catch(n){st(t,e,n)}}var Yv=!1;function BE(t,e){if(fp=Zu,t=B1(),rg(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else e:{r=(r=t.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var s=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var o=0,a=-1,c=-1,u=0,d=0,f=t,m=null;t:for(;;){for(var h;f!==r||s!==0&&f.nodeType!==3||(a=o+s),f!==i||n!==0&&f.nodeType!==3||(c=o+n),f.nodeType===3&&(o+=f.nodeValue.length),(h=f.firstChild)!==null;)m=f,f=h;for(;;){if(f===t)break t;if(m===r&&++u===s&&(a=o),m===i&&++d===n&&(c=o),(h=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=h}r=a===-1||c===-1?null:{start:a,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(hp={focusedElem:t,selectionRange:r},Zu=!1,K=e;K!==null;)if(e=K,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,K=t;else for(;K!==null;){e=K;try{var b=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var p=b.memoizedProps,v=b.memoizedState,x=e.stateNode,g=x.getSnapshotBeforeUpdate(e.elementType===e.type?p:bn(e.type,p),v);x.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var w=e.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(V(163))}}catch(_){st(e,e.return,_)}if(t=e.sibling,t!==null){t.return=e.return,K=t;break}K=e.return}return b=Yv,Yv=!1,b}function jl(t,e,r){var n=e.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var s=n=n.next;do{if((s.tag&t)===t){var i=s.destroy;s.destroy=void 0,i!==void 0&&Tp(e,r,i)}s=s.next}while(s!==n)}}function Qd(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var r=e=e.next;do{if((r.tag&t)===t){var n=r.create;r.destroy=n()}r=r.next}while(r!==e)}}function Pp(t){var e=t.ref;if(e!==null){var r=t.stateNode;switch(t.tag){case 5:t=r;break;default:t=r}typeof e=="function"?e(t):e.current=t}}function Lw(t){var e=t.alternate;e!==null&&(t.alternate=null,Lw(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Gn],delete e[Zl],delete e[gp],delete e[CE],delete e[SE])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Fw(t){return t.tag===5||t.tag===3||t.tag===4}function Gv(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Fw(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Rp(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.nodeType===8?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(r.nodeType===8?(e=r.parentNode,e.insertBefore(t,r)):(e=r,e.appendChild(t)),r=r._reactRootContainer,r!=null||e.onclick!==null||(e.onclick=td));else if(n!==4&&(t=t.child,t!==null))for(Rp(t,e,r),t=t.sibling;t!==null;)Rp(t,e,r),t=t.sibling}function Ap(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(n!==4&&(t=t.child,t!==null))for(Ap(t,e,r),t=t.sibling;t!==null;)Ap(t,e,r),t=t.sibling}var Mt=null,Nn=!1;function Fs(t,e,r){for(r=r.child;r!==null;)zw(t,e,r),r=r.sibling}function zw(t,e,r){if(Jn&&typeof Jn.onCommitFiberUnmount=="function")try{Jn.onCommitFiberUnmount(Vd,r)}catch{}switch(r.tag){case 5:Qt||Yo(r,e);case 6:var n=Mt,s=Nn;Mt=null,Fs(t,e,r),Mt=n,Nn=s,Mt!==null&&(Nn?(t=Mt,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):Mt.removeChild(r.stateNode));break;case 18:Mt!==null&&(Nn?(t=Mt,r=r.stateNode,t.nodeType===8?th(t.parentNode,r):t.nodeType===1&&th(t,r),Gl(t)):th(Mt,r.stateNode));break;case 4:n=Mt,s=Nn,Mt=r.stateNode.containerInfo,Nn=!0,Fs(t,e,r),Mt=n,Nn=s;break;case 0:case 11:case 14:case 15:if(!Qt&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){s=n=n.next;do{var i=s,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Tp(r,e,o),s=s.next}while(s!==n)}Fs(t,e,r);break;case 1:if(!Qt&&(Yo(r,e),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){st(r,e,a)}Fs(t,e,r);break;case 21:Fs(t,e,r);break;case 22:r.mode&1?(Qt=(n=Qt)||r.memoizedState!==null,Fs(t,e,r),Qt=n):Fs(t,e,r);break;default:Fs(t,e,r)}}function Kv(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new $E),e.forEach(function(n){var s=QE.bind(null,t,n);r.has(n)||(r.add(n),n.then(s,s))})}}function vn(t,e){var r=e.deletions;if(r!==null)for(var n=0;n<r.length;n++){var s=r[n];try{var i=t,o=e,a=o;e:for(;a!==null;){switch(a.tag){case 5:Mt=a.stateNode,Nn=!1;break e;case 3:Mt=a.stateNode.containerInfo,Nn=!0;break e;case 4:Mt=a.stateNode.containerInfo,Nn=!0;break e}a=a.return}if(Mt===null)throw Error(V(160));zw(i,o,s),Mt=null,Nn=!1;var c=s.alternate;c!==null&&(c.return=null),s.return=null}catch(u){st(s,e,u)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)$w(e,t),e=e.sibling}function $w(t,e){var r=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(vn(e,t),$n(t),n&4){try{jl(3,t,t.return),Qd(3,t)}catch(p){st(t,t.return,p)}try{jl(5,t,t.return)}catch(p){st(t,t.return,p)}}break;case 1:vn(e,t),$n(t),n&512&&r!==null&&Yo(r,r.return);break;case 5:if(vn(e,t),$n(t),n&512&&r!==null&&Yo(r,r.return),t.flags&32){var s=t.stateNode;try{Ul(s,"")}catch(p){st(t,t.return,p)}}if(n&4&&(s=t.stateNode,s!=null)){var i=t.memoizedProps,o=r!==null?r.memoizedProps:i,a=t.type,c=t.updateQueue;if(t.updateQueue=null,c!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&l1(s,i),rp(a,o);var u=rp(a,i);for(o=0;o<c.length;o+=2){var d=c[o],f=c[o+1];d==="style"?h1(s,f):d==="dangerouslySetInnerHTML"?d1(s,f):d==="children"?Ul(s,f):Um(s,d,f,u)}switch(a){case"input":qh(s,i);break;case"textarea":c1(s,i);break;case"select":var m=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?qo(s,!!i.multiple,h,!1):m!==!!i.multiple&&(i.defaultValue!=null?qo(s,!!i.multiple,i.defaultValue,!0):qo(s,!!i.multiple,i.multiple?[]:"",!1))}s[Zl]=i}catch(p){st(t,t.return,p)}}break;case 6:if(vn(e,t),$n(t),n&4){if(t.stateNode===null)throw Error(V(162));s=t.stateNode,i=t.memoizedProps;try{s.nodeValue=i}catch(p){st(t,t.return,p)}}break;case 3:if(vn(e,t),$n(t),n&4&&r!==null&&r.memoizedState.isDehydrated)try{Gl(e.containerInfo)}catch(p){st(t,t.return,p)}break;case 4:vn(e,t),$n(t);break;case 13:vn(e,t),$n(t),s=t.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(_g=ut())),n&4&&Kv(t);break;case 22:if(d=r!==null&&r.memoizedState!==null,t.mode&1?(Qt=(u=Qt)||d,vn(e,t),Qt=u):vn(e,t),$n(t),n&8192){if(u=t.memoizedState!==null,(t.stateNode.isHidden=u)&&!d&&t.mode&1)for(K=t,d=t.child;d!==null;){for(f=K=d;K!==null;){switch(m=K,h=m.child,m.tag){case 0:case 11:case 14:case 15:jl(4,m,m.return);break;case 1:Yo(m,m.return);var b=m.stateNode;if(typeof b.componentWillUnmount=="function"){n=m,r=m.return;try{e=n,b.props=e.memoizedProps,b.state=e.memoizedState,b.componentWillUnmount()}catch(p){st(n,r,p)}}break;case 5:Yo(m,m.return);break;case 22:if(m.memoizedState!==null){Qv(f);continue}}h!==null?(h.return=m,K=h):Qv(f)}d=d.sibling}e:for(d=null,f=t;;){if(f.tag===5){if(d===null){d=f;try{s=f.stateNode,u?(i=s.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=f.stateNode,c=f.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,a.style.display=f1("display",o))}catch(p){st(t,t.return,p)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(p){st(t,t.return,p)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===t)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)break e;for(;f.sibling===null;){if(f.return===null||f.return===t)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vn(e,t),$n(t),n&4&&Kv(t);break;case 21:break;default:vn(e,t),$n(t)}}function $n(t){var e=t.flags;if(e&2){try{e:{for(var r=t.return;r!==null;){if(Fw(r)){var n=r;break e}r=r.return}throw Error(V(160))}switch(n.tag){case 5:var s=n.stateNode;n.flags&32&&(Ul(s,""),n.flags&=-33);var i=Gv(t);Ap(t,i,s);break;case 3:case 4:var o=n.stateNode.containerInfo,a=Gv(t);Rp(t,a,o);break;default:throw Error(V(161))}}catch(c){st(t,t.return,c)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function VE(t,e,r){K=t,Bw(t)}function Bw(t,e,r){for(var n=(t.mode&1)!==0;K!==null;){var s=K,i=s.child;if(s.tag===22&&n){var o=s.memoizedState!==null||Qc;if(!o){var a=s.alternate,c=a!==null&&a.memoizedState!==null||Qt;a=Qc;var u=Qt;if(Qc=o,(Qt=c)&&!u)for(K=s;K!==null;)o=K,c=o.child,o.tag===22&&o.memoizedState!==null?qv(s):c!==null?(c.return=o,K=c):qv(s);for(;i!==null;)K=i,Bw(i),i=i.sibling;K=s,Qc=a,Qt=u}Xv(t)}else s.subtreeFlags&8772&&i!==null?(i.return=s,K=i):Xv(t)}}function Xv(t){for(;K!==null;){var e=K;if(e.flags&8772){var r=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:Qt||Qd(5,e);break;case 1:var n=e.stateNode;if(e.flags&4&&!Qt)if(r===null)n.componentDidMount();else{var s=e.elementType===e.type?r.memoizedProps:bn(e.type,r.memoizedProps);n.componentDidUpdate(s,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var i=e.updateQueue;i!==null&&Mv(e,i,n);break;case 3:var o=e.updateQueue;if(o!==null){if(r=null,e.child!==null)switch(e.child.tag){case 5:r=e.child.stateNode;break;case 1:r=e.child.stateNode}Mv(e,o,r)}break;case 5:var a=e.stateNode;if(r===null&&e.flags&4){r=a;var c=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var u=e.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&Gl(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(V(163))}Qt||e.flags&512&&Pp(e)}catch(m){st(e,e.return,m)}}if(e===t){K=null;break}if(r=e.sibling,r!==null){r.return=e.return,K=r;break}K=e.return}}function Qv(t){for(;K!==null;){var e=K;if(e===t){K=null;break}var r=e.sibling;if(r!==null){r.return=e.return,K=r;break}K=e.return}}function qv(t){for(;K!==null;){var e=K;try{switch(e.tag){case 0:case 11:case 15:var r=e.return;try{Qd(4,e)}catch(c){st(e,r,c)}break;case 1:var n=e.stateNode;if(typeof n.componentDidMount=="function"){var s=e.return;try{n.componentDidMount()}catch(c){st(e,s,c)}}var i=e.return;try{Pp(e)}catch(c){st(e,i,c)}break;case 5:var o=e.return;try{Pp(e)}catch(c){st(e,o,c)}}}catch(c){st(e,e.return,c)}if(e===t){K=null;break}var a=e.sibling;if(a!==null){a.return=e.return,K=a;break}K=e.return}}var UE=Math.ceil,fd=Ds.ReactCurrentDispatcher,wg=Ds.ReactCurrentOwner,un=Ds.ReactCurrentBatchConfig,ke=0,kt=null,vt=null,Dt=0,Dr=0,Go=ki(0),Ct=0,sc=null,ho=0,qd=0,bg=0,El=null,yr=null,_g=0,Ea=1/0,ms=null,hd=!1,Mp=null,pi=null,qc=!1,ri=null,pd=0,kl=0,Op=null,Pu=-1,Ru=0;function fr(){return ke&6?ut():Pu!==-1?Pu:Pu=ut()}function mi(t){return t.mode&1?ke&2&&Dt!==0?Dt&-Dt:jE.transition!==null?(Ru===0&&(Ru=N1()),Ru):(t=Ae,t!==0||(t=window.event,t=t===void 0?16:A1(t.type)),t):1}function kn(t,e,r,n){if(50<kl)throw kl=0,Op=null,Error(V(185));bc(t,r,n),(!(ke&2)||t!==kt)&&(t===kt&&(!(ke&2)&&(qd|=r),Ct===4&&Xs(t,Dt)),Cr(t,n),r===1&&ke===0&&!(e.mode&1)&&(Ea=ut()+500,Gd&&Ti()))}function Cr(t,e){var r=t.callbackNode;jj(t,e);var n=qu(t,t===kt?Dt:0);if(n===0)r!==null&&ov(r),t.callbackNode=null,t.callbackPriority=0;else if(e=n&-n,t.callbackPriority!==e){if(r!=null&&ov(r),e===1)t.tag===0?NE(Zv.bind(null,t)):q1(Zv.bind(null,t)),bE(function(){!(ke&6)&&Ti()}),r=null;else{switch(j1(n)){case 1:r=Km;break;case 4:r=C1;break;case 16:r=Qu;break;case 536870912:r=S1;break;default:r=Qu}r=Xw(r,Vw.bind(null,t))}t.callbackPriority=e,t.callbackNode=r}}function Vw(t,e){if(Pu=-1,Ru=0,ke&6)throw Error(V(327));var r=t.callbackNode;if(ra()&&t.callbackNode!==r)return null;var n=qu(t,t===kt?Dt:0);if(n===0)return null;if(n&30||n&t.expiredLanes||e)e=md(t,n);else{e=n;var s=ke;ke|=2;var i=Ww();(kt!==t||Dt!==e)&&(ms=null,Ea=ut()+500,eo(t,e));do try{YE();break}catch(a){Uw(t,a)}while(!0);ag(),fd.current=i,ke=s,vt!==null?e=0:(kt=null,Dt=0,e=Ct)}if(e!==0){if(e===2&&(s=ap(t),s!==0&&(n=s,e=Dp(t,s))),e===1)throw r=sc,eo(t,0),Xs(t,n),Cr(t,ut()),r;if(e===6)Xs(t,n);else{if(s=t.current.alternate,!(n&30)&&!WE(s)&&(e=md(t,n),e===2&&(i=ap(t),i!==0&&(n=i,e=Dp(t,i))),e===1))throw r=sc,eo(t,0),Xs(t,n),Cr(t,ut()),r;switch(t.finishedWork=s,t.finishedLanes=n,e){case 0:case 1:throw Error(V(345));case 2:zi(t,yr,ms);break;case 3:if(Xs(t,n),(n&130023424)===n&&(e=_g+500-ut(),10<e)){if(qu(t,0)!==0)break;if(s=t.suspendedLanes,(s&n)!==n){fr(),t.pingedLanes|=t.suspendedLanes&s;break}t.timeoutHandle=mp(zi.bind(null,t,yr,ms),e);break}zi(t,yr,ms);break;case 4:if(Xs(t,n),(n&4194240)===n)break;for(e=t.eventTimes,s=-1;0<n;){var o=31-En(n);i=1<<o,o=e[o],o>s&&(s=o),n&=~i}if(n=s,n=ut()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*UE(n/1960))-n,10<n){t.timeoutHandle=mp(zi.bind(null,t,yr,ms),n);break}zi(t,yr,ms);break;case 5:zi(t,yr,ms);break;default:throw Error(V(329))}}}return Cr(t,ut()),t.callbackNode===r?Vw.bind(null,t):null}function Dp(t,e){var r=El;return t.current.memoizedState.isDehydrated&&(eo(t,e).flags|=256),t=md(t,e),t!==2&&(e=yr,yr=r,e!==null&&Ip(e)),t}function Ip(t){yr===null?yr=t:yr.push.apply(yr,t)}function WE(t){for(var e=t;;){if(e.flags&16384){var r=e.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var s=r[n],i=s.getSnapshot;s=s.value;try{if(!Tn(i(),s))return!1}catch{return!1}}}if(r=e.child,e.subtreeFlags&16384&&r!==null)r.return=e,e=r;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Xs(t,e){for(e&=~bg,e&=~qd,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var r=31-En(e),n=1<<r;t[r]=-1,e&=~n}}function Zv(t){if(ke&6)throw Error(V(327));ra();var e=qu(t,0);if(!(e&1))return Cr(t,ut()),null;var r=md(t,e);if(t.tag!==0&&r===2){var n=ap(t);n!==0&&(e=n,r=Dp(t,n))}if(r===1)throw r=sc,eo(t,0),Xs(t,e),Cr(t,ut()),r;if(r===6)throw Error(V(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,zi(t,yr,ms),Cr(t,ut()),null}function Cg(t,e){var r=ke;ke|=1;try{return t(e)}finally{ke=r,ke===0&&(Ea=ut()+500,Gd&&Ti())}}function po(t){ri!==null&&ri.tag===0&&!(ke&6)&&ra();var e=ke;ke|=1;var r=un.transition,n=Ae;try{if(un.transition=null,Ae=1,t)return t()}finally{Ae=n,un.transition=r,ke=e,!(ke&6)&&Ti()}}function Sg(){Dr=Go.current,Ue(Go)}function eo(t,e){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(r!==-1&&(t.timeoutHandle=-1,wE(r)),vt!==null)for(r=vt.return;r!==null;){var n=r;switch(sg(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&rd();break;case 3:Na(),Ue(br),Ue(er),hg();break;case 5:fg(n);break;case 4:Na();break;case 13:Ue(Xe);break;case 19:Ue(Xe);break;case 10:lg(n.type._context);break;case 22:case 23:Sg()}r=r.return}if(kt=t,vt=t=gi(t.current,null),Dt=Dr=e,Ct=0,sc=null,bg=qd=ho=0,yr=El=null,Wi!==null){for(e=0;e<Wi.length;e++)if(r=Wi[e],n=r.interleaved,n!==null){r.interleaved=null;var s=n.next,i=r.pending;if(i!==null){var o=i.next;i.next=s,n.next=o}r.pending=n}Wi=null}return t}function Uw(t,e){do{var r=vt;try{if(ag(),Eu.current=dd,ud){for(var n=Ze.memoizedState;n!==null;){var s=n.queue;s!==null&&(s.pending=null),n=n.next}ud=!1}if(fo=0,Et=bt=Ze=null,Nl=!1,tc=0,wg.current=null,r===null||r.return===null){Ct=1,sc=e,vt=null;break}e:{var i=t,o=r.return,a=r,c=e;if(e=Dt,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 m=d.alternate;m?(d.updateQueue=m.updateQueue,d.memoizedState=m.memoizedState,d.lanes=m.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=zv(o);if(h!==null){h.flags&=-257,$v(h,o,a,i,e),h.mode&1&&Fv(i,u,e),e=h,c=u;var b=e.updateQueue;if(b===null){var p=new Set;p.add(c),e.updateQueue=p}else b.add(c);break e}else{if(!(e&1)){Fv(i,u,e),Ng();break e}c=Error(V(426))}}else if(He&&a.mode&1){var v=zv(o);if(v!==null){!(v.flags&65536)&&(v.flags|=256),$v(v,o,a,i,e),ig(ja(c,a));break e}}i=c=ja(c,a),Ct!==4&&(Ct=2),El===null?El=[i]:El.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,e&=-e,i.lanes|=e;var x=jw(i,c,e);Av(i,x);break e;case 1:a=c;var g=i.type,w=i.stateNode;if(!(i.flags&128)&&(typeof g.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(pi===null||!pi.has(w)))){i.flags|=65536,e&=-e,i.lanes|=e;var _=Ew(i,a,e);Av(i,_);break e}}i=i.return}while(i!==null)}Yw(r)}catch(C){e=C,vt===r&&r!==null&&(vt=r=r.return);continue}break}while(!0)}function Ww(){var t=fd.current;return fd.current=dd,t===null?dd:t}function Ng(){(Ct===0||Ct===3||Ct===2)&&(Ct=4),kt===null||!(ho&268435455)&&!(qd&268435455)||Xs(kt,Dt)}function md(t,e){var r=ke;ke|=2;var n=Ww();(kt!==t||Dt!==e)&&(ms=null,eo(t,e));do try{HE();break}catch(s){Uw(t,s)}while(!0);if(ag(),ke=r,fd.current=n,vt!==null)throw Error(V(261));return kt=null,Dt=0,Ct}function HE(){for(;vt!==null;)Hw(vt)}function YE(){for(;vt!==null&&!vj();)Hw(vt)}function Hw(t){var e=Kw(t.alternate,t,Dr);t.memoizedProps=t.pendingProps,e===null?Yw(t):vt=e,wg.current=null}function Yw(t){var e=t;do{var r=e.alternate;if(t=e.return,e.flags&32768){if(r=zE(r,e),r!==null){r.flags&=32767,vt=r;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Ct=6,vt=null;return}}else if(r=FE(r,e,Dr),r!==null){vt=r;return}if(e=e.sibling,e!==null){vt=e;return}vt=e=t}while(e!==null);Ct===0&&(Ct=5)}function zi(t,e,r){var n=Ae,s=un.transition;try{un.transition=null,Ae=1,GE(t,e,r,n)}finally{un.transition=s,Ae=n}return null}function GE(t,e,r,n){do ra();while(ri!==null);if(ke&6)throw Error(V(327));r=t.finishedWork;var s=t.finishedLanes;if(r===null)return null;if(t.finishedWork=null,t.finishedLanes=0,r===t.current)throw Error(V(177));t.callbackNode=null,t.callbackPriority=0;var i=r.lanes|r.childLanes;if(Ej(t,i),t===kt&&(vt=kt=null,Dt=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||qc||(qc=!0,Xw(Qu,function(){return ra(),null})),i=(r.flags&15990)!==0,r.subtreeFlags&15990||i){i=un.transition,un.transition=null;var o=Ae;Ae=1;var a=ke;ke|=4,wg.current=null,BE(t,r),$w(r,t),hE(hp),Zu=!!fp,hp=fp=null,t.current=r,VE(r),xj(),ke=a,Ae=o,un.transition=i}else t.current=r;if(qc&&(qc=!1,ri=t,pd=s),i=t.pendingLanes,i===0&&(pi=null),bj(r.stateNode),Cr(t,ut()),e!==null)for(n=t.onRecoverableError,r=0;r<e.length;r++)s=e[r],n(s.value,{componentStack:s.stack,digest:s.digest});if(hd)throw hd=!1,t=Mp,Mp=null,t;return pd&1&&t.tag!==0&&ra(),i=t.pendingLanes,i&1?t===Op?kl++:(kl=0,Op=t):kl=0,Ti(),null}function ra(){if(ri!==null){var t=j1(pd),e=un.transition,r=Ae;try{if(un.transition=null,Ae=16>t?16:t,ri===null)var n=!1;else{if(t=ri,ri=null,pd=0,ke&6)throw Error(V(331));var s=ke;for(ke|=4,K=t.current;K!==null;){var i=K,o=i.child;if(K.flags&16){var a=i.deletions;if(a!==null){for(var c=0;c<a.length;c++){var u=a[c];for(K=u;K!==null;){var d=K;switch(d.tag){case 0:case 11:case 15:jl(8,d,i)}var f=d.child;if(f!==null)f.return=d,K=f;else for(;K!==null;){d=K;var m=d.sibling,h=d.return;if(Lw(d),d===u){K=null;break}if(m!==null){m.return=h,K=m;break}K=h}}}var b=i.alternate;if(b!==null){var p=b.child;if(p!==null){b.child=null;do{var v=p.sibling;p.sibling=null,p=v}while(p!==null)}}K=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,K=o;else e:for(;K!==null;){if(i=K,i.flags&2048)switch(i.tag){case 0:case 11:case 15:jl(9,i,i.return)}var x=i.sibling;if(x!==null){x.return=i.return,K=x;break e}K=i.return}}var g=t.current;for(K=g;K!==null;){o=K;var w=o.child;if(o.subtreeFlags&2064&&w!==null)w.return=o,K=w;else e:for(o=g;K!==null;){if(a=K,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Qd(9,a)}}catch(C){st(a,a.return,C)}if(a===o){K=null;break e}var _=a.sibling;if(_!==null){_.return=a.return,K=_;break e}K=a.return}}if(ke=s,Ti(),Jn&&typeof Jn.onPostCommitFiberRoot=="function")try{Jn.onPostCommitFiberRoot(Vd,t)}catch{}n=!0}return n}finally{Ae=r,un.transition=e}}return!1}function Jv(t,e,r){e=ja(r,e),e=jw(t,e,1),t=hi(t,e,1),e=fr(),t!==null&&(bc(t,1,e),Cr(t,e))}function st(t,e,r){if(t.tag===3)Jv(t,t,r);else for(;e!==null;){if(e.tag===3){Jv(e,t,r);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(pi===null||!pi.has(n))){t=ja(r,t),t=Ew(e,t,1),e=hi(e,t,1),t=fr(),e!==null&&(bc(e,1,t),Cr(e,t));break}}e=e.return}}function KE(t,e,r){var n=t.pingCache;n!==null&&n.delete(e),e=fr(),t.pingedLanes|=t.suspendedLanes&r,kt===t&&(Dt&r)===r&&(Ct===4||Ct===3&&(Dt&130023424)===Dt&&500>ut()-_g?eo(t,0):bg|=r),Cr(t,e)}function Gw(t,e){e===0&&(t.mode&1?(e=Bc,Bc<<=1,!(Bc&130023424)&&(Bc=4194304)):e=1);var r=fr();t=Ts(t,e),t!==null&&(bc(t,e,r),Cr(t,r))}function XE(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),Gw(t,r)}function QE(t,e){var r=0;switch(t.tag){case 13:var n=t.stateNode,s=t.memoizedState;s!==null&&(r=s.retryLane);break;case 19:n=t.stateNode;break;default:throw Error(V(314))}n!==null&&n.delete(e),Gw(t,r)}var Kw;Kw=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||br.current)wr=!0;else{if(!(t.lanes&r)&&!(e.flags&128))return wr=!1,LE(t,e,r);wr=!!(t.flags&131072)}else wr=!1,He&&e.flags&1048576&&Z1(e,id,e.index);switch(e.lanes=0,e.tag){case 2:var n=e.type;Tu(t,e),t=e.pendingProps;var s=_a(e,er.current);ta(e,r),s=mg(null,e,n,t,s,r);var i=gg();return e.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,_r(n)?(i=!0,nd(e)):i=!1,e.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,ug(e),s.updater=Xd,e.stateNode=s,s._reactInternals=e,_p(e,n,t,r),e=Np(null,e,n,!0,i,r)):(e.tag=0,He&&i&&ng(e),or(null,e,s,r),e=e.child),e;case 16:n=e.elementType;e:{switch(Tu(t,e),t=e.pendingProps,s=n._init,n=s(n._payload),e.type=n,s=e.tag=ZE(n),t=bn(n,t),s){case 0:e=Sp(null,e,n,t,r);break e;case 1:e=Uv(null,e,n,t,r);break e;case 11:e=Bv(null,e,n,t,r);break e;case 14:e=Vv(null,e,n,bn(n.type,t),r);break e}throw Error(V(306,n,""))}return e;case 0:return n=e.type,s=e.pendingProps,s=e.elementType===n?s:bn(n,s),Sp(t,e,n,s,r);case 1:return n=e.type,s=e.pendingProps,s=e.elementType===n?s:bn(n,s),Uv(t,e,n,s,r);case 3:e:{if(Rw(e),t===null)throw Error(V(387));n=e.pendingProps,i=e.memoizedState,s=i.element,sw(t,e),ld(e,n,null,r);var o=e.memoizedState;if(n=o.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){s=ja(Error(V(423)),e),e=Wv(t,e,n,r,s);break e}else if(n!==s){s=ja(Error(V(424)),e),e=Wv(t,e,n,r,s);break e}else for(Vr=fi(e.stateNode.containerInfo.firstChild),Wr=e,He=!0,jn=null,r=rw(e,null,n,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Ca(),n===s){e=Ps(t,e,r);break e}or(t,e,n,r)}e=e.child}return e;case 5:return iw(e),t===null&&yp(e),n=e.type,s=e.pendingProps,i=t!==null?t.memoizedProps:null,o=s.children,pp(n,s)?o=null:i!==null&&pp(n,i)&&(e.flags|=32),Pw(t,e),or(t,e,o,r),e.child;case 6:return t===null&&yp(e),null;case 13:return Aw(t,e,r);case 4:return dg(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=Sa(e,null,n,r):or(t,e,n,r),e.child;case 11:return n=e.type,s=e.pendingProps,s=e.elementType===n?s:bn(n,s),Bv(t,e,n,s,r);case 7:return or(t,e,e.pendingProps,r),e.child;case 8:return or(t,e,e.pendingProps.children,r),e.child;case 12:return or(t,e,e.pendingProps.children,r),e.child;case 10:e:{if(n=e.type._context,s=e.pendingProps,i=e.memoizedProps,o=s.value,$e(od,n._currentValue),n._currentValue=o,i!==null)if(Tn(i.value,o)){if(i.children===s.children&&!br.current){e=Ps(t,e,r);break e}}else for(i=e.child,i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var c=a.firstContext;c!==null;){if(c.context===n){if(i.tag===1){c=Ns(-1,r&-r),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|=r,c=i.alternate,c!==null&&(c.lanes|=r),wp(i.return,r,e),a.lanes|=r;break}c=c.next}}else if(i.tag===10)o=i.type===e.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(V(341));o.lanes|=r,a=o.alternate,a!==null&&(a.lanes|=r),wp(o,r,e),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}or(t,e,s.children,r),e=e.child}return e;case 9:return s=e.type,n=e.pendingProps.children,ta(e,r),s=fn(s),n=n(s),e.flags|=1,or(t,e,n,r),e.child;case 14:return n=e.type,s=bn(n,e.pendingProps),s=bn(n.type,s),Vv(t,e,n,s,r);case 15:return kw(t,e,e.type,e.pendingProps,r);case 17:return n=e.type,s=e.pendingProps,s=e.elementType===n?s:bn(n,s),Tu(t,e),e.tag=1,_r(n)?(t=!0,nd(e)):t=!1,ta(e,r),Nw(e,n,s),_p(e,n,s,r),Np(null,e,n,!0,t,r);case 19:return Mw(t,e,r);case 22:return Tw(t,e,r)}throw Error(V(156,e.tag))};function Xw(t,e){return _1(t,e)}function qE(t,e,r,n){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function on(t,e,r,n){return new qE(t,e,r,n)}function jg(t){return t=t.prototype,!(!t||!t.isReactComponent)}function ZE(t){if(typeof t=="function")return jg(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Hm)return 11;if(t===Ym)return 14}return 2}function gi(t,e){var r=t.alternate;return r===null?(r=on(t.tag,e,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function Au(t,e,r,n,s,i){var o=2;if(n=t,typeof t=="function")jg(t)&&(o=1);else if(typeof t=="string")o=5;else e:switch(t){case Lo:return to(r.children,s,i,e);case Wm:o=8,s|=8;break;case Yh:return t=on(12,r,e,s|2),t.elementType=Yh,t.lanes=i,t;case Gh:return t=on(13,r,e,s),t.elementType=Gh,t.lanes=i,t;case Kh:return t=on(19,r,e,s),t.elementType=Kh,t.lanes=i,t;case i1:return Zd(r,s,i,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case n1:o=10;break e;case s1:o=9;break e;case Hm:o=11;break e;case Ym:o=14;break e;case Ys:o=16,n=null;break e}throw Error(V(130,t==null?t:typeof t,""))}return e=on(o,r,e,s),e.elementType=t,e.type=n,e.lanes=i,e}function to(t,e,r,n){return t=on(7,t,n,e),t.lanes=r,t}function Zd(t,e,r,n){return t=on(22,t,n,e),t.elementType=i1,t.lanes=r,t.stateNode={isHidden:!1},t}function ch(t,e,r){return t=on(6,t,null,e),t.lanes=r,t}function uh(t,e,r){return e=on(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function JE(t,e,r,n,s){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wf(0),this.expirationTimes=Wf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wf(0),this.identifierPrefix=n,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Eg(t,e,r,n,s,i,o,a,c){return t=new JE(t,e,r,a,c),e===1?(e=1,i===!0&&(e|=8)):e=0,i=on(3,null,null,e),t.current=i,i.stateNode=t,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},ug(i),t}function ek(t,e,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;
vendor: 4,591 bytes, line 40
40return{$$typeof:Io,key:n==null?null:""+n,children:t,containerInfo:e,implementation:r}}function Qw(t){if(!t)return bi;t=t._reactInternals;e:{if(So(t)!==t||t.tag!==1)throw Error(V(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(_r(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(V(171))}if(t.tag===1){var r=t.type;if(_r(r))return Q1(t,r,e)}return e}function qw(t,e,r,n,s,i,o,a,c){return t=Eg(r,n,!0,t,s,i,o,a,c),t.context=Qw(null),r=t.current,n=fr(),s=mi(r),i=Ns(n,s),i.callback=e??null,hi(r,i,s),t.current.lanes=s,bc(t,s,n),Cr(t,n),t}function Jd(t,e,r,n){var s=e.current,i=fr(),o=mi(s);return r=Qw(r),e.context===null?e.context=r:e.pendingContext=r,e=Ns(i,o),e.payload={element:t},n=n===void 0?null:n,n!==null&&(e.callback=n),t=hi(s,e,o),t!==null&&(kn(t,s,o,i),ju(t,s,o)),o}function gd(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function ex(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<e?r:e}}function kg(t,e){ex(t,e),(t=t.alternate)&&ex(t,e)}function tk(){return null}var Zw=typeof reportError=="function"?reportError:function(t){console.error(t)};function Tg(t){this._internalRoot=t}ef.prototype.render=Tg.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(V(409));Jd(t,e,null,null)};ef.prototype.unmount=Tg.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;po(function(){Jd(null,t,null,null)}),e[ks]=null}};function ef(t){this._internalRoot=t}ef.prototype.unstable_scheduleHydration=function(t){if(t){var e=T1();t={blockedOn:null,target:t,priority:e};for(var r=0;r<Ks.length&&e!==0&&e<Ks[r].priority;r++);Ks.splice(r,0,t),r===0&&R1(t)}};function Pg(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function tf(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function tx(){}function rk(t,e,r,n,s){if(s){if(typeof n=="function"){var i=n;n=function(){var u=gd(o);i.call(u)}}var o=qw(e,n,t,0,null,!1,!1,"",tx);return t._reactRootContainer=o,t[ks]=o.current,Ql(t.nodeType===8?t.parentNode:t),po(),o}for(;s=t.lastChild;)t.removeChild(s);if(typeof n=="function"){var a=n;n=function(){var u=gd(c);a.call(u)}}var c=Eg(t,0,!1,null,null,!1,!1,"",tx);return t._reactRootContainer=c,t[ks]=c.current,Ql(t.nodeType===8?t.parentNode:t),po(function(){Jd(e,c,r,n)}),c}function rf(t,e,r,n,s){var i=r._reactRootContainer;if(i){var o=i;if(typeof s=="function"){var a=s;s=function(){var c=gd(o);a.call(c)}}Jd(e,o,t,s)}else o=rk(r,e,t,s,n);return gd(o)}E1=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var r=cl(e.pendingLanes);r!==0&&(Xm(e,r|1),Cr(e,ut()),!(ke&6)&&(Ea=ut()+500,Ti()))}break;case 13:po(function(){var n=Ts(t,1);if(n!==null){var s=fr();kn(n,t,1,s)}}),kg(t,1)}};Qm=function(t){if(t.tag===13){var e=Ts(t,134217728);if(e!==null){var r=fr();kn(e,t,134217728,r)}kg(t,134217728)}};k1=function(t){if(t.tag===13){var e=mi(t),r=Ts(t,e);if(r!==null){var n=fr();kn(r,t,e,n)}kg(t,e)}};T1=function(){return Ae};P1=function(t,e){var r=Ae;try{return Ae=t,e()}finally{Ae=r}};sp=function(t,e,r){switch(e){case"input":if(qh(t,r),e=r.name,r.type==="radio"&&e!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<r.length;e++){var n=r[e];if(n!==t&&n.form===t.form){var s=Yd(n);if(!s)throw Error(V(90));a1(n),qh(n,s)}}}break;case"textarea":c1(t,r);break;case"select":e=r.value,e!=null&&qo(t,!!r.multiple,e,!1)}};g1=Cg;v1=po;var nk={usingClientEntryPoint:!1,Events:[Cc,Bo,Yd,p1,m1,Cg]},tl={findFiberByHostInstance:Ui,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},sk={bundleType:tl.bundleType,version:tl.version,rendererPackageName:tl.rendererPackageName,rendererConfig:tl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ds.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=w1(t),t===null?null:t.stateNode},findFiberByHostInstance:tl.findFiberByHostInstance||tk,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zc.isDisabled&&Zc.supportsFiber)try{Vd=Zc.inject(sk),Jn=Zc}catch{}}Qr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nk;Qr.createPortal=function(t,e){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Pg(e))throw Error(V(200));return ek(t,e,null,r)};Qr.createRoot=function(t,e){if(!Pg(t))throw Error(V(299));var r=!1,n="",s=Zw;return e!=null&&(e.unstable_strictMode===!0&&(r=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onRecoverableError!==void 0&&(s=e.onRecoverableError)),e=Eg(t,1,!1,null,null,r,!1,n,s),t[ks]=e.current,Ql(t.nodeType===8?t.parentNode:t),new Tg(e)};Qr.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(V(188)):(t=Object.keys(t).join(","),Error(V(268,t)));return t=w1(e),t=t===null?null:t.stateNode,t};Qr.flushSync=function(t){return po(t)};Qr.hydrate=function(t,e,r){if(!tf(e))throw Error(V(200));return rf(null,t,e,!0,r)};Qr.hydrateRoot=function(t,e,r){if(!Pg(t))throw Error(V(405));var n=r!=null&&r.hydratedSources||null,s=!1,i="",o=Zw;if(r!=null&&(r.unstable_strictMode===!0&&(s=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onRecoverableError!==void 0&&(o=r.onRecoverableError)),e=qw(e,null,t,1,r??null,s,!1,i,o),t[ks]=e.current,Ql(t),n)for(t=0;t<n.length;t++)r=n[t],s=r._getVersion,s=s(r._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[r,s]:e.mutableSourceEagerHydrationData.push(r,s);return new ef(e)};Qr.render=function(t,e,r){if(!tf(e))throw Error(V(200));return rf(null,t,e,!1,r)};Qr.unmountComponentAtNode=function(t){if(!tf(t))throw Error(V(40));return t._reactRootContainer?(po(function(){rf(null,null,t,!1,function(){t._reactRootContainer=null,t[ks]=null})}),!0):!1};Qr.unstable_batchedUpdates=Cg;Qr.unstable_renderSubtreeIntoContainer=function(t,e,r,n){if(!tf(r))throw Error(V(200));if(t==null||t._reactInternals===void 0)throw Error(V(38));return rf(t,e,r,!1,n)};Qr.version="18.3.1-next-f1338f8080-20240426";function Jw(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Jw)}catch(t){console.error(t)}}Jw(),Jy.exports=Qr;var No=Jy.exports;const eb=By(No);var tb,rx=No;tb=rx.createRoot,rx.hydrateRoot;const ik=1,ok=1e6;let dh=0;function ak(){return dh=(dh+1)%Number.MAX_SAFE_INTEGER,dh.toString()}const fh=new Map,nx=t=>{if(fh.has(t))return;const e=setTimeout(()=>{fh.delete(t),Tl({type:"REMOVE_TOAST",toastId:t})},ok);fh.set(t,e)},lk=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,ik)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(r=>r.id===e.toast.id?{...r,...e.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=e;return r?nx(r):t.toasts.forEach(n=>{nx(n.id)}),{...t,toasts:t.toasts.map(n=>
vendor: 14,181 bytes, line 40
40n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(r=>r.id!==e.toastId)}}},Mu=[];let Ou={toasts:[]};function Tl(t){Ou=lk(Ou,t),Mu.forEach(e=>{e(Ou)})}function ck({...t}){const e=ak(),r=s=>Tl({type:"UPDATE_TOAST",toast:{...s,id:e}}),n=()=>Tl({type:"DISMISS_TOAST",toastId:e});return Tl({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:s=>{s||n()}}}),{id:e,dismiss:n,update:r}}function uk(){const[t,e]=y.useState(Ou);return y.useEffect(()=>(Mu.push(e),()=>{const r=Mu.indexOf(e);r>-1&&Mu.splice(r,1)}),[t]),{...t,toast:ck,dismiss:r=>Tl({type:"DISMISS_TOAST",toastId:r})}}function Z(t,e,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return e==null?void 0:e(s)}}function sx(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function rb(...t){return e=>{let r=!1;const n=t.map(s=>{const i=sx(s,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():sx(t[s],null)}}}}function Ee(...t){return y.useCallback(rb(...t),t)}function dk(t,e){const r=y.createContext(e),n=i=>{const{children:o,...a}=i,c=y.useMemo(()=>a,Object.values(a));return l.jsx(r.Provider,{value:c,children:o})};n.displayName=t+"Provider";function s(i){const o=y.useContext(r);if(o)return o;if(e!==void 0)return e;throw new Error(`\`${i}\` must be used within \`${t}\``)}return[n,s]}function An(t,e=[]){let r=[];function n(i,o){const a=y.createContext(o),c=r.length;r=[...r,o];const u=f=>{var x;const{scope:m,children:h,...b}=f,p=((x=m==null?void 0:m[t])==null?void 0:x[c])||a,v=y.useMemo(()=>b,Object.values(b));return l.jsx(p.Provider,{value:v,children:h})};u.displayName=i+"Provider";function d(f,m){var p;const h=((p=m==null?void 0:m[t])==null?void 0:p[c])||a,b=y.useContext(h);if(b)return b;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[u,d]}const s=()=>{const i=r.map(o=>y.createContext(o));return function(a){const c=(a==null?void 0:a[t])||i;return y.useMemo(()=>({[`__scope${t}`]:{...a,[t]:c}}),[a,c])}};return s.scopeName=t,[n,fk(s,...e)]}function fk(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const o=n.reduce((a,{useScope:c,scopeName:u})=>{const f=c(i)[`__scope${u}`];return{...a,...f}},{});return y.useMemo(()=>({[`__scope${e.scopeName}`]:o}),[o])}};return r.scopeName=e.scopeName,r}function ka(t){const e=pk(t),r=y.forwardRef((n,s)=>{const{children:i,...o}=n,a=y.Children.toArray(i),c=a.find(gk);if(c){const u=c.props.children,d=a.map(f=>f===c?y.Children.count(u)>1?y.Children.only(null):y.isValidElement(u)?u.props.children:null:f);return l.jsx(e,{...o,ref:s,children:y.isValidElement(u)?y.cloneElement(u,void 0,d):null})}return l.jsx(e,{...o,ref:s,children:i})});return r.displayName=`${t}.Slot`,r}var hk=ka("Slot");function pk(t){const e=y.forwardRef((r,n)=>{const{children:s,...i}=r;if(y.isValidElement(s)){const o=xk(s),a=vk(i,s.props);return s.type!==y.Fragment&&(a.ref=n?rb(n,o):o),y.cloneElement(s,a)}return y.Children.count(s)>1?y.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var nb=Symbol("radix.slottable");function mk(t){const e=({children:r})=>l.jsx(l.Fragment,{children:r});return e.displayName=`${t}.Slottable`,e.__radixId=nb,e}function gk(t){return y.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===nb}function vk(t,e){const r={...e};for(const n in e){const s=t[n],i=e[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...a)=>{const c=i(...a);return s(...a),c}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...t,...r}}function xk(t){var n,s;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function Nc(t){const e=t+"CollectionProvider",[r,n]=An(e),[s,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),o=p=>{const{scope:v,children:x}=p,g=z.useRef(null),w=z.useRef(new Map).current;return l.jsx(s,{scope:v,itemMap:w,collectionRef:g,children:x})};o.displayName=e;const a=t+"CollectionSlot",c=ka(a),u=z.forwardRef((p,v)=>{const{scope:x,children:g}=p,w=i(a,x),_=Ee(v,w.collectionRef);return l.jsx(c,{ref:_,children:g})});u.displayName=a;const d=t+"CollectionItemSlot",f="data-radix-collection-item",m=ka(d),h=z.forwardRef((p,v)=>{const{scope:x,children:g,...w}=p,_=z.useRef(null),C=Ee(v,_),N=i(d,x);return z.useEffect(()=>(N.itemMap.set(_,{ref:_,...w}),()=>void N.itemMap.delete(_))),l.jsx(m,{[f]:"",ref:C,children:g})});h.displayName=d;function b(p){const v=i(t+"CollectionConsumer",p);return z.useCallback(()=>{const g=v.collectionRef.current;if(!g)return[];const w=Array.from(g.querySelectorAll(`[${f}]`));return Array.from(v.itemMap.values()).sort((N,S)=>w.indexOf(N.ref.current)-w.indexOf(S.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:o,Slot:u,ItemSlot:h},b,n]}var yk=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ie=yk.reduce((t,e)=>{const r=ka(`Primitive.${e}`),n=y.forwardRef((s,i)=>{const{asChild:o,...a}=s,c=o?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...a,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function sb(t,e){t&&No.flushSync(()=>t.dispatchEvent(e))}function pn(t){const e=y.useRef(t);return y.useEffect(()=>{e.current=t}),y.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function wk(t,e=globalThis==null?void 0:globalThis.document){const r=pn(t);y.useEffect(()=>{const n=s=>{s.key==="Escape"&&r(s)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var bk="DismissableLayer",Lp="dismissableLayer.update",_k="dismissableLayer.pointerDownOutside",Ck="dismissableLayer.focusOutside",ix,ib=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),jc=y.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:o,onDismiss:a,...c}=t,u=y.useContext(ib),[d,f]=y.useState(null),m=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=y.useState({}),b=Ee(e,S=>f(S)),p=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=p.indexOf(v),g=d?p.indexOf(d):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,_=g>=x,C=Nk(S=>{const E=S.target,k=[...u.branches].some(T=>T.contains(E));!_||k||(s==null||s(S),o==null||o(S),S.defaultPrevented||a==null||a())},m),N=jk(S=>{const E=S.target;[...u.branches].some(T=>T.contains(E))||(i==null||i(S),o==null||o(S),S.defaultPrevented||a==null||a())},m);return wk(S=>{g===u.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&a&&(S.preventDefault(),a()))},m),y.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(ix=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),ox(),()=>{r&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=ix)}},[d,m,r,u]),y.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),ox())},[d,u]),y.useEffect(()=>{const S=()=>h({});return document.addEventListener(Lp,S),()=>document.removeEventListener(Lp,S)},[]),l.jsx(ie.div,{...c,ref:b,style:{pointerEvents:w?_?"auto":"none":void 0,...t.style},onFocusCapture:Z(t.onFocusCapture,N.onFocusCapture),onBlurCapture:Z(t.onBlurCapture,N.onBlurCapture),onPointerDownCapture:Z(t.onPointerDownCapture,C.onPointerDownCapture)})});jc.displayName=bk;var Sk="DismissableLayerBranch",ob=y.forwardRef((t,e)=>{const r=y.useContext(ib),n=y.useRef(null),s=Ee(e,n);return y.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),l.jsx(ie.div,{...t,ref:s})});ob.displayName=Sk;function Nk(t,e=globalThis==null?void 0:globalThis.document){const r=pn(t),n=y.useRef(!1),s=y.useRef(()=>{});return y.useEffect(()=>{const i=a=>{if(a.target&&!n.current){let c=function(){ab(_k,r,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(e.removeEventListener("click",s.current),s.current=c,e.addEventListener("click",s.current,{once:!0})):c()}else e.removeEventListener("click",s.current);n.current=!1},o=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),e.removeEventListener("pointerdown",i),e.removeEventListener("click",s.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function jk(t,e=globalThis==null?void 0:globalThis.document){const r=pn(t),n=y.useRef(!1);return y.useEffect(()=>{const s=i=>{i.target&&!n.current&&ab(Ck,r,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",s),()=>e.removeEventListener("focusin",s)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function ox(){const t=new CustomEvent(Lp);document.dispatchEvent(t)}function ab(t,e,r,{discrete:n}){const s=r.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});e&&s.addEventListener(t,e,{once:!0}),n?sb(s,i):s.dispatchEvent(i)}var Ek=jc,kk=ob,Tt=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},Tk="Portal",nf=y.forwardRef((t,e)=>{var a;const{container:r,...n}=t,[s,i]=y.useState(!1);Tt(()=>i(!0),[]);const o=r||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?eb.createPortal(l.jsx(ie.div,{...n,ref:e}),o):null});nf.displayName=Tk;function Pk(t,e){return y.useReducer((r,n)=>e[r][n]??r,t)}var Pi=t=>{const{present:e,children:r}=t,n=Rk(e),s=typeof r=="function"?r({present:n.isPresent}):y.Children.only(r),i=Ee(n.ref,Ak(s));return typeof r=="function"||n.isPresent?y.cloneElement(s,{ref:i}):null};Pi.displayName="Presence";function Rk(t){const[e,r]=y.useState(),n=y.useRef(null),s=y.useRef(t),i=y.useRef("none"),o=t?"mounted":"unmounted",[a,c]=Pk(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const u=Jc(n.current);i.current=a==="mounted"?u:"none"},[a]),Tt(()=>{const u=n.current,d=s.current;if(d!==t){const m=i.current,h=Jc(u);t?c("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&m!==h?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,c]),Tt(()=>{if(e){let u;const d=e.ownerDocument.defaultView??window,f=h=>{const p=Jc(n.current).includes(h.animationName);if(h.target===e&&p&&(c("ANIMATION_END"),!s.current)){const v=e.style.animationFillMode;e.style.animationFillMode="forwards",u=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=v)})}},m=h=>{h.target===e&&(i.current=Jc(n.current))};return e.addEventListener("animationstart",m),e.addEventListener("animationcancel",f),e.addEventListener("animationend",f),()=>{d.clearTimeout(u),e.removeEventListener("animationstart",m),e.removeEventListener("animationcancel",f),e.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[e,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:y.useCallback(u=>{n.current=u?getComputedStyle(u):null,r(u)},[])}}function Jc(t){return(t==null?void 0:t.animationName)||"none"}function Ak(t){var n,s;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var Mk=$m[" useInsertionEffect ".trim().toString()]||Tt;function is({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[s,i,o]=Ok({defaultProp:e,onChange:r}),a=t!==void 0,c=a?t:s;{const d=y.useRef(t!==void 0);y.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${n} 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,n])}const u=y.useCallback(d=>{var f;if(a){const m=Dk(d)?d(t):d;m!==t&&((f=o.current)==null||f.call(o,m))}else i(d)},[a,t,i,o]);return[c,u]}function Ok({defaultProp:t,onChange:e}){const[r,n]=y.useState(t),s=y.useRef(r),i=y.useRef(e);return Mk(()=>{i.current=e},[e]),y.useEffect(()=>{var o;s.current!==r&&((o=i.current)==null||o.call(i,r),s.current=r)},[r,s]),[r,n,i]}function Dk(t){return typeof t=="function"}var lb=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"}),Ik="VisuallyHidden",sf=y.forwardRef((t,e)=>l.jsx(ie.span,{...t,ref:e,style:{...lb,...t.style}}));sf.displayName=Ik;var Lk=sf,Rg="ToastProvider",[Ag,Fk,zk]=Nc("Toast"),[cb,CD]=An("Toast",[zk]),[$k,of]=cb(Rg),ub=t=>{const{__scopeToast:e,label:r="Notification",duration:n=5e3,swipeDirection:s="right",swipeThreshold:i=50,children:o}=t,[a,c]=y.useState(null),[u,d]=y.useState(0),f=y.useRef(!1),m=y.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${Rg}\`. Expected non-empty \`string\`.`),l.jsx(Ag.Provider,{scope:e,children:l.jsx($k,{scope:e,label:r,duration:n,swipeDirection:s,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:c,onToastAdd:y.useCallback(()=>d(h=>h+1),[]),onToastRemove:y.useCallback(()=>d(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:m,children:o})})};ub.displayName=Rg;var db="ToastViewport",Bk=["F8"],Fp="toast.viewportPause",zp="toast.viewportResume",fb=y.forwardRef((t,e)=>{const{__scopeToast:r,hotkey:n=Bk,label:s="Notifications ({hotkey})",...i}=t,o=of(db,r),a=Fk(r),c=y.useRef(null),u=y.useRef(null),d=y.useRef(null),f=y.useRef(null),m=Ee(e,f,o.onViewportChange),h=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=o.toastCount>0;y.useEffect(()=>
40{const v=x=>{var w;n.length!==0&&n.every(_=>x[_]||x.code===_)&&((w=f.current)==null||w.focus())};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[n]),y.useEffect(()=>{const v=c.current,x=f.current;if(b&&v&&x){const g=()=>{if(!o.isClosePausedRef.current){const N=new CustomEvent(Fp);x.dispatchEvent(N),o.isClosePausedRef.current=!0}},w=()=>{if(o.isClosePausedRef.current){const N=new CustomEvent(zp);x.dispatchEvent(N),o.isClosePausedRef.current=!1}},_=N=>{!v.contains(N.relatedTarget)&&w()},C=()=>{v.contains(document.activeElement)||w()};return v.addEventListener("focusin",g),v.addEventListener("focusout",_),v.addEventListener("pointermove",g),v.addEventListener("pointerleave",C),window.addEventListener("blur",g),window.addEventListener("focus",w),()=>{v.removeEventListener("focusin",g),v.removeEventListener("focusout",_),v.removeEventListener("pointermove",g),v.removeEventListener("pointerleave",C),window.removeEventListener("blur",g),window.removeEventListener("focus",w)}}},[b,o.isClosePausedRef]);const p=y.useCallback(({tabbingDirection:v})=>{const g=a().map(w=>{const _=w.ref.current,C=[_,...eT(_)];return v==="forwards"?C:C.reverse()});return(v==="forwards"?g.reverse():g).flat()},[a]);return y.useEffect(()=>{const v=f.current;if(v){const x=g=>{var C,N,S;const w=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!w){const E=document.activeElement,k=g.shiftKey;if(g.target===v&&k){(C=u.current)==null||C.focus();return}const R=p({tabbingDirection:k?"backwards":"forwards"}),$=R.findIndex(O=>O===E);hh(R.slice($+1))?g.preventDefault():k?(N=u.current)==null||N.focus():(S=d.current)==null||S.focus()}};return v.addEventListener("keydown",x),()=>v.removeEventListener("keydown",x)}},[a,p]),l.jsxs(kk,{ref:c,role:"region","aria-label":s.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&l.jsx($p,{ref:u,onFocusFromOutsideViewport:()=>{const v=p({tabbingDirection:"forwards"});hh(v)}}),l.jsx(Ag.Slot,{scope:r,children:l.jsx(ie.ol,{tabIndex:-1,...i,ref:m})}),b&&l.jsx($p,{ref:d,onFocusFromOutsideViewport:()=>{const v=p({tabbingDirection:"backwards"});hh(v)}})]})});fb.displayName=db;var hb="ToastFocusProxy",$p=y.forwardRef((t,e)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...s}=t,i=of(hb,r);return l.jsx(sf,{"aria-hidden":!0,tabIndex:0,...s,ref:e,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&n()}})});$p.displayName=hb;var Ec="Toast",Vk="toast.swipeStart",Uk="toast.swipeMove",Wk="toast.swipeCancel",Hk="toast.swipeEnd",pb=y.forwardRef((t,e)=>{const{forceMount:r,open:n,defaultOpen:s,onOpenChange:i,...o}=t,[a,c]=is({prop:n,defaultProp:s??!0,onChange:i,caller:Ec});return l.jsx(Pi,{present:r||a,children:l.jsx(Kk,{open:a,...o,ref:e,onClose:()=>c(!1),onPause:pn(t.onPause),onResume:pn(t.onResume),onSwipeStart:Z(t.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Z(t.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:Z(t.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:Z(t.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)})})})});pb.displayName=Ec;var[Yk,Gk]=cb(Ec,{onClose(){}}),Kk=y.forwardRef((t,e)=>{const{__scopeToast:r,type:n="foreground",duration:s,open:i,onClose:o,onEscapeKeyDown:a,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:m,onSwipeEnd:h,...b}=t,p=of(Ec,r),[v,x]=y.useState(null),g=Ee(e,O=>x(O)),w=y.useRef(null),_=y.useRef(null),C=s||p.duration,N=y.useRef(0),S=y.useRef(C),E=y.useRef(0),{onToastAdd:k,onToastRemove:T}=p,D=pn(()=>{var U;(v==null?void 0:v.contains(document.activeElement))&&((U=p.viewport)==null||U.focus()),o()}),R=y.useCallback(O=>
40{!O||O===1/0||(window.clearTimeout(E.current),N.current=new Date().getTime(),E.current=window.setTimeout(D,O))},[D]);y.useEffect(()=>{const O=p.viewport;if(O){const U=()=>{R(S.current),u==null||u()},L=()=>{const F=new Date().getTime()-N.current;S.current=S.current-F,window.clearTimeout(E.current),c==null||c()};return O.addEventListener(Fp,L),O.addEventListener(zp,U),()=>{O.removeEventListener(Fp,L),O.removeEventListener(zp,U)}}},[p.viewport,C,c,u,R]),y.useEffect(()=>{i&&!p.isClosePausedRef.current&&R(C)},[i,C,p.isClosePausedRef,R]),y.useEffect(()=>(k(),()=>T()),[k,T]);const $=y.useMemo(()=>v?bb(v):null,[v]);return p.viewport?l.jsxs(l.Fragment,{children:[$&&l.jsx(Xk,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0,children:$}),l.jsx(Yk,{scope:r,onClose:D,children:No.createPortal(l.jsx(Ag.ItemSlot,{scope:r,children:l.jsx(Ek,{asChild:!0,onEscapeKeyDown:Z(a,()=>{p.isFocusedToastEscapeKeyDownRef.current||D(),p.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(ie.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":p.swipeDirection,...b,ref:g,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:Z(t.onKeyDown,O=>{O.key==="Escape"&&(a==null||a(O.nativeEvent),O.nativeEvent.defaultPrevented||(p.isFocusedToastEscapeKeyDownRef.current=!0,D()))}),onPointerDown:Z(t.onPointerDown,O=>{O.button===0&&(w.current={x:O.clientX,y:O.clientY})}),onPointerMove:Z(t.onPointerMove,O=>{if(!w.current)return;const U=O.clientX-w.current.x,L=O.clientY-w.current.y,F=!!_.current,P=["left","right"].includes(p.swipeDirection),A=["left","up"].includes(p.swipeDirection)?Math.min:Math.max,j=P?A(0,U):0,H=P?0:A(0,L),Y=O.pointerType==="touch"?10:2,te={x:j,y:H},G={originalEvent:O,delta:te};F?(_.current=te,eu(Uk,f,G,{discrete:!1})):ax(te,p.swipeDirection,Y)?(_.current=te,eu(Vk,d,G,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(U)>Y||Math.abs(L)>Y)&&(w.current=null)}),onPointerUp:Z(t.onPointerUp,O=>{const U=_.current,L=O.target;if(L.hasPointerCapture(O.pointerId)&&L.releasePointerCapture(O.pointerId),_.current=null,w.current=null,U){const F=O.currentTarget,P={originalEvent:O,delta:U};ax(U,p.swipeDirection,p.swipeThreshold)?eu(Hk,h,P,{discrete:!0}):eu(Wk,m,P,{discrete:!0}),F.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),p.viewport)})]}):null}),Xk=t=>{const{__scopeToast:e,children:r,...n}=t,s=of(Ec,e),[i,o]=y.useState(!1),[a,c]=y.useState(!1);return Zk(()=>o(!0)),y.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:l.jsx(nf,{asChild:!0,children:l.jsx(sf,{...n,children:i&&l.jsxs(l.Fragment,{children:[s.label," ",r]})})})},Qk="ToastTitle",mb=y.forwardRef((t,e)=>{const{__scopeToast:r,...n}=t;return l.jsx(ie.div,{...n,ref:e})});mb.displayName=Qk;var qk="ToastDescription",gb=y.forwardRef((t,e)=>{const{__scopeToast:r,...n}=t;return l.jsx(ie.div,{...n,ref:e})});gb.displayName=qk;var vb="ToastAction",xb=y.forwardRef((t,e)=>{const{altText:r,...n}=t;return r.trim()?l.jsx(wb,{altText:r,asChild:!0,children:l.jsx(Mg,{...n,ref:e})}):(console.error(`Invalid prop \`altText\` supplied to \`${vb}\`. Expected non-empty \`string\`.`),null)});xb.displayName=vb;var yb="ToastClose",Mg=y.forwardRef((t,e)=>{const{__scopeToast:r,...n}=t,s=Gk(yb,r);return l.jsx(wb,{asChild:!0,children:l.jsx(ie.button,{type:"button",...n,ref:e,onClick:Z(t.onClick,s.onClose)})})});Mg.displayName=yb;var wb=y.forwardRef((t,e)=>{const{__scopeToast:r,altText:n,...s}=t;return l.jsx(ie.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0,...s,ref:e})});function bb(t){const e=[];return Array.from(t.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&e.push(n.textContent),Jk(n)){const s=n.ariaHidden||n.hidden||n.style.display==="none",i=n.dataset.radixToastAnnounceExclude==="";if(!s)if(i){const o=n.dataset.radixToastAnnounceAlt;o&&e.push(o)}else e.push(...bb(n))}}),e}function eu(t,e,r,{discrete:n}){const s=r.originalEvent.currentTarget,i=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:r});e&&s.addEventListener(t,e,{once:!0}),n?sb(s,i):s.dispatchEvent(i)}var ax=(t,e,r=0)=>{const n=Math.abs(t.x),s=Math.abs(t.y),i=n>s;return e==="left"||e==="right"?i&&n>r:!i&&s>r};function Zk(t=()=>{}){const e=pn(t);Tt(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(e)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[e])}function Jk(t){return t.nodeType===t.ELEMENT_NODE}function eT(t){const e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const s=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||s?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function hh(t){const e=document.activeElement;return t.some(r=>r===e?!0:(r.focus(),document.activeElement!==e))}var tT=ub,_b=fb,Cb=pb,Sb=mb,Nb=gb,jb=xb,Eb=Mg;function kb(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;e<s;e++)t[e]&&(r=kb(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Tb(){for(var t,e,r=0,n="",s=arguments.length;r<s;r++)(t=arguments[r])&&(e=kb(t))&&(n&&(n+=" "),n+=e);return n}const lx=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,cx=Tb,Pb=(t,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return cx(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:s,defaultVariants:i}=e,o=Object.keys(s).map(u=>{const d=r==null?void 0:r[u],f=i==null?void 0:i[u];if(d===null)return null;const m=lx(d)||lx(f);return s[u][m]}),a=r&&Object.entries(r).reduce((u,d)=>{let[f,m]=d;return m===void 0||(u[f]=m),u},{}),c=e==null||(n=e.compoundVariants)===null||n===void 0?void 0:n.reduce((u,d)=>{let{class:f,className:m,...h}=d;return Object.entries(h).every(b=>{let[p,v]=b;return Array.isArray(v)?v.includes({...i,...a}[p]):{...i,...a}[p]===v})?[...u,f,m]:u},[]);return cx(t,o,c,r==null?void 0:r.class,r==null?void 0:r.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 rT=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Rb=(...t)=>t.filter((e,r,n)=>!!e&&e.trim()!==""&&n.indexOf(e)===r).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 nT={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 sT=y.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:s="",children:i,iconNode:o,...a},c)=>y.createElement("svg",{ref:c,...nT,width:e,height:e,stroke:t,strokeWidth:n?Number(r)*24/Number(e):r,className:Rb("lucide",s),...a},[...o.map(([u,d])=>y.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 ot=(t,e)=>{const r=y.forwardRef(({className:n,...s},i)=>y.createElement(sT,{ref:i,iconNode:e,className:Rb(`lucide-${rT(t)}`,n),...s}));return r.displayName=`${t}`,r};/** 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 ux=ot("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const af=ot("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/** 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 iT=ot("ChartLine",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]]);/** 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 ws=ot("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 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 lf=ot("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 86 * @license lucide-react v0.462.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree.
90 */const oT=ot("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 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 dx=ot("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** 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 aT=ot("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]]);/** 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 lT=ot("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/** 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 cT=ot("LifeBuoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]]);/** 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 uT=ot("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/** 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 dT=ot("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 121 * @license lucide-react v0.462.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const fT=ot("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"}]]);/** 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 hT=ot("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);/** 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 pT=ot("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 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 mT=ot("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}
vendor: 9,999 bytes, lines 140-170
140],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);/** 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 gT=ot("Printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);/** 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 Ab=ot("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** 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 vT=ot("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/** 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 xT=ot("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"}]]);/** 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 Og=ot("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 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 Mb=ot("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"}]]),Dg="-",yT=t=>{const e=bT(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:o=>{const a=o.split(Dg);return a[0]===""&&a.length!==1&&a.shift(),Ob(a,e)||wT(o)},getConflictingClassGroupIds:(o,a)=>{const c=r[o]||[];return a&&n[o]?[...c,...n[o]]:c}}},Ob=(t,e)=>{var o;if(t.length===0)return e.classGroupId;const r=t[0],n=e.nextPart.get(r),s=n?Ob(t.slice(1),n):void 0;if(s)return s;if(e.validators.length===0)return;const i=t.join(Dg);return(o=e.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},fx=/^\[(.+)\]$/,wT=t=>{if(fx.test(t)){const e=fx.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},bT=t=>{const{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return CT(Object.entries(t.classGroups),r).forEach(([i,o])=>{Bp(o,n,i,e)}),n},Bp=(t,e,r,n)=>{t.forEach(s=>{if(typeof s=="string"){const i=s===""?e:hx(e,s);i.classGroupId=r;return}if(typeof s=="function"){if(_T(s)){Bp(s(n),e,r,n);return}e.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([i,o])=>{Bp(o,hx(e,i),r,n)})})},hx=(t,e)=>{let r=t;return e.split(Dg).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},_T=t=>t.isThemeGetter,CT=(t,e)=>e?t.map(([r,n])=>{const s=n.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[e+o,a])):i);return[r,s]}):t,ST=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const s=(i,o)=>{r.set(i,o),e++,e>t&&(e=0,n=r,r=new Map)};return{get(i){let o=r.get(i);if(o!==void 0)return o;if((o=n.get(i))!==void 0)return s(i,o),o},set(i,o){r.has(i)?r.set(i,o):s(i,o)}}},Db="!",NT=t=>{const{separator:e,experimentalParseClassName:r}=t,n=e.length===1,s=e[0],i=e.length,o=a=>{const c=[];let u=0,d=0,f;for(let v=0;v<a.length;v++){let x=a[v];if(u===0){if(x===s&&(n||a.slice(v,v+i)===e)){c.push(a.slice(d,v)),d=v+i;continue}if(x==="/"){f=v;continue}}x==="["?u++:x==="]"&&u--}const m=c.length===0?a:a.substring(d),h=m.startsWith(Db),b=h?m.substring(1):m,p=f&&f>d?f-d:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:b,maybePostfixModifierPosition:p}};return r?a=>r({className:a,parseClassName:o}):o},jT=t=>{if(t.length<=1)return t;const e=[];let r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},ET=t=>({cache:ST(t.cacheSize),parseClassName:NT(t),...yT(t)}),kT=/\s+/,TT=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=e,i=[],o=t.trim().split(kT);let a="";for(let c=o.length-1;c>=0;c-=1){const u=o[c],{modifiers:d,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:h}=r(u);let b=!!h,p=n(b?m.substring(0,h):m);if(!p){if(!b){a=u+(a.length>0?" "+a:a);continue}if(p=n(m),!p){a=u+(a.length>0?" "+a:a);continue}b=!1}const v=jT(d).join(":"),x=f?v+Db:v,g=x+p;if(i.includes(g))continue;i.push(g);const w=s(p,b);for(let _=0;_<w.length;++_){const C=w[_];i.push(x+C)}a=u+(a.length>0?" "+a:a)}return a};function PT(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=Ib(e))&&(n&&(n+=" "),n+=r);return n}const Ib=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=Ib(t[n]))&&(r&&(r+=" "),r+=e);return r};function RT(t,...e){let r,n,s,i=o;function o(c){const u=e.reduce((d,f)=>f(d),t());return r=ET(u),n=r.cache.get,s=r.cache.set,i=a,a(c)}function a(c){const u=n(c);if(u)return u;const d=TT(c,r);return s(c,d),d}return function(){return i(PT.apply(null,arguments))}}const Be=t=>{const e=r=>r[t]||[];return e.isThemeGetter=!0,e},Lb=/^\[(?:([a-z-]+):)?(.+)\]$/i,AT=/^\d+\/\d+$/,MT=new Set(["px","full","screen"]),OT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,DT=/\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$/,IT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,LT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,FT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,hs=t=>na(t)||MT.has(t)||AT.test(t),zs=t=>Ba(t,"length",YT),na=t=>!!t&&!Number.isNaN(Number(t)),ph=t=>Ba(t,"number",na),rl=t=>!!t&&Number.isInteger(Number(t)),zT=t=>t.endsWith("%")&&na(t.slice(0,-1)),fe=t=>Lb.test(t),$s=t=>OT.test(t),$T=new Set(["length","size","percentage"]),BT=t=>Ba(t,$T,Fb),VT=t=>Ba(t,"position",Fb),UT=new Set(["image","url"]),WT=t=>Ba(t,UT,KT),HT=t=>Ba(t,"",GT),nl=()=>!0,Ba=(t,e,r)=>{const n=Lb.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},YT=t=>DT.test(t)&&!IT.test(t),Fb=()=>!1,GT=t=>LT.test(t),KT=t=>FT.test(t),XT=()=>{const t=Be("colors"),e=Be("spacing"),r=Be("blur"),n=Be("brightness"),s=Be("borderColor"),i=Be("borderRadius"),o=Be("borderSpacing"),a=Be("borderWidth"),c=Be("contrast"),u=Be("grayscale"),d=Be("hueRotate"),f=Be("invert"),m=Be("gap"),h=Be("gradientColorStops"),b=Be("gradientColorStopPositions"),p=Be("inset"),v=Be("margin"),x=Be("opacity"),g=Be("padding"),w=Be("saturate"),_=Be("scale"),C=Be("sepia"),N=Be("skew"),S=Be("space"),E=Be("translate"),k=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto",fe,e],R=()=>[fe,e],$=()=>["",hs,zs],O=()=>["auto",na,fe],U=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],L=()=>["solid","dashed","dotted","double","none"],F=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",fe],j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[na,fe];return{cacheSize:500,separator:":",theme:{colors:[nl],spacing:[hs,zs],blur:["none","",$s,fe],brightness:H(),borderColor:[t],borderRadius:["none","","full",$s,fe],borderSpacing:R(),borderWidth:$(),contrast:H(),grayscale:A(),hueRotate:H(),invert:A(),gap:R(),gradientColorStops:[t],gradientColorStopPositions:[zT,zs],inset:D(),margin:D(),opacity:H(),padding:R(),saturate:H(),scale:H(),sepia:A(),skew:H(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",fe]}],container:["container"],columns:[{columns:[$s]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"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:[...U(),fe]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}
vendor: 9,947 bytes, line 170
170],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",rl,fe]}],basis:[{basis:D()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",fe]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",rl,fe]}],"grid-cols":[{"grid-cols":[nl]}],"col-start-end":[{col:["auto",{span:["full",rl,fe]},fe]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[nl]}],"row-start-end":[{row:["auto",{span:[rl,fe]},fe]}],"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",fe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",fe]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",fe,e]}],"min-w":[{"min-w":[fe,e,"min","max","fit"]}],"max-w":[{"max-w":[fe,e,"none","full","min","max","fit","prose",{screen:[$s]},$s]}],h:[{h:[fe,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[fe,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[fe,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[fe,e,"auto","min","max","fit"]}],"font-size":[{text:["base",$s,zs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ph]}],"font-family":[{font:[nl]}],"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",fe]}],"line-clamp":[{"line-clamp":["none",na,ph]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",hs,fe]}],"list-image":[{"list-image":["none",fe]}],"list-style-type":[{list:["none","disc","decimal",fe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...L(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",hs,zs]}],"underline-offset":[{"underline-offset":["auto",hs,fe]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",fe]}],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",fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...U(),VT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",BT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},WT]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...L(),"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":[x]}],"divide-style":[{divide:L()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...L()]}],"outline-offset":[{"outline-offset":[hs,fe]}],"outline-w":[{outline:[hs,zs]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[hs,zs]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",$s,HT]}],"shadow-color":[{shadow:[nl]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...F(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":F()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",$s,fe]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[w]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"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":[x]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",fe]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",fe]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",fe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[rl,fe]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",fe]}],accent:[{accent:["auto",t]}],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",fe]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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,647 bytes, line 170
170],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",fe]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[hs,zs,ph]}],stroke:[{stroke:[t,"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"]}}},QT=RT(XT);function ae(...t){return QT(Tb(t))}const qT=tT,zb=y.forwardRef(({className:t,...e},r)=>l.jsx(_b,{ref:r,className:ae("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",t),...e}));zb.displayName=_b.displayName;const ZT=Pb("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"}}),$b=y.forwardRef(({className:t,variant:e,...r},n)=>l.jsx(Cb,{ref:n,className:ae(ZT({variant:e}),t),...r}));$b.displayName=Cb.displayName;const JT=y.forwardRef(({className:t,...e},r)=>l.jsx(jb,{ref:r,className:ae("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...e}));JT.displayName=jb.displayName;const Bb=y.forwardRef(({className:t,...e},r)=>l.jsx(Eb,{ref:r,className:ae("absolute right-2 top-2 rounded-md p-1 text-foreground
170/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...e,children:l.jsx(Og,{className:"h-4 w-4"})}));Bb.displayName=Eb.displayName;const Vb=y.forwardRef(({className:t,...e},r)=>l.jsx(Sb,{ref:r,className:ae("text-sm font-semibold",t),...e}));Vb.displayName=Sb.displayName;const Ub=y.forwardRef(({className:t,...e},r)=>l.jsx(Nb,{ref:r,className:ae("text-sm opacity-90",t),...e}));Ub.displayName=Nb.displayName;function eP(){const{toasts:t}=uk();return l.jsxs(qT,{children:[t.map(function({id:e,title:r,description:n,action:s,...i}){return l.jsxs($b,{...i,children:[l.jsxs("div",{className:"grid gap-1",children:[r&&l.jsx(Vb,{children:r}),n&&l.jsx(Ub,{children:n})]}),s,l.jsx(Bb,{})]},e)}),l.jsx(zb,{})]})}var px=["light","dark"],tP="(prefers-color-scheme: dark)",rP=y.createContext(void 0),nP={setTheme:t=>{},themes:[]},sP=()=>{var t;return(t=y.useContext(rP))!=null?t:nP};y.memo(({forcedTheme:t,storageKey:e,attribute:r,enableSystem:n,enableColorScheme:s,defaultTheme:i,value:o,attrs:a,nonce:c})=>{let u=i==="system",d=r==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${r}',s='setAttribute';`,f=s?px.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(b,p=!1,v=!0)=>{let x=o?o[b]:b,g=p?b+"|| ''":`'${x}'`,w="";return s&&v&&!p&&px.includes(b)&&(w+=`d.style.colorScheme = '${b}';`),r==="class"?p||x?w+=`c.add(${g})`:w+="null":x&&(w+=`d[s](n,${g})`),w},h=t?`!function(){${d}${m(t)}}()`:n?`!function(){try{${d}var e=localStorage.getItem('${e}');if('system'===e||(!e&&${u})){var t='${tP}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${m(o?"x[e]":"e",!0)}}${u?"":"else{"+m(i,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${e}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${m(o?"x[e]":"e",!0)}}else{${m(i,!1,!1)};}${f}}catch(t){}}();`;return y.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:h}})});var iP=t=>{switch(t){case"success":return lP;case"info":return uP;case"warning":return cP;case"error":return dP;default:return null}},oP=Array(12).fill(0),aP=({visible:t,className:e})=>z.createElement("div",{className:["sonner-loading-wrapper",e].filter(Boolean).join(" "),"data-visible":t},z.createElement("div",{className:"sonner-spinner"},oP.map((r,n)=>z.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),lP=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},z.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"})),cP=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},z.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"})),uP=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},z.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"})),dP=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},z.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"})),fP=z.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"},z.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),z.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),hP=()=>{let[t,e]=z.useState(document.hidden);return z.useEffect(()=>{let r=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),t},Vp=1,pP=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let e=this.subscribers.indexOf(t);this.subscribers.splice(e,1)}),this.publish=t=>
170{this.subscribers.forEach(e=>e(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var e;let{message:r,...n}=t,s=typeof(t==null?void 0:t.id)=="number"||((e=t.id)==null?void 0:e.length)>0?t.id:Vp++,i=this.toasts.find(a=>a.id===s),o=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),i?this.toasts=this.toasts.map(a=>a.id===s?(this.publish({...a,...t,id:s,title:r}),{...a,...t,id:s,dismissible:o,title:r}):a):this.addToast({title:r,...n,dismissible:o,id:s}),s},this.dismiss=t=>(this.dismissedToasts.add(t),t||this.toasts.forEach(e=>{this.subscribers.forEach(r=>r({id:e.id,dismiss:!0}))}),this.subscribers.forEach(e=>e({id:t,dismiss:!0})),t),this.message=(t,e)=>this.create({...e,message:t}),this.error=(t,e)=>this.create({...e,message:t,type:"error"}),this.success=(t,e)=>this.create({...e,type:"success",message:t}),this.info=(t,e)=>this.create({...e,type:"info",message:t}),this.warning=(t,e)=>this.create({...e,type:"warning",message:t}),this.loading=(t,e)=>this.create({...e,type:"loading",message:t}),this.promise=(t,e)=>{if(!e)return;let r;e.loading!==void 0&&(r=this.create({...e,promise:t,type:"loading",message:e.loading,description:typeof e.description!="function"?e.description:void 0}));let n=t instanceof Promise?t:t(),s=r!==void 0,i,o=n.then(async c=>{if(i=["resolve",c],z.isValidElement(c))s=!1,this.create({id:r,type:"default",message:c});else if(gP(c)&&!c.ok){s=!1;let u=typeof e.error=="function"?await e.error(`HTTP error! status: ${c.status}`):e.error,d=typeof e.description=="function"?await e.description(`HTTP error! status: ${c.status}`):e.description;this.create({id:r,type:"error",message:u,description:d})}else if(e.success!==void 0){s=!1;let u=typeof e.success=="function"?await e.success(c):e.success,d=typeof e.description=="function"?await e.description(c):e.description;this.create({id:r,type:"success",message:u,description:d})}}).catch(async c=>{if(i=["reject",c],e.error!==void 0){s=!1;let u=typeof e.error=="function"?await e.error(c):e.error,d=typeof e.description=="function"?await e.description(c):e.description;this.create({id:r,type:"error",message:u,description:d})}}).finally(()=>{var c;s&&(this.dismiss(r),r=void 0),(c=e.finally)==null||c.call(e)}),a=()=>new Promise((c,u)=>o.then(()=>i[0]==="reject"?u(i[1]):c(i[1])).catch(u));return typeof r!="string"&&typeof r!="number"?{unwrap:a}:Object.assign(r,{unwrap:a})},this.custom=(t,e)=>{let r=(e==null?void 0:e.id)||Vp++;return this.create({jsx:t(r),id:r,...e}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},vr=new pP,mP=(t,e)=>{let r=(e==null?void 0:e.id)||Vp++;return vr.addToast({title:t,...e,id:r}),r},gP=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",vP=mP,xP=()=>vr.toasts,yP=()=>vr.getActiveToasts();Object.assign(vP,{success:vr.success,info:vr.info,warning:vr.warning,error:vr.error,custom:vr.custom,message:vr.message,promise:vr.promise,dismiss:vr.dismiss,loading:vr.loading},{getHistory:xP,getToasts:yP});function wP(t,{insertAt:e}={}){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",e==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}wP(`: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;
170left: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}
170: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%);
170--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%)} 171`);function tu(t){return t.label!==void 0}var bP=3,_P="32px",CP="16px",mx=4e3,SP=356,NP=14,jP=20,EP=200;function xn(...t){return t.filter(Boolean).join(" ")}function kP(t){let[e,r]=t.split("-"),n=[];return e&&n.push(e),r&&n.push(r),n}var TP=t=>{var e,r,n,s,i,o,a,c,u,d,f;let{invert:m,toast:h,unstyled:b,interacting:p,setHeights:v,visibleToasts:x,heights:g,index:w,toasts:_,expanded:C,removeToast:N,defaultRichColors:S,closeButton:E,style:k,cancelButtonStyle:T,actionButtonStyle:D,className:R="",descriptionClassName:$="",duration:O,position:U,gap:L,loadingIcon:F,expandByDefault:P,classNames:A,icons:j,closeButtonAriaLabel:H="Close toast",pauseWhenPageIsHidden:Y}=t,[te,G]=z.useState(null),[ce,ve]=z.useState(null),[B,le]=z.useState(!1),[xe,he]=z.useState(!1),[re,oe]=z.useState(!1),[ne,je]=z.useState(!1),[et,tt]=z.useState(!1),[M,xt]=z.useState(0),[Ft,mn]=z.useState(0),Me=z.useRef(h.duration||O||mx),Zr=z.useRef(null),zt=z.useRef(null),cs=w===0,ft=w+1<=x,at=h.type,Oe=h.dismissible!==!1,Pr=h.className||"",mr=h.descriptionClassName||"",gr=z.useMemo(()=>g.findIndex(se=>se.toastId===h.id)||0,[g,h.id]),Oi=z.useMemo(()=>{var se;return(se=h.closeButton)!=null?se:E},[h.closeButton,E]),Ge=z.useMemo(()=>h.duration||O||mx,[h.duration,O]),Is=z.useRef(0),$t=z.useRef(0),us=z.useRef(0),Rr=z.useRef(null),[Dn,ds]=U.split("-"),pe=z.useMemo(()=>g.reduce((se,we,Pe)=>Pe>=gr?se:se+we.height,0),[g,gr]),In=hP(),Ar=h.invert||m,tr=at==="loading";$t.current=z.useMemo(()=>gr*L+pe,[gr,pe]),z.useEffect(()=>{Me.current=Ge},[Ge]),z.useEffect(()=>{le(!0)},[]),z.useEffect(()=>{let se=zt.current;if(se){let we=se.getBoundingClientRect().height;return mn(we),v(Pe=>[{toastId:h.id,height:we,position:h.position},...Pe]),()=>v(Pe=>Pe.filter(ee=>ee.toastId!==h.id))}},[v,h.id]),z.useLayoutEffect(()=>{if(!B)return;let se=zt.current,we=se.style.height;se.style.height="auto";let Pe=se.getBoundingClientRect().height;se.style.height=we,mn(Pe),v(ee=>ee.find(Q=>Q.toastId===h.id)?ee.map(Q=>Q.toastId===h.id?{...Q,height:Pe}:Q):[{toastId:h.id,height:Pe,position:h.position},...ee])},[B,h.title,h.description,v,h.id]);let ht=z.useCallback(()=>{he(!0),xt($t.current),v(se=>se.filter(we=>we.toastId!==h.id)),setTimeout(()=>{N(h)},EP)},[h,N,v,$t]);z.useEffect(()=>{if(h.promise&&at==="loading"||h.duration===1/0||h.type==="loading")return;let se;return C||p||Y&&In?(()=>{if(us.current<Is.current){let we=new Date().getTime()-Is.current;Me.current=Me.current-we}
171us.current=new Date().getTime()})():Me.current!==1/0&&(Is.current=new Date().getTime(),se=setTimeout(()=>{var we;(we=h.onAutoClose)==null||we.call(h,h),ht()},Me.current)),()=>clearTimeout(se)},[C,p,h,at,Y,In,ht]),z.useEffect(()=>{h.delete&&ht()},[ht,h.delete]);function fs(){var se,we,Pe;return j!=null&&j.loading?z.createElement("div",{className:xn(A==null?void 0:A.loader,(se=h==null?void 0:h.classNames)==null?void 0:se.loader,"sonner-loader"),"data-visible":at==="loading"},j.loading):F?z.createElement("div",{className:xn(A==null?void 0:A.loader,(we=h==null?void 0:h.classNames)==null?void 0:we.loader,"sonner-loader"),"data-visible":at==="loading"},F):z.createElement(aP,{className:xn(A==null?void 0:A.loader,(Pe=h==null?void 0:h.classNames)==null?void 0:Pe.loader),visible:at==="loading"})}return z.createElement("li",{tabIndex:0,ref:zt,className:xn(R,Pr,A==null?void 0:A.toast,(e=h==null?void 0:h.classNames)==null?void 0:e.toast,A==null?void 0:A.default,A==null?void 0:A[at],(r=h==null?void 0:h.classNames)==null?void 0:r[at]),"data-sonner-toast":"","data-rich-colors":(n=h.richColors)!=null?n:S,"data-styled":!(h.jsx||h.unstyled||b),"data-mounted":B,"data-promise":!!h.promise,"data-swiped":et,"data-removed":xe,"data-visible":ft,"data-y-position":Dn,"data-x-position":ds,"data-index":w,"data-front":cs,"data-swiping":re,"data-dismissible":Oe,"data-type":at,"data-invert":Ar,"data-swipe-out":ne,"data-swipe-direction":ce,"data-expanded":!!(C||P&&B),style:{"--index":w,"--toasts-before":w,"--z-index":_.length-w,"--offset":`${xe?M:$t.current}px`,"--initial-height":P?"auto":`${Ft}px`,...k,...h.style},onDragEnd:()=>{oe(!1),G(null),Rr.current=null},onPointerDown:se=>{tr||!Oe||(Zr.current=new Date,xt($t.current),se.target.setPointerCapture(se.pointerId),se.target.tagName!=="BUTTON"&&(oe(!0),Rr.current={x:se.clientX,y:se.clientY}))},onPointerUp:()=>{var se,we,Pe,ee;if(ne||!Oe)return;Rr.current=null;let Q=Number(((se=zt.current)==null?void 0:se.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),me=Number(((we=zt.current)==null?void 0:we.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),W=new Date().getTime()-((Pe=Zr.current)==null?void 0:Pe.getTime()),J=te==="x"?Q:me,q=Math.abs(J)/W;if(Math.abs(J)>=jP||q>.11){xt($t.current),(ee=h.onDismiss)==null||ee.call(h,h),ve(te==="x"?Q>0?"right":"left":me>0?"down":"up"),ht(),je(!0),tt(!1);return}oe(!1),G(null)},onPointerMove:se=>{var we,Pe,ee,Q;if(!Rr.current||!Oe||((we=window.getSelection())==null?void 0:we.toString().length)>0)return;let me=se.clientY-Rr.current.y,W=se.clientX-Rr.current.x,J=(Pe=t.swipeDirections)!=null?Pe:kP(U);!te&&(Math.abs(W)>1||Math.abs(me)>1)&&G(Math.abs(W)>Math.abs(me)?"x":"y");let q={x:0,y:0};te==="y"?(J.includes("top")||J.includes("bottom"))&&(J.includes("top")&&me<0||J.includes("bottom")&&me>0)&&(q.y=me):te==="x"&&(J.includes("left")||J.includes("right"))&&(J.includes("left")&&W<0||J.includes("right")&&W>0)&&(q.x=W),(Math.abs(q.x)>0||Math.abs(q.y)>0)&&tt(!0),(ee=zt.current)==null||ee.style.setProperty("--swipe-amount-x",`${q.x}px`),(Q=zt.current)==null||Q.style.setProperty("--swipe-amount-y",`${q.y}px`)}},Oi&&!h.jsx?z.createElement("button",{"aria-label":H,"data-disabled":tr,"data-close-button":!0,onClick:tr||!Oe?()=>{}:()=>{var se;ht(),(se=h.onDismiss)==null||se.call(h,h)},className:xn(A==null?void 0:A.closeButton,(s=h==null?void 0:h.classNames)==null?void 0:s.closeButton)},(i=j==null?void 0:j.close)!=null?i:fP):null,h.jsx||y.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:z.createElement(z.Fragment,null,at||h.icon||h.promise?z.createElement("div",{"data-icon":"",className:xn(A==null?void 0:A.icon,(o=h==null?void 0:h.classNames)==null?void 0:o.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||fs():null,h.type!=="loading"?h.icon||(j==null?void 0:j[at])||iP(at):null):null,z.createElement("div",{"data-content":"",className:xn(A==null?void 0:A.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},z.createElement("div",{"data-title":"",className:xn(A==null?void 0:A.title,(c=h==null?void 0:h.classNames)==null?void 0:c.title)},typeof h.title=="function"?h.title():h.title),h.description?z.createElement("div",{"data-description":"",className:xn($,mr,A==null?void 0:A.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),y.isValidElement(h.cancel)?h.cancel:h.cancel&&tu(h.cancel)?z.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||T,onClick:se=>{var we,Pe;tu(h.cancel)&&Oe&&((Pe=(we=h.cancel).onClick)==null||Pe.call(we,se),ht())},className:xn(A==null?void 0:A.cancelButton,(d=h==null?void 0:h.classNames)==null?void 0:d.cancelButton)},h.cancel.label):null,y.isValidElement(h.action)?h.action:h.action&&tu(h.action)?z.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||D,onClick:se=>{var we,Pe;tu(h.action)&&((Pe=(we=h.action).onClick)==null||Pe.call(we,se),!se.defaultPrevented&&ht(
vendor: 5,419 bytes, line 171
171))},className:xn(A==null?void 0:A.actionButton,(f=h==null?void 0:h.classNames)==null?void 0:f.actionButton)},h.action.label):null))};function gx(){if(typeof window>"u"||typeof document>"u")return"ltr";let t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function PP(t,e){let r={};return[t,e].forEach((n,s)=>{let i=s===1,o=i?"--mobile-offset":"--offset",a=i?CP:_P;function c(u){["top","right","bottom","left"].forEach(d=>{r[`${o}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof n=="number"||typeof n=="string"?c(n):typeof n=="object"?["top","right","bottom","left"].forEach(u=>{n[u]===void 0?r[`${o}-${u}`]=a:r[`${o}-${u}`]=typeof n[u]=="number"?`${n[u]}px`:n[u]}):c(a)}),r}var RP=y.forwardRef(function(t,e){let{invert:r,position:n="bottom-right",hotkey:s=["altKey","KeyT"],expand:i,closeButton:o,className:a,offset:c,mobileOffset:u,theme:d="light",richColors:f,duration:m,style:h,visibleToasts:b=bP,toastOptions:p,dir:v=gx(),gap:x=NP,loadingIcon:g,icons:w,containerAriaLabel:_="Notifications",pauseWhenPageIsHidden:C}=t,[N,S]=z.useState([]),E=z.useMemo(()=>Array.from(new Set([n].concat(N.filter(Y=>Y.position).map(Y=>Y.position)))),[N,n]),[k,T]=z.useState([]),[D,R]=z.useState(!1),[$,O]=z.useState(!1),[U,L]=z.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),F=z.useRef(null),P=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=z.useRef(null),j=z.useRef(!1),H=z.useCallback(Y=>{S(te=>{var G;return(G=te.find(ce=>ce.id===Y.id))!=null&&G.delete||vr.dismiss(Y.id),te.filter(({id:ce})=>ce!==Y.id)})},[]);return z.useEffect(()=>vr.subscribe(Y=>{if(Y.dismiss){S(te=>te.map(G=>G.id===Y.id?{...G,delete:!0}:G));return}setTimeout(()=>{eb.flushSync(()=>{S(te=>{let G=te.findIndex(ce=>ce.id===Y.id);return G!==-1?[...te.slice(0,G),{...te[G],...Y},...te.slice(G+1)]:[Y,...te]})})})}),[]),z.useEffect(()=>{if(d!=="system"){L(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?L("dark"):L("light")),typeof window>"u")return;let Y=window.matchMedia("(prefers-color-scheme: dark)");try{Y.addEventListener("change",({matches:te})=>{L(te?"dark":"light")})}catch{Y.addListener(({matches:G})=>{try{L(G?"dark":"light")}catch(ce){console.error(ce)}})}},[d]),z.useEffect(()=>{N.length<=1&&R(!1)},[N]),z.useEffect(()=>{let Y=te=>{var G,ce;s.every(ve=>te[ve]||te.code===ve)&&(R(!0),(G=F.current)==null||G.focus()),te.code==="Escape"&&(document.activeElement===F.current||(ce=F.current)!=null&&ce.contains(document.activeElement))&&R(!1)};return document.addEventListener("keydown",Y),()=>document.removeEventListener("keydown",Y)},[s]),z.useEffect(()=>{if(F.current)return()=>{A.current&&(A.current.focus({preventScroll:!0}),A.current=null,j.current=!1)}},[F.current]),z.createElement("section",{ref:e,"aria-label":`${_} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},E.map((Y,te)=>{var G;let[ce,ve]=Y.split("-");return N.length?z.createElement("ol",{key:Y,dir:v==="auto"?gx():v,tabIndex:-1,ref:F,className:a,"data-sonner-toaster":!0,"data-theme":U,"data-y-position":ce,"data-lifted":D&&N.length>1&&!i,"data-x-position":ve,style:{"--front-toast-height":`${((G=k[0])==null?void 0:G.height)||0}px`,"--width":`${SP}px`,"--gap":`${x}px`,...h,...PP(c,u)},onBlur:B=>{j.current&&!B.currentTarget.contains(B.relatedTarget)&&(j.current=!1,A.current&&(A.current.focus({preventScroll:!0}),A.current=null))},onFocus:B=>{B.target instanceof HTMLElement&&B.target.dataset.dismissible==="false"||j.current||(j.current=!0,A.current=B.relatedTarget)},onMouseEnter:()=>R(!0),onMouseMove:()=>R(!0),onMouseLeave:()=>{$||R(!1)},onDragEnd:()=>R(!1),onPointerDown:B=>{B.target instanceof HTMLElement&&B.target.dataset.dismissible==="false"||O(!0)},onPointerUp:()=>O(!1)},N.filter(B=>!B.position&&te===0||B.position===Y).map((B,le)=>{var xe,he;return z.createElement(TP,{key:B.id,icons:w,index:le,toast:B,defaultRichColors:f,duration:(xe=p==null?void 0:p.duration)!=null?xe:m,className:p==null?void 0:p.className,descriptionClassName:p==null?void 0:p.descriptionClassName,invert:r,visibleToasts:b,closeButton:(he=p==null?void 0:p.closeButton)!=null?he:o,interacting:$,position:Y,style:p==null?void 0:p.style,unstyled:p==null?void 0:p.unstyled,classNames:p==null?void 0:p.classNames,cancelButtonStyle:p==null?void 0:p.cancelButtonStyle,actionButtonStyle:p==null?void 0:p.actionButtonStyle,removeToast:H,toasts:N.filter(re=>re.position==B.position),heights:k.filter(re=>re.position==B.position),setHeights:T,expandByDefault:i,gap:x,loadingIcon:g,expanded:D,pauseWhenPageIsHidden:C,swipeDirections:t.swipeDirections})})):null}))});const AP=({...t})=>{const{theme:e="system"}=sP();return l.jsx(RP,{theme:e,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"}},...t})};var MP=$m[" useId ".trim().toString()]||(()=>{}),OP=0;function ts(t){const[e,r]=y.useState(MP());return Tt(()=>{r(n=>n??String(OP++))},[t]),e?`radix-${e}
171`:""}const DP=["top","right","bottom","left"],_i=Math.min,Fr=Math.max,vd=Math.round,ru=Math.floor,rs=t=>({x:t,y:t}),IP={left:"right",right:"left",bottom:"top",top:"bottom"},LP={start:"end",end:"start"};function Up(t,e,r){return Fr(t,_i(e,r))}function Rs(t,e){return typeof t=="function"?t(e):t}function As(t){return t.split("-")[0]}function Va(t){return t.split("-")[1]}function Ig(t){return t==="x"?"y":"x"}function Lg(t){return t==="y"?"height":"width"}function Qn(t){return["top","bottom"].includes(As(t))?"y":"x"}function Fg(t){return Ig(Qn(t))}function FP(t,e,r){r===void 0&&(r=!1);const n=Va(t),s=Fg(t),i=Lg(s);let o=s==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(o=xd(o)),[o,xd(o)]}function zP(t){const e=xd(t);return[Wp(t),e,Wp(e)]}function Wp(t){return t.replace(/start|end/g,e=>LP[e])}function $P(t,e,r){const n=["left","right"],s=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(t){case"top":case"bottom":return r?e?s:n:e?n:s;case"left":case"right":return e?i:o;default:return[]}}function BP(t,e,r,n){const s=Va(t);let i=$P(As(t),r==="start",n);return s&&(i=i.map(o=>o+"-"+s),e&&(i=i.concat(i.map(Wp)))),i}function xd(t){return t.replace(/left|right|bottom|top/g,e=>IP[e])}function VP(t){return{top:0,right:0,bottom:0,left:0,...t}}function Wb(t){return typeof t!="number"?VP(t):{top:t,right:t,bottom:t,left:t}}function yd(t){const{x:e,y:r,width:n,height:s}=t;return{width:n,height:s,top:r,left:e,right:e+n,bottom:r+s,x:e,y:r}}function vx(t,e,r){let{reference:n,floating:s}=t;const i=Qn(e),o=Fg(e),a=Lg(o),c=As(e),u=i==="y",d=n.x+n.width/2-s.width/2,f=n.y+n.height/2-s.height/2,m=n[a]/2-s[a]/2;let h;switch(c){case"top":h={x:d,y:n.y-s.height};break;case"bottom":h={x:d,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:f};break;case"left":h={x:n.x-s.width,y:f};break;default:h={x:n.x,y:n.y}}switch(Va(e)){case"start":h[o]-=m*(r&&u?-1:1);break;case"end":h[o]+=m*(r&&u?-1:1);break}return h}const UP=async(t,e,r)=>{const{placement:n="bottom",strategy:s="absolute",middleware:i=[],platform:o}=r,a=i.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(e));let u=await o.getElementRects({reference:t,floating:e,strategy:s}),{x:d,y:f}=vx(u,n,c),m=n,h={},b=0;for(let p=0;p<a.length;p++){const{name:v,fn:x}=a[p],{x:g,y:w,data:_,reset:C}=await x({x:d,y:f,initialPlacement:n,placement:m,strategy:s,middlewareData:h,rects:u,platform:o,elements:{reference:t,floating:e}});d=g??d,f=w??f,h={...h,[v]:{...h[v],..._}},C&&b<=50&&(b++,typeof C=="object"&&(C.placement&&(m=C.placement),C.rects&&(u=C.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:s}):C.rects),{x:d,y:f}=vx(u,m,c)),p=-1)}return{x:d,y:f,placement:m,strategy:s,middlewareData:h}};async function ic(t,e){var r;e===void 0&&(e={});const{x:n,y:s,platform:i,rects:o,elements:a,strategy:c}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:h=0}=Rs(e,t),b=Wb(h),v=a[m?f==="floating"?"reference":"floating":f],x=yd(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(v)))==null||r?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:c})),g=f==="floating"?{x:n,y:s,width:o.floating.width,height:o.floating.height}:o.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),_=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},C=yd(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:w,strategy:c}):g);return{top:(x.top-C.top+b.top)/_.y,bottom:(C.bottom-x.bottom+b.bottom)/_.y,left:(x.left-C.left+b.left)/_.x,right:(C.right-x.right+b.right)/_.x}}const WP=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:s,rects:i,platform:o,elements:a,middlewareData:c}=e,{element:u,padding:d=0}=Rs(t,e)||{};if(u==null)return{};const f=Wb(d),m={x:r,y:n},h=Fg(s),b=Lg(h),p=await o.getDimensions(u),v=h==="y",x=v?"top":"left",g=v?"bottom":"right",w=v?"clientHeight":"clientWidth",_=i.reference[b]+i.reference[h]-m[h]-i.floating[b],C=m[h]-i.reference[h],N=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let S=N?N[w]:0;(!S||!await(o.isElement==null?void 0:o.isElement(N)))&&(S=a.floating[w]||i.floating[b]);const E=_/2-C/2,k=S/2-p[b]/2-1,T=_i(f[x],k),D=_i(f[g],k),R=T,$=S-p[b]-D,O=S/2-p[b]/2+E,U=Up(R,O,$),L=!c.arrow&&Va(s)!=null&&O!==U&&i.reference[b]/2-(O<R?T:D)-p[b]/2<0,F=L?O<R?O-R:O-$:0;return{[h]:m[h]+F,data:{[h]:U,centerOffset:O-U-F,...L&&{alignmentOffset:F}},reset:L}}}),HP=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:s,middlewareData:i,rects:o,initialPlacement:a,platform:c,elements:u}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:p=!0,...v}=Rs(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const x=As(s),g=Qn(a),w=As(a)===a,_=await(c.isRTL==null?void 0:c.isRTL(u.floating)),C=m||(w||!p?[xd(a)]:zP(a)),N=b!=="none";
vendor: 7,483 bytes, line 171
171!m&&N&&C.push(...BP(a,p,b,_));const S=[a,...C],E=await ic(e,v),k=[];let T=((n=i.flip)==null?void 0:n.overflows)||[];if(d&&k.push(E[x]),f){const O=FP(s,o,_);k.push(E[O[0]],E[O[1]])}if(T=[...T,{placement:s,overflows:k}],!k.every(O=>O<=0)){var D,R;const O=(((D=i.flip)==null?void 0:D.index)||0)+1,U=S[O];if(U&&(!(f==="alignment"?g!==Qn(U):!1)||T.every(P=>P.overflows[0]>0&&Qn(P.placement)===g)))return{data:{index:O,overflows:T},reset:{placement:U}};let L=(R=T.filter(F=>F.overflows[0]<=0).sort((F,P)=>F.overflows[1]-P.overflows[1])[0])==null?void 0:R.placement;if(!L)switch(h){case"bestFit":{var $;const F=($=T.filter(P=>{if(N){const A=Qn(P.placement);return A===g||A==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(A=>A>0).reduce((A,j)=>A+j,0)]).sort((P,A)=>P[1]-A[1])[0])==null?void 0:$[0];F&&(L=F);break}case"initialPlacement":L=a;break}if(s!==L)return{reset:{placement:L}}}return{}}}};function xx(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function yx(t){return DP.some(e=>t[e]>=0)}const YP=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...s}=Rs(t,e);switch(n){case"referenceHidden":{const i=await ic(e,{...s,elementContext:"reference"}),o=xx(i,r.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:yx(o)}}}case"escaped":{const i=await ic(e,{...s,altBoundary:!0}),o=xx(i,r.floating);return{data:{escapedOffsets:o,escaped:yx(o)}}}default:return{}}}}};async function GP(t,e){const{placement:r,platform:n,elements:s}=t,i=await(n.isRTL==null?void 0:n.isRTL(s.floating)),o=As(r),a=Va(r),c=Qn(r)==="y",u=["left","top"].includes(o)?-1:1,d=i&&c?-1:1,f=Rs(e,t);let{mainAxis:m,crossAxis:h,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof b=="number"&&(h=a==="end"?b*-1:b),c?{x:h*d,y:m*u}:{x:m*u,y:h*d}}const KP=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:s,y:i,placement:o,middlewareData:a}=e,c=await GP(e,t);return o===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:s+c.x,y:i+c.y,data:{...c,placement:o}}}}},XP=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:s}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:v=>{let{x,y:g}=v;return{x,y:g}}},...c}=Rs(t,e),u={x:r,y:n},d=await ic(e,c),f=Qn(As(s)),m=Ig(f);let h=u[m],b=u[f];if(i){const v=m==="y"?"top":"left",x=m==="y"?"bottom":"right",g=h+d[v],w=h-d[x];h=Up(g,h,w)}if(o){const v=f==="y"?"top":"left",x=f==="y"?"bottom":"right",g=b+d[v],w=b-d[x];b=Up(g,b,w)}const p=a.fn({...e,[m]:h,[f]:b});return{...p,data:{x:p.x-r,y:p.y-n,enabled:{[m]:i,[f]:o}}}}}},QP=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:r,y:n,placement:s,rects:i,middlewareData:o}=e,{offset:a=0,mainAxis:c=!0,crossAxis:u=!0}=Rs(t,e),d={x:r,y:n},f=Qn(s),m=Ig(f);let h=d[m],b=d[f];const p=Rs(a,e),v=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(c){const w=m==="y"?"height":"width",_=i.reference[m]-i.floating[w]+v.mainAxis,C=i.reference[m]+i.reference[w]-v.mainAxis;h<_?h=_:h>C&&(h=C)}if(u){var x,g;const w=m==="y"?"width":"height",_=["top","left"].includes(As(s)),C=i.reference[f]-i.floating[w]+(_&&((x=o.offset)==null?void 0:x[f])||0)+(_?0:v.crossAxis),N=i.reference[f]+i.reference[w]+(_?0:((g=o.offset)==null?void 0:g[f])||0)-(_?v.crossAxis:0);b<C?b=C:b>N&&(b=N)}return{[m]:h,[f]:b}}}},qP=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:s,rects:i,platform:o,elements:a}=e,{apply:c=()=>{},...u}=Rs(t,e),d=await ic(e,u),f=As(s),m=Va(s),h=Qn(s)==="y",{width:b,height:p}=i.floating;let v,x;f==="top"||f==="bottom"?(v=f,x=m===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(x=f,v=m==="end"?"top":"bottom");const g=p-d.top-d.bottom,w=b-d.left-d.right,_=_i(p-d[v],g),C=_i(b-d[x],w),N=!e.middlewareData.shift;let S=_,E=C;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(E=w),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(S=g),N&&!m){const T=Fr(d.left,0),D=Fr(d.right,0),R=Fr(d.top,0),$=Fr(d.bottom,0);h?E=b-2*(T!==0||D!==0?T+D:Fr(d.left,d.right)):S=p-2*(R!==0||$!==0?R+$:Fr(d.top,d.bottom))}await c({...e,availableWidth:E,availableHeight:S});const k=await o.getDimensions(a.floating);return b!==k.width||p!==k.height?{reset:{rects:!0}}:{}}}};function cf(){return typeof window<"u"}function Ua(t){return Hb(t)?(t.nodeName||"").toLowerCase():"#document"}function Hr(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ls(t){var e;return(e=(Hb(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Hb(t){return cf()?t instanceof Node||t instanceof Hr(t).Node:!1}function Pn(t){return cf()?t instanceof Element||t instanceof Hr(t).Element:!1}function os(t){return cf()?t instanceof HTMLElement||t instanceof Hr(t).HTMLElement:!1}function wx(t){return!cf()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Hr(t).ShadowRoot}function kc(t){const{overflow:e,overflowX:r,overflowY:n,display:s}=Rn(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(s)}function ZP(t){return["table","td","th"].includes(Ua(t))}function uf(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function zg(t){const e=$g(),r=Pn(t)?Rn(t):t;return["transform","translate","scale","rotate","perspective"].some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function JP(t){let e=Ci(t);for(;os(e)&&!Ta(e);){if(zg(e))return e;if(uf(e))return null;e=Ci(e)}return null}function $g(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ta(t){return["html","body","#document"].includes(Ua(t))}function Rn(t){return Hr(t).getComputedStyle(t)}function df(t){return Pn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ci(t){if(Ua(t)==="html")return t;const e=t.assignedSlot||t.parentNode||wx(t)&&t.host||ls(t);return wx(e)?e.host:e}function Yb(t){const e=Ci(t);return Ta(e)?t.ownerDocument?t.ownerDocument.body:t.body:os(e)&&kc(e)?e:Yb(e)}function oc(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const s=Yb(t),i=s===((n=t.ownerDocument)==null?void 0:n.body),o=Hr(s);if(i){const a=Hp(o);return e.concat(o,o.visualViewport||[],kc(s)?s:[],a&&r?oc(a):[])}return e.concat(s,oc(s,[],r))}function Hp(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Gb(t){const e=Rn(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const s=os(t),i=s?t.offsetWidth:r,o=s?t.offsetHeight:n,a=vd(r)!==i||vd(n)!==o;return a&&(r=i,n=o),{width:r,height:n,$:a}}function Bg(t){return Pn(t)?t:t.contextElement}function sa(t){const e=Bg(t);if(!os(e))return rs(1);const r=e.getBoundingClientRect(),{width:n,height:s,$:i}=Gb(e);let o=(i?vd(r.width):r.width)/n,a=(i?vd(r.height):r.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const eR=rs(0);function Kb(t){const e=Hr(t);
vendor: 6,541 bytes, line 171
171return!$g()||!e.visualViewport?eR:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function tR(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Hr(t)?!1:e}function mo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const s=t.getBoundingClientRect(),i=Bg(t);let o=rs(1);e&&(n?Pn(n)&&(o=sa(n)):o=sa(t));const a=tR(i,r,n)?Kb(i):rs(0);let c=(s.left+a.x)/o.x,u=(s.top+a.y)/o.y,d=s.width/o.x,f=s.height/o.y;if(i){const m=Hr(i),h=n&&Pn(n)?Hr(n):n;let b=m,p=Hp(b);for(;p&&n&&h!==b;){const v=sa(p),x=p.getBoundingClientRect(),g=Rn(p),w=x.left+(p.clientLeft+parseFloat(g.paddingLeft))*v.x,_=x.top+(p.clientTop+parseFloat(g.paddingTop))*v.y;c*=v.x,u*=v.y,d*=v.x,f*=v.y,c+=w,u+=_,b=Hr(p),p=Hp(b)}}return yd({width:d,height:f,x:c,y:u})}function Vg(t,e){const r=df(t).scrollLeft;return e?e.left+r:mo(ls(t)).left+r}function Xb(t,e,r){r===void 0&&(r=!1);const n=t.getBoundingClientRect(),s=n.left+e.scrollLeft-(r?0:Vg(t,n)),i=n.top+e.scrollTop;return{x:s,y:i}}function rR(t){let{elements:e,rect:r,offsetParent:n,strategy:s}=t;const i=s==="fixed",o=ls(n),a=e?uf(e.floating):!1;if(n===o||a&&i)return r;let c={scrollLeft:0,scrollTop:0},u=rs(1);const d=rs(0),f=os(n);if((f||!f&&!i)&&((Ua(n)!=="body"||kc(o))&&(c=df(n)),os(n))){const h=mo(n);u=sa(n),d.x=h.x+n.clientLeft,d.y=h.y+n.clientTop}const m=o&&!f&&!i?Xb(o,c,!0):rs(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-c.scrollLeft*u.x+d.x+m.x,y:r.y*u.y-c.scrollTop*u.y+d.y+m.y}}function nR(t){return Array.from(t.getClientRects())}function sR(t){const e=ls(t),r=df(t),n=t.ownerDocument.body,s=Fr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Fr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let o=-r.scrollLeft+Vg(t);const a=-r.scrollTop;return Rn(n).direction==="rtl"&&(o+=Fr(e.clientWidth,n.clientWidth)-s),{width:s,height:i,x:o,y:a}}function iR(t,e){const r=Hr(t),n=ls(t),s=r.visualViewport;let i=n.clientWidth,o=n.clientHeight,a=0,c=0;if(s){i=s.width,o=s.height;const u=$g();(!u||u&&e==="fixed")&&(a=s.offsetLeft,c=s.offsetTop)}return{width:i,height:o,x:a,y:c}}function oR(t,e){const r=mo(t,!0,e==="fixed"),n=r.top+t.clientTop,s=r.left+t.clientLeft,i=os(t)?sa(t):rs(1),o=t.clientWidth*i.x,a=t.clientHeight*i.y,c=s*i.x,u=n*i.y;return{width:o,height:a,x:c,y:u}}function bx(t,e,r){let n;if(e==="viewport")n=iR(t,r);else if(e==="document")n=sR(ls(t));else if(Pn(e))n=oR(e,r);else{const s=Kb(t);n={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return yd(n)}function Qb(t,e){const r=Ci(t);return r===e||!Pn(r)||Ta(r)?!1:Rn(r).position==="fixed"||Qb(r,e)}function aR(t,e){const r=e.get(t);if(r)return r;let n=oc(t,[],!1).filter(a=>Pn(a)&&Ua(a)!=="body"),s=null;const i=Rn(t).position==="fixed";let o=i?Ci(t):t;for(;Pn(o)&&!Ta(o);){const a=Rn(o),c=zg(o);!c&&a.position==="fixed"&&(s=null),(i?!c&&!s:!c&&a.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||kc(o)&&!c&&Qb(t,o))?n=n.filter(d=>d!==o):s=a,o=Ci(o)}return e.set(t,n),n}function lR(t){let{element:e,boundary:r,rootBoundary:n,strategy:s}=t;const o=[...r==="clippingAncestors"?uf(e)?[]:aR(e,this._c):[].concat(r),n],a=o[0],c=o.reduce((u,d)=>{const f=bx(e,d,s);return u.top=Fr(f.top,u.top),u.right=_i(f.right,u.right),u.bottom=_i(f.bottom,u.bottom),u.left=Fr(f.left,u.left),u},bx(e,a,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function cR(t){const{width:e,height:r}=Gb(t);return{width:e,height:r}}function uR(t,e,r){const n=os(e),s=ls(e),i=r==="fixed",o=mo(t,!0,i,e);let a={scrollLeft:0,scrollTop:0};const c=rs(0);function u(){c.x=Vg(s)}if(n||!n&&!i)if((Ua(e)!=="body"||kc(s))&&(a=df(e)),n){const h=mo(e,!0,i,e);c.x=h.x+e.clientLeft,c.y=h.y+e.clientTop}else s&&u();i&&!n&&s&&u();const d=s&&!n&&!i?Xb(s,a):rs(0),f=o.left+a.scrollLeft-c.x-d.x,m=o.top+a.scrollTop-c.y-d.y;return{x:f,y:m,width:o.width,height:o.height}}function mh(t){return Rn(t).position==="static"}function _x(t,e){if(!os(t)||Rn(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return ls(t)===r&&(r=r.ownerDocument.body),r}function qb(t,e){const r=Hr(t);if(uf(t))return r;if(!os(t)){let s=Ci(t);for(;s&&!Ta(s);){if(Pn(s)&&!mh(s))return s;s=Ci(s)}return r}let n=_x(t,e);for(;n&&ZP(n)&&mh(n);)n=_x(n,e);return n&&Ta(n)&&mh(n)&&!zg(n)?r:n||JP(t)||r}const dR=async function(t){const e=this.getOffsetParent||qb,r=this.getDimensions,n=await r(t.floating);return{reference:uR(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function fR(t){return Rn(t).direction==="rtl"}const hR={convertOffsetParentRelativeRectToViewportRelativeRect:rR,getDocumentElement:ls,getClippingRect:lR,getOffsetParent:qb,getElementRects:dR,getClientRects:nR,getDimensions:cR,getScale:sa,isElement:Pn,isRTL:fR};function Zb(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function pR(t,e){let r=null,n;const s=ls(t);function i(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function o(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),i();const u=t.getBoundingClientRect(),{left:d,top:f,width:m,height:h}=u;if(a||e(),!m||!h)return;const b=ru(f),p=ru(s.clientWidth-(d+m)),v=ru(s.clientHeight-(f+h)),x=ru(d),w={rootMargin:-b+"px "+-p+"px "+-v+"px "+-x+"px",threshold:Fr(0,_i(1,c))||1};let _=!0;function C(N){const S=N[0].intersectionRatio;if(S!==c){if(!_)return o();S?o(!1,S):n=setTimeout(()=>{o(!1,1e-7)},1e3)}S===1&&!Zb(u,t.getBoundingClientRect())&&o(),_=!1}try{r=new IntersectionObserver(C,{...w,root:s.ownerDocument})}catch{r=new IntersectionObserver(C,w)}r.observe(t)}return o(!0),i}function mR(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,u=Bg(t),d=s||i?[...u?oc(u):[],...oc(e)]:[];d.forEach(x=>{s&&x.addEventListener("scroll",r,{passive:!0}),i&&x.addEventListener("resize",r)});const f=u&&a?pR(u,r):null;let m=-1,h=null;o&&(h=new ResizeObserver(x=>{let[g]=x;g&&g.target===u&&h&&(h.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var w;(w=h)==null||w.observe(e)})),r()}),u&&!c&&h.observe(u),h.observe(e));let b,p=c?mo(t):null;c&&v();function v(){const x=mo(t);p&&!Zb(p,x)&&r(),p=x,b=requestAnimationFrame(v)}return r(),()=>{var x;d.forEach(g=>{s&&g.removeEventListener("scroll",r),i&&g.removeEventListener("resize",r)}),f==null||f(),(x=h)==null||x.disconnect(),h=null,c&&cancelAnimationFrame(b)}}const gR=KP,vR=XP,xR=HP,yR=qP,wR=YP,Cx=WP,bR=QP,_R=(t,e,r)=>{const n=new Map,s={platform:hR,...r},i={...s.platform,_c:n};return UP(t,e,{...s,platform:i})};
vendor: 6,619 bytes, line 171
171var CR=typeof document<"u",SR=function(){},Du=CR?y.useLayoutEffect:SR;function wd(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,n,s;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!wd(t[n],e[n]))return!1;return!0}if(s=Object.keys(t),r=s.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,s[n]))return!1;for(n=r;n--!==0;){const i=s[n];if(!(i==="_owner"&&t.$$typeof)&&!wd(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Jb(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Sx(t,e){const r=Jb(t);return Math.round(e*r)/r}function gh(t){const e=y.useRef(t);return Du(()=>{e.current=t}),e}function NR(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:s,elements:{reference:i,floating:o}={},transform:a=!0,whileElementsMounted:c,open:u}=t,[d,f]=y.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[m,h]=y.useState(n);wd(m,n)||h(n);const[b,p]=y.useState(null),[v,x]=y.useState(null),g=y.useCallback(P=>{P!==N.current&&(N.current=P,p(P))},[]),w=y.useCallback(P=>{P!==S.current&&(S.current=P,x(P))},[]),_=i||b,C=o||v,N=y.useRef(null),S=y.useRef(null),E=y.useRef(d),k=c!=null,T=gh(c),D=gh(s),R=gh(u),$=y.useCallback(()=>{if(!N.current||!S.current)return;const P={placement:e,strategy:r,middleware:m};D.current&&(P.platform=D.current),_R(N.current,S.current,P).then(A=>{const j={...A,isPositioned:R.current!==!1};O.current&&!wd(E.current,j)&&(E.current=j,No.flushSync(()=>{f(j)}))})},[m,e,r,D,R]);Du(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,f(P=>({...P,isPositioned:!1})))},[u]);const O=y.useRef(!1);Du(()=>(O.current=!0,()=>{O.current=!1}),[]),Du(()=>{if(_&&(N.current=_),C&&(S.current=C),_&&C){if(T.current)return T.current(_,C,$);$()}},[_,C,$,T,k]);const U=y.useMemo(()=>({reference:N,floating:S,setReference:g,setFloating:w}),[g,w]),L=y.useMemo(()=>({reference:_,floating:C}),[_,C]),F=y.useMemo(()=>{const P={position:r,left:0,top:0};if(!L.floating)return P;const A=Sx(L.floating,d.x),j=Sx(L.floating,d.y);return a?{...P,transform:"translate("+A+"px, "+j+"px)",...Jb(L.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:A,top:j}},[r,a,L.floating,d.x,d.y]);return y.useMemo(()=>({...d,update:$,refs:U,elements:L,floatingStyles:F}),[d,$,U,L,F])}const jR=t=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:t,fn(r){const{element:n,padding:s}=typeof t=="function"?t(r):t;return n&&e(n)?n.current!=null?Cx({element:n.current,padding:s}).fn(r):{}:n?Cx({element:n,padding:s}).fn(r):{}}}},ER=(t,e)=>({...gR(t),options:[t,e]}),kR=(t,e)=>({...vR(t),options:[t,e]}),TR=(t,e)=>({...bR(t),options:[t,e]}),PR=(t,e)=>({...xR(t),options:[t,e]}),RR=(t,e)=>({...yR(t),options:[t,e]}),AR=(t,e)=>({...wR(t),options:[t,e]}),MR=(t,e)=>({...jR(t),options:[t,e]});var OR="Arrow",e_=y.forwardRef((t,e)=>{const{children:r,width:n=10,height:s=5,...i}=t;return l.jsx(ie.svg,{...i,ref:e,width:n,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});e_.displayName=OR;var DR=e_;function t_(t){const[e,r]=y.useState(void 0);return Tt(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const n=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let o,a;if("borderBoxSize"in i){const c=i.borderBoxSize,u=Array.isArray(c)?c[0]:c;o=u.inlineSize,a=u.blockSize}else o=t.offsetWidth,a=t.offsetHeight;r({width:o,height:a})});return n.observe(t,{box:"border-box"}),()=>n.unobserve(t)}else r(void 0)},[t]),e}var Ug="Popper",[r_,ff]=An(Ug),[IR,n_]=r_(Ug),s_=t=>{const{__scopePopper:e,children:r}=t,[n,s]=y.useState(null);return l.jsx(IR,{scope:e,anchor:n,onAnchorChange:s,children:r})};s_.displayName=Ug;var i_="PopperAnchor",o_=y.forwardRef((t,e)=>{const{__scopePopper:r,virtualRef:n,...s}=t,i=n_(i_,r),o=y.useRef(null),a=Ee(e,o);return y.useEffect(()=>{i.onAnchorChange((n==null?void 0:n.current)||o.current)}),n?null:l.jsx(ie.div,{...s,ref:a})});o_.displayName=i_;var Wg="PopperContent",[LR,FR]=r_(Wg),a_=y.forwardRef((t,e)=>{var B,le,xe,he,re,oe;const{__scopePopper:r,side:n="bottom",sideOffset:s=0,align:i="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:h="optimized",onPlaced:b,...p}=t,v=n_(Wg,r),[x,g]=y.useState(null),w=Ee(e,ne=>g(ne)),[_,C]=y.useState(null),N=t_(_),S=(N==null?void 0:N.width)??0,E=(N==null?void 0:N.height)??0,k=n+(i!=="center"?"-"+i:""),T=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},D=Array.isArray(u)?u:[u],R=D.length>0,$={padding:T,boundary:D.filter($R),altBoundary:R},{refs:O,floatingStyles:U,placement:L,isPositioned:F,middlewareData:P}=NR({strategy:"fixed",placement:k,whileElementsMounted:(...ne)=>mR(...ne,{animationFrame:h==="always"}),elements:{reference:v.anchor},middleware:[ER({mainAxis:s+E,alignmentAxis:o}),c&&kR({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?TR():void 0,...$}),c&&PR({...$}),RR({...$,apply:({elements:ne,rects:je,availableWidth:et,availableHeight:tt})=>{const{width:M,height:xt}=je.reference,Ft=ne.floating.style;Ft.setProperty("--radix-popper-available-width",`${et}px`),Ft.setProperty("--radix-popper-available-height",`${tt}px`),Ft.setProperty("--radix-popper-anchor-width",`${M}px`),Ft.setProperty("--radix-popper-anchor-height",`${xt}px`)}}),_&&MR({element:_,padding:a}),BR({arrowWidth:S,arrowHeight:E}),m&&AR({strategy:"referenceHidden",...$})]}),[A,j]=u_(L),H=pn(b);Tt(()=>{F&&(H==null||H())},[F,H]);const Y=(B=P.arrow)==null?void 0:B.x,te=(le=P.arrow)==null?void 0:le.y,G=((xe=P.arrow)==null?void 0:xe.centerOffset)!==0,[ce,ve]=y.useState();return Tt(()=>{x&&ve(window.getComputedStyle(x).zIndex)},[x]),l.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:F?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[(he=P.transformOrigin)==null?void 0:he.x,(re=P.transformOrigin)==null?void 0:re.y].join(" "),...((oe=P.hide)==null?void 0:oe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:l.jsx(LR,{scope:r,placedSide:A,onArrowChange:C,arrowX:Y,arrowY:te,shouldHideArrow:G,children:l.jsx(ie.div,{"data-side":A,"data-align":j,...p,ref:w,style:{...p.style,animation:F?void 0:"none"}})})})});a_.displayName=Wg;var l_="PopperArrow",zR={top:"bottom",right:"left",bottom:"top",left:"r
171ight"},c_=y.forwardRef(function(e,r){const{__scopePopper:n,...s}=e,i=FR(l_,n),o=zR[i.placedSide];return l.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]: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(DR,{...s,ref:r,style:{...s.style,display:"block"}})})});c_.displayName=l_;function $R(t){return t!==null}var BR=t=>({name:"transformOrigin",options:t,fn(e){var v,x,g;const{placement:r,rects:n,middlewareData:s}=e,o=((v=s.arrow)==null?void 0:v.centerOffset)!==0,a=o?0:t.arrowWidth,c=o?0:t.arrowHeight,[u,d]=u_(r),f={start:"0%",center:"50%",end:"100%"}[d],m=(((x=s.arrow)==null?void 0:x.x)??0)+a/2,h=(((g=s.arrow)==null?void 0:g.y)??0)+c/2;let b="",p="";return u==="bottom"?(b=o?f:`${m}px`,p=`${-c}px`):u==="top"?(b=o?f:`${m}px`,p=`${n.floating.height+c}px`):u==="right"?(b=`${-c}px`,p=o?f:`${h}px`):u==="left"&&(b=`${n.floating.width+c}px`,p=o?f:`${h}px`),{data:{x:b,y:p}}}});function u_(t){const[e,r="center"]=t.split("-");return[e,r]}var VR=s_,d_=o_,f_=a_,h_=c_,[hf,SD]=An("Tooltip",[ff]),Hg=ff(),p_="TooltipProvider",UR=700,Nx="tooltip.open",[WR,m_]=hf(p_),g_=t=>{const{__scopeTooltip:e,delayDuration:r=UR,skipDelayDuration:n=300,disableHoverableContent:s=!1,children:i}=t,o=y.useRef(!0),a=y.useRef(!1),c=y.useRef(0);return y.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),l.jsx(WR,{scope:e,isOpenDelayedRef:o,delayDuration:r,onOpen:y.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:y.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,n)},[n]),isPointerInTransitRef:a,onPointerInTransitChange:y.useCallback(u=>{a.current=u},[]),disableHoverableContent:s,children:i})};g_.displayName=p_;var v_="Tooltip",[ND,pf]=hf(v_),Yp="TooltipTrigger",HR=y.forwardRef((t,e)=>{const{__scopeTooltip:r,...n}=t,s=pf(Yp,r),i=m_(Yp,r),o=Hg(r),a=y.useRef(null),c=Ee(e,a,s.onTriggerChange),u=y.useRef(!1),d=y.useRef(!1),f=y.useCallback(()=>u.current=!1,[]);return y.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.jsx(d_,{asChild:!0,...o,children:l.jsx(ie.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...n,ref:c,onPointerMove:Z(t.onPointerMove,m=>{m.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:Z(t.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:Z(t.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Z(t.onFocus,()=>{u.current||s.onOpen()}),onBlur:Z(t.onBlur,s.onClose),onClick:Z(t.onClick,s.onClose)})})});HR.displayName=Yp;var YR="TooltipPortal",[jD,GR]=hf(YR,{forceMount:void 0}),Pa="TooltipContent",x_=y.forwardRef((t,e)=>{const r=GR(Pa,t.__scopeTooltip),{forceMount:n=r.forceMount,side:s="top",...i}=t,o=pf(Pa,t.__scopeTooltip);return l.jsx(Pi,{present:n||o.open,children:o.disableHoverableContent?l.jsx(y_,{side:s,...i,ref:e}):l.jsx(KR,{side:s,...i,ref:e})})}),KR=y.forwardRef((t,e)=>{const r=pf(Pa,t.__scopeTooltip),n=m_(Pa,t.__scopeTooltip),s=y.useRef(null),i=Ee(e,s),[o,a]=y.useState(null),{trigger:c,onClose:u}=r,d=s.current,{onPointerInTransitChange:f}=n,m=y.useCallback(()=>{a(null),f(!1)},[f]),h=y.useCallback((b,p)=>{const v=b.currentTarget,x={x:b.clientX,y:b.clientY},g=JR(x,v.getBoundingClientRect()),w=eA(x,g),_=tA(p.getBoundingClientRect()),C=nA([...w,..._]);a(C),f(!0)},[f]);return y.useEffect(()=>()=>m(),[m]),y.useEffect(()=>{if(c&&d){const b=v=>h(v,d),p=v=>h(v,c);return c.addEventListener("pointerleave",b),d.addEventListener("pointerleave",p),()=>{c.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",p)}}},[c,d,h,m]),y.useEffect(()=>{if(o){const b=p=>{const v=p.target,x={x:p.clientX,y:p.clientY},g=(c==null?void 0:c.contains(v))||(d==null?void 0:d.contains(v)),w=!rA(x,o);g?m():w&&(m(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,d,o,u,m]),l.jsx(y_,{...t,ref:i})}),[XR,QR]=hf(v_,{isInside:!1}),qR=mk("TooltipContent"),y_=y.forwardRef((t,e)=>{const{__scopeTooltip:r,children:n,"aria-label":s,onEscapeKeyDown:i,onPointerDownOutside:o,...a}=t,c=pf(Pa,r),u=Hg(r),{onClose:d}=c;return y.useEffect(()=>(document.addEventListener(Nx,d),()=>document.removeEventListener(Nx,d)),[d]),y.useEffect(()=>{if(c.trigger){const f=m=>{const h=m.target;h!=null&&h.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),l.jsx(jc,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:l.jsxs(f_,{"data-state":c.stateAttribute,...u,...a,ref:e,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(qR,{children:n}),l.jsx(XR,{scope:r,isInside:!0,children:l.jsx(Lk,{id:c.contentId,role:"tooltip",children:s||n})})]})})});x_.displayName=Pa;var w_="TooltipArrow",ZR=y.forwardRef((t,e)=>{const{__scopeTooltip:r,...n}=t,s=Hg(r);return QR(w_,r).isInside?null:l.jsx(h_,{...s,...n,ref:e})});ZR.displayName=w_;function JR(t,e){const r=Math.abs(e.top-t.y),n=Math.abs(e.bottom-t.y),s=Math.abs(e.right-t.x),i=Math.abs(e.left-t.x);switch(Math.min(r,n,s,i)){case i:return"left";case s:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function eA(t,e,r=5){const n=[];
171switch(e){case"top":n.push({x:t.x-r,y:t.y+r},{x:t.x+r,y:t.y+r});break;case"bottom":n.push({x:t.x-r,y:t.y-r},{x:t.x+r,y:t.y-r});break;case"left":n.push({x:t.x+r,y:t.y-r},{x:t.x+r,y:t.y+r});break;case"right":n.push({x:t.x-r,y:t.y-r},{x:t.x-r,y:t.y+r});break}return n}function tA(t){const{top:e,right:r,bottom:n,left:s}=t;return[{x:s,y:e},{x:r,y:e},{x:r,y:n},{x:s,y:n}]}function rA(t,e){const{x:r,y:n}=t;let s=!1;for(let i=0,o=e.length-1;i<e.length;o=i++){const a=e[i],c=e[o],u=a.x,d=a.y,f=c.x,m=c.y;d>n!=m>n&&r<(f-u)*(n-d)/(m-d)+u&&(s=!s)}return s}function nA(t){const e=t.slice();return e.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),sA(e)}function sA(t){if(t.length<=1)return t.slice();const e=[];for(let n=0;n<t.length;n++){const s=t[n];for(;e.length>=2;){const i=e[e.length-1],o=e[e.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))e.pop();else break}e.push(s)}e.pop();const r=[];for(let n=t.length-1;n>=0;n--){const s=t[n];for(;r.length>=2;){const i=r[r.length-1],o=r[r.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))r.pop();else break}r.push(s)}return r.pop(),e.length===1&&r.length===1&&e[0].x===r[0].x&&e[0].y===r[0].y?e:e.concat(r)}var iA=g_,b_=x_;const oA=iA,aA=y.forwardRef(({className:t,sideOffset:e=4,...r},n)=>l.jsx(b_,{ref:n,sideOffset:e,className:ae("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...r}));aA.displayName=b_.displayName;var mf=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},gf=typeof window>"u"||"Deno"in globalThis;function _n(){}function lA(t,e){return typeof t=="function"?t(e):t}function cA(t){return typeof t=="number"&&t>=0&&t!==1/0}function uA(t,e){return Math.max(t+(e||0)-Date.now(),0)}function Gp(t,e){return typeof t=="function"?t(e):t}function dA(t,e){return typeof t=="function"?t(e):t}function jx(t,e){const{type:r="all",exact:n,fetchStatus:s,predicate:i,queryKey:o,stale:a}=t;if(o){if(n){if(e.queryHash!==Yg(o,e.options))return!1}else if(!lc(e.queryKey,o))return!1}if(r!=="all"){const c=e.isActive();if(r==="active"&&!c||r==="inactive"&&c)return!1}return!(typeof a=="boolean"&&e.isStale()!==a||s&&s!==e.state.fetchStatus||i&&!i(e))}function Ex(t,e){const{exact:r,status:n,predicate:s,mutationKey:i}=t;if(i){if(!e.options.mutationKey)return!1;if(r){if(ac(e.options.mutationKey)!==ac(i))return!1}else if(!lc(e.options.mutationKey,i))return!1}return!(n&&e.state.status!==n||s&&!s(e))}function Yg(t,e){return((e==null?void 0:e.queryKeyHashFn)||ac)(t)}function ac(t){return JSON.stringify(t,(e,r)=>Kp(r)?Object.keys(r).sort().reduce((n,s)=>(n[s]=r[s],n),{}):r)}function lc(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(r=>lc(t[r],e[r])):!1}function __(t,e){if(t===e)return t;const r=kx(t)&&kx(e);if(r||Kp(t)&&Kp(e)){const n=r?t:Object.keys(t),s=n.length,i=r?e:Object.keys(e),o=i.length,a=r?[]:{},c=new Set(n);let u=0;for(let d=0;d<o;d++){const f=r?d:i[d];(!r&&c.has(f)||r)&&t[f]===void 0&&e[f]===void 0?(a[f]=void 0,u++):(a[f]=__(t[f],e[f]),a[f]===t[f]&&t[f]!==void 0&&u++)}return s===o&&u===s?t:a}return e}function kx(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Kp(t){if(!Tx(t))return!1;const e=t.constructor;if(e===void 0)return!0;const r=e.prototype;return!(!Tx(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Tx(t){return Object.prototype.toString.call(t)==="[object Object]"}function fA(t){return new Promise(e=>{setTimeout(e,t)})}function hA(t,e,r){return typeof r.structuralSharing=="function"?r.structuralSharing(t,e):r.structuralSharing!==!1?__(t,e):e}function pA(t,e,r=0){const n=[...t,e];return r&&n.length>r?n.slice(1):n}function mA(t,e,r=0){const n=[e,...t];return r&&n.length>r?n.slice(0,-1):n}var Gg=Symbol();function C_(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===Gg?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var Ki,Qs,ha,My,gA=(My=class extends mf{constructor(){super();Te(this,Ki);Te(this,Qs);Te(this,ha);de(this,ha,e=>{if(!gf&&window.addEventListener){const r=()=>e();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){I(this,Qs)||this.setEventListener(I(this,ha))}onUnsubscribe(){var e;this.hasListeners()||((e=I(this,Qs))==null||e.call(this),de(this,Qs,void 0))}setEventListener(e){var r;de(this,ha,e),(r=I(this,Qs))==null||r.call(this),de(this,Qs,e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(e){I(this,Ki)!==e&&(de(this,Ki,e),this.onFocus())}onFocus(){const e=this.isFocused();
vendor: 4,924 bytes, line 171
171this.listeners.forEach(r=>{r(e)})}isFocused(){var e;return typeof I(this,Ki)=="boolean"?I(this,Ki):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},Ki=new WeakMap,Qs=new WeakMap,ha=new WeakMap,My),S_=new gA,pa,qs,ma,Oy,vA=(Oy=class extends mf{constructor(){super();Te(this,pa,!0);Te(this,qs);Te(this,ma);de(this,ma,e=>{if(!gf&&window.addEventListener){const r=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}})}onSubscribe(){I(this,qs)||this.setEventListener(I(this,ma))}onUnsubscribe(){var e;this.hasListeners()||((e=I(this,qs))==null||e.call(this),de(this,qs,void 0))}setEventListener(e){var r;de(this,ma,e),(r=I(this,qs))==null||r.call(this),de(this,qs,e(this.setOnline.bind(this)))}setOnline(e){I(this,pa)!==e&&(de(this,pa,e),this.listeners.forEach(n=>{n(e)}))}isOnline(){return I(this,pa)}},pa=new WeakMap,qs=new WeakMap,ma=new WeakMap,Oy),bd=new vA;function xA(){let t,e;const r=new Promise((s,i)=>{t=s,e=i});r.status="pending",r.catch(()=>{});function n(s){Object.assign(r,s),delete r.resolve,delete r.reject}return r.resolve=s=>{n({status:"fulfilled",value:s}),t(s)},r.reject=s=>{n({status:"rejected",reason:s}),e(s)},r}function yA(t){return Math.min(1e3*2**t,3e4)}function N_(t){return(t??"online")==="online"?bd.isOnline():!0}var j_=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function vh(t){return t instanceof j_}function E_(t){let e=!1,r=0,n=!1,s;const i=xA(),o=p=>{var v;n||(m(new j_(p)),(v=t.abort)==null||v.call(t))},a=()=>{e=!0},c=()=>{e=!1},u=()=>S_.isFocused()&&(t.networkMode==="always"||bd.isOnline())&&t.canRun(),d=()=>N_(t.networkMode)&&t.canRun(),f=p=>{var v;n||(n=!0,(v=t.onSuccess)==null||v.call(t,p),s==null||s(),i.resolve(p))},m=p=>{var v;n||(n=!0,(v=t.onError)==null||v.call(t,p),s==null||s(),i.reject(p))},h=()=>new Promise(p=>{var v;s=x=>{(n||u())&&p(x)},(v=t.onPause)==null||v.call(t)}).then(()=>{var p;s=void 0,n||(p=t.onContinue)==null||p.call(t)}),b=()=>{if(n)return;let p;const v=r===0?t.initialPromise:void 0;try{p=v??t.fn()}catch(x){p=Promise.reject(x)}Promise.resolve(p).then(f).catch(x=>{var N;if(n)return;const g=t.retry??(gf?0:3),w=t.retryDelay??yA,_=typeof w=="function"?w(r,x):w,C=g===!0||typeof g=="number"&&r<g||typeof g=="function"&&g(r,x);if(e||!C){m(x);return}r++,(N=t.onFail)==null||N.call(t,r,x),fA(_).then(()=>u()?void 0:h()).then(()=>{e?m(x):b()})})};return{promise:i,cancel:o,continue:()=>(s==null||s(),i),cancelRetry:a,continueRetry:c,canStart:d,start:()=>(d()?b():h().then(b),i)}}var wA=t=>setTimeout(t,0);function bA(){let t=[],e=0,r=a=>{a()},n=a=>{a()},s=wA;const i=a=>{e?t.push(a):s(()=>{r(a)})},o=()=>{const a=t;t=[],a.length&&s(()=>{n(()=>{a.forEach(c=>{r(c)})})})};return{batch:a=>{let c;e++;try{c=a()}finally{e--,e||o()}return c},batchCalls:a=>(...c)=>{i(()=>{a(...c)})},schedule:i,setNotifyFunction:a=>{r=a},setBatchNotifyFunction:a=>{n=a},setScheduler:a=>{s=a}}}var cr=bA(),Xi,Dy,k_=(Dy=class{constructor(){Te(this,Xi)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),cA(this.gcTime)&&de(this,Xi,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(gf?1/0:5*60*1e3))}clearGcTimeout(){I(this,Xi)&&(clearTimeout(I(this,Xi)),de(this,Xi,void 0))}},Xi=new WeakMap,Dy),ga,Qi,en,qi,Kt,xc,Zi,Cn,ps,Iy,_A=(Iy=class extends k_{constructor(e){super();Te(this,Cn);Te(this,ga);Te(this,Qi);Te(this,en);Te(this,qi);Te(this,Kt);Te(this,xc);Te(this,Zi);de(this,Zi,!1),de(this,xc,e.defaultOptions),this.setOptions(e.options),this.observers=[],de(this,qi,e.client),de(this,en,I(this,qi).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,de(this,ga,SA(this.options)),this.state=e.state??I(this,ga),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=I(this,Kt))==null?void 0:e.promise}setOptions(e){this.options={...I(this,xc),...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&I(this,en).remove(this)}setData(e,r){const n=hA(this.state.data,e,this.options);return Wt(this,Cn,ps).call(this,{data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(e,r){Wt(this,Cn,ps).call(this,{type:"setState",state:e,setStateOptions:r})}cancel(e){var n,s;const r=(n=I(this,Kt))==null?void 0:n.promise;return(s=I(this,Kt))==null||s.cancel(e),r?r.then(_n).catch(_n):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(I(this,ga))}isActive(){return this.observers.some(e=>dA(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Gg||this.state.dataUpdateCount+this.state.errorUpdate
171Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Gp(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!uA(this.state.dataUpdatedAt,e)}onFocus(){var r;const e=this.observers.find(n=>n.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(r=I(this,Kt))==null||r.continue()}onOnline(){var r;const e=this.observers.find(n=>n.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(r=I(this,Kt))==null||r.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),I(this,en).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(r=>r!==e),this.observers.length||(I(this,Kt)&&(I(this,Zi)?I(this,Kt).cancel({revert:!0}):I(this,Kt).cancelRetry()),this.scheduleGc()),I(this,en).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Wt(this,Cn,ps).call(this,{type:"invalidate"})}fetch(e,r){var u,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(I(this,Kt))return I(this,Kt).continueRetry(),I(this,Kt).promise}if(e&&this.setOptions(e),!this.options.queryFn){const m=this.observers.find(h=>h.options.queryFn);m&&this.setOptions(m.options)}const n=new AbortController,s=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(de(this,Zi,!0),n.signal)})},i=()=>{const m=C_(this.options,r),b=(()=>{const p={client:I(this,qi),queryKey:this.queryKey,meta:this.meta};return s(p),p})();return de(this,Zi,!1),this.options.persister?this.options.persister(m,b,this):m(b)},a=(()=>{const m={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:I(this,qi),state:this.state,fetchFn:i};return s(m),m})();(u=this.options.behavior)==null||u.onFetch(a,this),de(this,Qi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&Wt(this,Cn,ps).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const c=m=>{var h,b,p,v;vh(m)&&m.silent||Wt(this,Cn,ps).call(this,{type:"error",error:m}),vh(m)||((b=(h=I(this,en).config).onError)==null||b.call(h,m,this),(v=(p=I(this,en).config).onSettled)==null||v.call(p,this.state.data,m,this)),this.scheduleGc()};return de(this,Kt,E_({initialPromise:r==null?void 0:r.initialPromise,fn:a.fetchFn,abort:n.abort.bind(n),onSuccess:m=>{var h,b,p,v;if(m===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(x){c(x);return}(b=(h=I(this,en).config).onSuccess)==null||b.call(h,m,this),(v=(p=I(this,en).config).onSettled)==null||v.call(p,m,this.state.error,this),this.scheduleGc()},onError:c,onFail:(m,h)=>{Wt(this,Cn,ps).call(this,{type:"failed",failureCount:m,error:h})},onPause:()=>{Wt(this,Cn,ps).call(this,{type:"pause"})},onContinue:()=>{Wt(this,Cn,ps).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),I(this,Kt).start()}},ga=new WeakMap,Qi=new WeakMap,en=new WeakMap,qi=new WeakMap,Kt=new WeakMap,xc=new WeakMap,Zi=new WeakMap,Cn=new WeakSet,ps=function(e){const r=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...CA(n.data,this.options),fetchMeta:e.meta??null};case"success":return de(this,Qi,void 0),{...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=e.error;return vh(s)&&s.revert&&I(this,Qi)?{...I(this,Qi),fetchStatus:"idle"}
vendor: 4,715 bytes, line 171
171:{...n,error:s,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=r(this.state),cr.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),I(this,en).notify({query:this,type:"updated",action:e})})},Iy);function CA(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:N_(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function SA(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,r=e!==void 0,n=r?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Wn,Ly,NA=(Ly=class extends mf{constructor(e={}){super();Te(this,Wn);this.config=e,de(this,Wn,new Map)}build(e,r,n){const s=r.queryKey,i=r.queryHash??Yg(s,r);let o=this.get(i);return o||(o=new _A({client:e,queryKey:s,queryHash:i,options:e.defaultQueryOptions(r),state:n,defaultOptions:e.getQueryDefaults(s)}),this.add(o)),o}add(e){I(this,Wn).has(e.queryHash)||(I(this,Wn).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const r=I(this,Wn).get(e.queryHash);r&&(e.destroy(),r===e&&I(this,Wn).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){cr.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return I(this,Wn).get(e)}getAll(){return[...I(this,Wn).values()]}find(e){const r={exact:!0,...e};return this.getAll().find(n=>jx(r,n))}findAll(e={}){const r=this.getAll();return Object.keys(e).length>0?r.filter(n=>jx(e,n)):r}notify(e){cr.batch(()=>{this.listeners.forEach(r=>{r(e)})})}onFocus(){cr.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){cr.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Wn=new WeakMap,Ly),Hn,sr,Ji,Yn,Vs,Fy,jA=(Fy=class extends k_{constructor(e){super();Te(this,Yn);Te(this,Hn);Te(this,sr);Te(this,Ji);this.mutationId=e.mutationId,de(this,sr,e.mutationCache),de(this,Hn,[]),this.state=e.state||EA(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){I(this,Hn).includes(e)||(I(this,Hn).push(e),this.clearGcTimeout(),I(this,sr).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){de(this,Hn,I(this,Hn).filter(r=>r!==e)),this.scheduleGc(),I(this,sr).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){I(this,Hn).length||(this.state.status==="pending"?this.scheduleGc():I(this,sr).remove(this))}continue(){var e;return((e=I(this,Ji))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var i,o,a,c,u,d,f,m,h,b,p,v,x,g,w,_,C,N,S,E;const r=()=>{Wt(this,Yn,Vs).call(this,{type:"continue"})};de(this,Ji,E_({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(k,T)=>{Wt(this,Yn,Vs).call(this,{type:"failed",failureCount:k,error:T})},onPause:()=>{Wt(this,Yn,Vs).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>I(this,sr).canRun(this)}));const n=this.state.status==="pending",s=!I(this,Ji).canStart();try{if(n)r();else{Wt(this,Yn,Vs).call(this,{type:"pending",variables:e,isPaused:s}),await((o=(i=I(this,sr).config).onMutate)==null?void 0:o.call(i,e,this));const T=await((c=(a=this.options).onMutate)==null?void 0:c.call(a,e));T!==this.state.context&&Wt(this,Yn,Vs).call(this,{type:"pending",context:T,variables:e,isPaused:s})}const k=await I(this,Ji).start();return await((d=(u=I(this,sr).config).onSuccess)==null?void 0:d.call(u,k,e,this.state.context,this)),await((m=(f=this.options).onSuccess)==null?void 0:m.call(f,k,e,this.state.context)),await((b=(h=I(this,sr).config).onSettled)==null?void 0:b.call(h,k,null,this.state.variables,this.state.context,this)),await((v=(p=this.options).onSettled)==null?void 0:v.call(p,k,null,e,this.state.context)),Wt(this,Yn,Vs).call(this,{type:"success",data:k}),k}catch(k){try{throw await((g=(x=I(this,sr).config).onError)==null?void 0:g.call(x,k,e,this.state.context,this)),await((_=(w=this.options).onError)==null?void 0:_.call(w,k,e,this.state.context)),await((N=(C=I(this,sr).config).onSettled)==null?void 0:N.call(C,void 0,k,this.state.variables,this.state.context,this)),await((E=(S=this.options).onSettled)==null?void 0:E.
171call(S,void 0,k,e,this.state.context)),k}finally{Wt(this,Yn,Vs).call(this,{type:"error",error:k})}}finally{I(this,sr).runNext(this)}}},Hn=new WeakMap,sr=new WeakMap,Ji=new WeakMap,Yn=new WeakSet,Vs=function(e){const r=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),cr.batch(()=>{I(this,Hn).forEach(n=>{n.onMutationUpdate(e)}),I(this,sr).notify({mutation:this,type:"updated",action:e})})},Fy);function EA(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ys,Sn,yc,zy,kA=(zy=class extends mf{constructor(e={}){super();Te(this,ys);Te(this,Sn);Te(this,yc);this.config=e,de(this,ys,new Set),de(this,Sn,new Map),de(this,yc,0)}build(e,r,n){const s=new jA({mutationCache:this,mutationId:++Dc(this,yc)._,options:e.defaultMutationOptions(r),state:n});return this.add(s),s}add(e){I(this,ys).add(e);const r=nu(e);if(typeof r=="string"){const n=I(this,Sn).get(r);n?n.push(e):I(this,Sn).set(r,[e])}this.notify({type:"added",mutation:e})}remove(e){if(I(this,ys).delete(e)){const r=nu(e);if(typeof r=="string"){const n=I(this,Sn).get(r);if(n)if(n.length>1){const s=n.indexOf(e);s!==-1&&n.splice(s,1)}else n[0]===e&&I(this,Sn).delete(r)}}this.notify({type:"removed",mutation:e})}canRun(e){const r=nu(e);if(typeof r=="string"){const n=I(this,Sn).get(r),s=n==null?void 0:n.find(i=>i.state.status==="pending");return!s||s===e}else return!0}runNext(e){var n;const r=nu(e);if(typeof r=="string"){const s=(n=I(this,Sn).get(r))==null?void 0:n.find(i=>i!==e&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){cr.batch(()=>{I(this,ys).forEach(e=>{this.notify({type:"removed",mutation:e})}),I(this,ys).clear(),I(this,Sn).clear()})}getAll(){return Array.from(I(this,ys))}find(e){const r={exact:!0,...e};return this.getAll().find(n=>Ex(r,n))}findAll(e={}){return this.getAll().filter(r=>Ex(e,r))}notify(e){cr.batch(()=>{this.listeners.forEach(r=>{r(e)})})}resumePausedMutations(){const e=this.getAll().filter(r=>
vendor: 4,438 bytes, line 171
171r.state.isPaused);return cr.batch(()=>Promise.all(e.map(r=>r.continue().catch(_n))))}},ys=new WeakMap,Sn=new WeakMap,yc=new WeakMap,zy);function nu(t){var e;return(e=t.options.scope)==null?void 0:e.id}function Px(t){return{onFetch:(e,r)=>{var d,f,m,h,b;const n=e.options,s=(m=(f=(d=e.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:m.direction,i=((h=e.state.data)==null?void 0:h.pages)||[],o=((b=e.state.data)==null?void 0:b.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const u=async()=>{let p=!1;const v=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(e.signal.aborted?p=!0:e.signal.addEventListener("abort",()=>{p=!0}),e.signal)})},x=C_(e.options,e.fetchOptions),g=async(w,_,C)=>{if(p)return Promise.reject();if(_==null&&w.pages.length)return Promise.resolve(w);const S=(()=>{const D={client:e.client,queryKey:e.queryKey,pageParam:_,direction:C?"backward":"forward",meta:e.options.meta};return v(D),D})(),E=await x(S),{maxPages:k}=e.options,T=C?mA:pA;return{pages:T(w.pages,E,k),pageParams:T(w.pageParams,_,k)}};if(s&&i.length){const w=s==="backward",_=w?TA:Rx,C={pages:i,pageParams:o},N=_(n,C);a=await g(C,N,w)}else{const w=t??i.length;do{const _=c===0?o[0]??n.initialPageParam:Rx(n,a);if(c>0&&_==null)break;a=await g(a,_),c++}while(c<w)}return a};e.options.persister?e.fetchFn=()=>{var p,v;return(v=(p=e.options).persister)==null?void 0:v.call(p,u,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},r)}:e.fetchFn=u}}}function Rx(t,{pages:e,pageParams:r}){const n=e.length-1;return e.length>0?t.getNextPageParam(e[n],e,r[n],r):void 0}function TA(t,{pages:e,pageParams:r}){var n;return e.length>0?(n=t.getPreviousPageParam)==null?void 0:n.call(t,e[0],e,r[0],r):void 0}var nt,Zs,Js,va,xa,ei,ya,wa,$y,PA=($y=class{constructor(t={}){Te(this,nt);Te(this,Zs);Te(this,Js);Te(this,va);Te(this,xa);Te(this,ei);Te(this,ya);Te(this,wa);de(this,nt,t.queryCache||new NA),de(this,Zs,t.mutationCache||new kA),de(this,Js,t.defaultOptions||{}),de(this,va,new Map),de(this,xa,new Map),de(this,ei,0)}mount(){Dc(this,ei)._++,I(this,ei)===1&&(de(this,ya,S_.subscribe(async t=>{t&&(await this.resumePausedMutations(),I(this,nt).onFocus())})),de(this,wa,bd.subscribe(async t=>{t&&(await this.resumePausedMutations(),I(this,nt).onOnline())})))}unmount(){var t,e;Dc(this,ei)._--,I(this,ei)===0&&((t=I(this,ya))==null||t.call(this),de(this,ya,void 0),(e=I(this,wa))==null||e.call(this),de(this,wa,void 0))}isFetching(t){return I(this,nt).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return I(this,Zs).findAll({...t,status:"pending"}).length}getQueryData(t){var r;const e=this.defaultQueryOptions({queryKey:t});return(r=I(this,nt).get(e.queryHash))==null?void 0:r.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),r=I(this,nt).build(this,e),n=r.state.data;return n===void 0?this.fetchQuery(t):(t.revalidateIfStale&&r.isStaleByTime(Gp(e.staleTime,r))&&this.prefetchQuery(e),Promise.resolve(n))}getQueriesData(t){return I(this,nt).findAll(t).map(({queryKey:e,state:r})=>{const n=r.data;return[e,n]})}setQueryData(t,e,r){const n=this.defaultQueryOptions({queryKey:t}),s=I(this,nt).get(n.queryHash),i=s==null?void 0:s.state.data,o=lA(e,i);if(o!==void 0)return I(this,nt).build(this,n).setData(o,{...r,manual:!0})}setQueriesData(t,e,r){return cr.batch(()=>I(this,nt).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,r)]))}getQueryState(t){var r;const e=this.defaultQueryOptions({queryKey:t});return(r=I(this,nt).get(e.queryHash))==null?void 0:r.state}removeQueries(t){const e=I(this,nt);cr.batch(()=>{e.findAll(t).forEach(r=>{e.remove(r)})})}resetQueries(t,e){const r=I(this,nt);return cr.batch(()=>(r.findAll(t).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const r={revert:!0,...e},n=cr.batch(()=>I(this,nt).findAll(t).map(s=>s.cancel(r)));return Promise.all(n).then(_n).catch(_n)}invalidateQueries(t,e={}){return cr.batch(()=>(I(this,nt).findAll(t).forEach(r=>{r.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const r={...e,cancelRefetch:e.cancelRefetch??!0},n=cr.batch(()=>I(this,nt).findAll(t).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let i=s.fetch(void 0,r);return r.throwOnError||(i=i.catch(_n)),s.state.fetchStatus==="paused"?Promise.resolve():i}
171));return Promise.all(n).then(_n)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const r=I(this,nt).build(this,e);return r.isStaleByTime(Gp(e.staleTime,r))?r.fetch(e):Promise.resolve(r.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(_n).catch(_n)}fetchInfiniteQuery(t){return t.behavior=Px(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(_n).catch(_n)}ensureInfiniteQueryData(t){return t.behavior=Px(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return bd.isOnline()?I(this,Zs).resumePausedMutations():Promise.resolve()}getQueryCache(){return I(this,nt)}getMutationCache(){return I(this,Zs)}getDefaultOptions(){return I(this,Js)}setDefaultOptions(t){de(this,Js,t)}setQueryDefaults(t,e){I(this,va).set(ac(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...I(this,va).values()],r={};return e.forEach(n=>{lc(t,n.queryKey)&&Object.assign(r,n.defaultOptions)}),r}setMutationDefaults(t,e){I(this,xa).set(ac(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...I(this,xa).values()],r={};return e.forEach(n=>{lc(t,n.mutationKey)&&Object.assign(r,n.defaultOptions)}),r}defaultQueryOptions(t){if(t._defaulted)return t;const e={...I(this,Js).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=Yg(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===Gg&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...I(this,Js).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){I(this,nt).clear(),I(this,Zs).clear()}},nt=new WeakMap,Zs=new WeakMap,Js=new WeakMap,va=new WeakMap,xa=new WeakMap,ei=new WeakMap,ya=new WeakMap,wa=new WeakMap,$y),RA=y.createContext(void 0),AA=({client:t,children:e})=>(y.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),l.jsx(RA.Provider,{value:t,children:e}));/** 172 * @remix-run/router v1.23.0 173 * 174 * Copyright (c) Remix Software Inc. 175 * 176 * This source code is licensed under the MIT license found in the 177 * LICENSE.md file in the root directory of this source tree. 178 * 179 * @license MIT 180 */function _d(){return _d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},_d.apply(this,arguments)}var ni;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(ni||(ni={}));const Ax="popstate";function MA(t){t===void 0&&(t={});function e(n,s){let{pathname:i,search:o,hash:a}=n.location;return Xp("",{pathname:i,search:o,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function r(n,s){return typeof s=="string"?s:P_(s)}return DA(e,r,null,t)}function kr(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function T_(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function OA(){return Math.random().toString(36).substr(2,8)}function Mx(t,e){return{usr:t.state,key:t.key,idx:e}}function Xp(t,e,r,n){return r===void 0&&(r=null),_d({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?vf(e):e,{state:r,key:e&&e.key||n||OA()})}function P_(t){let{pathname:e="/",search:r="",hash:n=""}=t;return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function vf(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}function DA(t,e,r,n){n===void 0&&(n={});let{window:s=document.defaultView,v5Compat:i=!1}=n,o=s.history,a=ni.Pop,c=null,u=d();u==null&&(u=0,o.replaceState(_d({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function f(){a=ni.Pop;let v=d(),x=v==null?null:v-u;u=v,c&&c({action:a,location:p.location,delta:x})}function m(v,x){a=ni.Push;let g=Xp(p.location,v,x);u=d()+1;let w=Mx(g,u),_=p.createHref(g);try{o.pushState(w,"",_)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;s.location.assign(_)}i&&c&&c({action:a,location:p.location,delta:1})}function h(v,x){a=ni.Replace;let g=Xp(p.location,v,x);u=d();let w=Mx(g,u),_=p.createHref(g);o.replaceState(w,"",_),i&&c&&c({action:a,location:p.location,delta:0})}function b(v){let x=s.location.origin!=="null"?s.location.origin:s.location.href,g=typeof v=="string"?v:P_(v);return g=g.replace(/ $/,"%20"),kr(x,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,x)}let p={get action(){return a},get location(){return t(s,o)},listen(v){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(Ax,f),c=v,()=>{s.removeEventListener(Ax,f),c=null}},createHref(v){return e(s,v)},createURL:b,encodeLocation(v){let x=b(v);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:m,replace:h,go(v){return o.go(v)}};return p}var Ox;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Ox||(Ox={}));function IA(t,e,r){return r===void 0&&(r="/"),LA(t,e,r)}function LA(t,e,r,n){let s=typeof e=="string"?vf(e):e,i=M_(s.pathname||"/",r);if(i==null)return null;let o=R_(t);FA(o);let a=null;for(let c=0;a==null&&c<o.length;++c){let u=QA(i);a=GA(o[c],u)}return a}function R_(t,e,r,n){e===void 0&&(e=[]),r===void 0&&(r=[]),n===void 0&&(n="");let s=(i,o,a)=>{let c={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};c.relativePath.startsWith("/")&&(kr(c.relativePath.startsWith(n),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+n+'" is not val
180id. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(n.length));let u=ia([n,c.relativePath]),d=r.concat(c);i.children&&i.children.length>0&&(kr(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),R_(i.children,e,d,u)),!(i.path==null&&!i.index)&&e.push({path:u,score:HA(u,i.index),routesMeta:d})};return t.forEach((i,o)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))s(i,o);else for(let c of A_(i.path))s(i,o,c)}),e}function A_(t){let e=t.split("/");if(e.length===0)return[];let[r,...n]=e,s=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return s?[i,""]:[i];let o=A_(n.join("/")),a=[];return a.push(...o.map(c=>c===""?i:[i,c].join("/"))),s&&a.push(...o),a.map(c=>t.startsWith("/")&&c===""?"/":c)}function FA(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:YA(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const zA=/^:[\w-]+$/,$A=3,BA=2,VA=1,UA=10,WA=-2,Dx=t=>t==="*";function HA(t,e){let r=t.split("/"),n=r.length;return r.some(Dx)&&(n+=WA),e&&(n+=BA),r.filter(s=>!Dx(s)).reduce((s,i)=>s+(zA.test(i)?$A:i===""?VA:UA),n)}function YA(t,e){return t.length===e.length&&t.slice(0,-1).every((n,s)=>n===e[s])?t[t.length-1]-e[e.length-1]:0}function GA(t,e,r){let{routesMeta:n}=t,s={},i="/",o=[];for(let a=0;a<n.length;++a){let c=n[a],u=a===n.length-1,d=i==="/"?e:e.slice(i.length)||"/",f=KA({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),m=c.route;if(!f)return null;
vendor: 4,131 bytes, lines 180-189
180Object.assign(s,f.params),o.push({params:s,pathname:ia([i,f.pathname]),pathnameBase:qA(ia([i,f.pathnameBase])),route:m}),f.pathnameBase!=="/"&&(i=ia([i,f.pathnameBase]))}return o}function KA(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,n]=XA(t.path,t.caseSensitive,t.end),s=e.match(r);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),a=s.slice(1);return{params:n.reduce((u,d,f)=>{let{paramName:m,isOptional:h}=d;if(m==="*"){let p=a[f]||"";o=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}const b=a[f];return h&&!b?u[m]=void 0:u[m]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:t}}function XA(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!0),T_(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let n=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,c)=>(n.push({paramName:a,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(n.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,e?void 0:"i"),n]}function QA(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return T_(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function M_(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&n!=="/"?null:t.slice(r)||"/"}const ia=t=>t.join("/").replace(/\/\/+/g,"/"),qA=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/");function ZA(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const O_=["post","put","patch","delete"];new Set(O_);const JA=["get",...O_];new Set(JA);/** 181 * React Router v6.30.1 182 * 183 * Copyright (c) Remix Software Inc. 184 * 185 * This source code is licensed under the MIT license found in the 186 * LICENSE.md file in the root directory of this source tree. 187 * 188 * @license MIT 189 */function Cd(){return Cd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Cd.apply(this,arguments)}const e4=y.createContext(null),t4=y.createContext(null),D_=y.createContext(null),xf=y.createContext(null),yf=y.createContext({outlet:null,matches:[],isDataRoute:!1}),I_=y.createContext(null);function Kg(){return y.useContext(xf)!=null}function L_(){return Kg()||kr(!1),y.useContext(xf).location}function r4(t,e){return n4(t,e)}function n4(t,e,r,n){Kg()||kr(!1);let{navigator:s}=y.useContext(D_),{matches:i}=y.useContext(yf),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=L_(),d;if(e){var f;let v=typeof e=="string"?vf(e):e;c==="/"||(f=v.pathname)!=null&&f.startsWith(c)||kr(!1),d=v}else d=u;let m=d.pathname||"/",h=m;if(c!=="/"){let v=c.replace(/^\//,"").split("/");h="/"+m.replace(/^\//,"").split("/").slice(v.length).join("/")}let b=IA(t,{pathname:h}),p=l4(b&&b.map(v=>Object.assign({},v,{params:Object.assign({},a,v.params),pathname:ia([c,s.encodeLocation?s.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?c:ia([c,s.encodeLocation?s.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,r,n);return e&&p?y.createElement(xf.Provider,{value:{location:Cd({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:ni.Pop}},p):p}function s4(){let t=f4(),e=ZA(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application
189Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},e),r?y.createElement("pre",{style:s},r):null,null)}const i4=y.createElement(s4,null);class o4 extends y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){console.error("React Router caught the following error during render",e,r)}render(){return this.state.error!==void 0?y.createElement(yf.Provider,{value:this.props.routeContext},y.createElement(I_.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function a4(t){let{routeContext:e,match:r,children:n}=t,s=y.useContext(e4);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),y.createElement(yf.Provider,{value:e},n)}function l4(t,e,r,n){var s;if(e===void 0&&(e=[]),r===void 0&&(r=null),n===void 0&&(n=null),t==null){var i;if(!r)return null;if(r.errors)t=r.matches;else if((i=n)!=null&&i.v7_partialHydration&&e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let o=t,a=(s=r)==null?void 0:s.errors;if(a!=null){let d=o.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||kr(!1),o=o.slice(0,Math.min(o.length,d+1))}let c=!1,u=-1;if(r&&n&&n.v7_partialHydration)for(let d=0;d<o.length;d++){let f=o[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:m,errors:h}=r,b=f.route.loader&&m[f.route.id]===void 0&&(!h||h[f.route.id]===void 0);if(f.route.lazy||b){c=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,f,m)=>{let h,b=!1,p=null,v=null;r&&(h=a&&f.route.id?a[f.route.id]:void 0,p=f.route.errorElement||i4,c&&(u<0&&m===0?(h4("route-fallback"),b=!0,v=null):u===m&&(b=!0,v=f.route.hydrateFallbackElement||null)));let x=e.concat(o.slice(0,m+1)),g=()=>{let w;return h?w=p:b?w=v:f.route.Component?w=y.createElement(f.route.Component,null):f.route.element?w=f.route.element:w=d,y.createElement(a4,{match:f,routeContext:{outlet:d,matches:x,isDataRoute:r!=null},children:w})};return r&&(f.route.ErrorBoundary||f.route.errorElement||m===0)?y.createElement(o4,{location:r.location,revalidation:r.revalidation,component:p,error:h,children:g(),routeContext:{outlet:null,matches:x,isDataRoute:!0}}):g()},null)}var F_=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(F_||{});function c4(t){let e=y.useContext(t4);return e||kr(!1),e}function u4(t){let e=y.useContext(yf);return e||kr(!1),e}function d4(t){let e=u4(),r=e.matches[e.matches.length-1];return r.route.id||kr(!1),r.route.id}function f4(){var t;let e=y.useContext(I_),r=c4(F_.UseRouteError),n=d4();return e!==void 0?e:(t=r.errors)==null?void 0:t[n]}const Ix={};function h4(t,e,r){Ix[t]||(Ix[t]=!0)}function p4(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function Qp(t){kr(!1)}function m4(t){let{basename:e="/",children:r=null,location:n,navigationType:s=ni.Pop,navigator:i,static:o=!1,future:a}=t;Kg()&&kr(!1);let c=e.replace(/^\/*/,"/"),u=y.useMemo(()=>({basename:c,navigator:i,static:o,future:Cd({v7_relativeSplatPath:!1},a)}),[c,a,i,o]);typeof n=="string"&&(n=vf(n));let{pathname:d="/",search:f="",hash:m="",state:h=null,key:b="default"}=n,p=y.useMemo(()=>{let v=M_(d,c);return v==null?null:{location:{pathname:v,search:f,hash:m,state:h,key:b},navigationType:s}},[c,d,f,m,h,b,s]);return p==null?null:y.createElement(D_.Provider,{value:u},y.createElement(xf.Provider,{children:r,value:p}))}function g4(t){let{children:e,location:r}=t;return r4(qp(e),r)}new Promise(()=>{});function qp(t,e){e===void 0&&(e=[]);let r=[];
189return y.Children.forEach(t,(n,s)=>{if(!y.isValidElement(n))return;let i=[...e,s];if(n.type===y.Fragment){r.push.apply(r,qp(n.props.children,i));return}n.type!==Qp&&kr(!1),!n.props.index||!n.props.children||kr(!1);let o={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=qp(n.props.children,i)),r.push(o)}),r}/** 190 * React Router DOM v6.30.1 191 * 192 * Copyright (c) Remix Software Inc. 193 * 194 * This source code is licensed under the MIT license found in the 195 * LICENSE.md file in the root directory of this source tree. 196 * 197 * @license MIT 198 */const v4="6";try{window.__reactRouterVersion=v4}catch{}const x4="startTransition",Lx=$m[x4];function y4(t){let{basename:e,children:r,future:n,window:s}=t,i=y.useRef();i.current==null&&(i.current=MA({window:s,v5Compat:!0}));let o=i.current,[a,c]=y.useState({action:o.action,location:o.location}),{v7_startTransition:u}=n||{},d=y.useCallback(f=>{u&&Lx?Lx(()=>c(f)):c(f)},[c,u]);return y.useLayoutEffect(()=>o.listen(d),[o,d]),y.useEffect(()=>p4(n),[n]),y.createElement(m4,{basename:e,children:r,location:a.location,navigationType:a.action,navigator:o,future:n})}var Fx;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(Fx||(Fx={}));var zx;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(zx||(zx={}));const xh=768;function Xg(){const[t,e]=y.useState(void 0);return y.useEffect(()=>{const r=window.matchMedia(`(max-width: ${xh-1}px)`),n=()=>{e(window.innerWidth<xh)};return r.addEventListener("change",n),e(window.innerWidth<xh),()=>r.removeEventListener("change",n)},[]),!!t}function gs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z_(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*! 199 * GSAP 3.13.0 200 * https://gsap.com 201 * 202 * @license Copyright 2008-2025, GreenSock. All rights reserved. 203 * Subject to the terms at https://gsap.com/standard-license 204 * @author: Jack Doyle, [email protected] 205*/var Yr={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ra={duration:.5,overwrite:!1,delay:0},Qg,It,Ye,an=1e8,Fe=1/an,Zp=Math.PI*2,w4=Zp/4,b4=0,$_=Math.sqrt,_4=Math.cos,C4=Math.sin,Pt=function(e){return typeof e=="string"},it=function(e){return typeof e=="function"},Ms=function(e){return typeof e=="number"},qg=function(e){return typeof e>"u"},as=function(e){return typeof e=="object"},Sr=function(e){return e!==!1},Zg=function(){return typeof window<"u"},su=function(e){return it(e)||Pt(e)},B_=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Jt=Array.isArray,Jp=/(?:-?\.?\d|\.)+/gi,V_=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ko=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,yh=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,U_=/[+-]=-?[.\d]+/,W_=/[^,'"\[\]\s]+/gi,S4=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Qe,Vn,em,Jg,Kr={},Sd={},H_,Y_=function(e){return(Sd=Aa(e,Kr))&&Tr},e0=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},cc=function(e,r){return!r&&console.warn(e)},G_=function(e,r){return e&&(Kr[e]=r)&&Sd&&(Sd[e]=r)||Kr},uc=function(){return 0},N4={suppressEvents:!0,isStart:!0,kill:!1},Iu={suppressEvents:!0,kill:!1},j4={suppressEvents:!0},t0={},vi=[],tm={},K_,Lr={},wh={},$x=30,Lu=[],r0="",n0=function(e){var r=e[0],n,s;if(as(r)||it(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(s=Lu.length;s--&&!Lu[s].targetTest(r););n=Lu[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new x2(e[s],n)))||e.splice(s,1);return e},ro=function(e){return e._gsap||n0(ln(e))[0]._gsap},X_=function(e,r,n){return(n=e[r])&&it(n)?e[r]():qg(n)&&e.getAttribute&&e.getAttribute(r)||n}
vendor: 4,132 bytes, line 205
205,Nr=function(e,r){return(e=e.split(",")).forEach(r)||e},ct=function(e){return Math.round(e*1e5)/1e5||0},gt=function(e){return Math.round(e*1e7)/1e7||0},oa=function(e,r){var n=r.charAt(0),s=parseFloat(r.substr(2));return e=parseFloat(e),n==="+"?e+s:n==="-"?e-s:n==="*"?e*s:e/s},E4=function(e,r){for(var n=r.length,s=0;e.indexOf(r[s])<0&&++s<n;);return s<n},Nd=function(){var e=vi.length,r=vi.slice(0),n,s;for(tm={},vi.length=0,n=0;n<e;n++)s=r[n],s&&s._lazy&&(s.render(s._lazy[0],s._lazy[1],!0)._lazy=0)},s0=function(e){return!!(e._initted||e._startAt||e.add)},Q_=function(e,r,n,s){vi.length&&!It&&Nd(),e.render(r,n,!!(It&&r<0&&s0(e))),vi.length&&!It&&Nd()},q_=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(W_).length<2?r:Pt(e)?e.trim():e},Z_=function(e){return e},Xr=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},k4=function(e){return function(r,n){for(var s in n)s in r||s==="duration"&&e||s==="ease"||(r[s]=n[s])}},Aa=function(e,r){for(var n in r)e[n]=r[n];return e},Bx=function t(e,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=as(r[n])?t(e[n]||(e[n]={}),r[n]):r[n]);return e},jd=function(e,r){var n={},s;for(s in e)s in r||(n[s]=e[s]);return n},Pl=function(e){var r=e.parent||Qe,n=e.keyframes?k4(Jt(e.keyframes)):Xr;if(Sr(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},T4=function(e,r){for(var n=e.length,s=n===r.length;s&&n--&&e[n]===r[n];);return n<0},J_=function(e,r,n,s,i){var o=e[s],a;if(i)for(a=r[i];o&&o[i]>a;)o=o._prev;return o?(r._next=o._next,o._next=r):(r._next=e[n],e[n]=r),r._next?r._next._prev=r:e[s]=r,r._prev=o,r.parent=r._dp=e,r},wf=function(e,r,n,s){n===void 0&&(n="_first"),s===void 0&&(s="_last");var i=r._prev,o=r._next;i?i._next=o:e[n]===r&&(e[n]=o),o?o._prev=i:e[s]===r&&(e[s]=i),r._next=r._prev=r.parent=null},Si=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},no=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},P4=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},rm=function(e,r,n,s){return e._startAt&&(It?e._startAt.revert(Iu):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,s))},R4=function t(e){return!e||e._ts&&t(e.parent)},Vx=function(e){return e._repeat?Ma(e._tTime,e=e.duration()+e._rDelay)*e:0},Ma=function(e,r){var n=Math.floor(e=gt(e/r));return e&&n===e?n-1:n},Ed=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},bf=function(e){return e._end=gt(e._start+(e._tDur/Math.abs(e._ts||e._rts||Fe)||0))},_f=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=gt(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),bf(e),n._dirty||no(n,e)),e},e2=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=Ed(e.rawTime(),r),(!r._dur||Tc(0,r.totalDuration(),n)-r._tTime>Fe)&&r.render(n,!0)),no(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-Fe}},Kn=function(e,r,n,s){return r.parent&&Si(r),r._start=gt((Ms(n)?n:n||e!==Qe?Jr(e,n,r):e._time)+r._delay),r._end=gt(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),J_(e,r,"_first","_last",e._sort?"_start":0),nm(r)||(e._recent=r),s||e2(e,r),e._ts<0&&_f(e,e._tTime),e},t2=function(e,r){return(Kr.ScrollTrigger||e0("scrollTrigger",r))&&Kr.ScrollTrigger.create(r,e)},r2=function(e,r,n,s,i){if(o0(e,r,i),!e._initted)return 1;if(!n&&e._pt&&!It&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&K_!==$r.frame)return vi.push(e),e._lazy=[i,s],1},A4=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},nm=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},M4=function(e,r,n,s){var i=e.ratio,o=r<0||!r&&(!e._start&&A4(e)&&!(!e._initted&&nm(e))||(e._ts<0||e._dp._ts<0)&&!nm(e))?0:1,a=e._rDelay,c=0,u,d,f;if(a&&e._repeat&&(c=Tc(0,e._tDur,r),d=Ma(c,a),e._yoyo&&d&1&&(o=1-o),d!==Ma(e._tTime,a)&&(i=1-o,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 10,023 bytes, line 205
205date())),o!==i||It||s||e._zTime===Fe||!r&&e._zTime){if(!e._initted&&r2(e,r,s,n,c))return;for(f=e._zTime,e._zTime=r||(n?Fe:0),n||(n=r&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=c,u=e._pt;u;)u.r(o,u.d),u=u._next;r<0&&rm(e,r,n,!0),e._onUpdate&&!n&&Ur(e,"onUpdate"),c&&e._repeat&&!n&&e.parent&&Ur(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===o&&(o&&Si(e,1),!n&&!It&&(Ur(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},O4=function(e,r,n){var s;if(n>r)for(s=e._first;s&&s._start<=n;){if(s.data==="isPause"&&s._start>r)return s;s=s._next}else for(s=e._last;s&&s._start>=n;){if(s.data==="isPause"&&s._start<r)return s;s=s._prev}},Oa=function(e,r,n,s){var i=e._repeat,o=gt(r)||0,a=e._tTime/e._tDur;return a&&!s&&(e._time*=o/e._dur),e._dur=o,e._tDur=i?i<0?1e10:gt(o*(i+1)+e._rDelay*i):o,a>0&&!s&&_f(e,e._tTime=e._tDur*a),e.parent&&bf(e),n||no(e.parent,e),e},Ux=function(e){return e instanceof ur?no(e):Oa(e,e._dur)},D4={_start:0,endTime:uc,totalDuration:uc},Jr=function t(e,r,n){var s=e.labels,i=e._recent||D4,o=e.duration()>=an?i.endTime(!1):e._dur,a,c,u;return Pt(r)&&(isNaN(r)||r in s)?(c=r.charAt(0),u=r.substr(-1)==="%",a=r.indexOf("="),c==="<"||c===">"?(a>=0&&(r=r.replace(/=/,"")),(c==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(r.substr(1))||0)*(u?(a<0?i:n).totalDuration()/100:1)):a<0?(r in s||(s[r]=o),s[r]):(c=parseFloat(r.charAt(a-1)+r.substr(a+1)),u&&n&&(c=c/100*(Jt(n)?n[0]:n).totalDuration()),a>1?t(e,r.substr(0,a-1),n)+c:o+c)):r==null?o:+r},Rl=function(e,r,n){var s=Ms(r[1]),i=(s?2:1)+(e<2?0:1),o=r[i],a,c;if(s&&(o.duration=r[1]),o.parent=n,e){for(a=o,c=n;c&&!("immediateRender"in a);)a=c.vars.defaults||{},c=Sr(c.vars.inherit)&&c.parent;o.immediateRender=Sr(a.immediateRender),e<2?o.runBackwards=1:o.startAt=r[i-1]}return new mt(r[0],o,r[i+1])},Ri=function(e,r){return e||e===0?r(e):r},Tc=function(e,r,n){return n<e?e:n>r?r:n},qt=function(e,r){return!Pt(e)||!(r=S4.exec(e))?"":r[1]},I4=function(e,r,n){return Ri(n,function(s){return Tc(e,r,s)})},sm=[].slice,n2=function(e,r){return e&&as(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&as(e[0]))&&!e.nodeType&&e!==Vn},L4=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(s){var i;return Pt(s)&&!r||n2(s,1)?(i=n).push.apply(i,ln(s)):n.push(s)})||n},ln=function(e,r,n){return Ye&&!r&&Ye.selector?Ye.selector(e):Pt(e)&&!n&&(em||!Da())?sm.call((r||Jg).querySelectorAll(e),0):Jt(e)?L4(e,n):n2(e)?sm.call(e,0):e?[e]:[]},im=function(e){return e=ln(e)[0]||cc("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return ln(r,n.querySelectorAll?n:n===e?cc("Invalid scope")||Jg.createElement("div"):e)}},s2=function(e){return e.sort(function(){return .5-Math.random()})},i2=function(e){if(it(e))return e;var r=as(e)?e:{each:e},n=so(r.ease),s=r.from||0,i=parseFloat(r.base)||0,o={},a=s>0&&s<1,c=isNaN(s)||a,u=r.axis,d=s,f=s;return Pt(s)?d=f={center:.5,edges:.5,end:1}[s]||0:!a&&c&&(d=s[0],f=s[1]),function(m,h,b){var p=(b||r).length,v=o[p],x,g,w,_,C,N,S,E,k;if(!v){if(k=r.grid==="auto"?0:(r.grid||[1,an])[1],!k){for(S=-an;S<(S=b[k++].getBoundingClientRect().left)&&k<p;);k<p&&k--}for(v=o[p]=[],x=c?Math.min(k,p)*d-.5:s%k,g=k===an?0:c?p*f/k-.5:s/k|0,S=0,E=an,N=0;N<p;N++)w=N%k-x,_=g-(N/k|0),v[N]=C=u?Math.abs(u==="y"?_:w):$_(w*w+_*_),C>S&&(S=C),C<E&&(E=C);s==="random"&&s2(v),v.max=S-E,v.min=E,v.v=p=(parseFloat(r.amount)||parseFloat(r.each)*(k>p?p-1:u?u==="y"?p/k:k:Math.max(k,p/k))||0)*(s==="edges"?-1:1),v.b=p<0?i-p:i,v.u=qt(r.amount||r.each)||0,n=n&&p<0?m2(n):n}return p=(v[m]-v.min)/v.max||0,gt(v.b+(n?n(p):p)*v.v)+v.u}},om=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var s=gt(Math.round(parseFloat(n)/e)*e*r);return(s-s%1)/r+(Ms(n)?0:qt(n))}},o2=function(e,r){var n=Jt(e),s,i;return!n&&as(e)&&(s=n=e.radius||an,e.values?(e=ln(e.values),(i=!Ms(e[0]))&&(s*=s)):e=om(e.increment)),Ri(r,n?it(e)?function(o){return i=e(o),Math.abs(i-o)<=s?i:o}:function(o){for(var a=parseFloat(i?o.x:o),c=parseFloat(i?o.y:0),u=an,d=0,f=e.length,m,h;f--;)i?(m=e[f].x-a,h=e[f].y-c,m=m*m+h*h):m=Math.abs(e[f]-a),m<u&&(u=m,d=f);return d=!s||u<=s?e[d]:o,i||d===o||Ms(o)?d:d+qt(o)}:om(e))},a2=function(e,r,n,s){return Ri(Jt(e)?!r:n===!0?!!(n=0):!s,function(){return Jt(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(s=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(r-e+n*.99))/n)*n*s)/s})},F4=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(s){return r.reduce(function(i,o){return o(i)},s)}},z4=function(e,r){return function(n){return e(parseFloat(n))+(r||qt(n))}},$4=function(e,r,n){return c2(e,r,0,1,n)},l2=function(e,r,n){return Ri(n,function(s){return e[~~r(s)]})},B4=function t(e,r,n){var s=r-e;return Jt(e)?l2(e,t(0,e.length),r):Ri(n,function(i){return(s+(i-e)%s)%s+e})},V4=function t(e,r,n){var s=r-e,i=s*2;return Jt(e)?l2(e,t(0,e.length-1),r):Ri(n,function(o){return o=(i+(o-e)%i)%i||0,e+(o>s?i-o:o)})},dc=function(e){for(var r=0,n="",s,i,o,a;~(s=e.indexOf("random(",r));)o=e.indexOf(")",s),a=e.charAt(s+7)==="[",i=e.substr(s+7,o-s-7).match(a?W_:Jp),n+=e.substr(r,s-r)+a2(a?i:+i[0],a?0:+i[1],+i[2]||1e-5),r=o+1;return n+e.substr(r,e.length-r)},c2=function(e,r,n,s,i){var o=r-e,a=s-n;return Ri(i,function(c){return n+((c-e)/o*a||0)})},U4=function t(e,r,n,s){var i=isNaN(e+r)?0:function(h){return(1-h)*e+h*r};if(!i){var o=Pt(e),a={},c,u,d,f,m;if(n===!0&&(s=1)&&(n=null),o)e={p:e},r={p:r};else if(Jt(e)&&!Jt(r)){for(d=[],f=e.length,m=f-2,u=1;u<f;u++)d.push(t(e[u-1],e[u]));f--,i=function(b){b*=f;var p=Math.min(m,~~b);return d[p](b-p)},n=r}else s||(e=Aa(Jt(e)?[]:{},e));if(!d){for(c in r)i0.call(a,e,c,"get",r[c]);i=function(b){return c0(b,a)||(o?e.p:e)}}}return Ri(n,i)},Wx=function(e,r,n){var s=e.labels,i=an,o,a,c;for(o in s)a=s[o]-r,a<0==!!n&&a&&i>(a=Math.abs(a))&&(c=o,i=a);return c},Ur=function(e,r,n){var s=e.vars,i=s[r],o=Ye,a=e._ctx,c,u,d;if(i)return c=s[r+"Params"],u=s.callbackScope||e,n&&vi.length&&Nd(),a&&(Ye=a),d=c?i.apply(u,c):i.call(u),Ye=o,d},dl=function(e){return Si(e),e.scrollTrigger&&e.scrollTrigger.kill(!!It),e.progress()<1&&Ur(e,"onInterrupt"),e},Xo,u2=[],d2=function(e){if(e)if(e=!e.name&&e.default||e,Zg()||e.headless){var r=e.name,n=it(e),s=r&&!n&&e.init?function(){this._props=[]}:e,i={init:uc,render:c0,add:i0,kill:i3,modifier:s3,rawVars:0},o={targetTest:0,get:0,getSetter:l0,aliases:{},register:0};if(Da(),e!==s){if(Lr[r])return;Xr(s,Xr(jd(e,i),o)),Aa(s.prototype,Aa(i,jd(e,o))),Lr[s.prop=r]=s,e.targetTest&&(Lu.push(s),t0[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}G_(r,s),e.register&&e.register(Tr,s,jr)}else u2.push(e)},Le=255,fl={aqua:[0,Le,Le],lime:[0,Le,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Le],navy:[0,0,128],white:[Le,Le,Le],olive:[128,128,0],yellow:[Le,Le,0],orange:[Le,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Le,0,0],pink:[Le,192,203],cyan:[0,Le,Le],transparent:[Le,Le,Le,0]},bh=function(e,r,n){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(n-r)*e*6:e<.5?n:e*3<2?r+(n-r)*(2/3-e)*6:r)*Le+.5|0},f2=function(e,r,n){var s=e?Ms(e)?[e>>16,e>>8&Le,e&Le]:0:fl.black,i,o,a,c,u,d,f,m,h,b;if(!s){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),fl[e])s=fl[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+i+i+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return s=parseInt(e.substr(1,6),16),[s>>16,s>>8&Le,s&Le,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),s=[e>>16,e>>8&Le,e&Le]}else if(e.substr(0,3)==="hsl"){if(s=b=e.match(Jp),!r)c=+s[0]%360/360,u=+s[1]/100,d=+s[2]/100,o=d<=.5?d*(u+1):d+u-d*u,i=d*2-o,s.length>3&&(s[3]*=1),s[0]=bh(c+1/3,i,o),s[1]=bh(c,i,o),s[2]=bh(c-1/3,i,o);else if(~e.indexOf("="))return s=e.match(V_),n&&s.length<4&&(s[3]=1),s}else s=e.match(Jp)||fl.transparent;s=s.map(Number)}return r&&!b&&(i=s[0]/Le,o=s[1]/Le,a=s[2]/Le,f=Math.max(i,o,a),m=Math.min(i,o,a),d=(f+m)/2,f===m?c=u=0:(h=f-m,u=d>.5?h/(2-f-m):h/(f+m),c=f===i?(o-a)/h+(o<a?6:0):f===o?(a-i)/h+2:(i-o)/h+4,c*=60),s[0]=~~(c+.5),s[1]=~~(u*100+.5),s[2]=~~(d*100+.5)),n&&s.length<4&&(s[3]=1),s},h2=function(e){var r=[],n=[],s=-1;return e.split(xi).forEach(function(i){var o=i.match(Ko)||[];r.push.apply(r,o),n.push(s+=o.length+1)}),r.c=n,r},Hx=function(e,r,n){var s="",i=(e+s).match(xi),o=r?"hsla(":"rgba(",a=0,c,u,d,f;if(!i)return e;if(i=i.map(function(m){return(m=f2(m,r,1))&&o+(r?m[0]+","+m[1]+"%,"+m[2]+"%,"+m[3]:m.join(","))+")"}),n&&(d=h2(e),c=n.c,c.join(s)!==d.c.join(s)))for(u=e.replace(xi,"1").split(Ko),f=u.length-1;a<f;a++)s+=u[a]+(~c.indexOf(a)?i.shift()||o+"0,0,0,0)":(d.length?d:i.length?i:n).shift());if(!u)for(u=e.split(xi),f=u.length-1;a<f;a++)s+=u[a]+i[a];return s+u[f]},xi=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in fl)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),W4=/hsl[a]?\(/,p2=function(e){var r=e.join(" "),n;if(xi.lastIndex=0,xi.test(r))return n=W4.test(r),e[1]=Hx(e[1],n),e[0]=Hx(e[0],n,h2(e[1])),!0},fc,$r=function(){var t=Date.now,e=500,r=33,n=t(),s=n,i=1e3/240,o=i,a=[],c,u,d,f,m,h,b=function p(v){var x=t()-s,g=v===!0,w,_,C,N;if((x>e||x<0)&&(n+=x-r),s+=x,C=s-n,w=C-o,(w>0||g)&&(N=++f.frame,m=C-f.time*1e3,f.time=C=C/1e3,o+=w+(w>=i?4:i-w),_=1),g||(c=u(p)),_)for(h=0;h<a.length;h++)a[h](C,m,N,v)};return f={time:0,frame:0,tick:function(){b(!0)},deltaRatio:function(v){return m/(1e3/(v||60))},wake:function(){H_&&(!em&&Zg()&&(Vn=em=window,Jg=Vn.document||{},Kr.gsap=Tr,(Vn.gsapVersions||(Vn.gsapVersions=[])).push(Tr.version),Y_(Sd||Vn.GreenSockGlobals||!Vn.gsap&&Vn||{}),u2.forEach(d2)),d=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&f.sleep(),u=d||function(v){return setTimeout(v,o-f.time*1e3+1|0)},fc=1,b(2))},sleep:function(){(d?cancelAnimationFrame:clearTimeout)(c),fc=0,u=uc},lagSmoothing:function(v,x){e=v||1/0,r=Math.min(x||33,e)},fps:function(v){i=1e3/(v||240),o=f.time*1e3+i},add:function(v,x,g){var w=x?function(_,C,N,S){v(_,C,N,S),f.remove(w)}:v;return f.remove(v),a[g?"unshift":"push"](w),Da(),w}
vendor: 7,715 bytes, line 205
205,remove:function(v,x){~(x=a.indexOf(v))&&a.splice(x,1)&&h>=x&&h--},_listeners:a},f}(),Da=function(){return!fc&&$r.wake()},Ne={},H4=/^[\d.\-M][\d.\-,\s]/,Y4=/["']/g,G4=function(e){for(var r={},n=e.substr(1,e.length-3).split(":"),s=n[0],i=1,o=n.length,a,c,u;i<o;i++)c=n[i],a=i!==o-1?c.lastIndexOf(","):c.length,u=c.substr(0,a),r[s]=isNaN(u)?u.replace(Y4,"").trim():+u,s=c.substr(a+1).trim();return r},K4=function(e){var r=e.indexOf("(")+1,n=e.indexOf(")"),s=e.indexOf("(",r);return e.substring(r,~s&&s<n?e.indexOf(")",n+1):n)},X4=function(e){var r=(e+"").split("("),n=Ne[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[G4(r[1])]:K4(e).split(",").map(q_)):Ne._CE&&H4.test(e)?Ne._CE("",e):n},m2=function(e){return function(r){return 1-e(1-r)}},g2=function t(e,r){for(var n=e._first,s;n;)n instanceof ur?t(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?t(n.timeline,r):(s=n._ease,n._ease=n._yEase,n._yEase=s,n._yoyo=r)),n=n._next},so=function(e,r){return e&&(it(e)?e:Ne[e]||X4(e))||r},jo=function(e,r,n,s){n===void 0&&(n=function(c){return 1-r(1-c)}),s===void 0&&(s=function(c){return c<.5?r(c*2)/2:1-r((1-c)*2)/2});var i={easeIn:r,easeOut:n,easeInOut:s},o;return Nr(e,function(a){Ne[a]=Kr[a]=i,Ne[o=a.toLowerCase()]=n;for(var c in i)Ne[o+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=Ne[a+"."+c]=i[c]}),i},v2=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},_h=function t(e,r,n){var s=r>=1?r:1,i=(n||(e?.3:.45))/(r<1?r:1),o=i/Zp*(Math.asin(1/s)||0),a=function(d){return d===1?1:s*Math.pow(2,-10*d)*C4((d-o)*i)+1},c=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:v2(a);return i=Zp/i,c.config=function(u,d){return t(e,u,d)},c},Ch=function t(e,r){r===void 0&&(r=1.70158);var n=function(o){return o?--o*o*((r+1)*o+r)+1:0},s=e==="out"?n:e==="in"?function(i){return 1-n(1-i)}:v2(n);return s.config=function(i){return t(e,i)},s};Nr("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;jo(t+",Power"+(r-1),e?function(n){return Math.pow(n,r)}:function(n){return n},function(n){return 1-Math.pow(1-n,r)},function(n){return n<.5?Math.pow(n*2,r)/2:1-Math.pow((1-n)*2,r)/2})});Ne.Linear.easeNone=Ne.none=Ne.Linear.easeIn;jo("Elastic",_h("in"),_h("out"),_h());(function(t,e){var r=1/e,n=2*r,s=2.5*r,i=function(a){return a<r?t*a*a:a<n?t*Math.pow(a-1.5/e,2)+.75:a<s?t*(a-=2.25/e)*a+.9375:t*Math.pow(a-2.625/e,2)+.984375};jo("Bounce",function(o){return 1-i(1-o)},i)})(7.5625,2.75);jo("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)});jo("Circ",function(t){return-($_(1-t*t)-1)});jo("Sine",function(t){return t===1?1:-_4(t*w4)+1});jo("Back",Ch("in"),Ch("out"),Ch());Ne.SteppedEase=Ne.steps=Kr.SteppedEase={config:function(e,r){e===void 0&&(e=1);var n=1/e,s=e+(r?0:1),i=r?1:0,o=1-Fe;return function(a){return((s*Tc(0,o,a)|0)+i)*n}}};Ra.ease=Ne["quad.out"];Nr("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return r0+=t+","+t+"Params,"});var x2=function(e,r){this.id=b4++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:X_,this.set=r?r.getSetter:l0},hc=function(){function t(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,Oa(this,+r.duration,1,1),this.data=r.data,Ye&&(this._ctx=Ye,Ye.data.push(this)),fc||$r.wake()}var e=t.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,Oa(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,s){if(Da(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(_f(this,n),!i._dp||i.parent||e2(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&Kn(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!s||this._initted&&Math.abs(this._zTime)===Fe||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),Q_(this,n,s)),this},e.time=function(n,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+Vx(this))%(this._dur+this._rDelay)||(n?this._dur:0),s):this._time},e.totalProgress=function(n,s){return arguments.length?this.totalTime(this.totalDuration()*n,s):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(n,s){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+Vx(this),s):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,s){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*i,s):this._repeat?Ma(this._tTime,i)+1:1},e.timeScale=function(n,s){if(!arguments.length)return this._rts===-Fe?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?Ed(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-Fe?0:this._rts,this.totalTime(Tc(-Math.abs(this._delay),this.totalDuration(),i),s!==!1),bf(this),P4(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Da(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Fe&&(this._tTime-=Fe)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=n;var s=this.parent||this._dp;return s&&(s._sort||!this.parent)&&Kn(s,this,n-this._delay),this}return this._start},e.endTime=function(n){return this._start+(Sr(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var s=this.parent||this._dp;return s?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ed(s.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=j4);var s=It;return It=n,s0(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),It=s,this},e.globalTime=function(n){for(var s=this,i=arguments.length?n:s.rawTime();s;)i=s._start+i/(Math.abs(s._ts)||1),s=s._dp;return!this.parent&&this._sat?this._sat.globalTime(n):i},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,Ux(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var s=this._time;return this._rDelay=n,Ux(this),s?this.time(s):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,s){return this.totalTime(Jr(this,n),Sr(s))},e.restart=function(n,s){return this.play().totalTime(n?-this._delay:0,Sr(s)),this._dur||(this._zTime=-Fe),this},e.play=function(n,s){return n!=null&&this.seek(n,s),this.reversed(!1).paused(!1)},e.reverse=function(n,s){return n!=null&&this.seek(n||this.totalDuration(),s),this.reversed(!0).paused(!1)},e.pause=function(n,s){return n!=null&&this.seek(n,s),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-Fe:0)),this):this._rts<0}
vendor: 9,890 bytes, line 205
205,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Fe,this},e.isActive=function(){var n=this.parent||this._dp,s=this._start,i;return!!(!n||this._ts&&this._initted&&n.isActive()&&(i=n.rawTime(!0))>=s&&i<this.endTime(!0)-Fe)},e.eventCallback=function(n,s,i){var o=this.vars;return arguments.length>1?(s?(o[n]=s,i&&(o[n+"Params"]=i),n==="onUpdate"&&(this._onUpdate=s)):delete o[n],this):o[n]},e.then=function(n){var s=this;return new Promise(function(i){var o=it(n)?n:Z_,a=function(){var u=s.then;s.then=null,it(o)&&(o=o(s))&&(o.then||o===s)&&(s.then=u),i(o),s.then=u};s._initted&&s.totalProgress()===1&&s._ts>=0||!s._tTime&&s._ts<0?a():s._prom=a})},e.kill=function(){dl(this)},t}();Xr(hc.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Fe,_prom:0,_ps:!1,_rts:1});var ur=function(t){z_(e,t);function e(n,s){var i;return n===void 0&&(n={}),i=t.call(this,n)||this,i.labels={},i.smoothChildTiming=!!n.smoothChildTiming,i.autoRemoveChildren=!!n.autoRemoveChildren,i._sort=Sr(n.sortChildren),Qe&&Kn(n.parent||Qe,gs(i),s),n.reversed&&i.reverse(),n.paused&&i.paused(!0),n.scrollTrigger&&t2(gs(i),n.scrollTrigger),i}var r=e.prototype;return r.to=function(s,i,o){return Rl(0,arguments,this),this},r.from=function(s,i,o){return Rl(1,arguments,this),this},r.fromTo=function(s,i,o,a){return Rl(2,arguments,this),this},r.set=function(s,i,o){return i.duration=0,i.parent=this,Pl(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new mt(s,i,Jr(this,o),1),this},r.call=function(s,i,o){return Kn(this,mt.delayedCall(0,s,i),o)},r.staggerTo=function(s,i,o,a,c,u,d){return o.duration=i,o.stagger=o.stagger||a,o.onComplete=u,o.onCompleteParams=d,o.parent=this,new mt(s,o,Jr(this,c)),this},r.staggerFrom=function(s,i,o,a,c,u,d){return o.runBackwards=1,Pl(o).immediateRender=Sr(o.immediateRender),this.staggerTo(s,i,o,a,c,u,d)},r.staggerFromTo=function(s,i,o,a,c,u,d,f){return a.startAt=o,Pl(a).immediateRender=Sr(a.immediateRender),this.staggerTo(s,i,a,c,u,d,f)},r.render=function(s,i,o){var a=this._time,c=this._dirty?this.totalDuration():this._tDur,u=this._dur,d=s<=0?0:gt(s),f=this._zTime<0!=s<0&&(this._initted||!u),m,h,b,p,v,x,g,w,_,C,N,S;if(this!==Qe&&d>c&&s>=0&&(d=c),d!==this._tTime||o||f){if(a!==this._time&&u&&(d+=this._time-a,s+=this._time-a),m=d,_=this._start,w=this._ts,x=!w,f&&(u||(a=this._zTime),(s||!i)&&(this._zTime=s)),this._repeat){if(N=this._yoyo,v=u+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(v*100+s,i,o);if(m=gt(d%v),d===c?(p=this._repeat,m=u):(C=gt(d/v),p=~~C,p&&p===C&&(m=u,p--),m>u&&(m=u)),C=Ma(this._tTime,v),!a&&this._tTime&&C!==p&&this._tTime-C*v-this._dur<=0&&(C=p),N&&p&1&&(m=u-m,S=1),p!==C&&!this._lock){var E=N&&C&1,k=E===(N&&p&1);if(p<C&&(E=!E),a=E?0:d%u?u:d,this._lock=1,this.render(a||(S?0:gt(p*v)),i,!u)._lock=0,this._tTime=d,!i&&this.parent&&Ur(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1),a&&a!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,c=this._tDur,k&&(this._lock=2,a=E?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;g2(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(g=O4(this,gt(a),gt(m)),g&&(d-=m-(m=g._start))),this._tTime=d,this._time=m,this._act=!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=s,a=0),!a&&d&&!i&&!C&&(Ur(this,"onStart"),this._tTime!==d))return this;if(m>=a&&s>=0)for(h=this._first;h;){if(b=h._next,(h._act||m>=h._start)&&h._ts&&g!==h){if(h.parent!==this)return this.render(s,i,o);if(h.render(h._ts>0?(m-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(m-h._start)*h._ts,i,o),m!==this._time||!this._ts&&!x){g=0,b&&(d+=this._zTime=-Fe);break}}h=b}else{h=this._last;for(var T=s<0?s:m;h;){if(b=h._prev,(h._act||T<=h._end)&&h._ts&&g!==h){if(h.parent!==this)return this.render(s,i,o);if(h.render(h._ts>0?(T-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(T-h._start)*h._ts,i,o||It&&s0(h)),m!==this._time||!this._ts&&!x){g=0,b&&(d+=this._zTime=T?-Fe:Fe);break}}h=b}}if(g&&!i&&(this.pause(),g.render(m>=a?0:-Fe)._zTime=m>=a?1:-1,this._ts))return this._start=_,bf(this),this.render(s,i,o);this._onUpdate&&!i&&Ur(this,"onUpdate",!0),(d===c&&this._tTime>=this.totalDuration()||!d&&a)&&(_===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((s||!u)&&(d===c&&this._ts>0||!d&&this._ts<0)&&Si(this,1),!i&&!(s<0&&!a)&&(d||a||!c)&&(Ur(this,d===c&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(d<c&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(s,i){var o=this;if(Ms(i)||(i=Jr(this,i,s)),!(s instanceof hc)){if(Jt(s))return s.forEach(function(a){return o.add(a,i)}),this;if(Pt(s))return this.addLabel(s,i);if(it(s))s=mt.delayedCall(0,s);else return this}return this!==s?Kn(this,s,i):this},r.getChildren=function(s,i,o,a){s===void 0&&(s=!0),i===void 0&&(i=!0),o===void 0&&(o=!0),a===void 0&&(a=-an);for(var c=[],u=this._first;u;)u._start>=a&&(u instanceof mt?i&&c.push(u):(o&&c.push(u),s&&c.push.apply(c,u.getChildren(!0,i,o)))),u=u._next;return c},r.getById=function(s){for(var i=this.getChildren(1,1,1),o=i.length;o--;)if(i[o].vars.id===s)return i[o]},r.remove=function(s){return Pt(s)?this.removeLabel(s):it(s)?this.killTweensOf(s):(s.parent===this&&wf(this,s),s===this._recent&&(this._recent=this._last),no(this))},r.totalTime=function(s,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=gt($r.time-(this._ts>0?s/this._ts:(this.totalDuration()-s)/-this._ts))),t.prototype.totalTime.call(this,s,i),this._forcing=0,this):this._tTime},r.addLabel=function(s,i){return this.labels[s]=Jr(this,i),this},r.removeLabel=function(s){return delete this.labels[s],this},r.addPause=function(s,i,o){var a=mt.delayedCall(0,i||uc,o);return a.data="isPause",this._hasPause=1,Kn(this,a,Jr(this,s))},r.removePause=function(s){var i=this._first;for(s=Jr(this,s);i;)i._start===s&&i.data==="isPause"&&Si(i),i=i._next},r.killTweensOf=function(s,i,o){for(var a=this.getTweensOf(s,o),c=a.length;c--;)si!==a[c]&&a[c].kill(s,i);return this},r.getTweensOf=function(s,i){for(var o=[],a=ln(s),c=this._first,u=Ms(i),d;c;)c instanceof mt?E4(c._targets,a)&&(u?(!si||c._initted&&c._ts)&&c.globalTime(0)<=i&&c.globalTime(c.totalDuration())>i:!i||c.isActive())&&o.push(c):(d=c.getTweensOf(a,i)).length&&o.push.apply(o,d),c=c._next;return o},r.tweenTo=function(s,i){i=i||{};var o=this,a=Jr(o,s),c=i,u=c.startAt,d=c.onStart,f=c.onStartParams,m=c.immediateRender,h,b=mt.to(o,Xr({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:i.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale())||Fe,onStart:function(){if(o.pause(),!h){var v=i.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale());b._dur!==v&&Oa(b,v,0,1).render(b._time,!0,!0),h=1}d&&d.apply(b,f||[])}},i));return m?b.render(0):b},r.tweenFromTo=function(s,i,o){return this.tweenTo(i,Xr({startAt:{time:Jr(this,s)}},o))},r.recent=function(){return this._recent},r.nextLabel=function(s){return s===void 0&&(s=this._time),Wx(this,Jr(this,s))},r.previousLabel=function(s){return s===void 0&&(s=this._time),Wx(this,Jr(this,s),1)},r.currentLabel=function(s){return arguments.length?this.seek(s,!0):this.previousLabel(this._time+Fe)},r.shiftChildren=function(s,i,o){o===void 0&&(o=0);for(var a=this._first,c=this.labels,u;a;)a._start>=o&&(a._start+=s,a._end+=s),a=a._next;if(i)for(u in c)c[u]>=o&&(c[u]+=s);return no(this)},r.invalidate=function(s){var i=this._first;for(this._lock=0;i;)i.invalidate(s),i=i._next;return t.prototype.invalidate.call(this,s)},r.clear=function(s){s===void 0&&(s=!0);for(var i=this._first,o;i;)o=i._next,this.remove(i),i=o;return this._dp&&(this._time=this._tTime=this._pTime=0),s&&(this.labels={}),no(this)},r.totalDuration=function(s){var i=0,o=this,a=o._last,c=an,u,d,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-s:s));if(o._dirty){for(f=o.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),d=a._start,d>c&&o._sort&&a._ts&&!o._lock?(o._lock=1,Kn(o,a,d-a._delay,1)._lock=0):c=d,d<0&&a._ts&&(i-=d,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=d/o._ts,o._time-=d,o._tTime-=d),o.shiftChildren(-d,!1,-1/0),c=0),a._end>i&&a._ts&&(i=a._end),a=u;Oa(o,o===Qe&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(s){if(Qe._ts&&(Q_(Qe,Ed(s,Qe)),K_=$r.frame),$r.frame>=$x){$x+=Yr.autoSleep||120;var i=Qe._first;if((!i||!i._ts)&&Yr.autoSleep&&$r._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||$r.sleep()}}},e}(hc);Xr(ur.prototype,{_lock:0,_hasPause:0,_forcing:0});var Q4=function(e,r,n,s,i,o,a){var c=new jr(this._pt,e,r,0,1,S2,null,i),u=0,d=0,f,m,h,b,p,v,x,g;for(c.b=n,c.e=s,n+="",s+="",(x=~s.indexOf("random("))&&(s=dc(s)),o&&(g=[n,s],o(g,e,r),n=g[0],s=g[1]),m=n.match(yh)||[];f=yh.exec(s);)b=f[0],p=s.substring(u,f.index),h?h=(h+1)%5:p.substr(-5)==="rgba("&&(h=1),b!==m[d++]&&(v=parseFloat(m[d-1])||0,c._pt={_next:c._pt,p:p||d===1?p:",",s:v,c:b.charAt(1)==="="?oa(v,b)-v:parseFloat(b)-v,m:h&&h<4?Math.round:0},u=yh.lastIndex);return c.c=u<s.length?s.substring(u,s.length):"",c.fp=a,(U_.test(s)||x)&&(c.e=0),this._pt=c,c},i0=function(e,r,n,s,i,o,a,c,u,d){it(s)&&(s=s(i||0,e,o));var f=e[r],m=n!=="get"?n:it(f)?u?e[r.indexOf("set")||!it(e["get"+r.substr(3)])?r:"get"+r.substr(3)](u):e[r]():f,h=it(f)?u?t3:_2:a0,b;if(Pt(s)&&(~s.indexOf("random(")&&(s=dc(s)),s.charAt(1)==="="&&(b=oa(m,s)+(qt(m)||0),(b||b===0)&&(s=b))),!d||m!==s||am)return!isNaN(m*s)&&s!==""?(b=new jr(this._pt,e,r,+m||0,s-(m||0),typeof f=="boolean"?n3:C2,0,h),u&&(b.fp=u),a&&b.modifier(a,this,e),this._pt=b):(!f&&!(r in e)&&e0(r,s),Q4.call(this,e,r,m,s,h,c||Yr.stringFilter,u))},q4=function(e,r,n,s,i){if(it(e)&&(e=Al(e,i,r,n,s)),!as(e)||e.style&&e.nodeType||Jt(e)||B_(e))return Pt(e)?Al(e,i,r,n,s):e;var o={},a;
vendor: 4,125 bytes, line 205
205for(a in e)o[a]=Al(e[a],i,r,n,s);return o},y2=function(e,r,n,s,i,o){var a,c,u,d;if(Lr[e]&&(a=new Lr[e]).init(i,a.rawVars?r[e]:q4(r[e],s,i,o,n),n,s,o)!==!1&&(n._pt=c=new jr(n._pt,i,e,0,1,a.render,a,0,a.priority),n!==Xo))for(u=n._ptLookup[n._targets.indexOf(i)],d=a._props.length;d--;)u[a._props[d]]=c;return a},si,am,o0=function t(e,r,n){var s=e.vars,i=s.ease,o=s.startAt,a=s.immediateRender,c=s.lazy,u=s.onUpdate,d=s.runBackwards,f=s.yoyoEase,m=s.keyframes,h=s.autoRevert,b=e._dur,p=e._startAt,v=e._targets,x=e.parent,g=x&&x.data==="nested"?x.vars.targets:v,w=e._overwrite==="auto"&&!Qg,_=e.timeline,C,N,S,E,k,T,D,R,$,O,U,L,F;if(_&&(!m||!i)&&(i="none"),e._ease=so(i,Ra.ease),e._yEase=f?m2(so(f===!0?i:f,Ra.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!_&&!!s.runBackwards,!_||m&&!s.stagger){if(R=v[0]?ro(v[0]).harness:0,L=R&&s[R.prop],C=jd(s,t0),p&&(p._zTime<0&&p.progress(1),r<0&&d&&a&&!h?p.render(-1,!0):p.revert(d&&b?Iu:N4),p._lazy=0),o){if(Si(e._startAt=mt.set(v,Xr({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!p&&Sr(c),startAt:null,delay:0,onUpdate:u&&function(){return Ur(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(It||!a&&!h)&&e._startAt.revert(Iu),a&&b&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(d&&b&&!p){if(r&&(a=!1),S=Xr({overwrite:!1,data:"isFromStart",lazy:a&&!p&&Sr(c),immediateRender:a,stagger:0,parent:x},C),L&&(S[R.prop]=L),Si(e._startAt=mt.set(v,S)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(It?e._startAt.revert(Iu):e._startAt.render(-1,!0)),e._zTime=r,!a)t(e._startAt,Fe,Fe);else if(!r)return}for(e._pt=e._ptCache=0,c=b&&Sr(c)||c&&!b,N=0;N<v.length;N++){if(k=v[N],D=k._gsap||n0(v)[N]._gsap,e._ptLookup[N]=O={},tm[D.id]&&vi.length&&Nd(),U=g===v?N:g.indexOf(k),R&&($=new R).init(k,L||C,e,U,g)!==!1&&(e._pt=E=new jr(e._pt,k,$.name,0,1,$.render,$,0,$.priority),$._props.forEach(function(P){O[P]=E}),$.priority&&(T=1)),!R||L)for(S in C)Lr[S]&&($=y2(S,C,e,U,k,g))?$.priority&&(T=1):O[S]=E=i0.call(e,k,S,"get",C[S],U,g,0,s.stringFilter);e._op&&e._op[N]&&e.kill(k,e._op[N]),w&&e._pt&&(si=e,Qe.killTweensOf(k,O,e.globalTime(r)),F=!e.parent,si=0),e._pt&&c&&(tm[D.id]=1)}T&&N2(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!F,m&&r<=0&&_.render(an,!0,!0)},Z4=function(e,r,n,s,i,o,a,c){var u=(e._pt&&e._ptCache||(e._ptCache={}))[r],d,f,m,h;if(!u)for(u=e._ptCache[r]=[],m=e._ptLookup,h=e._targets.length;h--;){if(d=m[h][r],d&&d.d&&d.d._pt)for(d=d.d._pt;d&&d.p!==r&&d.fp!==r;)d=d._next;if(!d)return am=1,e.vars[r]="+=0",o0(e,a),am=0,c?cc(r+" not eligible for reset"):1;u.push(d)}for(h=u.length;h--;)f=u[h],d=f._pt||f,d.s=(s||s===0)&&!i?s:d.s+(s||0)+o*d.c,d.c=n-d.s,f.e&&(f.e=ct(n)+qt(f.e)),f.b&&(f.b=d.s+qt(f.b))},J4=function(e,r){var n=e[0]?ro(e[0]).harness:0,s=n&&n.aliases,i,o,a,c;if(!s)return r;i=Aa({},r);for(o in s)if(o in i)for(c=s[o].split(","),a=c.length;a--;)i[c[a]]=i[o];return i},e3=function(e,r,n,s){var i=r.ease||s||"power1.inOut",o,a;if(Jt(r))a=n[e]||(n[e]=[]),r.forEach(function(c,u){return a.push({t:u/(r.length-1)*100,v:c,e:i})});else for(o in r)a=n[o]||(n[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:r[o],e:i})},Al=function(e,r,n,s,i){return it(e)?e.call(r,n,s,i):Pt(e)&&~e.indexOf("random(")?dc(e):e},w2=r0+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",b2={};Nr(w2+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return b2[t]=1});var mt=function(t){z_(e,t);function e(n,s,i,o){var a;typeof s=="number"&&(i.duration=s,s=i,i=null),a=t.call(this,o?s:Pl(s))||this;var c=a.vars,u=c.duration,d=c.delay,f=c.immediateRender,m=c.stagger,h=c.overwrite,b=c.keyframes,p=c.defaults,v=c.scrollTrigger,x=c.yoyoEase,g=s.parent||Qe,w=(Jt(n)||B_(n)?Ms(n[0]):"length"in s)?[n]:ln(n),_,C,N,S,E,k,T,D;if(a._targets=w.length?n0(w):cc("GSAP target "+n+" not found. https://gsap.com",!Yr.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=h,b||m||su(u)||su(d)){if(s=a.vars,_=a.timeline=new ur({data:"nested",defaults:p||{},targets:g&&g.data==="nested"?g.vars.targets:w}),_.kill(),_.parent=_._dp=gs(a),_._start=0,m||su(u)||su(d)){if(S=w.length,T=m&&i2(m),as(m))for(E in m)~w2.indexOf(E)&&(D||
vendor: 3,585 bytes, line 205
205(D={}),D[E]=m[E]);for(C=0;C<S;C++)N=jd(s,b2),N.stagger=0,x&&(N.yoyoEase=x),D&&Aa(N,D),k=w[C],N.duration=+Al(u,gs(a),C,k,w),N.delay=(+Al(d,gs(a),C,k,w)||0)-a._delay,!m&&S===1&&N.delay&&(a._delay=d=N.delay,a._start+=d,N.delay=0),_.to(k,N,T?T(C,k,w):0),_._ease=Ne.none;_.duration()?u=d=0:a.timeline=0}else if(b){Pl(Xr(_.vars.defaults,{ease:"none"})),_._ease=so(b.ease||s.ease||"none");var R=0,$,O,U;if(Jt(b))b.forEach(function(L){return _.to(w,L,">")}),_.duration();else{N={};for(E in b)E==="ease"||E==="easeEach"||e3(E,b[E],N,b.easeEach);for(E in N)for($=N[E].sort(function(L,F){return L.t-F.t}),R=0,C=0;C<$.length;C++)O=$[C],U={ease:O.e,duration:(O.t-(C?$[C-1].t:0))/100*u},U[E]=O.v,_.to(w,U,R),R+=U.duration;_.duration()<u&&_.to({},{duration:u-_.duration()})}}u||a.duration(u=_.duration())}else a.timeline=0;return h===!0&&!Qg&&(si=gs(a),Qe.killTweensOf(w),si=0),Kn(g,gs(a),i),s.reversed&&a.reverse(),s.paused&&a.paused(!0),(f||!u&&!b&&a._start===gt(g._time)&&Sr(f)&&R4(gs(a))&&g.data!=="nested")&&(a._tTime=-Fe,a.render(Math.max(0,-d)||0)),v&&t2(gs(a),v),a}var r=e.prototype;return r.render=function(s,i,o){var a=this._time,c=this._tDur,u=this._dur,d=s<0,f=s>c-Fe&&!d?c:s<Fe?0:s,m,h,b,p,v,x,g,w,_;if(!u)M4(this,s,i,o);else if(f!==this._tTime||!s||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==d||this._lazy){if(m=f,w=this.timeline,this._repeat){if(p=u+this._rDelay,this._repeat<-1&&d)return this.totalTime(p*100+s,i,o);if(m=gt(f%p),f===c?(b=this._repeat,m=u):(v=gt(f/p),b=~~v,b&&b===v?(m=u,b--):m>u&&(m=u)),x=this._yoyo&&b&1,x&&(_=this._yEase,m=u-m),v=Ma(this._tTime,p),m===a&&!o&&this._initted&&b===v)return this._tTime=f,this;b!==v&&(w&&this._yEase&&g2(w,x),this.vars.repeatRefresh&&!x&&!this._lock&&m!==p&&this._initted&&(this._lock=o=1,this.render(gt(p*b),!0).invalidate()._lock=0))}if(!this._initted){if(r2(this,d?s:m,o,i,f))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&b!==v))return this;if(u!==this._dur)return this.render(s,i,o)}if(this._tTime=f,this._time=m,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=g=(_||this._ease)(m/u),this._from&&(this.ratio=g=1-g),!a&&f&&!i&&!v&&(Ur(this,"onStart"),this._tTime!==f))return this;for(h=this._pt;h;)h.r(g,h.d),h=h._next;w&&w.render(s<0?s:w._dur*w._ease(m/this._dur),i,o)||this._startAt&&(this._zTime=s),this._onUpdate&&!i&&(d&&rm(this,s,i,o),Ur(this,"onUpdate")),this._repeat&&b!==v&&this.vars.onRepeat&&!i&&this.parent&&Ur(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(d&&!this._onUpdate&&rm(this,s,!0,!0),(s||!u)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Si(this,1),!i&&!(d&&!a)&&(f||a||x)&&(Ur(this,f===c?"onComplete":"onReverseComplete",!0),this._prom&&!(f<c&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(s){return(!s||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(s),t.prototype.invalidate.call(this,s)},r.resetTo=function(s,i,o,a,c){fc||$r.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),d;return this._initted||o0(this,u),d=this._ease(u/this._dur),Z4(this,s,i,o,a,d,u,c)?this.resetTo(s,i,o,a,1):(_f(this,0),this.parent||J_(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(s,i){if(i===void 0&&(i="all"),!s&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?dl(this):this.scrollTrigger&&this.scrollTrigger.kill(!!It),this;if(this.timeline){var o=this.timeline.totalDuration();
vendor: 5,769 bytes, line 205
205return this.timeline.killTweensOf(s,i,si&&si.vars.overwrite!==!0)._first||dl(this),this.parent&&o!==this.timeline.totalDuration()&&Oa(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,c=s?ln(s):a,u=this._ptLookup,d=this._pt,f,m,h,b,p,v,x;if((!i||i==="all")&&T4(a,c))return i==="all"&&(this._pt=0),dl(this);for(f=this._op=this._op||[],i!=="all"&&(Pt(i)&&(p={},Nr(i,function(g){return p[g]=1}),i=p),i=J4(a,i)),x=a.length;x--;)if(~c.indexOf(a[x])){m=u[x],i==="all"?(f[x]=i,b=m,h={}):(h=f[x]=f[x]||{},b=i);for(p in b)v=m&&m[p],v&&((!("kill"in v.d)||v.d.kill(p)===!0)&&wf(this,v,"_pt"),delete m[p]),h!=="all"&&(h[p]=1)}return this._initted&&!this._pt&&d&&dl(this),this},e.to=function(s,i){return new e(s,i,arguments[2])},e.from=function(s,i){return Rl(1,arguments)},e.delayedCall=function(s,i,o,a){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:s,onComplete:i,onReverseComplete:i,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(s,i,o){return Rl(2,arguments)},e.set=function(s,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(s,i)},e.killTweensOf=function(s,i,o){return Qe.killTweensOf(s,i,o)},e}(hc);Xr(mt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Nr("staggerTo,staggerFrom,staggerFromTo",function(t){mt[t]=function(){var e=new ur,r=sm.call(arguments,0);return r.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,r)}});var a0=function(e,r,n){return e[r]=n},_2=function(e,r,n){return e[r](n)},t3=function(e,r,n,s){return e[r](s.fp,n)},r3=function(e,r,n){return e.setAttribute(r,n)},l0=function(e,r){return it(e[r])?_2:qg(e[r])&&e.setAttribute?r3:a0},C2=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},n3=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},S2=function(e,r){var n=r._pt,s="";if(!e&&r.b)s=r.b;else if(e===1&&r.e)s=r.e;else{for(;n;)s=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+s,n=n._next;s+=r.c}r.set(r.t,r.p,s,r)},c0=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},s3=function(e,r,n,s){for(var i=this._pt,o;i;)o=i._next,i.p===s&&i.modifier(e,r,n),i=o},i3=function(e){for(var r=this._pt,n,s;r;)s=r._next,r.p===e&&!r.op||r.op===e?wf(this,r,"_pt"):r.dep||(n=1),r=s;return!n},o3=function(e,r,n,s){s.mSet(e,r,s.m.call(s.tween,n,s.mt),s)},N2=function(e){for(var r=e._pt,n,s,i,o;r;){for(n=r._next,s=i;s&&s.pr>r.pr;)s=s._next;(r._prev=s?s._prev:o)?r._prev._next=r:i=r,(r._next=s)?s._prev=r:o=r,r=n}e._pt=i},jr=function(){function t(r,n,s,i,o,a,c,u,d){this.t=n,this.s=i,this.c=o,this.p=s,this.r=a||C2,this.d=c||this,this.set=u||a0,this.pr=d||0,this._next=r,r&&(r._prev=this)}var e=t.prototype;return e.modifier=function(n,s,i){this.mSet=this.mSet||this.set,this.set=o3,this.m=n,this.mt=i,this.tween=s},t}();Nr(r0+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return t0[t]=1});Kr.TweenMax=Kr.TweenLite=mt;Kr.TimelineLite=Kr.TimelineMax=ur;Qe=new ur({sortChildren:!1,defaults:Ra,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Yr.stringFilter=p2;var io=[],Fu={},a3=[],Yx=0,l3=0,Sh=function(e){return(Fu[e]||a3).map(function(r){return r()})},lm=function(){var e=Date.now(),r=[];e-Yx>2&&(Sh("matchMediaInit"),io.forEach(function(n){var s=n.queries,i=n.conditions,o,a,c,u;for(a in s)o=Vn.matchMedia(s[a]).matches,o&&(c=1),o!==i[a]&&(i[a]=o,u=1);u&&(n.revert(),c&&r.push(n))}),Sh("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(s){return n.add(null,s)})}),Yx=e,Sh("matchMedia"))},j2=function(){function t(r,n){this.selector=n&&im(n),this.data=[],this._r=[],this.isReverted=!1,this.id=l3++,r&&this.add(r)}var e=t.prototype;return e.add=function(n,s,i){it(n)&&(i=s,s=n,n=it);var o=this,a=function(){var u=Ye,d=o.selector,f;return u&&u!==o&&u.data.push(o),i&&(o.selector=im(i)),Ye=o,f=s.apply(o,arguments),it(f)&&o._r.push(f),Ye=u,o.selector=d,o.isReverted=!1,f};return o.last=a,n===it?a(o,function(c){return o.add(null,c)}):n?o[n]=a:a},e.ignore=function(n){var s=Ye;Ye=null,n(this),Ye=s},e.getTweens=function(){var n=[];return this.data.forEach(function(s){return s instanceof t?n.push.apply(n,s.getTweens()):s instanceof mt&&!(s.parent&&s.parent.data==="nested")&&n.push(s)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,s){var i=this;if(n?function(){for(var a=i.getTweens(),c=i.data.length,u;c--;)u=i.data[c],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(d){return a.splice(a.indexOf(d),1)}));for(a.map(function(d){return{g:d._dur||d._delay||d._sat&&!d._sat.vars.immediateRender?d.globalTime(0):-1/0,t:d}}).sort(function(d,f){return f.g-d.g||-1/0}).forEach(function(d){return d.t.revert(n)}),c=i.data.length;c--;)u=i.data[c],u instanceof ur?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof mt)&&u.revert&&u.revert(n);i._r.forEach(function(d){return d(n,i)}),i.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),s)for(var o=io.length;o--;)io[o].id===this.id&&io.splice(o,1)},e.revert=function(n){this.kill(n||{})},t}(),c3=function(){function t(r){this.contexts=[],this.scope=r,Ye&&Ye.data.push(this)}var e=t.prototype;return e.add=function(n,s,i){as(n)||(n={matches:n});var o=new j2(0,i||this.scope),a=o.conditions={},c,u,d;Ye&&!o.selector&&(o.selector=Ye.selector),this.contexts.push(o),s=o.add("onMatch",s),o.queries=n;for(u in n)u==="all"?d=1:(c=Vn.matchMedia(n[u]),c&&(io.indexOf(o)<0&&io.push(o),(a[u]=c.matches)&&(d=1),c.addListener?c.addListener(lm):c.addEventListener("change",lm)));return d&&s(o,function(f){return o.add(null,f)}),this},e.revert=function(n){this.kill(n||{})}
vendor: 5,581 bytes, lines 205-212
205,e.kill=function(n){this.contexts.forEach(function(s){return s.kill(n,!0)})},t}(),kd={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.forEach(function(s){return d2(s)})},timeline:function(e){return new ur(e)},getTweensOf:function(e,r){return Qe.getTweensOf(e,r)},getProperty:function(e,r,n,s){Pt(e)&&(e=ln(e)[0]);var i=ro(e||{}).get,o=n?Z_:q_;return n==="native"&&(n=""),e&&(r?o((Lr[r]&&Lr[r].get||i)(e,r,n,s)):function(a,c,u){return o((Lr[a]&&Lr[a].get||i)(e,a,c,u))})},quickSetter:function(e,r,n){if(e=ln(e),e.length>1){var s=e.map(function(d){return Tr.quickSetter(d,r,n)}),i=s.length;return function(d){for(var f=i;f--;)s[f](d)}}e=e[0]||{};var o=Lr[r],a=ro(e),c=a.harness&&(a.harness.aliases||{})[r]||r,u=o?function(d){var f=new o;Xo._pt=0,f.init(e,n?d+n:d,Xo,0,[e]),f.render(1,f),Xo._pt&&c0(1,Xo)}:a.set(e,c);return o?u:function(d){return u(e,c,n?d+n:d,a,1)}},quickTo:function(e,r,n){var s,i=Tr.to(e,Xr((s={},s[r]="+=0.1",s.paused=!0,s.stagger=0,s),n||{})),o=function(c,u,d){return i.resetTo(r,c,u,d)};return o.tween=i,o},isTweening:function(e){return Qe.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=so(e.ease,Ra.ease)),Bx(Ra,e||{})},config:function(e){return Bx(Yr,e||{})},registerEffect:function(e){var r=e.name,n=e.effect,s=e.plugins,i=e.defaults,o=e.extendTimeline;(s||"").split(",").forEach(function(a){return a&&!Lr[a]&&!Kr[a]&&cc(r+" effect requires "+a+" plugin.")}),wh[r]=function(a,c,u){return n(ln(a),Xr(c||{},i),u)},o&&(ur.prototype[r]=function(a,c,u){return this.add(wh[r](a,as(c)?c:(u=c)&&{},this),u)})},registerEase:function(e,r){Ne[e]=so(r)},parseEase:function(e,r){return arguments.length?so(e,r):Ne},getById:function(e){return Qe.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new ur(e),s,i;for(n.smoothChildTiming=Sr(e.smoothChildTiming),Qe.remove(n),n._dp=0,n._time=n._tTime=Qe._time,s=Qe._first;s;)i=s._next,(r||!(!s._dur&&s instanceof mt&&s.vars.onComplete===s._targets[0]))&&Kn(n,s,s._start-s._delay),s=i;return Kn(Qe,n,0),n},context:function(e,r){return e?new j2(e,r):Ye},matchMedia:function(e){return new c3(e)},matchMediaRefresh:function(){return io.forEach(function(e){var r=e.conditions,n,s;for(s in r)r[s]&&(r[s]=!1,n=1);n&&e.revert()})||lm()},addEventListener:function(e,r){var n=Fu[e]||(Fu[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=Fu[e],s=n&&n.indexOf(r);s>=0&&n.splice(s,1)},utils:{wrap:B4,wrapYoyo:V4,distribute:i2,random:a2,snap:o2,normalize:$4,getUnit:qt,clamp:I4,splitColor:f2,toArray:ln,selector:im,mapRange:c2,pipe:F4,unitize:z4,interpolate:U4,shuffle:s2},install:Y_,effects:wh,ticker:$r,updateRoot:ur.updateRoot,plugins:Lr,globalTimeline:Qe,core:{PropTween:jr,globals:G_,Tween:mt,Timeline:ur,Animation:hc,getCache:ro,_removeLinkedListItem:wf,reverting:function(){return It},context:function(e){return e&&Ye&&(Ye.data.push(e),e._ctx=Ye),Ye},suppressOverwrites:function(e){return Qg=e}}};Nr("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return kd[t]=mt[t]});$r.add(ur.updateRoot);Xo=kd.to({},{duration:0});var u3=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},d3=function(e,r){var n=e._targets,s,i,o;for(s in r)for(i=n.length;i--;)o=e._ptLookup[i][s],o&&(o=o.d)&&(o._pt&&(o=u3(o,s)),o&&o.modifier&&o.modifier(r[s],e,n[i],s))},Nh=function(e,r){return{name:e,headless:1,rawVars:1,init:function(s,i,o){o._onInit=function(a){var c,u;if(Pt(i)&&(c={},Nr(i,function(d){return c[d]=1}),i=c),r){c={};for(u in i)c[u]=r(i[u]);i=c}d3(a,i)}}}},Tr=kd.registerPlugin({name:"attr",init:function(e,r,n,s,i){var o,a,c;this.tween=n;for(o in r)c=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(c||0)+"",r[o],s,i,0,0,o),a.op=o,a.b=c,this._props.push(o)},render:function(e,r){for(var n=r._pt;n;)It?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,r){for(var n=r.length;n--;)this.add(e,n,e[n]||0,r[n],0,0,0,0,0,1)}},Nh("roundProps",om),Nh("modifiers"),Nh("snap",o2))||kd;mt.version=ur.version=Tr.version="3.13.0";H_=1;Zg()&&Da();Ne.Power0;Ne.Power1;Ne.Power2;Ne.Power3;Ne.Power4;Ne.Linear;Ne.Quad;Ne.Cubic;Ne.Quart;Ne.Quint;Ne.Strong;Ne.Elastic;Ne.Back;Ne.SteppedEase;Ne.Bounce;Ne.Sine;Ne.Expo;Ne.Circ;/*! 206 * CSSPlugin 3.13.0 207 * https://gsap.com 208 * 209 * Copyright 2008-2025, GreenSock. All rights reserved. 210 * Subject to the terms at https://gsap.com/standard-license 211 * @author: Jack Doyle, [email protected] 212*/var Gx,ii,aa,u0,Yi,Kx,d0,f3=function(){return typeof window<"u"},Os={},$i=180/Math.PI,la=Math.PI/180,ko=Math.atan2,Xx=1e8,f0=/([A-Z])/g,h3=/(left|right|width|margin|padding|x)/i,p3=/[\s,\(]\S/,qn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},cm=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},m3=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},g3=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},v3=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},E2=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},k2=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},x3=function(e,r,n){return e.style[r]=n},y3=function(e,r,n){return e.style.setProperty(r,n)},w3=function(e,r,n){return e._gsap[r]=n},b3=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},_3=function(e,r,n,s,i){var o=e._gsap;o.scaleX=o.scaleY=n,o.renderTransform(i,o)},C3=function(e,r,n,s,i){var o=e._gsap;o[r]=n,o.renderTransform(i,o)},qe="transform",Er=qe+"Origin",S3=function t(e,r){var n=this,s=this.target,i=s.style,o=s._gsap;
vendor: 4,060 bytes, line 212
212if(e in Os&&i){if(this.tfm=this.tfm||{},e!=="transform")e=qn[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return n.tfm[a]=xs(s,a)}):this.tfm[e]=o.x?o[e]:xs(s,e),e===Er&&(this.tfm.zOrigin=o.zOrigin);else return qn.transform.split(",").forEach(function(a){return t.call(n,a,r)});if(this.props.indexOf(qe)>=0)return;o.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(Er,r,"")),e=qe}(i||r)&&this.props.push(e,r,i[e])},T2=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},N3=function(){var e=this.props,r=this.target,n=r.style,s=r._gsap,i,o;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?r[e[i]](e[i+2]):r[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(f0,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)s[o]=this.tfm[o];s.svg&&(s.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),i=d0(),(!i||!i.isStart)&&!n[qe]&&(T2(n),s.zOrigin&&n[Er]&&(n[Er]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},P2=function(e,r){var n={target:e,props:[],revert:N3,save:S3};return e._gsap||Tr.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(s){return n.save(s)}),n},R2,um=function(e,r){var n=ii.createElementNS?ii.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ii.createElement(e);return n&&n.style?n:ii.createElement(e)},cn=function t(e,r,n){var s=getComputedStyle(e);return s[r]||s.getPropertyValue(r.replace(f0,"-$1").toLowerCase())||s.getPropertyValue(r)||!n&&t(e,Ia(r)||r,1)||""},Qx="O,Moz,ms,Ms,Webkit".split(","),Ia=function(e,r,n){var s=r||Yi,i=s.style,o=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Qx[o]+e in i););return o<0?null:(o===3?"ms":o>=0?Qx[o]:"")+e},dm=function(){f3()&&window.document&&(Gx=window,ii=Gx.document,aa=ii.documentElement,Yi=um("div")||{style:{}},um("div"),qe=Ia(qe),Er=qe+"Origin",Yi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",R2=!!Ia("perspective"),d0=Tr.core.reverting,u0=1)},qx=function(e){var r=e.ownerSVGElement,n=um("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),s=e.cloneNode(!0),i;s.style.display="block",n.appendChild(s),aa.appendChild(n);try{i=s.getBBox()}catch{}return n.removeChild(s),aa.removeChild(n),i},Zx=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},A2=function(e){var r,n;try{r=e.getBBox()}catch{r=qx(e),n=1}return r&&(r.width||r.height)||n||(r=qx(e)),r&&!r.width&&!r.x&&!r.y?{x:+Zx(e,["x","cx","x1"])||0,y:+Zx(e,["y","cy","y1"])||0,width:0,height:0}:r},M2=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&A2(e))},go=function(e,r){if(r){var n=e.style,s;r in Os&&r!==Er&&(r=qe),n.removeProperty?(s=r.substr(0,2),(s==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(s==="--"?r:r.replace(f0,"-$1").toLowerCase())):n.removeAttribute(r)}},oi=function(e,r,n,s,i,o){var a=new jr(e._pt,r,n,0,1,o?k2:E2);return e._pt=a,a.b=s,a.e=i,e._props.push(n),a},Jx={deg:1,rad:1,turn:1},j3={grid:1,flex:1},Ni=function t(e,r,n,s){var i=parseFloat(n)||0,o=(n+"").trim().substr((i+"").length)||"px",a=Yi.style,c=h3.test(r),u=e.tagName.toLowerCase()==="svg",d=(u?"client":"offset")+(c?"Width":"Height"),f=100,m=s==="px",h=s==="%",b,p,v,x;if(s===o||!i||Jx[s]||Jx[o])return i;if(o!=="px"&&!m&&(i=t(e,r,n,"px")),x=e.getCTM&&M2(e),(h||o==="%")&&(Os[r]||~r.indexOf("adius")))return b=x?e.getBBox()[c?"width":"height"]:e[d],ct(h?i/b*f:i/100*b);if(a[c?"width":"height"]=f+(m?o:s),p=s!=="rem"&&~r.indexOf("adius")||s==="em"&&e.appendChild&&!u?e:e.parentNode,x&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===ii||!p.appendChild)&&(p=ii.body),v=p._gsap,v&&h&&v.width&&c&&v.time===$r.time&&!v.uncache)return ct(i/v.width*f);if(h&&(r==="height"||r==="width")){var g=e.style[r];e.style[r]=f+s,b=e[d],g?e.style[r]=g:go(e,r)}else(h||o==="%")&&!j3[cn(p,"display")]&&(a.position=cn(e,"position")),p===e&&(a.position="static"),p.appendChild(Yi),b=Yi[d],p.removeChild(Yi),a.position="absolute";
vendor: 4,818 bytes, line 212
212return c&&h&&(v=ro(p),v.time=$r.time,v.width=p[d]),ct(m?b*i/f:b&&i?f/b*i:0)},xs=function(e,r,n,s){var i;return u0||dm(),r in qn&&r!=="transform"&&(r=qn[r],~r.indexOf(",")&&(r=r.split(",")[0])),Os[r]&&r!=="transform"?(i=mc(e,s),i=r!=="transformOrigin"?i[r]:i.svg?i.origin:Pd(cn(e,Er))+" "+i.zOrigin+"px"):(i=e.style[r],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=Td[r]&&Td[r](e,r,n)||cn(e,r)||X_(e,r)||(r==="opacity"?1:0))),n&&!~(i+"").trim().indexOf(" ")?Ni(e,r,i,n)+n:i},E3=function(e,r,n,s){if(!n||n==="none"){var i=Ia(r,e,1),o=i&&cn(e,i,1);o&&o!==n?(r=i,n=o):r==="borderColor"&&(n=cn(e,"borderTopColor"))}var a=new jr(this._pt,e.style,r,0,1,S2),c=0,u=0,d,f,m,h,b,p,v,x,g,w,_,C;if(a.b=n,a.e=s,n+="",s+="",s.substring(0,6)==="var(--"&&(s=cn(e,s.substring(4,s.indexOf(")")))),s==="auto"&&(p=e.style[r],e.style[r]=s,s=cn(e,r)||s,p?e.style[r]=p:go(e,r)),d=[n,s],p2(d),n=d[0],s=d[1],m=n.match(Ko)||[],C=s.match(Ko)||[],C.length){for(;f=Ko.exec(s);)v=f[0],g=s.substring(c,f.index),b?b=(b+1)%5:(g.substr(-5)==="rgba("||g.substr(-5)==="hsla(")&&(b=1),v!==(p=m[u++]||"")&&(h=parseFloat(p)||0,_=p.substr((h+"").length),v.charAt(1)==="="&&(v=oa(h,v)+_),x=parseFloat(v),w=v.substr((x+"").length),c=Ko.lastIndex-w.length,w||(w=w||Yr.units[r]||_,c===s.length&&(s+=w,a.e+=w)),_!==w&&(h=Ni(e,r,p,w)||0),a._pt={_next:a._pt,p:g||u===1?g:",",s:h,c:x-h,m:b&&b<4||r==="zIndex"?Math.round:0});a.c=c<s.length?s.substring(c,s.length):""}else a.r=r==="display"&&s==="none"?k2:E2;return U_.test(s)&&(a.e=0),this._pt=a,a},ey={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},k3=function(e){var r=e.split(" "),n=r[0],s=r[1]||"50%";return(n==="top"||n==="bottom"||s==="left"||s==="right")&&(e=n,n=s,s=e),r[0]=ey[n]||n,r[1]=ey[s]||s,r.join(" ")},T3=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,s=n.style,i=r.u,o=n._gsap,a,c,u;if(i==="all"||i===!0)s.cssText="",c=1;else for(i=i.split(","),u=i.length;--u>-1;)a=i[u],Os[a]&&(c=1,a=a==="transformOrigin"?Er:qe),go(n,a);c&&(go(n,qe),o&&(o.svg&&n.removeAttribute("transform"),s.scale=s.rotate=s.translate="none",mc(n,1),o.uncache=1,T2(s)))}},Td={clearProps:function(e,r,n,s,i){if(i.data!=="isFromStart"){var o=e._pt=new jr(e._pt,r,n,0,0,T3);return o.u=s,o.pr=-10,o.tween=i,e._props.push(n),1}}},pc=[1,0,0,1,0,0],O2={},D2=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},ty=function(e){var r=cn(e,qe);return D2(r)?pc:r.substr(7).match(V_).map(ct)},h0=function(e,r){var n=e._gsap||ro(e),s=e.style,i=ty(e),o,a,c,u;return n.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,i=[c.a,c.b,c.c,c.d,c.e,c.f],i.join(",")==="1,0,0,1,0,0"?pc:i):(i===pc&&!e.offsetParent&&e!==aa&&!n.svg&&(c=s.display,s.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,a=e.nextElementSibling,aa.appendChild(e)),i=ty(e),c?s.display=c:go(e,"display"),u&&(a?o.insertBefore(e,a):o?o.appendChild(e):aa.removeChild(e))),r&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},fm=function(e,r,n,s,i,o){var a=e._gsap,c=i||h0(e,!0),u=a.xOrigin||0,d=a.yOrigin||0,f=a.xOffset||0,m=a.yOffset||0,h=c[0],b=c[1],p=c[2],v=c[3],x=c[4],g=c[5],w=r.split(" "),_=parseFloat(w[0])||0,C=parseFloat(w[1])||0,N,S,E,k;n?c!==pc&&(S=h*v-b*p)&&(E=_*(v/S)+C*(-p/S)+(p*g-v*x)/S,k=_*(-b/S)+C*(h/S)-(h*g-b*x)/S,_=E,C=k):(N=A2(e),_=N.x+(~w[0].indexOf("%")?_/100*N.width:_),C=N.y+(~(w[1]||w[0]).indexOf("%")?C/100*N.height:C)),s||s!==!1&&a.smooth?(x=_-u,g=C-d,a.xOffset=f+(x*h+g*p)-x,a.yOffset=m+(x*b+g*v)-g):a.xOffset=a.yOffset=0,a.xOrigin=_,a.yOrigin=C,a.smooth=!!s,a.origin=r,a.originIsAbsolute=!!n,e.style[Er]="0px 0px",o&&(oi(o,a,"xOrigin",u,_),oi(o,a,"yOrigin",d,C),oi(o,a,"xOffset",f,a.xOffset),oi(o,a,"yOffset",m,a.yOffset)),e.setAttribute("data-svg-origin",_+" "+C)},mc=function(e,r){var n=e._gsap||new x2(e);if("x"in n&&!r&&!n.uncache)return n;var s=e.style,i=n.scaleX<0,o="px",a="deg",c=getComputedStyle(e),u=cn(e,Er)||"0",d,f,m,h,b,p,v,x,g,w,_,C,N,S,E,k,T,D,R,$,O,U,L,F,P,A,j,H,Y,te,G,ce;return d=f=m=p=v=x=g=w=_=0,h=b=1,n.svg=!!(e.getCTM&&M2(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(s[qe]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[qe]!=="none"?c[qe]:"")),s.scale=s.rotate=s.translate="none"),S=h0(e,n.svg),n.svg&&(n.uncache?(P=e.getBBox(),u=n.xOrigin-P.x+"px "+(n.yOrigin-P.y)+"px",F=""):F=!r&&e.getAttribute("data-svg-origin"),fm(e,F||u,!!F||n.originIsAbsolute,n.smooth!==!1,S)),C=n.xOrigin||0,N=n.yOrigin||0,S!==pc&&(D=S[0],R=S[1],$=S[2],O=S[3],d=U=S[4],f=L=S[5],S.length===6?(h=Math.sqrt(D*D+R*R),b=Math.sqrt(O*O+$*$),p=D||R?ko(R,D)*$i:0,g=$||O?ko($,O)*$i+p:0,g&&(b*=Math.abs(Math.cos(g*la))),n.svg&&(d-=C-(C*D+N*$),f
vendor: 5,622 bytes, line 212
212-=N-(C*R+N*O))):(ce=S[6],te=S[7],j=S[8],H=S[9],Y=S[10],G=S[11],d=S[12],f=S[13],m=S[14],E=ko(ce,Y),v=E*$i,E&&(k=Math.cos(-E),T=Math.sin(-E),F=U*k+j*T,P=L*k+H*T,A=ce*k+Y*T,j=U*-T+j*k,H=L*-T+H*k,Y=ce*-T+Y*k,G=te*-T+G*k,U=F,L=P,ce=A),E=ko(-$,Y),x=E*$i,E&&(k=Math.cos(-E),T=Math.sin(-E),F=D*k-j*T,P=R*k-H*T,A=$*k-Y*T,G=O*T+G*k,D=F,R=P,$=A),E=ko(R,D),p=E*$i,E&&(k=Math.cos(E),T=Math.sin(E),F=D*k+R*T,P=U*k+L*T,R=R*k-D*T,L=L*k-U*T,D=F,U=P),v&&Math.abs(v)+Math.abs(p)>359.9&&(v=p=0,x=180-x),h=ct(Math.sqrt(D*D+R*R+$*$)),b=ct(Math.sqrt(L*L+ce*ce)),E=ko(U,L),g=Math.abs(E)>2e-4?E*$i:0,_=G?1/(G<0?-G:G):0),n.svg&&(F=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!D2(cn(e,qe)),F&&e.setAttribute("transform",F))),Math.abs(g)>90&&Math.abs(g)<270&&(i?(h*=-1,g+=p<=0?180:-180,p+=p<=0?180:-180):(b*=-1,g+=g<=0?180:-180)),r=r||n.uncache,n.x=d-((n.xPercent=d&&(!r&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-d)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+o,n.y=f-((n.yPercent=f&&(!r&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+o,n.z=m+o,n.scaleX=ct(h),n.scaleY=ct(b),n.rotation=ct(p)+a,n.rotationX=ct(v)+a,n.rotationY=ct(x)+a,n.skewX=g+a,n.skewY=w+a,n.transformPerspective=_+o,(n.zOrigin=parseFloat(u.split(" ")[2])||!r&&n.zOrigin||0)&&(s[Er]=Pd(u)),n.xOffset=n.yOffset=0,n.force3D=Yr.force3D,n.renderTransform=n.svg?R3:R2?I2:P3,n.uncache=0,n},Pd=function(e){return(e=e.split(" "))[0]+" "+e[1]},jh=function(e,r,n){var s=qt(r);return ct(parseFloat(r)+parseFloat(Ni(e,"x",n+"px",s)))+s},P3=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,I2(e,r)},Ii="0deg",sl="0px",Li=") ",I2=function(e,r){var n=r||this,s=n.xPercent,i=n.yPercent,o=n.x,a=n.y,c=n.z,u=n.rotation,d=n.rotationY,f=n.rotationX,m=n.skewX,h=n.skewY,b=n.scaleX,p=n.scaleY,v=n.transformPerspective,x=n.force3D,g=n.target,w=n.zOrigin,_="",C=x==="auto"&&e&&e!==1||x===!0;if(w&&(f!==Ii||d!==Ii)){var N=parseFloat(d)*la,S=Math.sin(N),E=Math.cos(N),k;N=parseFloat(f)*la,k=Math.cos(N),o=jh(g,o,S*k*-w),a=jh(g,a,-Math.sin(N)*-w),c=jh(g,c,E*k*-w+w)}v!==sl&&(_+="perspective("+v+Li),(s||i)&&(_+="translate("+s+"%, "+i+"%) "),(C||o!==sl||a!==sl||c!==sl)&&(_+=c!==sl||C?"translate3d("+o+", "+a+", "+c+") ":"translate("+o+", "+a+Li),u!==Ii&&(_+="rotate("+u+Li),d!==Ii&&(_+="rotateY("+d+Li),f!==Ii&&(_+="rotateX("+f+Li),(m!==Ii||h!==Ii)&&(_+="skew("+m+", "+h+Li),(b!==1||p!==1)&&(_+="scale("+b+", "+p+Li),g.style[qe]=_||"translate(0, 0)"},R3=function(e,r){var n=r||this,s=n.xPercent,i=n.yPercent,o=n.x,a=n.y,c=n.rotation,u=n.skewX,d=n.skewY,f=n.scaleX,m=n.scaleY,h=n.target,b=n.xOrigin,p=n.yOrigin,v=n.xOffset,x=n.yOffset,g=n.forceCSS,w=parseFloat(o),_=parseFloat(a),C,N,S,E,k;c=parseFloat(c),u=parseFloat(u),d=parseFloat(d),d&&(d=parseFloat(d),u+=d,c+=d),c||u?(c*=la,u*=la,C=Math.cos(c)*f,N=Math.sin(c)*f,S=Math.sin(c-u)*-m,E=Math.cos(c-u)*m,u&&(d*=la,k=Math.tan(u-d),k=Math.sqrt(1+k*k),S*=k,E*=k,d&&(k=Math.tan(d),k=Math.sqrt(1+k*k),C*=k,N*=k)),C=ct(C),N=ct(N),S=ct(S),E=ct(E)):(C=f,E=m,N=S=0),(w&&!~(o+"").indexOf("px")||_&&!~(a+"").indexOf("px"))&&(w=Ni(h,"x",o,"px"),_=Ni(h,"y",a,"px")),(b||p||v||x)&&(w=ct(w+b-(b*C+p*S)+v),_=ct(_+p-(b*N+p*E)+x)),(s||i)&&(k=h.getBBox(),w=ct(w+s/100*k.width),_=ct(_+i/100*k.height)),k="matrix("+C+","+N+","+S+","+E+","+w+","+_+")",h.setAttribute("transform",k),g&&(h.style[qe]=k)},A3=function(e,r,n,s,i){var o=360,a=Pt(i),c=parseFloat(i)*(a&&~i.indexOf("rad")?$i:1),u=c-s,d=s+u+"deg",f,m;return a&&(f=i.split("_")[1],f==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),f==="cw"&&u<0?u=(u+o*Xx)%o-~~(u/o)*o:f==="ccw"&&u>0&&(u=(u-o*Xx)%o-~~(u/o)*o)),e._pt=m=new jr(e._pt,r,n,s,u,m3),m.e=d,m.u="deg",e._props.push(n),m},ry=function(e,r){for(var n in r)e[n]=r[n];return e},M3=function(e,r,n){var s=ry({},n._gsap),i="perspective,force3D,transformOrigin,svgOrigin",o=n.style,a,c,u,d,f,m,h,b;s.svg?(u=n.getAttribute("transform"),n.setAttribute("transform",""),o[qe]=r,a=mc(n,1),go(n,qe),n.setAttribute("transform",u)):(u=getComputedStyle(n)[qe],o[qe]=r,a=mc(n,1),o[qe]=u);for(c in Os)u=s[c],d=a[c],u!==d&&i.indexOf(c)<0&&(h=qt(u),b=qt(d),f=h!==b?Ni(n,c,u,b):parseFloat(u),m=parseFloat(d),e._pt=new jr(e._pt,a,c,f,m-f,cm),e._pt.u=b||0,e._props.push(c));ry(a,s)};Nr("padding,margin,Width,Radius",function(t,e){var r="Top",n="Right",s="Bottom",i="Left",o=(e<3?[r,n,s,i]:[r+i,r+n,s+n,s+i]).map(function(a){return e<2?t+a:"border"+a+t});Td[e>1?"border"+t:t]=function(a,c,u,d,f){var m,h;if(arguments.length<4)return m=o.map(function(b){return xs(a,b,u)}),h=m.join(" "),h.split(m[0]).length===5?m[0]:h;m=(d+"").split(" "),h={},o.forEach(function(b,p){return h[b]=m[p]=m[p]||m[(p-1)/2|0]}),a.init(c,h,f)}});var L2={name:"css",register:dm,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,n,s,i){var o=this._props,a=e.style,c=n.vars.startAt,u,d,f,m,h,b,p,v,x,g,w,_,C,N,S,E;u0||dm(),this.styles=this.styles||P2(e),E=this.styles.props,this.tween=n;for(p in r)if(p!=="autoRound"&&(d=r[p],!(Lr[p]&&y2(p,r,n,s,e,i)))){if(h=typeof d,b=Td[p],h==="function"&&(d=d.call(n,s,e,i),h=typeof d),h==="string"&&~d.indexOf("random(")&&(d=dc(d)),b)b(this,e,p,d,n)&&(S=1);else if(p.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(p)+"").trim(),d+="",xi.lastIndex=0,xi.test(u)||(v=qt(u),x=qt(d)),x?v!==x&&(u=Ni(e,p,u,x)+x):v&&(d+=v),this.add(a,"setProperty",u,d,s,i,0,0,p),o.push(p),E.push(p,0,a[p]);else if(h!=="undefined"){if(c&&p in c?(u=typeof c[p]=="function"?c[p].call(n,s,e,i):c[p],Pt(u)&&~u.indexOf("random(")&&(u=dc(u)),qt(u+"")||u==="auto"||(u+=Yr.units[p]||qt(xs(e,p))||""),(u+"").charAt(1)==="="&&(u=xs(e,p))):u=xs(e,p),m=parseFloat(u),g=h==="str
212ing"&&d.charAt(1)==="="&&d.substr(0,2),g&&(d=d.substr(2)),f=parseFloat(d),p in qn&&(p==="autoAlpha"&&(m===1&&xs(e,"visibility")==="hidden"&&f&&(m=0),E.push("visibility",0,a.visibility),oi(this,a,"visibility",m?"inherit":"hidden",f?"inherit":"hidden",!f)),p!=="scale"&&p!=="transform"&&(p=qn[p],~p.indexOf(",")&&(p=p.split(",")[0]))),w=p in Os,w){if(this.styles.save(p),h==="string"&&d.substring(0,6)==="var(--"&&(d=cn(e,d.substring(4,d.indexOf(")"))),f=parseFloat(d)),_||(C=e._gsap,C.renderTransform&&!r.parseTransform||mc(e,r.parseTransform),N=r.smoothOrigin!==!1&&C.smooth,_=this._pt=new jr(this._pt,a,qe,0,1,C.renderTransform,C,0,-1),_.dep=1),p==="scale")this._pt=new jr(this._pt,C,"scaleY",C.scaleY,(g?oa(C.scaleY,g+f):f)-C.scaleY||0,cm),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){E.push(Er,0,a[Er]),d=k3(d),C.svg?fm(e,d,0,N,0,this):(x=parseFloat(d.split(" ")[2])||0,x!==C.zOrigin&&oi(this,C,"zOrigin",C.zOrigin,x),oi(this,a,p,Pd(u),Pd(d)));continue}else if(p==="svgOrigin"){fm(e,d,1,N,0,this);continue}else if(p in O2){A3(this,C,p,m,g?oa(m,g+d):d);continue}else if(p==="smoothOrigin"){oi(this,C,"smooth",C.smooth,d);continue}else if(p==="force3D"){C[p]=d;continue}else if(p==="transform"){M3(this,d,e);continue}}else p in a||(p=Ia(p)||p);if(w||(f||f===0)&&(m||m===0)&&!p3.test(d)&&p in a)v=(u+"").substr((m+"").length),f||(f=0),x=qt(d)||(p in Yr.units?Yr.units[p]:v),v!==x&&(m=Ni(e,p,u,x)),this._pt=new jr(this._pt,w?C:a,p,m,(g?oa(m,g+f):f)-m,!w&&(x==="px"||p==="zIndex")&&r.autoRound!==!1?v3:cm),this._pt.u=x||0,v!==x&&x!=="%"&&(this._pt.b=u,this._pt.r=g3);else if(p in a)E3.call(this,e,p,u,g?g+d:d);else if(p in e)this.add(e,p,u||e[p],g?g+d:d,s,i);else if(p!=="parseTransform"){e0(p,d);continue}w||(p in a?E.push(p,0,a[p]):typeof e[p]=="function"?E.push(p,2,e[p]()):E.push(p,1,u||e[p])),o.push(p)}}S&&N2(this)},render:function(e,r){if(r.tween._time||!d0())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:xs,aliases:qn,getSetter:function(e,r,n){var s=qn[r];return s&&s.indexOf(",")<0&&(r=s),r in Os&&r!==Er&&(e._gsap.x||xs(e,"x"))?n&&Kx===n?r==="scale"?b3:w3:(Kx=n||{})&&(r==="scale"?_3:C3):e.style&&!qg(e.style[r])?x3:~r.indexOf("-")?y3:l0(e,r)},core:{_removeProperty:go,_getMatrix:h0}};Tr.utils.checkPrefix=Ia;Tr.core.getStyleSaver=P2;(function(t,e,r,n){var s=Nr(t+","+e+","+r,function(i){Os[i]=1});Nr(e,function(i){Yr.units[i]="deg",O2[i]=1}),qn[s[13]]=t+","+e,Nr(n,function(i){var o=i.split(":");qn[o[1]]=s[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Nr("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Yr.units[t]="px"});Tr.registerPlugin(L2);var ns=Tr.registerPlugin(L2)||Tr;ns.core.Tween;const O3=()=>{const t=Xg(),e=y.useMemo(()=>t?{x:550,y:45}:{x:600,y:200},[t]),r=y.useRef(null),n=y.useRef(null);return y.useEffect(()=>{if(n.current&&r.current){ns.set(n.current,{x:e.x-100,y:e.y+50,opacity:.3}),ns.to(n.current,{x:e.x,y:e.y,opacity:1,duration:3,ease:"power2.out",delay:.5});const s=n.current.querySelectorAll("#lightBeams rect");ns.fromTo(s,{opacity:0,scale:.8},{opacity:.6,scale:1,duration:2.5,stagger:.08,delay:1,ease:"power2.out"})}},[t,e]),l.jsx("div",{className:"absolute inset-0 w-full h-full overflow-hidden",children:l.jsxs("svg",{ref:r,viewBox:"0 0 800 600",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",preserveAspectRatio:"xMidYMid slice",children:[l.jsxs("defs",{children:[l.jsxs("linearGradient",{id:"bgGradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[l.jsx("stop",{offset:"0%",stopColor:"#F2FCE2"}),l.jsx("stop",{offset:"100%",stopColor:"#D7F5C2"}),l.jsx("animate",{attributeName:"x1",values:"0%;100%;0%",dur:"30s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"y1",values:"0%;100%;0%",dur:"35s",repeatCount:"indefinite"})]}),l.jsxs("radialGradient",{id:"energyCore",cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%",children:[l.jsx("stop",{offset:"0%",stopColor:"#FFD54F",stopOpacity:"0.9"}),l.jsx("stop",{offset:"80%",stopColor:"#FF9800",stopOpacity:"0.6"}),l.jsx("stop",{offset:"100%",stopColor:"#FF5722",stopOpacity:"0"}),l.jsx("animate",{attributeName:"cx",values:"50%;45%;55%;
21250%",dur:"20s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"50%;55%;45%;50%",dur:"18s",repeatCount:"indefinite"})]}),l.jsxs("linearGradient",{id:"waveGradient1",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[l.jsx("stop",{offset:"0%",stopColor:"#A5D6A7"}),l.jsx("stop",{offset:"100%",stopColor:"#66BB6A"})]}),l.jsxs("linearGradient",{id:"waveGradient2",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[l.jsx("stop",{offset:"0%",stopColor:"#F2FCE2"}),l.jsx("stop",{offset:"100%",stopColor:"#D7F5C2"})]}),l.jsxs("linearGradient",{id:"waveGradient3",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[l.jsx("stop",{offset:"0%",stopColor:"#FFFFFF"}),l.jsx("stop",{offset:"100%",stopColor:"#FFFFFF"})]}),l.jsxs("filter",{id:"glow",children:[l.jsx("feGaussianBlur",{stdDeviation:"5",result:"coloredBlur"}),l.jsxs("feMerge",{children:[l.jsx("feMergeNode",{in:"coloredBlur"}),l.jsx("feMergeNode",{in:"SourceGraphic"})]})]})]}),l.jsx("rect",{width:"800",height:"600",fill:"url(#bgGradient)"}),l.jsx("g",{id:"waves",opacity:"0.85",children:l.jsx("path",{d:"M0,350 C100,300 300,400 400,350 S600,250 800,350 V600 H0 Z",fill:"url(#waveGradient1)",children:l.jsx("animate",{repeatCount:"indefinite",attributeName:"d",dur:"15s",values:`M0,350 C100,300 300,400 400,350 S600,250 800,350 V600 H0 Z; 213 M0,350 C100,400 300,300 400,350 S600,450 800,350 V600 H0 Z; 214 M0,350 C100,300 300,400 400,350 S600,250 800,350 V600 H0 Z`})})}),l.jsxs("g",{ref:n,id:"sun",transform:`translate(${e.x}, ${e.y})`,children:[l.jsx("g",{id:"lightBeams",opacity:"0.2",children:[0,45,90,135,180,225,270,315].map(s=>l.jsxs("rect",{width:"4",height:"200",fill:"url(#energyCore)",transform:`rotate(${s})`,x:"-2",y:"0",opacity:"0.6",children:[l.jsx("animate",{attributeName:"height",values:"200;180;200",dur:"3s",repeatCount:"indefinite",begin:`${s/360}s`}),l.jsx("animate",{attributeName:"opacity",values:"0.6;0.3;0.6",dur:"4s",repeatCount:"indefinite",begin:`${s/360}s`})]},s))}),l.jsxs("g",{id:"energyCore",children:[l.jsx("circle",{r:"50",fill:"url(#energyCore)",filter:"url(#glow)",children:l.jsx("animate",{attributeName:"r",values:"50;55;50",dur:"8s",repeatCount:"indefinite"})}),l.jsx("circle",{r:"60",fill:"none",stroke:"#FFCA28",strokeWidth:"3",opacity:"0.5",children:l.jsx("animate",{attributeName:"r",values:"60;65;60",dur:"10s",repeatCount:"indefinite"})})]})]}),l.jsxs("g",{id:"particles",children:[l.jsxs("circle",{cx:"100",cy:"100",r:"3",fill:"#B2FF59",children:[l.jsx("animate",{attributeName:"cx",values:"100;150;100",dur:"12s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"100;120;100",dur:"15s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"300",cy:"100",r:"3",fill:"#B2FF59",children:[l.jsx("animate",{attributeName:"cx",values:"300;350;300",dur:"16s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"100;150;100",dur:"13s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"500",cy:"100",r:"3",fill:"#B2FF59",children:[l.jsx("animate",{attributeName:"cx",values:"500;550;500",dur:"14s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"100;130;100",dur:"17s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"700",cy:"200",r:"2",fill:"#64B5F6",children:[l.jsx("animate",{attributeName:"cx",values:"700;650;700",dur:"14s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"200;180;200",dur:"17s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"400",cy:"500",r:"2",fill:"#64B5F6",children:[l.jsx("animate",{attributeName:"cx",values:"400;450;400",dur:"18s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"500;480;500",dur:"15s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"200",cy:"300",r:"2",fill:"#64B5F6",children:[l.jsx("animate",{attributeName:"cx",values:"200;220;200",dur:"20s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"300;320;300",dur:"16s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"200",cy:"500",r:"4",fill:"#FFD740",children:[l.jsx("animate",{attributeName:"cx",values:"200;250;
214200",dur:"16s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"500;480;500",dur:"19s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"100",cy:"200",r:"4",fill:"#FFD740",children:[l.jsx("animate",{attributeName:"cx",values:"100;130;100",dur:"22s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"200;240;200",dur:"18s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"300",cy:"300",r:"4",fill:"#FFD740",children:[l.jsx("animate",{attributeName:"cx",values:"300;340;300",dur:"20s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"300;330;300",dur:"17s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"150",cy:"150",r:"3",fill:"#8BC34A",children:[l.jsx("animate",{attributeName:"cx",values:"150;180;150",dur:"13s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"150;180;150",dur:"16s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"r",values:"3;4;3",dur:"9s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"250",cy:"120",r:"2",fill:"#CDDC39",children:[l.jsx("animate",{attributeName:"cx",values:"250;290;250",dur:"15s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"120;150;120",dur:"18s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"r",values:"2;3;2",dur:"7s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"600",cy:"150",r:"5",fill:"#FFC107",opacity:"0.6",children:[l.jsx("animate",{attributeName:"cx",values:"600;640;600",dur:"19s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"150;170;150",dur:"23s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"opacity",values:"0.6;0.3;0.6",dur:"11s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"400",cy:"200",r:"4",fill:"#4CAF50",opacity:"0.5",children:[l.jsx("animate",{attributeName:"cx",values:"400;430;400",dur:"21s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"200;230;200",dur:"18s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"opacity",values:"0.5;0.7;0.5",dur:"13s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"550",cy:"350",r:"3",fill:"#03A9F4",opacity:"0.4",children:[l.jsx("animate",{attributeName:"cx",values:"550;580;550",dur:"17s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"350;320;350",dur:"20s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"opacity",values:"0.4;0.6;0.4",dur:"14s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"150",cy:"400",r:"2",fill:"#E1F5FE",children:[l.jsx("animate",{attributeName:"cx",values:"150;170;150",dur:"22s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"400;420;400",dur:"25s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"350",cy:"450",r:"3",fill:"#F1F8E9",children:[l.jsx("animate",{attributeName:"cx",values:"350;370;350",dur:"24s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"450;430;450",dur:"21s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"50",cy:"300",r:"2",fill:"#DCEDC8",opacity:"0.7",children:[l.jsx("animate",{attributeName:"cx",values:"50;70;50",dur:"18s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"300;320;300",dur:"22s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"opacity",values:"0.7;0.4;0.7",dur:"10s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"700",cy:"300",r:"3",fill:"#FFF9C4",opacity:"0.6",children:[l.jsx("animate",{attributeName:"cx",values:"700;680;700",dur:"26s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"300;320;300",dur:"23s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"opacity",values:"0.6;0.8;0.6",dur:"15s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"250",cy:"220",r:"4",fill:"#FFECB3",opacity:"0.5",children:[l.jsx("animate",{attributeName:"cx",values:"250;280;250",dur:"20s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"220;240;220",dur:"16s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"opacity",values:"0.5;0.7;0.5",dur:"12s",repeatCount:"indefinite"})]}),l.jsxs("circle",{cx:"500",cy:"400",r:"3",fill:"#C8E6C9",opacity:"0.6",children:[l.jsx("animate",{attributeName:"cx",values:"500;520;
vendor: 4,112 bytes, lines 214-221
214500",dur:"19s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"cy",values:"400;380;400",dur:"17s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"opacity",values:"0.6;0.4;0.6",dur:"13s",repeatCount:"indefinite"})]})]})]})})};function D3(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function I3(t,e,r){return e&&D3(t.prototype,e),t}/*! 215 * Observer 3.13.0 216 * https://gsap.com 217 * 218 * @license Copyright 2008-2025, GreenSock. All rights reserved. 219 * Subject to the terms at https://gsap.com/standard-license 220 * @author: Jack Doyle, [email protected] 221*/var Ot,zu,Br,ai,li,ca,F2,Bi,Ml,z2,Ss,yn,$2,B2=function(){return Ot||typeof window<"u"&&(Ot=window.gsap)&&Ot.registerPlugin&&Ot},V2=1,Qo=[],_e=[],ss=[],Ol=Date.now,hm=function(e,r){return r},L3=function(){var e=Ml.core,r=e.bridge||{},n=e._scrollers,s=e._proxies;n.push.apply(n,_e),s.push.apply(s,ss),_e=n,ss=s,hm=function(o,a){return r[o](a)}},yi=function(e,r){return~ss.indexOf(e)&&ss[ss.indexOf(e)+1][r]},Dl=function(e){return!!~z2.indexOf(e)},nr=function(e,r,n,s,i){return e.addEventListener(r,n,{passive:s!==!1,capture:!!i})},rr=function(e,r,n,s){return e.removeEventListener(r,n,!!s)},iu="scrollLeft",ou="scrollTop",pm=function(){return Ss&&Ss.isPressed||_e.cache++},Rd=function(e,r){var n=function s(i){if(i||i===0){V2&&(Br.history.scrollRestoration="manual");var o=Ss&&Ss.isPressed;i=s.v=Math.round(i)||(Ss&&Ss.iOS?1:0),e(i),s.cacheID=_e.cache,o&&hm("ss",i)}else(r||_e.cache!==s.cacheID||hm("ref"))&&(s.cacheID=_e.cache,s.v=e());return s.v+s.offset};return n.offset=0,e&&n},dr={s:iu,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Rd(function(t){return arguments.length?Br.scrollTo(t,_t.sc()):Br.pageXOffset||ai[iu]||li[iu]||ca[iu]||0})},_t={s:ou,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:dr,sc:Rd(function(t){return arguments.length?Br.scrollTo(dr.sc(),t):Br.pageYOffset||ai[ou]||li[ou]||ca[ou]||0})},xr=function(e,r){return(r&&r._ctx&&r._ctx.selector||Ot.utils.toArray)(e)[0]||(typeof e=="string"&&Ot.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},F3=function(e,r){for(var n=r.length;n--;)if(r[n]===e||r[n].contains(e))return!0;return!1},ji=function(e,r){var n=r.s,s=r.sc;Dl(e)&&(e=ai.scrollingElement||li);var i=_e.indexOf(e),o=s===_t.sc?1:2;!~i&&(i=_e.push(e)-1),_e[i+o]||nr(e,"scroll",pm);var a=_e[i+o],c=a||(_e[i+o]=Rd(yi(e,n),!0)||(Dl(e)?s:Rd(function(u){return arguments.length?e[n]=u:e[n]})));return c.target=e,a||(c.smooth=Ot.getProperty(e,"scrollBehavior")==="smooth"),c},mm=function(e,r,n){var s=e,i=e,o=Ol(),a=o,c=r||50,u=Math.max(500,c*3),d=function(b,p){var v=Ol();p||v-o>c?(i=s,s=b,a=o,o=v):n?s+=b:s=i+(b-i)/(v-a)*(o-a)},f=function(){i=s=n?0:s,a=o=0},m=function(b){var p=a,v=i,x=Ol();return(b||b===0)&&b!==s&&d(b),o===a||x-a>u?0:(s+(n?v:-v))/((n?x:o)-p)*1e3};return{update:d,reset:f,getVelocity:m}},il=function(e,r){return r&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},ny=function(e){var r=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(r)>=Math.abs(n)?r:n},U2=function(){Ml=Ot.core.globals().ScrollTrigger,Ml&&Ml.core&&L3()},W2=function(e){return Ot=e||B2(),!zu&&Ot&&typeof document<"u"&&document.body&&(Br=window,ai=document,li=ai.documentElement,ca=ai.body,z2=[Br,ai,li,ca],Ot.utils.clamp,$2=Ot.core.context||function(){},Bi="onpointerenter"in ca?"pointer":"mouse",F2=dt.isTouch=Br.matchMedia&&Br.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Br||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,yn=dt.eventTypes=("ontouchstart"in li?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in li?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return V2=0},500),U2(),zu=1),zu};dr.op=_t;_e.cache=0;var dt=function(){function t(r){this.init(r)}var e=t.prototype;return e.init=function(n){zu||W2(Ot)||console.warn("Please gsap.registerPlugin(Observer)"),Ml||U2();
vendor: 4,362 bytes, line 221
221var s=n.tolerance,i=n.dragMinimum,o=n.type,a=n.target,c=n.lineHeight,u=n.debounce,d=n.preventDefault,f=n.onStop,m=n.onStopDelay,h=n.ignore,b=n.wheelSpeed,p=n.event,v=n.onDragStart,x=n.onDragEnd,g=n.onDrag,w=n.onPress,_=n.onRelease,C=n.onRight,N=n.onLeft,S=n.onUp,E=n.onDown,k=n.onChangeX,T=n.onChangeY,D=n.onChange,R=n.onToggleX,$=n.onToggleY,O=n.onHover,U=n.onHoverEnd,L=n.onMove,F=n.ignoreCheck,P=n.isNormalizer,A=n.onGestureStart,j=n.onGestureEnd,H=n.onWheel,Y=n.onEnable,te=n.onDisable,G=n.onClick,ce=n.scrollSpeed,ve=n.capture,B=n.allowClicks,le=n.lockAxis,xe=n.onLockAxis;this.target=a=xr(a)||li,this.vars=n,h&&(h=Ot.utils.toArray(h)),s=s||1e-9,i=i||0,b=b||1,ce=ce||1,o=o||"wheel,touch,pointer",u=u!==!1,c||(c=parseFloat(Br.getComputedStyle(ca).lineHeight)||22);var he,re,oe,ne,je,et,tt,M=this,xt=0,Ft=0,mn=n.passive||!d&&n.passive!==!1,Me=ji(a,dr),Zr=ji(a,_t),zt=Me(),cs=Zr(),ft=~o.indexOf("touch")&&!~o.indexOf("pointer")&&yn[0]==="pointerdown",at=Dl(a),Oe=a.ownerDocument||ai,Pr=[0,0,0],mr=[0,0,0],gr=0,Oi=function(){return gr=Ol()},Ge=function(Q,me){return(M.event=Q)&&h&&F3(Q.target,h)||me&&ft&&Q.pointerType!=="touch"||F&&F(Q,me)},Is=function(){M._vx.reset(),M._vy.reset(),re.pause(),f&&f(M)},$t=function(){var Q=M.deltaX=ny(Pr),me=M.deltaY=ny(mr),W=Math.abs(Q)>=s,J=Math.abs(me)>=s;D&&(W||J)&&D(M,Q,me,Pr,mr),W&&(C&&M.deltaX>0&&C(M),N&&M.deltaX<0&&N(M),k&&k(M),R&&M.deltaX<0!=xt<0&&R(M),xt=M.deltaX,Pr[0]=Pr[1]=Pr[2]=0),J&&(E&&M.deltaY>0&&E(M),S&&M.deltaY<0&&S(M),T&&T(M),$&&M.deltaY<0!=Ft<0&&$(M),Ft=M.deltaY,mr[0]=mr[1]=mr[2]=0),(ne||oe)&&(L&&L(M),oe&&(v&&oe===1&&v(M),g&&g(M),oe=0),ne=!1),et&&!(et=!1)&&xe&&xe(M),je&&(H(M),je=!1),he=0},us=function(Q,me,W){Pr[W]+=Q,mr[W]+=me,M._vx.update(Q),M._vy.update(me),u?he||(he=requestAnimationFrame($t)):$t()},Rr=function(Q,me){le&&!tt&&(M.axis=tt=Math.abs(Q)>Math.abs(me)?"x":"y",et=!0),tt!=="y"&&(Pr[2]+=Q,M._vx.update(Q,!0)),tt!=="x"&&(mr[2]+=me,M._vy.update(me,!0)),u?he||(he=requestAnimationFrame($t)):$t()},Dn=function(Q){if(!Ge(Q,1)){Q=il(Q,d);var me=Q.clientX,W=Q.clientY,J=me-M.x,q=W-M.y,ue=M.isDragging;M.x=me,M.y=W,(ue||(J||q)&&(Math.abs(M.startX-me)>=i||Math.abs(M.startY-W)>=i))&&(oe=ue?2:1,ue||(M.isDragging=!0),Rr(J,q))}},ds=M.onPress=function(ee){Ge(ee,1)||ee&&ee.button||(M.axis=tt=null,re.pause(),M.isPressed=!0,ee=il(ee),xt=Ft=0,M.startX=M.x=ee.clientX,M.startY=M.y=ee.clientY,M._vx.reset(),M._vy.reset(),nr(P?a:Oe,yn[1],Dn,mn,!0),M.deltaX=M.deltaY=0,w&&w(M))},pe=M.onRelease=function(ee){if(!Ge(ee,1)){rr(P?a:Oe,yn[1],Dn,!0);var Q=!isNaN(M.y-M.startY),me=M.isDragging,W=me&&(Math.abs(M.x-M.startX)>3||Math.abs(M.y-M.startY)>3),J=il(ee);!W&&Q&&(M._vx.reset(),M._vy.reset(),d&&B&&Ot.delayedCall(.08,function(){if(Ol()-gr>300&&!ee.defaultPrevented){if(ee.target.click)ee.target.click();else if(Oe.createEvent){var q=Oe.createEvent("MouseEvents");q.initMouseEvent("click",!0,!0,Br,1,J.screenX,J.screenY,J.clientX,J.clientY,!1,!1,!1,!1,0,null),ee.target.dispatchEvent(q)}}})),M.isDragging=M.isGesturing=M.isPressed=!1,f&&me&&!P&&re.restart(!0),oe&&$t(),x&&me&&x(M),_&&_(M,W)}},In=function(Q){return Q.touches&&Q.touches.length>1&&(M.isGesturing=!0)&&A(Q,M.isDragging)},Ar=function(){return(M.isGesturing=!1)||j(M)},tr=function(Q){if(!Ge(Q)){var me=Me(),W=Zr();us((me-zt)*ce,(W-cs)*ce,1),zt=me,cs=W,f&&re.restart(!0)}},ht=function(Q){if(!Ge(Q)){Q=il(Q,d),H&&(je=!0);var me=(Q.deltaMode===1?c:Q.deltaMode===2?Br.innerHeight:1)*b;us(Q.deltaX*me,Q.deltaY*me,0),f&&!P&&re.restart(!0)}},fs=function(Q){if(!Ge(Q)){var me=Q.clientX,W=Q.clientY,J=me-M.x,q=W-M.y;M.x=me,M.y=W,ne=!0,f&&re.restart(!0),(J||q)&&Rr(J,q)}},se=function(Q){M.event=Q,O(M)},we=function(Q){M.event=Q,U(M)},Pe=function(Q){return Ge(Q)||il(Q,d)&&G(M)};re=M._dc=Ot.delayedCall(m||.25,Is).pause(),M.deltaX=M.deltaY=0,M._vx=mm(0,50,!0),M._vy=mm(0,50,!0),M.scrollX=Me,M.scrollY=Zr,M.isDragging=M.isGesturing=M.isPressed=!1,$2(this),M.enable=function(ee){return M.isEnabled||(nr(at?Oe:a,"scroll",pm),o.indexOf("scroll")>=0&&nr(at?Oe:a,"scroll",tr,mn,ve),o.indexOf("wheel")>=0&&nr(a,"wheel",ht,mn,ve),(o.indexOf("touch")>=0&&F2||o.indexOf("pointer")>=0)&&(nr(a,yn[0],ds,mn,ve),nr(Oe,yn[2],pe),nr(Oe,yn[3],pe),B&&nr(a,"click",Oi,!0,!0),G&&nr(a,"click",Pe),A&&nr(Oe,"gesturestart",In),j&&nr(Oe,"gestureend",Ar),O&&nr(a,Bi+"enter",se),U&&nr(a,Bi+"leave",we),L&&nr(a,Bi+"move",fs)),M.isEnabled=!0,M.isDragging=M.isGesturing=M.isPressed=ne
vendor: 6,360 bytes, lines 221-228
221=oe=!1,M._vx.reset(),M._vy.reset(),zt=Me(),cs=Zr(),ee&&ee.type&&ds(ee),Y&&Y(M)),M},M.disable=function(){M.isEnabled&&(Qo.filter(function(ee){return ee!==M&&Dl(ee.target)}).length||rr(at?Oe:a,"scroll",pm),M.isPressed&&(M._vx.reset(),M._vy.reset(),rr(P?a:Oe,yn[1],Dn,!0)),rr(at?Oe:a,"scroll",tr,ve),rr(a,"wheel",ht,ve),rr(a,yn[0],ds,ve),rr(Oe,yn[2],pe),rr(Oe,yn[3],pe),rr(a,"click",Oi,!0),rr(a,"click",Pe),rr(Oe,"gesturestart",In),rr(Oe,"gestureend",Ar),rr(a,Bi+"enter",se),rr(a,Bi+"leave",we),rr(a,Bi+"move",fs),M.isEnabled=M.isPressed=M.isDragging=!1,te&&te(M))},M.kill=M.revert=function(){M.disable();var ee=Qo.indexOf(M);ee>=0&&Qo.splice(ee,1),Ss===M&&(Ss=0)},Qo.push(M),P&&Dl(a)&&(Ss=M),M.enable(p)},I3(t,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),t}();dt.version="3.13.0";dt.create=function(t){return new dt(t)};dt.register=W2;dt.getAll=function(){return Qo.slice()};dt.getById=function(t){return Qo.filter(function(e){return e.vars.id===t})[0]};B2()&&Ot.registerPlugin(dt);/*! 222 * ScrollTrigger 3.13.0 223 * https://gsap.com 224 * 225 * @license Copyright 2008-2025, GreenSock. All rights reserved. 226 * Subject to the terms at https://gsap.com/standard-license 227 * @author: Jack Doyle, [email protected] 228*/var X,Oo,be,ze,zr,Re,p0,Ad,gc,Il,hl,au,Gt,Cf,gm,ar,sy,iy,Do,H2,Eh,Y2,ir,vm,G2,K2,Us,xm,m0,ua,g0,Md,ym,kh,lu=1,Xt=Date.now,Th=Xt(),dn=0,pl=0,oy=function(e,r,n){var s=Ir(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return n["_"+r+"Clamp"]=s,s?e.substr(6,e.length-7):e},ay=function(e,r){return r&&(!Ir(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},z3=function t(){return pl&&requestAnimationFrame(t)},ly=function(){return Cf=1},cy=function(){return Cf=0},Un=function(e){return e},ml=function(e){return Math.round(e*1e5)/1e5||0},X2=function(){return typeof window<"u"},Q2=function(){return X||X2()&&(X=window.gsap)&&X.registerPlugin&&X},vo=function(e){return!!~p0.indexOf(e)},q2=function(e){return(e==="Height"?g0:be["inner"+e])||zr["client"+e]||Re["client"+e]},Z2=function(e){return yi(e,"getBoundingClientRect")||(vo(e)?function(){return Wu.width=be.innerWidth,Wu.height=g0,Wu}:function(){return bs(e)})},$3=function(e,r,n){var s=n.d,i=n.d2,o=n.a;return(o=yi(e,"getBoundingClientRect"))?function(){return o()[s]}:function(){return(r?q2(i):e["client"+i])||0}},B3=function(e,r){return!r||~ss.indexOf(e)?Z2(e):function(){return Wu}},Zn=function(e,r){var n=r.s,s=r.d2,i=r.d,o=r.a;return Math.max(0,(n="scroll"+s)&&(o=yi(e,n))?o()-Z2(e)()[i]:vo(e)?(zr[n]||Re[n])-q2(s):e[n]-e["offset"+s])},cu=function(e,r){for(var n=0;n<Do.length;n+=3)(!r||~r.indexOf(Do[n+1]))&&e(Do[n],Do[n+1],Do[n+2])},Ir=function(e){return typeof e=="string"},Zt=function(e){return typeof e=="function"},gl=function(e){return typeof e=="number"},Vi=function(e){return typeof e=="object"},ol=function(e,r,n){return e&&e.progress(r?0:1)&&n&&e.pause()},Ph=function(e,r){if(e.enabled){var n=e._ctx?e._ctx.add(function(){return r(e)}):r(e);n&&n.totalTime&&(e.callbackAnimation=n)}},To=Math.abs,J2="left",eC="top",v0="right",x0="bottom",oo="width",ao="height",Ll="Right",Fl="Left",zl="Top",$l="Bottom",pt="padding",nn="margin",La="Width",y0="Height",wt="px",sn=function(e){return be.getComputedStyle(e)},V3=function(e){var r=sn(e).position;e.style.position=r==="absolute"||r==="fixed"?r:"relative"},uy=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},bs=function(e,r){var n=r&&sn(e)[gm]!=="matrix(1, 0, 0, 1, 0, 0)"&&X.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),s=e.getBoundingClientRect();return n&&n.progress(0).kill(),s},Od=function(e,r){var n=r.d2;return e["offset"+n]||e["client"+n]||0},tC=function(e){var r=[],n=e.labels,s=e.duration(),i;for(i in n)r.push(n[i]/s);return r},U3=function(e){return function(r){return X.utils.snap(tC(e),r)}},w0=function(e){var r=X.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort(function(s,i){return s-i});return n?function(s,i,o){o===void 0&&(o=.001);var a;if(!i)return r(s);if(i>0){for(s-=o,a=0;a<n.length;a++)if(n[a]>=s)return n[a];return n[a-1]}else for(a=n.length,s+=o;a--;)if(n[a]<=s)return n[a];return n[0]}:function(s,i,o){o===void 0&&(o=.001);var a=r(s);return!i||Math.abs(a-s)<o||a-s<0==i<0?a:r(i<0?s-e:s+e)}},W3=function(e){return function(r,n){return w0(tC(e))(r,n.direction)}},uu=function(e,r,n,s){return n.split(",").forEach(function(i){return e(r,i,s)})},jt=function(e,r,n,s,i){return e.addEventListener(r,n,{passive:!s,capture:!!i})},Nt=function(e,r,n,s){return e.removeEventListener(r,n,!!s)},du=function(e,r,n){n=n&&n.wheelHandler,n&&(e(r,"wheel",n),e(r,"touchmove",n))},dy={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},fu={toggleActions:"play",anticipatePin:0},Dd={top:0,left:0,center:.5,bottom:1,right:1},$u=function(e,r){if(Ir(e)){var n=e.indexOf("="),s=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(s*=r/100),e=e.substr(0,n-1)),e=s+(e in Dd?Dd[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0)}return e},hu=function(e,r,n,s,i,o,a,c){var u=i.startColor,d=i.endColor,f=i.fontSize,m=i.indent,h=i.fontWeight,b=ze.createElement("div"),p=vo(n)||yi(n,"pinType")==="fixed",v=e.indexOf("scroller")!==-1,x=p?Re:n,g=e.indexOf("start")!==-1,w=g?u:d,_="border-color:"+w+";font-size:"+f+";color:"+w+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return _+="position:"+((v||c)&&p?"fixed;":"absolute;"),(v||c||!p)&&(_+=(s===_t?v0:x0)+":"+(o+parseFloat(m))+"px;"),a&&(_+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),b._isStart=g,b.setAttribute("class","gsap-marker-"+e+(r?" marker-"+r:"")),b.style.cssText=_,b.innerText=r||r===0?e+"-"+r:e,x.children[0]?x.insertBefore(b,x.children[0]):x.appendChild(b),b._offset=b["offset"+s.op.d2],Bu(b,0,s,g),b},Bu=function(e,r,n,s){var i={display:"block"},o=n[s?"os2":"p2"],a=n[s?"p2":"os2"];e._isFlipped=s,i[n.a+"Percent"]=s?-100:0,i[n.a]=s?"1px":0,i["border"+o+La]=1,i["border"+a+La]=0,i[n.p]=r+"px",X.set(e,i)},ye=[],wm={},vc,fy=function(){return Xt()-dn>34&&(vc||(vc=requestAnimationFrame(js)))},Po=function(){(!ir||!ir.isPressed||ir.startX>Re.clientWidth)&&(_e.cache++,ir?vc||(vc=requestAnimationFrame(js)):js(),dn||yo("scrollStart"),dn=Xt())}
vendor: 4,110 bytes, line 228
228,Rh=function(){K2=be.innerWidth,G2=be.innerHeight},vl=function(e){_e.cache++,(e===!0||!Gt&&!Y2&&!ze.fullscreenElement&&!ze.webkitFullscreenElement&&(!vm||K2!==be.innerWidth||Math.abs(be.innerHeight-G2)>be.innerHeight*.25))&&Ad.restart(!0)},xo={},H3=[],rC=function t(){return Nt(ge,"scrollEnd",t)||Gi(!0)},yo=function(e){return xo[e]&&xo[e].map(function(r){return r()})||H3},Or=[],nC=function(e){for(var r=0;r<Or.length;r+=5)(!e||Or[r+4]&&Or[r+4].query===e)&&(Or[r].style.cssText=Or[r+1],Or[r].getBBox&&Or[r].setAttribute("transform",Or[r+2]||""),Or[r+3].uncache=1)},b0=function(e,r){var n;for(ar=0;ar<ye.length;ar++)n=ye[ar],n&&(!r||n._ctx===r)&&(e?n.kill(1):n.revert(!0,!0));Md=!0,r&&nC(r),r||yo("revert")},sC=function(e,r){_e.cache++,(r||!lr)&&_e.forEach(function(n){return Zt(n)&&n.cacheID++&&(n.rec=0)}),Ir(e)&&(be.history.scrollRestoration=m0=e)},lr,lo=0,hy,Y3=function(){if(hy!==lo){var e=hy=lo;requestAnimationFrame(function(){return e===lo&&Gi(!0)})}},iC=function(){Re.appendChild(ua),g0=!ir&&ua.offsetHeight||be.innerHeight,Re.removeChild(ua)},py=function(e){return gc(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(r){return r.style.display=e?"none":"block"})},Gi=function(e,r){if(zr=ze.documentElement,Re=ze.body,p0=[be,ze,zr,Re],dn&&!e&&!Md){jt(ge,"scrollEnd",rC);return}iC(),lr=ge.isRefreshing=!0,_e.forEach(function(s){return Zt(s)&&++s.cacheID&&(s.rec=s())});var n=yo("refreshInit");H2&&ge.sort(),r||b0(),_e.forEach(function(s){Zt(s)&&(s.smooth&&(s.target.style.scrollBehavior="auto"),s(0))}),ye.slice(0).forEach(function(s){return s.refresh()}),Md=!1,ye.forEach(function(s){if(s._subPinOffset&&s.pin){var i=s.vars.horizontal?"offsetWidth":"offsetHeight",o=s.pin[i];s.revert(!0,1),s.adjustPinSpacing(s.pin[i]-o),s.refresh()}}),ym=1,py(!0),ye.forEach(function(s){var i=Zn(s.scroller,s._dir),o=s.vars.end==="max"||s._endClamp&&s.end>i,a=s._startClamp&&s.start>=i;(o||a)&&s.setPositions(a?i-1:s.start,o?Math.max(a?i:s.start+1,i):s.end,!0)}),py(!1),ym=0,n.forEach(function(s){return s&&s.render&&s.render(-1)}),_e.forEach(function(s){Zt(s)&&(s.smooth&&requestAnimationFrame(function(){return s.target.style.scrollBehavior="smooth"}),s.rec&&s(s.rec))}),sC(m0,1),Ad.pause(),lo++,lr=2,js(2),ye.forEach(function(s){return Zt(s.vars.onRefresh)&&s.vars.onRefresh(s)}),lr=ge.isRefreshing=!1,yo("refresh")},bm=0,Vu=1,Bl,js=function(e){if(e===2||!lr&&!Md){ge.isUpdating=!0,Bl&&Bl.update(0);var r=ye.length,n=Xt(),s=n-Th>=50,i=r&&ye[0].scroll();if(Vu=bm>i?-1:1,lr||(bm=i),s&&(dn&&!Cf&&n-dn>200&&(dn=0,yo("scrollEnd")),hl=Th,Th=n),Vu<0){for(ar=r;ar-- >0;)ye[ar]&&ye[ar].update(0,s);Vu=1}else for(ar=0;ar<r;ar++)ye[ar]&&ye[ar].update(0,s);ge.isUpdating=!1}vc=0},_m=[J2,eC,x0,v0,nn+$l,nn+Ll,nn+zl,nn+Fl,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Uu=_m.concat([oo,ao,"boxSizing","max"+La,"max"+y0,"position",nn,pt,pt+zl,pt+Ll,pt+$l,pt+Fl]),G3=function(e,r,n){da(n);var s=e._gsap;if(s.spacerIsNative)da(s.spacerState);else if(e._gsap.swappedIn){var i=r.parentNode;i&&(i.insertBefore(e,r),i.removeChild(r))}e._gsap.swappedIn=!1},Ah=function(e,r,n,s){if(!e._gsap.swappedIn){for(var i=_m.length,o=r.style,a=e.style,c;i--;)c=_m[i],o[c]=n[c];o.position=n.position==="absolute"?"absolute":"relative",n.display==="inline"&&(o.display="inline-block"),a[x0]=a[v0]="auto",o.flexBasis=n.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[oo]=Od(e,dr)+wt,o[ao]=Od(e,_t)+wt,o[pt]=a[nn]=a[eC]=a[J2]="0",da(s),a[oo]=a["max"+La]=n[oo],a[ao]=a["max"+y0]=n[ao],a[pt]=n[pt],e.parentNode!==r&&(e.parentNode.insertBefore(r,e),r.appendChild(e)),e._gsap.swappedIn=!0}},K3=/([A-Z])/g,da=function(e){if(e){var r=e.t.style,n=e.length,s=0,i,o;for((e.t._gsap||X.core.getCache(e.t)).uncache=1;s<n;s+=2)o=e[s+1],i=e[s],o?r[i]=o:r[i]&&r.removeProperty(i.replace(K3,"-$1").toLowerCase())}},pu=function(e){for(var r=Uu.length,n=e.style,s=[],i=0;i<r;i++)s.push(Uu[i],n[Uu[i]]);return s.t=e,s},X3=function(e,r,n){for(var s=[],i=e.length,o=n?8:0,a;o<i;
vendor: 4,604 bytes, line 228
228o+=2)a=e[o],s.push(a,a in r?r[a]:e[o+1]);return s.t=e.t,s},Wu={left:0,top:0},my=function(e,r,n,s,i,o,a,c,u,d,f,m,h,b){Zt(e)&&(e=e(c)),Ir(e)&&e.substr(0,3)==="max"&&(e=m+(e.charAt(4)==="="?$u("0"+e.substr(3),n):0));var p=h?h.time():0,v,x,g;if(h&&h.seek(0),isNaN(e)||(e=+e),gl(e))h&&(e=X.utils.mapRange(h.scrollTrigger.start,h.scrollTrigger.end,0,m,e)),a&&Bu(a,n,s,!0);else{Zt(r)&&(r=r(c));var w=(e||"0").split(" "),_,C,N,S;g=xr(r,c)||Re,_=bs(g)||{},(!_||!_.left&&!_.top)&&sn(g).display==="none"&&(S=g.style.display,g.style.display="block",_=bs(g),S?g.style.display=S:g.style.removeProperty("display")),C=$u(w[0],_[s.d]),N=$u(w[1]||"0",n),e=_[s.p]-u[s.p]-d+C+i-N,a&&Bu(a,N,s,n-N<20||a._isStart&&N>20),n-=n-N}if(b&&(c[b]=e||-.001,e<0&&(e=0)),o){var E=e+n,k=o._isStart;v="scroll"+s.d2,Bu(o,E,s,k&&E>20||!k&&(f?Math.max(Re[v],zr[v]):o.parentNode[v])<=E+1),f&&(u=bs(a),f&&(o.style[s.op.p]=u[s.op.p]-s.op.m-o._offset+wt))}return h&&g&&(v=bs(g),h.seek(m),x=bs(g),h._caScrollDist=v[s.p]-x[s.p],e=e/h._caScrollDist*m),h&&h.seek(p),h?e:Math.round(e)},Q3=/(webkit|moz|length|cssText|inset)/i,gy=function(e,r,n,s){if(e.parentNode!==r){var i=e.style,o,a;if(r===Re){e._stOrig=i.cssText,a=sn(e);for(o in a)!+o&&!Q3.test(o)&&a[o]&&typeof i[o]=="string"&&o!=="0"&&(i[o]=a[o]);i.top=n,i.left=s}else i.cssText=e._stOrig;X.core.getCache(e).uncache=1,r.appendChild(e)}},oC=function(e,r,n){var s=r,i=s;return function(o){var a=Math.round(e());return a!==s&&a!==i&&Math.abs(a-s)>3&&Math.abs(a-i)>3&&(o=a,n&&n()),i=s,s=Math.round(o),s}},mu=function(e,r,n){var s={};s[r.p]="+="+n,X.set(e,s)},vy=function(e,r){var n=ji(e,r),s="_scroll"+r.p2,i=function o(a,c,u,d,f){var m=o.tween,h=c.onComplete,b={};u=u||n();var p=oC(n,u,function(){m.kill(),o.tween=0});return f=d&&f||0,d=d||a-u,m&&m.kill(),c[s]=a,c.inherit=!1,c.modifiers=b,b[s]=function(){return p(u+d*m.ratio+f*m.ratio*m.ratio)},c.onUpdate=function(){_e.cache++,o.tween&&js()},c.onComplete=function(){o.tween=0,h&&h.call(m)},m=o.tween=X.to(e,c),m};return e[s]=n,n.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},jt(e,"wheel",n.wheelHandler),ge.isTouch&&jt(e,"touchmove",n.wheelHandler),i},ge=function(){function t(r,n){Oo||t.register(X)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),xm(this),this.init(r,n)}var e=t.prototype;return e.init=function(n,s){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!pl){this.update=this.refresh=this.kill=Un;return}n=uy(Ir(n)||gl(n)||n.nodeType?{trigger:n}:n,fu);var i=n,o=i.onUpdate,a=i.toggleClass,c=i.id,u=i.onToggle,d=i.onRefresh,f=i.scrub,m=i.trigger,h=i.pin,b=i.pinSpacing,p=i.invalidateOnRefresh,v=i.anticipatePin,x=i.onScrubComplete,g=i.onSnapComplete,w=i.once,_=i.snap,C=i.pinReparent,N=i.pinSpacer,S=i.containerAnimation,E=i.fastScrollEnd,k=i.preventOverlaps,T=n.horizontal||n.containerAnimation&&n.horizontal!==!1?dr:_t,D=!f&&f!==0,R=xr(n.scroller||be),$=X.core.getCache(R),O=vo(R),U=("pinType"in n?n.pinType:yi(R,"pinType")||O&&"fixed")==="fixed",L=[n.onEnter,n.onLeave,n.onEnterBack,n.onLeaveBack],F=D&&n.toggleActions.split(" "),P="markers"in n?n.markers:fu.markers,A=O?0:parseFloat(sn(R)["border"+T.p2+La])||0,j=this,H=n.onRefreshInit&&function(){return n.onRefreshInit(j)},Y=$3(R,O,T),te=B3(R,O),G=0,ce=0,ve=0,B=ji(R,T),le,xe,he,re,oe,ne,je,et,tt,M,xt,Ft,mn,Me,Zr,zt,cs,ft,at,Oe,Pr,mr,gr,Oi,Ge,Is,$t,us,Rr,Dn,ds,pe,In,Ar,tr,ht,fs,se,we;if(j._startClamp=j._endClamp=!1,j._dir=T,v*=45,j.scroller=R,j.scroll=S?S.time.bind(S):B,re=B(),j.vars=n,s=s||n.animation,"refreshPriority"in n&&(H2=1,n.refreshPriority===-9999&&(Bl=j)),$.tweenScroll=$.tweenScroll||{top:vy(R,_t),left:vy(R,dr)},j.tweenTo=le=$.tweenScroll[T.p],j.scrubDuration=function(W){In=gl(W)&&W,In?pe?pe.duration(W):pe=X.to(s,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:In,paused:!0,onComplete:function(){return x&&x(j)}}):(pe&&pe.progress(1).kill(),pe=0)},s&&(s.vars.lazy=!1,s._initted&&!j.isReverted||s.vars.immediateRender!==!1&&n.immediateRender!==!1&&s.duration()&&s.render(0,!0,!0),j.animation=s.pause(),s.scrollTrigger=j,j.scrubDuration(f),Dn=0,c||(c=s.vars.id)),_&&((!Vi(_)||_.push)&&(_={snapTo:_}),"scrollBehavior"in Re.style&&X.set(O?[Re,zr]:R,{scrollBehavior:"auto"}),_e.forEach(function(W){return Zt(W)&&W.target===(O?ze.scrollingElement||zr:R)&&(W.smooth=!1)}),he=Zt(_.snapTo)?_.snapTo:_.snapTo==="labels"?U3(s):_.snapTo==="labelsDirectional"?W3(s):_.directional!==!1?function(W,J){return w0(_.snapTo)(W,Xt()-ce<500?0:J.direction)}:X.utils.snap(_.snapTo),Ar=_.duration||{min:.1,max:2},Ar=Vi(Ar)?Il(Ar.min,Ar.max):Il(Ar,Ar),tr=X.delayedCall(_.delay||In/2||.1,function(){var W=B(),J=Xt()-ce<500,q=le.tween;
vendor: 6,018 bytes, line 228
228if((J||Math.abs(j.getVelocity())<10)&&!q&&!Cf&&G!==W){var ue=(W-ne)/Me,St=s&&!D?s.totalProgress():ue,Se=J?0:(St-ds)/(Xt()-hl)*1e3||0,lt=X.utils.clamp(-ue,1-ue,To(Se/2)*Se/.185),Bt=ue+(_.inertia===!1?0:lt),rt,We,De=_,gn=De.onStart,Ke=De.onInterrupt,Mr=De.onComplete;if(rt=he(Bt,j),gl(rt)||(rt=Bt),We=Math.max(0,Math.round(ne+rt*Me)),W<=je&&W>=ne&&We!==W){if(q&&!q._initted&&q.data<=To(We-W))return;_.inertia===!1&&(lt=rt-ue),le(We,{duration:Ar(To(Math.max(To(Bt-St),To(rt-St))*.185/Se/.05||0)),ease:_.ease||"power3",data:To(We-W),onInterrupt:function(){return tr.restart(!0)&&Ke&&Ke(j)},onComplete:function(){j.update(),G=B(),s&&!D&&(pe?pe.resetTo("totalProgress",rt,s._tTime/s._tDur):s.progress(rt)),Dn=ds=s&&!D?s.totalProgress():j.progress,g&&g(j),Mr&&Mr(j)}},W,lt*Me,We-W-lt*Me),gn&&gn(j,le.tween)}}else j.isActive&&G!==W&&tr.restart(!0)}).pause()),c&&(wm[c]=j),m=j.trigger=xr(m||h!==!0&&h),we=m&&m._gsap&&m._gsap.stRevert,we&&(we=we(j)),h=h===!0?m:xr(h),Ir(a)&&(a={targets:m,className:a}),h&&(b===!1||b===nn||(b=!b&&h.parentNode&&h.parentNode.style&&sn(h.parentNode).display==="flex"?!1:pt),j.pin=h,xe=X.core.getCache(h),xe.spacer?Zr=xe.pinState:(N&&(N=xr(N),N&&!N.nodeType&&(N=N.current||N.nativeElement),xe.spacerIsNative=!!N,N&&(xe.spacerState=pu(N))),xe.spacer=ft=N||ze.createElement("div"),ft.classList.add("pin-spacer"),c&&ft.classList.add("pin-spacer-"+c),xe.pinState=Zr=pu(h)),n.force3D!==!1&&X.set(h,{force3D:!0}),j.spacer=ft=xe.spacer,Rr=sn(h),Oi=Rr[b+T.os2],Oe=X.getProperty(h),Pr=X.quickSetter(h,T.a,wt),Ah(h,ft,Rr),cs=pu(h)),P){Ft=Vi(P)?uy(P,dy):dy,M=hu("scroller-start",c,R,T,Ft,0),xt=hu("scroller-end",c,R,T,Ft,0,M),at=M["offset"+T.op.d2];var Pe=xr(yi(R,"content")||R);et=this.markerStart=hu("start",c,Pe,T,Ft,at,0,S),tt=this.markerEnd=hu("end",c,Pe,T,Ft,at,0,S),S&&(se=X.quickSetter([et,tt],T.a,wt)),!U&&!(ss.length&&yi(R,"fixedMarkers")===!0)&&(V3(O?Re:R),X.set([M,xt],{force3D:!0}),Is=X.quickSetter(M,T.a,wt),us=X.quickSetter(xt,T.a,wt))}if(S){var ee=S.vars.onUpdate,Q=S.vars.onUpdateParams;S.eventCallback("onUpdate",function(){j.update(0,0,1),ee&&ee.apply(S,Q||[])})}if(j.previous=function(){return ye[ye.indexOf(j)-1]},j.next=function(){return ye[ye.indexOf(j)+1]},j.revert=function(W,J){if(!J)return j.kill(!0);var q=W!==!1||!j.enabled,ue=Gt;q!==j.isReverted&&(q&&(ht=Math.max(B(),j.scroll.rec||0),ve=j.progress,fs=s&&s.progress()),et&&[et,tt,M,xt].forEach(function(St){return St.style.display=q?"none":"block"}),q&&(Gt=j,j.update(q)),h&&(!C||!j.isActive)&&(q?G3(h,ft,Zr):Ah(h,ft,sn(h),Ge)),q||j.update(q),Gt=ue,j.isReverted=q)},j.refresh=function(W,J,q,ue){if(!((Gt||!j.enabled)&&!J)){if(h&&W&&dn){jt(t,"scrollEnd",rC);return}!lr&&H&&H(j),Gt=j,le.tween&&!q&&(le.tween.kill(),le.tween=0),pe&&pe.pause(),p&&s&&(s.revert({kill:!1}).invalidate(),s.getChildren&&s.getChildren(!0,!0,!1).forEach(function(Ls){return Ls.vars.immediateRender&&Ls.render(0,!0,!0)})),j.isReverted||j.revert(!0,!0),j._subPinOffset=!1;var St=Y(),Se=te(),lt=S?S.duration():Zn(R,T),Bt=Me<=.01||!Me,rt=0,We=ue||0,De=Vi(q)?q.end:n.end,gn=n.endTrigger||m,Ke=Vi(q)?q.start:n.start||(n.start===0||!m?0:h?"0 0":"0 100%"),Mr=j.pinnedContainer=n.pinnedContainer&&xr(n.pinnedContainer,j),Ln=m&&Math.max(0,ye.indexOf(j))||0,Rt=Ln,At,Vt,Di,Mc,Ut,yt,Fn,Lf,Y0,Ya,zn,Ga,Oc;for(P&&Vi(q)&&(Ga=X.getProperty(M,T.p),Oc=X.getProperty(xt,T.p));Rt-- >0;)yt=ye[Rt],yt.end||yt.refresh(0,1)||(Gt=j),Fn=yt.pin,Fn&&(Fn===m||Fn===h||Fn===Mr)&&!yt.isReverted&&(Ya||(Ya=[]),Ya.unshift(yt),yt.revert(!0,!0)),yt!==ye[Rt]&&(Ln--,Rt--);for(Zt(Ke)&&(Ke=Ke(j)),Ke=oy(Ke,"start",j),ne=my(Ke,m,St,T,B(),et,M,j,Se,A,U,lt,S,j._startClamp&&"_startClamp")||(h?-.001:0),Zt(De)&&(De=De(j)),Ir(De)&&!De.indexOf("+=")&&(~De.indexOf(" ")?De=(Ir(Ke)?Ke.split(" ")[0]:"")+De:(rt=$u(De.substr(2),St),De=Ir(Ke)?Ke:(S?X.utils.mapRange(0,S.duration(),S.scrollTrigger.start,S.scrollTrigger.end,ne):ne)+rt,gn=m)),De=oy(De,"end",j),je=Math.max(ne,my(De||(gn?"100% 0":lt),gn,St,T,B()+rt,tt,xt,j,Se,A,U,lt,S,j._endClamp&&"_endClamp"))||-.001,rt=0,Rt=Ln;Rt--;)yt=ye[Rt],Fn=yt.pin,Fn&&yt.start-yt._pinPush<=ne&&!S&&yt.end>0&&(At=yt.end-(j._startClamp?Math.max(0,yt.start):yt.start),(Fn===m&&yt.start-yt._pinPush<ne||Fn===Mr)&&isNaN(Ke)&&(rt+=At*(1-yt.progress)),Fn===h&&(We+=At));if(ne+=rt,je+=rt,j._startClamp&&(j._startClamp+=rt),j._endClamp&&!lr&&(j._endClamp=je||-.001,je=Math.min(je,Zn(R,T))),Me=je-ne||(ne-=.01)&&.001,Bt&&(ve=X.utils.clamp(0,1,X.utils.normalize(ne,je,ht))),j._pinPush=We,et&&rt&&(At={},At[T.a]="+="+rt,Mr&&(At[T.p]="-="+B()),X.set([et,tt],At)),h&&!(ym&&j.end>=Zn(R,T)))At=sn(h),Mc=T===_t,Di=B(),mr=parseFloat(Oe(T.a))+We,!lt&&je>1&&(zn=(O?ze.scrollingElement||zr:R).style,zn={style:zn,value:zn["overflow"+T.a.toUpperCase()]},O&&sn(Re)["overflow"+T.a.toUpperCase()]!=="scroll"&&(zn.style["overflow"+T.a.toUpperCase()]="scroll")),Ah(h,ft,At),cs=pu(h),Vt=bs(h,!0),Lf=U&&ji(R,Mc?dr:_t)(),b?(Ge=[b+T.os2,Me+We+wt],Ge.t=ft,Rt=b===pt?Od(h,T)+Me+We:0,Rt&&(Ge.push(T.d,Rt+wt),ft.style.flexBasis!=="auto"&&(ft.style.flexBasis=Rt+wt)),da(Ge),Mr&&ye.forEach(function(Ls){Ls.pin===Mr&&Ls.vars.pinSpacing!==!1&&(Ls._subPinOffset=!0)}),U&&B(ht)):(Rt=Od(h,T),Rt&&ft.style.flexBasis!=="auto"&&(ft.style.flexBasis=Rt+wt)),U&&(Ut={top:Vt.top+(Mc?Di-ne:Lf)+wt,left:Vt.left+(Mc?Lf:Di-ne)+wt,boxSizing:"border-box",position:"fixed"},Ut[oo]=Ut["max"+La]=Math.ceil(Vt.width)+wt,Ut[ao]=Ut["max"+y0]=Math.ceil(Vt.height)+wt,Ut[nn]=Ut[nn+zl]=Ut[nn+Ll]=Ut[nn+$l]=Ut[nn+Fl]="0",Ut[pt]=At[pt],Ut[pt+zl]=At[pt+zl],Ut[pt+Ll]=At[pt+Ll],Ut[pt+$l]=At[pt+$l],Ut[pt+Fl]=At[pt+Fl],zt=X3(Zr,Ut,C),lr&&B(0)),s?(Y0=s._initted,Eh(1),s.render(s.duration(),!0,!0),gr=Oe(T.a)-mr+Me+We,$t=Math.abs(Me-gr)>1,U&&$t&&zt.splice(zt.length-2,2),s.render(0,!0,!0),Y0||s.invalidate(!0),s.parent||s.totalTime(s.totalTime()),Eh(0)):gr=Me,zn&&(zn.value?zn.style["overflow"+T.a.toUpperCase()]=zn.value:zn.style.removeProperty("overflow-"+T.a));else if(m&&B()&&!S)for(Vt=m.parentNode;Vt&&Vt!==Re;)Vt._pinOffset&&(ne-=Vt._pinOffset,je-=Vt._pinOffset),Vt=Vt.parentNode;Ya&&Ya.forEach(function(Ls){return Ls.revert(!1,!0)}
vendor: 13,987 bytes, line 228
228),j.start=ne,j.end=je,re=oe=lr?ht:B(),!S&&!lr&&(re<ht&&B(ht),j.scroll.rec=0),j.revert(!1,!0),ce=Xt(),tr&&(G=-1,tr.restart(!0)),Gt=0,s&&D&&(s._initted||fs)&&s.progress()!==fs&&s.progress(fs||0,!0).render(s.time(),!0,!0),(Bt||ve!==j.progress||S||p||s&&!s._initted)&&(s&&!D&&(s._initted||ve||s.vars.immediateRender!==!1)&&s.totalProgress(S&&ne<-.001&&!ve?X.utils.normalize(ne,je,0):ve,!0),j.progress=Bt||(re-ne)/Me===ve?0:ve),h&&b&&(ft._pinOffset=Math.round(j.progress*gr)),pe&&pe.invalidate(),isNaN(Ga)||(Ga-=X.getProperty(M,T.p),Oc-=X.getProperty(xt,T.p),mu(M,T,Ga),mu(et,T,Ga-(ue||0)),mu(xt,T,Oc),mu(tt,T,Oc-(ue||0))),Bt&&!lr&&j.update(),d&&!lr&&!mn&&(mn=!0,d(j),mn=!1)}},j.getVelocity=function(){return(B()-oe)/(Xt()-hl)*1e3||0},j.endAnimation=function(){ol(j.callbackAnimation),s&&(pe?pe.progress(1):s.paused()?D||ol(s,j.direction<0,1):ol(s,s.reversed()))},j.labelToScroll=function(W){return s&&s.labels&&(ne||j.refresh()||ne)+s.labels[W]/s.duration()*Me||0},j.getTrailing=function(W){var J=ye.indexOf(j),q=j.direction>0?ye.slice(0,J).reverse():ye.slice(J+1);return(Ir(W)?q.filter(function(ue){return ue.vars.preventOverlaps===W}):q).filter(function(ue){return j.direction>0?ue.end<=ne:ue.start>=je})},j.update=function(W,J,q){if(!(S&&!q&&!W)){var ue=lr===!0?ht:j.scroll(),St=W?0:(ue-ne)/Me,Se=St<0?0:St>1?1:St||0,lt=j.progress,Bt,rt,We,De,gn,Ke,Mr,Ln;if(J&&(oe=re,re=S?B():ue,_&&(ds=Dn,Dn=s&&!D?s.totalProgress():Se)),v&&h&&!Gt&&!lu&&dn&&(!Se&&ne<ue+(ue-oe)/(Xt()-hl)*v?Se=1e-4:Se===1&&je>ue+(ue-oe)/(Xt()-hl)*v&&(Se=.9999)),Se!==lt&&j.enabled){if(Bt=j.isActive=!!Se&&Se<1,rt=!!lt&<<1,Ke=Bt!==rt,gn=Ke||!!Se!=!!lt,j.direction=Se>lt?1:-1,j.progress=Se,gn&&!Gt&&(We=Se&&!lt?0:Se===1?1:lt===1?2:3,D&&(De=!Ke&&F[We+1]!=="none"&&F[We+1]||F[We],Ln=s&&(De==="complete"||De==="reset"||De in s))),k&&(Ke||Ln)&&(Ln||f||!s)&&(Zt(k)?k(j):j.getTrailing(k).forEach(function(Di){return Di.endAnimation()})),D||(pe&&!Gt&&!lu?(pe._dp._time-pe._start!==pe._time&&pe.render(pe._dp._time-pe._start),pe.resetTo?pe.resetTo("totalProgress",Se,s._tTime/s._tDur):(pe.vars.totalProgress=Se,pe.invalidate().restart())):s&&s.totalProgress(Se,!!(Gt&&(ce||W)))),h){if(W&&b&&(ft.style[b+T.os2]=Oi),!U)Pr(ml(mr+gr*Se));else if(gn){if(Mr=!W&&Se>lt&&je+1>ue&&ue+1>=Zn(R,T),C)if(!W&&(Bt||Mr)){var Rt=bs(h,!0),At=ue-ne;gy(h,Re,Rt.top+(T===_t?At:0)+wt,Rt.left+(T===_t?0:At)+wt)}else gy(h,ft);da(Bt||Mr?zt:cs),$t&&Se<1&&Bt||Pr(mr+(Se===1&&!Mr?gr:0))}}_&&!le.tween&&!Gt&&!lu&&tr.restart(!0),a&&(Ke||w&&Se&&(Se<1||!kh))&&gc(a.targets).forEach(function(Di){return Di.classList[Bt||w?"add":"remove"](a.className)}),o&&!D&&!W&&o(j),gn&&!Gt?(D&&(Ln&&(De==="complete"?s.pause().totalProgress(1):De==="reset"?s.restart(!0).pause():De==="restart"?s.restart(!0):s[De]()),o&&o(j)),(Ke||!kh)&&(u&&Ke&&Ph(j,u),L[We]&&Ph(j,L[We]),w&&(Se===1?j.kill(!1,1):L[We]=0),Ke||(We=Se===1?1:3,L[We]&&Ph(j,L[We]))),E&&!Bt&&Math.abs(j.getVelocity())>(gl(E)?E:2500)&&(ol(j.callbackAnimation),pe?pe.progress(1):ol(s,De==="reverse"?1:!Se,1))):D&&o&&!Gt&&o(j)}if(us){var Vt=S?ue/S.duration()*(S._caScrollDist||0):ue;Is(Vt+(M._isFlipped?1:0)),us(Vt)}se&&se(-ue/S.duration()*(S._caScrollDist||0))}},j.enable=function(W,J){j.enabled||(j.enabled=!0,jt(R,"resize",vl),O||jt(R,"scroll",Po),H&&jt(t,"refreshInit",H),W!==!1&&(j.progress=ve=0,re=oe=G=B()),J!==!1&&j.refresh())},j.getTween=function(W){return W&&le?le.tween:pe},j.setPositions=function(W,J,q,ue){if(S){var St=S.scrollTrigger,Se=S.duration(),lt=St.end-St.start;W=St.start+lt*W/Se,J=St.start+lt*J/Se}j.refresh(!1,!1,{start:ay(W,q&&!!j._startClamp),end:ay(J,q&&!!j._endClamp)},ue),j.update()},j.adjustPinSpacing=function(W){if(Ge&&W){var J=Ge.indexOf(T.d)+1;Ge[J]=parseFloat(Ge[J])+W+wt,Ge[1]=parseFloat(Ge[1])+W+wt,da(Ge)}},j.disable=function(W,J){if(j.enabled&&(W!==!1&&j.revert(!0,!0),j.enabled=j.isActive=!1,J||pe&&pe.pause(),ht=0,xe&&(xe.uncache=1),H&&Nt(t,"refreshInit",H),tr&&(tr.pause(),le.tween&&le.tween.kill()&&(le.tween=0)),!O)){for(var q=ye.length;q--;)if(ye[q].scroller===R&&ye[q]!==j)return;Nt(R,"resize",vl),O||Nt(R,"scroll",Po)}},j.kill=function(W,J){j.disable(W,J),pe&&!J&&pe.kill(),c&&delete wm[c];var q=ye.indexOf(j);q>=0&&ye.splice(q,1),q===ar&&Vu>0&&ar--,q=0,ye.forEach(function(ue){return ue.scroller===j.scroller&&(q=1)}),q||lr||(j.scroll.rec=0),s&&(s.scrollTrigger=null,W&&s.revert({kill:!1}),J||s.kill()),et&&[et,tt,M,xt].forEach(function(ue){return ue.parentNode&&ue.parentNode.removeChild(ue)}),Bl===j&&(Bl=0),h&&(xe&&(xe.uncache=1),q=0,ye.forEach(function(ue){return ue.pin===h&&q++}),q||(xe.spacer=0)),n.onKill&&n.onKill(j)},ye.push(j),j.enable(!1,!1),we&&we(j),s&&s.add&&!Me){var me=j.update;j.update=function(){j.update=me,_e.cache++,ne||je||j.refresh()},X.delayedCall(.01,j.update),Me=.01,ne=je=0}else j.refresh();h&&Y3()},t.register=function(n){return Oo||(X=n||Q2(),X2()&&window.document&&t.enable(),Oo=pl),Oo},t.defaults=function(n){if(n)for(var s in n)fu[s]=n[s];return fu},t.disable=function(n,s){pl=0,ye.forEach(function(o){return o[s?"kill":"disable"](n)}),Nt(be,"wheel",Po),Nt(ze,"scroll",Po),clearInterval(au),Nt(ze,"touchcancel",Un),Nt(Re,"touchstart",Un),uu(Nt,ze,"pointerdown,touchstart,mousedown",ly),uu(Nt,ze,"pointerup,touchend,mouseup",cy),Ad.kill(),cu(Nt);for(var i=0;i<_e.length;i+=3)du(Nt,_e[i],_e[i+1]),du(Nt,_e[i],_e[i+2])},t.enable=function(){if(be=window,ze=document,zr=ze.documentElement,Re=ze.body,X&&(gc=X.utils.toArray,Il=X.utils.clamp,xm=X.core.context||Un,Eh=X.core.suppressOverwrites||Un,m0=be.history.scrollRestoration||"auto",bm=be.pageYOffset||0,X.core.globals("ScrollTrigger",t),Re)){pl=1,ua=document.createElement("div"),ua.style.height="100vh",ua.style.position="absolute",iC(),z3(),dt.register(X),t.isTouch=dt.isTouch,Us=dt.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),vm=dt.isTouch===1,jt(be,"wheel",Po),p0=[be,ze,zr,Re],X.matchMedia?(t.matchMedia=function(u){var d=X.matchMedia(),f;for(f in u)d.add(f,u[f]);return d},X.addEventListener("matchMediaInit",function(){return b0()}),X.addEventListener("matchMediaRevert",function(){return nC()}),X.addEventListener("matchMedia",function(){Gi(0,1),yo("matchMedia")}),X.matchMedia().add("(orientation: portrait)",function(){return Rh(),Rh})):console.warn("Requires GSAP 3.11.0 or later"),Rh(),jt(ze,"scroll",Po);var n=Re.hasAttribute("style"),s=Re.style,i=s.borderTopStyle,o=X.core.Animation.prototype,a,c;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),s.borderTopStyle="solid",a=bs(Re),_t.m=Math.round(a.top+_t.sc())||0,dr.m=Math.round(a.left+dr.sc())||0,i?s.borderTopStyle=i:s.removeProperty("border-top-style"),n||(Re.setAttribute("style",""),Re.removeAttribute("style")),au=setInterval(fy,250),X.delayedCall(.5,function(){return lu=0}),jt(ze,"touchcancel",Un),jt(Re,"touchstart",Un),uu(jt,ze,"pointerdown,touchstart,mousedown",ly),uu(jt,ze,"pointerup,touchend,mouseup",cy),gm=X.utils.checkPrefix("transform"),Uu.push(gm),Oo=Xt(),Ad=X.delayedCall(.2,Gi).pause(),Do=[ze,"visibilitychange",function(){var u=be.innerWidth,d=be.innerHeight;ze.hidden?(sy=u,iy=d):(sy!==u||iy!==d)&&vl()},ze,"DOMContentLoaded",Gi,be,"load",Gi,be,"resize",vl],cu(jt),ye.forEach(function(u){return u.enable(0,1)}),c=0;c<_e.length;c+=3)du(Nt,_e[c],_e[c+1]),du(Nt,_e[c],_e[c+2])}},t.config=function(n){"limitCallbacks"in n&&(kh=!!n.limitCallbacks);var s=n.syncInterval;s&&clearInterval(au)||(au=s)&&setInterval(fy,s),"ignoreMobileResize"in n&&(vm=t.isTouch===1&&n.ignoreMobileResize),"autoRefreshEvents"in n&&(cu(Nt)||cu(jt,n.autoRefreshEvents||"none"),Y2=(n.autoRefreshEvents+"").indexOf("resize")===-1)},t.scrollerProxy=function(n,s){var i=xr(n),o=_e.indexOf(i),a=vo(i);~o&&_e.splice(o,a?6:2),s&&(a?ss.unshift(be,s,Re,s,zr,s):ss.unshift(i,s))},t.clearMatchMedia=function(n){ye.forEach(function(s){return s._ctx&&s._ctx.query===n&&s._ctx.kill(!0,!0)})},t.isInViewport=function(n,s,i){var o=(Ir(n)?xr(n):n).getBoundingClientRect(),a=o[i?oo:ao]*s||0;return i?o.right-a>0&&o.left+a<be.innerWidth:o.bottom-a>0&&o.top+a<be.innerHeight},t.positionInViewport=function(n,s,i){Ir(n)&&(n=xr(n));var o=n.getBoundingClientRect(),a=o[i?oo:ao],c=s==null?a/2:s in Dd?Dd[s]*a:~s.indexOf("%")?parseFloat(s)*a/100:parseFloat(s)||0;return i?(o.left+c)/be.innerWidth:(o.top+c)/be.innerHeight},t.killAll=function(n){if(ye.slice(0).forEach(function(i){return i.vars.id!=="ScrollSmoother"&&i.kill()}),n!==!0){var s=xo.killAll||[];xo={},s.forEach(function(i){return i()})}},t}();ge.version="3.13.0";ge.saveStyles=function(t){return t?gc(t).forEach(function(e){if(e&&e.style){var r=Or.indexOf(e);r>=0&&Or.splice(r,5),Or.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),X.core.getCache(e),xm())}}):Or};ge.revert=function(t,e){return b0(!t,e)};ge.create=function(t,e){return new ge(t,e)};ge.refresh=function(t){return t?vl(!0):(Oo||ge.register())&&Gi(!0)};ge.update=function(t){return++_e.cache&&js(t===!0?2:0)};ge.clearScrollMemory=sC;ge.maxScroll=function(t,e){return Zn(t,e?dr:_t)};ge.getScrollFunc=function(t,e){return ji(xr(t),e?dr:_t)};ge.getById=function(t){return wm[t]};ge.getAll=function(){return ye.filter(function(t){return t.vars.id!=="ScrollSmoother"})};ge.isScrolling=function(){return!!dn};ge.snapDirectional=w0;ge.addEventListener=function(t,e){var r=xo[t]||(xo[t]=[]);~r.indexOf(e)||r.push(e)};ge.removeEventListener=function(t,e){var r=xo[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)};ge.batch=function(t,e){var r=[],n={},s=e.interval||.016,i=e.batchMax||1e9,o=function(u,d){var f=[],m=[],h=X.delayedCall(s,function(){d(f,m),f=[],m=[]}).pause();return function(b){f.length||h.restart(!0),f.push(b.trigger),m.push(b),i<=f.length&&h.progress(1)}},a;for(a in e)n[a]=a.substr(0,2)==="on"&&Zt(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return Zt(i)&&(i=i(),jt(ge,"refresh",function(){return i=e.batchMax()})),gc(t).forEach(function(c){var u={};for(a in n)u[a]=n[a];u.trigger=c,r.push(ge.create(u))}),r};var xy=function(e,r,n,s){return r>s?e(s):r<0&&e(0),n>s?(s-r)/(n-r):n<0?r/(r-n):1},Mh=function t(e,r){r===!0?e.style.removeProperty("touch-action"):e.style.touchAction=r===!0?"auto":r?"pan-"+r+(dt.isTouch?" pinch-zoom":""):"none",e===zr&&t(Re,r)},gu={auto:1,scroll:1},q3=function(e){var r=e.event,n=e.target,s=e.axis,i=(r.changedTouches?r.changedTouches[0]:r).target,o=i._gsap||X.core.getCache(i),a=Xt(),c;if(!o._isScrollT||a-o._isScrollT>2e3){for(;i&&i!==Re&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(gu[(c=sn(i)).overflowY]||gu[c.overflowX]));)i=i.parentNode;o._isScroll=i&&i!==n&&!vo(i)&&(gu[(c=sn(i)).overflowY]||gu[c.overflowX]),o._isScrollT=a}(o._isScroll||s==="x")&&(r.stopPropagation(),r._gsapAllow=!0)},aC=function(e,r,n,s){return dt.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:r,onWheel:s=s&&q3,onPress:s,onDrag:s,onScroll:s,onEnable:function(){return n&&jt(ze,dt.eventTypes[0],wy,!1,!0)},onDisable:function(){return Nt(ze,dt.eventTypes[0],wy,!0)}})},Z3=/(input|label|select|textarea)/i,yy,wy=function(e){var r=Z3.test(e.target.tagName);(r||yy)&&(e._gsapAllow=!0,yy=r)},J3=function(e){Vi(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var r=e,n=r.normalizeScrollX,s=r.momentum,i=r.allowNestedScroll,o=r.onRelease,a,c,u=xr(e.target)||zr,d=X.core.globals().ScrollSmoother,f=d&&d.get(),m=Us&&(e.content&&xr(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),h=ji(u,_t),b=ji(u,dr),p=1,v=(dt.isTouch&&be.visualViewport?be.visualViewport.scale*be.visualViewport.width:be.outerWidth)/be.innerWidth,x=0,g=Zt(s)?function(){return s(a)}:function(){return s||2.8},w,_,C=aC(u,e.type,!0,i),N=function(){return _=!1},S=Un,E=Un,k=function(){c=Zn(u,_t),E=Il(Us?1:0,c),n&&(S=Il(0,Zn(u,dr))),w=lo},T=function(){m._gsap.y=ml(parseFloat(m._gsap.y)+h.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",h.offset=h.cacheID=0},D=function(){if(_){requestAnimationFrame(N);var P=ml(a.deltaY/2),A=E(h.v-P);if(m&&A!==h.v+h.offset){h.offset=A-h.v;var j=ml((parseFloat(m&&m._gsap.y)||0)-h.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+j+", 0, 1)",m._gsap.y=j+"px",h.cacheID=_e.cache,js()}return!0}h.offset&&T(),_=!0},R,$,O,U,L=function(){k(),R.isActive()&&R.vars.scrollY>c&&(h()>c?R.progress(1)&&h(c):R.resetTo("scrollY",c))};return m&&X.set(m,{y:"+=0"}),e.ignoreCheck=function(F){return Us&&F.type==="touchmove"&&D()||p>1.05&&F.type!=="touchstart"||a.isGesturing||F.touches&&F.touches.length>1},e.onPress=function(){_=!1;var F=p;p=ml((be.visualViewport&&be.visualViewport.scale||1)/v),R.pause(),F!==p&&Mh(u,p>1.01?!0:n?!1:"x"),$=b(),O=h(),k(),w=lo},e.onRelease=e.onGestureStart=function(F,P){if(h.offset&&T(),!P)U.restart(!0);else{_e.cache++;var A=g(),j,H;n&&(j=b(),H=j+A*.05*-F.velocityX/.227,A*=xy(b,j,H,Zn(u,dr)),R.vars.scrollX=S(H)),j=h(),H=j+A*.05*-F.velocityY/.227,A*=xy(h,j,H,Zn(u,_t)),R.vars.scrollY=E(H),R.invalidate().duration(A).play(.01),(Us&&R.vars.scrollY>=c||j>=c-1)&&X.to({},{onUpdate:L,duration:A})}o&&o(F)},e.onWheel=function(){R._ts&&R.pause(),Xt()-x>1e3&&(w=0,x=Xt())},e.onChange=function(F,P,A,j,H){if(lo!==w&&k(),P&&n&&b(S(j[2]===P?$+(F.startX-F.x):b()+P-j[1])),A){h.offset&&T();var Y=H[2]===A,te=Y?O+F.startY-F.y:h()+A-H[1],G=E(te);Y&&te!==G&&(O+=G-te),h(G)}(A||P)&&js()},e.onEnable=function(){Mh(u,n?!1:"x"),ge.addEventListener("refresh",L),jt(be,"resize",L),h.smooth&&(h.target.style.scrollBehavior="auto",h.smooth=b.smooth=!1),C.enable()},e.onDisable=function(){Mh(u,!0),Nt(be,"resize",L),ge.removeEventListener("refresh",L),C.kill()},e.lockAxis=e.lockAxis!==!1,a=new dt(e),a.iOS=Us,Us&&!h()&&h(1),Us&&X.ticker.add(Un),U=a._dc,R=X.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:n?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:oC(h,h(),function(){return R.pause()})},onUpdate:js,onComplete:U.vars.onComplete}),a};ge.sort=function(t){if(Zt(t))return ye.sort(t);var e=be.pageYOffset||0;return ge.getAll().forEach(function(r){return r._sortY=r.trigger?e+r.trigger.getBoundingClientRect().top:r.start+be.innerHe
228ight}),ye.sort(t||function(r,n){return(r.vars.refreshPriority||0)*-1e6+(r.vars.containerAnimation?1e6:r._sortY)-((n.vars.containerAnimation?1e6:n._sortY)+(n.vars.refreshPriority||0)*-1e6)})};ge.observe=function(t){return new dt(t)};ge.normalizeScroll=function(t){if(typeof t>"u")return ir;if(t===!0&&ir)return ir.enable();if(t===!1){ir&&ir.kill(),ir=t;return}var e=t instanceof dt?t:J3(t);return ir&&ir.target===e.target&&ir.kill(),vo(e.target)&&(ir=e),e};ge.core={_getVelocityProp:mm,_inputObserver:aC,_scrollers:_e,_proxies:ss,bridge:{ss:function(){dn||yo("scrollStart"),dn=Xt()},ref:function(){return Gt}}};Q2()&&X.registerPlugin(ge);ns.registerPlugin(ge);const eM=()=>{const t=y.useRef(null),e=y.useRef(null);return{elementRef:t,containerRef:e,animateFrom:(n,s={})=>{const{duration:i=.8,ease:o="power3.out",delay:a=0,stagger:c=.1,y:u=40,opacity:d=0,scrollTrigger:f={}}=s;return ns.fromTo(n,{opacity:d,y:u},{opacity:1,y:0,duration:i,ease:o,delay:a,stagger:c,scrollTrigger:{trigger:f.trigger||t.current,start:f.start||"top 80%",end:f.end||"bottom 20%",scrub:f.scrub||!1,markers:f.markers||!1}})}}},tM=()=>{const{containerRef:t,animateFrom:e}=eM(),r=y.useRef(null),n=y.useRef(null),s=y.useRef(null),i=y.useRef(null);return y.useEffect(()=>{if(r.current){const o=r.current.querySelectorAll(".writing-vertical");e(o,{y:100,opacity:0,duration:1.2,stagger:.08,ease:"power3.out"})}if(n.current&&e(n.current,{y:30,opacity:0,delay:.6,duration:1}),s.current&&e(s.current,{y:30,opacity:0,delay:.8,duration:1}),i.current){const o=Array.from(i.current.children);e(o,{y:20,opacity:0,delay:1.2,stagger:.2,duration:.8})}},[e]),l.jsxs("div",{ref:t,className:"relative overflow-hidden min-h-[85vh] flex flex-col justify-center",children:[l.jsx(O3,{}),l.jsx("div",{className:"container mx-auto px-4 py-8 md:py-16 flex flex-col md:flex-row items-center justify-between gap-8 relative z-10",children:l.jsxs("div",{className:"w-full z-10",children:[l.jsxs("h1",{ref:r,className:"md:w-2/3 mb-6 flex flex-wrap gap-2 md:gap-4 items-center justify-start",children:[l.jsxs("div",{className:"flex flex-row items-center gap-2",children:[l.jsx("span",{className:"writing-vertical text-2xl md:text-6xl font-bold text-setagaya-green",children:"人"}),l.jsx("span",{className:"writing-vertical text-xl md:text-5xl font-bold text-setagaya-green",children:"ã"}),l.jsx("span",{className:"writing-vertical text-2xl md:text-6xl font-bold text-setagaya-green",children:"ã¤"}),l.jsx("span",{className:"writing-vertical text-2xl md:text-6xl font-bold text-setagaya-green",children:"ãª"}),l.jsx("span",{className:"writing-vertical text-2xl md:text-6xl font-bold text-setagaya-green",children:"ã"}),l.jsx("span",{className:"writing-vertical text-2xl md:text-6xl font-bold text-setagaya-green",children:"ã"})]}),l.jsxs("div",{className:"flex flex-row items-center gap-2",children:[l.jsx("span",{className:"writing-vertical text-2xl md:text-6xl font-bold text-setagaya-green",children:"ã§"}),l.jsx("span",{className:"writing-vertical text-2xl md:text-6xl font-bold text-setagaya-green",children:"ã"}),l.jsx("span",{className:"writing-vertical text-2xl md:text-6xl font-bold text-setagaya-green",children:"ã"}),l.jsx("span",{className:"writing-vertical text-xl md:text-5xl font-bold text-setagaya-green",children:"ã§"}),l.jsx("span",{className:"writing-vertical text-2xl md:text-6xl font-bold text-setagaya-green",children:"ã¤"}),l.jsx("span",{className:"writing-vertical text-2xl md:text-6xl font-bold text-setagaya-green",children:"ãª"}),l.jsx("span",{className:"writing-vertical text-2xl md:text-6xl font-bold text-setagaya-green",children:"ã"}),l.jsx("span",{className:"writing-vertical text-2xl md:text-6xl font-bold text-setagaya-green",children:"ã"})]})]}),l.jsx("p",{ref:n,className:"text-lg md:text-xl mb-4",children:"ä½å®
ç¨å¤ªé½å
çºé»ã®ä½å°é»åãæ´»ç¨ããå®è¨¼äºæ¥"}),l.jsx("p",{ref:n,className:"text-md md:text-lg mb-4",children:"å°åã§ã¨ãã«ã®ã¼ãåãã¡åãã使°ãã¤ãªããåã"}),l.jsx("p",{ref:s,className:"text-md md:text-lg mb-8",children:"ä¸ç°è°·çºã黿°ã®å°ç£å°æ¶ããã¸ã§ã¯ããã¯ããã¾ãã"}),l.jsxs("div",{className:"mt-8 flex flex-col lg:flex-row gap-6 items-start lg:items-end",children:[l.jsxs("div",{className:"w-full lg:w-auto lg:flex-shrink-0",children:[l.jsx("div",{ref:i,className:"flex flex-col gap-4",children:l.jsx("a",{href:"/apply",className:"bg-setagaya-green hover:bg-green-600 text-white font-medium rounded px-8 py-3 text-lg transition-colors focus:outline-none focus:ring-2 focus:ring-setagaya-green focus:ring-offset-2 flex items-center justify-center",style:{minWidth:"180px"},children:"ã¢ãã¿ã¼ã«å¿åãã"})}),l.jsx("div",{className:"mt-4",children:l.jsxs("p",{className:"text-base lg:text-lg text-gray-600",children:["ãã§ã«ç³è¾¼æ¸ã¿ã®æ¹ã¯"," ",l.jsx("a",{href:"/login",className:"text-blue-800 hover:text-blue-900 underline font-semibold transition-colors",children:"ãã¡ããããã°ã¤ã³"}),"ãã¦ãã ããã"]})})]}),l.jsxs("div",{className:"w-full lg:flex-1 p-4 md:p-6 bg-gradient-to-r from-orange-50 to-yellow-50 rounded-lg border-2 border-orange-300 shadow-lg",children:[l.jsx("h3",{className:"text-xl md:text-2xl font-bold text-orange-700 mb-4",children:"ã¢ãã¿ã¼åå ã«ãã忏广"}),l.jsx("div",{className:"mb-3",children:l.jsx("p",{className:"text-base md:text-lg font-semibold text-gray-800 mb
228-2",children:"ï¼4人家æï¼æ¯æã®é»æ°ä»£19,223åï¼ã®å ´åï¼"})}),l.jsxs("div",{className:"space-y-2 text-sm md:text-base text-gray-800 mb-3",children:[l.jsxs("p",{className:"font-medium",children:[l.jsx("span",{className:"text-amber-700",children:"ãCOâããªã¼ãã©ã³ã"}),"â¦å¹´é黿°ä»£",l.jsx("span",{className:"font-bold text-amber-600",children:"9,516åã®åæ¸"})]}),l.jsxs("p",{className:"font-medium",children:[l.jsx("span",{className:"text-blue-700",children:"ããæè»½ãã©ã³ã"}),"â¦å¹´é黿°ä»£",l.jsx("span",{className:"font-bold text-blue-600",children:"20,424åã®åæ¸"})]})]}),l.jsx("p",{className:"text-sm md:text-base text-gray-700 mb-3 font-medium",children:"太é½å
ããã«ã§ã®çºé»éãå¤ãæ¥ä¸ã®é»æ°ä½¿ç¨ãå¤ãå ´åã¯ãæ´ãªã忏广ãæå¾
ï¼"}),l.jsxs("div",{className:"space-y-1 text-xs text-gray-600 mt-4 border-t border-orange-200 pt-3",children:[l.jsx("p",{children:"â» çæè²»èª¿æ´é¡ï¼â²7.37å/kWhï¼ã»åã¨ã賦課éï¼4.18å/kWhï¼ã¯2026å¹´5æåã«é©ç¨ãããå価ã使ç¨ãã試ç®ã§ãã"}),l.jsx("p",{children:"â» é»æ°æéã®åæ¸å¹æã¯ãæ±äº¬é»åï¼å¾éé»ç¯Bï¼ã¨ã®æ¯è¼ã§ãã忏广ãä¿è¨¼ãããã®ã§ã¯ããã¾ããã"}),l.jsx("p",{children:"â» æéã®é»å使ç¨é550kWhãããããç£ã®å¤ªé½å
çºé»ã«ãã黿°ï¼P2Pé»ååå¼åï¼ã®ä½¿ç¨å²å25ï¼
ãæ³å®ãã試ç®ã§ãã"})]})]})]})]})})]})},Pc=()=>{const t=y.useRef(null);return y.useEffect(()=>{const e=new IntersectionObserver(n=>{n.forEach(s=>{s.isIntersecting&&(s.target.classList.add("animate-fade-slide-in"),s.target.classList.remove("opacity-0"),s.target.classList.contains("transform")&&s.target.classList.remove("translate-y-10"),e.unobserve(s.target))})},{threshold:.03,rootMargin:"0px 0px -10% 0px"}),r=t.current;return r&&e.observe(r),()=>{r&&e.unobserve(r)}},[]),t};function rM({borderWidth:t=1,duration:e=14,shineColor:r="#000000",className:n,style:s,...i}){return l.jsx("div",{style:{"--border-width":`${t}px`,"--duration":`${e}s`,backgroundImage:`radial-gradient(transparent,transparent, ${Array.isArray(r)?r.join(","):r},transparent,transparent)`,backgroundSize:"300% 300%",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",maskComposite:"exclude",padding:"var(--border-width)",...s},className:ae("pointer-events-none absolute inset-0 size-full rounded-[inherit] will-change-[background-position] motion-safe:animate-shine",n),...i})}const by=({className:t,children:e,reference:r})=>l.jsx("div",{ref:r,className:ae("flex items-center justify-center rounded-full border-2 bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)] z-10",t),children:e}),nM=()=>{const t=Pc(),e=y.useRef(null),r=y.useRef(null),n=y.useRef(null),s=y.useRef(null);return l.jsx("div",{className:"relative pt-20 bg-white",children:l.jsxs("div",{ref:t,className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12 text-setagaya-green",children:"ã¨ãã«ã®ã¼ãè³¢ã使ã£ã¦ãç°å¢ã«ãå®¶è¨ã«ãããããæªæ¥ã¸"}),l.jsxs("div",{className:"flex flex-col md:flex-row gap-10 items-center",children:[l.jsx("div",{className:"w-full md:w-1/2 relative h-[300px] md:h-[400px]",children:l.jsxs("div",{className:"absolute inset-0 flex items-center justify-center",children:[l.jsxs("div",{ref:e,className:"absolute w-full max-w-md flex items-center justify-around",children:[l.jsxs("div",{className:"relative flex flex-col items-center -left-10 sm:-left-8",children:[l.jsxs(by,{className:"relative size-24 bg-setagaya-soft-green",reference:r,children:[l.jsx(Ab,{size:24,className:"text-setagaya-yellow absolute right-0 top-0"}),l.jsx("div",{className:"relative",children:l.jsx(dx,{size:48,className:"text-setagaya-green"})})]}),l.jsx("div",{className:"absolute top-24 w-48 text-center text-sm font-medium",children:"çºé»ããå®¶åº"})]}),l.jsxs("div",{className:"relative flex flex-col items-center -right-10 sm:-right-8",children:[l.jsx(by,{className:"relative size-24 bg-setagaya-soft-yellow",reference:n,children:l.jsx("div",{className:"relative",children:l.jsx(dx,{size:48,className:"text-setagaya-yellow"})})}),l.jsx("div",{className:"absolute top-24 w-48 text-center text-sm font-medium",children:"使ãå®¶åº"})]})]}),l.jsxs("div",{className:"relative w-full max-w-md",children:[l.jsx("div",{ref:s,className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-64 h-64 -z-10",children:l.jsx("div",{className:"relative w-full h-full rounded-full bg-setagaya-soft-green opacity-70",children:l.jsx(rM,{borderWidth:2,duration:12,shineColor:["#4CAF50","#8BC34A","#CDDC39"],className:"rounded-full"})})}),l.jsx("div",{className:"absolute top-1/2 left-1/2 -z-10 animate-rotate",children:l.jsx("div",{className:"w-80 h-80 rounded-full border-2 border-dashed border-setagaya-green opacity-40"})}),l.jsx("div",{className:"absolute -top-2 left-1/2 transform -translate-x-1/2 text-center",children:l.jsx("div",{className:"text-sm font-medium text-setagaya-green",children:"å°åå
ã¨ãã«ã®ã¼å¾ªç°"})})]})]})}),l.jsxs("div",{className:"w-full md:w-1/2",children:[l.jsx("p",{className:"text-lg mb-6",children:"ä½å®
ãªã©ã«è¨ç½®ããã太é½å
çºé»ã§ã¯ãå®¶åºã§ä½¿ãåããªããä½å°é»åããçºçãã¦ãã¾ãã"}),l.jsxs("p",{className:"text-lg",children:["ä¸ç°è°·åºã§ã¯ããã®åºå
ã§çã¾ããç°å¢è² è·ã®å°ãªãè²´éãªã¨ãã«ã®ã¼ã",l.jsx("br",{className:"hidden xl:block"}),"å°åå
ã§å¹ççã«å©ç¨ãã¦CO",l.jsx("sub",{children:"2"}),"æåºéã®æå¶ã¨çµæ¸æ§ã®å®ç¾ãç®æããã",l.jsx("br",{className:"hidden xl:block"}),"黿°ã®å°ç£å°æ¶ã®å®è¨¼ããã¸ã§ã¯ããã¹ã¿ã¼ããã¾ãã"]})]})]})]})})},lC=({className:t=""})=>l.jsx("div",{className:`absolute bottom-0 left-0 w-full overflow-hidden z-0 ${t}`,children:l.jsx("div",{className:"wave-container relative w-[200%]",children:l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1440 160",className:"animate-wave inline-block h-full",children:[l.jsx("defs",{children:l.jsxs("linearGradient",{id:"waveGradient1",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[l.jsx("stop",{offset:"0%",stopColor:"currentColor"}),l.jsx("stop",{offset:"100%",stopColor:"currentColor"})]})}),l.jsx("path",{d:"M0,350 C100,300 300,400 400,350 S600,250 800,350 V600 H0 Z",fill:"url(#waveGradient1)",children:l.jsx("animate",{repeatCount:"indef
228inite",attributeName:"d",dur:"15s",values:`M0,350 C100,300 300,400 400,350 S600,250 800,350 V600 H0 Z; 229 M0,350 C100,400 300,300 400,350 S600,450 800,350 V600 H0 Z; 230 M0,350 C100,300 300,400 400,350 S600,250 800,350 V600 H0 Z`})}),l.jsx("path",{fill:"currentColor",fillOpacity:"1",d:"M0,128L48,112C96,96,192,64,288,64C384,64,480,96,576,96C672,96,768,64,864,48C960,32,1056,32,1152,48C1248,64,1344,96,1392,112L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"})]})})}),sM=Pb("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),_0=y.forwardRef(({className:t,variant:e,size:r,asChild:n=!1,...s},i)=>{const o=n?hk:"button";return l.jsx(o,{className:ae(sM({variant:e,size:r,className:t})),ref:i,...s})});_0.displayName="Button";var Oh="focusScope.autoFocusOnMount",Dh="focusScope.autoFocusOnUnmount",_y={bubbles:!1,cancelable:!0},iM="FocusScope",C0=y.forwardRef((t,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...o}=t,[a,c]=y.useState(null),u=pn(s),d=pn(i),f=y.useRef(null),m=Ee(e,p=>c(p)),h=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect(()=>{if(n){let p=function(w){if(h.paused||!a)return;const _=w.target;a.contains(_)?f.current=_:Ws(f.current,{select:!0})},v=function(w){if(h.paused||!a)return;const _=w.relatedTarget;_!==null&&(a.contains(_)||Ws(f.current,{select:!0}))},x=function(w){if(document.activeElement===document.body)for(const C of w)C.removedNodes.length>0&&Ws(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",v);const g=new MutationObserver(x);return a&&g.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",v),g.disconnect()}}},[n,a,h.paused]),y.useEffect(()=>{if(a){Sy.add(h);const p=document.activeElement;if(!a.contains(p)){const x=new CustomEvent(Oh,_y);a.addEventListener(Oh,u),a.dispatchEvent(x),x.defaultPrevented||(oM(dM(cC(a)),{select:!0}),document.activeElement===p&&Ws(a))}return()=>{a.removeEventListener(Oh,u),setTimeout(()=>{const x=new CustomEvent(Dh,_y);a.addEventListener(Dh,d),a.dispatchEvent(x),x.defaultPrevented||Ws(p??document.body,{select:!0}),a.removeEventListener(Dh,d),Sy.remove(h)},0)}}},[a,u,d,h]);const b=y.useCallback(p=>{if(!r&&!n||h.paused)return;const v=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,x=document.activeElement;if(v&&x){const g=p.currentTarget,[w,_]=aM(g);w&&_?!p.shiftKey&&x===_?(p.preventDefault(),r&&Ws(w,{select:!0})):p.shiftKey&&x===w&&(p.preventDefault(),r&&Ws(_,{select:!0})):x===g&&p.preventDefault()}},[r,n,h.paused]);return l.jsx(ie.div,{tabIndex:-1,...o,ref:m,onKeyDown:b})});C0.displayName=iM;function oM(t,{select:e=!1}={}){const r=document.activeElement;for(const n of t)if(Ws(n,{select:e}),document.activeElement!==r)return}function aM(t){const e=cC(t),r=Cy(e,t),n=Cy(e.reverse(),t);return[r,n]}function cC(t){const e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const s=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||s?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function Cy(t,e){for(const r of t)if(!lM(r,{upTo:e}))return r}function lM(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function cM(t){return t instanceof HTMLInputElement&&"select"in t}function Ws(t,{select:e=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&cM(t)&&e&&t.select()}}var Sy=uM();function uM(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=Ny(t,e),t.unshift(e)},remove(e){var r;t=Ny(t,e),(r=t[0])==null||r.resume()}}}function Ny(t,e){const r=[...t],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function dM(t){return t.filter(e=>e.tagName!=="A")}var Ih=0;function uC(){y.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??jy()),document.body.insertAdjacentElement("beforeend",t[1]??jy()),Ih++,()=>{Ih===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
vendor: 5,838 bytes, lines 230-245
230=>e.remove()),Ih--}},[])}function jy(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var Xn=function(){return Xn=Object.assign||function(e){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Xn.apply(this,arguments)};function dC(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)e.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(r[n[s]]=t[n[s]]);return r}function fM(t,e,r){if(r||arguments.length===2)for(var n=0,s=e.length,i;n<s;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))}var Hu="right-scroll-bar-position",Yu="width-before-scroll-bar",hM="with-scroll-bars-hidden",pM="--removed-body-scroll-bar-size";function Lh(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function mM(t,e){var r=y.useState(function(){return{value:t,callback:e,facade:{get current(){return r.value},set current(n){var s=r.value;s!==n&&(r.value=n,r.callback(n,s))}}}})[0];return r.callback=e,r.facade}var gM=typeof window<"u"?y.useLayoutEffect:y.useEffect,Ey=new WeakMap;function vM(t,e){var r=mM(null,function(n){return t.forEach(function(s){return Lh(s,n)})});return gM(function(){var n=Ey.get(r);if(n){var s=new Set(n),i=new Set(t),o=r.current;s.forEach(function(a){i.has(a)||Lh(a,null)}),i.forEach(function(a){s.has(a)||Lh(a,o)})}Ey.set(r,t)},[t]),r}function xM(t){return t}function yM(t,e){e===void 0&&(e=xM);var r=[],n=!1,s={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:t},useMedium:function(i){var o=e(i,n);return r.push(o),function(){r=r.filter(function(a){return a!==o})}},assignSyncMedium:function(i){for(n=!0;r.length;){var o=r;r=[],o.forEach(i)}r={push:function(a){return i(a)},filter:function(){return r}}},assignMedium:function(i){n=!0;var o=[];if(r.length){var a=r;r=[],a.forEach(i),o=r}var c=function(){var d=o;o=[],d.forEach(i)},u=function(){return Promise.resolve().then(c)};u(),r={push:function(d){o.push(d),u()},filter:function(d){return o=o.filter(d),r}}}};return s}function wM(t){t===void 0&&(t={});var e=yM(null);return e.options=Xn({async:!0,ssr:!1},t),e}var fC=function(t){var e=t.sideCar,r=dC(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return y.createElement(n,Xn({},r))};fC.isSideCarExport=!0;function bM(t,e){return t.useMedium(e),fC}var hC=wM(),Fh=function(){},Sf=y.forwardRef(function(t,e){var r=y.useRef(null),n=y.useState({onScrollCapture:Fh,onWheelCapture:Fh,onTouchMoveCapture:Fh}),s=n[0],i=n[1],o=t.forwardProps,a=t.children,c=t.className,u=t.removeScrollBar,d=t.enabled,f=t.shards,m=t.sideCar,h=t.noRelative,b=t.noIsolation,p=t.inert,v=t.allowPinchZoom,x=t.as,g=x===void 0?"div":x,w=t.gapMode,_=dC(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=m,N=vM([r,e]),S=Xn(Xn({},_),s);return y.createElement(y.Fragment,null,d&&y.createElement(C,{sideCar:hC,removeScrollBar:u,shards:f,noRelative:h,noIsolation:b,inert:p,setCallbacks:i,allowPinchZoom:!!v,lockRef:r,gapMode:w}),o?y.cloneElement(y.Children.only(a),Xn(Xn({},S),{ref:N})):y.createElement(g,Xn({},S,{className:c,ref:N}),a))});Sf.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Sf.classNames={fullWidth:Yu,zeroRight:Hu};var _M=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function CM(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=_M();return e&&t.setAttribute("nonce",e),t}function SM(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function NM(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var jM=function(){var t=0,e=null;return{add:function(r){t==0&&(e=CM())&&(SM(e,r),NM(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},EM=function(){var t=jM();return function(e,r){y.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},pC=function(){var t=EM(),e=function(r){var n=r.styles,s=r.dynamic;return t(n,s),null};return e},kM={left:0,top:0,right:0,gap:0},zh=function(t){return parseInt(t||"",10)||0},TM=function(t){var e=window.getComputedStyle(document.body),r=e[t==="padding"?"paddingLeft":"marginLeft"],n=e[t==="padding"?"paddingTop":"marginTop"],s=e[t==="padding"?"paddingRight":"marginRight"];return[zh(r),zh(n),zh(s)]},PM=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return kM;var e=TM(t),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},RM=pC(),fa="data-scroll-locked",AM=function(t,e,r,n){var s=t.left,i=t.top,o=t.right,a=t.gap;return r===void 0&&(r="margin"),` 231 .`.concat(hM,` { 232 overflow: hidden `).concat(n,`; 233 padding-right: `).concat(a,"px ").concat(n,`; 234 } 235 body[`).concat(fa,`] { 236 overflow: hidden `).concat(n,`; 237 overscroll-behavior: contain; 238 `).concat([e&&"position: relative ".concat(n,";"),r==="margin"&&` 239 padding-left: `.concat(s,`px; 240 padding-top: `).concat(i,`px; 241 padding-right: `).concat(o,`px; 242 margin-left:0; 243 margin-top:0; 244 margin-right: `).concat(a,"px ").concat(n,`; 245 `),r==="padding"&&"padding-right: ".concat(a,"px ").concat(n,";
245")].filter(Boolean).join(""),` 246 } 247 248 .`).concat(Hu,` { 249 right: `).concat(a,"px ").concat(n,`; 250 } 251 252 .`).concat(Yu,` { 253 margin-right: `).concat(a,"px ").concat(n,`; 254 } 255 256 .`).concat(Hu," .").concat(Hu,` { 257 right: 0 `).concat(n,`; 258 } 259 260 .`).concat(Yu," .").concat(Yu,` { 261 margin-right: 0 `).concat(n,`; 262 } 263 264 body[`).concat(fa,`] { 265 `).concat(pM,": ").concat(a,`px; 266 } 267`)},ky=function(){var t=parseInt(document.body.getAttribute(fa)||"0",10);return isFinite(t)?t:0},MM=function(){y.useEffect(function(){return document.body.setAttribute(fa,(ky()+1).toString()),function(){var t=ky()-1;t<=0?document.body.removeAttribute(fa):document.body.setAttribute(fa,t.toString())}},[])},OM=function(t){var e=t.noRelative,r=t.noImportant,n=t.gapMode,s=n===void 0?"margin":n;MM();var i=y.useMemo(function(){return PM(s)},[s]);return y.createElement(RM,{styles:AM(i,!e,s,r?"":"!important")})},Cm=!1;if(typeof window<"u")try{var vu=Object.defineProperty({},"passive",{get:function(){return Cm=!0,!0}});window.addEventListener("test",vu,vu),window.removeEventListener("test",vu,vu)}catch{Cm=!1}var Ro=Cm?{passive:!1}:!1,DM=function(t){return t.tagName==="TEXTAREA"},mC=function(t,e){if(!(t instanceof Element))return!1;var r=window.getComputedStyle(t);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!DM(t)&&r[e]==="visible")},IM=function(t){return mC(t,"overflowY")},LM=function(t){return mC(t,"overflowX")},Ty=function(t,e){var r=e.ownerDocument,n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var s=gC(t,n);if(s){var i=vC(t,n),o=i[1],a=i[2];if(o>a)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},FM=function(t){var e=t.scrollTop,r=t.scrollHeight,n=t.clientHeight;return[e,r,n]},zM=function(t){var e=t.scrollLeft,r=t.scrollWidth,n=t.clientWidth;return[e,r,n]},gC=function(t,e){return t==="v"?IM(e):LM(e)},vC=function(t,e){return t==="v"?FM(e):zM(e)},$M=function(t,e){return t==="h"&&e==="rtl"?-1:1},BM=function(t,e,r,n,s){var i=$M(t,window.getComputedStyle(e).direction),o=i*n,a=r.target,c=e.contains(a),u=!1,d=o>0,f=0,m=0;do{if(!a)break;var h=vC(t,a),b=h[0],p=h[1],v=h[2],x=p-v-i*b;(b||x)&&gC(t,a)&&(f+=x,m+=b);var g=a.parentNode;a=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&a!==document.body||c&&(e.contains(a)||e===a));return(d&&Math.abs(f)<1||!d&&Math.abs(m)<1)&&(u=!0),u},xu=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Py=function(t){return[t.deltaX,t.deltaY]},Ry=function(t){return t&&"current"in t?t.current:t},VM=function(t,e){return t[0]===e[0]&&t[1]===e[1]},UM=function(t){return` 268 .block-interactivity-`.concat(t,` {pointer-events: none;} 269 .allow-interactivity-`).concat(t,` {pointer-events: all;} 270`)},WM=0,Ao=[];function HM(t){var e=y.useRef([]),r=y.useRef([0,0]),n=y.useRef(),s=y.useState(WM++)[0],i=y.useState(pC)[0],o=y.useRef(t);y.useEffect(function(){o.current=t},[t]),y.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var p=fM([t.lockRef.current],(t.shards||[]).map(Ry),!0).filter(Boolean);return p.forEach(function(v){return v.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),p.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var a=y.useCallback(function(p,v){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!o.current.allowPinchZoom;var x=xu(p),g=r.current,w="deltaX"in p?p.deltaX:g[0]-x[0],_="deltaY"in p?p.deltaY:g[1]-x[1],C,N=p.target,S=Math.abs(w)>Math.abs(_)?"h":"v";if("touches"in p&&S==="h"&&N.type==="range")return!1;var E=Ty(S,N);if(!E)return!0;if(E?C=S:(C=S==="v"?"h":"v",E=Ty(S,N)),!E)return!1;if(!n.current&&"changedTouches"in p&&(w||_)&&(n.current=C),!C)return!0;var k=n.current||C;return BM(k,v,p,k==="h"?w:_)},[]),c=y.useCallback(function(p){var v=p;if(!(!Ao.length||Ao[Ao.length-1]!==i)){var x="deltaY"in v?Py(v):xu(v),g=e.current.filter(function(C){return C.name===v.type&&(C.target===v.target||v.target===C.shadowParent)&&VM(C.delta,x)})[0];if(g&&g.should){v.cancelable&&v.preventDefault();return}
vendor: 4,259 bytes, line 270
270if(!g){var w=(o.current.shards||[]).map(Ry).filter(Boolean).filter(function(C){return C.contains(v.target)}),_=w.length>0?a(v,w[0]):!o.current.noIsolation;_&&v.cancelable&&v.preventDefault()}}},[]),u=y.useCallback(function(p,v,x,g){var w={name:p,delta:v,target:x,should:g,shadowParent:YM(x)};e.current.push(w),setTimeout(function(){e.current=e.current.filter(function(_){return _!==w})},1)},[]),d=y.useCallback(function(p){r.current=xu(p),n.current=void 0},[]),f=y.useCallback(function(p){u(p.type,Py(p),p.target,a(p,t.lockRef.current))},[]),m=y.useCallback(function(p){u(p.type,xu(p),p.target,a(p,t.lockRef.current))},[]);y.useEffect(function(){return Ao.push(i),t.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",c,Ro),document.addEventListener("touchmove",c,Ro),document.addEventListener("touchstart",d,Ro),function(){Ao=Ao.filter(function(p){return p!==i}),document.removeEventListener("wheel",c,Ro),document.removeEventListener("touchmove",c,Ro),document.removeEventListener("touchstart",d,Ro)}},[]);var h=t.removeScrollBar,b=t.inert;return y.createElement(y.Fragment,null,b?y.createElement(i,{styles:UM(s)}):null,h?y.createElement(OM,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function YM(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const GM=bM(hC,HM);var S0=y.forwardRef(function(t,e){return y.createElement(Sf,Xn({},t,{ref:e,sideCar:GM}))});S0.classNames=Sf.classNames;var KM=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Mo=new WeakMap,yu=new WeakMap,wu={},$h=0,xC=function(t){return t&&(t.host||xC(t.parentNode))},XM=function(t,e){return e.map(function(r){if(t.contains(r))return r;var n=xC(r);return n&&t.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",t,". Doing nothing"),null)}).filter(function(r){return!!r})},QM=function(t,e,r,n){var s=XM(e,Array.isArray(t)?t:[t]);wu[r]||(wu[r]=new WeakMap);var i=wu[r],o=[],a=new Set,c=new Set(s),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};s.forEach(u);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(m){if(a.has(m))d(m);else try{var h=m.getAttribute(n),b=h!==null&&h!=="false",p=(Mo.get(m)||0)+1,v=(i.get(m)||0)+1;Mo.set(m,p),i.set(m,v),o.push(m),p===1&&b&&yu.set(m,!0),v===1&&m.setAttribute(r,"true"),b||m.setAttribute(n,"true")}catch(x){console.error("aria-hidden: cannot operate on ",m,x)}})};return d(e),a.clear(),$h++,function(){o.forEach(function(f){var m=Mo.get(f)-1,h=i.get(f)-1;Mo.set(f,m),i.set(f,h),m||(yu.has(f)||f.removeAttribute(n),yu.delete(f)),h||f.removeAttribute(r)}),$h--,$h||(Mo=new WeakMap,Mo=new WeakMap,yu=new WeakMap,wu={})}},yC=function(t,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(t)?t:[t]),s=KM(t);return s?(n.push.apply(n,Array.from(s.querySelectorAll("[aria-live], script"))),QM(n,s,r,"aria-hidden")):function(){return null}},Nf="Dialog",[wC,ED]=An(Nf),[qM,Mn]=wC(Nf),bC=t=>{const{__scopeDialog:e,children:r,open:n,defaultOpen:s,onOpenChange:i,modal:o=!0}=t,a=y.useRef(null),c=y.useRef(null),[u,d]=is({prop:n,defaultProp:s??!1,onChange:i,caller:Nf});return l.jsx(qM,{scope:e,triggerRef:a,contentRef:c,contentId:ts(),titleId:ts(),descriptionId:ts(),open:u,onOpenChange:d,onOpenToggle:y.useCallback(()=>d(f=>!f),[d]),modal:o,children:r})};bC.displayName=Nf;var _C="DialogTrigger",CC=y.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,s=Mn(_C,r),i=Ee(e,s.triggerRef);return l.jsx(ie.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":E0(s.open),...n,ref:i,onClick:Z(t.onClick,s.onOpenToggle)})});CC.displayName=_C;var N0="DialogPortal",[ZM,SC]=wC(N0,{forceMount:void 0}),NC=t=>{const{__scopeDialog:e,forceMount:r,children:n,container:s}=t,i=Mn(N0,e);return l.jsx(ZM,{scope:e,forceMount:r,children:y.Children.map(n,o=>l.jsx(Pi,{present:r||i.open,children:l.jsx(nf,{asChild:!0,container:s,children:o})}))})};NC.displayName=N0;var Id="DialogOverlay",jC=y.forwardRef((t,e)=>{const r=SC(Id,t.__scopeDialog),{forceMount:n=r.forceMount,...s}=t,i=Mn(Id,t.__scopeDialog);return i.modal?l.jsx(Pi,{present:n||i.open,children:l.jsx(eO,{...s,ref:e})}):null});
vendor: 4,096 bytes, lines 270-274
270jC.displayName=Id;var JM=ka("DialogOverlay.RemoveScroll"),eO=y.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,s=Mn(Id,r);return l.jsx(S0,{as:JM,allowPinchZoom:!0,shards:[s.contentRef],children:l.jsx(ie.div,{"data-state":E0(s.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),wo="DialogContent",EC=y.forwardRef((t,e)=>{const r=SC(wo,t.__scopeDialog),{forceMount:n=r.forceMount,...s}=t,i=Mn(wo,t.__scopeDialog);return l.jsx(Pi,{present:n||i.open,children:i.modal?l.jsx(tO,{...s,ref:e}):l.jsx(rO,{...s,ref:e})})});EC.displayName=wo;var tO=y.forwardRef((t,e)=>{const r=Mn(wo,t.__scopeDialog),n=y.useRef(null),s=Ee(e,r.contentRef,n);return y.useEffect(()=>{const i=n.current;if(i)return yC(i)},[]),l.jsx(kC,{...t,ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Z(t.onCloseAutoFocus,i=>{var o;i.preventDefault(),(o=r.triggerRef.current)==null||o.focus()}),onPointerDownOutside:Z(t.onPointerDownOutside,i=>{const o=i.detail.originalEvent,a=o.button===0&&o.ctrlKey===!0;(o.button===2||a)&&i.preventDefault()}),onFocusOutside:Z(t.onFocusOutside,i=>i.preventDefault())})}),rO=y.forwardRef((t,e)=>{const r=Mn(wo,t.__scopeDialog),n=y.useRef(!1),s=y.useRef(!1);return l.jsx(kC,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,a;(o=t.onCloseAutoFocus)==null||o.call(t,i),i.defaultPrevented||(n.current||(a=r.triggerRef.current)==null||a.focus(),i.preventDefault()),n.current=!1,s.current=!1},onInteractOutside:i=>{var c,u;(c=t.onInteractOutside)==null||c.call(t,i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const o=i.target;((u=r.triggerRef.current)==null?void 0:u.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})}),kC=y.forwardRef((t,e)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:s,onCloseAutoFocus:i,...o}=t,a=Mn(wo,r),c=y.useRef(null),u=Ee(e,c);return uC(),l.jsxs(l.Fragment,{children:[l.jsx(C0,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:s,onUnmountAutoFocus:i,children:l.jsx(jc,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":E0(a.open),...o,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),l.jsxs(l.Fragment,{children:[l.jsx(nO,{titleId:a.titleId}),l.jsx(iO,{contentRef:c,descriptionId:a.descriptionId})]})]})}),j0="DialogTitle",TC=y.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,s=Mn(j0,r);return l.jsx(ie.h2,{id:s.titleId,...n,ref:e})});TC.displayName=j0;var PC="DialogDescription",RC=y.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,s=Mn(PC,r);return l.jsx(ie.p,{id:s.descriptionId,...n,ref:e})});RC.displayName=PC;var AC="DialogClose",MC=y.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,s=Mn(AC,r);return l.jsx(ie.button,{type:"button",...n,ref:e,onClick:Z(t.onClick,()=>s.onOpenChange(!1))})});MC.displayName=AC;function E0(t){return t?"open":"closed"}var OC="DialogTitleWarning",[kD,DC]=dk(OC,{contentName:wo,titleName:j0,docsSlug:"dialog"}),nO=({titleId:t})=>{const e=DC(OC),r=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users. 271 272If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component. 273 274For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return y.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},sO="DialogDescriptionWarning",iO=({contentRef:t,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${DC(sO).contentName}}.`;return y.useEffect(()=>{var i;const s=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(n))},[n,t,e]),null},oO=bC,aO=CC,lO=NC,IC=jC,LC=EC,FC=TC,zC=RC,cO=MC;const $C=oO,BC=aO,uO=lO,VC=y.forwardRef(({className:t,...e},r)=>l.jsx(IC,{ref:r,className:ae("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e}));VC.displayName=IC.displayName;
274const k0=y.forwardRef(({className:t,children:e,...r},n)=>l.jsxs(uO,{children:[l.jsx(VC,{}),l.jsxs(LC,{ref:n,className:ae("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...r,children:[e,l.jsxs(cO,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[l.jsx(Og,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));k0.displayName=LC.displayName;const T0=({className:t,...e})=>l.jsx("div",{className:ae("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});T0.displayName="DialogHeader";const P0=y.forwardRef(({className:t,...e},r)=>l.jsx(FC,{ref:r,className:ae("text-lg font-semibold leading-none tracking-tight",t),...e}));P0.displayName=FC.displayName;const dO=y.forwardRef(({className:t,...e},r)=>l.jsx(zC,{ref:r,className:ae("text-sm text-muted-foreground",t),...e}));dO.displayName=zC.displayName;function Ld(t,[e,r]){return Math.min(r,Math.max(e,t))}var fO=y.createContext(void 0);function Rc(t){const e=y.useContext(fO);return t||e||"ltr"}function UC(t){const e=y.useRef({value:t,previous:t});return y.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}var WC=["PageUp","PageDown"],HC=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],YC={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Wa="Slider",[Sm,hO,pO]=Nc(Wa),[GC,TD]=An(Wa,[pO]),[mO,jf]=GC(Wa),KC=y.forwardRef((t,e)=>{const{name:r,min:n=0,max:s=100,step:i=1,orientation:o="horizontal",disabled:a=!1,minStepsBetweenThumbs:c=0,defaultValue:u=[n],value:d,onValueChange:f=()=>{},onValueCommit:m=()=>{},inverted:h=!1,form:b,...p}=t,v=y.useRef(new Set),x=y.useRef(0),w=o==="horizontal"?gO:vO,[_=[],C]=is({prop:d,defaultProp:u,onChange:D=>{var $;($=[...v.current][x.current])==null||$.focus(),f(D)}}),N=y.useRef(_);function S(D){const R=_O(_,D);T(D,R)}function E(D){T(D,x.current)}function k(){const D=N.current[x.current];_[x.current]!==D&&m(_)}function T(D,R,{commit:$}={commit:!1}){const O=jO(i),U=EO(Math.round((D-n)/i)*i+n,O),L=Ld(U,[n,s]);C((F=[])=>{const P=wO(F,L,R);if(NO(P,c*i)){x.current=P.indexOf(L);const A=String(P)!==String(F);return A&&$&&m(P),A?P:F}else return F})}return l.jsx(mO,{scope:t.__scopeSlider,name:r,disabled:a,min:n,max:s,valueIndexToChangeRef:x,thumbs:v.current,values:_,orientation:o,form:b,children:l.jsx(Sm.Provider,{scope:t.__scopeSlider,children:l.jsx(Sm.Slot,{scope:t.__scopeSlider,children:l.jsx(w,{"aria-disabled":a,"data-disabled":a?"":void 0,...p,ref:e,onPointerDown:Z(p.onPointerDown,()=>{a||(N.current=_)}),min:n,max:s,inverted:h,onSlideStart:a?void 0:S,onSlideMove:a?void 0:E,onSlideEnd:a?void 0:k,onHomeKeyDown:()=>!a&&T(n,0,{commit:!0}),onEndKeyDown:()=>!a&&T(s,_.length-1,{commit:!0}),onStepKeyDown:({event:D,direction:R})=>{if(!a){const U=WC.includes(D.key)||D.shiftKey&&HC.includes(D.key)?10:1,L=x.current,F=_[L],P=i*U*R;T(F+P,L,{commit:!0})}}})})})})});KC.displayName=Wa;var[XC,QC]=GC(Wa,{startEdge:"left",endEdge:"right",size:"width",direction:1}),gO=y.forwardRef((t,e)=>{const{min:r,max:n,dir:s,inverted:i,onSlideStart:o,onSlideMove:a,onSlideEnd:c,onStepKeyDown:u,...d}=t,[f,m]=y.useState(null),h=Ee(e,w=>m(w)),b=y.useRef(void 0),p=Rc(s),v=p==="ltr",x=v&&!i||!v&&i;function g(w){const _=b.current||f.getBoundingClientRect(),C=[0,_.width],S=R0(C,x?[r,n]:[n,r]);return b.current=_,S(w-_.left)}return l.jsx(XC,{scope:t.__scopeSlider,startEdge:x?"left":"right",endEdge:x?"right":"left",direction:x?1:-1,size:"width",children:l.jsx(qC,{dir:p,"data-orientation":"horizontal",...d,ref:h,style:{...d.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:w=>{const _=g(w.clientX);o==null||o(_)},onSlideMove:w=>{const _=g(w.clientX);a==null||a(_)},onSlideEnd:()=>{b.current=void 0,c==null||c()},onStepKeyDown:w=>{const C=YC[x?"from-left":"from-right"].includes(w.key);u==null||u({event:w,direction:C?-1:1})}})})}),vO=y.forwardRef((t,e)=>{const{min:r,max:n,inverted:s,onSlideStart:i,onSlideMove:o,onSlideEnd:a,onStepKeyDown:c,...u}=t,d=y.useRef(null),f=Ee(e,d),m=y.useRef(void 0),h=!s;function b(p){const v=m.current||d.current.getBoundingClientRect(),x=[0,v.height],w=R0(x,h?[n,r]:[r,n]);return m.current=v,w(p-v.top)}return l.jsx(XC,{scope:t.__scopeSlider,startEdge:h?"bottom":"top",endEdge:h?"top":"bottom",size:"height",direction:h?1:-1,children:l.jsx(qC,{"data-orientation":"vertical",...u,ref:f,style:{...u.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:p=>{const v=b(p.clientY);i==null||i(v)},onSlideMove:p=>{const v=b(p.clientY);o==null||o(v)},onSlideEnd:()=>{m.current=void 0,a==null||a()},onStepKeyDown:p=>{const x=YC[h?"from-bottom":"from-top"].includes(p.key);c==null||c({event:p,direction:x?-1:1})}})})}),qC=y.forwardRef((t,e)=>{const{__scopeSlider:r,onSlideStart:n,onSlideMove:s,onSlideEnd:i,onHomeKeyDown:o,onEndKeyDown:a,onStepKeyDown:c,...u}=t,d=jf(Wa,r);return l.jsx(ie.span,{...u,ref:e,onKeyDown:Z(t.onKeyDown,f=>{f.key==="Home"?(o(f),f.preventDefault()):f.key==="End"?(a(f),f.preventDefault()):WC.concat(HC).includes(f.key)&&(c(f),f.preventDefault())}),onPointerDown:Z(t.onPointerDown,f=>{const m=f.target;m.setPointerCapture(f.pointerId),f.preventDefault(),d.thumbs.has(m)?m.focus():n(f)}),onPointerMove:Z(t.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&s(f)}),onPointerUp:Z(t.onPointerUp,f=>{const m=f.target;m.hasPointerCapture(f.pointerId)&&(m.releasePointerCapture(f.pointerId),i(f))})})}),ZC="SliderTrack",JC=y.forwardRef((t,e)=>{const{__scopeSlider:r,...n}=t,s=jf(ZC,r);return l.jsx(ie.span,{"data-disabled":s.disabled?"":void 0,"data-orientation":s.orientation,...n,ref:e})});JC.displayName=ZC;var Nm="SliderRange",eS=y.forwardRef((t,e)=>{const{__scopeSlider:r,...n}=t,s=jf(Nm,r),i=QC(Nm,r),o=y.useRef(null),a=Ee(e,o),c=s.values.length,u=s.values.map(m=>nS(m,s.min,s.max)),d=c>1?Math.min(...u):0,f=100-Math.max(...u);return l.jsx(ie.span,{"data-orientation":s.orientation,"data-disabled":s.disabled?"":void 0,...n,ref:a,style:{...t.style,[i.startEdge]:d+"%",[i.endEdge]:f
274+"%"}})});eS.displayName=Nm;var jm="SliderThumb",tS=y.forwardRef((t,e)=>{const r=hO(t.__scopeSlider),[n,s]=y.useState(null),i=Ee(e,a=>s(a)),o=y.useMemo(()=>n?r().findIndex(a=>a.ref.current===n):-1,[r,n]);return l.jsx(xO,{...t,ref:i,index:o})}),xO=y.forwardRef((t,e)=>{const{__scopeSlider:r,index:n,name:s,...i}=t,o=jf(jm,r),a=QC(jm,r),[c,u]=y.useState(null),d=Ee(e,g=>u(g)),f=c?o.form||!!c.closest("form"):!0,m=t_(c),h=o.values[n],b=h===void 0?0:nS(h,o.min,o.max),p=bO(n,o.values.length),v=m==null?void 0:m[a.size],x=v?CO(v,b,a.direction):0;return y.useEffect(()=>{if(c)return o.thumbs.add(c),()=>{o.thumbs.delete(c)}},[c,o.thumbs]),l.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[a.startEdge]:`calc(${b}% + ${x}px)`},children:[l.jsx(Sm.ItemSlot,{scope:t.__scopeSlider,children:l.jsx(ie.span,{role:"slider","aria-label":t["aria-label"]||p,"aria-valuemin":o.min,"aria-valuenow":h,"aria-valuemax":o.max,"aria-orientation":o.orientation,"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,tabIndex:o.disabled?void 0:0,...i,ref:d,style:h===void 0?{display:"none"}:t.style,onFocus:Z(t.onFocus,()=>{o.valueIndexToChangeRef.current=n})})}),f&&l.jsx(rS,{name:s??(o.name?o.name+(o.values.length>1?"[]":""):void 0),form:o.form,value:h},n)]})});tS.displayName=jm;var yO="RadioBubbleInput",rS=y.forwardRef(({__scopeSlider:t,value:e,...r},n)=>{const s=y.useRef(null),i=Ee(s,n),o=UC(e);return y.useEffect(()=>{const a=s.current;if(!a)return;const c=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(c,"value").set;if(o!==e&&d){const f=new Event("input",{bubbles:!0});d.call(a,e),a.dispatchEvent(f)}},[o,e]),l.jsx(ie.input,{style:{display:"none"},...r,ref:i,defaultValue:e})});rS.displayName=yO;function wO(t=[],e,r){const n=[...t];return n[r]=e,n.sort((s,i)=>s-i)}function nS(t,e,r){const i=100/(r-e)*(t-e);return Ld(i,[0,100])}function bO(t,e){return e>2?`Value ${t+1} of ${e}`:e===2?["Minimum","Maximum"][t]:void 0}function _O(t,e){if(t.length===1)return 0;const r=t.map(s=>Math.abs(s-e)),n=Math.min(...r);return r.indexOf(n)}function CO(t,e,r){const n=t/2,i=R0([0,50],[0,n]);return(n-i(e)*r)*r}function SO(t){return t.slice(0,-1).map((e,r)=>t[r+1]-e)}function NO(t,e){if(e>0){const r=SO(t);return Math.min(...r)>=e}return!0}function R0(t,e){return r=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const n=(e[1]-e[0])/(t[1]-t[0]);return e[0]+n*(r-t[0])}}function jO(t){return(String(t).split(".")[1]||"").length}function EO(t,e){const r=Math.pow(10,e);return Math.round(t*r)/r}var sS=KC,kO=JC,TO=eS,PO=tS;const Fd=y.forwardRef(({className:t,...e},r)=>l.jsxs(sS,{ref:r,className:ae("relative flex w-full touch-none select-none items-center",t),...e,children:[l.jsx(kO,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:l.jsx(TO,{className:"absolute h-full bg-primary"})}),l.jsx(PO,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]}));Fd.displayName=sS.displayName;const RO=()=>{const[t,e]=y.useState([3e3]),[r,n]=y.useState([30]),s=.8,i=.2,o=12,a=9,c=8.5,u=t[0],d=r[0]/100,f=u*(1-d),m=f*s,h=f*i,b=m*o,p=h*a,v=b+p,x=f*c,g=v-x;return l.jsxs("div",{className:"bg-white rounded-lg p-6 shadow-sm border border-gray-200 mt-6",children:[l.jsx("h4",{className:"text-lg font-medium text-gray-700 mb-3",children:"売é»åå
¥ã·ãã¥ã¬ã¼ã¿ã¼"}),l.jsxs("div",{className:"mb-6",children:[l.jsxs("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:["å¹´éçºé»é: ",l.jsxs("span",{className:"text-green-600 font-bold",children:[u.toLocaleString(),"kWh"]})]}),l.jsx(Fd,{value:t,onValueChange:e,min:1e3,max:8e3,step:100,className:"w-full"}),l.jsxs("div",{className:"flex justify-between text-xs text-gray-500 mt-1",children:[l.jsx("span",{children:"1,000kWh"}),l.jsx("span",{children:"8,000kWh"})]})]}),l.jsxs("div",{className:"mb-6",children:[l.jsxs("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:["èªå®¶æ¶è²»ç: ",l.jsxs("span",{className:"text-green-600 font-bold",children:[r[0],"%"]})]}),l.jsx(Fd,{value:r,onValueChange:n,min:10,max:70,step:5,className:"w-full"}),l.jsxs("div",{className:"flex justify-between text-xs text-gray-500 mt-1",children:[l.jsx("span",{children:"10%"}),l.jsx("span",{children:"70%"})]})]}),l.jsxs("div",{className:"bg-gray-50 rounded-lg p-4 mb-6",children:[l.jsx("h5",{className:"text-sm font-medium text-gray-700 mb-3",children:"è¨ç®è©³ç´°"}),l.jsxs("div",{className:"text-sm text-gray-600 space-y-2",children:[l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"ä½å°é»åé:"}
274),l.jsxs("span",{children:[f.toLocaleString(),"kWh"]})]}),l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"P2Pé»ååå¼é (80%):"}),l.jsxs("span",{children:[m.toLocaleString(),"kWh à ",o,"å"]})]}),l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"ä½å°å£²é»é (20%):"}),l.jsxs("span",{children:[h.toLocaleString(),"kWh à ",a,"å"]})]})]})]}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"bg-green-50 border-2 border-green-400 rounded-lg p-4",children:[l.jsx("h5",{className:"text-lg font-bold text-green-800 mb-2",children:"ããããã·ã§ã¢"}),l.jsxs("div",{className:"text-2xl font-bold text-green-600 mb-2",children:[Math.round(v).toLocaleString(),"å"]}),l.jsxs("div",{className:"text-sm text-gray-600 space-y-1",children:[l.jsxs("div",{children:["P2Pé»ååå¼: ",Math.round(b).toLocaleString(),"å"]}),l.jsxs("div",{children:["ä½å°å£²é»: ",Math.round(p).toLocaleString(),"å"]})]}),g>0&&l.jsxs("div",{className:"mt-2 text-sm text-green-700 font-medium",children:["å¹´é +",Math.round(g).toLocaleString(),"å"]})]}),l.jsxs("div",{className:"bg-gray-50 border-2 border-gray-300 rounded-lg p-4",children:[l.jsx("h5",{className:"text-lg font-bold text-gray-700 mb-2",children:"æ±äº¬é»åã¨ãã¸ã¼ãã¼ããã¼ (åFIT)"}),l.jsxs("div",{className:"text-2xl font-bold text-gray-600 mb-2",children:[Math.round(x).toLocaleString(),"å"]}),l.jsxs("div",{className:"text-sm text-gray-600",children:[f.toLocaleString(),"kWh à ",c,"å"]})]})]}),l.jsxs("div",{className:"mt-4 text-xs text-gray-600 space-y-1",children:[l.jsx("p",{children:"â» ããããã·ã§ã¢ã®ä½å°å£²é»å価ã¯å¤åãã¾ãã"}),l.jsx("p",{children:"â» P2Pé»ååå¼éã¨ä½å°å£²é»éã®å²åã¯åºå®ã§ã¯ãªããåå è
å
¨ä½ã®é給ãã©ã³ã¹ã«ãã£ã¦å¤åãã¾ãã"})]})]})},AO=({children:t})=>{const[e,r]=y.useState(!1);return l.jsxs($C,{open:e,onOpenChange:r,children:[l.jsx(BC,{asChild:!0,children:t}),l.jsxs(k0,{className:"w-[95vw] max-w-4xl max-h-[90vh] overflow-y-auto overflow-x-hidden",children:[l.jsx(T0,{children:l.jsxs(P0,{className:"flex items-center justify-center",children:[l.jsx(af,{className:"text-green-600 mr-3",size:32}),"売é»åå
¥ã·ãã¥ã¬ã¼ã¿ã¼"]})}),l.jsx("div",{className:"mt-4 overflow-x-hidden",children:l.jsx(RO,{})})]})]})},MO=()=>l.jsxs("div",{className:"w-full md:w-full bg-green-50 p-6",children:[l.jsxs("div",{className:"flex items-center mt-8 mb-6",children:[l.jsx("img",{src:"/lovable-uploads/29553dc0-f2eb-4b6d-a986-d1d59e1ee610.png",alt:"ããããã§ãã売é»ã¢ã¤ã³ã³",className:"w-20 h-20 mr-4"}),l.jsxs("div",{className:"flex flex-col items-start",children:[l.jsx("img",{src:"/lovable-uploads/3703f2a0-1d43-4f77-9719-4480ae0c1775.png",alt:"åFITè²·åãµã¼ãã¹ãããããã·ã§ã¢ã",className:"h-12 mb-2 object-contain"}),l.jsx("h3",{className:"text-lg font-bold",children:"powered by å
¨è¾²ã¨ãã«ã®ã¼"})]})]}),l.jsx("div",{className:"bg-gray-200 border-2 border-gray-400 rounded-lg p-6 mb-8 mt-8",children:l.jsxs("div",{className:"text-center space-y-3",children:[l.jsx("p",{className:"text-lg font-medium text-gray-800",children:"ããããã·ã§ã¢ã¯å®å¡ã«éãããããæ°è¦ã®ãç³ãè¾¼ã¿åä»ã忢ãã¦ããã¾ãã"}),l.jsxs("div",{className:"bg-white border border-blue-300 rounded-lg p-4 mt-4",children:[l.jsx("p",{className:"text-base font-medium text-blue-800 mb-2",children:"â» ãã§ã«ã¢ã«ã¦ã³ãç»é²æ¸ã¿ã®æ¹ã¸"}),l.jsxs("p",{className:"text-sm text-gray-700 mb-3",children:["ã¢ã«ã¦ã³ãç»é²ããæ¸ã¿ã®æ¹ã¯ãå¼ãç¶ããç³ãè¾¼ã¿ããã ãã¾ãã",l.jsx("br",{}),"ãæ©ãã«ãç³ãè¾¼ã¿ãã ããã"]}),l.jsx("div",{className:"text-center",children:l.jsx("a",{href:"/login",className:"inline-block bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 text-sm font-medium rounded transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",children:"ãã°ã¤ã³ãã¦ç³ãè¾¼ã"})})]})]})}),l.jsxs("div",{className:"bg-green-100 border-2 border-green-500 px-6 py-4 rounded-md my-4 w-fit mx-auto",children:[l.jsx("h4",{className:"font-bold text-lg text-center mb-2",children:"ä½å°é»åã®è²·é»ä¾¡æ ¼"}),l.jsxs("p",{className:"text-xl font-bold text-center",children:["9.0~15.0å",l.jsx("span",{className:"text-lg",children:"/kWh"})]}
274),l.jsx("p",{className:"text-xs mt-2",children:"â»è²·åä¾¡æ ¼ã¯ç®å®ã§ããå®è¨¼äºæ¥ã«ããã黿°ã®é給éã«å¿ãã¦30ååä½ã§å¤åãã¾ãã"}),l.jsx("p",{className:"text-xs mt-2",children:"â»æ±äº¬é»åã¨ãã¸ã¼ãã¼ããã¼ã®åFITè²·åä¾¡æ ¼ 8.5å/kWh"})]}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 items-center justify-center mt-8",children:[l.jsxs("div",{className:"bg-red-500 text-white rounded-full w-20 h-20 flex flex-col items-center justify-center",children:[l.jsx("span",{className:"text-sm",children:"åå "}),l.jsx("span",{className:"text-sm",children:"ç¹å
¸"})]}),l.jsxs("div",{className:"sm:ml-4 flex flex-col items-center sm:items-start",children:[l.jsx("img",{src:"/lovable-uploads/0532df37-38b7-4fa2-90b8-ea7272c2631a.png",alt:"ããPay",className:"h-12 mb-1"}),l.jsx("span",{className:"font-bold text-green-500 line-through",children:"10,000åç¸å½å"}),l.jsx("span",{className:"text-sm font-medium text-gray-600 mt-1",children:"â»ã好è©ã«ã¤ãåå ç¹å
¸ã®ããPayãã¤ã³ãä»ä¸ã¯çµäºãã¾ãã"})]})]}),l.jsxs("div",{className:"mt-8 text-center mb-6",children:[l.jsx("button",{disabled:!0,className:"bg-gray-400 text-white px-8 py-3 text-lg font-medium rounded cursor-not-allowed inline-block opacity-60",style:{textAlign:"center"},children:"ã¢ãã¿ã¼ã«å¿åãã"}),l.jsx("div",{className:"mt-4",children:l.jsx(AO,{children:l.jsxs(_0,{variant:"outline",className:"border-green-500 text-green-700 hover:bg-green-50 px-6 py-2",children:[l.jsx(af,{className:"mr-2",size:20}),"売é»åå
¥ã·ãã¥ã¬ã¼ã¿ã¼"]})})})]}),l.jsxs("div",{className:"mt-6",children:[l.jsx("h4",{className:"font-medium mb-3",children:"対象ã¨ãªããå®¶åº"}),l.jsxs("ul",{className:"space-y-2 text-sm",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx(ws,{className:"text-green-600 mr-2 mt-1 flex-shrink-0",size:16}),l.jsx("span",{children:"ä¸ç°è°·åºå
ã«å¤ªé½å
çºé»ã·ã¹ãã ãè¨ç½®å¾ã10年以ä¸ãçµéãã¦ãããå®¶åºï¼åFITï¼"})]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx(ws,{className:"text-green-600 mr-2 mt-1 flex-shrink-0",size:16}),l.jsx("span",{children:"ãã®ä»ãåºå®ä¾¡æ ¼è²·åå¶åº¦ï¼FITå¶åº¦ï¼ã®èªå®ãåãã¦ããªã太é½å
çºé»ã·ã¹ãã ãè¨ç½®ããã¦ããå ´åã対象ã§ãã"})]})]})]}),l.jsxs("div",{className:"mt-6",children:[l.jsx("p",{className:"text-xs text-gray-600 mb-1",children:"â»æ®æ®µä½¿ã£ã¦ãã黿°ã®å¥ç´ãã©ã³ãé»åä¼ç¤¾ã¯å¤ããã¾ããã"}),l.jsx("p",{className:"text-xs text-gray-600 mb-1",children:"â»å®è¨¼äºæ¥å¾ãç¶ç¶ãã¦æ¬äºæ¥ã®é»åä¼ç¤¾ã«å£²é»ã§ãã¾ããä»ã®é»åä¼ç¤¾ã«å£²é»å
ãåãæ¿ãããã¨ãã§ãã¾ãã"}),l.jsx("p",{className:"text-xs text-gray-600 mb-1",children:"â»å®è¨¼äºæ¥å¾ã®æç¶ãã«ã¤ãã¦ã¯ãå®è¨¼æéãçµäºããåã«é»åä¼ç¤¾ãããæ¡å
ãã¾ãã"}),l.jsx("p",{className:"text-xs text-gray-600 mb-1",children:"â»ç¾å¨ãä½å°é»åã売é»ãã¦ããªããéæ½®æµã§ç³»çµ±ã«æ¥ç¶ãã¦ããªããåé»å°ç¹ç¹å®çªå·ãè¨åID ããªãå ´åã¯å¯¾è±¡å¤ã¨ãªãã¾ãã"}),l.jsx("p",{className:"text-xs text-gray-600 mb-1",children:"â»ã¢ãã¿ã¼åå ã«ããã¦ã¯ãä½å°é»æ°ã®å£²é»å
ãå
¨è¾²ã¨ãã«ã®ã¼æ ªå¼ä¼ç¤¾ã«å¤æ´ããã ãå¿
è¦ãããã¾ãã"})]})]}),A0=y.forwardRef(({className:t,...e},r)=>l.jsx("div",{ref:r,className:ae("rounded-lg border bg-card text-card-foreground shadow-sm",t),...e}));A0.displayName="Card";const M0=y.forwardRef(({className:t,...e},r)=>l.jsx("div",{ref:r,className:ae("flex flex-col space-y-1.5 p-6",t),...e}));M0.displayName="CardHeader";const O0=y.forwardRef(({className:t,...e},r)=>l.jsx("h3",{ref:r,className:ae("text-2xl font-semibold leading-none tracking-tight",t),...e}));O0.displayName="CardTitle";const OO=y.forwardRef(({className:t,...e},r)=>l.jsx("p",{ref:r,className:ae("text-sm text-muted-foreground",t),...e}));OO.displayName="CardDescription";const D0=y.forwardRef(({className:t,...e},r)=>l.jsx("div",{ref:r,className:ae("p-6 pt-0",t),...e}));
274D0.displayName="CardContent";const DO=y.forwardRef(({className:t,...e},r)=>l.jsx("div",{ref:r,className:ae("flex items-center p-6 pt-0",t),...e}));DO.displayName="CardFooter";const Ay=({title:t,titleColor:e,borderColor:r,headerBg:n,headerBorderColor:s,description:i,amount:o,amountColor:a})=>l.jsxs(A0,{className:`w-full max-w-md border-2 ${r} overflow-hidden`,children:[l.jsx(M0,{className:`${n} border-b ${s}`,children:l.jsxs(O0,{className:`text-center ${e}`,children:[l.jsx("span",{className:e,children:"ããããã§ãã"}),l.jsx("br",{}),t]})}),l.jsxs(D0,{className:"pt-6",children:[l.jsx("p",{className:"text-sm text-gray-600 mb-4",children:i}),l.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center mt-8 gap-4 sm:gap-0",children:[l.jsxs("div",{className:"bg-red-500 text-white rounded-full w-20 h-20 flex flex-col items-center justify-center",children:[l.jsx("span",{className:"text-sm",children:"åå "}),l.jsx("span",{className:"text-sm",children:"ç¹å
¸"})]}),l.jsxs("div",{className:"sm:ml-4 flex flex-col items-center sm:items-start",children:[l.jsx("img",{src:"/lovable-uploads/0532df37-38b7-4fa2-90b8-ea7272c2631a.png",alt:"ããPay",className:"h-12 mb-1"}),l.jsxs("span",{className:`font-bold ${a} line-through`,children:[o,"ç¸å½å"]}),l.jsx("span",{className:"text-sm font-medium text-gray-600 mt-1",children:"â»ã好è©ã«ã¤ãåå ç¹å
¸ã®ããPayãã¤ã³ãä»ä¸ã¯çµäºãã¾ãã"})]})]})]})]}),iS=y.forwardRef(({className:t,...e},r)=>l.jsx("div",{className:"relative w-full overflow-auto",children:l.jsx("table",{ref:r,className:ae("w-full caption-bottom text-sm",t),...e})}));iS.displayName="Table";const oS=y.forwardRef(({className:t,...e},r)=>l.jsx("thead",{ref:r,className:ae("[&_tr]:border-b",t),...e}));oS.displayName="TableHeader";const aS=y.forwardRef(({className:t,...e},r)=>l.jsx("tbody",{ref:r,className:ae("[&_tr:last-child]:border-0",t),...e}));aS.displayName="TableBody";const IO=y.forwardRef(({className:t,...e},r)=>l.jsx("tfoot",{ref:r,className:ae("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...e}));IO.displayName="TableFooter";const Hs=y.forwardRef(({className:t,...e},r)=>l.jsx("tr",{ref:r,className:ae("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...e}));Hs.displayName="TableRow";const xl=y.forwardRef(({className:t,...e},r)=>l.jsx("th",{ref:r,className:ae("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...e}));xl.displayName="TableHead";const Ie=y.forwardRef(({className:t,...e},r)=>l.jsx("td",{ref:r,className:ae("p-4 align-middle [&:has([role=checkbox])]:pr-0",t),...e}));Ie.displayName="TableCell";const LO=y.forwardRef(({className:t,...e},r)=>l.jsx("caption",{ref:r,className:ae("mt-4 text-sm text-muted-foreground",t),...e}));LO.displayName="TableCaption";const FO=({direction:t="horizontal",message:e,className:r,targetRef:n})=>{const[s,i]=y.useState(!0),o=Xg(),a=y.useRef(null);y.useEffect(()=>{if(!o){i(!1);return}i(!0);const u=()=>{i(!1)};if(a.current){const{element:d,handler:f}=a.current;d&&d.removeEventListener("scroll",f),a.current=null}return setTimeout(()=>{const d=(n==null?void 0:n.current)??null;if(d){d.addEventListener("scroll",u,{passive:!0}),a.current={element:d,handler:u};return}const f=document.querySelector("[data-radix-scroll-area-viewport]")||document.querySelector(".ScrollAreaViewport")||document.querySelector(".scroll-area-viewport");f?(f.addEventListener("scroll",u,{passive:!0}),a.current={element:f,handler:u}):(window.addEventListener("scroll",u,{passive:!0}),a.current={element:window,handler:u})},150),()=>{if(a.current){const{element:d,handler:f}=a.current;d&&d.removeEventListener("scroll",f),a.current=null}}},[o,t,n]);const c=()=>{i(!1)};return!o||!s?null:l.jsxs("div",{className:ae("absolute inset-0 z-40 pointer-events-auto",r),onClick:c,children:[l.jsx("div",{className:"absolute inset-0 bg-black bg-opacity-30"}),l.jsxs("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-white bg-opacity-80 rounded-lg p-3 flex items-center shadow-lg",children:[l.jsx("span",{className:"mr-2 text-sm font-medium",children:e||(t==="horizontal"?"横ã«ã¹ã¯ãã¼ã«":"ä¸ã«ã¹ã¯ãã¼ã«")}),t==="horizontal"?l.jsx(ux,{className:"animate-bounce",size:18}):l.jsx(ux,{className:"rotate-90 animate-bounce",size:18})]})]})},zO=()=>{const t=Xg(),e=y.useRef(null);return l.jsxs("div",{className:"w-full relative",children:[t&&l.jsx(FO,{message:"横ã«ã¹ã¯ãã¼ã«ãã¦ãã ãã",targetRef
274:e}),l.jsx("div",{ref:e,className:"w-full overflow-x-auto overscroll-x-contain",style:{WebkitOverflowScrolling:"touch",scrollbarWidth:"thin"},children:l.jsxs(iS,{className:"border-collapse w-full min-w-[600px]",children:[l.jsx(oS,{children:l.jsxs(Hs,{children:[l.jsx(xl,{colSpan:2,className:"bg-blue-100 text-blue-900 font-medium p-4 border-0 rounded-tl-lg text-base",children:"ããããã§ãã æé表"}),l.jsxs(xl,{className:"bg-yellow-100 text-yellow-900 font-medium p-4 border-0 text-base",children:["ããããã§ãã",l.jsx("br",{}),"COâããªã¼ãã©ã³"]}),l.jsxs(xl,{className:"bg-blue-100 text-blue-900 font-medium p-4 border-0 text-base",children:["ããããã§ãã",l.jsx("br",{}),"ãæè»½ãã©ã³"]}),l.jsxs(xl,{className:"bg-gray-100 text-gray-900 font-medium p-4 border-0 rounded-tr-lg text-base",children:["ï¼åèï¼",l.jsx("br",{}),"大æé»åä¼ç¤¾",l.jsx("br",{}),"å¾éé»ç¯B",l.jsx("br",{}),l.jsx("span",{className:"text-xs mt-2 text-gray-700",children:"2026å¹´5ææç¹ã§ã®å価"})]})]})}),l.jsxs(aS,{children:[l.jsxs(Hs,{className:"bg-white hover:bg-blue-50",children:[l.jsx(Ie,{className:"border-y border-blue-100 p-4 font-medium bg-blue-50 text-base",children:"åºæ¬æéå価"}),l.jsx(Ie,{className:"bg-blue-50 border-y border-blue-100 p-4 text-right text-base",children:"10A/1kVAããã"}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-yellow-50",children:"311.75å"}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-blue-50",children:"311.75å"}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-gray-50",children:"311.75å"})]}),l.jsxs(Hs,{className:"bg-white hover:bg-blue-50",children:[l.jsx(Ie,{className:"border-y border-blue-100 p-4 font-medium bg-blue-50 text-base",children:"ããããç£ã®åã¨ãã§ãã"}),l.jsx(Ie,{className:"bg-blue-50 border-y border-blue-100 p-4 text-right text-base"}),l.jsxs(Ie,{colSpan:2,className:"border-y border-blue-100 p-4 text-left text-base bg-yellow-50",children:[l.jsxs("p",{children:["é給ã®ç¶æ³ã«ããã30ååä½ã§å¤åãã¾ãã",l.jsx("br",{}),"ãã ããæå¤§ä¾¡æ ¼ã¯ãä¸è¨ã®ããããç£ä»¥å¤ã®ã§ããã®",l.jsx("br",{}),"ç¬¬äºæ®µéä¾¡æ ¼ï¼çæè²»èª¿æ´ä¾¡æ ¼åæ å¾ï¼ã¨ãã¾ãã"]}),l.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"â» æå¤§ä¾¡æ ¼ã¯çæè²»èª¿æ´ä¾¡æ ¼ã«ããæ¯æå¤åãã¾ãã"})]}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-gray-50",children:"-"})]}),l.jsxs(Hs,{className:"bg-white hover:bg-blue-50",children:[l.jsxs(Ie,{rowSpan:3,className:"border-y border-blue-100 p-4 font-medium bg-blue-50 text-base",children:["ããããç£ä»¥å¤ã®",l.jsx("br",{}),"ã§ãã",l.jsx("br",{}),l.jsxs("span",{className:"text-sm text-gray-500",children:["â» å¤éãé¨å¤©æçã",l.jsx("br",{}),"åºå
ã®å¤ªé½å
çºé»ã§ä¾çµ¦ã§ããªãæã®å価"]})]}),l.jsxs(Ie,{className:"bg-blue-50 border-y border-blue-100 p-4 text-right text-base",children:["第1段é",l.jsx("br",{}),"(120kWhã¾ã§)"]}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-yellow-50",children:"29.80å/kWh"}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-blue-50",children:"29.80å/kWh"}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-gray-50",children:"29.80å/kWh"})]}),l.jsxs(Hs,{className:"bg-white hover:bg-blue-50",children:[l.jsxs(Ie,{className:"bg-blue-50 border-y border-blue-100 p-4 text-right text-base",children:["第2段é",l.jsx("br",{}),"(120kWhãè¶
ãã¦300kWhã¾ã§)"]}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-yellow-50",children:"34.95å/kWh"}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-blue-50",children:"34.95å/kWh"}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-gray-50",children:"36.40å/kWh"})]}),l.jsxs(Hs,{className:"bg-white hover:bg-blue-50",children:[l.jsxs(Ie,{className:"bg-blue-50 border-y border-blue-100 p-4 text-right text-base",children:["第3段é",l.jsx("br",{}),"(300kWh以é)"]}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-yellow-50",children:"36.66å/kWh"}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-blue-50",children:"36.66å/kWh"}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-gray-50",children:"40.49å/kWh"})]}),l.jsxs(Hs,{className:"bg-white hover:bg-blue-50",children:[l.jsx(Ie,{colSpan:2,className:"border-y border-blue-100 p-4 font-medium bg-blue-50 text-base",children:"åã¨ãç¹ç´ä¾¡æ ¼"}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-yellow-50",children:"2.2å/kWh"}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-blue-50",children:"-"}),l.jsx(Ie,{className:"border-y border-blue-100 p-4 text-right text-base bg-gray-50",children:"-"})]})]})]})})]})},$O=()=>l.jsxs("ul",{className:"mt-6 space-y-2 text-xs text-gray-700",children:[l.jsxs("li",{children:["â» ã¢ãã¿ã¼ã®åå ã«ã¯ã黿°ã®ãå¥ç´å
ãå
¨è¾²ã¨ãã«ã®ã¼æ ªå¼ä¼ç¤¾ã«å¤æ´ããã ãå¿
è¦ãããã¾ãã 詳ãããåãåããã¯ã«ã¹ã¿ãã¼ãµãã¼ãï¼[email protected]ï¼ã",l.jsx("a",{href:"#contact",className:"underline",children:"ãåãåããå
"}),"ã«ãé¡ããã¾ãã"]}),l.jsx("li",{children:"â» ç¾å¨ãååãã©ã³ã§é»æ°ä¾çµ¦ãå¥ç´ããã¦ããæ¹ã¯å¯¾è±¡å¤ã§ããååãã©ã³ã¨é»ç¯ãã©ã³ã§å¥å¥ç´ããã¦ããå ´åã¯ãé»ç¯å¥ç´ã®ã¿ããããããã§ãããã«ãç³è¾¼ã¿ããã ãã¾ãã"}),l.jsx("li",{children:"â» é»æ°æéãå®ããªããã¨ãä¿è¨¼ãããã©ã³ã§ã¯ããã¾ãããã¾ãã黿°ä½¿ç¨éãå°ãªãæï¼ç®å®ï¼150kWh以ä¸ï¼ããæ¥ä¸ã®é»æ°ä½¿ç¨éãå°ãªãå ´åãªã©ã太é½å
çºé»ã«ããé»ååå¼ãå°ãªãå ´åã¯ã大æé»åä¼ç¤¾ããã黿°æéãé«ããªãå ´åãããã¾ãã"}),l.jsx("li",{children:"â» ãå®¶åºã§ä½¿ç¨ãã黿°ã®ä¸é¨ã«ããããããç£ã®åã¨ã黿°ãããå±ãããå°ç£å°æ¶ã®ã§ãããã©ã³ã§ãã"}),l.jsx("li",{children:"â» å¤éãé¨å¤©æãªã©ã太é½å
çºé»ã®ä½å°é»åã ãã§ã¯è³ãã
274ªã黿°ã¯ãåºå¤ã®çºé»æã®é»æ°ãä¾çµ¦ããã¾ãã"}),l.jsx("li",{children:"â» å®è³ª COâ æåºã¼ãã¨ã¯ãèªç¶ã¨ãã«ã®ã¼ã«ãã黿°ã®ç°å¢ä¾¡å¤ï¼éåç³è¨¼æ¸ï¼ãä»ãã黿°ã®ãã¨ã§ãã"}),l.jsx("li",{children:"â» åºå¤ã®çºé»æã®é»æ°ã¨æ··ãã£ã¦ãå®¶åºã«å±ãããã¾ãã®ã§ãããããç£ã®åã¨ã黿°ãç´æ¥å±ããããããã§ã¯ããã¾ããã"})]}),BO=t=>{if(t.includes("kVA")){const r=parseInt(t.replace("kVA",""));if(!isNaN(r))return Math.round(r*311.75)}if(t.includes("A")){const r=parseInt(t.replace("A",""));if(!isNaN(r))return Math.round(r/10*311.75)}return Math.round(40/10*311.75)},Bh=(t,e,r,n,s="40A")=>{const i=BO(s),o={co2free:{tier1:29.8,tier2:34.95,tier3:36.66},regular:{tier1:29.8,tier2:34.95,tier3:36.66},tepco:{tier1:29.8,tier2:36.4,tier3:40.49}};let a=0,c=0,u=0,d=0,f=0;const m={tier1:0,tier2:0,tier3:0};let h;if(e==="tepco"){const v=Math.min(t,120),x=Math.min(Math.max(t-120,0),180),g=Math.max(t-300,0);m.tier1=Math.round(v*o[e].tier1),m.tier2=Math.round(x*o[e].tier2),m.tier3=Math.round(g*o[e].tier3),f=Math.floor(t*-7.37),a=m.tier1+m.tier2+m.tier3+f}else{const v=r||0;c=Math.round(v*(n||0));const g=t-v;if(g>0){const w=Math.min(g,120),_=Math.min(Math.max(g-120,0),180),C=Math.max(g-300,0);m.tier1=Math.round(w*o[e].tier1),m.tier2=Math.round(_*o[e].tier2),m.tier3=Math.round(C*o[e].tier3),f=Math.floor(g*-7.37),u=m.tier1+m.tier2+m.tier3+f,h={tier1:{usage:w,cost:m.tier1},tier2:{usage:_,cost:m.tier2},tier3:{usage:C,cost:m.tier3}}}if(a=c+u,e==="co2free"){const w=t-(r||0);d=Math.round(w*2.2)}}const b=Math.round(t*4.18);return{total:Math.floor(i+a+b+d),baseCharge:i,electricityCharge:Math.round(a),renewableCharge:b,fuelAdjustment:f,defossilizationCharge:e==="co2free"?d:void 0,p2pCharge:e!=="tepco"?c:void 0,gridCharge:e!=="tepco"?u:void 0,breakdown:m,gridBreakdown:e!=="tepco"?h:void 0}},VO=({usage:t,onUsageChange:e,disabled:r=!1})=>l.jsxs("div",{className:"mb-8 bg-white rounded-lg p-6 border",children:[l.jsxs("label",{className:"block text-lg font-medium text-gray-700 mb-4",children:["æéé»å使ç¨é: ",l.jsxs("span",{className:"text-blue-600 font-bold",children:[t,"kWh"]})]}),r?l.jsx("div",{className:"w-full h-2 bg-gray-200 rounded-full mb-2",children:l.jsx("div",{className:"h-2 bg-gray-400 rounded-full",style:{width:`${(t-100)/700*100}%`}})}):l.jsx(Fd,{value:[t],onValueChange:e,max:800,min:100,step:10,className:"w-full"}),l.jsxs("div",{className:"flex justify-between text-sm text-gray-500 mt-2",children:[l.jsx("span",{children:"100kWh"}),l.jsx("span",{children:"400kWh (å¹³å)"}),l.jsx("span",{children:"800kWh"})]})]});var UO=[" ","Enter","ArrowUp","ArrowDown"],WO=[" ","Enter"],bo="Select",[Ef,kf,HO]=Nc(bo),[Ha,PD]=An(bo,[HO,ff]),Tf=ff(),[YO,Ai]=Ha(bo),[GO,KO]=Ha(bo),lS=t=>{const{__scopeSelect:e,children:r,open:n,defaultOpen:s,onOpenChange:i,value:o,defaultValue:a,onValueChange:c,dir:u,name:d,autoComplete:f,disabled:m,required:h,form:b}=t,p=Tf(e),[v,x]=y.useState(null),[g,w]=y.useState(null),[_,C]=y.useState(!1),N=Rc(u),[S,E]=is({prop:n,defaultProp:s??!1,onChange:i,caller:bo}),[k,T]=is({prop:o,defaultProp:a,onChange:c,caller:bo}),D=y.useRef(null),R=v?b||!!v.closest("form"):!0,[$,O]=y.useState(new Set),U=Array.from($).map(L=>L.props.value).join(";");return l.jsx(VR,{...p,children:l.jsxs(YO,{required:h,scope:e,trigger:v,onTriggerChange:x,valueNode:g,onValueNodeChange:w,valueNodeHasChildren:_,onValueNodeHasChildrenChange:C,contentId:ts(),value:k,onValueChange:T,open:S,onOpenChange:E,dir:N,triggerPointerDownPosRef:D,disabled:m,children:[l.jsx(Ef.Provider,{scope:e,children:l.jsx(GO,{scope:t.__scopeSelect,onNativeOptionAdd:y.useCallback(L=>{O(F=>new Set(F).add(L))},[]),onNativeOptionRemove:y.useCallback(L=>{O(F=>{const P=new Set(F);return P.delete(L),P})},[]),children:r})}),R?l.jsxs(AS,{"aria-hidden":!0,required:h,tabIndex:-1,name:d,autoComplete:f,value:k,onChange:L=>T(L.target.value),disabled:m,form:b,children:[k===void 0?l.jsx("option",{value:""}):null,Array.from($)]},U):null]})})};lS.displayName=bo;var cS="SelectTrigger",uS=y.forwardRef((t,e)=>{const{__scopeSelect:r,disabled:n=!1,...s}=t,i=Tf(r),o=Ai(cS,r),a=o.disabled||n,c=Ee(e,o.onTriggerChange),u=kf(r),d=y.useRef("touch"),[f,m,h]=OS(p=>{const v=u().filter(w=>!w.disabled),x=v.find(w=>w.value===o.value),g=DS(v,p,x);g!==void 0&&o.onValueChange(g.value)}),b=p=>{a||(o.onOpenChange(!0),h()),p&&(o.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return l.jsx(d_,{asChild:!0,...i,children:l.jsx(ie.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":MS(o.value)?"":void 0,...s,ref:c,onClick:Z(s.onClick,p=>
vendor: 16,054 bytes, line 274
274{p.currentTarget.focus(),d.current!=="mouse"&&b(p)}),onPointerDown:Z(s.onPointerDown,p=>{d.current=p.pointerType;const v=p.target;v.hasPointerCapture(p.pointerId)&&v.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(b(p),p.preventDefault())}),onKeyDown:Z(s.onKeyDown,p=>{const v=f.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&m(p.key),!(v&&p.key===" ")&&UO.includes(p.key)&&(b(),p.preventDefault())})})})});uS.displayName=cS;var dS="SelectValue",fS=y.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:s,children:i,placeholder:o="",...a}=t,c=Ai(dS,r),{onValueNodeHasChildrenChange:u}=c,d=i!==void 0,f=Ee(e,c.onValueNodeChange);return Tt(()=>{u(d)},[u,d]),l.jsx(ie.span,{...a,ref:f,style:{pointerEvents:"none"},children:MS(c.value)?l.jsx(l.Fragment,{children:o}):i})});fS.displayName=dS;var XO="SelectIcon",hS=y.forwardRef((t,e)=>{const{__scopeSelect:r,children:n,...s}=t;return l.jsx(ie.span,{"aria-hidden":!0,...s,ref:e,children:n||"â¼"})});hS.displayName=XO;var QO="SelectPortal",pS=t=>l.jsx(nf,{asChild:!0,...t});pS.displayName=QO;var _o="SelectContent",mS=y.forwardRef((t,e)=>{const r=Ai(_o,t.__scopeSelect),[n,s]=y.useState();if(Tt(()=>{s(new DocumentFragment)},[]),!r.open){const i=n;return i?No.createPortal(l.jsx(gS,{scope:t.__scopeSelect,children:l.jsx(Ef.Slot,{scope:t.__scopeSelect,children:l.jsx("div",{children:t.children})})}),i):null}return l.jsx(vS,{...t,ref:e})});mS.displayName=_o;var wn=10,[gS,Mi]=Ha(_o),qO="SelectContentImpl",ZO=ka("SelectContent.RemoveScroll"),vS=y.forwardRef((t,e)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:i,onPointerDownOutside:o,side:a,sideOffset:c,align:u,alignOffset:d,arrowPadding:f,collisionBoundary:m,collisionPadding:h,sticky:b,hideWhenDetached:p,avoidCollisions:v,...x}=t,g=Ai(_o,r),[w,_]=y.useState(null),[C,N]=y.useState(null),S=Ee(e,B=>_(B)),[E,k]=y.useState(null),[T,D]=y.useState(null),R=kf(r),[$,O]=y.useState(!1),U=y.useRef(!1);y.useEffect(()=>{if(w)return yC(w)},[w]),uC();const L=y.useCallback(B=>{const[le,...xe]=R().map(oe=>oe.ref.current),[he]=xe.slice(-1),re=document.activeElement;for(const oe of B)if(oe===re||(oe==null||oe.scrollIntoView({block:"nearest"}),oe===le&&C&&(C.scrollTop=0),oe===he&&C&&(C.scrollTop=C.scrollHeight),oe==null||oe.focus(),document.activeElement!==re))return},[R,C]),F=y.useCallback(()=>L([E,w]),[L,E,w]);y.useEffect(()=>{$&&F()},[$,F]);const{onOpenChange:P,triggerPointerDownPosRef:A}=g;y.useEffect(()=>{if(w){let B={x:0,y:0};const le=he=>{var re,oe;B={x:Math.abs(Math.round(he.pageX)-(((re=A.current)==null?void 0:re.x)??0)),y:Math.abs(Math.round(he.pageY)-(((oe=A.current)==null?void 0:oe.y)??0))}},xe=he=>{B.x<=10&&B.y<=10?he.preventDefault():w.contains(he.target)||P(!1),document.removeEventListener("pointermove",le),A.current=null};return A.current!==null&&(document.addEventListener("pointermove",le),document.addEventListener("pointerup",xe,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",le),document.removeEventListener("pointerup",xe,{capture:!0})}}},[w,P,A]),y.useEffect(()=>{const B=()=>P(!1);return window.addEventListener("blur",B),window.addEventListener("resize",B),()=>{window.removeEventListener("blur",B),window.removeEventListener("resize",B)}},[P]);const[j,H]=OS(B=>{const le=R().filter(re=>!re.disabled),xe=le.find(re=>re.ref.current===document.activeElement),he=DS(le,B,xe);he&&setTimeout(()=>he.ref.current.focus())}),Y=y.useCallback((B,le,xe)=>{const he=!U.current&&!xe;(g.value!==void 0&&g.value===le||he)&&(k(B),he&&(U.current=!0))},[g.value]),te=y.useCallback(()=>w==null?void 0:w.focus(),[w]),G=y.useCallback((B,le,xe)=>{const he=!U.current&&!xe;(g.value!==void 0&&g.value===le||he)&&D(B)},[g.value]),ce=n==="popper"?Em:xS,ve=ce===Em?{side:a,sideOffset:c,align:u,alignOffset:d,arrowPadding:f,collisionBoundary:m,collisionPadding:h,sticky:b,hideWhenDetached:p,avoidCollisions:v}:{};return l.jsx(gS,{scope:r,content:w,viewport:C,onViewportChange:N,itemRefCallback:Y,selectedItem:E,onItemLeave:te,itemTextRefCallback:G,focusSelectedItem:F,selectedItemText:T,position:n,isPositioned:$,searchRef:j,children:l.jsx(S0,{as:ZO,allowPinchZoom:!0,children:l.jsx(C0,{asChild:!0,trapped:g.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:Z(s,B=>{var le;(le=g.trigger)==null||le.focus({preventScroll:!0}),B.preventDefault()}),children:l.jsx(jc,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>g.onOpenChange(!1),children:l.jsx(ce,{role:"listbox",id:g.contentId,"data-state":g.open?"open":"closed",dir:g.dir,onContextMenu:B=>B.preventDefault(),...x,...ve,onPlaced:()=>O(!0),ref:S,style:{display:"flex",flexDirection:"column",outline:"none",...x.style},onKeyDown:Z(x.onKeyDown,B=>{const le=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!le&&B.key.length===1&&H(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let he=R().filter(re=>!re.disabled).map(re=>re.ref.current);if(["ArrowUp","End"].includes(B.key)&&(he=he.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const re=B.target,oe=he.indexOf(re);he=he.slice(oe+1)}setTimeout(()=>L(he)),B.preventDefault()}})})})})})})});vS.displayName=qO;var JO="SelectItemAlignedPosition",xS=y.forwardRef((t,e)=>{const{__scopeSelect:r,onPlaced:n,...s}=t,i=Ai(_o,r),o=Mi(_o,r),[a,c]=y.useState(null),[u,d]=y.useState(null),f=Ee(e,S=>d(S)),m=kf(r),h=y.useRef(!1),b=y.useRef(!0),{viewport:p,selectedItem:v,selectedItemText:x,focusSelectedItem:g}=o,w=y.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&u&&p&&v&&x){const S=i.trigger.getBoundingClientRect(),E=u.getBoundingClientRect(),k=i.valueNode.getBoundingClientRect(),T=x.getBoundingClientRect();if(i.dir!=="rtl"){const re=T.left-E.left,oe=k.left-re,ne=S.left-oe,je=S.width+ne,et=Math.max(je,E.width),tt=window.innerWidth-wn,M=Ld(oe,[wn,Math.max(wn,tt-et)]);a.style.minWidth=je+"px",a.style.left=M+"px"}else{const re=E.right-T.right,oe=window.innerWidth-k.right-re,ne=window.innerWidth-S.right-oe,je=S.width+ne,et=Math.max(je,E.width),tt=window.innerWidth-wn,M=Ld(oe,[wn,Math.max(wn,tt-et)]);a.style.minWidth=je+"px",a.style.right=M+"px"}const D=m(),R=window.innerHeight-wn*2,$=p.scrollHeight,O=window.getComputedStyle(u),U=parseInt(O.borderTopWidth,10),L=parseInt(O.paddingTop,10),F=parseInt(O.borderBottomWidth,10),P=parseInt(O.paddingBottom,10),A=U+L+$+P+F,j=Math.min(v.offsetHeight*5,A),H=window.getComputedStyle(p),Y=parseInt(H.paddingTop,10),te=parseInt(H.paddingBottom,10),G=S.top+S.height/2-wn,ce=R-G,ve=v.offsetHeight/2,B=v.offsetTop+ve,le=U+L+B,xe=A-le;if(le<=G){const re=D.length>0&&v===D[D.length-1].ref.current;a.style.bottom="0px";const oe=u.clientHeight-p.offsetTop-p.offsetHeight,ne=Math.max(ce,ve+(re?te:0)+oe+F),je=le+ne;a.style.height=je+"px"}else{const re=D.length>0&&v===D[0].ref.current;a.style.top="0px";const ne=Math.max(G,U+p.offsetTop+(re?Y:0)+ve)+xe;a.style.height=ne+"px",p.scrollTop=le-G+p.offsetTop}a.style.margin=`${wn}px 0`,a.style.minHeight=j+"px",a.style.maxHeight=R+"px",n==null||n(),requestAnimationFrame(()=>h.current=!0)}},[m,i.trigger,i.valueNode,a,u,p,v,x,i.dir,n]);Tt(()=>w(),[w]);const[_,C]=y.useState();Tt(()=>{u&&C(window.getComputedStyle(u).zIndex)},[u]);const N=y.useCallback(S=>{S&&b.current===!0&&(w(),g==null||g(),b.current=!1)},[w,g]);return l.jsx(t5,{scope:r,contentWrapper:a,shouldExpandOnScrollRef:h,onScrollButtonChange:N,children:l.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:_},children:l.jsx(ie.div,{...s,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});xS.displayName=JO;var e5="SelectPopperPosition",Em=y.forwardRef((t,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:s=wn,...i}=t,o=Tf(r);return l.jsx(f_,{...o,...i,ref:e,align:n,collisionPadding:s,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Em.displayName=e5;var[t5,I0]=Ha(_o,{}),km="SelectViewport",yS=y.forwardRef((t,e)=>{const{__scopeSelect:r,nonce:n,...s}=t,i=Mi(km,r),o=I0(km,r),a=Ee(e,i.onViewportChange),c=y.useRef(0);return l.jsxs(l.Fragment,{children:[l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),l.jsx(Ef.Slot,{scope:r,children:l.jsx(ie.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:Z(s.onScroll,u=>{const d=u.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:m}=o;if(m!=null&&m.current&&f){const h=Math.abs(c.current-d.scrollTop);if(h>0){const b=window.innerHeight-wn*2,p=parseFloat(f.style.minHeight),v=parseFloat(f.style.height),x=Math.max(p,v);if(x<b){const g=x+h,w=Math.min(b,g),_=g-w;f.style.height=w+"px",f.style.bottom==="0px"&&(d.scrollTop=_>0?_:0,f.style.justifyContent="flex-end")}}}c.current=d.scrollTop})})})]})});yS.displayName=km;var wS="SelectGroup",[r5,n5]=Ha(wS),s5=y.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,s=ts();return l.jsx(r5,{scope:r,id:s,children:l.jsx(ie.div,{role:"group","aria-labelledby":s,...n,ref:e})})});s5.displayName=wS;var bS="SelectLabel",_S=y.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,s=n5(bS,r);return l.jsx(ie.div,{id:s.id,...n,ref:e})});_S.displayName=bS;var zd="SelectItem",[i5,CS]=Ha(zd),SS=y.forwardRef((t,e)=>{const{__scopeSelect:r,value:n,disabled:s=!1,textValue:i,...o}=t,a=Ai(zd,r),c=Mi(zd,r),u=a.value===n,[d,f]=y.useState(i??""),[m,h]=y.useState(!1),b=Ee(e,g=>{var w;return(w=c.itemRefCallback)==null?void 0:w.call(c,g,n,s)}),p=ts(),v=y.useRef("touch"),x=()=>{s||(a.onValueChange(n),a.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return l.jsx(i5,{scope:r,value:n,disabled:s,textId:p,isSelected:u,onItemTextChange:y.useCallback(g=>{f(w=>w||((g==null?void 0:g.textContent)??"").trim())},[]),children:l.jsx(Ef.ItemSlot,{scope:r,value:n,disabled:s,textValue:d,children:l.jsx(ie.div,{role:"option","aria-labelledby":p,"data-highlighted":m?"":void 0,"aria-selected":u&&m,"data-state":u?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...o,ref:b,onFocus:Z(o.onFocus,()=>h(!0)),onBlur:Z(o.onBlur,()=>h(!1)),onClick:Z(o.onClick,()=>{v.current!=="mouse"&&x()}),onPointerUp:Z(o.onPointerUp,()=>{v.current==="mouse"&&x()}),onPointerDown:Z(o.onPointerDown,g=>{v.current=g.pointerType}),onPointerMove:Z(o.onPointerMove,g=>{var w;v.current=g.pointerType,s?(w=c.onItemLeave)==null||w.call(c):v.current==="mouse"&&g.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Z(o.onPointerLeave,g=>{var w;g.currentTarget===document.activeElement&&((w=c.onItemLeave)==null||w.call(c))}),onKeyDown:Z(o.onKeyDown,g=>{var _;((_=c.searchRef)==null?void 0:_.current)!==""&&g.key===" "||(WO.includes(g.key)&&x(),g.key===" "&&g.preventDefault())})})})})});SS.displayName=zd;var yl="SelectItemText",NS=y.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:s,...i}=t,o=Ai(yl,r),a=Mi(yl,r),c=CS(yl,r),u=KO(yl,r),[d,f]=y.useState(null),m=Ee(e,x=>f(x),c.onItemTextChange,x=>{var g;return(g=a.itemTextRefCallback)==null?void 0:g.call(a,x,c.value,c.disabled)}),h=d==null?void 0:d.textContent,b=y.useMemo(()=>l.jsx("option",{value:c.value,disabled:c.disabled,children:h},c.value),[c.disabled,c.value,h]),{onNativeOptionAdd:p,onNativeOptionRemove:v}=u;return Tt(()=>(p(b),()=>v(b)),[p,v,b]),l.jsxs(l.Fragment,{children:[l.jsx(ie.span,{id:c.textId,...i,ref:m}),c.isSelected&&o.valueNode&&!o.valueNodeHasChildren?No.createPortal(i.children,o.valueNode):null]})});NS.displayName=yl;var jS="SelectItemIndicator",ES=y.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return CS(jS,r).isSelected?l.jsx(ie.span,{"aria-hidden":!0,...n,ref:e}):null});ES.displayName=jS;var Tm="SelectScrollUpButton",kS=y.forwardRef((t,e)=>{const r=Mi(Tm,t.__scopeSelect),n=I0(Tm,t.__scopeSelect),[s,i]=y.useState(!1),o=Ee(e,n.onScrollButtonChange);return Tt(()=>{if(r.viewport&&r.isPositioned){let a=function(){const u=c.scrollTop>0;i(u)};const c=r.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[r.viewport,r.isPositioned]),s?l.jsx(PS,{...t,ref:o,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=r;a&&c&&(a.scrollTop=a.scrollTop-c.offsetHeight)}}):null});kS.displayName=Tm;var Pm="SelectScrollDownButton",TS=y.forwardRef((t,e)=>{const r=Mi(Pm,t.__scopeSelect),n=I0(Pm,t.__scopeSelect),[s,i]=y.useState(!1),o=Ee(e,n.onScrollButtonChange);return Tt(()=>{if(r.viewport&&r.isPositioned){let a=function(){const u=c.scrollHeight-c.clientHeight,d=Math.ceil(c.scrollTop)<u;i(d)};const c=r.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[r.viewport,r.isPositioned]),s?l.jsx(PS,{...t,ref:o,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=r;a&&c&&(a.scrollTop=a.scrollTop+c.offsetHeight)}}):null});TS.displayName=Pm;var PS=y.forwardRef((t,e)=>{const{__scopeSelect:r,onAutoScroll:n,...s}=t,i=Mi("SelectScrollButton",r),o=y.useRef(null),a=kf(r),c=y.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return y.useEffect(()=>()=>c(),[c]),Tt(()=>{var d;const u=a().find(f=>f.ref.current===document.activeElement);(d=u==null?void 0:u.ref.current)==null||d.scrollIntoView({block:"nearest"})},[a]),l.jsx(ie.div,{"aria-hidden":!0,...s,ref:e,style:{flexShrink:0,...s.style},onPointerDown:Z(s.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(n,50))}),onPointerMove:Z(s.onPointerMove,()=>{var u;(u=i.onItemLeave)==null||u.call(i),o.current===null&&(o.current=window.setInterval(n,50))}),onPointerLeave:Z(s.onPointerLeave,()=>{c()})})}),o5="SelectSeparator",RS=y.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return l.jsx(ie.div,{"aria-hidden":!0,...n,ref:e})});RS.displayName=o5;var Rm="SelectArrow",a5=y.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,s=Tf(r),i=Ai(Rm,r),o=Mi(Rm,r);return i.open&&o.position==="popper"?l.jsx(h_,{...s,...n,ref:e}):null});a5.displayName=Rm;var l5="SelectBubbleInput",AS=y.forwardRef(({__scopeSelect:t,value:e,...r},n)=>{const s=y.useRef(null),i=Ee(n,s),o=UC(e);return y.useEffect(()=>{const a=s.current;if(!a)return;const c=window.HTMLSelectElement.prototype,d=Object.getOwnPropertyDescriptor(c,"value").set;if(o!==e&&d){const f=new Event("change",{bubbles:!0});d.call(a,e),a.dispatchEvent(f)}},[o,e]),l.jsx(ie.select,{...r,style:{...lb,...r.style},ref:i,defaultValue:e})});AS.displayName=l5;function MS(t){return t===""||t===void 0}function OS(t){const e=pn(t),r=y.useRef(""),n=y.useRef(0),s=y.useCallback(o=>{const a=r.current+o;e(a),function c(u){r.current=u,window.clearTimeout(n.current),u!==""&&(n.current=window.setTimeout(()=>c(""),1e3))}(a)},[e]),i=y.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return y.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,s,i]}function DS(t,e,r){const s=e.length>1&&Array.from(e).every(u=>u===e[0])?e[0]:e,i=r?t.indexOf(r):-1;let o=c5(t,Math.max(i,0));s.length===1&&(o=o.filter(u=>u!==r));const c=o.find(u=>u.textValue.toLowerCase().startsWith(s.toLowerCase()));return c!==r?c:void 0}function c5(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var u5=lS,IS=uS,d5=fS,f5=hS,h5=pS,LS=mS,p5=yS,FS=_S,zS=SS,m5=NS,g5=ES,$S=kS,BS=TS,VS=RS;const L0=u5,F0=d5,Pf=y.forwardRef(({className:t,children:e,...r},n)=>l.jsxs(IS,{ref:n,className:ae("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
274ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...r,children:[e,l.jsx(f5,{asChild:!0,children:l.jsx(lf,{className:"h-4 w-4 opacity-50"})})]}));Pf.displayName=IS.displayName;const US=y.forwardRef(({className:t,...e},r)=>l.jsx($S,{ref:r,className:ae("flex cursor-default items-center justify-center py-1",t),...e,children:l.jsx(oT,{className:"h-4 w-4"})}));US.displayName=$S.displayName;const WS=y.forwardRef(({className:t,...e},r)=>l.jsx(BS,{ref:r,className:ae("flex cursor-default items-center justify-center py-1",t),...e,children:l.jsx(lf,{className:"h-4 w-4"})}));WS.displayName=BS.displayName;const Rf=y.forwardRef(({className:t,children:e,position:r="popper",...n},s)=>l.jsx(h5,{children:l.jsxs(LS,{ref:s,className:ae("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,...n,children:[l.jsx(US,{}),l.jsx(p5,{className:ae("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),l.jsx(WS,{})]})}));Rf.displayName=LS.displayName;const v5=y.forwardRef(({className:t,...e},r)=>l.jsx(FS,{ref:r,className:ae("py-1.5 pl-8 pr-2 text-sm font-semibold",t),...e}));v5.displayName=FS.displayName;const Af=y.forwardRef(({className:t,children:e,...r},n)=>l.jsxs(zS,{ref:n,className:ae("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...r,children:[l.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:l.jsx(g5,{children:l.jsx(ws,{className:"h-4 w-4"})})}),l.jsxs(m5,{children:[l.jsx("span",{className:"inline-block w-4"}),e]})]}));Af.displayName=zS.displayName;const x5=y.forwardRef(({className:t,...e},r)=>l.jsx(VS,{ref:r,className:ae("-mx-1 my-1 h-px bg-muted",t),...e}));x5.displayName=VS.displayName;const y5=({totalUsage:t,p2pAmount:e,onP2PAmountChange:r,onP2PUnitPriceChange:n,disabled:s=!1})=>{var d;const[i,o]=y.useState("0.2"),a=[{value:"0.1",label:"æéé»å使ç¨éã®10ï¼
ãP2Pé»ååå¼ã«ãã£ã¦è³¼å
¥"},{value:"0.15",label:"æéé»å使ç¨éã®15ï¼
ãP2Pé»ååå¼ã«ãã£ã¦è³¼å
¥"},{value:"0.2",label:"æéé»å使ç¨éã®20ï¼
ãP2Pé»ååå¼ã«ãã£ã¦è³¼å
¥"},{value:"0.25",label:"æéé»å使ç¨éã®25ï¼
ãP2Pé»ååå¼ã«ãã£ã¦è³¼å
¥"},{value:"0.3",label:"æéé»å使ç¨éã®30ï¼
ãP2Pé»ååå¼ã«ãã£ã¦è³¼å
¥"},{value:"0.35",label:"æéé»å使ç¨éã®35ï¼
ãP2Pé»ååå¼ã«ãã£ã¦è³¼å
¥"},{value:"0.4",label:"æéé»å使ç¨éã®40ï¼
ãP2Pé»ååå¼ã«ãã£ã¦è³¼å
¥"}],c=25.88;y.useEffect(()=>{n([c])},[n]),y.useEffect(()=>{if(!s){const f=Math.floor(t*parseFloat(i));r([f])}},[i,t,r,s]),y.useEffect(()=>{const f=e/t,m=a.reduce((h,b)=>Math.abs(parseFloat(b.value)-f)<Math.abs(parseFloat(h.value)-f)?b:h);o(m.value)},[e,t]);const u=f=>{s||o(f)};return l.jsxs("div",{className:"mb-8 bg-white rounded-lg p-6 shadow-sm",children:[l.jsx("h4",{className:"text-lg font-medium text-gray-700 mb-3",children:"æéP2Pé»ååå¼ã·ãã¥ã¬ã¼ã·ã§ã³"}),l.jsx("div",{className:"bg-blue-50 border-l-4 border-blue-400 p-4 mb-6",children:l.jsxs("div",{className:"text-sm text-blue-800 space-y-1",children:[l.jsx("p",{children:"⢠P2Pé»ååå¼ã¯å
¨ã¦èªåã§å®è¡ããããããæåã§ã®æä½ã¯ä¸è¦ã§ã"}),l.jsx("p",{children:"⢠åå¼ä¾¡æ ¼ã¯é給ãã©ã³ã¹ã«ããå¤åããåå¼ãã¨ã«æ±ºå®ããã¾ã"}),l.jsx("p",{children:"⢠åå¼éã¯åå è
å
¨ä½ã®éçµ¦ç¶æ³ã«åºã¥ãã¦èªå調æ´ããããããåå¥è¨å®ã¯ã§ãã¾ãã"})]})}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[l.jsxs("div",{children:[l.jsxs("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:["P2Pé»ååå¼éã·ããªãª: ",l.jsxs("span",{className:"text-blue-600 font-bold",children:[e,"kWh"]}),l.jsxs("span",{className:"text-gray-500 ml-2",children:["(",Math.round(e/t*100),"%)"]})]}),s?l.jsx("div",{className:"w-full border border-gray-300 rounded-md px-3 py-3 bg-gray-50 text-gray-700",children:l.jsx("div",{className:"text-base",children:((d=a.find(f=>Math.abs(parseFloat(f.value)-e/t)<.01))==null?void 0:d.label)||`æéé»å使ç¨éã®${Math.round(e/t*100)}ï¼
ãP2Pé»ååå¼ã«ãã£ã¦è³¼å
¥`})}):l.jsxs(L0,{value:i,onValueChange:u,children:[l.jsx(Pf,{className:"w-full text-base py-3 h-auto min-h-[3rem]",children:l.jsx(F0,{})}),l.jsx(Rf,{className:"bg-white border shadow-lg",children:a.map(f=>l.jsx(Af,{value:f.value,className:"text-base py-3 px-4 cursor-pointer hover:bg-gray-50",children:f.label},f.value))})]})]}),l.jsxs("div",{children:[l.jsxs("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:["P2Pé»ååå¼å¹³åå価: ",l.jsxs("span",{className:"text-blue-600 font-bold",children:[c,"å/kWh"]})]}),l.jsx("div",{className:"w-full border border-gray-300 rounded-md px-3 py-3 bg-gray-50 text-gray-700",children:l.jsxs("div",{className:"text-base font-medium",children:[c,"å/kWh (å®éã¯å¤å)"]})})]})]})]})},Vh=({type:t,pricing:e,savings:r})=>{const s={co2free:{title:"COâããªã¼ãã©ã³",titleColor:"text-green-800",borderColor:"border-green-400",bgGradient:"bg-gradient-to-b from-green-50 to-white",headerBg:"bg-green-50",headerBorder:"border-green-200",priceColor:"text-green-600",savingsColor:"bg-green-100 text-green-700",featureBg:"bg-green-50",featureText:"text-green-700",icon:l.jsx(lT,{className:"mr-2",size:20}),feature:"100% COâããªã¼é»æ°",isRecommended:!0},regular:{title:"ãæè»½ãã©ã³",titleColor:"text-blue-800",borderColor:"border-blue-400",bgGradient:"bg-gradient-to-b from-blue-50 to-white",headerBg:"bg-blue-50",headerBorder:"border-blue-200",priceColor:"text-blue-600",savingsColor:"bg-blue-100 text-blue-700",featureBg:"bg-blue-50",featureText:"text-blue-700",icon:null,feature:"ä¸é¨ããããç£åã¨ã",isRecommended:!1},tepco:{title:"ï¼åèï¼æ±äº¬é»åã¨ãã¸ã¼ãã¼ããã¼å¾éé»ç¯B",titleColor:"text-gray-700",borderColor:"border-gray-400",bgGradient:"bg-gradient-to-b from-gray-50 to-white",headerBg:"bg-gray-50",headerBorder:"border-gray-200",priceColor:"text-gray-600",savingsColor:"",featureBg:"bg-gray-100",featureText:"text-gray-600",icon:null,feature:"åèä¾¡æ ¼ï¼2026å¹´5ææç¹ï¼",isRecommended:!1}}[t];return l.jsxs(A0,{className:`relative border-2 ${s.borderColor} ${s.bgGradient} overflow-hidden`,children:[l.jsx(M0,{className:`${s.headerBg} border-b ${s.headerBorder}`,children:l.jsxs(O0,{className:`text-center ${s.titleColor} ${t==="tepco"?"text-sm":""} flex items-center justify-center`,children:[s.icon,t==="tepco"?l.jsx("span",{dangerouslySetInnerHTML:{__html:s.title.replace(/\n/g,"<br />")}}):s.title]})}),l.jsxs(D0,{className:"pt-6",children:[l.jsxs("div",{className:"text-center mb-4",children:[l.jsxs("div",{className:`text-3xl font-bold ${s.priceColor}
274`,children:["Â¥",e.total.toLocaleString()]}),l.jsx("div",{className:"text-sm text-gray-500",children:"æé¡ï¼ç¨è¾¼ï¼"})]}),r&&r>0&&l.jsx("div",{className:`${s.savingsColor} rounded-lg p-3 mb-4`,children:l.jsxs("div",{className:"flex items-center justify-center",children:[l.jsx(vT,{size:16,className:"mr-1"}),l.jsxs("span",{className:"font-medium",children:["Â¥",r.toLocaleString()," ãå¾"]})]})}),l.jsxs("div",{className:"space-y-2 text-sm",children:[l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"åºæ¬æé"}),l.jsxs("span",{children:["Â¥",e.baseCharge.toLocaleString()]})]}),l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"é»åéæé"}),l.jsxs("span",{children:["Â¥",e.electricityCharge.toLocaleString()]})]}),(t==="co2free"||t==="regular")&&e.p2pCharge!==void 0&&l.jsxs("div",{className:"ml-4 space-y-1 text-xs border-l-2 border-gray-200 pl-2",children:[l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"⢠P2Pé»ååå¼"}),l.jsxs("span",{children:["Â¥",e.p2pCharge.toLocaleString()]})]}),l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"⢠é常販売é»å"}),l.jsxs("span",{children:["Â¥",(e.gridCharge||0).toLocaleString()]})]}),e.gridBreakdown&&l.jsxs("div",{className:"ml-4 space-y-1 text-xs border-l-2 border-gray-100 pl-2",children:[e.gridBreakdown.tier1.usage>0&&l.jsxs("div",{className:"flex justify-between",children:[l.jsxs("span",{children:["⢠段é1 (",e.gridBreakdown.tier1.usage.toFixed(0),"kWh)"]}),l.jsxs("span",{children:["Â¥",e.gridBreakdown.tier1.cost.toLocaleString()]})]}),e.gridBreakdown.tier2.usage>0&&l.jsxs("div",{className:"flex justify-between",children:[l.jsxs("span",{children:["⢠段é2 (",e.gridBreakdown.tier2.usage.toFixed(0),"kWh)"]}),l.jsxs("span",{children:["Â¥",e.gridBreakdown.tier2.cost.toLocaleString()]})]}),e.gridBreakdown.tier3.usage>0&&l.jsxs("div",{className:"flex justify-between",children:[l.jsxs("span",{children:["⢠段é3 (",e.gridBreakdown.tier3.usage.toFixed(0),"kWh)"]}),l.jsxs("span",{children:["Â¥",e.gridBreakdown.tier3.cost.toLocaleString()]})]}),l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"⢠çæèª¿æ´è²»"}),l.jsxs("span",{children:["Â¥",e.fuelAdjustment.toLocaleString()]})]})]})]}),t==="tepco"&&l.jsxs("div",{className:"ml-4 space-y-1 text-xs border-l-2 border-gray-200 pl-2",children:[e.breakdown.tier1>0&&l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"⢠段é1 (0-120kWh)"}),l.jsxs("span",{children:["Â¥",e.breakdown.tier1.toLocaleString()]})]}),e.breakdown.tier2>0&&l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"⢠段é2 (121-300kWh)"}),l.jsxs("span",{children:["Â¥",e.breakdown.tier2.toLocaleString()]})]}),e.breakdown.tier3>0&&l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"⢠段é3 (301kWh~)"}),l.jsxs("span",{children:["Â¥",e.breakdown.tier3.toLocaleString()]})]}),l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"⢠çæèª¿æ´è²»"}),l.jsxs("span",{children:["Â¥",e.fuelAdjustment.toLocaleString()]})]})]}),l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"åã¨ã賦課é"}),l.jsxs("span",{children:["Â¥",e.renewableCharge.toLocaleString()]})]}),t==="co2free"&&e.defossilizationCharge!==void 0&&l.jsxs("div",{className:"flex justify-between",children:[l.jsx("span",{children:"åã¨ãç¹ç´"}),l.jsxs("span",{children:["Â¥",e.defossilizationCharge.toLocaleString()]})]})]}),l.jsx("div",{className:`mt-4 p-3 ${s.featureBg} rounded-lg`,children:l.jsxs("div",{className:`text-xs ${s.featureText}`,children:[l.jsx(Mb,{size:14,className:"inline mr-1"}),s.feature]})})]})]})},w5=()=>l.jsxs("div",{className:"text-center bg-white rounded-lg p-6 shadow-sm",children:[l.jsx("h4",{className:"text-xl font-bold mb-2",children:"ä»ããã¢ãã¿ã¼ã«å¿åãã¾ãããï¼"}),l.jsx("p",{className:"text-gray-600 mb-4",children:"ããããç£ã®åã¨ãã§ãå¾ã«ãç°å¢ã«ãããã"}),l.jsx("a",{href:"/registration/buyer/basic-info",className:"bg-yellow-500 hover:bg-yellow-600 text-white px-8 py-3 text-lg font-medium rounded transition-colors focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:ring-offset-2 inline-block",style:{textAlign:"center"},children:"ã¢ãã¿ã¼ã«å¿åãã"})]});var Uh="rovingFocusGroup.onEntryFocus",b5={bubbles:!1,cancelable:!0},Ac="RovingFocusGroup",[Am,HS,_5]=Nc(Ac),[C5,YS]=An(Ac,[_5]),[S5,N5]=C5(Ac),GS=y.forwardRef((t,e)=>l.jsx(Am.Provider,{scope:t.__scopeRovingFocusGroup,children:l.jsx(Am.Slot,{scope:t.__scopeRovingFocusGroup,children:l.jsx(j5,{...t,ref:e})})}));GS.displayName=Ac;var j5=y.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:s=!1,dir:i,currentTabStopId:o,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=t,m=y.useRef(null),h=Ee(e,m),b=Rc(i),[p,v]=is({prop:o,defaultProp:a??null,onChange:c,caller:Ac}),[x,g]=y.useState(!1),w=pn(u),_=HS(r),C=y.useRef(!1),[N,S]=y.useState(0);return y.useEffect(()=>{const E=m.current;if(E)return E.addEventListener(Uh,w),()=>E.removeEventListener(Uh,w)},[w]),l.jsx(S5,{scope:r,orientation:n,dir:b,loop:s,currentTabStopId:p,onItemFocus:y.useCallback(E=>v(E),[v]),onItemShiftTab:y.useCallback(()=>g(!0),[]),onFocusableItemAdd:y.useCallback(()=>S(E=>E+1),[]),onFocusableItemRemove:y.useCallback(()=>S(E=>E-1),[]),children:l.jsx(ie.div,{tabIndex:x||N===0?-1:0,"data-orientation":n,...f,ref:h,style:{outline:"none",...t.style},onMouseDown:Z(t.onMouseDown,()=>{C.current=!0}),onFocus:Z(t.onFocus,E=>{const k=!C.current;if(E.target===E.currentTarget&&k&&!x){const T=new CustomEvent(Uh,b5);if(E.currentTarget.dispatchEvent(T),!T.defaultPrevented){const D=_().filter(L=>L.focusable),R=D.find(L=>L.active),$=D.find(L=>
vendor: 6,002 bytes, line 274
274L.id===p),U=[R,$,...D].filter(Boolean).map(L=>L.ref.current);QS(U,d)}}C.current=!1}),onBlur:Z(t.onBlur,()=>g(!1))})})}),KS="RovingFocusGroupItem",XS=y.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:s=!1,tabStopId:i,children:o,...a}=t,c=ts(),u=i||c,d=N5(KS,r),f=d.currentTabStopId===u,m=HS(r),{onFocusableItemAdd:h,onFocusableItemRemove:b,currentTabStopId:p}=d;return y.useEffect(()=>{if(n)return h(),()=>b()},[n,h,b]),l.jsx(Am.ItemSlot,{scope:r,id:u,focusable:n,active:s,children:l.jsx(ie.span,{tabIndex:f?0:-1,"data-orientation":d.orientation,...a,ref:e,onMouseDown:Z(t.onMouseDown,v=>{n?d.onItemFocus(u):v.preventDefault()}),onFocus:Z(t.onFocus,()=>d.onItemFocus(u)),onKeyDown:Z(t.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){d.onItemShiftTab();return}if(v.target!==v.currentTarget)return;const x=T5(v,d.orientation,d.dir);if(x!==void 0){if(v.metaKey||v.ctrlKey||v.altKey||v.shiftKey)return;v.preventDefault();let w=m().filter(_=>_.focusable).map(_=>_.ref.current);if(x==="last")w.reverse();else if(x==="prev"||x==="next"){x==="prev"&&w.reverse();const _=w.indexOf(v.currentTarget);w=d.loop?P5(w,_+1):w.slice(_+1)}setTimeout(()=>QS(w))}}),children:typeof o=="function"?o({isCurrentTabStop:f,hasTabStop:p!=null}):o})})});XS.displayName=KS;var E5={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function k5(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function T5(t,e,r){const n=k5(t.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return E5[n]}function QS(t,e=!1){const r=document.activeElement;for(const n of t)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function P5(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var R5=GS,A5=XS,Mf="Tabs",[M5,RD]=An(Mf,[YS]),qS=YS(),[O5,z0]=M5(Mf),ZS=y.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,onValueChange:s,defaultValue:i,orientation:o="horizontal",dir:a,activationMode:c="automatic",...u}=t,d=Rc(a),[f,m]=is({prop:n,onChange:s,defaultProp:i??"",caller:Mf});return l.jsx(O5,{scope:r,baseId:ts(),value:f,onValueChange:m,orientation:o,dir:d,activationMode:c,children:l.jsx(ie.div,{dir:d,"data-orientation":o,...u,ref:e})})});ZS.displayName=Mf;var JS="TabsList",eN=y.forwardRef((t,e)=>{const{__scopeTabs:r,loop:n=!0,...s}=t,i=z0(JS,r),o=qS(r);return l.jsx(R5,{asChild:!0,...o,orientation:i.orientation,dir:i.dir,loop:n,children:l.jsx(ie.div,{role:"tablist","aria-orientation":i.orientation,...s,ref:e})})});eN.displayName=JS;var tN="TabsTrigger",rN=y.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,disabled:s=!1,...i}=t,o=z0(tN,r),a=qS(r),c=iN(o.baseId,n),u=oN(o.baseId,n),d=n===o.value;return l.jsx(A5,{asChild:!0,...a,focusable:!s,active:d,children:l.jsx(ie.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:c,...i,ref:e,onMouseDown:Z(t.onMouseDown,f=>{!s&&f.button===0&&f.ctrlKey===!1?o.onValueChange(n):f.preventDefault()}),onKeyDown:Z(t.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&o.onValueChange(n)}),onFocus:Z(t.onFocus,()=>{const f=o.activationMode!=="manual";!d&&!s&&f&&o.onValueChange(n)})})})});rN.displayName=tN;var nN="TabsContent",sN=y.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,forceMount:s,children:i,...o}=t,a=z0(nN,r),c=iN(a.baseId,n),u=oN(a.baseId,n),d=n===a.value,f=y.useRef(d);return y.useEffect(()=>{const m=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(m)},[]),l.jsx(Pi,{present:s||d,children:({present:m})=>l.jsx(ie.div,{"data-state":d?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":c,hidden:!m,id:u,tabIndex:0,...o,ref:e,style:{...t.style,animationDuration:f.current?"0s":void 0},children:m&&i})})});sN.displayName=nN;function iN(t,e){return`${t}-trigger-${e}`}function oN(t,e){return`${t}-content-${e}`}var D5=ZS,aN=eN,lN=rN,cN=sN;const I5=D5,uN=y.forwardRef(({className:t,...e},r)=>l.jsx(aN,{ref:r,className:ae("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",t),...e}));uN.displayName=aN.displayName;const Mm=y.forwardRef(({className:t,...e},r)=>l.jsx(lN,{ref:r,className:ae("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",t),...e}));Mm.displayName=lN.displayName;const Om=y.forwardRef(({className:t,...e},r)=>l.jsx(cN,{ref:r,className:ae("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));Om.displayName=cN.displayName;const dN=y.forwardRef(({className:t,type:e,...r},n)=>l.jsx("input",{type:e,className:ae("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:n,...r}));dN.displayName="Input";const L5=({contractType:t,onContractTypeChange:e,disabled:r=!1})=>{const s=[{value:"10A",label:"10A",baseCharge:Math.round(311.75)},{value:"15A",label:"15A",baseCharge:Math.round(467.625)},{value:"20A",label:"20A",baseCharge:Math.round(623.5)},{value:"30A",label:"30A",baseCharge:Math.round(935.25)},{value:"40A",label:"40A",baseCharge:Math.round(1247)},{value:"50A",label:"50A",baseCharge:Math.round(1558.75)},{value:"60A",label:"60A",baseCharge:Math.round(1870.5)}],i=t.includes("kVA")?"kva":"amperage",a=(()=>
274{if(t.includes("kVA")){const v=parseInt(t.replace("kVA",""));return isNaN(v)?4:v}return 4})(),c=s.find(v=>v.value===t),u=Math.round(a*311.75),d=c?c.baseCharge:u,f=a>=1&&a<=49,m=a<1?"æå°å¤ã¯1ã§ã":a>49?"æå¤§å¤ã¯49ã§ã":"",h=v=>{r||(console.log("Tab changing to:",v),v==="amperage"?e("40A"):v==="kva"&&e("4kVA"))},b=v=>{if(r)return;const x=v.target.value;if(console.log("kVA input changing to:",x),x===""){e("4kVA");return}const g=parseInt(x);isNaN(g)||e(`${g}kVA`)},p=v=>{r||e(v)};return console.log("Current contract type:",t),console.log("Current tab:",i),console.log("kVA value:",a),l.jsxs("div",{className:"mb-8 bg-white rounded-lg p-6 shadow-sm",children:[l.jsx("h4",{className:"text-lg font-medium text-gray-700 mb-3",children:"å¥ç´ç¨®å¥"}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[l.jsxs("div",{children:[l.jsxs("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:["å¥ç´ã¢ã³ãã¢æ°/容é: ",l.jsx("span",{className:"text-blue-600 font-bold",children:t})]}),r?l.jsx("div",{className:"w-full border border-gray-300 rounded-md px-3 py-3 bg-gray-50 text-gray-700",children:l.jsx("div",{className:"text-base font-medium",children:t})}):l.jsxs(I5,{value:i,onValueChange:h,className:"w-full",children:[l.jsxs(uN,{className:"grid w-full grid-cols-2",children:[l.jsx(Mm,{value:"amperage",children:"A"}),l.jsx(Mm,{value:"kva",children:"kVA"})]}),l.jsx(Om,{value:"amperage",className:"mt-4",children:l.jsxs(L0,{value:t,onValueChange:p,children:[l.jsx(Pf,{className:"w-full text-base py-3 h-auto min-h-[3rem]",children:l.jsx(F0,{})}),l.jsx(Rf,{className:"bg-white border shadow-lg max-h-96",children:s.map(v=>l.jsxs(Af,{value:v.value,className:"text-base py-3 px-4 cursor-pointer hover:bg-gray-50",children:[v.label," (åºæ¬æé: ",v.baseCharge,"å)"]},v.value))})]})}),l.jsx(Om,{value:"kva",className:"mt-4",children:l.jsxs("div",{className:"space-y-2",children:[l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsx(dN,{type:"number",min:"1",max:"49",value:a,onChange:b,className:`flex-1 text-base py-3 h-auto min-h-[3rem] ${f?"":"border-red-500"}`}),l.jsx("span",{className:"text-gray-700 font-medium",children:"kVA"})]}),!f&&l.jsx("p",{className:"text-red-500 text-sm",children:m})]})})]})]}),l.jsxs("div",{children:[l.jsxs("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:["åºæ¬æé: ",l.jsxs("span",{className:"text-blue-600 font-bold",children:[d,"å/æ"]})]}),l.jsx("div",{className:"w-full border border-gray-300 rounded-md px-3 py-3 bg-gray-50 text-gray-700",children:l.jsxs("div",{className:"text-base font-medium",children:[d,"å/æ"]})})]})]})]})},F5=({onApplyPreset:t,onReset:e})=>{const[r,n]=y.useState(""),s={single:{label:"1人家æ",ampere:"40A",consumption:150,p2pPercentage:.4},"2people":{label:"2人家æ",ampere:"40A",consumption:300,p2pPercentage:.2},"3people":{label:"3人家æ",ampere:"50A",consumption:450,p2pPercentage:.2},"4people":{label:"4人家æ",ampere:"60A",consumption:550,p2pPercentage:.2},more_than_5people:{label:"5人家æ(以ä¸)",ampere:"60A",consumption:700,p2pPercentage:.2}},i=o=>{if(n(o),o&&s[o]){const a=s[o];t(a.ampere,a.consumption,a.p2pPercentage)}};return l.jsxs("div",{className:"bg-white rounded-lg p-4 mb-6 border",children:[l.jsx("p",{className:"text-grey-600 mb-4",children:"ä¸è¬çãªé»æ°ä½¿ç¨éããã·ãã¥ã¬ã¼ã"}),l.jsx("div",{className:"flex flex-col sm:flex-row gap-3 items-end",children:l.jsxs("div",{className:"flex-1",children:[l.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"å®¶æã®äººæ°ã鏿"}),l.jsxs(L0,{value:r,onValueChange:i,children:[l.jsx(Pf,{className:"w-full bg-white",children:l.jsx(F0,{placeholder:"å®¶æã®äººæ°ã鏿ãã¦ãã ãã"})}),l.jsx(Rf,{className:"bg-white border shadow-lg",children:Object.entries(s).map(([o,a])=>l.jsxs(Af,{value:o,className:"cursor-pointer hover:bg-gray-50",children:[a.label," (",a.ampere,", æ¨æºçãªé»å使ç¨é",a.consumption,"kWh)"]},o))})]})]})})]})},z5=()=>{const e="40A",[s,i]=y.useState([400]),[o,a]=y.useState([80]),[c,u]=y.useState([25.88]),[d,f]=y.useState(e),m=s[0],h=o[0],b=c[0],p=S=>{},v=(S,E,k)=>{f(S),i([E]),a([Math.floor(E*k)]),u([25.88])},x=()=>{i([400]),a([80]),u([25.88]),f(e)},g=Bh(m,"co2free",h,b,d),w=Bh(m,"regular",h,b,d),_=Bh(m,"tepco",void 0,void 0,d),C=_.total-g.total,N=_.total-w.total;return l.jsxs("div",{className:"w-full sm:max-w-6xl mx-auto p-2 sm:p-6 bg-gradient-to-br from-blue-50 to-green-50 rounded-lg",children:[l.jsx(F5,{onApplyPreset:v,onReset:x}),l.jsx("div",{style:{display:"none"},children:l.jsx(L5,{contractType:d,onContractTypeChange:f,disabled:!0})}),l.jsx(VO,{usage:m,onUsageChange:p,disabled:!0}),l.jsx("div",{style:{display:"none"},children:l.jsx(y5,{totalUsage:m,p2pAmount:h,p2pUnitPrice:b,onP2PAmountChange:a,onP2PUnitPriceChange:u,disabled:!0})}),l.jsxs("div",{className:"bg-white rounded-lg p-2 sm:p-4 mb-8 border",children:[l.jsx("h4",{className:"text-sm font-medium text-gray-700 mb-2",children:"è¨ç®å¼"}),l.jsx("div",{className:"text-sm text-gray-600 break-words",children:l.jsxs("div",{className:"bg-gray-50 px-0 sm:px-2 py-1 rounded flex flex-col sm:flex-row justify-between items-center sm:items-start gap-1",children:[l.jsx("div",{children:"åºæ¬æé"}),l.jsx("div",{children:"+"}),l.jsxs("div",{className:"flex flex-col items-center",children:[l.jsx("div",{children:"P2Pé»ååå¼é à P2Pé»ååå¼å価"}),l.jsxs("div",{className:"text-xs text-setagaya-yellow whitespace-nowrap",children:["ãããããã·ã§ã¢ãããè³¼å
¥",l.jsx("br",{}),"(ããããç£ã®é»æ°)"]})]}),l.jsx("div",{children:"+"}),l.jsxs("div",{className:"flex flex-col items-center",children:[l.jsx("div",{className:"flex flex-col sm:flex-row",children:l.jsx("div",{children:"(ç¬¬ä¸æ®µéæé + ç¬¬äºæ®µéæé + ç¬¬ä¸æ®µéæé + çæè²»èª¿æ´é¡)"})}),l.jsx("div",{className:"text-xs text-setagaya-yellow whitespace-nowrap",children:"è¶³ããªãåã¯ãããããã·ã§ã¢ã以å¤ã®é»æ°ãè³¼å
¥"})]}),l.jsx("div",{children:"+"}),l.jsx("span",{children:"黿°ä½¿ç¨ç·éÃåã¨ã賦課é"})]})}),l.jsx("p",{className:"text-xs text-gray-500 mt-2",children:"â»P2Pé»ååå¼éã®å²åã¯ãä¸äººå®¶æã®æ40%ããã以å¤ã®å ´åã¯20%ã使ç¨ã"}),l.jsx("p",{className:"text-xs text-gray-500 mt-2",children:"â»CO2ããªã¼ãã©ã³ã®å ´åã¯ãä¸è¨ã«ãããããç£ä»¥å¤ã®é»æ°ã®ä½¿ç¨é à åã¨ãç¹ç´å価ããå ç®ããã¾ãã"})]}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-6 mb-6",children:[l.jsx(Vh,{type:"co2free",pricing:g,savings:C>0?C:void 0}),l.jsx(Vh,{type:"regular",pricing:w,savings:N>0?N:void 0}),l.jsx(Vh,{type:"tepco",pricing:_})]}),l.jsx("div",{className:"bg-white rounded-lg p-4 shadow-sm border border-gray-200 mb-6",children:l.jsxs("div",{className:"text-xs text-gray-600 space-y-2",children:[l.jsx("p",{children:"â»å®éã®P2Pé»ååå¼ã®åå¼é確å®ã«ã¯1ï½2ãæãè¦ãã¾ãããã®ããP2Pé»ååå¼åã®ç²¾ç®ã¯ãé常ã®é»åãã©ã³ã§è³¼å
¥ããå ´åã®å·®é¡ã確å®å¾ã«ç²¾ç®ããå½¢ã¨ãªãã¾ãã"}),l.jsx("p",{children:"â»çæè²»èª¿æ´é¡ï¼â²7.37å/kWhï¼ã»åã¨ã賦課éï¼4.18å/kWhï¼ã¯202
2746å¹´5æåã«é©ç¨ãããå価ã使ç¨ãã¦ãã¾ãã"}),l.jsx("p",{children:"â»ããã¾ã§è©¦ç®ã®ããã確ç´ãããã®ã§ã¯ããã¾ããã"})]})}),l.jsx(w5,{})]})},$5=({children:t})=>{const[e,r]=y.useState(!1);return l.jsxs($C,{open:e,onOpenChange:r,children:[l.jsx(BC,{asChild:!0,children:t}),l.jsxs(k0,{className:"py-6 px-2 sm:px-6 w-[98vw] max-w-7xl max-h-[90vh] overflow-y-auto overflow-x-hidden",children:[l.jsx(T0,{children:l.jsxs(P0,{className:"flex items-center justify-center",children:[l.jsx(af,{className:"text-blue-600 mr-3",size:32}),"æéã·ãã¥ã¬ã¼ã¿ã¼"]})}),l.jsx("div",{className:"mt-4 overflow-x-hidden",children:l.jsx(z5,{})})]})]})},B5=()=>l.jsxs("div",{className:"bg-gray-50 py-12 px-6 rounded-lg",children:[l.jsx("h3",{className:"text-2xl font-bold text-center mb-8 border-b-2 border-gray-300 pb-2",children:"ããããã§ãã ã¢ãã«ã±ã¼ã¹"}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-8 mb-8",children:[l.jsxs("div",{className:"text-center",children:[l.jsx("h4",{className:"text-lg font-semibold mb-4",children:"2人家æï¼ä½¿ç¨é 300kWh/æï¼"}),l.jsx("div",{className:"flex justify-center mb-6",children:l.jsx("img",{src:"/lovable-uploads/family_of_two.png",alt:"2人家æ",className:"w-24 h-24 object-contain"})}),l.jsxs("div",{className:"space-y-3",children:[l.jsxs("div",{className:"bg-white p-3 rounded border",children:[l.jsx("span",{className:"font-medium text-gray-700",children:"ï¼åèï¼æ±äº¬é»åã¨ãã¸ã¼ãã¼ããã¼å¾éé»ç¯B"}),l.jsx("span",{className:"float-right font-bold text-gray-700",children:"9,794å/æ"})]}),l.jsxs("div",{className:"bg-white p-3 rounded border",children:[l.jsx("span",{className:"font-medium",children:"ãæè»½ãã©ã³"}),l.jsx("span",{className:"float-right font-bold text-blue-600",children:"9,424å/æ"})]}),l.jsxs("div",{className:"bg-white p-3 rounded border",children:[l.jsx("span",{className:"font-medium",children:"COâããªã¼ãã©ã³"}),l.jsx("span",{className:"float-right font-bold text-amber-600",children:"9,952å/æ"})]})]})]}),l.jsxs("div",{className:"text-center",children:[l.jsx("h4",{className:"text-lg font-semibold mb-4",children:"4人家æï¼ä½¿ç¨é 550kWh/æï¼"}),l.jsx("div",{className:"flex justify-center mb-6",children:l.jsx("img",{src:"/lovable-uploads/family_of_four.png",alt:"4人家æ",className:"w-24 h-24 object-contain"})}),l.jsxs("div",{className:"space-y-3",children:[l.jsxs("div",{className:"bg-white p-3 rounded border",children:[l.jsx("span",{className:"font-medium text-gray-700",children:"ï¼åèï¼æ±äº¬é»åã¨ãã¸ã¼ãã¼ããã¼å¾éé»ç¯B"}),l.jsx("span",{className:"float-right font-bold text-gray-700",children:"19,223å/æ"})]}),l.jsxs("div",{className:"bg-white p-3 rounded border",children:[l.jsx("span",{className:"font-medium",children:"ãæè»½ãã©ã³"}),l.jsx("span",{className:"float-right font-bold text-blue-600",children:"17,616å/æ"})]}),l.jsxs("div",{className:"bg-white p-3 rounded border",children:[l.jsx("span",{className:"font-medium",children:"COâããªã¼ãã©ã³"}),l.jsx("span",{className:"float-right font-bold text-amber-600",children:"18,584å/æ"})]})]})]})]}),l.jsx("p",{className:"text-sm text-gray-600 text-center mb-8",children:"⻠試ç®ã®è©³ç´°ã¯ãæéã·ãã¥ã¬ã¼ã¿ã¼ãã覧ãã ããã"}),l.jsxs("div",{className:"bg-white p-6 rounded-lg border-2 border-green-200",children:[l.jsx("h4",{className:"text-xl font-bold mb-4 border-b-2 border-gray-300 pb-2",children:"ããããã§ããã¯ããããªæ¹ã«ãªã¹ã¹ã¡ï¼"}),l.jsxs("div",{className:"space-y-3 mb-6",children:[l.jsxs("div",{className:"flex items-start",children:[l.jsx(ws,{className:"text-green-600 mr-3 mt-1 flex-shrink-0",size:20}),l.jsx("span",{children:"æ¼éã«å®¶äºï¼æ´æ¿¯ã»æé¤ã»æçãªã©ï¼ããããã"})]}),l.jsxs("div",{className:"flex items-start",children:[l.jsx(ws,{className:"text-green-600 mr-3 mt-1 flex-shrink-0",size:20}),l.jsx("span",{children:"æ¥ä¸ãå®¶ã§éãããã¨ãå¤ã"})]}),l.jsxs("div",{className:"flex items-start",children:[l.jsx(ws,{className:"text-green-600 mr-3 mt-1 flex-shrink-0",size:20}),l.jsx("span",{children:"å¨å®
ã¯ã¼ã¯ãèªå¶æ¥çãªã©ãèªå®
ã§ä»äºããããã¨ãå¤ã"})]}),l.jsxs("div",{className:"flex items-start",children:[l.jsx(ws,{className:"text-green-600 mr-3 mt-1 flex-shrink-0",size:20}
274),l.jsx("span",{children:"æ¯æã®é»æ°ä½¿ç¨éã300ï¼kWh/æï¼ãããå¤ã"})]}),l.jsxs("div",{className:"flex items-start",children:[l.jsx(ws,{className:"text-green-600 mr-3 mt-1 flex-shrink-0",size:20}),l.jsx("span",{children:"ããããããã®ã§ãã¨ã¢ã³ã³ã使ãæéãé·ã"})]})]}),l.jsx("p",{className:"text-center font-medium text-lg bg-yellow-100 p-3 rounded",children:"ãªã©ã太é½å
ã§çºé»ããæ¥ä¸ï¼8:00ã17:00é ï¼ã«ãã黿°ãä½¿ãæ¹ã«ãªã¹ã¹ã¡ã§ãï¼"})]})]}),V5=()=>{const t=Pc();return l.jsxs("div",{className:"relative py-20 bg-white",children:[l.jsxs("div",{ref:t,className:"container mx-auto px-4 opacity-0 translate-y-10 transition-all duration-700",children:[l.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:["ããªãã®åå ããä¸ç°è°·ã®ã¨ãã«ã®ã¼ã®æªæ¥ãã¤ããã¾ãï¼",l.jsx("br",{}),"ãã²ã¢ãã¿ã¼ã«ãå¿åãã ããï¼"]}),l.jsx("div",{className:"flex flex-col gap-8 justify-between",children:l.jsxs("div",{className:"w-full bg-yellow-50 border-2 border-yellow-400 rounded-lg p-6 relative overflow-hidden",children:[l.jsx("div",{className:"absolute top-0 right-0 bg-yellow-400 text-white text-lg px-4 py-1 rounded-bl-lg z-10",children:"黿°ãè³¼å
¥ããã客æ§"}),l.jsx("div",{className:"flex sm:items-end flex-col sm:flex-row justify-between mb-6",children:l.jsxs("div",{className:"flex grow-7 items-center mt-8",children:[l.jsx("img",{src:"/lovable-uploads/e2a3cffe-03c2-4ae0-b310-ee2844feb798.png",alt:"ããããã§ããè²·é»ã¢ã¤ã³ã³",className:"w-20 h-20 mr-4"}),l.jsxs("div",{className:"flex flex-col items-start",children:[l.jsx("img",{src:"/lovable-uploads/8e016478-0a29-4530-a155-9244db3c280a.png",alt:"ã§ãããã©ã³",className:"h-12 mb-2 object-contain"}),l.jsx("h3",{className:"text-lg font-bold",children:"powered by å
¨è¾²ã¨ãã«ã®ã¼"})]})]})}),l.jsx("div",{className:"mt-8 mb-8",children:l.jsx("div",{className:"bg-gradient-to-r from-yellow-100 to-yellow-50 border-2 md:border-4 border-yellow-500 rounded-2xl p-4 md:p-8 shadow-2xl",children:l.jsxs("div",{className:"text-center",children:[l.jsx("h3",{className:"text-lg md:text-2xl lg:text-3xl font-bold text-yellow-800 mb-4 md:mb-6",children:"ð¡ 黿°æéãã·ãã¥ã¬ã¼ã·ã§ã³"}),l.jsx($5,{children:l.jsxs(_0,{variant:"outline",className:"border-2 md:border-4 border-yellow-600 bg-white text-yellow-700 hover:bg-yellow-600 hover:text-white px-6 md:px-12 py-4 md:py-6 text-base md:text-xl lg:text-2xl font-bold shadow-2xl transition-all duration-300 hover:shadow-3xl hover:scale-105 rounded-xl w-full md:w-auto",children:[l.jsx(af,{className:"mr-2 md:mr-4",size:24}),l.jsx("span",{className:"md:hidden",children:"æé試ç®"}),l.jsx("span",{className:"hidden md:inline",children:"æéã·ãã¥ã¬ã¼ã¿ã¼"})]})}),l.jsx("p",{className:"mt-4 text-xs md:text-sm text-gray-600",children:"ã¯ãªãã¯ãã¦ä»ãã試ç®ãã¦ã¿ã¾ãããï¼"})]})})}),l.jsxs("div",{className:"flex flex-col md:flex-row gap-8 mb-10 justify-center items-center",children:[l.jsx(Ay,{title:"COâããªã¼ãã©ã³",titleColor:"text-amber-800",borderColor:"border-amber-400",headerBg:"bg-amber-50",headerBorderColor:"border-amber-200",description:"ãããããç£ã®åã¨ããã ãã§ãªããå¤éãªã©ã«ä½¿ç¨ãã黿°ãå®è³ª COâ æåºã¼ãã¨ãªãç°å¢ã«é
æ
®ãããã©ã³ã§ãã",amount:"15,000å",amountColor:"text-amber-600"}),l.jsx(Ay,{title:"ãæè»½ãã©ã³",titleColor:"text-blue-800",borderColor:"border-blue-400",headerBg:"bg-blue-50",headerBorderColor:"border-blue-200",description:"使ç¨ãã黿°ã®ä¸é¨ï¼ããããç£ã®åã¨ã黿°ï¼ã COâ æåºã¼ãã¨ãªãã黿°æéãæãããæè»½ãªãã©ã³ã§ãã",amount:"5,000å",amountColor:"text-blue-600"})]}),l.jsx("div",{className:"text-center mb-6",children:l.jsx("a",{href:"/registration/buyer/basic-info",className:"bg-yellow-500 hover:bg-yellow-600 text-white px-8 py-3 text-lg mb-4 font-medium rounded transition-colors focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:ring-offset-2 inline-block",style:{textAlign:"center"},children:"ã¢ãã¿ã¼ã«å¿åãã"})}),l.jsxs("div",{className:"mt-6",children:[l.jsx("h4",{className:"font-medium mb-3",children:"対象ã¨ãªããå®¶åº"}),l.jsx("ul",{className:"space-y-2 text-sm",children:l.jsxs("li",{className:"flex items-start",children:[l.jsx(ws,{className:"text-green-600 mr-2 mt-1 flex-shrink-0",size:16}),l.jsxs("span",{children:["ä¸ç°è°·åºå
ã«ãä½ã¾ãã§ã黿°å¥ç´ããã¦ãããå®¶åº",l.jsx("br",{}),"ï¼â»ãã ãããã³ã·ã§ã³çã§é»æ°ã䏿¬å¥ç´ãã¦ããå ´åã¯é¤ããï¼"]})]})})]}),l.jsx($O,{})]})}),l.jsx("div",{className:"mt-16",children:l.jsx(B5,{})}),l.jsxs("div",{className:"mt-16 relative",children:[l.jsx("div",{className:"shadow-lg rounded-lg overflow-hidden border border-blue-100",children:l.jsx(zO,{})}),l.jsx("div",{className:"flex justify-end mt-4",children:l.jsxs("ul",{className:"space-y-2 text-xs text-gray-500",children:[l.jsx("li",{children:"â» ã¢ãã¿ã¼ã®åå ã«ããã¦ã¯ã黿°ã®ãå¥ç´å
ãå
¨è¾²ã¨ãã«ã®ã¼æ ªå¼ä¼ç¤¾ã«å¤æ´ããã ãå¿
è¦ãããã¾ãã"}),l.jsx("li",{children:"â» ä¾¡æ ¼ã¯ãã¹ã¦ç¨è¾¼ã¿è¡¨ç¤ºã§ãã"}),l.jsx("li",{children:"â» çæèª¿æ´è²»ã¯æ¯æå¤åãããã¾ããä¾¡æ ¼ä¸éãããã¾ããã®ã§ãçæèª¿æ´ä¾¡æ ¼ãé«é¨°ããå ´åã«ã¯ãè¨
274è¼ã®é»æ°ä»£ãããé«ããªãå¯è½æ§ããããã¾ãã"}),l.jsx("li",{children:"â» æã
ã®é»åã®ã使ç¨éã150kWh以ä¸ã®ã客ãã¾ã¯ã黿°ä»£ãç¾å¨ã®ãå¥ç´ããé«ããªãå¯è½æ§ãããã¾ãã®ã§ã注æãã ããã"})]})})]}),l.jsxs("div",{className:"mt-12 mb-12 bg-setagaya-soft-blue rounded-lg p-6 text-center",children:[l.jsxs("div",{className:"flex items-center justify-center mb-4",children:[l.jsx(cT,{className:"text-setagaya-blue mr-2"}),l.jsx("h4",{className:"text-lg font-medium",children:"ã¢ãã¿ã¼åéã¯ã300ä¸å¸¯ã¾ã§"})]}),l.jsx("p",{children:"æ©ãã®å¿åãå®å¿ã§ãï¼"}),l.jsx("div",{className:"mt-6",children:l.jsx("a",{href:"/apply",className:"bg-green-500 hover:bg-green-600 text-white px-8 py-3 text-lg mb-4 font-medium rounded transition-colors focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2 inline-block",style:{textAlign:"center"},children:"ã¢ãã¿ã¼ã«å¿åãã"})})]})]}),l.jsx("div",{className:"container mx-auto px-4 mt-24",children:l.jsxs("div",{className:"w-full bg-green-50 border-2 border-green-400 rounded-lg p-6 relative overflow-hidden",children:[l.jsx("div",{className:"absolute top-0 right-0 bg-green-500 text-white text-lg px-4 py-1 rounded-bl-lg z-10",children:"売é»ãããã客æ§"}),l.jsx("div",{className:"pt-4",children:l.jsx(MO,{})})]})}),l.jsx("div",{className:"h-40 xl:h-[400px]"}),l.jsx(lC,{className:"text-setagaya-soft-blue"})]})};var Of="Collapsible",[U5,fN]=An(Of),[W5,$0]=U5(Of),hN=y.forwardRef((t,e)=>{const{__scopeCollapsible:r,open:n,defaultOpen:s,disabled:i,onOpenChange:o,...a}=t,[c,u]=is({prop:n,defaultProp:s??!1,onChange:o,caller:Of});return l.jsx(W5,{scope:r,disabled:i,contentId:ts(),open:c,onOpenToggle:y.useCallback(()=>u(d=>!d),[u]),children:l.jsx(ie.div,{"data-state":V0(c),"data-disabled":i?"":void 0,...a,ref:e})})});hN.displayName=Of;var pN="CollapsibleTrigger",mN=y.forwardRef((t,e)=>{const{__scopeCollapsible:r,...n}=t,s=$0(pN,r);return l.jsx(ie.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":V0(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...n,ref:e,onClick:Z(t.onClick,s.onOpenToggle)})});mN.displayName=pN;var B0="CollapsibleContent",gN=y.forwardRef((t,e)=>{const{forceMount:r,...n}=t,s=$0(B0,t.__scopeCollapsible);return l.jsx(Pi,{present:r||s.open,children:({present:i})=>l.jsx(H5,{...n,ref:e,present:i})})});gN.displayName=B0;var H5=y.forwardRef((t,e)=>{const{__scopeCollapsible:r,present:n,children:s,...i}=t,o=$0(B0,r),[a,c]=y.useState(n),u=y.useRef(null),d=Ee(e,u),f=y.useRef(0),m=f.current,h=y.useRef(0),b=h.current,p=o.open||a,v=y.useRef(p),x=y.useRef(void 0);return y.useEffect(()=>{const g=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(g)},[]),Tt(()=>{const g=u.current;if(g){x.current=x.current||{transitionDuration:g.style.transitionDuration,animationName:g.style.animationName},g.style.transitionDuration="0s",g.style.animationName="none";const w=g.getBoundingClientRect();f.current=w.height,h.current=w.width,v.current||(g.style.transitionDuration=x.current.transitionDuration,g.style.animationName=x.current.animationName),c(n)}},[o.open,n]),l.jsx(ie.div,{"data-state":V0(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!p,...i,ref:d,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...t.style},children:p&&s})});function V0(t){return t?"open":"closed"}var Y5=hN,G5=mN,K5=gN,On="Accordion",X5=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[U0,Q5,q5]=Nc(On),[Df,AD]=An(On,[q5,fN]),W0=fN(),vN=z.forwardRef((t,e)=>{const{type:r,...n}=t,s=n,i=n;return l.jsx(U0.Provider,{scope:t.__scopeAccordion,children:r==="multiple"?l.jsx(tD,{...i,ref:e}):l.jsx(eD,{...s,ref:e})})});vN.displayName=On;var[xN,Z5]=Df(On),[yN,J5]=Df(On,{collapsible:!1}),eD=z.forwardRef((t,e)=>{const{value:r,defaultValue:n,onValueChange:s=()=>{},collapsible:i=!1,...o}=t,[a,c]=is({prop:r,defaultProp:n??"",onChange:s,caller:On});return l.jsx(xN,{scope:t.__scopeAccordion,value:z.useMemo(()=>a?[a]:[],[a]),onItemOpen:c,onItemClose:z.useCallback(()=>i&&c(""),[i,c]),children:l.jsx(yN,{scope:t.__scopeAccordion,collapsible:i,children:l.jsx(wN,{...o,ref:e})})})}),tD=z.forwardRef((t,e)=>{const{value:r,defaultValue:n,onValueChange:s=()=>{},...i}=t,[o,a]=is({prop:r,defaultProp:n??[],onChange:s,caller:On}),c=z.useCallback(d=>a((f=[])=>[...f,d]),[a]),u=z.useCallback(d=>a((f=[])=>f.filter(m=>m!==d)),[a]);return l.jsx(xN,{scope:t.__scopeAccordion,value:o,onItemOpen:c,onItemClose:u,children:l.jsx(yN,{scope:t.__scopeAccordion,collapsible:!0,children:l.jsx(wN,{...i,ref:e})})})}),[rD,If]=Df(On),wN=z.forwardRef((t,e)=>{const{__scopeAccordion:r,disabled:n,dir:s,orientation:i="vertical",...o}=t,a=z.useRef(null),c=Ee(a,e),u=Q5(r),f=Rc(s)==="ltr",m=Z(t.onKeyDown,h=>{var E;if(!X5.includes(h.key))return;const b=h.target,p=u().filter(k=>{var T;return!((T=k.ref.current)!=null&&T.disabled)}),v=p.findIndex(k=>k.ref.current===b),x=p.length;if(v===-1)return;h.preventDefault();let g=v;const w=0,_=x-1,C=()=>{g=v+1,g>_&&(g=w)},N=()=>{g=v-1,g<w&&(g=_)};switch(h.key){case"Home":g=w;break;case"End":g=_;break;case"ArrowRight":i==="horizontal"&&(f?C():N());break;case"ArrowDown":i==="vertical"&&C();break;case"ArrowLeft":i==="horizontal"&&(f?N():C());break;case"ArrowUp":i==="vertical"&&N();break}const S=g%x;(E=p[S].ref.current)==null||E.focus()});return l.jsx(rD,{scope:r,disabled:n,direction:s,orientation:i,children:l.jsx(U0.Slot,{scope:r,children:l.jsx(ie.div,{...o,"data-orientation":i,ref:c,onKeyDown:n?void 0:m})})})}),$d="AccordionItem",[nD,H0]=Df($d),bN=z.forwardRef((t,e)=>{const{__scopeAccordion:r,value:n,...s}=t,i=If($d,r),o=Z5($d,r),a=W0(r),c=ts(),u=n&&o.value.includes(n)||!1,d=i.disabled||t.disabled;return l.jsx(nD,{scope:r,open:u,disabled:d,triggerId:c,children:l.jsx(Y5,{"data-orientation":i.orientation,"data-state":EN(u),...a,...s,ref:e,disabled:d,open:u,onOpenChange:f=>{f?o.onItemOpen(n):o.onItemClose(n)}})})});bN.displayName=$d;var _N="AccordionHeader",CN=z.forwardRef((t,e)=>{const{__scopeAccordion:r,...n}=t,s=If(On,r),i=H0(_N,r);return l.jsx(ie.h3,{"data-orientation":s.orientation,"data-state":EN(i.open),"data-disabled":i.disabled?"":void 0,...n,ref:e})});CN.displayName=_N;var Dm="AccordionTrigger",SN=z.forwardRef((t,e)=>{const{__scopeAccordion:r,...n}=t,s=If(On,r),i=H0(Dm,r),o=J5(Dm,r),a=W0(r);return l.jsx(U0.ItemSlot,{scope:r,children:l.jsx(G5,{"aria-disabled":i.open&&!o.collapsible||void 0,"data-orientation":s.orientation,id:i.triggerId,...a,...n,ref:e})})});SN.displayName=Dm;var NN="AccordionContent",jN=z.forwardRef((t,e)=>{const{__scopeAccordion:r,...n}=t,s=If(On,r),i=H0(NN,r),o=W0(r);return l.jsx(K5,{role:"region","aria-labelledby":i.triggerId,"data-orientation":s.orientation,...o,...n,ref:e,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...t.style}})});jN.displayName=NN;function EN(t){return t?"open":"closed"}var sD=vN,iD=bN,oD=CN,kN=SN,TN=jN;
274const aD=sD,PN=y.forwardRef(({className:t,...e},r)=>l.jsx(iD,{ref:r,className:ae("border-b",t),...e}));PN.displayName="AccordionItem";const RN=y.forwardRef(({className:t,children:e,...r},n)=>l.jsx(oD,{className:"flex",children:l.jsxs(kN,{ref:n,className:ae("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",t),...r,children:[e,l.jsx(lf,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));RN.displayName=kN.displayName;const AN=y.forwardRef(({className:t,children:e,...r},n)=>l.jsx(TN,{ref:n,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...r,children:l.jsx("div",{className:ae("pb-4 pt-0",t),children:e})}));AN.displayName=TN.displayName;const lD=[{question:"ãåãåããæ¹æ³ã«ã¤ãã¦ç¥ããã",answer:`å ¨è¾²ã¨ãã«ã®ã¼ã±ä¸¦ã³ã«å ¨è¾²æ±æ¥æ¬ã¨ãã«ã®ã¼ã±ã§ã¯ç´æ¥ã®ãåãåãããåãä»ãã¦ãã¾ããã 275ã«ã¹ã¿ãã¼ãµãã¼ã([email protected])ã<a href="#contact">ãåãåããå </a>ã«ãé¡ããã¾ãã`},{question:"ç³ãè¾¼ã¿æã«å¿ è¦ãªãã®ã¯ããã¾ããï¼",answer:`<div class="space-y-4"> 276 <div> 277 <h4 class="font-bold text-setagaya-green mb-2">黿°ãå£²ãæ¹</h4> 278 <ul class="space-y-1 text-sm"> 279 <li>ã»FITå¶åº¦ã«ãããè²·åæéæºäºã®ãç¥ãã</li> 280 <li>ã»åé»å°ç¹ç¹å®çªå·ãè¨åIDãªã©ãâ»è²·åæéæºäºã®ãç¥ããçã«è¨è¼ãããã¾ãã</li> 281 <li>ã»ãå¥ç´è ï¼å¤ªé½å çºé»ã®ææè ï¼ã®ä½æã»æ°åã»é»è©±çªå·ã»ã¡ã¼ã«ã¢ãã¬ã¹</li> 282 <li>ã»è²·åæéããæ¯æãããå£åº§</li> 283 <li>ã»ããããPayã¢ã«ã¦ã³ããã³ãã¼ãâ»å種ç¹å ¸ãè¾éãããæ¹ã¯ä¸è¦</li> 284 <li>ãªã©</li> 285 </ul> 286 </div> 287 <div> 288 <h4 class="font-bold text-setagaya-yellow mb-2">黿°ãè²·ãæ¹</h4> 289 <ul class="space-y-1 text-sm"> 290 <li>ã»ãå¥ç´ä¸ã®é»åä¼ç¤¾ã®æ¤é票ãªã©ãå¥ç´å 容ãããããã®</li> 291 <li class="text-xs text-gray-600 ml-2">â»ã客æ§çªå·ã黿°å¥ç´å®¹éã黿°ã使ãå ´æã®ä¾çµ¦å°ç¹ç¹å®çªå·ãªã©ãå¿ è¦ã§ãã</li> 292 <li>ã»ãå¥ç´è ã®ä½æã»æ°åã»é»è©±çªå·ã»ã¡ã¼ã«ã¢ãã¬ã¹</li> 293 <li>ã»é»æ°æéã®ãæ¯æãã¯ã¬ã¸ããã«ã¼ã</li> 294 <li>ã»ããããPayã¢ã«ã¦ã³ããã³ãã¼ãâ»å種ç¹å ¸ãè¾éãããæ¹ã¯ä¸è¦</li> 295 </ul> 296 </div> 297 </div>`},{question:"è²»ç¨ããããã¾ããï¼",answer:"åå ãããã¨èªä½ã«è²»ç¨ã¯ãããã¾ãããï¼ããããã§ããã«ç³ãè¾¼ã¾ããæ¹ã«ã¤ãã¾ãã¦ã¯ã黿°ã®ã使ç¨ã«ãããè²»ç¨ã¯æåã¨ãªãã¾ããï¼"},{question:"å ·ä½çã«åå åå¾ã§å¤æ´ãããã®ã¯ããã¾ããï¼",answer:`売é»å´:é»åã®å£²ãå ãç¾å¨ã®å£²å´å ãã夿´ãã¦ããã ãã¾ãã 298è²·é»å´:ç¾å¨ã®é»åå¥ç´ã夿´ããã ãã¾ãã
299夿´å :å ¨è¾²ã¨ãã«ã®ã¼(å°å£²ç»é²çªå· A0310)HP:<a href="https://zennoh-energy.co.jp/" target="_blank" rel="noopener noreferrer">https://zennoh-energy.co.jp/</a>`},{question:"ãã³ã·ã§ã³ãã¢ãã¼ãã»è³è²¸ä½å® ã«ä½ãã§ãã¾ããé»åãè³¼å ¥ãããã¨ã¯ã§ãã¾ããï¼",answer:`ãåå å¯è½ã§ãããã ã䏿¬åé»(ãä¾ã黿°æéããã³ã·ã§ã³åä½ã§å¥ç´ãã¦ãã)æ¹å¼ãæ¡ç¨ã㦠300ããæ½è¨ã¯åå ã§ãã¾ãããåå ã§ãããæ°ã«ãªãæ¹ã¯ä¸åº¦ãåãåãããã ããã<a href="#contact">ãåãåããã¯ãã¡ã</a> 301â»ä»åã®å®è¨¼ã¯æ¸å»ºã¦ä½å® éã§ã®é»ååå¼ãä¸å¿ã¨ãªãã¾ãããã³ã·ã§ã³ãªã¼ãã¼æ§ã䏿¬å黿¹å¼ã§ãªãå ¥å± è æ§ããå©ç¨å¯è½ã§ãããæ¥ä¸ã®é»æ°ä½¿ç¨éãå°ãªãå ´åãæ¥ä¸ã®åå¼éãå°ãªããªã黿°ä»£ãé«ããªãå¯è½æ§ãããã¾ãã`},{question:"å®è¨¼æéã¯ãã¤ã¾ã§ã§ããï¼",answer:"2027å¹´3æã¾ã§ã§ãã"},{question:"å®è¨¼æéçµäºå¾ã¯ã©ããªãã®ãï¼",answer:"å®è¨¼æéçµäºå¾ãç¶ç¶ãã¦æ¬ãµã¼ãã¹ããå©ç¨ããã ããäºå®ã§ãã詳細ã¯å®è¨¼æéçµäºåã«ãæ¡å ãããã¾ãã"},{question:"åå ç¹å ¸ã®ãããã Pay ãã¤ã³ãã®ä»ä¸ã¯ãã¤ï¼",answer:`2026å¹´1æä»¥éã«ã¢ãã¿ã¼åå ãããæ¹ã¯ã2026å¹´7æï¼äºå®ï¼ã«ãããããPayã¢ããªãã«ä»ä¸ããã¾ãã 302â»2025å¹´12æã¾ã§ã«åå ãããæ¹ã¯ã2026å¹´2æã«ä»ä¸ããã¦ãã¾ãã 303â»ã好è©ã«ã¤ããåå ç¹å ¸ã¨ãã¦ã®ããããPayãã¤ã³ãã®ä»ä¸ã¯çµäºãã¾ããã`},{question:"éä¸ã§è§£ç´ã¯ã§ãã¾ããï¼",answer:"å¯è½ã§ãããã ãä»åã®å®è¨¼å®é¨ã®å¹æãæ¤è¨¼ããç®çä¸ãæéçµäºæã¾ã§ã®ãååããé¡ããã¾ãã"},{question:"å®è¨¼ã«é¢ä¿ãã¦ããæ©é¢ã¯ï¼",answer:`ä¸ç°è°·åº(<a href="https://www.city.setagaya.lg.jp/" target="_blank" rel="noopener noreferrer">https://www.city.setagaya.lg.jp/</a>) 304å°å£²é»æ°äºæ¥è :å ¨è¾²ã¨ãã«ã®ã¼æ ªå¼ä¼ç¤¾(<a href="https://zennoh-energy.co.jp/" target="_blank" rel="noopener noreferrer">https://zennoh-energy.co.jp/</a>) 305P2Pé»ååå¼ãã©ãããã©ã¼ãã¼:TRENDEæ ªå¼ä¼ç¤¾(<a href="https://trende.jp/" target="_blank" rel="noopener noreferrer">https://trende.jp/</a>) 306ãã®ä»ã¨ãªã£ã¦ããã¾ãã詳ããã¯ãã¡ããã覧ãã ãã(<a href="https://zennoh-energy.co.jp/newsrelease/resource/%E4%B8%96%E7%94%B0%E8%B0%B7%E5%8C%BA%E3%81%A7%E3%81%AE%E4%BD%8F%E5%AE%85%E7%94%A8%E5%A4%AA%E9%99%BD%E5%85%89%E7%99%BA%E9%9B%BB%E3%81%AE%E4%BD%99%E5%89%B0%E9%9B%BB%E5%8A%9B%E3%82%92%E6%B4%BB%E3%81%8B%E3%81%97%E3%81%9F%E5%9C%B0%E5%9F%9F%E5%86%85%E3%82%A8%E3%83%8D%E3%83%AB%E3%82%AE%E3%83%BC%E5%BE%AA%E7%92%B0%E3%81%AE%E5%AE%9F%E8%A8%BC%E4%BA%8B%E6%A5%AD%E3%81%AE%E9%96%8B%E5%A7%8B%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6.pdf" target="_blank" rel="noopener noreferrer">ãã¬ã¹ãªãªã¼ã¹</a>)`},{question:"ã¤ã³ã¿ã¼ãããç°å¢ãããã¾ããããå®è¨¼ã«åå ã§ãã¾ããï¼",answer:'ãããããã§ãããã®ç³è¾¼ã¿ã«ã¯ã¤ã³ã¿ã¼ãããç°å¢ãå¿ é ã¨ãªã£ã¦ããã¾ãããããããã·ã§ã¢ãã®ç³è¾¼ã¿ã«ã¤ãã¦ã¯ãä¸ç°è°·åºã®æ å½èª²ã¾ã§ãç¸è«ãã ããããé£çµ¡å ã¯<a href="#contact">ãã¡ã</a>'},{question:"å®è¨¼äºæ¥ã«ã¤ãã¦ãã£ã¨è©³ããç¥ããã",answer:`詳ããã¯ãä¸ç°è°·åºã®ãã¼ã ãã¼ã¸ãã覧ããã ãããæç®¡èª²ã¾ã§ãé£çµ¡ãã ããã 307 308<a href="https://www.city.setagaya.lg.jp/02240/20206.html" target="_blank" rel="noopener noreferrer">ä½å® ç¨å¤ªé½å çºé»ã®ä½å°é»åãæ´»ç¨ããå®è¨¼äºæ¥ | ä¸ç°è°·åºå ¬å¼ãã¼ã ãã¼ã¸</a> 309 310å®è¨¼äºæ¥ãã³ãã¬ãã 311<a href="https://www.city.setagaya.lg.jp/documents/20206/setagaya_p2ppanf.pdf" target="_blank" rel="noopener noreferrer">https://www.city.setagaya.lg.jp/documents/20206/setagaya_p2ppanf.pdf</a> 312 313黿°ã®å£²é»ã¢ãã¿ã¼åéã¡ãã 314<a href="https://www.city.setagaya.lg.jp/documents/20206/chirashi_sell.pdf" target="_blank" rel="noopener noreferrer">https://www.city.setagaya.lg.jp/documents/20206/chirashi_sell.pdf</a> 315 316黿°ã®è³¼å ¥ã¢ãã¿ã¼åéã¡ãã 317<a href="https://www.city.setagaya.lg.jp/documents/20206/chirashi_buy.pdf" target="_blank" rel="noopener noreferrer">https://www.city.setagaya.lg.jp/documents/20206/chirashi_buy.pdf</a>`}],cD=()=>
317{const t=Pc(),e=r=>r.includes("<div")||r.includes("<h4")||r.includes("<ul")?l.jsx("div",{dangerouslySetInnerHTML:{__html:r}}):r.replace(/<a href="([^"]+)"([^>]*)>([^<]+)<\/a>/g,(s,i,o,a)=>{const c=!i.startsWith("#");return`<a href="${i}"${o} class="text-setagaya-blue hover:text-setagaya-green underline transition-colors duration-200 inline-flex items-center gap-1">${a}${c?'<span class="inline-flex external-link-icon">â</span>':""}</a>`}).split(` 318`).map((s,i)=>l.jsx("span",{dangerouslySetInnerHTML:{__html:s}},i)).reduce((s,i,o,a)=>s.length===0?[i]:[...s,o<a.length?l.jsx("br",{},`br-${o}`):null,i],[]);return l.jsxs("div",{className:"relative py-20 bg-setagaya-soft-blue",children:[l.jsxs("div",{ref:t,className:"container mx-auto px-4 opacity-0 translate-y-10 transition-all duration-700",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"ãããã質åã«ãçããã¾ã"}),l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsx(aD,{type:"single",collapsible:!0,className:"bg-white rounded-lg overflow-hidden",children:lD.map((r,n)=>l.jsxs(PN,{value:`item-${n}`,children:[l.jsx(RN,{className:"px-6 py-4 hover:bg-gray-50",children:r.question}),l.jsx(AN,{className:"px-6 py-4 bg-gray-50",children:e(r.answer)})]},n))})})]}),l.jsx("div",{className:"h-56 xl:h-[400px]"}),l.jsx(lC,{className:"text-white"})]})},uD=()=>{const t=Pc();return l.jsx("div",{className:"relative py-20 bg-white",children:l.jsxs("div",{ref:t,className:"container mx-auto px-4 opacity-0 translate-y-10 transition-all duration-700",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"ãåãåããã¯ãã¡ãã¾ã§"}),l.jsxs("div",{className:"max-w-3xl mx-auto bg-setagaya-soft-green rounded-lg p-8",children:[l.jsxs("div",{className:"flex flex-col space-y-6",children:[l.jsxs("div",{className:"flex items-start",children:[l.jsx("div",{className:"bg-setagaya-green rounded-full p-2 mr-4",children:l.jsx(aT,{className:"text-white",size:20})}),l.jsx("div",{children:l.jsx("h3",{className:"text-lg font-medium",children:"ä¸ç°è°·åº ç°å¢æ¿çé¨ æ°å屿©å¯¾ç課"})})]}),l.jsxs("div",{className:"flex items-start",children:[l.jsx("div",{className:"bg-setagaya-green rounded-full p-2 mr-4",children:l.jsx(pT,{className:"text-white",size:20})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-lg font-medium",children:"é»è©±ã§ã®ãåãåãã"}),l.jsx("p",{className:"text-gray-700 mt-1",children:"03-6432-7135"}),l.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"å仿éï¼å¹³æ¥ 9:00ï½17:00"})]})]}),l.jsxs("div",{className:"flex items-start",children:[l.jsx("div",{className:"bg-setagaya-green rounded-full p-2 mr-4",children:l.jsx(gT,{className:"text-white",size:20})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-lg font-medium",children:"FAXã§ã®ãåãåãã"}),l.jsx("p",{className:"text-gray-700 mt-1",children:"03-6432-7981"})]})]})]}),l.jsxs("div",{className:"flex flex-col items-center gap-y-2 mt-8 pt-6 border-t border-green-200 text-center",children:[l.jsx("p",{className:"text-gray-700",children:"ããã¸ã§ã¯ãã«é¢ãã詳細æ å ±ã¯ãä¸ç°è°·åºãã¼ã ãã¼ã¸ã§ãã確èªããã ãã¾ãã"}),l.jsx("a",{className:"text-setagaya-blue hover:text-setagaya-green underline transition-colors duration-200 inline-flex items-center gap-1",href:"https://www.city.setagaya.lg.jp/02240/20206.html",target:"_blank",rel:"noopener noreferrer",children:"ä½å® ç¨å¤ªé½å çºé»ã®ä½å°é»åãæ´»ç¨ããå®è¨¼äºæ¥ï¼ | ä¸ç°è°·åºå ¬å¼ãã¼ã ãã¼ã¸"})]})]})]})})},dD=()=>{const t=y.useRef(null),e=y.useRef(null);return y.useEffect(()=>{t.current&&e.current&&ns.fromTo(e.current.children,{opacity:0,y:20},{opacity:1,y:0,stagger:.1,duration:.7,ease:"power3.out",scrollTrigger:{trigger:t.current,start:"top 90%"}})},[]),l.jsx("footer",{ref:t,className:"bg-setagaya-green text-white",children:l.jsxs("div",{className:"container mx-auto px-4 py-12",children:[l.jsxs("div",{ref:e,className:"flex flex-col md:flex-row justify-between items-start",children:[l.jsxs("div",{className:"mb-8 md:mb-0 md:w-1/3",children:[l.jsx("div",{className:"flex items-center",children:l.jsx("h2",{className:"text-xl font-bold",children:"ä¸ç°è°·åº 黿°ã®å°ç£å°æ¶ããã¸ã§ã¯ã"})}),l.jsx("p",{className:"mt-2 text-green-100",children:"人ãã¤ãªãããã§ããã§ã¤ãªãã"}),l.jsx("p",{className:"mt-6 text-sm text-green-100",children:"ä¸ç°è°·åºã宿½ãããå°åã®åçå¯è½ã¨ãã«ã®ã¼ãå°åã§æ¶è²»ããå®è¨¼äºæ¥ã§ãã å®¶åºã®å¤ªé½å çºé»ã®é»åãå°åå ã§åãã¡åããã¨ã§ãå°åã®ã¨ãã«ã®ã¼èªçµ¦çåä¸ãç®æãã¾ãã"})]}),l.jsxs("div",{className:"md:w-1/3 mb-8 md:mb-0 md:px-8",children:[l.jsx("h3",{className:"font-medium mb-4 text-lg",children:"ãåãåãã"}),l.jsx("ul",{className:"space-y-3",children:l.jsxs("li",{className:"flex items-start",children:[l.jsx(dT,{className:"text-green-100 mr-3 mt-1 flex-shrink-0",size:18}),l.jsxs("div",{children:[l.jsx("p",{className:"text-green-100",children:"ã¡ã¼ã«ã§ã®ãåãåãã"}),l.jsx("p",{className:"font-medium",children:"[email protected]"})]})]})})]}),l.jsxs("div",{className:"md:w-1/3",children:[l.jsx("h3",{className:"font-medium mb-4 text-lg",children:"宿½ä¸»ä½"}),l.jsxs("div",{className:"flex flex-col md:flex-row items-start gap-4",children:[l.jsx("img",{src:"/lovable-uploads/7eff7eaf-605e-4fee-b244-d93045eddc6d.png",alt:"ä¸ç°è°·åºãã´",className:"h-16 w-16 object-contain"}),l.jsxs("div",{children:[l.jsx("p",{className:"font-medium",children:"ä¸ç°è°·åº"}),l.jsx("p",{className:"text-sm text-green-100 mt-2",children:"å°å£²é»æ°äºæ¥è ã¨ãã¦å ¨è¾²ã¨ãã«ã®ã¼æ ªå¼ä¼ç¤¾ã¨ãP2Pé»ååå¼ãã©ãããã©ã¼ãã¼ã¨ãã¦TRENDEæ ªå¼ä¼ç¤¾ã¨å ±åã§å®æ½ãã¦ãã¾ãã"})]})]})]})]}),l.jsx("div",{className:"mt-12 pt-6 border-t border-green-600 text-center",children:l.jsxs("p",{className:"text-sm text-green-100",children:["© ",new Date().getFullYear()," ä¸ç°è°·åº All Rights Reserved."]})})]})})},fD=({children:t,className:e=""})=>l.jsx("div",{className:`w-full px-4 ${e}`,children:l.jsx("div",{className:"container mx-auto text-center px-0",children:t})}),hD=()=>{const[t,e]=y.useState(!1),[r,n]=y.useState(!0),[s,i]=y.useState(0),o=y.useRef(null);return y.useEffect(()=>{const a=()=>{const c=window.scrollY;c<s||c<10?n(!0):(n(!1),e(!1)),i(c)};return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)},[s]),y.useEffect(()=>{const a=()=>
318{if(o.current){const u=o.current.offsetHeight;document.documentElement.style.setProperty("--header-height",`${u}px`)}};a(),window.addEventListener("resize",a);const c=new MutationObserver(a);return o.current&&c.observe(o.current,{childList:!0,subtree:!0}),()=>{window.removeEventListener("resize",a),c.disconnect()}},[]),l.jsxs("header",{ref:o,className:`fixed top-0 left-0 right-0 z-50 transition-transform duration-300 ease-in-out ${r?"translate-y-0":"-translate-y-full"}`,children:[l.jsx(fD,{className:"bg-blue-600 text-white py-2 shadow-md",children:l.jsxs("p",{className:"text-xs md:text-sm",children:["ä¸ç°è°·åºHPã«æ¬å®è¨¼ã®åå¼å®ç¸¾ã¾ã¨ããæ²è¼ããã¾ããã",l.jsx("a",{href:"https://www.city.setagaya.lg.jp/documents/20206/setagayap2p_result_upmonthly.pdf",target:"_blank",rel:"noopener noreferrer",className:"ml-1 underline hover:text-blue-200 transition-colors",children:"詳ããã¯ãã¡ãã®ãªã³ã¯ããã覧ãã ããã"})]})}),l.jsx("nav",{className:"bg-white shadow-sm",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"flex items-center justify-between h-16",children:[l.jsx("div",{className:"flex items-center",children:l.jsxs("span",{className:"font-bold text-lg",children:["ä¸ç°è°·åº ",l.jsx("span",{className:"sm:block"}),l.jsx("span",{className:"w-[234px]",children:"黿°ã®å°ç£å°æ¶ããã¸ã§ã¯ã"})]})}),l.jsxs("div",{className:"hidden xl:flex items-center space-x-8",children:[l.jsx("a",{href:"#about",className:"hover:text-setagaya-green transition-colors",children:"ããã¸ã§ã¯ãã«ã¤ãã¦"}),l.jsx("a",{href:"#plans",className:"hover:text-setagaya-green transition-colors",children:"ãã©ã³å
容"}),l.jsx("a",{href:"#faq",className:"hover:text-setagaya-green transition-colors",children:"ãããã質å"}),l.jsx("a",{href:"#contact",className:"hover:text-setagaya-green transition-colors",children:"ãåãåãã"}),l.jsx("a",{href:"/login",className:"hover:text-setagaya-green transition-colors",children:"ãã°ã¤ã³"}),l.jsx("a",{href:"/apply",className:"bg-setagaya-green hover:bg-green-600 text-white font-medium rounded px-4 py-2 transition-colors focus:outline-none focus:ring-2 focus:ring-setagaya-green focus:ring-offset-2",style:{display:"inline-block"},children:"ã¢ãã¿ã¼ã«å¿å"})]}),l.jsx("div",{className:"xl:hidden",children:l.jsx("button",{onClick:()=>e(!t),className:"text-gray-700 hover:text-setagaya-green focus:outline-none",children:t?l.jsx(Og,{size:24}):l.jsx(fT,{size:24})})})]}),t&&l.jsx("div",{className:"xl:hidden py-4 border-t border-gray-100",children:l.jsxs("div",{className:"flex flex-col space-y-3",children:[l.jsx("a",{href:"#about",className:"py-2 hover:text-setagaya-green transition-colors",onClick:()=>e(!1),children:"ããã¸ã§ã¯ãã«ã¤ãã¦"}),l.jsx("a",{href:"#plans",className:"py-2 hover:text-setagaya-green transition-colors",onClick:()=>e(!1),children:"ãã©ã³å
容"}),l.jsx("a",{href:"#faq",className:"py-2 hover:text-setagaya-green transition-colors",onClick:()=>e(!1),children:"ãããã質å"}),l.jsx("a",{href:"#contact",className:"py-2 hover:text-setagaya-green transition-colors",onClick:()=>e(!1),children:"ãåãåãã"}),l.jsx("a",{href:"/login",className:"py-2 hover:text-setagaya-green transition-colors",onClick:()=>e(!1),children:"ãã°ã¤ã³"}),l.jsx("a",{href:"/apply",className:"mt-2 bg-setagaya-green hover:bg-green-600 w-full text-white font-medium rounded px-4 py-2 transition-colors focus:outline-none focus:ring-2 focus:ring-setagaya-green focus:ring-offset-2 text-center",style:{display:"block"},onClick:()=>e(!1),children:"ã¢ãã¿ã¼ã«å¿å"})]})})]})})]})},pD=()=>l.jsxs("div",{className:"w-full max-w-7xl mx-auto sm:py-12 font-sans mt-12 sm:mb-12",children:[l.jsx("h3",{className:"text-xl font-bold text-center bg-setagaya-green text-white py-2 mb-12 -mx-6",children:"宿½ã®æµã"}),l.jsxs("div",{className:"relative pt-12 pb-8 hidden sm:block max-w-4xl mx-auto",children:[l.jsxs("div",{className:"absolute top-6 left-0 right-0 flex justify-between px-4",children:[l.jsx("div",{className:"text-sm sm:text-lg font-bold",children:"2025å¹´6æä¸æ¬"}),l.jsx("div",{className:"text-sm font-bold translate-x-4"}),l.jsxs("div",{className:"text-sm font-bold translate-x-2 relative",children:[l.jsx("div",{className:"absolute w-8 -left-8 sm:text-lg",children:"7æ"}),l.jsxs("div",{className:"absolute top-[28px] left-full w-[152px] h-0.5 flex items-center",children:[l.jsx("div",{className:"w-full h-0 border-t-2 border-dashed border-black"}),l.jsx("div",{className:"absolute top-0 left-1/2 transform -translate-y-6 -translate-x-1/2 text-red-500 font-bold text-xs sm:text-md whitespace-nowrap",children:"广æ¤è¨¼"})]})]}),l.jsx("div",{className:"text-sm font-bold relative",children:l.jsx("div",{className:"relative -left-12 lg:text-lg",children:"2027å¹´3æ"})})]}),l.jsx("div",{className:"absolute top-20 left-0 right-0 h-1 bg-gray-300"}),l.jsxs("div",{className:"relative flex justify-between",children:[l.jsxs("div",{className:"flex flex-col items-center w-1/4",children:[l.jsx("div",{className:"z-10 h-16 w-16 rounded-full bg-blue-400 border-4 border-white shadow-md flex items-center justify-center",children:l.jsx("div",{className:"h-10 w-10 rounded-full bg-blue-500"})}),l.jsx("div",{className:"mt-4 border border-blue-400 rounded-full py-1 px-6 bg-white text-blue-600 text-center font-bold",children:"åºæ°ã¢ãã¿ã¼åé"})]}),l.jsxs("div",{className:"flex flex-col items-center w-1/4",children:[l.jsx("div",{className:"z-10 h-16 w-16 rounded-full bg-blue-400 border-4 border-white shadow-md flex items-center justify-center",children:l.jsx("div",{className:"h-10 w-10 rounded-full bg-blue-500"})}),l.jsx("div",{className:"mt-4 border border-blue-400 rounded-full py-1 px-6 bg-white text-blue-600 text-center font-bold",children:"å¥ç´æç¶ã"})]}),l.jsxs("div",{className:"flex flex-col items-center w-1/4",children:[l.jsx("div",{className:"z-10 h-16 w-16 rounded-full bg-green-400 border-4 border-white shadow-md flex items-center justify-center",children:l.jsx("div",{className:"h-10 w-10 rounded-full bg-green-500 flex items-center justify-center",children:l.jsx("span",{className:"text-white text-xs font-bold",children:"éå§"})})}),l.jsxs("div",{className:"mt-4 border border-yellow-400 rounded-full py-1 px-4 bg-yellow-300 text-gray-800 text-center font-bold",children:["ã§ããã®è²·å",l.jsx("br",{}),"åã¨ãã§ããä¾çµ¦"]})]}),l.jsx("div",{className:"flex flex-col items-center w-1/4",children:l.jsx("div",{className:"z-10 h-16 w-16 rounded-full bg-blue-400 border-4 border-white shadow-md flex items-center justify-center",children:l.jsx("div",{className:"h-10 w-10 rounded-full bg-blue-500"})})})]})]}),l.jsxs("div",{className:"relative pb-8 block sm:hidden w-96",children:[l.jsx("div",{className:"absolute top-0 bottom-0 w-1 bg-gray-300",style:{left:"126px"}}),l.jsxs("div",{className:"relative",children:[l.jsxs("div",{className:"mb-12 flex items-center",children:[l.jsx("div",{className:"flex-shrink-0 w-24 text-right pr-4",children:l.jsx("div",{className:"text-sm font-bold",children:"2025å¹´6æä¸æ¬"})}),l.jsx("div",{className:"flex-shrink-0",children:l.jsx("div",{className:"z-10 h-16 w-16 rounded-full bg-blue-400 border-4 border-white shadow-md flex items-center justify-center",children:l.jsx("div",{className:"h-10 w-10 rounded-full bg-blue-500"})})}),l.jsx("div",{className:"ml-6 flex flex-col",children:l.jsx("div",{className:"border border-blue-400 rounded-full py-1 px-6 bg-white text-sm text-blue-600 text-center font-bold inline-block",children:"åºæ°ã¢ãã¿ã¼åé"})})]}),l.jsxs("div",{className:"mb-12 flex items-center",children:[l.jsx("div",{className:"flex-shrink-0 w-24 text-right pr-4",children:l.jsx("div",{className:"text-sm font-bold"})}),l.jsx("div",{className:"flex-shrink-0",children:l.jsx("div",{className:"z-10 h-16 w-16 rounded-full bg-blue-400 border-4 border-white shadow-md flex items-center justify-center",children:l.jsx("div",{className:"h-10 w-10 rounded-full bg-blue-500"})})}),l.jsx("div",{className:"ml-6 flex flex-col",children:l.jsx("div",{className:"border border-blue-400 rounded-full py-1 px-6 bg-white text-sm text-blue-600 text-center font-bold inline-block",children:"å¥ç´æç¶ã"})})]}),l.jsxs("div",{className:"mb-12 flex items-center",children:[l.jsxs("div",{className:"flex-shrink-0 w-24 text-right pr-4 relative",children:[l.jsx("div",{className:"text-sm font-bold",children:"7æ"}),l.jsxs("div",{className:"absolute right-0 top-6 w-20 h-20",children:[l.jsx("div",{className:"border-r-2 border-dashed border-black h-full absolute top-1 right-4"}),l.jsx("div",{className:"absolute top-8 -left-1 text-red-500 font-bold text-xs whitespace-nowrap",children:"广æ¤è¨¼"})]})]}),l.jsx("div",{className:"flex-shrink-0",children:l.jsx("div",{className:"z-10 h-16 w-16 rounded-full bg-green-400 border-4 border-white shadow-md flex items-center justify-center",children:l.jsx("div",{className:"h-10 w-10 rounded-full bg-green-500 flex items-center justify-center",children:l.jsx("span",{className:"text-white text-xs font-bold",children:"éå§"})})})}),l.jsx("div",{className:"ml-6 flex flex-col",children:l.jsxs("div",{className:"border border-yellow-400 rounded-full py-1 px-2 bg-yellow-300 text-sm text-gray-800 text-center font-bold inline-block",children:["ã§ããã®è²·å",l.jsx("br",{}),"åã¨ãã§ããä¾çµ¦"]})})]}),l.jsxs("div",{className:"flex items-center",children:[l.jsx("div",{className:"flex-shrink-0 w-24 text-right pr-4",children:l.jsx("div",{className:"text-sm font-bold",children:"2027å¹´3æ"})}),l.jsx("div",{className:"flex-shrink-0",children:l.jsx("div",{className:"z-10 h-16 w-16 rounded-full bg-blue-400 border-4 border-white shadow-md flex items-center justify-center",children:l.jsx("div",{className:"h-10 w-10 rounded-full bg-blue-500"})})}),l.jsx("div",{className:"ml-6 flex flex-col"})]})]})]})]}),Wh=({children:t,className:e,icon:r})=>l.jsxs("div",{className:ae("relative p-4 rounded-2xl flex items-center justify-center text-center font-bold",e),children:[r&&l.jsx("div",{className:"absolute -top-2 -right-2 bg-white rounded-full p-1 shadow-md",children:r}),t]}),mD=()=>l.jsxs("div",{className:"w-full max-w-7xl mx-auto p-6 font-sans mt-12",children:[l.jsx("h3",{className:"text-xl font-bold text-center bg-setagaya-green text-white py-2 -mx-6 mb-6",children:"äºæ¥ã¤ã¡ã¼ã¸"}),l.jsxs("div",{className:"space-y-6",children:[l.jsxs("p",{className:"text-base leading-relaxed",children:["åºå
ã®ä½å®
ã«è¨ç½®ããã太é½å
çºé»ã§ä½ã£ãä½å°é»åãè²·ãåããåºå
ã®ãå®¶åºã«ãããããç£ã®åã¨ã黿°ããä¾çµ¦ããä»çµã¿ãæ§ç¯ãã¾ãã",l.jsx("br",{}),l.jsx("span",{className:"text-sm text-gray-600",children:"â»å¤éãé¨å¤©æãªã©ã太é½å
çºé»ã®ä½å°é»åã ãã§ã¯è³ãã
318ªã黿°ã¯ãé常ã®é»æ°ãä¾çµ¦ããã¾ãã"})]}),l.jsx("p",{className:"text-base leading-relaxed",children:"æ¬äºæ¥ã§å®è¨¼ããèªåçãªé»å売買ãããã¯ã¼ã¯ãP2P (Peer to Peer) é»ååå¼ãã§ã¯ã黿°ã®ç°å¢æ§ã¨çµæ¸æ§ã両ç«ãããµã¼ãã¹ãç®æãã¾ãã"}),l.jsx("div",{className:"mt-8 mb-4",children:l.jsxs("div",{className:"flex flex-col md:flex-row justify-center items-center mt-2",children:[l.jsx(Wh,{className:"bg-green-500 text-white md:w-60 p-6 text-center",icon:l.jsx(Ab,{className:"text-yellow-600"}),children:l.jsxs("div",{className:"flex flex-col gap-y-8",children:[l.jsxs("h3",{children:["太é½å
çºé»ã§",l.jsx("br",{}),"ä½ã£ã黿°ã売ã"]}),l.jsx("div",{className:"flex justify-center items-center bg-white w-36 h-36 rounded-full overflow-hidden",children:l.jsx("img",{src:"/lovable-uploads/3a12e967-1af8-440b-8028-726ba71df4d6.png",alt:"Solar house",className:"w-32 h-32 object-contain"})}),l.jsxs("p",{className:"text-xs mt-2 max-w-48 mx-auto",children:["ä¸ç°è°·åºå
ã®",l.jsx("br",{}),"太é½å
çºé»è¨åã",l.jsx("br",{}),"ãæã¡ã®ãå®¶åº"]})]})}),l.jsx("div",{className:"flex flex-col md:flex-row justify-between items-center w-48",children:l.jsxs("div",{className:"flex sm:flex-col items-center justify-center my-4 md:mx-8",children:[l.jsxs("div",{className:"flex sm:flex-col items-center",children:[l.jsx("span",{className:"text-yellow-500 font-bold",children:"ä½å°é»å"}),l.jsx(Bs,{className:"hidden sm:block",length:80,arrowSize:24,arrowPosition:"end",direction:"horizontal",thickness:4,color:"#e7e7e7"}),l.jsx(Bs,{className:"sm:hidden",length:120,arrowSize:24,arrowPosition:"end",direction:"vertical",thickness:4,color:"#e7e7e7"})]}),l.jsxs("div",{className:"flex sm:flex-col items-center mt-2",children:[l.jsx(Bs,{className:"hidden sm:block",length:80,arrowSize:24,arrowPosition:"start",direction:"horizontal",thickness:4,color:"#e7e7e7"}),l.jsx(Bs,{className:"sm:hidden",length:120,arrowSize:24,arrowPosition:"start",direction:"vertical",thickness:4,color:"#e7e7e7"}),l.jsx("span",{className:"text-green-500 font-bold",children:"è²·åæé"})]})]})}),l.jsx(Wh,{className:"bg-blue-100 text-gray-800 md:w-52 lg:w-auto text-sm",icon:l.jsx(Mb,{className:"text-yellow-300"}),children:l.jsxs("div",{className:"flex flex-col gap-y-6",children:[l.jsx("h3",{className:"my-4 text-xl font-bold",children:"P2Pé»ååå¼å¸å ´"}),l.jsxs("p",{children:["å¸å ´åçã«ãã£ã¦",l.jsx("br",{}),"è²·åä¾¡æ ¼ã»é»æ°æéã",l.jsx("br",{}),"èªåçã«æ±ºå®"]}),l.jsxs("div",{className:"border-2 border-blue-900 bg-blue-900 text-white p-4 w-48 text-center text-xs",children:[l.jsxs("div",{className:"flex justify-between mb-2",children:[l.jsx("div",{children:"売ã"}),l.jsx("div",{children:"è²·ã"})]}),l.jsxs("div",{className:"text-xs space-y-1",children:[l.jsx("div",{className:"flex justify-start",children:l.jsx("div",{children:"âkWh/âå"})}),l.jsxs("div",{className:"flex justify-between",children:[l.jsx("div",{className:"text-left",children:"â²kWh/â²å"}),l.jsx("div",{className:"text-right",children:"â²kWh/â²å"})]}),l.jsx("div",{className:"flex justify-start",children:l.jsx("div",{children:"â kWh/â å"})})]}),l.jsx("div",{className:"mt-2 text-sm",children:"å°å£²é»æ°äºæ¥è
"})]})]})}),l.jsx("div",{className:"flex flex-col md:flex-row justify-between items-center w-48",children:l.jsxs("div",{className:"flex sm:flex-col items-center justify-center my-4 md:mx-8",children:[l.jsxs("div",{className:"flex sm:flex-col items-center",children:[l.jsx("span",{className:"text-yellow-500 font-bold ml-1",children:"åã¨ãä¾çµ¦"}),l.jsx(Bs,{className:"hidden sm:block",length:80,arrowSize:24,arrowPosition:"end",direction:"horizontal",thickness:4,color:"#e7e7e7"}),l.jsx(Bs,{className:"sm:hidden",length:120,arrowSize:24,arrowPosition:"end",direction:"vertical",thickness:4,color:"#e7e7e7"})]}),l.jsxs("div",{className:"flex sm:flex-col items-center mt-2",children:[l.jsx(Bs,{className:"hidden sm:block",length:80,arrowSize:24,arrowPosition:"start",direction:"horizontal",thickness:4,color:"#e7e7e7"}),l.jsx(Bs,{className:"sm:hidden",length:120,arrowSize:24,arrowPosition:"start",direction:"vertical",thickness:4,color:"#e7e7e7"}),l.jsx("span",{className:"text-green-500 font-bold",children:"黿°æé"})]})]})}),l.jsx(Wh,{className:"bg-yellow-500 text-white md:w-60 p-6",icon:l.jsx(mT,{className:"text-green-500"}),children:l.jsxs("div",{className:"text-center flex flex-col items-center gap-y-8",children:["ããããç£ã®",l.jsx("br",{}),"ãåã¨ãã§ããããã¤ãã",l.jsx("div",{className:"flex justify-center items-center bg-white w-36 h-36 rounded-full overflow-hidden",children:l.jsx("img",{src:"/lovable-uploads/38d553c0-ccbf-4402-9fd3-e044668b99a0.png",alt:"Consumer house",className:"w-32 h-32 object-contain"})}),l.jsx("p",{className:"text-xs mt-2 h-[48px]",children:"ä¸ç°è°·åºå
ã®ãå®¶åº"})]})})]})}),l.jsxs("div",{className:"border-2 flex flex-col items-center border-gray-300 p-4 rounded-md mt-8",children:[l.jsx("h4",{className:"text-center text-lg font-bold mb-4",children:"ãå®è¨¼äºæ¥ã§æ¤è¨¼ãããã¨ã"}),l.jsxs("ul",{className:"space-y-3",children:[l.jsxs("li",{className:"flex items-start sm:items-center",children:[l.jsx("span",{className:"inline-block bg-green-500 rounded-full w-4 h-4 mr-2 flex-shrink-0"}),l.jsxs("span",{children:["çºé»ãããå®¶åºã¨å©ç¨ãããå®¶åºãèªåçã«ãããã³ã°ãã",l.jsx("strong",{children:"ãé»ååå¼å¸å ´ã"})]})]}),l.jsxs("li",{className:"flex items-start sm:items-center",children:[l.jsx("span",{className:"inline-block bg-green-500 rounded-full w-4 h-4 mr-2 flex-shrink-0"}),l.jsxs("span",{children:["çµæ¸åçã«åºã¥ããä¾¡æ ¼æ±ºå®ã«ããã",l.jsx("strong",{children:"黿°ã®ãç°å¢æ§ãã¨ãçµæ¸æ§ã"}),"ã両ç«"]})]}),l.jsxs("li",{className:"flex items-start sm:items-center",children:[l.jsx("span",{className:"inline-block bg-green-500 rounded-full w-4 h-4 mr-2 flex-shrink-0"}),l.jsxs("span",{children:["åãå®¶åºã«åæ£ãã太é½å
çºé»ãå¹ççã«æ´»ç¨ãã",l.
318jsx("strong",{children:"ã黿°ã®å°ç£å°æ¶ã"})]})]})]})]})]})]}),Bs=({length:t=100,direction:e="horizontal",arrowPosition:r="end",color:n="#000000",thickness:s=2,arrowSize:i=10,className:o="",style:a={},...c})=>{const u=e==="horizontal",d=u?t+i*2:s+i*2,f=u?s+i*2:t+i*2,m=u?"180":"270",h=u?"0":"90",b=r==="start"||r==="both"?`url(#arrow-start-${n.replace("#","")}-${m})`:"",p=r==="end"||r==="both"?`url(#arrow-end-${n.replace("#","")}-${h})`:"",v=u?i:d/2,x=u?f/2:i,g=u?d-i:d/2,w=u?f/2:f-i;return l.jsxs("svg",{width:d,height:f,viewBox:`0 0 ${d} ${f}`,className:o,style:a,...c,children:[l.jsxs("defs",{children:[(r==="start"||r==="both")&&l.jsx("marker",{id:`arrow-start-${n.replace("#","")}-${m}`,markerWidth:i,markerHeight:i,refX:0,refY:i/2,orient:m,markerUnits:"userSpaceOnUse",children:l.jsx("path",{d:`M0,0 L0,${i} L${i},${i/2} z`,fill:n})}),(r==="end"||r==="both")&&l.jsx("marker",{id:`arrow-end-${n.replace("#","")}-${h}`,markerWidth:i,markerHeight:i,refX:0,refY:i/2,orient:h,markerUnits:"userSpaceOnUse",children:l.jsx("path",{d:`M0,0 L0,${i} L${i},${i/2} z`,fill:n})})]}),l.jsx("line",{x1:v,y1:x,x2:g,y2:w,stroke:n,strokeWidth:s,markerStart:b,markerEnd:p})]})},gD=()=>{const t=Pc();return l.jsx("div",{className:"relative py-20 bg-setagaya-soft-green",children:l.jsxs("div",{ref:t,className:"container mx-auto px-4 opacity-0 translate-y-10 transition-all duration-700",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-16",children:"ããã¸ã§ã¯ãã®4ã¤ã®ãã¤ã³ã"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 mb-12",children:[l.jsxs("div",{className:"flex bg-white rounded-lg p-6 shadow-md",children:[l.jsx("div",{className:"mr-4 text-setagaya-green",children:l.jsx(xT,{size:48})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-medium mb-2",children:"åºæ°åå åã®ç¤¾ä¼å®è¨¼"}),l.jsx("p",{className:"text-gray-700",children:"ç´ 300 ä»¶ã®åºæ°ã¢ãã¿ã¼ã«åå ãã¦ããã ããä¸å®è¦æ¨¡ã§ã®å¹ææ¤è¨¼ãè¡ããã¨ã§ã社ä¼å®è£
ã«åçµã¿ã¾ãã"})]})]}),l.jsxs("div",{className:"flex bg-white rounded-lg p-6 shadow-md",children:[l.jsx("div",{className:"mr-4 text-setagaya-blue",children:l.jsx(iT,{size:48})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-medium mb-2",children:"ãçµæ¸æ§ãã¨ãç°å¢æ§ãã®ä¸¡ç«"}),l.jsx("p",{className:"text-gray-700",children:"å¸å ´åçã«ããä¾¡æ ¼æ±ºå®ã¡ã«ããºã ã«åºã¥ããä½å°é»åï¼åã¨ãï¼ã®åå¼ã·ã¹ãã ã«ãããçµæ¸æ§ã¨ç°å¢æ§ã®ä¸¡ç«ãç®æãã¾ãã"})]})]}),l.jsxs("div",{className:"flex bg-white rounded-lg p-6 shadow-md",children:[l.jsx("div",{className:"mr-4 text-setagaya-yellow",children:l.jsx(hT,{size:48})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-medium mb-2",children:"ä½å®
é½å¸åã®å°åé»åãããã¯ã¼ã¯æ¤è¨¼"}),l.jsx("p",{className:"text-gray-700",children:"çºé»å´ï¼ä½å®
ã§ã®å¤ªé½å
çºé»çï¼ã¨éè¦å´ï¼ä¸è¬å®¶åºã®é»åå©ç¨ï¼ãçµã³ã¤ãã¦ãèªåçã«åå¼ããé»åãããã¯ã¼ã¯ãæ¤è¨¼ããä½å®
å°ã§ã®å¹ççãªã¨ãã«ã®ã¼å©ç¨ãç®æãã¾ãã"})]})]}),l.jsxs("div",{className:"flex bg-white rounded-lg p-6 shadow-md",children:[l.jsx("div",{className:"mr-4 text-setagaya-green",children:l.jsx(uT,{size:48})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-medium mb-2",children:"ã¨ãã«ã®ã¼ã®å°ç£å°æ¶"}),l.jsx("p",{className:"text-gray-700",children:"å¤§è¦æ¨¡ãªçºé»æããéä¸ãã¦é»åãä¾çµ¦ãããéä¸åããããä¸è¬å®¶åºãªã©ã®å°è¦æ¨¡ã§åºå
ã«åæ£ããé»åãå°åå
ã§å©ç¨ããã忣åãã¸ã·ãããããã¨ã§ãã¨ãã«ã®ã¼ã®å°ç£å°æ¶ãç®æãã¾ãã"})]})]})]})]})})},vD=()=>{const[t,e]=y.useState(!1),r=()=>{e(!t)};return l.jsx("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:l.jsxs("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[l.jsxs("button",{onClick:r,className:"w-full flex items-center justify-between p-4 bg-setagaya-soft-green hover:bg-setagaya-green/20 transition-colors",children:[l.jsx("h3",{className:"text-xl font-bold text-setagaya-green",children:"詳ããå®è¨¼ã®æç¾©ãæµããç¥ãããæ¹ã¯ãã¡ããã"}),l.jsx(lf,{className:`w-6 h-6 text-setagaya-green transition-transform duration-300 ${t?"rotate-180":""}`})]}),l.jsx("div",{className:`transition-all duration-300 ease-in-out overflow-hidden ${t?"max-h-[8000px] opacity-100":"max-h-0 opacity-0"}`,children:l.jsxs("div",{className:"bg-white",children:[l.jsx(pD,{}),l.jsx(mD,{}),l.jsx(gD,{})]})})]})})};ns.registerPlugin(ge);const xD=()=>{const t=y.useRef(null);return y.useEffect(()=>(document.title="ããããã§ããã»ã·ã§ã¢ | ä½å®
ç¨å¤ªé½å
çºé»ã®ä½å°é»åãæ´»ç¨ããä¸ç°è°·åºã®å®è¨¼äºæ¥",t.current&&ns.fromTo(t.current,{opacity:0}
318,{opacity:1,duration:1,ease:"power2.out"}),ge.batch("section",{onEnter:e=>ns.to(e,{autoAlpha:1,stagger:.1,overwrite:!0}),start:"top 85%"}),()=>{ge.getAll().forEach(e=>e.kill())}),[]),l.jsxs("div",{className:"min-h-screen font-sans",children:[l.jsx(hD,{}),l.jsxs("main",{ref:t,className:"opacity-0 pt-[var(--header-height,200px)]",children:[l.jsx("section",{id:"hero",children:l.jsx(tM,{})}),l.jsxs("section",{id:"about",className:"relative",children:[l.jsx(nM,{}),l.jsx(vD,{})]}),l.jsx("section",{id:"plans",children:l.jsx(V5,{})}),l.jsx("section",{id:"faq",children:l.jsx(cD,{})}),l.jsx("section",{id:"contact",children:l.jsx(uD,{})})]}),l.jsx(dD,{})]})},yD=()=>{const t=L_();return y.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",t.pathname)},[t.pathname]),l.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:l.jsxs("div",{className:"text-center",children:[l.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),l.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),l.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},wD=new PA,bD=()=>l.jsx(AA,{client:wD,children:l.jsxs(oA,{children:[l.jsx(eP,{}),l.jsx(AP,{}),l.jsx(y4,{children:l.jsxs(g4,{children:[l.jsx(Qp,{path:"/",element:l.jsx(xD,{})}),l.jsx(Qp,{path:"*",element:l.jsx(yD,{})})]})})]})});tb(document.getElementById("root")).render(l.jsx(bD,{}));
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.