PageSourceSearch

https://international.jct.ac.il/assets/index-DxmpCf1x.js

js jct.ac.il collected 2026-10-02 02:43:17 UTC 894,137 bytes, 488 lines download raw bytes

vendor: 6,410 bytes, lines 1-9
1var zA=Object.defineProperty;var Ib=t=>{throw TypeError(t)};var VA=(t,e,n)=>e in t?zA(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Tt=(t,e,n)=>VA(t,typeof e!="symbol"?e+"":e,n),Xg=(t,e,n)=>e.has(t)||Ib("Cannot "+n);var F=(t,e,n)=>(Xg(t,e,"read from private field"),n?n.call(t):e.get(t)),Me=(t,e,n)=>e.has(t)?Ib("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),ve=(t,e,n,r)=>(Xg(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),rt=(t,e,n)=>(Xg(t,e,"access private method"),n);var ch=(t,e,n,r)=>({set _(s){ve(t,e,s,n)},get _(){return F(t,e,r)}});function $A(t,e){for(var n=0;n<e.length;n++){const r=e[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in t)){const o=Object.getOwnPropertyDescriptor(r,s);o&&Object.defineProperty(t,s,o.get?o:{enumerable:!0,get:()=>r[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"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function wv(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Qg={exports:{}},bu={},Zg={exports:{}},Ke={};/**
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 Fb;function WA(){if(Fb)return Ke;Fb=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.iterator;function v(L){return L===null||typeof L!="object"?null:(L=g&&L[g]||L["@@iterator"],typeof L=="function"?L:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,b={};function _(L,G,ge){this.props=L,this.context=G,this.refs=b,this.updater=ge||x}_.prototype.isReactComponent={},_.prototype.setState=function(L,G){if(typeof L!="object"&&typeof L!="function"&&L!=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,L,G,"setState")},_.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function C(){}C.prototype=_.prototype;function j(L,G,ge){this.props=L,this.context=G,this.refs=b,this.updater=ge||x}var T=j.prototype=new C;T.constructor=j,k(T,_.prototype),T.isPureReactComponent=!0;var N=Array.isArray,P=Object.prototype.hasOwnProperty,D={current:null},M={key:!0,ref:!0,__self:!0,__source:!0};function O(L,G,ge){var ue,de={},ee=null,ye=null;if(G!=null)for(ue in G.ref!==void 0&&(ye=G.ref),G.key!==void 0&&(ee=""+G.key),G)P.call(G,ue)&&!M.hasOwnProperty(ue)&&(de[ue]=G[ue]);var je=arguments.length-2;if(je===1)de.children=ge;else if(1<je){for(var be=Array(je),ht=0;ht<je;ht++)be[ht]=arguments[ht+2];de.children=be}if(L&&L.defaultProps)for(ue in je=L.defaultProps,je)de[ue]===void 0&&(de[ue]=je[ue]);return{$$typeof:t,type:L,key:ee,ref:ye,props:de,_owner:D.current}}function z(L,G){return{$$typeof:t,type:L.type,key:G,ref:L.ref,props:L.props,_owner:L._owner}}function V(L){return typeof L=="object"&&L!==null&&L.$$typeof===t}function ne(L){var G={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(ge){return G[ge]})}var K=/\/+/g;function ie(L,G){return typeof L=="object"&&L!==null&&L.key!=null?ne(""+L.key):G.toString(36)}function ae(L,G,ge,ue,de){var ee=typeof L;(ee==="undefined"||ee==="boolean")&&(L=null);var ye=!1;if(L===null)ye=!0;else switch(ee){case"string":case"number":ye=!0;break;case"object":switch(L.$$typeof){case t:case e:ye=!0}}if(ye)return ye=L,de=de(ye),L=ue===""?"."+ie(ye,0):ue,N(de)?(ge="",L!=null&&(ge=L.replace(K,"$&/")+"/"),ae(de,G,ge,"",function(ht){return ht})):de!=null&&(V(de)&&(de=z(de,ge+(!de.key||ye&&ye.key===de.key?"":(""+de.key).replace(K,"$&/")+"/")+L)),G.push(de)),1;if(ye=0,ue=ue===""?".":ue+":",N(L))for(var je=0;je<L.length;je++){ee=L[je];var be=ue+ie(ee,je);ye+=ae(ee,G,ge,be,de)}else if(be=v(L),typeof be=="function")for(L=be.call(L),je=0;!(ee=L.next()).done;)ee=ee.value,be=ue+ie(ee,je++),ye+=ae(ee,G,ge,be,de);else if(ee==="object")throw G=String(L),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.");return ye}function me(L,G,ge){if(L==null)return L;var ue=[],de=0;return ae(L,ue,"","",function(ee){return G.call(ge,ee,de++)}),ue}function re(L){if(L._status===-1){var G=L._result;G=G(),G.then(function(ge){(L._status===0||L._status===-1)&&(L._status=1,L._result=ge)},function(ge){(L._status===0||L._status===-1)&&(L._status=2,L._result=ge)}),L._status===-1&&(L._status=0,L._result=G)}if(L._status===1)return L._result.default;throw L._result}var J={current:null},Y={transition:null},Z={ReactCurrentDispatcher:J,ReactCurrentBatchConfig:Y,ReactCurrentOwner:D};function R(){throw Error("act(...) is not supported in production builds of React.")}return Ke.Children={map:me,forEach:function(L,G,ge){me(L,function(){G.apply(this,arguments)},ge)},count:function(L){var G=0;return me(L,function(){G++}),G},toArray:function(L){return me(L,function(G){return G})||[]},only:function(L){if(!V(L))throw Error("React.Children.only expected to receive a single React element child.");return L}},Ke.Component=_,Ke.Fragment=n,Ke.Profiler=s,Ke.PureComponent=j,Ke.StrictMode=r,Ke.Suspense=f,Ke.__SECRET_INT
vendor: 9,277 bytes, lines 9-33
9ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Z,Ke.act=R,Ke.cloneElement=function(L,G,ge){if(L==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+L+".");var ue=k({},L.props),de=L.key,ee=L.ref,ye=L._owner;if(G!=null){if(G.ref!==void 0&&(ee=G.ref,ye=D.current),G.key!==void 0&&(de=""+G.key),L.type&&L.type.defaultProps)var je=L.type.defaultProps;for(be in G)P.call(G,be)&&!M.hasOwnProperty(be)&&(ue[be]=G[be]===void 0&&je!==void 0?je[be]:G[be])}var be=arguments.length-2;if(be===1)ue.children=ge;else if(1<be){je=Array(be);for(var ht=0;ht<be;ht++)je[ht]=arguments[ht+2];ue.children=je}return{$$typeof:t,type:L.type,key:de,ref:ee,props:ue,_owner:ye}},Ke.createContext=function(L){return L={$$typeof:l,_currentValue:L,_currentValue2:L,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},L.Provider={$$typeof:o,_context:L},L.Consumer=L},Ke.createElement=O,Ke.createFactory=function(L){var G=O.bind(null,L);return G.type=L,G},Ke.createRef=function(){return{current:null}},Ke.forwardRef=function(L){return{$$typeof:c,render:L}},Ke.isValidElement=V,Ke.lazy=function(L){return{$$typeof:p,_payload:{_status:-1,_result:L},_init:re}},Ke.memo=function(L,G){return{$$typeof:h,type:L,compare:G===void 0?null:G}},Ke.startTransition=function(L){var G=Y.transition;Y.transition={};try{L()}finally{Y.transition=G}},Ke.unstable_act=R,Ke.useCallback=function(L,G){return J.current.useCallback(L,G)},Ke.useContext=function(L){return J.current.useContext(L)},Ke.useDebugValue=function(){},Ke.useDeferredValue=function(L){return J.current.useDeferredValue(L)},Ke.useEffect=function(L,G){return J.current.useEffect(L,G)},Ke.useId=function(){return J.current.useId()},Ke.useImperativeHandle=function(L,G,ge){return J.current.useImperativeHandle(L,G,ge)},Ke.useInsertionEffect=function(L,G){return J.current.useInsertionEffect(L,G)},Ke.useLayoutEffect=function(L,G){return J.current.useLayoutEffect(L,G)},Ke.useMemo=function(L,G){return J.current.useMemo(L,G)},Ke.useReducer=function(L,G,ge){return J.current.useReducer(L,G,ge)},Ke.useRef=function(L){return J.current.useRef(L)},Ke.useState=function(L){return J.current.useState(L)},Ke.useSyncExternalStore=function(L,G,ge){return J.current.useSyncExternalStore(L,G,ge)},Ke.useTransition=function(){return J.current.useTransition()},Ke.version="18.3.1",Ke}var Bb;function bv(){return Bb||(Bb=1,Zg.exports=WA()),Zg.exports}/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var Ub;function HA(){if(Ub)return bu;Ub=1;var t=bv(),e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function l(c,f,h){var p,g={},v=null,x=null;h!==void 0&&(v=""+h),f.key!==void 0&&(v=""+f.key),f.ref!==void 0&&(x=f.ref);for(p in f)r.call(f,p)&&!o.hasOwnProperty(p)&&(g[p]=f[p]);if(c&&c.defaultProps)for(p in f=c.defaultProps,f)g[p]===void 0&&(g[p]=f[p]);return{$$typeof:e,type:c,key:v,ref:x,props:g,_owner:s.current}}return bu.Fragment=n,bu.jsx=l,bu.jsxs=l,bu}var zb;function qA(){return zb||(zb=1,Qg.exports=HA()),Qg.exports}var u=qA(),S=bv();const GA=wv(S),Gp=$A({__proto__:null,default:GA},[S]);var uh={},ey={exports:{}},Cr={},ty={exports:{}},ny={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var Vb;function YA(){return Vb||(Vb=1,(function(t){function e(Y,Z){var R=Y.length;Y.push(Z);e:for(;0<R;){var L=R-1>>>1,G=Y[L];if(0<s(G,Z))Y[L]=Z,Y[R]=G,R=L;else break e}}function n(Y){return Y.length===0?null:Y[0]}function r(Y){if(Y.length===0)return null;var Z=Y[0],R=Y.pop();if(R!==Z){Y[0]=R;e:for(var L=0,G=Y.length,ge=G>>>1;L<ge;){var ue=2*(L+1)-1,de=Y[ue],ee=ue+1,ye=Y[ee];if(0>s(de,R))ee<G&&0>s(ye,de)?(Y[L]=ye,Y[ee]=R,L=ee):(Y[L]=de,Y[ue]=R,L=ue);else if(ee<G&&0>s(ye,R))Y[L]=ye,Y[ee]=R,L=ee;else break e}}return Z}function s(Y,Z){var R=Y.sortIndex-Z.sortIndex;return R!==0?R:Y.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var l=Date,c=l.now();t.unstable_now=function(){return l.now()-c}}var f=[],h=[],p=1,g=null,v=3,x=!1,k=!1,b=!1,_=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(Y){for(var Z=n(h);Z!==null;){if(Z.callback===null)r(h);else if(Z.startTime<=Y)r(h),Z.sortIndex=Z.expirationTime,e(f,Z);else break;Z=n(h)}}function N(Y){if(b=!1,T(Y),!k)if(n(f)!==null)k=!0,re(P);else{var Z=n(h);Z!==null&&J(N,Z.startTime-Y)}}function P(Y,Z){k=!1,b&&(b=!1,C(O),O=-1),x=!0;var R=v;try{for(T(Z),g=n(f);g!==null&&(!(g.expirationTime>Z)||Y&&!ne());){var L=g.callback;if(typeof L=="function"){g.callback=null,v=g.priorityLevel;var G=L(g.expirationTime<=Z);Z=t.unstable_now(),typeof G=="function"?g.callback=G:g===n(f)&&r(f),T(Z)}else r(f);g=n(f)}if(g!==null)var ge=!0;else{var ue=n(h);ue!==null&&J(N,ue.startTime-Z),ge=!1}return ge}finally{g=null,v=R,x=!1}}var D=!1,M=null,O=-1,z=5,V=-1;function ne(){return!(t.unstable_now()-V<z)}function K(){if(M!==null){var Y=t.unstable_now();V=Y;var Z=!0;try{Z=M(!0,Y)}finally{Z?ie():(D=!1,M=null)}}else D=!1}var ie;if(typeof j=="function")ie=function(){j(K)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,me=ae.port2;ae.port1.onmessage=K,ie=function(){me.postMessage(null)}}else ie=function(){_(K,0)};function re(Y){M=Y,D||(D=!0,ie())}function J(Y,Z){O=_(function(){Y(t.unstable_now())},Z)}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(Y){Y.callback=null},t.unstable_continueExecution=function(){k||x||(k=!0,re(P))},t.unstable_forceFrameRate=function(Y){0>Y||125<Y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<Y?Math.floor(1e3/Y):5},t.unstable_getCurrentPriorityLevel=function(){return v},t.unstable_getFirstCallbackNode=function(){return n(f)},t.unstable_next=function(Y){switch(v){case 1:case 2:case 3:var Z=3;break;default:Z=v}var R=v;v=Z;try{return Y()}finally{v=R}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(Y,Z){switch(Y){case 1:case 2:case 3:case 4:case 5:break;default:Y=3}var R=v;v=Y;try{return Z()}finally{v=R}},t.unstable_scheduleCallback=function(Y,Z,R){var L=t.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?L+R:L):R=L,Y){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=R+G,Y={id:p++,callback:Z,priorityLevel:Y,startTime:R,expirationTime:G,sortIndex:-1},R>L?(Y.sortIndex=R,e(h,Y),n(f)===null&&Y===n(h)&&(b?(C(O),O=-1):b=!0,J(N,R-L))):(Y.sortIndex=G,e(f,Y),k||x||(k=!0,re(P))),Y},t.unstable_shouldYield=ne,t.unstable_wrapCallback=function(Y){var Z=v;return function(){var R=v;v=Z;try{return Y.apply(this,arguments)}finally{v=R}}}})(ny)),ny}var $b;function KA(){return $b||($b=1,ty.exports=YA()),ty.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 Wb;function JA(){if(Wb)return Cr;Wb=1;var t=bv(),e=KA();function n(i){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+i,d=1;d<arguments.length;d++)a+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+i+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,s={};function o(i,a){l(i,a),l(i+"Capture",a)}function l(i,a){for(s[i]=a,i=0;i<a.length;i++)r.add(a[i])}var c=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,h=/^[: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]*$/,p={},g={};function v(i){return f.call(g,i)?!0:f.call(p,i)?!1:h.test(i)?g[i]=!0:(p[i]=!0,!1)}function x(i,a,d,m){if(d!==null&&d.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return m?!1:d!==null?!d.acceptsBooleans:(i=i.toLowerCase().slice(0,5),i!=="data-"&&i!=="aria-");default:return!1}}function k(i,a,d,m){if(a===null||typeof a>"u"||x(i,a,d,m))return!0;
vendor: 13,597 bytes, lines 33-37
33if(m)return!1;if(d!==null)switch(d.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function b(i,a,d,m,y,w,E){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=m,this.attributeNamespace=y,this.mustUseProperty=d,this.propertyName=i,this.type=a,this.sanitizeURL=w,this.removeEmptyString=E}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(i){_[i]=new b(i,0,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var a=i[0];_[a]=new b(a,1,!1,i[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){_[i]=new b(i,2,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){_[i]=new b(i,2,!1,i,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(i){_[i]=new b(i,3,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){_[i]=new b(i,3,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){_[i]=new b(i,4,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){_[i]=new b(i,6,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){_[i]=new b(i,5,!1,i.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function j(i){return i[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(i){var a=i.replace(C,j);_[a]=new b(a,1,!1,i,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(i){var a=i.replace(C,j);_[a]=new b(a,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var a=i.replace(C,j);_[a]=new b(a,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){_[i]=new b(i,1,!1,i.toLowerCase(),null,!1,!1)}),_.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){_[i]=new b(i,1,!1,i.toLowerCase(),null,!0,!0)});function T(i,a,d,m){var y=_.hasOwnProperty(a)?_[a]:null;(y!==null?y.type!==0:m||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(k(a,d,y,m)&&(d=null),m||y===null?v(a)&&(d===null?i.removeAttribute(a):i.setAttribute(a,""+d)):y.mustUseProperty?i[y.propertyName]=d===null?y.type===3?!1:"":d:(a=y.attributeName,m=y.attributeNamespace,d===null?i.removeAttribute(a):(y=y.type,d=y===3||y===4&&d===!0?"":""+d,m?i.setAttributeNS(m,a,d):i.setAttribute(a,d))))}var N=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,P=Symbol.for("react.element"),D=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),V=Symbol.for("react.provider"),ne=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),ie=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),me=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),J=Symbol.for("react.offscreen"),Y=Symbol.iterator;function Z(i){return i===null||typeof i!="object"?null:(i=Y&&i[Y]||i["@@iterator"],typeof i=="function"?i:null)}var R=Object.assign,L;function G(i){if(L===void 0)try{throw Error()}catch(d){var a=d.stack.trim().match(/\n( *(at )?)/);L=a&&a[1]||""}return`
34`+L+i}var ge=!1;function ue(i,a){if(!i||ge)return"";ge=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(a)if(a=function(){throw Error()},Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(q){var m=q}Reflect.construct(i,[],a)}else{try{a.call()}catch(q){m=q}i.call(a.prototype)}else{try{throw Error()}catch(q){m=q}i()}}catch(q){if(q&&m&&typeof q.stack=="string"){for(var y=q.stack.split(`
35`),w=m.stack.split(`
36`),E=y.length-1,A=w.length-1;1<=E&&0<=A&&y[E]!==w[A];)A--;for(;1<=E&&0<=A;E--,A--)if(y[E]!==w[A]){if(E!==1||A!==1)do if(E--,A--,0>A||y[E]!==w[A]){var I=`
37`+y[E].replace(" at new "," at ");return i.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",i.displayName)),I}while(1<=E&&0<=A);break}}}finally{ge=!1,Error.prepareStackTrace=d}return(i=i?i.displayName||i.name:"")?G(i):""}function de(i){switch(i.tag){case 5:return G(i.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return i=ue(i.type,!1),i;case 11:return i=ue(i.type.render,!1),i;case 1:return i=ue(i.type,!0),i;default:return""}}function ee(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case M:return"Fragment";case D:return"Portal";case z:return"Profiler";case O:return"StrictMode";case ie:return"Suspense";case ae:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case ne:return(i.displayName||"Context")+".Consumer";case V:return(i._context.displayName||"Context")+".Provider";case K:var a=i.render;return i=i.displayName,i||(i=a.displayName||a.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case me:return a=i.displayName||null,a!==null?a:ee(i.type)||"Memo";case re:a=i._payload,i=i._init;try{return ee(i(a))}catch{}}return null}function ye(i){var a=i.type;switch(i.tag){case 24:return"Cache";case 9:return(a.displayName||"Context")+".Consumer";case 10:return(a._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return i=a.render,i=i.displayName||i.name||"",a.displayName||(i!==""?"ForwardRef("+i+")":"ForwardRef");case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ee(a);case 8:return a===O?"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 a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a}return null}function je(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function be(i){var a=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function ht(i){var a=be(i)?"checked":"value",d=Object.getOwnPropertyDescriptor(i.constructor.prototype,a),m=""+i[a];if(!i.hasOwnProperty(a)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var y=d.get,w=d.set;return Object.defineProperty(i,a,{configurable:!0,get:function(){return y.call(this)},set:function(E){m=""+E,w.call(this,E)}}),Object.defineProperty(i,a,{enumerable:d.enumerable}),{getValue:function(){return m},setValue:function(E){m=""+E},stopTracking:function(){i._valueTracker=null,delete i[a]}}}}function pt(i){i._valueTracker||(i._valueTracker=ht(i))}function Qe(i){if(!i)return!1;var a=i._valueTracker;if(!a)return!0;var d=a.getValue(),m="";return i&&(m=be(i)?i.checked?"true":"false":i.value),i=m,i!==d?(a.setValue(i),!0):!1}function Fe(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}function le(i,a){var d=a.checked;return R({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:d??i._wrapperState.initialChecked})}function xe(i,a){var d=a.defaultValue==null?"":a.defaultValue,m=a.checked!=null?a.checked:a.defaultChecked;d=je(a.value!=null?a.value:d),i._wrapperState={initialChecked:m,initialValue:d,controlled:a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null}}function he(i,a){a=a.checked,a!=null&&T(i,"checked",a,!1)}function W(i,a){he(i,a);var d=je(a.value),m=a.type;if(d!=null)m==="number"?(d===0&&i.value===""||i.value!=d)&&(i.value=""+d):i.value!==""+d&&(i.value=""+d);else if(m==="submit"||m==="reset"){i.removeAttribute("value");return}a.hasOwnProperty("value")?ze(i,a.type,d):a.hasOwnProperty("defaultValue")&&ze(i,a.type,je(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(i.defaultChecked=!!a.defaultChecked)}function Ge(i,a,d){if(a.hasOwnProperty("value")||a.hasOwnProperty("defaultValue")){var m=a.type;if(!(m!=="submit"&&m!=="reset"||a.value!==void 0&&a.value!==null))return;a=""+i._wrapperState.initialValue,d||a===i.value||(i.value=a),i.defaultValue=a}d=i.name,d!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,d!==""&&(i.name=d)}function ze(i,a,d){(a!=="number"||Fe(i.ownerDocument)!==i)&&(d==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+d&&(i.defaultValue=""+d))}var dt=Array.isArray;function tt(i,a,d,m){if(i=i.options,a){a={};for(var y=0;y<d.length;y++)a["$"+d[y]]=!0;for(d=0;d<i.length;d++)y=a.hasOwnProperty("$"+i[d].value),i[d].selected!==y&&(i[d].selected=y),y&&m&&(i[d].defaultSelected=!0)}else{for(d=""+je(d),a=null,y=0;y<i.length;y++){if(i[y].value===d){i[y].selected=!0,m&&(i[y].defaultSelected=!0);return}a!==null||i[y].disabled||(a=i[y])}a!==null&&(a.selected=!0)}}function ft(i,a){if(a.dangerouslySetInnerHTML!=null)throw Error(n(91));return R({},a,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function un(i,a){var d=a.value;if(d==null){if(d=a.children,a=a.defaultValue,d!=null){if(a!=null)throw Error(n(92));if(dt(d)){if(1<d.length)throw Error(n(93));d=d[0]}a=d}a==null&&(a=""),d=a}i._wrapperState={initialValue:je(d)}}function Zt(i,a){var d=je(a.value),m=je(a.defaultValue);d!=null&&(d=""+d,d!==i.value&&(i.value=d),a.defaultValue==null&&i.defaultValue!==d&&(i.defaultValue=d)),m!=null&&(i.defaultValue=""+m)}function mt(i){var a=i.textContent;a===i._wrapperState.initialValue&&a!==""&&a!==null&&(i.value=a)}function en(i){switch(i){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 at(i,a){return i==null||i==="http://www.w3.org/1999/xhtml"?en(a):i==="http://www.w3.org/2000/svg"&&a==="foreignObject"?"http://www.w3.org/1999/xhtml":i}var dn,wn=(function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,d,m,y){MSApp.execUnsafeLocalFunction(function(){return i(a,d,m,y)})}:i})(function(i,a){if(i.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in i)i.innerHTML=a;else{for(dn=dn||document.createElement("div"),dn.innerHTML="<svg>"+a.valueOf().toString()+"</svg>",a=dn.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;a.firstChild;)i.appendChild(a.firstChild)}});function Mn(i,a){if(a){var d=i.firstChild;if(d&&d===i.lastChild&&d.nodeType===3){d.nodeValue=a;return}}i.textContent=a}var Ir={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},Pt=["Webkit","ms","Moz","O"];Object.keys(Ir).forEach(function(i){Pt.forEach(function(a){a=a+i.charAt(0).toUpperCase()+i.substring(1),Ir[a]=Ir[i]})});function rr(i,a,d){return a==null||typeof a=="boolean"||a===""?"":d||typeof a!="number"||a===0||Ir.hasOwnProperty(i)&&Ir[i]?(""+a).trim():a+"px"}function $n(i,a){i=i.style;for(var d in a)if(a.hasOwnProperty(d)){var m=d.indexOf("--")===0,y=rr(d,a[d],m);d==="float"&&(d="cssFloat"),m?i.setProperty(d,y):i[d]=y}}var zs=R({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 Vs(i,a){if(a){if(zs[i]&&(a.children!=null||a.dangerouslySetInnerHTML!=null))throw Error(n(137,i));if(a.dangerouslySetInnerHTML!=null){if(a.children!=null)throw Error(n(60));if(typeof a.dangerouslySetInnerHTML!="object"||!("__html"in a.dangerouslySetInnerHTML))throw Error(n(61))}if(a.style!=null&&typeof a.style!="object")throw Error(n(62))}}function ns(i,a){if(i.indexOf("-")===-1)return typeof a.is=="str
37ing";switch(i){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 Cs=null;function $e(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var ks=null,bn=null,_n=null;function gr(i){if(i=ou(i)){if(typeof ks!="function")throw Error(n(280));var a=i.stateNode;a&&(a=Cf(a),ks(i.stateNode,i.type,a))}}function $s(i){bn?_n?_n.push(i):_n=[i]:bn=i}function hi(){if(bn){var i=bn,a=_n;if(_n=bn=null,gr(i),a)for(i=0;i<a.length;i++)gr(a[i])}}function rs(i,a){return i(a)}function $i(){}var Ue=!1;function Pe(i,a,d){if(Ue)return i(a,d);Ue=!0;try{return rs(i,a,d)}finally{Ue=!1,(bn!==null||_n!==null)&&($i(),hi())}}function Ze(i,a){var d=i.stateNode;if(d===null)return null;var m=Cf(d);if(m===null)return null;d=m[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(m=!m.disabled)||(i=i.type,m=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!m;break e;default:i=!1}if(i)return null;if(d&&typeof d!="function")throw Error(n(231,a,typeof d));return d}var ce=!1;if(c)try{var De={};Object.defineProperty(De,"passive",{get:function(){ce=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch{ce=!1}function Ne(i,a,d,m,y,w,E,A,I){var q=Array.prototype.slice.call(arguments,3);try{a.apply(d,q)}catch(Q){this.onError(Q)}}var Ie=!1,Mt=null,We=!1,Et=null,Sn={onError:function(i){Ie=!0,Mt=i}};function Rt(i,a,d,m,y,w,E,A,I){Ie=!1,Mt=null,Ne.apply(Sn,arguments)}function St(i,a,d,m,y,w,E,A,I){if(Rt.apply(this,arguments),Ie){if(Ie){var q=Mt;Ie=!1,Mt=null}else throw Error(n(198));We||(We=!0,Et=q)}}function nt(i){var a=i,d=i;if(i.alternate)for(;a.return;)a=a.return;else{i=a;do a=i,(a.flags&4098)!==0&&(d=a.return),i=a.return;while(i)}return a.tag===3?d:null}function yr(i){if(i.tag===13){var a=i.memoizedState;if(a===null&&(i=i.alternate,i!==null&&(a=i.memoizedState)),a!==null)return a.dehydrated}return null}function Ct(i){if(nt(i)!==i)throw Error(n(188))}function sr(i){var a=i.alternate;if(!a){if(a=nt(i),a===null)throw Error(n(188));return a!==i?null:i}for(var d=i,m=a;;){var y=d.return;if(y===null)break;var w=y.alternate;if(w===null){if(m=y.return,m!==null){d=m;continue}break}if(y.child===w.child){for(w=y.child;w;){if(w===d)return Ct(y),i;if(w===m)return Ct(y),a;w=w.sibling}throw Error(n(188))}if(d.return!==m.return)d=y,m=w;else{for(var E=!1,A=y.child;A;){if(A===d){E=!0,d=y,m=w;break}if(A===m){E=!0,m=y,d=w;break}A=A.sibling}if(!E){for(A=w.child;A;){if(A===d){E=!0,d=w,m=y;break}if(A===m){E=!0,m=w,d=y;break}A=A.sibling}if(!E)throw Error(n(189))}}if(d.alternate!==m)throw Error(n(190))}if(d.tag!==3)throw Error(n(188));return d.stateNode.current===d?i:a}function Fr(i){return i=sr(i),i!==null?tn(i):null}function tn(i){if(i.tag===5||i.tag===6)return i;for(i=i.child;i!==null;){var a=tn(i);if(a!==null)return a;i=i.sibling}return null}var nn=e.unstable_scheduleCallback,fn=e.unstable_cancelCallback,pi=e.unstable_shouldYield,cl=e.unstable_requestPaint,Ye=e.unstable_now,Gt=e.unstable_getCurrentPriorityLevel,vr=e.unstable_ImmediatePriority,ul=e.unstable_UserBlockingPriority,Jo=e.unstable_NormalPriority,Xo=e.unstable_LowPriority,Br=e.unstable_IdlePriority,Ws=null,ir=null;function Hs(i){if(ir&&typeof ir.onCommitFiberRoot=="function")try{ir.onCommitFiberRoot(Ws,i,void 0,(i.current.flags&128)===128)}catch{}}var Ts=Math.clz32?Math.clz32:iR,rR=Math.log,sR=Math.LN2;function iR(i){return i>>>=0,i===0?32:31-(rR(i)/sR|0)|0}var of=64,af=4194304;function Vc(i){switch(i&-i){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 i&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return i&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return i}}function lf(i,a){var d=i.pendingLanes;if(d===0)return 0;var m=0,y=i.suspendedLanes,w=i.pingedLanes,E=d&268435455;if(E!==0){var A=E&~y;A!==0?m=Vc(A):(w&=E,w!==0&&(m=Vc(w)))}else E=d&~y,E!==0?m=Vc(E):w!==0&&(m=Vc(w));if(m===0)return 0;if(a!==0&&a!==m&&(a&y)===0&&(y=m&-m,w=a&-a,y>=w||y===16&&(w&4194240)!==0))return a;
vendor: 29,875 bytes, lines 37-38
37if((m&4)!==0&&(m|=d&16),a=i.entangledLanes,a!==0)for(i=i.entanglements,a&=m;0<a;)d=31-Ts(a),y=1<<d,m|=i[d],a&=~y;return m}function oR(i,a){switch(i){case 1:case 2:case 4:return a+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 a+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 aR(i,a){for(var d=i.suspendedLanes,m=i.pingedLanes,y=i.expirationTimes,w=i.pendingLanes;0<w;){var E=31-Ts(w),A=1<<E,I=y[E];I===-1?((A&d)===0||(A&m)!==0)&&(y[E]=oR(A,a)):I<=a&&(i.expiredLanes|=A),w&=~A}}function vm(i){return i=i.pendingLanes&-1073741825,i!==0?i:i&1073741824?1073741824:0}function p1(){var i=of;return of<<=1,(of&4194240)===0&&(of=64),i}function xm(i){for(var a=[],d=0;31>d;d++)a.push(i);return a}function $c(i,a,d){i.pendingLanes|=a,a!==536870912&&(i.suspendedLanes=0,i.pingedLanes=0),i=i.eventTimes,a=31-Ts(a),i[a]=d}function lR(i,a){var d=i.pendingLanes&~a;i.pendingLanes=a,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=a,i.mutableReadLanes&=a,i.entangledLanes&=a,a=i.entanglements;var m=i.eventTimes;for(i=i.expirationTimes;0<d;){var y=31-Ts(d),w=1<<y;a[y]=0,m[y]=-1,i[y]=-1,d&=~w}}function wm(i,a){var d=i.entangledLanes|=a;for(i=i.entanglements;d;){var m=31-Ts(d),y=1<<m;y&a|i[m]&a&&(i[m]|=a),d&=~y}}var xt=0;function m1(i){return i&=-i,1<i?4<i?(i&268435455)!==0?16:536870912:4:1}var g1,bm,y1,v1,x1,_m=!1,cf=[],Wi=null,Hi=null,qi=null,Wc=new Map,Hc=new Map,Gi=[],cR="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 w1(i,a){switch(i){case"focusin":case"focusout":Wi=null;break;case"dragenter":case"dragleave":Hi=null;break;case"mouseover":case"mouseout":qi=null;break;case"pointerover":case"pointerout":Wc.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hc.delete(a.pointerId)}}function qc(i,a,d,m,y,w){return i===null||i.nativeEvent!==w?(i={blockedOn:a,domEventName:d,eventSystemFlags:m,nativeEvent:w,targetContainers:[y]},a!==null&&(a=ou(a),a!==null&&bm(a)),i):(i.eventSystemFlags|=m,a=i.targetContainers,y!==null&&a.indexOf(y)===-1&&a.push(y),i)}function uR(i,a,d,m,y){switch(a){case"focusin":return Wi=qc(Wi,i,a,d,m,y),!0;case"dragenter":return Hi=qc(Hi,i,a,d,m,y),!0;case"mouseover":return qi=qc(qi,i,a,d,m,y),!0;case"pointerover":var w=y.pointerId;return Wc.set(w,qc(Wc.get(w)||null,i,a,d,m,y)),!0;case"gotpointercapture":return w=y.pointerId,Hc.set(w,qc(Hc.get(w)||null,i,a,d,m,y)),!0}return!1}function b1(i){var a=Qo(i.target);if(a!==null){var d=nt(a);if(d!==null){if(a=d.tag,a===13){if(a=yr(d),a!==null){i.blockedOn=a,x1(i.priority,function(){y1(d)});return}}else if(a===3&&d.stateNode.current.memoizedState.isDehydrated){i.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}i.blockedOn=null}function uf(i){if(i.blockedOn!==null)return!1;for(var a=i.targetContainers;0<a.length;){var d=Cm(i.domEventName,i.eventSystemFlags,a[0],i.nativeEvent);if(d===null){d=i.nativeEvent;var m=new d.constructor(d.type,d);Cs=m,d.target.dispatchEvent(m),Cs=null}else return a=ou(d),a!==null&&bm(a),i.blockedOn=d,!1;a.shift()}return!0}function _1(i,a,d){uf(i)&&d.delete(a)}function dR(){_m=!1,Wi!==null&&uf(Wi)&&(Wi=null),Hi!==null&&uf(Hi)&&(Hi=null),qi!==null&&uf(qi)&&(qi=null),Wc.forEach(_1),Hc.forEach(_1)}function Gc(i,a){i.blockedOn===a&&(i.blockedOn=null,_m||(_m=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,dR)))}function Yc(i){function a(y){return Gc(y,i)}if(0<cf.length){Gc(cf[0],i);for(var d=1;d<cf.length;d++){var m=cf[d];m.blockedOn===i&&(m.blockedOn=null)}}for(Wi!==null&&Gc(Wi,i),Hi!==null&&Gc(Hi,i),qi!==null&&Gc(qi,i),Wc.forEach(a),Hc.forEach(a),d=0;d<Gi.length;d++)m=Gi[d],m.blockedOn===i&&(m.blockedOn=null);for(;0<Gi.length&&(d=Gi[0],d.blockedOn===null);)b1(d),d.blockedOn===null&&Gi.shift()}var dl=N.ReactCurrentBatchConfig,df=!0;function fR(i,a,d,m){var y=xt,w=dl.transition;dl.transition=null;try{xt=1,Sm(i,a,d,m)}finally{xt=y,dl.transition=w}}function hR(i,a,d,m){var y=xt,w=dl.transition;dl.transition=null;try{xt=4,Sm(i,a,d,m)}finally{xt=y,dl.transition=w}}function Sm(i,a,d,m){if(df){var y=Cm(i,a,d,m);if(y===null)zm(i,a,m,ff,d),w1(i,m);else if(uR(y,i,a,d,m))m.stopPropagation();else if(w1(i,m),a&4&&-1<cR.indexOf(i)){for(;y!==null;){var w=ou(y);if(w!==null&&g1(w),w=Cm(i,a,d,m),w===null&&zm(i,a,m,ff,d),w===y)break;y=w}y!==null&&m.stopPropagation()}else zm(i,a,m,null,d)}}var ff=null;function Cm(i,a,d,m){if(ff=null,i=$e(m),i=Qo(i),i!==null)if(a=nt(i),a===null)i=null;else if(d=a.tag,d===13){if(i=yr(a),i!==null)return i;i=null}else if(d===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;i=null}else a!==i&&(i=null);return ff=i,null}function S1(i){switch(i){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(Gt()){case vr:return 1;case ul:return 4;case Jo:case Xo:return 16;case Br:return 536870912;default:return 16}default:return 16}}var Yi=null,km=null,hf=null;function C1(){if(hf)return hf;var i,a=km,d=a.length,m,y="value"in Yi?Yi.value:Yi.textContent,w=y.length;for(i=0;i<d&&a[i]===y[i];i++);var E=d-i;for(m=1;m<=E&&a[d-m]===y[w-m];m++);return hf=y.slice(i,1<m?1-m:void 0)}function pf(i){var a=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&a===13&&(i=13)):i=a,i===10&&(i=13),32<=i||i===13?i:0}function mf(){return!0}function k1(){return!1}function Ur(i){function a(d,m,y,w,E){this._reactName=d,this._targetInst=y,this.type=m,this.nativeEvent=w,this.target=E,this.currentTarget=null;for(var A in i)i.hasOwnProperty(A)&&(d=i[A],this[A]=d?d(w):w[A]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?mf:k1,this.isPropagationStopped=k1,this}return R(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=mf)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=mf)},persist:function(){},isPersistent:mf}),a}var fl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tm=Ur(fl),Kc=R({},fl,{view:0,detail:0}),pR=Ur(Kc),Em,jm,Jc,gf=R({},Kc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pm,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==Jc&&(Jc&&i.type==="mousemove"?(Em=i.screenX-Jc.screenX,jm=i.screenY-Jc.screenY):jm=Em=0,Jc=i),Em)},movementY:function(i){return"movementY"in i?i.movementY:jm}}),T1=Ur(gf),mR=R({},gf,{dataTransfer:0}),gR=Ur(mR),yR=R({},Kc,{relatedTarget:0}),Nm=Ur(yR),vR=R({},fl,{animationName:0,elapsedTime:0,pseudoElement:0}),xR=Ur(vR),wR=R({},fl,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),bR=Ur(wR),_R=R({},fl,{data:0}),E1=Ur(_R),SR={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},CR={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"},kR={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function TR(i){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(i):(i=kR[i])?!!a[i]:!1}function Pm(){return TR}var ER=R({},Kc,{key:function(i){if(i.key){var a=SR[i.key]||i.key;if(a!=="Unidentified")return a}return i.type==="keypress"?(i=pf(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?CR[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pm,charCode:function(i){return i.type==="keypress"?pf(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?pf(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),jR=Ur(ER),NR=R({},gf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),j1=Ur(NR),PR=R({},Kc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pm}),RR=Ur(PR),AR=R({},fl,{propertyName:0,elapsedTime:0,pseudoElement:0}),OR=Ur(AR),MR=R({},gf,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),LR=Ur(MR),DR=[9,13,27,32],Rm=c&&"CompositionEvent"in window,Xc=null;c&&"documentMode"in document&&(Xc=document.documentMode);var IR=c&&"TextEvent"in window&&!Xc,N1=c&&(!Rm||Xc&&8<Xc&&11>=Xc),P1=" ",R1=!1;function A1(i,a){switch(i){case"keyup":return DR.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function O1(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var hl=!1;function FR(i,a){switch(i){case"compositionend":return O1(a);case"keypress":return a.which!==32?null:(R1=!0,P1);case"textInput":return i=a.data,i===P1&&R1?null:i;default:return null}}function BR(i,a){if(hl)return i==="compositionend"||!Rm&&A1(i,a)?(i=C1(),hf=km=Yi=null,hl=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return N1&&a.locale!=="ko"?null:a.data;default:return null}}var UR={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 M1(i){var a=i&&i.nodeName&&i.nodeName.toLowerCase();return a==="input"?!!UR[i.type]:a==="textarea"}function L1(i,a,d,m){$s(m),a=bf(a,"onChange"),0<a.length&&(d=new Tm("onChange","change",null,d,m),i.push({event:d,listeners:a}))}var Qc=null,Zc=null;function zR(i){Z1(i,0)}function yf(i){var a=vl(i);if(Qe(a))return i}function VR(i,a){if(i==="change")return a}var D1=!1;if(c){var Am;if(c){var Om="oninput"in document;if(!Om){var I1=document.createElement("div");I1.setAttribute("oninput","return;"),Om=typeof I1.oninput=="function"}Am=Om}else Am=!1;D1=Am&&(!document.documentMode||9<document.documentMode)}function F1(){Qc&&(Qc.detachEvent("onpropertychange",B1),Zc=Qc=null)}function B1(i){if(i.propertyName==="value"&&yf(Zc)){var a=[];L1(a,Zc,i,$e(i)),Pe(zR,a)}}function $R(i,a,d){i==="focusin"?(F1(),Qc=a,Zc=d,Qc.attachEvent("onpropertychange",B1)):i==="focusout"&&F1()}function WR(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return yf(Zc)}function HR(i,a){if(i==="click")return yf(a)}function qR(i,a){if(i==="input"||i==="change")return yf(a)}function GR(i,a){return i===a&&(i!==0||1/i===1/a)||i!==i&&a!==a}var Es=typeof Object.is=="function"?Object.is:GR;function eu(i,a){if(Es(i,a))return!0;if(typeof i!="object"||i===null||typeof a!="object"||a===null)return!1;var d=Object.keys(i),m=Object.keys(a);if(d.length!==m.length)return!1;for(m=0;m<d.length;m++){var y=d[m];if(!f.call(a,y)||!Es(i[y],a[y]))return!1}return!0}function U1(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function z1(i,a){var d=U1(i);i=0;for(var m;d;){if(d.nodeType===3){if(m=i+d.textContent.length,i<=a&&m>=a)return{node:d,offset:a-i};i=m}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=U1(d)}}function V1(i,a){return i&&a?i===a?!0:i&&i.nodeType===3?!1:a&&a.nodeType===3?V1(i,a.parentNode):"contains"in i?i.contains(a):i.compareDocumentPosition?!!(i.compareDocumentPosition(a)&16):!1:!1}function $1(){for(var i=window,a=Fe();a instanceof i.HTMLIFrameElement;){try{var d=typeof a.contentWindow.location.href=="string"}catch{d=!1}if(d)i=a.contentWindow;else break;a=Fe(i.document)}return a}function Mm(i){var a=i&&i.nodeName&&i.nodeName.toLowerCase();return a&&(a==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||a==="textarea"||i.contentEditable==="true")}function YR(i){var a=$1(),d=i.focusedElem,m=i.selectionRange;if(a!==d&&d&&d.ownerDocument&&V1(d.ownerDocument.documentElement,d)){if(m!==null&&Mm(d)){if(a=m.start,i=m.end,i===void 0&&(i=a),"selectionStart"in d)d.selectionStart=a,d.selectionEnd=Math.min(i,d.value.length);else if(i=(a=d.ownerDocument||document)&&a.defaultView||window,i.getSelection){i=i.getSelection();var y=d.textContent.length,w=Math.min(m.start,y);m=m.end===void 0?w:Math.min(m.end,y),!i.extend&&w>m&&(y=m,m=w,w=y),y=z1(d,w);var E=z1(d,m);y&&E&&(i.rangeCount!==1||i.anchorNode!==y.node||i.anchorOffset!==y.offset||i.focusNode!==E.node||i.focusOffset!==E.offset)&&(a=a.createRange(),a.setStart(y.node,y.offset),i.removeAllRanges(),w>m?(i.addRange(a),i.extend(E.node,E.offset)):(a.setEnd(E.node,E.offset),i.addRange(a)))}}for(a=[],i=d;i=i.parentNode;)i.nodeType===1&&a.push({element:i,left:i.scrollLeft,top:i.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<a.length;d++)i=a[d],i.element.scrollLeft=i.left,i.element.scrollTop=i.top}}var KR=c&&"documentMode"in document&&11>=document.documentMode,pl=null,Lm=null,tu=null,Dm=!1;function W1(i,a,d){var m=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;Dm||pl==null||pl!==Fe(m)||(m=pl,"selectionStart"in m&&Mm(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),tu&&eu(tu,m)||(tu=m,m=bf(Lm,"onSelect"),0<m.length&&(a=new Tm("onSelect","select",null,a,d),i.push({event:a,listeners:m}),a.target=pl)))}function vf(i,a){var d={};return d[i.toLowerCase()]=a.toLowerCase(),d["Webkit"+i]="webkit"+a,d["Moz"+i]="moz"+a,d}var ml={animationend:vf("Animation","AnimationEnd"),animationiteration:vf("Animation","AnimationIteration"),animationstart:vf("Animation","AnimationStart"),transitionend:vf("Transition","TransitionEnd")},Im={},H1={};c&&(H1=document.createElement("div").style,"AnimationEvent"in window||(delete ml.animationend.animation,delete ml.animationiteration.animation,delete ml.animationstart.animation),"TransitionEvent"in window||delete ml.transitionend.transition);function xf(i){if(Im[i])return Im[i];if(!ml[i])return i;var a=ml[i],d;for(d in a)if(a.hasOwnProperty(d)&&d in H1)return Im[i]=a[d];return i}var q1=xf("animationend"),G1=xf("animationiteration"),Y1=xf("animationstart"),K1=xf("transitionend"),J1=new Map,X1="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 Ki(i,a){J1.set(i,a),o(a,[i])}for(var Fm=0;Fm<X1.length;Fm++){var Bm=X1[Fm],JR=Bm.toLowerCase(),XR=Bm[0].toUpperCase()+Bm.slice(1);Ki(JR,"on"+XR)}Ki(q1,"onAnimationEnd"),Ki(G1,"onAnimationIteration"),Ki(Y1,"onAnimationStart"),Ki("dblclick","onDoubleClick"),Ki("focusin","onFocus"),Ki("focusout","onBlur"),Ki(K1,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nu="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(" "),QR=new Set("cancel close invalid load scroll toggle".split(" ").concat(nu));function Q1(i,a,d){var m=i.type||"unknown-event";i.currentTarget=d,St(m,a,void 0,i),i.currentTarget=null}function Z1(i,a){a=(a&4)!==0;for(var d=0;d<i.length;d++){var m=i[d],y=m.event;m=m.listeners;e:{var w=void 0;if(a)for(var E=m.length-1;0<=E;E--){var A=m[E],I=A.instance,q=A.currentTarget;if(A=A.listener,I!==w&&y.isPropagationStopped())break e;Q1(y,A,q),w=I}else for(E=0;E<m.length;E++){if(A=m[E],I=A.instance,q=A.currentTarget,A=A.listener,I!==w&&y.isPropagationStopped())break e;Q1(y,A,q),w=I}}}if(We)throw i=Et,We=!1,Et=null,i}function jt(i,a){var d=a[Gm];d===void 0&&(d=a[Gm]=new Set);var m=i+"__bubble";d.has(m)||(ew(a,i,2,!1),d.add(m))}function Um(i,a,d){var m=0;a&&(m|=4),ew(d,i,m,a)}var wf="_reactListening"+Math.random().toString(36).slice(2);function ru(i){if(!i[wf]){i[wf]=!0,r.forEach(function(d){d!=="selectionchange"&&(QR.has(d)||Um(d,!1,i),Um(d,!0,i))});var a=i.nodeType===9?i:i.ownerDocument;a===null||a[wf]||(a[wf]=!0,Um("selectionchange",!1,a))}}function ew(i,a,d,m){switch(S1(a)){case 1:var y=fR;break;case 4:y=hR;break;default:y=Sm}d=y.bind(null,a,d,i),y=void 0,!ce||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(y=!0),m?y!==void 0?i.addEventListener(a,d,{capture:!0,passive:y}):i.addEventListener(a,d,!0):y!==void 0?i.addEventListener(a,d,{passive:y}):i.addEventListener(a,d,!1)}function zm(i,a,d,m,y){var w=m;if((a&1)===0&&(a&2)===0&&m!==null)e:for(;;){if(m===null)return;var E=m.tag;if(E===3||E===4){var A=m.stateNode.containerInfo;if(A===y||A.nodeType===8&&A.parentNode===y)break;if(E===4)for(E=m.return;E!==null;){var I=E.tag;if((I===3||I===4)&&(I=E.stateNode.containerInfo,I===y||I.nodeType===8&&I.parentNode===y))return;E=E.return}for(;A!==null;){if(E=Qo(A),E===null)return;if(I=E.tag,I===5||I===6){m=w=E;continue e}A=A.parentNode}}m=m.return}Pe(function(){var q=w,Q=$e(d),te=[];e:{var X=J1.get(i);if(X!==void 0){var pe=Tm,Se=i;switch(i){case"keypress":if(pf(d)===0)break e;case"keydown":case"keyup":pe=jR;break;case"focusin":Se="focus",pe=Nm;break;case"focusout":Se="blur",pe=Nm;break;case"beforeblur":case"afterblur":pe=Nm;break;case"click":if(d.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":pe=T1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":pe=gR;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":pe=RR;break;case q1:case G1:case Y1:pe=xR;break;case K1:pe=OR;break;case"scroll":pe=pR;break;case"wheel":pe=LR;break;case"copy":case"cut":case"paste":pe=bR;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":pe=j1}var Te=(a&4)!==0,Yt=!Te&&i==="scroll",$=Te?X!==null?X+"Capture":null:X;Te=[];for(var B=q,H;B!==null;){H=B;var se=H.stateNode;if(H.tag===5&&se!==null&&(H=se,$!==null&&(se=Ze(B,$),se!=null&&Te.push(su(B,se,H)))),Yt)break;B=B.return}0<Te.length&&(X=new pe(X,Se,null,d,Q),te.push({event:X,listeners:Te}))}}if((a&7)===0){e:{if(X=i==="mouseover"||i==="pointerover",pe=i==="mouseout"||i==="pointerout",X&&d!==Cs&&(Se=d.relatedTarget||d.fromElement)&&(Qo(Se)||Se[mi]))break e;if((pe||X)&&(X=Q.window===Q?Q:(X=Q.ownerDocument)?X.defaultView||X.parentWindow:window,pe?(Se=d.relatedTarget||d.toElement,pe=q,Se=Se?Qo(Se):null,Se!==null&&(Yt=nt(Se),Se!==Yt||Se.tag!==5&&Se.tag!==6)&&(Se=null)):(pe=null,Se=q),pe!==Se)){if(Te=T1,se="onMouseLeave",$="onMouseEnter",B="mouse",(i==="pointerout"||i==="pointerover")&&(Te=j1,se="onPointerLeave",$="onPointerEnter",B="pointer"),Yt=pe==null?X:vl(pe),H=Se==null?X:vl(Se),X=new Te(se,B+"leave",pe,d,Q),X.target=Yt,X.relatedTarget=H,se=null,Qo(Q)===q&&(Te=new Te($,B+"enter",Se,d,Q),Te.target=H,Te.relatedTarget=Yt,se=Te),Yt=se,pe&&Se)t:{for(Te=pe,$=Se,B=0,H=Te;H;H=gl(H))B++;for(H=0,se=$;se;se=gl(se))H++;for(;0<B-H;)Te=gl(Te),B--;for(;0<H-B;)$=gl($),H--;for(;B--;){if(Te===$||$!==null&&Te===$.alternate)break t;Te=gl(Te),$=gl($)}Te=null}else Te=null;pe!==null&&tw(te,X,pe,Te,!1),Se!==null&&Yt!==null&&tw(te,Yt,Se,Te,!0)}}e:{if(X=q?vl(q):window,pe=X.nodeName&&X.nodeName.toLowerCase(),pe==="select"||pe==="input"&&X.type==="file")var Ee=VR;else if(M1(X))if(D1)Ee=qR;else{Ee=WR;var Re=$R}else(pe=X.nodeName)&&pe.toLowerCase()==="input"&&(X.type==="checkbox"||X.type==="radio")&&(Ee=HR);if(Ee&&(Ee=Ee(i,q))){L1(te,Ee,d,Q);break e}Re&&Re(i,X,q),i==="focusout"&&(Re=X._wrapperState)&&Re.controlled&&X.type==="number"&&ze(X,"number",X.value)}switch(Re=q?vl(q):window,i){case"focusin":(M1(Re)||Re.contentEditable==="true")&&(pl=Re,Lm=q,tu=null);break;case"focusout":tu=Lm=pl=null;break;case"mousedown":Dm=!0;break;case"contextmenu":case"mouseup":case"dragend":Dm=!1,W1(te,d,Q);break;case"selectionchange":if(KR)break;case"keydown":case"keyup":W1(te,d,Q)}var Ae;if(Rm)e:{switch(i){case"compositionstart":var Be="onCompositionStart";break e;case"compositionend":Be="onCompositionEnd";break e;case"compositionupdate":Be="onCompositionUpdate";break e}Be=void 0}else hl?A1(i,d)&&(Be="onCompositionEnd"):i==="keydown"&&d.keyCode===229&&(Be="onCompositionStart");Be&&(N1&&d.locale!=="ko"&&(hl||Be!=="onCompositionStart"?Be==="onCompositionEnd"&&hl&&(Ae=C1()):(Yi=Q,km="value"in Yi?Yi.value:Yi.textContent,hl=!0)),Re=bf(q,Be),0<Re.length&&(Be=new E1(Be,i,null,d,Q),te.push({event:Be,listeners:Re}),Ae?Be.data=Ae:(Ae=O1(d),Ae!==null&&(Be.data=Ae)))),(Ae=IR?FR(i,d):BR(i,d))&&(q=bf(q,"onBeforeInput"),0<q.length&&(Q=new E1("onBeforeInput","beforeinput",null,d,Q),te.push({event:Q,listeners:q}),Q.data=Ae))}Z1(te,a)})}function su(i,a,d){return{instance:i,listener:a,currentTarget:d}}function bf(i,a){for(var d=a+"Capture",m=[];i!==null;){var y=i,w=y.stateNode;y.tag===5&&w!==null&&(y=w,w=Ze(i,d),w!=null&&m.unshift(su(i,w,y)),w=Ze(i,a),w!=null&&m.push(su(i,w,y))),i=i.return}return m}function gl(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function tw(i,a,d,m,y){for(var w=a._reactName,E=[];d!==null&&d!==m;){var A=d,I=A.alternate,q=A.stateNode;if(I!==null&&I===m)break;A.tag===5&&q!==null&&(A=q,y?(I=Ze(d,w),I!=null&&E.unshift(su(d,I,A))):y||(I=Ze(d,w),I!=null&&E.push(su(d,I,A)))),d=d.return}E.length!==0&&i.push({event:a,listeners:E})}var ZR=/\r\n?/g,eA=/\u0000|\uFFFD/g;function nw(i){return(typeof i=="string"?i:""+i).replace(ZR,`
38`).replace(eA,"")}function _f(i,a,d){if(a=nw(a),nw(i)!==a&&d)throw Error(n(425))}function Sf(){}var Vm=null,$m=null;function Wm(i,a){return i==="textarea"||i==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Hm=typeof setTimeout=="function"?setTimeout:void 0,tA=typeof clearTimeout=="function"?clearTimeout:void 0,rw=typeof Promise=="function"?Promise:void 0,nA=typeof queueMicrotask=="function"?queueMicrotask:typeof rw<"u"?function(i){return rw.resolve(null).then(i).catch(rA)}:Hm;function rA(i){setTimeout(function(){throw i})}function qm(i,a){var d=a,m=0;do{var y=d.nextSibling;if(i.removeChild(d),y&&y.nodeType===8)if(d=y.data,d==="/$"){if(m===0){i.removeChild(y),Yc(a);return}m--}else d!=="$"&&d!=="$?"&&d!=="$!"||m++;d=y}while(d);Yc(a)}function Ji(i){for(;i!=null;i=i.nextSibling){var a=i.nodeType;if(a===1||a===3)break;if(a===8){if(a=i.data,a==="$"||a==="$!"||a==="$?")break;if(a==="/$")return null}}return i}function sw(i){i=i.previousSibling;for(var a=0;i;){if(i.nodeType===8){var d=i.data;if(d==="$"||d==="$!"||d==="$?"){if(a===0)return i;a--}else d==="/$"&&a++}i=i.previousSibling}return null}var yl=Math.random().toString(36).slice(2),qs="__reactFiber$"+yl,iu="__reactProps$"+yl,mi="__reactContainer$"+yl,Gm="__reactEvents$"+yl,sA="__reactListeners$"+yl,iA="__reactHandles$"+yl;function Qo(i){var a=i[qs];if(a)return a;for(var d=i.parentNode;d;){if(a=d[mi]||d[qs]){if(d=a.alternate,a.child!==null||d!==null&&d.child!==null)for(i=sw(i);i!==null;){if(d=i[qs])return d;i=sw(i)}return a}i=d,d=i.parentNode}return null}function ou(i){return i=i[qs]||i[mi],!i||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function vl(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(n(33))}function Cf(i){return i[iu]||null}var Ym=[],xl=-1;function Xi(i){return{current:i}}function Nt(i){0>xl||(i.current=Ym[xl],Ym[xl]=null,xl--)}function kt(i,a){xl++,Ym[xl]=i.current,i.current=a}var Qi={},Wn=Xi(Qi),xr=Xi(!1),Zo=Qi;function wl(i,a){var d=i.type.contextTypes;if(!d)return Qi;var m=i.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===a)return m.__reactInternalMemoizedMaskedChildContext;var y={},w;for(w in d)y[w]=a[w];return m&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=a,i.__reactInternalMemoizedMaskedChildContext=y),y}function wr(i){return i=i.childContextTypes,i!=null}function kf(){Nt(xr),Nt(Wn)}function iw(i,a,d){if(Wn.current!==Qi)throw Error(n(168));kt(Wn,a),kt(xr,d)}function ow(i,a,d){var m=i.stateNode;if(a=a.childContextTypes,typeof m.getChildContext!="function")return d;m=m.getChildContext();for(var y in m)if(!(y in a))throw Error(n(108,ye(i)||"Unknown",y));return R({},d,m)}function Tf(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||Qi,Zo=Wn.current,kt(Wn,i),kt(xr,xr.current),!0}function aw(i,a,d){var m=i.stateNode;if(!m)throw Error(n(169));d?(i=ow(i,a,Zo),m.__reactInternalMemoizedMergedChildContext=i,Nt(xr),Nt(Wn),kt(Wn,i)):Nt(xr),kt(xr,d)}var gi=null,Ef=!1,Km=!1;function lw(i){gi===null?gi=[i]:gi.push(i)}function oA(i){Ef=!0,lw(i)}function Zi(){if(!Km&&gi!==null){Km=!0;var i=0,a=xt;try{var d=gi;for(xt=1;i<d.length;i++){var m=d[i];do m=m(!0);while(m!==null)}gi=null,Ef=!1}catch(y){throw gi!==null&&(gi=gi.slice(i+1)),nn(vr,Zi),y}finally{xt=a,Km=!1}}return null}var bl=[],_l=0,jf=null,Nf=0,ss=[],is=0,ea=null,yi=1,vi="";function ta(i,a){bl[_l++]=Nf,bl[_l++]=jf,jf=i,Nf=a}function cw(i,a,d){ss[is++]=yi,ss[is++]=vi,ss[is++]=ea,ea=i;var m=yi;i=vi;var y=32-Ts(m)-1;m&=~(1<<y),d+=1;var w=32-Ts(a)+y;if(30<w){var E=y-y%5;w=(m&(1<<E)-1).toString(32),m>>=E,y-=E,yi=1<<32-Ts(a)+y|d<<y|m,vi=w+i}else yi=1<<w|d<<y|m,vi=i}function Jm(i){i.return!==null&&(ta(i,1),cw(i,1,0))}function Xm(i){for(;i===jf;)jf=bl[--_l],bl[_l]=null,Nf=bl[--_l],bl[_l]=null;for(;i===ea;)ea=ss[--is],ss[is]=null,vi=ss[--is],ss[is]=null,yi=ss[--is],ss[is]=null}var zr=null,Vr=null,At=!1,js=null;function uw(i,a){var d=cs(5,null,null,0);d.elementType="DELETED",d.stateNode=a,d.return=i,a=i.deletions,a===null?(i.deletions=[d],i.flags|=16):a.push(d)}function dw(i,a){switch(i.tag){case 5:var d=i.type;return a=a.nodeType!==1||d.toLowerCase()!==a.nodeName.toLowerCase()?null:a,a!==null?(i.stateNode=a,zr=i,Vr=Ji(a.firstChild),!0):!1;case 6:return a=i.pendingProps===""||a.nodeType!==3?null:a,a!==null?(i.stateNode=a,zr=i,Vr=null,!0):!1;case 13:return a=a.nodeType!==8?null:a,a!==null?(d=ea!==null?{id:yi,overflow:vi}:null,i.memoizedState={dehydrated:a,treeContext:d,retryLane:1073741824},d=cs(18,null,null,0),d.stateNode=a,d.return=i,i.child=d,zr=i,Vr=null,!0):!1;default:return!1}}function Qm(i){return(i.mode&1)!==0&&(i.flags&128)===0}function Zm(i){if(At){var a=Vr;if(a){var d=a;if(!dw(i,a)){if(Qm(i))throw Error(n(418));a=Ji(d.nextSibling);var m=zr;a&&dw(i,a)?uw(m,d):(i.flags=i.flags&-4097|2,At=!1,zr=i)}}else{if(Qm(i))throw Error(n(418));i.flags=i.flags&-4097|2,At=!1,zr=i}}}function fw(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;zr=i}
vendor: 4,921 bytes, line 38
38function Pf(i){if(i!==zr)return!1;if(!At)return fw(i),At=!0,!1;var a;if((a=i.tag!==3)&&!(a=i.tag!==5)&&(a=i.type,a=a!=="head"&&a!=="body"&&!Wm(i.type,i.memoizedProps)),a&&(a=Vr)){if(Qm(i))throw hw(),Error(n(418));for(;a;)uw(i,a),a=Ji(a.nextSibling)}if(fw(i),i.tag===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(n(317));e:{for(i=i.nextSibling,a=0;i;){if(i.nodeType===8){var d=i.data;if(d==="/$"){if(a===0){Vr=Ji(i.nextSibling);break e}a--}else d!=="$"&&d!=="$!"&&d!=="$?"||a++}i=i.nextSibling}Vr=null}}else Vr=zr?Ji(i.stateNode.nextSibling):null;return!0}function hw(){for(var i=Vr;i;)i=Ji(i.nextSibling)}function Sl(){Vr=zr=null,At=!1}function eg(i){js===null?js=[i]:js.push(i)}var aA=N.ReactCurrentBatchConfig;function au(i,a,d){if(i=d.ref,i!==null&&typeof i!="function"&&typeof i!="object"){if(d._owner){if(d=d._owner,d){if(d.tag!==1)throw Error(n(309));var m=d.stateNode}if(!m)throw Error(n(147,i));var y=m,w=""+i;return a!==null&&a.ref!==null&&typeof a.ref=="function"&&a.ref._stringRef===w?a.ref:(a=function(E){var A=y.refs;E===null?delete A[w]:A[w]=E},a._stringRef=w,a)}if(typeof i!="string")throw Error(n(284));if(!d._owner)throw Error(n(290,i))}return i}function Rf(i,a){throw i=Object.prototype.toString.call(a),Error(n(31,i==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":i))}function pw(i){var a=i._init;return a(i._payload)}function mw(i){function a($,B){if(i){var H=$.deletions;H===null?($.deletions=[B],$.flags|=16):H.push(B)}}function d($,B){if(!i)return null;for(;B!==null;)a($,B),B=B.sibling;return null}function m($,B){for($=new Map;B!==null;)B.key!==null?$.set(B.key,B):$.set(B.index,B),B=B.sibling;return $}function y($,B){return $=ao($,B),$.index=0,$.sibling=null,$}function w($,B,H){return $.index=H,i?(H=$.alternate,H!==null?(H=H.index,H<B?($.flags|=2,B):H):($.flags|=2,B)):($.flags|=1048576,B)}function E($){return i&&$.alternate===null&&($.flags|=2),$}function A($,B,H,se){return B===null||B.tag!==6?(B=Hg(H,$.mode,se),B.return=$,B):(B=y(B,H),B.return=$,B)}function I($,B,H,se){var Ee=H.type;return Ee===M?Q($,B,H.props.children,se,H.key):B!==null&&(B.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===re&&pw(Ee)===B.type)?(se=y(B,H.props),se.ref=au($,B,H),se.return=$,se):(se=th(H.type,H.key,H.props,null,$.mode,se),se.ref=au($,B,H),se.return=$,se)}function q($,B,H,se){return B===null||B.tag!==4||B.stateNode.containerInfo!==H.containerInfo||B.stateNode.implementation!==H.implementation?(B=qg(H,$.mode,se),B.return=$,B):(B=y(B,H.children||[]),B.return=$,B)}function Q($,B,H,se,Ee){return B===null||B.tag!==7?(B=ca(H,$.mode,se,Ee),B.return=$,B):(B=y(B,H),B.return=$,B)}function te($,B,H){if(typeof B=="string"&&B!==""||typeof B=="number")return B=Hg(""+B,$.mode,H),B.return=$,B;if(typeof B=="object"&&B!==null){switch(B.$$typeof){case P:return H=th(B.type,B.key,B.props,null,$.mode,H),H.ref=au($,null,B),H.return=$,H;case D:return B=qg(B,$.mode,H),B.return=$,B;case re:var se=B._init;return te($,se(B._payload),H)}if(dt(B)||Z(B))return B=ca(B,$.mode,H,null),B.return=$,B;Rf($,B)}return null}function X($,B,H,se){var Ee=B!==null?B.key:null;if(typeof H=="string"&&H!==""||typeof H=="number")return Ee!==null?null:A($,B,""+H,se);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case P:return H.key===Ee?I($,B,H,se):null;case D:return H.key===Ee?q($,B,H,se):null;case re:return Ee=H._init,X($,B,Ee(H._payload),se)}if(dt(H)||Z(H))return Ee!==null?null:Q($,B,H,se,null);Rf($,H)}return null}function pe($,B,H,se,Ee){if(typeof se=="string"&&se!==""||typeof se=="number")return $=$.get(H)||null,A(B,$,""+se,Ee);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case P:return $=$.get(se.key===null?H:se.key)||null,I(B,$,se,Ee);case D:return $=$.get(se.key===null?H:se.key)||null,q(B,$,se,Ee);case re:var Re=se._init;return pe($,B,H,Re(se._payload),Ee)}if(dt(se)||Z(se))return $=$.get(H)||null,Q(B,$,se,Ee,null);Rf(B,se)}return null}function Se($,B,H,se){for(var Ee=null,Re=null,Ae=B,Be=B=0,Tn=null;Ae!==null&&Be<H.length;Be++){Ae.index>Be?(Tn=Ae,Ae=null):Tn=Ae.sibling;var ct=X($,Ae,H[Be],se);if(ct===null){Ae===null&&(Ae=Tn);break}i&&Ae&&ct.alternate===null&&a($,Ae),B=w(ct,B,Be),Re===null?Ee=ct:Re.sibling=ct,Re=ct,Ae=Tn}if(Be===H.length)return d($,Ae),At&&ta($,Be),Ee;if(Ae===null){for(;Be<H.length;Be++)Ae=te($,H[Be],se),Ae!==null&&(B=w(Ae,B,Be),Re===null?Ee=Ae:Re.sibling=Ae,Re=Ae);return At&&ta($,Be),Ee}for(Ae=m($,Ae);Be<H.length;Be++)Tn=pe(Ae,$,Be,H[Be],se),Tn!==null&&(i&&Tn.alternate!==null&&Ae.delete(Tn.key===null?Be:Tn.key),B=w(Tn,B,Be),Re===null?Ee=Tn:Re.sibling=Tn,Re=Tn);return i&&Ae.forEach(function(lo){return a($,lo)}),At&&ta($,Be),Ee}function Te($,B,H,se){var Ee=Z(H);if(typeof Ee!="function")throw Error(n(150));if(H=Ee.call(H),H==null)throw Error(n(151));for(var Re=Ee=null,Ae=B,Be=B=0,Tn=null,ct=H.next();Ae!==null&&!ct.done;Be++,ct=H.next()){Ae.index>Be?(Tn=Ae,Ae=null):Tn=Ae.sibling;var lo=X($,Ae,ct.value,se);
vendor: 5,652 bytes, line 38
38if(lo===null){Ae===null&&(Ae=Tn);break}i&&Ae&&lo.alternate===null&&a($,Ae),B=w(lo,B,Be),Re===null?Ee=lo:Re.sibling=lo,Re=lo,Ae=Tn}if(ct.done)return d($,Ae),At&&ta($,Be),Ee;if(Ae===null){for(;!ct.done;Be++,ct=H.next())ct=te($,ct.value,se),ct!==null&&(B=w(ct,B,Be),Re===null?Ee=ct:Re.sibling=ct,Re=ct);return At&&ta($,Be),Ee}for(Ae=m($,Ae);!ct.done;Be++,ct=H.next())ct=pe(Ae,$,Be,ct.value,se),ct!==null&&(i&&ct.alternate!==null&&Ae.delete(ct.key===null?Be:ct.key),B=w(ct,B,Be),Re===null?Ee=ct:Re.sibling=ct,Re=ct);return i&&Ae.forEach(function(UA){return a($,UA)}),At&&ta($,Be),Ee}function Yt($,B,H,se){if(typeof H=="object"&&H!==null&&H.type===M&&H.key===null&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case P:e:{for(var Ee=H.key,Re=B;Re!==null;){if(Re.key===Ee){if(Ee=H.type,Ee===M){if(Re.tag===7){d($,Re.sibling),B=y(Re,H.props.children),B.return=$,$=B;break e}}else if(Re.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===re&&pw(Ee)===Re.type){d($,Re.sibling),B=y(Re,H.props),B.ref=au($,Re,H),B.return=$,$=B;break e}d($,Re);break}else a($,Re);Re=Re.sibling}H.type===M?(B=ca(H.props.children,$.mode,se,H.key),B.return=$,$=B):(se=th(H.type,H.key,H.props,null,$.mode,se),se.ref=au($,B,H),se.return=$,$=se)}return E($);case D:e:{for(Re=H.key;B!==null;){if(B.key===Re)if(B.tag===4&&B.stateNode.containerInfo===H.containerInfo&&B.stateNode.implementation===H.implementation){d($,B.sibling),B=y(B,H.children||[]),B.return=$,$=B;break e}else{d($,B);break}else a($,B);B=B.sibling}B=qg(H,$.mode,se),B.return=$,$=B}return E($);case re:return Re=H._init,Yt($,B,Re(H._payload),se)}if(dt(H))return Se($,B,H,se);if(Z(H))return Te($,B,H,se);Rf($,H)}return typeof H=="string"&&H!==""||typeof H=="number"?(H=""+H,B!==null&&B.tag===6?(d($,B.sibling),B=y(B,H),B.return=$,$=B):(d($,B),B=Hg(H,$.mode,se),B.return=$,$=B),E($)):d($,B)}return Yt}var Cl=mw(!0),gw=mw(!1),Af=Xi(null),Of=null,kl=null,tg=null;function ng(){tg=kl=Of=null}function rg(i){var a=Af.current;Nt(Af),i._currentValue=a}function sg(i,a,d){for(;i!==null;){var m=i.alternate;if((i.childLanes&a)!==a?(i.childLanes|=a,m!==null&&(m.childLanes|=a)):m!==null&&(m.childLanes&a)!==a&&(m.childLanes|=a),i===d)break;i=i.return}}function Tl(i,a){Of=i,tg=kl=null,i=i.dependencies,i!==null&&i.firstContext!==null&&((i.lanes&a)!==0&&(br=!0),i.firstContext=null)}function os(i){var a=i._currentValue;if(tg!==i)if(i={context:i,memoizedValue:a,next:null},kl===null){if(Of===null)throw Error(n(308));kl=i,Of.dependencies={lanes:0,firstContext:i}}else kl=kl.next=i;return a}var na=null;function ig(i){na===null?na=[i]:na.push(i)}function yw(i,a,d,m){var y=a.interleaved;return y===null?(d.next=d,ig(a)):(d.next=y.next,y.next=d),a.interleaved=d,xi(i,m)}function xi(i,a){i.lanes|=a;var d=i.alternate;for(d!==null&&(d.lanes|=a),d=i,i=i.return;i!==null;)i.childLanes|=a,d=i.alternate,d!==null&&(d.childLanes|=a),d=i,i=i.return;return d.tag===3?d.stateNode:null}var eo=!1;function og(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function vw(i,a){i=i.updateQueue,a.updateQueue===i&&(a.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function wi(i,a){return{eventTime:i,lane:a,tag:0,payload:null,callback:null,next:null}}function to(i,a,d){var m=i.updateQueue;if(m===null)return null;if(m=m.shared,(lt&2)!==0){var y=m.pending;return y===null?a.next=a:(a.next=y.next,y.next=a),m.pending=a,xi(i,d)}return y=m.interleaved,y===null?(a.next=a,ig(m)):(a.next=y.next,y.next=a),m.interleaved=a,xi(i,d)}function Mf(i,a,d){if(a=a.updateQueue,a!==null&&(a=a.shared,(d&4194240)!==0)){var m=a.lanes;m&=i.pendingLanes,d|=m,a.lanes=d,wm(i,d)}}function xw(i,a){var d=i.updateQueue,m=i.alternate;if(m!==null&&(m=m.updateQueue,d===m)){var y=null,w=null;if(d=d.firstBaseUpdate,d!==null){do{var E={eventTime:d.eventTime,lane:d.lane,tag:d.tag,payload:d.payload,callback:d.callback,next:null};w===null?y=w=E:w=w.next=E,d=d.next}while(d!==null);w===null?y=w=a:w=w.next=a}else y=w=a;d={baseState:m.baseState,firstBaseUpdate:y,lastBaseUpdate:w,shared:m.shared,effects:m.effects},i.updateQueue=d;return}i=d.lastBaseUpdate,i===null?d.firstBaseUpdate=a:i.next=a,d.lastBaseUpdate=a}function Lf(i,a,d,m){var y=i.updateQueue;eo=!1;var w=y.firstBaseUpdate,E=y.lastBaseUpdate,A=y.shared.pending;if(A!==null){y.shared.pending=null;var I=A,q=I.next;I.next=null,E===null?w=q:E.next=q,E=I;var Q=i.alternate;Q!==null&&(Q=Q.updateQueue,A=Q.lastBaseUpdate,A!==E&&(A===null?Q.firstBaseUpdate=q:A.next=q,Q.lastBaseUpdate=I))}if(w!==null){var te=y.baseState;E=0,Q=q=I=null,A=w;do{var X=A.lane,pe=A.eventTime;if((m&X)===X){Q!==null&&(Q=Q.next={eventTime:pe,lane:0,tag:A.tag,payload:A.payload,callback:A.callback,next:null});e:{var Se=i,Te=A;switch(X=a,pe=d,Te.tag){case 1:if(Se=Te.payload,typeof Se=="function"){te=Se.call(pe,te,X);break e}te=Se;break e;case 3:Se.flags=Se.flags&-65537|128;case 0:if(Se=Te.payload,X=typeof Se=="function"?Se.call(pe,te,X):Se,X==null)break e;te=R({},te,X);break e;case 2:eo=!0}}A.callback!==null&&A.lane!==0&&(i.flags|=64,X=y.effects,X===null?y.effects=[A]:X.push(A))}else pe={eventTime:pe,lane:X,tag:A.tag,payload:A.payload,callback:A.callback,next:null},Q===null?(q=Q=pe,I=te):Q=Q.next=pe,E|=X;if(A=A.next,A===null){if(A=y.shared.pending,A===null)break;X=A,A=X.next,X.next=null,y.lastBaseUpdate=X,y.shared.pending=null}}while(!0);if(Q===null&&(I=te),y.baseState=I,y.firstBaseUpdate=q,y.lastBaseUpdate=Q,a=y.shared.interleaved,a!==null){y=a;do E|=y.lane,y=y.next;while(y!==a)}else w===null&&(y.shared.lanes=0);
vendor: 8,324 bytes, line 38
38ia|=E,i.lanes=E,i.memoizedState=te}}function ww(i,a,d){if(i=a.effects,a.effects=null,i!==null)for(a=0;a<i.length;a++){var m=i[a],y=m.callback;if(y!==null){if(m.callback=null,m=d,typeof y!="function")throw Error(n(191,y));y.call(m)}}}var lu={},Gs=Xi(lu),cu=Xi(lu),uu=Xi(lu);function ra(i){if(i===lu)throw Error(n(174));return i}function ag(i,a){switch(kt(uu,a),kt(cu,i),kt(Gs,lu),i=a.nodeType,i){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:at(null,"");break;default:i=i===8?a.parentNode:a,a=i.namespaceURI||null,i=i.tagName,a=at(a,i)}Nt(Gs),kt(Gs,a)}function El(){Nt(Gs),Nt(cu),Nt(uu)}function bw(i){ra(uu.current);var a=ra(Gs.current),d=at(a,i.type);a!==d&&(kt(cu,i),kt(Gs,d))}function lg(i){cu.current===i&&(Nt(Gs),Nt(cu))}var Lt=Xi(0);function Df(i){for(var a=i;a!==null;){if(a.tag===13){var d=a.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||d.data==="$?"||d.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break;for(;a.sibling===null;){if(a.return===null||a.return===i)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var cg=[];function ug(){for(var i=0;i<cg.length;i++)cg[i]._workInProgressVersionPrimary=null;cg.length=0}var If=N.ReactCurrentDispatcher,dg=N.ReactCurrentBatchConfig,sa=0,Dt=null,hn=null,Cn=null,Ff=!1,du=!1,fu=0,lA=0;function Hn(){throw Error(n(321))}function fg(i,a){if(a===null)return!1;for(var d=0;d<a.length&&d<i.length;d++)if(!Es(i[d],a[d]))return!1;return!0}function hg(i,a,d,m,y,w){if(sa=w,Dt=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,If.current=i===null||i.memoizedState===null?fA:hA,i=d(m,y),du){w=0;do{if(du=!1,fu=0,25<=w)throw Error(n(301));w+=1,Cn=hn=null,a.updateQueue=null,If.current=pA,i=d(m,y)}while(du)}if(If.current=zf,a=hn!==null&&hn.next!==null,sa=0,Cn=hn=Dt=null,Ff=!1,a)throw Error(n(300));return i}function pg(){var i=fu!==0;return fu=0,i}function Ys(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Cn===null?Dt.memoizedState=Cn=i:Cn=Cn.next=i,Cn}function as(){if(hn===null){var i=Dt.alternate;i=i!==null?i.memoizedState:null}else i=hn.next;var a=Cn===null?Dt.memoizedState:Cn.next;if(a!==null)Cn=a,hn=i;else{if(i===null)throw Error(n(310));hn=i,i={memoizedState:hn.memoizedState,baseState:hn.baseState,baseQueue:hn.baseQueue,queue:hn.queue,next:null},Cn===null?Dt.memoizedState=Cn=i:Cn=Cn.next=i}return Cn}function hu(i,a){return typeof a=="function"?a(i):a}function mg(i){var a=as(),d=a.queue;if(d===null)throw Error(n(311));d.lastRenderedReducer=i;var m=hn,y=m.baseQueue,w=d.pending;if(w!==null){if(y!==null){var E=y.next;y.next=w.next,w.next=E}m.baseQueue=y=w,d.pending=null}if(y!==null){w=y.next,m=m.baseState;var A=E=null,I=null,q=w;do{var Q=q.lane;if((sa&Q)===Q)I!==null&&(I=I.next={lane:0,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null}),m=q.hasEagerState?q.eagerState:i(m,q.action);else{var te={lane:Q,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null};I===null?(A=I=te,E=m):I=I.next=te,Dt.lanes|=Q,ia|=Q}q=q.next}while(q!==null&&q!==w);I===null?E=m:I.next=A,Es(m,a.memoizedState)||(br=!0),a.memoizedState=m,a.baseState=E,a.baseQueue=I,d.lastRenderedState=m}if(i=d.interleaved,i!==null){y=i;do w=y.lane,Dt.lanes|=w,ia|=w,y=y.next;while(y!==i)}else y===null&&(d.lanes=0);return[a.memoizedState,d.dispatch]}function gg(i){var a=as(),d=a.queue;if(d===null)throw Error(n(311));d.lastRenderedReducer=i;var m=d.dispatch,y=d.pending,w=a.memoizedState;if(y!==null){d.pending=null;var E=y=y.next;do w=i(w,E.action),E=E.next;while(E!==y);Es(w,a.memoizedState)||(br=!0),a.memoizedState=w,a.baseQueue===null&&(a.baseState=w),d.lastRenderedState=w}return[w,m]}function _w(){}function Sw(i,a){var d=Dt,m=as(),y=a(),w=!Es(m.memoizedState,y);if(w&&(m.memoizedState=y,br=!0),m=m.queue,yg(Tw.bind(null,d,m,i),[i]),m.getSnapshot!==a||w||Cn!==null&&Cn.memoizedState.tag&1){if(d.flags|=2048,pu(9,kw.bind(null,d,m,y,a),void 0,null),kn===null)throw Error(n(349));(sa&30)!==0||Cw(d,a,y)}return y}function Cw(i,a,d){i.flags|=16384,i={getSnapshot:a,value:d},a=Dt.updateQueue,a===null?(a={lastEffect:null,stores:null},Dt.updateQueue=a,a.stores=[i]):(d=a.stores,d===null?a.stores=[i]:d.push(i))}function kw(i,a,d,m){a.value=d,a.getSnapshot=m,Ew(a)&&jw(i)}function Tw(i,a,d){return d(function(){Ew(a)&&jw(i)})}function Ew(i){var a=i.getSnapshot;i=i.value;try{var d=a();return!Es(i,d)}catch{return!0}}function jw(i){var a=xi(i,1);a!==null&&As(a,i,1,-1)}function Nw(i){var a=Ys();return typeof i=="function"&&(i=i()),a.memoizedState=a.baseState=i,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:hu,lastRenderedState:i},a.queue=i,i=i.dispatch=dA.bind(null,Dt,i),[a.memoizedState,i]}function pu(i,a,d,m){return i={tag:i,create:a,destroy:d,deps:m,next:null},a=Dt.updateQueue,a===null?(a={lastEffect:null,stores:null},Dt.updateQueue=a,a.lastEffect=i.next=i):(d=a.lastEffect,d===null?a.lastEffect=i.next=i:(m=d.next,d.next=i,i.next=m,a.lastEffect=i)),i}function Pw(){return as().memoizedState}function Bf(i,a,d,m){var y=Ys();Dt.flags|=i,y.memoizedState=pu(1|a,d,void 0,m===void 0?null:m)}function Uf(i,a,d,m){var y=as();m=m===void 0?null:m;var w=void 0;if(hn!==null){var E=hn.memoizedState;if(w=E.destroy,m!==null&&fg(m,E.deps)){y.memoizedState=pu(a,d,w,m);return}}Dt.flags|=i,y.memoizedState=pu(1|a,d,w,m)}function Rw(i,a){return Bf(8390656,8,i,a)}function yg(i,a){return Uf(2048,8,i,a)}function Aw(i,a){return Uf(4,2,i,a)}function Ow(i,a){return Uf(4,4,i,a)}function Mw(i,a){if(typeof a=="function")return i=i(),a(i),function(){a(null)};if(a!=null)return i=i(),a.current=i,function(){a.current=null}}function Lw(i,a,d){return d=d!=null?d.concat([i]):null,Uf(4,4,Mw.bind(null,a,i),d)}function vg(){}function Dw(i,a){var d=as();a=a===void 0?null:a;var m=d.memoizedState;return m!==null&&a!==null&&fg(a,m[1])?m[0]:(d.memoizedState=[i,a],i)}function Iw(i,a){var d=as();a=a===void 0?null:a;var m=d.memoizedState;return m!==null&&a!==null&&fg(a,m[1])?m[0]:(i=i(),d.memoizedState=[i,a],i)}function Fw(i,a,d){return(sa&21)===0?(i.baseState&&(i.baseState=!1,br=!0),i.memoizedState=d):(Es(d,a)||(d=p1(),Dt.lanes|=d,ia|=d,i.baseState=!0),a)}function cA(i,a){var d=xt;xt=d!==0&&4>d?d:4,i(!0);var m=dg.transition;dg.transition={};try{i(!1),a()}finally{xt=d,dg.transition=m}}function Bw(){return as().memoizedState}function uA(i,a,d){var m=io(i);if(d={lane:m,action:d,hasEagerState:!1,eagerState:null,next:null},Uw(i))zw(a,d);else if(d=yw(i,a,d,m),d!==null){var y=ar();As(d,i,m,y),Vw(d,a,m)}}function dA(i,a,d){var m=io(i),y={lane:m,action:d,hasEagerState:!1,eagerState:null,next:null};if(Uw(i))zw(a,y);else{var w=i.alternate;if(i.lanes===0&&(w===null||w.lanes===0)&&(w=a.lastRenderedReducer,w!==null))try{var E=a.lastRenderedState,A=w(E,d);if(y.hasEagerState=!0,y.eagerState=A,Es(A,E)){var I=a.interleaved;I===null?(y.next=y,ig(a)):(y.next=I.next,I.next=y),a.interleaved=y;return}}catch{}finally{}d=yw(i,a,y,m),d!==null&&(y=ar(),As(d,i,m,y),Vw(d,a,m))}}function Uw(i){var a=i.alternate;return i===Dt||a!==null&&a===Dt}function zw(i,a){du=Ff=!0;var d=i.pending;d===null?a.next=a:(a.next=d.next,d.next=a),i.pending=a}function Vw(i,a,d){if((d&4194240)!==0){var m=a.lanes;m&=i.pendingLanes,d|=m,a.lanes=d,wm(i,d)}}var zf={readContext:os,useCallback:Hn,useContext:Hn,useEffect:Hn,useImperativeHandle:Hn,useInsertionEffect:Hn,useLayoutEffect:Hn,useMemo:Hn,useReducer:Hn,useRef:Hn,useState:Hn,useDebugValue:Hn,useDeferredValue:Hn,useTransition:Hn,useMutableSource:Hn,useSyncExternalStore:Hn,useId:Hn,unstable_isNewReconciler:!1},fA={readContext:os,useCallback:function(i,a){return Ys().memoizedState=[i,a===void 0?null:a],i},useContext:os,useEffect:Rw,useImperativeHandle:function(i,a,d){return d=d!=null?d.concat([i]):null,Bf(4194308,4,Mw.bind(null,a,i),d)},useLayoutEffect:function(i,a){return Bf(4194308,4,i,a)},useInsertionEffect:function(i,a){return Bf(4,2,i,a)},useMemo:function(i,a){var d=Ys();return a=a===void 0?null:a,i=i(),d.memoizedState=[i,a],i},useReducer:function(i,a,d){var m=Ys();return a=d!==void 0?d(a):a,m.memoizedState=m.baseState=a,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:a},m.queue=i,i=i.dispatch=uA.bind(null,Dt,i),[m.memoizedState,i]}
vendor: 7,454 bytes, lines 38-40
38,useRef:function(i){var a=Ys();return i={current:i},a.memoizedState=i},useState:Nw,useDebugValue:vg,useDeferredValue:function(i){return Ys().memoizedState=i},useTransition:function(){var i=Nw(!1),a=i[0];return i=cA.bind(null,i[1]),Ys().memoizedState=i,[a,i]},useMutableSource:function(){},useSyncExternalStore:function(i,a,d){var m=Dt,y=Ys();if(At){if(d===void 0)throw Error(n(407));d=d()}else{if(d=a(),kn===null)throw Error(n(349));(sa&30)!==0||Cw(m,a,d)}y.memoizedState=d;var w={value:d,getSnapshot:a};return y.queue=w,Rw(Tw.bind(null,m,w,i),[i]),m.flags|=2048,pu(9,kw.bind(null,m,w,d,a),void 0,null),d},useId:function(){var i=Ys(),a=kn.identifierPrefix;if(At){var d=vi,m=yi;d=(m&~(1<<32-Ts(m)-1)).toString(32)+d,a=":"+a+"R"+d,d=fu++,0<d&&(a+="H"+d.toString(32)),a+=":"}else d=lA++,a=":"+a+"r"+d.toString(32)+":";return i.memoizedState=a},unstable_isNewReconciler:!1},hA={readContext:os,useCallback:Dw,useContext:os,useEffect:yg,useImperativeHandle:Lw,useInsertionEffect:Aw,useLayoutEffect:Ow,useMemo:Iw,useReducer:mg,useRef:Pw,useState:function(){return mg(hu)},useDebugValue:vg,useDeferredValue:function(i){var a=as();return Fw(a,hn.memoizedState,i)},useTransition:function(){var i=mg(hu)[0],a=as().memoizedState;return[i,a]},useMutableSource:_w,useSyncExternalStore:Sw,useId:Bw,unstable_isNewReconciler:!1},pA={readContext:os,useCallback:Dw,useContext:os,useEffect:yg,useImperativeHandle:Lw,useInsertionEffect:Aw,useLayoutEffect:Ow,useMemo:Iw,useReducer:gg,useRef:Pw,useState:function(){return gg(hu)},useDebugValue:vg,useDeferredValue:function(i){var a=as();return hn===null?a.memoizedState=i:Fw(a,hn.memoizedState,i)},useTransition:function(){var i=gg(hu)[0],a=as().memoizedState;return[i,a]},useMutableSource:_w,useSyncExternalStore:Sw,useId:Bw,unstable_isNewReconciler:!1};function Ns(i,a){if(i&&i.defaultProps){a=R({},a),i=i.defaultProps;for(var d in i)a[d]===void 0&&(a[d]=i[d]);return a}return a}function xg(i,a,d,m){a=i.memoizedState,d=d(m,a),d=d==null?a:R({},a,d),i.memoizedState=d,i.lanes===0&&(i.updateQueue.baseState=d)}var Vf={isMounted:function(i){return(i=i._reactInternals)?nt(i)===i:!1},enqueueSetState:function(i,a,d){i=i._reactInternals;var m=ar(),y=io(i),w=wi(m,y);w.payload=a,d!=null&&(w.callback=d),a=to(i,w,y),a!==null&&(As(a,i,y,m),Mf(a,i,y))},enqueueReplaceState:function(i,a,d){i=i._reactInternals;var m=ar(),y=io(i),w=wi(m,y);w.tag=1,w.payload=a,d!=null&&(w.callback=d),a=to(i,w,y),a!==null&&(As(a,i,y,m),Mf(a,i,y))},enqueueForceUpdate:function(i,a){i=i._reactInternals;var d=ar(),m=io(i),y=wi(d,m);y.tag=2,a!=null&&(y.callback=a),a=to(i,y,m),a!==null&&(As(a,i,m,d),Mf(a,i,m))}};function $w(i,a,d,m,y,w,E){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(m,w,E):a.prototype&&a.prototype.isPureReactComponent?!eu(d,m)||!eu(y,w):!0}function Ww(i,a,d){var m=!1,y=Qi,w=a.contextType;return typeof w=="object"&&w!==null?w=os(w):(y=wr(a)?Zo:Wn.current,m=a.contextTypes,w=(m=m!=null)?wl(i,y):Qi),a=new a(d,w),i.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Vf,i.stateNode=a,a._reactInternals=i,m&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=y,i.__reactInternalMemoizedMaskedChildContext=w),a}function Hw(i,a,d,m){i=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(d,m),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(d,m),a.state!==i&&Vf.enqueueReplaceState(a,a.state,null)}function wg(i,a,d,m){var y=i.stateNode;y.props=d,y.state=i.memoizedState,y.refs={},og(i);var w=a.contextType;typeof w=="object"&&w!==null?y.context=os(w):(w=wr(a)?Zo:Wn.current,y.context=wl(i,w)),y.state=i.memoizedState,w=a.getDerivedStateFromProps,typeof w=="function"&&(xg(i,a,w,d),y.state=i.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(a=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),a!==y.state&&Vf.enqueueReplaceState(y,y.state,null),Lf(i,d,y,m),y.state=i.memoizedState),typeof y.componentDidMount=="function"&&(i.flags|=4194308)}function jl(i,a){try{var d="",m=a;do d+=de(m),m=m.return;while(m);var y=d}catch(w){y=`
39Error generating stack: `+w.message+`
40`+w.stack}return{value:i,source:a,stack:y,digest:null}}function bg(i,a,d){return{value:i,source:null,stack:d??null,digest:a??null}}function _g(i,a){try{console.error(a.value)}catch(d){setTimeout(function(){throw d})}}var mA=typeof WeakMap=="function"?WeakMap:Map;function qw(i,a,d){d=wi(-1,d),d.tag=3,d.payload={element:null};var m=a.value;return d.callback=function(){Kf||(Kf=!0,Ig=m),_g(i,a)},d}function Gw(i,a,d){d=wi(-1,d),d.tag=3;var m=i.type.getDerivedStateFromError;if(typeof m=="function"){var y=a.value;d.payload=function(){return m(y)},d.callback=function(){_g(i,a)}}var w=i.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(d.callback=function(){_g(i,a),typeof m!="function"&&(ro===null?ro=new Set([this]):ro.add(this));var E=a.stack;this.componentDidCatch(a.value,{componentStack:E!==null?E:""})}),d}function Yw(i,a,d){var m=i.pingCache;if(m===null){m=i.pingCache=new mA;var y=new Set;m.set(a,y)}else y=m.get(a),y===void 0&&(y=new Set,m.set(a,y));y.has(d)||(y.add(d),i=NA.bind(null,i,a,d),a.then(i,i))}function Kw(i){do{var a;if((a=i.tag===13)&&(a=i.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return i;i=i.return}while(i!==null);return null}function Jw(i,a,d,m,y){return(i.mode&1)===0?(i===a?i.flags|=65536:(i.flags|=128,d.flags|=131072,d.flags&=-52805,d.tag===1&&(d.alternate===null?d.tag=17:(a=wi(-1,1),a.tag=2,to(d,a,1))),d.lanes|=1),i):(i.flags|=65536,i.lanes=y,i)}var gA=N.ReactCurrentOwner,br=!1;function or(i,a,d,m){a.child=i===null?gw(a,null,d,m):Cl(a,i.child,d,m)}function Xw(i,a,d,m,y){d=d.render;var w=a.ref;return Tl(a,y),m=hg(i,a,d,m,w,y),d=pg(),i!==null&&!br?(a.updateQueue=i.updateQueue,a.flags&=-2053,i.lanes&=~y,bi(i,a,y)):(At&&d&&Jm(a),a.flags|=1,or(i,a,m,y),a.child)}function Qw(i,a,d,m,y){if(i===null){var w=d.type;return typeof w=="function"&&!Wg(w)&&w.defaultProps===void 0&&d.compare===null&&d.defaultProps===void 0?(a.tag=15,a.type=w,Zw(i,a,w,m,y)):(i=th(d.type,null,m,a,a.mode,y),i.ref=a.ref,i.return=a,a.child=i)}if(w=i.child,(i.lanes&y)===0){var E=w.memoizedProps;if(d=d.compare,d=d!==null?d:eu,d(E,m)&&i.ref===a.ref)return bi(i,a,y)}return a.flags|=1,i=ao(w,m),i.ref=a.ref,i.return=a,a.child=i}function Zw(i,a,d,m,y){if(i!==null){var w=i.memoizedProps;if(eu(w,m)&&i.ref===a.ref)if(br=!1,a.pendingProps=m=w,(i.lanes&y)!==0)(i.flags&131072)!==0&&(br=!0);else return a.lanes=i.lanes,bi(i,a,y)}return Sg(i,a,d,m,y)}function eb(i,a,d){var m=a.pendingProps,y=m.children,w=i!==null?i.memoizedState:null;if(m.mode==="hidden")if((a.mode&1)===0)a.memoizedState={baseLanes:0,cachePool:null,transitions:null},kt(Pl,$r),$r|=d;else{if((d&1073741824)===0)return i=w!==null?w.baseLanes|d:d,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:i,cachePool:null,transitions:null},a.updateQueue=null,kt(Pl,$r),$r|=i,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},m=w!==null?w.baseLanes:d,kt(Pl,$r),$r|=m}else w!==null?(m=w.baseLanes|d,a.memoizedState=null):m=d,kt(Pl,$r),$r|=m;return or(i,a,y,d),a.child}function tb(i,a){var d=a.ref;(i===null&&d!==null||i!==null&&i.ref!==d)&&(a.flags|=512,a.flags|=2097152)}
vendor: 34,828 bytes, line 40
40function Sg(i,a,d,m,y){var w=wr(d)?Zo:Wn.current;return w=wl(a,w),Tl(a,y),d=hg(i,a,d,m,w,y),m=pg(),i!==null&&!br?(a.updateQueue=i.updateQueue,a.flags&=-2053,i.lanes&=~y,bi(i,a,y)):(At&&m&&Jm(a),a.flags|=1,or(i,a,d,y),a.child)}function nb(i,a,d,m,y){if(wr(d)){var w=!0;Tf(a)}else w=!1;if(Tl(a,y),a.stateNode===null)Wf(i,a),Ww(a,d,m),wg(a,d,m,y),m=!0;else if(i===null){var E=a.stateNode,A=a.memoizedProps;E.props=A;var I=E.context,q=d.contextType;typeof q=="object"&&q!==null?q=os(q):(q=wr(d)?Zo:Wn.current,q=wl(a,q));var Q=d.getDerivedStateFromProps,te=typeof Q=="function"||typeof E.getSnapshotBeforeUpdate=="function";te||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(A!==m||I!==q)&&Hw(a,E,m,q),eo=!1;var X=a.memoizedState;E.state=X,Lf(a,m,E,y),I=a.memoizedState,A!==m||X!==I||xr.current||eo?(typeof Q=="function"&&(xg(a,d,Q,m),I=a.memoizedState),(A=eo||$w(a,d,A,m,X,I,q))?(te||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(a.flags|=4194308)):(typeof E.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=m,a.memoizedState=I),E.props=m,E.state=I,E.context=q,m=A):(typeof E.componentDidMount=="function"&&(a.flags|=4194308),m=!1)}else{E=a.stateNode,vw(i,a),A=a.memoizedProps,q=a.type===a.elementType?A:Ns(a.type,A),E.props=q,te=a.pendingProps,X=E.context,I=d.contextType,typeof I=="object"&&I!==null?I=os(I):(I=wr(d)?Zo:Wn.current,I=wl(a,I));var pe=d.getDerivedStateFromProps;(Q=typeof pe=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(A!==te||X!==I)&&Hw(a,E,m,I),eo=!1,X=a.memoizedState,E.state=X,Lf(a,m,E,y);var Se=a.memoizedState;A!==te||X!==Se||xr.current||eo?(typeof pe=="function"&&(xg(a,d,pe,m),Se=a.memoizedState),(q=eo||$w(a,d,q,m,X,Se,I)||!1)?(Q||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(m,Se,I),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(m,Se,I)),typeof E.componentDidUpdate=="function"&&(a.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof E.componentDidUpdate!="function"||A===i.memoizedProps&&X===i.memoizedState||(a.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||A===i.memoizedProps&&X===i.memoizedState||(a.flags|=1024),a.memoizedProps=m,a.memoizedState=Se),E.props=m,E.state=Se,E.context=I,m=q):(typeof E.componentDidUpdate!="function"||A===i.memoizedProps&&X===i.memoizedState||(a.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||A===i.memoizedProps&&X===i.memoizedState||(a.flags|=1024),m=!1)}return Cg(i,a,d,m,w,y)}function Cg(i,a,d,m,y,w){tb(i,a);var E=(a.flags&128)!==0;if(!m&&!E)return y&&aw(a,d,!1),bi(i,a,w);m=a.stateNode,gA.current=a;var A=E&&typeof d.getDerivedStateFromError!="function"?null:m.render();return a.flags|=1,i!==null&&E?(a.child=Cl(a,i.child,null,w),a.child=Cl(a,null,A,w)):or(i,a,A,w),a.memoizedState=m.state,y&&aw(a,d,!0),a.child}function rb(i){var a=i.stateNode;a.pendingContext?iw(i,a.pendingContext,a.pendingContext!==a.context):a.context&&iw(i,a.context,!1),ag(i,a.containerInfo)}function sb(i,a,d,m,y){return Sl(),eg(y),a.flags|=256,or(i,a,d,m),a.child}var kg={dehydrated:null,treeContext:null,retryLane:0};function Tg(i){return{baseLanes:i,cachePool:null,transitions:null}}function ib(i,a,d){var m=a.pendingProps,y=Lt.current,w=!1,E=(a.flags&128)!==0,A;if((A=E)||(A=i!==null&&i.memoizedState===null?!1:(y&2)!==0),A?(w=!0,a.flags&=-129):(i===null||i.memoizedState!==null)&&(y|=1),kt(Lt,y&1),i===null)return Zm(a),i=a.memoizedState,i!==null&&(i=i.dehydrated,i!==null)?((a.mode&1)===0?a.lanes=1:i.data==="$!"?a.lanes=8:a.lanes=1073741824,null):(E=m.children,i=m.fallback,w?(m=a.mode,w=a.child,E={mode:"hidden",children:E},(m&1)===0&&w!==null?(w.childLanes=0,w.pendingProps=E):w=nh(E,m,0,null),i=ca(i,m,d,null),w.return=a,i.return=a,w.sibling=i,a.child=w,a.child.memoizedState=Tg(d),a.memoizedState=kg,i):Eg(a,E));if(y=i.memoizedState,y!==null&&(A=y.dehydrated,A!==null))return yA(i,a,E,m,A,y,d);if(w){w=m.fallback,E=a.mode,y=i.child,A=y.sibling;var I={mode:"hidden",children:m.children};return(E&1)===0&&a.child!==y?(m=a.child,m.childLanes=0,m.pendingProps=I,a.deletions=null):(m=ao(y,I),m.subtreeFlags=y.subtreeFlags&14680064),A!==null?w=ao(A,w):(w=ca(w,E,d,null),w.flags|=2),w.return=a,m.return=a,m.sibling=w,a.child=m,m=w,w=a.child,E=i.child.memoizedState,E=E===null?Tg(d):{baseLanes:E.baseLanes|d,cachePool:null,transitions:E.transitions},w.memoizedState=E,w.childLanes=i.childLanes&~d,a.memoizedState=kg,m}return w=i.child,i=w.sibling,m=ao(w,{mode:"visible",children:m.children}),(a.mode&1)===0&&(m.lanes=d),m.return=a,m.sibling=null,i!==null&&(d=a.deletions,d===null?(a.deletions=[i],a.flags|=16):d.push(i)),a.child=m,a.memoizedState=null,m}function Eg(i,a){return a=nh({mode:"visible",children:a},i.mode,0,null),a.return=i,i.child=a}function $f(i,a,d,m){return m!==null&&eg(m),Cl(a,i.child,null,d),i=Eg(a,a.pendingProps.children),i.flags|=2,a.memoizedState=null,i}function yA(i,a,d,m,y,w,E){if(d)return a.flags&256?(a.flags&=-257,m=bg(Error(n(422))),$f(i,a,E,m)):a.memoizedState!==null?(a.child=i.child,a.flags|=128,null):(w=m.fallback,y=a.mode,m=nh({mode:"visible",children:m.children},y,0,null),w=ca(w,y,E,null),w.flags|=2,m.return=a,w.return=a,m.sibling=w,a.child=m,(a.mode&1)!==0&&Cl(a,i.child,null,E),a.child.memoizedState=Tg(E),a.memoizedState=kg,w);if((a.mode&1)===0)return $f(i,a,E,null);if(y.data==="$!"){if(m=y.nextSibling&&y.nextSibling.dataset,m)var A=m.dgst;return m=A,w=Error(n(419)),m=bg(w,m,void 0),$f(i,a,E,m)}if(A=(E&i.childLanes)!==0,br||A){if(m=kn,m!==null){switch(E&-E){case 4:y=2;break;case 16:y=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:y=32;break;case 536870912:y=268435456;break;default:y=0}y=(y&(m.suspendedLanes|E))!==0?0:y,y!==0&&y!==w.retryLane&&(w.retryLane=y,xi(i,y),As(m,i,y,-1))}return $g(),m=bg(Error(n(421))),$f(i,a,E,m)}return y.data==="$?"?(a.flags|=128,a.child=i.child,a=PA.bind(null,i),y._reactRetry=a,null):(i=w.treeContext,Vr=Ji(y.nextSibling),zr=a,At=!0,js=null,i!==null&&(ss[is++]=yi,ss[is++]=vi,ss[is++]=ea,yi=i.id,vi=i.overflow,ea=a),a=Eg(a,m.children),a.flags|=4096,a)}function ob(i,a,d){i.lanes|=a;var m=i.alternate;m!==null&&(m.lanes|=a),sg(i.return,a,d)}function jg(i,a,d,m,y){var w=i.memoizedState;w===null?i.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:m,tail:d,tailMode:y}:(w.isBackwards=a,w.rendering=null,w.renderingStartTime=0,w.last=m,w.tail=d,w.tailMode=y)}function ab(i,a,d){var m=a.pendingProps,y=m.revealOrder,w=m.tail;if(or(i,a,m.children,d),m=Lt.current,(m&2)!==0)m=m&1|2,a.flags|=128;else{if(i!==null&&(i.flags&128)!==0)e:for(i=a.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&ob(i,d,a);else if(i.tag===19)ob(i,d,a);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===a)break e;for(;i.sibling===null;){if(i.return===null||i.return===a)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}m&=1}if(kt(Lt,m),(a.mode&1)===0)a.memoizedState=null;else switch(y){case"forwards":for(d=a.child,y=null;d!==null;)i=d.alternate,i!==null&&Df(i)===null&&(y=d),d=d.sibling;d=y,d===null?(y=a.child,a.child=null):(y=d.sibling,d.sibling=null),jg(a,!1,y,d,w);break;case"backwards":for(d=null,y=a.child,a.child=null;y!==null;){if(i=y.alternate,i!==null&&Df(i)===null){a.child=y;break}i=y.sibling,y.sibling=d,d=y,y=i}jg(a,!0,d,null,w);break;case"together":jg(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Wf(i,a){(a.mode&1)===0&&i!==null&&(i.alternate=null,a.alternate=null,a.flags|=2)}function bi(i,a,d){if(i!==null&&(a.dependencies=i.dependencies),ia|=a.lanes,(d&a.childLanes)===0)return null;if(i!==null&&a.child!==i.child)throw Error(n(153));if(a.child!==null){for(i=a.child,d=ao(i,i.pendingProps),a.child=d,d.return=a;i.sibling!==null;)i=i.sibling,d=d.sibling=ao(i,i.pendingProps),d.return=a;d.sibling=null}return a.child}function vA(i,a,d){switch(a.tag){case 3:rb(a),Sl();break;case 5:bw(a);break;case 1:wr(a.type)&&Tf(a);break;case 4:ag(a,a.stateNode.containerInfo);break;case 10:var m=a.type._context,y=a.memoizedProps.value;kt(Af,m._currentValue),m._currentValue=y;break;case 13:if(m=a.memoizedState,m!==null)return m.dehydrated!==null?(kt(Lt,Lt.current&1),a.flags|=128,null):(d&a.child.childLanes)!==0?ib(i,a,d):(kt(Lt,Lt.current&1),i=bi(i,a,d),i!==null?i.sibling:null);kt(Lt,Lt.current&1);break;case 19:if(m=(d&a.childLanes)!==0,(i.flags&128)!==0){if(m)return ab(i,a,d);a.flags|=128}if(y=a.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),kt(Lt,Lt.current),m)break;return null;case 22:case 23:return a.lanes=0,eb(i,a,d)}return bi(i,a,d)}var lb,Ng,cb,ub;lb=function(i,a){for(var d=a.child;d!==null;){if(d.tag===5||d.tag===6)i.appendChild(d.stateNode);else if(d.tag!==4&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===a)break;for(;d.sibling===null;){if(d.return===null||d.return===a)return;d=d.return}d.sibling.return=d.return,d=d.sibling}},Ng=function(){},cb=function(i,a,d,m){var y=i.memoizedProps;if(y!==m){i=a.stateNode,ra(Gs.current);var w=null;switch(d){case"input":y=le(i,y),m=le(i,m),w=[];break;case"select":y=R({},y,{value:void 0}),m=R({},m,{value:void 0}),w=[];break;case"textarea":y=ft(i,y),m=ft(i,m),w=[];break;default:typeof y.onClick!="function"&&typeof m.onClick=="function"&&(i.onclick=Sf)}Vs(d,m);var E;d=null;for(q in y)if(!m.hasOwnProperty(q)&&y.hasOwnProperty(q)&&y[q]!=null)if(q==="style"){var A=y[q];for(E in A)A.hasOwnProperty(E)&&(d||(d={}),d[E]="")}else q!=="dangerouslySetInnerHTML"&&q!=="children"&&q!=="suppressContentEditableWarning"&&q!=="suppressHydrationWarning"&&q!=="autoFocus"&&(s.hasOwnProperty(q)?w||(w=[]):(w=w||[]).push(q,null));for(q in m){var I=m[q];if(A=y!=null?y[q]:void 0,m.hasOwnProperty(q)&&I!==A&&(I!=null||A!=null))if(q==="style")if(A){for(E in A)!A.hasOwnProperty(E)||I&&I.hasOwnProperty(E)||(d||(d={}),d[E]="");for(E in I)I.hasOwnProperty(E)&&A[E]!==I[E]&&(d||(d={}),d[E]=I[E])}else d||(w||(w=[]),w.push(q,d)),d=I;else q==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,A=A?A.__html:void 0,I!=null&&A!==I&&(w=w||[]).push(q,I)):q==="children"?typeof I!="string"&&typeof I!="number"||(w=w||[]).push(q,""+I):q!=="suppressContentEditableWarning"&&q!=="suppressHydrationWarning"&&(s.hasOwnProperty(q)?(I!=null&&q==="onScroll"&&jt("scroll",i),w||A===I||(w=[])):(w=w||[]).push(q,I))}d&&(w=w||[]).push("style",d);var q=w;(a.updateQueue=q)&&(a.flags|=4)}},ub=function(i,a,d,m){d!==m&&(a.flags|=4)};function mu(i,a){if(!At)switch(i.tailMode){case"hidden":a=i.tail;for(var d=null;a!==null;)a.alternate!==null&&(d=a),a=a.sibling;d===null?i.tail=null:d.sibling=null;break;case"collapsed":d=i.tail;for(var m=null;d!==null;)d.alternate!==null&&(m=d),d=d.sibling;m===null?a||i.tail===null?i.tail=null:i.tail.sibling=null:m.sibling=null}}function qn(i){var a=i.alternate!==null&&i.alternate.child===i.child,d=0,m=0;if(a)for(var y=i.child;y!==null;)d|=y.lanes|y.childLanes,m|=y.subtreeFlags&14680064,m|=y.flags&14680064,y.return=i,y=y.sibling;else for(y=i.child;y!==null;)d|=y.lanes|y.childLanes,m|=y.subtreeFlags,m|=y.flags,y.return=i,y=y.sibling;return i.subtreeFlags|=m,i.childLanes=d,a}function xA(i,a,d){var m=a.pendingProps;switch(Xm(a),a.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qn(a),null;case 1:return wr(a.type)&&kf(),qn(a),null;case 3:return m=a.stateNode,El(),Nt(xr),Nt(Wn),ug(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),(i===null||i.child===null)&&(Pf(a)?a.flags|=4:i===null||i.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,js!==null&&(Ug(js),js=null))),Ng(i,a),qn(a),null;case 5:lg(a);var y=ra(uu.current);if(d=a.type,i!==null&&a.stateNode!=null)cb(i,a,d,m,y),i.ref!==a.ref&&(a.flags|=512,a.flags|=2097152);else{if(!m){if(a.stateNode===null)throw Error(n(166));return qn(a),null}if(i=ra(Gs.current),Pf(a)){m=a.stateNode,d=a.type;var w=a.memoizedProps;switch(m[qs]=a,m[iu]=w,i=(a.mode&1)!==0,d){case"dialog":jt("cancel",m),jt("close",m);break;case"iframe":case"object":case"embed":jt("load",m);break;case"video":case"audio":for(y=0;y<nu.length;y++)jt(nu[y],m);break;case"source":jt("error",m);break;case"img":case"image":case"link":jt("error",m),jt("load",m);break;case"details":jt("toggle",m);break;case"input":xe(m,w),jt("invalid",m);break;case"select":m._wrapperState={wasMultiple:!!w.multiple},jt("invalid",m);break;case"textarea":un(m,w),jt("invalid",m)}Vs(d,w),y=null;for(var E in w)if(w.hasOwnProperty(E)){var A=w[E];E==="children"?typeof A=="string"?m.textContent!==A&&(w.suppressHydrationWarning!==!0&&_f(m.textContent,A,i),y=["children",A]):typeof A=="number"&&m.textContent!==""+A&&(w.suppressHydrationWarning!==!0&&_f(m.textContent,A,i),y=["children",""+A]):s.hasOwnProperty(E)&&A!=null&&E==="onScroll"&&jt("scroll",m)}switch(d){case"input":pt(m),Ge(m,w,!0);break;case"textarea":pt(m),mt(m);break;case"select":case"option":break;default:typeof w.onClick=="function"&&(m.onclick=Sf)}m=y,a.updateQueue=m,m!==null&&(a.flags|=4)}else{E=y.nodeType===9?y:y.ownerDocument,i==="http://www.w3.org/1999/xhtml"&&(i=en(d)),i==="http://www.w3.org/1999/xhtml"?d==="script"?(i=E.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild)):typeof m.is=="string"?i=E.createElement(d,{is:m.is}):(i=E.createElement(d),d==="select"&&(E=i,m.multiple?E.multiple=!0:m.size&&(E.size=m.size))):i=E.createElementNS(i,d),i[qs]=a,i[iu]=m,lb(i,a,!1,!1),a.stateNode=i;e:{switch(E=ns(d,m),d){case"dialog":jt("cancel",i),jt("close",i),y=m;break;case"iframe":case"object":case"embed":jt("load",i),y=m;break;case"video":case"audio":for(y=0;y<nu.length;y++)jt(nu[y],i);y=m;break;case"source":jt("error",i),y=m;break;case"img":case"image":case"link":jt("error",i),jt("load",i),y=m;break;case"details":jt("toggle",i),y=m;break;case"input":xe(i,m),y=le(i,m),jt("invalid",i);break;case"option":y=m;break;case"select":i._wrapperState={wasMultiple:!!m.multiple},y=R({},m,{value:void 0}),jt("invalid",i);break;case"textarea":un(i,m),y=ft(i,m),jt("invalid",i);break;default:y=m}Vs(d,y),A=y;for(w in A)if(A.hasOwnProperty(w)){var I=A[w];w==="style"?$n(i,I):w==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,I!=null&&wn(i,I)):w==="children"?typeof I=="string"?(d!=="textarea"||I!=="")&&Mn(i,I):typeof I=="number"&&Mn(i,""+I):w!=="suppressContentEditableWarning"&&w!=="suppressHydrationWarning"&&w!=="autoFocus"&&(s.hasOwnProperty(w)?I!=null&&w==="onScroll"&&jt("scroll",i):I!=null&&T(i,w,I,E))}switch(d){case"input":pt(i),Ge(i,m,!1);break;case"textarea":pt(i),mt(i);break;case"option":m.value!=null&&i.setAttribute("value",""+je(m.value));break;case"select":i.multiple=!!m.multiple,w=m.value,w!=null?tt(i,!!m.multiple,w,!1):m.defaultValue!=null&&tt(i,!!m.multiple,m.defaultValue,!0);break;default:typeof y.onClick=="function"&&(i.onclick=Sf)}switch(d){case"button":case"input":case"select":case"textarea":m=!!m.autoFocus;break e;case"img":m=!0;break e;default:m=!1}}m&&(a.flags|=4)}a.ref!==null&&(a.flags|=512,a.flags|=2097152)}return qn(a),null;case 6:if(i&&a.stateNode!=null)ub(i,a,i.memoizedProps,m);else{if(typeof m!="string"&&a.stateNode===null)throw Error(n(166));if(d=ra(uu.current),ra(Gs.current),Pf(a)){if(m=a.stateNode,d=a.memoizedProps,m[qs]=a,(w=m.nodeValue!==d)&&(i=zr,i!==null))switch(i.tag){case 3:_f(m.nodeValue,d,(i.mode&1)!==0);break;case 5:i.memoizedProps.suppressHydrationWarning!==!0&&_f(m.nodeValue,d,(i.mode&1)!==0)}w&&(a.flags|=4)}else m=(d.nodeType===9?d:d.ownerDocument).createTextNode(m),m[qs]=a,a.stateNode=m}return qn(a),null;case 13:if(Nt(Lt),m=a.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(At&&Vr!==null&&(a.mode&1)!==0&&(a.flags&128)===0)hw(),Sl(),a.flags|=98560,w=!1;else if(w=Pf(a),m!==null&&m.dehydrated!==null){if(i===null){if(!w)throw Error(n(318));if(w=a.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(n(317));w[qs]=a}else Sl(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;qn(a),w=!1}else js!==null&&(Ug(js),js=null),w=!0;if(!w)return a.flags&65536?a:null}return(a.flags&128)!==0?(a.lanes=d,a):(m=m!==null,m!==(i!==null&&i.memoizedState!==null)&&m&&(a.child.flags|=8192,(a.mode&1)!==0&&(i===null||(Lt.current&1)!==0?pn===0&&(pn=3):$g())),a.updateQueue!==null&&(a.flags|=4),qn(a),null);case 4:return El(),Ng(i,a),i===null&&ru(a.stateNode.containerInfo),qn(a),null;case 10:return rg(a.type._context),qn(a),null;case 17:return wr(a.type)&&kf(),qn(a),null;case 19:if(Nt(Lt),w=a.memoizedState,w===null)return qn(a),null;if(m=(a.flags&128)!==0,E=w.rendering,E===null)if(m)mu(w,!1);else{if(pn!==0||i!==null&&(i.flags&128)!==0)for(i=a.child;i!==null;){if(E=Df(i),E!==null){for(a.flags|=128,mu(w,!1),m=E.updateQueue,m!==null&&(a.updateQueue=m,a.flags|=4),a.subtreeFlags=0,m=d,d=a.child;d!==null;)w=d,i=m,w.flags&=14680066,E=w.alternate,E===null?(w.childLanes=0,w.lanes=i,w.child=null,w.subtreeFlags=0,w.memoizedProps=null,w.memoizedState=null,w.updateQueue=null,w.dependencies=null,w.stateNode=null):(w.childLanes=E.childLanes,w.lanes=E.lanes,w.child=E.child,w.subtreeFlags=0,w.deletions=null,w.memoizedProps=E.memoizedProps,w.memoizedState=E.memoizedState,w.updateQueue=E.updateQueue,w.type=E.type,i=E.dependencies,w.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),d=d.sibling;return kt(Lt,Lt.current&1|2),a.child}i=i.sibling}w.tail!==null&&Ye()>Rl&&(a.flags|=128,m=!0,mu(w,!1),a.lanes=4194304)}else{if(!m)if(i=Df(E),i!==null){if(a.flags|=128,m=!0,d=i.updateQueue,d!==null&&(a.updateQueue=d,a.flags|=4),mu(w,!0),w.tail===null&&w.tailMode==="hidden"&&!E.alternate&&!At)return qn(a),null}else 2*Ye()-w.renderingStartTime>Rl&&d!==1073741824&&(a.flags|=128,m=!0,mu(w,!1),a.lanes=4194304);w.isBackwards?(E.sibling=a.child,a.child=E):(d=w.last,d!==null?d.sibling=E:a.child=E,w.last=E)}return w.tail!==null?(a=w.tail,w.rendering=a,w.tail=a.sibling,w.renderingStartTime=Ye(),a.sibling=null,d=Lt.current,kt(Lt,m?d&1|2:d&1),a):(qn(a),null);case 22:case 23:return Vg(),m=a.memoizedState!==null,i!==null&&i.memoizedState!==null!==m&&(a.flags|=8192),m&&(a.mode&1)!==0?($r&1073741824)!==0&&(qn(a),a.subtreeFlags&6&&(a.flags|=8192)):qn(a),null;case 24:return null;case 25:return null}throw Error(n(156,a.tag))}function wA(i,a){switch(Xm(a),a.tag){case 1:return wr(a.type)&&kf(),i=a.flags,i&65536?(a.flags=i&-65537|128,a):null;case 3:return El(),Nt(xr),Nt(Wn),ug(),i=a.flags,(i&65536)!==0&&(i&128)===0?(a.flags=i&-65537|128,a):null;case 5:return lg(a),null;case 13:if(Nt(Lt),i=a.memoizedState,i!==null&&i.dehydrated!==null){if(a.alternate===null)throw Error(n(340));Sl()}return i=a.flags,i&65536?(a.flags=i&-65537|128,a):null;case 19:return Nt(Lt),null;case 4:return El(),null;case 10:return rg(a.type._context),null;case 22:case 23:return Vg(),null;case 24:return null;default:return null}}var Hf=!1,Gn=!1,bA=typeof WeakSet=="function"?WeakSet:Set,we=null;function Nl(i,a){var d=i.ref;if(d!==null)if(typeof d=="function")try{d(null)}catch(m){zt(i,a,m)}else d.current=null}function Pg(i,a,d){try{d()}catch(m){zt(i,a,m)}}var db=!1;function _A(i,a){if(Vm=df,i=$1(),Mm(i)){if("selectionStart"in i)var d={start:i.selectionStart,end:i.selectionEnd};else e:{d=(d=i.ownerDocument)&&d.defaultView||window;var m=d.getSelection&&d.getSelection();if(m&&m.rangeCount!==0){d=m.anchorNode;var y=m.anchorOffset,w=m.focusNode;m=m.focusOffset;try{d.nodeType,w.nodeType}catch{d=null;break e}var E=0,A=-1,I=-1,q=0,Q=0,te=i,X=null;t:for(;;){for(var pe;te!==d||y!==0&&te.nodeType!==3||(A=E+y),te!==w||m!==0&&te.nodeType!==3||(I=E+m),te.nodeType===3&&(E+=te.nodeValue.length),(pe=te.firstChild)!==null;)X=te,te=pe;for(;;){if(te===i)break t;if(X===d&&++q===y&&(A=E),X===w&&++Q===m&&(I=E),(pe=te.nextSibling)!==null)break;te=X,X=te.parentNode}te=pe}d=A===-1||I===-1?null:{start:A,end:I}}else d=null}d=d||{start:0,end:0}}else d=null;for($m={focusedElem:i,selectionRange:d},df=!1,we=a;we!==null;)if(a=we,i=a.child,(a.subtreeFlags&1028)!==0&&i!==null)i.return=a,we=i;else for(;we!==null;){a=we;try{var Se=a.alternate;if((a.flags&1024)!==0)switch(a.tag){case 0:case 11:case 15:break;case 1:if(Se!==null){var Te=Se.memoizedProps,Yt=Se.memoizedState,$=a.stateNode,B=$.getSnapshotBeforeUpdate(a.elementType===a.type?Te:Ns(a.type,Te),Yt);$.__reactInternalSnapshotBeforeUpdate=B}break;case 3:var H=a.stateNode.containerInfo;H.nodeType===1?H.textContent="":H.nodeType===9&&H.documentElement&&H.removeChild(H.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(se){zt(a,a.return,se)}if(i=a.sibling,i!==null){i.return=a.return,we=i;break}we=a.return}return Se=db,db=!1,Se}function gu(i,a,d){var m=a.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var y=m=m.next;do{if((y.tag&i)===i){var w=y.destroy;y.destroy=void 0,w!==void 0&&Pg(a,d,w)}y=y.next}while(y!==m)}}function qf(i,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var d=a=a.next;do{if((d.tag&i)===i){var m=d.create;d.destroy=m()}d=d.next}while(d!==a)}}function Rg(i){var a=i.ref;if(a!==null){var d=i.stateNode;switch(i.tag){case 5:i=d;break;default:i=d}typeof a=="function"?a(i):a.current=i}}function fb(i){var a=i.alternate;a!==null&&(i.alternate=null,fb(a)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(a=i.stateNode,a!==null&&(delete a[qs],delete a[iu],delete a[Gm],delete a[sA],delete a[iA])),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}function hb(i){return i.tag===5||i.tag===3||i.tag===4}function pb(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||hb(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Ag(i,a,d){var m=i.tag;if(m===5||m===6)i=i.stateNode,a?d.nodeType===8?d.parentNode.insertBefore(i,a):d.insertBefore(i,a):(d.nodeType===8?(a=d.parentNode,a.insertBefore(i,d)):(a=d,a.appendChild(i)),d=d._reactRootContainer,d!=null||a.onclick!==null||(a.onclick=Sf));else if(m!==4&&(i=i.child,i!==null))for(Ag(i,a,d),i=i.sibling;i!==null;)Ag(i,a,d),i=i.sibling}function Og(i,a,d){var m=i.tag;if(m===5||m===6)i=i.stateNode,a?d.insertBefore(i,a):d.appendChild(i);else if(m!==4&&(i=i.child,i!==null))for(Og(i,a,d),i=i.sibling;i!==null;)Og(i,a,d),i=i.sibling}var Ln=null,Ps=!1;function no(i,a,d){for(d=d.child;d!==null;)mb(i,a,d),d=d.sibling}function mb(i,a,d){if(ir&&typeof ir.onCommitFiberUnmount=="function")try{ir.onCommitFiberUnmount(Ws,d)}catch{}switch(d.tag){case 5:Gn||Nl(d,a);case 6:var m=Ln,y=Ps;Ln=null,no(i,a,d),Ln=m,Ps=y,Ln!==null&&(Ps?(i=Ln,d=d.stateNode,i.nodeType===8?i.parentNode.removeChild(d):i.removeChild(d)):Ln.removeChild(d.stateNode));break;case 18:Ln!==null&&(Ps?(i=Ln,d=d.stateNode,i.nodeType===8?qm(i.parentNode,d):i.nodeType===1&&qm(i,d),Yc(i)):qm(Ln,d.stateNode));break;case 4:m=Ln,y=Ps,Ln=d.stateNode.containerInfo,Ps=!0,no(i,a,d),Ln=m,Ps=y;break;case 0:case 11:case 14:case 15:if(!Gn&&(m=d.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){y=m=m.next;do{var w=y,E=w.destroy;w=w.tag,E!==void 0&&((w&2)!==0||(w&4)!==0)&&Pg(d,a,E),y=y.next}while(y!==m)}no(i,a,d);break;case 1:if(!Gn&&(Nl(d,a),m=d.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=d.memoizedProps,m.state=d.memoizedState,m.componentWillUnmount()}catch(A){zt(d,a,A)}no(i,a,d);break;case 21:no(i,a,d);break;case 22:d.mode&1?(Gn=(m=Gn)||d.memoizedState!==null,no(i,a,d),Gn=m):no(i,a,d);break;default:no(i,a,d)}}function gb(i){var a=i.updateQueue;if(a!==null){i.updateQueue=null;var d=i.stateNode;d===null&&(d=i.stateNode=new bA),a.forEach(function(m){var y=RA.bind(null,i,m);d.has(m)||(d.add(m),m.then(y,y))})}}function Rs(i,a){var d=a.deletions;if(d!==null)for(var m=0;m<d.length;m++){var y=d[m];try{var w=i,E=a,A=E;e:for(;A!==null;){switch(A.tag){case 5:Ln=A.stateNode,Ps=!1;break e;case 3:Ln=A.stateNode.containerInfo,Ps=!0;break e;case 4:Ln=A.stateNode.containerInfo,Ps=!0;break e}A=A.return}if(Ln===null)throw Error(n(160));mb(w,E,y),Ln=null,Ps=!1;var I=y.alternate;I!==null&&(I.return=null),y.return=null}catch(q){zt(y,a,q)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)yb(a,i),a=a.sibling}function yb(i,a){var d=i.alternate,m=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:if(Rs(a,i),Ks(i),m&4){try{gu(3,i,i.return),qf(3,i)}catch(Te){zt(i,i.return,Te)}try{gu(5,i,i.return)}catch(Te){zt(i,i.return,Te)}}break;case 1:Rs(a,i),Ks(i),m&512&&d!==null&&Nl(d,d.return);break;case 5:if(Rs(a,i),Ks(i),m&512&&d!==null&&Nl(d,d.return),i.flags&32){var y=i.stateNode;try{Mn(y,"")}catch(Te){zt(i,i.return,Te)}}if(m&4&&(y=i.stateNode,y!=null)){var w=i.memoizedProps,E=d!==null?d.memoizedProps:w,A=i.type,I=i.updateQueue;if(i.updateQueue=null,I!==null)try{A==="input"&&w.type==="radio"&&w.name!=null&&he(y,w),ns(A,E);var q=ns(A,w);for(E=0;E<I.length;E+=2){var Q=I[E],te=I[E+1];Q==="style"?$n(y,te):Q==="dangerouslySetInnerHTML"?wn(y,te):Q==="children"?Mn(y,te):T(y,Q,te,q)}switch(A){case"input":W(y,w);break;case"textarea":Zt(y,w);break;case"select":var X=y._wrapperState.wasMultiple;y._wrapperState.wasMultiple=!!w.multiple;var pe=w.value;pe!=null?tt(y,!!w.multiple,pe,!1):X!==!!w.multiple&&(w.defaultValue!=null?tt(y,!!w.multiple,w.defaultValue,!0):tt(y,!!w.multiple,w.multiple?[]:"",!1))}y[iu]=w}catch(Te){zt(i,i.return,Te)}}break;case 6:if(Rs(a,i),Ks(i),m&4){if(i.stateNode===null)throw Error(n(162));y=i.stateNode,w=i.memoizedProps;try{y.nodeValue=w}catch(Te){zt(i,i.return,Te)}}break;case 3:if(Rs(a,i),Ks(i),m&4&&d!==null&&d.memoizedState.isDehydrated)try{Yc(a.containerInfo)}catch(Te){zt(i,i.return,Te)}break;case 4:Rs(a,i),Ks(i);break;case 13:Rs(a,i),Ks(i),y=i.child,y.flags&8192&&(w=y.memoizedState!==null,y.stateNode.isHidden=w,!w||y.alternate!==null&&y.alternate.memoizedState!==null||(Dg=Ye())),m&4&&gb(i);break;case 22:if(Q=d!==null&&d.memoizedState!==null,i.mode&1?(Gn=(q=Gn)||Q,Rs(a,i),Gn=q):Rs(a,i),Ks(i),m&8192){if(q=i.memoizedState!==null,(i.stateNode.isHidden=q)&&!Q&&(i.mode&1)!==0)for(we=i,Q=i.child;Q!==null;){for(te=we=Q;we!==null;){switch(X=we,pe=X.child,X.tag){case 0:case 11:case 14:case 15:gu(4,X,X.return);break;case 1:Nl(X,X.return);var Se=X.stateNode;if(typeof Se.componentWillUnmount=="function"){m=X,d=X.return;try{a=m,Se.props=a.memoizedProps,Se.state=a.memoizedState,Se.componentWillUnmount()}catch(Te){zt(m,d,Te)}}break;case 5:Nl(X,X.return);break;case 22:if(X.memoizedState!==null){wb(te);continue}}pe!==null?(pe.return=X,we=pe):wb(te)}Q=Q.sibling}e:for(Q=null,te=i;;){if(te.tag===5){if(Q===null){Q=te;try{y=te.stateNode,q?(w=y.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none"):(A=te.stateNode,I=te.memoizedProps.style,E=I!=null&&I.hasOwnProperty("display")?I.display:null,A.style.display=rr("display",E))}catch(Te){zt(i,i.return,Te)}}}else if(te.tag===6){if(Q===null)try{te.stateNode.nodeValue=q?"":te.memoizedProps}catch(Te){zt(i,i.return,Te)}}else if((te.tag!==22&&te.tag!==23||te.memoizedState===null||te===i)&&te.child!==null){te.child.return=te,te=te.child;continue}if(te===i)break e;for(;te.sibling===null;){if(te.return===null||te.return===i)break e;Q===te&&(Q=null),te=te.return}Q===te&&(Q=null),te.sibling.return=te.return,te=te.sibling}}break;case 19:Rs(a,i),Ks(i),m&4&&gb(i);break;case 21:break;default:Rs(a,i),Ks(i)}}function Ks(i){var a=i.flags;if(a&2){try{e:{for(var d=i.return;d!==null;){if(hb(d)){var m=d;break e}d=d.return}throw Error(n(160))}switch(m.tag){case 5:var y=m.stateNode;m.flags&32&&(Mn(y,""),m.flags&=-33);var w=pb(i);Og(i,w,y);break;case 3:case 4:var E=m.stateNode.containerInfo,A=pb(i);Ag(i,A,E);break;default:throw Error(n(161))}}catch(I){zt(i,i.return,I)}i.flags&=-3}a&4096&&(i.flags&=-4097)}function SA(i,a,d){we=i,vb(i)}function vb(i,a,d){for(var m=(i.mode&1)!==0;we!==null;){var y=we,w=y.child;if(y.tag===22&&m){var E=y.memoizedState!==null||Hf;if(!E){var A=y.alternate,I=A!==null&&A.memoizedState!==null||Gn;A=Hf;var q=Gn;if(Hf=E,(Gn=I)&&!q)for(we=y;we!==null;)E=we,I=E.child,E.tag===22&&E.memoizedState!==null?bb(y):I!==null?(I.return=E,we=I):bb(y);for(;w!==null;)we=w,vb(w),w=w.sibling;we=y,Hf=A,Gn=q}xb(i)}else(y.subtreeFlags&8772)!==0&&w!==null?(w.return=y,we=w):xb(i)}}function xb(i){for(;we!==null;){var a=we;if((a.flags&8772)!==0){var d=a.alternate;try{if((a.flags&8772)!==0)switch(a.tag){case 0:case 11:case 15:Gn||qf(5,a);break;case 1:var m=a.stateNode;if(a.flags&4&&!Gn)if(d===null)m.componentDidMount();else{var y=a.elementType===a.type?d.memoizedProps:Ns(a.type,d.memoizedProps);m.componentDidUpdate(y,d.memoizedState,m.__reactInternalSnapshotBeforeUpdate)}var w=a.updateQueue;w!==null&&ww(a,w,m);break;case 3:var E=a.updateQueue;if(E!==null){if(d=null,a.child!==null)switch(a.child.tag){case 5:d=a.child.stateNode;break;case 1:d=a.child.stateNode}ww(a,E,d)}break;case 5:var A=a.stateNode;if(d===null&&a.flags&4){d=A;var I=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":I.autoFocus&&d.focus();break;case"img":I.src&&(d.src=I.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(a.memoizedState===null){var q=a.alternate;if(q!==null){var Q=q.memoizedState;if(Q!==null){var te=Q.dehydrated;te!==null&&Yc(te)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Gn||a.flags&512&&Rg(a)}catch(X){zt(a,a.return,X)}}if(a===i){we=null;break}if(d=a.sibling,d!==null){d.return=a.return,we=d;break}we=a.return}}function wb(i){for(;we!==null;){var a=we;if(a===i){we=null;break}var d=a.sibling;if(d!==null){d.return=a.return,we=d;break}we=a.return}}function bb(i){for(;we!==null;){var a=we;try{switch(a.tag){case 0:case 11:case 15:var d=a.return;try{qf(4,a)}catch(I){zt(a,d,I)}break;case 1:var m=a.stateNode;if(typeof m.componentDidMount=="function"){var y=a.return;try{m.componentDidMount()}catch(I){zt(a,y,I)}}var w=a.return;try{Rg(a)}catch(I){zt(a,w,I)}break;case 5:var E=a.return;try{Rg(a)}catch(I){zt(a,E,I)}}}catch(I){zt(a,a.return,I)}if(a===i){we=null;break}var A=a.sibling;if(A!==null){A.return=a.return,we=A;break}we=a.return}}var CA=Math.ceil,Gf=N.ReactCurrentDispatcher,Mg=N.ReactCurrentOwner,ls=N.ReactCurrentBatchConfig,lt=0,kn=null,rn=null,Dn=0,$r=0,Pl=Xi(0),pn=0,yu=null,ia=0,Yf=0,Lg=0,vu=null,_r=null,Dg=0,Rl=1/0,_i=null,Kf=!1,Ig=null,ro=null,Jf=!1,so=null,Xf=0,xu=0,Fg=null,Qf=-1,Zf=0;function ar(){return(lt&6)!==0?Ye():Qf!==-1?Qf:Qf=Ye()}function io(i){return(i.mode&1)===0?1:(lt&2)!==0&&Dn!==0?Dn&-Dn:aA.transition!==null?(Zf===0&&(Zf=p1()),Zf):(i=xt,i!==0||(i=window.event,i=i===void 0?16:S1(i.type)),i)}function As(i,a,d,m){if(50<xu)throw xu=0,Fg=null,Error(n(185));$c(i,d,m),((lt&2)===0||i!==kn)&&(i===kn&&((lt&2)===0&&(Yf|=d),pn===4&&oo(i,Dn)),Sr(i,m),d===1&&lt===0&&(a.mode&1)===0&&(Rl=Ye()+500,Ef&&Zi()))}function Sr(i,a){var d=i.callbackNode;aR(i,a);var m=lf(i,i===kn?Dn:0);if(m===0)d!==null&&fn(d),i.callbackNode=null,i.callbackPriority=0;else if(a=m&-m,i.callbackPriority!==a){if(d!=null&&fn(d),a===1)i.tag===0?oA(Sb.bind(null,i)):lw(Sb.bind(null,i)),nA(function(){(lt&6)===0&&Zi()}),d=null;else{switch(m1(m)){case 1:d=vr;break;case 4:d=ul;break;case 16:d=Jo;break;case 536870912:d=Br;break;default:d=Jo}d=Rb(d,_b.bind(null,i))}i.callbackPriority=a,i.callbackNode=d}}function _b(i,a){if(Qf=-1,Zf=0,(lt&6)!==0)throw Error(n(327));var d=i.callbackNode;if(Al()&&i.callbackNode!==d)return null;var m=lf(i,i===kn?Dn:0);if(m===0)return null;if((m&30)!==0||(m&i.expiredLanes)!==0||a)a=eh(i,m);else{a=m;var y=lt;lt|=2;var w=kb();(kn!==i||Dn!==a)&&(_i=null,Rl=Ye()+500,aa(i,a));do try{EA();break}catch(A){Cb(i,A)}while(!0);ng(),Gf.current=w,lt=y,rn!==null?a=0:(kn=null,Dn=0,a=pn)}if(a!==0){if(a===2&&(y=vm(i),y!==0&&(m=y,a=Bg(i,y))),a===1)throw d=yu,aa(i,0),oo(i,m),Sr(i,Ye()),d;if(a===6)oo(i,m);else{if(y=i.current.alternate,(m&30)===0&&!kA(y)&&(a=eh(i,m),a===2&&(w=vm(i),w!==0&&(m=w,a=Bg(i,w))),a===1))throw d=yu,aa(i,0),oo(i,m),Sr(i,Ye()),d;switch(i.finishedWork=y,i.finishedLanes=m,a){case 0:case 1:throw Error(n(345));case 2:la(i,_r,_i);break;case 3:if(oo(i,m),(m&130023424)===m&&(a=Dg+500-Ye(),10<a)){if(lf(i,0)!==0)break;if(y=i.suspendedLanes,(y&m)!==m){ar(),i.pingedLanes|=i.suspendedLanes&y;break}i.timeoutHandle=Hm(la.bind(null,i,_r,_i),a);break}la(i,_r,_i);break;case 4:if(oo(i,m),(m&4194240)===m)break;for(a=i.eventTimes,y=-1;0<m;){var E=31-Ts(m);w=1<<E,E=a[E],E>y&&(y=E),m&=~w}if(m=y,m=Ye()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*CA(m/1960))-m,10<m){i.timeoutHandle=Hm(la.bind(null,i,_r,_i),m);break}la(i,_r,_i);break;case 5:la(i,_r,_i);break;default:throw Error(n(329))}}}return Sr(i,Ye()),i.callbackNode===d?_b.bind(null,i):null}function Bg(i,a){var d=vu;return i.current.memoizedState.isDehydrated&&(aa(i,a).flags|=256),i=eh(i,a),i!==2&&(a=_r,_r=d,a!==null&&Ug(a)),i}function Ug(i){_r===null?_r=i:_r.push.apply(_r,i)}function kA(i){for(var a=i;;){if(a.flags&16384){var d=a.updateQueue;if(d!==null&&(d=d.stores,d!==null))for(var m=0;m<d.length;m++){var y=d[m],w=y.getSnapshot;y=y.value;try{if(!Es(w(),y))return!1}catch{return!1}}}if(d=a.child,a.subtreeFlags&16384&&d!==null)d.return=a,a=d;else{if(a===i)break;for(;a.sibling===null;){if(a.return===null||a.return===i)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function oo(i,a){for(a&=~Lg,a&=~Yf,i.suspendedLanes|=a,i.pingedLanes&=~a,i=i.expirationTimes;0<a;){var d=31-Ts(a),m=1<<d;i[d]=-1,a&=~m}}function Sb(i){if((lt&6)!==0)throw Error(n(327));Al();var a=lf(i,0);if((a&1)===0)return Sr(i,Ye()),null;var d=eh(i,a);if(i.tag!==0&&d===2){var m=vm(i);m!==0&&(a=m,d=Bg(i,m))}if(d===1)throw d=yu,aa(i,0),oo(i,a),Sr(i,Ye()),d;if(d===6)throw Error(n(345));return i.finishedWork=i.current.alternate,i.finishedLanes=a,la(i,_r,_i),Sr(i,Ye()),null}function zg(i,a){var d=lt;lt|=1;try{return i(a)}finally{lt=d,lt===0&&(Rl=Ye()+500,Ef&&Zi())}}function oa(i){so!==null&&so.tag===0&&(lt&6)===0&&Al();var a=lt;lt|=1;var d=ls.transition,m=xt;try{if(ls.transition=null,xt=1,i)return i()}finally{xt=m,ls.transition=d,lt=a,(lt&6)===0&&Zi()}}function Vg(){$r=Pl.current,Nt(Pl)}function aa(i,a){i.finishedWork=null,i.finishedLanes=0;var d=i.timeoutHandle;if(d!==-1&&(i.timeoutHandle=-1,tA(d)),rn!==null)for(d=rn.return;d!==null;){var m=d;switch(Xm(m),m.tag){case 1:m=m.type.childContextTypes,m!=null&&kf();break;case 3:El(),Nt(xr),Nt(Wn),ug();break;case 5:lg(m);break;case 4:El();break;case 13:Nt(Lt);break;case 19:Nt(Lt);break;
vendor: 6,481 bytes, line 40
40case 10:rg(m.type._context);break;case 22:case 23:Vg()}d=d.return}if(kn=i,rn=i=ao(i.current,null),Dn=$r=a,pn=0,yu=null,Lg=Yf=ia=0,_r=vu=null,na!==null){for(a=0;a<na.length;a++)if(d=na[a],m=d.interleaved,m!==null){d.interleaved=null;var y=m.next,w=d.pending;if(w!==null){var E=w.next;w.next=y,m.next=E}d.pending=m}na=null}return i}function Cb(i,a){do{var d=rn;try{if(ng(),If.current=zf,Ff){for(var m=Dt.memoizedState;m!==null;){var y=m.queue;y!==null&&(y.pending=null),m=m.next}Ff=!1}if(sa=0,Cn=hn=Dt=null,du=!1,fu=0,Mg.current=null,d===null||d.return===null){pn=1,yu=a,rn=null;break}e:{var w=i,E=d.return,A=d,I=a;if(a=Dn,A.flags|=32768,I!==null&&typeof I=="object"&&typeof I.then=="function"){var q=I,Q=A,te=Q.tag;if((Q.mode&1)===0&&(te===0||te===11||te===15)){var X=Q.alternate;X?(Q.updateQueue=X.updateQueue,Q.memoizedState=X.memoizedState,Q.lanes=X.lanes):(Q.updateQueue=null,Q.memoizedState=null)}var pe=Kw(E);if(pe!==null){pe.flags&=-257,Jw(pe,E,A,w,a),pe.mode&1&&Yw(w,q,a),a=pe,I=q;var Se=a.updateQueue;if(Se===null){var Te=new Set;Te.add(I),a.updateQueue=Te}else Se.add(I);break e}else{if((a&1)===0){Yw(w,q,a),$g();break e}I=Error(n(426))}}else if(At&&A.mode&1){var Yt=Kw(E);if(Yt!==null){(Yt.flags&65536)===0&&(Yt.flags|=256),Jw(Yt,E,A,w,a),eg(jl(I,A));break e}}w=I=jl(I,A),pn!==4&&(pn=2),vu===null?vu=[w]:vu.push(w),w=E;do{switch(w.tag){case 3:w.flags|=65536,a&=-a,w.lanes|=a;var $=qw(w,I,a);xw(w,$);break e;case 1:A=I;var B=w.type,H=w.stateNode;if((w.flags&128)===0&&(typeof B.getDerivedStateFromError=="function"||H!==null&&typeof H.componentDidCatch=="function"&&(ro===null||!ro.has(H)))){w.flags|=65536,a&=-a,w.lanes|=a;var se=Gw(w,A,a);xw(w,se);break e}}w=w.return}while(w!==null)}Eb(d)}catch(Ee){a=Ee,rn===d&&d!==null&&(rn=d=d.return);continue}break}while(!0)}function kb(){var i=Gf.current;return Gf.current=zf,i===null?zf:i}function $g(){(pn===0||pn===3||pn===2)&&(pn=4),kn===null||(ia&268435455)===0&&(Yf&268435455)===0||oo(kn,Dn)}function eh(i,a){var d=lt;lt|=2;var m=kb();(kn!==i||Dn!==a)&&(_i=null,aa(i,a));do try{TA();break}catch(y){Cb(i,y)}while(!0);if(ng(),lt=d,Gf.current=m,rn!==null)throw Error(n(261));return kn=null,Dn=0,pn}function TA(){for(;rn!==null;)Tb(rn)}function EA(){for(;rn!==null&&!pi();)Tb(rn)}function Tb(i){var a=Pb(i.alternate,i,$r);i.memoizedProps=i.pendingProps,a===null?Eb(i):rn=a,Mg.current=null}function Eb(i){var a=i;do{var d=a.alternate;if(i=a.return,(a.flags&32768)===0){if(d=xA(d,a,$r),d!==null){rn=d;return}}else{if(d=wA(d,a),d!==null){d.flags&=32767,rn=d;return}if(i!==null)i.flags|=32768,i.subtreeFlags=0,i.deletions=null;else{pn=6,rn=null;return}}if(a=a.sibling,a!==null){rn=a;return}rn=a=i}while(a!==null);pn===0&&(pn=5)}function la(i,a,d){var m=xt,y=ls.transition;try{ls.transition=null,xt=1,jA(i,a,d,m)}finally{ls.transition=y,xt=m}return null}function jA(i,a,d,m){do Al();while(so!==null);if((lt&6)!==0)throw Error(n(327));d=i.finishedWork;var y=i.finishedLanes;if(d===null)return null;if(i.finishedWork=null,i.finishedLanes=0,d===i.current)throw Error(n(177));i.callbackNode=null,i.callbackPriority=0;var w=d.lanes|d.childLanes;if(lR(i,w),i===kn&&(rn=kn=null,Dn=0),(d.subtreeFlags&2064)===0&&(d.flags&2064)===0||Jf||(Jf=!0,Rb(Jo,function(){return Al(),null})),w=(d.flags&15990)!==0,(d.subtreeFlags&15990)!==0||w){w=ls.transition,ls.transition=null;var E=xt;xt=1;var A=lt;lt|=4,Mg.current=null,_A(i,d),yb(d,i),YR($m),df=!!Vm,$m=Vm=null,i.current=d,SA(d),cl(),lt=A,xt=E,ls.transition=w}else i.current=d;if(Jf&&(Jf=!1,so=i,Xf=y),w=i.pendingLanes,w===0&&(ro=null),Hs(d.stateNode),Sr(i,Ye()),a!==null)for(m=i.onRecoverableError,d=0;d<a.length;d++)y=a[d],m(y.value,{componentStack:y.stack,digest:y.digest});if(Kf)throw Kf=!1,i=Ig,Ig=null,i;return(Xf&1)!==0&&i.tag!==0&&Al(),w=i.pendingLanes,(w&1)!==0?i===Fg?xu++:(xu=0,Fg=i):xu=0,Zi(),null}function Al(){if(so!==null){var i=m1(Xf),a=ls.transition,d=xt;try{if(ls.transition=null,xt=16>i?16:i,so===null)var m=!1;else{if(i=so,so=null,Xf=0,(lt&6)!==0)throw Error(n(331));var y=lt;for(lt|=4,we=i.current;we!==null;){var w=we,E=w.child;if((we.flags&16)!==0){var A=w.deletions;if(A!==null){for(var I=0;I<A.length;I++){var q=A[I];for(we=q;we!==null;){var Q=we;switch(Q.tag){case 0:case 11:case 15:gu(8,Q,w)}var te=Q.child;if(te!==null)te.return=Q,we=te;else for(;we!==null;){Q=we;var X=Q.sibling,pe=Q.return;if(fb(Q),Q===q){we=null;break}if(X!==null){X.return=pe,we=X;break}we=pe}}}var Se=w.alternate;if(Se!==null){var Te=Se.child;if(Te!==null){Se.child=null;do{var Yt=Te.sibling;Te.sibling=null,Te=Yt}while(Te!==null)}}we=w}}if((w.subtreeFlags&2064)!==0&&E!==null)E.return=w,we=E;else e:for(;we!==null;){if(w=we,(w.flags&2048)!==0)switch(w.tag){case 0:case 11:case 15:gu(9,w,w.return)}var $=w.sibling;if($!==null){$.return=w.return,we=$;break e}we=w.return}}var B=i.current;for(we=B;we!==null;){E=we;var H=E.child;if((E.subtreeFlags&2064)!==0&&H!==null)H.return=E,we=H;else e:for(E=B;we!==null;){if(A=we,(A.flags&2048)!==0)try{switch(A.tag){case 0:case 11:case 15:qf(9,A)}}catch(Ee){zt(A,A.return,Ee)}if(A===E){we=null;break e}var se=A.sibling;if(se!==null){se.return=A.return,we=se;break e}we=A.return}}if(lt=y,Zi(),ir&&typeof ir.onPostCommitFiberRoot=="function")try{ir.onPostCommitFiberRoot(Ws,i)}catch{}m=!0}return m}finally{xt=d,ls.transition=a}}return!1}function jb(i,a,d){a=jl(d,a),a=qw(i,a,1),i=to(i,a,1),a=ar(),i!==null&&($c(i,1,a),Sr(i,a))}function zt(i,a,d){if(i.tag===3)jb(i,i,d);else for(;a!==null;){if(a.tag===3){jb(a,i,d);break}else if(a.tag===1){var m=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(ro===null||!ro.has(m))){i=jl(d,i),i=Gw(a,i,1),a=to(a,i,1),i=ar(),a!==null&&($c(a,1,i),Sr(a,i));break}}a=a.return}}function NA(i,a,d){var m=i.pingCache;m!==null&&m.delete(a),a=ar(),i.pingedLanes|=i.suspendedLanes&d,kn===i&&(Dn&d)===d&&(pn===4||pn===3&&(Dn&130023424)===Dn&&500>Ye()-Dg?aa(i,0):Lg|=d),Sr(i,a)}function Nb(i,a){a===0&&((i.mode&1)===0?a=1:(a=af,af<<=1,(af&130023424)===0&&(af=4194304)));var d=ar();i=xi(i,a),i!==null&&($c(i,a,d),Sr(i,d))}function PA(i){var a=i.memoizedState,d=0;a!==null&&(d=a.retryLane),Nb(i,d)}function RA(i,a){var d=0;switch(i.tag){case 13:var m=i.stateNode,y=i.memoizedState;y!==null&&(d=y.retryLane);break;case 19:m=i.stateNode;break;default:throw Error(n(314))}m!==null&&m.delete(a),Nb(i,d)}var Pb;Pb=function(i,a,d){if(i!==null)if(i.memoizedProps!==a.pendingProps||xr.current)br=!0;else{if((i.lanes&d)===0&&(a.flags&128)===0)return br=!1,vA(i,a,d);br=(i.flags&131072)!==0}
vendor: 13,509 bytes, line 40
40else br=!1,At&&(a.flags&1048576)!==0&&cw(a,Nf,a.index);switch(a.lanes=0,a.tag){case 2:var m=a.type;Wf(i,a),i=a.pendingProps;var y=wl(a,Wn.current);Tl(a,d),y=hg(null,a,m,i,y,d);var w=pg();return a.flags|=1,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,wr(m)?(w=!0,Tf(a)):w=!1,a.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,og(a),y.updater=Vf,a.stateNode=y,y._reactInternals=a,wg(a,m,i,d),a=Cg(null,a,m,!0,w,d)):(a.tag=0,At&&w&&Jm(a),or(null,a,y,d),a=a.child),a;case 16:m=a.elementType;e:{switch(Wf(i,a),i=a.pendingProps,y=m._init,m=y(m._payload),a.type=m,y=a.tag=OA(m),i=Ns(m,i),y){case 0:a=Sg(null,a,m,i,d);break e;case 1:a=nb(null,a,m,i,d);break e;case 11:a=Xw(null,a,m,i,d);break e;case 14:a=Qw(null,a,m,Ns(m.type,i),d);break e}throw Error(n(306,m,""))}return a;case 0:return m=a.type,y=a.pendingProps,y=a.elementType===m?y:Ns(m,y),Sg(i,a,m,y,d);case 1:return m=a.type,y=a.pendingProps,y=a.elementType===m?y:Ns(m,y),nb(i,a,m,y,d);case 3:e:{if(rb(a),i===null)throw Error(n(387));m=a.pendingProps,w=a.memoizedState,y=w.element,vw(i,a),Lf(a,m,null,d);var E=a.memoizedState;if(m=E.element,w.isDehydrated)if(w={element:m,isDehydrated:!1,cache:E.cache,pendingSuspenseBoundaries:E.pendingSuspenseBoundaries,transitions:E.transitions},a.updateQueue.baseState=w,a.memoizedState=w,a.flags&256){y=jl(Error(n(423)),a),a=sb(i,a,m,d,y);break e}else if(m!==y){y=jl(Error(n(424)),a),a=sb(i,a,m,d,y);break e}else for(Vr=Ji(a.stateNode.containerInfo.firstChild),zr=a,At=!0,js=null,d=gw(a,null,m,d),a.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling;else{if(Sl(),m===y){a=bi(i,a,d);break e}or(i,a,m,d)}a=a.child}return a;case 5:return bw(a),i===null&&Zm(a),m=a.type,y=a.pendingProps,w=i!==null?i.memoizedProps:null,E=y.children,Wm(m,y)?E=null:w!==null&&Wm(m,w)&&(a.flags|=32),tb(i,a),or(i,a,E,d),a.child;case 6:return i===null&&Zm(a),null;case 13:return ib(i,a,d);case 4:return ag(a,a.stateNode.containerInfo),m=a.pendingProps,i===null?a.child=Cl(a,null,m,d):or(i,a,m,d),a.child;case 11:return m=a.type,y=a.pendingProps,y=a.elementType===m?y:Ns(m,y),Xw(i,a,m,y,d);case 7:return or(i,a,a.pendingProps,d),a.child;case 8:return or(i,a,a.pendingProps.children,d),a.child;case 12:return or(i,a,a.pendingProps.children,d),a.child;case 10:e:{if(m=a.type._context,y=a.pendingProps,w=a.memoizedProps,E=y.value,kt(Af,m._currentValue),m._currentValue=E,w!==null)if(Es(w.value,E)){if(w.children===y.children&&!xr.current){a=bi(i,a,d);break e}}else for(w=a.child,w!==null&&(w.return=a);w!==null;){var A=w.dependencies;if(A!==null){E=w.child;for(var I=A.firstContext;I!==null;){if(I.context===m){if(w.tag===1){I=wi(-1,d&-d),I.tag=2;var q=w.updateQueue;if(q!==null){q=q.shared;var Q=q.pending;Q===null?I.next=I:(I.next=Q.next,Q.next=I),q.pending=I}}w.lanes|=d,I=w.alternate,I!==null&&(I.lanes|=d),sg(w.return,d,a),A.lanes|=d;break}I=I.next}}else if(w.tag===10)E=w.type===a.type?null:w.child;else if(w.tag===18){if(E=w.return,E===null)throw Error(n(341));E.lanes|=d,A=E.alternate,A!==null&&(A.lanes|=d),sg(E,d,a),E=w.sibling}else E=w.child;if(E!==null)E.return=w;else for(E=w;E!==null;){if(E===a){E=null;break}if(w=E.sibling,w!==null){w.return=E.return,E=w;break}E=E.return}w=E}or(i,a,y.children,d),a=a.child}return a;case 9:return y=a.type,m=a.pendingProps.children,Tl(a,d),y=os(y),m=m(y),a.flags|=1,or(i,a,m,d),a.child;case 14:return m=a.type,y=Ns(m,a.pendingProps),y=Ns(m.type,y),Qw(i,a,m,y,d);case 15:return Zw(i,a,a.type,a.pendingProps,d);case 17:return m=a.type,y=a.pendingProps,y=a.elementType===m?y:Ns(m,y),Wf(i,a),a.tag=1,wr(m)?(i=!0,Tf(a)):i=!1,Tl(a,d),Ww(a,m,y),wg(a,m,y,d),Cg(null,a,m,!0,i,d);case 19:return ab(i,a,d);case 22:return eb(i,a,d)}throw Error(n(156,a.tag))};function Rb(i,a){return nn(i,a)}function AA(i,a,d,m){this.tag=i,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function cs(i,a,d,m){return new AA(i,a,d,m)}function Wg(i){return i=i.prototype,!(!i||!i.isReactComponent)}function OA(i){if(typeof i=="function")return Wg(i)?1:0;if(i!=null){if(i=i.$$typeof,i===K)return 11;if(i===me)return 14}return 2}function ao(i,a){var d=i.alternate;return d===null?(d=cs(i.tag,a,i.key,i.mode),d.elementType=i.elementType,d.type=i.type,d.stateNode=i.stateNode,d.alternate=i,i.alternate=d):(d.pendingProps=a,d.type=i.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=i.flags&14680064,d.childLanes=i.childLanes,d.lanes=i.lanes,d.child=i.child,d.memoizedProps=i.memoizedProps,d.memoizedState=i.memoizedState,d.updateQueue=i.updateQueue,a=i.dependencies,d.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},d.sibling=i.sibling,d.index=i.index,d.ref=i.ref,d}function th(i,a,d,m,y,w){var E=2;if(m=i,typeof i=="function")Wg(i)&&(E=1);else if(typeof i=="string")E=5;else e:switch(i){case M:return ca(d.children,y,w,a);case O:E=8,y|=8;break;case z:return i=cs(12,d,a,y|2),i.elementType=z,i.lanes=w,i;case ie:return i=cs(13,d,a,y),i.elementType=ie,i.lanes=w,i;case ae:return i=cs(19,d,a,y),i.elementType=ae,i.lanes=w,i;case J:return nh(d,y,w,a);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case V:E=10;break e;case ne:E=9;break e;case K:E=11;break e;case me:E=14;break e;case re:E=16,m=null;break e}throw Error(n(130,i==null?i:typeof i,""))}return a=cs(E,d,a,y),a.elementType=i,a.type=m,a.lanes=w,a}function ca(i,a,d,m){return i=cs(7,i,m,a),i.lanes=d,i}function nh(i,a,d,m){return i=cs(22,i,m,a),i.elementType=J,i.lanes=d,i.stateNode={isHidden:!1},i}function Hg(i,a,d){return i=cs(6,i,null,a),i.lanes=d,i}function qg(i,a,d){return a=cs(4,i.children!==null?i.children:[],i.key,a),a.lanes=d,a.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},a}function MA(i,a,d,m,y){this.tag=a,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=xm(0),this.expirationTimes=xm(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xm(0),this.identifierPrefix=m,this.onRecoverableError=y,this.mutableSourceEagerHydrationData=null}function Gg(i,a,d,m,y,w,E,A,I){return i=new MA(i,a,d,A,I),a===1?(a=1,w===!0&&(a|=8)):a=0,w=cs(3,null,null,a),i.current=w,w.stateNode=i,w.memoizedState={element:m,isDehydrated:d,cache:null,transitions:null,pendingSuspenseBoundaries:null},og(w),i}function LA(i,a,d){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:D,key:m==null?null:""+m,children:i,containerInfo:a,implementation:d}}function Ab(i){if(!i)return Qi;i=i._reactInternals;e:{if(nt(i)!==i||i.tag!==1)throw Error(n(170));var a=i;do{switch(a.tag){case 3:a=a.stateNode.context;break e;case 1:if(wr(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}}a=a.return}while(a!==null);throw Error(n(171))}if(i.tag===1){var d=i.type;if(wr(d))return ow(i,d,a)}return a}function Ob(i,a,d,m,y,w,E,A,I){return i=Gg(d,m,!0,i,y,w,E,A,I),i.context=Ab(null),d=i.current,m=ar(),y=io(d),w=wi(m,y),w.callback=a??null,to(d,w,y),i.current.lanes=y,$c(i,y,m),Sr(i,m),i}function rh(i,a,d,m){var y=a.current,w=ar(),E=io(y);return d=Ab(d),a.context===null?a.context=d:a.pendingContext=d,a=wi(w,E),a.payload={element:i},m=m===void 0?null:m,m!==null&&(a.callback=m),i=to(y,a,E),i!==null&&(As(i,y,E,w),Mf(i,y,E)),E}function sh(i){if(i=i.current,!i.child)return null;switch(i.child.tag){case 5:return i.child.stateNode;default:return i.child.stateNode}}function Mb(i,a){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var d=i.retryLane;i.retryLane=d!==0&&d<a?d:a}}function Yg(i,a){Mb(i,a),(i=i.alternate)&&Mb(i,a)}function DA(){return null}var Lb=typeof reportError=="function"?reportError:function(i){console.error(i)};function Kg(i){this._internalRoot=i}ih.prototype.render=Kg.prototype.render=function(i){var a=this._internalRoot;if(a===null)throw Error(n(409));rh(i,a,null,null)},ih.prototype.unmount=Kg.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var a=i.containerInfo;oa(function(){rh(null,i,null,null)}),a[mi]=null}};function ih(i){this._internalRoot=i}ih.prototype.unstable_scheduleHydration=function(i){if(i){var a=v1();i={blockedOn:null,target:i,priority:a};for(var d=0;d<Gi.length&&a!==0&&a<Gi[d].priority;d++);Gi.splice(d,0,i),d===0&&b1(i)}};function Jg(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function oh(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function Db(){}function IA(i,a,d,m,y){if(y){if(typeof m=="function"){var w=m;m=function(){var q=sh(E);w.call(q)}}var E=Ob(a,m,i,0,null,!1,!1,"",Db);return i._reactRootContainer=E,i[mi]=E.current,ru(i.nodeType===8?i.parentNode:i),oa(),E}for(;y=i.lastChild;)i.removeChild(y);if(typeof m=="function"){var A=m;m=function(){var q=sh(I);A.call(q)}}var I=Gg(i,0,!1,null,null,!1,!1,"",Db);return i._reactRootContainer=I,i[mi]=I.current,ru(i.nodeType===8?i.parentNode:i),oa(function(){rh(a,I,d,m)}),I}function ah(i,a,d,m,y){var w=d._reactRootContainer;if(w){var E=w;if(typeof y=="function"){var A=y;y=function(){var I=sh(E);A.call(I)}}rh(a,E,i,y)}else E=IA(d,a,i,y,m);return sh(E)}g1=function(i){switch(i.tag){case 3:var a=i.stateNode;if(a.current.memoizedState.isDehydrated){var d=Vc(a.pendingLanes);d!==0&&(wm(a,d|1),Sr(a,Ye()),(lt&6)===0&&(Rl=Ye()+500,Zi()))}break;case 13:oa(function(){var m=xi(i,1);if(m!==null){var y=ar();As(m,i,1,y)}}),Yg(i,1)}},bm=function(i){if(i.tag===13){var a=xi(i,134217728);if(a!==null){var d=ar();As(a,i,134217728,d)}Yg(i,134217728)}},y1=function(i){if(i.tag===13){var a=io(i),d=xi(i,a);if(d!==null){var m=ar();As(d,i,a,m)}Yg(i,a)}},v1=function(){return xt},x1=function(i,a){var d=xt;try{return xt=i,a()}finally{xt=d}},ks=function(i,a,d){switch(a){case"input":if(W(i,d),a=d.name,d.type==="radio"&&a!=null){for(d=i;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),a=0;a<d.length;a++){var m=d[a];if(m!==i&&m.form===i.form){var y=Cf(m);if(!y)throw Error(n(90));Qe(m),W(m,y)}}}break;case"textarea":Zt(i,d);break;case"select":a=d.value,a!=null&&tt(i,!!d.multiple,a,!1)}},rs=zg,$i=oa;var FA={usingClientEntryPoint:!1,Events:[ou,vl,Cf,$s,hi,zg]},wu={findFiberByHostInstance:Qo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},BA={bundleType:wu.bundleType,version:wu.version,rendererPackageName:wu.rendererPackageName,rendererConfig:wu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return i=Fr(i),i===null?null:i.stateNode},findFiberByHostInstance:wu.findFiberByHostInstance||DA,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var lh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lh.isDisabled&&lh.supportsFiber)try{Ws=lh.inject(BA),ir=lh}catch{}}return Cr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=FA,Cr.createPortal=function(i,a){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Jg(a))throw Error(n(200));return LA(i,a,null,d)},Cr.createRoot=function(i,a){if(!Jg(i))throw Error(n(299));var d=!1,m="",y=Lb;return a!=null&&(a.unstable_strictMode===!0&&(d=!0),a.identifierPrefix!==void 0&&(m=a.identifierPrefix),a.onRecoverableError!==void 0&&(y=a.onRecoverableError)),a=Gg(i,1,!1,null,null,d,!1,m,y),i[mi]=a.current,ru(i.nodeType===8?i.parentNode:i),new Kg(a)},Cr.findDOMNode=function(i){if(i==null)return null;if(i.nodeType===1)return i;var a=i._reactInternals;if(a===void 0)throw typeof i.render=="function"?Error(n(188)):(i=Object.keys(i).join(","),Error(n(268,i)));return i=Fr(a),i=i===null?null:i.stateNode,i},Cr.flushSync=function(i){return oa(i)},Cr.hydrate=function(i,a,d){if(!oh(a))throw Error(n(200));return ah(null,i,a,!0,d)},Cr.hydrateRoot=function(i,a,d){if(!Jg(i))throw Error(n(405));var m=d!=null&&d.hydratedSources||null,y=!1,w="",E=Lb;if(d!=null&&(d.unstable_strictMode===!0&&(y=!0),d.identifierPrefix!==void 0&&(w=d.identifierPrefix),d.onRecoverableError!==void 0&&(E=d.onRecoverableError)),a=Ob(a,null,i,1,d??null,y,!1,w,E),i[mi]=a.current,ru(i),m)for(i=0;i<m.length;i++)d=m[i],y=d._getVersion,y=y(d._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[d,y]:a.mutableSourceEagerHydrationData.push(d,y);return new ih(a)},Cr.render=function(i,a,d){if(!oh(a))throw Error(n(200));return ah(null,i,a,!1,d)},Cr.unmountComponentAtNode=function(i){if(!oh(i))throw Error(n(40));return i._reactRootContainer?(oa(function(){ah(null,null,i,!1,function(){i._reactRootContainer=null,i[mi]=null})}),!0):!1},Cr.unstable_batchedUpdates=zg,Cr.unstable_renderSubtreeIntoContainer=function(i,a,d,m){if(!oh(d))throw Error(n(200));if(i==null||i._reactInternals===void 0)throw Error(n(38));return ah(i,a,d,!1,m)}
40,Cr.version="18.3.1-next-f1338f8080-20240426",Cr}var Hb;function ok(){if(Hb)return ey.exports;Hb=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),ey.exports=JA(),ey.exports}var qb;function XA(){if(qb)return uh;qb=1;var t=ok();return uh.createRoot=t.createRoot,uh.hydrateRoot=t.hydrateRoot,uh}var QA=XA();const ZA=wv(QA),e4=20,t4=1e6,Ri={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let ry=0;function n4(){return ry=(ry+1)%Number.MAX_VALUE,ry.toString()}const sy=new Map,Gb=t=>{if(sy.has(t))return;const e=setTimeout(()=>{sy.delete(t),Yu({type:Ri.REMOVE_TOAST,toastId:t})},t4);sy.set(t,e)},r4=(t,e)=>{switch(e.type){case Ri.ADD_TOAST:return{...t,toasts:[e.toast,...t.toasts].slice(0,e4)};case Ri.UPDATE_TOAST:return{...t,toasts:t.toasts.map(n=>n.id===e.toast.id?{...n,...e.toast}:n)};case Ri.DISMISS_TOAST:{const{toastId:n}=e;return n?Gb(n):t.toasts.forEach(r=>{Gb(r.id)}),{...t,toasts:t.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case Ri.REMOVE_TOAST:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(n=>n.id!==e.toastId)}}},qh=[];let Gh={toasts:[]};function Yu(t){Gh=r4(Gh,t),qh.forEach(e=>{e(Gh)})}function ak({...t}){const e=n4(),n=s=>Yu({type:Ri.UPDATE_TOAST,toast:{...s,id:e}}),r=()=>Yu({type:Ri.DISMISS_TOAST,toastId:e});return Yu({type:Ri.ADD_TOAST,toast:{...t,id:e,open:!0,onOpenChange:s=>{s||r()}}}),{id:e,dismiss:r,update:n}}function s4(){const[t,e]=S.useState(Gh);return S.useEffect(()=>(qh.push(e),()=>{const n=qh.indexOf(e);n>-1&&qh.splice(n,1)}),[t]),{...t,toast:ak,dismiss:n=>Yu({type:Ri.DISMISS_TOAST,toastId:n})}}function lk(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;e<s;e++)t[e]&&(n=lk(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function ck(){for(var t,e,n=0,r="",s=arguments.length;n<s;n++)(t=arguments[n])&&(e=lk(t))&&(r&&(r+=" "),r+=e);return r}const Yb=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Kb=ck,_v=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return Kb(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:o}=e,l=Object.keys(s).map(h=>{const p=n==null?void 0:n[h],g=o==null?void 0:o[h];if(p===null)return null;const v=Yb(p)||Yb(g);return s[h][v]}),c=n&&Object.entries(n).reduce((h,p)=>{let[g,v]=p;return v===void 0||(h[g]=v),h},{}),f=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((h,p)=>{let{class:g,className:v,...x}=p;return Object.entries(x).every(k=>{let[b,_]=k;return Array.isArray(_)?_.includes({...o,...c}[b]):{...o,...c}[b]===_})?[...h,g,v]:h},[]);return Kb(t,l,f,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.475.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 i4=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),uk=(...t)=>t.filter((e,n,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===n).join(" ").trim();/**
46 * @license lucide-react v0.475.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 o4={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.475.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 a4=S.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:o,iconNode:l,...c},f)=>S.createElement("svg",{ref:f,...o4,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:uk("lucide",s),...c},[...l.map(([h,p])=>S.createElement(h,p)),...Array.isArray(o)?o:[o]]));/**
56 * @license lucide-react v0.475.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 Oe=(t,e)=>{const n=S.forwardRef(({className:r,...s},o)=>S.createElement(a4,{ref:o,iconNode:e,className:uk(`lucide-${i4(t)}`,r),...s}));return n.displayName=`${t}`,n};/**
61 * @license lucide-react v0.475.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 l4=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Sv=Oe("ArrowLeft",l4);/**
66 * @license lucide-react v0.475.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 c4=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],qt=Oe("ArrowRight",c4);/**
71 * @license lucide-react v0.475.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 u4=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],d4=Oe("ArrowUpRight",u4);/**
76 * @license lucide-react v0.475.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 f4=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],Yp=Oe("Atom",f4);/**
81 * @license lucide-react v0.475.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 h4=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Kp=Oe("Award",h4);/**
86 * @license lucide-react v0.475.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 p4=[["rect",{x:"14",y:"14",width:"4",height:"6",rx:"2",key:"p02svl"}],["rect",{x:"6",y:"4",width:"4",height:"6",rx:"2",key:"xm4xkj"}],["path",{d:"M6 20h4",key:"1i6q5t"}],["path",{d:"M14 10h4",key:"ru81e7"}],["path",{d:"M6 14h2v6",key:"16z9wg"}],["path",{d:"M14 4h2v6",key:"1idq9u"}]],Cv=Oe("Binary",p4);/**
91 * @license lucide-react v0.475.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 m4=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],dk=Oe("BookOpen",m4);/**
96 * @license lucide-react v0.475.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 g4=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],Ac=Oe("Briefcase",g4);/**
101 * @license lucide-react v0.475.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 y4=[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
105],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]],v4=Oe("Building2",y4);/**
106 * @license lucide-react v0.475.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 x4=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]],fk=Oe("Building",x4);/**
111 * @license lucide-react v0.475.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 w4=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]],b4=Oe("CalendarDays",w4);/**
116 * @license lucide-react v0.475.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 _4=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],Oc=Oe("Calendar",_4);/**
121 * @license lucide-react v0.475.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 S4=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],C4=Oe("ChartColumn",S4);/**
126 * @license lucide-react v0.475.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 k4=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],T4=Oe("ChevronDown",k4);/**
131 * @license lucide-react v0.475.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 E4=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],j4=Oe("ChevronLeft",E4);/**
136 * @license lucide-react v0.475.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 N4=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],P4=Oe("ChevronRight",N4);/**
141 * @license lucide-react v0.475.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 R4=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],hk=Oe("CircleCheckBig",R4);/**
146 * @license lucide-react v0.475.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 A4=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],pk=Oe("CircleCheck",A4);/**
151 * @license lucide-react v0.475.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 O4=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],M4=Oe("CircleHelp",O4);/**
156 * @license lucide-react v0.475.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 L4=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M11 9h4a2 2 0 0 0 2-2V3",key:"1ve2rv"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"M7 21v-4a2 2 0 0 1 2-2h4",key:"1fwkro"}],["circle",{cx:"15",cy:"15",r:"2",key:"3i40o0"}]],kv=Oe("CircuitBoard",L4);
160/**
161 * @license lucide-react v0.475.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 D4=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],t0=Oe("Clock",D4);/**
166 * @license lucide-react v0.475.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 I4=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],F4=Oe("Compass",I4);/**
171 * @license lucide-react v0.475.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const B4=[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
175],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]],Jp=Oe("Cpu",B4);/**
176 * @license lucide-react v0.475.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const U4=[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]],Tv=Oe("Dna",U4);/**
181 * @license lucide-react v0.475.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const z4=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Ev=Oe("ExternalLink",z4);/**
186 * @license lucide-react v0.475.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const V4=[["path",{d:"M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"159hny"}],["path",{d:"M17 18h1",key:"uldtlt"}],["path",{d:"M12 18h1",key:"s9uhes"}],["path",{d:"M7 18h1",key:"1neino"}]],jv=Oe("Factory",V4);/**
191 * @license lucide-react v0.475.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const $4=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Nv=Oe("FileText",$4);/**
196 * @license lucide-react v0.475.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const W4=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],H4=Oe("FlaskConical",W4);/**
201 * @license lucide-react v0.475.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const q4=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Ku=Oe("Globe",q4);/**
206 * @license lucide-react v0.475.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const G4=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],md=Oe("GraduationCap",G4);/**
211 * @license lucide-react v0.475.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const Y4=[["path",{d:"M11 14h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16",key:"1ifwr1"}],["path",{d:"m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"17abbs"}],["path",{d:"m2 15 6 6",key:"10dquu"}],["path",{d:"M19.5 8.5c.7-.7 1.5-1.6 1.5-2.7A2.73 2.73 0 0 0 16 4a2.78 2.78 0 0 0-5 1.8c0 1.2.8 2 1.5 2.8L16 12Z",key:"1h3036"}]],K4=Oe("HandHeart",Y4);/**
216 * @license lucide-react v0.475.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const J4=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"1uw2ng"}]],Xp=Oe("HeartPulse",J4);/**
221 * @license lucide-react v0.475.0 - ISC
222 *
223 * This source code is licensed under the ISC license.
224 * See the LICENSE file in the root directory of this source tree.
225 */const X4=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]],mk=Oe("Heart",X4);/**
226 * @license lucide-react v0.475.0 - ISC
227 *
228 * This source code is licensed under the ISC license.
229 * See the LICENSE file in the root directory of this source tree.
230 */const Q4=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Z4=Oe("Info",Q4);/**
231 * @license lucide-react v0.475.0 - ISC
232 *
233 * This source code is licensed under the ISC license.
234 * See the LICENSE file in the root directory of this source tree.
235 */const eO=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],gk=Oe("Instagram",eO);/**
236 * @license lucide-react v0.475.0 - ISC
237 *
238 * This source code is licensed under the ISC license.
239 * See the LICENSE file in the root directory of this source tree.
240 */const tO=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],gd=Oe("LoaderCircle",tO);/**
241 * @license lucide-react v0.475.0 - ISC
242 *
243 * This source code is licensed under the ISC license.
244 * See the LICENSE file in the root directory of this source tree.
245 */const nO=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Zl=Oe("Lock",nO);/**
246 * @license lucide-react v0.475.0 - ISC
247 *
248 * This source code is licensed under the ISC license.
249 * See the LICENSE file in the root directory of this source tree.
250 */const rO=[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",ke
250y:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]],sO=Oe("LogIn",rO);/**
251 * @license lucide-react v0.475.0 - ISC
252 *
253 * This source code is licensed under the ISC license.
254 * See the LICENSE file in the root directory of this source tree.
255 */const iO=[["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"}]],xs=Oe("Mail",iO);/**
256 * @license lucide-react v0.475.0 - ISC
257 *
258 * This source code is licensed under the ISC license.
259 * See the LICENSE file in the root directory of this source tree.
260 */const oO=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],vs=Oe("MapPin",oO);/**
261 * @license lucide-react v0.475.0 - ISC
262 *
263 * This source code is licensed under the ISC license.
264 * See the LICENSE file in the root directory of this source tree.
265 */const aO=[["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"}]],lO=Oe("Menu",aO);/**
266 * @license lucide-react v0.475.0 - ISC
267 *
268 * This source code is licensed under the ISC license.
269 * See the LICENSE file in the root directory of this source tree.
270 */const cO=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],$d=Oe("MessageCircle",cO);/**
271 * @license lucide-react v0.475.0 - ISC
272 *
273 * This source code is licensed under the ISC license.
274 * See the LICENSE file in the root directory of this source tree.
275 */const uO=[["path",{d:"M5 12h14",key:"1ays0h"}]],dO=Oe("Minus",uO);/**
276 * @license lucide-react v0.475.0 - ISC
277 *
278 * This source code is licensed under the ISC license.
279 * See the LICENSE file in the root directory of this source tree.
280 */const fO=[["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"}]],ki=Oe("Phone",fO);/**
281 * @license lucide-react v0.475.0 - ISC
282 *
283 * This source code is licensed under the ISC license.
284 * See the LICENSE file in the root directory of this source tree.
285 */const hO=[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]],yk=Oe("Pill",hO);/**
286 * @license lucide-react v0.475.0 - ISC
287 *
288 * This source code is licensed under the ISC license.
289 * See the LICENSE file in the root directory of this source tree.
290 */const pO=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],mO=Oe("Quote",pO);/**
291 * @license lucide-react v0.475.0 - ISC
292 *
293 * This source code is licensed under the ISC license.
294 * See the LICENSE file in the root directory of this source tree.
295 */const gO=[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]],yO=Oe("Ruler",gO);/**
296 * @license lucide-react v0.475.0 - ISC
297 *
298 * This source code is licensed under the ISC license.
299 * See the LICENSE file in the root directory of this source tree.
300 */const vO=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Pv=Oe("Shield",vO);/**
301 * @license lucide-react v0.475.0 - ISC
302 *
303 * This source code is licensed under the ISC license.
304 * See the LICENSE file in the root directory of this source tree.
305 */const xO=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],wO=Oe("TriangleAlert",xO);/**
306 * @license lucide-react v0.475.0 - ISC
307 *
308 * This source code is licensed under the ISC license.
309 * See the LICENSE file in the root directory of this source tree.
310 */const bO=[["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"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],_O=Oe("UserPlus",bO);/**
311 * @license lucide-react v0.475.0 - ISC
312 *
313 * This source code is licensed under the ISC license.
314 * See the LICENSE file in the root directory of this source tree.
315 */const SO=[["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"}]],tl=Oe("Users",SO);/**
316 * @license lucide-react v0.475.0 - ISC
317 *
318 * This source code is licensed under the ISC license.
319 * See the LICENSE file in the root directory of this source tree.
320 */const CO=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 4,759 bytes, line 320
320],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],nl=Oe("X",CO),kO=(t,e)=>{const n=new Array(t.length+e.length);for(let r=0;r<t.length;r++)n[r]=t[r];for(let r=0;r<e.length;r++)n[t.length+r]=e[r];return n},TO=(t,e)=>({classGroupId:t,validator:e}),vk=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),yp="-",Jb=[],EO="arbitrary..",jO=t=>{const e=PO(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return NO(l);const c=l.split(yp),f=c[0]===""&&c.length>1?1:0;return xk(c,f,e)},getConflictingClassGroupIds:(l,c)=>{if(c){const f=r[l],h=n[l];return f?h?kO(h,f):f:h||Jb}return n[l]||Jb}}},xk=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const s=t[e],o=n.nextPart.get(s);if(o){const h=xk(t,e+1,o);if(h)return h}const l=n.validators;if(l===null)return;const c=e===0?t.join(yp):t.slice(e).join(yp),f=l.length;for(let h=0;h<f;h++){const p=l[h];if(p.validator(c))return p.classGroupId}},NO=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),r=e.slice(0,n);return r?EO+r:void 0})(),PO=t=>{const{theme:e,classGroups:n}=t;return RO(n,e)},RO=(t,e)=>{const n=vk();for(const r in t){const s=t[r];Rv(s,n,r,e)}return n},Rv=(t,e,n,r)=>{const s=t.length;for(let o=0;o<s;o++){const l=t[o];AO(l,e,n,r)}},AO=(t,e,n,r)=>{if(typeof t=="string"){OO(t,e,n);return}if(typeof t=="function"){MO(t,e,n,r);return}LO(t,e,n,r)},OO=(t,e,n)=>{const r=t===""?e:wk(e,t);r.classGroupId=n},MO=(t,e,n,r)=>{if(DO(t)){Rv(t(r),e,n,r);return}e.validators===null&&(e.validators=[]),e.validators.push(TO(n,t))},LO=(t,e,n,r)=>{const s=Object.entries(t),o=s.length;for(let l=0;l<o;l++){const[c,f]=s[l];Rv(f,wk(e,c),n,r)}},wk=(t,e)=>{let n=t;const r=e.split(yp),s=r.length;for(let o=0;o<s;o++){const l=r[o];let c=n.nextPart.get(l);c||(c=vk(),n.nextPart.set(l,c)),n=c}return n},DO=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,IO=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),r=Object.create(null);const s=(o,l)=>{n[o]=l,e++,e>t&&(e=0,r=n,n=Object.create(null))};return{get(o){let l=n[o];if(l!==void 0)return l;if((l=r[o])!==void 0)return s(o,l),l},set(o,l){o in n?n[o]=l:s(o,l)}}},n0="!",Xb=":",FO=[],Qb=(t,e,n,r,s)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:r,isExternal:s}),BO=t=>{const{prefix:e,experimentalParseClassName:n}=t;let r=s=>{const o=[];let l=0,c=0,f=0,h;const p=s.length;for(let b=0;b<p;b++){const _=s[b];if(l===0&&c===0){if(_===Xb){o.push(s.slice(f,b)),f=b+1;continue}if(_==="/"){h=b;continue}}_==="["?l++:_==="]"?l--:_==="("?c++:_===")"&&c--}const g=o.length===0?s:s.slice(f);let v=g,x=!1;g.endsWith(n0)?(v=g.slice(0,-1),x=!0):g.startsWith(n0)&&(v=g.slice(1),x=!0);const k=h&&h>f?h-f:void 0;return Qb(o,x,v,k)};if(e){const s=e+Xb,o=r;r=l=>l.startsWith(s)?o(l.slice(s.length)):Qb(FO,!1,l,void 0,!0)}if(n){const s=r;r=o=>n({className:o,parseClassName:s})}return r},UO=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,r)=>{e.set(n,1e6+r)}),n=>{const r=[];let s=[];for(let o=0;o<n.length;o++){const l=n[o],c=l[0]==="[",f=e.has(l);c||f?(s.length>0&&(s.sort(),r.push(...s),s=[]),r.push(l)):s.push(l)}return s.length>0&&(s.sort(),r.push(...s)),r}},zO=t=>({cache:IO(t.cacheSize),parseClassName:BO(t),sortModifiers:UO(t),...jO(t)}),VO=/\s+/,$O=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:o}=e,l=[],c=t.trim().split(VO);let f="";for(let h=c.length-1;h>=0;h-=1){const p=c[h],{isExternal:g,modifiers:v,hasImportantModifier:x,baseClassName:k,maybePostfixModifierPosition:b}=n(p);if(g){f=p+(f.length>0?" "+f:f);continue}let _=!!b,C=r(_?k.substring(0,b):k);if(!C){if(!_){f=p+(f.length>0?" "+f:f);continue}if(C=r(k),!C){f=p+(f.length>0?" "+f:f);continue}_=!1}const j=v.length===0?"":v.length===1?v[0]:o(v).join(":"),T=x?j+n0:j,N=T+C;if(l.indexOf(N)>-1)continue;l.push(N);const P=s(C,_);for(let D=0;D<P.length;++D){const M=P[D];l.push(T+M)}f=p+(f.length>0?" "+f:f)}return f},WO=(...t)=>{let e=0,n,r,s="";for(;e<t.length;)(n=t[e++])&&(r=bk(n))&&(s&&(s+=" "),s+=r);return s},bk=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=bk(t[r]))&&(n&&(n+=" "),n+=e);return n},HO=(t,...e)=>{let n,r,s,o;const l=f=>{const h=e.reduce((p,g)=>g(p),t());return n=zO(h),r=n.cache.get,s=n.cache.set,o=c,c(f)},c=f=>{const h=r(f);if(h)return h;const p=$O(f,n);return s(f,p),p};return o=l,(...f)=>o(WO(...f))},qO=[],mn=t=>{const e=n=>n[t]||qO;return e.isThemeGetter=!0,e},_k=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Sk=/^\((?:(\w[\w-]*):)?(.+)\)$/i,GO=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,YO=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,KO=/\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$/,JO=
vendor: 4,545 bytes, line 320
320/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,XO=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,QO=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,co=t=>GO.test(t),He=t=>!!t&&!Number.isNaN(Number(t)),uo=t=>!!t&&Number.isInteger(Number(t)),iy=t=>t.endsWith("%")&&He(t.slice(0,-1)),Si=t=>YO.test(t),Ck=()=>!0,ZO=t=>KO.test(t)&&!JO.test(t),Av=()=>!1,eM=t=>XO.test(t),tM=t=>QO.test(t),nM=t=>!Ce(t)&&!ke(t),rM=t=>qo(t,Ek,Av),Ce=t=>_k.test(t),ua=t=>qo(t,jk,ZO),Zb=t=>qo(t,dM,He),sM=t=>qo(t,Pk,Ck),iM=t=>qo(t,Nk,Av),e_=t=>qo(t,kk,Av),oM=t=>qo(t,Tk,tM),dh=t=>qo(t,Rk,eM),ke=t=>Sk.test(t),_u=t=>rl(t,jk),aM=t=>rl(t,Nk),t_=t=>rl(t,kk),lM=t=>rl(t,Ek),cM=t=>rl(t,Tk),fh=t=>rl(t,Rk,!0),uM=t=>rl(t,Pk,!0),qo=(t,e,n)=>{const r=_k.exec(t);return r?r[1]?e(r[1]):n(r[2]):!1},rl=(t,e,n=!1)=>{const r=Sk.exec(t);return r?r[1]?e(r[1]):n:!1},kk=t=>t==="position"||t==="percentage",Tk=t=>t==="image"||t==="url",Ek=t=>t==="length"||t==="size"||t==="bg-size",jk=t=>t==="length",dM=t=>t==="number",Nk=t=>t==="family-name",Pk=t=>t==="number"||t==="weight",Rk=t=>t==="shadow",fM=()=>{const t=mn("color"),e=mn("font"),n=mn("text"),r=mn("font-weight"),s=mn("tracking"),o=mn("leading"),l=mn("breakpoint"),c=mn("container"),f=mn("spacing"),h=mn("radius"),p=mn("shadow"),g=mn("inset-shadow"),v=mn("text-shadow"),x=mn("drop-shadow"),k=mn("blur"),b=mn("perspective"),_=mn("aspect"),C=mn("ease"),j=mn("animate"),T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...N(),ke,Ce],D=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto","contain","none"],O=()=>[ke,Ce,f],z=()=>[co,"full","auto",...O()],V=()=>[uo,"none","subgrid",ke,Ce],ne=()=>["auto",{span:["full",uo,ke,Ce]},uo,ke,Ce],K=()=>[uo,"auto",ke,Ce],ie=()=>["auto","min","max","fr",ke,Ce],ae=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],me=()=>["start","end","center","stretch","center-safe","end-safe"],re=()=>["auto",...O()],J=()=>[co,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],Y=()=>[co,"screen","full","dvw","lvw","svw","min","max","fit",...O()],Z=()=>[co,"screen","full","lh","dvh","lvh","svh","min","max","fit",...O()],R=()=>[t,ke,Ce],L=()=>[...N(),t_,e_,{position:[ke,Ce]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ge=()=>["auto","cover","contain",lM,rM,{size:[ke,Ce]}],ue=()=>[iy,_u,ua],de=()=>["","none","full",h,ke,Ce],ee=()=>["",He,_u,ua],ye=()=>["solid","dashed","dotted","double"],je=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],be=()=>[He,iy,t_,e_],ht=()=>["","none",k,ke,Ce],pt=()=>["none",He,ke,Ce],Qe=()=>["none",He,ke,Ce],Fe=()=>[He,ke,Ce],le=()=>[co,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Si],breakpoint:[Si],color:[Ck],container:[Si],"drop-shadow":[Si],ease:["in","out","in-out"],font:[nM],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Si],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Si],shadow:[Si],spacing:["px",He],text:[Si],"text-shadow":[Si],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",co,Ce,ke,_]}],container:["container"],columns:[{columns:[He,Ce,ke,c]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:P()}],overflow:[{overflow:D()}
vendor: 5,161 bytes, line 320
320],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:z()}],"inset-x":[{"inset-x":z()}],"inset-y":[{"inset-y":z()}],start:[{"inset-s":z(),start:z()}],end:[{"inset-e":z(),end:z()}],"inset-bs":[{"inset-bs":z()}],"inset-be":[{"inset-be":z()}],top:[{top:z()}],right:[{right:z()}],bottom:[{bottom:z()}],left:[{left:z()}],visibility:["visible","invisible","collapse"],z:[{z:[uo,"auto",ke,Ce]}],basis:[{basis:[co,"full","auto",c,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[He,co,"auto","initial","none",Ce]}],grow:[{grow:["",He,ke,Ce]}],shrink:[{shrink:["",He,ke,Ce]}],order:[{order:[uo,"first","last","none",ke,Ce]}],"grid-cols":[{"grid-cols":V()}],"col-start-end":[{col:ne()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":V()}],"row-start-end":[{row:ne()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:[...ae(),"normal"]}],"justify-items":[{"justify-items":[...me(),"normal"]}],"justify-self":[{"justify-self":["auto",...me()]}],"align-content":[{content:["normal",...ae()]}],"align-items":[{items:[...me(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...me(),{baseline:["","last"]}]}],"place-content":[{"place-content":ae()}],"place-items":[{"place-items":[...me(),"baseline"]}],"place-self":[{"place-self":["auto",...me()]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pbs:[{pbs:O()}],pbe:[{pbe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:re()}],mx:[{mx:re()}],my:[{my:re()}],ms:[{ms:re()}],me:[{me:re()}],mbs:[{mbs:re()}],mbe:[{mbe:re()}],mt:[{mt:re()}],mr:[{mr:re()}],mb:[{mb:re()}],ml:[{ml:re()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:J()}],"inline-size":[{inline:["auto",...Y()]}],"min-inline-size":[{"min-inline":["auto",...Y()]}],"max-inline-size":[{"max-inline":["none",...Y()]}],"block-size":[{block:["auto",...Z()]}],"min-block-size":[{"min-block":["auto",...Z()]}],"max-block-size":[{"max-block":["none",...Z()]}],w:[{w:[c,"screen",...J()]}],"min-w":[{"min-w":[c,"screen","none",...J()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...J()]}],h:[{h:["screen","lh",...J()]}],"min-h":[{"min-h":["screen","lh","none",...J()]}],"max-h":[{"max-h":["screen","lh",...J()]}],"font-size":[{text:["base",n,_u,ua]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,uM,sM]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",iy,Ce]}],"font-family":[{font:[aM,iM,e]}],"font-features":[{"font-features":[Ce]}],"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:[s,ke,Ce]}],"line-clamp":[{"line-clamp":[He,"none",ke,Zb]}],leading:[{leading:[o,...O()]}],"list-image":[{"list-image":["none",ke,Ce]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ke,Ce]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ye(),"wavy"]}],"text-decoration-thickness":[{decoration:[He,"from-font","auto",ke,ua]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[He,"auto",ke,Ce]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ke,Ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ke,Ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:ge()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},uo,ke,Ce],radial:["",ke,Ce],conic:[uo,ke,Ce]},cM,oM]}
320],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:ue()}],"gradient-via-pos":[{via:ue()}],"gradient-to-pos":[{to:ue()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:ee()}],"border-w-x":[{"border-x":ee()}],"border-w-y":[{"border-y":ee()}],"border-w-s":[{"border-s":ee()}],"border-w-e":[{"border-e":ee()}],"border-w-bs":[{"border-bs":ee()}],"border-w-be":[{"border-be":ee()}],"border-w-t":[{"border-t":ee()}],"border-w-r":[{"border-r":ee()}],"border-w-b":[{"border-b":ee()}],"border-w-l":[{"border-l":ee()}],"divide-x":[{"divide-x":ee()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ee()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ye(),"hidden","none"]}],"divide-style":[{divide:[...ye(),"hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-bs":[{"border-bs":R()}],"border-color-be":[{"border-be":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}
vendor: 5,257 bytes, line 320
320],"divide-color":[{divide:R()}],"outline-style":[{outline:[...ye(),"none","hidden"]}],"outline-offset":[{"outline-offset":[He,ke,Ce]}],"outline-w":[{outline:["",He,_u,ua]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",p,fh,dh]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",g,fh,dh]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[He,ua]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":ee()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",v,fh,dh]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[He,ke,Ce]}],"mix-blend":[{"mix-blend":[...je(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":je()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[He]}],"mask-image-linear-from-pos":[{"mask-linear-from":be()}],"mask-image-linear-to-pos":[{"mask-linear-to":be()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":be()}],"mask-image-t-to-pos":[{"mask-t-to":be()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":be()}],"mask-image-r-to-pos":[{"mask-r-to":be()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":be()}],"mask-image-b-to-pos":[{"mask-b-to":be()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":be()}],"mask-image-l-to-pos":[{"mask-l-to":be()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":be()}],"mask-image-x-to-pos":[{"mask-x-to":be()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":be()}],"mask-image-y-to-pos":[{"mask-y-to":be()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[ke,Ce]}],"mask-image-radial-from-pos":[{"mask-radial-from":be()}],"mask-image-radial-to-pos":[{"mask-radial-to":be()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":N()}],"mask-image-conic-pos":[{"mask-conic":[He]}],"mask-image-conic-from-pos":[{"mask-conic-from":be()}],"mask-image-conic-to-pos":[{"mask-conic-to":be()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:ge()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ke,Ce]}],filter:[{filter:["","none",ke,Ce]}],blur:[{blur:ht()}],brightness:[{brightness:[He,ke,Ce]}],contrast:[{contrast:[He,ke,Ce]}],"drop-shadow":[{"drop-shadow":["","none",x,fh,dh]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",He,ke,Ce]}],"hue-rotate":[{"hue-rotate":[He,ke,Ce]}],invert:[{invert:["",He,ke,Ce]}],saturate:[{saturate:[He,ke,Ce]}],sepia:[{sepia:["",He,ke,Ce]}],"backdrop-filter":[{"backdrop-filter":["","none",ke,Ce]}],"backdrop-blur":[{"backdrop-blur":ht()}],"backdrop-brightness":[{"backdrop-brightness":[He,ke,Ce]}],"backdrop-contrast":[{"backdrop-contrast":[He,ke,Ce]}],"backdrop-grayscale":[{"backdrop-grayscale":["",He,ke,Ce]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[He,ke,Ce]}],"backdrop-invert":[{"backdrop-invert":["",He,ke,Ce]}],"backdrop-opacity":[{"backdrop-opacity":[He,ke,Ce]}],"backdrop-saturate":[{"backdrop-saturate":[He,ke,Ce]}],"backdrop-sepia":[{"backdrop-sepia":["",He,ke,Ce]}],"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:["","all","colors","opacity","shadow","transform","none",ke,Ce]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[He,"initial",ke,Ce]}],ease:[{ease:["linear","initial",C,ke,Ce]}],delay:[{delay:[He,ke,Ce]}],animate:[{animate:["none",j,ke,Ce]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,ke,Ce]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:pt()}],"rotate-x":[{"rotate-x":pt()}],"rotate-y":[{"rotate-y":pt()}],"rotate-z":[{"rotate-z":pt()}],scale:[{scale:Qe()}],"scale-x":[{"scale-x":Qe()}],"scale-y":[{"scale-y":Qe()}],"scale-z":[{"scale-z":Qe()}
vendor: 7,454 bytes, line 320
320],"scale-3d":["scale-3d"],skew:[{skew:Fe()}],"skew-x":[{"skew-x":Fe()}],"skew-y":[{"skew-y":Fe()}],transform:[{transform:[ke,Ce,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:le()}],"translate-x":[{"translate-x":le()}],"translate-y":[{"translate-y":le()}],"translate-z":[{"translate-z":le()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ke,Ce]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mbs":[{"scroll-mbs":O()}],"scroll-mbe":[{"scroll-mbe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pbs":[{"scroll-pbs":O()}],"scroll-pbe":[{"scroll-pbe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ke,Ce]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[He,_u,ua,Zb]}],stroke:[{stroke:["none",...R()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","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-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},hM=HO(fM);function xn(...t){return hM(ck(t))}const Ak=S.forwardRef(({...t},e)=>u.jsx("div",{ref:e,className:"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}));Ak.displayName="ToastProvider";const Ok=S.forwardRef(({...t},e)=>u.jsx("div",{ref:e,className:"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}));Ok.displayName="ToastViewport";const pM=_v("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"}}),Mk=S.forwardRef(({className:t,variant:e,...n},r)=>u.jsx("div",{ref:r,className:xn(pM({variant:e}),t),...n}));Mk.displayName="Toast";const mM=S.forwardRef(({className:t,...e},n)=>u.jsx("div",{ref:n,className:xn("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}));mM.displayName="ToastAction";const Lk=S.forwardRef(({className:t,...e},n)=>u.jsx("button",{ref:n,className:xn("absolute right-2 top-2 rounded-md p-1 text-foreground
320/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:u.jsx(nl,{className:"h-4 w-4"})}));Lk.displayName="ToastClose";const Dk=S.forwardRef(({className:t,...e},n)=>u.jsx("div",{ref:n,className:xn("text-sm font-semibold",t),...e}));Dk.displayName="ToastTitle";const Ik=S.forwardRef(({className:t,...e},n)=>u.jsx("div",{ref:n,className:xn("text-sm opacity-90",t),...e}));Ik.displayName="ToastDescription";function gM(){const{toasts:t}=s4();return u.jsxs(Ak,{children:[t.map(function({id:e,title:n,description:r,action:s,...o}){return u.jsxs(Mk,{...o,children:[u.jsxs("div",{className:"grid gap-1",children:[n&&u.jsx(Dk,{children:n}),r&&u.jsx(Ik,{children:r})]}),s,u.jsx(Lk,{})]},e)}),u.jsx(Ok,{})]})}var Wd=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(){}},yM={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},yo,xv,KC,vM=(KC=class{constructor(){Me(this,yo,yM);Me(this,xv,!1)}setTimeoutProvider(t){ve(this,yo,t)}setTimeout(t,e){return F(this,yo).setTimeout(t,e)}clearTimeout(t){F(this,yo).clearTimeout(t)}setInterval(t,e){return F(this,yo).setInterval(t,e)}clearInterval(t){F(this,yo).clearInterval(t)}},yo=new WeakMap,xv=new WeakMap,KC),_a=new vM;function xM(t){setTimeout(t,0)}var qa=typeof window>"u"||"Deno"in globalThis;function Nr(){}function wM(t,e){return typeof t=="function"?t(e):t}function r0(t){return typeof t=="number"&&t>=0&&t!==1/0}function Fk(t,e){return Math.max(t+(e||0)-Date.now(),0)}function Ao(t,e){return typeof t=="function"?t(e):t}function ps(t,e){return typeof t=="function"?t(e):t}function n_(t,e){const{type:n="all",exact:r,fetchStatus:s,predicate:o,queryKey:l,stale:c}=t;if(l){if(r){if(e.queryHash!==Ov(l,e.options))return!1}else if(!vd(e.queryKey,l))return!1}if(n!=="all"){const f=e.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof c=="boolean"&&e.isStale()!==c||s&&s!==e.state.fetchStatus||o&&!o(e))}function r_(t,e){const{exact:n,status:r,predicate:s,mutationKey:o}=t;if(o){if(!e.options.mutationKey)return!1;if(n){if(yd(e.options.mutationKey)!==yd(o))return!1}else if(!vd(e.options.mutationKey,o))return!1}return!(r&&e.state.status!==r||s&&!s(e))}function Ov(t,e){return((e==null?void 0:e.queryKeyHashFn)||yd)(t)}function yd(t){return JSON.stringify(t,(e,n)=>i0(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function vd(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>vd(t[n],e[n])):!1}var bM=Object.prototype.hasOwnProperty;function Bk(t,e,n=0){if(t===e)return t;if(n>500)return e;const r=s_(t)&&s_(e);if(!r&&!(i0(t)&&i0(e)))return e;const o=(r?t:Object.keys(t)).length,l=r?e:Object.keys(e),c=l.length,f=r?new Array(c):{};let h=0;for(let p=0;p<c;p++){const g=r?p:l[p],v=t[g],x=e[g];if(v===x){f[g]=v,(r?p<o:bM.call(t,g))&&h++;continue}if(v===null||x===null||typeof v!="object"||typeof x!="object"){f[g]=x;continue}const k=Bk(v,x,n+1);f[g]=k,k===v&&h++}return o===c&&h===o?t:f}function s0(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}function s_(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function i0(t){if(!i_(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!i_(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function i_(t){return Object.prototype.toString.call(t)==="[object Object]"}function _M(t){return new Promise(e=>{_a.setTimeout(e,t)})}function o0(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?Bk(t,e):e}function SM(t,e,n=0){const r=[...t,e];return n&&r.length>n?r.slice(1):r}function CM(t,e,n=0){const r=[e,...t];return n&&r.length>n?r.slice(0,-1):r}var Mv=Symbol();function Uk(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===Mv?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function zk(t,e){return typeof t=="function"?t(...e):!!t}function kM(t,e,n){let r=!1,s;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(s??(s=e()),r||(r=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),t}var Ea,vo,lc,JC,TM=(JC=class extends Wd{constructor(){super();Me(this,Ea);Me(this,vo);Me(this,lc);ve(this,lc,e=>{if(!qa&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){F(this,vo)||this.setEventListener(F(this,lc))}onUnsubscribe(){var e;this.hasListeners()||((e=F(this,vo))==null||e.call(this),ve(this,vo,void 0))}setEventListener(e){var n;ve(this,lc,e),(n=F(this,vo))==null||n.call(this),ve(this,vo,e(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(e){F(this,Ea)!==e&&(ve(this,Ea,e),this.onFocus())}onFocus(){const e=this.isFocused();
vendor: 4,677 bytes, line 320
320this.listeners.forEach(n=>{n(e)})}isFocused(){var e;return typeof F(this,Ea)=="boolean"?F(this,Ea):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},Ea=new WeakMap,vo=new WeakMap,lc=new WeakMap,JC),Lv=new TM;function a0(){let t,e;const n=new Promise((s,o)=>{t=s,e=o});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),t(s)},n.reject=s=>{r({status:"rejected",reason:s}),e(s)},n}var EM=xM;function jM(){let t=[],e=0,n=c=>{c()},r=c=>{c()},s=EM;const o=c=>{e?t.push(c):s(()=>{n(c)})},l=()=>{const c=t;t=[],c.length&&s(()=>{r(()=>{c.forEach(f=>{n(f)})})})};return{batch:c=>{let f;e++;try{f=c()}finally{e--,e||l()}return f},batchCalls:c=>(...f)=>{o(()=>{c(...f)})},schedule:o,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c},setScheduler:c=>{s=c}}}var Fn=jM(),cc,xo,uc,XC,NM=(XC=class extends Wd{constructor(){super();Me(this,cc,!0);Me(this,xo);Me(this,uc);ve(this,uc,e=>{if(!qa&&window.addEventListener){const n=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){F(this,xo)||this.setEventListener(F(this,uc))}onUnsubscribe(){var e;this.hasListeners()||((e=F(this,xo))==null||e.call(this),ve(this,xo,void 0))}setEventListener(e){var n;ve(this,uc,e),(n=F(this,xo))==null||n.call(this),ve(this,xo,e(this.setOnline.bind(this)))}setOnline(e){F(this,cc)!==e&&(ve(this,cc,e),this.listeners.forEach(r=>{r(e)}))}isOnline(){return F(this,cc)}},cc=new WeakMap,xo=new WeakMap,uc=new WeakMap,XC),vp=new NM;function PM(t){return Math.min(1e3*2**t,3e4)}function Vk(t){return(t??"online")==="online"?vp.isOnline():!0}var l0=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function $k(t){let e=!1,n=0,r;const s=a0(),o=()=>s.status!=="pending",l=b=>{var _;if(!o()){const C=new l0(b);v(C),(_=t.onCancel)==null||_.call(t,C)}},c=()=>{e=!0},f=()=>{e=!1},h=()=>Lv.isFocused()&&(t.networkMode==="always"||vp.isOnline())&&t.canRun(),p=()=>Vk(t.networkMode)&&t.canRun(),g=b=>{o()||(r==null||r(),s.resolve(b))},v=b=>{o()||(r==null||r(),s.reject(b))},x=()=>new Promise(b=>{var _;r=C=>{(o()||h())&&b(C)},(_=t.onPause)==null||_.call(t)}).then(()=>{var b;r=void 0,o()||(b=t.onContinue)==null||b.call(t)}),k=()=>{if(o())return;let b;const _=n===0?t.initialPromise:void 0;try{b=_??t.fn()}catch(C){b=Promise.reject(C)}Promise.resolve(b).then(g).catch(C=>{var D;if(o())return;const j=t.retry??(qa?0:3),T=t.retryDelay??PM,N=typeof T=="function"?T(n,C):T,P=j===!0||typeof j=="number"&&n<j||typeof j=="function"&&j(n,C);if(e||!P){v(C);return}n++,(D=t.onFail)==null||D.call(t,n,C),_M(N).then(()=>h()?void 0:x()).then(()=>{e?v(C):k()})})};return{promise:s,status:()=>s.status,cancel:l,continue:()=>(r==null||r(),s),cancelRetry:c,continueRetry:f,canStart:p,start:()=>(p()?k():x().then(k),s)}}var ja,QC,Wk=(QC=class{constructor(){Me(this,ja)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),r0(this.gcTime)&&ve(this,ja,_a.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(qa?1/0:300*1e3))}clearGcTimeout(){F(this,ja)&&(_a.clearTimeout(F(this,ja)),ve(this,ja,void 0))}},ja=new WeakMap,QC),Na,dc,hs,Pa,Nn,Fd,Ra,Ls,Ci,ZC,RM=(ZC=class extends Wk{constructor(e){super();Me(this,Ls);Me(this,Na);Me(this,dc);Me(this,hs);Me(this,Pa);Me(this,Nn);Me(this,Fd);Me(this,Ra);ve(this,Ra,!1),ve(this,Fd,e.defaultOptions),this.setOptions(e.options),this.observers=[],ve(this,Pa,e.client),ve(this,hs,F(this,Pa).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,ve(this,Na,a_(this.options)),this.state=e.state??F(this,Na),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=F(this,Nn))==null?void 0:e.promise}setOptions(e){if(this.options={...F(this,Fd),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=a_(this.options);n.data!==void 0&&(this.setState(o_(n.data,n.dataUpdatedAt)),ve(this,Na,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&F(this,hs).remove(this)}setData(e,n){const r=o0(this.state.data,e,this.options);return rt(this,Ls,Ci).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(e,n){rt(this,Ls,Ci).call(this,{type:"setState",state:e,setStateOptions:n})}cancel(e){var r,s;const n=(r=F(this,Nn))==null?void 0:r.promise;return(s=F(this,Nn))==null||s.cancel(e),n?n.then(Nr).catch(Nr):Prom
320ise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(F(this,Na))}isActive(){return this.observers.some(e=>ps(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Mv||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Ao(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:!Fk(this.state.dataUpdatedAt,e)}onFocus(){var n;const e=this.observers.find(r=>r.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(n=F(this,Nn))==null||n.continue()}onOnline(){var n;const e=this.observers.find(r=>r.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(n=F(this,Nn))==null||n.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),F(this,hs).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(F(this,Nn)&&(F(this,Ra)?F(this,Nn).cancel({revert:!0}):F(this,Nn).cancelRetry()),this.scheduleGc()),F(this,hs).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||rt(this,Ls,Ci).call(this,{type:"invalidate"})}async fetch(e,n){var f,h,p,g,v,x,k,b,_,C,j,T;if(this.state.fetchStatus!=="idle"&&((f=F(this,Nn))==null?void 0:f.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(F(this,Nn))return F(this,Nn).continueRetry(),F(this,Nn).promise}if(e&&this.setOptions(e),!this.options.queryFn){const N=this.observers.find(P=>P.options.queryFn);N&&this.setOptions(N.options)}const r=new AbortController,s=N=>{Object.defineProperty(N,"signal",{enumerable:!0,get:()=>(ve(this,Ra,!0),r.signal)})},o=()=>{const N=Uk(this.options,n),D=(()=>{const M={client:F(this,Pa),queryKey:this.queryKey,meta:this.meta};return s(M),M})();return ve(this,Ra,!1),this.options.persister?this.options.persister(N,D,this):N(D)},c=(()=>{const N={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:F(this,Pa),state:this.state,fetchFn:o};return s(N),N})();(h=this.options.behavior)==null||h.onFetch(c,this),ve(this,dc,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=c.fetchOptions)==null?void 0:p.meta))&&rt(this,Ls,Ci).call(this,{type:"fetch",meta:(g=c.fetchOptions)==null?void 0:g.meta}),ve(this,Nn,$k({initialPromise:n==null?void 0:n.initialPromise,fn:c.fetchFn,onCancel:N=>{N instanceof l0&&N.revert&&this.setState({...F(this,dc),fetchStatus:"idle"}),r.abort()},onFail:(N,P)=>{rt(this,Ls,Ci).call(this,{type:"failed",failureCount:N,error:P})},onPause:()=>{rt(this,Ls,Ci).call(this,{type:"pause"})},onContinue:()=>{rt(this,Ls,Ci).call(this,{type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0}));try{const N=await F(this,Nn).start();if(N===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(N),(x=(v=F(this,hs).config).onSuccess)==null||x.call(v,N,this),(b=(k=F(this,hs).config).onSettled)==null||b.call(k,N,this.state.error,this),N}catch(N){if(N instanceof l0){if(N.silent)return F(this,Nn).promise;if(N.revert){if(this.state.data===void 0)throw N;return this.state.data}}throw rt(this,Ls,Ci).call(this,{type:"error",error:N}),(C=(_=F(this,hs).config).onError)==null||C.call(_,N,this),(T=(j=F(this,hs).config).onSettled)==null||T.call(j,this.state.data,N,this),N}finally{this.scheduleGc()}}},Na=new WeakMap,dc=new WeakMap,hs=new WeakMap,Pa=new WeakMap,Nn=new WeakMap,Fd=new WeakMap,Ra=new WeakMap,Ls=new WeakSet,Ci=function(e){const n=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Hk(r.data,this.options),fetchMeta:e.meta??null};case"success":const s={...r,...o_(e.data,e.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ve(this,dc,e.manual?s:void 0),s;case"error":const o=e.error;
vendor: 9,556 bytes, line 320
320return{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=n(this.state),Fn.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),F(this,hs).notify({query:this,type:"updated",action:e})})},ZC);function Hk(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Vk(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function o_(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function a_(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,n=e!==void 0,r=n?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Er,st,Bd,ur,Aa,fc,ji,wo,Ud,hc,pc,Oa,Ma,bo,mc,vt,Mu,c0,u0,d0,f0,h0,p0,m0,qk,ek,AM=(ek=class extends Wd{constructor(e,n){super();Me(this,vt);Me(this,Er);Me(this,st);Me(this,Bd);Me(this,ur);Me(this,Aa);Me(this,fc);Me(this,ji);Me(this,wo);Me(this,Ud);Me(this,hc);Me(this,pc);Me(this,Oa);Me(this,Ma);Me(this,bo);Me(this,mc,new Set);this.options=n,ve(this,Er,e),ve(this,wo,null),ve(this,ji,a0()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(F(this,st).addObserver(this),l_(F(this,st),this.options)?rt(this,vt,Mu).call(this):this.updateResult(),rt(this,vt,f0).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return g0(F(this,st),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return g0(F(this,st),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,rt(this,vt,h0).call(this),rt(this,vt,p0).call(this),F(this,st).removeObserver(this)}setOptions(e){const n=this.options,r=F(this,st);if(this.options=F(this,Er).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof ps(this.options.enabled,F(this,st))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");rt(this,vt,m0).call(this),F(this,st).setOptions(this.options),n._defaulted&&!s0(this.options,n)&&F(this,Er).getQueryCache().notify({type:"observerOptionsUpdated",query:F(this,st),observer:this});const s=this.hasListeners();s&&c_(F(this,st),r,this.options,n)&&rt(this,vt,Mu).call(this),this.updateResult(),s&&(F(this,st)!==r||ps(this.options.enabled,F(this,st))!==ps(n.enabled,F(this,st))||Ao(this.options.staleTime,F(this,st))!==Ao(n.staleTime,F(this,st)))&&rt(this,vt,c0).call(this);const o=rt(this,vt,u0).call(this);s&&(F(this,st)!==r||ps(this.options.enabled,F(this,st))!==ps(n.enabled,F(this,st))||o!==F(this,bo))&&rt(this,vt,d0).call(this,o)}getOptimisticResult(e){const n=F(this,Er).getQueryCache().build(F(this,Er),e),r=this.createResult(n,e);return MM(this,r)&&(ve(this,ur,r),ve(this,fc,this.options),ve(this,Aa,F(this,st).state)),r}getCurrentResult(){return F(this,ur)}trackResult(e,n){return new Proxy(e,{get:(r,s)=>(this.trackProp(s),n==null||n(s),s==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&F(this,ji).status==="pending"&&F(this,ji).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(r,s))})}trackProp(e){F(this,mc).add(e)}getCurrentQuery(){return F(this,st)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const n=F(this,Er).defaultQueryOptions(e),r=F(this,Er).getQueryCache().build(F(this,Er),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(e){return rt(this,vt,Mu).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),F(this,ur)))}createResult(e,n){var z;const r=F(this,st),s=this.options,o=F(this,ur),l=F(this,Aa),c=F(this,fc),h=e!==r?e.state:F(this,Bd),{state:p}=e;let g={...p},v=!1,x;if(n._optimisticResults){const V=this.hasListeners(),ne=!V&&l_(e,n),K=V&&c_(e,r,n,s);(ne||K)&&(g={...g,...Hk(p.data,e.options)}),n._optimisticResults==="isRestoring"&&(g.fetchStatus="idle")}let{error:k,errorUpdatedAt:b,status:_}=g;x=g.data;let C=!1;if(n.placeholderData!==void 0&&x===void 0&&_==="pending"){let V;o!=null&&o.isPlaceholderData&&n.placeholderData===(c==null?void 0:c.placeholderData)?(V=o.data,C=!0):V=typeof n.placeholderData=="function"?n.placeholderData((z=F(this,pc))==null?void 0:z.state.data,F(this,pc)):n.placeholderData,V!==void 0&&(_="success",x=o0(o==null?void 0:o.data,V,n),v=!0)}if(n.select&&x!==void 0&&!C)if(o&&x===(l==null?void 0:l.data)&&n.select===F(this,Ud))x=F(this,hc);else try{ve(this,Ud,n.select),x=n.select(x),x=o0(o==null?void 0:o.data,x,n),ve(this,hc,x),ve(this,wo,null)}catch(V){ve(this,wo,V)}F(this,wo)&&(k=F(this,wo),x=F(this,hc),b=Date.now(),_="error");const j=g.fetchStatus==="fetching",T=_==="pending",N=_==="error",P=T&&j,D=x!==void 0,O={status:_,fetchStatus:g.fetchStatus,isPending:T,isSuccess:_==="success",isError:N,isInitialLoading:P,isLoading:P,data:x,dataUpdatedAt:g.dataUpdatedAt,error:k,errorUpdatedAt:b,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>h.dataUpdateCount||g.errorUpdateCount>h.errorUpdateCount,isFetching:j,isRefetching:j&&!T,isLoadingError:N&&!D,isPaused:g.fetchStatus==="paused",isPlaceholderData:v,isRefetchError:N&&D,isStale:Dv(e,n),refetch:this.refetch,promise:F(this,ji),isEnabled:ps(n.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const V=O.data!==void 0,ne=O.status==="error"&&!V,K=me=>{ne?me.reject(O.error):V&&me.resolve(O.data)},ie=()=>{const me=ve(this,ji,O.promise=a0());K(me)},ae=F(this,ji);switch(ae.status){case"pending":e.queryHash===r.queryHash&&K(ae);break;case"fulfilled":(ne||O.data!==ae.value)&&ie();break;case"rejected":(!ne||O.error!==ae.reason)&&ie();break}}return O}updateResult(){const e=F(this,ur),n=this.createResult(F(this,st),this.options);if(ve(this,Aa,F(this,st).state),ve(this,fc,this.options),F(this,Aa).data!==void 0&&ve(this,pc,F(this,st)),s0(n,e))return;ve(this,ur,n);const r=()=>{if(!e)return!0;const{notifyOnChangeProps:s}=this.options,o=typeof s=="function"?s():s;if(o==="all"||!o&&!F(this,mc).size)return!0;const l=new Set(o??F(this,mc));return this.options.throwOnError&&l.add("error"),Object.keys(F(this,ur)).some(c=>{const f=c;return F(this,ur)[f]!==e[f]&&l.has(f)})};rt(this,vt,qk).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&rt(this,vt,f0).call(this)}},Er=new WeakMap,st=new WeakMap,Bd=new WeakMap,ur=new WeakMap,Aa=new WeakMap,fc=new WeakMap,ji=new WeakMap,wo=new WeakMap,Ud=new WeakMap,hc=new WeakMap,pc=new WeakMap,Oa=new WeakMap,Ma=new WeakMap,bo=new WeakMap,mc=new WeakMap,vt=new WeakSet,Mu=function(e){rt(this,vt,m0).call(this);let n=F(this,st).fetch(this.options,e);return e!=null&&e.throwOnError||(n=n.catch(Nr)),n},c0=function(){rt(this,vt,h0).call(this);const e=Ao(this.options.staleTime,F(this,st));if(qa||F(this,ur).isStale||!r0(e))return;const r=Fk(F(this,ur).dataUpdatedAt,e)+1;ve(this,Oa,_a.setTimeout(()=>{F(this,ur).isStale||this.updateResult()},r))},u0=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(F(this,st)):this.options.refetchInterval)??!1},d0=function(e){rt(this,vt,p0).call(this),ve(this,bo,e),!(qa||ps(this.options.enabled,F(this,st))===!1||!r0(F(this,bo))||F(this,bo)===0)&&ve(this,Ma,_a.setInterval(()=>{(this.options.refetchIntervalInBackground||Lv.isFocused())&&rt(this,vt,Mu).call(this)},F(this,bo)))},f0=function(){rt(this,vt,c0).call(this),rt(this,vt,d0).call(this,rt(this,vt,u0).call(this))},h0=function(){F(this,Oa)&&(_a.clearTimeout(F(this,Oa)),ve(this,Oa,void 0))},p0=function(){F(this,Ma)&&(_a.clearInterval(F(this,Ma)),ve(this,Ma,void 0))},m0=function(){const e=F(this,Er).getQueryCache().build(F(this,Er),this.options);if(e===F(this,st))return;const n=F(this,st);ve(this,st,e),ve(this,Bd,e.state),this.hasListeners()&&(n==null||n.removeObserver(this),e.addObserver(this))},qk=function(e){Fn.batch(()=>{e.listeners&&this.listeners.forEach(n=>{n(F(this,ur))}),F(this,Er).getQueryCache().notify({query:F(this,st),type:"observerResultsUpdated"})})},ek);function OM(t,e){return ps(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function l_(t,e){return OM(t,e)||t.state.data!==void 0&&g0(t,e,e.refetchOnMount)}function g0(t,e,n){if(ps(e.enabled,t)!==!1&&Ao(e.staleTime,t)!=="static"){const r=typeof n=="function"?n(t):n;return r==="always"||r!==!1&&Dv(t,e)}return!1}function c_(t,e,n,r){return(t!==e||ps(r.enabled,t)===!1)&&(!n.suspense||t.state.status!=="error")&&Dv(t,n)}function Dv(t,e){return ps(e.enabled,t)!==!1&&t.isStaleByTime(Ao(e.staleTime,t))}function MM(t,e){return!s0(t.getCurrentResult(),e)}function u_(t){return{onFetch:(e,n)=>{var p,g,v,x,k;const r=e.options,s=(v=(g=(p=e.fetchOptions)==null?void 0:p.meta)==null?void 0:g.fetchMore)==null?void 0:v.direction,o=((x=e.state.data)==null?void 0:x.pages)||[],l=((k=e.state.data)==null?void 0:k.pageParams)||[];let c={pages:[],pageParams:[]},f=0;const h=async()=>{let b=!1;const _=T=>{kM(T,()=>e.signal,()=>b=!0)}
vendor: 4,340 bytes, line 320
320,C=Uk(e.options,e.fetchOptions),j=async(T,N,P)=>{if(b)return Promise.reject();if(N==null&&T.pages.length)return Promise.resolve(T);const M=(()=>{const ne={client:e.client,queryKey:e.queryKey,pageParam:N,direction:P?"backward":"forward",meta:e.options.meta};return _(ne),ne})(),O=await C(M),{maxPages:z}=e.options,V=P?CM:SM;return{pages:V(T.pages,O,z),pageParams:V(T.pageParams,N,z)}};if(s&&o.length){const T=s==="backward",N=T?LM:d_,P={pages:o,pageParams:l},D=N(r,P);c=await j(P,D,T)}else{const T=t??o.length;do{const N=f===0?l[0]??r.initialPageParam:d_(r,c);if(f>0&&N==null)break;c=await j(c,N),f++}while(f<T)}return c};e.options.persister?e.fetchFn=()=>{var b,_;return(_=(b=e.options).persister)==null?void 0:_.call(b,h,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n)}:e.fetchFn=h}}}function d_(t,{pages:e,pageParams:n}){const r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,n[r],n):void 0}function LM(t,{pages:e,pageParams:n}){var r;return e.length>0?(r=t.getPreviousPageParam)==null?void 0:r.call(t,e[0],e,n[0],n):void 0}var zd,Qs,Jn,La,Zs,fo,tk,DM=(tk=class extends Wk{constructor(e){super();Me(this,Zs);Me(this,zd);Me(this,Qs);Me(this,Jn);Me(this,La);ve(this,zd,e.client),this.mutationId=e.mutationId,ve(this,Jn,e.mutationCache),ve(this,Qs,[]),this.state=e.state||IM(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){F(this,Qs).includes(e)||(F(this,Qs).push(e),this.clearGcTimeout(),F(this,Jn).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){ve(this,Qs,F(this,Qs).filter(n=>n!==e)),this.scheduleGc(),F(this,Jn).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){F(this,Qs).length||(this.state.status==="pending"?this.scheduleGc():F(this,Jn).remove(this))}continue(){var e;return((e=F(this,La))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var l,c,f,h,p,g,v,x,k,b,_,C,j,T,N,P,D,M;const n=()=>{rt(this,Zs,fo).call(this,{type:"continue"})},r={client:F(this,zd),meta:this.options.meta,mutationKey:this.options.mutationKey};ve(this,La,$k({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(O,z)=>{rt(this,Zs,fo).call(this,{type:"failed",failureCount:O,error:z})},onPause:()=>{rt(this,Zs,fo).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>F(this,Jn).canRun(this)}));const s=this.state.status==="pending",o=!F(this,La).canStart();try{if(s)n();else{rt(this,Zs,fo).call(this,{type:"pending",variables:e,isPaused:o}),F(this,Jn).config.onMutate&&await F(this,Jn).config.onMutate(e,this,r);const z=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,e,r));z!==this.state.context&&rt(this,Zs,fo).call(this,{type:"pending",context:z,variables:e,isPaused:o})}const O=await F(this,La).start();return await((h=(f=F(this,Jn).config).onSuccess)==null?void 0:h.call(f,O,e,this.state.context,this,r)),await((g=(p=this.options).onSuccess)==null?void 0:g.call(p,O,e,this.state.context,r)),await((x=(v=F(this,Jn).config).onSettled)==null?void 0:x.call(v,O,null,this.state.variables,this.state.context,this,r)),await((b=(k=this.options).onSettled)==null?void 0:b.call(k,O,null,e,this.state.context,r)),rt(this,Zs,fo).call(this,{type:"success",data:O}),O}catch(O){try{await((C=(_=F(this,Jn).config).onError)==null?void 0:C.call(_,O,e,this.state.context,this,r))}catch(z){Promise.reject(z)}try{await((T=(j=this.options).onError)==null?void 0:T.call(j,O,e,this.state.context,r))}catch(z){Promise.reject(z)}try{await((P=(N=F(this,Jn).config).onSettled)==null?void 0:P.call(N,void 0,O,this.state.variables,this.state.context,this,r))}catch(z){Promise.reject(z)}try{await((M=(D=this.options).onSettled)==null?void 0:M.call(D,void 0,O,e,this.state.context,r))}catch(z){Promise.reject(z)}throw rt(this,Zs,fo).call(this,{type:"error",error:O}),O}finally{F(this,Jn).runNext(this)}}},zd=new WeakMap,Qs=new WeakMap,Jn=new WeakMap,La=new WeakMap,Zs=new WeakSet,fo=function(e){const n=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};
320case"pending":return{...r,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{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Fn.batch(()=>{F(this,Qs).forEach(r=>{r.onMutationUpdate(e)}),F(this,Jn).notify({mutation:this,type:"updated",action:e})})},tk);function IM(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Ni,Ds,Vd,nk,FM=(nk=class extends Wd{constructor(e={}){super();Me(this,Ni);Me(this,Ds);Me(this,Vd);this.config=e,ve(this,Ni,new Set),ve(this,Ds,new Map),ve(this,Vd,0)}build(e,n,r){const s=new DM({client:e,mutationCache:this,mutationId:++ch(this,Vd)._,options:e.defaultMutationOptions(n),state:r});return this.add(s),s}add(e){F(this,Ni).add(e);const n=hh(e);if(typeof n=="string"){const r=F(this,Ds).get(n);r?r.push(e):F(this,Ds).set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(F(this,Ni).delete(e)){const n=hh(e);if(typeof n=="string"){const r=F(this,Ds).get(n);if(r)if(r.length>1){const s=r.indexOf(e);s!==-1&&r.splice(s,1)}else r[0]===e&&F(this,Ds).delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=hh(e);if(typeof n=="string"){const r=F(this,Ds).get(n),s=r==null?void 0:r.find(o=>o.state.status==="pending");return!s||s===e}else return!0}runNext(e){var r;const n=hh(e);if(typeof n=="string"){const s=(r=F(this,Ds).get(n))==null?void 0:r.find(o=>o!==e&&o.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Fn.batch(()=>{F(this,Ni).forEach(e=>{this.notify({type:"removed",mutation:e})}),F(this,Ni).clear(),F(this,Ds).clear()})}getAll(){return Array.from(F(this,Ni))}find(e){const n={exact:!0,...e};return this.getAll().find(r=>r_(n,r))}findAll(e={}){return this.getAll().filter(n=>r_(e,n))}notify(e){Fn.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return Fn.batch(()=>Promise.all(e.map(n=>n.continue().catch(Nr))))}},Ni=new WeakMap,Ds=new WeakMap,Vd=new WeakMap,nk);function hh(t){var e;return(e=t.options.scope)==null?void 0:e.id}var ei,rk,BM=(rk=class extends Wd{constructor(e={}){super();Me(this,ei);this.config=e,ve(this,ei,new Map)}build(e,n,r){const s=n.queryKey,o=n.queryHash??Ov(s,n);let l=this.get(o);return l||(l=new RM({client:e,queryKey:s,queryHash:o,options:e.defaultQueryOptions(n),state:r,defaultOptions:e.getQueryDefaults(s)}),this.add(l)),l}add(e){F(this,ei).has(e.queryHash)||(F(this,ei).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=F(this,ei).get(e.queryHash);n&&(e.destroy(),n===e&&F(this,ei).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Fn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return F(this,ei).get(e)}getAll(){return[...F(this,ei).values()]}find(e){const n={exact:!0,...e};return this.getAll().find(r=>n_(n,r))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(r=>n_(e,r)):n}notify(e){Fn.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){Fn.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Fn.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ei=new WeakMap,rk),Vt,_o,So,gc,yc,Co,vc,xc,sk,UM=(sk=class{constructor(t={}){Me(this,Vt);Me(this,_o);Me(this,So);Me(this,gc);Me(this,yc);Me(this,Co);Me(this,vc);Me(this,xc);ve(this,Vt,t.queryCache||new BM),ve(this,_o,t.mutationCache||new FM),ve(this,So,t.defaultOptions||{}),ve(this,gc,new Map),ve(this,yc,new Map),ve(this,Co,0)}mount(){ch(this,Co)._++,F(this,Co)===1&&(ve(this,vc,Lv.subscribe(async t=>{t&&(await this.resumePausedMutations(),F(this,Vt).onFocus())})),ve(this,xc,vp.subscribe(async t=>{t&&(await this.resumePausedMutations(),F(this,Vt).onOnline())})))}unmount(){var t,e;
vendor: 4,758 bytes, line 320
320ch(this,Co)._--,F(this,Co)===0&&((t=F(this,vc))==null||t.call(this),ve(this,vc,void 0),(e=F(this,xc))==null||e.call(this),ve(this,xc,void 0))}isFetching(t){return F(this,Vt).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return F(this,_o).findAll({...t,status:"pending"}).length}getQueryData(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=F(this,Vt).get(e.queryHash))==null?void 0:n.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),n=F(this,Vt).build(this,e),r=n.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&n.isStaleByTime(Ao(e.staleTime,n))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return F(this,Vt).findAll(t).map(({queryKey:e,state:n})=>{const r=n.data;return[e,r]})}setQueryData(t,e,n){const r=this.defaultQueryOptions({queryKey:t}),s=F(this,Vt).get(r.queryHash),o=s==null?void 0:s.state.data,l=wM(e,o);if(l!==void 0)return F(this,Vt).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(t,e,n){return Fn.batch(()=>F(this,Vt).findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,e,n)]))}getQueryState(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=F(this,Vt).get(e.queryHash))==null?void 0:n.state}removeQueries(t){const e=F(this,Vt);Fn.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=F(this,Vt);return Fn.batch(()=>(n.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},r=Fn.batch(()=>F(this,Vt).findAll(t).map(s=>s.cancel(n)));return Promise.all(r).then(Nr).catch(Nr)}invalidateQueries(t,e={}){return Fn.batch(()=>(F(this,Vt).findAll(t).forEach(n=>{n.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 n={...e,cancelRefetch:e.cancelRefetch??!0},r=Fn.batch(()=>F(this,Vt).findAll(t).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let o=s.fetch(void 0,n);return n.throwOnError||(o=o.catch(Nr)),s.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Nr)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=F(this,Vt).build(this,e);return n.isStaleByTime(Ao(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Nr).catch(Nr)}fetchInfiniteQuery(t){return t.behavior=u_(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Nr).catch(Nr)}ensureInfiniteQueryData(t){return t.behavior=u_(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return vp.isOnline()?F(this,_o).resumePausedMutations():Promise.resolve()}getQueryCache(){return F(this,Vt)}getMutationCache(){return F(this,_o)}getDefaultOptions(){return F(this,So)}setDefaultOptions(t){ve(this,So,t)}setQueryDefaults(t,e){F(this,gc).set(yd(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...F(this,gc).values()],n={};return e.forEach(r=>{vd(t,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(t,e){F(this,yc).set(yd(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...F(this,yc).values()],n={};return e.forEach(r=>{vd(t,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...F(this,So).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=Ov(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===Mv&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...F(this,So).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){F(this,Vt).clear(),F(this,_o).clear()}},Vt=new WeakMap,_o=new WeakMap,So=new WeakMap,gc=new WeakMap,yc=new WeakMap,Co=new WeakMap,vc=new WeakMap,xc=new WeakMap,sk),Gk=S.createContext(void 0),zM=t=>{const e=S.useContext(Gk);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},VM=({client:t,children:e})=>(S.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),u.jsx(Gk.Provider,{value:t,children:e})),Yk=S.createContext(!1),$M=()=>S.useContext(Yk);Yk.Provider;function WM(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var HM=S.createContext(WM()),qM=()=>S.useContext(HM),GM=(t,e,n)=>{const r=n!=null&&n.state.error&&typeof t.throwOnError=="function"?zk(t.throwOnError,[n.state.error,n]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||r)&&(e.isReset()||(t.retryOn
320Mount=!1))},YM=t=>{S.useEffect(()=>{t.clearReset()},[t])},KM=({result:t,errorResetBoundary:e,throwOnError:n,query:r,suspense:s})=>t.isError&&!e.isReset()&&!t.isFetching&&r&&(s&&t.data===void 0||zk(n,[t.error,r])),JM=t=>{if(t.suspense){const n=s=>s==="static"?s:Math.max(s??1e3,1e3),r=t.staleTime;t.staleTime=typeof r=="function"?(...s)=>n(r(...s)):n(r),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},XM=(t,e)=>t.isLoading&&t.isFetching&&!e,QM=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,f_=(t,e,n)=>e.fetchOptimistic(t).catch(()=>{n.clearReset()});function ZM(t,e,n){var v,x,k,b;const r=$M(),s=qM(),o=zM(),l=o.defaultQueryOptions(t);(x=(v=o.getDefaultOptions().queries)==null?void 0:v._experimental_beforeQuery)==null||x.call(v,l);const c=o.getQueryCache().get(l.queryHash);l._optimisticResults=r?"isRestoring":"optimistic",JM(l),GM(l,s,c),YM(s);const f=!o.getQueryCache().get(l.queryHash),[h]=S.useState(()=>new e(o,l)),p=h.getOptimisticResult(l),g=!r&&t.subscribed!==!1;if(S.useSyncExternalStore(S.useCallback(_=>{const C=g?h.subscribe(Fn.batchCalls(_)):Nr;return h.updateResult(),C},[h,g]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),S.useEffect(()=>{h.setOptions(l)},[l,h]),QM(l,p))throw f_(l,h,s);if(KM({result:p,errorResetBoundary:s,throwOnError:l.throwOnError,query:c,suspense:l.suspense}))throw p.error;if((b=(k=o.getDefaultOptions().queries)==null?void 0:k._experimental_afterQuery)==null||b.call(k,l,p),l.experimental_prefetchInRender&&!qa&&XM(p,r)){const _=f?f_(l,h,s):c==null?void 0:c.promise;_==null||_.catch(Nr).finally(()=>{h.updateResult()})}return l.notifyOnChangeProps?p:h.trackResult(p)}function e3(t,e){return ZM(t,AM)}const t3=new UM({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});var Kk=ok();const n3=wv(Kk);/**
321 * @remix-run/router v1.23.3
322 *
323 * Copyright (c) Remix Software Inc.
324 *
325 * This source code is licensed under the MIT license found in the
326 * LICENSE.md file in the root directory of this source tree.
327 *
328 * @license MIT
329 */function xd(){return xd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},xd.apply(null,arguments)}var ko;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(ko||(ko={}));const h_="popstate";function r3(t){t===void 0&&(t={});function e(r,s){let{pathname:o,search:l,hash:c}=r.location;return y0("",{pathname:o,search:l,hash:c},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:xp(s)}return i3(e,n,null,t)}function ln(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Iv(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function s3(){return Math.random().toString(36).substr(2,8)}function p_(t,e){return{usr:t.state,key:t.key,idx:e}}function y0(t,e,n,r){return n===void 0&&(n=null),xd({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?Mc(e):e,{state:n,key:e&&e.key||r||s3()})}function xp(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Mc(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function i3(t,e,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:o=!1}=r,l=s.history,c=ko.Pop,f=null,h=p();h==null&&(h=0,l.replaceState(xd({},l.state,{idx:h}),""));function p(){return(l.state||{idx:null}).idx}function g(){c=ko.Pop;let _=p(),C=_==null?null:_-h;h=_,f&&f({action:c,location:b.location,delta:C})}function v(_,C){c=ko.Push;let j=y0(b.location,_,C);h=p()+1;let T=p_(j,h),N=b.createHref(j);try{l.pushState(T,"",N)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;s.location.assign(N)}o&&f&&f({action:c,location:b.location,delta:1})}function x(_,C){c=ko.Replace;let j=y0(b.location,_,C);h=p();let T=p_(j,h),N=b.createHref(j);l.replaceState(T,"",N),o&&f&&f({action:c,location:b.location,delta:0})}function k(_){let C=s.location.origin!=="null"?s.location.origin:s.location.href,j=typeof _=="string"?_:xp(_);return j=j.replace(/ $/,"%20"),ln(C,"No window.location.(origin|href) available to create URL for href: "+j),new URL(j,C)}let b={get action(){return c},get location(){return t(s,l)},listen(_){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(h_,g),f=_,()=>{s.removeEventListener(h_,g),f=null}},createHref(_){return e(s,_)},createURL:k,encodeLocation(_){let C=k(_);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:v,replace:x,go(_){return l.go(_)}};return b}var m_;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(m_||(m_={}));function o3(t,e,n){return n===void 0&&(n="/"),a3(t,e,n)}function a3(t,e,n,r){let s=typeof e=="string"?Mc(e):e,o=Fv(s.pathname||"/",n);if(o==null)return null;let l=Jk(t);l3(l);let c=null,f=w3(o);for(let h=0;c==null&&h<l.length;++h)c=y3(l[h],f);return c}function Jk(t,e,n,r){e===void 0&&(e=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(o,l,c)=>{let f={relativePath:c===void 0?o.path||"":c,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};f.relativePath.startsWith("/")&&(ln(f.relativePath.startsWith(r),'Absolute route path "'+f.relativePath+'" nested under path '+('"'+r+'" is not val
329id. An absolute child route path ')+"must start with the combined path of all its parent routes."),f.relativePath=f.relativePath.slice(r.length));let h=Oo([r,f.relativePath]),p=n.concat(f);o.children&&o.children.length>0&&(ln(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+h+'".')),Jk(o.children,e,p,h)),!(o.path==null&&!o.index)&&e.push({path:h,score:m3(h,o.index),routesMeta:p})};return t.forEach((o,l)=>{var c;if(o.path===""||!((c=o.path)!=null&&c.includes("?")))s(o,l);else for(let f of Xk(o.path))s(o,l,f)}),e}function Xk(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,s=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return s?[o,""]:[o];let l=Xk(r.join("/")),c=[];return c.push(...l.map(f=>f===""?o:[o,f].join("/"))),s&&c.push(...l),c.map(f=>t.startsWith("/")&&f===""?"/":f)}function l3(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:g3(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const c3=/^:[\w-]+$/,u3=3,d3=2,f3=1,h3=10,p3=-2,g_=t=>t==="*";function m3(t,e){let n=t.split("/"),r=n.length;return n.some(g_)&&(r+=p3),e&&(r+=d3),n.filter(s=>!g_(s)).reduce((s,o)=>s+(c3.test(o)?u3:o===""?f3:h3),r)}function g3(t,e){return t.length===e.length&&t.slice(0,-1).every((r,s)=>r===e[s])?t[t.length-1]-e[e.length-1]:0}function y3(t,e,n){let{routesMeta:r}=t,s={},o="/",l=[];for(let c=0;c<r.length;++c){let f=r[c],h=c===r.length-1,p=o==="/"?e:e.slice(o.length)||"/",g=v3({path:f.relativePath,caseSensitive:f.caseSensitive,end:h},p),v=f.route;if(!g)return null;
vendor: 7,249 bytes, lines 329-338
329Object.assign(s,g.params),l.push({params:s,pathname:Oo([o,g.pathname]),pathnameBase:k3(Oo([o,g.pathnameBase])),route:v}),g.pathnameBase!=="/"&&(o=Oo([o,g.pathnameBase]))}return l}function v3(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=x3(t.path,t.caseSensitive,t.end),s=e.match(n);if(!s)return null;let o=s[0],l=o.replace(/(.)\/+$/,"$1"),c=s.slice(1);return{params:r.reduce((h,p,g)=>{let{paramName:v,isOptional:x}=p;if(v==="*"){let b=c[g]||"";l=o.slice(0,o.length-b.length).replace(/(.)\/+$/,"$1")}const k=c[g];return x&&!k?h[v]=void 0:h[v]=(k||"").replace(/%2F/g,"/"),h},{}),pathname:o,pathnameBase:l,pattern:t}}function x3(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),Iv(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 r=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,c,f)=>(r.push({paramName:c,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,e?void 0:"i"),r]}function w3(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Iv(!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 Fv(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}const b3=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,_3=t=>b3.test(t);function S3(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:s=""}=typeof t=="string"?Mc(t):t,o;if(n)if(_3(n))o=n;else{if(n.includes("//")){let l=n;n=eT(n),Iv(!1,"Pathnames cannot have embedded double slashes - normalizing "+(l+" -> "+n))}n.startsWith("/")?o=y_(n.substring(1),"/"):o=y_(n,e)}else o=e;return{pathname:o,search:T3(r),hash:E3(s)}}function y_(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function oy(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function C3(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Qk(t,e){let n=C3(t);return e?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Zk(t,e,n,r){r===void 0&&(r=!1);let s;typeof t=="string"?s=Mc(t):(s=xd({},t),ln(!s.pathname||!s.pathname.includes("?"),oy("?","pathname","search",s)),ln(!s.pathname||!s.pathname.includes("#"),oy("#","pathname","hash",s)),ln(!s.search||!s.search.includes("#"),oy("#","search","hash",s)));let o=t===""||s.pathname==="",l=o?"/":s.pathname,c;if(l==null)c=n;else{let g=e.length-1;if(!r&&l.startsWith("..")){let v=l.split("/");for(;v[0]==="..";)v.shift(),g-=1;s.pathname=v.join("/")}c=g>=0?e[g]:"/"}let f=S3(s,c),h=l&&l!=="/"&&l.endsWith("/"),p=(o||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(h||p)&&(f.pathname+="/"),f}const eT=t=>t.replace(/\/\/+/g,"/"),Oo=t=>eT(t.join("/")),k3=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),T3=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,E3=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function j3(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const tT=["post","put","patch","delete"];new Set(tT);const N3=["get",...tT];new Set(N3);/**
330 * React Router v6.30.4
331 *
332 * Copyright (c) Remix Software Inc.
333 *
334 * This source code is licensed under the MIT license found in the
335 * LICENSE.md file in the root directory of this source tree.
336 *
337 * @license MIT
338 */function wd(){return wd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},wd.apply(null,arguments)}const Bv=S.createContext(null),P3=S.createContext(null),sl=S.createContext(null),Hd=S.createContext(null),Go=S.createContext({outlet:null,matches:[],isDataRoute:!1}),nT=S.createContext(null);function R3(t,e){let{relative:n}=e===void 0?{}:e;qd()||ln(!1);let{basename:r,navigator:s}=S.useContext(sl),{hash:o,pathname:l,search:c}=iT(t,{relative:n}),f=l;return r!=="/"&&(f=l==="/"?r:Oo([r,l])),s.createHref({pathname:f,search:c,hash:o})}function qd(){return S.useContext(Hd)!=null}function Ui(){return qd()||ln(!1),S.useContext(Hd).location}function A3(){return S.useContext(Hd).navigationType}function rT(t){S.useContext(sl).static||S.useLayoutEffect(t)}function sT(){let{isDataRoute:t}=S.useContext(Go);return t?G3():O3()}function O3(){qd()||ln(!1);let t=S.useContext(Bv),{basename:e,future:n,navigator:r}=S.useContext(sl),{matches:s}=S.useContext(Go),{pathname:o}=Ui(),l=JSON.stringify(Qk(s,n.v7_relativeSplatPath)),c=S.useRef(!1);return rT(()=>{c.current=!0}),S.useCallback(function(h,p){if(p===void 0&&(p={}),!c.current)return;if(typeof h=="number"){r.go(h);return}let g=Zk(h,JSON.parse(l),o,p.relative==="path");t==null&&e!=="/"&&(g.pathname=g.pathname==="/"?e:Oo([e,g.pathname])),(p.replace?r.replace:r.push)(g,p.state,p)},[e,r,l,o,t])}const M3=S.createContext(null);function L3(t){let e=S.useContext(Go).outlet;return e&&S.createElement(M3.Provider,{value:t},e)}function iT(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=S.useContext(sl),{matches:s}=S.useContext(Go),{pathname:o}=Ui(),l=JSON.stringify(Qk(s,r.v7_relativeSplatPath));return S.useMemo(()=>Zk(t,JSON.parse(l),o,n==="path"),[t,l,o,n])}function D3(t,e){return I3(t,e)}function I3(t,e,n,r){qd()||ln(!1);let{navigator:s}=S.useContext(sl),{matches:o}=S.useContext(Go),l=o[o.length-1],c=l?l.params:{};l&&l.pathname;let f=l?l.pathnameBase:"/";l&&l.route;let h=Ui(),p;if(e){var g;let _=typeof e=="string"?Mc(e):e;f==="/"||(g=_.pathname)!=null&&g.startsWith(f)||ln(!1),p=_}else p=h;let v=p.pathname||"/",x=v;if(f!=="/"){let _=f.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(_.length).join("/")}let k=o3(t,{pathname:x}),b=V3(k&&k.map(_=>Object.assign({},_,{params:Object.assign({},c,_.params),pathname:Oo([f,s.encodeLocation?s.encodeLocation(_.pathname).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?f:Oo([f,s.encodeLocation?s.encodeLocation(_.pathnameBase).pathname:_.pathnameBase])})),o,n,r);return e&&b?S.createElement(Hd.Provider,{value:{location:wd({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:ko.Pop}},b):b}function F3(){let t=q3(),e=j3(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application 
338Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},e),n?S.createElement("pre",{style:s},n):null,null)}const B3=S.createElement(F3,null);class U3 extends S.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,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?S.createElement(Go.Provider,{value:this.props.routeContext},S.createElement(nT.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function z3(t){let{routeContext:e,match:n,children:r}=t,s=S.useContext(Bv);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),S.createElement(Go.Provider,{value:e},r)}function V3(t,e,n,r){var s;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var o;if(!n)return null;if(n.errors)t=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let l=t,c=(s=n)==null?void 0:s.errors;if(c!=null){let p=l.findIndex(g=>g.route.id&&(c==null?void 0:c[g.route.id])!==void 0);p>=0||ln(!1),l=l.slice(0,Math.min(l.length,p+1))}let f=!1,h=-1;if(n&&r&&r.v7_partialHydration)for(let p=0;p<l.length;p++){let g=l[p];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(h=p),g.route.id){let{loaderData:v,errors:x}=n,k=g.route.loader&&v[g.route.id]===void 0&&(!x||x[g.route.id]===void 0);if(g.route.lazy||k){f=!0,h>=0?l=l.slice(0,h+1):l=[l[0]];break}}}return l.reduceRight((p,g,v)=>{let x,k=!1,b=null,_=null;n&&(x=c&&g.route.id?c[g.route.id]:void 0,b=g.route.errorElement||B3,f&&(h<0&&v===0?(Y3("route-fallback"),k=!0,_=null):h===v&&(k=!0,_=g.route.hydrateFallbackElement||null)));let C=e.concat(l.slice(0,v+1)),j=()=>{let T;return x?T=b:k?T=_:g.route.Component?T=S.createElement(g.route.Component,null):g.route.element?T=g.route.element:T=p,S.createElement(z3,{match:g,routeContext:{outlet:p,matches:C,isDataRoute:n!=null},children:T})};return n&&(g.route.ErrorBoundary||g.route.errorElement||v===0)?S.createElement(U3,{location:n.location,revalidation:n.revalidation,component:b,error:x,children:j(),routeContext:{outlet:null,matches:C,isDataRoute:!0}}):j()},null)}var oT=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(oT||{}),aT=(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})(aT||{});function $3(t){let e=S.useContext(Bv);return e||ln(!1),e}function W3(t){let e=S.useContext(P3);return e||ln(!1),e}function H3(t){let e=S.useContext(Go);return e||ln(!1),e}function lT(t){let e=H3(),n=e.matches[e.matches.length-1];return n.route.id||ln(!1),n.route.id}function q3(){var t;let e=S.useContext(nT),n=W3(),r=lT();return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function G3(){let{router:t}=$3(oT.UseNavigateStable),e=lT(aT.UseNavigateStable),n=S.useRef(!1);return rT(()=>{n.current=!0}),S.useCallback(function(s,o){o===void 0&&(o={}),n.current&&(typeof s=="number"?t.navigate(s):t.navigate(s,wd({fromRouteId:e},o)))},[t,e])}const v_={};function Y3(t,e,n){v_[t]||(v_[t]=!0)}function K3(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function J3(t){return L3(t.context)}function En(t){ln(!1)}function X3(t){let{basename:e="/",children:n=null,location:r,navigationType:s=ko.Pop,navigator:o,static:l=!1,future:c}=t;qd()&&ln(!1);let f=e.replace(/^\/*/,"/"),h=S.useMemo(()=>({basename:f,navigator:o,static:l,future:wd({v7_relativeSplatPath:!1},c)}),[f,c,o,l]);typeof r=="string"&&(r=Mc(r));let{pathname:p="/",search:g="",hash:v="",state:x=null,key:k="default"}=r,b=S.useMemo(()=>{let _=Fv(p,f);return _==null?null:{location:{pathname:_,search:g,hash:v,state:x,key:k},navigationType:s}},[f,p,g,v,x,k,s]);return b==null?null:S.createElement(sl.Provider,{value:h},S.createElement(Hd.Provider,{children:n,value:b}))}function Q3(t){let{children:e,location:n}=t;return D3(v0(e),n)}new Promise(()=>{});function v0(t,e){e===void 0&&(e=[]);let n=[];
338return S.Children.forEach(t,(r,s)=>{if(!S.isValidElement(r))return;let o=[...e,s];if(r.type===S.Fragment){n.push.apply(n,v0(r.props.children,o));return}r.type!==En&&ln(!1),!r.props.index||!r.props.children||ln(!1);let l={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=v0(r.props.children,o)),n.push(l)}),n}/**
339 * React Router DOM v6.30.4
340 *
341 * Copyright (c) Remix Software Inc.
342 *
343 * This source code is licensed under the MIT license found in the
344 * LICENSE.md file in the root directory of this source tree.
345 *
346 * @license MIT
347 */function x0(){return x0=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},x0.apply(null,arguments)}function Z3(t,e){if(t==null)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.indexOf(r)!==-1)continue;n[r]=t[r]}return n}function eL(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function tL(t,e){return t.button===0&&(!e||e==="_self")&&!eL(t)}function w0(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,n)=>{let r=t[n];return e.concat(Array.isArray(r)?r.map(s=>[n,s]):[[n,r]])},[]))}function nL(t,e){let n=w0(t);return e&&e.forEach((r,s)=>{n.has(s)||e.getAll(s).forEach(o=>{n.append(s,o)})}),n}const rL=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],sL="6";try{window.__reactRouterVersion=sL}catch{}const iL="startTransition",x_=Gp[iL];function oL(t){let{basename:e,children:n,future:r,window:s}=t,o=S.useRef();o.current==null&&(o.current=r3({window:s,v5Compat:!0}));let l=o.current,[c,f]=S.useState({action:l.action,location:l.location}),{v7_startTransition:h}=r||{},p=S.useCallback(g=>{h&&x_?x_(()=>f(g)):f(g)},[f,h]);return S.useLayoutEffect(()=>l.listen(p),[l,p]),S.useEffect(()=>K3(r),[r]),S.createElement(X3,{basename:e,children:n,location:c.location,navigationType:c.action,navigator:l,future:r})}const aL=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",lL=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,cn=S.forwardRef(function(e,n){let{onClick:r,relative:s,reloadDocument:o,replace:l,state:c,target:f,to:h,preventScrollReset:p,viewTransition:g}=e,v=Z3(e,rL),{basename:x}=S.useContext(sl),k,b=!1;if(typeof h=="string"&&lL.test(h)&&(k=h,aL))try{let T=new URL(window.location.href),N=h.startsWith("//")?new URL(T.protocol+h):new URL(h),P=Fv(N.pathname,x);N.origin===T.origin&&P!=null?h=P+N.search+N.hash:b=!0}catch{}let _=R3(h,{relative:s}),C=cL(h,{replace:l,state:c,target:f,preventScrollReset:p,relative:s,viewTransition:g});function j(T){r&&r(T),T.defaultPrevented||C(T)}return S.createElement("a",x0({},v,{href:k||_,onClick:b||o?r:j,ref:n,target:f}))});var w_;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(w_||(w_={}));var b_;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(b_||(b_={}));function cL(t,e){let{target:n,replace:r,state:s,preventScrollReset:o,relative:l,viewTransition:c}=e===void 0?{}:e,f=sT(),h=Ui(),p=iT(t,{relative:l});return S.useCallback(g=>{if(tL(g,n)){g.preventDefault();let v=r!==void 0?r:xp(h)===xp(p);f(t,{replace:v,state:s,preventScrollReset:o,relative:l,viewTransition:c})}},[h,f,p,r,s,n,t,o,l,c])}function uL(t){let e=S.useRef(w0(t)),n=S.useRef(!1),r=Ui(),s=S.useMemo(()=>nL(r.search,n.current?null:e.current),[r.search]),o=sT(),l=S.useCallback((c,f)=>{const h=w0(typeof c=="function"?c(s):c);n.current=!0,o("?"+h,f)},[o,s]);return[s,l]}function cT(t,e){return function(){return t.apply(e,arguments)}}const{toString:dL}=Object.prototype,{getPrototypeOf:wc}=Object,{iterator:Gd,toStringTag:uT}=Symbol,wp=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),bd=(t,e)=>{let n=t;const r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),wp(n,e))return!0;n=wc(n)}return!1},fL=(t,e)=>t!=null&&bd(t,e)?t[e]:void 0,Uv=(t=>e=>{const n=dL.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Bs=t=>(t=t.toLowerCase(),e=>Uv(e)===t),Qp=t=>e=>typeof e===t,{isArray:Ga}=Array,bc=Qp("undefined");function Lc(t){return t!==null&&!bc(t)&&t.constructor!==null&&!bc(t.constructor)&&Rr(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const dT=Bs("ArrayBuffer");function hL(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&dT(t.buffer),e}const pL=Qp("string"),Rr=Qp("function"),fT=Qp("number"),Dc=t=>t!==null&&typeof t=="object",mL=t=>t===!0||t===!1,Yh=t=>{if(!Dc(t))return!1;const e=wc(t);return(e===null||e===Object.prototype||wc(e)===null)&&!bd(t,uT)&&!bd(t,Gd)},gL=t=>{if(!Dc(t)||Lc(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},yL=Bs("Date"),vL=Bs("File"),xL=t=>!!(t&&typeof t.uri<"u"),wL=t=>t&&typeof t.getParts<"u",bL=Bs("Blob"),_L=Bs("FileList"),SL=t=>Dc(t)&&Rr(t.pipe);function CL(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const __=CL(),S_=typeof __.FormData<"u"?__.FormData:void 0,kL=t=>{if(!t)return!1;if(S_&&t instanceof S_)return!0;const e=wc(t);if(!e||e===Object.prototype||!Rr(t.append))return!1;const n=Uv(t);return n==="formdata"||n==="object"&&Rr(t.toString)&&t.toString()==="[object FormData]"},TL=Bs("URLSearchParams"),[EL,jL,NL,PL]=["ReadableStream","Request","Response","Headers"].map(Bs),RL=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yd(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),Ga(t))for(r=0,s=t.length;r<s;r++)e.call(null,t[r],r,t);else{if(Lc(t))return;const o=n?Object.getOwnPropertyNames(t):Object.keys(t),l=o.length;let c;for(r=0;r<l;r++)c=o[r],e.call(null,t[c],c,t)}}function hT(t,e){if(Lc(t))return null;e=e.toLowerCase();const n=Object.keys(t);let r=n.length,s;for(;r-- >0;)if(s=n[r],e===s.toLowerCase())return s;return null}const Sa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,pT=t=>!bc(t)&&t!==Sa;function b0(...t){const{caseless:e,skipUndefined:n}=pT(this)&&this||{},r={},s=(o,l)=>{if(l==="__proto__"||l==="constructor"||l==="prototype")return;const c=e&&typeof l=="string"&&hT(r,l)||l,f=wp(r,c)?r[c]:void 0;Yh(f)&&Yh(o)?r[c]=b0(f,o):Yh(o)?r[c]=b0({},o):Ga(o)?r[c]=o.slice():(!n||!bc(o))&&(r[c]=o)};for(let o=0,l=t.length;o<l;
vendor: 7,167 bytes, lines 347-348
347o++){const c=t[o];if(!c||Lc(c)||(Yd(c,s),typeof c!="object"||Ga(c)))continue;const f=Object.getOwnPropertySymbols(c);for(let h=0;h<f.length;h++){const p=f[h];$L.call(c,p)&&s(c[p],p)}}return r}const AL=(t,e,n,{allOwnKeys:r}={})=>(Yd(e,(s,o)=>{n&&Rr(s)?Object.defineProperty(t,o,{__proto__:null,value:cT(s,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,o,{__proto__:null,value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),t),OL=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),ML=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),n&&Object.assign(t.prototype,n)},LL=(t,e,n,r)=>{let s,o,l;const c={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),o=s.length;o-- >0;)l=s[o],(!r||r(l,t,e))&&!c[l]&&(e[l]=t[l],c[l]=!0);t=n!==!1&&wc(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},DL=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},IL=t=>{if(!t)return null;if(Ga(t))return t;let e=t.length;if(!fT(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},FL=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&wc(Uint8Array)),BL=(t,e)=>{const r=(t&&t[Gd]).call(t);let s;for(;(s=r.next())&&!s.done;){const o=s.value;e.call(t,o[0],o[1])}},UL=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},zL=Bs("HTMLFormElement"),VL=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),{propertyIsEnumerable:$L}=Object.prototype,WL=Bs("RegExp"),mT=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Yd(n,(s,o)=>{let l;(l=e(s,o,t))!==!1&&(r[o]=l||s)}),Object.defineProperties(t,r)},HL=t=>{mT(t,(e,n)=>{if(Rr(t)&&["arguments","caller","callee"].includes(n))return!1;const r=t[n];if(Rr(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},qL=(t,e)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return Ga(t)?r(t):r(String(t).split(e)),n},GL=()=>{},YL=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function KL(t){return!!(t&&Rr(t.append)&&t[uT]==="FormData"&&t[Gd])}const JL=t=>{const e=new WeakSet,n=r=>{if(Dc(r)){if(e.has(r))return;if(Lc(r))return r;if(!("toJSON"in r)){e.add(r);const s=Ga(r)?[]:{};return Yd(r,(o,l)=>{const c=n(o);!bc(c)&&(s[l]=c)}),e.delete(r),s}}return r};return n(t)},XL=Bs("AsyncFunction"),QL=t=>t&&(Dc(t)||Rr(t))&&Rr(t.then)&&Rr(t.catch),gT=((t,e)=>t?setImmediate:e?((n,r)=>(Sa.addEventListener("message",({source:s,data:o})=>{s===Sa&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),Sa.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Rr(Sa.postMessage)),ZL=typeof queueMicrotask<"u"?queueMicrotask.bind(Sa):typeof process<"u"&&process.nextTick||gT,yT=t=>t!=null&&Rr(t[Gd]),e5=t=>t!=null&&bd(t,Gd)&&yT(t),U={isArray:Ga,isArrayBuffer:dT,isBuffer:Lc,isFormData:kL,isArrayBufferView:hL,isString:pL,isNumber:fT,isBoolean:mL,isObject:Dc,isPlainObject:Yh,isEmptyObject:gL,isReadableStream:EL,isRequest:jL,isResponse:NL,isHeaders:PL,isUndefined:bc,isDate:yL,isFile:vL,isReactNativeBlob:xL,isReactNative:wL,isBlob:bL,isRegExp:WL,isFunction:Rr,isStream:SL,isURLSearchParams:TL,isTypedArray:FL,isFileList:_L,forEach:Yd,merge:b0,extend:AL,trim:RL,stripBOM:OL,inherits:ML,toFlatObject:LL,kindOf:Uv,kindOfTest:Bs,endsWith:DL,toArray:IL,forEachEntry:BL,matchAll:UL,isHTMLForm:zL,hasOwnProperty:wp,hasOwnProp:wp,hasOwnInPrototypeChain:bd,getSafeProp:fL,reduceDescriptors:mT,freezeMethods:HL,toObjectSet:qL,toCamelCase:VL,noop:GL,toFiniteNumber:YL,findKey:hT,global:Sa,isContextDefined:pT,isSpecCompliantForm:KL,toJSONObject:JL,isAsyncFn:XL,isThenable:QL,setImmediate:gT,asap:ZL,isIterable:yT,isSafeIterable:e5},t5=U.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),n5=t=>{const e={};let n,r,s;return t&&t.split(`
348`).forEach(function(l){s=l.indexOf(":"),n=l.substring(0,s).trim().toLowerCase(),r=l.substring(s+1).trim(),!(!n||e[n]&&t5[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e};function r5(t){let e=0,n=t.length;for(;e<n;){const r=t.charCodeAt(e);if(r!==9&&r!==32)break;e+=1}for(;n>e;){const r=t.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return e===0&&n===t.length?t:t.slice(e,n)}const s5=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),i5=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function zv(t,e){return U.isArray(t)?t.map(n=>zv(n,e)):r5(String(t).replace(e,""))}const o5=t=>zv(t,s5),a5=t=>zv(t,i5);function vT(t){const e=Object.create(null);return U.forEach(t.toJSON(),(n,r)=>{e[r]=a5(n)}),e}const C_=Symbol("internals");function Su(t){return t&&String(t).trim().toLowerCase()}function Kh(t){return t===!1||t==null?t:U.isArray(t)?t.map(Kh):o5(String(t))}function l5(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const c5=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function ay(t,e,n,r,s){if(U.isFunction(r))return r.call(this,e,n);if(s&&(e=n),!!U.isString(e)){if(U.isString(r))return e.indexOf(r)!==-1;if(U.isRegExp(r))return r.test(e)}}function u5(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function d5(t,e){const n=U.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{__proto__:null,value:function(s,o,l){return this[r].call(this,e,s,o,l)},configurable:!0})})}let tr=class{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function o(c,f,h){const p=Su(f);if(!p)return;const g=U.findKey(s,p);(!g||s[g]===void 0||h===!0||h===void 0&&s[g]!==!1)&&(s[g||f]=Kh(c))}const l=(c,f)=>U.forEach(c,(h,p)=>o(h,p,f));if(U.isPlainObject(e)||e instanceof this.constructor)l(e,n);else if(U.isString(e)&&(e=e.trim())&&!c5(e))l(n5(e),n);else if(U.isObject(e)&&U.isSafeIterable(e)){let c=Object.create(null),f,h;for(const p of e){if(!U.isArray(p))throw new TypeError("Object iterator must return a key-value pair");h=p[0],U.hasOwnProp(c,h)?(f=c[h],c[h]=U.isArray(f)?[...f,p[1]]:[f,p[1]]):c[h]=p[1]}l(c,n)}else e!=null&&o(n,e,r);return this}get(e,n){if(e=Su(e),e){const r=U.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return l5(s);if(U.isFunction(n))return n.call(this,s,r);if(U.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Su(e),e){const r=U.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||ay(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function o(l){if(l=Su(l),l){const c=U.findKey(r,l);c&&(!n||ay(r,r[c],c,n))&&(delete r[c],s=!0)}}return U.isArray(e)?e.forEach(o):o(e),s}clear(e){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!e||ay(this,this[o],o,e,!0))&&(delete this[o],s=!0)}return s}normalize(e){const n=this,r={};
vendor: 4,679 bytes, lines 348-349
348return U.forEach(this,(s,o)=>{const l=U.findKey(r,o);if(l){n[l]=Kh(s),delete n[o];return}const c=e?u5(o):String(o).trim();c!==o&&delete n[o],n[c]=Kh(s),r[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return U.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=e&&U.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
349`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(s=>r.set(s)),r}static accessor(e){const r=(this[C_]=this[C_]={accessors:{}}).accessors,s=this.prototype;function o(l){const c=Su(l);r[c]||(d5(s,l),r[c]=!0)}return U.isArray(e)?e.forEach(o):o(e),this}};tr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);U.reduceDescriptors(tr.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});U.freezeMethods(tr);const f5="[REDACTED ****]";function h5(t){if(U.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(U.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}function p5(t,e){const n=new Set(e.map(o=>String(o).toLowerCase())),r=[],s=o=>{if(o===null||typeof o!="object"||U.isBuffer(o))return o;if(r.indexOf(o)!==-1)return;o instanceof tr&&(o=o.toJSON()),r.push(o);let l;if(U.isArray(o))l=[],o.forEach((c,f)=>{const h=s(c);U.isUndefined(h)||(l[f]=h)});else{if(!U.isPlainObject(o)&&h5(o))return r.pop(),o;l=Object.create(null);for(const[c,f]of Object.entries(o)){const h=n.has(c.toLowerCase())?f5:s(f);U.isUndefined(h)||(l[c]=h)}}return r.pop(),l};return s(t)}let fe=class xT extends Error{static from(e,n,r,s,o,l){const c=new xT(e.message,n||e.code,r,s,o);return Object.defineProperty(c,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),c.name=e.name,e.status!=null&&c.status==null&&(c.status=e.status),l&&Object.assign(c,l),c}constructor(e,n,r,s,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),s&&(this.request=s),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,n=e&&U.hasOwnProp(e,"redact")?e.redact:void 0,r=U.isArray(n)&&n.length>0?p5(e,n):U.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};fe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";fe.ERR_BAD_OPTION="ERR_BAD_OPTION";fe.ECONNABORTED="ECONNABORTED";fe.ETIMEDOUT="ETIMEDOUT";fe.ECONNREFUSED="ECONNREFUSED";fe.ERR_NETWORK="ERR_NETWORK";fe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";fe.ERR_DEPRECATED="ERR_DEPRECATED";fe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";fe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";fe.ERR_CANCELED="ERR_CANCELED";fe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";fe.ERR_INVALID_URL="ERR_INVALID_URL";fe.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const m5=null,wT=100;function _0(t){return U.isPlainObject(t)||U.isArray(t)}function bT(t){return U.endsWith(t,"[]")?t.slice(0,-2):t}function ly(t,e,n){return t?t.concat(e).map(function(s,o){return s=bT(s),!n&&o?"["+s+"]":s}).join(n?".":""):e}function g5(t){return U.isArray(t)&&!t.some(_0)}const y5=U.toFlatObject(U,{},null,function(e){return/^is[A-Z]/.test(e)});function Zp(t,e,n){if(!U.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=U.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(j,T){return!U.isUndefined(T[j])});const r=n.metaTokens,s=n.visitor||k,o=n.dots,l=n.indexes,c=n.Blob||typeof Blob<"u"&&Blob,f=n.maxDepth===void 0?wT:n.maxDepth,h=c&&U.isSpecCompliantForm(e),p=[];if(!U.isFunction(s))throw new TypeError("visitor must be a function");function g(C){if(C===null)return"";if(U.isDate(C))return C.toISOString();if(U.isBoolean(C))return C.toString();if(!h&&U.isBlob(C))throw new fe("Blob is not supported. Use a Buffer instead.");if(U.isArrayBuffer(C)||U.isTypedArray(C)){if(h&&typeof c=="function")return new c([C]);if(typeof Buffer<"u")return Buffer.from(C);throw new fe("Blob is not supported. Use a Buffer instead.",fe.ERR_NOT_SUPPORT)}return C}function v(C){if(C>f)throw new fe("Object is too deeply nested ("+C+" levels). Max depth: "+f,fe.ERR_FORM_DATA_DEPTH_EXCEEDED)}
vendor: 7,414 bytes, line 349
349function x(C,j){if(f===1/0)return JSON.stringify(C);const T=[];return JSON.stringify(C,function(P,D){if(!U.isObject(D))return D;for(;T.length&&T[T.length-1]!==this;)T.pop();return T.push(D),v(j+T.length-1),D})}function k(C,j,T){let N=C;if(U.isReactNative(e)&&U.isReactNativeBlob(C))return e.append(ly(T,j,o),g(C)),!1;if(C&&!T&&typeof C=="object"){if(U.endsWith(j,"{}"))j=r?j:j.slice(0,-2),C=x(C,1);else if(U.isArray(C)&&g5(C)||(U.isFileList(C)||U.endsWith(j,"[]"))&&(N=U.toArray(C)))return j=bT(j),N.forEach(function(D,M){!(U.isUndefined(D)||D===null)&&e.append(l===!0?ly([j],M,o):l===null?j:j+"[]",g(D))}),!1}return _0(C)?!0:(e.append(ly(T,j,o),g(C)),!1)}const b=Object.assign(y5,{defaultVisitor:k,convertValue:g,isVisitable:_0});function _(C,j,T=0){if(!U.isUndefined(C)){if(v(T),p.indexOf(C)!==-1)throw new Error("Circular reference detected in "+j.join("."));p.push(C),U.forEach(C,function(P,D){(!(U.isUndefined(P)||P===null)&&s.call(e,P,U.isString(D)?D.trim():D,j,b))===!0&&_(P,j?j.concat(D):[D],T+1)}),p.pop()}}if(!U.isObject(t))throw new TypeError("data must be an object");return _(t),e}function k_(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(r){return e[r]})}function Vv(t,e){this._pairs=[],t&&Zp(t,this,e)}const _T=Vv.prototype;_T.append=function(e,n){this._pairs.push([e,n])};_T.toString=function(e){const n=e?r=>e.call(this,r,k_):k_;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function v5(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ST(t,e,n){if(!e)return t;t=t||"";const r=U.isFunction(n)?{serialize:n}:n,s=U.getSafeProp(r,"encode")||v5,o=U.getSafeProp(r,"serialize");let l;if(o?l=o(e,r):l=U.isURLSearchParams(e)?e.toString():new Vv(e,r).toString(s),l){const c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+l}return t}class T_{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){U.forEach(this.handlers,function(r){r!==null&&e(r)})}}const $v={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},x5=typeof URLSearchParams<"u"?URLSearchParams:Vv,w5=typeof FormData<"u"?FormData:null,b5=typeof Blob<"u"?Blob:null,_5={isBrowser:!0,classes:{URLSearchParams:x5,FormData:w5,Blob:b5},protocols:["http","https","file","blob","url","data"]},Wv=typeof window<"u"&&typeof document<"u",S0=typeof navigator=="object"&&navigator||void 0,S5=Wv&&(!S0||["ReactNative","NativeScript","NS"].indexOf(S0.product)<0),C5=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",k5=Wv&&window.location.href||"http://localhost",T5=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Wv,hasStandardBrowserEnv:S5,hasStandardBrowserWebWorkerEnv:C5,navigator:S0,origin:k5},Symbol.toStringTag,{value:"Module"})),Bn={...T5,..._5};function E5(t,e){return Zp(t,new Bn.classes.URLSearchParams,{visitor:function(n,r,s,o){return Bn.isNode&&U.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...e})}const E_=wT;function CT(t){if(t>E_)throw new fe("FormData field is too deeply nested ("+t+" levels). Max depth: "+E_,fe.ERR_FORM_DATA_DEPTH_EXCEEDED)}function j5(t){const e=[],n=/\w+|\[(\w*)]/g;let r;for(;(r=n.exec(t))!==null;)CT(e.length),e.push(r[0]==="[]"?"":r[1]||r[0]);return e}function N5(t){const e={},n=Object.keys(t);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],e[o]=t[o];return e}function kT(t){function e(n,r,s,o){CT(o);let l=n[o++];if(l==="__proto__")return!0;const c=Number.isFinite(+l),f=o>=n.length;return l=!l&&U.isArray(s)?s.length:l,f?(U.hasOwnProp(s,l)?s[l]=U.isArray(s[l])?s[l].concat(r):[s[l],r]:s[l]=r,!c):((!U.hasOwnProp(s,l)||!U.isObject(s[l]))&&(s[l]=[]),e(n,r,s[l],o)&&U.isArray(s[l])&&(s[l]=N5(s[l])),!c)}if(U.isFormData(t)&&U.isFunction(t.entries)){const n={};return U.forEachEntry(t,(r,s)=>{e(j5(r),s,n,0)}),n}return null}const Ol=(t,e)=>t!=null&&U.hasOwnProp(t,e)?t[e]:void 0;function P5(t,e,n){if(U.isString(t))try{return(e||JSON.parse)(t),U.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const Kd={transitional:$v,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=U.isObject(e);if(o&&U.isHTMLForm(e)&&(e=new FormData(e)),U.isFormData(e))return s?JSON.stringify(kT(e)):e;if(U.isArrayBuffer(e)||U.isBuffer(e)||U.isStream(e)||U.isFile(e)||U.isBlob(e)||U.isReadableStream(e))return e;if(U.isArrayBufferView(e))return e.buffer;if(U.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(o){const f=Ol(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return E5(e,f).toString();if((c=U.isFileList(e))||r.indexOf("multipart/form-data")>-1){const h=Ol(this,"env"),p=h&&h.FormData;return Zp(c?{"files[]":e}:e,p&&new p,f)}}return o||s?(n.setContentType("application/json",!1),P5(e)):e}],transformResponse:[function(e){const n=Ol(this,"transitional")||Kd.transitional,r=n&&n.forcedJSONParsing,s=Ol(this,"responseType"),o=s==="json";if(U.isResponse(e)||U.isReadableStream(e))return e;if(e&&U.isString(e)&&(r&&!s||o)){const c=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e,Ol(this,"parseReviver"))}catch(f){if(c)throw f.name==="SyntaxError"?fe.from(f,fe.ERR_BAD_RESPONSE,this,null,Ol(this,"response")):f}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Bn.classes.FormData,Blob:Bn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};U.forEach(["delete","get","head","post","put","patch","query"],t=>{Kd.headers[t]={}});function cy(t,e){const n=this||Kd,r=e||n,s=tr.from(r.headers);let o=r.data;return U.forEach(t,function(c){o=c.call(n,o,s.normalize(),e?e.status:void 0)}),s.normalize(),o}function TT(t){return!!(t&&t.__CANCEL__)}let Jd=class extends fe{constructor(e,n,r){super(e??"canceled",fe.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function ET(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new fe("Request failed with status code "+n.status,n.status>=400&&n.status<500?fe.ERR_BAD_REQUEST:fe.ERR_BAD_RESPONSE,n.config,n.request,n))}function R5(t){const e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}function A5(t,e){t=t||10;const n=new Array(t),r=new Array(t);let s=0,o=0,l;return e=e!==void 0?e:1e3,function(f){const h=Date.now(),p=r[o];l||(l=h),n[s]=f,r[s]=h;let g=o,v=0;for(;g!==s;)v+=n[g++],g=g%t;if(s=(s+1)%t,s===o&&(o=(o+1)%t),h-l<e)return;const x=p&&h-p;return x?Math.round(v*1e3/x):void 0}}function O5(t,e){let n=0,r=1e3/e,s,o;const l=(h,p=Date.now())=>{n=p,s=null,o&&(clearTimeout(o),o=null),t(...h)};return[(...h)=>{const p=Date.now(),g=p-n;g>=r?l(h,p):(s=h,o||(o=setTimeout(()=>{o=null,l(s)},r-g)))},()=>s&&l(s)]}const bp=(t,e,n=3)=>{let r=0;const s=A5(50,250);return O5(o=>
vendor: 18,807 bytes, lines 349-355
349{if(!o||typeof o.loaded!="number")return;const l=o.loaded,c=o.lengthComputable?o.total:void 0,f=c!=null?Math.min(l,c):l,h=Math.max(0,f-r),p=s(h);r=Math.max(r,f);const g={loaded:f,total:c,progress:c?f/c:void 0,bytes:h,rate:p||void 0,estimated:p&&c?(c-f)/p:void 0,event:o,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(g)},n)},j_=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},N_=t=>(...e)=>U.asap(()=>t(...e)),M5=Bn.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Bn.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Bn.origin),Bn.navigator&&/(msie|trident)/i.test(Bn.navigator.userAgent)):()=>!0,L5=Bn.hasStandardBrowserEnv?{write(t,e,n,r,s,o,l){if(typeof document>"u")return;const c=[`${t}=${encodeURIComponent(e)}`];U.isNumber(n)&&c.push(`expires=${new Date(n).toUTCString()}`),U.isString(r)&&c.push(`path=${r}`),U.isString(s)&&c.push(`domain=${s}`),o===!0&&c.push("secure"),U.isString(l)&&c.push(`SameSite=${l}`),document.cookie=c.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.split(";");for(let n=0;n<e.length;n++){const r=e[n].replace(/^\s+/,""),s=r.indexOf("=");if(s!==-1&&r.slice(0,s)===t)try{return decodeURIComponent(r.slice(s+1))}catch{return r.slice(s+1)}}return null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function D5(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function I5(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}const F5=/^https?:(?!\/\/)/i,B5=/[\t\n\r]/g;function U5(t){let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e)}function z5(t){return U5(t).replace(B5,"")}function P_(t,e){if(typeof t=="string"&&F5.test(z5(t)))throw new fe('Invalid URL: missing "//" after protocol',fe.ERR_INVALID_URL,e)}function jT(t,e,n,r){P_(e,r);let s=!D5(e);return t&&(s||n===!1)?(P_(t,r),I5(t,e)):e}const R_=t=>t instanceof tr?{...t}:t;function Ya(t,e){t=t||{},e=e||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(p,g,v,x){return U.isPlainObject(p)&&U.isPlainObject(g)?U.merge.call({caseless:x},p,g):U.isPlainObject(g)?U.merge({},g):U.isArray(g)?g.slice():g}function s(p,g,v,x){if(U.isUndefined(g)){if(!U.isUndefined(p))return r(void 0,p,v,x)}else return r(p,g,v,x)}function o(p,g){if(!U.isUndefined(g))return r(void 0,g)}function l(p,g){if(U.isUndefined(g)){if(!U.isUndefined(p))return r(void 0,p)}else return r(void 0,g)}function c(p){const g=U.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!U.isUndefined(g))if(U.isPlainObject(g)){if(U.hasOwnProp(g,p))return g[p]}else return;const v=U.hasOwnProp(t,"transitional")?t.transitional:void 0;if(U.isPlainObject(v)&&U.hasOwnProp(v,p))return v[p]}function f(p,g,v){if(U.hasOwnProp(e,v))return r(p,g);if(U.hasOwnProp(t,v))return r(void 0,p)}const h={url:o,method:o,data:o,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,allowedSocketPaths:l,responseEncoding:l,validateStatus:f,headers:(p,g,v)=>s(R_(p),R_(g),v,!0)};return U.forEach(Object.keys({...t,...e}),function(g){if(g==="__proto__"||g==="constructor"||g==="prototype")return;const v=U.hasOwnProp(h,g)?h[g]:s,x=U.hasOwnProp(t,g)?t[g]:void 0,k=U.hasOwnProp(e,g)?e[g]:void 0,b=v(x,k,g);U.isUndefined(b)&&v!==f||(n[g]=b)}),U.hasOwnProp(e,"validateStatus")&&U.isUndefined(e.validateStatus)&&c("validateStatusUndefinedResolves")===!1&&(U.hasOwnProp(t,"validateStatus")?n.validateStatus=r(void 0,t.validateStatus):delete n.validateStatus),n}const V5=["content-type","content-length"];function $5(t,e,n){if(n!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([r,s])=>{V5.includes(r.toLowerCase())&&t.set(r,s)})}const W5=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16)));function NT(t){const e=Ya({},t),n=v=>U.hasOwnProp(e,v)?e[v]:void 0,r=n("data");let s=n("withXSRFToken");const o=n("xsrfHeaderName"),l=n("xsrfCookieName");let c=n("headers");const f=n("auth"),h=n("baseURL"),p=n("allowAbsoluteUrls"),g=n("url");if(e.headers=c=tr.from(c),e.url=ST(jT(h,g,p,e),n("params"),n("paramsSerializer")),f){const v=U.getSafeProp(f,"username")||"",x=U.getSafeProp(f,"password")||"";try{c.set("Authorization","Basic "+btoa(v+":"+(x?W5(x):"")))}catch(k){throw fe.from(k,fe.ERR_BAD_OPTION_VALUE,t)}}if(U.isFormData(r)&&(Bn.hasStandardBrowserEnv||Bn.hasStandardBrowserWebWorkerEnv||U.isReactNative(r)?c.setContentType(void 0):U.isFunction(r.getHeaders)&&$5(c,r.getHeaders(),n("formDataHeaderPolicy"))),Bn.hasStandardBrowserEnv&&(U.isFunction(s)&&(s=s(e)),s===!0||s==null&&M5(e.url))){const x=o&&l&&L5.read(l);x&&c.set(o,x)}return e}const H5=typeof XMLHttpRequest<"u",q5=H5&&function(t){return new Promise(function(n,r){const s=NT(t);let o=s.data;const l=tr.from(s.headers).normalize();let{responseType:c,onUploadProgress:f,onDownloadProgress:h}=s,p,g,v,x,k;function b(){x&&x(),k&&k(),s.cancelToken&&s.cancelToken.unsubscribe(p),s.signal&&s.signal.removeEventListener("abort",p)}let _=new XMLHttpRequest;_.open(s.method.toUpperCase(),s.url,!0),_.timeout=s.timeout;function C(){if(!_)return;const T=tr.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),P={data:!c||c==="text"||c==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:T,config:t,request:_};ET(function(M){n(M),b()},function(M){r(M),b()},P),_=null}"onloadend"in _?_.onloadend=C:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.startsWith("file:"))||setTimeout(C)},_.onabort=function(){_&&(r(new fe("Request aborted",fe.ECONNABORTED,t,_)),b(),_=null)},_.onerror=function(N){const P=N&&N.message?N.message:"Network Error",D=new fe(P,fe.ERR_NETWORK,t,_);D.event=N||null,r(D),b(),_=null},_.ontimeout=function(){let N=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const P=s.transitional||$v;s.timeoutErrorMessage&&(N=s.timeoutErrorMessage),r(new fe(N,P.clarifyTimeoutError?fe.ETIMEDOUT:fe.ECONNABORTED,t,_)),b(),_=null},o===void 0&&l.setContentType(null),"setRequestHeader"in _&&U.forEach(vT(l),function(N,P){_.setRequestHeader(P,N)}),U.isUndefined(s.withCredentials)||(_.withCredentials=!!s.withCredentials),c&&c!=="json"&&(_.responseType=s.responseType),h&&([v,k]=bp(h,!0),_.addEventListener("progress",v)),f&&_.upload&&([g,x]=bp(f),_.upload.addEventListener("progress",g),_.upload.addEventListener("loadend",x)),(s.cancelToken||s.signal)&&(p=T=>{_&&(r(!T||T.type?new Jd(null,t,_):T),_.abort(),b(),_=null)},s.cancelToken&&s.cancelToken.subscribe(p),s.signal&&(s.signal.aborted?p():s.signal.addEventListener("abort",p)));const j=R5(s.url);if(j&&!Bn.protocols.includes(j)){r(new fe("Unsupported protocol "+j+":",fe.ERR_BAD_REQUEST,t)),b();return}_.send(o||null)})},G5=(t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;const n=new AbortController;let r=!1;const s=function(f){if(!r){r=!0,l();const h=f instanceof Error?f:this.reason;n.abort(h instanceof fe?h:new Jd(h instanceof Error?h.message:h))}};let o=e&&setTimeout(()=>{o=null,s(new fe(`timeout of ${e}ms exceeded`,fe.ETIMEDOUT))},e);const l=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(f=>{f.unsubscribe?f.unsubscribe(s):f.removeEventListener("abort",s)}),t=null)};t.forEach(f=>f.addEventListener("abort",s,{once:!0}));const{signal:c}=n;return c.unsubscribe=()=>U.asap(l),c},Y5=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,s;for(;r<n;)s=r+e,yield t.slice(r,s),r=s},K5=async function*(t,e){for await(const n of J5(t))yield*Y5(n,e)},J5=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:r}=await e.read();if(n)break;yield r}}finally{await e.cancel()}},A_=(t,e,n,r)=>{const s=K5(t,e);let o=0,l,c=f=>{l||(l=!0,r&&r(f))};return new ReadableStream({async pull(f){try{const{done:h,value:p}=await s.next();if(h){c(),f.close();return}let g=p.byteLength;if(n){let v=o+=g;n(v)}f.enqueue(new Uint8Array(p))}catch(h){throw c(h),h}},cancel(f){return c(f),s.return()}},{highWaterMark:2})},_p=t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,X5=(t,e,n)=>e+2<n&&_p(t.charCodeAt(e+1))&&_p(t.charCodeAt(e+2));function Q5(t){if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;const e=t.indexOf(",");if(e<0)return 0;const n=t.slice(5,e),r=t.slice(e+1);if(/;base64/i.test(n)){let l=r.length;const c=r.length;for(let x=0;x<c;x++)if(r.charCodeAt(x)===37&&x+2<c){const k=r.charCodeAt(x+1),b=r.charCodeAt(x+2);_p(k)&&_p(b)&&(l-=2,x+=2)}let f=0,h=c-1;const p=x=>x>=2&&r.charCodeAt(x-2)===37&&r.charCodeAt(x-1)===51&&(r.charCodeAt(x)===68||r.charCodeAt(x)===100);h>=0&&(r.charCodeAt(h)===61?(f++,h--):p(h)&&(f++,h-=3)),f===1&&h>=0&&(r.charCodeAt(h)===61||p(h))&&f++;const v=Math.floor(l/4)*3-(f||0);return v>0?v:0}let o=0;for(let l=0,c=r.length;l<c;l++){const f=r.charCodeAt(l);if(f===37&&X5(r,l,c))o+=1,l+=2;else if(f<128)o+=1;else if(f<2048)o+=2;else if(f>=55296&&f<=56319&&l+1<c){const h=r.charCodeAt(l+1);h>=56320&&h<=57343?(o+=4,l++):o+=3}else o+=3}return o}const Hv="1.18.1",O_=64*1024,{isFunction:ph}=U,Z5=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16))),M_=t=>{if(!U.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},L_=(t,...e)=>{try{return!!t(...e)}catch{return!1}},eD=t=>{const e=t.indexOf("://");let n=t;return e!==-1&&(n=n.slice(e+3)),n.includes("@")||n.includes(":")},tD=t=>{const e=U.global!==void 0&&U.global!==null?U.global:globalThis,{ReadableStream:n,TextEncoder:r}=e;t=U.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);const{fetch:s,Request:o,Response:l}=t,c=s?ph(s):typeof fetch=="function",f=ph(o),h=ph(l);if(!c)return!1;const p=c&&ph(n),g=c&&(typeof r=="function"?(C=>j=>C.encode(j))(new r):async C=>new Uint8Array(await new o(C).arrayBuffer())),v=f&&p&&L_(()=>{let C=!1;const j=new o(Bn.origin,{body:new n,method:"POST",get duplex(){return C=!0,"half"}}),T=j.headers.has("Content-Type");return j.body!=null&&j.body.cancel(),C&&!T}),x=h&&p&&L_(()=>U.isReadableStream(new l("").body)),k={stream:x&&(C=>C.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(C=>{!k[C]&&(k[C]=(j,T)=>{let N=j&&j[C];if(N)return N.call(j);throw new fe(`Response type '${C}' is not supported`,fe.ERR_NOT_SUPPORT,T)})});const b=async C=>{if(C==null)return 0;if(U.isBlob(C))return C.size;if(U.isSpecCompliantForm(C))return(await new o(Bn.origin,{method:"POST",body:C}).arrayBuffer()).byteLength;if(U.isArrayBufferView(C)||U.isArrayBuffer(C))return C.byteLength;if(U.isURLSearchParams(C)&&(C=C+""),U.isString(C))return(await g(C)).byteLength},_=async(C,j)=>{const T=U.toFiniteNumber(C.getContentLength());return T??b(j)};return async C=>{let{url:j,method:T,data:N,signal:P,cancelToken:D,timeout:M,onDownloadProgress:O,onUploadProgress:z,responseType:V,headers:ne,withCredentials:K="same-origin",fetchOptions:ie,maxContentLength:ae,maxBodyLength:me}=NT(C);const re=U.isNumber(ae)&&ae>-1,J=U.isNumber(me)&&me>-1,Y=ee=>U.hasOwnProp(C,ee)?C[ee]:void 0;let Z=s||fetch;V=V?(V+"").toLowerCase():"text";let R=G5([P,D&&D.toAbortSignal()],M),L=null;const G=R&&R.unsubscribe&&(()=>{R.unsubscribe()});let ge,ue=null;const de=()=>new fe("Request body larger than maxBodyLength limit",fe.ERR_BAD_REQUEST,C,L);try{let ee;const ye=Y("auth");if(ye){const he=U.getSafeProp(ye,"username")||"",W=U.getSafeProp(ye,"password")||"";ee={username:he,password:W}}if(eD(j)){const he=new URL(j,Bn.origin);if(!ee&&(he.username||he.password)){const W=M_(he.username),Ge=M_(he.password);ee={username:W,password:Ge}}(he.username||he.password)&&(he.username="",he.password="",j=he.href)}if(ee&&(ne.delete("authorization"),ne.set("Authorization","Basic "+btoa(Z5((ee.username||"")+":"+(ee.password||""))))),re&&typeof j=="string"&&j.startsWith("data:")&&Q5(j)>ae)throw new fe("maxContentLength size of "+ae+" exceeded",fe.ERR_BAD_RESPONSE,C,L);if(J&&T!=="get"&&T!=="head"){const he=await b(N);if(typeof he=="number"&&isFinite(he)&&(ge=he,he>me))throw de()}const je=J&&(U.isReadableStream(N)||U.isStream(N)),be=(he,W,Ge)=>A_(he,O_,ze=>{if(J&&ze>me)throw ue=de();W&&W(ze)},Ge);if(v&&T!=="get"&&T!=="head"&&(z||je)){if(ge=ge??await _(ne,N),ge!==0||je){let he=new o(j,{method:"POST",body:N,duplex:"half"}),W;if(U.isFormData(N)&&(W=he.headers.get("content-type"))&&ne.setContentType(W),he.body){const[Ge,ze]=z&&j_(ge,bp(N_(z)))||[];N=be(he.body,Ge,ze)}}}else if(je&&!f&&p&&T!=="get"&&T!=="head")N=be(N);else if(je&&f&&!v&&T!=="get"&&T!=="head")throw new fe("Stream request bodies are not supported by the current fetch implementation",fe.ERR_NOT_SUPPORT,C,L);U.isString(K)||(K=K?"include":"omit");const ht=f&&"credentials"in o.prototype;if(U.isFormData(N)){const he=ne.getContentType();he&&/^multipart\/form-data/i.test(he)&&!/boundary=/i.test(he)&&ne.delete("content-type")}ne.set("User-Agent","axios/"+Hv,!1);const pt={...ie,signal:R,method:T.toUpperCase(),headers:vT(ne.normalize()),body:N,duplex:"half",credentials:ht?K:void 0};L=f&&new o(j,pt);let Qe=await(f?Z(L,ie):Z(j,pt));const Fe=tr.from(Qe.headers);if(re){const he=U.toFiniteNumber(Fe.getContentLength());if(he!=null&&he>ae)throw new fe("maxContentLength size of "+ae+" exceeded",fe.ERR_BAD_RESPONSE,C,L)}const le=x&&(V==="stream"||V==="response");if(x&&Qe.body&&(O||re||le&&G)){const he={};["status","statusText","headers"].forEach(ft=>{he[ft]=Qe[ft]});const W=U.toFiniteNumber(Fe.getContentLength()),[Ge,ze]=O&&j_(W,bp(N_(O),!0))||[];let dt=0;const tt=ft=>{if(re&&(dt=ft,dt>ae))throw new fe("maxContentLength size of "+ae+" exceeded",fe.ERR_BAD_RESPONSE,C,L);Ge&&Ge(ft)};Qe=new l(A_(Qe.body,O_,tt,()=>{ze&&ze(),G&&G()}),he)}V=V||"text";let xe=await k[U.findKey(k,V)||"text"](Qe,C);if(re&&!x&&!le){let he;if(xe!=null&&(typeof xe.byteLength=="number"?he=xe.byteLength:typeof xe.size=="number"?he=xe.size:typeof xe=="string"&&(he=typeof r=="function"?new r().encode(xe).byteLength:xe.length)),typeof he=="number"&&he>ae)throw new fe("maxContentLength size of "+ae+" exceeded",fe.ERR_BAD_RESPONSE,C,L)}return!le&&G&&G(),await new Promise((he,W)=>{ET(he,W,{data:xe,headers:tr.from(Qe.headers),status:Qe.status,statusText:Qe.statusText,config:C,request:L})})}catch(ee){if(G&&G(),R&&R.aborted&&R.reason instanceof fe){const ye=R.reason;throw ye.config=C,L&&(ye.request=L),ee!==ye&&Object.defineProperty(ye,"cause",{__proto__:null,value:ee,writable:!0,enumerable:!1,configurable:!0}),ye}if(ue)throw L&&!ue.request&&(ue.request=L),ue;if(ee instanceof fe)throw L&&!ee.request&&(ee.request=L),ee;if(ee&&ee.name==="TypeError"&&/Load failed|fetch/i.test(ee.message)){const ye=new fe("Network Error",fe.ERR_NETWORK,C,L,ee&&ee.response);throw Object.defineProperty(ye,"cause",{__proto__:null,value:ee.cause||ee,writable:!0,enumerable:!1,configurable:!0}),ye}throw fe.from(ee,ee&&ee.code,C,L,ee&&ee.response)}}},nD=new Map,PT=t=>{let e=t&&t.env||{};const{fetch:n,Request:r,Response:s}=e,o=[r,s,n];let l=o.length,c=l,f,h,p=nD;for(;c--;)f=o[c],h=p.get(f),h===void 0&&p.set(f,h=c?new Map:tD(e)),p=h;return h};PT();const qv={http:m5,xhr:q5,fetch:{get:PT}};U.forEach(qv,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});const D_=t=>`- ${t}`,rD=t=>U.isFunction(t)||t===null||t===!1;function sD(t,e){t=U.isArray(t)?t:[t];const{length:n}=t;let r,s;const o={};for(let l=0;l<n;l++){r=t[l];let c;if(s=r,!rD(r)&&(s=qv[(c=String(r)).toLowerCase()],s===void 0))throw new fe(`Unknown adapter '${c}'`);if(s&&(U.isFunction(s)||(s=s.get(e))))break;o[c||"#"+l]=s}if(!s){const l=Object.entries(o).map(([f,h])=>`adapter ${f} `+(h===!1?"is not supported by the environment":"is not available in the build"));let c=n?l.length>1?`since :
350`+l.map(D_).join(`
351`):" "+D_(l[0]):"as no adapter specified";throw new fe("There is no suitable adapter to dispatch the request "+c,fe.ERR_NOT_SUPPORT)}return s}const RT={getAdapter:sD,adapters:qv};function uy(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Jd(null,t)}function I_(t){return uy(t),t.headers=tr.from(t.headers),t.data=cy.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),RT.getAdapter(t.adapter||Kd.adapter,t)(t).then(function(r){uy(t),t.response=r;try{r.data=cy.call(t,t.transformResponse,r)}finally{delete t.response}return r.headers=tr.from(r.headers),r},function(r){if(!TT(r)&&(uy(t),r&&r.response)){t.response=r.response;try{r.response.data=cy.call(t,t.transformResponse,r.response)}finally{delete t.response}r.response.headers=tr.from(r.response.headers)}return Promise.reject(r)})}const em={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{em[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const F_={};em.transitional=function(e,n,r){function s(o,l){return"[Axios v"+Hv+"] Transitional option '"+o+"'"+l+(r?". "+r:"")}return(o,l,c)=>{if(e===!1)throw new fe(s(l," has been removed"+(n?" in "+n:"")),fe.ERR_DEPRECATED);return n&&!F_[l]&&(F_[l]=!0,console.warn(s(l," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(o,l,c):!0}};em.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function iD(t,e,n){if(typeof t!="object"||t===null)throw new fe("options must be an object",fe.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const o=r[s],l=Object.prototype.hasOwnProperty.call(e,o)?e[o]:void 0;if(l){const c=t[o],f=c===void 0||l(c,o,t);if(f!==!0)throw new fe("option "+o+" must be "+f,fe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new fe("Unknown option "+o,fe.ERR_BAD_OPTION)}}const Jh={assertOptions:iD,validators:em},Yn=Jh.validators;let Da=class{constructor(e){this.defaults=e||{},this.interceptors={request:new T_,response:new T_}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=(()=>{if(!s.stack)return"";const l=s.stack.indexOf(`
352`);return l===-1?"":s.stack.slice(l+1)})();try{if(!r.stack)r.stack=o;else if(o){const l=o.indexOf(`
353`),c=l===-1?-1:o.indexOf(`
354`,l+1),f=c===-1?"":o.slice(c+1);String(r.stack).endsWith(f)||(r.stack+=`
355`+o)}}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ya(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Jh.assertOptions(r,{silentJSONParsing:Yn.transitional(Y
vendor: 3,446 bytes, line 355
355n.boolean),forcedJSONParsing:Yn.transitional(Yn.boolean),clarifyTimeoutError:Yn.transitional(Yn.boolean),legacyInterceptorReqResOrdering:Yn.transitional(Yn.boolean),advertiseZstdAcceptEncoding:Yn.transitional(Yn.boolean),validateStatusUndefinedResolves:Yn.transitional(Yn.boolean)},!1),s!=null&&(U.isFunction(s)?n.paramsSerializer={serialize:s}:Jh.assertOptions(s,{encode:Yn.function,serialize:Yn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Jh.assertOptions(n,{baseUrl:Yn.spelling("baseURL"),withXsrfToken:Yn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=o&&U.merge(o.common,o[n.method]);o&&U.forEach(["delete","get","head","post","put","patch","query","common"],k=>{delete o[k]}),n.headers=tr.concat(l,o);const c=[];let f=!0;this.interceptors.request.forEach(function(b){if(typeof b.runWhen=="function"&&b.runWhen(n)===!1)return;f=f&&b.synchronous;const _=n.transitional||$v;_&&_.legacyInterceptorReqResOrdering?c.unshift(b.fulfilled,b.rejected):c.push(b.fulfilled,b.rejected)});const h=[];this.interceptors.response.forEach(function(b){h.push(b.fulfilled,b.rejected)});let p,g=0,v;if(!f){const k=[I_.bind(this),void 0];for(k.unshift(...c),k.push(...h),v=k.length,p=Promise.resolve(n);g<v;)p=p.then(k[g++],k[g++]);return p}v=c.length;let x=n;for(;g<v;){const k=c[g++],b=c[g++];try{x=k(x)}catch(_){b.call(this,_);break}}try{p=I_.call(this,x)}catch(k){return Promise.reject(k)}for(g=0,v=h.length;g<v;)p=p.then(h[g++],h[g++]);return p}getUri(e){e=Ya(this.defaults,e);const n=jT(e.baseURL,e.url,e.allowAbsoluteUrls,e);return ST(n,e.params,e.paramsSerializer)}};U.forEach(["delete","get","head","options"],function(e){Da.prototype[e]=function(n,r){return this.request(Ya(r||{},{method:e,url:n,data:r&&U.hasOwnProp(r,"data")?r.data:void 0}))}});U.forEach(["post","put","patch","query"],function(e){function n(r){return function(o,l,c){return this.request(Ya(c||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:l}))}}Da.prototype[e]=n(),e!=="query"&&(Da.prototype[e+"Form"]=n(!0))});let oD=class AT{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const l=new Promise(c=>{r.subscribe(c),o=c}).then(s);return l.cancel=function(){r.unsubscribe(o)},l},e(function(o,l,c){r.reason||(r.reason=new Jd(o,l,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new AT(function(s){e=s}),cancel:e}}};function aD(t){return function(n){return t.apply(null,n)}}function lD(t){return U.isObject(t)&&t.isAxiosError===!0}const C0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
355alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(C0).forEach(([t,e])=>{C0[e]=t});function OT(t){const e=new Da(t),n=cT(Da.prototype.request,e);return U.extend(n,Da.prototype,e,{allOwnKeys:!0}),U.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return OT(Ya(t,s))},n}const Qt=OT(Kd);Qt.Axios=Da;Qt.CanceledError=Jd;Qt.CancelToken=oD;Qt.isCancel=TT;Qt.VERSION=Hv;Qt.toFormData=Zp;Qt.AxiosError=fe;Qt.Cancel=Qt.CanceledError;Qt.all=function(e){return Promise.all(e)};Qt.spread=aD;Qt.isAxiosError=lD;Qt.mergeConfig=Ya;Qt.AxiosHeaders=tr;Qt.formToJSON=t=>kT(U.isHTMLForm(t)?new FormData(t):t);Qt.getAdapter=RT.getAdapter;Qt.HttpStatusCode=C0;Qt.default=Qt;const{Axios:jH,AxiosError:NH,CanceledError:PH,isCancel:RH,CancelToken:AH,VERSION:OH,all:MH,Cancel:LH,isAxiosError:DH,spread:IH,toFormData:FH,AxiosHeaders:BH,HttpStatusCode:UH,formToJSON:zH,getAdapter:VH,mergeConfig:$H,create:WH}=Qt,MT=typeof window>"u",B_=!MT&&window.self!==window.top,cD=!MT&&typeof document>"u",LT=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),In=[];for(let t=0;t<256;++t)In.push((t+256).toString(16).slice(1));function uD(t,e=0){return(In[t[e+0]]+In[t[e+1]]+In[t[e+2]]+In[t[e+3]]+"-"+In[t[e+4]]+In[t[e+5]]+"-"+In[t[e+6]]+In[t[e+7]]+"-"+In[t[e+8]]+In[t[e+9]]+"-"+In[t[e+10]]+In[t[e+11]]+In[t[e+12]]+In[t[e+13]]+In[t[e+14]]+In[t[e+15]]).toLowerCase()}let dy;const dD=new Uint8Array(16);function fD(){if(!dy){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");dy=crypto.getRandomValues.bind(crypto)}return dy(dD)}const hD=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),U_={randomUUID:hD};function pD(t,e,n){var s;t=t||{};const r=t.random??((s=t.rng)==null?void 0:s.call(t))??fD();if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=r[6]&15|64,r[8]=r[8]&63|128,uD(r)}function mD(t,e,n){return U_.randomUUID&&!t?U_.randomUUID():pD(t)}const Cu=typeof window<"u"?window:{base44SharedInstances:{}};function gD(t,e){return Cu.base44SharedInstances||(Cu.base44SharedInstances={}),Cu.base44SharedInstances[t]||(Cu.base44SharedInstances[t]={instance:e()}),Cu.base44SharedInstances[t].instance}const yD="__user_heartbeat_event__",vD="__initialization_event__",xD="__session_duration_event__",z_="analytics-enable",V_="base44_analytics_session_id",wD={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},bD="analytics",yt=gD(bD,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,fallbackSessionId:null,config:{...wD,...ND()}})),_D=({axiosClient:t,serverUrl:e,appId:n,userAuthModule:r,enabled:s})=>{var o;const{maxQueueSize:l,throttleTime:c,batchSize:f}=yt.config;if(!s||!(!((o=yt.config)===null||o===void 0)&&o.enabled)||cD)return{track:()=>{},cleanup:()=>{}};let h;const p=`${e}/api/apps/${n}/analytics/track/batch`,g=async N=>{await t.request({method:"POST",url:`/apps/${n}/analytics/track/batch`,data:{events:N}})},v=N=>{try{const P=JSON.stringify({events:N}),D=new Blob([P],{type:"application/json"});return typeof navigator>"u"||P.length>6e4||!navigator.sendBeacon(p,D)}catch{return!1}},x=async(N,P={})=>
355{if(N.length===0)return;const D=await jD(r),M=N.map(ED(D));try{(!P.isBeacon||!v(M))&&await g(M)}catch{}},k=()=>{W_(x,{throttleTime:c,batchSize:f})},b=N=>{if(yt.requestsQueue.length>=l)return;const P=TD();yt.requestsQueue.push({...N,...P}),k()},_=()=>{W_(x,{throttleTime:c,batchSize:f}),h=H_(b),CD()},C=()=>{$_(),h==null||h(),kD(b);const N=yt.requestsQueue.splice(0);x(N,{isBeacon:!0})},j=()=>{typeof window>"u"||(document.visibilityState==="hidden"?C():document.visibilityState==="visible"&&_())},T=()=>{$_(),h==null||h(),typeof window<"u"&&window.removeEventListener("visibilitychange",j)};return k(),h=H_(b),SD(b),typeof window<"u"&&window.addEventListener("visibilitychange",j),{track:b,cleanup:T}};function $_(){yt.isProcessing=!1}async function W_(t,e){if(yt.isProcessing)return;yt.isProcessing=!0;const{throttleTime:n=1e3,batchSize:r=30}=e??{};for(;yt.isProcessing&&yt.requestsQueue.length>0;){const s=yt.requestsQueue.splice(0,r);s.length&&await t(s),await new Promise(o=>setTimeout(o,n))}yt.isProcessing=!1}function H_(t){var e;if(typeof window>"u"||yt.isHeartBeatProcessing||((e=yt.config.heartBeatInterval)!==null&&e!==void 0?e:0)<10)return()=>{};yt.isHeartBeatProcessing=!0;const n=setInterval(()=>{t({eventName:yD})},yt.config.heartBeatInterval);return()=>{clearInterval(n),yt.isHeartBeatProcessing=!1}}function SD(t){typeof window>"u"||yt.wasInitializationTracked||(yt.wasInitializationTracked=!0,t({eventName:vD,properties:{referrer:document==null?void 0:document.referrer}}))}function CD(){typeof window>"u"||yt.sessionStartTime!==null||(yt.sessionStartTime=new Date().toISOString())}function kD(t){if(typeof window>"u"||yt.sessionStartTime===null)return;const e=new Date().getTime()-new Date(yt.sessionStartTime).getTime();yt.sessionStartTime=null,t({eventName:xD,properties:{sessionDuration:e}})}function TD(){var t,e;return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"&&(e=(t=window.location)===null||t===void 0?void 0:t.pathname)!==null&&e!==void 0?e:null}}function ED(t){return e=>({event_name:e.eventName,properties:e.properties,timestamp:e.timestamp,page_url:e.pageUrl,...t})}let Lu=null;function q_(){yt.sessionContext=null,Lu=null}async function jD(t){if(!yt.sessionContext){if(!t.hasToken())return{user_id:null,session_id:Sp()};if(!Lu){const r=Sp();Lu=t.me().then(s=>({user_id:s.id,session_id:r})).catch(()=>({user_id:null,session_id:r}))}const e=Lu,n=await e;return Lu===e&&(yt.sessionContext=n),n}return yt.sessionContext}function ND(){if(typeof window>"u"||!window.location)return;const e=new URLSearchParams(window.location.search).get(z_);if(e==null||!e.length)return;const n=new URLSearchParams(window.location.search);n.delete(z_);const r=window.location.pathname+(n.toString()?"?"+n.toString():"");return window.history.replaceState({},"",r),{enabled:e==="true"}}function G_(){var t;return(t=yt.fallbackSessionId)!==null&&t!==void 0?t:yt.fallbackSessionId=LT()}function Sp(){if(typeof window>"u")return G_();try{const t=localStorage.getItem(V_);if(!t){const e=LT();return localStorage.setItem(V_,e),e}return t}catch{return G_()}}class PD extends Error{constructor(e,n,r,s,o){super(e),this.name="Base44Error",this.status=n,this.code=r,this.data=s,this.originalError=o}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function Vl({baseURL:t,headers:e={},token:n,interceptResponses:r=!0,onError:s}){const o=Qt.create({baseURL:t,headers:{"Content-Type":"application/json",Accept:"application/json",...e}});return n&&(o.defaults.headers.common.Authorization=`Bearer ${n}`),o.interceptors.request.use(l=>{typeof window<"u"&&(window.location&&l.headers.set("X-Origin-URL",window.location.href),l.headers.get("Authorization")||l.headers.set("X-Base44-Anonymous-Id",Sp()));const c=mD();if(l.requestId=c,B_)try{window.parent.postMessage({type:"api-request-start",requestId:c,data:{url:t+l.url,method:l.method,body:l.data instanceof FormData?"[FormData object]":l.data}},"*")}catch{}return l}),r&&o.interceptors.response.use(l=>{var c;const f=(c=l.config)===null||c===void 0?void 0:c.requestId;try{B_&&f&&window.parent.postMessage({type:"api-request-end",requestId:f,data:{statusCode:l.status,response:l.data}},"*")}catch{}return l.data},l=>{var c,f,h,p,g,v,x,k,b,_,C,j;const T=(c=l.response)===null||c===void 0?void 0:c.data,N=((f=T==null?void 0:T.error)===null||f===void 0?void 0:f.message)||(T==null?void 0:T.message)||(T==null?void 0:T.detail)||l.message,P=new PD(N,(h=l.response)===null||h===void 0?void 0:h.status,(_=(v=(g=(p=T==null?void 0:T.error)===null||p===void 0?void 0:p.code)!==null&&g!==void 0?g:T==null?void 0:T.code)!==null&&v!==void 0?v:(b=(k=(x=l.response)===null||x===void 0?void 0:x.headers)===null||k===void 0?void 0:k.get)===null||b===void 0?void 0:b.call(k,"x-base44-connector-error"))!==null&&_!==void 0?_:(j=(C=l.response)===null||C===void 0?void 0:C.headers)===null||j===void 0?void 0:j["x-base44-connector-error"],T,l);return s==null||s(P),Promise.reject(P)}),o}function Y_(t){const{axios:e,appId:n,getSocket:r}=t;return new Proxy({},{get(s,o){if(!(typeof o!="string"||o==="then"||o.startsWith("_")))return OD(e,n,o,r)}})}function RD(t){var e;try{const n=JSON.parse(t);
355return{type:n.type,data:n.data,id:n.id||((e=n.data)===null||e===void 0?void 0:e.id),timestamp:n.timestamp||new Date().toISOString()}}catch(n){return console.warn("[Base44 SDK] Failed to parse realtime message:",n),null}}const AD=100;function K_(t){return typeof t=="object"&&t!==null}function OD(t,e,n,r){const s=`/apps/${e}/entities/${n}`,o=f=>Array.isArray(f)?f.join(","):f,l=(f,h,p,g,v)=>{const x={};return v&&(x.q=JSON.stringify(v)),f&&(x.sort=f),h&&(x.limit=h),p&&(x.skip=p),g&&(x.fields=o(g)),t.get(s,{params:x})},c=(f,h)=>{const p={};return h&&(p.q=JSON.stringify(h)),p.limit=f.limit||AD,f.cursor&&(p.cursor=f.cursor),"distinct"in f?p.distinct=f.distinct:(f.sort&&(p.sort=f.sort),f.fields&&(p.fields=o(f.fields))),t.get(`${s}/v2/list`,{params:p})};return{async list(...f){const[h,p,g,v]=f;return K_(h)?c(h):l(h,p,g,v)},async filter(f,...h){const[p,g,v,x]=h;return K_(p)?c(p,f):l(p,g,v,x,f)},async get(f){return t.get(`${s}/${f}`)},async create(f){return t.post(s,f)},async update(f,h){return t.put(`${s}/${f}`,h)},async delete(f){return t.delete(`${s}/${f}`)},async deleteMany(f){return t.delete(s,{data:f})},async bulkCreate(f){return t.post(`${s}/bulk`,f)},async updateMany(f,h){return t.patch(`${s}/update-many`,{query:f,data:h})},async count(f){const h={};return f&&(h.q=JSON.stringify(f)),(await t.get(`${s}/count`,{params:h})).count},async aggregate(f){return t.post(`${s}/aggregate`,f)},async upsert(f,h){return t.post(`${s}/upsert`,{records:f,key:h.key})},async bulkUpdate(f){return t.put(`${s}/bulk`,f)},async importEntities(f){const h=new FormData;return h.append("file",f,f.name),t.post(`${s}/import`,h,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(f){const h=`entities:${e}:${n}`;return r().subscribeToRoom(h,{update_model:v=>{var x;const k=RD(v.data);if(k){k.type!=="delete"&&(!((x=k.data)===null||x===void 0)&&x._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${n}#${k.id} was oversize and got slimmed for transport. Fields >10 KB are empty and the rest of the record may be a stub. Call \`entities.${n}.get("${k.id}")\` to fetch the full record.`);try{f(k)}catch(b){console.error("[Base44 SDK] Subscription callback error:",b)}}}})}}}function MD(t,e){return{async call(n,r,s){if(!(n!=null&&n.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(r!=null&&r.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:o,queryParams:l,...c}=s??{},f={...c,...o&&{path_params:o},...l&&{query_params:l}};return await t.post(`/apps/${e}/integrations/custom/${n}/${r}`,f)}}}function J_(t,e){const n=MD(t,e);return new Proxy({},{get(r,s){if(!(typeof s!="string"||s==="then"||s.startsWith("_")))return s==="custom"?n:new Proxy({},{get(o,l){if(!(typeof l!="string"||l==="then"||l.startsWith("_")))return async c=>{if(typeof c=="string")throw new Error(`Integration ${l} must receive an object with named parameters, received: ${c}`);let f,h;return c instanceof FormData||c&&Object.values(c).some(p=>p instanceof File)?(f=new FormData,Object.keys(c).forEach(p=>{c[p]instanceof File?f.append(p,c[p],c[p].name):typeof c[p]=="object"&&c[p]!==null?f.append(p,JSON.stringify(c[p])):f.append(p,c[p])}),h="multipart/form-data"):(f=c,h="application/json"),s==="Core"?t.post(`/apps/${e}/integration-endpoints/Core/${l}`,f||c,{headers:{"Content-Type":h}}):t.post(`/apps/${e}/integration-endpoints/installable/${s}/integration-endpoints/${l}`,f||c,{headers:{"Content-Type":h}})}}})}})}function LD(){return typeof window>"u"?!1:window!==window.parent}function DD(t,e,n){const o=Math.round(window.screenX+(window.outerWidth-500)/2),l=Math.round(window.screenY+(window.outerHeight-600)/2),c=window.open(t,"base44_auth",`width=500,height=600,left=${o},top=${l},resizable=yes,scrollbars=yes`);if(!c)return;const f=()=>{window.removeEventListener("message",h),clearInterval(p),c.closed||c.close()},h=g=>{var v;if(g.origin!==n||g.source!==c||!(!((v=g.data)===null||v===void 0)&&v.access_token))return;f();const x=new URL(e),{access_token:k,is_new_user:b}=g.data;x.searchParams.set("access_token",k),b!=null&&x.searchParams.set("is_new_user",String(b)),window.location.href=x.toString()},p=setInterval(()=>{c.closed&&f()},500);window.addEventListener("message",h)}function ID(t,e,n,r){let s=null;const o=()=>{s=null};let l=!!r.token;return{hasToken(){return l},async me(){const c=s??t.get(`/apps/${n}/entities/User/me`).finally(()=>{s===c&&(s=null)});return s=c,c},async updateMe(c){return t.put(`/apps/${n}/entities/User/me`,c)},redirectToLogin(c){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const f=c?new URL(c,window.location.origin).toString():window.location.href,h=`${r.appBaseUrl}/login?from_url=${encodeURIComponent(f)}`;window.location.href=h},loginWithProvider(c,f="/"){const h=new URL(f,window.location.origin).toString(),p=`app_id=${n}&from_url=${encodeURIComponent(h)}`;let g;c==="sso"?g=`/apps/${n}/auth/sso/login`:g=`/apps/auth${c==="google"?"":`/${c}`}/login`;const v=`${r.appBaseUrl}/api${g}?${p}`;if(LD()){const x=`${v}&popup_origin=${encodeURIComponent(window.location.origin)}`;return DD(x,h,window.location.origin)}window.location.href=v},logout(c){if(delete t.defaults.headers.common.Authorization,o(),q_(
355),l=!1,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(p){console.error("Failed to remove token from localStorage:",p)}const f=c||window.location.href,h=`${r.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(f)}`;window.location.href=h}},setToken(c,f=!0){if(c&&(o(),q_(),l=!0,t.defaults.headers.common.Authorization=`Bearer ${c}`,e.defaults.headers.common.Authorization=`Bearer ${c}`,f&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",c),window.localStorage.setItem("token",c)}catch(h){console.error("Failed to save token to localStorage:",h)}},async loginViaEmailPassword(c,f,h){var p;try{const g=await t.post(`/apps/${n}/auth/login`,{email:c,password:f,...h&&{turnstile_token:h}}),{access_token:v,user:x}=g;return v&&this.setToken(v),{access_token:v,user:x}}catch(g){throw((p=g.response)===null||p===void 0?void 0:p.status)===401&&await this.logout(),g}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(c,f){return t.post(`/apps/${n}/users/invite-user`,{user_email:c,role:f})},register(c){return t.post(`/apps/${n}/auth/register`,c)},verifyOtp({email:c,otpCode:f}){return t.post(`/apps/${n}/auth/verify-otp`,{email:c,otp_code:f})},resendOtp(c){return t.post(`/apps/${n}/auth/resend-otp`,{email:c})},resetPasswordRequest(c){return t.post(`/apps/${n}/auth/reset-password-request`,{email:c})},resetPassword({resetToken:c,newPassword:f}){return t.post(`/apps/${n}/auth/reset-password`,{reset_token:c,new_password:f})},changePassword({userId:c,currentPassword:f,newPassword:h}){return t.post(`/apps/${n}/auth/change-password`,{user_id:c,current_password:f,new_password:h})}}}function FD(t,e){return{async getAccessToken(n){const r=`/apps/${e}/auth/sso/accesstoken/${n}`;return t.get(r)},async getIdToken(n){const r=`/apps/${e}/auth/sso/idtoken/${n}`;return t.get(r)}}}const BD=new Set(["GET","POST","PUT","PATCH","DELETE","HEAD"]);function UD(t,e){return{async getAccessToken(n){if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");return(await t.get(`/apps/${e}/external-auth/tokens/${encodeURIComponent(n)}`)).access_token},async getConnection(n){var r;if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");const o=await t.get(`/apps/${e}/external-auth/tokens/${encodeURIComponent(n)}`);return{accessToken:o.access_token,connectionConfig:(r=o.connection_config)!==null&&r!==void 0?r:null}},async getWorkspaceConnection(n){var r;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const o=await t.get(`/apps/${e}/external-auth/tokens/connectors/${encodeURIComponent(n)}`);return{accessToken:o.access_token,connectionConfig:(r=o.connection_config)!==null&&r!==void 0?r:null}},async getCurrentAppUserAccessToken(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await t.get(`/apps/${e}/app-user-auth/connectors/${encodeURIComponent(n)}/token`)).access_token},async getCurrentAppUserConnection(n){var r;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const o=await t.get(`/apps/${e}/app-user-auth/connectors/${encodeURIComponent(n)}/token`);return{accessToken:o.access_token,connectionConfig:(r=o.connection_config)!==null&&r!==void 0?r:null}},async callApi(n,r){return DT(n,"Integration type"),zD(t,`/apps/${e}/connectors/${encodeURIComponent(n)}/call`,r)}}}function DT(t,e){if(!t||typeof t!="string")throw new Error(`${e} is required and must be a string`)}async function zD(t,e,n){var r,s,o,l,c,f,h,p,g;if(!n||typeof n!="object")throw new Error("Request is required and must be an object");DT(n.path,"Request path");const v=(r=n.method)!==null&&r!==void 0?r:"GET";if(!BD.has(v))throw new Error("Request method must be one of GET, POST, PUT, PATCH, DELETE, or HEAD");const k=await t.post(e,{method:v,...n.host==null?{}:{host:n.host},path:n.path,query:(s=n.query)!==null&&s!==void 0?s:{},headers:(o=n.headers)!==null&&o!==void 0?o:{},body:(l=n.body)!==null&&l!==void 0?l:null});return{success:k.success,phase:k.phase,status:(c=k.status_code)!==null&&c!==void 0?c:null,data:k.data,dataBase64:(f=k.data_base64)!==null&&f!==void 0?f:null,contentType:(h=k.content_type)!==null&&h!==void 0?h:null,headers:(p=k.headers)!==null&&p!==void 0?p:{},creditsCharged:(g=k.credits_charged)!==null&&g!==void 0?g:0}}function VD(t,e){return{async connectAppUser(n){if(!n||typeof n!="str
355ing")throw new Error("Connector ID is required and must be a string");return(await t.post(`/apps/${e}/app-user-auth/connectors/${encodeURIComponent(n)}/initiate`)).redirect_url},async disconnectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");await t.delete(`/apps/${e}/app-user-auth/connectors/${encodeURIComponent(n)}`)}}}function To(t={}){const{storageKey:e="base44_access_token",paramName:n="access_token",saveToStorage:r=!0,removeFromUrl:s=!0}=t;let o=null;if(typeof window<"u"&&window.location)try{const l=new URLSearchParams(window.location.search);if(o=l.get(n),o){if(r&&$D(o,{storageKey:e}),s){l.delete(n);const c=`${window.location.pathname}${l.toString()?`?${l.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,c)}return o}}catch(l){console.error("Error retrieving token from URL:",l)}if(typeof window<"u"&&window.localStorage)try{return o=window.localStorage.getItem(e),o}catch(l){console.error("Error retrieving token from local storage:",l)}return null}function $D(t,e){const{storageKey:n="base44_access_token"}=e;if(typeof window>"u"||!window.localStorage||!t)return!1;try{return window.localStorage.setItem(n,t),window.localStorage.setItem("token",t),!0}catch(r){return console.error("Error saving token to local storage:",r),!1}}function WD({axios:t,serviceRoleAxios:e,appId:n,serverUrl:r,functionsVersion:s,platformHeaders:o}){const l=new Headers(o),c=f=>{const h=f.defaults.headers.common.Authorization;return typeof h=="string"&&h.startsWith("Bearer ")?h:null};return async function(h,p={}){HD(h);const{fetch:g=fetch,...v}=p,x=new Headers(p.headers),k=(b,_)=>{_&&!x.has(b)&&x.set(b,_)};return k("Authorization",c(t)),k("Base44-Service-Authorization",c(e)),k("Base44-App-Id",n),k("Base44-Api-Url",r),k("Base44-Functions-Version",s),k("Base44-State",l.get("Base44-State")),k("X-Data-Env",l.get("X-Data-Env")),g(h,{...v,headers:x})}}function HD(t){if(typeof t!="string"||t==="")throw new Error("fetchWithAuth() requires a path, such as '/api/orders'.");const e=t.replace(/[\t\n\r]/g,"").replace(/^[\x00-\x20]+/,"");if(!e.startsWith("/")||e.startsWith("//")||e.startsWith("/\\"))throw new Error(`fetchWithAuth() only sends requests to your app's own origin, so your app's credentials never reach a third party. "${t}" is not a path on it — pass a relative path such as '/api/orders'. Use base44.functions.fetch() to call a Base44 backend function, or plain fetch() for another origin.`)}function X_(t,e,n){const r=(o,l)=>o?`${String(o).replace(/\/$/,"")}${l}`:l,s=o=>{const l=new Headers;if(n!=null&&n.getAuthHeaders){const c=n.getAuthHeaders();Object.entries(c).forEach(([f,h])=>{h!=null&&l.set(f,String(h))})}return o&&new Headers(o).forEach((c,f)=>{l.set(f,c)}),l};return{async invoke(o,l){if(typeof l=="string")throw new Error(`Function ${o} must receive an object with named parameters, received: ${l}`);let c,f;return l instanceof FormData||l&&Object.values(l).some(h=>h instanceof File)?(c=new FormData,Object.keys(l).forEach(h=>{l[h]instanceof File?c.append(h,l[h],l[h].name):typeof l[h]=="object"&&l[h]!==null?c.append(h,JSON.stringify(l[h])):c.append(h,l[h])}),f="multipart/form-data"):(c=l,f="application/json"),t.post(`/apps/${e}/functions/${o}`,c||l,{headers:{"Content-Type":f}})},async fetch(o,l={}){const f=`/functions${o.startsWith("/")?o:`/${o}`}`,h=s(l.headers),p={...l,headers:h};return await fetch(r(n==null?void 0:n.baseURL,f),p)}}}function Q_({axios:t,getSocket:e,appId:n,serverUrl:r,token:s}){const o=`/apps/${n}/agents`,l={},c=()=>t.get(`${o}/conversations`),f=b=>t.get(`${o}/conversations/${b}`);return{getConversations:c,getConversation:f,listConversations:b=>t.get(`${o}/conversations`,{params:b}),createConversation:b=>t.post(`${o}/conversations`,b),addMessage:async(b,_)=>t.post(`${o}/conversations/v2/${b.id}/messages`,_),subscribeToConversation:(b,_)=>{const C=`/agent-conversations/${b}`,j=e(),T=f(b).then(N=>(l[b]=N,N));return j.subscribeToRoom(C,{connect:()=>{},update_model:async({data:N})=>{const P=JSON.parse(N);if(P._message){await T;const D=P._message,M=l[b];if(M){const O=M.messages||[],z=O.findIndex(ne=>ne.id===D.id),V=z!==-1?O.map((ne,K)=>K===z?D:ne):[...O,D];l[b]={...M,messages:V},_==null||_(l[b])}}}})},getWhatsAppConnectURL:b=>{const _=`${r}/api/apps/${n}/agents/${encodeURIComponent(b)}/whatsapp`,C=s??To();return C?`${_}?token=${C}`:_},getTelegramConnectURL:b=>{const _=`${r}/api/apps/${n}/agents/${encodeURIComponent(b)}/telegram`,C=s??To();return C?`${_}?token=${C}`:_}}
vendor: 23,664 bytes, line 355
355}const Z_={openai:"openai",typesafe:"typesafe"};function eS({serverUrl:t,token:e,appId:n}){return{connection:({provider:s="openai"}={})=>{var o;if(!Object.prototype.hasOwnProperty.call(Z_,s))throw new Error(`Unsupported AI Gateway provider: ${s}`);const l=Z_[s];return{baseURL:`${t}/api/apps/${n}/ai/${l}/v1`,token:(o=e??To())!==null&&o!==void 0?o:""}}}}function tS(t,e){const n=`/app-logs/${e}`;return{async logUserInApp(r){await t.post(`${n}/log-user-in-app/${r}`)},async fetchLogs(r={}){return await t.get(n,{params:r})},async getStats(r={}){return await t.get(`${n}/stats`,{params:r})}}}function qD(t,e){return{async getPublicSettings(){return t.get(`/apps/public/prod/public-settings/by-id/${e}`)}}}function GD(t,e){return{async inviteUser(n,r){if(r!=="user"&&r!=="admin")throw new Error(`Invalid role: "${r}". Role must be either "user" or "admin".`);return await t.post(`/apps/${e}/runtime/users/invite-user`,{user_email:n,role:r})}}}const ui=Object.create(null);ui.open="0";ui.close="1";ui.ping="2";ui.pong="3";ui.message="4";ui.upgrade="5";ui.noop="6";const Xh=Object.create(null);Object.keys(ui).forEach(t=>{Xh[ui[t]]=t});const k0={type:"error",data:"parser error"},IT=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",FT=typeof ArrayBuffer=="function",BT=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,Gv=({type:t,data:e},n,r)=>IT&&e instanceof Blob?n?r(e):nS(e,r):FT&&(e instanceof ArrayBuffer||BT(e))?n?r(e):nS(new Blob([e]),r):r(ui[t]+(e||"")),nS=(t,e)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];e("b"+(r||""))},n.readAsDataURL(t)};function rS(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let fy;function YD(t,e){if(IT&&t.data instanceof Blob)return t.data.arrayBuffer().then(rS).then(e);if(FT&&(t.data instanceof ArrayBuffer||BT(t.data)))return e(rS(t.data));Gv(t,!1,n=>{fy||(fy=new TextEncoder),e(fy.encode(n))})}const sS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Du=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<sS.length;t++)Du[sS.charCodeAt(t)]=t;const KD=t=>{let e=t.length*.75,n=t.length,r,s=0,o,l,c,f;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const h=new ArrayBuffer(e),p=new Uint8Array(h);for(r=0;r<n;r+=4)o=Du[t.charCodeAt(r)],l=Du[t.charCodeAt(r+1)],c=Du[t.charCodeAt(r+2)],f=Du[t.charCodeAt(r+3)],p[s++]=o<<2|l>>4,p[s++]=(l&15)<<4|c>>2,p[s++]=(c&3)<<6|f&63;return h},JD=typeof ArrayBuffer=="function",Yv=(t,e)=>{if(typeof t!="string")return{type:"message",data:UT(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:XD(t.substring(1),e)}:Xh[n]?t.length>1?{type:Xh[n],data:t.substring(1)}:{type:Xh[n]}:k0},XD=(t,e)=>{if(JD){const n=KD(t);return UT(n,e)}else return{base64:!0,data:t}},UT=(t,e)=>{switch(e){case"blob":return t instanceof Blob?t:new Blob([t]);case"arraybuffer":default:return t instanceof ArrayBuffer?t:t.buffer}},zT="�",QD=(t,e)=>{const n=t.length,r=new Array(n);let s=0;t.forEach((o,l)=>{Gv(o,!1,c=>{r[l]=c,++s===n&&e(r.join(zT))})})},ZD=(t,e)=>{const n=t.split(zT),r=[];for(let s=0;s<n.length;s++){const o=Yv(n[s],e);if(r.push(o),o.type==="error")break}return r};function eI(){return new TransformStream({transform(t,e){YD(t,n=>{const r=n.length;let s;if(r<126)s=new Uint8Array(1),new DataView(s.buffer).setUint8(0,r);else if(r<65536){s=new Uint8Array(3);const o=new DataView(s.buffer);o.setUint8(0,126),o.setUint16(1,r)}else{s=new Uint8Array(9);const o=new DataView(s.buffer);o.setUint8(0,127),o.setBigUint64(1,BigInt(r))}t.data&&typeof t.data!="string"&&(s[0]|=128),e.enqueue(s),e.enqueue(n)})}})}let hy;function mh(t){return t.reduce((e,n)=>e+n.length,0)}function gh(t,e){if(t[0].length===e)return t.shift();const n=new Uint8Array(e);let r=0;for(let s=0;s<e;s++)n[s]=t[0][r++],r===t[0].length&&(t.shift(),r=0);return t.length&&r<t[0].length&&(t[0]=t[0].slice(r)),n}function tI(t,e){hy||(hy=new TextDecoder);const n=[];let r=0,s=-1,o=!1;return new TransformStream({transform(l,c){for(n.push(l);;){if(r===0){if(mh(n)<1)break;const f=gh(n,1);o=(f[0]&128)===128,s=f[0]&127,s<126?r=3:s===126?r=1:r=2}else if(r===1){if(mh(n)<2)break;const f=gh(n,2);s=new DataView(f.buffer,f.byteOffset,f.length).getUint16(0),r=3}else if(r===2){if(mh(n)<8)break;const f=gh(n,8),h=new DataView(f.buffer,f.byteOffset,f.length),p=h.getUint32(0);if(p>Math.pow(2,21)-1){c.enqueue(k0);break}s=p*Math.pow(2,32)+h.getUint32(4),r=3}else{if(mh(n)<s)break;const f=gh(n,s);c.enqueue(Yv(o?f:hy.decode(f),e)),r=0}if(s===0||s>t){c.enqueue(k0);break}}}})}const VT=4;function an(t){if(t)return nI(t)}function nI(t){for(var e in an.prototype)t[e]=an.prototype[e];return t}an.prototype.on=an.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};an.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this};an.prototype.off=an.prototype.removeListener=an.prototype.removeAllListeners=an.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var r,s=0;s<n.length;s++)if(r=n[s],r===e||r.fn===e){n.splice(s,1);break}return n.length===0&&delete this._callbacks["$"+t],this};an.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,s=n.length;r<s;++r)n[r].apply(this,e)}return this};an.prototype.emitReserved=an.prototype.emit;an.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};an.prototype.hasListeners=function(t){return!!this.listeners(t).length};const tm=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0),ms=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),rI="arraybuffer";function $T(t,...e){return e.reduce((n,r)=>(t.hasOwnProperty(r)&&(n[r]=t[r]),n),{})}const sI=ms.setTimeout,iI=ms.clearTimeout;function nm(t,e){e.useNativeTimers?(t.setTimeoutFn=sI.bind(ms),t.clearTimeoutFn=iI.bind(ms)):(t.setTimeoutFn=ms.setTimeout.bind(ms),t.clearTimeoutFn=ms.clearTimeout.bind(ms))}const oI=1.33;function aI(t){return typeof t=="string"?lI(t):Math.ceil((t.byteLength||t.size)*oI)}function lI(t){let e=0,n=0;for(let r=0,s=t.length;r<s;r++)e=t.charCodeAt(r),e<128?n+=1:e<2048?n+=2:e<55296||e>=57344?n+=3:(r++,n+=4);return n}function WT(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function cI(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}function uI(t){let e={},n=t.split("&");for(let r=0,s=n.length;r<s;r++){let o=n[r].split("=");e[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return e}class dI extends Error{constructor(e,n,r){super(e),this.description=n,this.context=r,this.type="TransportError"}}class Kv extends an{constructor(e){super(),this.writable=!1,nm(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,n,r){return super.emitReserved("error",new dI(e,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=Yv(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,n={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const n=cI(e);return n.length?"?"+n:""}}class fI extends Kv{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const n=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};ZD(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,QD(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=WT()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(e,n)}}let HT=!1;try{HT=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const hI=HT;function pI(){}class mI extends fI{constructor(e){if(super(e),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||r!==e.port}}doWrite(e,n){const r=this.request({method:"POST",data:e});r.on("success",n),r.on("error",(s,o)=>{this.onError("xhr post error",s,o)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=e}}class oi extends an{constructor(e,n,r){super(),this.createRequest=e,nm(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var e;const n=$T(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let s in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(s)&&r.setRequestHeader(s,this._opts.extraHeaders[s])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var s;r.readyState===3&&((s=this._opts.cookieJar)===null||s===void 0||s.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(s){this.setTimeoutFn(()=>{this._onError(s)},0);return}typeof document<"u"&&(this._index=oi.requestsCount++,oi.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=pI,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete oi.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}oi.requestsCount=0;oi.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",iS);else if(typeof addEventListener=="function"){const t="onpagehide"in ms?"pagehide":"unload";addEventListener(t,iS,!1)}}function iS(){for(let t in oi.requests)oi.requests.hasOwnProperty(t)&&oi.requests[t].abort()}const gI=(function(){const t=qT({xdomain:!1});return t&&t.responseType!==null})();class yI extends mI{constructor(e){super(e);const n=e&&e.forceBase64;this.supportsBinary=gI&&!n}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new oi(qT,this.uri(),e)}}function qT(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||hI))return new XMLHttpRequest}catch{}if(!e)try{return new ms[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const GT=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class vI extends Kv{get name(){return"websocket"}doOpen(){const e=this.uri(),n=this.opts.protocols,r=GT?{}:$T(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,n,r)}catch(s){return this.emitReserved("error",s)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const r=e[n],s=n===e.length-1;Gv(r,this.supportsBinary,o=>{try{this.doWrite(r,o)}catch{}s&&tm(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=WT()),this.supportsBinary||(n.b64=1),this.createUri(e,n)}}const py=ms.WebSocket||ms.MozWebSocket;class xI extends vI{createSocket(e,n,r){return GT?new py(e,n,r):n?new py(e,n):new py(e)}doWrite(e,n){this.ws.send(n)}}class wI extends Kv{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const n=tI(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=e.readable.pipeThrough(n).getReader(),s=eI();s.readable.pipeTo(e.writable),this._writer=s.writable.getWriter();const o=()=>{r.read().then(({done:c,value:f})=>{c||(this.onPacket(f),o())}).catch(c=>{})};o();const l={type:"open"};this.query.sid&&(l.data=`{"sid":"${this.query.sid}"}`),this._writer.write(l).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const r=e[n],s=n===e.length-1;this._writer.write(r).then(()=>{s&&tm(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const bI={websocket:xI,webtransport:wI,polling:yI},_I=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,SI=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function T0(t){if(t.length>8e3)throw"URI too long";const e=t,n=t.indexOf("["),r=t.indexOf("]");n!=-1&&r!=-1&&(t=t.substring(0,n)+t.substring(n,r).replace(/:/g,";")+t.substring(r,t.length));let s=_I.exec(t||""),o={},l=14;for(;l--;)o[SI[l]]=s[l]||"";return n!=-1&&r!=-1&&(o.source=e,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=CI(o,o.path),o.queryKey=kI(o,o.query),o}function CI(t,e){const n=/\/{2,9}/g,r=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&r.splice(0,1),e.slice(-1)=="/"&&r.splice(r.length-1,1),r}function kI(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,s,o){s&&(n[s]=o)}),n}const E0=typeof addEventListener=="function"&&typeof removeEventListener=="function",Qh=[];E0&&addEventListener("offline",()=>{Qh.forEach(t=>t())},!1);class Mo extends an{constructor(e,n){if(super(),this.binaryType=rI,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(n=e,e=null),e){const r=T0(e);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=T0(n.host).host);nm(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const s=r.prototype.name;this.transports.push(s),this._transportsByName[s]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=uI(this.opts.query)),E0&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Qh.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=VT,n.transport=e,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&Mo.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(e);n.open(),this.setTransport(n)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Mo.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=e.data,this._onError(n);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const s=this.writeBuffer[r].data;if(s&&(n+=aI(s)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,tm(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,n,r){return this._sendPacket("message",e,n,r),this}send(e,n,r){return this._sendPacket("message",e,n,r),this}_sendPacket(e,n,r,s){if(typeof n=="function"&&(s=n,n=void 0),typeof r=="function"&&(s=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:e,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),s&&this.once("flush",s),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():e()}):this.upgrading?r():e()),this}_onError(e){if(Mo.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),E0&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=Qh.indexOf(this._offlineEventListener);r!==-1&&Qh.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this._prevBufferLen=0}}}Mo.protocol=VT;class TI extends Mo{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let n=this.createTransport(e),r=!1;Mo.priorWebsocketSuccess=!1;const s=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",g=>{if(!r)if(g.type==="pong"&&g.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Mo.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(p(),this.setTransport(n),n.send([{type:"upgrade"}
vendor: 10,501 bytes, line 355
355]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const v=new Error("probe error");v.transport=n.name,this.emitReserved("upgradeError",v)}}))};function o(){r||(r=!0,p(),n.close(),n=null)}const l=g=>{const v=new Error("probe error: "+g);v.transport=n.name,o(),this.emitReserved("upgradeError",v)};function c(){l("transport closed")}function f(){l("socket closed")}function h(g){n&&g.name!==n.name&&o()}const p=()=>{n.removeListener("open",s),n.removeListener("error",l),n.removeListener("close",c),this.off("close",f),this.off("upgrading",h)};n.once("open",s),n.once("error",l),n.once("close",c),this.once("close",f),this.once("upgrading",h),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const n=[];for(let r=0;r<e.length;r++)~this.transports.indexOf(e[r])&&n.push(e[r]);return n}}let EI=class extends TI{constructor(e,n={}){const r=typeof e=="object",s=r?{...e}:{...n};(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(o=>bI[o]).filter(o=>!!o)),super(r?s:e,s)}};function jI(t,e="",n){let r=t;n=n||typeof location<"u"&&location,t==null&&(t=n.protocol+"//"+n.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=n.protocol+t:t=n.host+t),/^(https?|wss?):\/\//.test(t)||(typeof n<"u"?t=n.protocol+"//"+t:t="https://"+t),r=T0(t)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const o=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+e,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}const NI=typeof ArrayBuffer=="function",PI=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,YT=Object.prototype.toString,RI=typeof Blob=="function"||typeof Blob<"u"&&YT.call(Blob)==="[object BlobConstructor]",AI=typeof File=="function"||typeof File<"u"&&YT.call(File)==="[object FileConstructor]";function Jv(t){return NI&&(t instanceof ArrayBuffer||PI(t))||RI&&t instanceof Blob||AI&&t instanceof File}function Zh(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,r=t.length;n<r;n++)if(Zh(t[n]))return!0;return!1}if(Jv(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return Zh(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&Zh(t[n]))return!0;return!1}function OI(t){const e=[],n=t.data,r=t;return r.data=j0(n,e),r.attachments=e.length,{packet:r,buffers:e}}function j0(t,e){if(!t)return t;if(Jv(t)){const n={_placeholder:!0,num:e.length};return e.push(t),n}else if(Array.isArray(t)){const n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=j0(t[r],e);return n}else if(typeof t=="object"&&!(t instanceof Date)){const n={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=j0(t[r],e));return n}return t}function MI(t,e){return t.data=N0(t.data,e),delete t.attachments,t}function N0(t,e){if(!t)return t;if(t&&t._placeholder===!0){if(typeof t.num=="number"&&t.num>=0&&t.num<e.length)return e[t.num];throw new Error("illegal attachments")}else if(Array.isArray(t))for(let n=0;n<t.length;n++)t[n]=N0(t[n],e);else if(typeof t=="object")for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=N0(t[n],e));return t}const LI=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var it;(function(t){t[t.CONNECT=0]="CONNECT",t[t.DISCONNECT=1]="DISCONNECT",t[t.EVENT=2]="EVENT",t[t.ACK=3]="ACK",t[t.CONNECT_ERROR=4]="CONNECT_ERROR",t[t.BINARY_EVENT=5]="BINARY_EVENT",t[t.BINARY_ACK=6]="BINARY_ACK"})(it||(it={}));class DI{constructor(e){this.replacer=e}encode(e){return(e.type===it.EVENT||e.type===it.ACK)&&Zh(e)?this.encodeAsBinary({type:e.type===it.EVENT?it.BINARY_EVENT:it.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let n=""+e.type;return(e.type===it.BINARY_EVENT||e.type===it.BINARY_ACK)&&(n+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(n+=e.nsp+","),e.id!=null&&(n+=e.id),e.data!=null&&(n+=JSON.stringify(e.data,this.replacer)),n}encodeAsBinary(e){const n=OI(e),r=this.encodeAsString(n.packet),s=n.buffers;return s.unshift(r),s}}class Xv extends an{constructor(e){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof e=="function"?{reviver:e}:e)}add(e){let n;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(e);const r=n.type===it.BINARY_EVENT;r||n.type===it.BINARY_ACK?(n.type=r?it.EVENT:it.ACK,this.reconstructor=new II(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Jv(e)||e.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(e),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let n=0;const r={type:Number(e.charAt(0))};if(it[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===it.BINARY_EVENT||r.type===it.BINARY_ACK){const o=n+1;for(;e.charAt(++n)!=="-"&&n!=e.length;);const l=e.substring(o,n);if(l!=Number(l)||e.charAt(n)!=="-")throw new Error("Illegal attachments");const c=Number(l);if(!FI(c)||c<0)throw new Error("Illegal attachments");if(c>this.opts.maxAttachments)throw new Error("too many attachments");r.attachments=c}if(e.charAt(n+1)==="/"){const o=n+1;for(;++n&&!(e.charAt(n)===","||n===e.length););r.nsp=e.substring(o,n)}else r.nsp="/";const s=e.charAt(n+1);if(s!==""&&Number(s)==s){const o=n+1;for(;++n;){const l=e.charAt(n);if(l==null||Number(l)!=l){--n;break}if(n===e.length)break}r.id=Number(e.substring(o,n+1))}if(e.charAt(++n)){const o=this.tryParse(e.substr(n));if(Xv.isPayloadValid(r.type,o))r.data=o;else throw new Error("invalid payload")}return r}tryParse(e){try{return JSON.parse(e,this.opts.reviver)}catch{return!1}}static isPayloadValid(e,n){switch(e){case it.CONNECT:return oS(n);case it.DISCONNECT:return n===void 0;case it.CONNECT_ERROR:return typeof n=="string"||oS(n);case it.EVENT:case it.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&LI.indexOf(n[0])===-1);case it.ACK:case it.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class II{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const n=MI(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const FI=Number.isInteger||function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t};function oS(t){return Object.prototype.toString.call(t)==="[object Object]"}const BI=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Xv,Encoder:DI,get PacketType(){return it}},Symbol.toStringTag,{value:"Module"}));function Is(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const UI=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class KT extends an{constructor(e,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[Is(e,"open",this.onopen.bind(this)),Is(e,"packet",this.onpacket.bind(this)),Is(e,"error",this.onerror.bind(this)),Is(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...n){var r,s,o;if(UI.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(n.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const l={type:it.EVENT,data:n};if(l.options={},l.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const p=this.ids++,g=n.pop();this._registerAckCallback(p,g),l.id=p}const c=(s=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||s===void 0?void 0:s.writable,f=this.connected&&!(!((o=this.io.engine)===null||o===void 0)&&o._hasPingExpired());return this.flags.volatile&&!c||(f?(this.notifyOutgoingListeners(l),this.packet(l)):this.sendBuffer.push(l)),this.flags={},this}_registerAckCallback(e,n){var r;const s=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(s===void 0){this.acks[e]=n;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let c=0;c<this.sendBuffer.length;c++)this.sendBuffer[c].id===e&&this.sendBuffer.splice(c,1);n.call(this,new Error("operation has timed out"))},s),l=(...c)=>{this.io.clearTimeoutFn(o),n.apply(this,c)};l.withError=!0,this.acks[e]=l}emitWithAck(e,...n){return new Promise((r,s)=>{const o=(l,c)=>l?s(l):r(c);o.withError=!0,n.push(o),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((s,...o)=>(this._queue[0],s!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(s)):(this._queue.shift(),n&&n(null,...o)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:it.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n),this._clearAcks()}
vendor: 7,087 bytes, line 355
355_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(r=>String(r.id)===e)){const r=this.acks[e];delete this.acks[e],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case it.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case it.EVENT:case it.BINARY_EVENT:this.onevent(e);break;case it.ACK:case it.BINARY_ACK:this.onack(e);break;case it.DISCONNECT:this.ondisconnect();break;case it.CONNECT_ERROR:this.destroy();const r=new Error(e.data.message);r.data=e.data.data,this.emitReserved("connect_error",r);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let r=!1;return function(...s){r||(r=!0,n.packet({type:it.ACK,id:e,data:s}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(delete this.acks[e.id],n.withError&&e.data.unshift(null),n.apply(this,e.data))}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:it.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(e===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(e===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,e.data)}}}function Ic(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Ic.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=(Math.floor(e*10)&1)==0?t-n:t+n}return Math.min(t,this.max)|0};Ic.prototype.reset=function(){this.attempts=0};Ic.prototype.setMin=function(t){this.ms=t};Ic.prototype.setMax=function(t){this.max=t};Ic.prototype.setJitter=function(t){this.jitter=t};class P0 extends an{constructor(e,n){var r;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,nm(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new Ic({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const s=n.parser||BI;this.encoder=new s.Encoder,this.decoder=new s.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new EI(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const s=Is(n,"open",function(){r.onopen(),e&&e()}),o=c=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",c),e?e(c):this.maybeReconnectOnOpen()},l=Is(n,"error",o);if(this._timeout!==!1){const c=this._timeout,f=this.setTimeoutFn(()=>{s(),o(new Error("timeout")),n.close()},c);this.opts.autoUnref&&f.unref(),this.subs.push(()=>{this.clearTimeoutFn(f)})}return this.subs.push(s),this.subs.push(l),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Is(e,"ping",this.onping.bind(this)),Is(e,"data",this.ondata.bind(this)),Is(e,"error",this.onerror.bind(this)),Is(e,"close",this.onclose.bind(this)),Is(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){tm(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let r=this.nsps[e];return r?this._autoConnect&&!r.active&&r.connect():(r=new KT(this,e,n),this.nsps[e]=r),r}_destroy(e){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let r=0;r<n.length;r++)this.engine.write(n[r],e.options)}
355cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,n){var r;this.cleanup(),(r=this.engine)===null||r===void 0||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(s=>{s?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",s)):e.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const ku={};function ep(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=jI(t,e.path||"/socket.io"),r=n.source,s=n.id,o=n.path,l=ku[s]&&o in ku[s].nsps,c=e.forceNew||e["force new connection"]||e.multiplex===!1||l;let f;return c?f=new P0(r,e):(ku[s]||(ku[s]=new P0(r,e)),f=ku[s]),n.query&&!e.query&&(e.query=n.queryKey),f.socket(n.path,e)}Object.assign(ep,{Manager:P0,Socket:KT,io:ep,connect:ep});const zI=250;function aS(t,e){var n;const r=(n=t.token)!==null&&n!==void 0?n:To(),s={app_id:t.appId,token:r};r||(s.anonymous_id=Sp());const o=ep(t.serverUrl,{path:t.mountPath,transports:t.transports,query:s});return o.on("connect",async()=>{var l;return console.log("connect",o.id),(l=e.connect)===null||l===void 0?void 0:l.call(e)}),o.on("update_model",async l=>{var c;return(c=e.update_model)===null||c===void 0?void 0:c.call(e,l)}),o.on("error",async l=>{var c;return(c=e.error)===null||c===void 0?void 0:c.call(e,l)}),o.on("connect_error",async l=>{var c;return console.error("connect_error",l),(c=e.error)===null||c===void 0?void 0:c.call(e,l)}),o}function VI({config:t}){let e={...t};const n={},r={},s={connect:async()=>{const C=[];Object.keys(n).forEach(j=>{const T=v(j);T.length!==0&&(h(j),T.forEach(({connect:N})=>{const P=async()=>N==null?void 0:N();C.push(P())}))}),await Promise.all(C)},update_model:async C=>{const T=v(C.room).map(N=>{var P;return(P=N.update_model)===null||P===void 0?void 0:P.call(N,C)});await Promise.all(T)},error:async C=>{console.error("error",C);const j=Object.values(n).flat().map(T=>{var N;return(N=T.error)===null||N===void 0?void 0:N.call(T,C)});await Promise.all(j)}};let o=aS(t,s);function l(){c()}function c(){k(),o&&o.disconnect()}function f(C){l(),e={...e,...C},o=aS(e,s)}function h(C){o.emit("join",C)}function p(C){o.emit("leave",C)}async function g(C,j){var T;const N=JSON.stringify(j);return(T=s.update_model)===null||T===void 0?void 0:T.call(s,{room:C,data:N})}function v(C){var j;return(j=n[C])!==null&&j!==void 0?j:[]}function x(C){const j=r[C];j&&(clearTimeout(j),delete r[C])}function k(){Object.keys(r).forEach(C=>{var j,T;clearTimeout(r[C]),delete r[C],((T=(j=n[C])===null||j===void 0?void 0:j.length)!==null&&T!==void 0?T:0)===0&&delete n[C]})}function b(C){x(C),r[C]=setTimeout(()=>{var j,T;delete r[C],!(((T=(j=n[C])===null||j===void 0?void 0:j.length)!==null&&T!==void 0?T:0)>0)&&(p(C),delete n[C])},zI)}return{socket:o,subscribeToRoom:(C,j)=>{n[C]?x(C):(h(C),n[C]=[]),n[C].push(j);let T=!1;return()=>{var N,P;T||(T=!0,n[C]=(P=(N=n[C])===null||N===void 0?void 0:N.filter(D=>D!==j))!==null&&P!==void 0?P:[],n[C].length===0&&b(C))}},updateConfig:f,updateModel:g,disconnect:c}}(!globalThis.EventTarget||!globalThis.Event)&&console.error(`
356  PartySocket requires a global 'EventTarget' class to be available!
357  You can polyfill this global by adding this to your code before any partysocket imports: 
358  
359  \`\`\`
360  import 'partysocket/event-target-polyfill';
361  \`\`\`
362  Please file an issue at https://github.com/partykit/partykit if you're still having trouble.
363`);
vendor: 4,218 bytes, line 363
363var JT=class extends Event{constructor(e,n){super("error",n);Tt(this,"message");Tt(this,"error");this.message=e.message,this.error=e}},XT=class extends Event{constructor(e=1e3,n="",r){super("close",r);Tt(this,"code");Tt(this,"reason");Tt(this,"wasClean",!0);this.code=e,this.reason=n}},my={Event,ErrorEvent:JT,CloseEvent:XT};function $I(t,e){if(!t)throw new Error(e)}function WI(t){return new t.constructor(t.type,t)}function HI(t){return"data"in t?new MessageEvent(t.type,t):"code"in t||"reason"in t?new XT(t.code||1999,t.reason||"unknown reason",t):"error"in t?new JT(t.error,t):new Event(t.type,t)}var ik,qI=typeof process<"u"&&typeof((ik=process.versions)==null?void 0:ik.node)<"u"&&typeof document>"u",yh=qI?HI:WI,da={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},lS=!1,GI=class ma extends EventTarget{constructor(n,r,s={}){super();Tt(this,"_ws");Tt(this,"_retryCount",-1);Tt(this,"_uptimeTimeout");Tt(this,"_connectTimeout");Tt(this,"_shouldReconnect",!0);Tt(this,"_connectLock",!1);Tt(this,"_binaryType","blob");Tt(this,"_closeCalled",!1);Tt(this,"_messageQueue",[]);Tt(this,"_url");Tt(this,"_protocols");Tt(this,"_options");Tt(this,"onclose",null);Tt(this,"onerror",null);Tt(this,"onmessage",null);Tt(this,"onopen",null);Tt(this,"_handleOpen",n=>{this._debug("open event");const{minUptime:r=da.minUptime}=this._options;clearTimeout(this._connectTimeout),this._uptimeTimeout=setTimeout(()=>this._acceptOpen(),r),$I(this._ws,"WebSocket is not defined"),this._ws.binaryType=this._binaryType,this._messageQueue.forEach(s=>{var o;return(o=this._ws)==null?void 0:o.send(s)}),this._messageQueue=[],this.onopen&&this.onopen(n),this.dispatchEvent(yh(n))});Tt(this,"_handleMessage",n=>{this._debug("message event"),this.onmessage&&this.onmessage(n),this.dispatchEvent(yh(n))});Tt(this,"_handleError",n=>{this._debug("error event",n.message),this._disconnect(void 0,n.message==="TIMEOUT"?"timeout":void 0),this.onerror&&this.onerror(n),this._debug("exec error listeners"),this.dispatchEvent(yh(n)),this._connect()});Tt(this,"_handleClose",n=>{this._debug("close event"),this._clearTimeouts(),this._shouldReconnect&&this._connect(),this.onclose&&this.onclose(n),this.dispatchEvent(yh(n))});this._url=n,this._protocols=r,this._options=s,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}static get CONNECTING(){return 0}static get OPEN(){return 1}static get CLOSING(){return 2}static get CLOSED(){return 3}get CONNECTING(){return ma.CONNECTING}get OPEN(){return ma.OPEN}get CLOSING(){return ma.CLOSING}get CLOSED(){return ma.CLOSED}get binaryType(){return this._ws?this._ws.binaryType:this._binaryType}set binaryType(n){this._binaryType=n,this._ws&&(this._ws.binaryType=n)}get retryCount(){return Math.max(this._retryCount,0)}get bufferedAmount(){return this._messageQueue.reduce((r,s)=>(typeof s=="string"?r+=s.length:s instanceof Blob?r+=s.size:r+=s.byteLength,r),0)+(this._ws?this._ws.bufferedAmount:0)}get extensions(){return this._ws?this._ws.extensions:""}get protocol(){return this._ws?this._ws.protocol:""}get readyState(){return this._ws?this._ws.readyState:this._options.startClosed?ma.CLOSED:ma.CONNECTING}get url(){return this._ws?this._ws.url:""}get shouldReconnect(){return this._shouldReconnect}close(n=1e3,r){if(this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(n,r)}reconnect(n,r){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(n,r),this._connect())}send(n){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",n),this._ws.send(n);else{const{maxEnqueuedMessages:r=da.maxEnqueuedMessages}=this._options;this._messageQueue.length<r&&(this._debug("enqueue",n),this._messageQueue.push(n))}}_debug(...n){this._options.debug&&console.log.apply(console,["RWS>",...n])}_getNextDelay(){const{reconnectionDelayGrowFactor:n=da.reconnectionDelayGrowFactor,minReconnectionDelay:r=d
363a.minReconnectionDelay,maxReconnectionDelay:s=da.maxReconnectionDelay}=this._options;let o=0;return this._retryCount>0&&(o=r*Math.pow(n,this._retryCount-1),o>s&&(o=s)),this._debug("next delay",o),o}_wait(){return new Promise(n=>{setTimeout(n,this._getNextDelay())})}_getNextProtocols(n){if(!n)return Promise.resolve(null);if(typeof n=="string"||Array.isArray(n))return Promise.resolve(n);if(typeof n=="function"){const r=n();if(!r)return Promise.resolve(null);if(typeof r=="string"||Array.isArray(r))return Promise.resolve(r);if(r.then)return r}throw Error("Invalid protocols")}_getNextUrl(n){if(typeof n=="string")return Promise.resolve(n);if(typeof n=="function"){const r=n();if(typeof r=="string")return Promise.resolve(r);if(r.then)return r}throw Error("Invalid URL")}_connect(){if(this._connectLock||!this._shouldReconnect)return;this._connectLock=!0;const{maxRetries:n=da.maxRetries,connectionTimeout:r=da.connectionTimeout}=this._options;if(this._retryCount>=n){this._debug("max retries reached",this._retryCount,">=",n);return}this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),this._wait().then(()=>Promise.all([this._getNextUrl(this._url),this._getNextProtocols(this._protocols||null)])).then(([s,o])=>{if(this._closeCalled){this._connectLock=!1;return}!this._options.WebSocket&&typeof WebSocket>"u"&&!lS&&(console.error(`‼️ No WebSocket implementation available. You should define options.WebSocket. 
364
365For example, if you're using node.js, run \`npm install ws\`, and then in your code:
366
367import PartySocket from 'partysocket';
368import WS from 'ws';
369
370const partysocket = new PartySocket({
371  host: "127.0.0.1:1999",
372  room: "test-room",
373  WebSocket: WS
374});
375
376`),lS=!0);const l=this._options.WebSocket||WebSocket;this._debug("connect",{url:s,protocols:o}),this._ws=o?new l(s,o):new l(s),this._ws.binaryType=this._binaryType,this._connectLock=!1,this._addListeners(),this._connectTimeout=setTimeout(()=>this._handleTimeout(),r)}).catch(s=>{this._connectLock=!1,this._handleError(new my.ErrorEvent(Error(s.message),this))})}_handleTimeout(){this._debug("timeout event"),this._handleError(new my.ErrorEvent(Error("TIMEOUT"),this))}_disconnect(n=1e3,r){if(this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(n,r),this._handleClose(new my.CloseEvent(n,r,this))}catch{}}}_acceptOpen(){this._debug("accept open"),this._retryCount=0}_removeListeners(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))}_addListeners(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))}_clearTimeouts(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)}};/*!
377 * Reconnecting WebSocket
378 * by Pedro Ladaria <[email protected]>
379 * https://github.com/pladaria/reconnecting-websocket
380 * License MIT
381 */const YI=1e3,KI=3e3,JI=new Set([405,409,422,503]),XI=new Set([400,403,404]);function QI(t){const e=t&&typeof t=="object"?t.status:void 0;return typeof e=="number"?e:void 0}function ZI(t){return t instanceof Error?t:new Error(String(t))}class e6{constructor(e,n,r,s,o){var l;this.onClose=o,this.listeners=new Set,this.heartbeat=null,this.closed=!1,this.id=(l=s==null?void 0:s.id)!==null&&l!==void 0?l:crypto.randomUUID();let c=r.transport==="proxy";const f=async()=>{var v;if(this.closed)throw new Error("Actor connection is closed");if(!c)try{const{websocket_url:x,token:k}=await r.mintConnectionToken(e,n,this.id),b=x.includes("?")?"&":"?";return`${x}${b}token=${encodeURIComponent(k)}`}catch(x){const k=QI(x);if(!(r.transport!=="direct"&&k!==void 0&&JI.has(k))){k!==void 0&&XI.has(k)&&this.close();try{(v=r.onMintError)===null||v===void 0||v.call(r,ZI(x))}catch{}throw x}c=!0}return n6(r.host,e,n,this.id,r.appId,r.getAuthToken(),r.functionsVersion)},h=new GI(f);this.ws=h;let p=Date.now();const g=()=>{p=Date.now()};h.addEventListener("open",g),h.addEventListener("message",v=>{g();let x;try{x=JSON.parse(v.data)}catch{return}if((x&&typeof x=="object"?x.type:void 0)!=="__pong")for(const b of this.listeners)b(x)}),this.heartbeat=setInterval(()=>{if(Date.now()-p>KI){g(),h.readyState===h.OPEN&&h.reconnect();return}try{h.send(JSON.stringify({type:"__ping"}))}catch{}},YI)}subscribe(e){return this.listeners.add(e),{unsubscribe:()=>{this.listeners.delete(e)}}}send(e){this.closed||this.ws.send(JSON.stringify(e))}close(){this.closed||(this.closed=!0,this.heartbeat&&(clearInterval(this.heartbeat),this.heartbeat=null),this.listeners.clear(),this.ws.close(),this.onClose())}}function t6(t,e,n,r){let s=null;return{connect(o){if(s)return s;const l=new e6(t,e,n,o,()=>{r.delete(l),s===l&&(s=null)});return s=l,r.add(l),l}}}function n6(t,e,n,r,s,o,l){let c=t.replace(/^(http|https|ws|wss):\/\//,"");c.endsWith("/")&&(c=c.slice(0,-1));const f=c.startsWith("localhost:")||c.startsWith("127.0.0.1:")||c.startsWith("192.168.")||c.startsWith("10.")||c.startsWith("172.")&&c.split(".")[1]>="16"&&c.split(".")[1]<="31"||c.startsWith("[::ffff:7f00:1]:"),h=new URLSearchParams([["_pk",r],["app_id",s],["handler",e]]);return o&&h.append("token",o),l&&h.append("fv",l),`${f?"ws":"wss"}://${c}/parties/${e}/${n}?${h}`}function r6(t,e){return t&&!t.startsWith("/")?t:e??t}function s6(t){const e=new Set;return{module:new Proxy({}
381,{get(r,s){if(!(typeof s!="string"||s==="then"))return o=>t6(s,o,t,e)}}),closeAll:()=>{for(const r of[...e])r.close()}}}function i6(t){var e,n,r,s;const{serverUrl:o="https://base44.app",appId:l,analytics:c,token:f,serviceToken:h,requiresAuth:p=!1,appBaseUrl:g,options:v,functionsVersion:x,headers:k}=t,b=typeof g=="string"?g:"",_={serverUrl:o,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:l,token:f};let C=null;const j=()=>(C||(C=VI({config:_})),C),T={...k,"X-App-Id":String(l)},N=x?{...T,"Base44-Functions-Version":x}:T,P=Vl({baseURL:`${o}/api`,headers:T,token:f,onError:v==null?void 0:v.onError}),D=Vl({baseURL:`${o}/api`,headers:N,token:f,interceptResponses:!1,onError:v==null?void 0:v.onError}),M={...T,...f?{"on-behalf-of":`Bearer ${f}`}:{}},O=Vl({baseURL:`${o}/api`,headers:M,token:h,onError:v==null?void 0:v.onError}),z=Vl({baseURL:`${o}/api`,headers:N,token:h,interceptResponses:!1}),V=Vl({baseURL:`${o}/api`,headers:T}),ne=ID(P,D,l,{appBaseUrl:b,token:f});if(typeof window<"u"){const re=f||To();re&&ne.setToken(re)}const K=s6({appId:l,host:r6(o,typeof window<"u"?(e=window.location)===null||e===void 0?void 0:e.origin:void 0),functionsVersion:x,getAuthToken:()=>f||To(),mintConnectionToken:async(re,J,Y)=>{const Z=f||To();return await V.post(`/apps/${l}/actors/${encodeURIComponent(re)}/connection-token`,{room:J,connection_id:Y},{headers:{...Z?{Authorization:`Bearer ${Z}`}:{},...x?{"Base44-Functions-Version":x}:{}}})},transport:v==null?void 0:v.actorsTransport,onMintError:v==null?void 0:v.onError}),ie={entities:Y_({axios:P,appId:l,getSocket:j}),integrations:J_(P,l),connectors:VD(P,l),auth:ne,functions:X_(D,l,{getAuthHeaders:()=>{const re={},J=f||To();return J&&(re.Authorization=`Bearer ${J}`),re},baseURL:(n=D.defaults)===null||n===void 0?void 0:n.baseURL}),agents:Q_({axios:P,getSocket:j,appId:l,serverUrl:o,token:f}),aiGateway:eS({serverUrl:o,token:f,appId:l}),appLogs:tS(P,l),app:qD(P,l),users:GD(P,l),analytics:_D({axiosClient:P,serverUrl:o,appId:l,userAuthModule:ne,enabled:(r=c==null?void 0:c.enabled)!==null&&r!==void 0?r:!0}),actors:K.module,cleanup:()=>{ie.analytics.cleanup(),K.closeAll(),C&&C.disconnect()}},ae={entities:Y_({axios:O,appId:l,getSocket:j}),integrations:J_(O,l),sso:FD(O,l),connectors:UD(O,l),functions:X_(z,l,{getAuthHeaders:()=>{const re={};return h&&(re.Authorization=`Bearer ${h}`),re},baseURL:(s=z.defaults)===null||s===void 0?void 0:s.baseURL}),agents:Q_({axios:O,getSocket:j,appId:l,serverUrl:o,token:f}),aiGateway:eS({serverUrl:o,token:h,appId:l}),appLogs:tS(O,l),cleanup:()=>{C&&C.disconnect()}};return p&&typeof window<"u"&&setTimeout(async()=>{try{await ie.auth.isAuthenticated()||ie.auth.redirectToLogin(window.location.href)}catch(re){console.error("Authentication check failed:",re),ie.auth.redirectToLogin(window.location.href)}},0),{...ie,fetchWithAuth:WD({axios:P,serviceRoleAxios:O,appId:String(l),serverUrl:o,functionsVersion:x,platformHeaders:k}),setToken(re){ie.auth.setToken(re),C&&C.updateConfig({token:re}),_.token=re},getConfig(){return{serverUrl:o,appId:l,requiresAuth:p}},get asServiceRole(){if(!h)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return ae}}}const QT=typeof window>"u",o6=QT?{localStorage:new Map}:window,Ju=o6.localStorage,a6=t=>t.replace(/([A-Z])/g,"_$1").toLowerCase(),Ml=(t,{defaultValue:e=void 0,removeFromUrl:n=!1}={})=>{if(QT)return e;const r=`base44_${a6(t)}`,s=new URLSearchParams(window.location.search),o=s.get(t);if(n){s.delete(t);const c=`${window.location.pathname}${s.toString()?`?${s.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,c)}if(o)return Ju.setItem(r,o),o;if(e)return Ju.setItem(r,e),e;const l=Ju.getItem(r);return l||null},l6=()=>(Ml("clear_access_token")==="true"&&(Ju.removeItem("base44_access_token"),Ju.removeItem("token")),{appId:Ml("app_id",{defaultValue:"6a4ec71c7f920113f78c7ff7"}),token:Ml("access_token",{removeFromUrl:!0}),fromUrl:Ml("from_url",{defaultValue:window.location.href}),functionsVersion:Ml("functions_version",{defaultValue:"prod"}),appBaseUrl:Ml("app_base_url",{defaultValue:void 0})}),Iu={...l6()},{appId:c6,token:u6,functionsVersion:d6,appBaseUrl:f6}=Iu,Un=i6({appId:c6,token:u6,functionsVersion:d6,serverUrl:"",requiresAuth:!1,appBaseUrl:f6});function h6({}){var s;const e=Ui().pathname.substring(1),{data:n,isFetched:r}=e3({queryKey:["user"],queryFn:async()=>{try{return{user:await Un.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return u.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:u.jsx("div",{className:"max-w-md w-full",children:u.jsxs("div",{className:"text-center space-y-6",children:[u.jsxs("div",{className:"space-y-2",children:[u.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),u.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),u.jsxs("div",{className:"space-y-3",children:[u.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),u.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",u.jsxs("span",{className:"font-medium text-slate-700",children:['"',e,'"']})," could not be found in this application."]})]}),r&&n.isAuthenticated&&((s=n.user)==null?void 0:s.role)==="admin"&&u.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:u.jsxs("div",{className:"flex items-start space-x-3",children:[u.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:u.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),u.jsxs("div",{className:"text-left space-y-1",children:[u.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),u.jsx("p",{className:"text-sm text-slate-600 leading-relaxed",children:"This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat."})]})]})}),u.jsx("div",{className:"pt-6",children:u.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-lg hover:bg-slate-50 hover:border-slate-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500",children:[u.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:u.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})})}const ZT=S.createContext(),p6=({children:t})=>{const[e,n]=S.useState(null),[r,s]=S.useState(!1),[o,l]=S.useState(!0),[c,f]=S.useState(!0),[h,p]=S.useState(null),[g,v]=S.useState(!1),[x,k]=S.useState(null);S.useEffect(()=>{b()},[]);const b=async()=>{var T,N;try{f(!0),p(null);const P=Vl({baseURL:"/api/apps/public",headers:{"X-App-Id":Iu.appId},token:Iu.token,interceptResponses:!0});try{const D=await P.get(`/prod/public-settings/by-id/${Iu.appId}`);k(D),Iu.token?await _():(l(!1),s(!1),v(!0)),f(!1)}catch(D){if(console.error("App state check failed:",D),D.status===403&&((N=(T=D.data)==null?void 0:T.extra_data)!=null&&N.reason)){const M=D.data.extra_data.reason;p(M==="auth_required"?{type:"auth_required",message:"Authentication required"}:M==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:M,message:D.message})}else p({type:"unknown",message:D.message||"Failed to load app"});f(!1),l(!1)}}catch(P){console.error("Unexpected error:",P),p({type:"unknown",message:P.message||"An unexpected error occurred"}),f(!1),l(!1)}},_=async()=>{try{l(!0);const T=await Un.auth.me();n(T),s(!0),l(!1),v(!0)}catch(T){console.error("User auth check failed:",T),l(!1),s(!1),v(!0),(T.status===401||T.status===403)&&p({type:"auth_required",message:"Authentication required"})}},C=(T=!0)=>{n(null),s(!1),T?Un.auth.logout(window.location.href):Un.auth.logout()},j=()=>{Un.auth.redirectToLogin(window.location.href)};return u.jsx(ZT.Provider,{value:{user:e,isAuthenticated:r,isLoadingAuth:o,isLoadingPublicSettings:c,authError:h,appPublicSettings:x,authChecked:g,logout:C,navigateToLogin:j,checkUserAuth:_,checkAppState:b},children:t})},m6=()=>{const t=S.useContext(ZT);if(!t)throw new Error("useAuth must be used within an AuthProvider");return t},g6=()=>u.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:u.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:u.jsxs("div",{className:"text-center",children:[u.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:u.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:u.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),u.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),u.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),u.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[u.jsx("p",{children:"If you believe this is an error, you can:"}),u.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[u.jsx("li",{children:"Verify you are logged in with the correct account"}),u.jsx("li",{children:"Contact the app administrator for access"}),u.jsx("li",{children:"Try logging out and back in again"})]})]})]})})});function cS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function rm(...t){return e=>{let n=!1;const r=t.map(s=>{const o=cS(s,e);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let s=0;s<r.length;s++){const o=r[s];typeof o=="function"?o():cS(t[s],null)}}}}function il(...t){return S.useCallback(rm(...t),t)}var y6=Symbol.for("react.lazy"),Cp=Gp[" use ".trim().toString()];function v6(t){return typeof t=="object"&&t!==null&&"then"in t}function eE(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===y6&&"_payload"in t&&v6(t._payload)}function tE(t){const e=w6(t),n=S.forwardRef((r,s)=>{let{children:o,...l}=r;eE(o)&&typeof Cp=="function"&&(o=Cp(o._payload));const c=S.Children.toArray(o),f=c.find(_6);if(f){const h=f.props.children,p=c.map(g=>g===f?S.Children.count(h)>1?S.Children.only(null):S.isValidElement(h)?h.props.children:null:g);return u.jsx(e,{...l,ref:s,children:S.isValidElement(h)?S.cloneElement(h,void 0,p):null})}return u.jsx(e,{...l,ref:s,children:o})});return n.displayName=`${t}.Slot`,n}var x6=tE("Slot");function w6(t){const e=S.forwardRef((n,r)=>{let{children:s,...o}=n;if(eE(s)&&typeof Cp=="function"&&(s=Cp(s._payload)),S.isValidElement(s)){const l=C6(s),c=S6(o,s.props);return s.type!==S.Fragment&&(c.ref=r?rm(r,l):l),S.cloneElement(s,c)}return S.Children.count(s)>1?S.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var b6=Symbol("radix.slottable");function _6(t){return S.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===b6}function S6(t,e){const n={...e};for(const r in e){const s=t[r],o=e[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...c)=>{const f=o(...c);return s(...c),f}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}
vendor: 4,254 bytes, line 381
381:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...t,...n}}function C6(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const k6=_v("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring 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 shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Lo=S.forwardRef(({className:t,variant:e,size:n,asChild:r=!1,...s},o)=>{const l=r?x6:"button";return u.jsx(l,{className:xn(k6({variant:e,size:n,className:t})),ref:o,...s})});Lo.displayName="Button";const Oi=S.forwardRef(({className:t,type:e,...n},r)=>u.jsx("input",{type:e,className:xn("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors 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-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:r,...n}));Oi.displayName="Input";var T6=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],E6=T6.reduce((t,e)=>{const n=tE(`Primitive.${e}`),r=S.forwardRef((s,o)=>{const{asChild:l,...c}=s,f=l?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(f,{...c,ref:o})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{}),j6="Label",nE=S.forwardRef((t,e)=>u.jsx(E6.label,{...t,ref:e,onMouseDown:n=>{var s;n.target.closest("button, input, select, textarea")||((s=t.onMouseDown)==null||s.call(t,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));nE.displayName=j6;var rE=nE;const N6=_v("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Mi=S.forwardRef(({className:t,...e},n)=>u.jsx(rE,{ref:n,className:xn(N6(),t),...e}));Mi.displayName=rE.displayName;function _c({icon:t,title:e,subtitle:n,footer:r,children:s}){return u.jsxs("section",{className:"relative bg-primary overflow-hidden min-h-[calc(100vh-5rem)] flex items-center pt-20 pb-12",children:[u.jsx("div",{className:"absolute inset-0 bg-cover bg-center opacity-10",style:{backgroundImage:"url('https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/e77848b17_www_jct_ac_il_beit-midrash_6861eade.jpg')"}}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-primary via-primary/95 to-primary"}),u.jsxs("div",{className:"relative z-10 w-full max-w-md mx-auto px-4",children:[u.jsxs(cn,{to:"/",className:"inline-flex items-center gap-2 text-sm text-primary-foreground/60 hover:text-accent transition-colors mb-8",children:[u.jsx(Sv,{className:"w-4 h-4"})," Back to home"]}),u.jsxs("div",{className:"text-center mb-8",children:[u.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-2xl bg-accent mb-5 shadow-xl",children:u.jsx(t,{className:"w-8 h-8 text-accent-foreground","aria-hidden":"true"})}),u.jsx("h1",{className:"text-3xl font-bold font-display tracking-tight text-primary-foreground",children:e}),n&&u.jsx("p",{className:"text-primary-foreground/60 mt-2 text-sm",children:n})]}),u.jsx("div",{className:"bg-background rounded-2xl shadow-2xl border border-border p-8",children:s}),r&&u.jsx("p",{className:"text-center text-sm text-primary-foreground
381/60 mt-6",children:r})]})]})}function sE({className:t="w-5 h-5"}){return u.jsxs("svg",{className:t,viewBox:"0 0 24 24","aria-hidden":"true",children:[u.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 01-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z",fill:"#4285F4"}),u.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),u.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),u.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]})}function P6(){const[t,e]=S.useState(""),[n,r]=S.useState(""),[s,o]=S.useState(""),[l,c]=S.useState(!1),f=async p=>{p.preventDefault(),o(""),c(!0);try{await Un.auth.loginViaEmailPassword(t,n),window.location.href="/"}catch(g){o(g.message||"Invalid email or password")}finally{c(!1)}},h=()=>{Un.auth.loginWithProvider("google","/")};return u.jsxs(_c,{icon:sO,title:"Welcome back",subtitle:"Log in to your account",footer:u.jsxs(u.Fragment,{children:["Don't have an account?"," ",u.jsx(cn,{to:"/Register",className:"text-accent font-bold hover:underline",children:"Create one"})]}),children:[u.jsxs(Lo,{variant:"outline",className:"w-full h-12 text-sm font-medium mb-6 rounded-xl border-2 hover:border-accent hover:bg-accent/5",onClick:h,children:[u.jsx(sE,{className:"w-5 h-5 mr-2"}),"Continue with Google"]}),u.jsxs("div",{className:"relative mb-6",children:[u.jsx("div",{className:"absolute inset-0 flex items-center",children:u.jsx("div",{className:"w-full border-t border-border"})}),u.jsx("div",{className:"relative flex justify-center text-xs uppercase",children:u.jsx("span",{className:"bg-card px-3 text-muted-foreground",children:"or"})})]}),s&&u.jsx("div",{className:"mb-4 p-3 rounded-xl bg-destructive/10 text-destructive text-sm border border-destructive/20",children:s}),u.jsxs("form",{onSubmit:f,className:"space-y-4",children:[u.jsxs("div",{className:"space-y-2",children:[u.jsx(Mi,{htmlFor:"email",children:"Email"}),u.jsxs("div",{className:"relative",children:[u.jsx(xs,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground","aria-hidden":"true"}),u.jsx(Oi,{id:"email",type:"email",autoComplete:"email",autoFocus:!0,placeholder:"[email protected]",value:t,onChange:p=>e(p.target.value),className:"pl-10 h-12 rounded-xl",required:!0})]})]}),u.jsxs("div",{className:"space-y-2",children:[u.jsxs("div",{className:"flex items-center justify-between",children:[u.jsx(Mi,{htmlFor:"password",children:"Password"}),u.jsx(cn,{to:"/forgot-password",className:"text-xs text-accent font-semibold hover:underline",children:"Forgot password?"})]}),u.jsxs("div",{className:"relative",children:[u.jsx(Zl,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground","aria-hidden":"true"}),u.jsx(Oi,{id:"password",type:"password",autoComplete:"current-password",placeholder:"••••••••",value:n,onChange:p=>r(p.target.value),className:"pl-10 h-12 rounded-xl",required:!0})]})]}),u.jsx(Lo,{type:"submit",className:"w-full h-12 font-bold rounded-xl bg-accent text-accent-foreground hover:opacity-90 transition-opacity",disabled:l,children:l?u.jsxs(u.Fragment,{children:[u.jsx(gd,{className:"w-4 h-4 mr-2 animate-spin"}),"Logging in..."]}):"Log in"})]})]})}var R6=Object.defineProperty,A6=Object.defineProperties,O6=Object.getOwnPropertyDescriptors,kp=Object.getOwnPropertySymbols,iE=Object.prototype.hasOwnProperty,oE=Object.prototype.propertyIsEnumerable,uS=(t,e,n)=>e in t?R6(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,M6=(t,e)=>{for(var n in e||(e={}))iE.call(e,n)&&uS(t,n,e[n]);if(kp)for(var n of kp(e))oE.call(e,n)&&uS(t,n,e[n]);return t},L6=(t,e)=>A6(t,O6(e)),D6=(t,e)=>{var n={};for(var r in t)iE.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&kp)for(var r of kp(t))e.indexOf(r)<0&&oE.call(t,r)&&(n[r]=t[r]);return n};function I6(t){let e=setTimeout(t,0),n=setTimeout(t,10),r=setTimeout(t,50);return[e,n,r]}function F6(t){let e=S.useRef();return S.useEffect(()=>{e.current=t}),e.current}var B6=18,aE=40,U6=`${aE}px`,z6=["[data-lastpass-icon-root]","com-1password-button","[data-dashlanecreated]",'[style$="2147483647 !important;"]'].join(",");function V6({containerRef:t,inputRef:e,pushPasswordManagerStrategy:n,isFocused:r}){let[s,o]=S.useState(!1),[l,c]=S.useState(!1),[f,h]=S.useState(!1),p=S.useMemo(()=>n==="none"?!1:(n==="increase-width"||n==="experimental-no-flickering")&&s&&l,[s,l,n]),g=S.useCallback(()=>{let v=t.current,x=e.current;if(!v||!x||f||n==="none")return;let k=v,b=k.getBoundingClientRect().left+k.offsetWidth,_=k.getBoundingClientRect().top+k.offsetHeight/2,C=b-B6,j=_;document.querySelectorAll(z6).length===0&&document.elementFromPoint(C,j)===v||(
381o(!0),h(!0))},[t,e,f,n]);return S.useEffect(()=>{let v=t.current;if(!v||n==="none")return;function x(){let b=window.innerWidth-v.getBoundingClientRect().right;c(b>=aE)}x();let k=setInterval(x,1e3);return()=>{clearInterval(k)}},[t,n]),S.useEffect(()=>{let v=r||document.activeElement===e.current;if(n==="none"||!v)return;let x=setTimeout(g,0),k=setTimeout(g,2e3),b=setTimeout(g,5e3),_=setTimeout(()=>{h(!0)},6e3);return()=>{clearTimeout(x),clearTimeout(k),clearTimeout(b),clearTimeout(_)}},[e,r,n,g]),{hasPWMBadge:s,willPushPWMBadge:p,PWM_BADGE_SPACE_WIDTH:U6}}var lE=S.createContext({}),cE=S.forwardRef((t,e)=>{var n=t,{value:r,onChange:s,maxLength:o,textAlign:l="left",pattern:c,placeholder:f,inputMode:h="numeric",onComplete:p,pushPasswordManagerStrategy:g="increase-width",pasteTransformer:v,containerClassName:x,noScriptCSSFallback:k=$6,render:b,children:_}=n,C=D6(n,["value","onChange","maxLength","textAlign","pattern","placeholder","inputMode","onComplete","pushPasswordManagerStrategy","pasteTransformer","containerClassName","noScriptCSSFallback","render","children"]),j,T,N,P,D;let[M,O]=S.useState(typeof C.defaultValue=="string"?C.defaultValue:""),z=r??M,V=F6(z),ne=S.useCallback(le=>{s==null||s(le),O(le)},[s]),K=S.useMemo(()=>c?typeof c=="string"?new RegExp(c):c:null,[c]),ie=S.useRef(null),ae=S.useRef(null),me=S.useRef({value:z,onChange:ne,isIOS:typeof window<"u"&&((T=(j=window==null?void 0:window.CSS)==null?void 0:j.supports)==null?void 0:T.call(j,"-webkit-touch-callout","none"))}),re=S.useRef({prev:[(N=ie.current)==null?void 0:N.selectionStart,(P=ie.current)==null?void 0:P.selectionEnd,(D=ie.current)==null?void 0:D.selectionDirection]});S.useImperativeHandle(e,()=>ie.current,[]),S.useEffect(()=>{let le=ie.current,xe=ae.current;if(!le||!xe)return;me.current.value!==le.value&&me.current.onChange(le.value),re.current.prev=[le.selectionStart,le.selectionEnd,le.selectionDirection];function he(){if(document.activeElement!==le){G(null),ue(null);return}let ze=le.selectionStart,dt=le.selectionEnd,tt=le.selectionDirection,ft=le.maxLength,un=le.value,Zt=re.current.prev,mt=-1,en=-1,at;if(un.length!==0&&ze!==null&&dt!==null){let Ir=ze===dt,Pt=ze===un.length&&un.length<ft;if(Ir&&!Pt){let rr=ze;if(rr===0)mt=0,en=1,at="forward";else if(rr===ft)mt=rr-1,en=rr,at="backward";else if(ft>1&&un.length>1){let $n=0;if(Zt[0]!==null&&Zt[1]!==null){at=rr<Zt[1]?"backward":"forward";let zs=Zt[0]===Zt[1]&&Zt[0]<ft;at==="backward"&&!zs&&($n=-1)}mt=$n+rr,en=$n+rr+1}}mt!==-1&&en!==-1&&mt!==en&&ie.current.setSelectionRange(mt,en,at)}let dn=mt!==-1?mt:ze,wn=en!==-1?en:dt,Mn=at??tt;G(dn),ue(wn),re.current.prev=[dn,wn,Mn]}if(document.addEventListener("selectionchange",he,{capture:!0}),he(),document.activeElement===le&&R(!0),!document.getElementById("input-otp-style")){let ze=document.createElement("style");if(ze.id="input-otp-style",document.head.appendChild(ze),ze.sheet){let dt="background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";Tu(ze.sheet,"[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"),Tu(ze.sheet,`[data-input-otp]:autofill { ${dt} }`),Tu(ze.sheet,`[data-input-otp]:-webkit-autofill { ${dt} }`),Tu(ze.sheet,"@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"),Tu(ze.sheet,"[data-input-otp] + * { pointer-events: all !important; }")}}let W=()=>{xe&&xe.style.setProperty("--root-height",`${le.clientHeight}px`)};W();let Ge=new ResizeObserver(W);return Ge.observe(le),()=>{document.removeEventListener("selectionchange",he,{capture:!0}),Ge.disconnect()}},[]);let[J,Y]=S.useState(!1),[Z,R]=S.useState(!1),[L,G]=S.useState(null),[ge,ue]=S.useState(null);S.useEffect(()=>{I6(()=>{var le,xe,he,W;(le=ie.current)==null||le.dispatchEvent(new Event("input"));let Ge=(xe=ie.current)==null?void 0:xe.selectionStart,ze=(he=ie.current)==null?void 0:he.selectionEnd,dt=(W=ie.current)==null?void 0:W.selectionDirection;Ge!==null&&ze!==null&&(G(Ge),ue(ze),re.current.prev=[Ge,ze,dt])})},[z,Z]),S.useEffect(()=>{V!==void 0&&z!==V&&V.length<o&&z.length===o&&(p==null||p(z))},[o,p,V,z]);let de=V6({containerRef:ae,inputRef:ie,pushPasswordManagerStrategy:g,isFocused:Z}),ee=S.useCallback(le=>{let xe=le.currentTarget.value.slice(0,o);if(xe.length>0&&K&&!K.test(xe)){le.preventDefault();return}typeof V=="string"&&xe.length<V.length&&document.dispatchEvent(new Event("selectionchange")),ne(xe)},[o,ne,V,K]),ye=S.useCallback(()=>{var le;if(ie.current){let xe=Math.min(ie.current.value.length,o-1),he=ie.current.value.length;(le=ie.current)==null||le.setSelectionRange(xe,he),G(xe),ue(he)}R(!0)},[o]),je=S.useCallback(le=>{var xe,he;let W=ie.current;if(!v&&(!me.current.isIOS||!le.clipboardData||!W))return;let Ge=le.clipboardData.getData("text/plain"),ze=v?v(Ge):Ge;le.preventDefault();let dt=(xe=ie.current)==null?void 0:xe.selectionStart,tt=(he=ie.current)==null?void 0:he.selectionEnd,ft=(dt!==tt?z.slice(0,dt)+ze+z.slice(tt):z.slice(0,dt)+ze+z.slice(dt)).slice(0,o);if(ft.length>0&&K&&!K.test(ft))return;W.value=ft,ne(ft);let un=Math.min(ft.length,o-1),Zt=ft.length;W.setSelectionRange(un,Zt),G(un),ue(Zt)},[o,ne,K,z]),be=S.useMemo(()=>
381({position:"relative",cursor:C.disabled?"default":"text",userSelect:"none",WebkitUserSelect:"none",pointerEvents:"none"}),[C.disabled]),ht=S.useMemo(()=>({position:"absolute",inset:0,width:de.willPushPWMBadge?`calc(100% + ${de.PWM_BADGE_SPACE_WIDTH})`:"100%",clipPath:de.willPushPWMBadge?`inset(0 ${de.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:"100%",display:"flex",textAlign:l,opacity:"1",color:"transparent",pointerEvents:"all",background:"transparent",caretColor:"transparent",border:"0 solid transparent",outline:"0 solid transparent",boxShadow:"none",lineHeight:"1",letterSpacing:"-.5em",fontSize:"var(--root-height)",fontFamily:"monospace",fontVariantNumeric:"tabular-nums"}),[de.PWM_BADGE_SPACE_WIDTH,de.willPushPWMBadge,l]),pt=S.useMemo(()=>S.createElement("input",L6(M6({autoComplete:C.autoComplete||"one-time-code"},C),{"data-input-otp":!0,"data-input-otp-placeholder-shown":z.length===0||void 0,"data-input-otp-mss":L,"data-input-otp-mse":ge,inputMode:h,pattern:K==null?void 0:K.source,"aria-placeholder":f,style:ht,maxLength:o,value:z,ref:ie,onPaste:le=>{var xe;je(le),(xe=C.onPaste)==null||xe.call(C,le)},onChange:ee,onMouseOver:le=>{var xe;Y(!0),(xe=C.onMouseOver)==null||xe.call(C,le)},onMouseLeave:le=>{var xe;Y(!1),(xe=C.onMouseLeave)==null||xe.call(C,le)},onFocus:le=>{var xe;ye(),(xe=C.onFocus)==null||xe.call(C,le)},onBlur:le=>{var xe;R(!1),(xe=C.onBlur)==null||xe.call(C,le)}})),[ee,ye,je,h,ht,o,ge,L,C,K==null?void 0:K.source,z]),Qe=S.useMemo(()=>({slots:Array.from({length:o}).map((le,xe)=>{var he;let W=Z&&L!==null&&ge!==null&&(L===ge&&xe===L||xe>=L&&xe<ge),Ge=z[xe]!==void 0?z[xe]:null,ze=z[0]!==void 0?null:(he=f==null?void 0:f[xe])!=null?he:null;return{char:Ge,placeholderChar:ze,isActive:W,hasFakeCaret:W&&Ge===null}}),isFocused:Z,isHovering:!C.disabled&&J}),[Z,J,o,ge,L,C.disabled,z]),Fe=S.useMemo(()=>b?b(Qe):S.createElement(lE.Provider,{value:Qe},_),[_,Qe,b]);return S.createElement(S.Fragment,null,k!==null&&S.createElement("noscript",null,S.createElement("style",null,k)),S.createElement("div",{ref:ae,"data-input-otp-container":!0,style:be,className:x},Fe,S.createElement("div",{style:{position:"absolute",inset:0,pointerEvents:"none"}},pt)))});cE.displayName="Input";function Tu(t,e){try{t.insertRule(e)}catch{console.error("input-otp could not insert CSS rule:",e)}}var $6=`
382[data-input-otp] {
383  --nojs-bg: white !important;
384  --nojs-fg: black !important;
385
386  background-color: var(--nojs-bg) !important;
387  color: var(--nojs-fg) !important;
388  caret-color: var(--nojs-fg) !important;
389  letter-spacing: .25em !important;
390  text-align: center !important;
391  border: 1px solid var(--nojs-fg) !important;
392  border-radius: 4px !important;
393  width: 100% !important;
394}
395@media (prefers-color-scheme: dark) {
396  [data-input-otp] {
397    --nojs-bg: black !important;
398    --nojs-fg: white !important;
399  }
400}`;const uE=S.forwardRef(({className:t,containerClassName:e,...n},r)=>u.jsx(cE,{ref:r,containerClassName:xn("flex items-center gap-2 has-[:disabled]:opacity-50",e),className:xn("disabled:cursor-not-allowed",t),...n}));uE.displayName="InputOTP";const dE=S.forwardRef(({className:t,...e},n)=>u.jsx("div",{ref:n,className:xn("flex items-center",t),...e}));dE.displayName="InputOTPGroup";const ga=S.forwardRef(({index:t,className:e,...n},r)=>{const s=S.useContext(lE),{char:o,hasFakeCaret:l,isActive:c}=s.slots[t];return u.jsxs("div",{ref:r,className:xn("relative flex h-9 w-9 items-center justify-center border-y border-r border-input text-sm shadow-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",c&&"z-10 ring-1 ring-ring",e),...n,children:[o,l&&u.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:u.jsx("div",{className:"h-4 w-px animate-caret-blink bg-foreground duration-1000"})})]})});ga.displayName="InputOTPSlot";const W6=S.forwardRef(({...t},e)=>u.jsx("div",{ref:e,role:"separator",...t,children:u.jsx(dO,{})}));W6.displayName="InputOTPSeparator";function H6(){const[t,e]=S.useState(""),[n,r]=S.useState(""),[s,o]=S.useState(""),[l,c]=S.useState(""),[f,h]=S.useState(!1),[p,g]=S.useState(!1),[v,x]=S.useState(""),k=async j=>{if(j.preventDefault(),c(""),n!==s){c("Passwords do not match");return}h(!0);try{await Un.auth.register({email:t,password:n}),g(!0)}catch(T){c(T.message||"Registration failed")}finally{h(!1)}},b=async()=>{c(""),h(!0);try{const j=await Un.auth.verifyOtp({email:t,otpCode:v});j!=null&&j.access_token&&Un.auth.setToken(j.access_token),window.location.href="/"}catch(j){c(j.message||"Invalid verification code")}finally{h(!1)}},_=async()=>{c("");try{await Un.auth.resendOtp(t),ak({title:"Code sent",description:"Check your email for the new code."})}catch(j){c(j.message||"Failed to resend code")}},C=()=>{Un.auth.loginWithProvider("google","/")};return p?u.jsxs(_c,{icon:xs,title:"Verify your email",subtitle:`We sent a code to ${t}`,children:[l&&u.jsx("div",{className:"mb-4 p-3 rounded-xl bg-destructive/10 text-destructive text-sm border border-destructive/20",children:l}),u.jsx("div",{className:"flex justify-center mb-6",children:u.jsx(uE,{maxLength:6,value:v,onCh
400ange:x,autoFocus:!0,autoComplete:"one-time-code",children:u.jsxs(dE,{children:[u.jsx(ga,{index:0}),u.jsx(ga,{index:1}),u.jsx(ga,{index:2}),u.jsx(ga,{index:3}),u.jsx(ga,{index:4}),u.jsx(ga,{index:5})]})})}),u.jsx(Lo,{className:"w-full h-12 font-bold rounded-xl bg-accent text-accent-foreground hover:opacity-90 transition-opacity",onClick:b,disabled:f||v.length<6,children:f?u.jsxs(u.Fragment,{children:[u.jsx(gd,{className:"w-4 h-4 mr-2 animate-spin"}),"Verifying..."]}):"Verify"}),u.jsxs("p",{className:"text-center text-sm text-muted-foreground mt-4",children:["Didn't receive the code?"," ",u.jsx("button",{onClick:_,className:"text-accent font-bold hover:underline",children:"Resend"})]})]}):u.jsxs(_c,{icon:_O,title:"Create your account",subtitle:"Sign up to get started",footer:u.jsxs(u.Fragment,{children:["Already have an account?"," ",u.jsx(cn,{to:"/Login",className:"text-accent font-bold hover:underline",children:"Log in"})]}),children:[u.jsxs(Lo,{variant:"outline",className:"w-full h-12 text-sm font-medium mb-6 rounded-xl border-2 hover:border-accent hover:bg-accent/5",onClick:C,children:[u.jsx(sE,{className:"w-5 h-5 mr-2"}),"Continue with Google"]}),u.jsxs("div",{className:"relative mb-6",children:[u.jsx("div",{className:"absolute inset-0 flex items-center",children:u.jsx("div",{className:"w-full border-t border-border"})}),u.jsx("div",{className:"relative flex justify-center text-xs uppercase",children:u.jsx("span",{className:"bg-card px-3 text-muted-foreground",children:"or"})})]}),l&&u.jsx("div",{className:"mb-4 p-3 rounded-xl bg-destructive/10 text-destructive text-sm border border-destructive/20",children:l}),u.jsxs("form",{onSubmit:k,className:"space-y-4",children:[u.jsxs("div",{className:"space-y-2",children:[u.jsx(Mi,{htmlFor:"email",children:"Email"}),u.jsxs("div",{className:"relative",children:[u.jsx(xs,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground","aria-hidden":"true"}),u.jsx(Oi,{id:"email",type:"email",autoComplete:"email",autoFocus:!0,placeholder:"[email protected]",value:t,onChange:j=>e(j.target.value),className:"pl-10 h-12 rounded-xl",required:!0})]})]}),u.jsxs("div",{className:"space-y-2",children:[u.jsx(Mi,{htmlFor:"password",children:"Password"}),u.jsxs("div",{className:"relative",children:[u.jsx(Zl,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground","aria-hidden":"true"}),u.jsx(Oi,{id:"password",type:"password",autoComplete:"new-password",placeholder:"••••••••",value:n,onChange:j=>r(j.target.value),className:"pl-10 h-12 rounded-xl",required:!0})]})]}),u.jsxs("div",{className:"space-y-2",children:[u.jsx(Mi,{htmlFor:"confirm",children:"Confirm Password"}),u.jsxs("div",{className:"relative",children:[u.jsx(Zl,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground","aria-hidden":"true"}),u.jsx(Oi,{id:"confirm",type:"password",autoComplete:"new-password",placeholder:"••••••••",value:s,onChange:j=>o(j.target.value),className:"pl-10 h-12 rounded-xl",required:!0})]})]}),u.jsx(Lo,{type:"submit",className:"w-full h-12 font-bold rounded-xl bg-accent text-accent-foreground hover:opacity-90 transition-opacity",disabled:f,children:f?u.jsxs(u.Fragment,{children:[u.jsx(gd,{className:"w-4 h-4 mr-2 animate-spin"}),"Creating account..."]}):"Create account"})]})]})}function q6(){const[t,e]=S.useState(""),[n,r]=S.useState(!1),[s,o]=S.useState(!1),l=async c=>{c.preventDefault(),r(!0);try{await Un.auth.resetPasswordRequest(t)}catch{}finally{r(!1),o(!0)}};return u.jsx(_c,{icon:xs,title:"Reset password",subtitle:"We'll send you a link to reset it",footer:u.jsxs(cn,{to:"/Login",className:"text-primary font-medium hover:underline",children:[u.jsx(Sv,{className:"w-3 h-3 inline mr-1"}),"Back to log in"]}),children:s?u.jsx("p",{className:"text-sm text-foreground text-center",children:"If an account exists with that email, you'll receive a password reset link shortly."}):u.jsxs("form",{onSubmit:l,className:"space-y-4",children:[u.jsxs("div",{className:"space-y-2",children:[u.jsx(Mi,{htmlFor:"email",children:"Email address"}),u.jsxs("div",{className:"relative",children:[u.jsx(xs,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground","aria-hidden":"true"}),u.jsx(Oi,{id:"email",type:"email",autoComplete:"email",autoFocus:!0,placeholder:"[email protected]",value:t,onChange:c=>e(c.target.value),className:"pl-10 h-12",required:!0})]})]}),u.jsx(Lo,{type:"submit",className:"w-full h-12 font-medium",disabled:n,children:n?u.jsxs(u.Fragment,{children:[u.jsx(gd,{className:"w-4 h-4 mr-2 animate-spin"}),"Sending..."]}):"Send reset link"})]})})}function G6(){const[t]=uL(),e=t.get("token"),[n,r]=S.useState(""),[s,o]=S.useState(""),[l,c]=S.useState(""),[f,h]=S.useState(!1),p=async g=>{if(g.preventDefault(),c(""),n!==s){c("Passwords do not match");return}h(!0);try{await Un.auth.resetPassword({resetToken:e,newPassword:n}),window.location.href="/login"}catch(v){c(v.message||"Failed to reset password")}finally{h(!1)}};return e?u.jsxs(_c,{icon:Zl,title:"New password",subtitle:"Enter your new password below",children:[l&&u.jsx("div",{className:"mb-4 p-3 rounded-lg bg-destructive/10 text-destructive text-sm",children:l}),u.jsxs("form",{onSubmit:p,className:"space-y-4",children:[u.jsxs("div",{className:"space-y-2",children:[u.jsx(Mi,{htmlFor:"password",children:"New Password"}),u.jsxs("div",{className:"relative",children:[u.jsx(Zl,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground","aria-hidden":"true"}),u.jsx(Oi,{id:"password",type:"password",autoComplete:"new-password",autoFocus:!0,placeholder:"••••••••",value:n,onChange:g=>r(g.target.value),className:"pl-10 h-12",required:!0})]})]}),u.jsxs("div",{className:"space-y-2",children:[u.jsx(Mi,{htmlFor:"confirm",children:"Confirm Password"}),u.jsxs("div",{className:"relative",children:[u.jsx(Zl,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground","aria-hidden":"true"}),u.jsx(Oi,{id:"confirm",type:"password",autoComplete:"new-password",placeholder:"••••••••",value:s,onChange:g=>o(g.target.value),className:"pl-10 h-12",required:!0})]})]}),u.jsx(Lo,{type:"submit",className:"w-full h-12 font-medium",disabled:f,children:f?u.jsxs(u.Fragment,{children:[u.jsx(gd,{className:"w-4 h-4 mr-2 animate-spin"}),"Resetting..."]}):"Reset password"})]})]}):u.jsx(_c,{icon:wO,title:"Invalid reset link",subtitle:"This password reset link is missing or invalid",footer
vendor: 9,338 bytes, lines 400-408
400:u.jsx(cn,{to:"/forgot-password",className:"text-primary font-medium hover:underline",children:"Request a new link"}),children:u.jsx("p",{className:"text-sm text-foreground text-center",children:"The link you used appears to be incomplete. Please request a new password reset email."})})}const Qv=S.createContext({});function Fc(t){const e=S.useRef(null);return e.current===null&&(e.current=t()),e.current}const sm=S.createContext(null),Xd=S.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class Y6 extends S.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function K6({children:t,isPresent:e}){const n=S.useId(),r=S.useRef(null),s=S.useRef({width:0,height:0,top:0,left:0}),{nonce:o}=S.useContext(Xd);return S.useInsertionEffect(()=>{const{width:l,height:c,top:f,left:h}=s.current;if(e||!r.current||!l||!c)return;r.current.dataset.motionPopId=n;const p=document.createElement("style");return o&&(p.nonce=o),document.head.appendChild(p),p.sheet&&p.sheet.insertRule(`
401          [data-motion-pop-id="${n}"] {
402            position: absolute !important;
403            width: ${l}px !important;
404            height: ${c}px !important;
405            top: ${f}px !important;
406            left: ${h}px !important;
407          }
408        `),()=>{document.head.removeChild(p)}},[e]),u.jsx(Y6,{isPresent:e,childRef:r,sizeRef:s,children:S.cloneElement(t,{ref:r})})}const J6=({children:t,initial:e,isPresent:n,onExitComplete:r,custom:s,presenceAffectsLayout:o,mode:l})=>{const c=Fc(X6),f=S.useId(),h=S.useCallback(g=>{c.set(g,!0);for(const v of c.values())if(!v)return;r&&r()},[c,r]),p=S.useMemo(()=>({id:f,initial:e,isPresent:n,custom:s,onExitComplete:h,register:g=>(c.set(g,!1),()=>c.delete(g))}),o?[Math.random(),h]:[n,h]);return S.useMemo(()=>{c.forEach((g,v)=>c.set(v,!1))},[n]),S.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),l==="popLayout"&&(t=u.jsx(K6,{isPresent:n,children:t})),u.jsx(sm.Provider,{value:p,children:t})};function X6(){return new Map}function fE(t=!0){const e=S.useContext(sm);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=e,o=S.useId();S.useEffect(()=>{t&&s(o)},[t]);const l=S.useCallback(()=>t&&r&&r(o),[o,r,t]);return!n&&r?[!1,l]:[!0]}const vh=t=>t.key||"";function dS(t){const e=[];return S.Children.forEach(t,n=>{S.isValidElement(n)&&e.push(n)}),e}const Zv=typeof window<"u",Qd=Zv?S.useLayoutEffect:S.useEffect,An=({children:t,custom:e,initial:n=!0,onExitComplete:r,presenceAffectsLayout:s=!0,mode:o="sync",propagate:l=!1})=>{const[c,f]=fE(l),h=S.useMemo(()=>dS(t),[t]),p=l&&!c?[]:h.map(vh),g=S.useRef(!0),v=S.useRef(h),x=Fc(()=>new Map),[k,b]=S.useState(h),[_,C]=S.useState(h);Qd(()=>{g.current=!1,v.current=h;for(let N=0;N<_.length;N++){const P=vh(_[N]);p.includes(P)?x.delete(P):x.get(P)!==!0&&x.set(P,!1)}},[_,p.length,p.join("-")]);const j=[];if(h!==k){let N=[...h];for(let P=0;P<_.length;P++){const D=_[P],M=vh(D);p.includes(M)||(N.splice(P,0,D),j.push(D))}o==="wait"&&j.length&&(N=j),C(dS(N)),b(h);return}const{forceRender:T}=S.useContext(Qv);return u.jsx(u.Fragment,{children:_.map(N=>{const P=vh(N),D=l&&!c?!1:h===_||p.includes(P),M=()=>{if(x.has(P))x.set(P,!0);else return;let O=!0;x.forEach(z=>{z||(O=!1)}),O&&(T==null||T(),C(v.current),l&&(f==null||f()),r&&r())};return u.jsx(J6,{isPresent:D,initial:!g.current||n?void 0:!1,custom:D?void 0:e,presenceAffectsLayout:s,mode:o,onExitComplete:D?void 0:M,children:N},P)})})},mr=t=>t;let Q6=mr,hE=mr;function ex(t){let e;return()=>(e===void 0&&(e=t()),e)}const Ka=(t,e,n)=>{const r=e-t;return r===0?1:(n-t)/r},Li=t=>t*1e3,Di=t=>t/1e3,Z6={useManualTiming:!1};function e7(t){let e=new Set,n=new Set,r=!1,s=!1;const o=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1};function c(h){o.has(h)&&(f.schedule(h),t()),h(l)}const f={schedule:(h,p=!1,g=!1)=>{const x=g&&r?e:n;return p&&o.add(h),x.has(h)||x.add(h),h},cancel:h=>{n.delete(h),o.delete(h)},process:h=>{if(l=h,r){s=!0;return}r=!0,[e,n]=[n,e],e.forEach(c),e.clear(),r=!1,s&&(s=!1,f.process(h))}};return f}const xh=["read","resolveKeyframes","update","preRender","render","postRender"],t7=40;function pE(t,e){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,l=xh.reduce((C,j)=>(C[j]=e7(o),C),{}),{read:c,resolveKeyframes:f,update:h,preRender:p,render:g,postRender:v}=l,x=()=>{const C=performance.now();n=!1,s.delta=r?1e3/60:Math.max(Math.min(C-s.timestamp,t7),1),s.timestamp=C,s.isProcessing=!0,c.process(s),f.process(s),h.process(s),p.process(s),g.process(s),v.process(s),s.isProcessing=!1,n&&e&&(r=!1,t(x))},k=()=>{n=!0,r=!0,s.isProcessing||t(x)};return{schedule:xh.reduce((C,j)=>{const T=l[j];return C[j]=(N,P=!1,D=!1)=>(n||k(),T.schedule(N,P,D)),C},{}),cancel:C=>{for(let j=0;j<xh.length;j++)l[xh[j]].cancel(C)},state:s,steps:l}}const{schedule:ut,cancel:Fs,state:yn,steps:gy}=pE(typeof requestAnimationFrame<"u"?requestAnimationFrame:mr,!0),mE=S.createContext({strict:!1}),fS={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Sc={};for(const t in fS)Sc[t]={isEnabled:e=>fS[t].some(n=>!!e[n])};function n7(t){for(const e in t)Sc[e]={...Sc[e],...t[e]}}const r7=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Tp(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||r7.has(t)}let gE=t=>!Tp(t);function s7(t){t&&(gE=e=>e.startsWith("on")?!Tp(e):t(e))}try{s7(require("@emotion/is-prop-valid").default)}catch{}function i7(t,e,n){const r={};for(const s in t)s==="values"&&typeof t.values=="object"||(gE(s)||n===!0&&Tp(s)||!e&&!Tp(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}function o7(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...r)=>t(...r);return new Proxy(n,{get:(r,s)=>s==="create"?t:(e.has(s)||e.set(s,t(s)),e.get(s))})}const im=S.createContext({});function _d(t){return typeof t=="string"||Array.isArray(t)}function om(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const tx=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],nx=["initial",...tx];function am(t){return om(t.animate)||nx.some(e=>_d(t[e]))}function yE(t){return!!(am(t)||t.variants)}function a7(t,e){if(am(t)){const{initial:n,animate:r}=t;return{initial:n===!1||_d(n)?n:void 0,animate:_d(r)?r:void 0}}return t.inherit!==!1?e:{}}function l7(t){const{initial:e,animate:n}=a7(t,S.useContext(im));return S.useMemo(()=>({initial:e,animate:n}),[hS(e),hS(n)])}function hS(t){return Array.isArray(t)?t.join(" "):t}const c7=Symbol.for("motionComponentSymbol");function Hl(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function u7(t,e,n){return S.useCallback(r=>{r&&t.onMount&&t.onMount(r),e&&(r?e.mount(r):e.unmount()),n&&(typeof n=="function"?n(r):Hl(n)&&(n.current=r))},[e])}const rx=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),d7="framerAppearId",vE="data-"+rx(d7),{schedule:sx}=pE(queueMicrotask,!1),xE=S.createContext({});function f7(t,e,n,r,s){var o,l;const{visualElement:c}=S.useContext(im),f=S.useContext(mE),h=S.useContext(sm),p=S.useContext(Xd).reducedMotion,g=S.useRef(null);r=r||f.renderer,!g.current&&r&&(g.current=r(t,{visualState:e,parent:c,props:n,presenceContext:h,blockInitialAnimation:h?h.initial===!1:!1,reducedMotionConfig:p}));const v=g.current,x=S.useContext(xE);v&&!v.projection&&s&&(v.type==="html"||v.type==="svg")&&h7(g.current,n,s,x);const k=S.useRef(!1);S.useInsertionEffect(()=>{v&&k.current&&v.update(n,h)});const b=n[vE],_=S.useRef(!!b&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,b))&&((l=window.MotionHasOptimisedAnimation)===null||l===void 0?void 0:l.call(window,b)));return Qd(()=>{v&&(k.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),sx.render(v.render),_.current&&v.animationState&&v.animationState.animateChanges())}),S.useEffect(()=>{v&&(!_.current&&v.animationState&&v.animationState.animateChanges(),_.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)===null||C===void 0||C.call(window,b)}),_.current=!1))}),v}function h7(t,e,n,r){const{layoutId:s,layout:o,drag:l,dragConstraints:c,layoutScroll:f,layoutRoot:h}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:wE(t.parent)),t.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:!!l||c&&Hl(c),visualElement:t,animationType:typeof o=="str
408ing"?o:"both",initialPromotionConfig:r,layoutScroll:f,layoutRoot:h})}function wE(t){if(t)return t.options.allowProjection!==!1?t.projection:wE(t.parent)}function p7({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:s}){var o,l;t&&n7(t);function c(h,p){let g;const v={...S.useContext(Xd),...h,layoutId:m7(h)},{isStatic:x}=v,k=l7(h),b=r(h,x);if(!x&&Zv){g7();const _=y7(v);g=_.MeasureLayout,k.visualElement=f7(s,b,v,e,_.ProjectionNode)}return u.jsxs(im.Provider,{value:k,children:[g&&k.visualElement?u.jsx(g,{visualElement:k.visualElement,...v}):null,n(s,h,u7(b,k.visualElement,p),b,x,k.visualElement)]})}c.displayName=`motion.${typeof s=="string"?s:`create(${(l=(o=s.displayName)!==null&&o!==void 0?o:s.name)!==null&&l!==void 0?l:""})`}`;const f=S.forwardRef(c);return f[c7]=s,f}function m7({layoutId:t}){const e=S.useContext(Qv).id;return e&&t!==void 0?e+"-"+t:t}function g7(t,e){S.useContext(mE).strict}function y7(t){const{drag:e,layout:n}=Sc;if(!e&&!n)return{};const r={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const v7=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ix(t){return typeof t!="string"||t.includes("-")?!1:!!(v7.indexOf(t)>-1||/[A-Z]/u.test(t))}function pS(t){const e=[{},{}];return t==null||t.values.forEach((n,r)=>{e[0][r]=n.get(),e[1][r]=n.getVelocity()}),e}function ox(t,e,n,r){if(typeof e=="function"){const[s,o]=pS(r);e=e(n!==void 0?n:t.custom,s,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[s,o]=pS(r);e=e(n!==void 0?n:t.custom,s,o)}return e}const R0=t=>Array.isArray(t),x7=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),w7=t=>R0(t)?t[t.length-1]||0:t,Rn=t=>!!(t&&t.getVelocity);function tp(t){const e=Rn(t)?t.get():t;return x7(e)?e.toValue():e}function b7({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:n},r,s,o){const l={latestValues:_7(r,s,o,t),renderState:e()};return n&&(l.onMount=c=>n({props:r,current:c,...l}),l.onUpdate=c=>n(c)),l}const bE=t=>(e,n)=>{const r=S.useContext(im),s=S.useContext(sm),o=()=>b7(t,e,r,s);return n?o():Fc(o)};function _7(t,e,n,r){const s={},o=r(t,{});for(const v in o)s[v]=tp(o[v]);let{initial:l,animate:c}=t;const f=am(t),h=yE(t);e&&h&&!f&&t.inherit!==!1&&(l===void 0&&(l=e.initial),c===void 0&&(c=e.animate));let p=n?n.initial===!1:!1;p=p||l===!1;const g=p?c:l;if(g&&typeof g!="boolean"&&!om(g)){const v=Array.isArray(g)?g:[g];for(let x=0;x<v.length;x++){const k=ox(t,v[x]);if(k){const{transitionEnd:b,transition:_,...C}=k;for(const j in C){let T=C[j];if(Array.isArray(T)){const N=p?T.length-1:0;T=T[N]}T!==null&&(s[j]=T)}for(const j in b)s[j]=b[j]}}}return s}const Bc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ol=new Set(Bc),_E=t=>e=>typeof e=="string"&&e.startsWith(t),SE=_E("--"),S7=_E("var(--"),ax=t=>S7(t)?C7.test(t.split("/*")[0].trim()):!1,C7=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,CE=(t,e)=>e&&typeof t=="number"?e.transform(t):t,di=(t,e,n)=>n>e?e:n<t?t:n,Uc={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Sd={...Uc,transform:t=>di(0,1,t)},wh={...Uc,default:1},Zd=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),ho=Zd("deg"),ai=Zd("%"),Le=Zd("px"),k7=Zd("vh"),T7=Zd("vw"),mS={...ai,parse:t=>ai.parse(t)/100,transform:t=>ai.transform(t*100)},E7={borderWidth:Le,borderTopWidth:Le,borderRightWidth:Le,borderBottomWidth:Le,borderLeftWidth:Le,borderRadius:Le,radius:Le,borderTopLeftRadius:Le,borderTopRightRadius:Le,borderBottomRightRadius:Le,borderBottomLeftRadius:Le,width:Le,maxWidth:Le,height:Le,maxHeight:Le,top:Le,right:Le,bottom:Le,left:Le,padding:Le,paddingTop:Le,paddingRight:Le,paddingBottom:Le,paddingLeft:Le,margin:Le,marginTop:Le,marginRight:Le,marginBottom:Le,marginLeft:Le,backgroundPositionX:Le,backgroundPositionY:Le},j7={rotate:ho,rotateX:ho,rotateY:ho,rotateZ:ho,scale:wh,scaleX:wh,scaleY:wh,scaleZ:wh,skew:ho,skewX:ho,skewY:ho,distance:Le,translateX:Le,translateY:Le,translateZ:Le,x:Le,y:Le,z:Le,perspective:Le,transformPerspective:Le,opacity:Sd,originX:mS,originY:mS,originZ:Le},gS={...Uc,transform:Math.round},lx={...E7,...j7,zIndex:gS,size:Le,fillOpacity:Sd,strokeOpacity:Sd,numOctaves:gS},N7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},P7=Bc.length;function R7(t,e,n){let r="",s=!0;for(let o=0;o<P7;o++){const l=Bc[o],c=t[l];if(c===void 0)continue;let f=!0;if(typeof c=="number"?f=c===(l.startsWith("scale")?1:0):f=parseFloat(c)===0,!f||n){const h=CE(c,lx[l]);if(!f){s=!1;const p=N7[l]||l;r+=`${p}(${h}
408) `}n&&(e[l]=h)}}return r=r.trim(),n?r=n(e,s?"":r):s&&(r="none"),r}function cx(t,e,n){const{style:r,vars:s,transformOrigin:o}=t;let l=!1,c=!1;for(const f in e){const h=e[f];if(ol.has(f)){l=!0;continue}else if(SE(f)){s[f]=h;continue}else{const p=CE(h,lx[f]);f.startsWith("origin")?(c=!0,o[f]=p):r[f]=p}}if(e.transform||(l||n?r.transform=R7(e,t.transform,n):r.transform&&(r.transform="none")),c){const{originX:f="50%",originY:h="50%",originZ:p=0}=o;r.transformOrigin=`${f} ${h} ${p}`}}const A7={offset:"stroke-dashoffset",array:"stroke-dasharray"},O7={offset:"strokeDashoffset",array:"strokeDasharray"};function M7(t,e,n=1,r=0,s=!0){t.pathLength=1;const o=s?A7:O7;t[o.offset]=Le.transform(-r);const l=Le.transform(e),c=Le.transform(n);t[o.array]=`${l} ${c}`}function yS(t,e,n){return typeof t=="string"?t:Le.transform(e+n*t)}function L7(t,e,n){const r=yS(e,t.x,t.width),s=yS(n,t.y,t.height);return`${r} ${s}`}function ux(t,{attrX:e,attrY:n,attrScale:r,originX:s,originY:o,pathLength:l,pathSpacing:c=1,pathOffset:f=0,...h},p,g){if(cx(t,h,g),p){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:v,style:x,dimensions:k}=t;v.transform&&(k&&(x.transform=v.transform),delete v.transform),k&&(s!==void 0||o!==void 0||x.transform)&&(x.transformOrigin=L7(k,s!==void 0?s:.5,o!==void 0?o:.5)),e!==void 0&&(v.x=e),n!==void 0&&(v.y=n),r!==void 0&&(v.scale=r),l!==void 0&&M7(v,l,c,f,!1)}const dx=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),kE=()=>({...dx(),attrs:{}}),fx=t=>typeof t=="string"&&t.toLowerCase()==="svg";function TE(t,{style:e,vars:n},r,s){Object.assign(t.style,e,s&&s.getProjectionStyles(r));for(const o in n)t.style.setProperty(o,n[o])}const EE=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function jE(t,e,n,r){TE(t,e,void 0,r);for(const s in e.attrs)t.setAttribute(EE.has(s)?s:rx(s),e.attrs[s])}const Ep={};function D7(t){Object.assign(Ep,t)}function NE(t,{layout:e,layoutId:n}){return ol.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Ep[t]||t==="opacity")}function hx(t,e,n){var r;const{style:s}=t,o={};for(const l in s)(Rn(s[l])||e.style&&Rn(e.style[l])||NE(l,t)||((r=n==null?void 0:n.getValue(l))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[l]=s[l]);return o}function PE(t,e,n){const r=hx(t,e,n);for(const s in t)if(Rn(t[s])||Rn(e[s])){const o=Bc.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[o]=t[s]}return r}function I7(t,e){try{e.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{e.dimensions={x:0,y:0,width:0,height:0}}}const vS=["x","y","width","height","cx","cy","r"],F7={useVisualState:bE({scrapeMotionValuesFromProps:PE,createRenderState:kE,onUpdate:({props:t,prevProps:e,current:n,renderState:r,latestValues:s})=>{if(!n)return;let o=!!t.drag;if(!o){for(const c in s)if(ol.has(c)){o=!0;break}}if(!o)return;let l=!e;if(e)for(let c=0;c<vS.length;c++){const f=vS[c];t[f]!==e[f]&&(l=!0)}l&&ut.read(()=>{I7(n,r),ut.render(()=>{ux(r,s,fx(n.tagName),t.transformTemplate),jE(n,r)})})}})},B7={useVisualState:bE({scrapeMotionValuesFromProps:hx,createRenderState:dx})};function RE(t,e,n){for(const r in e)!Rn(e[r])&&!NE(r,n)&&(t[r]=e[r])}function U7({transformTemplate:t},e){return S.useMemo(()=>{const n=dx();return cx(n,e,t),Object.assign({},n.vars,n.style)},[e])}function z7(t,e){const n=t.style||{},r={};return RE(r,n,t),Object.assign(r,U7(t,e)),r}function V7(t,e){const n={},r=z7(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=r,n}function $7(t,e,n,r){const s=S.useMemo(()=>{const o=kE();return ux(o,e,fx(r),t.transformTemplate),{...o.attrs,style:{...o.style}}},[e]);if(t.style){const o={};RE(o,t.style,t),s.style={...o,...s.style}}return s}function W7(t=!1){return(n,r,s,{latestValues:o},l)=>{const f=(ix(n)?$7:V7)(r,o,l,n),h=i7(r,typeof n=="string",t),p=n!==S.Fragment?{...h,...f,ref:s}:{},{children:g}=r,v=S.useMemo(()=>Rn(g)?g.get():g,[g]);return S.createElement(n,{...p,children:v})}}function H7(t,e){return function(r,{forwardMotionProps:s}={forwardMotionProps:!1}){const l={...ix(r)?F7:B7,preloadedFeatures:t,useRender:W7(s),createVisualElement:e,Component:r};return p7(l)}}function AE(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function lm(t,e,n){const r=t.getProps();return ox(r,e,n!==void 0?n:r.custom,t)}const OE=ex(()=>window.ScrollTimeline!==void 0);class q7{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,n){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=n}attachTimeline(e,n){const r=this.animations.map(s=>{if(OE()&&s.attachTimeline)return s.attachTimeline(e);if(typeof n=="function")return n(s)});return()=>{r.forEach((s,o)=>{s&&s(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let n=0;n<this.animations.length;n++)e=Math.max(e,this.animations[n].duration);return e}runAll(e){this.animations.forEach(n=>n[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class G7 extends q7{then(e,n){return Promise.all(this.animations).then(e).catch(n)}}function px(t,e){return t?t[e]||t.default||t:void 0}const A0=2e4;function ME(t){let e=0;const n=50;let r=t.next(e);for(;!r.done&&e<A0;)e+=n,r=t.next(e);return e>=A0?1/0:e}function mx(t){return typeof t=="function"}function xS(t,e){t.timeline=e,t.onfinish=null}const gx=t=>Array.isArray(t)&&typeof t[0]=="number",Y7={linearEasing:void 0};function K7(t,e){const n=ex(t);return()=>{var r;return(r=Y7[e])!==null&&r!==void 0?r:n()}}const jp=K7(()=>{try{document.createElement("div").animate({opacity:0}
vendor: 12,281 bytes, line 408
408,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),LE=(t,e,n=10)=>{let r="";const s=Math.max(Math.round(e/n),2);for(let o=0;o<s;o++)r+=t(Ka(0,s-1,o))+", ";return`linear(${r.substring(0,r.length-2)})`};function DE(t){return!!(typeof t=="function"&&jp()||!t||typeof t=="string"&&(t in O0||jp())||gx(t)||Array.isArray(t)&&t.every(DE))}const Fu=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,O0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Fu([0,.65,.55,1]),circOut:Fu([.55,0,1,.45]),backIn:Fu([.31,.01,.66,-.59]),backOut:Fu([.33,1.53,.69,.99])};function IE(t,e){if(t)return typeof t=="function"&&jp()?LE(t,e):gx(t)?Fu(t):Array.isArray(t)?t.map(n=>IE(n,e)||O0.easeOut):O0[t]}const Ms={x:!1,y:!1};function FE(){return Ms.x||Ms.y}function BE(t,e,n){var r;if(t instanceof Element)return[t];if(typeof t=="string"){let s=document;const o=(r=void 0)!==null&&r!==void 0?r:s.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t)}function UE(t,e){const n=BE(t),r=new AbortController,s={passive:!0,...e,signal:r.signal};return[n,s,()=>r.abort()]}function wS(t){return e=>{e.pointerType==="touch"||FE()||t(e)}}function J7(t,e,n={}){const[r,s,o]=UE(t,n),l=wS(c=>{const{target:f}=c,h=e(c);if(typeof h!="function"||!f)return;const p=wS(g=>{h(g),f.removeEventListener("pointerleave",p)});f.addEventListener("pointerleave",p,s)});return r.forEach(c=>{c.addEventListener("pointerenter",l,s)}),o}const zE=(t,e)=>e?t===e?!0:zE(t,e.parentElement):!1,yx=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,X7=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Q7(t){return X7.has(t.tagName)||t.tabIndex!==-1}const Bu=new WeakSet;function bS(t){return e=>{e.key==="Enter"&&t(e)}}function yy(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Z7=(t,e)=>{const n=t.currentTarget;if(!n)return;const r=bS(()=>{if(Bu.has(n))return;yy(n,"down");const s=bS(()=>{yy(n,"up")}),o=()=>yy(n,"cancel");n.addEventListener("keyup",s,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",r,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),e)};function _S(t){return yx(t)&&!FE()}function eF(t,e,n={}){const[r,s,o]=UE(t,n),l=c=>{const f=c.currentTarget;if(!_S(c)||Bu.has(f))return;Bu.add(f);const h=e(c),p=(x,k)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",v),!(!_S(x)||!Bu.has(f))&&(Bu.delete(f),typeof h=="function"&&h(x,{success:k}))},g=x=>{p(x,n.useGlobalTarget||zE(f,x.target))},v=x=>{p(x,!1)};window.addEventListener("pointerup",g,s),window.addEventListener("pointercancel",v,s)};return r.forEach(c=>{!Q7(c)&&c.getAttribute("tabindex")===null&&(c.tabIndex=0),(n.useGlobalTarget?window:c).addEventListener("pointerdown",l,s),c.addEventListener("focus",h=>Z7(h,s),s)}),o}function tF(t){return t==="x"||t==="y"?Ms[t]?null:(Ms[t]=!0,()=>{Ms[t]=!1}):Ms.x||Ms.y?null:(Ms.x=Ms.y=!0,()=>{Ms.x=Ms.y=!1})}const VE=new Set(["width","height","top","left","right","bottom",...Bc]);let np;function nF(){np=void 0}const li={now:()=>(np===void 0&&li.set(yn.isProcessing||Z6.useManualTiming?yn.timestamp:performance.now()),np),set:t=>{np=t,queueMicrotask(nF)}};function vx(t,e){t.indexOf(e)===-1&&t.push(e)}function xx(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class wx{constructor(){this.subscriptions=[]}add(e){return vx(this.subscriptions,e),()=>xx(this.subscriptions,e)}notify(e,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](e,n,r);else for(let o=0;o<s;o++){const l=this.subscriptions[o];l&&l(e,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function bx(t,e){return e?t*(1e3/e):0}const SS=30,rF=t=>!isNaN(parseFloat(t)),Xu={current:void 0};class sF{constructor(e,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,s=!0)=>{const o=li.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),s&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=li.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=rF(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new wx);const r=this.events[e].add(n);return e==="change"?()=>{r(),ut.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Xu.current&&Xu.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=li.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>SS)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,SS);return bx(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ri(t,e){return new sF(t,e)}function iF(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,ri(n))}function oF(t,e){const n=lm(t,e);let{transitionEnd:r={},transition:s={},...o}=n||{};o={...o,...r};for(const l in o){const c=w7(o[l]);iF(t,l,c)}}function aF(t){return!!(Rn(t)&&t.add)}function M0(t,e){const n=t.getValue("willChange");if(aF(n))return n.add(e)}function $E(t){return t.props[vE]}const WE=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,lF=1e-7,cF=12;function uF(t,e,n,r,s){let o,l,c=0;do l=e+(n-e)/2,o=WE(l,r,s)-t,o>0?n=l:e=l;while(Math.abs(o)>lF&&++c<cF);return l}function ef(t,e,n,r){if(t===e&&n===r)return mr;const s=o=>uF(o,0,1,t,n);return o=>o===0||o===1?o:WE(s(o),e,r)}const HE=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,qE=t=>e=>1-t(1-e),GE=ef(.33,1.53,.69,.99),_x=qE(GE),YE=HE(_x),KE=t=>(t*=2)<1?.5*_x(t):.5*(2-Math.pow(2,-10*(t-1))),Sx=t=>1-Math.sin(Math.acos(t)),JE=qE(Sx),XE=HE(Sx),QE=t=>/^0[^.\s]+$/u.test(t);function dF(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||QE(t):!0}const Qu=t=>Math.round(t*1e5)/1e5,Cx=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function fF(t){return t==null}const hF=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,kx=(t,e)=>n=>!!(typeof n=="string"&&hF.test(n)&&n.startsWith(t)||e&&!fF(n)&&Object.prototype.hasOwnProperty.call(n,e)),ZE=(t,e,n)=>r=>{if(typeof r!="string")return r;const[s,o,l,c]=r.match(Cx);return{[t]:parseFloat(s),[e]:parseFloat(o),[n]:parseFloat(l),alpha:c!==void 0?parseFloat(c):1}},pF=t=>di(0,255,t),vy={...Uc,transform:t=>Math.round(pF(t))},Ca={test:kx("rgb","red"),parse:ZE("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+vy.transform(t)+", "+vy.transform(e)+", "+vy.transform(n)+", "+Qu(Sd.transform(r))+")"};function mF(t){let e="",n="",r="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,r+=r,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const L0={test:kx("#"),parse:mF,transform:Ca.transform},ql={test:kx("hsl","hue"),parse:ZE("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+ai.transform(Qu(e))+", "+ai.transform(Qu(n))+", "+Qu(Sd.transform(r))+")"},Xn={test:t=>Ca.test(t)||L0.test(t)||ql.test(t),parse:t=>Ca.test(t)?Ca.parse(t):ql.test(t)?ql.parse(t):L0.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Ca.transform(t):ql.transform(t)},gF=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function yF(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(Cx))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(gF))===null||n===void 0?void 0:n.length)||0)>0}const ej="number",tj="color",vF="var",xF="var(",CS="${}",wF=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Cd(t){const e=t.toString(),n=[],r={color:[],number:[],var:[]},s=[];let o=0;const c=e.replace(wF,f=>(Xn.test(f)?(r.color.push(o),s.push(tj),n.push(Xn.parse(f))):f.startsWith(xF)?(r.var.push(o),s.push(vF),n.push(f)):(r.number.push(o),s.push(ej),n.push(parseFloat(f))),++o,CS)).split(CS);return{values:n,split:c,indexes:r,types:s}}function nj(t){return Cd(t).values}function rj(t){const{split:e,types:n}=Cd(t),r=e.length;return s=>{let o="";for(let l=0;l<r;l++)if(o+=e[l],s[l]!==void 0){const c=n[l];c===ej?o+=Qu(s[l]):c===tj?o+=Xn.transform(s[l]):o+=s[l]}return o}}const bF=t=>typeof t=="number"?0:t;function _F(t){const e=nj(t);return rj(t)(e.map(bF))}const Uo={test:yF,parse:nj,createTransformer:rj,getAnimatableNone:_F},SF=new Set(["brightness","contrast","saturate","opacity"]);function CF(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[r]=n.match(Cx)||[];if(!r)return t;const s=n.replace(r,"");let o=SF.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+s+")"}const kF=/\b([a-z-]*)\(.*?\)/gu,D0={...Uo,getAnimatableNone:t=>{const e=t.match(kF);return e?e.map(CF).join(" "):t}},TF={...lx,color:Xn,backgroundColor:Xn,outlineColor:Xn,fill:Xn,stroke:Xn,borderColor:Xn,borderTopColor:Xn,borderRightColor:Xn,borderBottomColor:Xn,borderLeftColor:Xn,filter:D0,WebkitFilter:D0},Tx=t=>TF[t];function sj(t,e){let n=Tx(t);return n!==D0&&(n=Uo),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const EF=new Set(["auto","none","0"]);function jF(t,e,n){let r=0,s;for(;r<t.length&&!s;){const o=t[r];typeof o=="string"&&!EF.has(o)&&Cd(o).values.length&&(s=t[r]),r++}if(s&&n)for(const o of e)t[o]=sj(n,s)}const kS=t=>t===Uc||t===Le,TS=(t,e)=>parseFloat(t.split(", ")[e]),ES=(t,e)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const s=r.match(/^matrix3d\((.+)\)$/u);if(s)return TS(s[1],e);{const o=r.match(/^matrix\((.+)\)$/u);return o?TS(o[1],t):0}},NF=new Set(["x","y","z"]),PF=Bc.filter(t=>!NF.has(t));function RF(t){const e=[];return PF.forEach(n=>{const r=t.getValue(n);r!==void 0&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e}const Cc={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:ES(4,13),y:ES(5,14)};Cc.translateX=Cc.x;Cc.translateY=Cc.y;const Ia=new Set;let I0=!1,F0=!1;function ij(){if(F0){const t=Array.from(Ia).filter(r=>r.needsMeasurement),e=new Set(t.map(r=>r.element)),n=new Map;e.forEach(r=>{const s=RF(r);s.length&&(n.set(r,s),r.render())}),t.forEach(r=>r.measureInitialState()),e.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([o,l])=>{var c;(c=r.getValue(o))===null||c===void 0||c.set(l)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}F0=!1,I0=!1,Ia.forEach(t=>t.complete()),Ia.clear()}
vendor: 14,905 bytes, line 408
408function oj(){Ia.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(F0=!0)})}function AF(){oj(),ij()}class Ex{constructor(e,n,r,s,o,l=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=r,this.motionValue=s,this.element=o,this.isAsync=l}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ia.add(this),I0||(I0=!0,ut.read(oj),ut.resolveKeyframes(ij))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:r,motionValue:s}=this;for(let o=0;o<e.length;o++)if(e[o]===null)if(o===0){const l=s==null?void 0:s.get(),c=e[e.length-1];if(l!==void 0)e[0]=l;else if(r&&n){const f=r.readValue(n,c);f!=null&&(e[0]=f)}e[0]===void 0&&(e[0]=c),s&&l===void 0&&s.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Ia.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ia.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const aj=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),OF=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function MF(t){const e=OF.exec(t);if(!e)return[,];const[,n,r,s]=e;return[`--${n??r}`,s]}function lj(t,e,n=1){const[r,s]=MF(t);if(!r)return;const o=window.getComputedStyle(e).getPropertyValue(r);if(o){const l=o.trim();return aj(l)?parseFloat(l):l}return ax(s)?lj(s,e,n+1):s}const cj=t=>e=>e.test(t),LF={test:t=>t==="auto",parse:t=>t},uj=[Uc,Le,ai,ho,T7,k7,LF],jS=t=>uj.find(cj(t));class dj extends Ex{constructor(e,n,r,s,o){super(e,n,r,s,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let f=0;f<e.length;f++){let h=e[f];if(typeof h=="string"&&(h=h.trim(),ax(h))){const p=lj(h,n.current);p!==void 0&&(e[f]=p),f===e.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!VE.has(r)||e.length!==2)return;const[s,o]=e,l=jS(s),c=jS(o);if(l!==c)if(kS(l)&&kS(c))for(let f=0;f<e.length;f++){const h=e[f];typeof h=="string"&&(e[f]=parseFloat(h))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,r=[];for(let s=0;s<e.length;s++)dF(e[s])&&r.push(s);r.length&&jF(e,r,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:r}=this;if(!e||!e.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Cc[r](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&e.getValue(r,s).jump(s,!1)}measureEndState(){var e;const{element:n,name:r,unresolvedKeyframes:s}=this;if(!n||!n.current)return;const o=n.getValue(r);o&&o.jump(this.measuredOrigin,!1);const l=s.length-1,c=s[l];s[l]=Cc[r](n.measureViewportBox(),window.getComputedStyle(n.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([f,h])=>{n.getValue(f).set(h)}),this.resolveNoneKeyframes()}}const NS=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Uo.test(t)||t==="0")&&!t.startsWith("url("));function DF(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function IF(t,e,n,r){const s=t[0];if(s===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],l=NS(s,e),c=NS(o,e);return!l||!c?!1:DF(t)||(n==="spring"||mx(n))&&r}const FF=t=>t!==null;function cm(t,{repeat:e,repeatType:n="loop"},r){const s=t.filter(FF),o=e&&n!=="loop"&&e%2===1?0:s.length-1;return!o||r===void 0?s[o]:r}const BF=40;class fj{constructor({autoplay:e=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:l="loop",...c}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=li.now(),this.options={autoplay:e,delay:n,type:r,repeat:s,repeatDelay:o,repeatType:l,...c},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>BF?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&AF(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=li.now(),this.hasAttemptedResolve=!0;const{name:r,type:s,velocity:o,delay:l,onComplete:c,onUpdate:f,isGenerator:h}=this.options;if(!h&&!IF(e,r,s,o))if(l)this.options.duration=0;else{f&&f(cm(e,this.options,n)),c&&c(),this.resolveFinishedPromise();return}const p=this.initPlayback(e,n);p!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...p},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const Bt=(t,e,n)=>t+(e-t)*n;function xy(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function UF({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,e/=100,n/=100;let s=0,o=0,l=0;if(!e)s=o=l=n;else{const c=n<.5?n*(1+e):n+e-n*e,f=2*n-c;s=xy(f,c,t+1/3),o=xy(f,c,t),l=xy(f,c,t-1/3)}return{red:Math.round(s*255),green:Math.round(o*255),blue:Math.round(l*255),alpha:r}}function Np(t,e){return n=>n>0?e:t}const wy=(t,e,n)=>{const r=t*t,s=n*(e*e-r)+r;return s<0?0:Math.sqrt(s)},zF=[L0,Ca,ql],VF=t=>zF.find(e=>e.test(t));function PS(t){const e=VF(t);if(!e)return!1;let n=e.parse(t);return e===ql&&(n=UF(n)),n}const RS=(t,e)=>{const n=PS(t),r=PS(e);if(!n||!r)return Np(t,e);const s={...n};return o=>(s.red=wy(n.red,r.red,o),s.green=wy(n.green,r.green,o),s.blue=wy(n.blue,r.blue,o),s.alpha=Bt(n.alpha,r.alpha,o),Ca.transform(s))},$F=(t,e)=>n=>e(t(n)),tf=(...t)=>t.reduce($F),B0=new Set(["none","hidden"]);function WF(t,e){return B0.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function HF(t,e){return n=>Bt(t,e,n)}function jx(t){return typeof t=="number"?HF:typeof t=="string"?ax(t)?Np:Xn.test(t)?RS:YF:Array.isArray(t)?hj:typeof t=="object"?Xn.test(t)?RS:qF:Np}function hj(t,e){const n=[...t],r=n.length,s=t.map((o,l)=>jx(o)(o,e[l]));return o=>{for(let l=0;l<r;l++)n[l]=s[l](o);return n}}function qF(t,e){const n={...t,...e},r={};for(const s in n)t[s]!==void 0&&e[s]!==void 0&&(r[s]=jx(t[s])(t[s],e[s]));return s=>{for(const o in r)n[o]=r[o](s);return n}}function GF(t,e){var n;const r=[],s={color:0,var:0,number:0};for(let o=0;o<e.values.length;o++){const l=e.types[o],c=t.indexes[l][s[l]],f=(n=t.values[c])!==null&&n!==void 0?n:0;r[o]=f,s[l]++}return r}const YF=(t,e)=>{const n=Uo.createTransformer(e),r=Cd(t),s=Cd(e);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?B0.has(t)&&!s.values.length||B0.has(e)&&!r.values.length?WF(t,e):tf(hj(GF(r,s),s.values),n):Np(t,e)};function pj(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?Bt(t,e,n):jx(t)(t,e)}const KF=5;function mj(t,e,n){const r=Math.max(e-KF,0);return bx(n-t(r),e-r)}const $t={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},by=.001;function JF({duration:t=$t.duration,bounce:e=$t.bounce,velocity:n=$t.velocity,mass:r=$t.mass}){let s,o,l=1-e;l=di($t.minDamping,$t.maxDamping,l),t=di($t.minDuration,$t.maxDuration,Di(t)),l<1?(s=h=>{const p=h*l,g=p*t,v=p-n,x=U0(h,l),k=Math.exp(-g);return by-v/x*k},o=h=>{const g=h*l*t,v=g*n+n,x=Math.pow(l,2)*Math.pow(h,2)*t,k=Math.exp(-g),b=U0(Math.pow(h,2),l);return(-s(h)+by>0?-1:1)*((v-x)*k)/b}):(s=h=>{const p=Math.exp(-h*t),g=(h-n)*t+1;return-by+p*g},o=h=>{const p=Math.exp(-h*t),g=(n-h)*(t*t);return p*g});const c=5/t,f=QF(s,o,c);if(t=Li(t),isNaN(f))return{stiffness:$t.stiffness,damping:$t.damping,duration:t};{const h=Math.pow(f,2)*r;return{stiffness:h,damping:l*2*Math.sqrt(r*h),duration:t}}}const XF=12;function QF(t,e,n){let r=n;for(let s=1;s<XF;s++)r=r-t(r)/e(r);return r}function U0(t,e){return t*Math.sqrt(1-e*e)}const ZF=["duration","bounce"],e8=["stiffness","damping","mass"];function AS(t,e){return e.some(n=>t[n]!==void 0)}function t8(t){let e={velocity:$t.velocity,stiffness:$t.stiffness,damping:$t.damping,mass:$t.mass,isResolvedFromDuration:!1,...t};if(!AS(t,e8)&&AS(t,ZF))if(t.visualDuration){const n=t.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,o=2*di(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:$t.mass,stiffness:s,damping:o}}else{const n=JF(t);e={...e,...n,mass:$t.mass},e.isResolvedFromDuration=!0}return e}function gj(t=$t.visualDuration,e=$t.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:r,restDelta:s}=n;const o=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],c={done:!1,value:o},{stiffness:f,damping:h,mass:p,duration:g,velocity:v,isResolvedFromDuration:x}=t8({...n,velocity:-Di(n.velocity||0)}),k=v||0,b=h/(2*Math.sqrt(f*p)),_=l-o,C=Di(Math.sqrt(f/p)),j=Math.abs(_)<5;r||(r=j?$t.restSpeed.granular:$t.restSpeed.default),s||(s=j?$t.restDelta.granular:$t.restDelta.default);let T;if(b<1){const P=U0(C,b);T=D=>{const M=Math.exp(-b*C*D);return l-M*((k+b*C*_)/P*Math.sin(P*D)+_*Math.cos(P*D))}}else if(b===1)T=P=>l-Math.exp(-C*P)*(_+(k+C*_)*P);else{const P=C*Math.sqrt(b*b-1);T=D=>{const M=Math.exp(-b*C*D),O=Math.min(P*D,300);return l-M*((k+b*C*_)*Math.sinh(O)+P*_*Math.cosh(O))/P}}const N={calculatedDuration:x&&g||null,next:P=>{const D=T(P);if(x)c.done=P>=g;else{let M=0;b<1&&(M=P===0?Li(k):mj(T,P,D));const O=Math.abs(M)<=r,z=Math.abs(l-D)<=s;c.done=O&&z}return c.value=c.done?l:D,c},toString:()=>{const P=Math.min(ME(N),A0),D=LE(M=>N.next(P*M).value,P,30);return P+"ms "+D}};return N}function OS({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:l,min:c,max:f,restDelta:h=.5,restSpeed:p}){const g=t[0],v={done:!1,value:g},x=O=>c!==void 0&&O<c||f!==void 0&&O>f,k=O=>c===void 0?f:f===void 0||Math.abs(c-O)<Math.abs(f-O)?c:f;let b=n*e;const _=g+b,C=l===void 0?_:l(_);C!==_&&(b=C-g);const j=O=>-b*Math.exp(-O/r),T=O=>C+j(O),N=O=>{const z=j(O),V=T(O);v.done=Math.abs(z)<=h,v.value=v.done?C:V};let P,D;const M=O=>{x(v.value)&&(P=O,D=gj({keyframes:[v.value,k(v.value)],velocity:mj(T,O,v.value),damping:s,stiffness:o,restDelta:h,restSpeed:p}))};return M(0),{calculatedDuration:null,next:O=>{let z=!1;return!D&&P===void 0&&(z=!0,N(O),M(O)),P!==void 0&&O>=P?D.next(O-P):(!z&&N(O),v)}}}const n8=ef(.42,0,1,1),r8=ef(0,0,.58,1),yj=ef(.42,0,.58,1),s8=t=>Array.isArray(t)&&typeof t[0]!="number",i8={linear:mr,easeIn:n8,easeInOut:yj,easeOut:r8,circIn:Sx,circInOut:XE,circOut:JE,backIn:_x,backInOut:YE,backOut:GE,anticipate:KE},MS=t=>{if(gx(t)){hE(t.length===4);const[e,n,r,s]=t;return ef(e,n,r,s)}else if(typeof t=="string")return i8[t];return t};function o8(t,e,n){const r=[],s=n||pj,o=t.length-1;for(let l=0;l<o;l++){let c=s(t[l],t[l+1]);if(e){const f=Array.isArray(e)?e[l]||mr:e;c=tf(f,c)}r.push(c)}return r}function Nx(t,e,{clamp:n=!0,ease:r,mixer:s}={}){const o=t.length;if(hE(o===e.length),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];const l=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const c=o8(e,r,s),f=c.length,h=p=>{if(l&&p<t[0])return e[0];let g=0;if(f>1)for(;g<t.length-2&&!(p<t[g+1]);g++);const v=Ka(t[g],t[g+1],p);return c[g](v)};return n?p=>h(di(t[0],t[o-1],p)):h}function a8(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const s=Ka(0,e,r);t.push(Bt(n,1,s))}}function vj(t){const e=[0];return a8(e,t.length-1),e}function l8(t,e){return t.map(n=>n*e)}function c8(t,e){return t.map(()=>e||yj).splice(0,t.length-1)}function Pp({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const s=s8(r)?r.map(MS):MS(r),o={done:!1,value:e[0]},l=l8(n&&n.length===e.length?n:vj(e),t),c=Nx(l,e,{ease:Array.isArray(s)?s:c8(e,s)});return{calculatedDuration:t,next:f=>(o.value=c(f),o.done=f>=t,o)}}const u8=t=>{const e=({timestamp:n})=>t(n);return{start:()=>ut.update(e,!0),stop:()=>Fs(e),now:()=>yn.isProcessing?yn.timestamp:li.now()}},d8={decay:OS,inertia:OS,tween:Pp,keyframes:Pp,spring:gj},f8=t=>t/100;class um extends fj{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:f}=this.options;f&&f()};const{name:n,motionValue:r,element:s,keyframes:o}=this.options,l=(s==null?void 0:s.KeyframeResolver)||Ex,c=(f,h)=>this.onKeyframesResolved(f,h);this.resolver=new l(o,c,n,r,s),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:n="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:l=0}=this.options,c=mx(n)?n:d8[n]||Pp;let f,h;c!==Pp&&typeof e[0]!="number"&&(f=tf(f8,pj(e[0],e[1])),e=[0,100]);const p=c({...this.options,keyframes:e});o==="mirror"&&(h=c({...this.options,keyframes:[...e].reverse(),velocity:-l})),p.calculatedDuration===null&&(p.calculatedDuration=ME(p));const{calculatedDuration:g}=p,v=g+s,x=v*(r+1)-s;return{generator:p,mirroredGenerator:h,mapPercentToKeyframes:f,calculatedDuration:g,resolvedDuration:v,totalDuration:x}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:r}=this;if(!r){const{keyframes:O}=this.options;return{done:!0,value:O[O.length-1]}}const{finalKeyframe:s,generator:o,mirroredGenerator:l,mapPercentToKeyframes:c,keyframes:f,calculatedDuration:h,totalDuration:p,resolvedDuration:g}=r;if(this.startTime===null)return o.next(0);const{delay:v,repeat:x,repeatType:k,repeatDelay:b,onUpdate:_}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-p/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const C=this.currentTime-v*(this.speed>=0?1:-1),j=this.speed>=0?C<0:C>p;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=p);let T=this.currentTime,N=o;if(x){const O=Math.min(this.currentTime,p)/g;let z=Math.floor(O),V=O%1;!V&&O>=1&&(V=1),V===1&&z--,z=Math.min(z,x+1),!!(z%2)&&(k==="reverse"?(V=1-V,b&&(V-=b/g)):k==="mirror"&&(N=l)),T=di(0,1,V)*g}const P=j?{done:!1,value:f[0]}:N.next(T);c&&(P.value=c(P.value));let{done:D}=P;!j&&h!==null&&(D=this.speed>=0?this.currentTime>=p:this.currentTime<=0);const M=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&D);return M&&s!==void 0&&(P.value=cm(f,this.options,s)),_&&_(P.value),M&&this.finish(),P}get duration(){const{resolved:e}=this;return e?Di(e.calculatedDuration):0}
vendor: 53,796 bytes, line 408
408get time(){return Di(this.currentTime)}set time(e){e=Li(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=Di(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=u8,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=e(o=>this.tick(o))),n&&n();const s=this.driver.now();this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=s):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}function h8(t){return new um(t)}const p8=new Set(["opacity","clipPath","filter","transform"]);function m8(t,e,n,{delay:r=0,duration:s=300,repeat:o=0,repeatType:l="loop",ease:c="easeInOut",times:f}={}){const h={[e]:n};f&&(h.offset=f);const p=IE(c,s);return Array.isArray(p)&&(h.easing=p),t.animate(h,{delay:r,duration:s,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:o+1,direction:l==="reverse"?"alternate":"normal"})}const g8=ex(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Rp=10,y8=2e4;function v8(t){return mx(t.type)||t.type==="spring"||!DE(t.ease)}function x8(t,e){const n=new um({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:t[0]};const s=[];let o=0;for(;!r.done&&o<y8;)r=n.sample(o),s.push(r.value),o+=Rp;return{times:void 0,keyframes:s,duration:o-Rp,ease:"linear"}}const xj={anticipate:KE,backInOut:YE,circInOut:XE};function w8(t){return t in xj}class LS extends fj{constructor(e){super(e);const{name:n,motionValue:r,element:s,keyframes:o}=this.options;this.resolver=new dj(o,(l,c)=>this.onKeyframesResolved(l,c),n,r,s),this.resolver.scheduleResolve()}initPlayback(e,n){let{duration:r=300,times:s,ease:o,type:l,motionValue:c,name:f,startTime:h}=this.options;if(!c.owner||!c.owner.current)return!1;if(typeof o=="string"&&jp()&&w8(o)&&(o=xj[o]),v8(this.options)){const{onComplete:g,onUpdate:v,motionValue:x,element:k,...b}=this.options,_=x8(e,b);e=_.keyframes,e.length===1&&(e[1]=e[0]),r=_.duration,s=_.times,o=_.ease,l="keyframes"}const p=m8(c.owner.current,f,e,{...this.options,duration:r,times:s,ease:o});return p.startTime=h??this.calcStartTime(),this.pendingTimeline?(xS(p,this.pendingTimeline),this.pendingTimeline=void 0):p.onfinish=()=>{const{onComplete:g}=this.options;c.set(cm(e,this.options,n)),g&&g(),this.cancel(),this.resolveFinishedPromise()},{animation:p,duration:r,times:s,type:l,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return Di(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return Di(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Li(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:n}=e;return n.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return mr;const{animation:r}=n;xS(r,e)}return mr}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:r,duration:s,type:o,ease:l,times:c}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:h,onUpdate:p,onComplete:g,element:v,...x}=this.options,k=new um({...x,keyframes:r,duration:s,type:o,ease:l,times:c,isGenerator:!0}),b=Li(this.time);h.setWithVelocity(k.sample(b-Rp).value,k.sample(b).value,Rp)}const{onStop:f}=this.options;f&&f(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:r,repeatDelay:s,repeatType:o,damping:l,type:c}=e;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:h}=n.owner.getProps();return g8()&&r&&p8.has(r)&&!f&&!h&&!s&&o!=="mirror"&&l!==0&&c!=="inertia"}}const b8={type:"spring",stiffness:500,damping:25,restSpeed:10},_8=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),S8={type:"keyframes",duration:.8},C8={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},k8=(t,{keyframes:e})=>e.length>2?S8:ol.has(t)?t.startsWith("scale")?_8(e[1]):b8:C8;function T8({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:o,repeatType:l,repeatDelay:c,from:f,elapsed:h,...p}){return!!Object.keys(p).length}const Px=(t,e,n,r={},s,o)=>l=>{const c=px(r,t)||{},f=c.delay||r.delay||0;let{elapsed:h=0}=r;h=h-Li(f);let p={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...c,delay:-h,onUpdate:v=>{e.set(v),c.onUpdate&&c.onUpdate(v)},onComplete:()=>{l(),c.onComplete&&c.onComplete()},name:t,motionValue:e,element:o?void 0:s};T8(c)||(p={...p,...k8(t,p)}),p.duration&&(p.duration=Li(p.duration)),p.repeatDelay&&(p.repeatDelay=Li(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let g=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(p.duration=0,p.delay===0&&(g=!0)),g&&!o&&e.get()!==void 0){const v=cm(p.keyframes,c);if(v!==void 0)return ut.update(()=>{p.onUpdate(v),p.onComplete()}),new G7([])}return!o&&LS.supports(p)?new LS(p):new um(p)};function E8({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,r}function wj(t,e,{delay:n=0,transitionOverride:r,type:s}={}){var o;let{transition:l=t.getDefaultTransition(),transitionEnd:c,...f}=e;r&&(l=r);const h=[],p=s&&t.animationState&&t.animationState.getState()[s];for(const g in f){const v=t.getValue(g,(o=t.latestValues[g])!==null&&o!==void 0?o:null),x=f[g];if(x===void 0||p&&E8(p,g))continue;const k={delay:n,...px(l||{},g)};let b=!1;if(window.MotionHandoffAnimation){const C=$E(t);if(C){const j=window.MotionHandoffAnimation(C,g,ut);j!==null&&(k.startTime=j,b=!0)}}M0(t,g),v.start(Px(g,v,x,t.shouldReduceMotion&&VE.has(g)?{type:!1}:k,t,b));const _=v.animation;_&&h.push(_)}return c&&Promise.all(h).then(()=>{ut.update(()=>{c&&oF(t,c)})}),h}function z0(t,e,n={}){var r;const s=lm(t,e,n.type==="exit"?(r=t.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(o=n.transitionOverride);const l=s?()=>Promise.all(wj(t,s,n)):()=>Promise.resolve(),c=t.variantChildren&&t.variantChildren.size?(h=0)=>{const{delayChildren:p=0,staggerChildren:g,staggerDirection:v}=o;return j8(t,e,p+h,g,v,n)}:()=>Promise.resolve(),{when:f}=o;if(f){const[h,p]=f==="beforeChildren"?[l,c]:[c,l];return h().then(()=>p())}else return Promise.all([l(),c(n.delay)])}function j8(t,e,n=0,r=0,s=1,o){const l=[],c=(t.variantChildren.size-1)*r,f=s===1?(h=0)=>h*r:(h=0)=>c-h*r;return Array.from(t.variantChildren).sort(N8).forEach((h,p)=>{h.notify("AnimationStart",e),l.push(z0(h,e,{...o,delay:n+f(p)}).then(()=>h.notify("AnimationComplete",e)))}),Promise.all(l)}function N8(t,e){return t.sortNodePosition(e)}function P8(t,e,n={}){t.notify("AnimationStart",e);let r;if(Array.isArray(e)){const s=e.map(o=>z0(t,o,n));r=Promise.all(s)}else if(typeof e=="string")r=z0(t,e,n);else{const s=typeof e=="function"?lm(t,e,n.custom):e;r=Promise.all(wj(t,s,n))}return r.then(()=>{t.notify("AnimationComplete",e)})}const R8=nx.length;function bj(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?bj(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<R8;n++){const r=nx[n],s=t.props[r];(_d(s)||s===!1)&&(e[r]=s)}return e}const A8=[...tx].reverse(),O8=tx.length;function M8(t){return e=>Promise.all(e.map(({animation:n,options:r})=>P8(t,n,r)))}function L8(t){let e=M8(t),n=DS(),r=!0;const s=f=>(h,p)=>{var g;const v=lm(t,p,f==="exit"?(g=t.presenceContext)===null||g===void 0?void 0:g.custom:void 0);if(v){const{transition:x,transitionEnd:k,...b}=v;h={...h,...b,...k}}return h};function o(f){e=f(t)}function l(f){const{props:h}=t,p=bj(t.parent)||{},g=[],v=new Set;let x={},k=1/0;for(let _=0;_<O8;_++){const C=A8[_],j=n[C],T=h[C]!==void 0?h[C]:p[C],N=_d(T),P=C===f?j.isActive:null;P===!1&&(k=_);let D=T===p[C]&&T!==h[C]&&N;if(D&&r&&t.manuallyAnimateOnMount&&(D=!1),j.protectedKeys={...x},!j.isActive&&P===null||!T&&!j.prevProp||om(T)||typeof T=="boolean")continue;const M=D8(j.prevProp,T);let O=M||C===f&&j.isActive&&!D&&N||_>k&&N,z=!1;const V=Array.isArray(T)?T:[T];let ne=V.reduce(s(C),{});P===!1&&(ne={});const{prevResolvedValues:K={}}=j,ie={...K,...ne},ae=J=>{O=!0,v.has(J)&&(z=!0,v.delete(J)),j.needsAnimating[J]=!0;const Y=t.getValue(J);Y&&(Y.liveStyle=!1)};for(const J in ie){const Y=ne[J],Z=K[J];if(x.hasOwnProperty(J))continue;let R=!1;R0(Y)&&R0(Z)?R=!AE(Y,Z):R=Y!==Z,R?Y!=null?ae(J):v.add(J):Y!==void 0&&v.has(J)?ae(J):j.protectedKeys[J]=!0}j.prevProp=T,j.prevResolvedValues=ne,j.isActive&&(x={...x,...ne}),r&&t.blockInitialAnimation&&(O=!1),O&&(!(D&&M)||z)&&g.push(...V.map(J=>({animation:J,options:{type:C}})))}if(v.size){const _={};v.forEach(C=>{const j=t.getBaseTarget(C),T=t.getValue(C);T&&(T.liveStyle=!0),_[C]=j??null}),g.push({animation:_})}let b=!!g.length;return r&&(h.initial===!1||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(b=!1),r=!1,b?e(g):Promise.resolve()}function c(f,h){var p;if(n[f].isActive===h)return Promise.resolve();(p=t.variantChildren)===null||p===void 0||p.forEach(v=>{var x;return(x=v.animationState)===null||x===void 0?void 0:x.setActive(f,h)}),n[f].isActive=h;const g=l(f);for(const v in n)n[v].protectedKeys={};return g}return{animateChanges:l,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=DS(),r=!0}}}function D8(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!AE(e,t):!1}function fa(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function DS(){return{animate:fa(!0),whileInView:fa(),whileHover:fa(),whileTap:fa(),whileDrag:fa(),whileFocus:fa(),exit:fa()}}class Yo{constructor(e){this.isMounted=!1,this.node=e}update(){}}class I8 extends Yo{constructor(e){super(e),e.animationState||(e.animationState=L8(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();om(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let F8=0;class B8 extends Yo{constructor(){super(...arguments),this.id=F8++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const s=this.node.animationState.setActive("exit",!e);n&&!e&&s.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const U8={animation:{Feature:I8},exit:{Feature:B8}};function kd(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}function nf(t){return{point:{x:t.pageX,y:t.pageY}}}const z8=t=>e=>yx(e)&&t(e,nf(e));function Zu(t,e,n,r){return kd(t,e,z8(n),r)}const IS=(t,e)=>Math.abs(t-e);function V8(t,e){const n=IS(t.x,e.x),r=IS(t.y,e.y);return Math.sqrt(n**2+r**2)}class _j{constructor(e,n,{transformPagePoint:r,contextWindow:s,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Sy(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,x=V8(g.offset,{x:0,y:0})>=3;if(!v&&!x)return;const{point:k}=g,{timestamp:b}=yn;this.history.push({...k,timestamp:b});const{onStart:_,onMove:C}=this.handlers;v||(_&&_(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,g)},this.handlePointerMove=(g,v)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=_y(v,this.transformPagePoint),ut.update(this.updatePoint,!0)},this.handlePointerUp=(g,v)=>{this.end();const{onEnd:x,onSessionEnd:k,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=Sy(g.type==="pointercancel"?this.lastMoveEventInfo:_y(v,this.transformPagePoint),this.history);this.startEvent&&x&&x(g,_),k&&k(g,_)},!yx(e))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=s||window;const l=nf(e),c=_y(l,this.transformPagePoint),{point:f}=c,{timestamp:h}=yn;this.history=[{...f,timestamp:h}];const{onSessionStart:p}=n;p&&p(e,Sy(c,this.history)),this.removeListeners=tf(Zu(this.contextWindow,"pointermove",this.handlePointerMove),Zu(this.contextWindow,"pointerup",this.handlePointerUp),Zu(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Fs(this.updatePoint)}}function _y(t,e){return e?{point:e(t.point)}:t}function FS(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Sy({point:t},e){return{point:t,delta:FS(t,Sj(e)),offset:FS(t,$8(e)),velocity:W8(e,.1)}}function $8(t){return t[0]}function Sj(t){return t[t.length-1]}function W8(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const s=Sj(t);for(;n>=0&&(r=t[n],!(s.timestamp-r.timestamp>Li(e)));)n--;if(!r)return{x:0,y:0};const o=Di(s.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const l={x:(s.x-r.x)/o,y:(s.y-r.y)/o};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}const Cj=1e-4,H8=1-Cj,q8=1+Cj,kj=.01,G8=0-kj,Y8=0+kj;function Zr(t){return t.max-t.min}function K8(t,e,n){return Math.abs(t-e)<=n}function BS(t,e,n,r=.5){t.origin=r,t.originPoint=Bt(e.min,e.max,t.origin),t.scale=Zr(n)/Zr(e),t.translate=Bt(n.min,n.max,t.origin)-t.originPoint,(t.scale>=H8&&t.scale<=q8||isNaN(t.scale))&&(t.scale=1),(t.translate>=G8&&t.translate<=Y8||isNaN(t.translate))&&(t.translate=0)}function ed(t,e,n,r){BS(t.x,e.x,n.x,r?r.originX:void 0),BS(t.y,e.y,n.y,r?r.originY:void 0)}function US(t,e,n){t.min=n.min+e.min,t.max=t.min+Zr(e)}function J8(t,e,n){US(t.x,e.x,n.x),US(t.y,e.y,n.y)}function zS(t,e,n){t.min=e.min-n.min,t.max=t.min+Zr(e)}function td(t,e,n){zS(t.x,e.x,n.x),zS(t.y,e.y,n.y)}function X8(t,{min:e,max:n},r){return e!==void 0&&t<e?t=r?Bt(e,t,r.min):Math.max(t,e):n!==void 0&&t>n&&(t=r?Bt(n,t,r.max):Math.min(t,n)),t}function VS(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function Q8(t,{top:e,left:n,bottom:r,right:s}){return{x:VS(t.x,n,s),y:VS(t.y,e,r)}}function $S(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,r]=[r,n]),{min:n,max:r}}function Z8(t,e){return{x:$S(t.x,e.x),y:$S(t.y,e.y)}}function eB(t,e){let n=.5;const r=Zr(t),s=Zr(e);return s>r?n=Ka(e.min,e.max-r,t.min):r>s&&(n=Ka(t.min,t.max-s,e.min)),di(0,1,n)}function tB(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const V0=.35;function nB(t=V0){return t===!1?t=0:t===!0&&(t=V0),{x:WS(t,"left","right"),y:WS(t,"top","bottom")}}function WS(t,e,n){return{min:HS(t,e),max:HS(t,n)}}function HS(t,e){return typeof t=="number"?t:t[e]||0}const qS=()=>({translate:0,scale:1,origin:0,originPoint:0}),Gl=()=>({x:qS(),y:qS()}),GS=()=>({min:0,max:0}),Kt=()=>({x:GS(),y:GS()});function ds(t){return[t("x"),t("y")]}function Tj({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function rB({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function sB(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Cy(t){return t===void 0||t===1}function $0({scale:t,scaleX:e,scaleY:n}){return!Cy(t)||!Cy(e)||!Cy(n)}function ya(t){return $0(t)||Ej(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Ej(t){return YS(t.x)||YS(t.y)}function YS(t){return t&&t!=="0%"}function Ap(t,e,n){const r=t-n,s=e*r;return n+s}function KS(t,e,n,r,s){return s!==void 0&&(t=Ap(t,s,r)),Ap(t,n,r)+e}function W0(t,e=0,n=1,r,s){t.min=KS(t.min,e,n,r,s),t.max=KS(t.max,e,n,r,s)}function jj(t,{x:e,y:n}){W0(t.x,e.translate,e.scale,e.originPoint),W0(t.y,n.translate,n.scale,n.originPoint)}const JS=.999999999999,XS=1.0000000000001;function iB(t,e,n,r=!1){const s=n.length;if(!s)return;e.x=e.y=1;let o,l;for(let c=0;c<s;c++){o=n[c],l=o.projectionDelta;const{visualElement:f}=o.options;f&&f.props.style&&f.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Kl(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),l&&(e.x*=l.x.scale,e.y*=l.y.scale,jj(t,l)),r&&ya(o.latestValues)&&Kl(t,o.latestValues))}e.x<XS&&e.x>JS&&(e.x=1),e.y<XS&&e.y>JS&&(e.y=1)}function Yl(t,e){t.min=t.min+e,t.max=t.max+e}function QS(t,e,n,r,s=.5){const o=Bt(t.min,t.max,s);W0(t,e,n,o,r)}function Kl(t,e){QS(t.x,e.x,e.scaleX,e.scale,e.originX),QS(t.y,e.y,e.scaleY,e.scale,e.originY)}function Nj(t,e){return Tj(sB(t.getBoundingClientRect(),e))}function oB(t,e,n){const r=Nj(t,n),{scroll:s}=e;return s&&(Yl(r.x,s.offset.x),Yl(r.y,s.offset.y)),r}const Pj=({current:t})=>t?t.ownerDocument.defaultView:null,aB=new WeakMap;class lB{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Kt(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const s=p=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(nf(p).point)},o=(p,g)=>{const{drag:v,dragPropagation:x,onDragStart:k}=this.getProps();if(v&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=tF(v),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ds(_=>{let C=this.getAxisMotionValue(_).get()||0;if(ai.test(C)){const{projection:j}=this.visualElement;if(j&&j.layout){const T=j.layout.layoutBox[_];T&&(C=Zr(T)*(parseFloat(C)/100))}}this.originPoint[_]=C}),k&&ut.postRender(()=>k(p,g)),M0(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},l=(p,g)=>{const{dragPropagation:v,dragDirectionLock:x,onDirectionLock:k,onDrag:b}=this.getProps();if(!v&&!this.openDragLock)return;const{offset:_}=g;if(x&&this.currentDirection===null){this.currentDirection=cB(_),this.currentDirection!==null&&k&&k(this.currentDirection);return}this.updateAxis("x",g.point,_),this.updateAxis("y",g.point,_),this.visualElement.render(),b&&b(p,g)},c=(p,g)=>this.stop(p,g),f=()=>ds(p=>{var g;return this.getAnimationState(p)==="paused"&&((g=this.getAxisMotionValue(p).animation)===null||g===void 0?void 0:g.play())}),{dragSnapToOrigin:h}=this.getProps();this.panSession=new _j(e,{onSessionStart:s,onStart:o,onMove:l,onSessionEnd:c,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,contextWindow:Pj(this.visualElement)})}stop(e,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:s}=n;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&&ut.postRender(()=>o(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,r){const{drag:s}=this.getProps();if(!r||!bh(e,s,this.currentDirection))return;const o=this.getAxisMotionValue(e);let l=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(l=X8(l,this.constraints[e],this.elastic[e])),o.set(l)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:r}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,o=this.constraints;n&&Hl(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&s?this.constraints=Q8(s.layoutBox,n):this.constraints=!1,this.elastic=nB(r),o!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&ds(l=>{this.constraints!==!1&&this.getAxisMotionValue(l)&&(this.constraints[l]=tB(s.layoutBox[l],this.constraints[l]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!Hl(e))return!1;const r=e.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const o=oB(r,s.root,this.visualElement.getTransformPagePoint());let l=Z8(s.layout.layoutBox,o);if(n){const c=n(rB(l));this.hasMutatedConstraints=!!c,c&&(l=Tj(c))}return l}startAnimation(e){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:o,dragSnapToOrigin:l,onDragTransitionEnd:c}=this.getProps(),f=this.constraints||{},h=ds(p=>{if(!bh(p,n,this.currentDirection))return;let g=f&&f[p]||{};l&&(g={min:0,max:0});const v=s?200:1e6,x=s?40:1e7,k={type:"inertia",velocity:r?e[p]:0,bounceStiffness:v,bounceDamping:x,timeConstant:750,restDelta:1,restSpeed:10,...o,...g};return this.startAxisValueAnimation(p,k)});return Promise.all(h).then(c)}startAxisValueAnimation(e,n){const r=this.getAxisMotionValue(e);return M0(this.visualElement,e),r.start(Px(e,r,0,n,this.visualElement,!1))}stopAnimation(){ds(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){ds(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){ds(n=>{const{drag:r}=this.getProps();if(!bh(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,o=this.getAxisMotionValue(n);if(s&&s.layout){const{min:l,max:c}=s.layout.layoutBox[n];o.set(e[n]-Bt(l,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Hl(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};ds(l=>{const c=this.getAxisMotionValue(l);if(c&&this.constraints!==!1){const f=c.get();s[l]=eB({min:f,max:f},this.constraints[l])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ds(l=>{if(!bh(l,e,null))return;const c=this.getAxisMotionValue(l),{min:f,max:h}=this.constraints[l];c.set(Bt(f,h,s[l]))})}addListeners(){if(!this.visualElement.current)return;aB.set(this.visualElement,this);const e=this.visualElement.current,n=Zu(e,"pointerdown",f=>{const{drag:h,dragListener:p=!0}=this.getProps();h&&p&&this.start(f)}),r=()=>{const{dragConstraints:f}=this.getProps();Hl(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,o=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),ut.read(r);const l=kd(window,"resize",()=>this.scalePositionWithinConstraints()),c=s.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:h})=>{this.isDragging&&h&&(ds(p=>{const g=this.getAxisMotionValue(p);g&&(this.originPoint[p]+=f[p].translate,g.set(g.get()+f[p].translate))}),this.visualElement.render())}));return()=>{l(),n(),o(),c&&c()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:l=V0,dragMomentum:c=!0}=e;return{...e,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:o,dragElastic:l,dragMomentum:c}}}function bh(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function cB(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class uB extends Yo{constructor(e){super(e),this.removeGroupControls=mr,this.removeListeners=mr,this.controls=new lB(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||mr}unmount(){this.removeGroupControls(),this.removeListeners()}}const ZS=t=>(e,n)=>{t&&ut.postRender(()=>t(e,n))};class dB extends Yo{constructor(){super(...arguments),this.removePointerDownListener=mr}onPointerDown(e){this.session=new _j(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Pj(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:ZS(e),onStart:ZS(n),onMove:r,onEnd:(o,l)=>{delete this.session,s&&ut.postRender(()=>s(o,l))}}}mount(){this.removePointerDownListener=Zu(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const rp={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function e2(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Eu={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(Le.test(t))t=parseFloat(t);else return t;const n=e2(t,e.target.x),r=e2(t,e.target.y);return`${n}% ${r}%`}},fB={correct:(t,{treeScale:e,projectionDelta:n})=>{const r=t,s=Uo.parse(t);if(s.length>5)return r;const o=Uo.createTransformer(t),l=typeof s[0]!="number"?1:0,c=n.x.scale*e.x,f=n.y.scale*e.y;s[0+l]/=c,s[1+l]/=f;const h=Bt(c,f,.5);return typeof s[2+l]=="number"&&(s[2+l]/=h),typeof s[3+l]=="number"&&(s[3+l]/=h),o(s)}};class hB extends S.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:o}=e;D7(pB),o&&(n.group&&n.group.add(o),r&&r.register&&s&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),rp.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:r,drag:s,isPresent:o}=this.props,l=r.projection;return l&&(l.isPresent=o,s||e.layoutDependency!==n||n===void 0?l.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?l.promote():l.relegate()||ut.postRender(()=>{const c=l.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),sx.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=e;s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Rj(t){const[e,n]=fE(),r=S.useContext(Qv);return u.jsx(hB,{...t,layoutGroup:r,switchLayoutGroup:S.useContext(xE),isPresent:e,safeToRemove:n})}const pB={borderRadius:{...Eu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Eu,borderTopRightRadius:Eu,borderBottomLeftRadius:Eu,borderBottomRightRadius:Eu,boxShadow:fB};function mB(t,e,n){const r=Rn(t)?t:ri(t);return r.start(Px("",r,e,n)),r.animation}function gB(t){return t instanceof SVGElement&&t.tagName!=="svg"}const yB=(t,e)=>t.depth-e.depth;class vB{constructor(){this.children=[],this.isDirty=!1}add(e){vx(this.children,e),this.isDirty=!0}remove(e){xx(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(yB),this.isDirty=!1,this.children.forEach(e)}}function xB(t,e){const n=li.now(),r=({timestamp:s})=>{const o=s-n;o>=e&&(Fs(r),t(o-e))};return ut.read(r,!0),()=>Fs(r)}const Aj=["TopLeft","TopRight","BottomLeft","BottomRight"],wB=Aj.length,t2=t=>typeof t=="string"?parseFloat(t):t,n2=t=>typeof t=="number"||Le.test(t);function bB(t,e,n,r,s,o){s?(t.opacity=Bt(0,n.opacity!==void 0?n.opacity:1,_B(r)),t.opacityExit=Bt(e.opacity!==void 0?e.opacity:1,0,SB(r))):o&&(t.opacity=Bt(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let l=0;l<wB;l++){const c=`border${Aj[l]}Radius`;let f=r2(e,c),h=r2(n,c);if(f===void 0&&h===void 0)continue;f||(f=0),h||(h=0),f===0||h===0||n2(f)===n2(h)?(t[c]=Math.max(Bt(t2(f),t2(h),r),0),(ai.test(h)||ai.test(f))&&(t[c]+="%")):t[c]=h}(e.rotate||n.rotate)&&(t.rotate=Bt(e.rotate||0,n.rotate||0,r))}function r2(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const _B=Oj(0,.5,JE),SB=Oj(.5,.95,mr);function Oj(t,e,n){return r=>r<t?0:r>e?1:n(Ka(t,e,r))}function s2(t,e){t.min=e.min,t.max=e.max}function us(t,e){s2(t.x,e.x),s2(t.y,e.y)}function i2(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function o2(t,e,n,r,s){return t-=e,t=Ap(t,1/n,r),s!==void 0&&(t=Ap(t,1/s,r)),t}function CB(t,e=0,n=1,r=.5,s,o=t,l=t){if(ai.test(e)&&(e=parseFloat(e),e=Bt(l.min,l.max,e/100)-l.min),typeof e!="number")return;let c=Bt(o.min,o.max,r);t===o&&(c-=e),t.min=o2(t.min,e,n,c,s),t.max=o2(t.max,e,n,c,s)}function a2(t,e,[n,r,s],o,l){CB(t,e[n],e[r],e[s],e.scale,o,l)}const kB=["x","scaleX","originX"],TB=["y","scaleY","originY"];function l2(t,e,n,r){a2(t.x,e,kB,n?n.x:void 0,r?r.x:void 0),a2(t.y,e,TB,n?n.y:void 0,r?r.y:void 0)}function c2(t){return t.translate===0&&t.scale===1}function Mj(t){return c2(t.x)&&c2(t.y)}function u2(t,e){return t.min===e.min&&t.max===e.max}function EB(t,e){return u2(t.x,e.x)&&u2(t.y,e.y)}function d2(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Lj(t,e){return d2(t.x,e.x)&&d2(t.y,e.y)}function f2(t){return Zr(t.x)/Zr(t.y)}function h2(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class jB{constructor(){this.members=[]}add(e){vx(this.members,e),e.scheduleRender()}remove(e){if(xx(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(s=>e===s);if(n===0)return!1;let r;for(let s=n;s>=0;s--){const o=this.members[s];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(e,n){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,n&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:s}=e.options;s===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:r}=e;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function NB(t,e,n){let r="";const s=t.x.translate/e.x,o=t.y.translate/e.y,l=(n==null?void 0:n.z)||0;if((s||o||l)&&(r=`translate3d(${s}px, ${o}px, ${l}px) `),(e.x!==1||e.y!==1)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:h,rotate:p,rotateX:g,rotateY:v,skewX:x,skewY:k}=n;h&&(r=`perspective(${h}px) ${r}`),p&&(r+=`rotate(${p}deg) `),g&&(r+=`rotateX(${g}deg) `),v&&(r+=`rotateY(${v}deg) `),x&&(r+=`skewX(${x}deg) `),k&&(r+=`skewY(${k}deg) `)}const c=t.x.scale*e.x,f=t.y.scale*e.y;return(c!==1||f!==1)&&(r+=`scale(${c}, ${f})`),r||"none"}const va={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Uu=typeof window<"u"&&window.MotionDebug!==void 0,ky=["","X","Y","Z"],PB={visibility:"hidden"},p2=1e3;let RB=0;function Ty(t,e,n,r){const{latestValues:s}=e;s[t]&&(n[t]=s[t],e.setStaticValue(t,0),r&&(r[t]=0))}function Dj(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=$E(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",ut,!(s||o))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&Dj(r)}function Ij({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(l={},c=e==null?void 0:e()){this.id=RB++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Uu&&(va.totalNodes=va.resolvedTargetDeltas=va.recalculatedProjection=0),this.nodes.forEach(MB),this.nodes.forEach(BB),this.nodes.forEach(UB),this.nodes.forEach(LB),Uu&&window.MotionDebug.record(va)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new vB)}addEventListener(l,c){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new wx),this.eventHandlers.get(l).add(c)}notifyListeners(l,...c){const f=this.eventHandlers.get(l);f&&f.notify(...c)}hasListeners(l){return this.eventHandlers.has(l)}mount(l,c=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=gB(l),this.instance=l;const{layoutId:f,layout:h,visualElement:p}=this.options;if(p&&!p.current&&p.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),c&&(h||f)&&(this.isLayoutDirty=!0),t){let g;const v=()=>this.root.updateBlockedByResize=!1;t(l,()=>{this.root.updateBlockedByResize=!0,g&&g(),g=xB(v,250),rp.hasAnimatedSinceResize&&(rp.hasAnimatedSinceResize=!1,this.nodes.forEach(g2))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&p&&(f||h)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:v,hasRelativeTargetChanged:x,layout:k})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||p.getDefaultTransition()||HB,{onLayoutAnimationStart:_,onLayoutAnimationComplete:C}=p.getProps(),j=!this.targetLayout||!Lj(this.targetLayout,k)||x,T=!v&&x;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||T||v&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(g,T);const N={...px(b,"layout"),onPlay:_,onComplete:C};(p.shouldReduceMotion||this.options.layoutRoot)&&(N.delay=0,N.type=!1),this.startAnimation(N)}else v||g2(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=k})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Fs(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(zB),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Dj(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const g=this.path[p];g.shouldResetTransform=!0,g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:c,layout:f}=this.options;if(c===void 0&&!f)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(m2);return}this.isUpdating||this.nodes.forEach(IB),this.isUpdating=!1,this.nodes.forEach(FB),this.nodes.forEach(AB),this.nodes.forEach(OB),this.clearAllSnapshots();const c=li.now();yn.delta=di(0,1e3/60,c-yn.timestamp),yn.timestamp=c,yn.isProcessing=!0,gy.update.process(yn),gy.preRender.process(yn),gy.render.process(yn),yn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,sx.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(DB),this.sharedNodes.forEach(VB)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ut.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ut.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Kt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:c}=this.options;c&&c.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let c=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(c=!1),c){const f=r(this.instance);this.scroll={animationId:this.root.animationId,phase:l,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!s)return;const l=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,c=this.projectionDelta&&!Mj(this.projectionDelta),f=this.getTransformTemplate(),h=f?f(this.latestValues,""):void 0,p=h!==this.prevTransformTemplateValue;l&&(c||ya(this.latestValues)||p)&&(s(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const c=this.measurePageBox();let f=this.removeElementScroll(c);return l&&(f=this.removeTransform(f)),qB(f),{animationId:this.root.animationId,measuredBox:c,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var l;const{visualElement:c}=this.options;if(!c)return Kt();const f=c.measureViewportBox();if(!(((l=this.scroll)===null||l===void 0?void 0:l.wasRoot)||this.path.some(GB))){const{scroll:p}=this.root;p&&(Yl(f.x,p.offset.x),Yl(f.y,p.offset.y))}return f}removeElementScroll(l){var c;const f=Kt();if(us(f,l),!((c=this.scroll)===null||c===void 0)&&c.wasRoot)return f;for(let h=0;h<this.path.length;h++){const p=this.path[h],{scroll:g,options:v}=p;p!==this.root&&g&&v.layoutScroll&&(g.wasRoot&&us(f,l),Yl(f.x,g.offset.x),Yl(f.y,g.offset.y))}return f}applyTransform(l,c=!1){const f=Kt();us(f,l);for(let h=0;h<this.path.length;h++){const p=this.path[h];!c&&p.options.layoutScroll&&p.scroll&&p!==p.root&&Kl(f,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),ya(p.latestValues)&&Kl(f,p.latestValues)}return ya(this.latestValues)&&Kl(f,this.latestValues),f}removeTransform(l){const c=Kt();us(c,l);for(let f=0;f<this.path.length;f++){const h=this.path[f];if(!h.instance||!ya(h.latestValues))continue;$0(h.latestValues)&&h.updateSnapshot();const p=Kt(),g=h.measurePageBox();us(p,g),l2(c,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,p)}return ya(this.latestValues)&&l2(c,this.latestValues),c}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==yn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){var c;const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==f;if(!(l||h&&this.isSharedProjectionDirty||this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:v}=this.options;if(!(!this.layout||!(g||v))){if(this.resolvedRelativeTargetAt=yn.timestamp,!this.targetDelta&&!this.relativeTarget){const x=this.getClosestProjectingParent();x&&x.layout&&this.animationProgress!==1?(this.relativeParent=x,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Kt(),this.relativeTargetOrigin=Kt(),td(this.relativeTargetOrigin,this.layout.layoutBox,x.layout.layoutBox),us(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Kt(),this.targetWithTransforms=Kt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),J8(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):us(this.target,this.layout.layoutBox),jj(this.target,this.targetDelta)):us(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const x=this.getClosestProjectingParent();x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?(this.relativeParent=x,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Kt(),this.relativeTargetOrigin=Kt(),td(this.relativeTargetOrigin,this.target,x.target),us(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Uu&&va.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||$0(this.parent.latestValues)||Ej(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var l;const c=this.getLead(),f=!!this.resumingFrom||this!==c;let h=!0;if((this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty)&&(h=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===yn.timestamp&&(h=!1),h)return;const{layout:p,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||g))return;us(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,x=this.treeScale.y;iB(this.layoutCorrected,this.treeScale,this.path,f),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=Kt());const{target:k}=c;if(!k){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(i2(this.prevProjectionDelta.x,this.projectionDelta.x),i2(this.prevProjectionDelta.y,this.projectionDelta.y)),ed(this.projectionDelta,this.layoutCorrected,k,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==x||!h2(this.projectionDelta.x,this.prevProjectionDelta.x)||!h2(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",k)),Uu&&va.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){var c;if((c=this.options.visualElement)===null||c===void 0||c.scheduleRender(),l){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Gl(),this.projectionDelta=Gl(),this.projectionDeltaWithTransform=Gl()}setAnimationOrigin(l,c=!1){const f=this.snapshot,h=f?f.latestValues:{},p={...this.latestValues},g=Gl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const v=Kt(),x=f?f.source:void 0,k=this.layout?this.layout.source:void 0,b=x!==k,_=this.getStack(),C=!_||_.members.length<=1,j=!!(b&&!C&&this.options.crossfade===!0&&!this.path.some(WB));this.animationProgress=0;let T;this.mixTargetDelta=N=>{const P=N/1e3;y2(g.x,l.x,P),y2(g.y,l.y,P),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(td(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox),$B(this.relativeTarget,this.relativeTargetOrigin,v,P),T&&EB(this.relativeTarget,T)&&(this.isProjectionDirty=!1),T||(T=Kt()),us(T,this.relativeTarget)),b&&(this.animationValues=p,bB(p,h,this.latestValues,P,j,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Fs(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ut.update(()=>{rp.hasAnimatedSinceResize=!0,this.currentAnimation=mB(0,p2,{...l,onUpdate:c=>{this.mixTargetDelta(c),l.onUpdate&&l.onUpdate(c)},onComplete:()=>{l.onComplete&&l.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(p2),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:c,target:f,layout:h,latestValues:p}=l;if(!(!c||!f||!h)){if(this!==l&&this.layout&&h&&Fj(this.options.animationType,this.layout.layoutBox,h.layoutBox)){f=this.target||Kt();const g=Zr(this.layout.layoutBox.x);f.x.min=l.target.x.min,f.x.max=f.x.min+g;const v=Zr(this.layout.layoutBox.y);f.y.min=l.target.y.min,f.y.max=f.y.min+v}us(c,f),Kl(c,p),ed(this.projectionDeltaWithTransform,this.layoutCorrected,c,p)}}registerSharedNode(l,c){this.sharedNodes.has(l)||this.sharedNodes.set(l,new jB),this.sharedNodes.get(l).add(c);const h=c.options.initialPromotionConfig;c.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(c):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){var l;const{layoutId:c}=this.options;return c?((l=this.getStack())===null||l===void 0?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:c}=this.options;return c?(l=this.getStack())===null||l===void 0?void 0:l.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:c,preserveFollowOpacity:f}={}){const h=this.getStack();h&&h.promote(this,f),l&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetSkewAndRotation(){const{visualElement:l}=this.options;if(!l)return;let c=!1;const{latestValues:f}=l;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(c=!0),!c)return;const h={};f.z&&Ty("z",l,h,this.animationValues);for(let p=0;p<ky.length;p++)Ty(`rotate${ky[p]}`,l,h,this.animationValues),Ty(`skew${ky[p]}`,l,h,this.animationValues);l.render();for(const p in h)l.setStaticValue(p,h[p]),this.animationValues&&(this.animationValues[p]=h[p]);l.scheduleRender()}getProjectionStyles(l){var c,f;if(!this.instance||this.isSVG)return;if(!this.isVisible)return PB;const h={visibility:""},p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,h.opacity="",h.pointerEvents=tp(l==null?void 0:l.pointerEvents)||"",h.transform=p?p(this.latestValues,""):"none",h;const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){const b={};return this.options.layoutId&&(b.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,b.pointerEvents=tp(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!ya(this.latestValues)&&(b.transform=p?p({},""):"none",this.hasProjected=!1),b}const v=g.animationValues||g.latestValues;this.applyTransformsToTarget(),h.transform=NB(this.projectionDeltaWithTransform,this.treeScale,v),p&&(h.transform=p(v,h.transform));const{x,y:k}=this.projectionDelta;h.transformOrigin=`${x.origin*100}% ${k.origin*100}% 0`,g.animationValues?h.opacity=g===this?(f=(c=v.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:h.opacity=g===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const b in Ep){if(v[b]===void 0)continue;const{correct:_,applyTo:C}=Ep[b],j=h.transform==="none"?v[b]:_(v[b],g);if(C){const T=C.length;for(let N=0;N<T;N++)h[C[N]]=j}else h[b]=j}return this.options.layoutId&&(h.pointerEvents=g===this?tp(l==null?void 0:l.pointerEvents)||"":"none"),h}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>{var c;return(c=l.currentAnimation)===null||c===void 0?void 0:c.stop()}),this.root.nodes.forEach(m2),this.root.sharedNodes.clear()}}}function AB(t){t.updateLayout()}function OB(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:s}=t.layout,{animationType:o}=t.options,l=n.source!==t.layout.source;o==="size"?ds(g=>{const v=l?n.measuredBox[g]:n.layoutBox[g],x=Zr(v);v.min=r[g].min,v.max=v.min+x}):Fj(o,n.layoutBox,r)&&ds(g=>{const v=l?n.measuredBox[g]:n.layoutBox[g],x=Zr(r[g]);v.max=v.min+x,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[g].max=t.relativeTarget[g].min+x)});const c=Gl();ed(c,r,n.layoutBox);const f=Gl();l?ed(f,t.applyTransform(s,!0),n.measuredBox):ed(f,r,n.layoutBox);const h=!Mj(c);let p=!1;if(!t.resumeFrom){const g=t.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:v,layout:x}=g;if(v&&x){const k=Kt();td(k,n.layoutBox,v.layoutBox);const b=Kt();td(b,r,x.layoutBox),Lj(k,b)||(p=!0),g.options.layoutRoot&&(t.relativeTarget=b,t.relativeTargetOrigin=k,t.relativeParent=g)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:f,layoutDelta:c,hasLayoutChanged:h,hasRelativeTargetChanged:p})}else if(t.isLead()){const{onExitComplete:r}=t.options;r&&r()}t.options.transition=void 0}function MB(t){Uu&&va.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
vendor: 6,390 bytes, line 408
408isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function LB(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function DB(t){t.clearSnapshot()}function m2(t){t.clearMeasurements()}function IB(t){t.isLayoutDirty=!1}function FB(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function g2(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function BB(t){t.resolveTargetDelta()}function UB(t){t.calcProjection()}function zB(t){t.resetSkewAndRotation()}function VB(t){t.removeLeadSnapshot()}function y2(t,e,n){t.translate=Bt(e.translate,0,n),t.scale=Bt(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function v2(t,e,n,r){t.min=Bt(e.min,n.min,r),t.max=Bt(e.max,n.max,r)}function $B(t,e,n,r){v2(t.x,e.x,n.x,r),v2(t.y,e.y,n.y,r)}function WB(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const HB={duration:.45,ease:[.4,0,.1,1]},x2=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),w2=x2("applewebkit/")&&!x2("chrome/")?Math.round:mr;function b2(t){t.min=w2(t.min),t.max=w2(t.max)}function qB(t){b2(t.x),b2(t.y)}function Fj(t,e,n){return t==="position"||t==="preserve-aspect"&&!K8(f2(e),f2(n),.2)}function GB(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const YB=Ij({attachResizeListener:(t,e)=>kd(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ey={current:void 0},Bj=Ij({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Ey.current){const t=new YB({});t.mount(window),t.setOptions({layoutScroll:!0}),Ey.current=t}return Ey.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),KB={pan:{Feature:dB},drag:{Feature:uB,ProjectionNode:Bj,MeasureLayout:Rj}};function _2(t,e,n){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,o=r[s];o&&ut.postRender(()=>o(e,nf(e)))}class JB extends Yo{mount(){const{current:e}=this.node;e&&(this.unmount=J7(e,n=>(_2(this.node,n,"Start"),r=>_2(this.node,r,"End"))))}unmount(){}}class XB extends Yo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tf(kd(this.node.current,"focus",()=>this.onFocus()),kd(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function S2(t,e,n){const{props:r}=t;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),o=r[s];o&&ut.postRender(()=>o(e,nf(e)))}class QB extends Yo{mount(){const{current:e}=this.node;e&&(this.unmount=eF(e,n=>(S2(this.node,n,"Start"),(r,{success:s})=>S2(this.node,r,s?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const H0=new WeakMap,jy=new WeakMap,ZB=t=>{const e=H0.get(t.target);e&&e(t)},eU=t=>{t.forEach(ZB)};function tU({root:t,...e}){const n=t||document;jy.has(n)||jy.set(n,{});const r=jy.get(n),s=JSON.stringify(e);return r[s]||(r[s]=new IntersectionObserver(eU,{root:t,...e})),r[s]}function nU(t,e,n){const r=tU(e);return H0.set(t,n),r.observe(t),()=>{H0.delete(t),r.unobserve(t)}}const rU={some:0,all:1};class sU extends Yo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=e,l={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:rU[s]},c=f=>{const{isIntersecting:h}=f;if(this.isInView===h||(this.isInView=h,o&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:p,onViewportLeave:g}=this.node.getProps(),v=h?p:g;v&&v(f)};return nU(this.node.current,l,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(iU(e,n))&&this.startObserver()}unmount(){}}function iU({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const oU={inView:{Feature:sU},tap:{Feature:QB},focus:{Feature:XB},hover:{Feature:JB}},aU={layout:{ProjectionNode:Bj,MeasureLayout:Rj}},Op={current:null},Rx={current:!1};function Uj(){if(Rx.current=!0,!!Zv)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Op.current=t.matches;t.addListener(e),e()}else Op.current=!1}const lU=[...uj,Xn,Uo],cU=t=>lU.find(cj(t)),C2=new WeakMap;function uU(t,e,n){for(const r in e){const s=e[r],o=n[r];if(Rn(s))t.addValue(r,s);else if(Rn(o))t.addValue(r,ri(s,{owner:t}));else if(o!==s)if(t.hasValue(r)){const l=t.getValue(r);l.liveStyle===!0?l.jump(s):l.hasAnimated||l.set(s)}else{const l=t.getStaticValue(r);t.addValue(r,ri(l!==void 0?l:s,{owner:t}))}}for(const r in n)e[r]===void 0&&t.removeValue(r);return e}const k2=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class dU{scrapeMotionValuesFromProps(e,n,r){return{}}constructor({parent:e,props:n,presenceContext:r,reducedMotionConfig:s,blockInitialAnimation:o,visualState:l},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ex,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const x=li.now();this.renderScheduledAt<x&&(this.renderScheduledAt=x,ut.render(this.render,!1,!0))};
vendor: 6,684 bytes, line 408
408const{latestValues:f,renderState:h,onUpdate:p}=l;this.onUpdate=p,this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=h,this.parent=e,this.props=n,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=s,this.options=c,this.blockInitialAnimation=!!o,this.isControllingVariants=am(n),this.isVariantNode=yE(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:g,...v}=this.scrapeMotionValuesFromProps(n,{},this);for(const x in v){const k=v[x];f[x]!==void 0&&Rn(k)&&k.set(f[x],!1)}}mount(e){this.current=e,C2.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Rx.current||Uj(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Op.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){C2.delete(this.current),this.projection&&this.projection.unmount(),Fs(this.notifyUpdate),Fs(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const r=ol.has(e),s=n.on("change",c=>{this.latestValues[e]=c,this.props.onUpdate&&ut.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let l;window.MotionCheckAppearSync&&(l=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{s(),o(),l&&l(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Sc){const n=Sc[e];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[e]&&s&&r(this.props)&&(this.features[e]=new s(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Kt()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<k2.length;r++){const s=k2[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const o="on"+s,l=e[o];l&&(this.propEventSubscriptions[s]=this.on(s,l))}this.prevMotionValues=uU(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const r=this.values.get(e);n!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&n!==void 0&&(r=ri(n===null?void 0:n,{owner:this}),this.addValue(e,r)),r}readValue(e,n){var r;let s=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(r=this.getBaseTargetFromProps(this.props,e))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,e,this.options);return s!=null&&(typeof s=="string"&&(aj(s)||QE(s))?s=parseFloat(s):!cU(s)&&Uo.test(n)&&(s=sj(e,n)),this.setBaseTarget(e,Rn(s)?s.get():s)),Rn(s)?s.get():s}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:r}=this.props;let s;if(typeof r=="string"||typeof r=="object"){const l=ox(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);l&&(s=l[e])}if(r&&s!==void 0)return s;const o=this.getBaseTargetFromProps(this.props,e);return o!==void 0&&!Rn(o)?o:this.initialValues[e]!==void 0&&s===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new wx),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class zj extends dU{constructor(){super(...arguments),this.KeyframeResolver=dj}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:r}){delete n[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Rn(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function fU(t){return window.getComputedStyle(t)}class hU extends zj{constructor(){super(...arguments),this.type="html",this.renderInstance=TE}readValueFromInstance(e,n){if(ol.has(n)){const r=Tx(n);return r&&r.default||0}else{const r=fU(e),s=(SE(n)?r.getPropertyValue(n):r[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(e,{transformPagePoint:n}){return Nj(e,n)}build(e,n,r){cx(e,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,n,r){return hx(e,n,r)}}class pU extends zj{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Kt}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(ol.has(n)){const r=Tx(n);return r&&r.default||0}return n=EE.has(n)?n:rx(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,r){return PE(e,n,r)}build(e,n,r){ux(e,n,this.isSVGTag,r.transformTemplate)}
408renderInstance(e,n,r,s){jE(e,n,r,s)}mount(e){this.isSVGTag=fx(e.tagName),super.mount(e)}}const mU=(t,e)=>ix(t)?new pU(e):new hU(e,{allowProjection:t!==S.Fragment}),gU=H7({...U8,...oU,...KB,...aU},mU),Ve=o7(gU);function yU(t,e,n){S.useInsertionEffect(()=>t.on(e,n),[t,e,n])}function Vj(t,e){let n;const r=()=>{const{currentTime:s}=e,l=(s===null?0:s.value)/100;n!==l&&t(l),n=l};return ut.update(r,!0),()=>Fs(r)}const sp=new WeakMap;let po;function vU(t,e){if(e){const{inlineSize:n,blockSize:r}=e[0];return{width:n,height:r}}else return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}function xU({target:t,contentRect:e,borderBoxSize:n}){var r;(r=sp.get(t))===null||r===void 0||r.forEach(s=>{s({target:t,contentSize:e,get size(){return vU(t,n)}})})}function wU(t){t.forEach(xU)}function bU(){typeof ResizeObserver>"u"||(po=new ResizeObserver(wU))}function _U(t,e){po||bU();const n=BE(t);return n.forEach(r=>{let s=sp.get(r);s||(s=new Set,sp.set(r,s)),s.add(e),po==null||po.observe(r)}),()=>{n.forEach(r=>{const s=sp.get(r);s==null||s.delete(e),s!=null&&s.size||po==null||po.unobserve(r)})}}const ip=new Set;let nd;function SU(){nd=()=>{const t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};ip.forEach(n=>n(e))},window.addEventListener("resize",nd)}function CU(t){return ip.add(t),nd||SU(),()=>{ip.delete(t),!ip.size&&nd&&(nd=void 0)}}function kU(t,e){return typeof t=="function"?CU(t):_U(t,e)}const TU=50,T2=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),EU=()=>({time:0,x:T2(),y:T2()}),jU={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function E2(t,e,n,r){const s=n[e],{length:o,position:l}=jU[e],c=s.current,f=n.time;s.current=t[`scroll${l}`],s.scrollLength=t[`scroll${o}`]-t[`client${o}`],s.offset.length=0,s.offset[0]=0,s.offset[1]=s.scrollLength,s.progress=Ka(0,s.scrollLength,s.current);const h=r-f;s.velocity=h>TU?0:bx(s.current-c,h)}function NU(t,e,n){E2(t,"x",e,n),E2(t,"y",e,n),e.time=n}function PU(t,e){const n={x:0,y:0};let r=t;for(;r&&r!==e;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const s=r.getBoundingClientRect();r=r.parentElement;const o=r.getBoundingClientRect();n.x+=s.left-o.left,n.y+=s.top-o.top}else if(r instanceof SVGGraphicsElement){const{x:s,y:o}=r.getBBox();n.x+=s,n.y+=o;let l=null,c=r.parentNode;for(;!l;)c.tagName==="svg"&&(l=c),c=r.parentNode;r=l}else break;return n}const q0={start:0,center:.5,end:1};function j2(t,e,n=0){let r=0;if(t in q0&&(t=q0[t]),typeof t=="string"){const s=parseFloat(t);t.endsWith("px")?r=s:t.endsWith("%")?t=s/100:t.endsWith("vw")?r=s/100*document.documentElement.clientWidth:t.endsWith("vh")?r=s/100*document.documentElement.clientHeight:t=s}return typeof t=="number"&&(r=e*t),n+r}const RU=[0,0];function AU(t,e,n,r){let s=Array.isArray(t)?t:RU,o=0,l=0;return typeof t=="number"?s=[t,t]:typeof t=="string"&&(t=t.trim(),t.includes(" ")?s=t.split(" "):s=[t,q0[t]?t:"0"]),o=j2(s[0],n,r),l=j2(s[1],e),o-l}const OU={All:[[0,0],[1,1]]},MU={x:0,y:0};function LU(t){return"getBBox"in t&&t.tagName!=="svg"?t.getBBox():{width:t.clientWidth,height:t.clientHeight}}function DU(t,e,n){const{offset:r=OU.All}=n,{target:s=t,axis:o="y"}=n,l=o==="y"?"height":"width",c=s!==t?PU(s,t):MU,f=s===t?{width:t.scrollWidth,height:t.scrollHeight}:LU(s),h={width:t.clientWidth,height:t.clientHeight};e[o].offset.length=0;let p=!e[o].interpolate;const g=r.length;for(let v=0;v<g;v++){const x=AU(r[v],h[l],f[l],c[o]);!p&&x!==e[o].interpolatorOffsets[v]&&(p=!0),e[o].offset[v]=x}p&&(e[o].interpolate=Nx(e[o].offset,vj(r),{clamp:!1}),e[o].interpolatorOffsets=[...e[o].offset]),e[o].progress=di(0,1,e[o].interpolate(e[o].current))}function IU(t,e=t,n){if(n.x.targetOffset=0,n.y.targetOffset=0,e!==t){let r=e;for(;r&&r!==t;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=e===t?e.scrollWidth:e.clientWidth,n.y.targetLength=e===t?e.scrollHeight:e.clientHeight,n.x.containerLength=t.clientWidth,n.y.c
408ontainerLength=t.clientHeight}function FU(t,e,n,r={}){return{measure:()=>IU(t,r.target,n),update:s=>{NU(t,n,s),(r.offset||r.target)&&DU(t,n,r)},notify:()=>e(n)}}const ju=new WeakMap,N2=new WeakMap,Ny=new WeakMap,P2=t=>t===document.documentElement?window:t;function Ax(t,{container:e=document.documentElement,...n}={}){let r=Ny.get(e);r||(r=new Set,Ny.set(e,r));const s=EU(),o=FU(e,t,s,n);if(r.add(o),!ju.has(e)){const c=()=>{for(const v of r)v.measure()},f=()=>{for(const v of r)v.update(yn.timestamp)},h=()=>{for(const v of r)v.notify()},p=()=>{ut.read(c,!1,!0),ut.read(f,!1,!0),ut.update(h,!1,!0)};ju.set(e,p);const g=P2(e);window.addEventListener("resize",p,{passive:!0}),e!==document.documentElement&&N2.set(e,kU(e,p)),g.addEventListener("scroll",p,{passive:!0})}const l=ju.get(e);return ut.read(l,!1,!0),()=>{var c;Fs(l);const f=Ny.get(e);if(!f||(f.delete(o),f.size))return;const h=ju.get(e);ju.delete(e),h&&(P2(e).removeEventListener("scroll",h),(c=N2.get(e))===null||c===void 0||c(),window.removeEventListener("resize",h))}}function BU({source:t,container:e,axis:n="y"}){t&&(e=t);const r={value:0},s=Ax(o=>{r.value=o[n].progress*100},{container:e,axis:n});return{currentTime:r,cancel:s}}const Py=new Map;function $j({source:t,container:e=document.documentElement,axis:n="y"}={}){t&&(e=t),Py.has(e)||Py.set(e,{});const r=Py.get(e);return r[n]||(r[n]=OE()?new ScrollTimeline({source:e,axis:n}):BU({source:e,axis:n})),r[n]}function UU(t){return t.length===2}function Wj(t){return t&&(t.target||t.offset)}function zU(t,e){return UU(t)||Wj(e)?Ax(n=>{t(n[e.axis].progress,n)},e):Vj(t,$j(e))}function VU(t,e){if(t.flatten(),Wj(e))return t.pause(),Ax(n=>{t.time=t.duration*n[e.axis].progress},e);{const n=$j(e);return t.attachTimeline?t.attachTimeline(n,r=>(r.pause(),Vj(s=>{r.time=r.duration*s},n))):mr}}function $U(t,{axis:e="y",...n}={}){const r={axis:e,...n};return typeof t=="function"?zU(t,r):VU(t,r)}function R2(t,e){Q6(!!(!e||e.current))}const WU=()=>({scrollX:ri(0),scrollY:ri(0),scrollXProgress:ri(0),scrollYProgress:ri(0)});function Ox({container:t,target:e,layoutEffect:n=!0,...r}={}){const s=Fc(WU);return(n?Qd:S.useEffect)(()=>(R2("target",e),R2("container",t),$U((l,{x:c,y:f})=>{s.scrollX.set(c.current),s.scrollXProgress.set(c.progress),s.scrollY.set(f.current),s.scrollYProgress.set(f.progress)},{...r,container:(t==null?void 0:t.current)||void 0,target:(e==null?void 0:e.current)||void 0})),[t,e,JSON.stringify(r.offset)]),s}function Mp(t){const e=Fc(()=>ri(t)),{isStatic:n}=S.useContext(Xd);if(n){const[,r]=S.useState(t);S.useEffect(()=>e.on("change",r),[])}return e}function Hj(t,e){const n=Mp(e()),r=()=>n.set(e());return r(),Qd(()=>{const s=()=>ut.preRender(r,!1,!0),o=t.map(l=>l.on("change",s));return()=>{o.forEach(l=>l()),Fs(r)}}),n}function A2(t){return typeof t=="number"?t:parseFloat(t)}function O2(t,e={}){const{isStatic:n}=S.useContext(Xd),r=S.useRef(null),s=Mp(Rn(t)?A2(t.get()):t),o=S.useRef(s.get()),l=S.useRef(()=>{}),c=()=>{const h=r.current;h&&h.time===0&&h.sample(yn.delta),f(),r.current=h8({keyframes:[s.get(),o.current],velocity:s.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...e,onUpdate:l.current})},f=()=>{r.current&&r.current.stop()};return S.useInsertionEffect(()=>s.attach((h,p)=>n?p(h):(o.current=h,l.current=p,ut.update(c),s.get()),f),[JSON.stringify(e)]),Qd(()=>{if(Rn(t))return t.on("change",h=>s.set(A2(h)))},[s]),s}const HU=t=>t&&typeof t=="object"&&t.mix,qU=t=>HU(t)?t.mix:void 0;function GU(...t){const e=!Array.isArray(t[0]),n=e?0:-1,r=t[0+n],s=t[1+n],o=t[2+n],l=t[3+n],c=Nx(s,o,{mixer:qU(o[0]),...l});return e?c(r):c}function YU(t){Xu.current=[],t();const e=Hj(Xu.current,t);return Xu.current=void 0,e}function Fa(t,e,n,r){if(typeof t=="function")return YU(t);const s=typeof e=="function"?e:GU(e,n,r);return Array.isArray(t)?M2(t,s):M2([t],([o])=>s(o))}function M2(t,e){const n=Fc(()=>[]);return Hj(t,()=>{n.length=0;const r=t.length;for(let s=0;s<r;s++)n[s]=t[s].get();return e(n)})}function rf(){!Rx.current&&Uj();const[t]=S.useState(Op.current);return t}function Ti(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qj(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
409 * GSAP 3.15.0
410 * https://gsap.com
411 *
412 * @license Copyright 2008-2026, GreenSock. All rights reserved.
413 * Subject to the terms at https://gsap.com/standard-license
414 * @author: Jack Doyle, [email protected]
415*/var Qr={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Td={duration:.5,overwrite:!1,delay:0},Mx,Vn,Ot,ws=1e8,_t=1/ws,G0=Math.PI*2,KU=G0/4,JU=0,Gj=Math.sqrt,XU=Math.cos,QU=Math.sin,On=function(e){return typeof e=="string"},Ht=function(e){return typeof e=="function"},Fi=function(e){return typeof e=="number"},Lx=function(e){return typeof e>"u"},fi=function(e){return typeof e=="object"},Ar=function(e){return e!==!1},Dx=function(){return typeof window<"u"},_h=function(e){return Ht(e)||On(e)},Yj=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},nr=Array.isArray,ZU=/random\([^)]+\)/g,ez=/,\s*/g,L2=/(?:-?\.?\d|\.)+/gi,Kj=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Jl=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ry=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Jj=/[+-]=-?[.\d]+/,tz=/[^,'"\[\]\s]+/gi,nz=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ft,Js,Y0,Ix,es={},Lp={}
vendor: 4,646 bytes, line 415
415,Xj,Qj=function(e){return(Lp=kc(e,es))&&Dr},Fx=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},Ed=function(e,n){return!n&&console.warn(e)},Zj=function(e,n){return e&&(es[e]=n)&&Lp&&(Lp[e]=n)||es},jd=function(){return 0},rz={suppressEvents:!0,isStart:!0,kill:!1},op={suppressEvents:!0,kill:!1},sz={suppressEvents:!0},Bx={},Do=[],K0={},eN,qr={},Ay={},D2=30,ap=[],Ux="",zx=function(e){var n=e[0],r,s;if(fi(n)||Ht(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(s=ap.length;s--&&!ap[s].targetTest(n););r=ap[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new _N(e[s],r)))||e.splice(s,1);return e},Ba=function(e){return e._gsap||zx(bs(e))[0]._gsap},tN=function(e,n,r){return(r=e[n])&&Ht(r)?e[n]():Lx(r)&&e.getAttribute&&e.getAttribute(n)||r},Or=function(e,n){return(e=e.split(",")).forEach(n)||e},Jt=function(e){return Math.round(e*1e5)/1e5||0},It=function(e){return Math.round(e*1e7)/1e7||0},ec=function(e,n){var r=n.charAt(0),s=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+s:r==="-"?e-s:r==="*"?e*s:e/s},iz=function(e,n){for(var r=n.length,s=0;e.indexOf(n[s])<0&&++s<r;);return s<r},Dp=function(){var e=Do.length,n=Do.slice(0),r,s;for(K0={},Do.length=0,r=0;r<e;r++)s=n[r],s&&s._lazy&&(s.render(s._lazy[0],s._lazy[1],!0)._lazy=0)},Vx=function(e){return!!(e._initted||e._startAt||e.add)},nN=function(e,n,r,s){Do.length&&!Vn&&Dp(),e.render(n,r,!!(Vn&&n<0&&Vx(e))),Do.length&&!Vn&&Dp()},rN=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(tz).length<2?n:On(e)?e.trim():e},sN=function(e){return e},ts=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},oz=function(e){return function(n,r){for(var s in r)s in n||s==="duration"&&e||s==="ease"||(n[s]=r[s])}},kc=function(e,n){for(var r in n)e[r]=n[r];return e},I2=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=fi(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Ip=function(e,n){var r={},s;for(s in e)s in n||(r[s]=e[s]);return r},rd=function(e){var n=e.parent||Ft,r=e.keyframes?oz(nr(e.keyframes)):ts;if(Ar(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},az=function(e,n){for(var r=e.length,s=r===n.length;s&&r--&&e[r]===n[r];);return r<0},iN=function(e,n,r,s,o){var l=e[s],c;if(o)for(c=n[o];l&&l[o]>c;)l=l._prev;return l?(n._next=l._next,l._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[s]=n,n._prev=l,n.parent=n._dp=e,n},dm=function(e,n,r,s){r===void 0&&(r="_first"),s===void 0&&(s="_last");var o=n._prev,l=n._next;o?o._next=l:e[r]===n&&(e[r]=l),l?l._prev=o:e[s]===n&&(e[s]=o),n._next=n._prev=n.parent=null},zo=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ua=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},lz=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},J0=function(e,n,r,s){return e._startAt&&(Vn?e._startAt.revert(op):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,s))},cz=function t(e){return!e||e._ts&&t(e.parent)},F2=function(e){return e._repeat?Tc(e._tTime,e=e.duration()+e._rDelay)*e:0},Tc=function(e,n){var r=Math.floor(e=It(e/n));return e&&r===e?r-1:r},Fp=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},fm=function(e){return e._end=It(e._start+(e._tDur/Math.abs(e._ts||e._rts||_t)||0))},hm=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=It(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),fm(e),r._dirty||Ua(r,e)),e},oN=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Fp(e.rawTime(),n),(!n._dur||sf(0,n.totalDuration(),r)-n._tTime>_t)&&n.render(r,!0)),Ua(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-_t}},ti=function(e,n,r,s){return n.parent&&zo(n),n._start=It((Fi(r)?r:r||e!==Ft?fs(e,r,n):e._time)+n._delay),n._end=It(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),iN(e,n,"_first","_last",e._sort?"_start":0),X0(n)||(e._recent=n),s||oN(e,n),e._ts<0&&hm(e,e._tTime),e},aN=function(e,n){return(es.ScrollTrigger||Fx("scrollTrigger",n))&&es.ScrollTrigger.create(n,e)},lN=function(e,n,r,s,o){if(Wx(e,n,o),!e._initted)return 1;if(!r&&e._pt&&!Vn&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&eN!==Yr.frame)return Do.push(e),e._lazy=[o,s],1},uz=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},X0=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"}
vendor: 4,421 bytes, line 415
415,dz=function(e,n,r,s){var o=e.ratio,l=n<0||!n&&(!e._start&&uz(e)&&!(!e._initted&&X0(e))||(e._ts<0||e._dp._ts<0)&&!X0(e))?0:1,c=e._rDelay,f=0,h,p,g;if(c&&e._repeat&&(f=sf(0,e._tDur,n),p=Tc(f,c),e._yoyo&&p&1&&(l=1-l),p!==Tc(e._tTime,c)&&(o=1-l,e.vars.repeatRefresh&&e._initted&&e.invalidate())),l!==o||Vn||s||e._zTime===_t||!n&&e._zTime){if(!e._initted&&lN(e,n,s,r,f))return;for(g=e._zTime,e._zTime=n||(r?_t:0),r||(r=n&&!g),e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=f,h=e._pt;h;)h.r(l,h.d),h=h._next;n<0&&J0(e,n,r,!0),e._onUpdate&&!r&&Jr(e,"onUpdate"),f&&e._repeat&&!r&&e.parent&&Jr(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===l&&(l&&zo(e,1),!r&&!Vn&&(Jr(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},fz=function(e,n,r){var s;if(r>n)for(s=e._first;s&&s._start<=r;){if(s.data==="isPause"&&s._start>n)return s;s=s._next}else for(s=e._last;s&&s._start>=r;){if(s.data==="isPause"&&s._start<n)return s;s=s._prev}},Ec=function(e,n,r,s){var o=e._repeat,l=It(n)||0,c=e._tTime/e._tDur;return c&&!s&&(e._time*=l/e._dur),e._dur=l,e._tDur=o?o<0?1e10:It(l*(o+1)+e._rDelay*o):l,c>0&&!s&&hm(e,e._tTime=e._tDur*c),e.parent&&fm(e),r||Ua(e.parent,e),e},B2=function(e){return e instanceof Pr?Ua(e):Ec(e,e._dur)},hz={_start:0,endTime:jd,totalDuration:jd},fs=function t(e,n,r){var s=e.labels,o=e._recent||hz,l=e.duration()>=ws?o.endTime(!1):e._dur,c,f,h;return On(n)&&(isNaN(n)||n in s)?(f=n.charAt(0),h=n.substr(-1)==="%",c=n.indexOf("="),f==="<"||f===">"?(c>=0&&(n=n.replace(/=/,"")),(f==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(n.substr(1))||0)*(h?(c<0?o:r).totalDuration()/100:1)):c<0?(n in s||(s[n]=l),s[n]):(f=parseFloat(n.charAt(c-1)+n.substr(c+1)),h&&r&&(f=f/100*(nr(r)?r[0]:r).totalDuration()),c>1?t(e,n.substr(0,c-1),r)+f:l+f)):n==null?l:+n},sd=function(e,n,r){var s=Fi(n[1]),o=(s?2:1)+(e<2?0:1),l=n[o],c,f;if(s&&(l.duration=n[1]),l.parent=r,e){for(c=l,f=r;f&&!("immediateRender"in c);)c=f.vars.defaults||{},f=Ar(f.vars.inherit)&&f.parent;l.immediateRender=Ar(c.immediateRender),e<2?l.runBackwards=1:l.startAt=n[o-1]}return new on(n[0],l,n[o+1])},Ko=function(e,n){return e||e===0?n(e):n},sf=function(e,n,r){return r<e?e:r>n?n:r},Zn=function(e,n){return!On(e)||!(n=nz.exec(e))?"":n[1]},pz=function(e,n,r){return Ko(r,function(s){return sf(e,n,s)})},Q0=[].slice,cN=function(e,n){return e&&fi(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&fi(e[0]))&&!e.nodeType&&e!==Js},mz=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(s){var o;return On(s)&&!n||cN(s,1)?(o=r).push.apply(o,bs(s)):r.push(s)})||r},bs=function(e,n,r){return Ot&&!n&&Ot.selector?Ot.selector(e):On(e)&&!r&&(Y0||!jc())?Q0.call((n||Ix).querySelectorAll(e),0):nr(e)?mz(e,r):cN(e)?Q0.call(e,0):e?[e]:[]},Z0=function(e){return e=bs(e)[0]||Ed("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return bs(n,r.querySelectorAll?r:r===e?Ed("Invalid scope")||Ix.createElement("div"):e)}},uN=function(e){return e.sort(function(){return .5-Math.random()})},dN=function(e){if(Ht(e))return e;var n=fi(e)?e:{each:e},r=za(n.ease),s=n.from||0,o=parseFloat(n.base)||0,l={},c=s>0&&s<1,f=isNaN(s)||c,h=n.axis,p=s,g=s;return On(s)?p=g={center:.5,edges:.5,end:1}[s]||0:!c&&f&&(p=s[0],g=s[1]),function(v,x,k){var b=(k||n).length,_=l[b],C,j,T,N,P,D,M,O,z;if(!_){if(z=n.grid==="auto"?0:(n.grid||[1,ws])[1],!z){for(M=-ws;M<(M=k[z++].getBoundingClientRect().left)&&z<b;);z<b&&z--}for(_=l[b]=[],C=f?Math.min(z,b)*p-.5:s%z,j=z===ws?0:f?b*g/z-.5:s/z|0,M=0,O=ws,D=0;D<b;D++)T=D%z-C,N=j-(D/z|0),_[D]=P=h?Math.abs(h==="y"?N:T):Gj(T*T+N*N),P>M&&(M=P),P<O&&(O=P);s==="random"&&uN(_),_.max=M-O,_.min=O,_.v=b=(parseFloat(n.amount)||parseFloat(n.each)*(z>b?b-1:h?h==="y"?b/z:z:Math.max(z,b/z))||0)*(s==="edges"?-1:1),_.b=b<0?o-b:o,_.u=Zn(n.amount||n.each)||0,r=r&&b<0?jz(r):r}return b=(_[v]-_.min)/_.max||0,It(_.b+(r?r(b):b)*_.v)+_.u}},ev=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var s=It(Math.round(parseFloat(r)/e)*e*n);return(s-s%1)/n+(Fi(r)?0:Zn(r))}},fN=function(e,n){var r=nr(e),s,o;return!r&&fi(e)&&(s=r=e.radius||ws,e.values?(e=bs(e.values),(o=!Fi(e[0]))&&(s*=s)):e=ev(e.increment)),Ko(n,r?Ht(e)?function(l){return o=e(l),Math.abs(o-l)<=s?o:l}:function(l){for(var c=parseFloat(o?l.x:l),f=parseFloat(o?l.y:0),h=ws,p=0,g=e.length,v,x;g--;)o?(v=e[g].x-c,x=e[g].y-f,v=v*v+x*x):v=Math.abs(e[g]-c),v<h&&(h=v,p=g);return p=!s||h<=s?e[p]:l,o||p===l||Fi(l)?p:p+Zn(l)}:ev(e))}
vendor: 5,256 bytes, line 415
415,hN=function(e,n,r,s){return Ko(nr(e)?!n:r===!0?!!(r=0):!s,function(){return nr(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(s=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*s)/s})},gz=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(s){return n.reduce(function(o,l){return l(o)},s)}},yz=function(e,n){return function(r){return e(parseFloat(r))+(n||Zn(r))}},vz=function(e,n,r){return mN(e,n,0,1,r)},pN=function(e,n,r){return Ko(r,function(s){return e[~~n(s)]})},xz=function t(e,n,r){var s=n-e;return nr(e)?pN(e,t(0,e.length),n):Ko(r,function(o){return(s+(o-e)%s)%s+e})},wz=function t(e,n,r){var s=n-e,o=s*2;return nr(e)?pN(e,t(0,e.length-1),n):Ko(r,function(l){return l=(o+(l-e)%o)%o||0,e+(l>s?o-l:l)})},Nd=function(e){return e.replace(ZU,function(n){var r=n.indexOf("[")+1,s=n.substring(r||7,r?n.indexOf("]"):n.length-1).split(ez);return hN(r?s:+s[0],r?0:+s[1],+s[2]||1e-5)})},mN=function(e,n,r,s,o){var l=n-e,c=s-r;return Ko(o,function(f){return r+((f-e)/l*c||0)})},bz=function t(e,n,r,s){var o=isNaN(e+n)?0:function(x){return(1-x)*e+x*n};if(!o){var l=On(e),c={},f,h,p,g,v;if(r===!0&&(s=1)&&(r=null),l)e={p:e},n={p:n};else if(nr(e)&&!nr(n)){for(p=[],g=e.length,v=g-2,h=1;h<g;h++)p.push(t(e[h-1],e[h]));g--,o=function(k){k*=g;var b=Math.min(v,~~k);return p[b](k-b)},r=n}else s||(e=kc(nr(e)?[]:{},e));if(!p){for(f in n)$x.call(c,e,f,"get",n[f]);o=function(k){return Gx(k,c)||(l?e.p:e)}}}return Ko(r,o)},U2=function(e,n,r){var s=e.labels,o=ws,l,c,f;for(l in s)c=s[l]-n,c<0==!!r&&c&&o>(c=Math.abs(c))&&(f=l,o=c);return f},Jr=function(e,n,r){var s=e.vars,o=s[n],l=Ot,c=e._ctx,f,h,p;if(o)return f=s[n+"Params"],h=s.callbackScope||e,r&&Do.length&&Dp(),c&&(Ot=c),p=f?o.apply(h,f):o.call(h),Ot=l,p},zu=function(e){return zo(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Vn),e.progress()<1&&Jr(e,"onInterrupt"),e},Xl,gN=[],yN=function(e){if(e)if(e=!e.name&&e.default||e,Dx()||e.headless){var n=e.name,r=Ht(e),s=n&&!r&&e.init?function(){this._props=[]}:e,o={init:jd,render:Gx,add:$x,kill:Fz,modifier:Iz,rawVars:0},l={targetTest:0,get:0,getSetter:qx,aliases:{},register:0};if(jc(),e!==s){if(qr[n])return;ts(s,ts(Ip(e,o),l)),kc(s.prototype,kc(o,Ip(e,l))),qr[s.prop=n]=s,e.targetTest&&(ap.push(s),Bx[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Zj(n,s),e.register&&e.register(Dr,s,Mr)}else gN.push(e)},bt=255,Vu={aqua:[0,bt,bt],lime:[0,bt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,bt],navy:[0,0,128],white:[bt,bt,bt],olive:[128,128,0],yellow:[bt,bt,0],orange:[bt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[bt,0,0],pink:[bt,192,203],cyan:[0,bt,bt],transparent:[bt,bt,bt,0]},Oy=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*bt+.5|0},vN=function(e,n,r){var s=e?Fi(e)?[e>>16,e>>8&bt,e&bt]:0:Vu.black,o,l,c,f,h,p,g,v,x,k;if(!s){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Vu[e])s=Vu[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),l=e.charAt(2),c=e.charAt(3),e="#"+o+o+l+l+c+c+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return s=parseInt(e.substr(1,6),16),[s>>16,s>>8&bt,s&bt,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),s=[e>>16,e>>8&bt,e&bt]}else if(e.substr(0,3)==="hsl"){if(s=k=e.match(L2),!n)f=+s[0]%360/360,h=+s[1]/100,p=+s[2]/100,l=p<=.5?p*(h+1):p+h-p*h,o=p*2-l,s.length>3&&(s[3]*=1),s[0]=Oy(f+1/3,o,l),s[1]=Oy(f,o,l),s[2]=Oy(f-1/3,o,l);else if(~e.indexOf("="))return s=e.match(Kj),r&&s.length<4&&(s[3]=1),s}else s=e.match(L2)||Vu.transparent;s=s.map(Number)}return n&&!k&&(o=s[0]/bt,l=s[1]/bt,c=s[2]/bt,g=Math.max(o,l,c),v=Math.min(o,l,c),p=(g+v)/2,g===v?f=h=0:(x=g-v,h=p>.5?x/(2-g-v):x/(g+v),f=g===o?(l-c)/x+(l<c?6:0):g===l?(c-o)/x+2:(o-l)/x+4,f*=60),s[0]=~~(f+.5),s[1]=~~(h*100+.5),s[2]=~~(p*100+.5)),r&&s.length<4&&(s[3]=1),s},xN=function(e){var n=[],r=[],s=-1;return e.split(Io).forEach(function(o){var l=o.match(Jl)||[];n.push.apply(n,l),r.push(s+=l.length+1)}),n.c=r,n},z2=function(e,n,r){var s="",o=(e+s).match(Io),l=n?"hsla(":"rgba(",c=0,f,h,p,g;if(!o)return e;if(o=o.map(function(v){return(v=vN(v,n,1))&&l+(n?v[0]+","+v[1]+"%,"+v[2]+"%,"+v[3]:v.join(","))+")"}),r&&(p=xN(e),f=r.c,f.join(s)!==p.c.join(s)))for(h=e.replace(Io,"1").split(Jl),g=h.length-1;c<g;c++)s+=h[c]+(~f.indexOf(c)?o.shift()||l+"0,0,0,0)":(p.length?p:o.length?o:r).shift());if(!h)for(h=e.split(Io),g=h.length-1;c<g;c++)s+=h[c]+o[c];return s+h[g]},Io=(function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Vu)t+="|"+e+"\\b";return new RegExp(t+")","gi")})(),_z=/hsl[a]?\(/,wN=function(e){var n=e.join(" "),r;if(Io.lastIndex=0,Io.test(n))return r=_z.test(n),e[1]=z2(e[1],r),e[0]=z2(e[0],r,xN(e[1])),!0},Pd,Yr=(function(){var t=Date.now,e=500,n=33,r=t(),s=r,o=1e3/240,l=o,c=[],f,h,p,g,v,x,k=function b(_){var C=t()-s,j=_===!0,T,N,P,D;if((C>e||C<0)&&(r+=C-n),s+=C,P=s-r,T=P-l,(T>0||j)&&(D=++g.frame,v=P-g.time*1e3,g.time=P=P/1e3,l+=T+(T>=o?4:o-T),N=1),j||(f=h(b)),N)for(x=0;x<c.length;x++)c[x](P,v,D,_)};return g={time:0,frame:0,tick:function(){k(!0)},deltaRatio:function(_){return v/(1e3/(_||60))},wake:function(){Xj&&(!Y0&&Dx()&&(Js=Y0=window,Ix=Js.document||{}
vendor: 8,117 bytes, line 415
415,es.gsap=Dr,(Js.gsapVersions||(Js.gsapVersions=[])).push(Dr.version),Qj(Lp||Js.GreenSockGlobals||!Js.gsap&&Js||{}),gN.forEach(yN)),p=typeof requestAnimationFrame<"u"&&requestAnimationFrame,f&&g.sleep(),h=p||function(_){return setTimeout(_,l-g.time*1e3+1|0)},Pd=1,k(2))},sleep:function(){(p?cancelAnimationFrame:clearTimeout)(f),Pd=0,h=jd},lagSmoothing:function(_,C){e=_||1/0,n=Math.min(C||33,e)},fps:function(_){o=1e3/(_||240),l=g.time*1e3+o},add:function(_,C,j){var T=C?function(N,P,D,M){_(N,P,D,M),g.remove(T)}:_;return g.remove(_),c[j?"unshift":"push"](T),jc(),T},remove:function(_,C){~(C=c.indexOf(_))&&c.splice(C,1)&&x>=C&&x--},_listeners:c},g})(),jc=function(){return!Pd&&Yr.wake()},ot={},Sz=/^[\d.\-M][\d.\-,\s]/,Cz=/["']/g,kz=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),s=r[0],o=1,l=r.length,c,f,h;o<l;o++)f=r[o],c=o!==l-1?f.lastIndexOf(","):f.length,h=f.substr(0,c),n[s]=isNaN(h)?h.replace(Cz,"").trim():+h,s=f.substr(c+1).trim();return n},Tz=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),s=e.indexOf("(",n);return e.substring(n,~s&&s<r?e.indexOf(")",r+1):r)},Ez=function(e){var n=(e+"").split("("),r=ot[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[kz(n[1])]:Tz(e).split(",").map(rN)):ot._CE&&Sz.test(e)?ot._CE("",e):r},jz=function(e){return function(n){return 1-e(1-n)}},za=function(e,n){return e&&(Ht(e)?e:ot[e]||Ez(e))||n},al=function(e,n,r,s){r===void 0&&(r=function(f){return 1-n(1-f)}),s===void 0&&(s=function(f){return f<.5?n(f*2)/2:1-n((1-f)*2)/2});var o={easeIn:n,easeOut:r,easeInOut:s},l;return Or(e,function(c){ot[c]=es[c]=o,ot[l=c.toLowerCase()]=r;for(var f in o)ot[l+(f==="easeIn"?".in":f==="easeOut"?".out":".inOut")]=ot[c+"."+f]=o[f]}),o},bN=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},My=function t(e,n,r){var s=n>=1?n:1,o=(r||(e?.3:.45))/(n<1?n:1),l=o/G0*(Math.asin(1/s)||0),c=function(p){return p===1?1:s*Math.pow(2,-10*p)*QU((p-l)*o)+1},f=e==="out"?c:e==="in"?function(h){return 1-c(1-h)}:bN(c);return o=G0/o,f.config=function(h,p){return t(e,h,p)},f},Ly=function t(e,n){n===void 0&&(n=1.70158);var r=function(l){return l?--l*l*((n+1)*l+n)+1:0},s=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:bN(r);return s.config=function(o){return t(e,o)},s};Or("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;al(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})});ot.Linear.easeNone=ot.none=ot.Linear.easeIn;al("Elastic",My("in"),My("out"),My());(function(t,e){var n=1/e,r=2*n,s=2.5*n,o=function(c){return c<n?t*c*c:c<r?t*Math.pow(c-1.5/e,2)+.75:c<s?t*(c-=2.25/e)*c+.9375:t*Math.pow(c-2.625/e,2)+.984375};al("Bounce",function(l){return 1-o(1-l)},o)})(7.5625,2.75);al("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)});al("Circ",function(t){return-(Gj(1-t*t)-1)});al("Sine",function(t){return t===1?1:-XU(t*KU)+1});al("Back",Ly("in"),Ly("out"),Ly());ot.SteppedEase=ot.steps=es.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,s=e+(n?0:1),o=n?1:0,l=1-_t;return function(c){return((s*sf(0,l,c)|0)+o)*r}}};Td.ease=ot["quad.out"];Or("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Ux+=t+","+t+"Params,"});var _N=function(e,n){this.id=JU++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:tN,this.set=n?n.getSetter:qx},Rd=(function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,Ec(this,+n.duration,1,1),this.data=n.data,Ot&&(this._ctx=Ot,Ot.data.push(this)),Pd||Yr.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Ec(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,s){if(jc(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(hm(this,r),!o._dp||o.parent||oN(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&ti(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!s||this._initted&&Math.abs(this._zTime)===_t||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),nN(this,r,s)),this},e.time=function(r,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+F2(this))%(this._dur+this._rDelay)||(r?this._dur:0),s):this._time},e.totalProgress=function(r,s){return arguments.length?this.totalTime(this.totalDuration()*r,s):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,s){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+F2(this),s):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,s){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,s):this._repeat?Tc(this._tTime,o)+1:1},e.timeScale=function(r,s){if(!arguments.length)return this._rts===-_t?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?Fp(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-_t?0:this._rts,this.totalTime(sf(-Math.abs(this._delay),this.totalDuration(),o),s!==!1),fm(this),lz(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(jc(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_t&&(this._tTime-=_t)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=It(r);var s=this.parent||this._dp;return s&&(s._sort||!this.parent)&&ti(s,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Ar(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var s=this.parent||this._dp;return s?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Fp(s.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=sz);var s=Vn;return Vn=r,Vx(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Vn=s,this},e.globalTime=function(r){for(var s=this,o=arguments.length?r:s.rawTime();s;)o=s._start+o/(Math.abs(s._ts)||1),s=s._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,B2(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var s=this._time;return this._rDelay=r,B2(this),s?this.time(s):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,s){return this.totalTime(fs(this,r),Ar(s))},e.restart=function(r,s){return this.play().totalTime(r?-this._delay:0,Ar(s)),this._dur||(this._zTime=-_t),this},e.play=function(r,s){return r!=null&&this.seek(r,s),this.reversed(!1).paused(!1)},e.reverse=function(r,s){return r!=null&&this.seek(r||this.totalDuration(),s),this.reversed(!0).paused(!1)},e.pause=function(r,s){return r!=null&&this.seek(r,s),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-_t:0)),this):this._rts<0}
vendor: 17,535 bytes, line 415
415,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_t,this},e.isActive=function(){var r=this.parent||this._dp,s=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=s&&o<this.endTime(!0)-_t)},e.eventCallback=function(r,s,o){var l=this.vars;return arguments.length>1?(s?(l[r]=s,o&&(l[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=s)):delete l[r],this):l[r]},e.then=function(r){var s=this,o=s._prom;return new Promise(function(l){var c=Ht(r)?r:sN,f=function(){var p=s.then;s.then=null,o&&o(),Ht(c)&&(c=c(s))&&(c.then||c===s)&&(s.then=p),l(c),s.then=p};s._initted&&s.totalProgress()===1&&s._ts>=0||!s._tTime&&s._ts<0?f():s._prom=f})},e.kill=function(){zu(this)},t})();ts(Rd.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:-_t,_prom:0,_ps:!1,_rts:1});var Pr=(function(t){qj(e,t);function e(r,s){var o;return r===void 0&&(r={}),o=t.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=Ar(r.sortChildren),Ft&&ti(r.parent||Ft,Ti(o),s),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&aN(Ti(o),r.scrollTrigger),o}var n=e.prototype;return n.to=function(s,o,l){return sd(0,arguments,this),this},n.from=function(s,o,l){return sd(1,arguments,this),this},n.fromTo=function(s,o,l,c){return sd(2,arguments,this),this},n.set=function(s,o,l){return o.duration=0,o.parent=this,rd(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new on(s,o,fs(this,l),1),this},n.call=function(s,o,l){return ti(this,on.delayedCall(0,s,o),l)},n.staggerTo=function(s,o,l,c,f,h,p){return l.duration=o,l.stagger=l.stagger||c,l.onComplete=h,l.onCompleteParams=p,l.parent=this,new on(s,l,fs(this,f)),this},n.staggerFrom=function(s,o,l,c,f,h,p){return l.runBackwards=1,rd(l).immediateRender=Ar(l.immediateRender),this.staggerTo(s,o,l,c,f,h,p)},n.staggerFromTo=function(s,o,l,c,f,h,p,g){return c.startAt=l,rd(c).immediateRender=Ar(c.immediateRender),this.staggerTo(s,o,c,f,h,p,g)},n.render=function(s,o,l){var c=this._time,f=this._dirty?this.totalDuration():this._tDur,h=this._dur,p=s<=0?0:It(s),g=this._zTime<0!=s<0&&(this._initted||!h),v,x,k,b,_,C,j,T,N,P,D,M;if(this!==Ft&&p>f&&s>=0&&(p=f),p!==this._tTime||l||g){if(c!==this._time&&h&&(p+=this._time-c,s+=this._time-c),v=p,N=this._start,T=this._ts,C=!T,g&&(h||(c=this._zTime),(s||!o)&&(this._zTime=s)),this._repeat){if(D=this._yoyo,_=h+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(_*100+s,o,l);if(v=It(p%_),p===f?(b=this._repeat,v=h):(P=It(p/_),b=~~P,b&&b===P&&(v=h,b--),v>h&&(v=h)),P=Tc(this._tTime,_),!c&&this._tTime&&P!==b&&this._tTime-P*_-this._dur<=0&&(P=b),D&&b&1&&(v=h-v,M=1),b!==P&&!this._lock){var O=D&&P&1,z=O===(D&&b&1);if(b<P&&(O=!O),c=O?0:p%h?h:p,this._lock=1,this.render(c||(M?0:It(b*_)),o,!h)._lock=0,this._tTime=p,!o&&this.parent&&Jr(this,"onRepeat"),this.vars.repeatRefresh&&!M&&(this.invalidate()._lock=1,P=b),c&&c!==this._time||C!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,f=this._tDur,z&&(this._lock=2,c=O?h:-1e-4,this.render(c,!0),this.vars.repeatRefresh&&!M&&this.invalidate()),this._lock=0,!this._ts&&!C)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(j=fz(this,It(c),It(v)),j&&(p-=v-(v=j._start))),this._tTime=p,this._time=v,this._act=!!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=s,c=0),!c&&p&&h&&!o&&!P&&(Jr(this,"onStart"),this._tTime!==p))return this;if(v>=c&&s>=0)for(x=this._first;x;){if(k=x._next,(x._act||v>=x._start)&&x._ts&&j!==x){if(x.parent!==this)return this.render(s,o,l);if(x.render(x._ts>0?(v-x._start)*x._ts:(x._dirty?x.totalDuration():x._tDur)+(v-x._start)*x._ts,o,l),v!==this._time||!this._ts&&!C){j=0,k&&(p+=this._zTime=-_t);break}}x=k}else{x=this._last;for(var V=s<0?s:v;x;){if(k=x._prev,(x._act||V<=x._end)&&x._ts&&j!==x){if(x.parent!==this)return this.render(s,o,l);if(x.render(x._ts>0?(V-x._start)*x._ts:(x._dirty?x.totalDuration():x._tDur)+(V-x._start)*x._ts,o,l||Vn&&Vx(x)),v!==this._time||!this._ts&&!C){j=0,k&&(p+=this._zTime=V?-_t:_t);break}}x=k}}if(j&&!o&&(this.pause(),j.render(v>=c?0:-_t)._zTime=v>=c?1:-1,this._ts))return this._start=N,fm(this),this.render(s,o,l);this._onUpdate&&!o&&Jr(this,"onUpdate",!0),(p===f&&this._tTime>=this.totalDuration()||!p&&c)&&(N===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((s||!h)&&(p===f&&this._ts>0||!p&&this._ts<0)&&zo(this,1),!o&&!(s<0&&!c)&&(p||c||!f)&&(Jr(this,p===f&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(p<f&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(s,o){var l=this;if(Fi(o)||(o=fs(this,o,s)),!(s instanceof Rd)){if(nr(s))return s.forEach(function(c){return l.add(c,o)}),this;if(On(s))return this.addLabel(s,o);if(Ht(s))s=on.delayedCall(0,s);else return this}return this!==s?ti(this,s,o):this},n.getChildren=function(s,o,l,c){s===void 0&&(s=!0),o===void 0&&(o=!0),l===void 0&&(l=!0),c===void 0&&(c=-ws);for(var f=[],h=this._first;h;)h._start>=c&&(h instanceof on?o&&f.push(h):(l&&f.push(h),s&&f.push.apply(f,h.getChildren(!0,o,l)))),h=h._next;return f},n.getById=function(s){for(var o=this.getChildren(1,1,1),l=o.length;l--;)if(o[l].vars.id===s)return o[l]},n.remove=function(s){return On(s)?this.removeLabel(s):Ht(s)?this.killTweensOf(s):(s.parent===this&&dm(this,s),s===this._recent&&(this._recent=this._last),Ua(this))},n.totalTime=function(s,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=It(Yr.time-(this._ts>0?s/this._ts:(this.totalDuration()-s)/-this._ts))),t.prototype.totalTime.call(this,s,o),this._forcing=0,this):this._tTime},n.addLabel=function(s,o){return this.labels[s]=fs(this,o),this},n.removeLabel=function(s){return delete this.labels[s],this},n.addPause=function(s,o,l){var c=on.delayedCall(0,o||jd,l);return c.data="isPause",this._hasPause=1,ti(this,c,fs(this,s))},n.removePause=function(s){var o=this._first;for(s=fs(this,s);o;)o._start===s&&o.data==="isPause"&&zo(o),o=o._next},n.killTweensOf=function(s,o,l){for(var c=this.getTweensOf(s,l),f=c.length;f--;)Eo!==c[f]&&c[f].kill(s,o);return this},n.getTweensOf=function(s,o){for(var l=[],c=bs(s),f=this._first,h=Fi(o),p;f;)f instanceof on?iz(f._targets,c)&&(h?(!Eo||f._initted&&f._ts)&&f.globalTime(0)<=o&&f.globalTime(f.totalDuration())>o:!o||f.isActive())&&l.push(f):(p=f.getTweensOf(c,o)).length&&l.push.apply(l,p),f=f._next;return l},n.tweenTo=function(s,o){o=o||{};var l=this,c=fs(l,s),f=o,h=f.startAt,p=f.onStart,g=f.onStartParams,v=f.immediateRender,x,k=on.to(l,ts({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:c,overwrite:"auto",duration:o.duration||Math.abs((c-(h&&"time"in h?h.time:l._time))/l.timeScale())||_t,onStart:function(){if(l.pause(),!x){var _=o.duration||Math.abs((c-(h&&"time"in h?h.time:l._time))/l.timeScale());k._dur!==_&&Ec(k,_,0,1).render(k._time,!0,!0),x=1}p&&p.apply(k,g||[])}},o));return v?k.render(0):k},n.tweenFromTo=function(s,o,l){return this.tweenTo(o,ts({startAt:{time:fs(this,s)}},l))},n.recent=function(){return this._recent},n.nextLabel=function(s){return s===void 0&&(s=this._time),U2(this,fs(this,s))},n.previousLabel=function(s){return s===void 0&&(s=this._time),U2(this,fs(this,s),1)},n.currentLabel=function(s){return arguments.length?this.seek(s,!0):this.previousLabel(this._time+_t)},n.shiftChildren=function(s,o,l){l===void 0&&(l=0);var c=this._first,f=this.labels,h;for(s=It(s);c;)c._start>=l&&(c._start+=s,c._end+=s),c=c._next;if(o)for(h in f)f[h]>=l&&(f[h]+=s);return Ua(this)},n.invalidate=function(s){var o=this._first;for(this._lock=0;o;)o.invalidate(s),o=o._next;return t.prototype.invalidate.call(this,s)},n.clear=function(s){s===void 0&&(s=!0);for(var o=this._first,l;o;)l=o._next,this.remove(o),o=l;return this._dp&&(this._time=this._tTime=this._pTime=0),s&&(this.labels={}),Ua(this)},n.totalDuration=function(s){var o=0,l=this,c=l._last,f=ws,h,p,g;if(arguments.length)return l.timeScale((l._repeat<0?l.duration():l.totalDuration())/(l.reversed()?-s:s));if(l._dirty){for(g=l.parent;c;)h=c._prev,c._dirty&&c.totalDuration(),p=c._start,p>f&&l._sort&&c._ts&&!l._lock?(l._lock=1,ti(l,c,p-c._delay,1)._lock=0):f=p,p<0&&c._ts&&(o-=p,(!g&&!l._dp||g&&g.smoothChildTiming)&&(l._start+=It(p/l._ts),l._time-=p,l._tTime-=p),l.shiftChildren(-p,!1,-1/0),f=0),c._end>o&&c._ts&&(o=c._end),c=h;Ec(l,l===Ft&&l._time>o?l._time:o,1,1),l._dirty=0}return l._tDur},e.updateRoot=function(s){if(Ft._ts&&(nN(Ft,Fp(s,Ft)),eN=Yr.frame),Yr.frame>=D2){D2+=Qr.autoSleep||120;var o=Ft._first;if((!o||!o._ts)&&Qr.autoSleep&&Yr._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||Yr.sleep()}}},e})(Rd);ts(Pr.prototype,{_lock:0,_hasPause:0,_forcing:0});var Nz=function(e,n,r,s,o,l,c){var f=new Mr(this._pt,e,n,0,1,jN,null,o),h=0,p=0,g,v,x,k,b,_,C,j;for(f.b=r,f.e=s,r+="",s+="",(C=~s.indexOf("random("))&&(s=Nd(s)),l&&(j=[r,s],l(j,e,n),r=j[0],s=j[1]),v=r.match(Ry)||[];g=Ry.exec(s);)k=g[0],b=s.substring(h,g.index),x?x=(x+1)%5:b.substr(-5)==="rgba("&&(x=1),k!==v[p++]&&(_=parseFloat(v[p-1])||0,f._pt={_next:f._pt,p:b||p===1?b:",",s:_,c:k.charAt(1)==="="?ec(_,k)-_:parseFloat(k)-_,m:x&&x<4?Math.round:0},h=Ry.lastIndex);return f.c=h<s.length?s.substring(h,s.length):"",f.fp=c,(Jj.test(s)||C)&&(f.e=0),this._pt=f,f},$x=function(e,n,r,s,o,l,c,f,h,p){Ht(s)&&(s=s(o||0,e,l));var g=e[n],v=r!=="get"?r:Ht(g)?h?e[n.indexOf("set")||!Ht(e["get"+n.substr(3)])?n:"get"+n.substr(3)](h):e[n]():g,x=Ht(g)?h?Mz:TN:Hx,k;if(On(s)&&(~s.indexOf("random(")&&(s=Nd(s)),s.charAt(1)==="="&&(k=ec(v,s)+(Zn(v)||0),(k||k===0)&&(s=k))),!p||v!==s||tv)return!isNaN(v*s)&&s!==""?(k=new Mr(this._pt,e,n,+v||0,s-(v||0),typeof g=="boolean"?Dz:EN,0,x),h&&(k.fp=h),c&&k.modifier(c,this,e),this._pt=k):(!g&&!(n in e)&&Fx(n,s),Nz.call(this,e,n,v,s,x,f||Qr.stringFilter,h))},Pz=function(e,n,r,s,o){if(Ht(e)&&(e=id(e,o,n,r,s)),!fi(e)||e.style&&e.nodeType||nr(e)||Yj(e))return On(e)?id(e,o,n,r,s):e;var l={},c;for(c in e)l[c]=id(e[c],o,n,r,s);return l},SN=function(e,n,r,s,o,l){var c,f,h,p;if(qr[e]&&(c=new qr[e]).init(o,c.rawVars?n[e]:Pz(n[e],s,o,l,r),r,s,l)!==!1&&(r._pt=f=new Mr(r._pt,o,e,0,1,c.render,c,0,c.priority),r!==Xl))for(h=r._ptLookup[r._targets.indexOf(o)],p=c._props.length;p--;)h[c._props[p]]=f;return c},Eo,tv,Wx=function t(e,n,r){var s=e.vars,o=s.ease,l=s.startAt,c=s.immediateRender,f=s.lazy,h=s.onUpdate,p=s.runBackwards,g=s.yoyoEase,v=s.keyframes,x=s.autoRevert,k=e._dur,b=e._startAt,_=e._targets,C=e.parent,j=C&&C.data==="nested"?C.vars.targets:_,T=e._overwrite==="auto"&&!Mx,N=e.timeline,P=s.easeReverse||g,D,M,O,z,V,ne,K,ie,ae,me,re,J,Y;if(N&&(!v||!o)&&(o="none"),e._ease=za(o,Td.ease),e._rEase=P&&(za(P)||e._ease),e._from=!N&&!!s.runBackwards,e._from&&(e.ratio=1),!N||v&&!s.stagger){if(ie=_[0]?Ba(_[0]).harness:0,J=ie&&s[ie.prop],D=Ip(s,Bx),b&&(b._zTime<0&&b.progress(1),n<0&&p&&c&&!x?b.render(-1,!0):b.revert(p&&k?op:rz),b._lazy=0),l){if(zo(e._startAt=on.set(_,ts({data:"isStart",overwrite:!1,parent:C,immediateRender:!0,lazy:!b&&Ar(f),startAt:null,delay:0,onUpdate:h&&function(){return Jr(e,"onUpdate")},stagger:0},l))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Vn||!c&&!x)&&e._startAt.revert(op),c&&k&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(p&&k&&!b){if(n&&(c=!1),O=ts({overwrite:!1,data:"isFromStart",lazy:c&&!b&&Ar(f),immediateRender:c,stagger:0,parent:C},D),J&&(O[ie.prop]=J),zo(e._startAt=on.set(_,O)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Vn?e._startAt.revert(op):e._startAt.render(-1,!0)),e._zTime=n,!c)t(e._startAt,_t,_t);else if(!n)return}for(e._pt=e._ptCache=0,f=k&&Ar(f)||f&&!k,M=0;M<_.length;M++){if(V=_[M],K=V._gsap||zx(_)[M]._gsap,e._ptLookup[M]=me={},K0[K.id]&&Do.length&&Dp(),re=j===_?M:j.indexOf(V),ie&&(ae=new ie).init(V,J||D,e,re,j)!==!1&&(e._pt=z=new Mr(e._pt,V,ae.name,0,1,ae.render,ae,0,ae.priority),ae._props.forEach(function(Z){me[Z]=z}),ae.priority&&(ne=1)),!ie||J)for(O in D)qr[O]&&(ae=SN(O,D,e,re,V,j))?ae.priority&&(ne=1):me[O]=z=$x.call(e,V,O,"get",D[O],re,j,0,s.stringFilter);e._op&&e._op[M]&&e.kill(V,e._op[M]),T&&e._pt&&(Eo=e,Ft.killTweensOf(V,me,e.globalTime(n)),Y=!e.parent,Eo=0),e._pt&&f&&(K0[K.id]=1)}ne&&NN(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!Y,v&&n<=0&&N.render(ws,!0,!0)},Rz=function(e,n,r,s,o,l,c,f){var h=(e._pt&&e._ptCache||(e._ptCache={}))[n],p,g,v,x;if(!h)for(h=e._ptCache[n]=[],v=e._ptLookup,x=e._targets.length;x--;){if(p=v[x][n],p&&p.d&&p.d._pt)for(p=p.d._pt;p&&p.p!==n&&p.fp!==n;)p=p._next;if(!p)return tv=1,e.vars[n]="+=0",Wx(e,c),tv=0,f?Ed(n+" not eligible for reset. Try splitting into individual properties"):1;h.push(p)}for(x=h.length;x--;)g=h[x],p=g._pt||g,p.s=(s||s===0)&&!o?s:p.s+(s||0)+l*p.c,p.c=r-p.s,g.e&&(g.e=Jt(r)+Zn(g.e)),g.b&&(g.b=p.s+Zn(g.b))},Az=function(e,n){var r=e[0]?Ba(e[0]).harness:0,s=r&&r.aliases,o,l,c,f;if(!s)return n;o=kc({},n);for(l in s)if(l in o)for(f=s[l].split(","),c=f.length;c--;)o[f[c]]=o[l];return o},Oz=function(e,n,r,s){var o=n.ease||s||"power1.inOut",l,c;if(nr(n))c=r[e]||(r[e]=[]),n.forEach(function(f,h){return c.push({t:h/(n.length-1)*100,v:f,e:o})});else for(l in n)c=r[l]||(r[l]=[]),l==="ease"||c.push({t:parseFloat(e),v:n[l],e:o})},id=function(e,n,r,s,o){return Ht(e)?e.call(n,r,s,o):On(e)&&~e.indexOf("random(")?Nd(e):e},CN=Ux+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",kN={};Or(CN+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return kN[t]=1});var on=(function(t){qj(e,t);function e(r,s,o,l){var c;typeof s=="number"&&(o.duration=s,s=o,o=null),c=t.call(this,l?s:rd(s))||this;var f=c.vars,h=f.duration,p=f.delay,g=f.immediateRender,v=f.stagger,x=f.overwrite,k=f.keyframes,b=f.defaults,_=f.scrollTrigger,C=s.parent||Ft,j=(nr(r)||Yj(r)?Fi(r[0]):"length"in s)?[r]:bs(r),T,N,P,D,M,O,z,V;if(c._targets=j.length?zx(j):Ed("GSAP target "+r+" not found. https://gsap.com",!Qr.nullTargetWarn)||[],c._ptLookup=[],c._overwrite=x,k||v||_h(h)||_h(p)){s=c.vars;var ne=s.easeReverse||s.yoyoEase;if(T=c.timeline=new Pr({data:"nested",defaults:b||{},targets:C&&C.data==="nested"?C.vars.targets:j}),T.kill(),T.parent=T._dp=Ti(c),T._start=0,v||_h(h)||_h(p)){if(D=j.length,z=v&&dN(v),fi(v))for(M in v)~CN.indexOf(M)&&(V||(V={}),V[M]=v[M]);for(N=0;N<D;N++)P=Ip(s,kN),P.stagger=0,ne&&(P.easeReverse=ne),V&&kc(P,V),O=j[N],P.duration=+id(h,Ti(c),N,O,j),P.delay=(+id(p,Ti(c),N,O,j)||0)-c._delay,!v&&D===1&&P.delay&&(c._delay=p=P.delay,c._start+=p,P.delay=0),T.to(O,P,z?z(N,O,j):0),T._ease=ot.none;T.duration()?h=p=0:c.timeline=0}else if(k){rd(ts(T.vars.defaults,{ease:"none"})),T._ease=za(k.ease||s.ease||"none");var K=0,ie,ae,me;if(nr(k))k.forEach(function(re){return T.to(j,re,">")}),T.duration();else{P={};for(M in k)M==="ease"||M==="easeEach"||Oz(M,k[M],P,k.easeEach);for(M in P)for(ie=P[M].sort(function(re,J){return re.t-J.t}),K=0,N=0;N<ie.length;N++)ae=ie[N],me={ease:ae.e,duration:(ae.t-(N?ie[N-1].t:0))/100*h},me[M]=ae.v,T.to(j,me,K),K+=me.duration;T.duration()<h&&T.to({},{duration:h-T.duration()})}}h||c.duration(h=T.duration())}else c.timeline=0;return x===!0&&!Mx&&(Eo=Ti(c),Ft.killTweensOf(j),Eo=0),ti(C,Ti(c),o),s.reversed&&c.reverse(),s.paused&&c.paused(!0),(g||!h&&!k&&c._start===It(C._time)&&Ar(g)&&cz(Ti(c))&&C.data!=="nested")&&(c._tTime=-_t,c.render(Math.max(0,-p)||0)),_&&aN(Ti(c),_),c}var n=e.prototype;return n.render=function(s,o,l){var c=this._time,f=this._tDur,h=this._dur,p=s<0,g=s>f-_t&&!p?f:s<_t?0:s,v,x,k,b,_,C,j,T;if(!h)dz(this,s,o,l);else if(g!==this._tTime||!s||l||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==p||this._lazy){if(v=g,T=this.timeline,this._repeat){if(b=h+this._rDelay,this._repeat<-1&&p)return this.totalTime(b*100+s,o,l);if(v=It(g%b),g===f?(k=this._repeat,v=h):(_=It(g/b),k=~~_,k&&k===_?(v=h,k--):v>h&&(v=h)),C=this._yoyo&&k&1,C&&(v=h-v),_=Tc(this._tTime,b),v===c&&!l&&this._initted&&k===_)return this._tTime=g,this;k!==_&&this.vars.repeatRefresh&&!C&&!this._lock&&v!==b&&this._initted&&(this._lock=l=1,this.render(It(b*k),!0).invalidate()._lock=0)}if(!this._initted){if(lN(this,p?s:v,l,o,g))return this._tTime=0,this;if(c!==this._time&&!(l&&this.vars.repeatRefresh&&k!==_))return this;if(h!==this._dur)return this.render(s,o,l)}if(this._rEase){var N=v<c;if(N!==this._inv){var P=N?c:h-c;this._inv=N,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=c,this._invRecip=P?(N?-1:1)/P:0,this._invScale=N?-this.ratio:1-this.ratio,this._invEase=N?this._rEase:this._ease}this.ratio=j=this._invRatio+this._invScale*this._invEase((v-this._invTime)*this._invRecip)}else this.ratio=j=this._ease(v/h);if(this._from&&(this.ratio=j=1-j),this._tTime=g,this._time=v,!this._act&&this._ts&&(this._act=1,this._lazy=0),!c&&g&&!o&&!_&&(Jr(this,"onStart"),this._tTime!==g))return this;for(x=this._pt;x;)x.r(j,x.d),x=x._next;T&&T.render(s<0?s:T._dur*T._ease(v/this._dur),o,l)||this._startAt&&(this._zTime=s),this._onUpdate&&!o&&(p&&J0(this,s,o,l),Jr(this,"onUpdate")),this._repeat&&k!==_&&this.vars.onRepeat&&!o&&this.parent&&Jr(this,"onRepeat"),(g===this._tDur||!g)&&this._tTime===g&&(p&&!this._onUpdate&&J0(this,s,!0,!0),(s||!h)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&zo(this,1),!o&&!(p&&!c)&&(g||c||C)&&(Jr(this,g===f?"onComplete":"onReverseComplete",!0),this._prom&&!(g<f&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.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)},n.resetTo=function(s,o,l,c,f){Pd||Yr.wake(),this._ts||this.play();
vendor: 13,190 bytes, lines 415-422
415var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),p;return this._initted||Wx(this,h),p=this._ease(h/this._dur),Rz(this,s,o,l,c,p,h,f)?this.resetTo(s,o,l,c,1):(hm(this,0),this.parent||iN(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(s,o){if(o===void 0&&(o="all"),!s&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?zu(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Vn),this;if(this.timeline){var l=this.timeline.totalDuration();return this.timeline.killTweensOf(s,o,Eo&&Eo.vars.overwrite!==!0)._first||zu(this),this.parent&&l!==this.timeline.totalDuration()&&Ec(this,this._dur*this.timeline._tDur/l,0,1),this}var c=this._targets,f=s?bs(s):c,h=this._ptLookup,p=this._pt,g,v,x,k,b,_,C;if((!o||o==="all")&&az(c,f))return o==="all"&&(this._pt=0),zu(this);for(g=this._op=this._op||[],o!=="all"&&(On(o)&&(b={},Or(o,function(j){return b[j]=1}),o=b),o=Az(c,o)),C=c.length;C--;)if(~f.indexOf(c[C])){v=h[C],o==="all"?(g[C]=o,k=v,x={}):(x=g[C]=g[C]||{},k=o);for(b in k)_=v&&v[b],_&&((!("kill"in _.d)||_.d.kill(b)===!0)&&dm(this,_,"_pt"),delete v[b]),x!=="all"&&(x[b]=1)}return this._initted&&!this._pt&&p&&zu(this),this},e.to=function(s,o){return new e(s,o,arguments[2])},e.from=function(s,o){return sd(1,arguments)},e.delayedCall=function(s,o,l,c){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:s,onComplete:o,onReverseComplete:o,onCompleteParams:l,onReverseCompleteParams:l,callbackScope:c})},e.fromTo=function(s,o,l){return sd(2,arguments)},e.set=function(s,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(s,o)},e.killTweensOf=function(s,o,l){return Ft.killTweensOf(s,o,l)},e})(Rd);ts(on.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Or("staggerTo,staggerFrom,staggerFromTo",function(t){on[t]=function(){var e=new Pr,n=Q0.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Hx=function(e,n,r){return e[n]=r},TN=function(e,n,r){return e[n](r)},Mz=function(e,n,r,s){return e[n](s.fp,r)},Lz=function(e,n,r){return e.setAttribute(n,r)},qx=function(e,n){return Ht(e[n])?TN:Lx(e[n])&&e.setAttribute?Lz:Hx},EN=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},Dz=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},jN=function(e,n){var r=n._pt,s="";if(!e&&n.b)s=n.b;else if(e===1&&n.e)s=n.e;else{for(;r;)s=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+s,r=r._next;s+=n.c}n.set(n.t,n.p,s,n)},Gx=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},Iz=function(e,n,r,s){for(var o=this._pt,l;o;)l=o._next,o.p===s&&o.modifier(e,n,r),o=l},Fz=function(e){for(var n=this._pt,r,s;n;)s=n._next,n.p===e&&!n.op||n.op===e?dm(this,n,"_pt"):n.dep||(r=1),n=s;return!r},Bz=function(e,n,r,s){s.mSet(e,n,s.m.call(s.tween,r,s.mt),s)},NN=function(e){for(var n=e._pt,r,s,o,l;n;){for(r=n._next,s=o;s&&s.pr>n.pr;)s=s._next;(n._prev=s?s._prev:l)?n._prev._next=n:o=n,(n._next=s)?s._prev=n:l=n,n=r}e._pt=o},Mr=(function(){function t(n,r,s,o,l,c,f,h,p){this.t=r,this.s=o,this.c=l,this.p=s,this.r=c||EN,this.d=f||this,this.set=h||Hx,this.pr=p||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,s,o){this.mSet=this.mSet||this.set,this.set=Bz,this.m=r,this.mt=o,this.tween=s},t})();Or(Ux+"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,easeReverse",function(t){return Bx[t]=1});es.TweenMax=es.TweenLite=on;es.TimelineLite=es.TimelineMax=Pr;Ft=new Pr({sortChildren:!1,defaults:Td,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Qr.stringFilter=wN;var Va=[],lp={},Uz=[],V2=0,zz=0,Dy=function(e){return(lp[e]||Uz).map(function(n){return n()})},nv=function(){var e=Date.now(),n=[];e-V2>2&&(Dy("matchMediaInit"),Va.forEach(function(r){var s=r.queries,o=r.conditions,l,c,f,h;for(c in s)l=Js.matchMedia(s[c]).matches,l&&(f=1),l!==o[c]&&(o[c]=l,h=1);h&&(r.revert(),f&&n.push(r))}),Dy("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(s){return r.add(null,s)})}),V2=e,Dy("matchMedia"))},PN=(function(){function t(n,r){this.selector=r&&Z0(r),this.data=[],this._r=[],this.isReverted=!1,this.id=zz++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,s,o){Ht(r)&&(o=s,s=r,r=Ht);var l=this,c=function(){var h=Ot,p=l.selector,g;return h&&h!==l&&h.data.push(l),o&&(l.selector=Z0(o)),Ot=l,g=s.apply(l,arguments),Ht(g)&&l._r.push(g),Ot=h,l.selector=p,l.isReverted=!1,g};return l.last=c,r===Ht?c(l,function(f){return l.add(null,f)}):r?l[r]=c:c},e.ignore=function(r){var s=Ot;Ot=null,r(this),Ot=s},e.getTweens=function(){var r=[];return this.data.forEach(function(s){return s instanceof t?r.push.apply(r,s.getTweens()):s instanceof on&&!(s.parent&&s.parent.data==="nested")&&r.push(s)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,s){var o=this;if(r?(function(){for(var c=o.getTweens(),f=o.data.length,h;f--;)h=o.data[f],h.data==="isFlip"&&(h.revert(),h.getChildren(!0,!0,!1).forEach(function(p){return c.splice(c.indexOf(p),1)}));for(c.map(function(p){return{g:p._dur||p._delay||p._sat&&!p._sat.vars.immediateRender?p.globalTime(0):-1/0,t:p}}).sort(function(p,g){return g.g-p.g||-1/0}).forEach(function(p){return p.t.revert(r)}),f=o.data.length;f--;)h=o.data[f],h instanceof Pr?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof on)&&h.revert&&h.revert(r);o._r.forEach(function(p){return p(r,o)}),o.isReverted=!0})():this.data.forEach(function(c){return c.kill&&c.kill()}),this.clear(),s)for(var l=Va.length;l--;)Va[l].id===this.id&&Va.splice(l,1)},e.revert=function(r){this.kill(r||{})},t})(),Vz=(function(){function t(n){this.contexts=[],this.scope=n,Ot&&Ot.data.push(this)}var e=t.prototype;return e.add=function(r,s,o){fi(r)||(r={matches:r});var l=new PN(0,o||this.scope),c=l.conditions={},f,h,p;Ot&&!l.selector&&(l.selector=Ot.selector),this.contexts.push(l),s=l.add("onMatch",s),l.queries=r;for(h in r)h==="all"?p=1:(f=Js.matchMedia(r[h]),f&&(Va.indexOf(l)<0&&Va.push(l),(c[h]=f.matches)&&(p=1),f.addListener?f.addListener(nv):f.addEventListener("change",nv)));return p&&s(l,function(g){return l.add(null,g)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(s){return s.kill(r,!0)})},t})(),Bp={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(s){return yN(s)})},timeline:function(e){return new Pr(e)},getTweensOf:function(e,n){return Ft.getTweensOf(e,n)},getProperty:function(e,n,r,s){On(e)&&(e=bs(e)[0]);var o=Ba(e||{}).get,l=r?sN:rN;return r==="native"&&(r=""),e&&(n?l((qr[n]&&qr[n].get||o)(e,n,r,s)):function(c,f,h){return l((qr[c]&&qr[c].get||o)(e,c,f,h))})},quickSetter:function(e,n,r){if(e=bs(e),e.length>1){var s=e.map(function(p){return Dr.quickSetter(p,n,r)}),o=s.length;return function(p){for(var g=o;g--;)s[g](p)}}e=e[0]||{};var l=qr[n],c=Ba(e),f=c.harness&&(c.harness.aliases||{})[n]||n,h=l?function(p){var g=new l;Xl._pt=0,g.init(e,r?p+r:p,Xl,0,[e]),g.render(1,g),Xl._pt&&Gx(1,Xl)}:c.set(e,f);return l?h:function(p){return h(e,f,r?p+r:p,c,1)}},quickTo:function(e,n,r){var s,o=Dr.to(e,ts((s={},s[n]="+=0.1",s.paused=!0,s.stagger=0,s),r||{})),l=function(f,h,p){return o.resetTo(n,f,h,p)};return l.tween=o,l},isTweening:function(e){return Ft.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=za(e.ease,Td.ease)),I2(Td,e||{})},config:function(e){return I2(Qr,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,s=e.plugins,o=e.defaults,l=e.extendTimeline;(s||"").split(",").forEach(function(c){return c&&!qr[c]&&!es[c]&&Ed(n+" effect requires "+c+" plugin.")}),Ay[n]=function(c,f,h){return r(bs(c),ts(f||{},o),h)},l&&(Pr.prototype[n]=function(c,f,h){return this.add(Ay[n](c,fi(f)?f:(h=f)&&{},this),h)})},registerEase:function(e,n){ot[e]=za(n)},parseEase:function(e,n){return arguments.length?za(e,n):ot},getById:function(e){return Ft.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Pr(e),s,o;for(r.smoothChildTiming=Ar(e.smoothChildTiming),Ft.remove(r),r._dp=0,r._time=r._tTime=Ft._time,s=Ft._first;s;)o=s._next,(n||!(!s._dur&&s instanceof on&&s.vars.onComplete===s._targets[0]))&&ti(r,s,s._start-s._delay),s=o;return ti(Ft,r,0),r},context:function(e,n){return e?new PN(e,n):Ot},matchMedia:function(e){return new Vz(e)},matchMediaRefresh:function(){return Va.forEach(function(e){var n=e.conditions,r,s;for(s in n)n[s]&&(n[s]=!1,r=1);r&&e.revert()})||nv()},addEventListener:function(e,n){var r=lp[e]||(lp[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=lp[e],s=r&&r.indexOf(n);s>=0&&r.splice(s,1)},utils:{wrap:xz,wrapYoyo:wz,distribute:dN,random:hN,snap:fN,normalize:vz,getUnit:Zn,clamp:pz,splitColor:vN,toArray:bs,selector:Z0,mapRange:mN,pipe:gz,unitize:yz,interpolate:bz,shuffle:uN},install:Qj,effects:Ay,ticker:Yr,updateRoot:Pr.updateRoot,plugins:qr,globalTimeline:Ft,core:{PropTween:Mr,globals:Zj,Tween:on,Timeline:Pr,Animation:Rd,getCache:Ba,_removeLinkedListItem:dm,reverting:function(){return Vn},context:function(e){return e&&Ot&&(Ot.data.push(e),e._ctx=Ot),Ot},suppressOverwrites:function(e){return Mx=e}}};Or("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Bp[t]=on[t]});Yr.add(Pr.updateRoot);Xl=Bp.to({},{duration:0});var $z=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},Wz=function(e,n){var r=e._targets,s,o,l;for(s in n)for(o=r.length;o--;)l=e._ptLookup[o][s],l&&(l=l.d)&&(l._pt&&(l=$z(l,s)),l&&l.modifier&&l.modifier(n[s],e,r[o],s))},Iy=function(e,n){return{name:e,headless:1,rawVars:1,init:function(s,o,l){l._onInit=function(c){var f,h;if(On(o)&&(f={},Or(o,function(p){return f[p]=1}),o=f),n){f={};for(h in o)f[h]=n(o[h]);o=f}Wz(c,o)}}}},Dr=Bp.registerPlugin({name:"attr",init:function(e,n,r,s,o){var l,c,f;this.tween=r;for(l in n)f=e.getAttribute(l)||"",c=this.add(e,"setAttribute",(f||0)+"",n[l],s,o,0,0,l),c.op=l,c.b=f,this._props.push(l)},render:function(e,n){for(var r=n._pt;r;)Vn?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},Iy("roundProps",ev),Iy("modifiers"),Iy("snap",fN))||Bp;on.version=Pr.version=Dr.version="3.15.0";Xj=1;Dx()&&jc();ot.Power0;ot.Power1;ot.Power2;ot.Power3;ot.Power4;ot.Linear;ot.Quad;ot.Cubic;ot.Quart;ot.Quint;ot.Strong;ot.Elastic;ot.Back;ot.SteppedEase;ot.Bounce;ot.Sine;ot.Expo;ot.Circ;/*!
416 * CSSPlugin 3.15.0
417 * https://gsap.com
418 *
419 * Copyright 2008-2026, GreenSock. All rights reserved.
420 * Subject to the terms at https://gsap.com/standard-license
421 * @author: Jack Doyle, [email protected]
422*/var $2,jo,tc,Yx,ka,W2,Kx,Hz=function(){return typeof window<"u"},Bi={},xa=180/Math.PI,nc=Math.PI/180,Ll=Math.atan2,H2=1e8,Jx=/([A-Z])/g,qz=/(left|right|width|margin|padding|x)/i,Gz=/[\s,\(]\S/,si={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},rv=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Yz=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Kz=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},Jz=function(e,n){return n.set(n.t,n.p,e===1?n.e:e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},Xz=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},RN=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},AN=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},Qz=function(e,n,r){return e.style[n]=r},Zz=function(e,n,r){return e.style.setProperty(n,r)},eV=function(e,n,r){return e._gsap[n]=r},tV=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},nV=function(e,n,r,s,o){var l=e._gsap;l.scaleX=l.scaleY=r,l.renderTransform(o,l)},rV=function(e,n,r,s,o){var l=e._gsap;l[n]=r,l.renderTransform(o,l)},Ut="transform",Lr=Ut+"Origin",sV=function t(e,n){var r=this,s=this.target,o=s.style,l=s._gsap;if(e in Bi&&o){if(this.tfm=this.tfm||{},e!=="transform")e=si[e]||e,~e.indexOf(",")?e.split(",").forEach(function(c){return r.tfm[c]=Ei(s,c)}):this.tfm[e]=l.x?l[e]:Ei(s,e),e===Lr&&(this.tfm.zOrigin=l.zOrigin);else return si.transform.split(",").forEach(function(c){return t.call(r,c,n)});if(this.props.indexOf(Ut)>=0)return;l.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(Lr,n,"")),e=Ut}(o||n)&&this.props.push(e,n,o[e])},ON=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},iV=function(){var e=this.props,n=this.target,r=n.style,s=n._gsap,o,l;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?n[e[o]](e[o+2]):n[e[o]]=e[o+2]:e[o+2]?r[e[o]]=e[o+2]:r.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(Jx,"-$1").toLowerCase());if(this.tfm){for(l in this.tfm)s[l]=this.tfm[l];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),o=Kx(),(!o||!o.isStart)&&!r[Ut]&&(ON(r),s.zOrigin&&r[Lr]&&(r[Lr]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},MN=function(e,n){var r={target:e,props:[],revert:iV,save:sV};return e._gsap||Dr.core.getCache(e),n&&e.style&&e.nodeType&&n.split(",").forEach(function(s){return r.s
vendor: 6,466 bytes, line 422
422ave(s)}),r},LN,sv=function(e,n){var r=jo.createElementNS?jo.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):jo.createElement(e);return r&&r.style?r:jo.createElement(e)},Xr=function t(e,n,r){var s=getComputedStyle(e);return s[n]||s.getPropertyValue(n.replace(Jx,"-$1").toLowerCase())||s.getPropertyValue(n)||!r&&t(e,Nc(n)||n,1)||""},q2="O,Moz,ms,Ms,Webkit".split(","),Nc=function(e,n,r){var s=n||ka,o=s.style,l=5;if(e in o&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);l--&&!(q2[l]+e in o););return l<0?null:(l===3?"ms":l>=0?q2[l]:"")+e},iv=function(){Hz()&&window.document&&($2=window,jo=$2.document,tc=jo.documentElement,ka=sv("div")||{style:{}},sv("div"),Ut=Nc(Ut),Lr=Ut+"Origin",ka.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",LN=!!Nc("perspective"),Kx=Dr.core.reverting,Yx=1)},G2=function(e){var n=e.ownerSVGElement,r=sv("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),s=e.cloneNode(!0),o;s.style.display="block",r.appendChild(s),tc.appendChild(r);try{o=s.getBBox()}catch{}return r.removeChild(s),tc.removeChild(r),o},Y2=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},DN=function(e){var n,r;try{n=e.getBBox()}catch{n=G2(e),r=1}return n&&(n.width||n.height)||r||(n=G2(e)),n&&!n.width&&!n.x&&!n.y?{x:+Y2(e,["x","cx","x1"])||0,y:+Y2(e,["y","cy","y1"])||0,width:0,height:0}:n},IN=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&DN(e))},Vo=function(e,n){if(n){var r=e.style,s;n in Bi&&n!==Lr&&(n=Ut),r.removeProperty?(s=n.substr(0,2),(s==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(s==="--"?n:n.replace(Jx,"-$1").toLowerCase())):r.removeAttribute(n)}},No=function(e,n,r,s,o,l){var c=new Mr(e._pt,n,r,0,1,l?AN:RN);return e._pt=c,c.b=s,c.e=o,e._props.push(r),c},K2={deg:1,rad:1,turn:1},oV={grid:1,flex:1},$o=function t(e,n,r,s){var o=parseFloat(r)||0,l=(r+"").trim().substr((o+"").length)||"px",c=ka.style,f=qz.test(n),h=e.tagName.toLowerCase()==="svg",p=(h?"client":"offset")+(f?"Width":"Height"),g=100,v=s==="px",x=s==="%",k,b,_,C;if(s===l||!o||K2[s]||K2[l])return o;if(l!=="px"&&!v&&(o=t(e,n,r,"px")),C=e.getCTM&&IN(e),(x||l==="%")&&(Bi[n]||~n.indexOf("adius")))return k=C?e.getBBox()[f?"width":"height"]:e[p],Jt(x?o/k*g:o/100*k);if(c[f?"width":"height"]=g+(v?l:s),b=s!=="rem"&&~n.indexOf("adius")||s==="em"&&e.appendChild&&!h?e:e.parentNode,C&&(b=(e.ownerSVGElement||{}).parentNode),(!b||b===jo||!b.appendChild)&&(b=jo.body),_=b._gsap,_&&x&&_.width&&f&&_.time===Yr.time&&!_.uncache)return Jt(o/_.width*g);if(x&&(n==="height"||n==="width")){var j=e.style[n];e.style[n]=g+s,k=e[p],j?e.style[n]=j:Vo(e,n)}else(x||l==="%")&&!oV[Xr(b,"display")]&&(c.position=Xr(e,"position")),b===e&&(c.position="static"),b.appendChild(ka),k=ka[p],b.removeChild(ka),c.position="absolute";return f&&x&&(_=Ba(b),_.time=Yr.time,_.width=b[p]),Jt(v?k*o/g:k&&o?g/k*o:0)},Ei=function(e,n,r,s){var o;return Yx||iv(),n in si&&n!=="transform"&&(n=si[n],~n.indexOf(",")&&(n=n.split(",")[0])),Bi[n]&&n!=="transform"?(o=Od(e,s),o=n!=="transformOrigin"?o[n]:o.svg?o.origin:zp(Xr(e,Lr))+" "+o.zOrigin+"px"):(o=e.style[n],(!o||o==="auto"||s||~(o+"").indexOf("calc("))&&(o=Up[n]&&Up[n](e,n,r)||Xr(e,n)||tN(e,n)||(n==="opacity"?1:0))),r&&!~(o+"").trim().indexOf(" ")?$o(e,n,o,r)+r:o},aV=function(e,n,r,s){if(!r||r==="none"){var o=Nc(n,e,1),l=o&&Xr(e,o,1);l&&l!==r?(n=o,r=l):n==="borderColor"&&(r=Xr(e,"borderTopColor"))}var c=new Mr(this._pt,e.style,n,0,1,jN),f=0,h=0,p,g,v,x,k,b,_,C,j,T,N,P;if(c.b=r,c.e=s,r+="",s+="",s.substring(0,6)==="var(--"&&(s=Xr(e,s.substring(4,s.indexOf(")")))),s==="auto"&&(b=e.style[n],e.style[n]=s,s=Xr(e,n)||s,b?e.style[n]=b:Vo(e,n)),p=[r,s],wN(p),r=p[0],s=p[1],v=r.match(Jl)||[],P=s.match(Jl)||[],P.length){for(;g=Jl.exec(s);)_=g[0],j=s.substring(f,g.index),k?k=(k+1)%5:(j.substr(-5)==="rgba("||j.substr(-5)==="hsla(")&&(k=1),_!==(b=v[h++]||"")&&(x=parseFloat(b)||0,N=b.substr((x+"").length),_.charAt(1)==="="&&(_=ec(x,_)+N),C=parseFloat(_),T=_.substr((C+"").length),f=Jl.lastIndex-T.length,T||(T=T||Qr.units[n]||N,f===s.length&&(s+=T,c.e+=T)),N!==T&&(x=$o(e,n,b,T)||0),c._pt={_next:c._pt,p:j||h===1?j:",",s:x,c:C-x,m:k&&k<4||n==="zIndex"?Math.round:0});c.c=f<s.length?s.substring(f,s.length):""}else c.r=n==="display"&&s==="none"?AN:RN;return Jj.test(s)&&(c.e=0),this._pt=c,c},J2={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},lV=function(e){var n=e.split(" "),r=n[0],s=n[1]||"50%";return(r==="top"||r==="bottom"||s==="left"||s==="right")&&(e=r,r=s,s=e),n[0]=J2[r]||r,n[1]=J2[s]||s,n.join(" ")},cV=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,s=r.style,o=n.u,l=r._gsap,c,f,h;if(o==="all"||o===!0)s.cssText="",f=1;else for(o=o.split(","),h=o.length;--h>-1;)c=o[h],Bi[c]&&(f=1,c=c==="transformOrigin"?Lr:Ut),Vo(r,c);f&&(Vo(r,Ut),l&&(l.svg&&r.removeAttribute("transform"),s.scale=s.rotate=s.translate="none",Od(r,1),l.uncache=1,ON(s)))}},Up={clearProps:function(e,n,r,s,o){if(o.data!=="isFromStart"){var l=e._pt=new Mr(e._pt,n,r,0,0,cV);return l.u=s,l.pr=-10,l.tween=o,e._props.push(r),1}}},Ad=[1,0,0,1,0,0],FN={},BN=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},X2=function(e){var n=Xr(e,Ut);return BN(n)?Ad:n.substr(7).match(Kj).map(Jt)},Xx=function(e,n){var r=e._gsap||Ba(e),s=e.style,o=X2(e),l,c,f,h;return r.svg&&e.getAttribute("transform")?(f=e.transform.baseVal.consolidate().matrix,o=[f.a,f.b,f.c,f.d,f.e,f.f],o.join(",")==="1,0,0,1,0,0"?Ad:o):(o===Ad&&!e.offsetParent&&e!==tc&&!r.svg&&(f=s.display,s.display="block",l=e.parentNode,(!l||!e.offsetParent&&!e.getBoundingClientRect().width)&&(h=1,c=e.nextElementSibling,tc.appendChild(e)),o=X2(e),f?s.display=f:Vo(e,"display"),h&&(c?l.insertBefore(e,c):l?l.appendChild(e):tc.removeChild(e))),n&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},ov=function(e,n,r,s,o,l){var c=e._gsap,f=o||Xx(e,!0),h=c.xOrigin||0,p=c.yOrigin||0,g=c.xOffset||0,v=c.yOffset||0,x=f[0],k=f[1],b=f[2],_=f[3],C=f[4],j=f[5],T=n.split(" "),N=parseFloat(T[0])||0,P=parseFloat(T[1])||0,D,M,O,z;r?f!==Ad&&(M=x*_-k*b)&&(O=N*(_/M)+P*(-b/M)+(b*j-_*C)/M,z=N*(-k/M)+P*(x/M)-(x*j-k*C)/M,N=O,P=z):(D=DN(e),N=D.x+(~T[0].indexOf("%")?N/100*D.width:N),P=D.y+(~(T[1]||T[0]).indexOf("%")?P/100*D.height:P)),s||s!==!1&&c.smooth?(C=N-h,j=P-p,c.xOffset=g+(C*x+j*b)-C,c.yOffset=v+(C*k+j*_)-j):c.xOffset=c.yOffset=0,c.xOrigin=N,c.yOrigin=P,c.smooth=!!s,c.origin=n,c.originIsAbsolute=!!r,e.style[Lr]="0px 0px",l&&(No(l,c,"xOrigin",h,N),No(l,c,"
422yOrigin",p,P),No(l,c,"xOffset",g,c.xOffset),No(l,c,"yOffset",v,c.yOffset)),e.setAttribute("data-svg-origin",N+" "+P)},Od=function(e,n){var r=e._gsap||new _N(e);if("x"in r&&!n&&!r.uncache)return r;var s=e.style,o=r.scaleX<0,l="px",c="deg",f=getComputedStyle(e),h=Xr(e,Lr)||"0",p,g,v,x,k,b,_,C,j,T,N,P,D,M,O,z,V,ne,K,ie,ae,me,re,J,Y,Z,R,L,G,ge,ue,de;return p=g=v=b=_=C=j=T=N=0,x=k=1,r.svg=!!(e.getCTM&&IN(e)),f.translate&&((f.translate!=="none"||f.scale!=="none"||f.rotate!=="none")&&(s[Ut]=(f.translate!=="none"?"translate3d("+(f.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(f.rotate!=="none"?"rotate("+f.rotate+") ":"")+(f.scale!=="none"?"scale("+f.scale.split(" ").join(",")+") ":"")+(f[Ut]!=="none"?f[Ut]:"")),s.scale=s.rotate=s.translate="none"),M=Xx(e,r.svg),r.svg&&(r.uncache?(Y=e.getBBox(),h=r.xOrigin-Y.x+"px "+(r.yOrigin-Y.y)+"px",J=""):J=!n&&e.getAttribute("data-svg-origin"),ov(e,J||h,!!J||r.originIsAbsolute,r.smooth!==!1,M)),P=r.xOrigin||0,D=r.yOrigin||0,M!==Ad&&(ne=M[0],K=M[1],ie=M[2],ae=M[3],p=me=M[4],g=re=M[5],M.length===6?(x=Math.sqrt(ne*ne+K*K),k=Math.sqrt(ae*ae+ie*ie),b=ne||K?Ll(K,ne)*xa:0,j=ie||ae?Ll(ie,ae)*xa+b:0,j&&(k*=Math.abs(Math.cos(j*nc))),r.svg&&(p-=P-(P*ne+D*ie),g-=D-(P*K+D*ae))):(de=M[6],ge=M[7],R=M[8],L=M[9],G=M[10],ue=M[11],p=M[12],g=M[13],v=M[14],O=Ll(de,G),_=O*xa,O&&(z=Math.cos(-O),V=Math.sin(-O),J=me*z+R*V,Y=re*z+L*V,Z=de*z+G*V,R=me*-V+R*z,L=re*-V+L*z,G=de*-V+G*z,ue=ge*-V+ue*z,me=J,re=Y,de=Z),O=Ll(-ie,G),C=O*xa,O&&(z=Math.cos(-O),V=Math.sin(-O),J=ne*z-R*V,Y=K*z-L*V,Z=ie*z-G*V,ue=ae*V+ue*z,ne=J,K=Y,ie=Z),O=Ll(K,ne),b=O*xa,O&&(z=Math.cos(O),V=Math.sin(O),J=ne*z+K*V,Y=me*z+re*V,K=K*z-ne*V,re=re*z-me*V,ne=J,me=Y),_&&Math.abs(_)+Math.abs(b)>359.9&&(_=b=0,C=180-C),x=Jt(Math.sqrt(ne*ne+K*K+ie*ie)),k=Jt(Math.sqrt(re*re+de*de)),O=Ll(me,re),j=Math.abs(O)>2e-4?O*xa:0,N=ue?1/(ue<0?-ue:ue):0),r.svg&&(J=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!BN(Xr(e,Ut)),J&&e.setAttribute("transform",J))),Math.abs(j)>90&&Math.abs(j)<270&&(o?(x*=-1,j+=b<=0?180:-180,b+=b<=0?180:-180):(k*=-1,j+=j<=0?180:-180)),n=n||r.uncache,r.x=p-((r.xPercent=p&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-p)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+l,r.y=g-((r.yPercent=g&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-g)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+l,r.z=v+l,r.scaleX=Jt(x),r.scaleY=Jt(k),r.rotation=Jt(b)+c,r.rotationX=Jt(_)+c,r.rotationY=Jt(C)+c,r.skewX=j+c,r.skewY=T+c,r.transformPerspective=N+l,(r.zOrigin=parseFloat(h.split(" ")[2])||!n&&r.zOrigin||0)&&(s[Lr]=zp(h)),r.xOffset=r.yOffset=0,r.force3D=Qr.force3D,r.renderTransform=r.svg?dV:LN?UN:uV,r.uncache=0,r},zp=function(e){return(e=e.split(" "))[0]+" "+e[1]},Fy=function(e,n,r){var s=Zn(n);return Jt(parseFloat(n)+parseFloat($o(e,"x",r+"px",s)))+s}
vendor: 4,578 bytes, line 422
422,uV=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,UN(e,n)},ha="0deg",Nu="0px",pa=") ",UN=function(e,n){var r=n||this,s=r.xPercent,o=r.yPercent,l=r.x,c=r.y,f=r.z,h=r.rotation,p=r.rotationY,g=r.rotationX,v=r.skewX,x=r.skewY,k=r.scaleX,b=r.scaleY,_=r.transformPerspective,C=r.force3D,j=r.target,T=r.zOrigin,N="",P=C==="auto"&&e&&e!==1||C===!0;if(T&&(g!==ha||p!==ha)){var D=parseFloat(p)*nc,M=Math.sin(D),O=Math.cos(D),z;D=parseFloat(g)*nc,z=Math.cos(D),l=Fy(j,l,M*z*-T),c=Fy(j,c,-Math.sin(D)*-T),f=Fy(j,f,O*z*-T+T)}_!==Nu&&(N+="perspective("+_+pa),(s||o)&&(N+="translate("+s+"%, "+o+"%) "),(P||l!==Nu||c!==Nu||f!==Nu)&&(N+=f!==Nu||P?"translate3d("+l+", "+c+", "+f+") ":"translate("+l+", "+c+pa),h!==ha&&(N+="rotate("+h+pa),p!==ha&&(N+="rotateY("+p+pa),g!==ha&&(N+="rotateX("+g+pa),(v!==ha||x!==ha)&&(N+="skew("+v+", "+x+pa),(k!==1||b!==1)&&(N+="scale("+k+", "+b+pa),j.style[Ut]=N||"translate(0, 0)"},dV=function(e,n){var r=n||this,s=r.xPercent,o=r.yPercent,l=r.x,c=r.y,f=r.rotation,h=r.skewX,p=r.skewY,g=r.scaleX,v=r.scaleY,x=r.target,k=r.xOrigin,b=r.yOrigin,_=r.xOffset,C=r.yOffset,j=r.forceCSS,T=parseFloat(l),N=parseFloat(c),P,D,M,O,z;f=parseFloat(f),h=parseFloat(h),p=parseFloat(p),p&&(p=parseFloat(p),h+=p,f+=p),f||h?(f*=nc,h*=nc,P=Math.cos(f)*g,D=Math.sin(f)*g,M=Math.sin(f-h)*-v,O=Math.cos(f-h)*v,h&&(p*=nc,z=Math.tan(h-p),z=Math.sqrt(1+z*z),M*=z,O*=z,p&&(z=Math.tan(p),z=Math.sqrt(1+z*z),P*=z,D*=z)),P=Jt(P),D=Jt(D),M=Jt(M),O=Jt(O)):(P=g,O=v,D=M=0),(T&&!~(l+"").indexOf("px")||N&&!~(c+"").indexOf("px"))&&(T=$o(x,"x",l,"px"),N=$o(x,"y",c,"px")),(k||b||_||C)&&(T=Jt(T+k-(k*P+b*M)+_),N=Jt(N+b-(k*D+b*O)+C)),(s||o)&&(z=x.getBBox(),T=Jt(T+s/100*z.width),N=Jt(N+o/100*z.height)),z="matrix("+P+","+D+","+M+","+O+","+T+","+N+")",x.setAttribute("transform",z),j&&(x.style[Ut]=z)},fV=function(e,n,r,s,o){var l=360,c=On(o),f=parseFloat(o)*(c&&~o.indexOf("rad")?xa:1),h=f-s,p=s+h+"deg",g,v;return c&&(g=o.split("_")[1],g==="short"&&(h%=l,h!==h%(l/2)&&(h+=h<0?l:-l)),g==="cw"&&h<0?h=(h+l*H2)%l-~~(h/l)*l:g==="ccw"&&h>0&&(h=(h-l*H2)%l-~~(h/l)*l)),e._pt=v=new Mr(e._pt,n,r,s,h,Yz),v.e=p,v.u="deg",e._props.push(r),v},Q2=function(e,n){for(var r in n)e[r]=n[r];return e},hV=function(e,n,r){var s=Q2({},r._gsap),o="perspective,force3D,transformOrigin,svgOrigin",l=r.style,c,f,h,p,g,v,x,k;s.svg?(h=r.getAttribute("transform"),r.setAttribute("transform",""),l[Ut]=n,c=Od(r,1),Vo(r,Ut),r.setAttribute("transform",h)):(h=getComputedStyle(r)[Ut],l[Ut]=n,c=Od(r,1),l[Ut]=h);for(f in Bi)h=s[f],p=c[f],h!==p&&o.indexOf(f)<0&&(x=Zn(h),k=Zn(p),g=x!==k?$o(r,f,h,k):parseFloat(h),v=parseFloat(p),e._pt=new Mr(e._pt,c,f,g,v-g,rv),e._pt.u=k||0,e._props.push(f));Q2(c,s)};Or("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",s="Bottom",o="Left",l=(e<3?[n,r,s,o]:[n+o,n+r,s+r,s+o]).map(function(c){return e<2?t+c:"border"+c+t});Up[e>1?"border"+t:t]=function(c,f,h,p,g){var v,x;if(arguments.length<4)return v=l.map(function(k){return Ei(c,k,h)}),x=v.join(" "),x.split(v[0]).length===5?v[0]:x;v=(p+"").split(" "),x={},l.forEach(function(k,b){return x[k]=v[b]=v[b]||v[(b-1)/2|0]}),c.init(f,x,g)}});var zN={name:"css",register:iv,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,s,o){var l=this._props,c=e.style,f=r.vars.startAt,h,p,g,v,x,k,b,_,C,j,T,N,P,D,M,O,z;Yx||iv(),this.styles=this.styles||MN(e),O=this.styles.props,this.tween=r;for(b in n)if(b!=="autoRound"&&(p=n[b],!(qr[b]&&SN(b,n,r,s,e,o)))){if(x=typeof p,k=Up[b],x==="function"&&(p=p.call(r,s,e,o),x=typeof p),x==="string"&&~p.indexOf("random(")&&(p=Nd(p)),k)k(this,e,b,p,r)&&(M=1);else if(b.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(b)+"").trim(),p+="",Io.lastIndex=0,Io.test(h)||(_=Zn(h),C=Zn(p),C?_!==C&&(h=$o(e,b,h,C)+C):_&&(p+=_)),this.add(c,"setProperty",h,p,s,o,0,0,b),l.push(b),O.push(b,0,c[b]);else if(x!=="undefined"){if(f&&b in f?(h=typeof f[b]=="function"?f[b].call(r,s,e,o):f[b],On(h)&&~h.indexOf("random(")&&(h=Nd(h)),Zn(h+"")||h==="auto"||(h+=Qr.units[b]||Zn(Ei(e,b))||""),(h+"").charAt(1)==="="&&(h=Ei(e,b))):h=Ei(e,b),v=parseFloat(h),j=x==="string"&&p.charAt(1)==="="&&p.substr(0,2),j&&(p=p.substr(2)),g=parseFloat(p),b in si&&(b==="autoAlpha"&&(v===1&&Ei(e,"visibility")==="hidden"&&g&&(v=0),O.push("visibility",0,c.visibility),No(this,c,"visibility",v?"inherit":"hidden",g?"inherit":"hidden",!g)),b!=="scale"&&b!=="transform"&&(b=si[b],~b.indexOf(",")&&(b=b.split(",")[0]))),T=b in Bi,T){if(this.styles.save(b),z=p,x==="string"&&p.substring(0,6)==="var(--"){if(p=Xr(e,p.substring(4,p.indexOf(")"))),p.substring(0,5)==="calc("){var V=e.style.perspective;
vendor: 7,168 bytes, lines 422-429
422e.style.perspective=p,p=Xr(e,"perspective"),V?e.style.perspective=V:Vo(e,"perspective")}g=parseFloat(p)}if(N||(P=e._gsap,P.renderTransform&&!n.parseTransform||Od(e,n.parseTransform),D=n.smoothOrigin!==!1&&P.smooth,N=this._pt=new Mr(this._pt,c,Ut,0,1,P.renderTransform,P,0,-1),N.dep=1),b==="scale")this._pt=new Mr(this._pt,P,"scaleY",P.scaleY,(j?ec(P.scaleY,j+g):g)-P.scaleY||0,rv),this._pt.u=0,l.push("scaleY",b),b+="X";else if(b==="transformOrigin"){O.push(Lr,0,c[Lr]),p=lV(p),P.svg?ov(e,p,0,D,0,this):(C=parseFloat(p.split(" ")[2])||0,C!==P.zOrigin&&No(this,P,"zOrigin",P.zOrigin,C),No(this,c,b,zp(h),zp(p)));continue}else if(b==="svgOrigin"){ov(e,p,1,D,0,this);continue}else if(b in FN){fV(this,P,b,v,j?ec(v,j+p):p);continue}else if(b==="smoothOrigin"){No(this,P,"smooth",P.smooth,p);continue}else if(b==="force3D"){P[b]=p;continue}else if(b==="transform"){hV(this,p,e);continue}}else b in c||(b=Nc(b)||b);if(T||(g||g===0)&&(v||v===0)&&!Gz.test(p)&&b in c)_=(h+"").substr((v+"").length),g||(g=0),C=Zn(p)||(b in Qr.units?Qr.units[b]:_),_!==C&&(v=$o(e,b,h,C)),this._pt=new Mr(this._pt,T?P:c,b,v,(j?ec(v,j+g):g)-v,!T&&(C==="px"||b==="zIndex")&&n.autoRound!==!1?Xz:rv),this._pt.u=C||0,T&&z!==p?(this._pt.b=h,this._pt.e=z,this._pt.r=Jz):_!==C&&C!=="%"&&(this._pt.b=h,this._pt.r=Kz);else if(b in c)aV.call(this,e,b,h,j?j+p:p);else if(b in e)this.add(e,b,h||e[b],j?j+p:p,s,o);else if(b!=="parseTransform"){Fx(b,p);continue}T||(b in c?O.push(b,0,c[b]):typeof e[b]=="function"?O.push(b,2,e[b]()):O.push(b,1,h||e[b])),l.push(b)}}M&&NN(this)},render:function(e,n){if(n.tween._time||!Kx())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:Ei,aliases:si,getSetter:function(e,n,r){var s=si[n];return s&&s.indexOf(",")<0&&(n=s),n in Bi&&n!==Lr&&(e._gsap.x||Ei(e,"x"))?r&&W2===r?n==="scale"?tV:eV:(W2=r||{})&&(n==="scale"?nV:rV):e.style&&!Lx(e.style[n])?Qz:~n.indexOf("-")?Zz:qx(e,n)},core:{_removeProperty:Vo,_getMatrix:Xx}};Dr.utils.checkPrefix=Nc;Dr.core.getStyleSaver=MN;(function(t,e,n,r){var s=Or(t+","+e+","+n,function(o){Bi[o]=1});Or(e,function(o){Qr.units[o]="deg",FN[o]=1}),si[s[13]]=t+","+e,Or(r,function(o){var l=o.split(":");si[l[1]]=s[l[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");Or("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Qr.units[t]="px"});Dr.registerPlugin(zN);var Wt=Dr.registerPlugin(zN)||Dr;Wt.core.Tween;function pV(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function mV(t,e,n){return e&&pV(t.prototype,e),t}/*!
423 * Observer 3.15.0
424 * https://gsap.com
425 *
426 * @license Copyright 2008-2026, GreenSock. All rights reserved.
427 * Subject to the terms at https://gsap.com/standard-license
428 * @author: Jack Doyle, [email protected]
429*/var zn,cp,Kr,Po,Ro,rc,VN,wa,sc,$N,Ai,Os,WN,HN=function(){return zn||typeof window<"u"&&(zn=window.gsap)&&zn.registerPlugin&&zn},qN=1,Ql=[],Xe=[],ci=[],od=Date.now,av=function(e,n){return n},gV=function(){var e=sc.core,n=e.bridge||{},r=e._scrollers,s=e._proxies;r.push.apply(r,Xe),s.push.apply(s,ci),Xe=r,ci=s,av=function(l,c){return n[l](c)}},Fo=function(e,n){return~ci.indexOf(e)&&ci[ci.indexOf(e)+1][n]},ad=function(e){return!!~$N.indexOf(e)},cr=function(e,n,r,s,o){return e.addEventListener(n,r,{passive:s!==!1,capture:!!o})},lr=function(e,n,r,s){return e.removeEventListener(n,r,!!s)},Sh="scrollLeft",Ch="scrollTop",lv=function(){return Ai&&Ai.isPressed||Xe.cache++},Vp=function(e,n){var r=function s(o){if(o||o===0){qN&&(Kr.history.scrollRestoration="manual");var l=Ai&&Ai.isPressed;o=s.v=Math.round(o)||(Ai&&Ai.iOS?1:0),e(o),s.cacheID=Xe.cache,l&&av("ss",o)}else(n||Xe.cache!==s.cacheID||av("ref"))&&(s.cacheID=Xe.cache,s.v=e());return s.v+s.offset};return r.offset=0,e&&r},pr={s:Sh,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Vp(function(t){return arguments.length?Kr.scrollTo(t,vn.sc()):Kr.pageXOffset||Po[Sh]||Ro[Sh]||rc[Sh]||0})},vn={s:Ch,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:pr,sc:Vp(function(t){return arguments.length?Kr.scrollTo(pr.sc(),t):Kr.pageYOffset||Po[Ch]||Ro[Ch]||rc[Ch]||0})},jr=function(e,n){return(n&&n._ctx&&n._ctx.selector||zn.utils.toArray)(e)[0]||(typeof e=="string"&&zn.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},yV=function(e,n){for(var r=n.length;r--;)if(n[r]===e||n[r].contains(e))return!0;return!1},Wo=function(e,n){var r=n.s,s=n.sc;ad(e)&&(e=Po.scrollingElement||Ro);var o=Xe.indexOf(e),l=s===vn.sc?1:2;!~o&&(o=Xe.push(e)-1),Xe[o+l]||cr(e,"scroll",lv);var c=Xe[o+l],f=c||(Xe[o+l]=Vp(Fo(e,r),!0)||(ad(e)?s:Vp(function(h){return arguments.length?e[r]=h:e[r]})));return f.target=e,c||(f.smooth=zn.getProperty(e,"scrollBehavior")==="smooth"),f},cv=function(e,n,r){var s=e,o=e,l=od(),c=l,f=n||50,h=Math.max(500,f*3),p=function(k,b){var _=od();b||_-l>f?(o=s,s=k,c=l,l=_):r?s+=k:s=o+(k-o)/(_-c)*(l-c)},g=function(){o=s=r?0:s,c=l=0},v=function(k){var b=c,_=o,C=od();return(k||k===0)&&k!==s&&p(k),l===c||C-c>h?0:(s+(r?_:-_))/((r?C:l)-b)*1e3};return{update:p,reset:g,getVelocity:v}},Pu=function(e,n){return n&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Z2=function(e){var n=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(n)>=Math.abs(r)?n:r},GN=function(){sc=zn.core.globals().ScrollTrigger,sc&&sc.core&&gV()},YN=function(e){return zn=e||HN(),!cp&&zn&&typeof document<"u"&&document.body&&(Kr=window,Po=document,Ro=Po.documentElement,rc=Po.body,$N=[Kr,Po,Ro,rc],zn.utils.clamp,WN=zn.core.context||function(){},wa="onpointerenter"in rc?"pointer":"mouse",VN=Xt.isTouch=Kr.matchMedia&&Kr.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Kr||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Os=Xt.eventTypes=("ontouchstart"in Ro?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ro?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return qN=0},500),cp=1),sc||GN(),cp};pr.op=vn;Xe.cache=0;var Xt=(function(){function t(n){this.init(n)}var e=t.prototype;return e.init=function(r){cp||YN(zn)||console.warn("Please gsap.registerPlugin(Observer)"),sc||GN();var s=r.tolerance,o=r.dragMinimum,l=r.type,c=r.target,f=r.lineHeight,h=r.debounce,p=r.preventDefault,g=r.onStop,v=r.onStopDelay,x=r.ignore,k=r.wheelSpeed,b=r.event,_=r.onDragStart,C=r.onDragEnd,j=r.onDrag,T=r.onPress,N=r.onRelease,P=r.onRight,D=r.onLeft,M=r.onUp,O=r.onDown,z=r.onChangeX,V=r.onChangeY,ne=r.onChange,K=r.onToggleX,ie=r.onToggleY,ae=r.onHover,me=r.onHoverEnd,re=r.onMove,J=r.ignoreCheck,Y=r.isNormalizer,Z=r.onGestureStart,R=r.onGestureEnd,L=r.onWheel,G=r.onEnable,ge=r.onDisable,ue=r.onClick,de=r.scrollSpeed,ee=r.capture,ye=r.allowClicks,je=r.lockAxis,be=r.onLockAxis;this.target=c=jr(c)||Ro,this.vars=r,x&&(x=zn.utils.toArray(x)),s=s||1e-9,o=o||0,k=k||
vendor: 8,302 bytes, lines 429-436
4291,de=de||1,l=l||"wheel,touch,pointer",h=h!==!1,f||(f=parseFloat(Kr.getComputedStyle(rc).lineHeight)||22);var ht,pt,Qe,Fe,le,xe,he,W=this,Ge=0,ze=0,dt=r.passive||!p&&r.passive!==!1,tt=Wo(c,pr),ft=Wo(c,vn),un=tt(),Zt=ft(),mt=~l.indexOf("touch")&&!~l.indexOf("pointer")&&Os[0]==="pointerdown",en=ad(c),at=c.ownerDocument||Po,dn=[0,0,0],wn=[0,0,0],Mn=0,Ir=function(){return Mn=od()},Pt=function(Pe,Ze){return(W.event=Pe)&&x&&yV(Pe.target,x)||Ze&&mt&&Pe.pointerType!=="touch"||J&&J(Pe,Ze)},rr=function(){W._vx.reset(),W._vy.reset(),pt.pause(),g&&g(W)},$n=function(){var Pe=W.deltaX=Z2(dn),Ze=W.deltaY=Z2(wn),ce=Math.abs(Pe)>=s,De=Math.abs(Ze)>=s;ne&&(ce||De)&&ne(W,Pe,Ze,dn,wn),ce&&(P&&W.deltaX>0&&P(W),D&&W.deltaX<0&&D(W),z&&z(W),K&&W.deltaX<0!=Ge<0&&K(W),Ge=W.deltaX,dn[0]=dn[1]=dn[2]=0),De&&(O&&W.deltaY>0&&O(W),M&&W.deltaY<0&&M(W),V&&V(W),ie&&W.deltaY<0!=ze<0&&ie(W),ze=W.deltaY,wn[0]=wn[1]=wn[2]=0),(Fe||Qe)&&(re&&re(W),Qe&&(_&&Qe===1&&_(W),j&&j(W),Qe=0),Fe=!1),xe&&!(xe=!1)&&be&&be(W),le&&(L(W),le=!1),ht=0},zs=function(Pe,Ze,ce){dn[ce]+=Pe,wn[ce]+=Ze,W._vx.update(Pe),W._vy.update(Ze),h?ht||(ht=requestAnimationFrame($n)):$n()},Vs=function(Pe,Ze){je&&!he&&(W.axis=he=Math.abs(Pe)>Math.abs(Ze)?"x":"y",xe=!0),he!=="y"&&(dn[2]+=Pe,W._vx.update(Pe,!0)),he!=="x"&&(wn[2]+=Ze,W._vy.update(Ze,!0)),h?ht||(ht=requestAnimationFrame($n)):$n()},ns=function(Pe){if(!Pt(Pe,1)){Pe=Pu(Pe,p);var Ze=Pe.clientX,ce=Pe.clientY,De=Ze-W.x,Ne=ce-W.y,Ie=W.isDragging;W.x=Ze,W.y=ce,(Ie||(De||Ne)&&(Math.abs(W.startX-Ze)>=o||Math.abs(W.startY-ce)>=o))&&(Qe||(Qe=Ie?2:1),Ie||(W.isDragging=!0),Vs(De,Ne))}},Cs=W.onPress=function(Ue){Pt(Ue,1)||Ue&&Ue.button||(W.axis=he=null,pt.pause(),W.isPressed=!0,Ue=Pu(Ue),Ge=ze=0,W.startX=W.x=Ue.clientX,W.startY=W.y=Ue.clientY,W._vx.reset(),W._vy.reset(),cr(Y?c:at,Os[1],ns,dt,!0),W.deltaX=W.deltaY=0,T&&T(W))},$e=W.onRelease=function(Ue){if(!Pt(Ue,1)){lr(Y?c:at,Os[1],ns,!0);var Pe=!isNaN(W.y-W.startY),Ze=W.isDragging,ce=Ze&&(Math.abs(W.x-W.startX)>3||Math.abs(W.y-W.startY)>3),De=Pu(Ue);!ce&&Pe&&(W._vx.reset(),W._vy.reset(),p&&ye&&zn.delayedCall(.08,function(){if(od()-Mn>300&&!Ue.defaultPrevented){if(Ue.target.click)Ue.target.click();else if(at.createEvent){var Ne=at.createEvent("MouseEvents");Ne.initMouseEvent("click",!0,!0,Kr,1,De.screenX,De.screenY,De.clientX,De.clientY,!1,!1,!1,!1,0,null),Ue.target.dispatchEvent(Ne)}}})),W.isDragging=W.isGesturing=W.isPressed=!1,g&&Ze&&!Y&&pt.restart(!0),Qe&&$n(),C&&Ze&&C(W),N&&N(W,ce)}},ks=function(Pe){return Pe.touches&&Pe.touches.length>1&&(W.isGesturing=!0)&&Z(Pe,W.isDragging)},bn=function(){return(W.isGesturing=!1)||R(W)},_n=function(Pe){if(!Pt(Pe)){var Ze=tt(),ce=ft();zs((Ze-un)*de,(ce-Zt)*de,1),un=Ze,Zt=ce,g&&pt.restart(!0)}},gr=function(Pe){if(!Pt(Pe)){Pe=Pu(Pe,p),L&&(le=!0);var Ze=(Pe.deltaMode===1?f:Pe.deltaMode===2?Kr.innerHeight:1)*k;zs(Pe.deltaX*Ze,Pe.deltaY*Ze,0),g&&!Y&&pt.restart(!0)}},$s=function(Pe){if(!Pt(Pe)){var Ze=Pe.clientX,ce=Pe.clientY,De=Ze-W.x,Ne=ce-W.y;W.x=Ze,W.y=ce,Fe=!0,g&&pt.restart(!0),(De||Ne)&&Vs(De,Ne)}},hi=function(Pe){W.event=Pe,ae(W)},rs=function(Pe){W.event=Pe,me(W)},$i=function(Pe){return Pt(Pe)||Pu(Pe,p)&&ue(W)};pt=W._dc=zn.delayedCall(v||.25,rr).pause(),W.deltaX=W.deltaY=0,W._vx=cv(0,50,!0),W._vy=cv(0,50,!0),W.scrollX=tt,W.scrollY=ft,W.isDragging=W.isGesturing=W.isPressed=!1,WN(this),W.enable=function(Ue){return W.isEnabled||(cr(en?at:c,"scroll",lv),l.indexOf("scroll")>=0&&cr(en?at:c,"scroll",_n,dt,ee),l.indexOf("wheel")>=0&&cr(c,"wheel",gr,dt,ee),(l.indexOf("touch")>=0&&VN||l.indexOf("pointer")>=0)&&(cr(c,Os[0],Cs,dt,ee),cr(at,Os[2],$e),cr(at,Os[3],$e),ye&&cr(c,"click",Ir,!0,!0),ue&&cr(c,"click",$i),Z&&cr(at,"gesturestart",ks),R&&cr(at,"gestureend",bn),ae&&cr(c,wa+"enter",hi),me&&cr(c,wa+"leave",rs),re&&cr(c,wa+"move",$s)),W.isEnabled=!0,W.isDragging=W.isGesturing=W.isPressed=Fe=Qe=!1,W._vx.reset(),W._vy.reset(),un=tt(),Zt=ft(),Ue&&Ue.type&&Cs(Ue),G&&G(W)),W},W.disable=function(){W.isEnabled&&(Ql.filter(function(Ue){return Ue!==W&&ad(Ue.target)}).length||lr(en?at:c,"scroll",lv),W.isPressed&&(W._vx.reset(),W._vy.reset(),lr(Y?c:at,Os[1],ns,!0)),lr(en?at:c,"scroll",_n,ee),lr(c,"wheel",gr,ee),lr(c,Os[0],Cs,ee),lr(at,Os[2],$e),lr(at,Os[3],$e),lr(c,"click",Ir,!0),lr(c,"click",$i),lr(at,"gesturestart",ks),lr(at,"gestureend",bn),lr(c,wa+"enter",hi),lr(c,wa+"leave",rs),lr(c,wa+"move",$s),W.isEnabled=W.isPressed=W.isDragging=!1,ge&&ge(W))},W.kill=W.revert=function(){W.disable();var Ue=Ql.indexOf(W);Ue>=0&&Ql.splice(Ue,1),Ai===W&&(Ai=0)},Ql.push(W),Y&&ad(c)&&(Ai=W),W.enable(b)},mV(t,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),t})();Xt.version="3.15.0";Xt.create=function(t){return new Xt(t)};Xt.register=YN;Xt.getAll=function(){return Ql.slice()};Xt.getById=function(t){return Ql.filter(function(e){return e.vars.id===t})[0]};HN()&&zn.registerPlugin(Xt);/*!
430 * ScrollTrigger 3.15.0
431 * https://gsap.com
432 *
433 * @license Copyright 2008-2026, GreenSock. All rights reserved.
434 * Subject to the terms at https://gsap.com/standard-license
435 * @author: Jack Doyle, [email protected]
436*/var _e,$l,Je,wt,Gr,gt,Qx,$p,Md,ld,$u,kh,Kn,pm,uv,fr,eC,tC,Wl,KN,By,JN,dr,dv,XN,QN,mo,fv,Zx,ic,e1,cd,hv,Uy,Th=1,Qn=Date.now,zy=Qn(),_s=0,Wu=0,nC=function(e,n,r){var s=Hr(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+n+"Clamp"]=s,s?e.substr(6,e.length-7):e},rC=function(e,n){return n&&(!Hr(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},vV=function t(){return Wu&&requestAnimationFrame(t)},sC=function(){return pm=1},iC=function(){return pm=0},Xs=function(e){return e},Hu=function(e){return Math.round(e*1e5)/1e5||0},ZN=function(){return typeof window<"u"},eP=function(){return _e||ZN()&&(_e=window.gsap)&&_e.registerPlugin&&_e},Ja=function(e){return!!~Qx.indexOf(e)},tP=function(e){return(e==="Height"?e1:Je["inner"+e])||Gr["client"+e]||gt["client"+e]},nP=function(e){return Fo(e,"getBoundingClientRect")||(Ja(e)?function(){return pp.width=Je.innerWidth,pp.height=e1,pp}:function(){return Pi(e)})},xV=function(e,n,r){var s=r.d,o=r.d2,l=r.a;return(l=Fo(e,"getBoundingClientRect"))?function(){return l()[s]}:function(){return(n?tP(o):e["client"+o])||0}},wV=function(e,n){return!n||~ci.indexOf(e)?nP(e):function(){return pp}},ii=function(e,n){var r=n.s,s=n.d2,o=n.d,l=n.a;return Math.max(0,(r="scroll"+s)&&(l=Fo(e,r))?l()-nP(e)()[o]:Ja(e)?(Gr[r]||gt[r])-tP(s):e[r]-e["offset"+s])},Eh=function(e,n){for(var r=0;r<Wl.length;r+=3)(!n||~n.indexOf(Wl[r+1]))&&e(Wl[r],Wl[r+1],Wl[r+2])},Hr=function(e){return typeof e=="string"},er=function(e){return typeof e=="function"},qu=function(e){return typeof e=="number"},ba=function(e){return typeof e=="object"},Ru=function(e,n,r){return e&&e.progress(n?0:1)&&r&&e.pause()},Dl=function(e,n,r){if(e.enabled){var s=e._ctx?e._ctx.add(function(){return n(e,r)}):n(e,r);s&&s.totalTime&&(e.callbackAnimation=s)}},Il=Math.abs,rP="left",sP="top",t1="right",n1="bottom",$a="width",Wa="height",ud="Right",dd="Left",fd="Top",hd="Bottom",sn="padding",gs="margin",Pc="Width",r1="Height",gn="px",ys=function(e){return Je.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},bV=function(e){var n=ys(e).position;e.style.position=n==="absolute"||n==="fixed"?n:"relative"},oC=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},Pi=function(e,n){var r=n&&ys(e)[uv]!=="matrix(1, 0, 0, 1, 0, 0)"&&_e.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?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return r&&r.progress(0).kill(),s},Wp=function(e,n){var r=n.d2;return e["offset"+r]||e["client"+r]||0},iP=function(e){var n=[],r=e.labels,s=e.duration(),o;for(o in r)n.push(r[o]/s);return n},_V=function(e){return function(n){return _e.utils.snap(iP(e),n)}},s1=function(e){var n=_e.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(s,o){return s-o});return r?function(s,o,l){l===void 0&&(l=.001);var c;if(!o)return n(s);if(o>0){for(s-=l,c=0;c<r.length;c++)if(r[c]>=s)return r[c];return r[c-1]}else for(c=r.length,s+=l;c--;)if(r[c]<=s)return r[c];return r[0]}:function(s,o,l){l===void 0&&(l=.001);var c=n(s);return!o||Math.abs(c-s)<l||c-s<0==o<0?c:n(o<0?s-e:s+e)}},SV=function(e){return function(n,r){return s1(iP(e))(n,r.direction)}}
vendor: 8,951 bytes, line 436
436,jh=function(e,n,r,s){return r.split(",").forEach(function(o){return e(n,o,s)})},Pn=function(e,n,r,s,o){return e.addEventListener(n,r,{passive:!s,capture:!!o})},jn=function(e,n,r,s){return e.removeEventListener(n,r,!!s)},Nh=function(e,n,r){r=r&&r.wheelHandler,r&&(e(n,"wheel",r),e(n,"touchmove",r))},aC={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Ph={toggleActions:"play",anticipatePin:0},Hp={top:0,left:0,center:.5,bottom:1,right:1},up=function(e,n){if(Hr(e)){var r=e.indexOf("="),s=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(s*=n/100),e=e.substr(0,r-1)),e=s+(e in Hp?Hp[e]*n:~e.indexOf("%")?parseFloat(e)*n/100:parseFloat(e)||0)}return e},Rh=function(e,n,r,s,o,l,c,f){var h=o.startColor,p=o.endColor,g=o.fontSize,v=o.indent,x=o.fontWeight,k=wt.createElement("div"),b=Ja(r)||Fo(r,"pinType")==="fixed",_=e.indexOf("scroller")!==-1,C=b?gt:r.tagName==="IFRAME"?r.contentDocument.body:r,j=e.indexOf("start")!==-1,T=j?h:p,N="border-color:"+T+";font-size:"+g+";color:"+T+";font-weight:"+x+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return N+="position:"+((_||f)&&b?"fixed;":"absolute;"),(_||f||!b)&&(N+=(s===vn?t1:n1)+":"+(l+parseFloat(v))+"px;"),c&&(N+="box-sizing:border-box;text-align:left;width:"+c.offsetWidth+"px;"),k._isStart=j,k.setAttribute("class","gsap-marker-"+e+(n?" marker-"+n:"")),k.style.cssText=N,k.innerText=n||n===0?e+"-"+n:e,C.children[0]?C.insertBefore(k,C.children[0]):C.appendChild(k),k._offset=k["offset"+s.op.d2],dp(k,0,s,j),k},dp=function(e,n,r,s){var o={display:"block"},l=r[s?"os2":"p2"],c=r[s?"p2":"os2"];e._isFlipped=s,o[r.a+"Percent"]=s?-100:0,o[r.a]=s?"1px":0,o["border"+l+Pc]=1,o["border"+c+Pc]=0,o[r.p]=n+"px",_e.set(e,o)},qe=[],pv={},Ld,lC=function(){return Qn()-_s>34&&(Ld||(Ld=requestAnimationFrame(Ii)))},Fl=function(){(!dr||!dr.isPressed||dr.startX>gt.clientWidth)&&(Xe.cache++,dr?Ld||(Ld=requestAnimationFrame(Ii)):Ii(),_s||Qa("scrollStart"),_s=Qn())},Vy=function(){QN=Je.innerWidth,XN=Je.innerHeight},Gu=function(e){Xe.cache++,(e===!0||!Kn&&!JN&&!wt.fullscreenElement&&!wt.webkitFullscreenElement&&(!dv||QN!==Je.innerWidth||Math.abs(Je.innerHeight-XN)>Je.innerHeight*.25))&&$p.restart(!0)},Xa={},CV=[],oP=function t(){return jn(et,"scrollEnd",t)||Ta(!0)},Qa=function(e){return Xa[e]&&Xa[e].map(function(n){return n()})||CV},Wr=[],aP=function(e){for(var n=0;n<Wr.length;n+=5)(!e||Wr[n+4]&&Wr[n+4].query===e)&&(Wr[n].style.cssText=Wr[n+1],Wr[n].getBBox&&Wr[n].setAttribute("transform",Wr[n+2]||""),Wr[n+3].uncache=1)},lP=function(){return Xe.forEach(function(e){return er(e)&&++e.cacheID&&(e.rec=e())})},i1=function(e,n){var r;for(fr=0;fr<qe.length;fr++)r=qe[fr],r&&(!n||r._ctx===n)&&(e?r.kill(1):r.revert(!0,!0));cd=!0,n&&aP(n),n||Qa("revert")},cP=function(e,n){Xe.cache++,(n||!hr)&&Xe.forEach(function(r){return er(r)&&r.cacheID++&&(r.rec=0)}),Hr(e)&&(Je.history.scrollRestoration=Zx=e)},hr,Ha=0,cC,kV=function(){if(cC!==Ha){var e=cC=Ha;requestAnimationFrame(function(){return e===Ha&&Ta(!0)})}},uP=function(){gt.appendChild(ic),e1=!dr&&ic.offsetHeight||Je.innerHeight,gt.removeChild(ic)},uC=function(e){return Md(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(n){return n.style.display=e?"none":"block"})},Ta=function(e,n){if(Gr=wt.documentElement,gt=wt.body,Qx=[Je,wt,Gr,gt],_s&&!e&&!cd){Pn(et,"scrollEnd",oP);return}uP(),hr=et.isRefreshing=!0,cd||lP();var r=Qa("refreshInit");KN&&et.sort(),n||i1(),Xe.forEach(function(s){er(s)&&(s.smooth&&(s.target.style.scrollBehavior="auto"),s(0))}),qe.slice(0).forEach(function(s){return s.refresh()}),cd=!1,qe.forEach(function(s){if(s._subPinOffset&&s.pin){var o=s.vars.horizontal?"offsetWidth":"offsetHeight",l=s.pin[o];s.revert(!0,1),s.adjustPinSpacing(s.pin[o]-l),s.refresh()}}),hv=1,uC(!0),qe.forEach(function(s){var o=ii(s.scroller,s._dir),l=s.vars.end==="max"||s._endClamp&&s.end>o,c=s._startClamp&&s.start>=o;(l||c)&&s.setPositions(c?o-1:s.start,l?Math.max(c?o:s.start+1,o):s.end,!0)}),uC(!1),hv=0,r.forEach(function(s){return s&&s.render&&s.render(-1)}),Xe.forEach(function(s){er(s)&&(s.smooth&&requestAnimationFrame(function(){return s.target.style.scrollBehavior="smooth"}),s.rec&&s(s.rec))}),cP(Zx,1),$p.pause(),Ha++,hr=2,Ii(2),qe.forEach(function(s){return er(s.vars.onRefresh)&&s.vars.onRefresh(s)}),hr=et.isRefreshing=!1,Qa("refresh")},mv=0,fp=1,pd,Ii=function(e){if(e===2||!hr&&!cd){et.isUpdating=!0,pd&&pd.update(0);var n=qe.length,r=Qn(),s=r-zy>=50,o=n&&qe[0].scroll();if(fp=mv>o?-1:1,hr||(mv=o),s&&(_s&&!pm&&r-_s>200&&(_s=0,Qa("scrollEnd")),$u=zy,zy=r),fp<0){for(fr=n;fr-- >0;)qe[fr]&&qe[fr].update(0,s);fp=1}else for(fr=0;fr<n;fr++)qe[fr]&&qe[fr].update(0,s);et.isUpdating=!1}Ld=0},gv=[rP,sP,n1,t1,gs+hd,gs+ud,gs+fd,gs+dd,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],hp=gv.concat([$a,Wa,"boxSizing","max"+Pc,"max"+r1,"position",gs,sn,sn+fd,sn+ud,sn+hd,sn+dd]),TV=function(e,n,r){oc(r);var s=e._gsap;if(s.spacerIsNative)oc(s.spacerState);else if(e._gsap.swappedIn){var o=n.parentNode;o&&(o.insertBefore(e,n),o.removeChild(n))}e._gsap.swappedIn=!1},$y=function(e,n,r,s){if(!e._gsap.swappedIn){for(var o=gv.length,l=n.style,c=e.style,f;o--;)f=gv[o],l[f]=r[f];l.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(l.display="inline-block"),c[n1]=c[t1]="auto",l.flexBasis=r.flexBasis||"auto",l.overflow="visible",l.boxSizing="border-box",l[$a]=Wp(e,pr)+gn,l[Wa]=Wp(e,vn)+gn,l[sn]=c[gs]=c[sP]=c[rP]="0",oc(s),c[$a]=c["max"+Pc]=r[$a],c[Wa]=c["max"+r1]=r[Wa],c[sn]=r[sn],e.parentNode!==n&&(e.parentNode.insertBefore(n,e),n.appendChild(e)),e._gsap.swappedIn=!0}},EV=/([A-Z])/g,oc=function(e){if(e){var n=e.t.style,r=e.length,s=0,o,l;for((e.t._gsap||_e.core.getCache(e.t)).uncache=1;s<r;s+=2)l=e[s+1],o=e[s],l?n[o]=l:n[o]&&n.removeProperty(o.replace(EV,"-$1").toLowerCase())}},Ah=function(e){for(var n=hp.length,r=e.style,s=[],o=0;o<n;o++)s.push(hp[o],r[hp[o]]);return s.t=e,s},jV=function(e,n,r){for(var s=[],o=e.length,l=r?8:0,c;l<o;l+=2)c=e[l],s.push(c,c in n?n[c]:e[l+1]);return s.t=e.t,s},pp={left:0,top:0},dC=function(e,n,r,s,o,l,c,f,h,p,g,v,x,k){er(e)&&(e=e(f)),Hr(e)&&e.substr(0,3)==="max"&&(e=v+(e.charAt(4)==="="?up("0"+e.substr(3),r):0));var b=x?x.time():0,_,C,j;if(x&&x.seek(0),isNaN(e)||(e=+e),qu(e))x&&(e=_e.utils.mapRange(x.scrollTrigger.start,x.scrollTrigger.end,0,v,e)),c&&dp(c,r,s,!0);else{er(n)&&(n=n(f));var T=(e||"0").split(" "),N,P,D,M;j=jr(n,f)||gt,N=Pi(j)||{},(!N||!N.left&&!N.top)&&ys(j).display==="none"&&(M=j.style.display,j.style.display="block",N=Pi(j),M?j.style.display=M:j.style.removeProperty("display")),P=up(T[0],N[s.d]),D=up(T[1]||"0",r),e=N[s.p]-h[s.p]-p+P+o-D,c&&dp(c,D,s,r-D<20||c._isStart&&D>20),r-=r-D}if(k&&(f[k]=e||-.001,e<0&&(e=0)),l){var O=e+r,z=l._isStart;_="scroll"+s.d2,dp(l,O,s,z&&O>20||!z&&(g?Math.max(gt[_],Gr[_]):l.parentNode[_])<=O+1),g&&(h=Pi(c),g&&(l.style[s.op.p]=h[s.op.p]-s.op.m-l._offset+gn))}return x&&j&&(_=Pi(j),x.seek(v),C=Pi(j),x._caScrollDist=_[s.p]-C[s.p],e=e/x._caScrollDist*v),x&&x.seek(b),x?e:Math.round(e)},NV=/(webkit|moz|length|cssText|inset)/i,fC=function(e,n,r,s){if(e.parentNode!==n){var o=e.style,l,c;if(n===gt){e._stOrig=o.cssText,c=ys(e);for(l in c)!+l&&!NV.test(l)&&c[l]&&typeof o[l]=="string"&&l!=="0"&&(o[l]=c[l]);o.top=r,o.left=s}else o.cssText=e._stOrig;_e.core.getCache(e).uncache=1,n.appendChild(e)}},dP=function(e,n,r){var s=n,o=s;return function(l){var c=Math.round(e());return c!==s&&c!==o&&Math.abs(c-s)>3&&Math.abs(c-o)>3&&(l=c,r&&r()),o=s,s=Math.round(l),s}},Oh=function(e,n,r){var s={};s[n.p]="+="+r,_e.set(e,s)},hC=function(e,n){var r=Wo(e,n),s="_scroll"+n.p2,o=function l(c,f,h,p,g){var v=l.tween,x=f.onComplete,k={};h=h||r();var b=dP(r,h,function(){v.kill(),l.tween=0});return g=p&&g||0,p=p||c-h,v&&v.kill(),f[s]=c,f.inherit=!1,f.modifiers=k,k[s]=function(){return b(h+p*v.ratio+g*v.ratio*v.ratio)},f.onUpdate=function(){Xe.cache++,l.tween&&Ii()},f.onComplete=function(){l.tween=0,x&&x.call(v)},v=l.tween=_e.to(e,f),v};return e[s]=r,r.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},Pn(e,"wheel",r.wheelHandler),et.isTouch&&Pn(e,"touchmove",r.wheelHandler),o},et=(function(){function t(n,r){$l||t.register(_e)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),fv(this),this.init(n,r)}var e=t.prototype;return e.init=function(r,s){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Wu){this.update=this.refresh=this.kill=Xs;return}r=oC(Hr(r)||qu(r)||r.nodeType?{trigger:r}:r,Ph);var o=r,l=o.onUpdate,c=o.toggleClass,f=o.id,h=o.onToggle,p=o.onRefresh,g=o.scrub,v=o.trigger,x=o.pin,k=o.pinSpacing,b=o.invalidateOnRefresh,_=o.anticipatePin,C=o.onScrubComplete,j=o.onSnapComplete,T=o.once,N=o.snap,P=o.pinReparent,D=o.pinSpacer,M=o.containerAnimation,O=o.fastScrollEnd,z=
vendor: 4,500 bytes, line 436
436o.preventOverlaps,V=r.horizontal||r.containerAnimation&&r.horizontal!==!1?pr:vn,ne=!g&&g!==0,K=jr(r.scroller||Je),ie=_e.core.getCache(K),ae=Ja(K),me=("pinType"in r?r.pinType:Fo(K,"pinType")||ae&&"fixed")==="fixed",re=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],J=ne&&r.toggleActions.split(" "),Y="markers"in r?r.markers:Ph.markers,Z=ae?0:parseFloat(ys(K)["border"+V.p2+Pc])||0,R=this,L=r.onRefreshInit&&function(){return r.onRefreshInit(R)},G=xV(K,ae,V),ge=wV(K,ae),ue=0,de=0,ee=0,ye=Wo(K,V),je,be,ht,pt,Qe,Fe,le,xe,he,W,Ge,ze,dt,tt,ft,un,Zt,mt,en,at,dn,wn,Mn,Ir,Pt,rr,$n,zs,Vs,ns,Cs,$e,ks,bn,_n,gr,$s,hi,rs;if(R._startClamp=R._endClamp=!1,R._dir=V,_*=45,R.scroller=K,R.scroll=M?M.time.bind(M):ye,pt=ye(),R.vars=r,s=s||r.animation,"refreshPriority"in r&&(KN=1,r.refreshPriority===-9999&&(pd=R)),ie.tweenScroll=ie.tweenScroll||{top:hC(K,vn),left:hC(K,pr)},R.tweenTo=je=ie.tweenScroll[V.p],R.scrubDuration=function(ce){ks=qu(ce)&&ce,ks?$e?$e.duration(ce):$e=_e.to(s,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:ks,paused:!0,onComplete:function(){return C&&C(R)}}):($e&&$e.progress(1).kill(),$e=0)},s&&(s.vars.lazy=!1,s._initted&&!R.isReverted||s.vars.immediateRender!==!1&&r.immediateRender!==!1&&s.duration()&&s.render(0,!0,!0),R.animation=s.pause(),s.scrollTrigger=R,R.scrubDuration(g),ns=0,f||(f=s.vars.id)),N&&((!ba(N)||N.push)&&(N={snapTo:N}),"scrollBehavior"in gt.style&&_e.set(ae?[gt,Gr]:K,{scrollBehavior:"auto"}),Xe.forEach(function(ce){return er(ce)&&ce.target===(ae?wt.scrollingElement||Gr:K)&&(ce.smooth=!1)}),ht=er(N.snapTo)?N.snapTo:N.snapTo==="labels"?_V(s):N.snapTo==="labelsDirectional"?SV(s):N.directional!==!1?function(ce,De){return s1(N.snapTo)(ce,Qn()-de<500?0:De.direction)}:_e.utils.snap(N.snapTo),bn=N.duration||{min:.1,max:2},bn=ba(bn)?ld(bn.min,bn.max):ld(bn,bn),_n=_e.delayedCall(N.delay||ks/2||.1,function(){var ce=ye(),De=Qn()-de<500,Ne=je.tween;if((De||Math.abs(R.getVelocity())<10)&&!Ne&&!pm&&ue!==ce){var Ie=(ce-Fe)/tt,Mt=s&&!ne?s.totalProgress():Ie,We=De?0:(Mt-Cs)/(Qn()-$u)*1e3||0,Et=_e.utils.clamp(-Ie,1-Ie,Il(We/2)*We/.185),Sn=Ie+(N.inertia===!1?0:Et),Rt,St,nt=N,yr=nt.onStart,Ct=nt.onInterrupt,sr=nt.onComplete;if(Rt=ht(Sn,R),qu(Rt)||(Rt=Sn),St=Math.max(0,Math.round(Fe+Rt*tt)),ce<=le&&ce>=Fe&&St!==ce){if(Ne&&!Ne._initted&&Ne.data<=Il(St-ce))return;N.inertia===!1&&(Et=Rt-Ie),je(St,{duration:bn(Il(Math.max(Il(Sn-Mt),Il(Rt-Mt))*.185/We/.05||0)),ease:N.ease||"power3",data:Il(St-ce),onInterrupt:function(){return _n.restart(!0)&&Ct&&Dl(R,Ct)},onComplete:function(){R.update(),ue=ye(),s&&!ne&&($e?$e.resetTo("totalProgress",Rt,s._tTime/s._tDur):s.progress(Rt)),ns=Cs=s&&!ne?s.totalProgress():R.progress,j&&j(R),sr&&Dl(R,sr)}},ce,Et*tt,St-ce-Et*tt),yr&&Dl(R,yr,je.tween)}}else R.isActive&&ue!==ce&&_n.restart(!0)}).pause()),f&&(pv[f]=R),v=R.trigger=jr(v||x!==!0&&x),rs=v&&v._gsap&&v._gsap.stRevert,rs&&(rs=rs(R)),x=x===!0?v:jr(x),Hr(c)&&(c={targets:v,className:c}),x&&(k===!1||k===gs||(k=!k&&x.parentNode&&x.parentNode.style&&ys(x.parentNode).display==="flex"?!1:sn),R.pin=x,be=_e.core.getCache(x),be.spacer?ft=be.pinState:(D&&(D=jr(D),D&&!D.nodeType&&(D=D.current||D.nativeElement),be.spacerIsNative=!!D,D&&(be.spacerState=Ah(D))),be.spacer=mt=D||wt.createElement("div"),mt.classList.add("pin-spacer"),f&&mt.classList.add("pin-spacer-"+f),be.pinState=ft=Ah(x)),r.force3D!==!1&&_e.set(x,{force3D:!0}),R.spacer=mt=be.spacer,Vs=ys(x),Ir=Vs[k+V.os2],at=_e.getProperty(x),dn=_e.quickSetter(x,V.a,gn),$y(x,mt,Vs),Zt=Ah(x)),Y){ze=ba(Y)?oC(Y,aC):aC,W=Rh("scroller-start",f,K,V,ze,0),Ge=Rh("scroller-end",f,K,V,ze,0,W),en=W["offset"+V.op.d2];var $i=jr(Fo(K,"content")||K);xe=this.markerStart=Rh("start",f,$i,V,ze,en,0,M),he=this.markerEnd=Rh("end",f,$i,V,ze,en,0,M),M&&(hi=_e.quickSetter([xe,he],V.a,gn)),!me&&!(ci.length&&Fo(K,"fixedMarkers")===!0)&&(bV(ae?gt:K),_e.set([W,Ge],{force3D:!0}),rr=_e.quickSetter(W,V.a,gn),zs=_e.quickSetter(Ge,V.a,gn))}if(M){var Ue=M.vars.onUpdate,Pe=M.vars.onUpdateParams;M.eventCallback("onUpdate",function(){R.update(0,0,1),Ue&&Ue.apply(M,Pe||[])})}if(R.previous=function(){return qe[qe.indexOf(R)-1]},R.next=function(){return qe[qe.indexOf(R)+1]},R.revert=function(ce,De){if(!De)return R.kill(!0);var Ne=ce!==!1||!R.enabled,Ie=Kn;Ne!==R.isReverted&&(Ne&&(gr=Math.max(ye(),R.scroll.rec||0),ee=R.progress,$s=s&&s.progress()),xe&&[xe,he,W,Ge].forEach(function(Mt){return Mt.style.display=Ne?"none":"block"}),Ne&&(Kn=R,R.update(Ne)),x&&(!P||!R.isActive)&&(Ne?TV(x,mt,ft):$y(x,mt,ys(x),Pt)),Ne||R.update(Ne),Kn=Ie,R.isReverted=Ne)}
vendor: 4,280 bytes, line 436
436,R.refresh=function(ce,De,Ne,Ie){if(!((Kn||!R.enabled)&&!De)){if(x&&ce&&_s){Pn(t,"scrollEnd",oP);return}!hr&&L&&L(R),Kn=R,je.tween&&!Ne&&(je.tween.kill(),je.tween=0),$e&&$e.pause(),b&&s&&(s.revert({kill:!1}).invalidate(),s.getChildren?s.getChildren(!0,!0,!1).forEach(function(Hs){return Hs.vars.immediateRender&&Hs.render(0,!0,!0)}):s.vars.immediateRender&&s.render(0,!0,!0)),R.isReverted||R.revert(!0,!0),R._subPinOffset=!1;var Mt=G(),We=ge(),Et=M?M.duration():ii(K,V),Sn=tt<=.01||!tt,Rt=0,St=Ie||0,nt=ba(Ne)?Ne.end:r.end,yr=r.endTrigger||v,Ct=ba(Ne)?Ne.start:r.start||(r.start===0||!v?0:x?"0 0":"0 100%"),sr=R.pinnedContainer=r.pinnedContainer&&jr(r.pinnedContainer,R),Fr=v&&Math.max(0,qe.indexOf(R))||0,tn=Fr,nn,fn,pi,cl,Ye,Gt,vr,ul,Jo,Xo,Br,Ws,ir;for(Y&&ba(Ne)&&(Ws=_e.getProperty(W,V.p),ir=_e.getProperty(Ge,V.p));tn-- >0;)Gt=qe[tn],Gt.end||Gt.refresh(0,1)||(Kn=R),vr=Gt.pin,vr&&(vr===v||vr===x||vr===sr)&&!Gt.isReverted&&(Xo||(Xo=[]),Xo.unshift(Gt),Gt.revert(!0,!0)),Gt!==qe[tn]&&(Fr--,tn--);for(er(Ct)&&(Ct=Ct(R)),Ct=nC(Ct,"start",R),Fe=dC(Ct,v,Mt,V,ye(),xe,W,R,We,Z,me,Et,M,R._startClamp&&"_startClamp")||(x?-.001:0),er(nt)&&(nt=nt(R)),Hr(nt)&&!nt.indexOf("+=")&&(~nt.indexOf(" ")?nt=(Hr(Ct)?Ct.split(" ")[0]:"")+nt:(Rt=up(nt.substr(2),Mt),nt=Hr(Ct)?Ct:(M?_e.utils.mapRange(0,M.duration(),M.scrollTrigger.start,M.scrollTrigger.end,Fe):Fe)+Rt,yr=v)),nt=nC(nt,"end",R),le=Math.max(Fe,dC(nt||(yr?"100% 0":Et),yr,Mt,V,ye()+Rt,he,Ge,R,We,Z,me,Et,M,R._endClamp&&"_endClamp"))||-.001,Rt=0,tn=Fr;tn--;)Gt=qe[tn]||{},vr=Gt.pin,vr&&Gt.start-Gt._pinPush<=Fe&&!M&&Gt.end>0&&(nn=Gt.end-(R._startClamp?Math.max(0,Gt.start):Gt.start),(vr===v&&Gt.start-Gt._pinPush<Fe||vr===sr)&&isNaN(Ct)&&(Rt+=nn*(1-Gt.progress)),vr===x&&(St+=nn));if(Fe+=Rt,le+=Rt,R._startClamp&&(R._startClamp+=Rt),R._endClamp&&!hr&&(R._endClamp=le||-.001,le=Math.min(le,ii(K,V))),tt=le-Fe||(Fe-=.01)&&.001,Sn&&(ee=_e.utils.clamp(0,1,_e.utils.normalize(Fe,le,gr))),R._pinPush=St,xe&&Rt&&(nn={},nn[V.a]="+="+Rt,sr&&(nn[V.p]="-="+ye()),_e.set([xe,he],nn)),x&&!(hv&&R.end>=ii(K,V)))nn=ys(x),cl=V===vn,pi=ye(),wn=parseFloat(at(V.a))+St,!Et&&le>1&&(Br=(ae?wt.scrollingElement||Gr:K).style,Br={style:Br,value:Br["overflow"+V.a.toUpperCase()]},ae&&ys(gt)["overflow"+V.a.toUpperCase()]!=="scroll"&&(Br.style["overflow"+V.a.toUpperCase()]="scroll")),$y(x,mt,nn),Zt=Ah(x),fn=Pi(x,!0),ul=me&&Wo(K,cl?pr:vn)(),k?(Pt=[k+V.os2,tt+St+gn],Pt.t=mt,tn=k===sn?Wp(x,V)+tt+St:0,tn&&(Pt.push(V.d,tn+gn),mt.style.flexBasis!=="auto"&&(mt.style.flexBasis=tn+gn)),oc(Pt),sr&&qe.forEach(function(Hs){Hs.pin===sr&&Hs.vars.pinSpacing!==!1&&(Hs._subPinOffset=!0)}),me&&ye(gr)):(tn=Wp(x,V),tn&&mt.style.flexBasis!=="auto"&&(mt.style.flexBasis=tn+gn)),me&&(Ye={top:fn.top+(cl?pi-Fe:ul)+gn,left:fn.left+(cl?ul:pi-Fe)+gn,boxSizing:"border-box",position:"fixed"},Ye[$a]=Ye["max"+Pc]=Math.ceil(fn.width)+gn,Ye[Wa]=Ye["max"+r1]=Math.ceil(fn.height)+gn,Ye[gs]=Ye[gs+fd]=Ye[gs+ud]=Ye[gs+hd]=Ye[gs+dd]="0",Ye[sn]=nn[sn],Ye[sn+fd]=nn[sn+fd],Ye[sn+ud]=nn[sn+ud],Ye[sn+hd]=nn[sn+hd],Ye[sn+dd]=nn[sn+dd],un=jV(ft,Ye,P),hr&&ye(0)),s?(Jo=s._initted,By(1),s.render(s.duration(),!0,!0),Mn=at(V.a)-wn+tt+St,$n=Math.abs(tt-Mn)>1,me&&$n&&un.splice(un.length-2,2),s.render(0,!0,!0),Jo||s.invalidate(!0),s.parent||s.totalTime(s.totalTime()),By(0)):Mn=tt,Br&&(Br.value?Br.style["overflow"+V.a.toUpperCase()]=Br.value:Br.style.removeProperty("overflow-"+V.a));else if(v&&ye()&&!M)for(fn=v.parentNode;fn&&fn!==gt;)fn._pinOffset&&(Fe-=fn._pinOffset,le-=fn._pinOffset),fn=fn.parentNode;Xo&&Xo.forEach(function(Hs){return Hs.revert(!1,!0)}),R.start=Fe,R.end=le,pt=Qe=hr?gr:ye(),!M&&!hr&&(pt<gr&&ye(gr),R.scroll.rec=0),R.revert(!1,!0),de=Qn(),_n&&(ue=-1,_n.restart(!0)),Kn=0,s&&ne&&(s._initted||$s)&&s.progress()!==$s&&s.progress($s||0,!0).render(s.time(),!0,!0),(Sn||ee!==R.progress||M||b||s&&!s._initted)&&(s&&!ne&&(s._initted||ee||s.vars.immediateRender!==!1)&&s.totalProgress(M&&Fe<-.001&&!ee?_e.utils.normalize(Fe,le,0):ee,!0),R.progress=Sn||(pt-Fe)/tt===ee?0:ee),x&&k&&(mt._pinOffset=Math.round(R.progress*Mn)),$e&&$e.invalidate(),isNaN(Ws)||(Ws-=_e.getProperty(W,V.p),ir-=_e.getProperty(Ge,V.p),Oh(W,V,Ws),Oh(xe,V,Ws-(Ie||0)),Oh(Ge,V,ir),Oh(he,V,ir-(Ie||0))),Sn&&!hr&&R.update(),p&&!hr&&!dt&&(dt=!0,p(R),dt=!1)}},R.getVelocity=function(){return(ye()-Qe)/(Qn()-$u)*1e3||0}
vendor: 13,530 bytes, line 436
436,R.endAnimation=function(){Ru(R.callbackAnimation),s&&($e?$e.progress(1):s.paused()?ne||Ru(s,R.direction<0,1):Ru(s,s.reversed()))},R.labelToScroll=function(ce){return s&&s.labels&&(Fe||R.refresh()||Fe)+s.labels[ce]/s.duration()*tt||0},R.getTrailing=function(ce){var De=qe.indexOf(R),Ne=R.direction>0?qe.slice(0,De).reverse():qe.slice(De+1);return(Hr(ce)?Ne.filter(function(Ie){return Ie.vars.preventOverlaps===ce}):Ne).filter(function(Ie){return R.direction>0?Ie.end<=Fe:Ie.start>=le})},R.update=function(ce,De,Ne){if(!(M&&!Ne&&!ce)){var Ie=hr===!0?gr:R.scroll(),Mt=ce?0:(Ie-Fe)/tt,We=Mt<0?0:Mt>1?1:Mt||0,Et=R.progress,Sn,Rt,St,nt,yr,Ct,sr,Fr;if(De&&(Qe=pt,pt=M?ye():Ie,N&&(Cs=ns,ns=s&&!ne?s.totalProgress():We)),_&&x&&!Kn&&!Th&&_s&&(!We&&Fe<Ie+(Ie-Qe)/(Qn()-$u)*_?We=1e-4:We===1&&le>Ie+(Ie-Qe)/(Qn()-$u)*_&&(We=.9999)),We!==Et&&R.enabled){if(Sn=R.isActive=!!We&&We<1,Rt=!!Et&&Et<1,Ct=Sn!==Rt,yr=Ct||!!We!=!!Et,R.direction=We>Et?1:-1,R.progress=We,yr&&!Kn&&(St=We&&!Et?0:We===1?1:Et===1?2:3,ne&&(nt=!Ct&&J[St+1]!=="none"&&J[St+1]||J[St],Fr=s&&(nt==="complete"||nt==="reset"||nt in s))),z&&(Ct||Fr)&&(Fr||g||!s)&&(er(z)?z(R):R.getTrailing(z).forEach(function(pi){return pi.endAnimation()})),ne||($e&&!Kn&&!Th?($e._dp._time-$e._start!==$e._time&&$e.render($e._dp._time-$e._start),$e.resetTo?$e.resetTo("totalProgress",We,s._tTime/s._tDur):($e.vars.totalProgress=We,$e.invalidate().restart())):s&&s.totalProgress(We,!!(Kn&&(de||ce)))),x){if(ce&&k&&(mt.style[k+V.os2]=Ir),!me)dn(Hu(wn+Mn*We));else if(yr){if(sr=!ce&&We>Et&&le+1>Ie&&Ie+1>=ii(K,V),P)if(!ce&&(Sn||sr)){var tn=Pi(x,!0),nn=Ie-Fe;fC(x,gt,tn.top+(V===vn?nn:0)+gn,tn.left+(V===vn?0:nn)+gn)}else fC(x,mt);oc(Sn||sr?un:Zt),$n&&We<1&&Sn||dn(wn+(We===1&&!sr?Mn:0))}}N&&!je.tween&&!Kn&&!Th&&_n.restart(!0),c&&(Ct||T&&We&&(We<1||!Uy))&&Md(c.targets).forEach(function(pi){return pi.classList[Sn||T?"add":"remove"](c.className)}),l&&!ne&&!ce&&l(R),yr&&!Kn?(ne&&(Fr&&(nt==="complete"?s.pause().totalProgress(1):nt==="reset"?s.restart(!0).pause():nt==="restart"?s.restart(!0):s[nt]()),l&&l(R)),(Ct||!Uy)&&(h&&Ct&&Dl(R,h),re[St]&&Dl(R,re[St]),T&&(We===1?R.kill(!1,1):re[St]=0),Ct||(St=We===1?1:3,re[St]&&Dl(R,re[St]))),O&&!Sn&&Math.abs(R.getVelocity())>(qu(O)?O:2500)&&(Ru(R.callbackAnimation),$e?$e.progress(1):Ru(s,nt==="reverse"?1:!We,1))):ne&&l&&!Kn&&l(R)}if(zs){var fn=M?Ie/M.duration()*(M._caScrollDist||0):Ie;rr(fn+(W._isFlipped?1:0)),zs(fn)}hi&&hi(-Ie/M.duration()*(M._caScrollDist||0))}},R.enable=function(ce,De){R.enabled||(R.enabled=!0,Pn(K,"resize",Gu),ae||Pn(K,"scroll",Fl),L&&Pn(t,"refreshInit",L),ce!==!1&&(R.progress=ee=0,pt=Qe=ue=ye()),De!==!1&&R.refresh())},R.getTween=function(ce){return ce&&je?je.tween:$e},R.setPositions=function(ce,De,Ne,Ie){if(M){var Mt=M.scrollTrigger,We=M.duration(),Et=Mt.end-Mt.start;ce=Mt.start+Et*ce/We,De=Mt.start+Et*De/We}R.refresh(!1,!1,{start:rC(ce,Ne&&!!R._startClamp),end:rC(De,Ne&&!!R._endClamp)},Ie),R.update()},R.adjustPinSpacing=function(ce){if(Pt&&ce){var De=Pt.indexOf(V.d)+1;Pt[De]=parseFloat(Pt[De])+ce+gn,Pt[1]=parseFloat(Pt[1])+ce+gn,oc(Pt)}},R.disable=function(ce,De){if(ce!==!1&&R.revert(!0,!0),R.enabled&&(R.enabled=R.isActive=!1,De||$e&&$e.pause(),gr=0,be&&(be.uncache=1),L&&jn(t,"refreshInit",L),_n&&(_n.pause(),je.tween&&je.tween.kill()&&(je.tween=0)),!ae)){for(var Ne=qe.length;Ne--;)if(qe[Ne].scroller===K&&qe[Ne]!==R)return;jn(K,"resize",Gu),ae||jn(K,"scroll",Fl)}},R.kill=function(ce,De){R.disable(ce,De),$e&&!De&&$e.kill(),f&&delete pv[f];var Ne=qe.indexOf(R);Ne>=0&&qe.splice(Ne,1),Ne===fr&&fp>0&&fr--,Ne=0,qe.forEach(function(Ie){return Ie.scroller===R.scroller&&(Ne=1)}),Ne||hr||(R.scroll.rec=0),s&&(s.scrollTrigger=null,ce&&s.revert({kill:!1}),De||s.kill()),xe&&[xe,he,W,Ge].forEach(function(Ie){return Ie.parentNode&&Ie.parentNode.removeChild(Ie)}),pd===R&&(pd=0),x&&(be&&(be.uncache=1),Ne=0,qe.forEach(function(Ie){return Ie.pin===x&&Ne++}),Ne||(be.spacer=0)),r.onKill&&r.onKill(R)},qe.push(R),R.enable(!1,!1),rs&&rs(R),s&&s.add&&!tt){var Ze=R.update;R.update=function(){R.update=Ze,Xe.cache++,Fe||le||R.refresh()},_e.delayedCall(.01,R.update),tt=.01,Fe=le=0}else R.refresh();x&&kV()},t.register=function(r){return $l||(_e=r||eP(),ZN()&&window.document&&t.enable(),$l=Wu),$l},t.defaults=function(r){if(r)for(var s in r)Ph[s]=r[s];return Ph},t.disable=function(r,s){Wu=0,qe.forEach(function(l){return l[s?"kill":"disable"](r)}),jn(Je,"wheel",Fl),jn(wt,"scroll",Fl),clearInterval(kh),jn(wt,"touchcancel",Xs),jn(gt,"touchstart",Xs),jh(jn,wt,"pointerdown,touchstart,mousedown",sC),jh(jn,wt,"pointerup,touchend,mouseup",iC),$p.kill(),Eh(jn);for(var o=0;o<Xe.length;o+=3)Nh(jn,Xe[o],Xe[o+1]),Nh(jn,Xe[o],Xe[o+2])},t.enable=function(){if(Je=window,wt=document,Gr=wt.documentElement,gt=wt.body,_e){if(Md=_e.utils.toArray,ld=_e.utils.clamp,fv=_e.core.context||Xs,By=_e.core.suppressOverwrites||Xs,Zx=Je.history.scrollRestoration||"auto",mv=Je.pageYOffset||0,_e.core.globals("ScrollTrigger",t),gt){Wu=1,ic=document.createElement("div"),ic.style.height="100vh",ic.style.position="absolute",uP(),vV(),Xt.register(_e),t.isTouch=Xt.isTouch,mo=Xt.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),dv=Xt.isTouch===1,Pn(Je,"wheel",Fl),Qx=[Je,wt,Gr,gt],_e.matchMedia?(t.matchMedia=function(p){var g=_e.matchMedia(),v;for(v in p)g.add(v,p[v]);return g},_e.addEventListener("matchMediaInit",function(){lP(),i1()}),_e.addEventListener("matchMediaRevert",function(){return aP()}),_e.addEventListener("matchMedia",function(){Ta(0,1),Qa("matchMedia")}),_e.matchMedia().add("(orientation: portrait)",function(){return Vy(),Vy})):console.warn("Requires GSAP 3.11.0 or later"),Vy(),Pn(wt,"scroll",Fl);var r=gt.hasAttribute("style"),s=gt.style,o=s.borderTopStyle,l=_e.core.Animation.prototype,c,f;for(l.revert||Object.defineProperty(l,"revert",{value:function(){return this.time(-.01,!0)}}),s.borderTopStyle="solid",c=Pi(gt),vn.m=Math.round(c.top+vn.sc())||0,pr.m=Math.round(c.left+pr.sc())||0,o?s.borderTopStyle=o:s.removeProperty("border-top-style"),r||(gt.setAttribute("style",""),gt.removeAttribute("style")),kh=setInterval(lC,250),_e.delayedCall(.5,function(){return Th=0}),Pn(wt,"touchcancel",Xs),Pn(gt,"touchstart",Xs),jh(Pn,wt,"pointerdown,touchstart,mousedown",sC),jh(Pn,wt,"pointerup,touchend,mouseup",iC),uv=_e.utils.checkPrefix("transform"),hp.push(uv),$l=Qn(),$p=_e.delayedCall(.2,Ta).pause(),Wl=[wt,"visibilitychange",function(){var p=Je.innerWidth,g=Je.innerHeight;wt.hidden?(eC=p,tC=g):(eC!==p||tC!==g)&&Gu()},wt,"DOMContentLoaded",Ta,Je,"load",Ta,Je,"resize",Gu],Eh(Pn),qe.forEach(function(p){return p.enable(0,1)}),f=0;f<Xe.length;f+=3)Nh(jn,Xe[f],Xe[f+1]),Nh(jn,Xe[f],Xe[f+2])}else if(wt){var h=function p(){t.enable(),wt.removeEventListener("DOMContentLoaded",p)};wt.addEventListener("DOMContentLoaded",h)}}},t.config=function(r){"limitCallbacks"in r&&(Uy=!!r.limitCallbacks);var s=r.syncInterval;s&&clearInterval(kh)||(kh=s)&&setInterval(lC,s),"ignoreMobileResize"in r&&(dv=t.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Eh(jn)||Eh(Pn,r.autoRefreshEvents||"none"),JN=(r.autoRefreshEvents+"").indexOf("resize")===-1)},t.scrollerProxy=function(r,s){var o=jr(r),l=Xe.indexOf(o),c=Ja(o);~l&&Xe.splice(l,c?6:2),s&&(c?ci.unshift(Je,s,gt,s,Gr,s):ci.unshift(o,s))},t.clearMatchMedia=function(r){qe.forEach(function(s){return s._ctx&&s._ctx.query===r&&s._ctx.kill(!0,!0)})},t.isInViewport=function(r,s,o){var l=(Hr(r)?jr(r):r).getBoundingClientRect(),c=l[o?$a:Wa]*s||0;return o?l.right-c>0&&l.left+c<Je.innerWidth:l.bottom-c>0&&l.top+c<Je.innerHeight},t.positionInViewport=function(r,s,o){Hr(r)&&(r=jr(r));var l=r.getBoundingClientRect(),c=l[o?$a:Wa],f=s==null?c/2:s in Hp?Hp[s]*c:~s.indexOf("%")?parseFloat(s)*c/100:parseFloat(s)||0;return o?(l.left+f)/Je.innerWidth:(l.top+f)/Je.innerHeight},t.killAll=function(r){if(qe.slice(0).forEach(function(o){return o.vars.id!=="ScrollSmoother"&&o.kill()}),r!==!0){var s=Xa.killAll||[];Xa={},s.forEach(function(o){return o()})}},t})();et.version="3.15.0";et.saveStyles=function(t){return t?Md(t).forEach(function(e){if(e&&e.style){var n=Wr.indexOf(e);n>=0&&Wr.splice(n,5),Wr.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),_e.core.getCache(e),fv())}}):Wr};et.revert=function(t,e){return i1(!t,e)};et.create=function(t,e){return new et(t,e)};et.refresh=function(t){return t?Gu(!0):($l||et.register())&&Ta(!0)};et.update=function(t){return++Xe.cache&&Ii(t===!0?2:0)};et.clearScrollMemory=cP;et.maxScroll=function(t,e){return ii(t,e?pr:vn)};et.getScrollFunc=function(t,e){return Wo(jr(t),e?pr:vn)};et.getById=function(t){return pv[t]};et.getAll=function(){return qe.filter(function(t){return t.vars.id!=="ScrollSmoother"})};et.isScrolling=function(){return!!_s};et.snapDirectional=s1;et.addEventListener=function(t,e){var n=Xa[t]||(Xa[t]=[]);~n.indexOf(e)||n.push(e)};et.removeEventListener=function(t,e){var n=Xa[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)};et.batch=function(t,e){var n=[],r={},s=e.interval||.016,o=e.batchMax||1e9,l=function(h,p){var g=[],v=[],x=_e.delayedCall(s,function(){p(g,v),g=[],v=[]}).pause();return function(k){g.length||x.restart(!0),g.push(k.trigger),v.push(k),o<=g.length&&x.progress(1)}},c;for(c in e)r[c]=c.substr(0,2)==="on"&&er(e[c])&&c!=="onRefreshInit"?l(c,e[c]):e[c];return er(o)&&(o=o(),Pn(et,"refresh",function(){return o=e.batchMax()})),Md(t).forEach(function(f){var h={};for(c in r)h[c]=r[c];h.trigger=f,n.push(et.create(h))}),n};var pC=function(e,n,r,s){return n>s?e(s):n<0&&e(0),r>s?(s-n)/(r-n):r<0?n/(n-r):1},Wy=function t(e,n){n===!0?e.style.removeProperty("touch-action"):e.style.touchAction=n===!0?"auto":n?"pan-"+n+(Xt.isTouch?" pinch-zoom":""):"none",e===Gr&&t(gt,n)},Mh={auto:1,scroll:1},PV=function(e){var n=e.event,r=e.target,s=e.axis,o=(n.changedTouches?n.changedTouches[0]:n).target,l=o._gsap||_e.core.getCache(o),c=Qn(),f;if(!l._isScrollT||c-l._isScrollT>2e3){for(;o&&o!==gt&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(Mh[(f=ys(o)).overflowY]||Mh[f.overflowX]));)o=o.parentNode;l._isScroll=o&&o!==r&&!Ja(o)&&(Mh[(f=ys(o)).overflowY]||Mh[f.overflowX]),l._isScrollT=c}(l._isScroll||s==="x")&&(n.stopPropagation(),n._gsapAllow=!0)},fP=function(e,n,r,s){return Xt.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:n,onWheel:s=s&&PV,onPress:s,onDrag:s,onScroll:s,onEnable:function(){return r&&Pn(wt,Xt.eventTypes[0],gC,!1,!0)},onDisable:function(){return jn(wt,Xt.eventTypes[0],gC,!0)}})},RV=/(input|label|select|textarea)/i,mC,gC=function(e){var n=RV.test(e.target.tagName);(n||mC)&&(e._gsapAllow=!0,mC=n)},AV=function(e){ba(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 n=e,r=n.normalizeScrollX,s=n.momentum,o=n.allowNestedScroll,l=n.onRelease,c,f,h=jr(e.target)||Gr,p=_e.core.globals().ScrollSmoother,g=p&&p.get(),v=mo&&(e.content&&jr(e.content)||g&&e.content!==!1&&!g.smooth()&&g.content()),x=Wo(h,vn),k=Wo(h,pr),b=1,_=(Xt.isTouch&&Je.visualViewport?Je.visualViewport.scale*Je.visualViewport.width:Je.outerWidth)/Je.innerWidth,C=0,j=er(s)?function(){return s(c)}:function(){return s||2.8},T,N,P=fP(h,e.type,!0,o),D=function(){return N=!1},M=Xs,O=Xs,z=function(){f=ii(h,vn),O=ld(mo?1:0,f),r&&(M=ld(0,ii(h,pr))),T=Ha},V=function(){v._gsap.y=Hu(parseFloat(v._gsap.y)+x.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",x.offset=x.cacheID=0},ne=function(){if(N){requestAnimationFrame(D);var Y=Hu(c.deltaY/2),Z=O(x.v-Y);if(v&&Z!==x.v+x.offset){x.offset=Z-x.v;var R=Hu((parseFloat(v&&v._gsap.y)||0)-x.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+R+", 0, 1)",v._gsap.y=R+"px",x.cacheID=Xe.cache,Ii()}return!0}x.offset&&V(),N=!0},K,ie,ae,me,re=function(){z(),K.isActive()&&K.vars.scrollY>f&&(x()>f?K.progress(1)&&x(f):K.resetTo("scrollY",f))};return v&&_e.set(v,{y:"+=0"}),e.ignoreCheck=function(J){return mo&&J.type==="touchmove"&&ne()||b>1.05&&J.type!=="touchstart"||c.isGesturing||J.touches&&J.touches.length>1},e.onPress=function(){N=!1;var J=b;b=Hu((Je.visualViewport&&Je.visualViewport.scale||1)/_),K.pause(),J!==b&&Wy(h,b>1.01?!0:r?!1:"x"),ie=k(),ae=x(),z(),T=Ha},e.onRelease=e.onGestureStart=function(J,Y){if(x.offset&&V(),!Y)me.restart(!0);else{Xe.cache++;var Z=j(),R,L;r&&(R=k(),L=R+Z*.05*-J.velocityX/.227,Z*=pC(k,R,L,ii(h,pr)),K.vars.scrollX=M(L)),R=x(),L=R+Z*.05*-J.velocityY/.227,Z*=pC(x,R,L,ii(h,vn)),K.vars.scrollY=O(L),K.invalidate().duration(Z).play(.01),(mo&&K.vars.scrollY>=f||R>=f-1)&&_e.to({},{onUpdate:re,duration:Z})}l&&l(J)},e.onWheel=function(){K._ts&&K.pause(),Qn()-C>1e3&&(T=0,C=Qn())},e.onChange=function(J,Y,Z,R,L){if(Ha!==T&&z(),Y&&r&&k(M(R[2]===Y?ie+(J.startX-J.x):k()+Y-R[1])),Z){x.offset&&V();var G=L[2]===Z,ge=G?ae+J.startY-J.y:x()+Z-L[1],ue=O(ge);G&&ge!==ue&&(ae+=ue-ge),x(ue)}(Z||Y)&&Ii()},e.onEnable=function(){Wy(h,r?!1:"x"),et.addEventListener("refresh",re),Pn(Je,"resize",re),x.smooth&&(x.target.style.scrollBehavior="auto",x.smooth=k.smooth=!1),P.enable()},e.onDisable=function(){Wy(h,!0),jn(Je,"resize",re),et.removeEventListener("refresh",re),P.kill()},e.lockAxis=e.lockAxis!==!1,c=new Xt(e),c.iOS=mo,mo&&!x()&&x(1),mo&&_e.ticker.add(Xs),me=c._dc,K=_e.to(c,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:dP(x,x(),function(){return K.pause()})},onUpdate:Ii,onComplete:me.vars.onComplete}),c};et.sort=function(t){if(er(t))return qe.sort(t);var e=Je.pageYOffset||0;return et.getAll().forEach(function(n){return n._sortY=n.trigger?e+n.trigger.getBoundingClientRect().top:n.start+Je.innerHe
436ight}),qe.sort(t||function(n,r){return(n.vars.refreshPriority||0)*-1e6+(n.vars.containerAnimation?1e6:n._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};et.observe=function(t){return new Xt(t)};et.normalizeScroll=function(t){if(typeof t>"u")return dr;if(t===!0&&dr)return dr.enable();if(t===!1){dr&&dr.kill(),dr=t;return}var e=t instanceof Xt?t:AV(t);return dr&&dr.target===e.target&&dr.kill(),Ja(e.target)&&(dr=e),e};et.core={_getVelocityProp:cv,_inputObserver:fP,_scrollers:Xe,_proxies:ci,bridge:{ss:function(){_s||Qa("scrollStart"),_s=Qn()},ref:function(){return Kn}}};eP()&&_e.registerPlugin(et);/*!
437 * @gsap/react 2.1.2
438 * https://gsap.com
439 *
440 * Copyright 2008-2025, GreenSock. All rights reserved.
441 * Subject to the terms at https://gsap.com/standard-license or for
442 * Club GSAP members, the agreement issued with that membership.
443 * @author: Jack Doyle, [email protected]
444*/let yC=typeof document<"u"?S.useLayoutEffect:S.useEffect,vC=t=>t&&!Array.isArray(t)&&typeof t=="object",Lh=[],OV={},hP=Wt;const Ss=(t,e=Lh)=>{let n=OV;vC(t)?(n=t,t=null,e="dependencies"in n?n.dependencies:Lh):vC(e)&&(n=e,e="dependencies"in n?n.dependencies:Lh),t&&typeof t!="function"&&console.warn("First parameter must be a function or config object");const{scope:r,revertOnUpdate:s}=n,o=S.useRef(!1),l=S.useRef(hP.context(()=>{},r)),c=S.useRef(h=>l.current.add(null,h)),f=e&&e.length&&!s;return f&&yC(()=>(o.current=!0,()=>l.current.revert()),Lh),yC(()=>
444{if(t&&l.current.add(t,r),!f||!o.current)return()=>l.current.revert()},e),{context:l.current,contextSafe:c.current}};Ss.register=t=>{hP=t};Ss.headless=!0;Wt.registerPlugin(et,Ss);const zi=()=>typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function pP({children:t,className:e="",strength:n=.25}){const r=S.useRef(null);return Ss(()=>{const s=r.current;if(!s||zi())return;const o=Wt.quickTo(s,"x",{duration:.5,ease:"elastic.out(1, 0.4)"}),l=Wt.quickTo(s,"y",{duration:.5,ease:"elastic.out(1, 0.4)"}),c=h=>{const p=s.getBoundingClientRect();o((h.clientX-p.left-p.width/2)*n),l((h.clientY-p.top-p.height/2)*n)},f=()=>{o(0),l(0)};return s.addEventListener("mousemove",c),s.addEventListener("mouseleave",f),()=>{s.removeEventListener("mousemove",c),s.removeEventListener("mouseleave",f)}},{scope:r,dependencies:[n]}),u.jsx("div",{ref:r,className:`inline-block ${e||""}`,children:t})}const MV="https://registration.jct.ac.il/en/start/identify?redirect=%2Fregistration-status",Dh=[{word:"innovation",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/069911626_www_jct_ac_il_shl0001_-703_7a05d6bb.jpg",color:"text-accent"},{word:"engineering",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/6be3b7dc4_www_jct_ac_il_stem-option-1_21ed0d91.jpg",color:"text-gem-teal"},{word:"medicine",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/b0a974a69_www_jct_ac_il_nursing-program-50-of-122-_am10098_9e7e1c68.jpg",color:"text-gem-magenta"},{word:"hi-tech",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/5a9c2e9a1_www_jct_ac_il_preisdent-herzog-learning-with-students_335546de.jpg",color:"text-accent"},{word:"excellence",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/e77848b17_www_jct_ac_il_beit-midrash_6861eade.jpg",color:"text-gem-teal"}],xC=3600,LV=1.2,DV=["94% employment upon graduation","4,500 students · 3 campuses","55+ years in Jerusalem"];function IV(){const[t,e]=S.useState(0),n=rf(),r=S.useRef(null),{scrollYProgress:s}=Ox({target:r,offset:["start start","end start"]}),o=Fa(s,[0,1],["0%","25%"]),l=Fa(s,[0,1],["0%","30%"]),c=Fa(s,[0,.7],[1,0]);return S.useEffect(()=>{if(n)return;const f=setInterval(()=>e(h=>(h+1)%Dh.length),xC);return()=>clearInterval(f)},[n]),u.jsxs("section",{ref:r,className:"relative h-screen min-h-[640px] overflow-hidden bg-primary grain",children:[u.jsx(Ve.div,{className:"absolute inset-0",style:{y:o},children:u.jsx(An,{mode:"sync",children:u.jsx(Ve.div,{className:"absolute inset-0",initial:{opacity:0}
444,animate:{opacity:1},exit:{opacity:0},transition:{duration:n?0:LV,ease:"easeInOut"},children:u.jsx(Ve.img,{src:Dh[t].image,alt:"",initial:{scale:1},animate:{scale:n?1:1.06},transition:{duration:xC/1e3,ease:"linear"},className:"w-full h-full object-cover object-center"})},t)})}),u.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top right, rgba(11,30,61,0.96) 0%, rgba(11,30,61,0.85) 35%, rgba(11,30,61,0.50) 68%, rgba(11,30,61,0.25) 100%)"}}),u.jsx("div",{className:"absolute inset-y-0 left-0 w-2/3",style:{background:"linear-gradient(to right, rgba(11,30,61,0.55) 0%, rgba(11,30,61,0.28) 50%, transparent 100%)"}}),u.jsx("div",{className:"absolute inset-x-0 top-0 h-40",style:{background:"linear-gradient(to bottom, rgba(11,30,61,0.55), transparent)"}}),u.jsx(Ve.div,{style:{y:l,opacity:c},className:"relative z-10 h-full flex flex-col justify-end pb-20 sm:pb-24 px-4 sm:px-6 lg:px-8",children:u.jsx("div",{className:"max-w-7xl mx-auto w-full",children:u.jsxs("div",{className:"max-w-4xl",children:[u.jsxs("h1",{className:"font-display font-bold text-white tracking-tight leading-[0.92]",style:{fontSize:"clamp(3rem, 8.5vw, 7rem)"},children:[u.jsx("span",{className:"block overflow-hidden",children:u.jsx(Ve.span,{className:"block",initial:{y:"100%",opacity:0}
444,animate:{y:"0%",opacity:1},transition:{duration:1,delay:.4,ease:[.22,1,.36,1]},children:"Where Torah meets"})}),u.jsx("span",{className:"block overflow-hidden pt-1 sm:pt-2",children:u.jsx(Ve.span,{className:"block",initial:{y:"100%",opacity:0},animate:{y:"0%",opacity:1},transition:{duration:1,delay:.55,ease:[.22,1,.36,1]},children:u.jsx("span",{className:"relative inline-block overflow-hidden align-bottom pb-[0.14em] -mb-[0.08em] pr-[0.1em]",children:u.jsx(An,{mode:"popLayout",children:u.jsx(Ve.span,{className:`inline-block font-serif-accent ${Dh[t].color}`,initial:{y:"110%",filter:"blur(6px)"},animate:{y:"0%",filter:"blur(0px)"},exit:{y:"-110%",filter:"blur(6px)"},transition:{duration:.6,ease:[.22,1,.36,1]},children:Dh[t].word},t)})})})})]}),u.jsx(Ve.p,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.9,delay:.85,ease:[.22,1,.36,1]},className:"text-lg sm:text-xl text-white/80 mt-7 max-w-xl leading-relaxed",children:"An in-demand degree in English, in Jerusalem — rooted in Torah."}),u.jsxs(Ve.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.9,delay:1.05,ease:[.22,1,.36,1]},className:"flex flex-col sm:flex-row gap-3 sm:gap-4 mt-9 sm:mt-11",children:[u.jsx(pP,{children:u.jsxs("a",{href:MV,target:"_blank",rel:"noopener noreferrer",className:"group inline-flex items-center justify-center gap-2 bg-accent text-accent-foreground px-8 py-4 font-bold text-base hover:shadow-lg hover:shadow-accent/30 transition-all duration-300 rounded-md",children:["Apply Now ",u.jsx(qt,{className:"w-5 h-5 transition-transform duration-300 group-hover:translate-x-1"})]})}),u.jsxs("button",{onClick:()=>window.dispatchEvent(new CustomEvent("open-advisor-modal")),className:"inline-flex items-center justify-center gap-2 border border-white/25 text-white px-6 py-4 font-bold text-sm backdrop-blur-sm hover:bg-white/10 hover:border-white/50 transition-all duration-300 rounded-md",children:[u.jsx(Oc,{className:"w-4 h-4"})," Schedule a Call"]})]}),u.jsx(Ve.div,{initial:{opacity:0}
444,animate:{opacity:1},transition:{duration:.9,delay:1.25},className:"mt-8 flex flex-wrap items-center gap-x-4 gap-y-2",children:DV.map((f,h)=>u.jsxs("span",{className:"flex items-center gap-x-4",children:[h>0&&u.jsx("span",{className:"hidden sm:block w-px h-3 bg-gold/60","aria-hidden":"true"}),u.jsx("span",{className:"font-mono text-[11px] sm:text-xs text-white/55 tracking-[0.08em] uppercase",children:f})]},f))})]})})}),u.jsxs(Ve.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:1.5},className:"absolute bottom-8 left-1/2 -translate-x-1/2 z-20 hidden lg:flex flex-col items-center gap-2",children:[u.jsx("span",{className:"text-xs text-white/40 font-mono uppercase tracking-widest",children:"Scroll"}),u.jsx("div",{className:"w-px h-12 bg-white/20 relative overflow-hidden",children:u.jsx(Ve.div,{animate:{y:["-100%","100%"]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"absolute inset-x-0 top-0 h-1/2 bg-gold"})})]}),u.jsx("div",{className:"absolute bottom-0 inset-x-0 h-px bg-gold/40 z-20"})]})}const FV=["09:00","10:00","11:00","12:00","13:00","14:00","15:00","16:00"],BV=["Sunday","Monday","Tuesday","Wednesday","Thursday"];function UV(){const[t,e]=S.useState(!1),[n,r]=S.useState(1),[s,o]=S.useState(""),[l,c]=S.useState("");S.useEffect(()=>{const p=()=>{r(1),o(""),c(""),e(!0)};return window.addEventListener("open-advisor-modal",p),()=>window.removeEventListener("open-advisor-modal",p)},[]);const f=()=>e(!1),h=p=>{p.preventDefault(),r(3)};return u.jsx(u.Fragment,{children:u.jsx(An,{children:t&&u.jsxs(u.Fragment,{children:[u.jsx(Ve.div,{initial:{opacity:0}
444,animate:{opacity:1},exit:{opacity:0},onClick:f,className:"fixed inset-0 z-50 bg-primary/60 backdrop-blur-sm"}),u.jsxs(Ve.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{duration:.3,ease:[.22,1,.36,1]},className:"fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-50 w-full max-w-lg max-h-[85vh] overflow-y-auto bg-background rounded-lg shadow-2xl border border-border",children:[u.jsxs("div",{className:"sticky top-0 bg-background border-b border-border p-5 flex items-center justify-between rounded-t-lg z-10",children:[u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsx(Oc,{className:"w-5 h-5 text-accent"}),u.jsx("h3",{className:"font-bold font-display text-lg",children:"Meet with a Study Advisor"})]}),u.jsx("button",{onClick:f,className:"w-8 h-8 rounded-full hover:bg-muted flex items-center justify-center transition-colors",children:u.jsx(nl,{className:"w-5 h-5 text-muted-foreground"})})]}),u.jsx("div",{className:"px-5 pt-5",children:u.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[u.jsxs("span",{className:`flex items-center gap-1.5 ${n>=1?"text-accent font-bold":"text-muted-foreground"}`,children:[u.jsx("span",{className:`w-6 h-6 rounded-full flex items-center justify-center text-[10px] font-mono ${n>=1?"bg-accent text-accent-foreground":"bg-muted text-muted-foreground"}`,children:"1"}),"Choose Time"]}),u.jsx("span",{className:"flex-1 h-px bg-border"}),u.jsxs("span",{className:`flex items-center gap-1.5 ${n>=2?"text-accent font-bold":"text-muted-foreground"}`,children:[u.jsx("span",{className:`w-6 h-6 rounded-full flex items-center justify-center text-[10px] font-mono ${n>=2?"bg-accent text-accent-foreground":"bg-muted text-muted-foreground"}`,children:"2"}),"Your Details"]}),u.jsx("span",{className:"flex-1 h-px bg-border"}),u.jsxs("span",{className:`flex items-center gap-1.5 ${n>=3?"text-accent font-bold":"text-muted-foreground"}`,children:[u.jsx("span",{className:`w-6 h-6 rounded-full flex items-center justify-center text-[10px] font-mono ${n>=3?"bg-accent text-accent-foreground":"bg-muted text-muted-foreground"}`,children:"3"}),"Confirm"]})]})}),u.jsxs("div",{className:"p-5",children:[n===1&&u.jsxs("div",{children:[u.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Select a day and time that works for you. Meetings are 30 minutes, conducted via Zoom or phone."}),u.jsx("div",{className:"space-y-3",children:BV.map(p=>u.jsxs("div",{children:[u.jsx("div",{className:"text-xs font-semibold text-foreground mb-2",children:p}),u.jsx("div",{className:"grid grid-cols-4 gap-2",children:FV.map(g=>{const v=s===p&&l===g;return u.jsx("button",{onClick:()=>{o(p),c(g)},className:`py-2 rounded-lg text-xs font-medium transition-all ${v?"bg-accent text-accent-foreground":"bg-muted text-muted-foreground hover:bg-accent/10 hover:text-accent"}`,children:g},`${p}-${g}`)})})]},p))}),u.jsx("button",{onClick:()=>s&&r(2),disabled:!s,className:"w-full mt-5 bg-accent text-accent-foreground py-3 rounded-md font-bold text-sm hover:opacity-90 transition-opacity disabled:opacity-30",children:"Continue"})]}),n===2&&u.jsxs("form",{onSubmit:h,className:"space-y-4",children:[u.jsxs("p",{className:"text-sm text-muted-foreground",children:["You selected: ",u.jsxs("span",{className:"font-semibold text-foreground",children:[s," at ",l]})]}),u.jsx("input",{type:"text",placeholder:"Full Name *",required:!0,className:"w-full px-4 py-3 bg-background rounded-md border border-border text-sm focus:outline-none focus:border-accent focus:ring-2 focus:ring-accent/20 transition-all"}),u.jsx("input",{type:"email",placeholder:"Email *",required:!0,className:"w-full px-4 py-3 bg-background rounded-md border border-border text-sm focus:outline-none focus:border-accent focus:ring-2 focus:ring-accent/20 transition-all"}),u.jsx("input",{type:"tel",placeholder:"Phone",className:"w-full px-4 py-3 bg-background rounded-md border border-border text-sm focus:outline-none focus:border-accent focus:ring-2 focus:ring-accent/20 transition-all"}),u.jsxs("select",{required:!0,defaultValue:"",className:"w-full px-4 py-3 bg-background rounded-md border border-border text-sm focus:outline-none focus:border-accent focus:ring-2 focus:ring-accent/20 transition-all",children:[u.jsx("option",{value:"",disabled:!0,children:"Program of Interest *"}),u.jsx("option",{children:"Computer Science"}),u.jsx("option",{children:"Business Administration"}),u.jsx("option",{children:"Engineering"}),u.jsx("option",{children:"Nursing / Health Sciences"}),u.jsx("option",{children:"Other / Undecided"})]}),u.jsx("textarea",{placeholder:"Any questions for the advisor?",rows:2,className:"w-full px-4 py-3 bg-background rounded-md border border-border text-sm focus:outline-none focus:border-accent focus:ring-2 focus:ring-accent/20 transition-all resize-none"}),u.jsxs("div",{className:"flex gap-3",children:[u.jsx("button",{type:"button",onClick:()=>r(1),className:"px-5 py-3 rounded-md border border-border text-sm font-bold text-foreground hover:bg-muted transition-colors",children:"Back"}),u.jsx("button",{type:"submit",className:"flex-1 bg-accent text-accent-foreground py-3 rounded-md font-bold text-sm hover:opacity-90 transition-opacity",children:"Confirm Meeting"})]})]}),n===3&&u.jsxs("div",{className:"text-center py-8",children:[u.jsx(hk,{className:"w-16 h-16 text-accent mx-auto mb-4"}),u.jsx("h3",{className:"text-xl font-bold text-foreground font-display mb-2",children:"Meeting Requested!"}),u.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed mb-1",children:["We've received your request for ",u.jsxs("span",{className:"font-semibold text-foreground",children:[s," at ",l]}),"."]}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"A study advisor will email you shortly to confirm the meeting details."}),u.jsx("button",{onClick:f,className:"mt-6 bg-accent text-accent-foreground px-6 py-3 rounded-md font-bold text-sm hover:opacity-90 transition-opacity",children:"Done"})]})]})]})]})})})}function zV({to:t,prefix:e="",suffix:n="",className:r=""}){const s=S.useRef(null);return Ss(()=>{const o=s.current;if(!o)return;const l=f=>`${e}${Math.floor(f)}${n}`;if(zi()){o.textContent=l(t);return}const c={val:0};o.textContent=l(0),Wt.to(c,{val:t,duration:t<=10?.8:2,ease:"power3.out",onUpdate:()=>{o.textContent=l(c.val)},scrollTrigger:{trigger:o,start:"top 90%",toggleActions:"play none none none"}})},{scope:s,dependencies:[t,e,n]}),u.jsxs("span",{ref:s,className:`font-mono ${r||""}
444`,children:[e,0 .toLocaleString(),n]})}function oe({children:t,delay:e=0,y:n=40,className:r="",once:s=!0}){const o=S.useRef(null);return Ss(()=>{const l=o.current;if(l){if(zi()){Wt.set(l,{opacity:1,y:0});return}Wt.fromTo(l,{opacity:0,y:n},{opacity:1,y:0,duration:.9,delay:e,ease:"expo.out",scrollTrigger:{trigger:l,start:"top 92%",toggleActions:s?"play none none none":"play none none reverse"}})}},{scope:o}),u.jsx("div",{ref:o,className:r,children:t})}const VV=[{number:18e3,suffix:"+",label:"Graduates"},{number:4480,label:"Students"},{number:557,label:"Academic Staff"},{number:24,label:"Study Tracks"},{number:80,suffix:"+",label:"Active Researchers"}],$V=[{num:"01",gem:"text-accent",title:"Accredited degree in English",copy:"Full degree programs taught in English, recognized by Israel's Council for Higher Education."},{num:"02",gem:"text-gem-teal",title:"Torah environment & community",copy:"Beit midrash learning woven into the academic day, on every campus."},{num:"03",gem:"text-gem-magenta",title:"Career-focused education",copy:"Curricula shaped alongside Israel's hi-tech, health, and business sectors."},{num:"04",gem:"text-gem-purple",title:"Personalized support every step",copy:"Small classes and advisors who know your name — from aliyah to employment."}];function WV(){return u.jsx("section",{className:"py-24 sm:py-28 bg-secondary",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[u.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 border-y border-primary/10",children:VV.map((t,e)=>u.jsxs(oe,{delay:e*.08,className:"px-4 sm:px-6 py-8 sm:py-10 border-primary/10 [&:nth-child(n+2)]:border-l max-sm:[&:nth-child(2n+1)]:border-l-0 sm:max-lg:[&:nth-child(3n+1)]:border-l-0",children:[u.jsxs("div",{className:"font-display font-bold tracking-tight text-primary text-4xl sm:text-5xl lg:text-[3.4rem] leading-none",children:[u.jsx(zV,{to:t.number,className:"font-display"}),t.suffix&&u.jsx("span",{className:"text-accent",children:t.suffix})]}),u.jsx("div",{className:"text-[11px] text-muted-foreground mt-3 font-mono uppercase tracking-[0.14em]",children:t.label})]},t.label))}),u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-14 gap-y-10 mt-16 sm:mt-20",children:$V.map((t,e)=>u.jsx(oe,{delay:e*.1,children:u.jsxs("div",{className:"flex items-baseline gap-5",children:[u.jsx("span",{className:`font-mono text-sm ${t.gem} flex-shrink-0`,children:t.num}),u.jsxs("div",{children:[u.jsx("h3",{className:"font-display font-bold text-foreground text-lg sm:text-xl tracking-tight leading-snug",children:t.title}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed mt-1.5 max-w-md",children:t.copy})]})]})},t.num))})]})})}const wC=[{id:"eng",label:"Engineering & CS",text:"text-accent",bar:"bg-accent"},{id:"life",label:"Life & Health Sciences",text:"text-gem-teal",bar:"bg-gem-teal"},{id:"biz",label:"Business Management",text:"text-gem-magenta",bar:"bg-gem-magenta"},{id:"grad",label:"Graduate Studies",text:"text-gem-purple",bar:"bg-gem-purple"}],bC=["https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/6be3b7dc4_www_jct_ac_il_stem-option-1_21ed0d91.jpg","https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/b0a974a69_www_jct_ac_il_nursing-program-50-of-122-_am10098_9e7e1c68.jpg","https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/06a5ed1a7_www_jct_ac_il_cc3u7514_3cc65798.jpg","https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/5a9c2e9a1_www_jct_ac_il_preisdent-herzog-learning-with-students_335546de.jpg","https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/72b0db86f_www_jct_ac_il_haredi_eb75ddb1.jpg","https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/e77848b17_www_jct_ac_il_beit-midrash_6861eade.jpg"],HV=[{name:"Electro-optics Engineering",faculty:"Engineering & Computer Science",description:"Electrophysics studies are part of the Department of Applied Physics. Graduates are entitled to a B.Sc. in physics or electro-optic engineering.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Undergraduate",slug:"electro-optics-engineering"},{name:"Electronic Engineering",faculty:"Engineering & Computer Science",description:"Electrical and electronic engineering is a broad field combining exact sciences and practical needs.",start_of_studies:"Fall Semester",campus:"Campus Lev",degree_level:"Undergraduate",slug:"electronic-e
444ngineering"},{name:"Industrial Engineering & Management",faculty:"Engineering & Computer Science",description:"Uses mathematical methods to optimize organizations, including project management.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Undergraduate",slug:"industrial-engineering-management"},{name:"Software Engineering",faculty:"Engineering & Computer Science",description:"Provides theoretical and applied knowledge in software engineering, training students for hi-tech industry careers.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Undergraduate",slug:"software-engineering"},{name:"Computer Science",faculty:"Engineering & Computer Science",description:"Undergraduate studies provide theoretical and applied knowledge in computer science for the high-tech industry.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Undergraduate",slug:"computer-science"},{name:"Bioinformatics",faculty:"Life & Health Sciences",description:"Combines life sciences with computer science. A pioneering field at the forefront of modern research.",start_of_studies:"February",campus:"Campus Lev",degree_level:"Undergraduate",slug:"bioinformatics"},{name:"Nursing",faculty:"Life & Health Sciences",description:"Nursing degree holders improve quality of life for patients throughout the life cycle, including special populations.",start_of_studies:"October",campus:"Campus Tal",degree_level:"Undergraduate",slug:"nursing"},{name:"Pharmacy",faculty:"Life & Health Sciences",description:"Program works in collaboration with Hebrew University; students receive a degree from Hebrew University upon completion.",start_of_studies:"Elul Semester",campus:"Campus Tal",degree_level:"Undergraduate",slug:"pharmacy"},{name:"Accounting and Information Systems",faculty:"Business Management",description:"Prepares graduates for key positions in accounting, financial management, and information systems.",start_of_studies:"Fall Semester",campus:"Campus Lev",degree_level:"Undergraduate",slug:"accounting-and-information-systems"},{name:"Business Administration",faculty:"Business Management",description:"BA studies focus on economics and finance, management, human resources, strategy and information systems.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Undergraduate",slug:"business-administration"},{name:"Physics/Electro-optics",faculty:"Graduate Studies",description:"A master's degree in electro-optics engineering designed to train skilled researchers and engineers.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Graduate",slug:"physicselectro-optics"},{name:"Master in CS – AI",faculty:"Graduate Studies",description:"A Master's degree enabling graduates to work in advanced positions in the AI and machine learning industry.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Graduate",slug:"master-in-computer-science-ai"}],qV={eng:"Engineering & Computer Science",life:"Life & Health Sciences",biz:"Business Management",grad:"Graduate Studies"},GV={eng:"engineering-computer-science",life:"life-health-sciences",biz:"business-management",grad:"graduate-studies"};function YV(){const[t,e]=S.useState([]),[n,r]=S.useState("eng"),[s,o]=S.useState(null),l=rf(),c=S.useRef(null),f=Mp(0),h=Mp(0),p=O2(f,{stiffness:260,damping:28,mass:.6}),g=O2(h,{stiffness:260,damping:28,mass:.6});S.useEffect(()=>{Un.entities.StudyTrack.list("-created_date",30).then(e).catch(()=>{})},[]);const x=(t.length>0?t:HV).filter(_=>_.faculty===qV[n]),k=wC.find(_=>_.id===n),b=_=>{var j;const C=(j=c.current)==null?void 0:j.getBoundingClientRect();C&&(f.set(_.clientX-C.left),h.set(_.clientY-C.top))};return u.jsx("section",{id:"programs",className:"py-28 sm:py-32 bg-secondary relative overflow-hidden",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[u.jsxs("div",{className:"grid lg:grid-cols-12 gap-8 mb-14",children:[u.jsxs(oe,{className:"lg:col-span-7",children:[u.jsx("span",{className:"text-accent font-mono text-xs uppercase tracking-[0.22em]",children:"Academic Programs"}),u.jsxs("h2",{className:"text-4xl sm:text-6xl lg:text-7xl font-bold text-foreground font-display tracking-tight mt-3 leading-[0.98]",children:["Degrees that shape",u.jsx("br",{}),"Israel's ",u.jsx("span",{className:"font-serif-accent text-accent",children:"future"})]})]}),u.jsx(oe,{delay:.2,className:"lg:col-span-5 flex items-end",children:u.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed max-w-md",children:"From computer science to nursing to business administration — four faculties, each combining rigorous academics with Torah values."})})]}),u.jsx(oe,{delay:.1,children:u.jsx("div",{className:"flex flex-wrap gap-x-8 gap-y-3 border-b border-primary/10",children:wC.map(_=>{const C=n===_.id;return u.jsxs("button",{onClick:()=>{r(_.id),o(null)},className:`relative pb-3 font-mono text-xs sm:text-sm uppercase tracking-[0.12em] transition-colors duration-300 ${C?_.text:"text-muted-foreground hover:text-foreground"}`,children:[_.label,C&&u.jsx(Ve.span,{layoutId:"faculty-underline",className:`absolute bottom-0 left-0 right-0 h-0.5 ${_.bar}`})]},_.id)})})}),u.jsxs("div",{ref:c,className:"relative mt-2",onMouseMove:b,onMouseLeave:()=>o(null),children:[u.jsx(An,{mode:"wait",children:u.jsx(Ve.ul,{initial:{opacity:0,y:12}
444,animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.35,ease:[.22,1,.36,1]},children:x.map((_,C)=>u.jsx("li",{className:"border-b border-primary/10",children:u.jsxs("a",{href:`https://www.jct.ac.il/en/academic-programs/${GV[n]}/${_.slug}/`,target:"_blank",rel:"noopener noreferrer",onMouseEnter:()=>o(C),className:"group grid grid-cols-[auto_1fr_auto] items-baseline sm:items-center gap-x-4 sm:gap-x-8 py-5 sm:py-6",children:[u.jsx("span",{className:`font-mono text-xs sm:text-sm ${k.text} w-7`,children:String(C+1).padStart(2,"0")}),u.jsxs("div",{children:[u.jsx("h3",{className:"font-display font-bold tracking-tight text-foreground text-xl sm:text-3xl lg:text-[2.1rem] leading-tight transition-transform duration-500 ease-premium group-hover:translate-x-2",children:_.name}),u.jsxs("p",{className:"sm:hidden font-mono text-[10px] uppercase tracking-[0.12em] text-muted-foreground mt-1.5",children:[_.degree_level,_.campus?` · ${_.campus}`:""]})]}),u.jsxs("div",{className:"flex items-center gap-6",children:[u.jsxs("span",{className:"hidden sm:block font-mono text-[11px] uppercase tracking-[0.12em] text-muted-foreground text-right",children:[_.degree_level,_.campus?` · ${_.campus}`:""]}),u.jsx(d4,{className:`w-5 h-5 ${k.text} opacity-0 -translate-x-1 translate-y-1 transition-all duration-500 ease-premium group-hover:opacity-100 group-hover:translate-x-0 group-hover:translate-y-0`})]})]})},_.slug||_.name))},n)}),!l&&u.jsx("div",{className:"hidden lg:block absolute inset-0 pointer-events-none z-10","aria-hidden":"true",children:u.jsx(An,{children:s!==null&&x[s]&&u.jsxs(Ve.div,{initial:{opacity:0,scale:.92},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.35,ease:[.22,1,.36,1]},style:{x:p,y:g},className:"absolute top-0 left-0 -translate-y-1/2 ml-10 w-[300px] h-[200px] rounded-md overflow-hidden shadow-2xl shadow-primary/30",children:[u.jsx(An,{mode:"sync",children:u.jsx(Ve.img,{src:bC[s%bC.length],alt:"",initial:{opacity:0,scale:1.08},animate:{opacity:1,scale:1},exit:{opacity:0},transition:{duration:.4,ease:"easeOut"},className:"absolute inset-0 w-full h-full object-cover"},s)}),u.jsx("div",{className:"absolute inset-0 ring-1 ring-inset ring-white/15 rounded-md"})]})})})]}),u.jsx(oe,{delay:.2,className:"mt-12",children:u.jsxs(cn,{to:"/AcademicPrograms",className:"group inline-flex items-center gap-2 text-accent font-bold",children:["View all programs ",u.jsx(qt,{className:"w-4 h-4 transition-transform duration-300 group-hover:translate-x-1"})]})})]})})}function KV(){return u.jsx("div",{className:"max-w-7xl mx-auto px-4 py-10",children:u.jsx(oe,{children:u.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4",children:[u.jsxs("div",{className:"flex items-center gap-4",children:[u.jsx("div",{className:"w-10 h-10 rounded-lg bg-accent/10 flex items-center justify-center flex-shrink-0",children:u.jsx("span",{className:"text-accent font-mono font-bold text-xs",children:"LT"})}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-base font-bold text-foreground font-display",children:"Schreiber LevTech Center"}),u.jsx("p",{className:"text-sm text-muted-foreground",children:"Where entrepreneurship meets opportunity — pre-accelerator, hackathons, and industry mentoring for students."})]})]}),u.jsxs("a",{href:"https://www.jct.ac.il/en/schreiber-levtech-entrepreneurship-center/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-sm font-bold text-accent hover:gap-2.5 transition-all whitespace-nowrap",children:["Explore LevTech ",u.jsx(Ev,{className:"w-3.5 h-3.5"})]})]})})})}const JV="https://registration.jct.ac.il/en/start/identify?redirect=%2Fregistration-status",_C=[{num:"01",title:"What You'll Study",copy:"Explore our faculties — from computer science and engineering to nursing, pharmacy, and business management.",gem:{text:"text-accent",dot:"bg-accent"},link:{to:"/AcademicPrograms",label:"Explore programs",external:!1}},{num:"02",title:"Admission Requirements",copy:"High School Diploma, SAT/ACT/TIL exam, and a personal interview with the admissions committee.",gem:{text:"text-gem-teal",dot:"bg-gem-teal"}},{num:"03",title:"Registration Process",copy:"Apply online with a 300 shekel non-refundable registration fee to officially start your journey.",gem:{text:"text-gem-magenta",dot:"bg-gem-magenta"},link:{href:JV,label:"Begin application",external:!0}},{num:"04",title:"After Acceptance",copy:"The academic year begins after Sukkot. Settle into student life across our Lev and Tal campuses.",gem:{text:"text-gold",dot:"bg-gold"}}];function XV(){const t=S.useRef(null),{scrollYProgress:e}=Ox({target:t,offset:["start 0.8","end 0.4"]}),n=Fa(e,[0,1],[0,1]),r=Fa(e,[0,1],[0,1]),s=o=>
444{if(!o.link)return null;const l=`inline-flex items-center gap-1 text-sm font-bold ${o.gem.text} hover:gap-2 transition-all`;return o.link.external?u.jsxs("a",{href:o.link.href,target:"_blank",rel:"noopener noreferrer",className:l,children:[o.link.label," ",u.jsx(Ev,{className:"w-3.5 h-3.5"})]}):u.jsxs(cn,{to:o.link.to,className:l,children:[o.link.label," ",u.jsx(qt,{className:"w-3.5 h-3.5"})]})};return u.jsx("section",{ref:t,className:"py-28 bg-background border-t border-gold/20",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-16",children:[u.jsx("div",{className:"gem-rule h-0.5 w-12 mb-6"}),u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Your Journey"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 max-w-2xl leading-tight",children:"Your path to JCT"})]}),u.jsxs("div",{className:"hidden md:grid grid-cols-4 gap-8 relative",children:[u.jsx("div",{className:"absolute top-3 left-0 right-0 h-px bg-border"}),u.jsx(Ve.div,{style:{scaleX:n},className:"absolute top-3 left-0 right-0 h-px bg-gradient-to-r from-accent via-gem-teal to-gem-magenta origin-left"}),_C.map((o,l)=>u.jsx(oe,{delay:l*.15,children:u.jsxs("div",{className:"relative",children:[u.jsx("div",{className:`w-6 h-6 rounded-full ${o.gem.dot} border-4 border-background relative z-10 mb-6`}),u.jsx("div",{className:`font-mono text-sm ${o.gem.text} mb-2`,children:o.num}),u.jsx("h3",{className:"text-lg font-bold text-foreground font-display mb-3 leading-tight",children:o.title}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed mb-3",children:o.copy}),s(o)]})},l))]}),u.jsxs("div",{className:"md:hidden relative pl-8",children:[u.jsx("div",{className:"absolute left-2 top-0 bottom-0 w-px bg-border"}),u.jsx(Ve.div,{style:{scaleY:r},className:"absolute left-2 top-0 bottom-0 w-px bg-gradient-to-b from-accent via-gem-teal to-gem-magenta origin-top"}),u.jsx("div",{className:"space-y-8",children:_C.map((o,l)=>u.jsx(oe,{delay:l*.1,children:u.jsxs("div",{className:"relative",children:[u.jsx("div",{className:`absolute -left-[30px] top-1 w-3 h-3 rounded-full ${o.gem.dot} border-2 border-background z-10`}),u.jsx("div",{className:`font-mono text-sm ${o.gem.text} mb-1`,children:o.num}),u.jsx("h3",{className:"text-lg font-bold text-foreground font-display mb-2 leading-tight",children:o.title}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed mb-2",children:o.copy}),s(o)]})},l))})]}),u.jsx(oe,{delay:.3,className:"mt-12 pt-8 border-t border-border",children:u.jsxs("button",{onClick:()=>window.dispatchEvent(new CustomEvent("open-advisor-modal")),className:"inline-flex items-center gap-2 text-accent font-bold hover:gap-3 transition-all",children:["Schedule an advisory meeting ",u.jsx(qt,{className:"w-4 h-4"})]})})]})})}const QV={left:"inset(0 100% 0 0)",right:"inset(0 0 0 100%)",top:"inset(0 0 100% 0)",bottom:"inset(100% 0 0 0)"};function Za({children:t,direction:e="left",delay:n=0,duration:r=1,className:s="",once:o=!0}){const l=S.useRef(null);return Ss(()=>{const c=l.current;if(c){if(zi()){Wt.set(c,{clipPath:"inset(0 0 0 0)"});return}Wt.fromTo(c,{clipPath:QV[e]},{clipPath:"inset(0 0 0 0)",duration:r,delay:n,ease:"expo.out",scrollTrigger:{trigger:c,start:"top 90%",toggleActions:o?"play none none none":"play none none reverse"}})}},{scope:l,dependencies:[e]}),u.jsx("div",{ref:l,className:s,children:t})}const SC=[{name:"Campus Lev",tagline:"Men's Campus",description:"Leading academic programs in engineering, computer science, business, and life sciences alongside advanced Torah study.",gender:"Men",location:"Jerusalem",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/e7a4fee3a_www_jct_ac_il_campus1_4307e32a.jpg",to:"/CampusLev"},{name:"Campus Tal",tagline:"Women's Campus",description:"Israel's first women's engineering and technology college, empowering women in STEM since 1990.",gender:"Women",location:"Jerusalem",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/5f2d52ec1_www_jct_ac_il_---6_33a1f359.jpg",to:"/CampusTal"},{name:"Campus Lustig",tagline:"Haredi Women's Campus",description:"Empowering Haredi women through higher education while preserving their values and lifestyle.",gender:"Haredi Women",location:"Ramat Gan",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/7acd04094_www_jct_ac_il_lustig-site_230301b7.jpg",to:"/CampusLustig"}];function ZV(){return u.jsxs("section",{className:"bg-background",children:[u.jsx("div",{className:"max-w-7xl mx-auto px-4 pt-24 sm:pt-32 pb-16",children:u.jsxs("div",{className:"grid lg:grid-cols-12 gap-8 items-end",children:[u.jsxs(oe,{className:"lg:col-span-8",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Our Campuses"}),u.jsxs("h2",{className:"text-4xl sm:text-6xl lg:text-7xl font-bold text-foreground font-display tracking-tight mt-2 leading-[1.05]",children:["Three c
444ampuses,",u.jsx("br",{}),"one mission"]})]}),u.jsx(oe,{delay:.2,className:"lg:col-span-4",children:u.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed",children:"From Jerusalem to Ramat Gan, JCT serves a diverse student body across men's, women's, and Haredi campuses."})})]})}),SC.map((t,e)=>{const n=e%2===1;return u.jsxs("div",{className:`grid lg:grid-cols-2 ${e===SC.length-1?"pb-24 sm:pb-32":""}`,children:[u.jsx("div",{className:`relative h-[400px] lg:h-[600px] overflow-hidden ${n?"lg:order-2":""}`,children:u.jsx(Za,{direction:n?"right":"left",duration:1.2,children:u.jsxs(cn,{to:t.to,className:"block w-full h-full group",children:[u.jsx("img",{src:t.image,alt:t.name,className:"w-full h-full object-cover object-top group-hover:scale-105 transition-transform duration-700"}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-primary/60 to-transparent"})]})})}),u.jsx("div",{className:`flex items-center px-6 sm:px-10 lg:px-16 xl:px-20 ${n?"lg:order-1":""}`,children:u.jsx(oe,{delay:.2,children:u.jsxs(cn,{to:t.to,className:"group block",children:[u.jsx("span",{className:"inline-block text-xs text-accent font-bold font-mono uppercase tracking-wider mb-3 bg-accent/10 px-3 py-1 rounded-full",children:t.tagline}),u.jsx("h3",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-foreground font-display tracking-tight mb-4 group-hover:text-accent transition-colors",children:t.name}),u.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6 max-w-md text-lg",children:t.description}),u.jsxs("div",{className:"flex gap-4 text-sm text-muted-foreground mb-6",children:[u.jsxs("span",{className:"flex items-center gap-1.5",children:[u.jsx(tl,{className:"w-4 h-4 text-accent"})," ",t.gender]}),u.jsxs("span",{className:"flex items-center gap-1.5",children:[u.jsx(vs,{className:"w-4 h-4 text-accent"})," ",t.location]})]}),u.jsxs("span",{className:"inline-flex items-center gap-2 text-accent font-bold group-hover:gap-3 transition-all",children:["Explore Campus ",u.jsx(qt,{className:"w-4 h-4"})]})]})})})]},e)})]})}const e$=[{name:"Orli Ozana",title:"Accountant",program:"Accounting & Info Systems",company:"World Zionist Organization",quote:"Tal Campus was like a home. I really appreciated the high professional and academic standards along with the College's warm and supportive environment.",photo_url:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/b54a79f80_www_jct_ac_il_ozana_d4d8d8b1.jpg",bg_url:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/fc2a4f960_www_jct_ac_il_---_a17bcd1e.jpg"},{name:"Elisaf Asraf",title:"Electronic Engineer",program:"Electronic Engineering",company:"L&T",quote:"I enjoyed learning in a Torah-focused environment and at a College with high academic standards. Our lecturers always pushed us to excellence.",photo_url:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/2fada1306_www_jct_ac_il_asraf_9dd7e677.jpg",bg_url:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/c8a419cd1_www_jct_ac_il_cc3u3020-custom_f8d9c210.jpg"},{name:"Itamar Yoeli",title:"Director of Public Relations",program:"Industrial Engineering",company:"Israel's State Archives",quote:"At JCT I learned independent thinking skills and practical tools from top lecturers and researchers, who before everything, are simply good, humble people.",photo_url:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/05c004b7a_www_jct_ac_il_itamar_211a16ed.jpg",bg_url:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/cdbe3eca7_www_jct_ac_il_cc3u3001-custom_bc73ec61.jpg"},{name:"Omer Achrak",title:"Programmer",program:"Computer Science",company:"Intel",quote:"My studies at JCT provided me with the professional skills and tools that helped me get where I am today.",photo_url:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/875103ee4_www_jct_ac_il_----_6eccc450.jpg",bg_url:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/3a5de37b7_www_jct_ac_il_----_7a57888e.jpg"},{name:"Benny Hadad",title:"VP of Development",program:"Software Engineering",company:"Ericom Shilad",quote:"There's no doubt that my studies at JCT gave me the skills I needed to successfully integrate into the world of hi-tech.",photo_url:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/c5ecda7f6_www_jct_ac_il_hada_c00f8049.jpg",bg_url:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/9ee70f671_www_jct_ac_il_cc3u3016-custom_e48c8436.jpg"},{name:"Hillel Fakler",title:"Information Analyst",program:"Industrial Eng & Management",company:"Clalit",quote:"The professional skills that I learned at JCT were very empowering.",photo_url:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/53bd30608_www_jct_ac_il_hillel_db1a72d4.jpg",bg_url:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/40d9a4028_www_jct_ac_il_cc3u2923-custom_2df9edb5.jpg"}],CC=7e3;function t$(){const[t,e]=S.useState([]),[n,r]=S.useState(0),[s,o]=S.useState(!1),l=rf();S.useEffect(()=>{Un.entities.Testimonial.list("-created_date",10).then(e).catch(()=>{})},[]);const c=t.length>0?t:e$;S.useEffect(()=>{if(s||l)return;const h=setInterval(()=>r(p=>(p+1)%c.length),CC);return()=>clearInterval(h)},[c.length,s,l]);const f=c[n]||c[0];return u.jsxs("section",{className:"relative py-28 sm:py-36 overflow-hidden bg-primary grain",onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:[u.jsx(An,{mode:"sync",children:u.jsx(Ve.div,{initial:{opacity:0,scale:1.06}
444,animate:{opacity:.18,scale:1},exit:{opacity:0},transition:{duration:1.4,ease:"easeInOut"},className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:f?`url('${f.bg_url}')`:void 0}},n)}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-primary via-primary/80 to-primary"}),u.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:[u.jsx(oe,{className:"mb-14 sm:mb-16",children:u.jsx("span",{className:"text-gold font-mono text-xs uppercase tracking-[0.22em]",children:"Graduates Speak"})}),u.jsx(An,{mode:"wait",children:u.jsxs(Ve.figure,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},exit:{opacity:0,y:-16},transition:{duration:.55,ease:[.22,1,.36,1]},children:[u.jsxs("blockquote",{className:"relative",children:[u.jsx("span",{className:"absolute -top-8 -left-2 sm:-left-8 font-serif text-7xl sm:text-8xl text-gold/50 leading-none select-none","aria-hidden":"true",children:"“"}),u.jsx("p",{className:"font-serif italic text-2xl sm:text-4xl lg:text-[2.75rem] text-white leading-[1.25] sm:leading-[1.2] max-w-4xl",children:f==null?void 0:f.quote})]}),u.jsxs("figcaption",{className:"mt-10 flex items-center gap-4",children:[(f==null?void 0:f.photo_url)&&u.jsx("img",{src:f.photo_url,alt:f.name,className:"w-14 h-14 rounded-full object-cover ring-1 ring-white/25"}),u.jsxs("div",{children:[u.jsx("div",{className:"font-display font-bold text-white text-base tracking-tight",children:f==null?void 0:f.name}),u.jsx("div",{className:"font-mono text-[11px] uppercase tracking-[0.12em] text-white/50 mt-1",children:[f==null?void 0:f.title,f==null?void 0:f.company].filter(Boolean).join(" · ")})]})]})]},n)}),u.jsxs("div",{className:"mt-12 flex items-center gap-6",children:[u.jsxs("span",{className:"font-mono text-xs text-white/40 tracking-[0.14em]",children:[String(n+1).padStart(2,"0")," / ",String(c.length).padStart(2,"0")]}),u.jsx("div",{className:"relative flex-1 max-w-[220px] h-px bg-white/15 overflow-hidden",children:!l&&u.jsx(Ve.div,{initial:{x:"-100%"},animate:{x:s?"-100%":"0%"},transition:{duration:CC/1e3,ease:"linear"},className:"absolute inset-0 bg-gold"},n+(s?"-p":""))}),u.jsx("button",{onClick:()=>r(h=>(h+1)%c.length),className:"font-mono text-xs uppercase tracking-[0.14em] text-white/50 hover:text-gold transition-colors",children:"Next"})]})]})]})}const n$="https://registration.jct.ac.il/en/start/identify?redirect=%2Fregistration-status";function r$(){const[t,e]=S.useState({name:"",email:"",phone:"",consent:!1}),[n,r]=S.useState(!1),s=o=>{o.preventDefault(),r(!0)};return u.jsxs("section",{className:"relative overflow-hidden bg-primary text-primary-foreground grain",children:[u.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-28 sm:pt-36",children:u.jsxs(oe,{children:[u.jsx("span",{className:"text-gold font-mono text-xs uppercase tracking-[0.22em]",children:"Get in Touch"}),u.jsxs("h2",{className:"font-display font-bold tracking-tight mt-4 leading-[0.95] text-5xl sm:text-7xl lg:text-[6rem]",children:["Your future starts",u.jsx("br",{}),"in ",u.jsx("span",{className:"font-serif-accent text-accent",children:"Jerusalem"})]})]})}),u.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16 sm:py-20",children:u.jsxs("div",{className:"grid lg:grid-cols-12 gap-12 lg:gap-16 items-start",children:[u.jsxs(oe,{className:"lg:col-span-5",children:[u.jsx("p",{className:"text-primary-foreground/60 text-lg leading-relaxed max-w-md",children:"Join 4,480 students at Israel's premier institution for Torah-driven academic excellence. Leave your details and an advisor will reach out — or start your application now."}),u.jsxs("a",{href:n$,target:"_blank",rel:"noopener noreferrer",className:"group inline-flex items-center gap-2 mt-8 text-gold font-bold",children:["Start your application",u.jsx(qt,{className:"w-4 h-4 transition-transform duration-300 group-hover:translate-x-1"})]})]}),u.jsx(oe,{delay:.15,className:"lg:col-span-7 lg:col-start-6",children:n?u.jsxs("div",{className:"bg-primary-foreground/5 rounded-lg p-12 text-center border border-primary-foreground/10",children:[u.jsx(hk,{className:"w-14 h-14 text-accent mx-auto mb-4"}),u.jsx("h3",{className:"text-xl font-bold font-display mb-2",children:"Thank y
444ou!"}),u.jsx("p",{className:"text-primary-foreground/60 text-sm",children:"A JCT representative will contact you soon."})]}):u.jsxs("form",{onSubmit:s,className:"grid sm:grid-cols-2 gap-4",children:[u.jsx("input",{type:"text",placeholder:"Full Name *",value:t.name,onChange:o=>e({...t,name:o.target.value}),required:!0,className:"sm:col-span-2 w-full px-4 py-3.5 bg-primary-foreground/5 rounded-md border border-primary-foreground/15 text-sm text-primary-foreground placeholder:text-primary-foreground/40 focus:outline-none focus:border-accent focus:ring-2 focus:ring-accent/20 transition-all"}),u.jsx("input",{type:"email",placeholder:"Email *",value:t.email,onChange:o=>e({...t,email:o.target.value}),required:!0,className:"w-full px-4 py-3.5 bg-primary-foreground/5 rounded-md border border-primary-foreground/15 text-sm text-primary-foreground placeholder:text-primary-foreground/40 focus:outline-none focus:border-accent focus:ring-2 focus:ring-accent/20 transition-all"}),u.jsx("input",{type:"tel",placeholder:"Phone *",value:t.phone,onChange:o=>e({...t,phone:o.target.value}),required:!0,className:"w-full px-4 py-3.5 bg-primary-foreground/5 rounded-md border border-primary-foreground/15 text-sm text-primary-foreground placeholder:text-primary-foreground/40 focus:outline-none focus:border-accent focus:ring-2 focus:ring-accent/20 transition-all"}),u.jsxs("label",{className:"sm:col-span-2 flex items-start gap-3 cursor-pointer",children:[u.jsx("input",{type:"checkbox",checked:t.consent,onChange:o=>e({...t,consent:o.target.checked}),required:!0,className:"mt-1 w-4 h-4 accent-accent"}),u.jsx("span",{className:"text-xs text-primary-foreground/50 leading-relaxed",children:"I agree to receive information and promotional material from JCT by email / SMS *"})]}),u.jsxs("button",{type:"submit",className:"sm:col-span-2 w-full inline-flex items-center justify-center gap-2 bg-accent text-accent-foreground py-4 rounded-md font-bold text-sm hover:shadow-lg hover:shadow-accent/30 transition-all",children:["Send Message ",u.jsx(qt,{className:"w-4 h-4"})]})]})})]})})]})}const s$="https://registration.jct.ac.il/en/start/identify?redirect=%2Fregistration-status",i$="https://wa.me/97226751011";function o$(){const[t,e]=S.useState(!1),[n,r]=S.useState(!1);S.useEffect(()=>{const c=()=>{const f=window.scrollY>window.innerHeight&&!n;e(f),window.dispatchEvent(new CustomEvent("sticky-bar-visible",{detail:f}))};return window.addEventListener("scroll",c),c(),()=>window.removeEventListener("scroll",c)},[n]);const s=()=>{r(!0),e(!1),window.dispatchEvent(new CustomEvent("sticky-bar-visible",{detail:!1}))},l=[{label:"Talk to an Advisor",icon:Oc,onClick:()=>{window.dispatchEvent(new CustomEvent("open-advisor-modal"))}},{label:"WhatsApp",icon:$d,href:i$}];return u.jsx(An,{children:t&&u.jsx(Ve.div,{initial:{y:80},animate:{y:0},exit:{y:80},transition:{duration:.3,ease:[.22,1,.36,1]},className:"fixed bottom-0 inset-x-0 z-40 bg-primary border-t border-gold",children:u.jsx("div",{className:"max-w-7xl mx-auto px-4",children:u.jsxs("div",{className:"flex items-center justify-between gap-2 h-14",children:[u.jsx("div",{className:"flex items-center gap-1 sm:gap-2 overflow-x-auto no-scrollbar",children:l.map((c,f)=>c.href?u.jsxs("a",{href:c.href,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1.5 px-3 py-2 rounded-md text-xs sm:text-sm font-semibold text-primary-foreground/80 hover:text-primary-foreground hover:bg-primary-foreground/10 transition-colors whitespace-nowrap",children:[u.jsx(c.icon,{className:"w-4 h-4"}),c.label]},f):u.jsxs("button",{onClick:c.onClick,className:"flex items-center gap-1.5 px-3 py-2 rounded-md text-xs sm:text-sm font-semibold text-primary-foreground/80 hover:text-primary-foreground hover:bg-primary-foreground/10 transition-colors whitespace-nowrap",children:[u.jsx(c.icon,{className:"w-4 h-4"}),c.label]},f))}),u.jsxs("div",{className:"flex items-center gap-2 flex-shrink-0",children:[u.jsxs("a",{href:s$,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 bg-accent text-accent-foreground px-4 py-2 rounded-md font-bold text-xs sm:text-sm hover:shadow-lg hover:shadow-accent/30 transition-all whitespace-nowrap",children:["Apply Now ",u.jsx(qt,{className:"w-3.5 h-3.5"})]}),u.jsx("button",{onClick:s,"aria-label":"Dismiss",className:"p-2 text-primary-foreground
444/40 hover:text-primary-foreground transition-colors",children:u.jsx(nl,{className:"w-4 h-4"})})]})]})})})})}const a$=[{q:"What are the admission requirements?",a:"High School Diploma, SAT/ACT/TIL (Israeli) Exam, Personal Interview, and Precalculus/Calculus background (for Computer Science only)."},{q:"How much is tuition?",a:"Tuition varies by program, citizenship, housing, and year of study. Use the tuition estimator on the International Program page, or contact registration for an exact quote."},{q:"When does the school year start?",a:"The first semester starts after Sukkot each year. The college provides breaks for Jewish holidays."},{q:"How do I register?",a:"Complete the online registration form. There is a 300 shekel non-refundable registration fee."},{q:"How long is the program?",a:"Both Computer Science and Business Admin degrees are three years. Business has classes 3x/week; CS is more full-time with 4 days/week."},{q:"Can students transfer? Will credits be accepted?",a:"JCT's credits are generally accepted worldwide. Students should check with specific colleges as each has different transfer requirements."},{q:"Is JCT a safe and supportive environment for my child?",a:"Absolutely. JCT's campuses are secure and close-knit, with dedicated student services, wellbeing programs, and a warm religious community. Our small class sizes ensure every student receives personal attention from faculty and advisors."},{q:"What support do students get?",a:"Every student has access to academic advisors, tutoring services, career counseling, and a supportive Beit Midrash environment. From application through graduation, our team is committed to each student's success — academically, professionally, and personally."}];function l$(){const[t,e]=S.useState(!1),[n,r]=S.useState(null),[s,o]=S.useState(!1);S.useEffect(()=>{const f=()=>o(window.scrollY>window.innerHeight*.85);return window.addEventListener("scroll",f),f(),()=>window.removeEventListener("scroll",f)},[]);const[l,c]=S.useState(!1);return S.useEffect(()=>{const f=h=>c(h.detail);return window.addEventListener("sticky-bar-visible",f),()=>window.removeEventListener("sticky-bar-visible",f)},[]),u.jsxs(u.Fragment,{children:[u.jsx(An,{children:s&&!l&&u.jsxs(Ve.button,{initial:{opacity:0,y:20,scale:.8},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.8},transition:{duration:.3,ease:[.22,1,.36,1]},onClick:()=>e(!0),className:"fixed bottom-6 right-6 z-40 inline-flex items-center gap-2 bg-accent text-accent-foreground px-5 py-3 rounded-full font-bold text-sm shadow-lg shadow-accent/30 hover:scale-105 transition-transform","aria-label":"Questions?",children:[u.jsx($d,{className:"w-4 h-4"}),"Questions?"]})}),u.jsx(An,{children:t&&u.jsxs(u.Fragment,{children:[u.jsx(Ve.div,{initial:{opacity:0}
444,animate:{opacity:1},exit:{opacity:0},onClick:()=>e(!1),className:"fixed inset-0 z-50 bg-primary/60 backdrop-blur-sm"}),u.jsxs(Ve.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{duration:.3,ease:[.22,1,.36,1]},className:"fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-50 w-full max-w-lg max-h-[80vh] overflow-y-auto bg-background rounded-lg shadow-2xl border border-border",children:[u.jsxs("div",{className:"sticky top-0 bg-background border-b border-border p-5 flex items-center justify-between rounded-t-lg",children:[u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsx(M4,{className:"w-5 h-5 text-accent"}),u.jsx("h3",{className:"font-bold font-display text-lg",children:"Common Questions"})]}),u.jsx("button",{onClick:()=>e(!1),className:"w-8 h-8 rounded-full hover:bg-muted flex items-center justify-center transition-colors",children:u.jsx(nl,{className:"w-5 h-5 text-muted-foreground"})})]}),u.jsx("div",{className:"p-5 space-y-1",children:a$.map((f,h)=>u.jsxs("div",{className:"border-b border-border/50 last:border-0",children:[u.jsxs("button",{onClick:()=>r(n===h?null:h),className:"w-full text-left py-4 flex items-center justify-between gap-3 text-sm font-semibold text-foreground hover:text-accent transition-colors",children:[f.q,u.jsx(T4,{className:`w-4 h-4 flex-shrink-0 transition-transform ${n===h?"rotate-180":""}`})]}),u.jsx(An,{children:n===h&&u.jsx(Ve.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"overflow-hidden",children:u.jsx("p",{className:"pb-4 text-sm text-muted-foreground leading-relaxed",children:f.a})})})]},h))})]})]})})]})}function c$(){const t=S.useRef(null);return Ss(()=>{const e=t.current;if(e){if(zi()){Wt.set(e,{opacity:.3,strokeDashoffset:0});return}Wt.set(e,{strokeDasharray:1,strokeDashoffset:1,opacity:.24}),Wt.to(e,{strokeDashoffset:0,ease:"none",scrollTrigger:{trigger:document.documentElement,start:"top top",end:"bottom bottom",scrub:.5}}),Wt.fromTo(e,{opacity:0},{opacity:.24,ease:"none",scrollTrigger:{trigger:document.documentElement,start:"top top",end:"3% top",scrub:!0}}),Wt.to(e,{opacity:0,ease:"none",scrollTrigger:{trigger:document.documentElement,start:"95% bottom",end:"bottom bottom",scrub:!0}})}},{}),u.jsx("div",{className:"fixed inset-0 pointer-events-none z-[1] hidden lg:block","aria-hidden":"true",children:u.jsx("svg",{className:"absolute inset-0 w-full h-full",preserveAspectRatio:"none",viewBox:"0 0 100 100",children:u.jsx("path",{ref:t,d:"M 50,0 C 50,5 42,8 42,15 C 42,22 58,25 58,32 C 58,39 50,42 50,49 C 50,56 42,59 42,66 C 42,73 58,76 58,83 C 58,90 50,93 50,100",pathLength:"1",fill:"none",stroke:"hsl(var(--gold))",strokeWidth:"0.12",vectorEffect:"non-scaling-stroke",strokeLinecap:"round"})})})}function u$(){return u.jsxs("div",{className:"relative",children:[u.jsx(c$,{}),u.jsx(l$,{}),u.jsx(UV,{}),u.jsx(IV,{}),u.jsx(WV,{}),u.jsx(YV,{}),u.jsx(KV,{}),u.jsx(XV,{}),u.jsx(ZV,{}),u.jsx(t$,{}),u.jsx(r$,{}),u.jsx(o$,{})]})}function zc({title:t,subtitle:e="",image:n,children:r=null,height:s="h-[70vh] min-h-[440px]"}){const o=S.useRef(null),l=S.useRef(null),c=S.useRef(null);return Ss(()=>{const f=o.current;!f||zi()||(Wt.fromTo(l.current,{yPercent:0,scale:1},{yPercent:35,scale:1.12,ease:"none",scrollTrigger:{trigger:f,start:"top top",end:"bottom top",scrub:!0}}),Wt.fromTo(c.current,{opacity:.7},{opacity:.92,ease:"none",scrollTrigger:{trigger:f,start:"top top",end:"bottom top",scrub:!0}}))},{scope:o}),u.jsxs("section",{ref:o,className:`relative ${s} flex items-end overflow-hidden`,children:[u.jsx("div",{ref:l,className:"absolute inset-0",children:u.jsx("img",{src:n,alt:"",className:"w-full h-full object-cover object-top"})}),u.jsx("div",{ref:c,className:"absolute inset-0 bg-primary",style:{opacity:.7}}),u.jsx("div",{className:"absolute bottom-0 inset-x-0 h-px bg-gold/40"}),u.jsxs("div",{className:"relative z-10 w-full max-w-7xl mx-auto px-4 pb-16 sm:pb-20",children:[u.jsx(Za,{direction:"left",duration:1,children:u.jsx("h1",{className:"text-4xl sm:text-6xl lg:text-7xl font-bold text-primary-foreground mb-4 font-display tracking-tight leading-[1.05] max-w-4xl",children:t})}),e&&u.jsx(oe,{delay:.2,children:u.jsx("p",{className:"text-lg sm:text-xl text-primary-foreground
444/70 max-w-2xl leading-relaxed",children:e})}),r&&u.jsx(oe,{delay:.35,children:r})]})]})}const d$="https://registration.jct.ac.il/en/start/identify?redirect=%2Fregistration-status";function ll({title:t="Ready to take the next step?",subtitle:e="Join thousands of students building their future at the Jerusalem College of Technology."}){const n=S.useRef(null),r=S.useRef(null);return Ss(()=>{const s=n.current;!s||zi()||Wt.fromTo(r.current,{yPercent:-15},{yPercent:15,ease:"none",scrollTrigger:{trigger:s,start:"top bottom",end:"bottom top",scrub:!0}})},{scope:n}),u.jsxs("section",{ref:n,className:"relative py-16 sm:py-28 bg-primary text-primary-foreground overflow-hidden border-t border-gold/30",children:[u.jsx("div",{ref:r,className:"absolute inset-0 opacity-15 bg-cover bg-center",style:{backgroundImage:"url('https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/e77848b17_www_jct_ac_il_beit-midrash_6861eade.jpg')"}}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-primary via-primary/80 to-primary"}),u.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-4 text-center",children:[u.jsx(oe,{children:u.jsx("h2",{className:"text-3xl sm:text-5xl lg:text-6xl font-bold mb-4 font-display tracking-tight leading-tight",children:t})}),u.jsx(oe,{delay:.15,children:u.jsx("p",{className:"text-lg text-primary-foreground/60 mb-6 sm:mb-10 max-w-xl mx-auto leading-relaxed",children:e})}),u.jsx(oe,{delay:.3,children:u.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[u.jsx(pP,{children:u.jsxs("a",{href:d$,target:"_blank",rel:"noopener noreferrer",className:"w-full sm:w-auto inline-flex items-center justify-center gap-2 bg-accent text-accent-foreground px-8 py-4 font-bold text-base hover:shadow-lg hover:shadow-accent/30 transition-all duration-300 rounded-md",children:["Apply Now ",u.jsx(qt,{className:"w-5 h-5"})]})}),u.jsxs(cn,{to:"/AcademicPrograms",className:"w-full sm:w-auto inline-flex items-center justify-center gap-2 border border-primary-foreground/25 text-primary-foreground px-8 py-4 font-bold text-base hover:bg-primary-foreground hover:text-primary hover:border-primary-foreground transition-all duration-300 rounded-md",children:["Learn More About Programs ",u.jsx(Nv,{className:"w-5 h-5"})]})]})})]})]})}const f$="https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/755b5866b_machon-lev-photoshoot16of16_AS20045.jpg",Hy=[{id:"biz",label:"Business Management",full:"Business Management",icon:Ac},{id:"life",label:"Life & Health Sciences",full:"Life & Health Sciences",icon:H4},{id:"eng",label:"Engineering & CS",full:"Engineering & Computer Science",icon:dk},{id:"grad",label:"Graduate Studies",full:"Graduate Studies",icon:md}],Ih={eng:{text:"text-accent",dot:"bg-accent",border:"border-accent"},life:{text:"text-gem-teal",dot:"bg-gem-teal",border:"border-gem-teal"},biz:{text:"text-gem-magenta",dot:"bg-gem-magenta",border:"border-gem-magenta"},grad:{text:"text-gem-purple",dot:"bg-gem-purple",border:"border-gem-purple"}},h$=[{name:"Electro-optics Engineering",faculty:"Engineering & Computer Science",description:"Electrophysics studies are part of the Department of Applied Physics. Graduates are entitled to a B.Sc. in physics or electro-optic engineering.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Undergraduate",slug:"electro-optics-engineering"},{name:"Electronic Engineering",faculty:"Engineering & Computer Science",description:"Electrical and electronic engineering is a broad field combining exact sciences and practical needs.",start_of_studies:"Fall Semester",campus:"Campus Lev",degree_level:"Undergraduate",slug:"electronic-engineering"},{name:"Industrial Engineering & Management",faculty:"Engineering & Computer Science",description:"Uses mathematical methods to optimize organizations, including project management.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Undergraduate",slug:"industrial-engineering-management"},{name:"Software Engineering",faculty:"Engineering & Computer Science",description:"Provides theoretical and applied knowledge in software engineering for hi-tech industry careers.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Undergraduate",slug:"softw
444are-engineering"},{name:"Computer Science",faculty:"Engineering & Computer Science",description:"Undergraduate studies provide theoretical and applied knowledge in computer science for the high-tech industry.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Undergraduate",slug:"computer-science"},{name:"Nursing",faculty:"Life & Health Sciences",description:"Nursing degree holders improve quality of life for patients throughout the life cycle, including special populations.",start_of_studies:"October",campus:"Campus Tal",degree_level:"Undergraduate",slug:"nursing"},{name:"Bioinformatics",faculty:"Life & Health Sciences",description:"Combines life sciences with computer science. A pioneering field at the forefront of modern research.",start_of_studies:"February",campus:"Campus Lev",degree_level:"Undergraduate",slug:"bioinformatics"},{name:"Pharmacy",faculty:"Life & Health Sciences",description:"Program works in collaboration with Hebrew University; students receive a degree from Hebrew University upon completion.",start_of_studies:"Elul Semester",campus:"Campus Tal",degree_level:"Undergraduate",slug:"pharmacy"},{name:"Business Administration",faculty:"Business Management",description:"BA studies focus on economics and finance, management, human resources, strategy and information systems.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Undergraduate",slug:"business-administration"},{name:"Accounting and Information Systems",faculty:"Business Management",description:"Prepares graduates for key positions in accounting, financial management, and information systems.",start_of_studies:"Fall Semester",campus:"Campus Lev",degree_level:"Undergraduate",slug:"accounting-and-information-systems"},{name:"Physics/Electro-optics",faculty:"Graduate Studies",description:"A master's degree in electro-optics engineering designed to train skilled researchers and engineers.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Graduate",slug:"physicselectro-optics"},{name:"Bioinformatics (Graduate)",faculty:"Graduate Studies",description:"Advanced graduate studies combining life sciences and computer science for research-level bioinformatics work.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Graduate",slug:"bioinformatics-graduate"},{name:"Nursing (Graduate)",faculty:"Graduate Studies",description:"Empowers nurses to provide higher-level treatment and greater scope of work through advanced graduate study.",start_of_studies:"October",campus:"Campus Tal",degree_level:"Graduate",slug:"nursing-graduate"},{name:"Master in CS – AI",faculty:"Graduate Studies",description:"A Master's degree enabling graduates to work in advanced positions in the AI and machine learning industry.",start_of_studies:"October",campus:"Campus Lev",degree_level:"Graduate",slug:"master-in-computer-science-ai"}],p$={eng:"Engineering & Computer Science",life:"Life & Health Sciences",biz:"Business Management",grad:"Graduate Studies"},m$={eng:"engineering-computer-science",life:"life-health-sciences",biz:"business-management",grad:"graduate-studies"};function g$(){const[t,e]=S.useState([]),[n,r]=S.useState("eng"),[s,o]=S.useState(null);S.useEffect(()=>{Un.entities.StudyTrack.list("-created_date",30).then(e).catch(()=>{})},[]),S.useEffect(()=>{const p=window.location.hash.replace("#","");if(!p||!Hy.some(v=>v.id===p))return;r(p),o(null);const g=setTimeout(()=>{const v=document.getElementById("tracks");if(v){const x=v.getBoundingClientRect().top+window.scrollY-80;window.scrollTo({top:x,behavior:"smooth"})}},150);return()=>clearTimeout(g)},[]);const c=(t.length>0?t:h$).filter(p=>p.faculty===p$[n]),f=s||(c.length>0?c[0]:null),h=Hy.find(p=>p.id===n);return u.jsxs("div",{children:[u.jsx(zc,{title:"Academic Programs",subtitle:"Explore every degree JCT offers, from engineering and computer science to nursing, pharmacy, and business.",image:f$,height:"h-[46vh] min-h-[340px]"}),u.jsx("section",{id:"tracks",className:"pt-14 pb-28 bg-background scroll-mt-24",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-12",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"All Study Tracks"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2",children:"Explore every program"})]}),u.jsx(oe,{delay:.1,children:u.jsx("div",{className:"flex flex-wrap gap-2 mb-8",children:Hy.map(p=>u.jsxs("button",{onClick:()=>{r(p.id),o(null)},className:`flex items-center gap-2 px-5 py-2.5 rounded-full text-sm font-semibold transition-all duration-300 ${n===p.id?"bg-primary text-primary-foreground shadow-lg":"bg-secondary text-muted-foreground hover:text-foreground border border-border"}`,children:[u.jsx("span",{className:`w-2 h-2 rounded-full ${Ih[p.id].dot}`}),u.jsx(p.icon,{className:"w-4 h-4"}),p.label]},p.id))})}),u.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[u.jsx("div",{className:"bg-secondary rounded-lg border border-primary/10 overflow-hidden h-fit",children:c.map((p,g)=>u.jsx("button",{onClick:()=>o(p),className:`w-full text-left px-5 py-4 text-sm border-b border-border/50 last:border-0 border-l-2 transition-all duration-200 ${f&&f.name===p.name?`${Ih[n].border} bg-muted font-semibold text-foreground`:"border-transparent text-foreground hover:bg-muted"}`,children:p.name},g))}),u.jsx("div",{className:"lg:col-span-2 bg-secondary rounded-lg border border-primary/10 p-8",children:u.jsx(An,{mode:"wait",children:f&&u.jsxs(Ve.div,{initial:{clipPath:"inset(0 0 100% 0)",opacity:0}
444,animate:{clipPath:"inset(0 0 0 0)",opacity:1},exit:{clipPath:"inset(100% 0 0 0)",opacity:0},transition:{duration:.5,ease:[.22,1,.36,1]},children:[u.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[u.jsx(h.icon,{className:`w-5 h-5 ${Ih[n].text}`}),u.jsxs("span",{className:"text-xs text-muted-foreground uppercase tracking-wider font-mono flex items-center gap-2",children:[u.jsx("span",{className:`w-1.5 h-1.5 rounded-full ${Ih[n].dot}`}),h.full]})]}),u.jsx("h3",{className:"text-2xl font-bold text-foreground font-display tracking-tight mb-4",children:f.name}),u.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:f.description}),u.jsxs("div",{className:"flex flex-wrap gap-3 mb-6",children:[f.campus&&u.jsxs("div",{className:"flex items-center gap-2 text-sm bg-background px-4 py-2 rounded-lg border border-border",children:[u.jsx(vs,{className:"w-4 h-4 text-accent"}),u.jsx("span",{className:"text-muted-foreground",children:"Campus:"}),u.jsx("span",{className:"font-semibold text-foreground",children:f.campus})]}),f.start_of_studies&&u.jsxs("div",{className:"flex items-center gap-2 text-sm bg-background px-4 py-2 rounded-lg border border-border",children:[u.jsx(Oc,{className:"w-4 h-4 text-accent"}),u.jsx("span",{className:"text-muted-foreground",children:"Starts:"}),u.jsx("span",{className:"font-semibold text-foreground",children:f.start_of_studies})]}),f.degree_level&&u.jsxs("div",{className:"flex items-center gap-2 text-sm bg-background px-4 py-2 rounded-lg border border-border",children:[u.jsx(Kp,{className:"w-4 h-4 text-accent"}),u.jsx("span",{className:"text-muted-foreground",children:"Degree:"}),u.jsx("span",{className:"font-semibold text-foreground",children:f.degree_level})]})]}),f.slug&&u.jsxs("a",{href:`https://www.jct.ac.il/en/academic-programs/${m$[n]}/${f.slug}/`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 bg-accent text-accent-foreground px-6 py-3 rounded-md font-bold text-sm hover:shadow-lg hover:shadow-accent/30 transition-transform",children:["More About This Track ",u.jsx(Ev,{className:"w-4 h-4"})]})]},f.name)})})]})]})}),u.jsx(ll,{title:"Find your path at JCT",subtitle:"From computer science to nursing to business — discover the degree that will shape your future."})]})}const kC={left:{x:"-101%",y:"0%"},right:{x:"101%",y:"0%"},top:{x:"0%",y:"-101%"},bottom:{x:"0%",y:"101%"}};function Rc({src:t,alt:e="",className:n="",imgClassName:r="",direction:s="left",delay:o=0}){const l=S.useRef(null),c=S.useRef(null),f=S.useRef(null);return Ss(()=>{const h=l.current;if(!h)return;if(zi()){Wt.set(c.current,{scale:1}),Wt.set(f.current,kC[s]);return}const p=Wt.timeline({delay:o,scrollTrigger:{trigger:h,start:"top 85%",toggleActions:"play none none none"}});p.fromTo(c.current,{scale:1.3},{scale:1,duration:1.2,ease:"expo.out"},0),p.fromTo(f.current,{x:"0%",y:"0%"},{...kC[s],duration:.9,ease:"expo.out"},0)},{scope:l,dependencies:[s]}),u.jsxs("div",{ref:l,className:`relative overflow-hidden ${n||""}`,children:[u.jsx("img",{ref:c,src:t,alt:e,className:`w-full h-full object-cover object-top ${r||""}`}),u.jsx("div",{ref:f,className:"absolute inset-0 bg-accent z-10"})]})}function o1({image:t,images:e,imageAlt:n="",callouts:r=[],imageSide:s="left",bg:o="bg-background"}){const l=S.useRef(null),{scrollYProgress:c}=Ox({target:l,offset:["start start","end end"]}),f=Fa(c,[0,1],["0%","15%"]),h=Fa(c,[0,1],[1,1.08]),p=e&&e.length?e:t?[t]:[],[g,v]=S.useState(0);return yU(c,"change",x=>{if(!p.length)return;const k=Math.min(p.length-1,Math.max(0,Math.floor(x*p.length)));v(k)}),u.jsx("section",{ref:l,className:`relative ${o}`,children:u.jsxs("div",{className:"grid lg:grid-cols-2",children:[u.jsxs("div",{className:`relative ${s==="right"?"lg:order-2":"lg:order-1"}`,children:[u.jsxs("div",{className:"hidden lg:block sticky top-0 h-screen overflow-hidden",children:[u.jsx(An,{mode:"sync",children:u.jsx(Ve.img,{src:p[g]||t,alt:n,style:{y:f,scale:h},initial:{opacity:0}
444,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5,ease:"easeInOut"},className:"w-full h-full object-cover object-center"},g)}),u.jsx("div",{className:"absolute inset-0 bg-primary/15"})]}),u.jsx("div",{className:"lg:hidden aspect-[4/3] overflow-hidden",children:u.jsx("img",{src:p[0]||t,alt:n,className:"w-full h-full object-cover object-center"})})]}),u.jsx("div",{className:`py-16 lg:py-0 ${s==="right"?"lg:order-1":"lg:order-2"}`,children:r.map((x,k)=>u.jsx("div",{className:"min-h-[50vh] lg:min-h-screen flex flex-col justify-center px-6 sm:px-10 lg:px-16 xl:px-20",children:u.jsxs(oe,{children:[u.jsxs("div",{className:"flex items-baseline gap-4 mb-3",children:[u.jsx("span",{className:"text-4xl lg:text-5xl font-bold text-accent/25 font-mono tracking-tight",children:String(k+1).padStart(2,"0")}),x.eyebrow&&u.jsx("span",{className:"text-xs text-accent font-mono uppercase tracking-[0.2em]",children:x.eyebrow})]}),u.jsx("h3",{className:"text-2xl lg:text-4xl font-bold text-foreground font-display tracking-tight mb-4 leading-tight",children:x.title}),u.jsx("p",{className:"text-muted-foreground leading-relaxed text-base lg:text-lg max-w-md",children:x.text}),x.items&&u.jsx("div",{className:"flex flex-wrap gap-2 mt-5",children:x.items.map((b,_)=>u.jsx("span",{className:"px-3 py-1.5 rounded-full bg-secondary text-muted-foreground text-xs font-medium",children:b},_))})]})},k))})]})})}function y$(t){const[e,n]=S.useState(null);return S.useEffect(()=>{const r=t.current;if(!r)return;const s=new ResizeObserver(([o])=>{const{width:l,height:c}=o.contentRect;n({width:l,height:c})});return s.observe(r),()=>s.disconnect()},[t]),e}const Fh="https://static.wixstatic.com/media/12d367_4f26ccd17f8f4e3a8958306ea08c2332~mv2.png",v$=["media.base44.com","static.wixstatic.com"],x$=1024,w$=[1,2,3],b$=6e3;function _$(t){try{const e=new URL(t);if(!v$.includes(e.hostname))return null;const n=e.pathname.indexOf("/v1/"),r=n===-1?e.pathname:e.pathname.slice(0,n),s=r.split("/").pop();return!s||/\.svg$/i.test(s)?null:{baseUrl:`${e.origin}${r}`,filename:s}}catch{return null}}const TC=t=>Math.min(Math.max(Math.round(t),1),b$),EC=t=>Math.min(1,Math.max(0,t));function mP({baseUrl:t,filename:e},{width:n,height:r,crop:s,focalPoint:o,quality:l}){const c=[`w_${TC(n)}`,`h_${TC(r||n)}`];s&&c.push(o?`fp_${EC(o.x).toFixed(2)}_${EC(o.y).toFixed(2)}`:"al_c"),c.push(`q_${l}`,"usm_0.66_1.00_0.01","enc_webp","quality_auto");const f=/\.gif$/i.test(e)?e:e.replace(/\.[a-z0-9]+$/i,"")+".webp";return`${t}/v1/${s?"fill":"fit"}/${c.join(",")}/${f}`}function S$(t,e){return w$.map(n=>`${mP(t,{...e,width:e.width*n,height:e.height?e.height*n:void 0})} ${n}x`).join(", ")}const gP=S.forwardRef(({aspectRatio:t,className:e,style:n,children:r},s)=>u.jsx("span",{ref:s,className:xn("inline-block relative",e),style:{aspectRatio:t,...n},children:r}));gP.displayName="ImageWrapper";const yP=S.forwardRef(({parsed:t,fittingType:e,focalPoint:n,quality:r,className:s,style:o,aspectRatio:l,...c},f)=>{const h=S.useRef(null),p=S.useRef(null),g=y$(h);S.useImperativeHandle(f,()=>p.current);const v=e!=="fit",x={width:g&&g.width||x$,height:g&&g.height?g.height:void 0,crop:v,focalPoint:v?n:void 0,quality:r};return u.jsx(gP,{ref:h,aspectRatio:l,className:s,style:o,children:u.jsx("img",{ref:p,src:mP(t,x),srcSet:S$(t,x),loading:"lazy",className:xn("w-full h-full inset-0 absolute",e==="fit"?"object-contain":"object-cover"),...c})})});yP.displayName="ResponsiveImage";const Ho=S.forwardRef(({src:t,fittingType:e="fill",originWidth:n,originHeight:r,focalPointX:s,focalPointY:o,quality:l=90,...c},f)=>{const[h,p]=S.useState(t);S.useEffect(()=>{p(t)},[t]);const g={...c,onError:()=>p(Fh)};if(!t)return u.jsx("img",{ref:f,src:Fh,...g,"data-empty-image":!0});const v=h===Fh?null:_$(h);if(!v){const b=h===Fh;return u.jsx("img",{ref:f,src:h,...g,"data-error-image":b||void 0})}const x=typeof s=="number"&&typeof o=="number"?{x:s,y:o}:void 0,k=n&&r?`${n} / ${r}`:void 0;return u.jsx(yP,{ref:f,parsed:v,fittingType:e,focalPoint:x,quality:l,aspectRatio:k,...g})});Ho.displayName="Image";const C$=[{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/acfc4a367_21d3e55c-453f-4d2f-9243-a7562ee788fb.jpg",alt:"Lev Campus students on a group trip",span:"sm:col-span-2 sm:row-span-2"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/ee3006f50_80d9d6a9-8c5b-466f-9fca-40ed767a6
444759.jpg",alt:"Lev Campus family gathering"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/91b05d794_99d01a83-1423-4bda-af8e-52699ffa256d.jpg",alt:"Lev Campus couples event at the stone portico"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/4df7cb6e5_ebf39b0d-3b60-49e6-835e-cb55f6a79487.jpg",alt:"Lev Campus students on an observation deck"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/5e0dfe728_PHOTO-2025-01-23-15-19-28.jpg",alt:"Lev Campus students gathered at night",span:"sm:col-span-2"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/eccfcfba7_WhatsAppImage2025-01-23at94600AM.jpg",alt:"Lev Campus commemorative event under the tent"}];function k$(){return u.jsx("section",{className:"py-24 sm:py-28 bg-background scroll-mt-24",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-12 max-w-2xl",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Student Life"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 leading-tight",children:"More than a degree"}),u.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed mt-4",children:"Tiyulim across the country, Shabbatot, chagigot, and a community that becomes family — life at Lev Campus stretches far beyond the classroom."})]}),u.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 auto-rows-[180px] sm:auto-rows-[220px] gap-3 sm:gap-4",children:C$.map((t,e)=>u.jsxs(oe,{delay:e*.06,className:`relative rounded-lg overflow-hidden group ${t.span||""}`,children:[u.jsx(Ho,{src:t.src,alt:t.alt,className:"w-full h-full transition-transform duration-700 group-hover:scale-105",fittingType:"cover"}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-primary/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"})]},e))})]})})}const T$="https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/e7a4fee3a_www_jct_ac_il_campus1_4307e32a.jpg",E$="https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/e77848b17_www_jct_ac_il_beit-midrash_6861eade.jpg",j$=["https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/17d7b8a9a_machon-lev-photoshoot13of16_AS20031.jpg","https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/edb31bd9c_machon-lev-photoshoot3of16_AS20010.jpg","https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/6fe74098c_JMG10-120199.jpg","https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/dcdd39358_JMG10-120084.jpg"],N$=[{eyebrow:"Living",title:"Dormitories",text:"On-site dormitory buildings that accommodate single men and married couples with young children. Dorms are affordable and offer accessibility to all the College's facilities and services."},{eyebrow:"Spiritual",title:"Beit Midrash",text:"Located in the heart of Lev Campus, providing students the opportunity to combine daily Torah study with academic pursuits."},{eyebrow:"Wellness",title:"Fitness Center",text:"A state-of-the-art facility, fully equipped with a wide range of exercise equipment, cardio machines, changing rooms and showers."},{eyebrow:"Dining",title:"Dining Options",text:"Lev Campus offers both dairy and meat cafeterias where food can be purchased at a subsidized price."},{eyebrow:"Student Services",title:"Services & Opportunities",text:"Career counselling center, academic tutors, sports competitions, volunteering opportunities, hackathons, JLIC and Student Union activities, and special events."}],P$=[{icon:Jp,name:"Computer Science (BSc)",desc:"Theoretical and applied computer science for Israel's hi-tech industry."},{icon:Ac,name:"Business Administration (BA)",desc:"Finance, management, strategy and information systems."},{icon:Cv,name:"Software Engineering (BSc)",desc:"Engineering-depth track blending CS foundations with real-world systems building."},{icon:jv,name:"Industrial Engineering (BSc)",desc:"Optimizing the complex systems and organizations behind Israel's industries."},{icon:kv,name:"Electrical and Electronics Engineering (BSc)",desc:"Circuits and systems across hi-tech and Israel's defense industry."},{icon:Yp,name:"Electro-optical Engineering and Applied Physics (BSc)",desc:"Lasers, optics and applied physics for defense and medical technologies."},{icon:Tv,name:"Bioinformatics (Pre-Med Track) (BSc)**",desc:"Life sciences meets computer science — a pre-med research track."}];function R$(){return u.jsxs("div",{className:"pt-16",children:[u.jsx(zc,{title:"Campus Lev",subtitle:"Jerusalem's premier campus for men — combining Torah study with cutting-edge academic programs in engineering, computer science, business, and life sciences.",image:T$}),u.jsx("section",{className:"py-28 bg-background",children:u.jsx("div",{className:"max-w-7xl mx-auto px-4",children:u.jsxs("div",{className:"grid lg:grid-cols-12 gap-12 items-center",children:[u.jsx("div",{className:"lg:col-span-5",children:u.jsx(Rc,{src:E$,alt:"JCT Beit Midrash",className:"h-[500px] rounded-lg shadow-lg",direction:"left"})}),u.jsxs("div",{className:"lg:col-span-7",children:[u.jsxs(oe,{children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Men's Campus · Jerusalem"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 mb-6 leading-tight",children:"Where Torah and academics meet"})]}),u.jsx(oe,{delay:.1,children:u.jsxs("div",{className:"space-y-5 text-muted-foreground leading-relaxed text-lg",children:[u.jsx("p",{children:"Established in 1969, Lev Campus for men is located in the heart of Jerusalem's Givat Mordechai neighborhood. Lev offers a unique combination of high-level academic degree programs alongside an enriching curriculum of Torah study."}),u.jsx("p",{children:"Lev degree programs prepare graduates for the highly skilled workforce. Campus facilities include state-of-the-art research labs, academic and Judaic libraries, a Beit Midrash, on-site dormitories, dairy and meat cafeterias, as well as a sports and recreation center."}),u.jsx("p",{children:"The campus is home to the Schreiber LevTech Entrepreneurship Center, which provides students with exposure to the hi-tech ecosystem and training in innovative thinking and business development."})]})})]})]})})}),u.jsx("section",{className:"py-24 bg-background border-t border-border",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-14",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Degree Programs"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 max-w-2xl leading-tight",children:"Seven degrees, one campus"})]}),u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:P$.map((t,e)=>{const n=t.icon;return u.jsx(oe,{delay:e*.05,children:u.jsxs("div",{className:"group bg-secondary rounded-lg p-8 border border-primary/10 hover:border-accent hover:shadow-lg transition-all duration-300 h-full",children:[u.jsx("div",{className:"w-14 h-14 roun
444ded-lg bg-primary flex items-center justify-center mb-5 group-hover:bg-accent transition-colors duration-300",children:u.jsx(n,{className:"w-7 h-7 text-primary-foreground group-hover:text-accent-foreground transition-colors"})}),u.jsx("h3",{className:"text-lg font-bold text-foreground font-display mb-2",children:t.name}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:t.desc})]})},t.name)})}),u.jsx("p",{className:"text-xs text-muted-foreground mt-8",children:"** Bioinformatics (Pre-Med Track) will be offered if there is sufficient registration."})]})}),u.jsx(o1,{images:j$,imageAlt:"Campus Lev life",callouts:N$,bg:"bg-secondary"}),u.jsx(k$,{}),u.jsxs("section",{className:"py-28 bg-primary text-primary-foreground relative overflow-hidden border-t border-gold/30",children:[u.jsx("div",{className:"absolute inset-0 bg-cover bg-center opacity-15",style:{backgroundImage:"url('https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/06a5ed1a7_www_jct_ac_il_cc3u7514_3cc65798.jpg')"}}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary via-primary/90 to-primary/70"}),u.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4",children:u.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 items-center",children:[u.jsxs(oe,{children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Schreiber LevTech Center"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold font-display tracking-tight mt-2 mb-4 leading-tight",children:"Entrepreneurship at the heart of campus"}),u.jsx("p",{className:"text-primary-foreground/60 text-lg leading-relaxed max-w-md",children:"LevTech provides students with exposure to the hi-tech ecosystem — mentoring, hackathons, and a pre-accelerator program that turns ideas into real products and companies."})]}),u.jsx(oe,{delay:.2,children:u.jsx("div",{className:"grid grid-cols-2 gap-4",children:["Pre-Accelerator","48hr Hackathons","Tech Mentoring","Business Coaching"].map((t,e)=>u.jsx("div",{className:"bg-primary-foreground/5 backdrop-blur-sm border border-primary-foreground/10 rounded-lg p-5 text-center",children:u.jsx("span",{className:"text-sm font-semibold text-primary-foreground/80",children:t})},e))})})]})})]}),u.jsx(ll,{title:"Ready to join Campus Lev?",subtitle:"Explore the programs available at our men's campus in Jerusalem."})]})}const A$="https://forms.monday.com/forms/embed/19df1e5bef43bc2f93667a9e4b9b73a8?r=euc1";function O$(){return u.jsx("section",{id:"inquiry",className:"bg-primary text-primary-foreground scroll-mt-24 grain relative",children:u.jsxs("div",{className:"max-w-3xl mx-auto px-4 py-16 sm:py-24 relative z-10",children:[u.jsxs(oe,{className:"mb-6 sm:mb-10 text-center",children:[u.jsx("span",{className:"text-gold font-mono text-sm uppercase tracking-[0.2em]",children:"Request Info"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold font-display tracking-tight mt-2 leading-tight",children:"Start your journey in Jerusalem"}),u.jsx("p",{className:"text-primary-foreground/60 mt-4 max-w-xl mx-auto leading-relaxed",children:"Tell us a bit about yourself and we'll be in touch with everything you need to know about the JCT International Program."})]}),u.jsx("div",{className:"rounded-lg overflow-hidden bg-primary-foreground shadow-2xl",children:u.jsx("iframe",{src:A$,title:"JCT International Program, Request Info",className:"w-full border-0",style:{height:"720px",minHeight:"640px"},allow:"encrypted-media"})})]})})}function Bo(t,e,{checkForDefaultPrevented:n=!0}={}){return function(s){if(t==null||t(s),n===!1||!s.defaultPrevented)return e==null?void 0:e(s)}}function M$(t,e){const n=S.createContext(e),r=o=>{const{children:l,...c}=o,f=S.useMemo(()=>c,Object.values(c));return u.jsx(n.Provider,{value:f,children:l})};r.displayName=t+"Provider";function s(o){const l=S.useContext(n);if(l)return l;if(e!==void 0)return e;throw new Error(`\`${o}\` must be used within \`${t}\``)}return[r,s]}function L$(t,e=[]){let n=[];function r(o,l){const c=S.createContext(l),f=n.length;n=[...n,l];const h=g=>{var C;const{scope:v,children:x,...k}=g,b=((C=v==null?void 0:v[t])==null?void 0:C[f])||c,_=S.useMemo(()=>k,Object.values(k));return u.jsx(b.Provider,{value:_,children:x})};h.displayName=o+"Provider";function p(g,v){var b;const x=((b=v==null?void 0:v[t])==null?void 0:b[f])||c,k=S.useContext(x);if(k)return k;if(l!==void 0)return l;throw new Error(`\`${g}\` must be used within \`${o}\``)}return[h,p]}const s=()=>{const o=n.map(l=>S.createContext(l));return function(c){const f=(c==null?void 0:c[t])||o;return S.useMemo(()=>({[`__scope${t}`]:{...c,[t]:f}}),[c,f])}};return s.scopeName=t,[r,D$(s,...e)]}function D$(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(o){const l=r.reduce((c,{useScope:f,scopeName:h})=>{const g=f(o)[`__scope${h}`];return{...c,...g}},{});return S.useMemo(()=>({[`__scope${e.scopeName}`]:l}),[l])}};return n.scopeName=e.scopeName,n}var Dd=globalThis!=null&&globalThis.document?S.useLayoutEffect:()=>{},I$=Gp[" useId ".trim().toString()]||(()=>{}),F$=0;function qy(t){const[e,n]=S.useState(I$());return Dd(()=>{n(r=>r??String(F$++))},[t]),t||(e?`radix-${e}
444`:"")}var B$=Gp[" useInsertionEffect ".trim().toString()]||Dd;function U$({prop:t,defaultProp:e,onChange:n=()=>{},caller:r}){const[s,o,l]=z$({defaultProp:e,onChange:n}),c=t!==void 0,f=c?t:s;{const p=S.useRef(t!==void 0);S.useEffect(()=>{const g=p.current;g!==c&&console.warn(`${r} is changing from ${g?"controlled":"uncontrolled"} to ${c?"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.`),p.current=c},[c,r])}const h=S.useCallback(p=>{var g;if(c){const v=V$(p)?p(t):p;v!==t&&((g=l.current)==null||g.call(l,v))}else o(p)},[c,t,o,l]);return[f,h]}function z$({defaultProp:t,onChange:e}){const[n,r]=S.useState(t),s=S.useRef(n),o=S.useRef(e);return B$(()=>{o.current=e},[e]),S.useEffect(()=>{var l;s.current!==n&&((l=o.current)==null||l.call(o,n),s.current=n)},[n,s]),[n,r,o]}function V$(t){return typeof t=="function"}function $$(t){const e=W$(t),n=S.forwardRef((r,s)=>{const{children:o,...l}=r,c=S.Children.toArray(o),f=c.find(q$);if(f){const h=f.props.children,p=c.map(g=>g===f?S.Children.count(h)>1?S.Children.only(null):S.isValidElement(h)?h.props.children:null:g);return u.jsx(e,{...l,ref:s,children:S.isValidElement(h)?S.cloneElement(h,void 0,p):null})}return u.jsx(e,{...l,ref:s,children:o})});return n.displayName=`${t}.Slot`,n}function W$(t){const e=S.forwardRef((n,r)=>{const{children:s,...o}=n;if(S.isValidElement(s)){const l=Y$(s),c=G$(o,s.props);return s.type!==S.Fragment&&(c.ref=r?rm(r,l):l),S.cloneElement(s,c)}return S.Children.count(s)>1?S.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var H$=Symbol("radix.slottable");function q$(t){return S.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===H$}function G$(t,e){const n={...e};for(const r in e){const s=t[r],o=e[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...c)=>{const f=o(...c);return s(...c),f}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...t,...n}}function Y$(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var K$=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Vi=K$.reduce((t,e)=>{const n=$$(`Primitive.${e}`),r=S.forwardRef((s,o)=>{const{asChild:l,...c}=s,f=l?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(f,{...c,ref:o})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function J$(t,e){t&&Kk.flushSync(()=>t.dispatchEvent(e))}function Id(t){const e=S.useRef(t);return S.useEffect(()=>{e.current=t}),S.useMemo(()=>(...n)=>{var r;return(r=e.current)==null?void 0:r.call(e,...n)},[])}function X$(t,e=globalThis==null?void 0:globalThis.document){const n=Id(t);S.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[n,e])}var Q$="DismissableLayer",yv="dismissableLayer.update",Z$="dismissableLayer.pointerDownOutside",e9="dismissableLayer.focusOutside",jC,vP=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),xP=S.forwardRef((t,e)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:o,onInteractOutside:l,onDismiss:c,...f}=t,h=S.useContext(vP),[p,g]=S.useState(null),v=(p==null?void 0:p.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,x]=S.useState({}),k=il(e,M=>g(M)),b=Array.from(h.layers),[_]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),C=b.indexOf(_),j=p?b.indexOf(p):-1,T=h.layersWithOutsidePointerEventsDisabled.size>0,N=j>=C,P=r9(M=>{const O=M.target,z=[...h.branches].some(V=>V.contains(O));!N||z||(s==null||s(M),l==null||l(M),M.defaultPrevented||c==null||c())},v),D=s9(M=>{const O=M.target;[...h.branches].some(V=>V.contains(O))||(o==null||o(M),l==null||l(M),M.defaultPrevented||c==null||c())},v);return X$(M=>{j===h.layers.size-1&&(r==null||r(M),!M.defaultPrevented&&c&&(M.preventDefault(),c()))},v),S.useEffect(()=>{if(p)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(jC=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(p)),h.layers.add(p),NC(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=jC)}},[p,v,n,h]),S.useEffect(()=>()=>{p&&(h.layers.delete(p),h.layersWithOutsidePointerEventsDisabled.delete(p),NC())},[p,h]),S.useEffect(()=>{const M=()=>x({});return document.addEventListener(yv,M),()=>document.removeEventListener(yv,M)},[]),u.jsx(Vi.div,{...f,ref:k,style:{pointerEvents:T?N?"auto":"none":void 0,...t.style},onFocusCapture:Bo(t.onFocusCapture,D.onFocusCapture),onBlurCapture:Bo(t.onBlurCapture,D.onBlurCapture),onPointerDownCapture:Bo(t.onPointerDownCapture,P.onPointerDownCapture)})});xP.displayName=Q$;var t9="DismissableLayerBranch",n9=S.forwardRef((t,e)=>{const n=S.useContext(vP),r=S.useRef(null),s=il(e,r);return S.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),u.jsx(Vi.div,{...t,ref:s})});n9.displayName=t9;function r9(t,e=globalThis==null?void 0:globalThis.document){const n=Id(t),r=S.useRef(!1),s=S.useRef(()=>{});return S.useEffect(()=>{const o=c=>{if(c.target&&!r.current){let f=function(){wP(Z$,n,h,{discrete:!0})};const h={originalEvent:c};
vendor: 9,651 bytes, line 444
444c.pointerType==="touch"?(e.removeEventListener("click",s.current),s.current=f,e.addEventListener("click",s.current,{once:!0})):f()}else e.removeEventListener("click",s.current);r.current=!1},l=window.setTimeout(()=>{e.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),e.removeEventListener("pointerdown",o),e.removeEventListener("click",s.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function s9(t,e=globalThis==null?void 0:globalThis.document){const n=Id(t),r=S.useRef(!1);return S.useEffect(()=>{const s=o=>{o.target&&!r.current&&wP(e9,n,{originalEvent:o},{discrete:!1})};return e.addEventListener("focusin",s),()=>e.removeEventListener("focusin",s)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function NC(){const t=new CustomEvent(yv);document.dispatchEvent(t)}function wP(t,e,n,{discrete:r}){const s=n.originalEvent.target,o=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&s.addEventListener(t,e,{once:!0}),r?J$(s,o):s.dispatchEvent(o)}var Gy="focusScope.autoFocusOnMount",Yy="focusScope.autoFocusOnUnmount",PC={bubbles:!1,cancelable:!0},i9="FocusScope",bP=S.forwardRef((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:o,...l}=t,[c,f]=S.useState(null),h=Id(s),p=Id(o),g=S.useRef(null),v=il(e,b=>f(b)),x=S.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;S.useEffect(()=>{if(r){let b=function(T){if(x.paused||!c)return;const N=T.target;c.contains(N)?g.current=N:go(g.current,{select:!0})},_=function(T){if(x.paused||!c)return;const N=T.relatedTarget;N!==null&&(c.contains(N)||go(g.current,{select:!0}))},C=function(T){if(document.activeElement===document.body)for(const P of T)P.removedNodes.length>0&&go(c)};document.addEventListener("focusin",b),document.addEventListener("focusout",_);const j=new MutationObserver(C);return c&&j.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",_),j.disconnect()}}},[r,c,x.paused]),S.useEffect(()=>{if(c){AC.add(x);const b=document.activeElement;if(!c.contains(b)){const C=new CustomEvent(Gy,PC);c.addEventListener(Gy,h),c.dispatchEvent(C),C.defaultPrevented||(o9(d9(_P(c)),{select:!0}),document.activeElement===b&&go(c))}return()=>{c.removeEventListener(Gy,h),setTimeout(()=>{const C=new CustomEvent(Yy,PC);c.addEventListener(Yy,p),c.dispatchEvent(C),C.defaultPrevented||go(b??document.body,{select:!0}),c.removeEventListener(Yy,p),AC.remove(x)},0)}}},[c,h,p,x]);const k=S.useCallback(b=>{if(!n&&!r||x.paused)return;const _=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,C=document.activeElement;if(_&&C){const j=b.currentTarget,[T,N]=a9(j);T&&N?!b.shiftKey&&C===N?(b.preventDefault(),n&&go(T,{select:!0})):b.shiftKey&&C===T&&(b.preventDefault(),n&&go(N,{select:!0})):C===j&&b.preventDefault()}},[n,r,x.paused]);return u.jsx(Vi.div,{tabIndex:-1,...l,ref:v,onKeyDown:k})});bP.displayName=i9;function o9(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(go(r,{select:e}),document.activeElement!==n)return}function a9(t){const e=_P(t),n=RC(e,t),r=RC(e.reverse(),t);return[n,r]}function _P(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function RC(t,e){for(const n of t)if(!l9(n,{upTo:e}))return n}function l9(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 c9(t){return t instanceof HTMLInputElement&&"select"in t}function go(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&c9(t)&&e&&t.select()}}var AC=u9();function u9(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=OC(t,e),t.unshift(e)},remove(e){var n;t=OC(t,e),(n=t[0])==null||n.resume()}}}function OC(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function d9(t){return t.filter(e=>e.tagName!=="A")}var f9="Portal",SP=S.forwardRef((t,e)=>{var c;const{container:n,...r}=t,[s,o]=S.useState(!1);Dd(()=>o(!0),[]);const l=n||s&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return l?n3.createPortal(u.jsx(Vi.div,{...r,ref:e}),l):null});SP.displayName=f9;function h9(t,e){return S.useReducer((n,r)=>e[n][r]??n,t)}var mm=t=>{const{present:e,children:n}=t,r=p9(e),s=typeof n=="function"?n({present:r.isPresent}):S.Children.only(n),o=il(r.ref,m9(s));return typeof n=="function"||r.isPresent?S.cloneElement(s,{ref:o}):null};mm.displayName="Presence";function p9(t){const[e,n]=S.useState(),r=S.useRef(null),s=S.useRef(t),o=S.useRef("none"),l=t?"mounted":"unmounted",[c,f]=h9(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const h=Bh(r.current);o.current=c==="mounted"?h:"none"},[c]),Dd(()=>{const h=r.current,p=s.current;if(p!==t){const v=o.current,x=Bh(h);t?f("MOUNT"):x==="none"||(h==null?void 0:h.display)==="none"?f("UNMOUNT"):f(p&&v!==x?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,f]),Dd(()=>{if(e){let h;const p=e.ownerDocument.defaultView??window,g=x=>{const b=Bh(r.current).includes(CSS.escape(x.animationName));if(x.target===e&&b&&(f("ANIMATION_END"),!s.current)){const _=e.style.animationFillMode;e.style.animationFillMode="forwards",h=p.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=_)})}},v=x=>{x.target===e&&(o.current=Bh(r.current))};return e.addEventListener("animationstart",v),e.addEventListener("animationcancel",g),e.addEventListener("animationend",g),()=>{p.clearTimeout(h),e.removeEventListener("animationstart",v),e.removeEventListener("animationcancel",g),e.removeEventListener("animationend",g)}}else f("ANIMATION_END")},[e,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:S.useCallback(h=>{r.current=h?getComputedStyle(h):null,n(h)},[])}}function Bh(t){return(t==null?void 0:t.animationName)||"none"}function m9(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var Ky=0;function g9(){S.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??MC()),document.body.insertAdjacentElement("beforeend",t[1]??MC()),Ky++,()=>{Ky===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Ky--}},[])}function MC(){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 ni=function(){return ni=Object.assign||function(e){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ni.apply(this,arguments)};function CP(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(t);s<r.length;s++)e.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(t,r[s])&&(n[r[s]]=t[r[s]]);return n}function y9(t,e,n){if(n||arguments.length===2)for(var r=0,s=e.length,o;r<s;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))}var mp="right-scroll-bar-position",gp="width-before-scroll-bar",v9="with-scroll-bars-hidden",x9="--removed-body-scroll-bar-size";function Jy(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function w9(t,e){var n=S.useState(function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(r){var s=n.value;s!==r&&(n.value=r,n.callback(r,s))}}}})[0];return n.callback=e,n.facade}var b9=typeof window<"u"?S.useLayoutEffect:S.useEffect,LC=new WeakMap;function _9(t,e){var n=w9(null,function(r){return t.forEach(function(s){return Jy(s,r)})});return b9(function(){var r=LC.get(n);if(r){var s=new Set(r),o=new Set(t),l=n.current;s.forEach(function(c){o.has(c)||Jy(c,null)}),o.forEach(function(c){s.has(c)||Jy(c,l)})}LC.set(n,t)},[t]),n}function S9(t){return t}function C9(t,e){e===void 0&&(e=S9);var n=[],r=!1,s={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(o){var l=e(o,r);return n.push(l),function(){n=n.filter(function(c){return c!==l})}},assignSyncMedium:function(o){for(r=!0;n.length;){var l=n;n=[],l.forEach(o)}n={push:function(c){return o(c)},filter:function(){return n}}},assignMedium:function(o){r=!0;var l=[];if(n.length){var c=n;n=[],c.forEach(o),l=n}var f=function(){var p=l;l=[],p.forEach(o)},h=function(){return Promise.resolve().then(f)};h(),n={push:function(p){l.push(p),h()},filter:function(p){return l=l.filter(p),n}}}};return s}function k9(t){t===void 0&&(t={});var e=C9(null);return e.options=ni({async:!0,ssr:!1},t),e}var kP=function(t){var e=t.sideCar,n=CP(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");
vendor: 9,414 bytes, lines 444-484
444return S.createElement(r,ni({},n))};kP.isSideCarExport=!0;function T9(t,e){return t.useMedium(e),kP}var TP=k9(),Xy=function(){},gm=S.forwardRef(function(t,e){var n=S.useRef(null),r=S.useState({onScrollCapture:Xy,onWheelCapture:Xy,onTouchMoveCapture:Xy}),s=r[0],o=r[1],l=t.forwardProps,c=t.children,f=t.className,h=t.removeScrollBar,p=t.enabled,g=t.shards,v=t.sideCar,x=t.noRelative,k=t.noIsolation,b=t.inert,_=t.allowPinchZoom,C=t.as,j=C===void 0?"div":C,T=t.gapMode,N=CP(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=v,D=_9([n,e]),M=ni(ni({},N),s);return S.createElement(S.Fragment,null,p&&S.createElement(P,{sideCar:TP,removeScrollBar:h,shards:g,noRelative:x,noIsolation:k,inert:b,setCallbacks:o,allowPinchZoom:!!_,lockRef:n,gapMode:T}),l?S.cloneElement(S.Children.only(c),ni(ni({},M),{ref:D})):S.createElement(j,ni({},M,{className:f,ref:D}),c))});gm.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};gm.classNames={fullWidth:gp,zeroRight:mp};var E9=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function j9(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=E9();return e&&t.setAttribute("nonce",e),t}function N9(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function P9(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var R9=function(){var t=0,e=null;return{add:function(n){t==0&&(e=j9())&&(N9(e,n),P9(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},A9=function(){var t=R9();return function(e,n){S.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&n])}},EP=function(){var t=A9(),e=function(n){var r=n.styles,s=n.dynamic;return t(r,s),null};return e},O9={left:0,top:0,right:0,gap:0},Qy=function(t){return parseInt(t||"",10)||0},M9=function(t){var e=window.getComputedStyle(document.body),n=e[t==="padding"?"paddingLeft":"marginLeft"],r=e[t==="padding"?"paddingTop":"marginTop"],s=e[t==="padding"?"paddingRight":"marginRight"];return[Qy(n),Qy(r),Qy(s)]},L9=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return O9;var e=M9(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},D9=EP(),ac="data-scroll-locked",I9=function(t,e,n,r){var s=t.left,o=t.top,l=t.right,c=t.gap;return n===void 0&&(n="margin"),`
445  .`.concat(v9,` {
446   overflow: hidden `).concat(r,`;
447   padding-right: `).concat(c,"px ").concat(r,`;
448  }
449  body[`).concat(ac,`] {
450    overflow: hidden `).concat(r,`;
451    overscroll-behavior: contain;
452    `).concat([e&&"position: relative ".concat(r,";"),n==="margin"&&`
453    padding-left: `.concat(s,`px;
454    padding-top: `).concat(o,`px;
455    padding-right: `).concat(l,`px;
456    margin-left:0;
457    margin-top:0;
458    margin-right: `).concat(c,"px ").concat(r,`;
459    `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),`
460  }
461  
462  .`).concat(mp,` {
463    right: `).concat(c,"px ").concat(r,`;
464  }
465  
466  .`).concat(gp,` {
467    margin-right: `).concat(c,"px ").concat(r,`;
468  }
469  
470  .`).concat(mp," .").concat(mp,` {
471    right: 0 `).concat(r,`;
472  }
473  
474  .`).concat(gp," .").concat(gp,` {
475    margin-right: 0 `).concat(r,`;
476  }
477  
478  body[`).concat(ac,`] {
479    `).concat(x9,": ").concat(c,`px;
480  }
481`)},DC=function(){var t=parseInt(document.body.getAttribute(ac)||"0",10);return isFinite(t)?t:0},F9=function(){S.useEffect(function(){return document.body.setAttribute(ac,(DC()+1).toString()),function(){var t=DC()-1;t<=0?document.body.removeAttribute(ac):document.body.setAttribute(ac,t.toString())}},[])},B9=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,s=r===void 0?"margin":r;F9();var o=S.useMemo(function(){return L9(s)},[s]);return S.createElement(D9,{styles:I9(o,!e,s,n?"":"!important")})},vv=!1;if(typeof window<"u")try{var Uh=Object.defineProperty({},"passive",{get:function(){return vv=!0,!0}});window.addEventListener("test",Uh,Uh),window.removeEventListener("test",Uh,Uh)}catch{vv=!1}var Bl=vv?{passive:!1}:!1,U9=function(t){return t.tagName==="TEXTAREA"},jP=function(t,e){if(!(t instanceof Element))return!1;var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!U9(t)&&n[e]==="visible")},z9=function(t){return jP(t,"overflowY")},V9=function(t){return jP(t,"overflowX")},IC=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=NP(t,r);if(s){var o=PP(t,r),l=o[1],c=o[2];if(l>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},$9=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},W9=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},NP=function(t,e){return t==="v"?z9(e):V9(e)},PP=function(t,e){return t==="v"?$9(e):W9(e)},H9=function(t,e){return t==="h"&&e==="rtl"?-1:1},q9=function(t,e,n,r,s){var o=H9(t,window.getComputedStyle(e).direction),l=o*r,c=n.target,f=e.contains(c),h=!1,p=l>0,g=0,v=0;do{if(!c)break;var x=PP(t,c),k=x[0],b=x[1],_=x[2],C=b-_-o*k;(k||C)&&NP(t,c)&&(g+=C,v+=k);var j=c.parentNode;c=j&&j.nodeType===Node.DOCUMENT_FRAGMENT_NODE?j.host:j}while(!f&&c!==document.body||f&&(e.contains(c)||e===c));return(p&&Math.abs(g)<1||!p&&Math.abs(v)<1)&&(h=!0),h},zh=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},FC=function(t){return[t.deltaX,t.deltaY]},BC=function(t){return t&&"current"in t?t.current:t},G9=function(t,e){return t[0]===e[0]&&t[1]===e[1]},Y9=function(t){return`
482  .block-interactivity-`.concat(t,` {pointer-events: none;}
483  .allow-interactivity-`).concat(t,` {pointer-events: all;}
484`)},K9=0,Ul=[];function J9(t){var e=S.useRef([]),n=S.useRef([0,0]),r=S.useRef(),s=S.useState(K9++)[0],o=S.useState(EP)[0],l=S.useRef(t);S.useEffect(function(){l.current=t},[t]),S.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var b=y9([t.lockRef.current],(t.shards||[]).map(BC),!0).filter(Boolean);return b.forEach(function(_){return _.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),b.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var c=S.useCallback(function(b,_){if("touches"in b&&b.touches.length===2||b.type==="wheel"&&b.ctrlKey)return!l.current.allowPinchZoom;var C=zh(b),j=n.current,T="deltaX"in b?b.deltaX:j[0]-C[0],N="deltaY"in b?b.deltaY:j[1]-C[1],P,D=b.target,M=Math.abs(T)>Math.abs(N)?"h":"v";if("touches"in b&&M==="h"&&D.type==="range")return!1;var O=window.getSelection(),z=O&&O.anchorNode,V=z?z===D||z.contains(D):!1;if(V)return!1;var ne=IC(M,D);if(!ne)return!0;if(ne?P=M:(P=M==="v"?"h":"v",ne=IC(M,D)),!ne)return!1;if(!r.current&&"changedTouches"in b&&(T||N)&&(r.current=P),!P)return!0;var K=r.current||P;return q9(K,_,b,K==="h"?T:N)},[]),f=S.useCallback(function(b){var _=b;if(!(!Ul.length||Ul[Ul.length-1]!==o)){var C="deltaY"in _?FC(_):zh(_),j=e.current.filter(function(P){return P.name===_.type&&(P.target===_.target||_.target===P.shadowParent)&&G9(P.delta,C)})[0];if(j&&j.should){_.cancelable&&_.preventDefault();return}if(!j){var T=(l.current.shards||[]).map(BC).filter(Boolean).filter(function(P){return P.contains(_.target)}),N=T.length>0?c(_,T[0]):!l.current.noIsolation;N&&_.cancelable&&_.preventDefault()}}},[]),h=S.useCallback(function(b,_,C,j){var T={name:b,delta:_,target:C,should:j,shadowParent:X9(C)};e.current.push(T),setTimeout(function(){e.current=e.current.filter(function(N){return N!==T})},1)},[]),p=S.useCallback(function(b){n.current=zh(b),r.current=void 0},[]),g=S.useCallback(function(b){h(b.type,FC(b),b.target,c(b,t.lockRef.current))},[]),v=S.useCallback(function(b){h(b.type,zh(b),b.target,c(b,t.lockRef.current))},[]);S.useEffect(function(){return Ul.push(o),t.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:v}),document.addEventListener("wheel",f,Bl),document.addEventListener("touchmove",f,Bl),document.addEventListener("touchstart",p,Bl),function(){Ul=Ul.filter(function(b){return b!==o}),document.removeEventListener("wheel",f,Bl),document.removeEventListener("touchmove",f,Bl),document.removeEventListener("touchstart",p,Bl)}},[]);var x=t.removeScrollBar,k=t.inert;return S.createElement(S.Fragment,null,k?S.createElement(o,{styles:Y9(s)}):null,x?S.createElement(B9,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function X9(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const Q9=T9(TP,J9);var RP=S.forwardRef(function(t,e){return S.createElement(gm,ni({},t,{ref:e,sideCar:Q9}))});RP.classNames=gm.classNames;var Z9=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},zl=new WeakMap,Vh=new WeakMap,$h={},Zy=0,AP=function(t){return t&&(t.host||AP(t.parentNode))},eW=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=AP(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},tW=function(t,e,n,r){var s=eW(e,Array.isArray(t)?t:[t]);$h[n]||($h[n]=new WeakMap);var o=$h[n],l=[],c=new Set,f=new Set(s),h=function(g){!g||c.has(g)||(c.add(g),h(g.parentNode))};
vendor: 8,358 bytes, lines 484-488
484s.forEach(h);var p=function(g){!g||f.has(g)||Array.prototype.forEach.call(g.children,function(v){if(c.has(v))p(v);else try{var x=v.getAttribute(r),k=x!==null&&x!=="false",b=(zl.get(v)||0)+1,_=(o.get(v)||0)+1;zl.set(v,b),o.set(v,_),l.push(v),b===1&&k&&Vh.set(v,!0),_===1&&v.setAttribute(n,"true"),k||v.setAttribute(r,"true")}catch(C){console.error("aria-hidden: cannot operate on ",v,C)}})};return p(e),c.clear(),Zy++,function(){l.forEach(function(g){var v=zl.get(g)-1,x=o.get(g)-1;zl.set(g,v),o.set(g,x),v||(Vh.has(g)||g.removeAttribute(r),Vh.delete(g)),x||g.removeAttribute(n)}),Zy--,Zy||(zl=new WeakMap,zl=new WeakMap,Vh=new WeakMap,$h={})}},nW=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),s=Z9(t);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live], script"))),tW(r,s,n,"aria-hidden")):function(){return null}};function rW(t){const e=sW(t),n=S.forwardRef((r,s)=>{const{children:o,...l}=r,c=S.Children.toArray(o),f=c.find(oW);if(f){const h=f.props.children,p=c.map(g=>g===f?S.Children.count(h)>1?S.Children.only(null):S.isValidElement(h)?h.props.children:null:g);return u.jsx(e,{...l,ref:s,children:S.isValidElement(h)?S.cloneElement(h,void 0,p):null})}return u.jsx(e,{...l,ref:s,children:o})});return n.displayName=`${t}.Slot`,n}function sW(t){const e=S.forwardRef((n,r)=>{const{children:s,...o}=n;if(S.isValidElement(s)){const l=lW(s),c=aW(o,s.props);return s.type!==S.Fragment&&(c.ref=r?rm(r,l):l),S.cloneElement(s,c)}return S.Children.count(s)>1?S.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var iW=Symbol("radix.slottable");function oW(t){return S.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===iW}function aW(t,e){const n={...e};for(const r in e){const s=t[r],o=e[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...c)=>{const f=o(...c);return s(...c),f}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...t,...n}}function lW(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var ym="Dialog",[OP]=L$(ym),[cW,Us]=OP(ym),MP=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:s,onOpenChange:o,modal:l=!0}=t,c=S.useRef(null),f=S.useRef(null),[h,p]=U$({prop:r,defaultProp:s??!1,onChange:o,caller:ym});return u.jsx(cW,{scope:e,triggerRef:c,contentRef:f,contentId:qy(),titleId:qy(),descriptionId:qy(),open:h,onOpenChange:p,onOpenToggle:S.useCallback(()=>p(g=>!g),[p]),modal:l,children:n})};MP.displayName=ym;var LP="DialogTrigger",uW=S.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=Us(LP,n),o=il(e,s.triggerRef);return u.jsx(Vi.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":c1(s.open),...r,ref:o,onClick:Bo(t.onClick,s.onOpenToggle)})});uW.displayName=LP;var a1="DialogPortal",[dW,DP]=OP(a1,{forceMount:void 0}),IP=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:s}=t,o=Us(a1,e);return u.jsx(dW,{scope:e,forceMount:n,children:S.Children.map(r,l=>u.jsx(mm,{present:n||o.open,children:u.jsx(SP,{asChild:!0,container:s,children:l})}))})};IP.displayName=a1;var qp="DialogOverlay",FP=S.forwardRef((t,e)=>{const n=DP(qp,t.__scopeDialog),{forceMount:r=n.forceMount,...s}=t,o=Us(qp,t.__scopeDialog);return o.modal?u.jsx(mm,{present:r||o.open,children:u.jsx(hW,{...s,ref:e})}):null});FP.displayName=qp;var fW=rW("DialogOverlay.RemoveScroll"),hW=S.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=Us(qp,n);return u.jsx(RP,{as:fW,allowPinchZoom:!0,shards:[s.contentRef],children:u.jsx(Vi.div,{"data-state":c1(s.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),el="DialogContent",BP=S.forwardRef((t,e)=>{const n=DP(el,t.__scopeDialog),{forceMount:r=n.forceMount,...s}=t,o=Us(el,t.__scopeDialog);return u.jsx(mm,{present:r||o.open,children:o.modal?u.jsx(pW,{...s,ref:e}):u.jsx(mW,{...s,ref:e})})});BP.displayName=el;var pW=S.forwardRef((t,e)=>{const n=Us(el,t.__scopeDialog),r=S.useRef(null),s=il(e,n.contentRef,r);return S.useEffect(()=>{const o=r.current;if(o)return nW(o)},[]),u.jsx(UP,{...t,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Bo(t.onCloseAutoFocus,o=>{var l;o.preventDefault(),(l=n.triggerRef.current)==null||l.focus()}),onPointerDownOutside:Bo(t.onPointerDownOutside,o=>{const l=o.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0;(l.button===2||c)&&o.preventDefault()}),onFocusOutside:Bo(t.onFocusOutside,o=>o.preventDefault())})}),mW=S.forwardRef((t,e)=>{const n=Us(el,t.__scopeDialog),r=S.useRef(!1),s=S.useRef(!1);return u.jsx(UP,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var l,c;(l=t.onCloseAutoFocus)==null||l.call(t,o),o.defaultPrevented||(r.current||(c=n.triggerRef.current)==null||c.focus(),o.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:o=>{var f,h;(f=t.onInteractOutside)==null||f.call(t,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const l=o.target;((h=n.triggerRef.current)==null?void 0:h.contains(l))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&s.current&&o.preventDefault()}})}),UP=S.forwardRef((t,e)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:o,...l}=t,c=Us(el,n),f=S.useRef(null),h=il(e,f);return g9(),u.jsxs(u.Fragment,{children:[u.jsx(bP,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:o,children:u.jsx(xP,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":c1(c.open),...l,ref:h,onDismiss:()=>c.onOpenChange(!1)})}),u.jsxs(u.Fragment,{children:[u.jsx(gW,{titleId:c.titleId}),u.jsx(vW,{contentRef:f,descriptionId:c.descriptionId})]})]})}),l1="DialogTitle",zP=S.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=Us(l1,n);return u.jsx(Vi.h2,{id:s.titleId,...r,ref:e})});zP.displayName=l1;var VP="DialogDescription",$P=S.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=Us(VP,n);return u.jsx(Vi.p,{id:s.descriptionId,...r,ref:e})});$P.displayName=VP;var WP="DialogClose",HP=S.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=Us(WP,n);return u.jsx(Vi.button,{type:"button",...r,ref:e,onClick:Bo(t.onClick,()=>s.onOpenChange(!1))})});HP.displayName=WP;function c1(t){return t?"open":"closed"}var qP="DialogTitleWarning",[GH,GP]=M$(qP,{contentName:el,titleName:l1,docsSlug:"dialog"}),gW=({titleId:t})=>{const e=GP(qP),n=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
485
486If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
487
488For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return S.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},yW="DialogDescriptionWarning",vW=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${GP(yW).contentName}}.`;return S.useEffect(()=>{var o;const s=(o=t.current)==null?void 0:o.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},xW=MP,wW=IP,YP=FP,KP=BP,JP=zP,XP=$P,bW=HP;const QP=xW,_W=wW,ZP=S.forwardRef(({className:t,...e},n)=>u.jsx(YP,{ref:n,className:xn("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}));ZP.displayName=YP.displayName;const u1=S.forwardRef(({className:t,children:e,...n},r)=>u.jsxs(_W,{children:[u.jsx(ZP,{}),u.jsxs(KP,{ref:r,className:xn("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),...n,children:[e,u.jsxs(bW,{className:"absolute right-4 top-4 roun
488ded-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:[u.jsx(nl,{className:"h-4 w-4"}),u.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));u1.displayName=KP.displayName;const d1=({className:t,...e})=>u.jsx("div",{className:xn("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});d1.displayName="DialogHeader";const f1=S.forwardRef(({className:t,...e},n)=>u.jsx(JP,{ref:n,className:xn("text-lg font-semibold leading-none tracking-tight",t),...e}));f1.displayName=JP.displayName;const h1=S.forwardRef(({className:t,...e},n)=>u.jsx(XP,{ref:n,className:xn("text-sm text-muted-foreground",t),...e}));h1.displayName=XP.displayName;const SW="https://media.base44.com/videos/public/6a4ec71c7f920113f78c7ff7/372e15ac2_jct-hero-1080.mp4",UC=[{icon:Ac,word:"business",name:"Business Administration",type:"B.A.",campus:"Lev & Tal",color:"text-[hsl(224_90%_64%)]",ring:"ring-accent/60",glow:"hsl(var(--accent) / 0.30)",blurb
488:"Economics, finance, management, strategy, and information systems, about three class days a week.",details:{duration:"3 years",start:"Fall Semester (after Sukkot)"},careers:"Management, finance, marketing, entrepreneurship, in Israel and abroad."},{icon:Xp,word:"nursing",name:"Nursing",type:"B.S.N.",campus:"Campus Tal",color:"text-[hsl(343_72%_60%)]",ring:"ring-gem-magenta/60",glow:"hsl(var(--gem-magenta) / 0.30)",blurb:"The Selma Jelinek School of Nursing, with a 100% pass rate on the Registered Nurse State Licensure Exam.",details:{duration:"4 years",start:"Fall Semester (after Sukkot)"},careers:"Clinical training in Jerusalem's leading hospitals; nursing careers across Israel's healthcare system."},{icon:Jp,word:"hi-tech",name:"Computer Science",type:"B.Sc.",campus:"Lev & Tal",color:"text-[hsl(224_90%_64%)]",ring:"ring-accent/60",glow:"hsl(var(--accent) / 0.30)",blurb:"Rigorous theoretical and applied computer science, preparing you for Israel's hi-tech industry.",details:{duration:"4 years",start:"Fall Semester (after Sukkot)"},careers:"Software engineering, cybersecurity, data science, Israeli startups & global tech."},{icon:Cv,word:"software",name:"Software Engineering",type:"B.Sc.",campus:"Lev & Tal",color:"text-[hsl(176_70%_54%)]",ring:"ring-gem-teal/60",glow:"hsl(var(--gem-teal) / 0.30)",blurb
488:"An engineering-depth software track blending computer science foundations with real-world systems building.",details:{duration:"5 years",start:"Fall Semester (after Sukkot)"},careers:"Software architecture, embedded systems, R&D roles across Israel's tech sector."},{icon:jv,word:"engineering",name:"Industrial Engineering",type:"B.Sc.",campus:"Lev & Tal",color:"text-[hsl(271_60%_60%)]",ring:"ring-gem-purple/60",glow:"hsl(var(--gem-purple) / 0.30)",blurb:"Where engineering meets management, optimizing the complex systems behind Israel's industries.",details:{duration:"5 years",start:"Fall Semester (after Sukkot)"},careers:"Operations, project management, and systems roles across tech and industry."},{icon:kv,word:"electronics",name:"Electrical & Electronics Engineering",type:"B.Sc.",campus:"Campus Lev",color:"text-[hsl(176_70%_54%)]",ring:"ring-gem-teal/60",glow:"hsl(var(--gem-teal) / 0.30)",blurb:"A broad engineering foundation spanning circuits and systems, fields where JCT alumni have shaped Israel's defense for decades.",details:{duration:"5 years",start:"Fall Semester (after Sukkot)"},careers:"Electronics, communications, and R&D across hi-tech and Israel's defense industry."},{icon:Yp,word:"physics",name:"Electro-optics Engineering & Applied Physics",type:"B.Sc.",campus:"Lev & Tal",color:"text-[hsl(224_90%_64%)]",ring:"ring-accent/60",glow:"hsl(var(--accent) / 0.30)",blurb
488:"Lasers, optics and applied physics, a JCT specialty with an outsized presence in Israel's defense and medical technologies.",details:{duration:"5 years",start:"Fall Semester (after Sukkot)"},careers:"Electro-optics, satellite and defense technologies, medical imaging, applied research."},{icon:Tv,word:"life sciences",name:"Bioinformatics and Life Sciences",type:"B.Sc.",campus:"Campus Tal",color:"text-[hsl(343_72%_60%)]",ring:"ring-gem-magenta/60",glow:"hsl(var(--gem-magenta) / 0.30)",blurb:"Life sciences meets computer science, at the forefront of modern research.",details:{start:"Fall Semester (after Sukkot)"},careers:"Biotech, computational biology, and research across Israel's life-sciences sector."},{icon:yk,word:"pharmacy",name:"Pharmacy*",type:"B.Pharm",campus:"Campus Tal",color:"text-[hsl(343_72%_60%)]",ring:"ring-gem-magenta/60",glow:"hsl(var(--gem-magenta) / 0.30)",blurb:"A professional pharmacy degree preparing you for Israel's healthcare and pharmaceutical sectors.",details:{duration:"3.5 years",start:"Fall Semester (after Sukkot)",note:"Degree granted by The Hebrew University of Jerusalem"},careers:"Pharmacy, clinical practice, and pharmaceutical research across Israel's healthcare system."}],CW=["94% employment upon graduation","55+ years in Jerusalem"],kW=3200;function TW(){const[t,e]=S.useState(0),[n,r]=S.useState(null),s=rf(),o=S.useRef(null),l=UC[t];S.useEffect(()=>{if(s||n)return;const f=setInterval(()=>e(h=>(h+1)%UC.length),kW);return()=>clearInterval(f)},[s,n]),S.useEffect(()=>{const f=o.current;if(!f)return;if(f.muted=!0,f.defaultMuted=!0,s){f.pause();return}const h=()=>{f.muted=!0,f.defaultMuted=!0;const g=f.play();g&&typeof g.catch=="function"&&g.catch(()=>{})};h(),f.addEventListener("loadeddata",h),f.addEventListener("canplay",h);const p=()=>h();return window.addEventListener("touchstart",p,{once:!0,passive:!0}),window.addEventListener("touchend",p,{once:!0,passive:!0}),window.addEventListener("click",p,{once:!0}),()=>{f.removeEventListener("loadeddata",h),f.removeEventListener("canplay",h),window.removeEventListener("touchstart",p),window.removeEventListener("touchend",p),window.removeEventListener("click",p)}},[s]);const c=f=>{var h;r(null),f&&window.dispatchEvent(new CustomEvent("prefill-program",{detail:f.name})),(h=document.getElementById("inquiry"))==null||h.scrollIntoView({behavior:s?"auto":"smooth"})};return u.jsxs("section",{className:"relative min-h-[100svh] overflow-hidden bg-primary grain flex flex-col",children:[u.jsx("div",{className:"absolute inset-0",children:u.jsx("video",{ref:o,src:SW,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto",disablePictureInPicture:!0,controls:!1,className:"hero-bg-video w-full h-full object-cover object-center pointer-events-none"})}),u.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(11,30,61,0.78) 0%, rgba(11,30,61,0.48) 30%, rgba(11,30,61,0.18) 62%, rgba(11,30,61,0.08) 100%), linear-gradient(to right, rgba(11,30,61,0.35) 0%, rgba(11,30,61,0.1) 45%, rgba(11,30,61,0) 70%)"}}),u.jsx("div",{className:"absolute inset-x-0 top-0 h-36",style:{background:"linear-gradient(to bottom, rgba(11,30,61,0.4), transparent)"}}),u.jsx("div",{className:"relative z-10 flex-1 flex flex-col items-center justify-center px-4 sm:px-6 lg:px-8 pt-24 sm:pt-36 pb-8",children:u.jsx("div",{className:"max-w-7xl mx-auto w-full",children:u.jsxs("div",{className:"max-w-5xl text-center mx-auto",children:[u.jsx(Ve.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.3,ease:[.22,1,.36,1]},className:"text-white font-mono text-[11px] sm:text-xs uppercase tracking-[0.25em] mb-4",children:"The International Program"}),u.jsxs("h1",{className:"font-display font-bold text-white tracking-tight leading-[0.95]",style:{fontSize:"clamp(2.6rem, 6.5vw, 4.5rem)"},children:[u.jsx("span",{className:"block overflow-hidden",children:u.jsxs(Ve.span,{className:"block",initial:{y:"100%",opacity:0}
488,animate:{y:"0%",opacity:1},transition:{duration:1,delay:.45,ease:[.22,1,.36,1]},children:["Your future in"," ",u.jsx("br",{className:"sm:hidden"}),u.jsx("span",{className:"relative inline-block overflow-hidden align-bottom pb-[0.14em] -mb-[0.08em] pr-[0.08em]",children:u.jsx(An,{mode:"popLayout",children:u.jsx(Ve.span,{className:`inline-block font-serif-accent ${l.color}`,initial:{y:"110%",filter:"blur(6px)"},animate:{y:"0%",filter:"blur(0px)"},exit:{y:"-110%",filter:"blur(6px)"},transition:{duration:.55,ease:[.22,1,.36,1]},children:l.word},t)})})]})}),u.jsx("span",{className:"block overflow-hidden pt-1",children:u.jsx(Ve.span,{className:"block",initial:{y:"100%",opacity:0},animate:{y:"0%",opacity:1},transition:{duration:1,delay:.6,ease:[.22,1,.36,1]},children:"starts in Jerusalem"})})]}),u.jsxs(Ve.p,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.9,delay:.85,ease:[.22,1,.36,1]},className:"text-base sm:text-xl text-white/80 mt-5 max-w-3xl mx-auto leading-relaxed",children:["Begin in English, transition into Hebrew, and unlock more degrees and careers,",u.jsx("br",{}),"a world-recognized degree rooted in Torah."]}),u.jsxs(Ve.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.9,delay:1.05,ease:[.22,1,.36,1]},className:"flex flex-col sm:flex-row gap-3 mt-8 items-center justify-center",children:[u.jsxs("button",{onClick:()=>c(null),className:"group w-full sm:w-auto inline-flex items-center justify-center gap-2 bg-accent text-accent-foreground px-8 py-4 font-bold text-base rounded-md cursor-pointer hover:shadow-lg hover:shadow-accent/30 transition-all duration-300",children:["Request info ",u.jsx(qt,{className:"w-5 h-5 transition-transform duration-300 group-hover:translate-x-1"})]}),u.jsx("a",{href:"#tracks",className:"w-full sm:w-auto inline-flex items-center justify-center gap-2 border border-white/25 text-white px-6 py-4 font-bold text-sm backdrop-blur-sm rounded-md hover:bg-white/10 hover:border-white/50 transition-all duration-300",children:"Explore the degrees"})]}),u.jsxs(Ve.div,{initial:{opacity:0}
488,animate:{opacity:1},transition:{duration:.9,delay:1.25},className:"mt-7 flex flex-col items-center gap-2 sm:flex-row sm:flex-wrap sm:items-center sm:justify-center sm:gap-x-4 sm:gap-y-2",children:[CW.map((f,h)=>u.jsxs("span",{className:"flex items-center gap-x-4",children:[h>0&&u.jsx("span",{className:"hidden sm:block w-px h-3 bg-gold/60","aria-hidden":"true"}),u.jsx("span",{className:"font-mono text-[10px] sm:text-xs text-white/55 tracking-[0.08em] uppercase",children:f})]},f)),u.jsx("span",{className:"hidden sm:block w-px h-3 bg-gold/60","aria-hidden":"true"}),u.jsxs("button",{type:"button",onClick:()=>window.dispatchEvent(new CustomEvent("open-tuition-estimator")),className:"group font-mono text-[10px] sm:text-xs text-gold tracking-[0.08em] uppercase cursor-pointer hover:text-white transition-colors duration-300",children:["Estimate your tuition ",u.jsx("span",{className:"inline-block transition-transform duration-300 group-hover:translate-x-0.5",children:"→"})]})]})]})})}),u.jsx("div",{className:"absolute bottom-0 inset-x-0 h-px bg-gold/40 z-20"}),u.jsx(QP,{open:!!n,onOpenChange:f=>!f&&r(null),children:u.jsx(u1,{className:"max-w-lg",children:n&&u.jsxs(u.Fragment,{children:[u.jsxs(d1,{children:[u.jsxs(f1,{className:"font-display text-2xl flex items-center gap-3",children:[u.jsx("span",{className:"w-11 h-11 rounded-md bg-primary flex items-center justify-center flex-shrink-0",children:u.jsx(n.icon,{className:"w-5 h-5 text-primary-foreground"})}),n.name]}),u.jsx(h1,{className:"text-left pt-1",children:u.jsxs("span",{className:"font-mono text-xs uppercase tracking-wider",children:[n.type," · ",n.campus," · for English speakers"]})})]}),u.jsx("p",{className:"text-muted-foreground leading-relaxed",children:n.blurb}),n.details.note&&u.jsx("p",{className:"text-xs text-muted-foreground font-mono uppercase tracking-wider",children:n.details.note}),u.jsx("div",{className:"space-y-3 rounded-lg bg-secondary p-4",children:[{icon:t0,label:"Duration of studies",value:n.details.duration},{icon:b4,label:"Start of studies",value:n.details.start}].filter(f=>f.value).map(({icon:f,label:h,value:p})=>u.jsxs("div",{className:"flex gap-3",children:[u.jsx(f,{className:"w-4 h-4 text-accent flex-shrink-0 mt-0.5"}),u.jsxs("div",{children:[u.jsx("div",{className:"text-xs font-mono uppercase tracking-wider text-muted-foreground",children:h}),u.jsx("div",{className:"text-sm font-semibold text-foreground",children:p})]})]},h))}),u.jsxs("p",{className:"text-sm text-muted-foreground",children:[u.jsx("span",{className:"font-semibold text-foreground",children:"Where it takes you:"})," ",n.careers]}),["Business Administration","Nursing"].includes(n.name)&&u.jsxs("button",{type:"button",onClick:()=>{const f=n.name;r(null),window.dispatchEvent(new CustomEvent("open-tuition-estimator",{detail:f}))},className:"group inline-flex items-center gap-2 text-accent font-bold text-sm cursor-pointer",children:["Estimate tuition for this degree",u.jsx(qt,{className:"w-4 h-4 transition-transform duration-300 group-hover:translate-x-1"})]}),u.jsxs("button",{onClick:()=>c(n),className:"w-full inline-flex items-center justify-center gap-2 bg-accent text-accent-foreground px-6 py-3.5 font-bold rounded-md cursor-pointer hover:shadow-lg hover:shadow-accent/30 transition-all duration-300",children:["Request info about ",n.name," ",u.jsx(qt,{className:"w-4 h-4"})]})]})})})]})}const EW=3,zC=7500,jW={israeli:7e3,non:1e4},VC=1500,$C=1e3,eR=t=>"₪"+Math.round(t).toLocaleString("en-US"),Wh=[{id:"lev",label:"Lev Campus (Men)",religiousLabel:"Beit Midrash",religious:{israeli:2500,non:5e3,oleh:2500},dorm:18e3,dormNote:"incl. summer dorms, utilities & breakfast",degrees:[{name:"Business Administration",tuition:{israeli:12500,non:15650,oleh:0}},{name:"Computer Science",tuition:{israeli:12500,non:15650,oleh:0}},{name:"Software Engineering",tuition:{israeli:12500,non:15650,oleh:0}},{name:"Industrial Engineering",tuition:{israeli:12500,non:15650,oleh:0}},{name:"Electrical & Electronics Engineering",tuition:{israeli:12500,non:15650,oleh:0}},{name:"Electro-optics Engineering & Applied Physics",tuition:{israeli:12500,non:15650,oleh:0}},{name:"Pharmacy",tuition:{israeli:12500,non:15650,oleh:0}}]},{id:"tal",label:"Tal Campus (Women)",religiousLabel:"Midrasha",religious:{israeli:1800,non:1800,oleh:1800},dorm:12e3,dormNote:"incl. utilities",degrees:[{name:"Business Administration",tuition:{israeli:12500,non:15650,oleh:0}},{name:"Computer Science",tuition:{israeli:12500,non:15650,oleh:0}},{name:"Software Engineering",tuition:{israeli:12500,non:15650,oleh:0}},{name:"Industrial Engineering",tuition:{israeli:12500,non:15650,oleh:0}},{name:"Electro-optics Engineering & Applied Physics",tuition:{israeli:12500,non:15650,oleh:0}},{name:"Bioinformatics and Life Sciences",tuition:{israeli:12500,non:15650,oleh:0}},{name:"Nursing",tuition:{israeli:15e3,non:18750,oleh:0}}]}];function NW({value:t,reduceMotion:e}){const[n,r]=S.useState(t),s=S.useRef(t);return S.useEffect(()=>{if(e){r(t);return}const o=s.current;if(s.current=t,o===t)return;let l;const c=performance.now(),f=650,h=p=>{const g=Math.min((p-c)/f,1),v=1-Math.pow(1-g,3);r(o+(t-o)*v),g<1&&(l=requestAnimationFrame(h))};return l=requestAnimationFrame(h),()=>cancelAnimationFrame(l)},[t,e]),u.jsx("span",{children:eR(n)})}function Au({label:t,options:e,value:n,onChange:r,id:s}){return u.jsxs("div",{children:[u.jsx("div",{className:"font-mono text-[10px] uppercase tracking-[0.16em] text-muted-foreground mb-2",children:t}),u.jsx("div",{className:"flex flex-wrap gap-1.5",children:e.map(o=>{const l=o.value===n;return u.jsxs("button",{type:"button",onClick:()=>
488r(o.value),className:`relative px-3.5 py-2 rounded-md text-xs font-bold transition-colors duration-300 cursor-pointer ${l?"text-accent-foreground":"bg-secondary text-muted-foreground hover:text-foreground"}`,children:[l&&u.jsx(Ve.span,{layoutId:`seg-${s}`,className:"absolute inset-0 bg-accent rounded-md",transition:{type:"spring",stiffness:500,damping:38}}),u.jsx("span",{className:"relative z-10",children:o.label})]},String(o.value))})})]})}function PW(){const[t,e]=S.useState(!1),[n,r]=S.useState(0),[s,o]=S.useState(0),[l,c]=S.useState("non"),[f,h]=S.useState(!0),[p,g]=S.useState(!0),v=rf();S.useEffect(()=>{const T=N=>{const P=N==null?void 0:N.detail;if(P)for(let D=0;D<Wh.length;D++){const M=Wh[D].degrees.findIndex(O=>O.name===P);if(M>=0){r(D),o(M);break}}e(!0)};return window.addEventListener("open-tuition-estimator",T),()=>window.removeEventListener("open-tuition-estimator",T)},[]);const x=Wh[n],k=x.degrees[s],b=S.useMemo(()=>{const T=[];return l==="oleh"?(T.push({label:"Tuition (covered by Misrad HaKlita)",amount:0}),T.push({label:"International Program fees",amount:zC}),p&&T.push({label:"Ulpan (first year, covered for Olim)",amount:0}),T.push({label:x.religiousLabel,amount:x.religious[l]}),f&&T.push({label:`Dorm (${x.dormNote})`,amount:x.dorm}),p&&T.push({label:"Prerequisite courses (first year)",amount:VC}),T.push({label:"Other small fees",amount:$C}),T.push({label:"Oleh living stipend (annual, approx.)",amount:-4e3})):(T.push({label:"Tuition (100% academic load)",amount:k.tuition[l]}),T.push({label:"International Program fees",amount:zC}),p&&T.push({label:"Ulpan (first year)",amount:jW[l]}),T.push({label:x.religiousLabel,amount:x.religious[l]}),f&&T.push({label:`Dorm (${x.dormNote})`,amount:x.dorm}),p&&T.push({label:"Prerequisite courses (first year)",amount:VC}),T.push({label:"Other small fees",amount:$C})),T},[k,x,l,p,f]),_=b.reduce((T,N)=>T+N.amount,0),C=Math.round(_/EW/50)*50,j=()=>{e(!1),window.location.href="mailto:[email protected]?subject=Tuition%20information%20request"};return u.jsx(QP,{open:t,onOpenChange:e,children:u.jsxs(u1,{className:"max-w-2xl max-h-[90vh] overflow-y-auto",children:[u.jsxs(d1,{children:[u.jsx(f1,{className:"font-display text-2xl tracking-tight",children:"Estimate your tuition"}),u.jsx(h1,{className:"text-left pt-1",children:u.jsx("span",{className:"font-mono text-xs uppercase tracking-wider",children:"Official 5787 (2026–27) fee sheets · figures in NIS"})})]}),u.jsxs("div",{className:"grid sm:grid-cols-2 gap-x-6 gap-y-5",children:[u.jsxs("div",{className:"space-y-5",children:[u.jsx(Au,{id:"campus",label:"Campus",options:Wh.map((T,N)=>({value:N,label:T.label})),value:n,onChange:T=>{r(T),o(0)}}),u.jsx(Au,{id:"degree",label:"Degree",options:x.degrees.map((T,N)=>({value:N,label:T.name})),value:s,onChange:o}),u.jsx(Au,{id:"citizen",label:"Citizenship",options:[{value:"non",label:"Non-citizen"},{value:"israeli",label:"Israeli citizen"},{value:"oleh",label:"Oleh Chadash"}],value:l,onChange:c}),l==="oleh"&&u.jsx("p",{className:"font-mono text-[9px] leading-relaxed text-accent tracking-wide",children:"Oleh Chadash: tuition & Ulpan fully covered by Misrad HaKlita, plus a living stipend. Dorm and religious studies still apply."}),u.jsx(Au,{id:"dorm",label:"Housing",options:[{value:!0,label:"Campus dorm"},{value:!1,label:"Off campus"}],value:f,onChange:h}),u.jsx(Au,{id:"year",label:"Year of study",options:[{value:!0,label:"First year"},{value:!1,label:"Later years"}],value:p,onChange:g})]}),u.jsxs("div",{className:"rounded-lg bg-secondary p-5 flex flex-col",children:[u.jsx("div",{className:"flex-1 space-y-2.5",children:u.jsx(An,{initial:!1,children:b.map((T,N)=>u.jsxs(Ve.div,{layout:!0,initial:{opacity:0,x:14},animate:{opacity:1,x:0},exit:{opacity:0,x:-14},transition:{duration:.35,delay:N*.03,ease:[.22,1,.36,1]},className:"flex items-baseline justify-between gap-3",children:[u.jsx("span",{className:"text-xs text-muted-foreground leading-snug",children:T.label}),u.jsx("span",{className:"font-mono text-xs text-foreground whitespace-nowrap",children:eR(T.amount)})]},T.label))})}),u.jsxs(Ve.div,{layout:!0,className:"mt-5 pt-4 border-t border-primary/15",children:[u.jsx("div",{className:"font-mono text-[10px] uppercase tracking-[0.16em] text-muted-foreground",children:"Your yearly total"}),u.jsx("div",{className:"font-display font-bold tracking-tight text-3xl sm:text-4xl text-foreground mt-1",children:u.jsx(NW,{value:_,reduceMotion:v})}),u.jsxs("div",{className:"font-mono text-xs text-accent mt-1.5",children:["≈ $",C.toLocaleStr
488ing("en-US")," USD"]})]}),u.jsxs("button",{onClick:j,className:"group mt-5 w-full inline-flex items-center justify-center gap-2 bg-accent text-accent-foreground px-5 py-3 font-bold text-sm rounded-md cursor-pointer hover:shadow-lg hover:shadow-accent/30 transition-all duration-300",children:["Find out more",u.jsx(qt,{className:"w-4 h-4 transition-transform duration-300 group-hover:translate-x-1"})]})]})]})]})})}const Ou=[{url:"https://www.instagram.com/reel/DUya-_-jW8Z/",title:"Why I chose Machon Tal"},{url:"https://www.instagram.com/reel/Das-S3QMbMH/",title:"Why I love Machon Lev"},{url:"https://www.instagram.com/reel/DaSyephMjUq/",title:"My Favorite Aspect of Machon Tal Is..."},{url:"https://www.instagram.com/reel/DbEHHcGMfMu/",title:"Viewing Machon Tal as a Madricha"},{url:"https://www.instagram.com/reel/DYNQARMs51a/",title:"Machon Lev Campus Tour"},{url:"https://www.instagram.com/reel/DX7KKiSoimV/",title:"What is your favorite part about studying in Yerushalayim?"},{url:"https://www.instagram.com/reel/DUgZZHojcqa/",title:"Why I chose the Machon Lev Business Track"},{url:"https://www.instagram.com/reel/DUHGuPljK2-/",title:"Why I decided to stay and learn at Machon Lev"}],Hh=210,e0=24;function RW(){const[t,e]=S.useState(1),n=()=>e(s=>Math.max(0,s-1)),r=()=>e(s=>Math.min(Ou.length-1,s+1));return u.jsxs("section",{id:"reels",className:"pt-8 sm:pt-12 pb-16 sm:pb-24 bg-secondary scroll-mt-24 overflow-hidden",children:[u.jsx("div",{className:"max-w-7xl mx-auto px-4",children:u.jsxs(oe,{className:"mb-8 sm:mb-12",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Straight From Campus"}),u.jsxs("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 max-w-2xl leading-tight",children:["Through our students' ",u.jsx("span",{className:"font-serif-accent text-accent",children:"eyes"})]}),u.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed mt-4 max-w-2xl",children:"Unscripted and student-shot: campus tours, dorm life, and honest answers. Swipe through and press play."})]})}),u.jsx(oe,{delay:.15,children:u.jsxs("div",{className:"relative",children:[u.jsx("div",{className:"flex items-center transition-transform duration-500 ease-premium",style:{gap:`${e0}px`,transform:`translateX(clamp(calc(100vw - ${Ou.length*Hh+(Ou.length-1)*e0}px), calc(50vw - ${Hh/2}px - ${t*(Hh+e0)}px), 0px))`},children:Ou.map(({url:s,title:o},l)=>{const c=l===t;return u.jsxs("div",{onClick:()=>e(l),className:`relative flex-shrink-0 aspect-[9/16] rounded-lg overflow-hidden bg-primary shadow-lg transition-all duration-500 ease-premium ${c?"ring-2 ring-accent scale-105 z-10":"ring-1 ring-primary/10 scale-90 opacity-50 cursor-pointer"}`,style:{width:`${Hh}px`},children:[u.jsx("iframe",{src:`${s}embed/`,title:"JCT student reel",loading:"lazy",allow:"encrypted-media",allowFullScreen:!0,scrolling:"no",className:"w-full border-0 -mt-[54px]",style:{height:"calc(100% + 54px)"}}),u.jsx("div",{className:"absolute inset-x-0 bottom-0 z-10 px-3 pt-10 pb-2.5 bg-gradient-to-t from-primary/85 via-primary/45 to-transparent pointer-events-none",children:u.jsx("p",{className:`font-display font-semibold leading-tight text-white drop-shadow-sm ${c?"text-[13px]":"text-[11px]"}`,children:o})}),!c&&u.jsx("div",{className:"absolute inset-0"})]},s)})}),u.jsx("button",{onClick:n,disabled:t===0,"aria-label":"Previous reel",className:"absolute left-4 sm:left-10 top-1/2 -translate-y-1/2 z-20 w-11 h-11 rounded-full bg-background text-foreground shadow-lg flex items-center justify-center hover:bg-accent hover:text-accent-foreground transition-colors disabled:opacity-30 disabled:pointer-events-none",children:u.jsx(j4,{className:"w-5 h-5"})}),u.jsx("button",{onClick:r,disabled:t===Ou.length-1,"aria-label":"Next reel",className:"absolute right-4 sm:right-10 top-1/2 -translate-y-1/2 z-20 w-11 h-11 rounded-full bg-background text-foreground shadow-lg flex items-center justify-center hover:bg-accent hover:text-accent-foreground transition-colors disabled:opacity-30 disabled:pointer-events-none",children:u.jsx(P4,{className:"w-5 h-5"})})]})})]})}const AW="https://vt.panovision.co.il/machon_lev/mercaz_academy_lev.html",kr=[{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/50f0e05f6_JMG10-120014.jpg",alt:"Students sitting on stone benches in the campus courtyard",caption:"Jerusalem is y
488our campus"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/bcec8bc27_JMG10-120003.jpg",alt:"A backpack on the grass with the campus building behind",caption:""},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/8008b79c5_machon-lev-photoshoot1of16_AS20005.jpg",alt:"A teacher guiding students in a classroom",caption:"Serious Learning"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/24ae6c97b_machon-lev-photoshoot9of16_AS20021.jpg",alt:"Students walking and talking along a tree-lined campus path",caption:"Between classes"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/ed0f2cccd_JMG10-120032.jpg",alt:"Students sitting together at the campus café",caption:""},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/0a0a892dd_JMG10-120072.jpg",alt:"Students eating lunch together",caption:""},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/5620bd7b6_machon-tal19of29_G5A0622.jpg",alt:"Students taking a selfie on a balcony overlooking Jerusalem",caption:"Friendships for life"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/5a9c2e9a1_www_jct_ac_il_preisdent-herzog-learning-with-students_335546de.jpg",alt:"JCT students learning together",caption:"Study together"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/99fea70d1_NursingProgram1of122_AM10002.jpg",alt:"Nursing students in scrubs smiling during clinical training",caption:"Clinical training"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/8725a4c57_21d3e55c-453f-4d2f-9243-a7562ee788fb.jpg",alt:"International Program students gathered on a gravel lot before a trip",caption:"Trips across Israel"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/4d1f2928b_80d9d6a9-8c5b-466f-9fca-40ed767a6759.jpg",alt:"Students, families, and children posing together at a campus event",caption:"A community, not just a campus"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/dd79b5f87_99d01a83-1423-4bda-af8e-52699ffa256d.jpg",alt:"Young adults posing together under a stone archway on campus",caption:""},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/bda62143d_ebf39b0d-3b60-49e6-835e-cb55f6a79487.jpg",alt:"Young men on a group hike overlooking the hills of Israel",caption:"Tiyulim together"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/7fb8f3831_PHOTO-2025-01-23-15-19-28.jpg",alt:"Large group of students gathered on stone steps at night",caption:"Shabbatonim"},{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/53e89ae04_WhatsAppImage2025-01-23at94600AM.jpg",alt:"Students gathered inside a lit tent for a campus event",caption:""}];function Tr({img:t,className:e="",imgClassName:n=""}){return u.jsxs("figure",{className:`group relative rounded-lg overflow-hidden shadow-md bg-secondary ${e}`,children:[u.jsx(Ho,{src:t.src,alt:t.alt,className:`w-full h-full transition-transform duration-700 ease-premium group-hover:scale-[1.04] ${n}`,fittingType:"fill"}),t.caption&&u.jsx("figcaption",{className:"absolute inset-x-0 bottom-0 bg-gradient-to-t from-primary/90 via-primary/40 to-transparent p-4 pt-12",children:u.jsx("span",{className:"text-white text-sm font-mono uppercase tracking-wider",children:t.caption})})]})}function OW(){return u.jsx("section",{id:"life",className:"py-16 sm:py-24 bg-background scroll-mt-24",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-8 sm:mb-12",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Student Life"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 max-w-2xl leading-tight",children:"More than a degree"}),u.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed mt-4 max-w-2xl",children:"Shabbatonim, tiyulim, and a chevra of students from every corner of the world, in the city where it all began."}),u.jsxs("a",{href:AW,target:"_blank",rel:"noopener noreferrer",className:"w-full sm:w-auto inline-flex items-center justify-center gap-2 mt-6 bg-primary text-primary-foreground px-6 py-3.5 font-bold text-sm rounded-md hover:bg-accent hover:text-accent-foreground transition-all duration-300",children:[u.jsx(F4,{className:"w-4 h-4"})," Take the virtual tour of Machon Lev"]})]}),u.jsx(oe,{children:u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 sm:gap-5 mb-3 sm:mb-5",children:[u.jsx(Tr,{img:kr[0],className:"sm:col-span-2 h-64 sm:h-80"}),u.jsx(Tr,{img:kr[6],className:"h-64 sm:h-80"})]})}),u.jsx(oe,{delay:.05,children:u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 sm:gap-5 mb-3 sm:mb-5",children:[u.jsx(Tr,{img:kr[2],className:"h-56 sm:h-64 sm:mt-0"}),u.jsx(Tr,{img:kr[3],className:"h-56 sm:h-64 sm:mt-8"}),u.jsx(Tr,{img:kr[4],className:"h-56 sm:h-64 sm:mt-0"})]})}),u.jsx(oe,{delay:.1,children:u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 sm:gap-5 mb-3 sm:mb-5",children:[u.jsx(Tr,{img:kr[5],className:"h-64 sm:h-72"}),u.jsx(Tr,{img:kr[7],className:"h-64 sm:h-72"})]})}),u.jsx(oe,{delay:.05,children:u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 sm:gap-5 mb-3 sm:mb-5",children:[u.jsx(Tr,{img:kr[8],className:"h-72 sm:h-80",imgClassName:"!object-[50%_18%] scale-[1.3]"}),u.jsx(Tr,{img:kr[9],className:"sm:col-span-2 h-72 sm:h-80"})]})}),u.jsx(oe,{delay:.1,children:u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 sm:gap-5 mb-3 sm:mb-5",children:[u.jsx(Tr,{img:kr[10],className:"h-56 sm:h-64 sm:mt-8"}
488),u.jsx(Tr,{img:kr[11],className:"h-56 sm:h-64 sm:mt-0"}),u.jsx(Tr,{img:kr[12],className:"h-56 sm:h-64 sm:mt-4"})]})}),u.jsx(oe,{delay:.05,children:u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 sm:gap-5",children:[u.jsx(Tr,{img:kr[13],className:"h-64 sm:h-72"}),u.jsx(Tr,{img:kr[14],className:"h-64 sm:h-72"})]})})]})})}const MW=[{id:"all",label:"All Fields"},{id:"tech",label:"Tech & Engineering"},{id:"business",label:"Business"},{id:"health",label:"Health & Sciences"}],WC=[{icon:Jp,name:"Computer Science",type:"B.Sc.",field:"tech",campuses:["Lev (Men)","Tal (Women)"],duration:"4 years",blurb:"Rigorous theoretical and applied computer science, preparing you for Israel's thriving hi-tech industry.",highlights:["Algorithm design & data structures","AI, machine learning & cybersecurity","R&D and startup career paths"],careers:"Software engineering, cybersecurity, data science, Israeli startups & global tech.",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/8008b79c5_machon-lev-photoshoot1of16_AS20005.jpg",color:"hsl(var(--accent))"},{icon:Cv,name:"Software Engineering",type:"B.Sc.",field:"tech",campuses:["Lev (Men)","Tal (Women)"],duration:"5 years",blurb:"Engineering-depth track blending computer-science foundations with real-world systems building: architecture, embedded systems, and R&D-ready graduates.",highlights:["Software architecture & design patterns","Embedded systems & hardware integration","Team-based capstone projects"],careers:"Software architecture, embedded systems, R&D roles across Israel's tech sector.",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/6e935c7cf_machon-lev-photoshoot4of16_AS20013.jpg",color:"hsl(var(--gem-teal))"},{icon:Ac,name:"Business Administration",type:"B.A.",field:"business",campuses:["Lev (Men)","Tal (Women)"],duration:"3 years",blurb:"A comprehensive program spanning finance, management, strategy, and information systems. Classes meet about three days a week, flexible for working students and Torah study.",highlights:["Finance, accounting & economics","Management & marketing strategy","Entrepreneurship & information systems"],careers:"Management, finance, marketing, entrepreneurship, in Israel and abroad.",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/24ae6c97b_machon-lev-photoshoot9of16_AS20021.jpg",color:"hsl(var(--gem-purple))"},{icon:jv,name:"Industrial Engineering",type:"B.Sc.",field:"tech",campuses:["Lev (Men)","Tal (Women)"],duration:"5 years",blurb:"Where engineering meets management: mathematical methods to optimize the complex systems and organizations behind Israel's industries.",highlights:["Operations research & optimization","Supply chain & project management","Data-driven decision making"],careers:"Operations, project management, and systems roles across tech and industry.",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/1568dd3cc_machon-tal7of29_G5A0588.jpg",color:"hsl(var(--gem-purple))"},{icon:kv,name:"Electrical & Electronics Engineering",type:"B.Sc.",field:"tech",campuses:["Lev (Men)"],duration:"5 years",blurb:"A broad engineering foundation spanning circuits and systems, fields where JCT alumni have shaped Israel's defense for decades.",highlights:["Circuit design & signal processing","Communications & radar systems","Defense-tech specialization"],careers:"Electronics, communications, and R&D across hi-tech and Israel's defense industry.",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/cb2193f73_machon-lev-photoshoot7of16_AS20017.jpg",color:"hsl(var(--gem-teal))"},{icon:Yp,name:"Electro-optics Engineering & Applied Physics",type:"B.Sc.",field:"tech",campuses:["Lev (Men)","Tal (Women)"],duration:"5 years",blurb:"Lasers, optics and applied physics, a JCT specialty with an outsized presence in Israel's defense and medical technologies.",highlights:["Laser physics & electro-optics","Medical imaging & sensors","Satellite & defense technologies"],careers:"Electro-optics, satellite and defense technologies, medical imaging, applied research.",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/ed0f2cccd_JMG10-120032.jpg",color:"hsl(var(--accent))"},{icon:Tv,name:"Bioinformatics and Life Sciences",type:"B.Sc.",field:"health",campuses:["Tal (Women)"],duration:"4 years",blurb
488:"Life sciences meets computer science, at the forefront of modern research.",highlights:["Genomics & computational biology","Computational modeling of biological systems","Biotech research methods"],careers:"Biotech, computational biology, and research across Israel's life-sciences sector.",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/f7b482bb2_machon-tal11of29_G5A0597.jpg",color:"hsl(var(--gem-magenta))"},{icon:Xp,name:"Nursing",type:"B.S.N.",field:"health",campuses:["Tal (Women)"],duration:"3.5 years",blurb:"A caring profession in high demand, with clinical training in Jerusalem's leading hospitals at the Selma Jelinek School of Nursing. 100% licensure pass rate.",highlights:["Clinical rotations in Jerusalem hospitals","100% RN licensure pass rate","Israel's #1 nursing program"],careers:"Registered Nurse careers across Israel's healthcare system and abroad.",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/5620bd7b6_machon-tal19of29_G5A0622.jpg",color:"hsl(var(--gem-magenta))"},{icon:yk,name:"Pharmacy",type:"B.Pharm",field:"health",campuses:["Tal (Women)"],duration:"3.5 years",accreditation:"Degree granted by The Hebrew University of Jerusalem",blurb:"A professional pharmacy degree preparing you for Israel's healthcare and pharmaceutical sectors. Degree granted by The Hebrew University of Jerusalem.",highlights:["Pharmacology & medicinal chemistry","Clinical pharmacy practice","Hebrew University partnership"],careers:"Pharmacy, clinical practice, and pharmaceutical research across Israel's healthcare system.",image:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/f4c749022_machon-tal12of29_G5A0600.jpg",color:"hsl(var(--gem-magenta))"}];function LW(){const[t,e]=S.useState("all"),[n,r]=S.useState(null),s=t==="all"?WC:WC.filter(c=>c.field===t),o=c=>{var f;r(null),window.dispatchEvent(new CustomEvent("prefill-program",{detail:c.name})),(f=document.getElementById("inquiry"))==null||f.scrollIntoView({behavior:"smooth"})},l=c=>{r(null),window.dispatchEvent(new CustomEvent("open-tuition-estimator",{detail:c.name}))};return u.jsx("section",{id:"tracks",className:"py-16 sm:py-24 bg-secondary scroll-mt-24",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-10 max-w-2xl",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Find Your Path"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 leading-tight",children:"Explore degrees"}),u.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed mt-4",children:"Nine world-recognized degrees across tech, business, and health sciences — all rooted in Torah, in Jerusalem."})]}),u.jsx(oe,{className:"mb-8",children:u.jsxs("div",{className:"rounded-xl border-2 border-accent/30 bg-accent/5 p-5 flex items-start gap-4",children:[u.jsx("div",{className:"w-10 h-10 rounded-lg bg-accent flex items-center justify-center flex-shrink-0",children:u.jsx(Xp,{className:"w-5 h-5 text-accent-foreground"})}),u.jsxs("div",{children:[u.jsx("div",{className:"font-bold text-foreground font-display text-lg",children:"Pre-med courses available in every degree track"}),u.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed mt-1",children:["While not a degree track itself, pre-med coursework can be integrated into ",u.jsx("strong",{className:"text-foreground",children:"any"})," degree program at JCT — preparing you for medical school applications while earning your degree."]})]})]})}),u.jsx(oe,{className:"mb-8",children:u.jsx("div",{className:"flex flex-wrap gap-2",children:MW.map(c=>{const f=c.id===t;return u.jsx("button",{type:"button",onClick:()=>e(c.id),className:`px-4 py-2.5 rounded-full text-sm font-bold transition-all duration-300 cursor-pointer ${f?"bg-primary text-primary-foreground shadow-md":"bg-background text-muted-foreground hover:text-foreground border border-border"}`,children:c.label},c.id)})})}),u.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:u.jsx(An,{mode:"popLayout",children:s.map((c,f)=>{const h=c.icon;return u.jsxs(Ve.button,{layout:!0,initial:{opacity:0,scale:.95}
488,animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.35,delay:f*.04,ease:[.22,1,.36,1]},onClick:()=>r(c),className:"group text-left bg-background rounded-xl border border-border overflow-hidden hover:shadow-xl hover:shadow-primary/5 hover:border-accent/40 transition-all duration-300 hover:-translate-y-1 cursor-pointer flex flex-col",children:[u.jsxs("div",{className:"relative h-40 overflow-hidden",children:[u.jsx(Ho,{src:c.image,alt:c.name,className:"w-full h-full transition-transform duration-500 group-hover:scale-105",fittingType:"fill",focalPointX:.5,focalPointY:.35}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-primary/80 via-primary/20 to-transparent"}),u.jsx("div",{className:"absolute top-4 left-4 w-12 h-12 rounded-lg flex items-center justify-center",style:{backgroundColor:c.color},children:u.jsx(h,{className:"w-6 h-6 text-white"})}),u.jsx("div",{className:"absolute bottom-3 right-3 px-2.5 py-1 rounded-full bg-white/90 backdrop-blur-sm",children:u.jsx("span",{className:"font-mono text-[10px] font-bold uppercase tracking-wider text-primary",children:c.type})})]}),u.jsxs("div",{className:"p-5 flex-1 flex flex-col",children:[u.jsx("h3",{className:"text-lg font-bold text-foreground font-display leading-tight mb-2",children:c.name}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed mb-4 flex-1 line-clamp-2",children:c.blurb}),u.jsxs("div",{className:"flex items-center gap-4 pt-3 border-t border-border",children:[u.jsxs("span",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[u.jsx(t0,{className:"w-3.5 h-3.5 text-accent"})," ",c.duration]}),u.jsxs("span",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[u.jsx(vs,{className:"w-3.5 h-3.5 text-accent"})," ",c.campuses.join(" · ")]})]}),c.accreditation&&u.jsx("div",{className:"mt-2 text-[10px] font-mono uppercase tracking-wider text-accent font-bold",children:c.accreditation})]})]},c.name)})})}),u.jsx(An,{children:n&&u.jsx(Ve.div,{initial:{opacity:0}
488,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-primary/60 backdrop-blur-sm",onClick:()=>r(null),children:u.jsxs(Ve.div,{initial:{opacity:0,y:30,scale:.97},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.97},transition:{duration:.35,ease:[.22,1,.36,1]},className:"bg-background rounded-2xl max-w-2xl w-full max-h-[90vh] overflow-y-auto shadow-2xl",onClick:c=>c.stopPropagation(),children:[u.jsxs("div",{className:"relative h-48 sm:h-56",children:[u.jsx(Ho,{src:n.image,alt:n.name,className:"w-full h-full",fittingType:"fill",focalPointX:.5,focalPointY:.35}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-primary/90 via-primary/30 to-transparent"}),u.jsx("button",{type:"button",onClick:()=>r(null),className:"absolute top-4 right-4 w-9 h-9 rounded-full bg-white/90 flex items-center justify-center hover:bg-white transition-colors cursor-pointer",children:u.jsx(nl,{className:"w-5 h-5 text-primary"})}),u.jsxs("div",{className:"absolute bottom-5 left-5 right-5",children:[u.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[u.jsx("div",{className:"w-11 h-11 rounded-lg flex items-center justify-center flex-shrink-0",style:{backgroundColor:n.color},children:u.jsx(n.icon,{className:"w-6 h-6 text-white"})}),u.jsx("span",{className:"px-2.5 py-1 rounded-full bg-white/90 backdrop-blur-sm font-mono text-[10px] font-bold uppercase tracking-wider text-primary",children:n.type})]}),u.jsx("h3",{className:"text-2xl sm:text-3xl font-bold text-white font-display tracking-tight",children:n.name})]})]}),u.jsxs("div",{className:"p-6 sm:p-8",children:[u.jsxs("div",{className:"grid grid-cols-2 gap-3 mb-6",children:[u.jsxs("div",{className:"rounded-lg bg-secondary p-4",children:[u.jsxs("div",{className:"flex items-center gap-2 text-accent mb-1",children:[u.jsx(t0,{className:"w-4 h-4"}),u.jsx("span",{className:"font-mono text-[10px] uppercase tracking-wider text-muted-foreground",children:"Duration"})]}),u.jsx("div",{className:"font-bold text-foreground font-display",children:n.duration})]}),u.jsxs("div",{className:"rounded-lg bg-secondary p-4",children:[u.jsxs("div",{className:"flex items-center gap-2 text-accent mb-1",children:[u.jsx(vs,{className:"w-4 h-4"}),u.jsx("span",{className:"font-mono text-[10px] uppercase tracking-wider text-muted-foreground",children:"Campus"})]}),u.jsx("div",{className:"font-bold text-foreground font-display text-sm",children:n.campuses.join(" · ")})]})]}),u.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:n.blurb}),n.accreditation&&u.jsxs("div",{className:"rounded-lg bg-accent/10 border border-accent/20 p-3 mb-6 flex items-center gap-2",children:[u.jsx(md,{className:"w-4 h-4 text-accent flex-shrink-0"}),u.jsx("span",{className:"text-sm font-bold text-accent",children:n.accreditation})]}),u.jsxs("div",{className:"mb-6",children:[u.jsx("div",{className:"font-mono text-[10px] uppercase tracking-[0.16em] text-accent mb-3",children:"What you'll study"}),u.jsx("div",{className:"space-y-2",children:n.highlights.map(c=>u.jsxs("div",{className:"flex items-start gap-2.5",children:[u.jsx(pk,{className:"w-4 h-4 text-accent flex-shrink-0 mt-0.5"}),u.jsx("span",{className:"text-sm text-foreground",children:c})]},c))})]}),u.jsxs("div",{className:"rounded-lg bg-secondary p-4 mb-6",children:[u.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[u.jsx(md,{className:"w-4 h-4 text-accent"}),u.jsx("span",{className:"font-mono text-[10px] uppercase tracking-wider text-muted-foreground",children:"Where it takes you"})]}),u.jsx("p",{className:"text-sm text-foreground leading-relaxed",children:n.careers})]}),u.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[u.jsxs("button",{onClick:()=>o(n),className:"group flex-1 inline-flex items-center justify-center gap-2 bg-accent text-accent-foreground px-5 py-3.5 font-bold text-sm rounded-md cursor-pointer hover:shadow-lg hover:shadow-accent/30 transition-all duration-300",children:["Request info ",u.jsx(qt,{className:"w-4 h-4 transition-transform duration-300 group-hover:translate-x-1"})]}),u.jsx("button",{onClick:()=>l(n),className:"flex-1 inline-flex items-center justify-center gap-2 border border-border text-foreground px-5 py-3.5 font-bold text-sm rounded-md hover:border-accent hover:text-accent transition-all duration-300 cursor-pointer",children:"Estimate tuition"})]})]})]})})})]})})}const DW=[{name:"Matan Fichman",location:"Nechusha",role:"Data Scientist, NRICH",degrees:["BSc, Computer Science, 2019","MSc, Data Mining, 2022"],quote:"I'm so glad I chose to study at JCT; it gave me so much. I registered for extra courses and they developed my entrepreneurial business thinking beyond 'just' tech. I enjoyed 
488studying with my classmates and had a job in Israel Aerospace Industries before I even graduated."},{name:"Dovid Samuels",location:"Memphis, TN",role:"Software Engineer, Mobileye",degrees:["BSc, Software Engineering, 2020"],quote:"The main reason I chose JCT was the religious environment coupled by a recognized technology degree. There is not a single college that is on par with JCT on a religious level while still maintaining a competitive educational level."},{name:"Ari Gershon",location:"Beit Shemesh",role:"Technical Business Development Project Manager, Mobileye",degrees:["BSc, Computer Science, 2019","MSc, Data Mining, 2022"],quote:"I found great value in my education at JCT. The networking opportunities, especially with professors, was very special."},{name:"Dina Goldman Altura",location:"Jerusalem",role:"Founder and CEO, Business Boss",degrees:["BA, Business Administration, 2025"],quote:"JCT courses left an indelible impression on me and my degree shaped my career trajectory. I'm certain that my undergraduate education provided the essential foundation for everything I know and do today."},{name:"Miriam Greenwald",location:"Jerusalem",role:"Nurse Manager, HMO Clinic",degrees:["BSN, 2018"],quote:"The program was fascinating. Machon Tal's outstanding reputation is well-deserved. JCT maintains high standards while emphasizing professional ethics. The friendships I formed during my studies remain strong to this day. I couldn't be happier with my decision."},{name:"Adina Segel",location:"London, England",role:"",degrees:["BA, Business Administration, 2026"],quote:"I chose to study at Machon Tal so that I could learn in English, and immerse myself in a religious environment, whilst still earning a high level degree. I love it here."}];function IW(){return u.jsx("section",{className:"py-16 sm:py-24 bg-primary text-primary-foreground border-t border-gold/30",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-8 sm:mb-14 text-center",children:[u.jsx("span",{className:"text-gold font-mono text-sm uppercase tracking-[0.2em]",children:"Alumni Voices"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold font-display tracking-tight mt-2 leading-tight",children:"What our alumni have to say"}),u.jsx("p",{className:"font-mono text-sm sm:text-base uppercase tracking-[0.14em] text-primary-foreground/70 mt-5",children:"Mobileye · Intel · Check Point · IBM · Texas Instruments · Israel's defense industry"}),u.jsx("p",{className:"text-primary-foreground/80 text-base sm:text-lg mt-3 max-w-2xl mx-auto",children:"Alumni have won the Israel Defense Prize four times (2013, 2017, 2018 and 2024) and founded 100+ startups."})]}),u.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:DW.map((t,e)=>u.jsx(oe,{delay:e*.05,children:u.jsxs("figure",{className:"bg-primary-foreground/5 border border-primary-foreground/10 rounded-lg p-4 sm:p-7 h-full flex flex-col",children:[u.jsx(mO,{className:"w-6 h-6 sm:w-7 sm:h-7 text-gold mb-3 sm:mb-4 flex-shrink-0"}),u.jsx("blockquote",{className:"text-sm sm:text-base leading-relaxed text-primary-foreground/90 flex-1",children:t.quote}),u.jsxs("figcaption",{className:"mt-4 sm:mt-6 pt-4 sm:pt-5 border-t border-primary-foreground/10",children:[u.jsxs("div",{className:"font-bold font-display text-base",children:[t.name,t.location?`, ${t.location}`:""]}),t.role&&u.jsx("div",{className:"text-primary-foreground/60 text-sm mt-1",children:t.role}),u.jsx("div",{className:"font-mono text-[11px] uppercase tracking-wider text-gold/80 mt-2 space-y-0.5",children:t.degrees.map(n=>u.jsx("div",{children:n},n))})]})]})},t.name))})]})})}const FW=[{name:"JCT International Office · Israel",tag:"Main Office",blurb:"Applied skills have earned the College international recognition for excellence.",lines:[{icon:vs,label:"Lev Campus (Men)",value:"21 Havaad Haleumi, Givat Mordechai, Jerusalem"},{icon:vs,label:"Tal Campus (Women)",value:"7 Beit Hadfus, Givat Shaul, Jerusalem"},{icon:ki,value:"+972-2-675-1011"},{icon:$d,value:"WhatsApp: +972 54-3902681"},{icon:Ku,value:"www.jct.ac.il/international",href:"https://www.jct.ac.il/international"},{icon:xs,value:"[email protected]",href:"mailto:[email protected]"}]},{name:"USA Office · Friends of JCT (US)",lines:[{icon:vs,value:"445 Central Ave, Suite 307, Cedarhurst, NY 11516"},{icon:ki,value:"(212) 563-5620"},{icon:ki,label:"Fax",value:"(212) 563-5623"},{icon:xs,value:"[email protected]",href:"mailto:[email protected]"},{icon:Ku,value:"friendsofjct.org",href:"https://friendsofjct.org"}]},{name:"Canada Office · Canadian Friends of JCT",lines:[{icon:vs,value:"4600 Bathurst Street, 4th Floor, Toronto, ON M2R 3V2, Canada"},{icon:ki,value:"(416) 787-7565"},{icon:ki,label:"Fax",value:"(416) 787-8457"},{icon:xs,value:"[email protected]",href:"mailto:[email protected]"},{icon:Ku,value:"cfjct.org",href:"https://cfjct.org"}]},{name:"United Kingdom Office · JCT UK",lines:[{icon:vs,value:"Gallery House, 28 Arcadia Avenue, London N3 2TN"},{icon:ki,value:"(203) 889-5678"},{icon:ki,label:"Fax",value:"(208) 349-5110"},{icon:xs,value:"[email protected]",href:"mailto:[email protected]"}]}];function tR(){return u.jsx("section",{className:"py-16 sm:py-24 bg-background scroll-mt-24",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-8 sm:mb-14 max-w-2xl",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Contact"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 leading-tight",children:"International offices"}),u.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed mt-4",children:"Reach us in Israel, the United States, Canada, or the United Kingdom — we're here to help with every step."})]}),u.jsx("div",{className:"grid sm:grid-cols-2 gap-6",children:FW.map((t,e)=>u.jsx(oe,{delay:e*.06,children:u.jsxs("div",{className:"group h-full rounded-xl border border-border bg-card p-5 sm:p-7 relative overflow-hidden transition-all duration-300 hover:-translate-y-1 hover:shadow-xl hover:shadow-
488primary/5 hover:border-accent/40",children:[u.jsx("div",{className:"absolute top-0 left-0 h-1 w-16 gem-rule transition-all duration-300 group-hover:w-full"}),u.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[u.jsx("div",{className:"w-10 h-10 rounded-lg bg-accent/10 flex items-center justify-center text-accent",children:u.jsx(v4,{className:"w-5 h-5"})}),u.jsx("h3",{className:"font-display font-bold text-foreground text-lg leading-tight",children:t.name}),t.tag&&u.jsx("span",{className:"ml-auto text-[10px] font-mono uppercase tracking-[0.14em] bg-accent text-accent-foreground px-2 py-0.5 rounded-full",children:t.tag})]}),t.blurb&&u.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-5",children:t.blurb}),u.jsx("ul",{className:"space-y-3",children:t.lines.map((n,r)=>{const s=n.icon,o=u.jsxs("span",{className:"flex items-start gap-3",children:[u.jsx(s,{className:"w-4 h-4 text-accent flex-shrink-0 mt-0.5"}),u.jsxs("span",{className:"text-sm text-muted-foreground",children:[n.label&&u.jsxs("span",{className:"text-foreground font-medium mr-1",children:[n.label,":"]}),n.value]})]});return u.jsx("li",{children:n.href?u.jsx("a",{href:n.href,target:n.href.startsWith("http")?"_blank":void 0,rel:"noopener noreferrer",className:"hover:text-accent transition-colors block",children:o}):o},r)})})]})},t.name))})]})})}const BW=[{icon:Kp,label:"Tuition",value:"Personalized, estimate yours",estimator:!0},{icon:Oc,label:"Starts",value:"Rosh Chodesh Elul"},{icon:tl,label:"Campuses",value:"Lev (Men) · Tal (Women)"}],UW=[{title:"A degree recognized worldwide",text:"Accredited by Israel's Council for Higher Education, with credits accepted by institutions around the globe."},{title:"Built for English speakers",text:"No Hebrew required to begin. Dedicated support and an Ulpan transition you from English into Hebrew, unlocking more degree programs and career opportunities across Israel."},{title:"Torah and academics, together",text:"A serious beit midrash alongside a serious degree. Grow professionally and spiritually on one campus."},{title:"Tuition that makes sense",text:"Every student's costs differ, by degree, citizenship, housing and year. Use the 30-second estimator for your own number, still a fraction of comparable programs abroad."},{title:"Pre-med, built in",text:"Pre-med courses can be integrated into any degree track at JCT — not a degree itself, but a path to medical school while you earn your degree."}],zW=[{idx:"01",stat:"100%",title:"Nursing licensure",text:"Graduates of the Selma Jelinek Nursing School boast a 100% pass rate in the Registered Nurse State Licensure Exam — ",bold:"Israel's #1 nursing program.",icon:Xp},{idx:"02",stat:"94%",title:"Employment rate",text:"JCT graduates boast a 94% employment rate upon graduation. Nearly all JCT alumni are employed in their field within a year of graduation. Over 70% of those are employed within three months.",icon:Ac},{idx:"03",stat:"Defense Prize",title:"Alumni awards",text:"Alumni regularly win Israel's most prestigious defense awards, including the Israel Defense Prize in 2013, 2017, 2018 and 2024.",icon:Kp},{idx:"04",stat:"#1",title:"Women in STEM",text:"In women's empowerment for integrating women into computer science and engineering.",icon:Yp},{idx:"05",stat:"100+",title:"Start-ups",text:"Have been created by faculty and alumni.",icon:Jp},{idx:"06",stat:"#1",title:"Haredi integration",text:"In the country integrating Haredim into engineering and hi-tech.",icon:tl}],VW=[{campus:"Lev Campus · Men",lead:"Located at the heart of the Lev Campus for men is the large central Beit Midrash under the leadership of Rosh Yeshiva, Rabbi Yosef Ziv Rimon. Each morning, students in Machon Lev's International Program study a wide range of Torah topics with Rabbi Shalom Rosner, Rosh Beit Midrash of the International Program. They continue into academic classes after Mincha.",quote:"We are building a vibrant and warm makom Torah where students can strive and grow in both their Torah learning and academic studies. Our program will Be”H serve as a springboard for a life filled with Torah and avoda, coupled with dedication to our People and Eretz Yisrael.",name:"Rabbi Shalom Rosner",role:"Rosh Beit Midrash, JCT International Program",images:["https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/a64038c03_lightroomfullexport-2.jpg","https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/f942f5025_lightroomfullexport-91.jpg"],bottomFocalY:.5},{campus:"Tal Campus · Women · Midrasha L'Chaim",lead:"The Midrasha at the Tal Campus for women is led by a wide range of teachers and Rabbis, including Rabbi Rosner and Dr. Mimi Fuchs, each day. The hashkafa that Midrasha learning is Torah L'ishma guides our teachers and students. We believe that the proper development of a student takes place both inside the Midrasha and in the academic classroom.",quote:"Machon Tal offers a combination of ideals and experiences that is truly unparalleled for young women choosing to pursue academic excellence in a Torah-centered environment here in Eretz Yisrael. It is an incredible zechut to be part of this momentum and to support students on their unique journeys — pursuing their professional goals while crystallizing their commitments to Torah and the land of Israel.",name:"Dr. Mimi Fuchs",role:"Tal Mashgicha Ruchanit, JCT International Program",images:["https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/f7b482bb2_machon-tal11of29_G5A0597.jpg","https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/29c86655e_machon-tal1of29_G5A0563.jpg"]}];function HC(){return u.jsxs("div",{children:[u.jsx(TW,{}),u.jsx(PW,{}),u.jsx(RW,{}),u.jsx("section",{className:"bg-accent text-accent-foreground",children:u.jsx("div",{className:"max-w-7xl mx-auto px-4 py-6",children:u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 sm:gap-6",children:BW.map(t=>{const e=t.icon,n=u.jsxs(u.Fragment,{children:[u.jsx(e,{className:"w-5 h-5 flex-shrink-0 opacity-70"}),u.jsxs("div",{children:[u.jsx("div",{className:"text-xs opacity-60 font-mono uppercase tracking-wider",children:t.label}),u.jsx("div",{className:`text-sm font-bold ${t.estimator?"underline decoration-accent-foreground
488/40 underline-offset-2":""}`,children:t.value})]})]});return t.estimator?u.jsx("button",{type:"button",onClick:()=>window.dispatchEvent(new CustomEvent("open-tuition-estimator")),className:"flex items-center gap-3 justify-center sm:justify-start text-left cursor-pointer hover:opacity-80 transition-opacity",children:n},t.label):u.jsx("div",{className:"flex items-center gap-3 justify-center sm:justify-start",children:n},t.label)})})})}),u.jsx("section",{id:"why",className:"py-16 sm:py-24 bg-background scroll-mt-24",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs("div",{className:"grid lg:grid-cols-12 gap-12 items-center",children:[u.jsxs("div",{className:"lg:col-span-6",children:[u.jsxs(oe,{children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Why JCT"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 mb-6 leading-tight",children:"Serious academics. Serious Torah. One campus."}),u.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed max-w-xl",children:"Located in the heart of Jerusalem, JCT is the premier institute for developing Israel's future leaders — rooted in Torah and prepared to drive the high-tech, biomedical, nursing and business fields."})]}),u.jsx("div",{className:"space-y-6",children:UW.map((t,e)=>u.jsx(oe,{delay:.08+e*.07,children:u.jsxs("div",{className:"flex gap-4",children:[u.jsx(pk,{className:"w-6 h-6 text-accent flex-shrink-0 mt-0.5"}),u.jsxs("div",{children:[u.jsx("div",{className:"font-bold text-foreground font-display text-lg",children:t.title}),u.jsx("p",{className:"text-muted-foreground leading-relaxed",children:t.text})]})]})},t.title))})]}),u.jsx("div",{className:"lg:col-span-6",children:u.jsxs("div",{className:"space-y-6",children:[u.jsx(Rc,{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/1568dd3cc_machon-tal7of29_G5A0588.jpg",alt:"Two students relaxing between classes at JCT",className:"h-[300px] lg:h-[340px] rounded-lg shadow-lg",direction:"right"}),u.jsx(Rc,{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/6e935c7cf_machon-lev-photoshoot4of16_AS20013.jpg",alt:"A professor teaching students in a classroom at Campus Lev",className:"h-[180px] lg:h-[200px] rounded-lg shadow-lg",imgClassName:"!object-center",direction:"right",delay:.15})]})})]}),u.jsx("div",{className:"mt-12 sm:mt-20 pt-10 sm:pt-14 border-t border-border",children:u.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-4 sm:gap-5",children:zW.map((t,e)=>{const n=t.icon,r=isNaN(parseFloat(t.stat));return u.jsx(oe,{delay:e*.06,children:u.jsxs("div",{className:"group h-full rounded-xl border border-border bg-card p-5 sm:p-7 relative overflow-hidden transition-all duration-300 hover:-translate-y-1 hover:shadow-xl hover:shadow-primary/5 hover:border-accent/40",children:[u.jsx("div",{className:"absolute top-0 left-0 h-1 w-16 gem-rule transition-all duration-300 group-hover:w-full"}),u.jsxs("div",{className:"flex items-start justify-between mb-5",children:[u.jsx("div",{className:"w-11 h-11 rounded-lg bg-accent/10 flex items-center justify-center text-accent transition-colors duration-300 group-hover:bg-accent group-hover:text-accent-foreground",children:u.jsx(n,{className:"w-5 h-5"})}),u.jsx("span",{className:"text-ghost font-display text-3xl font-bold leading-none",children:t.idx})]}),u.jsx("div",{className:`font-display font-bold text-accent tracking-tight leading-none mb-3 ${r?"text-2xl sm:text-3xl":"text-4xl sm:text-5xl"}`,children:t.stat}),u.jsx("div",{className:"font-display font-bold text-foreground text-lg mb-2",children:t.title}),u.jsxs("p",{className:"text-muted-foreground text-sm leading-relaxed",children:[t.text,t.bold&&u.jsx("span",{className:"font-bold text-foreground",children:t.bold})]})]})},t.idx)})})})]})}),u.jsx("section",{id:"torah",className:"py-16 sm:py-24 bg-primary text-primary-foreground scroll-mt-24 grain relative",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4 relative z-10",children:[u.jsxs(oe,{className:"mb-14",children:[u.jsx("span",{className:"text-gold font-mono text-sm uppercase tracking-[0.2em]",children:"Torah at the Center"}),u.jsxs("h2",{className:"text-3xl sm:text-5xl font-bold font-display tracking-tight mt-2 max-w-3xl leading-tight",children:["Mornings in the Beit Midrash.",u.jsx("br",{}),"Afternoons in the lab."]}
488),u.jsx("p",{className:"text-primary-foreground/70 text-lg leading-relaxed max-w-3xl mt-5",children:"JCT prides itself on being a religious institution that combines academic excellence with passionate Torah learning and life."})]}),u.jsx("div",{className:"space-y-10",children:VW.map((t,e)=>u.jsx(oe,{delay:e*.1,children:u.jsxs("div",{className:"rounded-lg bg-primary-foreground/5 border border-primary-foreground/10 overflow-hidden flex flex-col md:flex-row",children:[u.jsx("div",{className:"md:w-1/2 p-3",children:u.jsxs("div",{className:"space-y-3",children:[u.jsx("div",{className:"h-[280px] sm:h-[330px] rounded-lg overflow-hidden",children:u.jsx(Ho,{src:t.images[0],alt:`${t.name}, ${t.campus}`,className:"w-full h-full",fittingType:"fill"})}),u.jsx("div",{className:"h-[200px] sm:h-[220px] rounded-lg overflow-hidden sm:w-[80%] sm:ml-auto",children:u.jsx(Ho,{src:t.images[1],alt:`${t.name}, ${t.campus}`,className:"w-full h-full",fittingType:"fill",focalPointX:.5,focalPointY:t.bottomFocalY??.2})})]})}),u.jsxs("div",{className:"p-8 md:p-10 flex-1 flex flex-col justify-center",children:[u.jsx("div",{className:"font-mono text-[11px] uppercase tracking-[0.15em] text-gold mb-4",children:t.campus}),u.jsx("p",{className:"text-primary-foreground/75 leading-relaxed",children:t.lead}),u.jsxs("blockquote",{className:"mt-6 pt-6 border-t border-primary-foreground/10",children:[u.jsxs("p",{className:"font-serif italic text-lg text-primary-foreground/90 leading-relaxed",children:["“",t.quote,"”"]}),u.jsxs("footer",{className:"mt-4",children:[u.jsx("div",{className:"font-display font-bold text-sm",children:t.name}),u.jsx("div",{className:"font-mono text-[10px] uppercase tracking-[0.12em] text-primary-foreground/50 mt-1",children:t.role})]})]})]})]})},t.campus))}),u.jsx(oe,{delay:.2,className:"mt-8",children:u.jsx("p",{className:"text-primary-foreground/50 text-lg leading-relaxed max-w-3xl",children:"Religious life on campus is rich. Students enjoy additional learning opportunities, Shabbatot featuring guest speakers, trips across the country, festive celebrations of Chagim and more. Our graduates go on to shape Israel's economy and defense — at Mobileye, Intel, Check Point, IBM, and Texas Instruments — winning the Israel Defense Prize four times (2013, 2017, 2018 and 2024) and founding 100+ startups."})})]})}),u.jsx(OW,{}),u.jsx("section",{className:"py-16 sm:py-24 bg-background scroll-mt-24",children:u.jsx("div",{className:"max-w-7xl mx-auto px-4",children:u.jsxs(oe,{className:"mb-10 max-w-2xl",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Our People"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 leading-tight",children:"Meet the staff"}),u.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed mt-4",children:"The rabbis, teachers, and advisors who guide International Program students in Torah and academics."}),u.jsxs(cn,{to:"/MeetTheStaff",className:"w-full sm:w-auto inline-flex items-center justify-center gap-2 mt-6 bg-primary text-primary-foreground px-6 py-3.5 font-bold text-sm rounded-md hover:bg-accent hover:text-accent-foreground transition-all duration-300",children:["Meet our team ",u.jsx(qt,{className:"w-4 h-4"})]})]})})}),u.jsx(LW,{}),u.jsx(IW,{}),u.jsx(ll,{title:"Start your journey in Jerusalem",subtitle:"Join students from around the world earning a world-recognized degree, starting in English and transitioning into Hebrew to unlock more degrees and careers, rooted in Torah, at JCT."}),u.jsx(O$,{}),u.jsx(tR,{})]})}const qC="https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/5f2d52ec1_www_jct_ac_il_---6_33a1f359.jpg",$W="https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/e7a4fee3a_www_jct_ac_il_campus1_4307e32a.jpg",WW=[{icon:fk,title:"Modern Academic Facilities",text:"New classrooms, laboratories, and learning spaces designed for 21st-century STEM education, equipped with the latest technology and infrastructure."},{icon:tl,title:"Expanded Student Capacity",text:"The project will significantly increase the number of women who can study engineering, computer science, and health sciences at JCT each year."}
488,{icon:yO,title:"Dormitories & Student Life",text:"New dormitory buildings and student life facilities to support the growing campus community and enhance the student experience."},{icon:Oc,title:"A Multi-Phase Vision",text:"The Tal Campus Project is being executed in phases, with each phase expanding the campus's capacity to serve more students and programs."}],HW=[{phase:"Phase 1",title:"Foundation & Infrastructure",text:"Site preparation, foundation work, and core infrastructure development for the expanded campus footprint."},{phase:"Phase 2",title:"Academic Buildings",text:"Construction of new academic buildings housing state-of-the-art classrooms, labs, and research facilities."},{phase:"Phase 3",title:"Student Life & Dormitories",text:"Building modern dormitories, student centers, and support facilities to house and serve the growing student body."},{phase:"Phase 4",title:"Completion & Opening",text:"Final construction, landscaping, and full campus opening — bringing the vision to life for hundreds of additional students."}];function qW(){return u.jsxs("div",{className:"pt-16",children:[u.jsx(zc,{title:"The Tal Campus Project",subtitle:"A landmark expansion of JCT's women's campus — building the future of women in STEM, one brick at a time.",image:qC}),u.jsx("section",{className:"py-28 bg-background",children:u.jsx("div",{className:"max-w-7xl mx-auto px-4",children:u.jsxs("div",{className:"grid lg:grid-cols-12 gap-12 items-center",children:[u.jsx("div",{className:"lg:col-span-5",children:u.jsx(Rc,{src:$W,alt:"JCT Campus",className:"h-[500px] rounded-lg shadow-lg",direction:"left"})}),u.jsxs("div",{className:"lg:col-span-7",children:[u.jsxs(oe,{children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Capital Development Project"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 mb-6 leading-tight",children:"Expanding opportunity for women in STEM"})]}),u.jsx(oe,{delay:.1,children:u.jsxs("div",{className:"space-y-5 text-muted-foreground leading-relaxed text-lg",children:[u.jsx("p",{children:"The Tal Campus Project is a major capital development initiative to expand JCT's women's campus in Jerusalem. Since its founding in 1990, Campus Tal has been Israel's premier institution for women in engineering and technology — but demand far exceeds capacity."}),u.jsx("p",{children:"This project will dramatically expand the campus with new academic buildings, laboratories, dormitories, and student life facilities, allowing JCT to serve significantly more women in computer science, engineering, nursing, and the life sciences."}),u.jsx("p",{children:"The expansion represents one of the most significant investments in women's STEM education in Israel's history, and directly supports JCT's mission of empowering women to become leaders in Israel's hi-tech and healthcare sectors."})]})}),u.jsx(oe,{delay:.2,children:u.jsxs("div",{className:"flex flex-wrap gap-3 mt-8",children:[u.jsxs("span",{className:"flex items-center gap-2 bg-secondary px-4 py-2 rounded-lg text-sm border border-primary/10",children:[u.jsx(vs,{className:"w-4 h-4 text-accent"})," Jerusalem"]}),u.jsxs("span",{className:"flex items-center gap-2 bg-secondary px-4 py-2 rounded-lg text-sm border border-primary/10",children:[u.jsx(tl,{className:"w-4 h-4 text-accent"})," Women's Campus"]}),u.jsxs("span",{className:"flex items-center gap-2 bg-secondary px-4 py-2 rounded-lg text-sm border border-primary/10",children:[u.jsx(fk,{className:"w-4 h-4 text-accent"})," Multi-Phase Project"]})]})})]})]})})}),u.jsx("section",{className:"py-28 bg-secondary",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-16",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"What's Being Built"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 max-w-2xl leading-tight",children:"A campus designed for the future"})]}),u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:WW.map((t,e)=>{const n=t.icon;return u.jsx(Za,{direction:e%2===0?"left":"right",delay:e%2*.1,duration:.8,children:u.jsxs("div",{className:"group bg-background rounded-lg p-8 border border-primary/10 hover:border-accent hover:shadow-lg transition-all duration-300 h-full flex gap-5",children:[u.jsx("div",{className:"flex-shrink-0",children:u.jsx("div",{className:"w-14 h-14 roun
488ded-lg bg-primary flex items-center justify-center group-hover:bg-accent transition-colors duration-300",children:u.jsx(n,{className:"w-7 h-7 text-primary-foreground group-hover:text-accent-foreground transition-colors"})})}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-lg font-bold text-foreground font-display mb-2",children:t.title}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:t.text})]})]})},e)})})]})}),u.jsx("section",{className:"py-28 bg-background",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-16",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Project Phases"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 max-w-2xl leading-tight",children:"Building in stages, delivering on vision"})]}),u.jsx("div",{className:"space-y-4",children:HW.map((t,e)=>u.jsx(Za,{direction:"left",duration:.8,children:u.jsxs("div",{className:"group flex items-start gap-6 bg-secondary rounded-lg p-8 border border-primary/10 hover:border-accent transition-all duration-300",children:[u.jsx("span",{className:"text-3xl font-bold text-accent/30 font-mono tracking-tight w-20 flex-shrink-0",children:t.phase}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-lg font-bold text-foreground font-display mb-2 group-hover:text-accent transition-colors",children:t.title}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:t.text})]})]})},e))})]})}),u.jsxs("section",{className:"py-28 bg-primary text-primary-foreground relative overflow-hidden border-t border-gold/30",children:[u.jsx("div",{className:"absolute inset-0 bg-cover bg-center opacity-10",style:{backgroundImage:`url('${qC}')`}}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary via-primary/90 to-primary/70"}),u.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-4 text-center",children:[u.jsxs(oe,{children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Support the Project"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold font-display tracking-tight mt-2 mb-4 leading-tight",children:"Build the future of women in STEM"}),u.jsx("p",{className:"text-primary-foreground/60 text-lg leading-relaxed max-w-xl mx-auto mb-8",children:"The Tal Campus Project is made possible through the generosity of donors who believe in empowering women through higher education. Your support can help build classrooms, labs, and dormitories that will serve generations of women in STEM."})]}),u.jsx(oe,{delay:.15,children:u.jsxs(cn,{to:"/Friends",className:"inline-flex items-center gap-2 bg-accent text-accent-foreground px-8 py-4 font-bold text-base hover:shadow-lg hover:shadow-accent/30 transition-all duration-300 rounded-md",children:["Support This Project ",u.jsx(qt,{className:"w-5 h-5"})]})})]})]}),u.jsx(ll,{title:"Be part of something historic",subtitle:"The Tal Campus Project is shaping the future of women's STEM education in Israel."})]})}const GW="https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/5bc832e86_www_jct_ac_il_preisdent-herzog-standing-in-bm_71664b01.jpg",YW="https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/e77848b17_www_jct_ac_il_beit-midrash_6861eade.jpg",KW="https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/5a9c2e9a1_www_jct_ac_il_preisdent-herzog-learning-with-students_335546de.jpg",JW=[{eyebrow:"Leadership",title:"President & Senior Administration",text:"JCT is led by a President and a senior administration team responsible for the institution's academic vision, strategic direction, and day-to-day operations across all three campuses."},{eyebrow:"Governance",title:"Board of Trustees & Executive Committee",text:"The Board of Trustees provides institutional governance and oversight, setting policy and ensuring JCT fulfills its mission of combining academic excellence with Torah values."},{eyebrow:"Academic",title:"Deans & Faculty Leadership",text:"Each faculty is led by a Dean and academic leadership team who oversee curriculum, research, and academic standards across engineering, sciences, business, and graduate studies."},{eyebrow:"Operations",title:"Administration & Support Departments",text:"Dedicated departments for student services, admissions, finance, development, and facilities ensure the smooth operation of JCT's campuses and programs."}],XW=[{icon:md,title:"Academic Affairs",text:"Overseeing curriculum, faculty appointments, research initiatives, and academic standards across all faculties and campuses."},{icon:tl,title:"Student Affairs",text:"Managing admissions, student services, dormitories, counseling, and the full student experience at JCT."},{icon:Ac,title:"Finance & Operations",text:"Managing the institution's financial health, facilities, IT infrastru
488cture, and operational excellence across all campuses."},{icon:mk,title:"Development & External Relations",text:"Building relationships with donors, alumni, and community partners to support JCT's mission and growth."},{icon:Pv,title:"Institutional Compliance",text:"Ensuring adherence to the standards of the Council for Higher Education in Israel and maintaining institutional accreditation."},{icon:Kp,title:"Quality & Accreditation",text:"Maintaining the academic quality and accreditation standards that make JCT degrees recognized worldwide."}];function QW(){return u.jsxs("div",{className:"pt-16",children:[u.jsx(zc,{title:"JCT Administration",subtitle:"The leadership and governance structure that guides JCT's mission of combining academic excellence with Torah values.",image:GW}),u.jsx("section",{className:"py-28 bg-background",children:u.jsx("div",{className:"max-w-7xl mx-auto px-4",children:u.jsxs("div",{className:"grid lg:grid-cols-12 gap-12 items-center",children:[u.jsx("div",{className:"lg:col-span-5",children:u.jsx(Rc,{src:YW,alt:"JCT Leadership",className:"h-[500px] rounded-2xl shadow-xl",direction:"left"})}),u.jsxs("div",{className:"lg:col-span-7",children:[u.jsxs(oe,{children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Leadership & Governance"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 mb-6 leading-tight",children:"Guided by vision, grounded in values"})]}),u.jsx(oe,{delay:.1,children:u.jsxs("div",{className:"space-y-5 text-muted-foreground leading-relaxed text-lg",children:[u.jsx("p",{children:"Jerusalem College of Technology is led by a dedicated team of administrators, academics, and professionals who guide the institution's mission of producing highly skilled professionals with a strong commitment to Jewish values."}),u.jsx("p",{children:"Our leadership structure includes a President, senior administration, Board of Trustees, faculty deans, and department heads — all working together to ensure JCT remains at the forefront of Torah-oriented higher education in Israel."}),u.jsx("p",{children:"From academic affairs to student services, finance to development, each area of administration plays a vital role in supporting our students and advancing JCT's mission."})]})})]})]})})}),u.jsx(o1,{image:KW,imageAlt:"JCT Administration",callouts:JW,bg:"bg-secondary"}),u.jsx("section",{className:"py-28 bg-background",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-16",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Administrative Areas"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 max-w-2xl leading-tight",children:"How JCT is organized"})]}),u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:XW.map((t,e)=>{const n=t.icon;return u.jsx(Za,{direction:e%2===0?"left":"right",delay:e%3*.08,duration:.8,children:u.jsxs("div",{className:"group bg-secondary rounded-lg p-8 border border-primary/10 hover:border-accent hover:shadow-lg transition-all duration-300 h-full",children:[u.jsx("div",{className:"w-14 h-14 rounded-lg bg-primary flex items-center justify-center mb-5 group-hover:bg-accent transition-colors duration-300",children:u.jsx(n,{className:"w-7 h-7 text-primary-foreground group-hover:text-accent-foreground transition-colors"})}),u.jsx("h3",{className:"text-lg font-bold text-foreground font-display mb-3",children:t.title}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:t.text})]})},e)})})]})}),u.jsx(ll,{title:"Working together for JCT's future",subtitle:"Our administration is dedicated to supporting every student's journey through academic excellence and Torah values."})]})}const ZW="https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/72b0db86f_www_jct_ac_il_haredi_eb75ddb1.jpg",eH="https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/5a9c2e9a1_www_jct_ac_il_preisdent-herzog-learning-with-students_335546de.jpg",tH="https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/06a5ed1a7_www_jct_ac_il_cc3u7514_3cc65798.jpg",nH=[{eyebrow:"Haredi Integration",title:"Bridging communities into the workforce",text:"JCT is Israel's #1 institution for integrating the Haredi community into higher education and the hi-tech workforce, transforming lives and the Israeli economy."},{eyebrow:"Women in STEM",title:"Pioneering women's engineering education",text:"Through Campus Tal and Campus Lustig, JCT empowers women — including Haredi women — to become leaders in engineering, computer science, and healthcare."},{eyebrow:"Scholarships",title:"Making education accessible",text:"JCT provides scholarships and financial aid to ensure that no qualified student is turned away due to financial circumstances, supporting students from all backgrounds."},{eyebrow:"Community Partnerships",title:"Working with Israel's hi-tech ecosystem",text:"JCT partners with companies, government agencies, and nonprofits to create opportunities for students and give back to the broader community."}],rH=[{icon:tl,title:"Haredi Workforce Integration",text:"JCT has pioneered academic frameworks that respect Haredi values while providing professional training, placing thousands of graduates into Israel's hi-tech, accounting, and business sectors."},{icon:md,title:"Women in STEM Leadership",text:"Through Campus Tal (est. 1990) and Campus Lustig, JCT has been at the forefront of advancing women in engineering, computer science, and health sciences for over three decades."},{icon:mk,title:"Scholarship & Financial Aid",text:"Generous scholarship programs ensure that students from all socio-economic backgrounds can access JCT's world-class education, with need-based and merit-based support available."},{icon:K4,title:"LevTech Community Programs",text:"The Schreiber LevTech Center extends beyond the campus, engaging the broader community through hackathons, mentoring, and entrepreneurship programs open to the public."},{icon:dk,title:"Torah & Community",text:"JCT's Beit Midrash programs and Torah study initiatives enrich not only our students but the broader Jerusalem community, fostering a living connection between Torah and modern life."},{icon:Ku,title:"International Outreach",text:"The International Program brings students from around the world to Jerusalem, building bridges between Jewish communities globally and strengthening Israel's academic landscape."}];function sH(){return u.jsxs("div",{className:"pt-16",children:[u.jsx(zc,{title:"Community Engagement",subtitle:"JCT's commitment extends beyond the classroom — to social impact, workforce integration, and building a stronger Israel for all its communities.",image:ZW}),u.jsx("section",{className:"py-28 bg-background",children:u.jsx("div",{className:"max-w-7xl mx-auto px-4",children:u.jsxs("div",{className:"grid lg:grid-cols-12 gap-12 items-center",children:[u.jsx("div",{className:"lg:col-span-5",children:u.jsx(Rc,{src:eH,alt:"JCT Community",className:"h-[500px] rounded-2xl shadow-xl",direction:"left"})}),u.jsxs("div",{className:"lg:col-span-7",children:[u.jsxs(oe,{children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Social Impact"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 mb-6 leading-tight",children:"Strengthening Israeli society"})]}),u.jsx(oe,{delay:.1,children:u.jsxs("div",{className:"space-y-5 text-muted-foreground leading-relaxed text-lg",children:[u.jsx("p",{children:"At the heart of JCT's mission is a deep commitment to social impact. We believe that higher education should not only serve the individual student but also strengthen the broader community and the State of Israel."}
488),u.jsx("p",{children:"JCT is a national leader in integrating underrepresented communities into higher education and the workforce — particularly the Haredi community and women in STEM. Our programs have transformed thousands of lives and contributed significantly to Israel's economy."}),u.jsx("p",{children:"Through scholarships, community partnerships, outreach programs, and a Torah-oriented approach to social responsibility, JCT works to ensure that the benefits of education reach every segment of Israeli society."})]})})]})]})})}),u.jsx(o1,{image:tH,imageAlt:"JCT Community Engagement",callouts:nH,bg:"bg-secondary",imageSide:"right"}),u.jsx("section",{className:"py-28 bg-background",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-16",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Our Initiatives"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 max-w-2xl leading-tight",children:"How we give back"})]}),u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:rH.map((t,e)=>{const n=t.icon;return u.jsx(Za,{direction:e%2===0?"left":"right",delay:e%3*.08,duration:.8,children:u.jsxs("div",{className:"group bg-secondary rounded-lg p-8 border border-primary/10 hover:border-accent hover:shadow-lg transition-all duration-300 h-full",children:[u.jsx("div",{className:"w-14 h-14 rounded-lg bg-primary flex items-center justify-center mb-5 group-hover:bg-accent transition-colors duration-300",children:u.jsx(n,{className:"w-7 h-7 text-primary-foreground group-hover:text-accent-foreground transition-colors"})}),u.jsx("h3",{className:"text-lg font-bold text-foreground font-display mb-3",children:t.title}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:t.text})]})},e)})})]})}),u.jsx("section",{className:"py-28 bg-primary text-primary-foreground relative overflow-hidden border-t border-gold/30",children:u.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-4 text-center",children:[u.jsxs(oe,{children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Get Involved"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold font-display tracking-tight mt-2 mb-4 leading-tight",children:"Partner with JCT"}),u.jsx("p",{className:"text-primary-foreground/60 text-lg leading-relaxed max-w-xl mx-auto mb-8",children:"Whether you're interested in scholarships, community partnerships, or supporting JCT's social mission, we'd love to hear from you."})]}),u.jsx(oe,{delay:.15,children:u.jsxs(cn,{to:"/Friends",className:"inline-flex items-center gap-2 bg-accent text-accent-foreground px-8 py-4 font-bold text-base hover:shadow-2xl hover:shadow-accent/30 transition-all duration-300 rounded-xl",children:["Learn How to Support ",u.jsx(qt,{className:"w-5 h-5"})]})})]})}),u.jsx(ll,{title:"Building a stronger Israel together",subtitle:"JCT's community engagement initiatives are made possible through partnerships and the generosity of supporters."})]})}const iH="https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/e7a4fee3a_www_jct_ac_il_campus1_4307e32a.jpg",oH=[{icon:C4,title:"Annual Financial Reports",text:"Comprehensive financial statements detailing JCT's fiscal position, revenue, expenses, and investments in academic programs and campus infrastructure."},{icon:Pv,title:"Audited Financial Statements",text:"Independently audited financial statements prepared in accordance with recognized accounting standards, ensuring transparency and accountability."},{icon:Nv,title:"Governance & Compliance Documents",text:"Institutional governance documents, compliance reports, and accreditation materials submitted to the Council for Higher Education in Israel."}],aH=["JCT is committed to financial transparency and accountability to our students, donors, and the public.","Our financial statements are independently audited and prepared in accordance with recognized accounting standards.","As an institution recognized by the C
488ouncil for Higher Education in Israel, JCT maintains rigorous financial governance and reporting standards.","Tuition and fee structures are published transparently, and financial aid information is available to all prospective and current students.","JCT's development and fundraising activities are conducted with full transparency, with detailed reports available to donors and supporters."];function lH(){return u.jsxs("div",{className:"pt-16",children:[u.jsx(zc,{title:"Financial Statements",subtitle:"JCT is committed to transparency and accountability in all financial matters. Our reports and statements are available for review.",image:iH}),u.jsx("section",{className:"py-28 bg-background",children:u.jsxs("div",{className:"max-w-4xl mx-auto px-4",children:[u.jsxs(oe,{children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Transparency & Accountability"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 mb-6 leading-tight",children:"Our commitment to financial integrity"})]}),u.jsx(oe,{delay:.1,children:u.jsxs("div",{className:"space-y-5 text-muted-foreground leading-relaxed text-lg",children:[u.jsx("p",{children:"Jerusalem College of Technology is committed to the highest standards of financial transparency and accountability. As an institution recognized by the Council for Higher Education in Israel, we maintain rigorous financial governance and reporting practices."}),u.jsx("p",{children:"Our financial statements are independently audited and available for review by students, donors, accrediting bodies, and the public. We believe that transparency builds trust and supports our mission of academic excellence combined with Torah values."})]})})]})}),u.jsx("section",{className:"py-28 bg-secondary",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsxs(oe,{className:"mb-16",children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Available Reports"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold text-foreground font-display tracking-tight mt-2 max-w-2xl leading-tight",children:"Financial documentation"})]}),u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6",children:oH.map((t,e)=>{const n=t.icon;return u.jsx(Za,{direction:e%2===0?"left":"right",delay:e*.1,duration:.8,children:u.jsxs("div",{className:"group bg-background rounded-lg p-8 border border-primary/10 hover:border-accent hover:shadow-lg transition-all duration-300 h-full",children:[u.jsx("div",{className:"w-14 h-14 rounded-lg bg-primary flex items-center justify-center mb-5 group-hover:bg-accent transition-colors duration-300",children:u.jsx(n,{className:"w-7 h-7 text-primary-foreground group-hover:text-accent-foreground transition-colors"})}),u.jsx("h3",{className:"text-lg font-bold text-foreground font-display mb-3",children:t.title}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed mb-4",children:t.text}),u.jsxs("span",{className:"inline-flex items-center gap-2 text-sm font-bold text-accent group-hover:gap-3 transition-all",children:["Request Access ",u.jsx(qt,{className:"w-4 h-4"})]})]})},e)})})]})}),u.jsx("section",{className:"py-28 bg-background",children:u.jsxs("div",{className:"max-w-4xl mx-auto px-4",children:[u.jsx(oe,{children:u.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[u.jsx("div",{className:"w-12 h-12 rounded-xl bg-accent/10 flex items-center justify-center",children:u.jsx(Z4,{className:"w-6 h-6 text-accent"})}),u.jsxs("div",{children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Our Standards"}),u.jsx("h2",{className:"text-2xl sm:text-3xl font-bold text-foreground font-display tracking-tight",children:"Financial governance commitments"})]})]})}),u.jsx("div",{className:"space-y-3",children:aH.map((t,e)=>u.jsx(oe,{delay:e*.05,children:u.jsxs("div",{className:"flex items-start gap-3 bg-secondary rounded-xl p-5 border border-border",children:[u.jsx(Pv,{className:"w-5 h-5 text-accent flex-shrink-0 mt-0.5"}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:t})]})},e))})]})}),u.jsx("section",{className:"py-28 bg-primary text-primary-foreground relative overflow-hidden border-t border-gold/30",children:u.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-4 text-center",children:[u.jsxs(oe,{children:[u.jsx("span",{className:"text-accent font-mono text-sm uppercase tracking-[0.2em]",children:"Request Documents"}),u.jsx("h2",{className:"text-3xl sm:text-5xl font-bold font-display tracking-tight mt-2 mb-4 leading-tight",children:"Need financial documentation?"}
488),u.jsx("p",{className:"text-primary-foreground/60 text-lg leading-relaxed max-w-xl mx-auto mb-8",children:"For access to detailed financial statements, audit reports, or institutional documentation, please contact our Department for Development & External Affairs."})]}),u.jsx(oe,{delay:.15,children:u.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 bg-accent text-accent-foreground px-8 py-4 font-bold text-base hover:shadow-lg hover:shadow-accent/30 transition-all duration-300 rounded-md",children:[u.jsx(Nv,{className:"w-5 h-5"})," [email protected]"]})})]})}),u.jsx(ll,{title:"Invest in JCT's mission",subtitle:"Your support helps us continue providing world-class education rooted in Torah values."})]})}const cH=()=>u.jsx("img",{src:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/18f921297_logojct1.png",alt:"","aria-hidden":"true",className:"h-9 w-9 sm:h-11 sm:w-11 object-contain"});function nR({transparent:t=!1,className:e=""}){const n=t?"text-primary-foreground lg:text-foreground":"text-foreground",r=t?"text-primary-foreground/60 lg:text-muted-foreground":"text-muted-foreground";return u.jsxs("span",{className:`inline-flex items-center gap-2 ${e}`,children:[u.jsx(cH,{}),u.jsxs("span",{className:"hidden sm:flex flex-col leading-[1.05]",children:[u.jsx("span",{className:`font-serif text-[12px] sm:text-[13px] tracking-[0.14em] uppercase ${n}`,children:"Jerusalem"}),u.jsx("span",{className:`font-serif text-[12px] sm:text-[13px] tracking-[0.14em] uppercase ${n}`,children:"College of"}),u.jsx("span",{className:`font-serif text-[12px] sm:text-[13px] tracking-[0.14em] uppercase ${r}`,children:"Technology"})]})]})}const GC="https://registration.jct.ac.il/en/start/identify?redirect=%2Fregistration-status",uH=[{name:"Contact Us",href:"mailto:[email protected]",external:!0,mail:!0},{name:"Virtual Tour",href:"https://vt.panovision.co.il/machon_lev/mercaz_academy_lev.html",external:!0}],YC=[{name:"Why JCT",anchor:"#why"},{name:"Programs",anchor:"#tracks"},{name:"Student Life",anchor:"#life"},{name:"Meet the Staff",to:"/MeetTheStaff"},{name:"Request Info",anchor:"#inquiry"}];function dH(){const[t,e]=S.useState(!1),[n,r]=S.useState(!1),s=Ui(),o=s.pathname==="/";S.useEffect(()=>{const g=()=>e(window.scrollY>30);return window.addEventListener("scroll",g),()=>window.removeEventListener("scroll",g)},[]),S.useEffect(()=>{r(!1)},[s.pathname]);const l=S.useRef(null);Ss(()=>{const g=l.current;!g||zi()||Wt.from(g,{height:0,opacity:0,duration:.3,ease:"power2.out"})},{dependencies:[n],scope:l});const c=!t&&!n,f=c?"text-primary-foreground lg:text-foreground":"text-foreground",h=c?"text-primary-foreground/60 lg:text-muted-foreground":"text-muted-foreground",p=c?"bg-secondary/60":"bg-secondary/80";return u.jsxs("header",{style:{paddingTop:"env(safe-area-inset-top)"},className:`fixed top-0 left-0 w-full z-50 transition-all duration-500 ${t||n?"bg-background shadow-lg":"bg-transparent lg:bg-background/80 lg:backdrop-blur-md"}`,children:[u.jsx("div",{className:`hidden lg:block border-b transition-all duration-300 ${c?"border-primary-foreground/10":"border-border/50"} ${p}`,children:u.jsx("div",{className:"max-w-7xl mx-auto px-4",children:u.jsxs("div",{className:"flex items-center justify-between h-9",children:[u.jsx("div",{className:"flex items-center gap-5 text-xs",children:uH.map((g,v)=>u.jsxs("a",{href:g.href,target:"_blank",rel:"noopener noreferrer",className:`flex items-center gap-1.5 ${h} hover:text-accent transition-colors`,children:[v===0&&u.jsx(xs,{className:"w-3 h-3"}),v===1&&u.jsx(Ku,{className:"w-3 h-3"}),g.name]},v))}),u.jsx("div",{className:`text-xs ${h}`,children:"21 Havaad Haleumi, Jerusalem · 02-6751011"})]})})}),u.jsx("div",{className:"max-w-7xl mx-auto px-4",children:u.jsxs("div",{className:`flex items-center justify-between transition-all duration-300 ${t?"h-16":"h-20"}`,children:[u.jsx(cn,{to:"/",className:"flex-shrink-0",children:u.jsx(nR,{transparent:c})}),u.jsx("nav",{className:"hidden lg:flex items-center gap-0.5",children:YC.map(g=>u.jsx(cn,{to:g.to||(o?g.anchor:`/${g.anchor}`),className:`text-sm font-medium px-3 py-2 rounded-lg transition-colors cursor-pointer ${f} hover:text-accent whitespace-nowrap`,children:g.name},g.name))}),u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsxs("a",{href:GC,target:"_blank",rel:"noopener noreferrer",className:"hidden sm:inline-flex items-center gap-2 bg-accent text-accent-foreground px-5 py-2.5 rounded-md font-bold text-sm hover:shadow-lg hover:shadow-accent/30 transition-all duration-300",children:["Apply Now ",u.jsx(qt,{className:"w-4 h-4"})]}),u.jsx("button",{className:"lg:hidden p-2",onClick:()=>r(!n),"aria-label":"Toggle Menu",children:n?u.jsx(nl,{className:"w-6 h-6 text-foreground"}):u.jsx(lO,{className:`w-6 h-6 ${c?"text-primary-foreground lg:text-foreground":"text-foreground"}`})})]})]})}),n&&u.jsx("div",{ref:l,className:"lg:hidden overflow-hidden bg-background border-t border-border",children:u.jsxs("div",{className:"px-4 py-4 space-y-1 max-h-[calc(100vh-4rem)] overflow-y-auto",children:[YC.map(g=>u.jsx(cn,{to:g.to||(o?g.anchor:`/${g.anchor}`),className:"block text-foreground font-semibold text-base py-3",onClick:()=>r(!1),children:g.name},g.name)),u.jsxs("div",{className:"flex gap-3 mt-4",children:[u.jsx("a",{href:"https://vt.panovision.co.il/machon_lev/mercaz_academy_lev.html",target:"_blank",rel:"noopener noreferrer",className:"flex-1 flex items-center justify-center gap-2 border border-border text-foreground px-5 py-3 rounded-md font-bold text-sm",children:"Virtual Tour"}),u.jsxs("a",{href:GC,target:"_blank",rel:"noopener noreferrer",className:"flex-1 flex items-center justify-center gap-2 bg-accent text-accent-foreground px-5 py-3 rounded-md font-bold text-sm",children:["Apply Now ",u.jsx(qt,{className:"w-4 h-4"})]})]})]})})]})}const fH=`https://wa.me/972543902681?text=${encodeURIComponent("Hi, I'd like to inquire about the JCT International Program.")}`;function hH(){const t=[{title:"Academics",links:[{label:"Engineering & Computer Science",to:"/AcademicPrograms#eng"},{label:"Life & Health Sciences",to:"/AcademicPrograms#life"},{label:"Business Management",to:"/AcademicPrograms#biz"},{label:"Graduate Studies",to:"/AcademicPrograms#grad"}]},{title:"Campuses",links:[{label:"Campus Lev",to:"/CampusLev"},{label:"Campus Tal",to:"/CampusTal"}]},{title:"Discover",links:[{label:"Contact",to:"/Contact"}]}];return u.jsxs("footer",{className:"bg-primary text-primary-foreground",children:[u.jsx("div",{className:"gem-rule h-0.5"}),u.jsxs("div",{className:"max-w-7xl mx-auto px-4 pt-16 pb-8",children:[u.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-8 mb-12",children:[u.jsxs("div",{className:"col-span-2 lg:col-span-1",children:[u.jsx(cn,{to:"/",className:"block mb-4",children:u.jsx(nR,{})}
488),u.jsx("p",{className:"text-sm text-primary-foreground/60 leading-relaxed mb-4 max-w-xs",children:"Founded in 1969, JCT combines rigorous academic excellence with Torah values, shaping Israel's future leaders."}),u.jsxs("a",{href:"https://registration.jct.ac.il/en/start/identify?redirect=%2Fregistration-status",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm font-bold text-accent hover:gap-3 transition-all",children:["Apply Now ",u.jsx(qt,{className:"w-4 h-4"})]})]}),t.map((e,n)=>u.jsxs("div",{children:[u.jsx("h4",{className:"font-mono font-bold text-sm uppercase tracking-wider mb-4 text-accent",children:e.title}),u.jsx("ul",{className:"space-y-2.5",children:e.links.map((r,s)=>u.jsx("li",{children:u.jsx(cn,{to:r.to,className:"text-sm text-primary-foreground/60 hover:text-primary-foreground transition-colors",children:r.label})},s))})]},n))]}),u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6 py-8 border-t border-primary-foreground/10",children:[u.jsx("div",{children:u.jsxs("div",{className:"flex items-start gap-2 text-sm",children:[u.jsx(vs,{className:"w-4 h-4 text-accent flex-shrink-0 mt-0.5"}),u.jsxs("div",{className:"text-primary-foreground/60",children:["Havaad Haleumi 21",u.jsx("br",{}),"Givat Mordechai 91160",u.jsx("br",{}),"Jerusalem"]})]})}),u.jsx("div",{className:"space-y-2",children:u.jsxs("div",{className:"flex items-center gap-2 text-sm text-primary-foreground/60",children:[u.jsx(ki,{className:"w-4 h-4 text-accent flex-shrink-0"}),u.jsx("div",{children:u.jsx("div",{children:"English Program: 02-6751011"})})]})}),u.jsx("div",{className:"space-y-2",children:u.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-2 text-sm text-primary-foreground/60 hover:text-accent transition-colors",children:[u.jsx(xs,{className:"w-4 h-4 text-accent flex-shrink-0"})," [email protected]"]})})]}),u.jsxs("div",{className:"flex flex-col sm:flex-row justify-between items-center gap-4 pt-8 border-t border-primary-foreground/10",children:[u.jsx("p",{className:"text-xs text-primary-foreground/40 text-center sm:text-left",children:"© All rights reserved to Jerusalem College of Technology, Lev Academic Center"}),u.jsxs("div",{className:"flex items-center gap-3",children:[u.jsxs("a",{href:fH,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 bg-[#25D366] text-white px-4 py-2 rounded-md text-sm font-bold hover:shadow-lg hover:shadow-[#25D366]/30 transition-all duration-300",children:[u.jsx($d,{className:"w-4 h-4"}),"WhatsApp"]}),u.jsx("a",{href:"https://www.instagram.com/jctinternational",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",className:"w-8 h-8 rounded-full border border-primary-foreground/15 hover:bg-accent hover:text-accent-foreground hover:border-accent flex items-center justify-center transition-colors",children:u.jsx(gk,{className:"w-4 h-4"})})]})]})]})]})}function pH(){const{pathname:t}=Ui(),e=t==="/"||t==="/InternationalProgram";return u.jsxs("div",{className:`min-h-screen flex flex-col ${e?"bg-[#0b1e3d]":"bg-background"}`,children:[u.jsx(dH,{}),u.jsx("main",{className:"flex-1",children:u.jsx(J3,{})}),u.jsx(hH,{})]})}const mH=t=>{const e=t.slice(1);try{return decodeURIComponent(e)}catch{return e}};function gH(){const{pathname:t,hash:e}=Ui(),n=A3();return S.useEffect(()=>{if(n!=="POP"){if(e){const r=mH(e),s=window.setTimeout(()=>{var o;(o=document.getElementById(r))==null||o.scrollIntoView({behavior:"smooth"})},50);return()=>window.clearTimeout(s)}window.scrollTo({top:0,left:0,behavior:"instant"})}},[t,e,n]),null}const yH=[{name:"Rabbi Yosef Zvi Rimon",role:"Rosh Yeshiva, JCT",photo:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/461b6b17a_image.png",bio:"Rabbi Yosef Zvi Rimon studied at Yeshivat Har Etzion, served in the IDF's Armored Corps through the Hesder program, and earned a B.Ed. from Herzog College. Today, he serves as Rosh Yeshiva of JCT, Chief Rabbi of Gush Etzion, and Rabbi of Alon Shvut South, while also leading Sulamot and developing innovative approaches that make Halacha accessible and relevant to contemporary Jewish life. Rav Rimon lives in Alon Shvut with his wife and family."},{name:"Rabbi Shalom Rosner",role:"Rosh Beit Midrash, International Program",photo:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/2dbd2f759_RabbiShalomRosner.png",bio:"Before making Aliyah, Rabbi Shalom Rosner earned degrees from Yeshiva University and the Azrieli School, received rabbinical ordination from REITS, served as a Maggid Shiur at Yeshiva University and Rabbi of Congregation Bais Ephraim Yitzchok, and later taught at Yeshivat Reishit and Yeshivat Kerem B'Yavneh. Today, he serves as the Rav of the Nofei HaShemesh community in Beit Shemesh and as Rosh Beit Midrash of J
488CT's International Program, while his widely followed Torah shiurim reach thousands of students worldwide online. Rabbi Rosner is married to Dr. Rabbanit Tamar Rosner, a pediatrician, and their family."},{name:"Rabbi Shlomo Anapolle",role:"Director, International Program",photo:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/ed051806b_RabbiShlomoAnapolle.png",bio:"Before making Aliyah, Rabbi Shlomo Anapolle earned degrees from Yeshiva University and the Azrieli School, received rabbinical ordination from REITS, completed an MBA in Nonprofit Management, and worked in Jewish education in the United States. After making Aliyah, he took over JCT's International Program, where he is passionate about helping Jews come home to Israel and build their futures here. Rabbi Anapolle lives in Israel with his wife, Adi, and their family."},{name:"Dr. Mimi Fuchs",role:"Mashgicha Ruchanit, International Program",photo:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/a93bba7c3_Dr1MimiFuchspng.jpg",focalPoint:{x:.5,y:.42},bio:"Before making Aliyah, Mimi Fuchs spent more than 13 years teaching Tanach and serving in educational programming roles at high schools across North America, inspiring students to engage deeply with Torah. Today, she serves as the Mashgicha Ruchanit of Machon Tal's English Speakers Program, helping students discover the beauty, brilliance, and enduring wisdom of Torah in Eretz Yisrael. Mimi lives in Ramat Beit Shemesh with her husband, Corey, and their family."},{name:"Talya Piha",role:"Program Coordinator, International Program",photo:null,bio:"Talya serves as Program Coordinator for JCT's International Program, supporting students and staff across both campuses."},{name:"Yehudah Benklifa",role:"Lev Campus and Recruitment Coordinator",photo:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/e5fc57d31_YehudahBenklifa.jpg",focalPoint:{x:.5,y:.32},bio:"Before making Aliyah three years ago, Yehuda Benklifa earned a B.A. in Psychology from Yeshiva University and completed post-baccalaureate pre-med coursework at Brooklyn College. Today, he serves as the Men's Recruiting and Campus Coordinator for Machon Lev's English-speaking program. Yehuda lives in Har Nof with his wife Rivka, and son."},{name:"Gabriella Feldman",role:"Tal Campus Coordinator",photo:null,bio:"Gabriella earned a B.A. in Logistics Management and Economics from Bar-Ilan University and went on to work at Midreshet Lindenbaum and World Bnei Akiva. Today, she serves as the Campus Coordinator at Machon Tal's women's campus and lives in Arnona with her husband and son."},{name:"Ariella Shloush",role:"Tal Recruitment Coordinator",photo:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/336f0bf1b_AriellaShloush.jpg",focalPoint:{x:.5,y:.55},bio:"Ariella Shloush has extensive experience building relationships with prospective students, seminaries, and high schools and guiding students throughout the admissions process. Today, she serves as the Recruitment Coordinator for JCT's International Program at Machon Tal, helping students discover its academic opportunities, supportive environment, and vibrant community as they pursue their studies in Israel."},{name:"Dr. Daniella Shnaps",role:"Academic Dean, International Program",photo:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/a293633b1_Dr1DaniellaShnapspng.jpg",focalPoint:{x:.5,y:.4},bio:"Dr. Daniella Shnaps serves as the Academic Dean of JCT's International Program."},{name:"Esti Schweitzer",role:"Head of ESP Marketing",photo:"https://media.base44.com/images/public/6a4ec71c7f920113f78c7ff7/cd5b42ec7_EstiSchweitzer.jpg",bio:"Esti Schweitzer brings experience in social media marketing, communications, and student engagement. Today, she serves as the Head of Marketing for JCT's English Speakers Program, where she is passionate about connecting prospective students with the academic opportunities, supportive environment, and vibrant community that the program has to offer."}];function vH(){return u.jsxs("div",{className:"min-h-screen bg-background",children:[u.jsx("section",{className:"pt-32 pb-20 bg-primary text-primary-foreground grain relative",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4 relative z-10",children:[u.jsxs(cn,{to:"/",className:"inline-flex items-center gap-2 text-primary-foreground
488/60 hover:text-accent text-sm font-mono uppercase tracking-wider transition-colors mb-8",children:[u.jsx(Sv,{className:"w-4 h-4"})," Back to International Program"]}),u.jsxs(oe,{children:[u.jsx("span",{className:"text-gold font-mono text-sm uppercase tracking-[0.2em]",children:"Our People"}),u.jsx("h1",{className:"text-4xl sm:text-6xl font-bold font-display tracking-tight mt-2 leading-tight",children:"Meet the staff"}),u.jsx("p",{className:"text-primary-foreground/60 text-lg leading-relaxed mt-4 max-w-2xl",children:"The rabbis, teachers, and advisors who guide International Program students in Torah and academics."})]})]})}),u.jsx("section",{className:"py-20 sm:py-24",children:u.jsx("div",{className:"max-w-7xl mx-auto px-4",children:u.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-8",children:yH.map((t,e)=>{var n,r;return u.jsx(oe,{delay:e*.06,children:u.jsxs("div",{className:"bg-background rounded-lg border border-primary/10 p-8 h-full flex flex-col items-center text-center",children:[u.jsx("div",{className:"w-32 h-32 rounded-full overflow-hidden bg-primary/10 mb-5 flex-shrink-0",children:t.photo?u.jsx(Ho,{src:t.photo,alt:t.name,className:"w-full h-full",fittingType:"fill",focalPointX:((n=t.focalPoint)==null?void 0:n.x)??.5,focalPointY:((r=t.focalPoint)==null?void 0:r.y)??.3}):u.jsx("div",{className:"w-full h-full flex items-center justify-center text-primary/30 font-display font-bold text-3xl",children:t.name.split(" ").map(s=>s[0]).slice(0,2).join("")})}),u.jsx("h3",{className:"text-xl font-bold text-foreground font-display",children:t.name}),u.jsx("div",{className:"text-accent font-mono text-xs uppercase tracking-wider mt-1 mb-4",children:t.role}),u.jsx("p",{className:"text-muted-foreground leading-relaxed",children:t.bio})]})},t.name)})})})})]})}const xH=`https://wa.me/972543902681?text=${encodeURIComponent("Hi, I'd like to inquire about the JCT International Program.")}`,wH=[{icon:xs,label:"Email",value:"[email protected]",href:"mailto:[email protected]"}
488,{icon:ki,label:"Phone",value:"02-6751011",href:"tel:+97226751011"},{icon:$d,label:"WhatsApp",value:"Chat with us",href:xH,external:!0},{icon:gk,label:"Instagram",value:"@jctinternational",href:"https://www.instagram.com/jctinternational",external:!0}];function bH(){return u.jsxs("div",{className:"pt-16",children:[u.jsxs("section",{className:"relative bg-primary text-primary-foreground flex items-end overflow-hidden",children:[u.jsx("div",{className:"absolute bottom-0 inset-x-0 h-px bg-gold/40"}),u.jsxs("div",{className:"relative z-10 w-full max-w-7xl mx-auto px-4 py-20 sm:py-28",children:[u.jsx(oe,{children:u.jsx("h1",{className:"text-4xl sm:text-6xl lg:text-7xl font-bold font-display tracking-tight leading-[1.05] max-w-4xl mb-4",children:"Contact us"})}),u.jsx(oe,{delay:.2,children:u.jsx("p",{className:"text-lg sm:text-xl text-primary-foreground/70 max-w-2xl leading-relaxed",children:"Questions about the International Program, admissions, tuition, or student life? Our team is here to help you take the next step toward studying in Jerusalem."})})]})]}),u.jsx("section",{className:"py-16 sm:py-24 bg-background",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[u.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-
4885",children:wH.map((t,e)=>{const n=t.icon;return u.jsx(oe,{delay:e*.08,children:u.jsxs("a",{href:t.href,target:t.external?"_blank":void 0,rel:t.external?"noopener noreferrer":void 0,className:"group block h-full rounded-xl border border-border bg-card p-6 hover:border-accent/40 hover:shadow-xl hover:shadow-primary/5 transition-all duration-300",children:[u.jsx("div",{className:"w-11 h-11 rounded-lg bg-accent/10 flex items-center justify-center text-accent mb-4 group-hover:bg-accent group-hover:text-accent-foreground transition-colors duration-300",children:u.jsx(n,{className:"w-5 h-5"})}),u.jsx("div",{className:"font-mono text-[10px] uppercase tracking-[0.16em] text-muted-foreground mb-1",children:t.label}),u.jsxs("div",{className:"font-display font-bold text-foreground text-lg flex items-center gap-1.5",children:[t.value,u.jsx(qt,{className:"w-4 h-4 opacity-0 -translate-x-1 group-hover:opacity-100 group-hover:translate-x-0 transition-all duration-300"})]})]})},t.label)})}),u.jsx(oe,{delay:.2,className:"mt-8",children:u.jsxs("div",{className:"flex items-start gap-3 rounded-xl border border-border bg-secondary p-6",children:[u.jsx(vs,{className:"w-5 h-5 text-accent flex-shrink-0 mt-0.5"}),u.jsxs("div",{className:"text-muted-foreground",children:[u.jsx("div",{className:"font-display font-bold text-foreground mb-1",children:"Main campus"}),"Havaad Haleumi 21, Givat Mordechai 91160, Jerusalem, Israel"]})]})})]})}),u.jsx(tR,{})]})}const _H=()=>{const{isLoadingAuth:t,isLoadingPublicSettings:e,authError:n,navigateToLogin:r}=m6();if(e||t)return u.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:u.jsx("div",{className:"w-8 h-8 border-4 border-muted border-t-foreground rounded-full animate-spin"})});if(n){if(n.type==="user_not_registered")return u.jsx(g6,{});if(n.type==="auth_required")return r(),null}return u.jsxs(Q3,{children:[u.jsxs(En,{element:u.jsx(pH,{}),children:[u.jsx(En,{path:"/",element:u.jsx(HC,{})}),u.jsx(En,{path:"/Home",element:u.jsx(u$,{})}),u.jsx(En,{path:"/AcademicPrograms",element:u.jsx(g$,{})}),u.jsx(En,{path:"/CampusLev",element:u.jsx(R$,{})}),u.jsx(En,{path:"/InternationalProgram",element:u.jsx(HC,{})}),u.jsx(En,{path:"/TalCampusProject",element:u.jsx(qW,{})}),u.jsx(En,{path:"/JCTAdmins",element:u.jsx(QW,{})}),u.jsx(En,{path:"/CommunityEngagement",element:u.jsx(sH,{})}),u.jsx(En,{path:"/FinancialStatements",element:u.jsx(lH,{})}),u.jsx(En,{path:"/Login",element:u.jsx(P6,{})}),u.jsx(En,{path:"/Register",element:u.jsx(H6,{})}),u.jsx(En,{path:"/forgot-password",element:u.jsx(q6,{})}),u.jsx(En,{path:"/reset-password",element:u.jsx(G6,{})}),u.jsx(En,{path:"/MeetTheStaff",element:u.jsx(vH,{})}),u.jsx(En,{path:"/Contact",element:u.jsx(bH,{})})]}),u.jsx(En,{path:"*",element:u.jsx(h6,{})})]})};function SH(){return u.jsx(p6,{children:u.jsxs(VM,{client:t3,children:[u.jsxs(oL,{children:[u.jsx(gH,{}),u.jsx(_H,{})]}),u.jsx(gM,{})]})})}ZA.createRoot(document.getElementById("root")).render(u.jsx(SH,{}));

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.