PageSourceSearch

https://dyci.edu.ph/assets/index-CTH6UDvw.js

js dyci.edu.ph collected 2026-10-02 21:20:26 UTC 649,916 bytes, 70 lines download raw bytes

vendor: 5,155 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DYCIanNews-CNXsNotS.js","assets/PageContent-CE5lIirh.js","assets/NewsSection-C0iCMJnV.js","assets/Login-CjbKk77g.js","assets/VisibilityOff-Bf2uLwY2.js","assets/AdminDashboard-ClqLoXuI.js","assets/PageBlocks-D9gF8ps2.js","assets/react-photo-view-CzY-liHa.js","assets/react-photo-view-Cfkhaq8h.css","assets/Counter-KPtPBdn8.js","assets/PageSubCategory-aCCtp3Fd.js","assets/TileImages-DICjevAD.js","assets/JsonLd-peGP5abv.js","assets/AdminDashboard-CkbfgUCq.css","assets/Home-Dw5ckh9Y.js","assets/effect-fade-DfbNvxCY.js","assets/effect-fade-DyjU0h27.css","assets/effect-fade-D-Qg8P5I.js","assets/swiper-vL0Q9Dr-.css","assets/LearnWithUs-DR3Xpx2a.js","assets/holidayEvents-BWn8IS6B.js","assets/autoplay-Cu7AsR8g.js","assets/pagination-DE0q59Ew.css","assets/Meaning-DIwPeuAh.js","assets/Identity-BH8uJnCD.js","assets/Spirituality-cPgtuLC0.js","assets/SocietalIntegration-D_qiPvGC.js","assets/InnovationAndResearch-DuqQ_8zU.js","assets/StudentCentricity-BcmkyE_4.js","assets/DYCIRobotics-6O28RvBY.js","assets/DYCISustainability-CElzhuzg.js","assets/JoinOurTeam--IQWfBD8.js","assets/Events-mNk2p_HX.js","assets/Admission-B_PZAv0u.js","assets/DynamicSubpage-CY6Ponkp.js","assets/DynamicSection-7-xm--QW.js","assets/ArticlePageNew-CcUCetC1.js","assets/AnnouncementPage-B9u724Wa.js","assets/DataDisplayPage-BKreTQsg.js","assets/EventPage-0upvxISt.js"])))=>i.map(i=>d[i]);
2var g2=Object.defineProperty;var y2=(e,t,r)=>t in e?g2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var gr=(e,t,r)=>y2(e,typeof t!="symbol"?t+"":t,r);function v2(e,t){for(var r=0;r<t.length;r++){const a=t[r];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in e)){const l=Object.getOwnPropertyDescriptor(a,s);l&&Object.defineProperty(e,s,l.get?l:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&a(u)}).observe(document,{childList:!0,subtree:!0});function r(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function a(s){if(s.ep)return;s.ep=!0;const l=r(s);fetch(s.href,l)}})();var dM=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ai(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gd={exports:{}},ks={},yd={exports:{}},Ve={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var mg;function x2(){if(mg)return Ve;mg=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;function x(R){return R===null||typeof R!="object"?null:(R=v&&R[v]||R["@@iterator"],typeof R=="function"?R:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,E={};function C(R,G,K){this.props=R,this.context=G,this.refs=E,this.updater=K||b}C.prototype.isReactComponent={},C.prototype.setState=function(R,G){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,G,"setState")},C.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function D(){}D.prototype=C.prototype;function _(R,G,K){this.props=R,this.context=G,this.refs=E,this.updater=K||b}var I=_.prototype=new D;I.constructor=_,S(I,C.prototype),I.isPureReactComponent=!0;var F=Array.isArray,U=Object.prototype.hasOwnProperty,J={current:null},W={key:!0,ref:!0,__self:!0,__source:!0};function T(R,G,K){var ne,ye={},ve=null,Ie=null;if(G!=null)for(ne in G.ref!==void 0&&(Ie=G.ref),G.key!==void 0&&(ve=""+G.key),G)U.call(G,ne)&&!W.hasOwnProperty(ne)&&(ye[ne]=G[ne]);var Me=arguments.length-2;if(Me===1)ye.children=K;else if(1<Me){for(var Oe=Array(Me),dt=0;dt<Me;dt++)Oe[dt]=arguments[dt+2];ye.children=Oe}if(R&&R.defaultProps)for(ne in Me=R.defaultProps,Me)ye[ne]===void 0&&(ye[ne]=Me[ne]);return{$$typeof:e,type:R,key:ve,ref:Ie,props:ye,_owner:J.current}}function M(R,G){return{$$typeof:e,type:R.type,key:G,ref:R.ref,props:R.props,_owner:R._owner}}
vendor: 9,649 bytes, lines 10-26
10function O(R){return typeof R=="object"&&R!==null&&R.$$typeof===e}function q(R){var G={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(K){return G[K]})}var ae=/\/+/g;function ue(R,G){return typeof R=="object"&&R!==null&&R.key!=null?q(""+R.key):G.toString(36)}function ge(R,G,K,ne,ye){var ve=typeof R;(ve==="undefined"||ve==="boolean")&&(R=null);var Ie=!1;if(R===null)Ie=!0;else switch(ve){case"string":case"number":Ie=!0;break;case"object":switch(R.$$typeof){case e:case t:Ie=!0}}if(Ie)return Ie=R,ye=ye(Ie),R=ne===""?"."+ue(Ie,0):ne,F(ye)?(K="",R!=null&&(K=R.replace(ae,"$&/")+"/"),ge(ye,G,K,"",function(dt){return dt})):ye!=null&&(O(ye)&&(ye=M(ye,K+(!ye.key||Ie&&Ie.key===ye.key?"":(""+ye.key).replace(ae,"$&/")+"/")+R)),G.push(ye)),1;if(Ie=0,ne=ne===""?".":ne+":",F(R))for(var Me=0;Me<R.length;Me++){ve=R[Me];var Oe=ne+ue(ve,Me);Ie+=ge(ve,G,K,Oe,ye)}else if(Oe=x(R),typeof Oe=="function")for(R=Oe.call(R),Me=0;!(ve=R.next()).done;)ve=ve.value,Oe=ne+ue(ve,Me++),Ie+=ge(ve,G,K,Oe,ye);else if(ve==="object")throw G=String(R),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.");return Ie}function ce(R,G,K){if(R==null)return R;var ne=[],ye=0;return ge(R,ne,"","",function(ve){return G.call(K,ve,ye++)}),ne}function ie(R){if(R._status===-1){var G=R._result;G=G(),G.then(function(K){(R._status===0||R._status===-1)&&(R._status=1,R._result=K)},function(K){(R._status===0||R._status===-1)&&(R._status=2,R._result=K)}),R._status===-1&&(R._status=0,R._result=G)}if(R._status===1)return R._result.default;throw R._result}var fe={current:null},Y={transition:null},Q={ReactCurrentDispatcher:fe,ReactCurrentBatchConfig:Y,ReactCurrentOwner:J};function X(){throw Error("act(...) is not supported in production builds of React.")}return Ve.Children={map:ce,forEach:function(R,G,K){ce(R,function(){G.apply(this,arguments)},K)},count:function(R){var G=0;return ce(R,function(){G++}),G},toArray:function(R){return ce(R,function(G){return G})||[]},only:function(R){if(!O(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},Ve.Component=C,Ve.Fragment=r,Ve.Profiler=s,Ve.PureComponent=_,Ve.StrictMode=a,Ve.Suspense=h,Ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q,Ve.act=X,Ve.cloneElement=function(R,G,K){if(R==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+R+".");var ne=S({},R.props),ye=R.key,ve=R.ref,Ie=R._owner;if(G!=null){if(G.ref!==void 0&&(ve=G.ref,Ie=J.current),G.key!==void 0&&(ye=""+G.key),R.type&&R.type.defaultProps)var Me=R.type.defaultProps;for(Oe in G)U.call(G,Oe)&&!W.hasOwnProperty(Oe)&&(ne[Oe]=G[Oe]===void 0&&Me!==void 0?Me[Oe]:G[Oe])}var Oe=arguments.length-2;if(Oe===1)ne.children=K;else if(1<Oe){Me=Array(Oe);for(var dt=0;dt<Oe;dt++)Me[dt]=arguments[dt+2];ne.children=Me}return{$$typeof:e,type:R.type,key:ye,ref:ve,props:ne,_owner:Ie}},Ve.createContext=function(R){return R={$$typeof:u,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:l,_context:R},R.Consumer=R},Ve.createElement=T,Ve.createFactory=function(R){var G=T.bind(null,R);return G.type=R,G},Ve.createRef=function(){return{current:null}},Ve.forwardRef=function(R){return{$$typeof:d,render:R}},Ve.isValidElement=O,Ve.lazy=function(R){return{$$typeof:g,_payload:{_status:-1,_result:R},_init:ie}},Ve.memo=function(R,G){return{$$typeof:m,type:R,compare:G===void 0?null:G}},Ve.startTransition=function(R){var G=Y.transition;Y.transition={};try{R()}finally{Y.transition=G}},Ve.unstable_act=X,Ve.useCallback=function(R,G){return fe.current.useCallback(R,G)},Ve.useContext=function(R){return fe.current.useContext(R)},Ve.useDebugValue=function(){},Ve.useDeferredValue=function(R){return fe.current.useDeferredValue(R)},Ve.useEffect=function(R,G){return fe.current.useEffect(R,G)},Ve.useId=function(){return fe.current.useId()},Ve.useImperativeHandle=function(R,G,K){return fe.current.useImperativeHandle(R,G,K)},Ve.useInsertionEffect=function(R,G){return fe.current.useInsertionEffect(R,G)},Ve.useLayoutEffect=function(R,G){return fe.current.useLayoutEffect(R,G)},Ve.useMemo=function(R,G){return fe.current.useMemo(R,G)},Ve.useReducer=function(R,G,K){return fe.current.useReducer(R,G,K)},Ve.useRef=function(R){return fe.current.useRef(R)},Ve.useState=function(R){return fe.current.useState(R)},Ve.useSyncExternalStore=function(R,G,K){return fe.current.useSyncExternalStore(R,G,K)},Ve.useTransition=function(){return fe.current.useTransition()},Ve.version="18.3.1",Ve}var pg;function vu(){return pg||(pg=1,yd.exports=x2()),yd.exports}/**
11 * @license React
12 * react-jsx-runtime.production.min.js
13 *
14 * Copyright (c) Facebook, Inc. and its affiliates.
15 *
16 * This source code is licensed under the MIT license found in the
17 * LICENSE file in the root directory of this source tree.
18 */var gg;function w2(){if(gg)return ks;gg=1;var e=vu(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(d,h,m){var g,v={},x=null,b=null;m!==void 0&&(x=""+m),h.key!==void 0&&(x=""+h.key),h.ref!==void 0&&(b=h.ref);for(g in h)a.call(h,g)&&!l.hasOwnProperty(g)&&(v[g]=h[g]);if(d&&d.defaultProps)for(g in h=d.defaultProps,h)v[g]===void 0&&(v[g]=h[g]);return{$$typeof:t,type:d,key:x,ref:b,props:v,_owner:s.current}}return ks.Fragment=r,ks.jsx=u,ks.jsxs=u,ks}var yg;function b2(){return yg||(yg=1,gd.exports=w2()),gd.exports}var f=b2(),k=vu();const Et=ai(k),S2=v2({__proto__:null,default:Et},[k]);var Sl={},vd={exports:{}},Xt={},xd={exports:{}},wd={};/**
19 * @license React
20 * scheduler.production.min.js
21 *
22 * Copyright (c) Facebook, Inc. and its affiliates.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE file in the root directory of this source tree.
26 */var vg;function C2(){return vg||(vg=1,(function(e){function t(Y,Q){var X=Y.length;Y.push(Q);e:for(;0<X;){var R=X-1>>>1,G=Y[R];if(0<s(G,Q))Y[R]=Q,Y[X]=G,X=R;else break e}}function r(Y){return Y.length===0?null:Y[0]}function a(Y){if(Y.length===0)return null;var Q=Y[0],X=Y.pop();if(X!==Q){Y[0]=X;e:for(var R=0,G=Y.length,K=G>>>1;R<K;){var ne=2*(R+1)-1,ye=Y[ne],ve=ne+1,Ie=Y[ve];if(0>s(ye,X))ve<G&&0>s(Ie,ye)?(Y[R]=Ie,Y[ve]=X,R=ve):(Y[R]=ye,Y[ne]=X,R=ne);else if(ve<G&&0>s(Ie,X))Y[R]=Ie,Y[ve]=X,R=ve;else break e}}return Q}function s(Y,Q){var X=Y.sortIndex-Q.sortIndex;return X!==0?X:Y.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var h=[],m=[],g=1,v=null,x=3,b=!1,S=!1,E=!1,C=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function I(Y){for(var Q=r(m);Q!==null;){if(Q.callback===null)a(m);else if(Q.startTime<=Y)a(m),Q.sortIndex=Q.expirationTime,t(h,Q);else break;Q=r(m)}}function F(Y){if(E=!1,I(Y),!S)if(r(h)!==null)S=!0,ie(U);else{var Q=r(m);Q!==null&&fe(F,Q.startTime-Y)}}function U(Y,Q){S=!1,E&&(E=!1,D(T),T=-1),b=!0;var X=x;try{for(I(Q),v=r(h);v!==null&&(!(v.expirationTime>Q)||Y&&!q());){var R=v.callback;if(typeof R=="function"){v.callback=null,x=v.priorityLevel;var G=R(v.expirationTime<=Q);Q=e.unstable_now(),typeof G=="function"?v.callback=G:v===r(h)&&a(h),I(Q)}else a(h);v=r(h)}if(v!==null)var K=!0;else{var ne=r(m);ne!==null&&fe(F,ne.startTime-Q),K=!1}return K}finally{v=null,x=X,b=!1}}var J=!1,W=null,T=-1,M=5,O=-1;function q(){return!(e.unstable_now()-O<M)}function ae(){if(W!==null){var Y=e.unstable_now();O=Y;var Q=!0;try{Q=W(!0,Y)}finally{Q?ue():(J=!1,W=null)}}else J=!1}var ue;if(typeof _=="function")ue=function(){_(ae)};else if(typeof MessageChannel<"u"){var ge=new MessageChannel,ce=ge.port2;ge.port1.onmessage=ae,ue=function(){ce.postMessage(null)}}else ue=function(){C(ae,0)};function ie(Y){W=Y,J||(J=!0,ue())}function fe(Y,Q){T=C(function(){Y(e.unstable_now())},Q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Y){Y.callback=null},e.unstable_continueExecution=function(){S||b||(S=!0,ie(U))},e.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"):M=0<Y?Math.floor(1e3/Y):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return r(h)},e.unstable_next=function(Y){switch(x){case 1:case 2:case 3:var Q=3;break;default:Q=x}var X=x;x=Q;try{return Y()}finally{x=X}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(Y,Q){switch(Y){case 1:case 2:case 3:case 4:case 5:break;default:Y=3}var X=x;x=Y;try{return Q()}finally{x=X}},e.unstable_scheduleCallback=function(Y,Q,X){var R=e.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?R+X:R):X=R,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=X+G,Y={id:g++,callback:Q,priorityLevel:Y,startTime:X,expirationTime:G,sortIndex:-1},X>
vendor: 4,558 bytes, lines 26-34
26R?(Y.sortIndex=X,t(m,Y),r(h)===null&&Y===r(m)&&(E?(D(T),T=-1):E=!0,fe(F,X-R))):(Y.sortIndex=G,t(h,Y),S||b||(S=!0,ie(U))),Y},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(Y){var Q=x;return function(){var X=x;x=Q;try{return Y.apply(this,arguments)}finally{x=X}}}})(wd)),wd}var xg;function k2(){return xg||(xg=1,xd.exports=C2()),xd.exports}/**
27 * @license React
28 * react-dom.production.min.js
29 *
30 * Copyright (c) Facebook, Inc. and its affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */var wg;function E2(){if(wg)return Xt;wg=1;var e=vu(),t=k2();function r(n){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+n,o=1;o<arguments.length;o++)i+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+n+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(n,i){u(n,i),u(n+"Capture",i)}function u(n,i){for(s[n]=i,n=0;n<i.length;n++)a.add(i[n])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,m=/^[: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]*$/,g={},v={};function x(n){return h.call(v,n)?!0:h.call(g,n)?!1:m.test(n)?v[n]=!0:(g[n]=!0,!1)}function b(n,i,o,c){if(o!==null&&o.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return c?!1:o!==null?!o.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function S(n,i,o,c){if(i===null||typeof i>"u"||b(n,i,o,c))return!0;if(c)return!1;if(o!==null)switch(o.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function E(n,i,o,c,p,y,w){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=c,this.attributeNamespace=p,this.mustUseProperty=o,this.propertyName=n,this.type=i,this.sanitizeURL=y,this.removeEmptyString=w}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){C[n]=new E(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var i=n[0];C[i]=new E(i,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){C[n]=new E(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){C[n]=new E(n,2,!1,n,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(n){C[n]=new E(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){C[n]=new E(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){C[n]=new E(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){C[n]=new E(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){C[n]=new E(n,5,!1,n.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function _(n){return n[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
34-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(n){var i=n.replace(D,_);C[i]=new E(i,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var i=n.replace(D,_);C[i]=new E(i,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var i=n.replace(D,_);C[i]=new E(i,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){C[n]=new E(n,1,!1,n.toLowerCase(),null,!1,!1)}),C.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){C[n]=new E(n,1,!1,n.toLowerCase(),null,!0,!0)});function I(n,i,o,c){var p=C.hasOwnProperty(i)?C[i]:null;(p!==null?p.type!==0:c||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(S(i,o,p,c)&&(o=null),c||p===null?x(i)&&(o===null?n.removeAttribute(i):n.setAttribute(i,""+o)):p.mustUseProperty?n[p.propertyName]=o===null?p.type===3?!1:"":o:(i=p.attributeName,c=p.attributeNamespace,o===null?n.removeAttribute(i):(p=p.type,o=p===3||p===4&&o===!0?"":""+o,c?n.setAttributeNS(c,i,o):n.setAttribute(i,o))))}var F=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,U=Symbol.for("react.element"),J=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),q=Symbol.for("react.context"),ae=Symbol.for("react.forward_ref"),ue=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),ce=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),fe=Symbol.for("react.offscreen"),Y=Symbol.iterator;function Q(n){return n===null||typeof n!="object"?null:(n=Y&&n[Y]||n["@@iterator"],typeof n=="function"?n:null)}var X=Object.assign,R;function G(n){if(R===void 0)try{throw Error()}catch(o){var i=o.stack.trim().match(/\n( *(at )?)/);R=i&&i[1]||""}return`
35`+R+n}var K=!1;function ne(n,i){if(!n||K)return"";K=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(i)if(i=function(){throw Error()},Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(H){var c=H}Reflect.construct(n,[],i)}else{try{i.call()}catch(H){c=H}n.call(i.prototype)}else{try{throw Error()}catch(H){c=H}n()}}catch(H){if(H&&c&&typeof H.stack=="string"){for(var p=H.stack.split(`
36`),y=c.stack.split(`
37`),w=p.length-1,P=y.length-1;1<=w&&0<=P&&p[w]!==y[P];)P--;for(;1<=w&&0<=P;w--,P--)if(p[w]!==y[P]){if(w!==1||P!==1)do if(w--,P--,0>P||p[w]!==y[P]){var N=`
38`+p[w].replace(" at new "," at ");return n.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",n.displayName)),N}while(1<=w&&0<=P);break}}}finally{K=!1,Error.prepareStackTrace=o}return(n=n?n.displayName||n.name:"")?G(n):""}function ye(n){switch(n.tag){case 5:return G(n.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return n=ne(n.type,!1),n;case 11:return n=ne(n.type.render,!1),n;case 1:return n=ne(n.type,!0),n;default:return""}}function ve(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case W:return"Fragment";case J:return"Portal";case M:return"Profiler";case T:return"StrictMode";case ue:return"Suspense";case ge:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case q:return(n.displayName||"Context")+".Consumer";case O:return(n._context.displayName||"Context")+".Provider";case ae:var i=n.render;return n=n.displayName,n||(n=i.displayName||i.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case ce:return i=n.displayName||null,i!==null?i:ve(n.type)||"Memo";case ie:i=n._payload,n=n._init;try{return ve(n(i))}catch{}}return null}function Ie(n){var i=n.type;switch(n.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=i.render,n=n.displayName||n.name||"",i.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ve(i);case 8:return i===T?"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 i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function Me(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Oe(n){var i=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function dt(n){var i=Oe(n)?"checked":"value",o=Object.getOwnPropertyDescriptor(n.constructor.prototype,i
vendor: 28,245 bytes, line 38
38),c=""+n[i];if(!n.hasOwnProperty(i)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var p=o.get,y=o.set;return Object.defineProperty(n,i,{configurable:!0,get:function(){return p.call(this)},set:function(w){c=""+w,y.call(this,w)}}),Object.defineProperty(n,i,{enumerable:o.enumerable}),{getValue:function(){return c},setValue:function(w){c=""+w},stopTracking:function(){n._valueTracker=null,delete n[i]}}}}function fn(n){n._valueTracker||(n._valueTracker=dt(n))}function vr(n){if(!n)return!1;var i=n._valueTracker;if(!i)return!0;var o=i.getValue(),c="";return n&&(c=Oe(n)?n.checked?"true":"false":n.value),n=c,n!==o?(i.setValue(n),!0):!1}function $e(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Lt(n,i){var o=i.checked;return X({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??n._wrapperState.initialChecked})}function Hn(n,i){var o=i.defaultValue==null?"":i.defaultValue,c=i.checked!=null?i.checked:i.defaultChecked;o=Me(i.value!=null?i.value:o),n._wrapperState={initialChecked:c,initialValue:o,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function po(n,i){i=i.checked,i!=null&&I(n,"checked",i,!1)}function Dn(n,i){po(n,i);var o=Me(i.value),c=i.type;if(o!=null)c==="number"?(o===0&&n.value===""||n.value!=o)&&(n.value=""+o):n.value!==""+o&&(n.value=""+o);else if(c==="submit"||c==="reset"){n.removeAttribute("value");return}i.hasOwnProperty("value")?Va(n,i.type,o):i.hasOwnProperty("defaultValue")&&Va(n,i.type,Me(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(n.defaultChecked=!!i.defaultChecked)}function go(n,i,o){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var c=i.type;if(!(c!=="submit"&&c!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+n._wrapperState.initialValue,o||i===n.value||(n.value=i),n.defaultValue=i}o=n.name,o!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,o!==""&&(n.name=o)}function Va(n,i,o){(i!=="number"||$e(n.ownerDocument)!==n)&&(o==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+o&&(n.defaultValue=""+o))}var xr=Array.isArray;function wr(n,i,o,c){if(n=n.options,i){i={};for(var p=0;p<o.length;p++)i["$"+o[p]]=!0;for(o=0;o<n.length;o++)p=i.hasOwnProperty("$"+n[o].value),n[o].selected!==p&&(n[o].selected=p),p&&c&&(n[o].defaultSelected=!0)}else{for(o=""+Me(o),i=null,p=0;p<n.length;p++){if(n[p].value===o){n[p].selected=!0,c&&(n[p].defaultSelected=!0);return}i!==null||n[p].disabled||(i=n[p])}i!==null&&(i.selected=!0)}}function Ba(n,i){if(i.dangerouslySetInnerHTML!=null)throw Error(r(91));return X({},i,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function yo(n,i){var o=i.value;if(o==null){if(o=i.children,i=i.defaultValue,o!=null){if(i!=null)throw Error(r(92));if(xr(o)){if(1<o.length)throw Error(r(93));o=o[0]}i=o}i==null&&(i=""),o=i}n._wrapperState={initialValue:Me(o)}}function vo(n,i){var o=Me(i.value),c=Me(i.defaultValue);o!=null&&(o=""+o,o!==n.value&&(n.value=o),i.defaultValue==null&&n.defaultValue!==o&&(n.defaultValue=o)),c!=null&&(n.defaultValue=""+c)}function Yn(n){var i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function br(n){switch(n){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 Vi(n,i){return n==null||n==="http://www.w3.org/1999/xhtml"?br(i):n==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Sr,hn=(function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,o,c,p){MSApp.execUnsafeLocalFunction(function(){return n(i,o,c,p)})}:n})(function(n,i){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=i;else{for(Sr=Sr||document.createElement("div"),Sr.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=Sr.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;i.firstChild;)n.appendChild(i.firstChild)}});function Bt(n,i){if(i){var o=n.firstChild;if(o&&o===n.lastChild&&o.nodeType===3){o.nodeValue=i;return}}n.textContent=i}var Cr={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},Iu=["Webkit","ms","Moz","O"];Object.keys(Cr).forEach(function(n){Iu.forEach(function(i){i=i+n.charAt(0).toUpperCase()+n.substring(1),Cr[i]=Cr[n]})});function Bi(n,i,o){return i==null||typeof i=="boolean"||i===""?"":o||typeof i!="number"||i===0||Cr.hasOwnProperty(n)&&Cr[n]?(""+i).trim():i+"px"}function xo(n,i){n=n.style;for(var o in i)if(i.hasOwnProperty(o)){var c=o.indexOf("--")===0,p=Bi(o,i[o],c);o==="float"&&(o="cssFloat"),c?n.setProperty(o,p):n[o]=p}}var Rn=X({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 zi(n,i){if(i){if(Rn[n]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(r(137,n));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(r(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(r(61))}if(i.style!=null&&typeof i.style!="object")throw Error(r(62))}}function Ui(n,i){if(n.indexOf("-")===-1)return typeof i.is=="string";switch(n){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 $i=null;function za(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Wi=null,Nn=null,rr=null;function Hi(n){if(n=us(n)){if(typeof Wi!="function")throw Error(r(280));var i=n.stateNode;i&&(i=_o(i),Wi(n.stateNode,n.type,i))}}function wo(n){Nn?rr?rr.push(n):rr=[n]:Nn=n}function Ua(){if(Nn){var n=Nn,i=rr;if(rr=Nn=null,Hi(n),i)for(n=0;n<i.length;n++)Hi(i[n])}}function bo(n,i){return n(i)}function $a(){}var kr=!1;function li(n,i,o){if(kr)return n(i,o);kr=!0;try{return bo(n,i,o)}finally{kr=!1,(Nn!==null||rr!==null)&&($a(),Ua())}}function Er(n,i){var o=n.stateNode;if(o===null)return null;var c=_o(o);if(c===null)return null;o=c[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(o&&typeof o!="function")throw Error(r(231,i,typeof o));return o}var Wa=!1;if(d)try{var ui={};Object.defineProperty(ui,"passive",{get:function(){Wa=!0}}),window.addEventListener("test",ui,ui),window.removeEventListener("test",ui,ui)}catch{Wa=!1}function j(n,i,o,c,p,y,w,P,N){var H=Array.prototype.slice.call(arguments,3);try{i.apply(o,H)}catch(te){this.onError(te)}}var L=!1,B=null,ee=!1,oe=null,Ee={onError:function(n){L=!0,B=n}};function Se(n,i,o,c,p,y,w,P,N){L=!1,B=null,j.apply(Ee,arguments)}function De(n,i,o,c,p,y,w,P,N){if(Se.apply(this,arguments),L){if(L){var H=B;L=!1,B=null}else throw Error(r(198));ee||(ee=!0,oe=H)}}function he(n){var i=n,o=n;if(n.alternate)for(;i.return;)i=i.return;else{n=i;do i=n,(i.flags&4098)!==0&&(o=i.return),n=i.return;while(n)}return i.tag===3?o:null}function le(n){if(n.tag===13){var i=n.memoizedState;if(i===null&&(n=n.alternate,n!==null&&(i=n.memoizedState)),i!==null)return i.dehydrated}return null}function Re(n){if(he(n)!==n)throw Error(r(188))}function Ce(n){var i=n.alternate;if(!i){if(i=he(n),i===null)throw Error(r(188));return i!==n?null:n}for(var o=n,c=i;;){var p=o.return;if(p===null)break;var y=p.alternate;if(y===null){if(c=p.return,c!==null){o=c;continue}break}if(p.child===y.child){for(y=p.child;y;){if(y===o)return Re(p),n;if(y===c)return Re(p),i;y=y.sibling}throw Error(r(188))}if(o.return!==c.return)o=p,c=y;else{for(var w=!1,P=p.child;P;){if(P===o){w=!0,o=p,c=y;break}if(P===c){w=!0,c=p,o=y;break}P=P.sibling}if(!w){for(P=y.child;P;){if(P===o){w=!0,o=y,c=p;break}if(P===c){w=!0,c=y,o=p;break}P=P.sibling}if(!w)throw Error(r(189))}}if(o.alternate!==c)throw Error(r(190))}if(o.tag!==3)throw Error(r(188));return o.stateNode.current===o?n:i}function _e(n){return n=Ce(n),n!==null?Be(n):null}function Be(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var i=Be(n);if(i!==null)return i;n=n.sibling}return null}var Xe=t.unstable_scheduleCallback,ft=t.unstable_cancelCallback,Pt=t.unstable_shouldYield,He=t.unstable_requestPaint,ze=t.unstable_now,ir=t.unstable_getCurrentPriorityLevel,ar=t.unstable_ImmediatePriority,An=t.unstable_UserBlockingPriority,zt=t.unstable_NormalPriority,Ha=t.unstable_LowPriority,Tr=t.unstable_IdlePriority,mn=null,Ut=null;function Yi(n){if(Ut&&typeof Ut.onCommitFiberRoot=="function")try{Ut.onCommitFiberRoot(mn,n,void 0,(n.current.flags&128)===128)}catch{}}var Le=Math.clz32?Math.clz32:sr,wt=Math.log,Pr=Math.LN2;function sr(n){return n>>>=0,n===0?32:31-(wt(n)/Pr|0)|0}var Ke=64,or=4194304;function jr(n){switch(n&-n){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 n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function Gi(n,i){var o=n.pendingLanes;if(o===0)return 0;var c=0,p=n.suspendedLanes,y=n.pingedLanes,w=o&268435455;if(w!==0){var P=w&~p;P!==0?c=jr(P):(y&=w,y!==0&&(c=jr(y)))}else w=o&~p,w!==0?c=jr(w):y!==0&&(c=jr(y));if(c===0)return 0;if(i!==0&&i!==c&&(i&p)===0&&(p=c&-c,y=i&-i,p>=y||p===16&&(y&4194240)!==0))return i;if((c&4)!==0&&(c|=o&16),i=n.entangledLanes,i!==0)for(n=n.entanglements,i&=c;0<i;)o=31-Le(i),p=1<<o,c|=n[o],i&=~p;return c}function O1(n,i){switch(n){case 1:case 2:case 4:return i+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 i+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 I1(n,i){for(var o=n.suspendedLanes,c=n.pingedLanes,p=n.expirationTimes,y=n.pendingLanes;0<y;){var w=31-Le(y),P=1<<w,N=p[w];N===-1?((P&o)===0||(P&c)!==0)&&(p[w]=O1(P,i)):N<=i&&(n.expiredLanes|=P),y&=~P}}function _u(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function Hh(){var n=Ke;return Ke<<=1,(Ke&4194240)===0&&(Ke=64),n}function Fu(n){for(var i=[],o=0;31>o;o++)i.push(n);return i}function Ya(n,i,o){n.pendingLanes|=i,i!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,i=31-Le(i),n[i]=o}function _1(n,i){var o=n.pendingLanes&~i;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=i,n.mutableReadLanes&=i,n.entangledLanes&=i,i=n.entanglements;var c=n.eventTimes;for(n=n.expirationTimes;0<o;){var p=31-Le(o),y=1<<p;i[p]=0,c[p]=-1,n[p]=-1,o&=~y}}function Vu(n,i){var o=n.entangledLanes|=i;for(n=n.entanglements;o;){var c=31-Le(o),p=1<<c;p&i|n[c]&i&&(n[c]|=i),o&=~p}}var Ge=0;function Yh(n){return n&=-n,1<n?4<n?(n&268435455)!==0?16:536870912:4:1}var Gh,Bu,qh,Kh,Qh,zu=!1,So=[],Dr=null,Rr=null,Nr=null,Ga=new Map,qa=new Map,Ar=[],F1="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 Jh(n,i){switch(n){case"focusin":case"focusout":Dr=null;break;case"dragenter":case"dragleave":Rr=null;break;case"mouseover":case"mouseout":Nr=null;break;case"pointerover":case"pointerout":Ga.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":qa.delete(i.pointerId)}}function Ka(n,i,o,c,p,y){return n===null||n.nativeEvent!==y?(n={blockedOn:i,domEventName:o,eventSystemFlags:c,nativeEvent:y,targetContainers:[p]},i!==null&&(i=us(i),i!==null&&Bu(i)),n):(n.eventSystemFlags|=c,i=n.targetContainers,p!==null&&i.indexOf(p)===-1&&i.push(p),n)}function V1(n,i,o,c,p){switch(i){case"focusin":return Dr=Ka(Dr,n,i,o,c,p),!0;case"dragenter":return Rr=Ka(Rr,n,i,o,c,p),!0;case"mouseover":return Nr=Ka(Nr,n,i,o,c,p),!0;case"pointerover":var y=p.pointerId;return Ga.set(y,Ka(Ga.get(y)||null,n,i,o,c,p)),!0;case"gotpointercapture":return y=p.pointerId,qa.set(y,Ka(qa.get(y)||null,n,i,o,c,p)),!0}return!1}function Xh(n){var i=ci(n.target);if(i!==null){var o=he(i);if(o!==null){if(i=o.tag,i===13){if(i=le(o),i!==null){n.blockedOn=i,Qh(n.priority,function(){qh(o)});return}}else if(i===3&&o.stateNode.current.memoizedState.isDehydrated){n.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Co(n){if(n.blockedOn!==null)return!1;for(var i=n.targetContainers;0<i.length;){var o=$u(n.domEventName,n.eventSystemFlags,i[0],n.nativeEvent);if(o===null){o=n.nativeEvent;var c=new o.constructor(o.type,o);$i=c,o.target.dispatchEvent(c),$i=null}else return i=us(o),i!==null&&Bu(i),n.blockedOn=o,!1;i.shift()}return!0}function Zh(n,i,o){Co(n)&&o.delete(i)}function B1(){zu=!1,Dr!==null&&Co(Dr)&&(Dr=null),Rr!==null&&Co(Rr)&&(Rr=null),Nr!==null&&Co(Nr)&&(Nr=null),Ga.forEach(Zh),qa.forEach(Zh)}function Qa(n,i){n.blockedOn===i&&(n.blockedOn=null,zu||(zu=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,B1)))}function Ja(n){function i(p){return Qa(p,n)}if(0<So.length){Qa(So[0],n);for(var o=1;o<So.length;o++){var c=So[o];c.blockedOn===n&&(c.blockedOn=null)}}for(Dr!==null&&Qa(Dr,n),Rr!==null&&Qa(Rr,n),Nr!==null&&Qa(Nr,n),Ga.forEach(i),qa.forEach(i),o=0;o<Ar.length;o++)c=Ar[o],c.blockedOn===n&&(c.blockedOn=null);for(;0<Ar.length&&(o=Ar[0],o.blockedOn===null);)Xh(o),o.blockedOn===null&&Ar.shift()}var qi=F.ReactCurrentBatchConfig,ko=!0;function z1(n,i,o,c){var p=Ge,y=qi.transition;qi.transition=null;try{Ge=1,Uu(n,i,o,c)}finally{Ge=p,qi.transition=y}}function U1(n,i,o,c){var p=Ge,y=qi.transition;qi.transition=null;try{Ge=4,Uu(n,i,o,c)}finally{Ge=p,qi.transition=y}}function Uu(n,i,o,c){if(ko){var p=$u(n,i,o,c);if(p===null)sc(n,i,c,Eo,o),Jh(n,c);else if(V1(p,n,i,o,c))c.stopPropagation();else if(Jh(n,c),i&4&&-1<F1.indexOf(n)){for(;p!==null;){var y=us(p);if(y!==null&&Gh(y),y=$u(n,i,o,c),y===null&&sc(n,i,c,Eo,o),y===p)break;p=y}p!==null&&c.stopPropagation()}else sc(n,i,c,null,o)}}var Eo=null;function $u(n,i,o,c){if(Eo=null,n=za(c),n=ci(n),n!==null)if(i=he(n),i===null)n=null;else if(o=i.tag,o===13){if(n=le(i),n!==null)return n;n=null}else if(o===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null);return Eo=n,null}function em(n){switch(n){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(ir()){case ar:return 1;case An:return 4;case zt:case Ha:return 16;case Tr:return 536870912;default:return 16}default:return 16}}var Lr=null,Wu=null,To=null;function tm(){if(To)return To;var n,i=Wu,o=i.length,c,p="value"in Lr?Lr.value:Lr.textContent,y=p.length;for(n=0;n<o&&i[n]===p[n];n++);var w=o-n;for(c=1;c<=w&&i[o-c]===p[y-c];c++);return To=p.slice(n,1<c?1-c:void 0)}function Po(n){var i=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&i===13&&(n=13)):n=i,n===10&&(n=13),32<=n||n===13?n:0}function jo(){return!0}function nm(){return!1}function nn(n){function i(o,c,p,y,w){this._reactName=o,this._targetInst=p,this.type=c,this.nativeEvent=y,this.target=w,this.currentTarget=null;for(var P in n)n.hasOwnProperty(P)&&(o=n[P],this[P]=o?o(y):y[P]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?jo:nm,this.isPropagationStopped=nm,this}return X(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=jo)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=jo)},persist:function(){},isPersistent:jo}),i}var Ki={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hu=nn(Ki),Xa=X({},Ki,{view:0,detail:0}),$1=nn(Xa),Yu,Gu,Za,Do=X({},Xa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ku,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Za&&(Za&&n.type==="mousemove"?(Yu=n.screenX-Za.screenX,Gu=n.screenY-Za.screenY):Gu=Yu=0,Za=n),Yu)},movementY:function(n){return"movementY"in n?n.movementY:Gu}}),rm=nn(Do),W1=X({},Do,{dataTransfer:0}),H1=nn(W1),Y1=X({},Xa,{relatedTarget:0}),qu=nn(Y1),G1=X({},Ki,{animationName:0,elapsedTime:0,pseudoElement:0}),q1=nn(G1),K1=X({},Ki,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Q1=nn(K1),J1=X({},Ki,{data:0}),im=nn(J1),X1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Z1={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"},eb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tb(n){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(n):(n=eb[n])?!!i[n]:!1}function Ku(){return tb}var nb=X({},Xa,{key:function(n){if(n.key){var i=X1[n.key]||n.key;if(i!=="Unidentified")return i}return n.type==="keypress"?(n=Po(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Z1[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ku,charCode:function(n){return n.type==="keypress"?Po(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Po(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),rb=nn(nb),ib=X({},Do,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),am=nn(ib),ab=X({},Xa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ku}),sb=nn(ab),ob=X({},Ki,{propertyName:0,elapsedTime:0,pseudoElement:0}),lb=nn(ob),ub=X({},Do,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),cb=nn(ub),db=[9,13,27,32],Qu=d&&"CompositionEvent"in window,es=null;d&&"documentMode"in document&&(es=document.documentMode);var fb=d&&"TextEvent"in window&&!es,sm=d&&(!Qu||es&&8<es&&11>=es),om=" ",lm=!1;function um(n,i){switch(n){case"keyup":return db.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cm(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Qi=!1;function hb(n,i){switch(n){case"compositionend":return cm(i);case"keypress":return i.which!==32?null:(lm=!0,om);case"textInput":return n=i.data,n===om&&lm?null:n;default:return null}}function mb(n,i){if(Qi)return n==="compositionend"||!Qu&&um(n,i)?(n=tm(),To=Wu=Lr=null,Qi=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return sm&&i.locale!=="ko"?null:i.data;default:return null}}var pb={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 dm(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i==="input"?!!pb[n.type]:i==="textarea"}function fm(n,i,o,c){wo(c),i=Mo(i,"onChange"),0<i.length&&(o=new Hu("onChange","change",null,o,c),n.push({event:o,listeners:i}))}var ts=null,ns=null;function gb(n){Rm(n,0)}function Ro(n){var i=ta(n);if(vr(i))return n}function yb(n,i){if(n==="change")return i}var hm=!1;if(d){var Ju;if(d){var Xu="oninput"in document;if(!Xu){var mm=document.createElement("div");mm.setAttribute("oninput","return;"),Xu=typeof mm.oninput=="function"}Ju=Xu}else Ju=!1;hm=Ju&&(!document.documentMode||9<document.documentMode)}function pm(){ts&&(ts.detachEvent("onpropertychange",gm),ns=ts=null)}function gm(n){if(n.propertyName==="value"&&Ro(ns)){var i=[];fm(i,ns,n,za(n)),li(gb,i)}}function vb(n,i,o){n==="focusin"?(pm(),ts=i,ns=o,ts.attachEvent("onpropertychange",gm)):n==="focusout"&&pm()}function xb(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Ro(ns)}function wb(n,i){if(n==="click")return Ro(i)}function bb(n,i){if(n==="input"||n==="change")return Ro(i)}function Sb(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var Ln=typeof Object.is=="function"?Object.is:Sb;function rs(n,i){if(Ln(n,i))return!0;if(typeof n!="object"||n===null||typeof i!="object"||i===null)return!1;var o=Object.keys(n),c=Object.keys(i);if(o.length!==c.length)return!1;for(c=0;c<o.length;c++){var p=o[c];if(!h.call(i,p)||!Ln(n[p],i[p]))return!1}return!0}function ym(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function vm(n,i){var o=ym(n);n=0;for(var c;o;){if(o.nodeType===3){if(c=n+o.textContent.length,n<=i&&c>=i)return{node:o,offset:i-n};n=c}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=ym(o)}}function xm(n,i){return n&&i?n===i?!0:n&&n.nodeType===3?!1:i&&i.nodeType===3?xm(n,i.parentNode):"contains"in n?n.contains(i):n.compareDocumentPosition?!!(n.compareDocumentPosition(i)&16):!1:!1}function wm(){for(var n=window,i=$e();i instanceof n.HTMLIFrameElement;){try{var o=typeof i.contentWindow.location.href=="string"}catch{o=!1}if(o)n=i.contentWindow;else break;i=$e(n.document)}return i}function Zu(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i&&(i==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||i==="textarea"||n.contentEditable==="true")}function Cb(n){var i=wm(),o=n.focusedElem,c=n.selectionRange;if(i!==o&&o&&o.ownerDocument&&xm(o.ownerDocument.documentElement,o)){if(c!==null&&Zu(o)){if(i=c.start,n=c.end,n===void 0&&(n=i),"selectionStart"in o)o.selectionStart=i,o.selectionEnd=Math.min(n,o.value.length);else if(n=(i=o.ownerDocument||document)&&i.defaultView||window,n.getSelection){n=n.getSelection();var p=o.textContent.length,y=Math.min(c.start,p);c=c.end===void 0?y:Math.min(c.end,p),!n.extend&&y>c&&(p=c,c=y,y=p),p=vm(o,y);var w=vm(o,c);p&&w&&(n.rangeCount!==1||n.anchorNode!==p.node||n.anchorOffset!==p.offset||n.focusNode!==w.node||n.focusOffset!==w.offset)&&(i=i.createRange(),i.setStart(p.node,p.offset),n.removeAllRanges(),y>c?(n.addRange(i),n.extend(w.node,w.offset)):(i.setEnd(w.node,w.offset),n.addRange(i)))}}for(i=[],n=o;n=n.parentNode;)n.nodeType===1&&i.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<i.length;o++)n=i[o],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var kb=d&&"documentMode"in document&&11>=document.documentMode,Ji=null,ec=null,is=null,tc=!1;function bm(n,i,o){var c=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;tc||Ji==null||Ji!==$e(c)||(c=Ji,"selectionStart"in c&&Zu(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),is&&rs(is,c)||(is=c,c=Mo(ec,"onSelect"),0<c.length&&(i=new Hu("onSelect","select",null,i,o),n.push({event:i,listeners:c}),i.target=Ji)))}function No(n,i){var o={};return o[n.toLowerCase()]=i.toLowerCase(),o["Webkit"+n]="webkit"+i,o["Moz"+n]="moz"+i,o}var Xi={animationend:No("Animation","AnimationEnd"),animationiteration:No("Animation","AnimationIteration"),animationstart:No("Animation","AnimationStart"),transitionend:No("Transition","TransitionEnd")},nc={},Sm={};d&&(Sm=document.createElement("div").style,"AnimationEvent"in window||(delete Xi.animationend.animation,delete Xi.animationiteration.animation,delete Xi.animationstart.animation),"TransitionEvent"in window||delete Xi.transitionend.transition);function Ao(n){if(nc[n])return nc[n];if(!Xi[n])return n;var i=Xi[n],o;for(o in i)if(i.hasOwnProperty(o)&&o in Sm)return nc[n]=i[o];return n}var Cm=Ao("animationend"),km=Ao("animationiteration"),Em=Ao("animationstart"),Tm=Ao("transitionend"),Pm=new Map,jm="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 Mr(n,i){Pm.set(n,i),l(i,[n])}for(var rc=0;rc<jm.length;rc++){var ic=jm[rc],Eb=ic.toLowerCase(),Tb=ic[0].toUpperCase()+ic.slice(1);Mr(Eb,"on"+Tb)}Mr(Cm,"onAnimationEnd"),Mr(km,"onAnimationIteration"),Mr(Em,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(Tm,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focu
38sin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var as="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(" "),Pb=new Set("cancel close invalid load scroll toggle".split(" ").concat(as));function Dm(n,i,o){var c=n.type||"unknown-event";n.currentTarget=o,De(c,i,void 0,n),n.currentTarget=null}function Rm(n,i){i=(i&4)!==0;for(var o=0;o<n.length;o++){var c=n[o],p=c.event;c=c.listeners;e:{var y=void 0;if(i)for(var w=c.length-1;0<=w;w--){var P=c[w],N=P.instance,H=P.currentTarget;if(P=P.listener,N!==y&&p.isPropagationStopped())break e;Dm(p,P,H),y=N}else for(w=0;w<c.length;w++){if(P=c[w],N=P.instance,H=P.currentTarget,P=P.listener,N!==y&&p.isPropagationStopped())break e;Dm(p,P,H),y=N}}}if(ee)throw n=oe,ee=!1,oe=null,n}function et(n,i){var o=i[fc];o===void 0&&(o=i[fc]=new Set);var c=n+"__bubble";o.has(c)||(Nm(i,n,2,!1),o.add(c))}function ac(n,i,o){var c=0;i&&(c|=4),Nm(o,n,c,i)}var Lo="_reactListening"+Math.random().toString(36).slice(2);function ss(n){if(!n[Lo]){n[Lo]=!0,a.forEach(function(o){o!=="selectionchange"&&(Pb.has(o)||ac(o,!1,n),ac(o,!0,n))});var i=n.nodeType===9?n:n.ownerDocument;i===null||i[Lo]||(i[Lo]=!0,ac("selectionchange",!1,i))}}function Nm(n,i,o,c){switch(em(i)){case 1:var p=z1;break;case 4:p=U1;break;default:p=Uu}o=p.bind(null,i,o,n),p=void 0,!Wa||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(p=!0),c?p!==void 0?n.addEventListener(i,o,{capture:!0,passive:p}):n.addEventListener(i,o,!0):p!==void 0?n.addEventListener(i,o,{passive:p}):n.addEventListener(i,o,!1)}function sc(n,i,o,c,p){var y=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var w=c.tag;if(w===3||w===4){var P=c.stateNode.containerInfo;if(P===p||P.nodeType===8&&P.parentNode===p)break;if(w===4)for(w=c.return;w!==null;){var N=w.tag;if((N===3||N===4)&&(N=w.stateNode.containerInfo,N===p||N.nodeType===8&&N.parentNode===p))return;w=w.return}for(;P!==null;){if(w=ci(P),w===null)return;if(N=w.tag,N===5||N===6){c=y=w;continue e}P=P.parentNode}}c=c.return}li(function(){var H=y,te=za(o),re=[];e:{var Z=Pm.get(n);if(Z!==void 0){var de=Hu,xe=n;switch(n){case"keypress":if(Po(o)===0)break e;case"keydown":case"keyup":de=rb;break;case"focusin":xe="focus",de=qu;break;case"focusout":xe="blur",de=qu;break;case"beforeblur":case"afterblur":de=qu;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":de=rm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":de=H1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":de=sb;break;case Cm:case km:case Em:de=q1;break;case Tm:de=lb;break;case"scroll":de=$1;break;case"wheel":de=cb;break;case"copy":case"cut":case"paste":de=Q1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":de=am}var be=(i&4)!==0,ht=!be&&n==="scroll",V=be?Z!==null?Z+"Capture":null:Z;be=[];for(var A=H,z;A!==null;){z=A;var se=z.stateNode;if(z.tag===5&&se!==null&&(z=se,V!==null&&(se=Er(A,V),se!=null&&be.push(os(A,se,z)))),ht)break;A=A.return}0<be.length&&(Z=new de(Z,xe,null,o,te),re.push({event:Z,listeners:be}))}}if((i&7)===0){e:{if(Z=n==="mouseover"||n==="pointerover",de=n==="mouseout"||n==="pointerout",Z&&o!==$i&&(xe=o.relatedTarget||o.fromElement)&&(ci(xe)||xe[lr]))break e;if((de||Z)&&(Z=te.window===te?te:(Z=te.ownerDocument)?Z.defaultView||Z.parentWindow:window,de?(xe=o.relatedTarget||o.toElement,de=H,xe=xe?ci(xe):null,xe!==null&&(ht=he(xe),xe!==ht||xe.tag!==5&&xe.tag!==6)&&(xe=null)):(de=null,xe=H),de!==xe)){if(be=rm,se="onMouseLeave",V="onMouseEnter",A="mou
38se",(n==="pointerout"||n==="pointerover")&&(be=am,se="onPointerLeave",V="onPointerEnter",A="pointer"),ht=de==null?Z:ta(de),z=xe==null?Z:ta(xe),Z=new be(se,A+"leave",de,o,te),Z.target=ht,Z.relatedTarget=z,se=null,ci(te)===H&&(be=new be(V,A+"enter",xe,o,te),be.target=z,be.relatedTarget=ht,se=be),ht=se,de&&xe)t:{for(be=de,V=xe,A=0,z=be;z;z=Zi(z))A++;for(z=0,se=V;se;se=Zi(se))z++;for(;0<A-z;)be=Zi(be),A--;for(;0<z-A;)V=Zi(V),z--;for(;A--;){if(be===V||V!==null&&be===V.alternate)break t;be=Zi(be),V=Zi(V)}be=null}else be=null;de!==null&&Am(re,Z,de,be,!1),xe!==null&&ht!==null&&Am(re,ht,xe,be,!0)}}e:{if(Z=H?ta(H):window,de=Z.nodeName&&Z.nodeName.toLowerCase(),de==="select"||de==="input"&&Z.type==="file")var ke=yb;else if(dm(Z))if(hm)ke=bb;else{ke=xb;var Te=vb}else(de=Z.nodeName)&&de.toLowerCase()==="input"&&(Z.type==="checkbox"||Z.type==="radio")&&(ke=wb);if(ke&&(ke=ke(n,H))){fm(re,ke,o,te);break e}Te&&Te(n,Z,H),n==="focusout"&&(Te=Z._wrapperState)&&Te.controlled&&Z.type==="number"&&Va(Z,"number",Z.value)}switch(Te=H?ta(H):window,n){case"focusin":(dm(Te)||Te.contentEditable==="true")&&(Ji=Te,ec=H,is=null);break;case"focusout":is=ec=Ji=null;break;case"mousedown":tc=!0;break;case"contextmenu":case"mouseup":case"dragend":tc=!1,bm(re,o,te);break;case"selectionchange":if(kb)break;case"keydown":case"keyup":bm(re,o,te)}var Pe;if(Qu)e:{switch(n){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else Qi?um(n,o)&&(Ae="onCompositionEnd"):n==="keydown"&&o.keyCode===229&&(Ae="onCompositionStart");Ae&&(sm&&o.locale!=="ko"&&(Qi||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&Qi&&(Pe=tm()):(Lr=te,Wu="value"in Lr?Lr.value:Lr.textContent,Qi=!0)),Te=Mo(H,Ae),0<Te.length&&(Ae=new im(Ae,n,null,o,te),re.push({event:Ae,listeners:Te}),Pe?Ae.data=Pe:(Pe=cm(o),Pe!==null&&(Ae.data=Pe)))),(Pe=fb?hb(n,o):mb(n,o))&&(H=Mo(H,"onBeforeInput"),0<H.length&&(te=new im("onBeforeInput","beforeinput",null,o,te),re.push({event:te,listeners:H}),te.data=Pe))}Rm(re,i)})}function os(n,i,o){return{instance:n,listener:i,currentTarget:o}}function Mo(n,i){for(var o=i+"Capture",c=[];n!==null;){var p=n,y=p.stateNode;p.tag===5&&y!==null&&(p=y,y=Er(n,o),y!=null&&c.unshift(os(n,y,p)),y=Er(n,i),y!=null&&c.push(os(n,y,p))),n=n.return}return c}function Zi(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function Am(n,i,o,c,p){for(var y=i._reactName,w=[];o!==null&&o!==c;){var P=o,N=P.alternate,H=P.stateNode;if(N!==null&&N===c)break;P.tag===5&&H!==null&&(P=H,p?(N=Er(o,y),N!=null&&w.unshift(os(o,N,P))):p||(N=Er(o,y),N!=null&&w.push(os(o,N,P)))),o=o.return}w.length!==0&&n.push({event:i,listeners:w})}var jb=/\r\n?/g,Db=/\u0000|\uFFFD/g;function Lm(n){return(typeof n=="string"?n:""+n).replace(jb,`
39`).replace(Db,"")}function Oo(n,i,o){if(i=Lm(i),Lm(n)!==i&&o)throw Error(r(425))}function Io(){}var oc=null,lc=null;function uc(n,i){return n==="textarea"||n==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var cc=typeof setTimeout=="function"?setTimeout:void 0,Rb=typeof clearTimeout=="function"?clearTimeout:void 0,Mm=typeof Promise=="function"?Promise:void 0,Nb=typeof queueMicrotask=="function"?queueMicrotask:typeof Mm<"u"?function(n){return Mm.resolve(null).then(n).catch(Ab)}:cc;function Ab(n){setTimeout(function(){throw n})}function dc(n,i){var o=i,c=0;do{var p=o.nextSibling;if(n.removeChild(o),p&&p.nodeType===8)if(o=p.data,o==="/$"){if(c===0){n.removeChild(p),Ja(i);return}c--}else o!=="$"&&o!=="$?"&&o!=="$!"||c++;o=p}while(o);Ja(i)}function Or(n){for(;n!=null;n=n.nextSibling){var i=n.nodeType;if(i===1||i===3)break;if(i===8){if(i=n.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return n}function Om(n){n=n.previousSibling;for(var i=0;n;){if(n.nodeType===8){var o=n.data;if(o==="$"||o==="$!"||o==="$?"){if(i===0)return n;i--}else o==="/$"&&i++}n=n.previousSibling}return null}var ea=Math.random().toString(36).slice(2),Gn="__reactFiber$"+ea,ls="__reactProps$"+ea,lr="__reactContainer$"+ea,fc="__reactEvents$"+ea,Lb="__reactListeners$"+ea,Mb="__reactHandles$"+ea;function ci(n){var i=n[Gn];if(i)return i;for(var o=n.parentNode;o;){if(i=o[lr]||o[Gn]){if(o=i.alternate,i.child!==null||o!==null&&o.child!==null)for(n=Om(n);n!==null;){if(o=n[Gn])return o;n=Om(n)}return i}n=o,o=n.parentNode}return null}function us(n){return n=n[Gn]||n[lr],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function ta(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(r(33))}function _o(n){return n[ls]||null}var hc=[],na=-1;function Ir(n){return{current:n}}function tt(n){0>na||(n.current=hc[na],hc[na]=null,na--)}function Ze(n,i){na++,hc[na]=n.current,n.current=i}var _r={},Mt=Ir(_r),Gt=Ir(!1),di=_r;function ra(n,i){var o=n.type.contextTypes;if(!o)return _r;var c=n.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===i)return c.__reactInternalMemoizedMaskedChildContext;var p={},y;for(y in o)p[y]=i[y];return c&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=i,n.__reactInternalMemoizedMaskedChildContext=p),p}function qt(n){return n=n.childContextTypes,n!=null}function Fo(){tt(Gt),tt(Mt)}function Im(n,i,o){if(Mt.current!==_r)throw Error(r(168));Ze(Mt,i),Ze(Gt,o)}function _m(n,i,o){var c=n.stateNode;if(i=i.childContextTypes,typeof c.getChildContext!="function")return o;c=c.getChildContext();for(var p in c)if(!(p in i))throw Error(r(108,Ie(n)||"Unknown",p));return X({},o,c)}function Vo(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||_r,di=Mt.current,Ze(
vendor: 9,036 bytes, line 39
39Mt,n),Ze(Gt,Gt.current),!0}function Fm(n,i,o){var c=n.stateNode;if(!c)throw Error(r(169));o?(n=_m(n,i,di),c.__reactInternalMemoizedMergedChildContext=n,tt(Gt),tt(Mt),Ze(Mt,n)):tt(Gt),Ze(Gt,o)}var ur=null,Bo=!1,mc=!1;function Vm(n){ur===null?ur=[n]:ur.push(n)}function Ob(n){Bo=!0,Vm(n)}function Fr(){if(!mc&&ur!==null){mc=!0;var n=0,i=Ge;try{var o=ur;for(Ge=1;n<o.length;n++){var c=o[n];do c=c(!0);while(c!==null)}ur=null,Bo=!1}catch(p){throw ur!==null&&(ur=ur.slice(n+1)),Xe(ar,Fr),p}finally{Ge=i,mc=!1}}return null}var ia=[],aa=0,zo=null,Uo=0,pn=[],gn=0,fi=null,cr=1,dr="";function hi(n,i){ia[aa++]=Uo,ia[aa++]=zo,zo=n,Uo=i}function Bm(n,i,o){pn[gn++]=cr,pn[gn++]=dr,pn[gn++]=fi,fi=n;var c=cr;n=dr;var p=32-Le(c)-1;c&=~(1<<p),o+=1;var y=32-Le(i)+p;if(30<y){var w=p-p%5;y=(c&(1<<w)-1).toString(32),c>>=w,p-=w,cr=1<<32-Le(i)+p|o<<p|c,dr=y+n}else cr=1<<y|o<<p|c,dr=n}function pc(n){n.return!==null&&(hi(n,1),Bm(n,1,0))}function gc(n){for(;n===zo;)zo=ia[--aa],ia[aa]=null,Uo=ia[--aa],ia[aa]=null;for(;n===fi;)fi=pn[--gn],pn[gn]=null,dr=pn[--gn],pn[gn]=null,cr=pn[--gn],pn[gn]=null}var rn=null,an=null,it=!1,Mn=null;function zm(n,i){var o=wn(5,null,null,0);o.elementType="DELETED",o.stateNode=i,o.return=n,i=n.deletions,i===null?(n.deletions=[o],n.flags|=16):i.push(o)}function Um(n,i){switch(n.tag){case 5:var o=n.type;return i=i.nodeType!==1||o.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(n.stateNode=i,rn=n,an=Or(i.firstChild),!0):!1;case 6:return i=n.pendingProps===""||i.nodeType!==3?null:i,i!==null?(n.stateNode=i,rn=n,an=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(o=fi!==null?{id:cr,overflow:dr}:null,n.memoizedState={dehydrated:i,treeContext:o,retryLane:1073741824},o=wn(18,null,null,0),o.stateNode=i,o.return=n,n.child=o,rn=n,an=null,!0):!1;default:return!1}}function yc(n){return(n.mode&1)!==0&&(n.flags&128)===0}function vc(n){if(it){var i=an;if(i){var o=i;if(!Um(n,i)){if(yc(n))throw Error(r(418));i=Or(o.nextSibling);var c=rn;i&&Um(n,i)?zm(c,o):(n.flags=n.flags&-4097|2,it=!1,rn=n)}}else{if(yc(n))throw Error(r(418));n.flags=n.flags&-4097|2,it=!1,rn=n}}}function $m(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;rn=n}function $o(n){if(n!==rn)return!1;if(!it)return $m(n),it=!0,!1;var i;if((i=n.tag!==3)&&!(i=n.tag!==5)&&(i=n.type,i=i!=="head"&&i!=="body"&&!uc(n.type,n.memoizedProps)),i&&(i=an)){if(yc(n))throw Wm(),Error(r(418));for(;i;)zm(n,i),i=Or(i.nextSibling)}if($m(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));e:{for(n=n.nextSibling,i=0;n;){if(n.nodeType===8){var o=n.data;if(o==="/$"){if(i===0){an=Or(n.nextSibling);break e}i--}else o!=="$"&&o!=="$!"&&o!=="$?"||i++}n=n.nextSibling}an=null}}else an=rn?Or(n.stateNode.nextSibling):null;return!0}function Wm(){for(var n=an;n;)n=Or(n.nextSibling)}function sa(){an=rn=null,it=!1}function xc(n){Mn===null?Mn=[n]:Mn.push(n)}var Ib=F.ReactCurrentBatchConfig;function cs(n,i,o){if(n=o.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(r(309));var c=o.stateNode}if(!c)throw Error(r(147,n));var p=c,y=""+n;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===y?i.ref:(i=function(w){var P=p.refs;w===null?delete P[y]:P[y]=w},i._stringRef=y,i)}if(typeof n!="string")throw Error(r(284));if(!o._owner)throw Error(r(290,n))}return n}function Wo(n,i){throw n=Object.prototype.toString.call(i),Error(r(31,n==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":n))}function Hm(n){var i=n._init;return i(n._payload)}function Ym(n){function i(V,A){if(n){var z=V.deletions;z===null?(V.deletions=[A],V.flags|=16):z.push(A)}}function o(V,A){if(!n)return null;for(;A!==null;)i(V,A),A=A.sibling;return null}function c(V,A){for(V=new Map;A!==null;)A.key!==null?V.set(A.key,A):V.set(A.index,A),A=A.sibling;return V}function p(V,A){return V=Yr(V,A),V.index=0,V.sibling=null,V}function y(V,A,z){return V.index=z,n?(z=V.alternate,z!==null?(z=z.index,z<A?(V.flags|=2,A):z):(V.flags|=2,A)):(V.flags|=1048576,A)}function w(V){return n&&V.alternate===null&&(V.flags|=2),V}function P(V,A,z,se){return A===null||A.tag!==6?(A=cd(z,V.mode,se),A.return=V,A):(A=p(A,z),A.return=V,A)}function N(V,A,z,se){var ke=z.type;return ke===W?te(V,A,z.props.children,se,z.key):A!==null&&(A.elementType===ke||typeof ke=="object"&&ke!==null&&ke.$$typeof===ie&&Hm(ke)===A.type)?(se=p(A,z.props),se.ref=cs(V,A,z),se.return=V,se):(se=ml(z.type,z.key,z.props,null,V.mode,se),se.ref=cs(V,A,z),se.return=V,se)}function H(V,A,z,se){return A===null||A.tag!==4||A.stateNode.containerInfo!==z.containerInfo||A.stateNode.implementation!==z.implementation?(A=dd(z,V.mode,se),A.return=V,A):(A=p(A,z.children||[]),A.return=V,A)}function te(V,A,z,se,ke){return A===null||A.tag!==7?(A=bi(z,V.mode,se,ke),A.return=V,A):(A=p(A,z),A.return=V,A)}function re(V,A,z){if(typeof A=="string"&&A!==""||typeof A=="number")return A=cd(""+A,V.mode,z),A.return=V,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case U:return z=ml(A.type,A.key,A.props,null,V.mode,z),z.ref=cs(V,null,A),z.return=V,z;case J:return A=dd(A,V.mode,z),A.return=V,A;case ie:var se=A._init;return re(V,se(A._payload),z)}if(xr(A)||Q(A))return A=bi(A,V.mode,z,null),A.return=V,A;Wo(V,A)}return null}function Z(V,A,z,se){var ke=A!==null?A.key:null;if(typeof z=="string"&&z!==""||typeof z=="number")return ke!==null?null:P(V,A,""+z,se);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case U:return z.key===ke?N(V,A,z,se):null;case J:return z.key===ke?H(V,A,z,se):null;case ie:return ke=z._init,Z(V,A,ke(z._payload),se)}if(xr(z)||Q(z))return ke!==null?null:te(V,A,z,se,null);Wo(V,z)}return null}function de(V,A,z,se,ke){if(typeof se=="string"&&se!==""||typeof se=="number")return V=V.get(z)||null,P(A,V,""+se,ke);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case U:return V=V.get(se.key===null?z:se.key)||null,N(A,V,se,ke);case J:return V=V.get(se.key===null?z:se.key)||null,H(A,V,se,ke);case ie:var Te=se._init;return de(V,A,z,Te(se._payload),ke)}if(xr(se)||Q(se))return V=V.get(z)||null,te(A,V,se,ke,null);Wo(A,se)}return null}function xe(V,A,z,se){for(var ke=null,Te=null,Pe=A,Ae=A=0,Ct=null;Pe!==null&&Ae<z.length;Ae++){Pe.index>Ae?(Ct=Pe,Pe=null):Ct=Pe.sibling;var We=Z(V,Pe,z[Ae],se);if(We===null){Pe===null&&(Pe=Ct);break}n&&Pe&&We.alternate===null&&i(V,Pe),A=y(We,A,Ae),Te===null?ke=We:Te.sibling=We,Te=We,Pe=Ct}if(Ae===z.length)return o(V,Pe),it&&hi(V,Ae),ke;if(Pe===null){for(;Ae<z.length;Ae++)Pe=re(V,z[Ae],se),Pe!==null&&(A=y(Pe,A,Ae),Te===null?ke=Pe:Te.sibling=Pe,Te=Pe);return it&&hi(V,Ae),ke}for(Pe=c(V,Pe);Ae<z.length;Ae++)Ct=de(Pe,V,Ae,z[Ae],se),Ct!==null&&(n&&Ct.alternate!==null&&Pe.delete(Ct.key===null?Ae:Ct.key),A=y(Ct,A,Ae),Te===null?ke=Ct:Te.sibling=Ct,Te=Ct);return n&&Pe.forEach(function(Gr){return i(V,Gr)}),it&&hi(V,Ae),ke}function be(V,A,z,se){var ke=Q(z);if(typeof ke!="function")throw Error(r(150));if(z=ke.call(z),z==null)throw Error(r(151));for(var Te=ke=null,Pe=A,Ae=A=0,Ct=null,We=z.next();Pe!==null&&!We.done;Ae++,We=z.next()){Pe.index>Ae?(Ct=Pe,Pe=null):Ct=Pe.sibling;var Gr=Z(V,Pe,We.value,se);if(Gr===null){Pe===null&&(Pe=Ct);break}n&&Pe&&Gr.alternate===null&&i(V,Pe),A=y(Gr,A,Ae),Te===null?ke=Gr:Te.sibling=Gr,Te=Gr,Pe=Ct}if(We.done)return o(V,Pe),it&&hi(V,Ae),ke;if(Pe===null){for(;!We.done;Ae++,We=z.next())We=re(V,We.value,se),We!==null&&(A=y(We,A,Ae),Te===null?ke=We:Te.sibling=We,Te=We);return it&&hi(V,Ae),ke}for(Pe=c(V,Pe);!We.done;Ae++,We=z.next())We=de(Pe,V,Ae,We.value,se),We!==null&&(n&&We.alternate!==null&&Pe.delete(We.key===null?Ae:We.key),A=y(We,A,Ae),Te===null?ke=We:Te.sibling=We,Te=We);return n&&Pe.forEach(function(p2){return i(V,p2)}),it&&hi(V,Ae),ke}function ht(V,A,z,se){if(typeof z=="object"&&z!==null&&z.type===W&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case U:e:{for(var ke=z.key,Te=A;Te!==null;){if(Te.key===ke){if(ke=z.type,ke===W){if(Te.tag===7){o(V,Te.sibling),A=p(Te,z.props.children),A.return=V,V=A;break e}}else if(Te.elementType===ke||typeof ke=="object"&&ke!==null&&ke.$$typeof===ie&&Hm(ke)===Te.type){o(V,Te.sibling),A=p(Te,z.props),A.ref=cs(V,Te,z),A.return=V,V=A;break e}o(V,Te);break}else i(V,Te);Te=Te.sibling}z.type===W?(A=bi(z.props.children,V.mode,se,z.key),A.return=V,V=A):(se=ml(z.type,z.key,z.props,null,V.mode,se),se.ref=cs(V,A,z),se.return=V,V=se)}return w(V);case J:e:{for(Te=z.key;A!==null;){if(A.key===Te)if(A.tag===4&&A.stateNode.containerInfo===z.containerInfo&&A.stateNode.implementation===z.implementation){o(V,A.sibling),A=p(A,z.children||[]),A.return=V,V=A;break e}else{o(V,A);break}else i(V,A);A=A.sibling}A=dd(z,V.mode,se),A.return=V,V=A}return w(V);case ie:return Te=z._init,ht(V,A,Te(z._payload),se)}if(xr(z))return xe(V,A,z,se);if(Q(z))return be(V,A,z,se);Wo(V,z)}return typeof z=="string"&&z!==""||typeof z=="number"?(z=""+z,A!==null&&A.tag===6?(o(V,A.sibling),A=p(A,z),A.return=V,V=A):(o(V,A),A=cd(z,V.mode,se),A.return=V,V=A),w(V)):o(V,A)}return ht}var oa=Ym(!0),Gm=Ym(!1),Ho=Ir(null),Yo=null,la=null,wc=null;
vendor: 5,188 bytes, line 39
39function bc(){wc=la=Yo=null}function Sc(n){var i=Ho.current;tt(Ho),n._currentValue=i}function Cc(n,i,o){for(;n!==null;){var c=n.alternate;if((n.childLanes&i)!==i?(n.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),n===o)break;n=n.return}}function ua(n,i){Yo=n,wc=la=null,n=n.dependencies,n!==null&&n.firstContext!==null&&((n.lanes&i)!==0&&(Kt=!0),n.firstContext=null)}function yn(n){var i=n._currentValue;if(wc!==n)if(n={context:n,memoizedValue:i,next:null},la===null){if(Yo===null)throw Error(r(308));la=n,Yo.dependencies={lanes:0,firstContext:n}}else la=la.next=n;return i}var mi=null;function kc(n){mi===null?mi=[n]:mi.push(n)}function qm(n,i,o,c){var p=i.interleaved;return p===null?(o.next=o,kc(i)):(o.next=p.next,p.next=o),i.interleaved=o,fr(n,c)}function fr(n,i){n.lanes|=i;var o=n.alternate;for(o!==null&&(o.lanes|=i),o=n,n=n.return;n!==null;)n.childLanes|=i,o=n.alternate,o!==null&&(o.childLanes|=i),o=n,n=n.return;return o.tag===3?o.stateNode:null}var Vr=!1;function Ec(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Km(n,i){n=n.updateQueue,i.updateQueue===n&&(i.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function hr(n,i){return{eventTime:n,lane:i,tag:0,payload:null,callback:null,next:null}}function Br(n,i,o){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(Ue&2)!==0){var p=c.pending;return p===null?i.next=i:(i.next=p.next,p.next=i),c.pending=i,fr(n,o)}return p=c.interleaved,p===null?(i.next=i,kc(c)):(i.next=p.next,p.next=i),c.interleaved=i,fr(n,o)}function Go(n,i,o){if(i=i.updateQueue,i!==null&&(i=i.shared,(o&4194240)!==0)){var c=i.lanes;c&=n.pendingLanes,o|=c,i.lanes=o,Vu(n,o)}}function Qm(n,i){var o=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,o===c)){var p=null,y=null;if(o=o.firstBaseUpdate,o!==null){do{var w={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};y===null?p=y=w:y=y.next=w,o=o.next}while(o!==null);y===null?p=y=i:y=y.next=i}else p=y=i;o={baseState:c.baseState,firstBaseUpdate:p,lastBaseUpdate:y,shared:c.shared,effects:c.effects},n.updateQueue=o;return}n=o.lastBaseUpdate,n===null?o.firstBaseUpdate=i:n.next=i,o.lastBaseUpdate=i}function qo(n,i,o,c){var p=n.updateQueue;Vr=!1;var y=p.firstBaseUpdate,w=p.lastBaseUpdate,P=p.shared.pending;if(P!==null){p.shared.pending=null;var N=P,H=N.next;N.next=null,w===null?y=H:w.next=H,w=N;var te=n.alternate;te!==null&&(te=te.updateQueue,P=te.lastBaseUpdate,P!==w&&(P===null?te.firstBaseUpdate=H:P.next=H,te.lastBaseUpdate=N))}if(y!==null){var re=p.baseState;w=0,te=H=N=null,P=y;do{var Z=P.lane,de=P.eventTime;if((c&Z)===Z){te!==null&&(te=te.next={eventTime:de,lane:0,tag:P.tag,payload:P.payload,callback:P.callback,next:null});e:{var xe=n,be=P;switch(Z=i,de=o,be.tag){case 1:if(xe=be.payload,typeof xe=="function"){re=xe.call(de,re,Z);break e}re=xe;break e;case 3:xe.flags=xe.flags&-65537|128;case 0:if(xe=be.payload,Z=typeof xe=="function"?xe.call(de,re,Z):xe,Z==null)break e;re=X({},re,Z);break e;case 2:Vr=!0}}P.callback!==null&&P.lane!==0&&(n.flags|=64,Z=p.effects,Z===null?p.effects=[P]:Z.push(P))}else de={eventTime:de,lane:Z,tag:P.tag,payload:P.payload,callback:P.callback,next:null},te===null?(H=te=de,N=re):te=te.next=de,w|=Z;if(P=P.next,P===null){if(P=p.shared.pending,P===null)break;Z=P,P=Z.next,Z.next=null,p.lastBaseUpdate=Z,p.shared.pending=null}}while(!0);if(te===null&&(N=re),p.baseState=N,p.firstBaseUpdate=H,p.lastBaseUpdate=te,i=p.shared.interleaved,i!==null){p=i;do w|=p.lane,p=p.next;while(p!==i)}else y===null&&(p.shared.lanes=0);yi|=w,n.lanes=w,n.memoizedState=re}}function Jm(n,i,o){if(n=i.effects,i.effects=null,n!==null)for(i=0;i<n.length;i++){var c=n[i],p=c.callback;if(p!==null){if(c.callback=null,c=o,typeof p!="function")throw Error(r(191,p));p.call(c)}}}var ds={},qn=Ir(ds),fs=Ir(ds),hs=Ir(ds);function pi(n){if(n===ds)throw Error(r(174));return n}function Tc(n,i){switch(Ze(hs,i),Ze(fs,n),Ze(qn,ds),n=i.nodeType,n){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:Vi(null,"");break;default:n=n===8?i.parentNode:i,i=n.namespaceURI||null,n=n.tagName,i=Vi(i,n)}tt(qn),Ze(qn,i)}function ca(){tt(qn),tt(fs),tt(hs)}function Xm(n){pi(hs.current);var i=pi(qn.current),o=Vi(i,n.type);i!==o&&(Ze(fs,n),Ze(qn,o))}function Pc(n){fs.current===n&&(tt(qn),tt(fs))}var at=Ir(0);function Ko(n){for(var i=n;i!==null;){if(i.tag===13){var o=i.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var jc=[];function Dc(){for(var n=0;n<jc.length;n++)jc[n]._workInProgressVersionPrimary=null;jc.length=0}var Qo=F.ReactCurrentDispatcher,Rc=F.ReactCurrentBatchConfig,gi=0,st=null,yt=null,bt=null,Jo=!1,ms=!1,ps=0,_b=0;function Ot(){throw Error(r(321))}
vendor: 8,354 bytes, line 39
39function Nc(n,i){if(i===null)return!1;for(var o=0;o<i.length&&o<n.length;o++)if(!Ln(n[o],i[o]))return!1;return!0}function Ac(n,i,o,c,p,y){if(gi=y,st=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,Qo.current=n===null||n.memoizedState===null?zb:Ub,n=o(c,p),ms){y=0;do{if(ms=!1,ps=0,25<=y)throw Error(r(301));y+=1,bt=yt=null,i.updateQueue=null,Qo.current=$b,n=o(c,p)}while(ms)}if(Qo.current=el,i=yt!==null&&yt.next!==null,gi=0,bt=yt=st=null,Jo=!1,i)throw Error(r(300));return n}function Lc(){var n=ps!==0;return ps=0,n}function Kn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bt===null?st.memoizedState=bt=n:bt=bt.next=n,bt}function vn(){if(yt===null){var n=st.alternate;n=n!==null?n.memoizedState:null}else n=yt.next;var i=bt===null?st.memoizedState:bt.next;if(i!==null)bt=i,yt=n;else{if(n===null)throw Error(r(310));yt=n,n={memoizedState:yt.memoizedState,baseState:yt.baseState,baseQueue:yt.baseQueue,queue:yt.queue,next:null},bt===null?st.memoizedState=bt=n:bt=bt.next=n}return bt}function gs(n,i){return typeof i=="function"?i(n):i}function Mc(n){var i=vn(),o=i.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=n;var c=yt,p=c.baseQueue,y=o.pending;if(y!==null){if(p!==null){var w=p.next;p.next=y.next,y.next=w}c.baseQueue=p=y,o.pending=null}if(p!==null){y=p.next,c=c.baseState;var P=w=null,N=null,H=y;do{var te=H.lane;if((gi&te)===te)N!==null&&(N=N.next={lane:0,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null}),c=H.hasEagerState?H.eagerState:n(c,H.action);else{var re={lane:te,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null};N===null?(P=N=re,w=c):N=N.next=re,st.lanes|=te,yi|=te}H=H.next}while(H!==null&&H!==y);N===null?w=c:N.next=P,Ln(c,i.memoizedState)||(Kt=!0),i.memoizedState=c,i.baseState=w,i.baseQueue=N,o.lastRenderedState=c}if(n=o.interleaved,n!==null){p=n;do y=p.lane,st.lanes|=y,yi|=y,p=p.next;while(p!==n)}else p===null&&(o.lanes=0);return[i.memoizedState,o.dispatch]}function Oc(n){var i=vn(),o=i.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=n;var c=o.dispatch,p=o.pending,y=i.memoizedState;if(p!==null){o.pending=null;var w=p=p.next;do y=n(y,w.action),w=w.next;while(w!==p);Ln(y,i.memoizedState)||(Kt=!0),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),o.lastRenderedState=y}return[y,c]}function Zm(){}function ep(n,i){var o=st,c=vn(),p=i(),y=!Ln(c.memoizedState,p);if(y&&(c.memoizedState=p,Kt=!0),c=c.queue,Ic(rp.bind(null,o,c,n),[n]),c.getSnapshot!==i||y||bt!==null&&bt.memoizedState.tag&1){if(o.flags|=2048,ys(9,np.bind(null,o,c,p,i),void 0,null),St===null)throw Error(r(349));(gi&30)!==0||tp(o,i,p)}return p}function tp(n,i,o){n.flags|=16384,n={getSnapshot:i,value:o},i=st.updateQueue,i===null?(i={lastEffect:null,stores:null},st.updateQueue=i,i.stores=[n]):(o=i.stores,o===null?i.stores=[n]:o.push(n))}function np(n,i,o,c){i.value=o,i.getSnapshot=c,ip(i)&&ap(n)}function rp(n,i,o){return o(function(){ip(i)&&ap(n)})}function ip(n){var i=n.getSnapshot;n=n.value;try{var o=i();return!Ln(n,o)}catch{return!0}}function ap(n){var i=fr(n,1);i!==null&&Fn(i,n,1,-1)}function sp(n){var i=Kn();return typeof n=="function"&&(n=n()),i.memoizedState=i.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:gs,lastRenderedState:n},i.queue=n,n=n.dispatch=Bb.bind(null,st,n),[i.memoizedState,n]}function ys(n,i,o,c){return n={tag:n,create:i,destroy:o,deps:c,next:null},i=st.updateQueue,i===null?(i={lastEffect:null,stores:null},st.updateQueue=i,i.lastEffect=n.next=n):(o=i.lastEffect,o===null?i.lastEffect=n.next=n:(c=o.next,o.next=n,n.next=c,i.lastEffect=n)),n}function op(){return vn().memoizedState}function Xo(n,i,o,c){var p=Kn();st.flags|=n,p.memoizedState=ys(1|i,o,void 0,c===void 0?null:c)}function Zo(n,i,o,c){var p=vn();c=c===void 0?null:c;var y=void 0;if(yt!==null){var w=yt.memoizedState;if(y=w.destroy,c!==null&&Nc(c,w.deps)){p.memoizedState=ys(i,o,y,c);return}}st.flags|=n,p.memoizedState=ys(1|i,o,y,c)}function lp(n,i){return Xo(8390656,8,n,i)}function Ic(n,i){return Zo(2048,8,n,i)}function up(n,i){return Zo(4,2,n,i)}function cp(n,i){return Zo(4,4,n,i)}function dp(n,i){if(typeof i=="function")return n=n(),i(n),function(){i(null)};if(i!=null)return n=n(),i.current=n,function(){i.current=null}}function fp(n,i,o){return o=o!=null?o.concat([n]):null,Zo(4,4,dp.bind(null,i,n),o)}function _c(){}function hp(n,i){var o=vn();i=i===void 0?null:i;var c=o.memoizedState;return c!==null&&i!==null&&Nc(i,c[1])?c[0]:(o.memoizedState=[n,i],n)}function mp(n,i){var o=vn();i=i===void 0?null:i;var c=o.memoizedState;return c!==null&&i!==null&&Nc(i,c[1])?c[0]:(n=n(),o.memoizedState=[n,i],n)}function pp(n,i,o){return(gi&21)===0?(n.baseState&&(n.baseState=!1,Kt=!0),n.memoizedState=o):(Ln(o,i)||(o=Hh(),st.lanes|=o,yi|=o,n.baseState=!0),i)}function Fb(n,i){var o=Ge;Ge=o!==0&&4>o?o:4,n(!0);var c=Rc.transition;Rc.transition={};try{n(!1),i()}finally{Ge=o,Rc.transition=c}}function gp(){return vn().memoizedState}function Vb(n,i,o){var c=Wr(n);if(o={lane:c,action:o,hasEagerState:!1,eagerState:null,next:null},yp(n))vp(i,o);else if(o=qm(n,i,o,c),o!==null){var p=Wt();Fn(o,n,c,p),xp(o,i,c)}}function Bb(n,i,o){var c=Wr(n),p={lane:c,action:o,hasEagerState:!1,eagerState:null,next:null};if(yp(n))vp(i,p);else{var y=n.alternate;if(n.lanes===0&&(y===null||y.lanes===0)&&(y=i.lastRenderedReducer,y!==null))try{var w=i.lastRenderedState,P=y(w,o);if(p.hasEagerState=!0,p.eagerState=P,Ln(P,w)){var N=i.interleaved;N===null?(p.next=p,kc(i)):(p.next=N.next,N.next=p),i.interleaved=p;return}}catch{}finally{}o=qm(n,i,p,c),o!==null&&(p=Wt(),Fn(o,n,c,p),xp(o,i,c))}}function yp(n){var i=n.alternate;return n===st||i!==null&&i===st}function vp(n,i){ms=Jo=!0;var o=n.pending;o===null?i.next=i:(i.next=o.next,o.next=i),n.pending=i}function xp(n,i,o){if((o&4194240)!==0){var c=i.lanes;c&=n.pendingLanes,o|=c,i.lanes=o,Vu(n,o)}}var el={readContext:yn,useCallback:Ot,useContext:Ot,useEffect:Ot,useImperativeHandle:Ot,useInsertionEffect:Ot,useLayoutEffect:Ot,useMemo:Ot,useReducer:Ot,useRef:Ot,useState:Ot,useDebugValue:Ot,useDeferredValue:Ot,useTransition:Ot,useMutableSource:Ot,useSyncExternalStore:Ot,useId:Ot,unstable_isNewReconciler:!1},zb={readContext:yn,useCallback:function(n,i){return Kn().memoizedState=[n,i===void 0?null:i],n},useContext:yn,useEffect:lp,useImperativeHandle:function(n,i,o){return o=o!=null?o.concat([n]):null,Xo(4194308,4,dp.bind(null,i,n),o)},useLayoutEffect:function(n,i){return Xo(4194308,4,n,i)},useInsertionEffect:function(n,i){return Xo(4,2,n,i)},useMemo:function(n,i){var o=Kn();return i=i===void 0?null:i,n=n(),o.memoizedState=[n,i],n},useReducer:function(n,i,o){var c=Kn();return i=o!==void 0?o(i):i,c.memoizedState=c.baseState=i,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:i},c.queue=n,n=n.dispatch=Vb.bind(null,st,n),[c.memoizedState,n]},useRef:function(n){var i=Kn();return n={current:n},i.memoizedState=n},useState:sp,useDebugValue:_c,useDeferredValue:function(n){return Kn().memoizedState=n},useTransition:function(){var n=sp(!1),i=n[0];return n=Fb.bind(null,n[1]),Kn().memoizedState=n,[i,n]},useMutableSource:function(){},useSyncExternalStore:function(n,i,o){var c=st,p=Kn();if(it){if(o===void 0)throw Error(r(407));o=o()}else{if(o=i(),St===null)throw Error(r(349));(gi&30)!==0||tp(c,i,o)}p.memoizedState=o;var y={value:o,getSnapshot:i};return p.queue=y,lp(rp.bind(null,c,y,n),[n]),c.flags|=2048,ys(9,np.bind(null,c,y,o,i),void 0,null),o},useId:function(){var n=Kn(),i=St.identifierPrefix;if(it){var o=dr,c=cr;o=(c&~(1<<32-Le(c)-1)).toString(32)+o,i=":"+i+"R"+o,o=ps++,0<o&&(i+="H"+o.toString(32)),i+=":"}else o=_b++,i=":"+i+"r"+o.toString(32)+":";return n.memoizedState=i},unstable_isNewReconciler:!1},Ub={readContext:yn,useCallback:hp,useContext:yn,useEffect:Ic,useImperativeHandle:fp,useInsertionEffect:up,useLayoutEffect:cp,useMemo:mp,useReducer:Mc,useRef:op,useState:function(){return Mc(gs)},useDebugValue:_c,useDeferredValue:function(n){var i=vn();return pp(i,yt.memoizedState,n)},useTransition:function(){var n=Mc(gs)[0],i=vn().memoizedState;return[n,i]},useMutableSource:Zm,useSyncExternalStore:ep,useId:gp,unstable_isNewReconciler:!1},$b={readContext:yn,useCallback:hp,useContext:yn,useEffect:Ic,useImperativeHandle:fp,useInsertionEffect:up,useLayoutEffect:cp,useMemo:mp,useReducer:Oc,useRef
vendor: 4,084 bytes, lines 39-41
39:op,useState:function(){return Oc(gs)},useDebugValue:_c,useDeferredValue:function(n){var i=vn();return yt===null?i.memoizedState=n:pp(i,yt.memoizedState,n)},useTransition:function(){var n=Oc(gs)[0],i=vn().memoizedState;return[n,i]},useMutableSource:Zm,useSyncExternalStore:ep,useId:gp,unstable_isNewReconciler:!1};function On(n,i){if(n&&n.defaultProps){i=X({},i),n=n.defaultProps;for(var o in n)i[o]===void 0&&(i[o]=n[o]);return i}return i}function Fc(n,i,o,c){i=n.memoizedState,o=o(c,i),o=o==null?i:X({},i,o),n.memoizedState=o,n.lanes===0&&(n.updateQueue.baseState=o)}var tl={isMounted:function(n){return(n=n._reactInternals)?he(n)===n:!1},enqueueSetState:function(n,i,o){n=n._reactInternals;var c=Wt(),p=Wr(n),y=hr(c,p);y.payload=i,o!=null&&(y.callback=o),i=Br(n,y,p),i!==null&&(Fn(i,n,p,c),Go(i,n,p))},enqueueReplaceState:function(n,i,o){n=n._reactInternals;var c=Wt(),p=Wr(n),y=hr(c,p);y.tag=1,y.payload=i,o!=null&&(y.callback=o),i=Br(n,y,p),i!==null&&(Fn(i,n,p,c),Go(i,n,p))},enqueueForceUpdate:function(n,i){n=n._reactInternals;var o=Wt(),c=Wr(n),p=hr(o,c);p.tag=2,i!=null&&(p.callback=i),i=Br(n,p,c),i!==null&&(Fn(i,n,c,o),Go(i,n,c))}};function wp(n,i,o,c,p,y,w){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,y,w):i.prototype&&i.prototype.isPureReactComponent?!rs(o,c)||!rs(p,y):!0}function bp(n,i,o){var c=!1,p=_r,y=i.contextType;return typeof y=="object"&&y!==null?y=yn(y):(p=qt(i)?di:Mt.current,c=i.contextTypes,y=(c=c!=null)?ra(n,p):_r),i=new i(o,y),n.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=tl,n.stateNode=i,i._reactInternals=n,c&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=p,n.__reactInternalMemoizedMaskedChildContext=y),i}function Sp(n,i,o,c){n=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(o,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(o,c),i.state!==n&&tl.enqueueReplaceState(i,i.state,null)}function Vc(n,i,o,c){var p=n.stateNode;p.props=o,p.state=n.memoizedState,p.refs={},Ec(n);var y=i.contextType;typeof y=="object"&&y!==null?p.context=yn(y):(y=qt(i)?di:Mt.current,p.context=ra(n,y)),p.state=n.memoizedState,y=i.getDerivedStateFromProps,typeof y=="function"&&(Fc(n,i,y,o),p.state=n.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(i=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),i!==p.state&&tl.enqueueReplaceState(p,p.state,null),qo(n,o,p,c),p.state=n.memoizedState),typeof p.componentDidMount=="function"&&(n.flags|=4194308)}function da(n,i){try{var o="",c=i;do o+=ye(c),c=c.return;while(c);var p=o}catch(y){p=`
40Error generating stack: `+y.message+`
41`+y.stack}return{value:n,source:i,stack:p,digest:null}}function Bc(n,i,o){return{value:n,source:null,stack:o??null,digest:i??null}}function zc(n,i){try{console.error(i.value)}catch(o){setTimeout(function(){throw o})}}var Wb=typeof WeakMap=="function"?WeakMap:Map;function Cp(n,i,o){o=hr(-1,o),o.tag=3,o.payload={element:null};var c=i.value;return o.callback=function(){ll||(ll=!0,nd=c),zc(n,i)},o}function kp(n,i,o){o=hr(-1,o),o.tag=3;var c=n.type.getDerivedStateFromError;if(typeof c=="function"){var p=i.value;o.payload=function(){return c(p)},o.callback=function(){zc(n,i)}}var y=n.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(o.callback=function(){zc(n,i),typeof c!="function"&&(Ur===null?Ur=new Set([this]):Ur.add(this));var w=i.stack;this.componentDidCatch(i.value,{componentStack:w!==null?w:""})}),o}function Ep(n,i,o){var c=n.pingCache;if(c===null){c=n.pingCache=new Wb;var p=new Set;c.set(i,p)}else p=c.get(i),p===void 0&&(p=new Set,c.set(i,p));p.has(o)||(p.add(o),n=i2.bind(null,n,i,o),i.then(n,n))}function Tp(n){do{var i;if((i=n.tag===13)&&(i=n.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return n;n=n.return}while(n!==null);return null}
vendor: 12,560 bytes, line 41
41function Pp(n,i,o,c,p){return(n.mode&1)===0?(n===i?n.flags|=65536:(n.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(i=hr(-1,1),i.tag=2,Br(o,i,1))),o.lanes|=1),n):(n.flags|=65536,n.lanes=p,n)}var Hb=F.ReactCurrentOwner,Kt=!1;function $t(n,i,o,c){i.child=n===null?Gm(i,null,o,c):oa(i,n.child,o,c)}function jp(n,i,o,c,p){o=o.render;var y=i.ref;return ua(i,p),c=Ac(n,i,o,c,y,p),o=Lc(),n!==null&&!Kt?(i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~p,mr(n,i,p)):(it&&o&&pc(i),i.flags|=1,$t(n,i,c,p),i.child)}function Dp(n,i,o,c,p){if(n===null){var y=o.type;return typeof y=="function"&&!ud(y)&&y.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(i.tag=15,i.type=y,Rp(n,i,y,c,p)):(n=ml(o.type,null,c,i,i.mode,p),n.ref=i.ref,n.return=i,i.child=n)}if(y=n.child,(n.lanes&p)===0){var w=y.memoizedProps;if(o=o.compare,o=o!==null?o:rs,o(w,c)&&n.ref===i.ref)return mr(n,i,p)}return i.flags|=1,n=Yr(y,c),n.ref=i.ref,n.return=i,i.child=n}function Rp(n,i,o,c,p){if(n!==null){var y=n.memoizedProps;if(rs(y,c)&&n.ref===i.ref)if(Kt=!1,i.pendingProps=c=y,(n.lanes&p)!==0)(n.flags&131072)!==0&&(Kt=!0);else return i.lanes=n.lanes,mr(n,i,p)}return Uc(n,i,o,c,p)}function Np(n,i,o){var c=i.pendingProps,p=c.children,y=n!==null?n.memoizedState:null;if(c.mode==="hidden")if((i.mode&1)===0)i.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ze(ha,sn),sn|=o;else{if((o&1073741824)===0)return n=y!==null?y.baseLanes|o:o,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:n,cachePool:null,transitions:null},i.updateQueue=null,Ze(ha,sn),sn|=n,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},c=y!==null?y.baseLanes:o,Ze(ha,sn),sn|=c}else y!==null?(c=y.baseLanes|o,i.memoizedState=null):c=o,Ze(ha,sn),sn|=c;return $t(n,i,p,o),i.child}function Ap(n,i){var o=i.ref;(n===null&&o!==null||n!==null&&n.ref!==o)&&(i.flags|=512,i.flags|=2097152)}function Uc(n,i,o,c,p){var y=qt(o)?di:Mt.current;return y=ra(i,y),ua(i,p),o=Ac(n,i,o,c,y,p),c=Lc(),n!==null&&!Kt?(i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~p,mr(n,i,p)):(it&&c&&pc(i),i.flags|=1,$t(n,i,o,p),i.child)}function Lp(n,i,o,c,p){if(qt(o)){var y=!0;Vo(i)}else y=!1;if(ua(i,p),i.stateNode===null)rl(n,i),bp(i,o,c),Vc(i,o,c,p),c=!0;else if(n===null){var w=i.stateNode,P=i.memoizedProps;w.props=P;var N=w.context,H=o.contextType;typeof H=="object"&&H!==null?H=yn(H):(H=qt(o)?di:Mt.current,H=ra(i,H));var te=o.getDerivedStateFromProps,re=typeof te=="function"||typeof w.getSnapshotBeforeUpdate=="function";re||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(P!==c||N!==H)&&Sp(i,w,c,H),Vr=!1;var Z=i.memoizedState;w.state=Z,qo(i,c,w,p),N=i.memoizedState,P!==c||Z!==N||Gt.current||Vr?(typeof te=="function"&&(Fc(i,o,te,c),N=i.memoizedState),(P=Vr||wp(i,o,P,c,Z,N,H))?(re||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(i.flags|=4194308)):(typeof w.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=N),w.props=c,w.state=N,w.context=H,c=P):(typeof w.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{w=i.stateNode,Km(n,i),P=i.memoizedProps,H=i.type===i.elementType?P:On(i.type,P),w.props=H,re=i.pendingProps,Z=w.context,N=o.contextType,typeof N=="object"&&N!==null?N=yn(N):(N=qt(o)?di:Mt.current,N=ra(i,N));var de=o.getDerivedStateFromProps;(te=typeof de=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(P!==re||Z!==N)&&Sp(i,w,c,N),Vr=!1,Z=i.memoizedState,w.state=Z,qo(i,c,w,p);var xe=i.memoizedState;P!==re||Z!==xe||Gt.current||Vr?(typeof de=="function"&&(Fc(i,o,de,c),xe=i.memoizedState),(H=Vr||wp(i,o,H,c,Z,xe,N)||!1)?(te||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(c,xe,N),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(c,xe,N)),typeof w.componentDidUpdate=="function"&&(i.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof w.componentDidUpdate!="function"||P===n.memoizedProps&&Z===n.memoizedState||(i.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||P===n.memoizedProps&&Z===n.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=xe),w.props=c,w.state=xe,w.context=N,c=H):(typeof w.componentDidUpdate!="function"||P===n.memoizedProps&&Z===n.memoizedState||(i.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||P===n.memoizedProps&&Z===n.memoizedState||(i.flags|=1024),c=!1)}return $c(n,i,o,c,y,p)}function $c(n,i,o,c,p,y){Ap(n,i);var w=(i.flags&128)!==0;if(!c&&!w)return p&&Fm(i,o,!1),mr(n,i,y);c=i.stateNode,Hb.current=i;var P=w&&typeof o.getDerivedStateFromError!="function"?null:c.render();return i.flags|=1,n!==null&&w?(i.child=oa(i,n.child,null,y),i.child=oa(i,null,P,y)):$t(n,i,P,y),i.memoizedState=c.state,p&&Fm(i,o,!0),i.child}function Mp(n){var i=n.stateNode;i.pendingContext?Im(n,i.pendingContext,i.pendingContext!==i.context):i.context&&Im(n,i.context,!1),Tc(n,i.containerInfo)}function Op(n,i,o,c,p){return sa(),xc(p),i.flags|=256,$t(n,i,o,c),i.child}var Wc={dehydrated:null,treeContext:null,retryLane:0};function Hc(n){return{baseLanes:n,cachePool:null,transitions:null}}function Ip(n,i,o){var c=i.pendingProps,p=at.current,y=!1,w=(i.flags&128)!==0,P;if((P=w)||(P=n!==null&&n.memoizedState===null?!1:(p&2)!==0),P?(y=!0,i.flags&=-129):(n===null||n.memoizedState!==null)&&(p|=1),Ze(at,p&1),n===null)return vc(i),n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?((i.mode&1)===0?i.lanes=1:n.data==="$!"?i.lanes=8:i.lanes=1073741824,null):(w=c.children,n=c.fallback,y?(c=i.mode,y=i.child,w={mode:"hidden",children:w},(c&1)===0&&y!==null?(y.childLanes=0,y.pendingProps=w):y=pl(w,c,0,null),n=bi(n,c,o,null),y.return=i,n.return=i,y.sibling=n,i.child=y,i.child.memoizedState=Hc(o),i.memoizedState=Wc,n):Yc(i,w));if(p=n.memoizedState,p!==null&&(P=p.dehydrated,P!==null))return Yb(n,i,w,c,P,p,o);if(y){y=c.fallback,w=i.mode,p=n.child,P=p.sibling;var N={mode:"hidden",children:c.children};return(w&1)===0&&i.child!==p?(c=i.child,c.childLanes=0,c.pendingProps=N,i.deletions=null):(c=Yr(p,N),c.subtreeFlags=p.subtreeFlags&14680064),P!==null?y=Yr(P,y):(y=bi(y,w,o,null),y.flags|=2),y.return=i,c.return=i,c.sibling=y,i.child=c,c=y,y=i.child,w=n.child.memoizedState,w=w===null?Hc(o):{baseLanes:w.baseLanes|o,cachePool:null,transitions:w.transitions},y.memoizedState=w,y.childLanes=n.childLanes&~o,i.memoizedState=Wc,c}return y=n.child,n=y.sibling,c=Yr(y,{mode:"visible",children:c.children}),(i.mode&1)===0&&(c.lanes=o),c.return=i,c.sibling=null,n!==null&&(o=i.deletions,o===null?(i.deletions=[n],i.flags|=16):o.push(n)),i.child=c,i.memoizedState=null,c}function Yc(n,i){return i=pl({mode:"visible",children:i},n.mode,0,null),i.return=n,n.child=i}function nl(n,i,o,c){return c!==null&&xc(c),oa(i,n.child,null,o),n=Yc(i,i.pendingProps.children),n.flags|=2,i.memoizedState=null,n}function Yb(n,i,o,c,p,y,w){if(o)return i.flags&256?(i.flags&=-257,c=Bc(Error(r(422))),nl(n,i,w,c)):i.memoizedState!==null?(i.child=n.child,i.flags|=128,null):(y=c.fallback,p=i.mode,c=pl({mode:"visible",children:c.children},p,0,null),y=bi(y,p,w,null),y.flags|=2,c.return=i,y.return=i,c.sibling=y,i.child=c,(i.mode&1)!==0&&oa(i,n.child,null,w),i.child.memoizedState=Hc(w),i.memoizedState=Wc,y);if((i.mode&1)===0)return nl(n,i,w,null);if(p.data==="$!"){if(c=p.nextSibling&&p.nextSibling.dataset,c)var P=c.dgst;return c=P,y=Error(r(419)),c=Bc(y,c,void 0),nl(n,i,w,c)}if(P=(w&n.childLanes)!==0,Kt||P){if(c=St,c!==null){switch(w&-w){case 4:p=2;break;case 16:p=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:p=32;break;case 536870912:p=268435456;break;default:p=0}p=(p&(c.suspendedLanes|w))!==0?0:p,p!==0&&p!==y.retryLane&&(y.retryLane=p,fr(n,p),Fn(c,n,p,-1))}return ld(),c=Bc(Error(r(421))),nl(n,i,w,c)}return p.data==="$?"?(i.flags|=128,i.child=n.child,i=a2.bind(null,n),p._reactRetry=i,null):(n=y.treeContext,an=Or(p.nextSibling),rn=i,it=!0,Mn=null,n!==null&&(pn[gn++]=cr,pn[gn++]=dr,pn[gn++]=fi,cr=n.id,dr=n.overflow,fi=i),i=Yc(i,c.children),i.flags|=4096,i)}function _p(n,i,o){n.lanes|=i;var c=n.alternate;c!==null&&(c.lanes|=i),Cc(n.return,i,o)}function Gc(n,i,o,c,p){var y=n.memoizedState;y===null?n.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:o,tailMode:p}:(y.isBackwards=i,y.rendering=null,y.renderingStartTime=0,y.last=c,y.tail=o,y.tailMode=p)}function Fp(n,i,o){var c=i.pendingProps,p=c.revealOrder,y=c.tail;if($t(n,i,c.children,o),c=at.current,(c&2)!==0)c=c&1|2,i.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=i.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&_p(n,o,i);else if(n.tag===19)_p(n,o,i);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===i)break e;for(;n.sibling===null;){if(n.return===null||n.return===i)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}c&=1}if(Ze(at,c),(i.mode&1)===0)i.memoizedState=null;else switch(p){case"forwards":for(o=i.child,p=null;o!==null;)n=o.alternate,n!==null&&Ko(n)===null&&(p=o),o=o.sibling;o=p,o===null?(p=i.child,i.child=null):(p=o.sibling,o.sibling=null),Gc(i,!1,p,o,y);break;case"backwards":for(o=null,p=i.child,i.child=null;p!==null;){if(n=p.alternate,n!==null&&Ko(n)===null){i.child=p;break}n=p.sibling,p.sibling=o,o=p,p=n}Gc(i,!0,o,null,y);break;case"together":Gc(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function rl(n,i){(i.mode&1)===0&&n!==null&&(n.alternate=null,i.alternate=null,i.flags|=2)}function mr(n,i,o){if(n!==null&&(i.dependencies=n.dependencies),yi|=i.lanes,(o&i.childLanes)===0)return null;if(n!==null&&i.child!==n.child)throw Error(r(153));if(i.child!==null){for(n=i.child,o=Yr(n,n.pendingProps),i.child=o,o.return=i;n.sibling!==null;)n=n.sibling,o=o.sibling=Yr(n,n.pendingProps),o.return=i;o.sibling=null}return i.child}function Gb(n,i,o){switch(i.tag){case 3:Mp(i),sa();break;case 5:Xm(i);break;case 1:qt(i.type)&&Vo(i);break;case 4:Tc(i,i.stateNode.containerInfo);break;case 10:var c=i.type._context,p=i.memoizedProps.value;Ze(Ho,c._currentValue),c._currentValue=p;break;case 13:if(c=i.memoizedState,c!==null)return c.dehydrated!==null?(Ze(at,at.current&1),i.flags|=128,null):(o&i.child.childLanes)!==0?Ip(n,i,o):(Ze(at,at.current&1),n=mr(n,i,o),n!==null?n.sibling:null);Ze(at,at.current&1);break;case 19:if(c=(o&i.childLanes)!==0,(n.flags&128)!==0){if(c)return Fp(n,i,o);i.flags|=128}if(p=i.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),Ze(at,at.current),c)break;return null;case 22:case 23:return i.lanes=0,Np(n,i,o)}return mr(n,i,o)}var Vp,qc,Bp,zp;Vp=function(n,i){for(var o=i.child;o!==null;){if(o.tag===5||o.tag===6)n.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},qc=function(){},Bp=function(n,i,o,c){var p=n.memoizedProps;if(p!==c){n=i.stateNode,pi(qn.current);var y=null;switch(o){case"input":p=Lt(n,p),c=Lt(n,c),y=[];break;case"select":p=X({},p,{value:void 0}),c=X({},c,{value:void 0}),y=[];break;case"textarea":p=Ba(n,p),c=Ba(n,c),y=[];break;default:typeof p.onClick!="function"&&typeof c.onClick=="function"&&(n.onclick=Io)}zi(o,c);var w;o=null;for(H in p)if(!c.hasOwnProperty(H)&&p.hasOwnProperty(H)&&p[H]!=null)if(H==="style"){var P=p[H];for(w in P)P.hasOwnProperty(w)&&(o||(o={}),o[w]="")}else H!=="dangerouslySetInnerHTML"&&H!=="children"&&H!=="suppressContentEditableWarning"&&H!=="suppressHydrationWarning"&&H!=="autoFocus"&&(s.hasOwnProperty(H)?y||(y=[]):(y=y||[]).push(H,null));for(H in c){var N=c[H];if(P=p!=null?p[H]:void 0,c.hasOwnProperty(H)&&N!==P&&(N!=null||P!=null))if(H==="style")if(P){for(w in P)!P.hasOwnProperty(w)||N&&N.hasOwnProperty(w)||(o||(o={}),o[w]="");for(w in N)N.hasOwnProperty(w)&&P[w]!==N[w]&&(o||(o={}),o[w]=N[w])}else o||(y||(y=[]),y.push(H,o)),o=N;else H==="dangerouslySetInnerHTML"?(N=N?N.__html:void 0,P=P?P.__html:void 0,N!=null&&P!==N&&(y=y||[]).push(H,N)):H==="children"?typeof N!="str
41ing"&&typeof N!="number"||(y=y||[]).push(H,""+N):H!=="suppressContentEditableWarning"&&H!=="suppressHydrationWarning"&&(s.hasOwnProperty(H)?(N!=null&&H==="onScroll"&&et("scroll",n),y||P===N||(y=[])):(y=y||[]).push(H,N))}o&&(y=y||[]).push("style",o);var H=y;(i.updateQueue=H)&&(i.flags|=4)}},zp=function(n,i,o,c){o!==c&&(i.flags|=4)};function vs(n,i){if(!it)switch(n.tailMode){case"hidden":i=n.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?n.tail=null:o.sibling=null;break;case"collapsed":o=n.tail;for(var c=null;o!==null;)o.alternate!==null&&(c=o),o=o.sibling;c===null?i||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function It(n){var i=n.alternate!==null&&n.alternate.child===n.child,o=0,c=0;if(i)for(var p=n.child;p!==null;)o|=p.lanes|p.childLanes,c|=p.subtreeFlags&14680064,c|=p.flags&14680064,p.return=n,p=p.sibling;else for(p=n.child;p!==null;)o|=p.lanes|p.childLanes,c|=p.subtreeFlags,c|=p.flags,p.return=n,p=p.sibling;return n.subtreeFlags|=c,n.childLanes=o,i}function qb(n,i,o){var c=i.pendingProps;switch(gc(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return It(i),null;case 1:return qt(i.type)&&Fo(),It(i),null;case 3:return c=i.stateNode,ca(),tt(Gt),tt(Mt),Dc(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(n===null||n.child===null)&&($o(i)?i.flags|=4:n===null||n.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Mn!==null&&(ad(Mn),Mn=null))),qc(n,i),It(i),null;case 5:Pc(i);var p=pi(hs.current);if(o=i.type,n!==null&&i.stateNode!=null)Bp(n,i,o,c,p),n.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!c){if(i.stateNode===null)throw Error(r(166));return It(i),null}if(n=pi(qn.current),$o(i)){c=i.stateNode,o=i.type;var y=i.memoizedProps;switch(c[Gn]=i,c[ls]=y,n=(i.mode&1)!==0,o){case"dialog":et("cancel",c),et("close",c);break;case"iframe":case"object":case"embed":et("load",c);break;case"video":case"audio":for(p=0;p<as.length;p++)et(as[p],c);break;case"source":et("error",c);break;case"img":case"image":case"link":et("error",c),et("load",c);break;case"details":et("toggle",c);break;case"input":Hn(c,y),et("invalid",c);break;case"select":c._wrapperState={wasMultiple:!!y.multiple},et("invalid",c);break;case"textarea":yo(c,y),et("invalid",c)}zi(o,y),p=null;for(var w in y)if(y.hasOwnProperty(w)){var P=y[w];w==="children"?typeof P=="string"?c.textContent!==P&&(y.suppressHydrationWarning!==!0&&Oo(c.textContent,P,n),p=["children",P]):typeof P=="number"&&c.textContent!==""+P&&(y.suppressHydrationWarning!==!0&&Oo(c.textContent,P,n),p=["children",""+P]):s.hasOwnProperty(w)&&P!=null&&w==="onScroll"&&et("scroll",c)}switch(o){case"input":fn(c),go(c,y,!0);break;case"textarea":fn(c),Yn(c);break;case"select":case"option":break;default:typeof y.onClick=="function"&&(c.onclick=Io)}c=p,i.updateQueue=c,c!==null&&(i.flags|=4)}else{w=p.nodeType===9?p:p.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=br(o)),n==="http://www.w3.org/1999/xhtml"?o==="script"?(n=w.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof c.is=="string"?n=w.createElement(o,{is:c.is}):(n=w.createElement(o),o==="select"&&(w=n,c.multiple?w.multiple=!0:c.size&&(w.size=c.size))):n=w.createElementNS(n,o),n[Gn]=i,n[ls]=c,Vp(n,i,!1,!1),i.stateNode=n;e:{switch(w=Ui(o,c),o){case"dialog":et("cancel",n),et("close",n),p=c;break;case"iframe":case"object":case"embed":et("load",n),p=c;break;case"video":case"audio":for(p=0;p<as.length;p++)et(as[p],n);p=c;break;case"source":et("error",n),p=c;break;case"img":case"image":case"link":et("error",n),et("load",n),p=c;break;case"details":et("toggle",n),p=c;break;case"input":Hn(n,c),p=Lt(n,c),et("invalid",n);break;case"option":p=c;break;case"select":n._wrapperState={wasMultiple:!!c.multiple},p=X({},c,{value:void 0}),et("invalid",n);break;case"textarea":yo(n,c),p=Ba(n,c),et("invalid",n);break;default:p=c}zi(o,p),P=p;for(y in P)if(P.hasOwnProperty(y)){var N=P[y];y==="style"?xo(n,N):y==="dangerouslySetInnerHTML"?(N=N?N.__html:void 0,N!=null&&hn(n,N)):y==="children"?typeof N=="string"?(o!=="textarea"||N!=="")&&Bt(n,N):typeof N=="number"&&Bt(n,""+N):y!=="suppressContentEditableWarning"&&y!=="suppressHydrationWarning"&&y!=="autoFocus"&&(s.hasOwnProperty(y)?N!=null&&y==="onScroll"&&et("scroll",n):N!=null&&I(n,y,N,w))}switch(o){case"input":fn(n),go(n,c,!1);break;case"textarea":fn(n),Yn(n);break;case"option":c.value!=null&&n.setAttribute("value",""+Me(c.value));break;case"select":n.multiple=!!c.multiple,y=c.value,y!=null?wr(n,!!c.multiple,y,!1):c.defaultValue!=null&&wr(n,!!c.multiple,c.defaultValue,!0);break;default:typeof p.onClick=="function"&&(n.onclick=Io)}switch(o){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}
vendor: 21,059 bytes, line 41
41}c&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return It(i),null;case 6:if(n&&i.stateNode!=null)zp(n,i,n.memoizedProps,c);else{if(typeof c!="string"&&i.stateNode===null)throw Error(r(166));if(o=pi(hs.current),pi(qn.current),$o(i)){if(c=i.stateNode,o=i.memoizedProps,c[Gn]=i,(y=c.nodeValue!==o)&&(n=rn,n!==null))switch(n.tag){case 3:Oo(c.nodeValue,o,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&Oo(c.nodeValue,o,(n.mode&1)!==0)}y&&(i.flags|=4)}else c=(o.nodeType===9?o:o.ownerDocument).createTextNode(c),c[Gn]=i,i.stateNode=c}return It(i),null;case 13:if(tt(at),c=i.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(it&&an!==null&&(i.mode&1)!==0&&(i.flags&128)===0)Wm(),sa(),i.flags|=98560,y=!1;else if(y=$o(i),c!==null&&c.dehydrated!==null){if(n===null){if(!y)throw Error(r(318));if(y=i.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(r(317));y[Gn]=i}else sa(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;It(i),y=!1}else Mn!==null&&(ad(Mn),Mn=null),y=!0;if(!y)return i.flags&65536?i:null}return(i.flags&128)!==0?(i.lanes=o,i):(c=c!==null,c!==(n!==null&&n.memoizedState!==null)&&c&&(i.child.flags|=8192,(i.mode&1)!==0&&(n===null||(at.current&1)!==0?vt===0&&(vt=3):ld())),i.updateQueue!==null&&(i.flags|=4),It(i),null);case 4:return ca(),qc(n,i),n===null&&ss(i.stateNode.containerInfo),It(i),null;case 10:return Sc(i.type._context),It(i),null;case 17:return qt(i.type)&&Fo(),It(i),null;case 19:if(tt(at),y=i.memoizedState,y===null)return It(i),null;if(c=(i.flags&128)!==0,w=y.rendering,w===null)if(c)vs(y,!1);else{if(vt!==0||n!==null&&(n.flags&128)!==0)for(n=i.child;n!==null;){if(w=Ko(n),w!==null){for(i.flags|=128,vs(y,!1),c=w.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),i.subtreeFlags=0,c=o,o=i.child;o!==null;)y=o,n=c,y.flags&=14680066,w=y.alternate,w===null?(y.childLanes=0,y.lanes=n,y.child=null,y.subtreeFlags=0,y.memoizedProps=null,y.memoizedState=null,y.updateQueue=null,y.dependencies=null,y.stateNode=null):(y.childLanes=w.childLanes,y.lanes=w.lanes,y.child=w.child,y.subtreeFlags=0,y.deletions=null,y.memoizedProps=w.memoizedProps,y.memoizedState=w.memoizedState,y.updateQueue=w.updateQueue,y.type=w.type,n=w.dependencies,y.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),o=o.sibling;return Ze(at,at.current&1|2),i.child}n=n.sibling}y.tail!==null&&ze()>ma&&(i.flags|=128,c=!0,vs(y,!1),i.lanes=4194304)}else{if(!c)if(n=Ko(w),n!==null){if(i.flags|=128,c=!0,o=n.updateQueue,o!==null&&(i.updateQueue=o,i.flags|=4),vs(y,!0),y.tail===null&&y.tailMode==="hidden"&&!w.alternate&&!it)return It(i),null}else 2*ze()-y.renderingStartTime>ma&&o!==1073741824&&(i.flags|=128,c=!0,vs(y,!1),i.lanes=4194304);y.isBackwards?(w.sibling=i.child,i.child=w):(o=y.last,o!==null?o.sibling=w:i.child=w,y.last=w)}return y.tail!==null?(i=y.tail,y.rendering=i,y.tail=i.sibling,y.renderingStartTime=ze(),i.sibling=null,o=at.current,Ze(at,c?o&1|2:o&1),i):(It(i),null);case 22:case 23:return od(),c=i.memoizedState!==null,n!==null&&n.memoizedState!==null!==c&&(i.flags|=8192),c&&(i.mode&1)!==0?(sn&1073741824)!==0&&(It(i),i.subtreeFlags&6&&(i.flags|=8192)):It(i),null;case 24:return null;case 25:return null}throw Error(r(156,i.tag))}function Kb(n,i){switch(gc(i),i.tag){case 1:return qt(i.type)&&Fo(),n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 3:return ca(),tt(Gt),tt(Mt),Dc(),n=i.flags,(n&65536)!==0&&(n&128)===0?(i.flags=n&-65537|128,i):null;case 5:return Pc(i),null;case 13:if(tt(at),n=i.memoizedState,n!==null&&n.dehydrated!==null){if(i.alternate===null)throw Error(r(340));sa()}return n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 19:return tt(at),null;case 4:return ca(),null;case 10:return Sc(i.type._context),null;case 22:case 23:return od(),null;case 24:return null;default:return null}}var il=!1,_t=!1,Qb=typeof WeakSet=="function"?WeakSet:Set,pe=null;function fa(n,i){var o=n.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(c){ot(n,i,c)}else o.current=null}function Kc(n,i,o){try{o()}catch(c){ot(n,i,c)}}var Up=!1;function Jb(n,i){if(oc=ko,n=wm(),Zu(n)){if("selectionStart"in n)var o={start:n.selectionStart,end:n.selectionEnd};else e:{o=(o=n.ownerDocument)&&o.defaultView||window;var c=o.getSelection&&o.getSelection();if(c&&c.rangeCount!==0){o=c.anchorNode;var p=c.anchorOffset,y=c.focusNode;c=c.focusOffset;try{o.nodeType,y.nodeType}catch{o=null;break e}var w=0,P=-1,N=-1,H=0,te=0,re=n,Z=null;t:for(;;){for(var de;re!==o||p!==0&&re.nodeType!==3||(P=w+p),re!==y||c!==0&&re.nodeType!==3||(N=w+c),re.nodeType===3&&(w+=re.nodeValue.length),(de=re.firstChild)!==null;)Z=re,re=de;for(;;){if(re===n)break t;if(Z===o&&++H===p&&(P=w),Z===y&&++te===c&&(N=w),(de=re.nextSibling)!==null)break;re=Z,Z=re.parentNode}re=de}o=P===-1||N===-1?null:{start:P,end:N}}else o=null}o=o||{start:0,end:0}}else o=null;for(lc={focusedElem:n,selectionRange:o},ko=!1,pe=i;pe!==null;)if(i=pe,n=i.child,(i.subtreeFlags&1028)!==0&&n!==null)n.return=i,pe=n;else for(;pe!==null;){i=pe;try{var xe=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(xe!==null){var be=xe.memoizedProps,ht=xe.memoizedState,V=i.stateNode,A=V.getSnapshotBeforeUpdate(i.elementType===i.type?be:On(i.type,be),ht);V.__reactInternalSnapshotBeforeUpdate=A}break;case 3:var z=i.stateNode.containerInfo;z.nodeType===1?z.textContent="":z.nodeType===9&&z.documentElement&&z.removeChild(z.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(se){ot(i,i.return,se)}if(n=i.sibling,n!==null){n.return=i.return,pe=n;break}pe=i.return}return xe=Up,Up=!1,xe}function xs(n,i,o){var c=i.updateQueue;if(c=c!==null?c.lastEffect:null,c!==null){var p=c=c.next;do{if((p.tag&n)===n){var y=p.destroy;p.destroy=void 0,y!==void 0&&Kc(i,o,y)}p=p.next}while(p!==c)}}function al(n,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var o=i=i.next;do{if((o.tag&n)===n){var c=o.create;o.destroy=c()}o=o.next}while(o!==i)}}function Qc(n){var i=n.ref;if(i!==null){var o=n.stateNode;switch(n.tag){case 5:n=o;break;default:n=o}typeof i=="function"?i(n):i.current=n}}function $p(n){var i=n.alternate;i!==null&&(n.alternate=null,$p(i)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(i=n.stateNode,i!==null&&(delete i[Gn],delete i[ls],delete i[fc],delete i[Lb],delete i[Mb])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Wp(n){return n.tag===5||n.tag===3||n.tag===4}function Hp(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Wp(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Jc(n,i,o){var c=n.tag;if(c===5||c===6)n=n.stateNode,i?o.nodeType===8?o.parentNode.insertBefore(n,i):o.insertBefore(n,i):(o.nodeType===8?(i=o.parentNode,i.insertBefore(n,o)):(i=o,i.appendChild(n)),o=o._reactRootContainer,o!=null||i.onclick!==null||(i.onclick=Io));else if(c!==4&&(n=n.child,n!==null))for(Jc(n,i,o),n=n.sibling;n!==null;)Jc(n,i,o),n=n.sibling}function Xc(n,i,o){var c=n.tag;if(c===5||c===6)n=n.stateNode,i?o.insertBefore(n,i):o.appendChild(n);else if(c!==4&&(n=n.child,n!==null))for(Xc(n,i,o),n=n.sibling;n!==null;)Xc(n,i,o),n=n.sibling}var jt=null,In=!1;function zr(n,i,o){for(o=o.child;o!==null;)Yp(n,i,o),o=o.sibling}function Yp(n,i,o){if(Ut&&typeof Ut.onCommitFiberUnmount=="function")try{Ut.onCommitFiberUnmount(mn,o)}catch{}switch(o.tag){case 5:_t||fa(o,i);case 6:var c=jt,p=In;jt=null,zr(n,i,o),jt=c,In=p,jt!==null&&(In?(n=jt,o=o.stateNode,n.nodeType===8?n.parentNode.removeChild(o):n.removeChild(o)):jt.removeChild(o.stateNode));break;case 18:jt!==null&&(In?(n=jt,o=o.stateNode,n.nodeType===8?dc(n.parentNode,o):n.nodeType===1&&dc(n,o),Ja(n)):dc(jt,o.stateNode));break;case 4:c=jt,p=In,jt=o.stateNode.containerInfo,In=!0,zr(n,i,o),jt=c,In=p;break;case 0:case 11:case 14:case 15:if(!_t&&(c=o.updateQueue,c!==null&&(c=c.lastEffect,c!==null))){p=c=c.next;do{var y=p,w=y.destroy;y=y.tag,w!==void 0&&((y&2)!==0||(y&4)!==0)&&Kc(o,i,w),p=p.next}while(p!==c)}zr(n,i,o);break;case 1:if(!_t&&(fa(o,i),c=o.stateNode,typeof c.componentWillUnmount=="function"))try{c.props=o.memoizedProps,c.state=o.memoizedState,c.componentWillUnmount()}catch(P){ot(o,i,P)}zr(n,i,o);break;case 21:zr(n,i,o);break;case 22:o.mode&1?(_t=(c=_t)||o.memoizedState!==null,zr(n,i,o),_t=c):zr(n,i,o);break;default:zr(n,i,o)}}function Gp(n){var i=n.updateQueue;if(i!==null){n.updateQueue=null;var o=n.stateNode;o===null&&(o=n.stateNode=new Qb),i.forEach(function(c){var p=s2.bind(null,n,c);o.has(c)||(o.add(c),c.then(p,p))})}}function _n(n,i){var o=i.deletions;if(o!==null)for(var c=0;c<o.length;c++){var p=o[c];try{var y=n,w=i,P=w;e:for(;P!==null;){switch(P.tag){case 5:jt=P.stateNode,In=!1;break e;case 3:jt=P.stateNode.containerInfo,In=!0;break e;case 4:jt=P.stateNode.containerInfo,In=!0;break e}P=P.return}if(jt===null)throw Error(r(160));Yp(y,w,p),jt=null,In=!1;var N=p.alternate;N!==null&&(N.return=null),p.return=null}catch(H){ot(p,i,H)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)qp(i,n),i=i.sibling}function qp(n,i){var o=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(_n(i,n),Qn(n),c&4){try{xs(3,n,n.return),al(3,n)}catch(be){ot(n,n.return,be)}try{xs(5,n,n.return)}catch(be){ot(n,n.return,be)}}break;case 1:_n(i,n),Qn(n),c&512&&o!==null&&fa(o,o.return);break;case 5:if(_n(i,n),Qn(n),c&512&&o!==null&&fa(o,o.return),n.flags&32){var p=n.stateNode;try{Bt(p,"")}catch(be){ot(n,n.return,be)}}if(c&4&&(p=n.stateNode,p!=null)){var y=n.memoizedProps,w=o!==null?o.memoizedProps:y,P=n.type,N=n.updateQueue;if(n.updateQueue=null,N!==null)try{P==="input"&&y.type==="radio"&&y.name!=null&&po(p,y),Ui(P,w);var H=Ui(P,y);for(w=0;w<N.length;w+=2){var te=N[w],re=N[w+1];te==="style"?xo(p,re):te==="dangerouslySetInnerHTML"?hn(p,re):te==="children"?Bt(p,re):I(p,te,re,H)}switch(P){case"input":Dn(p,y);break;case"textarea":vo(p,y);break;case"select":var Z=p._wrapperState.wasMultiple;p._wrapperState.wasMultiple=!!y.multiple;var de=y.value;de!=null?wr(p,!!y.multiple,de,!1):Z!==!!y.multiple&&(y.defaultValue!=null?wr(p,!!y.multiple,y.defaultValue,!0):wr(p,!!y.multiple,y.multiple?[]:"",!1))}p[ls]=y}catch(be){ot(n,n.return,be)}}break;case 6:if(_n(i,n),Qn(n),c&4){if(n.stateNode===null)throw Error(r(162));p=n.stateNode,y=n.memoizedProps;try{p.nodeValue=y}catch(be){ot(n,n.return,be)}}break;case 3:if(_n(i,n),Qn(n),c&4&&o!==null&&o.memoizedState.isDehydrated)try{Ja(i.containerInfo)}catch(be){ot(n,n.return,be)}break;case 4:_n(i,n),Qn(n);break;case 13:_n(i,n),Qn(n),p=n.child,p.flags&8192&&(y=p.memoizedState!==null,p.stateNode.isHidden=y,!y||p.alternate!==null&&p.alternate.memoizedState!==null||(td=ze())),c&4&&Gp(n);break;case 22:if(te=o!==null&&o.memoizedState!==null,n.mode&1?(_t=(H=_t)||te,_n(i,n),_t=H):_n(i,n),Qn(n),c&8192){if(H=n.memoizedState!==null,(n.stateNode.isHidden=H)&&!te&&(n.mode&1)!==0)for(pe=n,te=n.child;te!==null;){for(re=pe=te;pe!==null;){switch(Z=pe,de=Z.child,Z.tag){case 0:case 11:case 14:case 15:xs(4,Z,Z.return);break;case 1:fa(Z,Z.return);var xe=Z.stateNode;if(typeof xe.componentWillUnmount=="function"){c=Z,o=Z.return;try{i=c,xe.props=i.memoizedProps,xe.state=i.memoizedState,xe.componentWillUnmount()}catch(be){ot(c,o,be)}}break;case 5:fa(Z,Z.return);break;case 22:if(Z.memoizedState!==null){Jp(re);continue}}de!==null?(de.return=Z,pe=de):Jp(re)}te=te.sibling}e:for(te=null,re=n;;){if(re.tag===5){if(te===null){te=re;try{p=re.stateNode,H?(y=p.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none"):(P=re.stateNode,N=re.memoizedProps.style,w=N!=null&&N.hasOwnProperty("display")?N.display:null,P.style.display=Bi("display",w))}catch(be){ot(n,n.return,be)}}}else if(re.tag===6){if(te===null)try{re.stateNode.nodeValue=H?"":re.memoizedProps}catch(be){ot(n,n.return,be)}}else if((re.tag!==22&&re.tag!==23||re.memoizedState===null||re===n)&&re.child!==null){re.child.return=re,re=re.child;continue}if(re===n)break e;for(;re.sibling===null;){if(re.return===null||re.return===n)break e;te===re&&(te=null),re=re.return}te===re&&(te=null),re.sibling.return=re.return,re=re.sibling}}break;case 19:_n(i,n),Qn(n),c&4&&Gp(n);break;case 21:break;default:_n(i,n),Qn(n)}}function Qn(n){var i=n.flags;if(i&2){try{e:{for(var o=n.return;o!==null;){if(Wp(o)){var c=o;break e}o=o.return}throw Error(r(160))}switch(c.tag){case 5:var p=c.stateNode;c.flags&32&&(Bt(p,""),c.flags&=-33);var y=Hp(n);Xc(n,y,p);break;case 3:case 4:var w=c.stateNode.containerInfo,P=Hp(n);Jc(n,P,w);break;default:throw Error(r(161))}}catch(N){ot(n,n.return,N)}n.flags&=-3}i&4096&&(n.flags&=-4097)}function Xb(n,i,o){pe=n,Kp(n)}function Kp(n,i,o){for(var c=(n.mode&1)!==0;pe!==null;){var p=pe,y=p.child;if(p.tag===22&&c){var w=p.memoizedState!==null||il;if(!w){var P=p.alternate,N=P!==null&&P.memoizedState!==null||_t;P=il;var H=_t;if(il=w,(_t=N)&&!H)for(pe=p;pe!==null;)w=pe,N=w.child,w.tag===22&&w.memoizedState!==null?Xp(p):N!==null?(N.return=w,pe=N):Xp(p);for(;y!==null;)pe=y,Kp(y),y=y.sibling;pe=p,il=P,_t=H}Qp(n)}else(p.subtreeFlags&8772)!==0&&y!==null?(y.return=p,pe=y):Qp(n)}}function Qp(n){for(;pe!==null;){var i=pe;if((i.flags&8772)!==0){var o=i.alternate;try{if((i.flags&8772)!==0)switch(i.tag){case 0:case 11:case 15:_t||al(5,i);break;case 1:var c=i.stateNode;if(i.flags&4&&!_t)if(o===null)c.componentDidMount();else{var p=i.elementType===i.type?o.memoizedProps:On(i.type,o.memoizedProps);c.componentDidUpdate(p,o.memoizedState,c.__reactInternalSnapshotBeforeUpdate)}var y=i.updateQueue;y!==null&&Jm(i,y,c);break;case 3:var w=i.updateQueue;if(w!==null){if(o=null,i.child!==null)switch(i.child.tag){case 5:o=i.child.stateNode;break;case 1:o=i.child.stateNode}Jm(i,w,o)}break;case 5:var P=i.stateNode;if(o===null&&i.flags&4){o=P;var N=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":N.autoFocus&&o.focus();break;case"img":N.src&&(o.src=N.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var H=i.alternate;if(H!==null){var te=H.memoizedState;if(te!==null){var re=te.dehydrated;re!==null&&Ja(re)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}_t||i.flags&512&&Qc(i)}catch(Z){ot(i,i.return,Z)}}if(i===n){pe=null;break}if(o=i.sibling,o!==null){o.return=i.return,pe=o;break}pe=i.return}}function Jp(n){for(;pe!==null;){var i=pe;if(i===n){pe=null;break}var o=i.sibling;if(o!==null){o.return=i.return,pe=o;break}pe=i.return}}function Xp(n){for(;pe!==null;){var i=pe;try{switch(i.tag){case 0:case 11:case 15:var o=i.return;try{al(4,i)}catch(N){ot(i,o,N)}break;case 1:var c=i.stateNode;if(typeof c.componentDidMount=="function"){var p=i.return;try{c.componentDidMount()}catch(N){ot(i,p,N)}}var y=i.return;try{Qc(i)}catch(N){ot(i,y,N)}break;case 5:var w=i.return;try{Qc(i)}catch(N){ot(i,w,N)}}}catch(N){ot(i,i.return,N)}if(i===n){pe=null;break}var P=i.sibling;if(P!==null){P.return=i.return,pe=P;break}pe=i.return}}var Zb=Math.ceil,sl=F.ReactCurrentDispatcher,Zc=F.ReactCurrentOwner,xn=F.ReactCurrentBatchConfig,Ue=0,St=null,pt=null,Dt=0,sn=0,ha=Ir(0),vt=0,ws=null,yi=0,ol=0,ed=0,bs=null,Qt=null,td=0,ma=1/0,pr=null,ll=!1,nd=null,Ur=null,ul=!1,$r=null,cl=0,Ss=0,rd=null,dl=-1,fl=0;function Wt(){return(Ue&6)!==0?ze():dl!==-1?dl:dl=ze()}function Wr(n){return(n.mode&1)===0?1:(Ue&2)!==0&&Dt!==0?Dt&-Dt:Ib.transition!==null?(fl===0&&(fl=Hh()),fl):(n=Ge,n!==0||(n=window.event,n=n===void 0?16:em(n.type)),n)}function Fn(n,i,o,c){if(50<Ss)throw Ss=0,rd=null,Error(r(185));Ya(n,o,c),((Ue&2)===0||n!==St)&&(n===St&&((Ue&2)===0&&(ol|=o),vt===4&&Hr(n,Dt)),Jt(n,c),o===1&&Ue===0&&(i.mode&1)===0&&(ma=ze()+500,Bo&&Fr()))}function Jt(n,i){var o=n.callbackNode;I1(n,i);var c=Gi(n,n===St?Dt:0);if(c===0)o!==null&&ft(o),n.callbackNode=null,n.callbackPriority=0;else if(i=c&-c,n.callbackPriority!==i){if(o!=null&&ft(o),i===1)n.tag===0?Ob(eg.bind(null,n)):Vm(eg.bind(null,n)),Nb(function(){(Ue&6)===0&&Fr()}),o=null;else{switch(Yh(c)){case 1:o=ar;break;case 4:o=An;break;case 16:o=zt;break;case 536870912:o=Tr;break;default:o=zt}o=lg(o,Zp.bind(null,n))}n.callbackPriority=i,n.callbackNode=o}}function Zp(n,i){if(dl=-1,fl=0,(Ue&6)!==0)throw Error(r(327));var o=n.callbackNode;if(pa()&&n.callbackNode!==o)return null;var c=Gi(n,n===St?Dt:0);if(c===0)return null;if((c&30)!==0||(c&n.expiredLanes)!==0||i)i=hl(n,c);else{i=c;var p=Ue;Ue|=2;var y=ng();(St!==n||Dt!==i)&&(pr=null,ma=ze()+500,xi(n,i));do try{n2();break}catch(P){tg(n,P)}while(!0);bc(),sl.current=y,Ue=p,pt!==null?i=0:(St=null,Dt=0,i=vt)}if(i!==0){if(i===2&&(p=_u(n),p!==0&&(c=p,i=id(n,p))),i===1)throw o=ws,xi(n,0),Hr(n,c),Jt(n,ze()),o;if(i===6)Hr(n,c);else{if(p=n.current.alternate,(c&30)===0&&!e2(p)&&(i=hl(n,c),i===2&&(y=_u(n),y!==0&&(c=y,i=id(n,y))),i===1))throw o=ws,xi(n,0),Hr(n,c),Jt(n,ze()),o;switch(n.finishedWork=p,n.finishedLanes=c,i){case 0:case 1:throw Error(r(345));case 2:wi(n,Qt,pr);break;case 3:if(Hr(n,c),(c&130023424)===c&&(i=td+500-ze(),10<i)){if(Gi(n,0)!==0)break;if(p=n.suspendedLanes,(p&c)!==c){Wt(),n.pingedLanes|=n.suspendedLanes&p;break}n.timeoutHandle=cc(wi.bind(null,n,Qt,pr),i);break}wi(n,Qt,pr);break;case 4:if(Hr(n,c),(c&4194240)===c)break;for(i=n.eventTimes,p=-1;0<c;){var w=31-Le(c);y=1<<w,w=i[w],w>p&&(p=w),c&=~y}if(c=p,c=ze()-c,c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3e3>c?3e3:4320>c?4320:1960*Zb(c/1960))-c,10<c){n.timeoutHandle=cc(wi.bind(null,n,Qt,pr),c);break}wi(n,Qt,pr);break;case 5:wi(n,Qt,pr);break;default:throw Error(r(329))}}}return Jt(n,ze()),n.callbackNode===o?Zp.bind(null,n):null}function id(n,i){var o=bs;return n.current.memoizedState.isDehydrated&&(xi(n,i).flags|=256),n=hl(n,i),n!==2&&(i=Qt,Qt=o,i!==null&&ad(i)),n}function ad(n){Qt===null?Qt=n:Qt.push.apply(Qt,n)}function e2(n){for(var i=n;;){if(i.flags&16384){var o=i.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var c=0;c<o.length;c++){var p=o[c],y=p.getSnapshot;p=p.value;try{if(!Ln(y(),p))return!1}catch{return!1}}}if(o=i.child,i.subtreeFlags&16384&&o!==null)o.return=i,i=o;else{if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Hr(n,i){for(i&=~ed,i&=~ol,n.suspendedLanes|=i,n.pingedLanes&=~i,n=n.expirationTimes;0<i;){var o=31-Le(i),c=1<<o;n[o]=-1,i&=~c}}function eg(n){if((Ue&6)!==0)throw Error(r(327));pa();var i=Gi(n,0);if((i&1)===0)return Jt(n,ze()),null;var o=hl(n,i);if(n.tag!==0&&o===2){var c=_u(n);c!==0&&(i=c,o=id(n,c))}if(o===1)throw o=ws,xi(n,0),Hr(n,i),Jt(n,ze()),o;if(o===6)throw Error(r(345));return n.finishedWork=n.current.alternate,n.finishedLanes=i,wi(n,Qt,pr),Jt(n,ze()),null}function sd(n,i){var o=Ue;Ue|=1;try{return n(i)}finally{Ue=o,Ue===0&&(ma=ze()+500,Bo&&Fr())}}function vi(n){$r!==null&&$r.tag===0&&(Ue&6)===0&&pa();var i=Ue;Ue|=1;var o=xn.transition,c=Ge;try{if(xn.transition=null,Ge=1,n)return n()}finally{Ge=c,xn.transition=o,Ue=i,(Ue&6)===0&&Fr()}}function od(){sn=ha.current,tt(ha)}function xi(n,i){n.finishedWork=null,n.finishedLanes=0;var o=n.timeoutHandle;if(o!==-1&&(n.timeoutHandle=-1,Rb(o)),pt!==null)for(o=pt.return;o!==null;){var c=o;switch(gc(c),c.tag){case 1:c=c.type.childContextTypes,c!=null&&Fo();break;case 3:ca(),tt(Gt),tt(Mt),Dc();break;case 5:Pc(c);break;case 4:ca();break;case 13:tt(at);break;case 19:tt(at);break;case 10:Sc(c.type._context);break;case 22:case 23:od()}o=o.return}if(St=n,pt=n=Yr(n.current,null),Dt=sn=i,vt=0,ws=null,ed=ol=yi=0,Qt=bs=null,mi!==null){for(i=0;i<mi.length;i++)if(o=mi[i],c=o.interleaved,c!==null){o.interleaved=null;var p=c.next,y=o.pending;if(y!==null){var w=y.next;y.next=p,c.next=w}o.pending=c}mi=null}return n}function tg(n,i){do{var o=pt;try{if(bc(),Qo.current=el,Jo){for(var c=st.memoizedState;c!==null;){var p=c.queue;p!==null&&(p.pending=null),c=c.next}Jo=!1}if(gi=0,bt=yt=st=null,ms=!1,ps=0,Zc.current=null,o===null||o.return===null){vt=1,ws=i,pt=null;break}e:{var y=n,w=o.return,P=o,N=i;if(i=Dt,P.flags|=32768,N!==null&&typeof N=="object"&&typeof N.then=="function"){var H=N,te=P,re=te.tag;if((te.mode&1)===0&&(re===0||re===11||re===15)){var Z=te.alternate;Z?(te.updateQueue=Z.updateQueue,te.memoizedState=Z.memoizedState,te.lanes=Z.lanes):(te.updateQueue=null,te.memoizedState=null)}var de=Tp(w);if(de!==null){de.flags&=-257,Pp(de,w,P,y,i),de.mode&1&&Ep(y,H,i),i=de,N=H;var xe=i.updateQueue;if(xe===null){var be=new Set;be.add(N),i.updateQueue=be}else xe.add(N);break e}else{if((i&1)===0){Ep(y,H,i),ld();break e}N=Error(r(426))}}else if(it&&P.mode&1){var ht=Tp(w);if(ht!==null){(ht.flags&65536)===0&&(ht.flags|=256),Pp(ht,w,P,y,i),xc(da(N,P));break e}}y=N=da(N,P),vt!==4&&(vt=2),bs===null?bs=[y]:bs.push(y),y=w;do{switch(y.tag){case 3:y.flags|=65536,i&=-i,y.lanes|=i;var V=Cp(y,N,i);Qm(y,V);break e;case 1:P=N;var A=y.type,z=y.stateNode;if((y.flags&128)===0&&(typeof A.getDerivedStateFromError=="function"||z!==null&&typeof z.componentDidCatch=="function"&&(Ur===null||!Ur.has(z)))){y.flags|=65536,i&=-i,y.lanes|=i;
vendor: 8,738 bytes, line 41
41var se=kp(y,P,i);Qm(y,se);break e}}y=y.return}while(y!==null)}ig(o)}catch(ke){i=ke,pt===o&&o!==null&&(pt=o=o.return);continue}break}while(!0)}function ng(){var n=sl.current;return sl.current=el,n===null?el:n}function ld(){(vt===0||vt===3||vt===2)&&(vt=4),St===null||(yi&268435455)===0&&(ol&268435455)===0||Hr(St,Dt)}function hl(n,i){var o=Ue;Ue|=2;var c=ng();(St!==n||Dt!==i)&&(pr=null,xi(n,i));do try{t2();break}catch(p){tg(n,p)}while(!0);if(bc(),Ue=o,sl.current=c,pt!==null)throw Error(r(261));return St=null,Dt=0,vt}function t2(){for(;pt!==null;)rg(pt)}function n2(){for(;pt!==null&&!Pt();)rg(pt)}function rg(n){var i=og(n.alternate,n,sn);n.memoizedProps=n.pendingProps,i===null?ig(n):pt=i,Zc.current=null}function ig(n){var i=n;do{var o=i.alternate;if(n=i.return,(i.flags&32768)===0){if(o=qb(o,i,sn),o!==null){pt=o;return}}else{if(o=Kb(o,i),o!==null){o.flags&=32767,pt=o;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{vt=6,pt=null;return}}if(i=i.sibling,i!==null){pt=i;return}pt=i=n}while(i!==null);vt===0&&(vt=5)}function wi(n,i,o){var c=Ge,p=xn.transition;try{xn.transition=null,Ge=1,r2(n,i,o,c)}finally{xn.transition=p,Ge=c}return null}function r2(n,i,o,c){do pa();while($r!==null);if((Ue&6)!==0)throw Error(r(327));o=n.finishedWork;var p=n.finishedLanes;if(o===null)return null;if(n.finishedWork=null,n.finishedLanes=0,o===n.current)throw Error(r(177));n.callbackNode=null,n.callbackPriority=0;var y=o.lanes|o.childLanes;if(_1(n,y),n===St&&(pt=St=null,Dt=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||ul||(ul=!0,lg(zt,function(){return pa(),null})),y=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||y){y=xn.transition,xn.transition=null;var w=Ge;Ge=1;var P=Ue;Ue|=4,Zc.current=null,Jb(n,o),qp(o,n),Cb(lc),ko=!!oc,lc=oc=null,n.current=o,Xb(o),He(),Ue=P,Ge=w,xn.transition=y}else n.current=o;if(ul&&(ul=!1,$r=n,cl=p),y=n.pendingLanes,y===0&&(Ur=null),Yi(o.stateNode),Jt(n,ze()),i!==null)for(c=n.onRecoverableError,o=0;o<i.length;o++)p=i[o],c(p.value,{componentStack:p.stack,digest:p.digest});if(ll)throw ll=!1,n=nd,nd=null,n;return(cl&1)!==0&&n.tag!==0&&pa(),y=n.pendingLanes,(y&1)!==0?n===rd?Ss++:(Ss=0,rd=n):Ss=0,Fr(),null}function pa(){if($r!==null){var n=Yh(cl),i=xn.transition,o=Ge;try{if(xn.transition=null,Ge=16>n?16:n,$r===null)var c=!1;else{if(n=$r,$r=null,cl=0,(Ue&6)!==0)throw Error(r(331));var p=Ue;for(Ue|=4,pe=n.current;pe!==null;){var y=pe,w=y.child;if((pe.flags&16)!==0){var P=y.deletions;if(P!==null){for(var N=0;N<P.length;N++){var H=P[N];for(pe=H;pe!==null;){var te=pe;switch(te.tag){case 0:case 11:case 15:xs(8,te,y)}var re=te.child;if(re!==null)re.return=te,pe=re;else for(;pe!==null;){te=pe;var Z=te.sibling,de=te.return;if($p(te),te===H){pe=null;break}if(Z!==null){Z.return=de,pe=Z;break}pe=de}}}var xe=y.alternate;if(xe!==null){var be=xe.child;if(be!==null){xe.child=null;do{var ht=be.sibling;be.sibling=null,be=ht}while(be!==null)}}pe=y}}if((y.subtreeFlags&2064)!==0&&w!==null)w.return=y,pe=w;else e:for(;pe!==null;){if(y=pe,(y.flags&2048)!==0)switch(y.tag){case 0:case 11:case 15:xs(9,y,y.return)}var V=y.sibling;if(V!==null){V.return=y.return,pe=V;break e}pe=y.return}}var A=n.current;for(pe=A;pe!==null;){w=pe;var z=w.child;if((w.subtreeFlags&2064)!==0&&z!==null)z.return=w,pe=z;else e:for(w=A;pe!==null;){if(P=pe,(P.flags&2048)!==0)try{switch(P.tag){case 0:case 11:case 15:al(9,P)}}catch(ke){ot(P,P.return,ke)}if(P===w){pe=null;break e}var se=P.sibling;if(se!==null){se.return=P.return,pe=se;break e}pe=P.return}}if(Ue=p,Fr(),Ut&&typeof Ut.onPostCommitFiberRoot=="function")try{Ut.onPostCommitFiberRoot(mn,n)}catch{}c=!0}return c}finally{Ge=o,xn.transition=i}}return!1}function ag(n,i,o){i=da(o,i),i=Cp(n,i,1),n=Br(n,i,1),i=Wt(),n!==null&&(Ya(n,1,i),Jt(n,i))}function ot(n,i,o){if(n.tag===3)ag(n,n,o);else for(;i!==null;){if(i.tag===3){ag(i,n,o);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Ur===null||!Ur.has(c))){n=da(o,n),n=kp(i,n,1),i=Br(i,n,1),n=Wt(),i!==null&&(Ya(i,1,n),Jt(i,n));break}}i=i.return}}function i2(n,i,o){var c=n.pingCache;c!==null&&c.delete(i),i=Wt(),n.pingedLanes|=n.suspendedLanes&o,St===n&&(Dt&o)===o&&(vt===4||vt===3&&(Dt&130023424)===Dt&&500>ze()-td?xi(n,0):ed|=o),Jt(n,i)}function sg(n,i){i===0&&((n.mode&1)===0?i=1:(i=or,or<<=1,(or&130023424)===0&&(or=4194304)));var o=Wt();n=fr(n,i),n!==null&&(Ya(n,i,o),Jt(n,o))}function a2(n){var i=n.memoizedState,o=0;i!==null&&(o=i.retryLane),sg(n,o)}function s2(n,i){var o=0;switch(n.tag){case 13:var c=n.stateNode,p=n.memoizedState;p!==null&&(o=p.retryLane);break;case 19:c=n.stateNode;break;default:throw Error(r(314))}c!==null&&c.delete(i),sg(n,o)}var og;og=function(n,i,o){if(n!==null)if(n.memoizedProps!==i.pendingProps||Gt.current)Kt=!0;else{if((n.lanes&o)===0&&(i.flags&128)===0)return Kt=!1,Gb(n,i,o);Kt=(n.flags&131072)!==0}else Kt=!1,it&&(i.flags&1048576)!==0&&Bm(i,Uo,i.index);switch(i.lanes=0,i.tag){case 2:var c=i.type;rl(n,i),n=i.pendingProps;var p=ra(i,Mt.current);ua(i,o),p=Ac(null,i,c,n,p,o);var y=Lc();return i.flags|=1,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,qt(c)?(y=!0,Vo(i)):y=!1,i.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,Ec(i),p.updater=tl,i.stateNode=p,p._reactInternals=i,Vc(i,c,n,o),i=$c(null,i,c,!0,y,o)):(i.tag=0,it&&y&&pc(i),$t(null,i,p,o),i=i.child),i;case 16:c=i.elementType;e:{switch(rl(n,i),n=i.pendingProps,p=c._init,c=p(c._payload),i.type=c,p=i.tag=l2(c),n=On(c,n),p){case 0:i=Uc(null,i,c,n,o);break e;case 1:i=Lp(null,i,c,n,o);break e;case 11:i=jp(null,i,c,n,o);break e;case 14:i=Dp(null,i,c,On(c.type,n),o);break e}throw Error(r(306,c,""))}return i;case 0:return c=i.type,p=i.pendingProps,p=i.elementType===c?p:On(c,p),Uc(n,i,c,p,o);case 1:return c=i.type,p=i.pendingProps,p=i.elementType===c?p:On(c,p),Lp(n,i,c,p,o);case 3:e:{if(Mp(i),n===null)throw Error(r(387));c=i.pendingProps,y=i.memoizedState,p=y.element,Km(n,i),qo(i,c,null,o);var w=i.memoizedState;if(c=w.element,y.isDehydrated)if(y={element:c,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},i.updateQueue.baseState=y,i.memoizedState=y,i.flags&256){p=da(Error(r(423)),i),i=Op(n,i,c,o,p);break e}else if(c!==p){p=da(Error(r(424)),i),i=Op(n,i,c,o,p);break e}else for(an=Or(i.stateNode.containerInfo.firstChild),rn=i,it=!0,Mn=null,o=Gm(i,null,c,o),i.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(sa(),c===p){i=mr(n,i,o);break e}$t(n,i,c,o)}i=i.child}return i;case 5:return Xm(i),n===null&&vc(i),c=i.type,p=i.pendingProps,y=n!==null?n.memoizedProps:null,w=p.children,uc(c,p)?w=null:y!==null&&uc(c,y)&&(i.flags|=32),Ap(n,i),$t(n,i,w,o),i.child;case 6:return n===null&&vc(i),null;case 13:return Ip(n,i,o);case 4:return Tc(i,i.stateNode.containerInfo),c=i.pendingProps,n===null?i.child=oa(i,null,c,o):$t(n,i,c,o),i.child;case 11:return c=i.type,p=i.pendingProps,p=i.elementType===c?p:On(c,p),jp(n,i,c,p,o);case 7:return $t(n,i,i.pendingProps,o),i.child;case 8:return $t(n,i,i.pendingProps.children,o),i.child;case 12:return $t(n,i,i.pendingProps.children,o),i.child;case 10:e:{if(c=i.type._context,p=i.pendingProps,y=i.memoizedProps,w=p.value,Ze(Ho,c._currentValue),c._currentValue=w,y!==null)if(Ln(y.value,w)){if(y.children===p.children&&!Gt.current){i=mr(n,i,o);break e}}else for(y=i.child,y!==null&&(y.return=i);y!==null;){var P=y.dependencies;if(P!==null){w=y.child;for(var N=P.firstContext;N!==null;){if(N.context===c){if(y.tag===1){N=hr(-1,o&-o),N.tag=2;var H=y.updateQueue;if(H!==null){H=H.shared;var te=H.pending;te===null?N.next=N:(N.next=te.next,te.next=N),H.pending=N}}y.lanes|=o,N=y.alternate,N!==null&&(N.lanes|=o),Cc(y.return,o,i),P.lanes|=o;break}N=N.next}}else if(y.tag===10)w=y.type===i.type?null:y.child;else if(y.tag===18){if(w=y.return,w===null)throw Error(r(341));w.lanes|=o,P=w.alternate,P!==null&&(P.lanes|=o),Cc(w,o,i),w=y.sibling}else w=y.child;if(w!==null)w.return=y;else for(w=y;w!==null;){if(w===i){w=null;break}if(y=w.sibling,y!==null){y.return=w.return,w=y;break}w=w.return}y=w}$t(n,i,p.children,o),i=i.child}return i;case 9:return p=i.type,c=i.pendingProps.children,ua(i,o),p=yn(p),c=c(p),i.flags|=1,$t(n,i,c,o),i.child;case 14:return c=i.type,p=On(c,i.pendingProps),p=On(c.type,p),Dp(n,i,c,p,o);case 15:return Rp(n,i,i.type,i.pendingProps,o);case 17:return c=i.type,p=i.pendingProps,p=i.elementType===c?p:On(c,p),rl(n,i),i.tag=1,qt(c)?(n=!0,Vo(i)):n=!1,ua(i,o),bp(i,c,p),Vc(i,c,p,o),$c(null,i,c,!0,n,o);case 19:return Fp(n,i,o);case 22:return Np(n,i,o)}throw Error(r(156,i.tag))};function lg(n,i){return Xe(n,i)}function o2(n,i,o,c){this.tag=n,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 6,763 bytes, line 41
41ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wn(n,i,o,c){return new o2(n,i,o,c)}function ud(n){return n=n.prototype,!(!n||!n.isReactComponent)}function l2(n){if(typeof n=="function")return ud(n)?1:0;if(n!=null){if(n=n.$$typeof,n===ae)return 11;if(n===ce)return 14}return 2}function Yr(n,i){var o=n.alternate;return o===null?(o=wn(n.tag,i,n.key,n.mode),o.elementType=n.elementType,o.type=n.type,o.stateNode=n.stateNode,o.alternate=n,n.alternate=o):(o.pendingProps=i,o.type=n.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=n.flags&14680064,o.childLanes=n.childLanes,o.lanes=n.lanes,o.child=n.child,o.memoizedProps=n.memoizedProps,o.memoizedState=n.memoizedState,o.updateQueue=n.updateQueue,i=n.dependencies,o.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},o.sibling=n.sibling,o.index=n.index,o.ref=n.ref,o}function ml(n,i,o,c,p,y){var w=2;if(c=n,typeof n=="function")ud(n)&&(w=1);else if(typeof n=="string")w=5;else e:switch(n){case W:return bi(o.children,p,y,i);case T:w=8,p|=8;break;case M:return n=wn(12,o,i,p|2),n.elementType=M,n.lanes=y,n;case ue:return n=wn(13,o,i,p),n.elementType=ue,n.lanes=y,n;case ge:return n=wn(19,o,i,p),n.elementType=ge,n.lanes=y,n;case fe:return pl(o,p,y,i);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case O:w=10;break e;case q:w=9;break e;case ae:w=11;break e;case ce:w=14;break e;case ie:w=16,c=null;break e}throw Error(r(130,n==null?n:typeof n,""))}return i=wn(w,o,i,p),i.elementType=n,i.type=c,i.lanes=y,i}function bi(n,i,o,c){return n=wn(7,n,c,i),n.lanes=o,n}function pl(n,i,o,c){return n=wn(22,n,c,i),n.elementType=fe,n.lanes=o,n.stateNode={isHidden:!1},n}function cd(n,i,o){return n=wn(6,n,null,i),n.lanes=o,n}function dd(n,i,o){return i=wn(4,n.children!==null?n.children:[],n.key,i),i.lanes=o,i.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},i}function u2(n,i,o,c,p){this.tag=i,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Fu(0),this.expirationTimes=Fu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fu(0),this.identifierPrefix=c,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null}function fd(n,i,o,c,p,y,w,P,N){return n=new u2(n,i,o,P,N),i===1?(i=1,y===!0&&(i|=8)):i=0,y=wn(3,null,null,i),n.current=y,y.stateNode=n,y.memoizedState={element:c,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ec(y),n}function c2(n,i,o){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:J,key:c==null?null:""+c,children:n,containerInfo:i,implementation:o}}function ug(n){if(!n)return _r;n=n._reactInternals;e:{if(he(n)!==n||n.tag!==1)throw Error(r(170));var i=n;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(qt(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(r(171))}if(n.tag===1){var o=n.type;if(qt(o))return _m(n,o,i)}return i}function cg(n,i,o,c,p,y,w,P,N){return n=fd(o,c,!0,n,p,y,w,P,N),n.context=ug(null),o=n.current,c=Wt(),p=Wr(o),y=hr(c,p),y.callback=i??null,Br(o,y,p),n.current.lanes=p,Ya(n,p,c),Jt(n,c),n}function gl(n,i,o,c){var p=i.current,y=Wt(),w=Wr(p);return o=ug(o),i.context===null?i.context=o:i.pendingContext=o,i=hr(y,w),i.payload={element:n},c=c===void 0?null:c,c!==null&&(i.callback=c),n=Br(p,i,w),n!==null&&(Fn(n,p,w,y),Go(n,p,w)),w}function yl(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function dg(n,i){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var o=n.retryLane;n.retryLane=o!==0&&o<i?o:i}}function hd(n,i){dg(n,i),(n=n.alternate)&&dg(n,i)}function d2(){return null}var fg=typeof reportError=="function"?reportError:function(n){console.error(n)};function md(n){this._internalRoot=n}vl.prototype.render=md.prototype.render=function(n){var i=this._internalRoot;if(i===null)throw Error(r(409));gl(n,i,null,null)},vl.prototype.unmount=md.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var i=n.containerInfo;vi(function(){gl(null,n,null,null)}),i[lr]=null}};function vl(n){this._internalRoot=n}vl.prototype.unstable_scheduleHydration=function(n){if(n){var i=Kh();n={blockedOn:null,target:n,priority:i};for(var o=0;o<Ar.length&&i!==0&&i<Ar[o].priority;o++);Ar.splice(o,0,n),o===0&&Xh(n)}};function pd(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function xl(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function hg(){}function f2(n,i,o,c,p){if(p){if(typeof c=="function"){var y=c;c=function(){var H=yl(w);y.call(H)}}var w=cg(i,c,n,0,null,!1,!1,"",hg);return n._reactRootContainer=w,n[lr]=w.current,ss(n.nodeType===8?n.parentNode:n),vi(),w}for(;p=n.lastChild;)n.removeChild(p);if(typeof c=="function"){var P=c;c=function(){var H=yl(N);P.call(H)}}var N=fd(n,0,!1,null,null,!1,!1,"",hg);return n._reactRootContainer=N,n[lr]=N.current,ss(n.nodeType===8?n.parentNode:n),vi(function(){gl(i,N,o,c)}),N}function wl(n,i,o,c,p){var y=o._reactRootContainer;if(y){var w=y;if(typeof p=="function"){var P=p;p=function(){var N=yl(w);P.call(N)}}gl(i,w,n,p)}else w=f2(o,i,n,p,c);return yl(w)}Gh=function(n){switch(n.tag){case 3:var i=n.stateNode;if(i.current.memoizedState.isDehydrated){var o=jr(i.pendingLanes);o!==0&&(Vu(i,o|1),Jt(i,ze()),(Ue&6)===0&&(ma=ze()+500,Fr()))}break;case 13:vi(function(){var c=fr(n,1);if(c!==null){var p=Wt();Fn(c,n,1,p)}}),hd(n,1)}},Bu=function(n){if(n.tag===13){var i=fr(n,134217728);if(i!==null){var o=Wt();Fn(i,n,134217728,o)}hd(n,134217728)}},qh=function(n){if(n.tag===13){var i=Wr(n),o=fr(n,i);if(o!==null){var c=Wt();Fn(o,n,i,c)}hd(n,i)}},Kh=function(){return Ge},Qh=function(n,i){var o=Ge;try{return Ge=n,i()}finally{Ge=o}},Wi=function(n,i,o){switch(i){case"input":if(Dn(n,o),i=o.name,o.type==="radio"&&i!=null){for(o=n;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<o.length;i++){var c=o[i];if(c!==n&&c.form===n.form){var p=_o(c);if(!p)throw Error(r(90));vr(c),Dn(c,p)}}}break;case"textarea":vo(n,o);break;case"select":i=o.value,i!=null&&wr(n,!!o.multiple,i,!1)}},bo=sd,$a=vi;var h2={usingClientEntryPoint:!1,Events:[us,ta,_o,wo,Ua,sd]}
41,Cs={findFiberByHostInstance:ci,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},m2={bundleType:Cs.bundleType,version:Cs.version,rendererPackageName:Cs.rendererPackageName,rendererConfig:Cs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:F.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=_e(n),n===null?null:n.stateNode},findFiberByHostInstance:Cs.findFiberByHostInstance||d2,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 bl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!bl.isDisabled&&bl.supportsFiber)try{mn=bl.inject(m2),Ut=bl}catch{}}return Xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=h2,Xt.createPortal=function(n,i){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!pd(i))throw Error(r(200));return c2(n,i,null,o)},Xt.createRoot=function(n,i){if(!pd(n))throw Error(r(299));var o=!1,c="",p=fg;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onRecoverableError!==void 0&&(p=i.onRecoverableError)),i=fd(n,1,!1,null,null,o,!1,c,p),n[lr]=i.current,ss(n.nodeType===8?n.parentNode:n),new md(i)},Xt.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var i=n._reactInternals;if(i===void 0)throw typeof n.render=="function"?Error(r(188)):(n=Object.keys(n).join(","),Error(r(268,n)));return n=_e(i),n=n===null?null:n.stateNode,n},Xt.flushSync=function(n){return vi(n)},Xt.hydrate=function(n,i,o){if(!xl(i))throw Error(r(200));return wl(null,n,i,!0,o)},Xt.hydrateRoot=function(n,i,o){if(!pd(n))throw Error(r(405));var c=o!=null&&o.hydratedSources||null,p=!1,y="",w=fg;if(o!=null&&(o.unstable_strictMode===!0&&(p=!0),o.identifierPrefix!==void 0&&(y=o.identifierPrefix),o.onRecoverableError!==void 0&&(w=o.onRecoverableError)),i=cg(i,null,n,1,o??null,p,!1,y,w),n[lr]=i.current,ss(n),c)for(n=0;n<c.length;n++)o=c[n],p=o._getVersion,p=p(o._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[o,p]:i.mutableSourceEagerHydrationData.push(o,p);return new vl(i)},Xt.render=function(n,i,o){if(!xl(i))throw Error(r(200));return wl(null,n,i,!1,o)},Xt.unmountComponentAtNode=function(n){if(!xl(n))throw Error(r(40));return n._reactRootContainer?(vi(function(){wl(null,null,n,!1,function(){n._reactRootContainer=null,n[lr]=null})}),!0):!1},Xt.unstable_batchedUpdates=sd,Xt.unstable_renderSubtreeIntoContainer=function(n,i,o,c){if(!xl(o))throw Error(r(200));if(n==null||n._reactInternals===void 0)throw Error(r(38));return wl(n,i,o,!1,c)},Xt.version="18.3.1-next-f1338f8080-20240426",Xt}var bg;function l0(){if(bg)return vd.exports;bg=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),vd.exports=E2(),vd.exports}var Sg;function T2(){if(Sg)return Sl;Sg=1;var e=l0();return Sl.createRoot=e.createRoot,Sl.hydrateRoot=e.hydrateRoot,Sl}var P2=T2();const Cg=ai(P2);var bd,kg;function j2(){if(kg)return bd;kg=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",a=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function s(l,u){if(l===u)return!0;if(l&&u&&typeof l=="object"&&typeof u=="object"){if(l.constructor!==u.constructor)return!1;var d,h,m;if(Array.isArray(l)){if(d=l.length,d!=u.length)return!1;for(h=d;h--!==0;)if(!s(l[h],u[h]))return!1;return!0}var g;if(t&&l instanceof Map&&u instanceof Map){if(l.size!==u.size)return!1;for(g=l.entries();!(h=g.next()).done;)if(!u.has(h.value[0]))return!1;for(g=l.entries();!(h=g.next()).done;)if(!s(h.value[1],u.get(h.value[0])))return!1;return!0}if(r&&l instanceof Set&&u instanceof Set){if(l.size!==u.size)return!1;for(g=l.entries();!(h=g.next()).done;)if(!u.has(h.value[0]))return!1;return!0}
41if(a&&ArrayBuffer.isView(l)&&ArrayBuffer.isView(u)){if(d=l.length,d!=u.length)return!1;for(h=d;h--!==0;)if(l[h]!==u[h])return!1;return!0}if(l.constructor===RegExp)return l.source===u.source&&l.flags===u.flags;if(l.valueOf!==Object.prototype.valueOf&&typeof l.valueOf=="function"&&typeof u.valueOf=="function")return l.valueOf()===u.valueOf();if(l.toString!==Object.prototype.toString&&typeof l.toString=="function"&&typeof u.toString=="function")return l.toString()===u.toString();if(m=Object.keys(l),d=m.length,d!==Object.keys(u).length)return!1;for(h=d;h--!==0;)if(!Object.prototype.hasOwnProperty.call(u,m[h]))return!1;if(e&&l instanceof Element)return!1;for(h=d;h--!==0;)if(!((m[h]==="_owner"||m[h]==="__v"||m[h]==="__o")&&l.$$typeof)&&!s(l[m[h]],u[m[h]]))return!1;return!0}return l!==l&&u!==u}return bd=function(u,d){try{return s(u,d)}catch(h){if((h.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw h}},bd}var D2=j2();const R2=ai(D2);var Sd,Eg;function N2(){if(Eg)return Sd;Eg=1;var e=function(t,r,a,s,l,u,d,h){if(!t){var m;if(r===void 0)m=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=[a,s,l,u,d,h],v=0;m=new Error(r.replace(/%s/g,function(){return g[v++]})),m.name="Invariant Violation"}throw m.framesToPop=1,m}};return Sd=e,Sd}var A2=N2();const Tg=ai(A2);var Cd,Pg;function L2(){return Pg||(Pg=1,Cd=function(t,r,a,s){var l=a?a.call(s,t,r):void 0;if(l!==void 0)return!!l;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var u=Object.keys(t),d=Object.keys(r);if(u.length!==d.length)return!1;for(var h=Object.prototype.hasOwnProperty.bind(r),m=0;m<u.length;m++){var g=u[m];if(!h(g))return!1;var v=t[g],x=r[g];if(l=a?a.call(s,v,x,g):void 0,l===!1||l===void 0&&v!==x)return!1}return!0}),Cd}var M2=L2();const O2=ai(M2);var u0=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(u0||{}),kd={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},jg=Object.values(u0),Qf={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I2=Object.entries(Qf).reduce((e,[t,r])=>(e[r]=t,e),{}),zn="data-rh",Ta={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Pa=(e,t)=>{for(let r=e.length-1;r>=0;r-=1){const a=e[r];if(Object.prototype.hasOwnProperty.call(a,t))return a[t]}return null},_2=e=>{let t=Pa(e,"title");const r=Pa(e,Ta.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,()=>t);const a=Pa(e,Ta.DEFAULT_TITLE);return t||a||void 0},F2=e=>Pa(e,Ta.ON_CHANGE_CLIENT_STATE)||(()=>{}),Ed=(e,t)=>t.filter(r=>typeof r[e]<"u").map(r=>r[e]).reduce((r,a)=>({...r,...a}),{}),V2=(e,t)=>t.filter(r=>typeof r.base<"u").map(r=>r.base).reverse().reduce((r,a)=>{if(!r.length){const s=Object.keys(a);for(let l=0;l<s.length;l+=1){const d=s[l].toLowerCase();if(e.indexOf(d)!==-1&&a[d])return r.concat(a)}}return r},[]),B2=e=>console&&typeof console.warn=="function"&&console.warn(e),Es=(e,t,r)=>{const a={};return r.filter(s=>Array.isArray(s[e])?!0:(typeof s[e]<"u"&&B2(`Helmet: ${e} should be of type "Array". Instead found type "${typeof s[e]}"`),!1)).map(s=>s[e]).reverse().reduce((s,l)=>{const u={};l.filter(h=>{let m;const g=Object.keys(h);for(let x=0;x<g.length;x+=1){const b=g[x],S=b.toLowerCase();t.indexOf(S)!==-1&&!(m==="rel"&&h[m].toLowerCase()==="canonical")&&!(S==="rel"&&h[S].toLowerCase()==="stylesheet")&&(m=S),t.indexOf(b)!==-1&&(b==="innerHTML"||b==="cssText"||b==="itemprop")&&(m=b)}if(!m||!h[m])return!1;const v=h[m].toLowerCase();return a[m]||(a[m]={}),u[m]||(u[m]={}),a[m][v]?!1:(u[m][v]=!0,!0)}
41).reverse().forEach(h=>s.push(h));const d=Object.keys(u);for(let h=0;h<d.length;h+=1){const m=d[h],g={...a[m],...u[m]};a[m]=g}return s},[]).reverse()},z2=(e,t)=>{if(Array.isArray(e)&&e.length){for(let r=0;r<e.length;r+=1)if(e[r][t])return!0}return!1},U2=e=>({baseTag:V2(["href"],e),bodyAttributes:Ed("bodyAttributes",e),defer:Pa(e,Ta.DEFER),encode:Pa(e,Ta.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Ed("htmlAttributes",e),linkTags:Es("link",["rel","href"],e),metaTags:Es("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Es("noscript",["innerHTML"],e),onChangeClientState:F2(e),scriptTags:Es("script",["src","innerHTML"],e),styleTags:Es("style",["cssText"],e),title:_2(e),titleAttributes:Ed("titleAttributes",e),prioritizeSeoTags:z2(e,Ta.PRIORITIZE_SEO_TAGS)}),c0=e=>Array.isArray(e)?e.join(""):e,$2=(e,t)=>{const r=Object.keys(e);for(let a=0;a<r.length;a+=1)if(t[r[a]]&&t[r[a]].includes(e[r[a]]))return!0;return!1},Td=(e,t)=>Array.isArray(e)?e.reduce((r,a)=>($2(a,t)?r.priority.push(a):r.default.push(a),r),{priority:[],default:[]}):{default:e,priority:[]},Dg=(e,t)=>({...e,[t]:void 0}),W2=["noscript","script","style"],lf=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),d0=e=>Object.keys(e).reduce((t,r)=>{const a=typeof e[r]<"u"?`${r}="${e[r]}"`:`${r}`;return t?`${t} ${a}`:a},""),H2=(e,t,r,a)=>{const s=d0(r),l=c0(t);return s?`<${e} ${zn}="true" ${s}>${lf(l,a)}</${e}>`:`<${e} ${zn}="true">${lf(l,a)}</${e}>`},Y2=(e,t,r=!0)=>t.reduce((a,s)=>{const l=s,u=Object.keys(l).filter(m=>!(m==="innerHTML"||m==="cssText")).reduce((m,g)=>{const v=typeof l[g]>"u"?g:`${g}="${lf(l[g],r)}"`;return m?`${m} ${v}`:v},""),d=l.innerHTML||l.cssText||"",h=W2.indexOf(e)===-1;return`${a}<${e} ${zn}="true" ${u}${h?"/>":`>${d}</${e}>`}`},""),f0=(e,t={})=>Object.keys(e).reduce((r,a)=>{const s=Qf[a];return r[s||a]=e[a],r},t),G2=(e,t,r)=>{const a={key:t,[zn]:!0},s=f0(r,a);return[Et.createElement("title",s,t)]},zl=(e,t)=>t.map((r,a)=>{const s={key:a,[zn]:!0};return Object.keys(r).forEach(l=>{const d=Qf[l]||l;if(d==="innerHTML"||d==="cssText"){const h=r.innerHTML||r.cssText;s.dangerouslySetInnerHTML={__html:h}}else s[d]=r[l]}),Et.createElement(e,s)}),Sn=(e,t,r=!0)=>{switch(e){case"title":return{toComponent:()=>G2(e,t.title,t.titleAttributes),toString:()=>H2(e,t.title,t.titleAttributes,r)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>f0(t),toString:()=>d0(t)};default:return{toComponent:()=>zl(e,t),toString:()=>Y2(e,t,r)}}},q2=({metaTags:e,linkTags:t,scriptTags:r,encode:a})=>{const s=Td(e,kd.meta),l=Td(t,kd.link),u=Td(r,kd.script);return{priorityMethods:{toComponent:()=>[...zl("meta",s.priority),...zl("link",l.priority),...zl("script",u.priority)],toString:()=>`${Sn("meta",s.priority,a)} ${Sn("link",l.priority,a)} ${Sn("script",u.priority,a)}`},metaTags:s.default,linkTags:l.default,scriptTags:u.default}},K2=e=>{const{baseTag:t,bodyAttributes:r,encode:a=!0,htmlAttributes:s,noscriptTags:l,styleTags:u,title:d="",titleAttributes:h,prioritizeSeoTags:m}=e;let{linkTags:g,metaTags:v,scriptTags:x}=e,b={toComponent:()=>{},toString:()=>""};return m&&({priorityMethods:b,linkTags:g,metaTags:v,scriptTags:x}=q2(e)),{priority:b,base:Sn("base",t,a),bodyAttributes:Sn("bodyAttributes",r,a),htmlAttributes:Sn("htmlAttributes",s,a),link:Sn("link",g,a),meta:Sn("meta",v,a),noscript:Sn("noscript",l,a),script:Sn("script",x,a),style:Sn("style",u,a),title:Sn("title",{title:d,titleAttributes:h},a)}},uf=K2,Cl=[],h0=!!(typeof window<"u"&&window.document&&window.document.createElement),cf=class{constructor(e,t){gr(this,"instances",[]);gr(this,"canUseDOM",h0);gr(this,"context");gr(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Cl:this.instances,add:e=>{(this.canUseDOM?Cl:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Cl:this.instances).indexOf(e);(this.canUseDOM?Cl:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=uf({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},Q2={},m0=Et.createContext(Q2),Ni,p0=(Ni=class extends k.Component{constructor(r){super(r);gr(this,"helmetData");this.helmetData=new cf(this.props.context||{},Ni.canUseDOM)}render(){return Et.createElement(m0.Provider,{value:this.helmetData.value},this.props.children)}},gr(Ni,"canUseDOM",h0),Ni),ga=(e,t)=>{const r=document.head||document.querySelector("head"),a=r.querySelectorAll(`${e}[${zn}]`),s=[].slice.call(a),l=[];let u;return t&&t.length&&t.forEach(d=>{const h=document.createElement(e);for(const m in d)if(Object.prototype.hasOwnProperty.call(d,m))if(m==="innerHTML")h.innerHTML=d.innerHTML;else if(m==="cssText")h.styleSheet?h.styleSheet.cssText=d.cssText:h.appendChild(document.createTextNode(d.cssText));else{const g=m,v=typeof d[g]>"u"?"":d[g];h.setAttribute(m,v)}h.setAttribute(zn,"true"),s.some((m,g)=>(u=g,h.isEqualNode(m)))?s.splice(u,1):l.push(h)}
41),s.forEach(d=>{var h;return(h=d.parentNode)==null?void 0:h.removeChild(d)}),l.forEach(d=>r.appendChild(d)),{oldTags:s,newTags:l}},df=(e,t)=>{const r=document.getElementsByTagName(e)[0];if(!r)return;const a=r.getAttribute(zn),s=a?a.split(","):[],l=[...s],u=Object.keys(t);for(const d of u){const h=t[d]||"";r.getAttribute(d)!==h&&r.setAttribute(d,h),s.indexOf(d)===-1&&s.push(d);const m=l.indexOf(d);m!==-1&&l.splice(m,1)}for(let d=l.length-1;d>=0;d-=1)r.removeAttribute(l[d]);s.length===l.length?r.removeAttribute(zn):r.getAttribute(zn)!==u.join(",")&&r.setAttribute(zn,u.join(","))},J2=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=c0(e)),df("title",t)},Rg=(e,t)=>{const{baseTag:r,bodyAttributes:a,htmlAttributes:s,linkTags:l,metaTags:u,noscriptTags:d,onChangeClientState:h,scriptTags:m,styleTags:g,title:v,titleAttributes:x}=e;df("body",a),df("html",s),J2(v,x);const b={baseTag:ga("base",r),linkTags:ga("link",l),metaTags:ga("meta",u),noscriptTags:ga("noscript",d),scriptTags:ga("script",m),styleTags:ga("style",g)},S={},E={};Object.keys(b).forEach(C=>{const{newTags:D,oldTags:_}=b[C];D.length&&(S[C]=D),_.length&&(E[C]=b[C].oldTags)}),t&&t(),h(e,S,E)},Ts=null,X2=e=>{Ts&&cancelAnimationFrame(Ts),e.defer?Ts=requestAnimationFrame(()=>{Rg(e,()=>{Ts=null})}):(Rg(e),Ts=null)},Z2=X2,Ng=class extends k.Component{constructor(){super(...arguments);gr(this,"rendered",!1)}shouldComponentUpdate(t){return!O2(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:r}=this.props.context;let a=null;const s=U2(t.get().map(l=>{const u={...l.props};return delete u.context,u}));p0.canUseDOM?Z2(s):uf&&(a=uf(s)),r(a)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},of,g0=(of=class extends k.Component{shouldComponentUpdate(e){return!R2(Dg(this.props,"helmetData"),Dg(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,r,a){return{...t,[e.type]:[...t[e.type]||[],{...r,...this.mapNestedChildrenToProps(e,a)}]}}mapObjectTypeChildren(e,t,r,a){switch(e.type){case"title":return{...t,[e.type]:a,titleAttributes:{...r}};case"body":return{...t,bodyAttributes:{...r}};case"html":return{...t,htmlAttributes:{...r}};default:return{...t,[e.type]:{...r}}}}mapArrayTypeChildrenToProps(e,t){let r={...t};return Object.keys(e).forEach(a=>{r={...r,[a]:e[a]}}),r}warnOnInvalidChildren(e,t){return Tg(jg.some(r=>e.type===r),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${jg.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),Tg(!t||typeof t=="string"||Array.isArray(t)&&!t.some(r=>typeof r!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let r={};return Et.Children.forEach(e,a=>{if(!a||!a.props)return;const{children:s,...l}=a.props,u=Object.keys(l).reduce((h,m)=>(h[I2[m]||m]=l[m],h),{});let{type:d}=a;
41switch(typeof d=="symbol"?d=d.toString():this.warnOnInvalidChildren(a,s),d){case"Symbol(react.fragment)":t=this.mapChildrenToProps(s,t);break;case"link":case"meta":case"noscript":case"script":case"style":r=this.flattenArrayTypeChildren(a,r,u,s);break;default:t=this.mapObjectTypeChildren(a,t,u,s);break}}),this.mapArrayTypeChildrenToProps(r,t)}render(){const{children:e,...t}=this.props;let r={...t},{helmetData:a}=t;if(e&&(r=this.mapChildrenToProps(e,r)),a&&!(a instanceof cf)){const s=a;a=new cf(s.context,!0),delete r.helmetData}return a?Et.createElement(Ng,{...r,context:a.value}):Et.createElement(m0.Consumer,null,s=>Et.createElement(Ng,{...r,context:s}))}},gr(of,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),of);const eS="modulepreload",tS=function(e){return"/"+e},Ag={},Ye=function(t,r,a){let s=Promise.resolve();if(r&&r.length>0){let u=function(m){return Promise.all(m.map(g=>Promise.resolve(g).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),h=(d==null?void 0:d.nonce)||(d==null?void 0:d.getAttribute("nonce"));s=u(r.map(m=>{if(m=tS(m),m in Ag)return;Ag[m]=!0;const g=m.endsWith(".css"),v=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${v}`))return;const x=document.createElement("link");if(x.rel=g?"stylesheet":eS,g||(x.as="script"),x.crossOrigin="",x.href=m,h&&x.setAttribute("nonce",h),document.head.appendChild(x),g)return new Promise((b,S)=>{x.addEventListener("load",b),x.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${m}`)))})}))}function l(u){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=u,window.dispatchEvent(d),!d.defaultPrevented)throw u}return s.then(u=>{for(const d of u||[])d.status==="rejected"&&l(d.reason);return t().catch(l)})};/**
42 * react-router v7.14.1
43 *
44 * Copyright (c) Remix Software Inc.
45 *
46 * This source code is licensed under the MIT license found in the
47 * LICENSE.md file in the root directory of this source tree.
48 *
49 * @license MIT
50 */var y0=e=>{throw TypeError(e)},nS=(e,t,r)=>t.has(e)||y0("Cannot "+r),Pd=(e,t,r)=>(nS(e,t,"read from private field"),r?r.call(e):t.get(e)),rS=(e,t,r)=>t.has(e)?y0("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Lg="popstate";function Mg(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function iS(e={}){function t(a,s){var m;let l=(m=s.state)==null?void 0:m.masked,{pathname:u,search:d,hash:h}=l||a.location;return Ys("",{pathname:u,search:d,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default",l?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function r(a,s){return typeof s=="string"?s:er(s)}return sS(t,r,null,e)}function Fe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ct(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function aS(){return Math.random().toString(36).substring(2,10)}function Og(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Ys(e,t,r=null,a,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?nr(t):t,state:r,key:t&&t.key||a||aS(),unstable_mask:s}}function er({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function nr(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let a=e.indexOf("?");a>=0&&(t.search=e.substring(a),e=e.substring(0,a)),e&&(t.pathname=e)}return t}function sS(e,t,r,a={}){let{window:s=document.defaultView,v5Compat:l=!1}=a,u=s.history,d="POP",h=null,m=g();m==null&&(m=0,u.replaceState({...u.state,idx:m},""));function g(){return(u.state||{idx:null}).idx}function v(){d="POP";let C=g(),D=C==null?null:C-m;m=C,h&&h({action:d,location:E.location,delta:D})}function x(C,D){d="PUSH";let _=Mg(C)?C:Ys(E.location,C,D);m=g()+1;let I=Og(_,m),F=E.createHref(_.unstable_mask||_);try{u.pushState(I,"",F)}catch(U){if(U instanceof DOMException&&U.name==="DataCloneError")throw U;s.location.assign(F)}l&&h&&h({action:d,location:E.location,delta:1})}function b(C,D){d="REPLACE";let _=Mg(C)?C:Ys(E.location,C,D);m=g();let I=Og(_,m),F=E.createHref(_.unstable_mask||_);u.replaceState(I,"",F),l&&h&&h({action:d,location:E.location,delta:0})}function S(C){return v0(C)}let E={get action(){return d},get location(){return e(s,u)},listen(C){if(h)throw new Error("A history only accepts one active listener");return s.addEventListener(Lg,v),h=C,()=>{s.removeEventListener(Lg,v),h=null}},createHref(C){return t(s,C)},createURL:S,encodeLocation(C){let D=S(C);return{pathname:D.pathname,search:D.search,hash:D.hash}},push:x,replace:b,go(C){return u.go(C)}};return E}function v0(e,t=!1){let r="http://localhost";
50typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),Fe(r,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:er(e);return a=a.replace(/ $/,"%20"),!t&&a.startsWith("//")&&(a=r+a),new URL(a,r)}var _s,Ig=class{constructor(e){if(rS(this,_s,new Map),e)for(let[t,r]of e)this.set(t,r)}get(e){if(Pd(this,_s).has(e))return Pd(this,_s).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,t){Pd(this,_s).set(e,t)}};_s=new WeakMap;var oS=new Set(["lazy","caseSensitive","path","id","index","children"]);function lS(e){return oS.has(e)}var uS=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function cS(e){return uS.has(e)}function dS(e){return e.index===!0}function Gs(e,t,r=[],a={},s=!1){return e.map((l,u)=>{let d=[...r,String(u)],h=typeof l.id=="string"?l.id:d.join("-");if(Fe(l.index!==!0||!l.children,"Cannot specify children on an index route"),Fe(s||!a[h],`Found a route id collision on i
50d "${h}".  Route id's must be globally unique within Data Router usages`),dS(l)){let m={...l,id:h};return a[h]=_g(m,t(m)),m}else{let m={...l,id:h,children:void 0};return a[h]=_g(m,t(m)),l.children&&(m.children=Gs(l.children,t,d,a,s)),m}})}function _g(e,t){return Object.assign(e,{...t,...typeof t.lazy=="object"&&t.lazy!=null?{lazy:{...e.lazy,...t.lazy}}:{}})}function Jr(e,t,r="/"){return Fs(e,t,r,!1)}function Fs(e,t,r,a){let s=typeof t=="string"?nr(t):t,l=Pn(s.pathname||"/",r);if(l==null)return null;let u=w0(e);fS(u);let d=null;for(let h=0;d==null&&h<u.length;++h){let m=CS(l);d=bS(u[h],m,a)}return d}function x0(e,t){let{route:r,pathname:a,params:s}=e;return{id:r.id,pathname:a,params:s,data:t[r.id],loaderData:t[r.id],handle:r.handle}}function w0(e,t=[],r=[],a="",s=!1){let l=(u,d,h=s,m)=>{let g={relativePath:m===void 0?u.path||"":m,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(a)&&h)return;Fe(g.relativePath.startsWith(a),`Absolute route path "${g.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(a.length)}let v=En([a,g.relativePath]),x=r.concat(g);u.children&&u.children.length>0&&(Fe(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),w0(u.children,t,x,v,h)),!(u.path==null&&!u.index)&&t.push({path:v,score:xS(v,u.index),routesMeta:x})};return e.forEach((u,d)=>{var h;if(u.path===""||!((h=u.path)!=null&&h.includes("?")))l(u,d);else for(let m of b0(u.path))l(u,d,!0,m)}),t}function b0(e){let t=e.split("/");if(t.length===0)return[];let[r,...a]=t,s=r.endsWith("?"),l=r.replace(/\?$/,"");if(a.length===0)return s?[l,""]:[l];let u=b0(a.join("/")),d=[];return d.push(...u.map(h=>h===""?l:[l,h].join("/"))),s&&d.push(...u),d.map(h=>e.startsWith("/")&&h===""?"/":h)}function fS(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:wS(t.routesMeta.map(a=>a.childrenIndex),r.routesMeta.map(a=>a.childrenIndex)))}var hS=/^:[\w-]+$/,mS=3,pS=2,gS=1,yS=10,vS=-2,Fg=e=>e==="*";function xS(e,t){let r=e.split("/"),a=r.length;return r.some(Fg)&&(a+=vS),t&&(a+=pS),r.filter(s=>!Fg(s)).reduce((s,l)=>s+(hS.test(l)?mS:l===""?gS:yS),a)}function wS(e,t){return e.length===t.length&&e.slice(0,-1).every((a,s)=>a===t[s])?e[e.length-1]-t[t.length-1]:0}function bS(e,t,r=!1){let{routesMeta:a}=e,s={},l="/",u=[];for(let d=0;d<a.length;++d){let h=a[d],m=d===a.length-1,g=l==="/"?t:t.slice(l.length)||"/",v=nu({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},g),x=h.route;if(!v&&m&&r&&!a[a.length-1].route.index&&(v=nu({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},g)),!v)return null;
50Object.assign(s,v.params),u.push({params:s,pathname:En([l,v.pathname]),pathnameBase:TS(En([l,v.pathnameBase])),route:x}),v.pathnameBase!=="/"&&(l=En([l,v.pathnameBase]))}return u}function nu(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,a]=SS(e.path,e.caseSensitive,e.end),s=t.match(r);if(!s)return null;let l=s[0],u=l.replace(/(.)\/+$/,"$1"),d=s.slice(1);return{params:a.reduce((m,{paramName:g,isOptional:v},x)=>{if(g==="*"){let S=d[x]||"";u=l.slice(0,l.length-S.length).replace(/(.)\/+$/,"$1")}const b=d[x];return v&&!b?m[g]=void 0:m[g]=(b||"").replace(/%2F/g,"/"),m},{}),pathname:l,pathnameBase:u,pattern:e}}function SS(e,t=!1,r=!0){ct(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let a=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,h,m,g)=>{if(a.push({paramName:d,isOptional:h!=null}),h){let v=g.charAt(m+u.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(a.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),a]}function CS(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ct(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Pn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,a=e.charAt(r);return a&&a!=="/"?null:e.slice(r)||"/"}function kS({basename:e,pathname:t}){return t==="/"?e:En([e,t])}var S0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Jf=e=>S0.test(e);function ES(e,t="/"){let{pathname:r,search:a="",hash:s=""}=typeof e=="string"?nr(e):e,l;return r?(r=Xf(r),r.startsWith("/")?l=Vg(r.substring(1),"/"):l=Vg(r,t)):l=t,{pathname:l,search:PS(a),hash:jS(s)}}function Vg(e,t){let r=ru(t).split("/");return e.split("/").forEach(s=>{s===".."?r.length>1&&r.pop():s!=="."&&r.push(s)}),r.length>1?r.join("/"):"/"}function jd(e,t,r,a){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(a)}].  Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function C0(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function xu(e){let t=C0(e);return t.map((r,a)=>a===t.length-1?r.pathname:r.pathnameBase)}function Zs(e,t,r,a=!1){let s;typeof e=="string"?s=nr(e):(s={...e},Fe(!s.pathname||!s.pathname.includes("?"),jd("?","pathname","search",s)),Fe(!s.pathname||!s.pathname.includes("#"),jd("#","pathname","hash",s)),Fe(!s.search||!s.search.includes("#"),jd("#","search","hash",s)));let l=e===""||s.pathname==="",u=l?"/":s.pathname,d;if(u==null)d=r;else{let v=t.length-1;if(!a&&u.startsWith("..")){let x=u.split("/");for(;x[0]==="..";)x.shift(),v-=1;s.pathname=x.join("/")}d=v>=0?t[v]:"/"}let h=ES(s,d),m=u&&u!=="/"&&u.endsWith("/"),g=(l||u===".")&&r.endsWith("/");return!h.pathname.endsWith("/")&&(m||g)&&(h.pathname+="/"),h}var Xf=e=>e.replace(/\/\/+/g,"/"),En=e=>Xf(e.join("/")),ru=e=>e.replace(/\/+$/,""),TS=e=>ru(e).replace(/^\/*/,"/"),PS=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,jS=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,DS=class{constructor(e,t){this.type="DataWithResponseInit",this.data=e,this.init=t||null}};function La(e,t){return new DS(e,typeof t=="number"?{status:t}:t)}var eo=class{constructor(e,t,r,a=!1){this.status=e,this.statusText=t||"",this.internal=a,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function Da(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function to(e){let t=e.map(r=>
50r.route.path).filter(Boolean);return En(t)||"/"}var k0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function E0(e,t){let r=e;if(typeof r!="string"||!S0.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let a=r,s=!1;if(k0)try{let l=new URL(window.location.href),u=r.startsWith("//")?new URL(l.protocol+r):new URL(r),d=Pn(u.pathname,t);u.origin===l.origin&&d!=null?r=d+u.search+u.hash:s=!0}catch{ct(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:s,to:r}}var Zr=Symbol("Uninstrumented");function RS(e,t){let r={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};e.forEach(s=>s({id:t.id,index:t.index,path:t.path,instrument(l){let u=Object.keys(r);for(let d of u)l[d]&&r[d].push(l[d])}}));let a={};if(typeof t.lazy=="function"&&r.lazy.length>0){let s=Sa(r.lazy,t.lazy,()=>{});s&&(a.lazy=s)}if(typeof t.lazy=="object"){let s=t.lazy;["middleware","loader","action"].forEach(l=>{let u=s[l],d=r[`lazy.${l}`];if(typeof u=="function"&&d.length>0){let h=Sa(d,u,()=>{});h&&(a.lazy=Object.assign(a.lazy||{},{[l]:h}))}})}return["loader","action"].forEach(s=>{let l=t[s];if(typeof l=="function"&&r[s].length>0){let u=l[Zr]??l,d=Sa(r[s],u,(...h)=>Bg(h[0]));d&&(s==="loader"&&u.hydrate===!0&&(d.hydrate=!0),d[Zr]=u,a[s]=d)}}),t.middleware&&t.middleware.length>0&&r.middleware.length>0&&(a.middleware=t.middleware.map(s=>{let l=s[Zr]??s,u=Sa(r.middleware,l,(...d)=>Bg(d[0]));return u?(u[Zr]=l,u):s})),a}function NS(e,t){let r={navigate:[],fetch:[]};if(t.forEach(a=>a({instrument(s){let l=Object.keys(s);for(let u of l)s[u]&&r[u].push(s[u])}})),r.navigate.length>0){let a=e.navigate[Zr]??e.navigate,s=Sa(r.navigate,a,(...l)=>{let[u,d]=l;return{to:typeof u=="number"||typeof u=="string"?u:u?er(u):".",...zg(e,d??{})}});s&&(s[Zr]=a,e.navigate=s)}if(r.fetch.length>0){let a=e.fetch[Zr]??e.fetch,s=Sa(r.fetch,a,(...l)=>{let[u,,d,h]=l;return{href:d??".",fetcherKey:u,...zg(e,h??{})}});s&&(s[Zr]=a,e.fetch=s)}return e}function Sa(e,t,r){return e.length===0?null:async(...a)=>{let s=await T0(e,r(...a),()=>t(...a),e.length-1);if(s.type==="error")throw s.value;return s.value}}async function T0(e,t,r,a){let s=e[a],l;if(s){let u,d=async()=>(u?console.error("You cannot call instrumented handlers more than once"):u=T0(e,t,r,a-1),l=await u,Fe(l,"Expected a result"),l.type==="error"&&l.value instanceof Error?{status:"error",error:l.value}:{status:"success",error:void 0});try{await s(d,t)}catch(h){console.error("An instrumentation function threw an error:",h)}u||await d(),await u}else try{l={type:"success",value:await r()}}catch(u){l={type:"error",value:u}}return l||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function Bg(e){let{request:t,context:r,params:a,unstable_pattern:s}=e;return{request:AS(t),params:{...a},unstable_pattern:s,context:LS(r)}}function zg(e,t){return{currentUrl:er(e.state.location),..."formMethod"in t?{formMethod:t.formMethod}:{},..."formEncType"in t?{formEncType:t.formEncType}:{},..."formData"in t?{formData:t.formData}:{},..."body"in t?{body:t.body}:{}}}function AS(e){return{method:e.method,url:e.url,headers:{get:(...t)=>e.headers.get(...t)}}}function LS(e){if(OS(e)){let t={...e};return Object.freeze(t),t}else return{get:t=>e.get(t)}}var MS=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function OS(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getOwnPropertyNames(t).sort().join("\0")===MS}var P0=["POST","PUT","PATCH","DELETE"],IS=new Set(P0),_S=["GET",...P0],FS=new Set(_S),j0=new Set([301,302,303,307,308]),VS=new Set([307,308]),Dd={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},BS={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ps={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},zS=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),D0="remix-router-transitions",R0=Symbol("ResetLoaderData");function US(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";Fe(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let a=e.hydrationRouteProperties||[],s=e.mapRouteProperties||zS,l=s;if(e.unstable_instrumentations){let j=e.unstable_instrumentations;l=L=>({...s(L),...RS(j.map(B=>
50B.route).filter(Boolean),L)})}let u={},d=Gs(e.routes,l,void 0,u),h,m=e.basename||"/";m.startsWith("/")||(m=`/${m}`);let g=e.dataStrategy||GS,v={unstable_passThroughRequests:!1,...e.future},x=null,b=new Set,S=null,E=null,C=null,D=e.hydrationData!=null,_=Jr(d,e.history.location,m),I=!1,F=null,U,J;if(_==null&&!e.patchRoutesOnNavigation){let j=Cn(404,{pathname:e.history.location.pathname}),{matches:L,route:B}=kl(d);U=!0,J=!U,_=L,F={[B.id]:j}}else if(_&&!e.hydrationData&&kr(_,d,e.history.location.pathname).active&&(_=null),_)if(_.some(j=>j.route.lazy))U=!1,J=!U;else if(!_.some(j=>Zf(j.route)))U=!0,J=!U;else{let j=e.hydrationData?e.hydrationData.loaderData:null,L=e.hydrationData?e.hydrationData.errors:null,B=_;if(L){let ee=_.findIndex(oe=>L[oe.route.id]!==void 0);B=B.slice(0,ee+1)}J=!1,U=!0,B.forEach(ee=>{let oe=N0(ee.route,j,L);J=J||oe.renderFallback,U=U&&!oe.shouldLoad})}else{U=!1,J=!U,_=[];let j=kr(null,d,e.history.location.pathname);j.active&&j.matches&&(I=!0,_=j.matches)}let W,T={historyAction:e.history.action,location:e.history.location,matches:_,initialized:U,renderFallback:J,navigation:Dd,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||F,fetchers:new Map,blockers:new Map},M="POP",O=null,q=!1,ae,ue=!1,ge=new Map,ce=null,ie=!1,fe=!1,Y=new Set,Q=new Map,X=0,R=-1,G=new Map,K=new Set,ne=new Map,ye=new Map,ve=new Set,Ie=new Map,Me,Oe=null;function dt(){if(x=e.history.listen(({action:j,location:L,delta:B})=>{if(Me){Me(),Me=void 0;return}ct(Ie.size===0||B!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let ee=rr({currentLocation:T.location,nextLocation:L,historyAction:j});if(ee&&B!=null){let oe=new Promise(Ee=>{Me=Ee});e.history.go(B*-1),Nn(ee,{state:"blocked",location:L,proceed(){Nn(ee,{state:"proceeding",proceed:void 0,reset:void 0,location:L}),oe.then(()=>e.history.go(B))},reset(){let Ee=new Map(T.blockers);Ee.set(ee,Ps),$e({blockers:Ee})}}),O==null||O.resolve(),O=null;return}return Dn(j,L)}),r){dC(t,ge);let j=()=>fC(t,ge);t.addEventListener("pagehide",j),ce=()=>t.removeEventListener("pagehide",j)}return T.initialized||Dn("POP",T.location,{initialHydration:!0}),W}function fn(){x&&x(),ce&&ce(),b.clear(),ae&&ae.abort(),T.fetchers.forEach((j,L)=>Bi(L)),T.blockers.forEach((j,L)=>Wi(L))}function vr(j){return b.add(j),()=>b.delete(j)}function $e(j,L={}){j.matches&&(j.matches=j.matches.map(oe=>{let Ee=u[oe.route.id],Se=oe.route;return Se.element!==Ee.element||Se.errorElement!==Ee.errorElement||Se.hydrateFallbackElement!==Ee.hydrateFallbackElement?{...oe,route:Ee}:oe})),T={...T,...j};let B=[],ee=[];T.fetchers.forEach((oe,Ee)=>{oe.state==="idle"&&(ve.has(Ee)?B.push(Ee):ee.push(Ee))}),ve.forEach(oe=>{!T.fetchers.has(oe)&&!Q.has(oe)&&B.push(oe)}),[...b].forEach(oe=>oe(T,{deletedFetchers:B,newErrors:j.errors??null,viewTransitionOpts:L.viewTransitionOpts,flushSync:L.flushSync===!0})),B.forEach(oe=>Bi(oe)),ee.forEach(oe=>T.fetchers.delete(oe))}function Lt(j,L,{flushSync:B}={}){var Re,Ce;let ee=T.actionData!=null&&T.navigation.formMethod!=null&&Ft(T.navigation.formMethod)&&T.navigation.state==="loading"&&((Re=j.state)==null?void 0:Re._isRedirect)!==!0,oe;L.actionData?Object.keys(L.actionData).length>0?oe=L.actionData:oe=null:ee?oe=T.actionData:oe=null;let Ee=L.loaderData?Xg(T.loaderData,L.loaderData,L.matches||[],L.errors):T.loaderData,Se=T.blockers;Se.size>0&&(Se=new Map(Se),Se.forEach((_e,Be)=>Se.set(Be,Ps)));let De=ie?!1:$a(j,L.matches||T.matches),he=q===!0||T.navigation.formMethod!=null&&Ft(T.navigation.formMethod)&&((Ce=j.state)==null?void 0:Ce._isRedirect)!==!0;h&&(d=h,h=void 0),ie||M==="POP"||(M==="PUSH"?e.history.push(j,j.state):M==="REPLACE"&&e.history.replace(j,j.state));let le;if(M==="POP"){let _e=ge.get(T.location.pathname);_e&&_e.has(j.pathname)?le={currentLocation:T.location,nextLocation:j}:ge.has(j.pathname)&&(le={currentLocation:j,nextLocation:T.location})}else if(ue){let _e=ge.get(T.location.pathname);
50_e?_e.add(j.pathname):(_e=new Set([j.pathname]),ge.set(T.location.pathname,_e)),le={currentLocation:T.location,nextLocation:j}}$e({...L,actionData:oe,loaderData:Ee,historyAction:M,location:j,initialized:!0,renderFallback:!1,navigation:Dd,revalidation:"idle",restoreScrollPosition:De,preventScrollReset:he,blockers:Se},{viewTransitionOpts:le,flushSync:B===!0}),M="POP",q=!1,ue=!1,ie=!1,fe=!1,O==null||O.resolve(),O=null,Oe==null||Oe.resolve(),Oe=null}async function Hn(j,L){if(O==null||O.resolve(),O=null,typeof j=="number"){O||(O=ny());let Xe=O.promise;return e.history.go(j),Xe}let B=ff(T.location,T.matches,m,j,L==null?void 0:L.fromRouteId,L==null?void 0:L.relative),{path:ee,submission:oe,error:Ee}=Ug(!1,B,L),Se;L!=null&&L.unstable_mask&&(Se={pathname:"",search:"",hash:"",...typeof L.unstable_mask=="string"?nr(L.unstable_mask):{...T.location.unstable_mask,...L.unstable_mask}});let De=T.location,he=Ys(De,ee,L&&L.state,void 0,Se);he={...he,...e.history.encodeLocation(he)};let le=L&&L.replace!=null?L.replace:void 0,Re="PUSH";le===!0?Re="REPLACE":le===!1||oe!=null&&Ft(oe.formMethod)&&oe.formAction===T.location.pathname+T.location.search&&(Re="REPLACE");let Ce=L&&"preventScrollReset"in L?L.preventScrollReset===!0:void 0,_e=(L&&L.flushSync)===!0,Be=rr({currentLocation:De,nextLocation:he,historyAction:Re});if(Be){Nn(Be,{state:"blocked",location:he,proceed(){Nn(Be,{state:"proceeding",proceed:void 0,reset:void 0,location:he}),Hn(j,L)},reset(){let Xe=new Map(T.blockers);Xe.set(Be,Ps),$e({blockers:Xe})}});return}await Dn(Re,he,{submission:oe,pendingError:Ee,preventScrollReset:Ce,replace:L&&L.replace,enableViewTransition:L&&L.viewTransition,flushSync:_e,callSiteDefaultShouldRevalidate:L&&L.unstable_defaultShouldRevalidate})}function po(){Oe||(Oe=ny()),Sr(),$e({revalidation:"loading"});let j=Oe.promise;return T.navigation.state==="submitting"?j:T.navigation.state==="idle"?(Dn(T.historyAction,T.location,{startUninterruptedRevalidation:!0}),j):(Dn(M||T.historyAction,T.navigation.location,{overrideNavigation:T.navigation,enableViewTransition:ue===!0}),j)}async function Dn(j,L,B){ae&&ae.abort(),ae=null,M=j,ie=(B&&B.startUninterruptedRevalidation)===!0,bo(T.location,T.matches),q=(B&&B.preventScrollReset)===!0,ue=(B&&B.enableViewTransition)===!0;let ee=h||d,oe=B&&B.overrideNavigation,Ee=B!=null&&B.initialHydration&&T.matches&&T.matches.length>0&&!I?T.matches:Jr(ee,L,m),Se=(B&&B.flushSync)===!0;if(Ee&&T.initialized&&!fe&&tC(T.location,L)&&!(B&&B.submission&&Ft(B.submission.formMethod))){Lt(L,{matches:Ee},{flushSync:Se});return}let De=kr(Ee,ee,L.pathname);if(De.active&&De.matches&&(Ee=De.matches),!Ee){let{error:ft,notFoundMatches:Pt,route:He}=Hi(L.pathname);Lt(L,{matches:Pt,loaderData:{},errors:{[He.id]:ft}},{flushSync:Se});return}ae=new AbortController;let he=wa(e.history,L,ae.signal,B&&B.submission),le=e.getContext?await e.getContext():new Ig,Re;if(B&&B.pendingError)Re=[Xr(Ee).route.id,{type:"error",error:B.pendingError}];else if(B&&B.submission&&Ft(B.submission.formMethod)){let ft=await go(he,L,B.submission,Ee,le,De.active,B&&B.initialHydration===!0,{replace:B.replace,flushSync:Se});if(ft.shortCircuited)return;if(ft.pendingActionResult){let[Pt,He]=ft.pendingActionResult;if(on(He)&&Da(He.error)&&He.error.status===404){ae=null,Lt(L,{matches:ft.matches,loaderData:{},errors:{[Pt]:He.error}});return}}Ee=ft.matches||Ee,Re=ft.pendingActionResult,oe=Rd(L,B.submission),Se=!1,De.active=!1,he=wa(e.history,he.url,he.signal)}let{shortCircuited:Ce,matches:_e,loaderData:Be,errors:Xe}=await Va(he,L,Ee,le,De.active,oe,B&&B.submission,B&&B.fetcherSubmission,B&&B.replace,B&&B.initialHydration===!0,Se,Re,B&&B.callSiteDefaultShouldRevalidate);Ce||(ae=null,Lt(L,{matches:_e||Ee,...Zg(Re),loaderData:Be,errors:Xe}))}
50async function go(j,L,B,ee,oe,Ee,Se,De={}){Sr();let he=uC(L,B);if($e({navigation:he},{flushSync:De.flushSync===!0}),Ee){let Ce=await li(ee,L.pathname,j.signal);if(Ce.type==="aborted")return{shortCircuited:!0};if(Ce.type==="error"){if(Ce.partialMatches.length===0){let{matches:Be,route:Xe}=kl(d);return{matches:Be,pendingActionResult:[Xe.id,{type:"error",error:Ce.error}]}}let _e=Xr(Ce.partialMatches).route.id;return{matches:Ce.partialMatches,pendingActionResult:[_e,{type:"error",error:Ce.error}]}}else if(Ce.matches)ee=Ce.matches;else{let{notFoundMatches:_e,error:Be,route:Xe}=Hi(L.pathname);return{matches:_e,pendingActionResult:[Xe.id,{type:"error",error:Be}]}}}let le,Re=Ul(ee,L);if(!Re.route.action&&!Re.route.lazy)le={type:"error",error:Cn(405,{method:j.method,pathname:L.pathname,routeId:Re.route.id})};else{let Ce=ja(l,u,j,L,ee,Re,Se?[]:a,oe),_e=await br(j,L,Ce,oe,null);if(le=_e[Re.route.id],!le){for(let Be of ee)if(_e[Be.route.id]){le=_e[Be.route.id];break}}if(j.signal.aborted)return{shortCircuited:!0}}if(Pi(le)){let Ce;return De&&De.replace!=null?Ce=De.replace:Ce=Kg(le.response.headers.get("Location"),new URL(j.url),m,e.history)===T.location.pathname+T.location.search,await Yn(j,le,!0,{submission:B,replace:Ce}),{shortCircuited:!0}}if(on(le)){let Ce=Xr(ee,Re.route.id);return(De&&De.replace)!==!0&&(M="PUSH"),{matches:ee,pendingActionResult:[Ce.route.id,le,Re.route.id]}}return{matches:ee,pendingActionResult:[Re.route.id,le]}}
50async function Va(j,L,B,ee,oe,Ee,Se,De,he,le,Re,Ce,_e){let Be=Ee||Rd(L,Se),Xe=Se||De||ty(Be),ft=!ie&&!le;if(oe){if(ft){let wt=xr(Ce);$e({navigation:Be,...wt!==void 0?{actionData:wt}:{}},{flushSync:Re})}let Le=await li(B,L.pathname,j.signal);if(Le.type==="aborted")return{shortCircuited:!0};if(Le.type==="error"){if(Le.partialMatches.length===0){let{matches:Pr,route:sr}=kl(d);return{matches:Pr,loaderData:{},errors:{[sr.id]:Le.error}}}let wt=Xr(Le.partialMatches).route.id;return{matches:Le.partialMatches,loaderData:{},errors:{[wt]:Le.error}}}else if(Le.matches)B=Le.matches;else{let{error:wt,notFoundMatches:Pr,route:sr}=Hi(L.pathname);return{matches:Pr,loaderData:{},errors:{[sr.id]:wt}}}}let Pt=h||d,{dsMatches:He,revalidatingFetchers:ze}=$g(j,ee,l,u,e.history,T,B,Xe,L,le?[]:a,le===!0,fe,Y,ve,ne,K,Pt,m,e.patchRoutesOnNavigation!=null,Ce,_e);if(R=++X,!e.dataStrategy&&!He.some(Le=>Le.shouldLoad)&&!He.some(Le=>Le.route.middleware&&Le.route.middleware.length>0)&&ze.length===0){let Le=Ui();return Lt(L,{matches:B,loaderData:{},errors:Ce&&on(Ce[1])?{[Ce[0]]:Ce[1].error}:null,...Zg(Ce),...Le?{fetchers:new Map(T.fetchers)}:{}},{flushSync:Re}),{shortCircuited:!0}}if(ft){let Le={};if(!oe){Le.navigation=Be;let wt=xr(Ce);wt!==void 0&&(Le.actionData=wt)}ze.length>0&&(Le.fetchers=wr(ze)),$e(Le,{flushSync:Re})}ze.forEach(Le=>{Rn(Le.key),Le.controller&&Q.set(Le.key,Le.controller)});let ir=()=>ze.forEach(Le=>Rn(Le.key));ae&&ae.signal.addEventListener("abort",ir);let{loaderResults:ar,fetcherResults:An}=await Vi(He,ze,j,L,ee);if(j.signal.aborted)return{shortCircuited:!0};ae&&ae.signal.removeEventListener("abort",ir),ze.forEach(Le=>Q.delete(Le.key));let zt=El(ar);if(zt)return await Yn(j,zt.result,!0,{replace:he}),{shortCircuited:!0};if(zt=El(An),zt)return K.add(zt.key),await Yn(j,zt.result,!0,{replace:he}),{shortCircuited:!0};let{loaderData:Ha,errors:Tr}=Jg(T,B,ar,Ce,ze,An);le&&T.errors&&(Tr={...T.errors,...Tr});let mn=Ui(),Ut=$i(R),Yi=mn||Ut||ze.length>0;return{matches:B,loaderData:Ha,errors:Tr,...Yi?{fetchers:new Map(T.fetchers)}:{}}}function xr(j){if(j&&!on(j[1]))return{[j[0]]:j[1].data};if(T.actionData)return Object.keys(T.actionData).length===0?null:T.actionData}function wr(j){return j.forEach(L=>{let B=T.fetchers.get(L.key),ee=js(void 0,B?B.data:void 0);T.fetchers.set(L.key,ee)}),new Map(T.fetchers)}async function Ba(j,L,B,ee){Rn(j);let oe=(ee&&ee.flushSync)===!0,Ee=h||d,Se=ff(T.location,T.matches,m,B,L,ee==null?void 0:ee.relative),De=Jr(Ee,Se,m),he=kr(De,Ee,Se);if(he.active&&he.matches&&(De=he.matches),!De){Bt(j,L,Cn(404,{pathname:Se}),{flushSync:oe});return}let{path:le,submission:Re,error:Ce}=Ug(!0,Se,ee);if(Ce){Bt(j,L,Ce,{flushSync:oe});return}let _e=e.getContext?await e.getContext():new Ig,Be=(ee&&ee.preventScrollReset)===!0;if(Re&&Ft(Re.formMethod)){await yo(j,L,le,De,_e,he.active,oe,Be,Re,ee&&ee.unstable_defaultShouldRevalidate);return}ne.set(j,{routeId:L,path:le}),await vo(j,L,le,De,_e,he.active,oe,Be,Re)}
50async function yo(j,L,B,ee,oe,Ee,Se,De,he,le){Sr(),ne.delete(j);let Re=T.fetchers.get(j);hn(j,cC(he,Re),{flushSync:Se});let Ce=new AbortController,_e=wa(e.history,B,Ce.signal,he);if(Ee){let Ke=await li(ee,new URL(_e.url).pathname,_e.signal,j);if(Ke.type==="aborted")return;if(Ke.type==="error"){Bt(j,L,Ke.error,{flushSync:Se});return}else if(Ke.matches)ee=Ke.matches;else{Bt(j,L,Cn(404,{pathname:B}),{flushSync:Se});return}}let Be=Ul(ee,B);if(!Be.route.action&&!Be.route.lazy){let Ke=Cn(405,{method:he.formMethod,pathname:B,routeId:L});Bt(j,L,Ke,{flushSync:Se});return}Q.set(j,Ce);let Xe=X,ft=ja(l,u,_e,B,ee,Be,a,oe),Pt=await br(_e,B,ft,oe,j),He=Pt[Be.route.id];if(!He){for(let Ke of ft)if(Pt[Ke.route.id]){He=Pt[Ke.route.id];break}}if(_e.signal.aborted){Q.get(j)===Ce&&Q.delete(j);return}if(ve.has(j)){if(Pi(He)||on(He)){hn(j,yr(void 0));return}}else{if(Pi(He))if(Q.delete(j),R>Xe){hn(j,yr(void 0));return}else return K.add(j),hn(j,js(he)),Yn(_e,He,!1,{fetcherSubmission:he,preventScrollReset:De});if(on(He)){Bt(j,L,He.error);return}}let ze=T.navigation.location||T.location,ir=wa(e.history,ze,Ce.signal),ar=h||d,An=T.navigation.state!=="idle"?Jr(ar,T.navigation.location,m):T.matches;Fe(An,"Didn't find any matches after fetcher action");let zt=++X;G.set(j,zt);let Ha=js(he,He.data);T.fetchers.set(j,Ha);let{dsMatches:Tr,revalidatingFetchers:mn}=$g(ir,oe,l,u,e.history,T,An,he,ze,a,!1,fe,Y,ve,ne,K,ar,m,e.patchRoutesOnNavigation!=null,[Be.route.id,He],le);mn.filter(Ke=>Ke.key!==j).forEach(Ke=>{let or=Ke.key,jr=T.fetchers.get(or),Gi=js(void 0,jr?jr.data:void 0);T.fetchers.set(or,Gi),Rn(or),Ke.controller&&Q.set(or,Ke.controller)}),$e({fetchers:new Map(T.fetchers)});let Ut=()=>mn.forEach(Ke=>Rn(Ke.key));Ce.signal.addEventListener("abort",Ut);let{loaderResults:Yi,fetcherResults:Le}=await Vi(Tr,mn,ir,ze,oe);if(Ce.signal.aborted)return;if(Ce.signal.removeEventListener("abort",Ut),G.delete(j),Q.delete(j),mn.forEach(Ke=>Q.delete(Ke.key)),T.fetchers.has(j)){let Ke=yr(He.data);T.fetchers.set(j,Ke)}let wt=El(Yi);if(wt)return Yn(ir,wt.result,!1,{preventScrollReset:De});if(wt=El(Le),wt)return K.add(wt.key),Yn(ir,wt.result,!1,{preventScrollReset:De});let{loaderData:Pr,errors:sr}=Jg(T,An,Yi,void 0,mn,Le);$i(zt),T.navigation.state==="loading"&&zt>
50R?(Fe(M,"Expected pending action"),ae&&ae.abort(),Lt(T.navigation.location,{matches:An,loaderData:Pr,errors:sr,fetchers:new Map(T.fetchers)})):($e({errors:sr,loaderData:Xg(T.loaderData,Pr,An,sr),fetchers:new Map(T.fetchers)}),fe=!1)}async function vo(j,L,B,ee,oe,Ee,Se,De,he){let le=T.fetchers.get(j);hn(j,js(he,le?le.data:void 0),{flushSync:Se});let Re=new AbortController,Ce=wa(e.history,B,Re.signal);if(Ee){let He=await li(ee,new URL(Ce.url).pathname,Ce.signal,j);if(He.type==="aborted")return;if(He.type==="error"){Bt(j,L,He.error,{flushSync:Se});return}else if(He.matches)ee=He.matches;else{Bt(j,L,Cn(404,{pathname:B}),{flushSync:Se});return}}let _e=Ul(ee,B);Q.set(j,Re);let Be=X,Xe=ja(l,u,Ce,B,ee,_e,a,oe),Pt=(await br(Ce,B,Xe,oe,j))[_e.route.id];if(Q.get(j)===Re&&Q.delete(j),!Ce.signal.aborted){if(ve.has(j)){hn(j,yr(void 0));return}if(Pi(Pt))if(R>Be){hn(j,yr(void 0));return}else{K.add(j),await Yn(Ce,Pt,!1,{preventScrollReset:De});return}if(on(Pt)){Bt(j,L,Pt.error);return}hn(j,yr(Pt.data))}}async function Yn(j,L,B,{submission:ee,fetcherSubmission:oe,preventScrollReset:Ee,replace:Se}={}){B||(O==null||O.resolve(),O=null),L.response.headers.has("X-Remix-Revalidate")&&(fe=!0);let De=L.response.headers.get("Location");Fe(De,"Expected a Location header on the redirect Response"),De=Kg(De,new URL(j.url),m,e.history);let he=Ys(T.location,De,{_isRedirect:!0});if(r){let Xe=!1;if(L.response.headers.has("X-Remix-Reload-Document"))Xe=!0;else if(Jf(De)){const ft=v0(De,!0);Xe=ft.origin!==t.location.origin||Pn(ft.pathname,m)==null}if(Xe){Se?t.location.replace(De):t.location.assign(De);return}}ae=null;let le=Se===!0||L.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Re,formAction:Ce,formEncType:_e}=T.navigation;!ee&&!oe&&Re&&Ce&&_e&&(ee=ty(T.navigation));let Be=ee||oe;if(VS.has(L.response.status)&&Be&&Ft(Be.formMethod))await Dn(le,he,{submission:{...Be,formAction:De},preventScrollReset:Ee||q,enableViewTransition:B?ue:void 0});else{let Xe=Rd(he,ee);await Dn(le,he,{overrideNavigation:Xe,fetcherSubmission:oe,preventScrollReset:Ee||q,enableViewTransition:B?ue:void 0})}}async function br(j,L,B,ee,oe){var De;let Ee,Se={};try{Ee=await KS(g,j,L,B,oe,ee,!1)}catch(he){return B.filter(le=>le.shouldLoad).forEach(le=>{Se[le.route.id]={type:"error",error:he}}),Se}if(j.signal.aborted)return Se;if(!Ft(j.method))for(let he of B){if(((De=Ee[he.route.id])==null?void 0:De.type)==="error")break;!Ee.hasOwnProperty(he.route.id)&&!T.loaderData.hasOwnProperty(he.route.id)&&(!T.errors||!T.errors.hasOwnProperty(he.route.id))&&he.shouldCallHandler()&&(Ee[he.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${he.route.id}`)})}for(let[he,le]of Object.entries(Ee))if(aC(le)){let Re=le.result;Se[he]={type:"redirect",response:ZS(Re,j,he,B,m)}}else Se[he]=await XS(le);return Se}async function Vi(j,L,B,ee,oe){let Ee=br(B,ee,j,oe,null),Se=Promise.all(L.map(async le=>{if(le.matches&&le.match&&le.request&&le.controller){let Ce=(await br(le.request,le.path,le.matches,oe,le.key))[le.match.route.id];return{[le.key]:Ce}}else return Promise.resolve({[le.key]:{type:"error",error:Cn(404,{pathname:le.path})}})})),De=await Ee,he=(await Se).reduce((le,Re)=>Object.assign(le,Re),{});return{loaderResults:De,fetcherResults:he}}function Sr(){fe=!0,ne.forEach((j,L)=>{Q.has(L)&&Y.add(L),Rn(L)})}function hn(j,L,B={}){T.fetchers.set(j,L),$e({fetchers:new Map(T.fetchers)},{flushSync:(B&&B.flushSync)===!0})}function Bt(j,L,B,ee={}){let oe=Xr(T.matches,L);Bi(j),$e({errors:{[oe.route.id]:B},fetchers:new Map(T.fetchers)},{flushSync:(ee&&ee.flushSync)===!0})}function Cr(j){return ye.set(j,(ye.get(j)||0)+1),ve.has(j)&&ve.delete(j),T.fetchers.get(j)||BS}function Iu(j,L){Rn(j,L==null?void 0:L.reason),hn(j,yr(null))}function Bi(j){let L=T.fetchers.get(j);Q.has(j)&&!(L&&L.state==="loading"&&G.has(j))&&Rn(j),ne.delete(j),G.delete(j),K.delete(j),ve.delete(j),Y.delete(j),T.fetchers.delete(j)}function xo(j){let L=(ye.get(j)||0)-1;L<=0?(ye.delete(j),ve.add(j)):ye.set(j,L),$e({fetchers:new Map(T.fetchers)})}function Rn(j,L){let B=Q.get(j);B&&(B.abort(L),Q.delete(j))}function zi(j){for(let L of j){let B=Cr(L),ee=yr(B.data);T.fetchers.set(L,ee)}}function Ui(){let j=[],L=!1;for(let B of K){let ee=T.fetchers.get(B);Fe(ee,`Expected fetcher: ${B}
50`),ee.state==="loading"&&(K.delete(B),j.push(B),L=!0)}return zi(j),L}function $i(j){let L=[];for(let[B,ee]of G)if(ee<j){let oe=T.fetchers.get(B);Fe(oe,`Expected fetcher: ${B}`),oe.state==="loading"&&(Rn(B),G.delete(B),L.push(B))}return zi(L),L.length>0}function za(j,L){let B=T.blockers.get(j)||Ps;return Ie.get(j)!==L&&Ie.set(j,L),B}function Wi(j){T.blockers.delete(j),Ie.delete(j)}function Nn(j,L){let B=T.blockers.get(j)||Ps;Fe(B.state==="unblocked"&&L.state==="blocked"||B.state==="blocked"&&L.state==="blocked"||B.state==="blocked"&&L.state==="proceeding"||B.state==="blocked"&&L.state==="unblocked"||B.state==="proceeding"&&L.state==="unblocked",`Invalid blocker state transition: ${B.state} -> ${L.state}`);let ee=new Map(T.blockers);ee.set(j,L),$e({blockers:ee})}function rr({currentLocation:j,nextLocation:L,historyAction:B}){if(Ie.size===0)return;Ie.size>1&&ct(!1,"A router only supports one blocker at a time");let ee=Array.from(Ie.entries()),[oe,Ee]=ee[ee.length-1],Se=T.blockers.get(oe);if(!(Se&&Se.state==="proceeding")&&Ee({currentLocation:j,nextLocation:L,historyAction:B}))return oe}function Hi(j){let L=Cn(404,{pathname:j}),B=h||d,{matches:ee,route:oe}=kl(B);return{notFoundMatches:ee,route:oe,error:L}}function wo(j,L,B){if(S=j,C=L,E=B||null,!D&&T.navigation===Dd){D=!0;let ee=$a(T.location,T.matches);ee!=null&&$e({restoreScrollPosition:ee})}return()=>{S=null,C=null,E=null}}function Ua(j,L){return E&&E(j,L.map(ee=>x0(ee,T.loaderData)))||j.key}function bo(j,L){if(S&&C){let B=Ua(j,L);S[B]=C()}}function $a(j,L){if(S){let B=Ua(j,L),ee=S[B];if(typeof ee=="number")return ee}return null}function kr(j,L,B){if(e.patchRoutesOnNavigation)if(j){if(Object.keys(j[0].params).length>0)return{active:!0,matches:Fs(L,B,m,!0)}}else return{active:!0,matches:Fs(L,B,m,!0)||[]};return{active:!1,matches:null}}async function li(j,L,B,ee){if(!e.patchRoutesOnNavigation)return{type:"success",matches:j};let oe=j;for(;;){let Ee=h==null,Se=h||d,De=u;try{await e.patchRoutesOnNavigation({signal:B,path:L,matches:oe,fetcherKey:ee,patch:(Re,Ce)=>{B.aborted||Wg(Re,Ce,Se,De,l,!1)}})}catch(Re){return{type:"error",error:Re,partialMatches:oe}}finally{Ee&&!B.aborted&&(d=[...d])}if(B.aborted)return{type:"aborted"};let he=Jr(Se,L,m),le=null;if(he){if(Object.keys(he[0].params).length===0)return{type:"success",matches:he};if(le=Fs(Se,L,m,!0),!(le&&oe.length<le.length&&Er(oe,le.slice(0,oe.length))))return{type:"success",matches:he}}if(le||(le=Fs(Se,L,m,!0)),!le||Er(oe,le))return{type:"success",matches:null};oe=le}}function Er(j,L){return j.length===L.length&&j.every((B,ee)=>B.route.id===L[ee].route.id)}function Wa(j){u={},h=Gs(j,l,void 0,u)}function ui(j,L,B=!1){let ee=h==null;Wg(j,L,h||d,u,l,B),ee&&(d=[...d],$e({}))}return W={get basename(){return m},get future(){return v},get state(){return T},get routes(){return d},get window(){return t},initialize:dt,subscribe:vr,enableScrollRestoration:wo,navigate:Hn,fetch:Ba,revalidate:po,createHref:j=>e.history.createHref(j),encodeLocation:j=>e.history.encodeLocation(j),getFetcher:Cr,resetFetcher:Iu,deleteFetcher:xo,dispose:fn,getBlocker:za,deleteBlocker:Wi,patchRoutes:ui,_internalFetchControllers:Q,_internalSetRoutes:Wa,_internalSetStateDoNotUseOrYouWillBreakYourApp(j){$e(j)}},e.unstable_instrumentations&&(W=NS(W,e.unstable_instrumentations.map(j=>j.router).filter(Boolean))),W}function $S(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function ff(e,t,r,a,s,l){let u,d;if(s){u=[];for(let m of t)if(u.push(m),m.route.id===s){d=m;break}}else u=t,d=t[t.length-1];let h=Zs(a||".",xu(u),Pn(e.pathname,r)||e.pathname,l==="path");if(a==null&&(h.search=e.search,h.hash=e.hash),(a==null||a===""||a===".")&&d){let m=th(h.search);if(d.route.index&&!m)h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index";else if(!d.route.index&&m){let g=new URLSearchParams(h.search),v=g.getAll("index");g.delete("index"),v.filter(b=>b).forEach(b=>g.append("index",b));let x=g.toString();h.search=x?`?${x}`:""}}return r!=="/"&&(h.pathname=kS({basename:r,pathname:h.pathname})),er(h)}function Ug(e,t,r){if(!r||!$S(r))return{path:t};if(r.formMethod&&!lC(r.formMethod))return{path:t,error:Cn(405,{method:r.formMethod})};let a=()=>({path:t,error:Cn(400,{type:"invalid-body"})}),l=(r.formMethod||"get").toUpperCase(),u=F0(t);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Ft(l))return a();
50let v=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((x,[b,S])=>`${x}${b}=${S}
51`,""):String(r.body);return{path:t,submission:{formMethod:l,formAction:u,formEncType:r.formEncType,formData:void 0,json:void 0,text:v}}}else if(r.formEncType==="application/json"){if(!Ft(l))return a();try{let v=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:t,submission:{formMethod:l,formAction:u,formEncType:r.formEncType,formData:void 0,json:v,text:void 0}}}catch{return a()}}}Fe(typeof FormData=="function","FormData is not available in this environment");let d,h;if(r.formData)d=mf(r.formData),h=r.formData;else if(r.body instanceof FormData)d=mf(r.body),h=r.body;else if(r.body instanceof URLSearchParams)d=r.body,h=Qg(d);else if(r.body==null)d=new URLSearchParams,h=new FormData;else try{d=new URLSearchParams(r.body),h=Qg(d)}catch{return a()}let m={formMethod:l,formAction:u,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:h,json:void 0,text:void 0};if(Ft(m.formMethod))return{path:t,submission:m};let g=nr(t);return e&&g.search&&th(g.search)&&d.append("index",""),g.search=`?${d}`,{path:er(g),submission:m}}function $g(e,t,r,a,s,l,u,d,h,m,g,v,x,b,S,E,C,D,_,I,F){var ce;let U=I?on(I[1])?I[1].error:I[1].data:void 0,J=s.createURL(l.location),W=s.createURL(h),T;if(g&&l.errors){let ie=Object.keys(l.errors)[0];T=u.findIndex(fe=>fe.route.id===ie)}else if(I&&on(I[1])){let ie=I[0];T=u.findIndex(fe=>fe.route.id===ie)-1}let M=I?I[1].statusCode:void 0,O=M&&M>=400,q={currentUrl:J,currentParams:((ce=l.matches[0])==null?void 0:ce.params)||{},nextUrl:W,nextParams:u[0].params,...d,actionResult:U,actionStatus:M},ae=to(u),ue=u.map((ie,fe)=>{let{route:Y}=ie,Q=null;if(T!=null&&fe>T)Q=!1;else if(Y.lazy)Q=!0;else if(!Zf(Y))Q=!1;else if(g){let{shouldLoad:K}=N0(Y,l.loaderData,l.errors);Q=K}else WS(l.loaderData,l.matches[fe],ie)&&(Q=!0);if(Q!==null)return hf(r,a,e,h,ae,ie,m,t,Q);let X=!1;typeof F=="boolean"?X=F:O?X=!1:(v||J.pathname+J.search===W.pathname+W.search||J.search!==W.search||HS(l.matches[fe],ie))&&(X=!0);let R={...q,defaultShouldRevalidate:X},G=zs(ie,R);return hf(r,a,e,h,ae,ie,m,t,G,R,F)}),ge=[];return S.forEach((ie,fe)=>{if(g||!u.some(ye=>ye.route.id===ie.routeId)||b.has(fe))return;let Y=l.fetchers.get(fe),Q=Y&&Y.state!=="idle"&&Y.data===void 0,X=Jr(C,ie.path,D);if(!X){if(_&&Q)return;ge.push({key:fe,routeId:ie.routeId,path:ie.path,matches:null,match:null,request:null,controller:null});return}if(E.has(fe))return;let R=Ul(X,ie.path),G=new AbortController,K=wa(s,ie.path,G.signal),ne=null;if(x.has(fe))x.delete(fe),ne=ja(r,a,K,ie.path,X,R,m,t);else if(Q)v&&(ne=ja(r,a,K,ie.path,X,R,m,t));else{let ye;typeof F=="boolean"?ye=F:O?ye=!1:ye=v;let ve={...q,defaultShouldRevalidate:ye};zs(R,ve)&&(ne=ja(r,a,K,ie.path,X,R,m,t,ve))}ne&&ge.push({key:fe,routeId:ie.routeId,path:ie.path,matches:ne,match:R,request:K,controller:G})}),{dsMatches:ue,revalidatingFetchers:ge}}function Zf(e){return e.loader!=null||e.middleware!=null&&e.middleware.length>0}function N0(e,t,r){if(e.lazy)return{shouldLoad:!0,renderFallback:!0};if(!Zf(e))return{shouldLoad:!1,renderFallback:!1};let a=t!=null&&e.id in t,s=r!=null&&r[e.id]!==void 0;if(!a&&s)return{shouldLoad:!1,renderFallback:!1};if(typeof e.loader=="function"&&e.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!a};let l=!a&&!s;return{shouldLoad:l,renderFallback:l}}function WS(e,t,r){let a=!t||r.route.id!==t.route.id,s=!e.hasOwnProperty(r.route.id);return a||s}function HS(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function zs(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}function Wg(e,t,r,a,s,l){let u;if(e){let m=a[e];Fe(m,`No route found to patch children into: routeId = ${e}`),m.children||(m.children=[]),u=m.children}else u=r;let d=[],h=[];if(t.forEach(m=>{let g=u.find(v=>A0(m,v));g?h.push({existingRoute:g,newRoute:m}):d.push(m)}),d.length>0){let m=Gs(d,s,[e||"_","patch",String((u==null?void 0:u.length)||"0")],a);u.push(...m)}if(l&&h.length>0)for(let m=0;m<h.length;m++){let{existingRoute:g,newRoute:v}=h[m],x=g,[b]=Gs([v],s,[],{},!0);Object.assign(x,{element:b.element?b.element:x.element,errorElement:b.errorElement?b.errorElement:x.errorElement,hydrateFallbackElement:b.hydrateFallbackElement?b.hydrateFallbackElement:x.hydrateFallbackElement})}}function A0(e,t){var r;return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:((r=e.children)==null?void 0:r.every((a,s)=>{var l;return(l=t.children)==null?void 0:l.some(u=>A0(a,u))}))??!1:!1}var Hg=new WeakMap,L0=({key:e,route:t,manifest:r,mapRouteProperties:a})=>{let s=r[t.id];if(Fe(s,"No route found in manifest"),!s.lazy||typeof s.lazy!="object")return;let l=s.lazy[e];if(!l)return;let u=Hg.get(s);u||(u={},Hg.set(s,u));let d=u[e];
51if(d)return d;let h=(async()=>{let m=lS(e),v=s[e]!==void 0&&e!=="hasErrorBoundary";if(m)ct(!m,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),u[e]=Promise.resolve();else if(v)ct(!1,`Route "${s.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let x=await l();x!=null&&(Object.assign(s,{[e]:x}),Object.assign(s,a(s)))}typeof s.lazy=="object"&&(s.lazy[e]=void 0,Object.values(s.lazy).every(x=>x===void 0)&&(s.lazy=void 0))})();return u[e]=h,h},Yg=new WeakMap;function YS(e,t,r,a,s){let l=r[e.id];if(Fe(l,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy=="function"){let g=Yg.get(l);if(g)return{lazyRoutePromise:g,lazyHandlerPromise:g};let v=(async()=>{Fe(typeof e.lazy=="function","No lazy route function found");let x=await e.lazy(),b={};for(let S in x){let E=x[S];if(E===void 0)continue;let C=cS(S),_=l[S]!==void 0&&S!=="hasErrorBoundary";C?ct(!C,"Route property "+S+" is not a supported property to be returned from a lazy route function. This property will be ignored."):_?ct(!_,`Route "${l.id}" has a static property "${S}" defined but its lazy function is also returning a value for this property. The lazy route property "${S}" will be ignored.`):b[S]=E}Object.assign(l,b),Object.assign(l,{...a(l),lazy:void 0})})();return Yg.set(l,v),v.catch(()=>{}),{lazyRoutePromise:v,lazyHandlerPromise:v}}let u=Object.keys(e.lazy),d=[],h;for(let g of u){if(s&&s.includes(g))continue;let v=L0({key:g,route:e,manifest:r,mapRouteProperties:a});v&&(d.push(v),g===t&&(h=v))}let m=d.length>0?Promise.all(d).then(()=>{}):void 0;return m==null||m.catch(()=>{}),h==null||h.catch(()=>{}),{lazyRoutePromise:m,lazyHandlerPromise:h}}async function Gg(e){let t=e.matches.filter(s=>s.shouldLoad),r={};return(await Promise.all(t.map(s=>s.resolve()))).forEach((s,l)=>{r[t[l].route.id]=s}),r}async function GS(e){return e.matches.some(t=>t.route.middleware)?M0(e,()=>Gg(e)):Gg(e)}function M0(e,t){return qS(e,t,a=>{if(oC(a))throw a;return a},rC,r);function r(a,s,l){if(l)return Promise.resolve(Object.assign(l.value,{[s]:{type:"error",result:a}}));{let{matches:u}=e,d=Math.min(Math.max(u.findIndex(m=>m.route.id===s),0),Math.max(u.findIndex(m=>m.shouldCallHandler()),0)),h=Xr(u,u[d].route.id).route.id;return Promise.resolve({[h]:{type:"error",result:a}})}}}async function qS(e,t,r,a,s){let{matches:l,...u}=e,d=l.flatMap(m=>m.route.middleware?m.route.middleware.map(g=>[m.route.id,g]):[]);return await O0(u,d,t,r,a,s)}async function O0(e,t,r,a,s,l,u=0){let{request:d}=e;if(d.signal.aborted)throw d.signal.reason??new Error(`Request aborted: ${d.method} ${d.url}`);let h=t[u];if(!h)return await r();let[m,g]=h,v,x=async()=>{if(v)throw new Error("You may only call `next()` once per middleware");try{return v={value:await O0(e,t,r,a,s,l,u+1)},v.value}catch(b){return v={value:await l(b,m,v)},v.value}};try{let b=await g(e,x),S=b!=null?a(b):void 0;return s(S)?S:v?S??v.value:(v={value:await x()},v.value)}catch(b){return await l(b,m,v)}}function I0(e,t,r,a,s){let l=L0({key:"middleware",route:a.route,manifest:t,mapRouteProperties:e}),u=YS(a.route,Ft(r.method)?"action":"loader",t,e,s);return{middleware:l,route:u.lazyRoutePromise,handler:u.lazyHandlerPromise}}function hf(e,t,r,a,s,l,u,d,h,m=null,g){let v=!1,x=I0(e,t,r,l,u);return{...l,_lazyPromises:x,shouldLoad:h,shouldRevalidateArgs:m,shouldCallHandler(b){return v=!0,m?typeof g=="boolean"?zs(l,{...m,defaultShouldRevalidate:g}):typeof b=="boolean"?zs(l,{...m,defaultShouldRevalidate:b}):zs(l,m):h},resolve(b){let{lazy:S,loader:E,middleware:C}=l.route,D=v||h||b&&!Ft(r.method)&&(S||E),_=C&&C.length>0&&!E&&!S;return D&&(Ft(r.method)||!_)?QS({request:r,path:a,unstable_pattern:s,match:l,lazyHandlerPromise:x==null?void 0:x.handler,lazyRoutePromise:x==null?void 0:x.route,handlerOverride:b,scopedContext:d}):Promise.resolve({type:"data",result:void 0})}}}function ja(e,t,r,a,s,l,u,d,h=null){return s.map(m=>m.route.id!==l.route.id?{...m,shouldLoad:!1,shouldRevalidateArgs:h,shouldCallHandler:()=>!1,_lazyPromises:I0(e,t,r,m,u),resolve:()=>Promise.resolve({type:"data",result:void 0})}:hf(e,t,r,a,to(s),m,u,d,!0,h))}async function KS(e,t,r,a,s,l,u){a.some(g=>{var v;return(v=g._lazyPromises)==null?void 0:v.middleware})&&await Promise.all(a.map(g=>{var v;return(v=g._lazyPromises)==null?void 0:v.middleware}));let d={request:t,unstable_url:_0(t,r),unstable_pattern:to(a),params:a[0].params,context:l,matches:a},m=await e({...d,fetcherKey:s,runClientMiddleware:g=>{let v=d;return M0(v,()=>g({...v,fetcherKey:s,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(a.flatMap(g=>{var v,x;return[(v=g._lazyPromises)==null?void 0:v.handler,(x=g._lazyPromises)==null?void 0:x.route]}))}catch{}return m}async function QS({request:e,path:t,unstable_pattern:r,match:a,lazyHandlerPromise:s,lazyRoutePromise:l,handlerOverride:u,scopedContext:d}){let h,m,g=Ft(e.method),v=g?"action":"loader",x=b=>{let S,E=new Promise((_,I)=>S=I);m=()=>S(),e.signal.addEventListener("abort",m);let C=_=>typeof b!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${v}" [routeId: ${a.route.id}]`)):b({request:e,unstable_url:_0(e,t),unstable_pattern:r,params:a.params,context:d},..._!==void 0?[_]:[]),D=(async()=>{try{return{type:"data",result:await(u?u(I=>C(I)):C())}}catch(_){return{type:"error",result:_}}})();return Promise.race([D,E])};try{let b=g?a.route.action:a.route.loader;
51if(s||l)if(b){let S,[E]=await Promise.all([x(b).catch(C=>{S=C}),s,l]);if(S!==void 0)throw S;h=E}else{await s;let S=g?a.route.action:a.route.loader;if(S)[h]=await Promise.all([x(S),l]);else if(v==="action"){let E=new URL(e.url),C=E.pathname+E.search;throw Cn(405,{method:e.method,pathname:C,routeId:a.route.id})}else return{type:"data",result:void 0}}else if(b)h=await x(b);else{let S=new URL(e.url),E=S.pathname+S.search;throw Cn(404,{pathname:E})}}catch(b){return{type:"error",result:b}}finally{m&&e.signal.removeEventListener("abort",m)}return h}async function JS(e){let t=e.headers.get("Content-Type");return t&&/\bapplication\/json\b/.test(t)?e.body==null?null:e.json():e.text()}async function XS(e){var a,s,l,u,d;let{result:t,type:r}=e;if(eh(t)){let h;try{h=await JS(t)}catch(m){return{type:"error",error:m}}return r==="error"?{type:"error",error:new eo(t.status,t.statusText,h),statusCode:t.status,headers:t.headers}:{type:"data",data:h,statusCode:t.status,headers:t.headers}}return r==="error"?ey(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(s=t.init)!=null&&s.headers?new Headers(t.init.headers):void 0}:{type:"error",error:nC(t),statusCode:Da(t)?t.status:void 0,headers:(l=t.init)!=null&&l.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:Da(t)?t.status:void 0}:ey(t)?{type:"data",data:t.data,statusCode:(u=t.init)==null?void 0:u.status,headers:(d=t.init)!=null&&d.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function ZS(e,t,r,a,s){let l=e.headers.get("Location");if(Fe(l,"Redirects returned/thrown from loaders/actions must have a Location header"),!Jf(l)){let u=a.slice(0,a.findIndex(d=>d.route.id===r)+1);l=ff(new URL(t.url),u,s,l),e.headers.set("Location",l)}return e}var qg=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Kg(e,t,r,a){if(Jf(e)){let s=e,l=s.startsWith("//")?new URL(t.protocol+s):new URL(s);if(qg.includes(l.protocol))throw new Error("Invalid redirect location");let u=Pn(l.pathname,r)!=null;if(l.origin===t.origin&&u)return Xf(l.pathname)+l.search+l.hash}try{let s=a.createURL(e);if(qg.includes(s.protocol))throw new Error("Invalid redirect location")}catch{}return e}function wa(e,t,r,a){let s=e.createURL(F0(t)).toString(),l={signal:r};if(a&&Ft(a.formMethod)){let{formMethod:u,formEncType:d}=a;l.method=u.toUpperCase(),d==="application/json"?(l.headers=new Headers({"Content-Type":d}),l.body=JSON.stringify(a.json)):d==="text/plain"?l.body=a.text:d==="application/x-www-form-urlencoded"&&a.formData?l.body=mf(a.formData):l.body=a.formData}return new Request(s,l)}function _0(e,t){let r=new URL(e.url),a=typeof t=="string"?nr(t):t;if(r.pathname=a.pathname||"/",a.search){let s=new URLSearchParams(a.search),l=s.getAll("index");s.delete("index");for(let u of l.filter(Boolean))s.append("index",u);r.search=s.size?`?${s.toString()}`:""}else r.search="";return r.hash=a.hash||"",r}function mf(e){let t=new URLSearchParams;for(let[r,a]of e.entries())t.append(r,typeof a=="string"?a:a.name);return t}function Qg(e){let t=new FormData;for(let[r,a]of e.entries())t.append(r,a);return t}function eC(e,t,r,a=!1,s=!1){let l={},u=null,d,h=!1,m={},g=r&&on(r[1])?r[1].error:void 0;return e.forEach(v=>{if(!(v.route.id in t))return;let x=v.route.id,b=t[x];if(Fe(!Pi(b),"Cannot handle redirect results in processLoaderData"),on(b)){let S=b.error;if(g!==void 0&&(S=g,g=void 0),u=u||{},s)u[x]=S;else{let E=Xr(e,x);u[E.route.id]==null&&(u[E.route.id]=S)}a||(l[x]=R0),h||(h=!0,d=Da(b.error)?b.error.status:500),b.headers&&(m[x]=b.headers)}else l[x]=b.data,b.statusCode&&b.statusCode!==200&&!h&&(d=b.statusCode),b.headers&&(m[x]=b.headers)}),g!==void 0&&r&&(u={[r[0]]:g},r[2]&&(l[r[2]]=void 0)),{loaderData:l,errors:u,statusCode:d||200,loaderHeaders:m}}function Jg(e,t,r,a,s,l){let{loaderData:u,errors:d}=eC(t,r,a);return s.filter(h=>!h.matches||h.matches.some(m=>m.shouldLoad)).forEach(h=>{let{key:m,match:g,controller:v}=h;if(v&&v.signal.aborted)return;let x=l[m];if(Fe(x,"Did not find corresponding fetcher result"),on(x)){let b=Xr(e.matches,g==null?void 0:g.route.id);d&&d[b.route.id]||(d={...d,[b.route.id]:x.error}),e.fetchers.delete(m)}else if(Pi(x))Fe(!1,"Unhandled fetcher revalidation redirect");else{let b=yr(x.data);e.fetchers.set(m,b)}}),{loaderData:u,errors:d}}function Xg(e,t,r,a){let s=Object.entries(t).filter(([,l])=>l!==R0).reduce((l,[u,d])=>(l[u]=d,l),{});for(let l of r){let u=l.route.id;if(!t.hasOwnProperty(u)&&e.hasOwnProperty(u)&&l.route.loader&&(s[u]=e[u]),a&&a.hasOwnProperty(u))break}return s}function Zg(e){return e?on(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Xr(e,t){return(t?e.slice(0,e.findIndex(a=>a.route.id===t)+1):[...e]).reverse().find(a=>a.route.hasErrorBoundary===!0)||e[0]}function kl(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Cn(e,{pathname:t,routeId:r,method:a,type:s,message:l}={}){let u="Unknown Server Error",d="Unknown @remix-run/router error";return e===400?(u="Bad Request",a&&t&&r?d=`You made a ${a} request to "${t}" but did not provide a \`loader\` for route "${r}", so there is no way to handle the request.`:s==="invalid-body"&&(d="Unable to encode submission body")):e===403?(u="Forbidden",d=`Route "${r}" does not match URL "${t}"`):e===404?(u="Not Found",d=`No route matches URL "${t}"`):e===405&&(u="Method Not Allowed",a&&t&&r?d=`You made a ${a.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${r}", so there is no way to handle the request.`:a&&(d=`Invalid request method "${a.toUpperCase()}"`)),new eo(e||500,u,new Error(d),!0)}function El(e){let t=Object.entries(e);for(let r=t.length-1;r>=0;r--){let[a,s]=t[r];
51if(Pi(s))return{key:a,result:s}}}function F0(e){let t=typeof e=="string"?nr(e):e;return er({...t,hash:""})}function tC(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function nC(e){var t,r;return new eo(((t=e.init)==null?void 0:t.status)??500,((r=e.init)==null?void 0:r.statusText)??"Internal Server Error",e.data)}function rC(e){return e!=null&&typeof e=="object"&&Object.entries(e).every(([t,r])=>typeof t=="string"&&iC(r))}function iC(e){return e!=null&&typeof e=="object"&&"type"in e&&"result"in e&&(e.type==="data"||e.type==="error")}function aC(e){return eh(e.result)&&j0.has(e.result.status)}function on(e){return e.type==="error"}function Pi(e){return(e&&e.type)==="redirect"}function ey(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function eh(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function sC(e){return j0.has(e)}function oC(e){return eh(e)&&sC(e.status)&&e.headers.has("Location")}function lC(e){return FS.has(e.toUpperCase())}function Ft(e){return IS.has(e.toUpperCase())}function th(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Ul(e,t){let r=typeof t=="string"?nr(t).search:t.search;if(e[e.length-1].route.index&&th(r||""))return e[e.length-1];let a=C0(e);return a[a.length-1]}function ty(e){let{formMethod:t,formAction:r,formEncType:a,text:s,formData:l,json:u}=e;if(!(!t||!r||!a)){if(s!=null)return{formMethod:t,formAction:r,formEncType:a,formData:void 0,json:void 0,text:s};if(l!=null)return{formMethod:t,formAction:r,formEncType:a,formData:l,json:void 0,text:void 0};if(u!==void 0)return{formMethod:t,formAction:r,formEncType:a,formData:void 0,json:u,text:void 0}}}function Rd(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function uC(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function js(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function cC(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function yr(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function dC(e,t){try{let r=e.sessionStorage.getItem(D0);if(r){let a=JSON.parse(r);for(let[s,l]of Object.entries(a||{}))l&&Array.isArray(l)&&t.set(s,new Set(l||[]))}}catch{}}function fC(e,t){if(t.size>0){let r={};for(let[a,s]of t)r[a]=[...s];try{e.sessionStorage.setItem(D0,JSON.stringify(r))}catch(a){ct(!1,`Failed to save applied view transitions in sessionStorage (${a}).`)}}}function ny(){let e,t,r=new Promise((a,s)=>{e=async l=>{a(l);try{await r}catch{}},t=async l=>{s(l);try{await r}catch{}}});return{promise:r,resolve:e,reject:t}}var Ii=k.createContext(null);Ii.displayName="DataRouter";var no=k.createContext(null);no.displayName="DataRouterState";var V0=k.createContext(!1);function B0(){return k.useContext(V0)}var nh=k.createContext({isTransitioning:!1});nh.displayName="ViewTransition";var z0=k.createContext(new Map);z0.displayName="Fetchers";var hC=k.createContext(null);hC.displayName="Await";var dn=k.createContext(null);dn.displayName="Navigation";var wu=k.createContext(null);wu.displayName="Location";var jn=k.createContext({outlet:null,matches:[],isDataRoute:!1});jn.displayName="Route";var rh=k.createContext(null);rh.displayName="RouteError";var U0="REACT_ROUTER_ERROR",mC="REDIRECT",pC="ROUTE_ERROR_RESPONSE";function gC(e){if(e.startsWith(`${U0}:${mC}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="str
51ing"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function yC(e){if(e.startsWith(`${U0}:${pC}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new eo(t.status,t.statusText,t.data)}catch{}}function vC(e,{relative:t}={}){Fe(Ma(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:a}=k.useContext(dn),{hash:s,pathname:l,search:u}=ro(e,{relative:t}),d=l;return r!=="/"&&(d=l==="/"?r:En([r,l])),a.createHref({pathname:d,search:u,hash:s})}function Ma(){return k.useContext(wu)!=null}function At(){return Fe(Ma(),"useLocation() may be used only in the context of a <Router> component."),k.useContext(wu).location}var $0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function W0(e){k.useContext(dn).static||k.useLayoutEffect(e)}function Tt(){let{isDataRoute:e}=k.useContext(jn);return e?LC():xC()}function xC(){Fe(Ma(),"useNavigate() may be used only in the context of a <Router> component.");let e=k.useContext(Ii),{basename:t,navigator:r}=k.useContext(dn),{matches:a}=k.useContext(jn),{pathname:s}=At(),l=JSON.stringify(xu(a)),u=k.useRef(!1);return W0(()=>{u.current=!0}),k.useCallback((h,m={})=>{if(ct(u.current,$0),!u.current)return;if(typeof h=="number"){r.go(h);return}let g=Zs(h,JSON.parse(l),s,m.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:En([t,g.pathname])),(m.replace?r.replace:r.push)(g,m.state,m)},[t,r,l,s,e])}var wC=k.createContext(null);function bC(e){let t=k.useContext(jn).outlet;return k.useMemo(()=>t&&k.createElement(wC.Provider,{value:e},t),[t,e])}function _i(){let{matches:e}=k.useContext(jn),t=e[e.length-1];return t?t.params:{}}function ro(e,{relative:t}={}){let{matches:r}=k.useContext(jn),{pathname:a}=At(),s=JSON.stringify(xu(r));return k.useMemo(()=>Zs(e,JSON.parse(s),a,t==="path"),[e,s,a,t])}function SC(e,t,r){Fe(Ma(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=k.useContext(dn),{matches:s}=k.useContext(jn),l=s[s.length-1],u=l?l.params:{},d=l?l.pathname:"/",h=l?l.pathnameBase:"/",m=l&&l.route;{let C=m&&m.path||"";G0(d,!m||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${C}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
52
53Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}/*`}">.`)}let g=At(),v;v=g;let x=v.pathname||"/",b=x;if(h!=="/"){let C=h.replace(/^\//,"").split("/");b="/"+x.replace(/^\//,"").split("/").slice(C.length).join("/")}let S=Jr(e,{pathname:b});return ct(m||S!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),ct(S==null||S[S.length-1].route.element!==void 0||S[S.length-1].route.Component!==void 0||S[S.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),PC(S&&S.map(C=>Object.assign({},C,{params:Object.assign({},u,C.params),pathname:En([h,a.encodeLocation?a.encodeLocation(C.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?h:En([h,a.encodeLocation?a.encodeLocation(C.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathnameBase])})),s,r)}function CC(){let e=Y0(),t=Da(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:a},l={padding:"2px 4px",backgroundColor:a},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=k.createElement(k.Fragment,null,k.createElement("p",null,"💿 Hey developer 👋"),k.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",k.createElement("code",{style:l},"ErrorBoundary")," or"," ",k.createElement("code",{style:l},"errorElement")," prop on your route.")),k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application 
53Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),r?k.createElement("pre",{style:s},r):null,u)}var kC=k.createElement(CC,null),H0=class extends k.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,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=yC(e.digest);r&&(e=r)}let t=e!==void 0?k.createElement(jn.Provider,{value:this.props.routeContext},k.createElement(rh.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?k.createElement(EC,{error:e},t):t}};H0.contextType=V0;var Nd=new WeakMap;function EC({children:e,error:t}){let{basename:r}=k.useContext(dn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let a=gC(t.digest);if(a){let s=Nd.get(t);if(s)throw s;let l=E0(a.location,r);if(k0&&!Nd.get(t))if(l.isExternal||a.reloadDocument)window.location.href=l.absoluteURL||l.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(l.to,{replace:a.replace}));throw Nd.set(t,u),u}return k.createElement("meta",{httpEquiv:"refresh",content:`0;url=${l.absoluteURL||l.to}`})}}return e}function TC({routeContext:e,match:t,children:r}){let a=k.useContext(Ii);return a&&a.static&&a.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=t.route.id),k.createElement(jn.Provider,{value:e},r)}function PC(e,t=[],r){let a=r==null?void 0:r.state;if(e==null){if(!a)return null;if(a.errors)e=a.matches;else if(t.length===0&&!a.initialized&&a.matches.length>0)e=a.matches;else return null}let s=e,l=a==null?void 0:a.errors;if(l!=null){let g=s.findIndex(v=>v.route.id&&(l==null?void 0:l[v.route.id])!==void 0);Fe(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),s=s.slice(0,Math.min(s.length,g+1))}let u=!1,d=-1;if(r&&a){u=a.renderFallback;for(let g=0;g<s.length;g++){let v=s[g];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(d=g),v.route.id){let{loaderData:x,errors:b}=a,S=v.route.loader&&!x.hasOwnProperty(v.route.id)&&(!b||b[v.route.id]===void 0);if(v.route.lazy||S){r.isStatic&&(u=!0),d>=0?s=s.slice(0,d+1):s=[s[0]];break}}}}let h=r==null?void 0:r.onError,m=a&&h?(g,v)=>{var x,b;h(g,{location:a.location,params:((b=(x=a.matches)==null?void 0:x[0])==null?void 0:b.params)??{},unstable_pattern:to(a.matches),errorInfo:v})}:void 0;return s.reduceRight((g,v,x)=>{let b,S=!1,E=null,C=null;a&&(b=l&&v.route.id?l[v.route.id]:void 0,E=v.route.errorElement||kC,u&&(d<0&&x===0?(G0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,C=null):d===x&&(S=!0,C=v.route.hydrateFallbackElement||null)));let D=t.concat(s.slice(0,x+1)),_=()=>{let I;return b?I=E:S?I=C:v.route.Component?I=k.createElement(v.route.Component,null):v.route.element?I=v.route.element:I=g,k.createElement(TC,{match:v,routeContext:{outlet:g,matches:D,isDataRoute:a!=null},children:I})};return a&&(v.route.ErrorBoundary||v.route.errorElement||x===0)?k.createElement(H0,{location:a.location,revalidation:a.revalidation,component:E,error:b,children:_(),routeContext:{outlet:null,matches:D,isDataRoute:!0},onError:m}):_()},null)}function ih(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function jC(e){let t=k.useContext(Ii);return Fe(t,ih(e)),t}function bu(e){let t=k.useContext(no);return Fe(t,ih(e)),t}function DC(e){let t=k.useContext(jn);return Fe(t,ih(e)),t}function Su(e){let t=DC(e),r=t.matches[t.matches.length-1];return Fe(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function RC(){return Su("useRouteId")}function NC(){return bu("useNavigation").navigation}function AC(){let{matches:e,loaderData:t}=bu("useMatches");return k.useMemo(()=>e.map(r=>x0(r,t)),[e,t])}function Cu(){let e=bu("useLoaderData"),t=Su("useLoaderData");return e.loaderData[t]}function Y0(){var a;let e=k.useContext(rh),t=bu("useRouteError"),r=Su("useRouteError");return e!==void 0?e:(a=t.errors)==null?void 0:a[r]}function LC(){let{router:e}=jC("useNavigate"),t=Su("useNavigate"),r=k.useRef(!1);return W0(()=>{r.current=!0}),k.useCallback(async(s,l={})=>{ct(r.current,$0),r.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:t,...l}))},[e,t])}var ry={};function G0(e,t,r){!t&&!ry[e]&&(ry[e]=!0,ct(!1,r))}var iy={};function ay(e,t){!e&&!iy[t]&&(iy[t]=!0,console.warn(t))}var MC="useOptimistic",sy=S2[MC],OC=()=>{};function IC(e){return sy?sy(e):[e,OC]}function _C(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&ct(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:k.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&ct(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:k.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&ct(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:k.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var FC=["HydrateFallback","hydrateFallbackElement"],VC=class{constructor(){this.status="pending",this.promise=new Promise((e,t)=>
53{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",e(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",t(r))}})}};function BC({router:e,flushSync:t,onError:r,unstable_useTransitions:a}){a=B0()||a;let[l,u]=k.useState(e.state),[d,h]=IC(l),[m,g]=k.useState(),[v,x]=k.useState({isTransitioning:!1}),[b,S]=k.useState(),[E,C]=k.useState(),[D,_]=k.useState(),I=k.useRef(new Map),F=k.useCallback((M,{deletedFetchers:O,newErrors:q,flushSync:ae,viewTransitionOpts:ue})=>{q&&r&&Object.values(q).forEach(ce=>{var ie;return r(ce,{location:M.location,params:((ie=M.matches[0])==null?void 0:ie.params)??{},unstable_pattern:to(M.matches)})}),M.fetchers.forEach((ce,ie)=>{ce.data!==void 0&&I.current.set(ie,ce.data)}),O.forEach(ce=>I.current.delete(ce)),ay(ae===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable.  Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let ge=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(ay(ue==null||ge,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!ue||!ge){t&&ae?t(()=>u(M)):a===!1?u(M):k.startTransition(()=>{a===!0&&h(ce=>oy(ce,M)),u(M)});return}if(t&&ae){t(()=>{E&&(b==null||b.resolve(),E.skipTransition()),x({isTransitioning:!0,flushSync:!0,currentLocation:ue.currentLocation,nextLocation:ue.nextLocation})});let ce=e.window.document.startViewTransition(()=>{t(()=>u(M))});ce.finished.finally(()=>{t(()=>{S(void 0),C(void 0),g(void 0),x({isTransitioning:!1})})}),t(()=>C(ce));return}E?(b==null||b.resolve(),E.skipTransition(),_({state:M,currentLocation:ue.currentLocation,nextLocation:ue.nextLocation})):(g(M),x({isTransitioning:!0,flushSync:!1,currentLocation:ue.currentLocation,nextLocation:ue.nextLocation}))},[e.window,t,E,b,a,h,r]);k.useLayoutEffect(()=>e.subscribe(F),[e,F]);let U=d.initialized;k.useLayoutEffect(()=>{!U&&e.state.initialized&&F(e.state,{deletedFetchers:[],flushSync:!1,newErrors:null})},[U,F,e.state]),k.useEffect(()=>{v.isTransitioning&&!v.flushSync&&S(new VC)},[v]),k.useEffect(()=>{if(b&&m&&e.window){let M=m,O=b.promise,q=e.window.document.startViewTransition(async()=>{a===!1?u(M):k.startTransition(()=>{a===!0&&h(ae=>oy(ae,M)),u(M)}),await O});q.finished.finally(()=>{S(void 0),C(void 0),g(void 0),x({isTransitioning:!1})}),C(q)}},[m,b,e.window,a,h]),k.useEffect(()=>{b&&m&&d.location.key===m.location.key&&b.resolve()},[b,E,d.location,m]),k.useEffect(()=>{!v.isTransitioning&&D&&(g(D.state),x({isTransitioning:!0,flushSync:!1,currentLocation:D.currentLocation,nextLocation:D.nextLocation}),_(void 0))},[v.isTransitioning,D]);let J=k.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:M=>e.navigate(M),push:(M,O,q)=>e.navigate(M,{state:O,preventScrollReset:q==null?void 0:q.preventScrollReset}),replace:(M,O,q)=>e.navigate(M,{replace:!0,state:O,preventScrollReset:q==null?void 0:q.preventScrollReset})}),[e]),W=e.basename||"/",T=k.useMemo(()=>({router:e,navigator:J,static:!1,basename:W,onError:r}),[e,J,W,r]);return k.createElement(k.Fragment,null,k.createElement(Ii.Provider,{value:T},k.createElement(no.Provider,{value:d},k.createElement(z0.Provider,{value:I.current},k.createElement(nh.Provider,{value:v},k.createElement($C,{basename:W,location:d.location,navigationType:d.historyAction,navigator:J,unstable_useTransitions:a},k.createElement(zC,{routes:e.routes,future:e.future,state:d,isStatic:!1,onError:r})))))),null)}function oy(e,t){return{...e,navigation:t.navigation.state!=="idle"?t.navigation:e.navigation,revalidation:t.revalidation!=="idle"?t.revalidation:e.revalidation,actionData:t.navigation.state!=="submitting"?t.actionData:e.actionData,fetchers:t.fetchers}}var zC=k.memo(UC);function UC({routes:e,future:t,state:r,isStatic:a,onError:s}){return SC(e,void 0,{state:r,isStatic:a,onError:s})}function pf({to:e,replace:t,state:r,relative:a}){Fe(Ma(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=k.useContext(dn);ct(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:l}=k.useContext(jn),{pathname:u}=At(),d=Tt(),h=Zs(e,xu(l),u,a==="path"),m=JSON.stringify(h);return k.useEffect(()=>{d(JSON.parse(m),{replace:t,state:r,relative:a})},[d,m,a,t,r]),null}function ah(e){return bC(e.context)}function $C({basename:e="/",children:t=null,location:r,navigationType:a="POP",navigator:s,static:l=!1,unstable_useTransitions:u}){Fe(!Ma(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),h=k.useMemo(()=>({basename:d,navigator:s,static:l,unstable_useTransitions:u,future:{}}),[d,s,l,u]);typeof r=="string"&&(r=nr(r));
53let{pathname:m="/",search:g="",hash:v="",state:x=null,key:b="default",unstable_mask:S}=r,E=k.useMemo(()=>{let C=Pn(m,d);return C==null?null:{location:{pathname:C,search:g,hash:v,state:x,key:b,unstable_mask:S},navigationType:a}},[d,m,g,v,x,b,a,S]);return ct(E!=null,`<Router basename="${d}"> is not able to match the URL "${m}${g}${v}" because it does not start with the basename, so the <Router> won't render anything.`),E==null?null:k.createElement(dn.Provider,{value:h},k.createElement(wu.Provider,{children:t,value:E}))}var $l="get",Wl="application/x-www-form-urlencoded";function ku(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function WC(e){return ku(e)&&e.tagName.toLowerCase()==="button"}function HC(e){return ku(e)&&e.tagName.toLowerCase()==="form"}function YC(e){return ku(e)&&e.tagName.toLowerCase()==="input"}function GC(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function qC(e,t){return e.button===0&&(!t||t==="_self")&&!GC(e)}function gf(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let a=e[r];return t.concat(Array.isArray(a)?a.map(s=>[r,s]):[[r,a]])},[]))}function KC(e,t){let r=gf(e);return t&&t.forEach((a,s)=>{r.has(s)||t.getAll(s).forEach(l=>{r.append(s,l)})}),r}var Tl=null;function QC(){if(Tl===null)try{new FormData(document.createElement("form"),0),Tl=!1}catch{Tl=!0}return Tl}var JC=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Ad(e){return e!=null&&!JC.has(e)?(ct(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Wl}"`),null):e}function XC(e,t){let r,a,s,l,u;if(HC(e)){let d=e.getAttribute("action");a=d?Pn(d,t):null,r=e.getAttribute("method")||$l,s=Ad(e.getAttribute("enctype"))||Wl,l=new FormData(e)}else if(WC(e)||YC(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=e.getAttribute("formaction")||d.getAttribute("action");if(a=h?Pn(h,t):null,r=e.getAttribute("formmethod")||d.getAttribute("method")||$l,s=Ad(e.getAttribute("formenctype"))||Ad(d.getAttribute("enctype"))||Wl,l=new FormData(d,e),!QC()){let{name:m,type:g,value:v}=e;if(g==="image"){let x=m?`${m}.`:"";l.append(`${x}x`,"0"),l.append(`${x}y`,"0")}else m&&l.append(m,v)}}else{if(ku(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=$l,a=null,s=Wl,u=e}return l&&s==="text/plain"&&(u=l,l=void 0),{action:a,method:r.toLowerCase(),encType:s,formData:l,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function sh(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function q0(e,t,r,a){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${a}`:s.pathname=`${s.pathname}.${a}`:s.pathname==="/"?s.pathname=`_root.${a}`:t&&Pn(s.pathname,t)==="/"?s.pathname=`${ru(t)}/_root.${a}`:s.pathname=`${ru(s.pathname)}.${a}`,s}async function ZC(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function ek(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function tk(e,t,r){let a=await Promise.all(e.map(async s=>{let l=t.routes[s.route.id];if(l){let u=await ZC(l,r);return u.links?u.links():[]}return[]}));return ak(a.flat(1).filter(ek).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function ly(e,t,r,a,s,l){let u=(h,m)=>r[m]?h.route.id!==r[m].route.id:!0,d=(h,m)=>{var g;return r[m].pathname!==h.pathname||((g=r[m].route.path)==null?void 0:g.endsWith("*"))&&r[m].params["*"]!==h.params["*"]};return l==="assets"?t.filter((h,m)=>u(h,m)||d(h,m)):l==="data"?t.filter((h,m)=>{var v;
53let g=a.routes[h.route.id];if(!g||!g.hasLoader)return!1;if(u(h,m)||d(h,m))return!0;if(h.route.shouldRevalidate){let x=h.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:((v=r[0])==null?void 0:v.params)||{},nextUrl:new URL(e,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function nk(e,t,{includeHydrateFallback:r}={}){return rk(e.map(a=>{let s=t.routes[a.route.id];if(!s)return[];let l=[s.module];return s.clientActionModule&&(l=l.concat(s.clientActionModule)),s.clientLoaderModule&&(l=l.concat(s.clientLoaderModule)),r&&s.hydrateFallbackModule&&(l=l.concat(s.hydrateFallbackModule)),s.imports&&(l=l.concat(s.imports)),l}).flat(1))}function rk(e){return[...new Set(e)]}function ik(e){let t={},r=Object.keys(e).sort();for(let a of r)t[a]=e[a];return t}function ak(e,t){let r=new Set;return new Set(t),e.reduce((a,s)=>{let l=JSON.stringify(ik(s));return r.has(l)||(r.add(l),a.push({key:l,link:s})),a},[])}function oh(){let e=k.useContext(Ii);return sh(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function sk(){let e=k.useContext(no);return sh(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var lh=k.createContext(void 0);lh.displayName="FrameworkContext";function uh(){let e=k.useContext(lh);return sh(e,"You must render this element inside a <HydratedRouter> element"),e}function ok(e,t){let r=k.useContext(lh),[a,s]=k.useState(!1),[l,u]=k.useState(!1),{onFocus:d,onBlur:h,onMouseEnter:m,onMouseLeave:g,onTouchStart:v}=t,x=k.useRef(null);k.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let E=D=>{D.forEach(_=>{u(_.isIntersecting)})},C=new IntersectionObserver(E,{threshold:.5});return x.current&&C.observe(x.current),()=>{C.disconnect()}}},[e]),k.useEffect(()=>{if(a){let E=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(E)}}},[a]);let b=()=>{s(!0)},S=()=>{s(!1),u(!1)};return r?e!=="intent"?[l,x,{}]:[l,x,{onFocus:Ds(d,b),onBlur:Ds(h,S),onMouseEnter:Ds(m,b),onMouseLeave:Ds(g,S),onTouchStart:Ds(v,b)}]:[!1,x,{}]}function Ds(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function lk({page:e,...t}){let r=B0(),{router:a}=oh(),s=k.useMemo(()=>Jr(a.routes,e,a.basename),[a.routes,e,a.basename]);return s?r?k.createElement(ck,{page:e,matches:s,...t}):k.createElement(dk,{page:e,matches:s,...t}):null}function uk(e){let{manifest:t,routeModules:r}=uh(),[a,s]=k.useState([]);return k.useEffect(()=>{let l=!1;return tk(e,t,r).then(u=>{l||s(u)}),()=>{l=!0}},[e,t,r]),a}function ck({page:e,matches:t,...r}){let a=At(),{future:s}=uh(),{basename:l}=oh(),u=k.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let d=q0(e,l,s.unstable_trailingSlashAwareDataRequests,"rsc"),h=!1,m=[];for(let g of t)typeof g.route.shouldRevalidate=="function"?h=!0:m.push(g.route.id);return h&&m.length>0&&d.searchParams.set("_routes",m.join(",")),[d.pathname+d.search]},[l,s.unstable_trailingSlashAwareDataRequests,e,a,t]);return k.createElement(k.Fragment,null,u.map(d=>k.createElement("link",{key:d,rel:"prefetch",as:"fetch",href:d,...r})))}function dk({page:e,matches:t,...r}){let a=At(),{future:s,manifest:l,routeModules:u}=uh(),{basename:d}=oh(),{loaderData:h,matches:m}=sk(),g=k.useMemo(()=>ly(e,t,m,l,a,"data"),[e,t,m,l,a]),v=k.useMemo(()=>ly(e,t,m,l,a,"assets"),[e,t,m,l,a]),x=k.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let E=new Set,C=!1;if(t.forEach(_=>{var F;let I=l.routes[_.route.id];!I||!I.hasLoader||(!g.some(U=>U.route.id===_.route.id)&&_.route.id in h&&((F=u[_.route.id])!=null&&F.shouldRevalidate)||I.hasClientLoader?C=!0:E.add(_.route.id))}),E.size===0)return[];let D=q0(e,d,s.unstable_trailingSlashAwareDataRequests,"data");return C&&E.size>0&&D.searchParams.set("_routes",t.filter(_=>E.has(_.route.id)).map(_=>_.route.id).join(",")),[D.pathname+D.search]},[d,s.unstable_trailingSlashAwareDataRequests,h,a,l,g,t,e,u]),b=k.useMemo(()=>nk(v,l),[v,l]),S=uk(v);return k.createElement(k.Fragment,null,x.map(E=>k.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...r})),b.map(E=>
53k.createElement("link",{key:E,rel:"modulepreload",href:E,...r})),S.map(({key:E,link:C})=>k.createElement("link",{key:E,nonce:r.nonce,...C,crossOrigin:C.crossOrigin??r.crossOrigin})))}function fk(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var hk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{hk&&(window.__reactRouterVersion="7.14.1")}catch{}function mk(e,t){return US({basename:t==null?void 0:t.basename,getContext:t==null?void 0:t.getContext,future:t==null?void 0:t.future,history:iS({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||pk(),routes:e,mapRouteProperties:_C,hydrationRouteProperties:FC,dataStrategy:t==null?void 0:t.dataStrategy,patchRoutesOnNavigation:t==null?void 0:t.patchRoutesOnNavigation,window:t==null?void 0:t.window,unstable_instrumentations:t==null?void 0:t.unstable_instrumentations}).initialize()}function pk(){let e=window==null?void 0:window.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:gk(e.errors)}),e}function gk(e){if(!e)return null;let t=Object.entries(e),r={};for(let[a,s]of t)if(s&&s.__type==="RouteErrorResponse")r[a]=new eo(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let l=window[s.__subType];if(typeof l=="function")try{let u=new l(s.message);u.stack="",r[a]=u}catch{}}if(r[a]==null){let l=new Error(s.message);l.stack="",r[a]=l}}else r[a]=s;return r}var K0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,io=k.forwardRef(function({onClick:t,discover:r="render",prefetch:a="none",relative:s,reloadDocument:l,replace:u,unstable_mask:d,state:h,target:m,to:g,preventScrollReset:v,viewTransition:x,unstable_defaultShouldRevalidate:b,...S},E){let{basename:C,navigator:D,unstable_useTransitions:_}=k.useContext(dn),I=typeof g=="string"&&K0.test(g),F=E0(g,C);g=F.to;let U=vC(g,{relative:s}),J=At(),W=null;if(d){let ce=Zs(d,[],J.unstable_mask?J.unstable_mask.pathname:"/",!0);C!=="/"&&(ce.pathname=ce.pathname==="/"?C:En([C,ce.pathname])),W=D.createHref(ce)}let[T,M,O]=ok(a,S),q=wk(g,{replace:u,unstable_mask:d,state:h,target:m,preventScrollReset:v,relative:s,viewTransition:x,unstable_defaultShouldRevalidate:b,unstable_useTransitions:_});function ae(ce){t&&t(ce),ce.defaultPrevented||q(ce)}let ue=!(F.isExternal||l),ge=k.createElement("a",{...S,...O,href:(ue?W:void 0)||F.absoluteURL||U,onClick:ue?ae:t,ref:fk(E,M),target:m,"data-discover":!I&&r==="render"?"true":void 0});return T&&!I?k.createElement(k.Fragment,null,ge,k.createElement(lk,{page:U})):ge});io.displayName="Link";var yk=k.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:a="",end:s=!1,style:l,to:u,viewTransition:d,children:h,...m},g){let v=ro(u,{relative:m.relative}),x=At(),b=k.useContext(no),{navigator:S,basename:E}=k.useContext(dn),C=b!=null&&Ek(v)&&d===!0,D=S.encodeLocation?S.encodeLocation(v).pathname:v.pathname,_=x.pathname,I=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;r||(_=_.toLowerCase(),I=I?I.toLowerCase():null,D=D.toLowerCase()),I&&E&&(I=Pn(I,E)||I);const F=D!=="/"&&D.endsWith("/")?D.length-1:D.length;let U=_===D||!s&&_.startsWith(D)&&_.charAt(F)==="/",J=I!=null&&(I===D||!s&&I.startsWith(D)&&I.charAt(D.length)==="/"),W={isActive:U,isPending:J,isTransitioning:C},T=U?t:void 0,M;typeof a=="function"?M=a(W):M=[a,U?"active":null,J?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let O=typeof l=="function"?l(W):l;return k.createElement(io,{...m,"aria-current":T,className:M,ref:g,style:O,to:u,viewTransition:d},typeof h=="function"?h(W):h)});yk.displayName="NavLink";var vk=k.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:a,replace:s,state:l,method:u=$l,action:d,onSubmit:h,relative:m,preventScrollReset:g,viewTransition:v,unstable_defaultShouldRevalidate:x,...b},S)=>{let{unstable_useTransitions:E}=k.useContext(dn),C=Ck(),D=kk(d,{relative:m}),_=u.toLowerCase()==="get"?"get":"post",I=typeof d=="string"&&K0.test(d),F=U=>{if(h&&h(U),U.defaultPrevented)return;U.preventDefault();let J=U.nativeEvent.submitter,W=(J==null?void 0:J.getAttribute("formmethod"))||u,T=()=>C(J||U.currentTarget,{fetcherKey:t,method:W,navigate:r,replace:s,state:l,relative:m,preventScrollReset:g,viewTransition:v,unstable_defaultShouldRevalidate:x});E&&r!==!1?k.startTransition(()=>T()):T()};return k.createElement("form",{ref:S,method:_,action:D,onSubmit:a?h:F,...b,"data-discover":!I&&e==="render"?"true":void 0})});vk.displayName="Form";function xk(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Q0(e){let t=k.useContext(Ii);return Fe(t,xk(e)),t}function wk(e,{target:t,replace:r,unstable_mask:a,state:s,preventScrollReset:l,relative:u,viewTransition:d,unstable_defaultShouldRevalidate:h,unstable_useTransitions:m}={}){let g=Tt(),v=At(),x=ro(e,{relative:u});return k.useCallback(b=>{if(qC(b,t)){b.preventDefault();let S=r!==void 0?r:er(v)===er(x),E=()=>g(e,{replace:S,unstable_mask:a,state:s,preventScrollReset:l,relative:u,viewTransition:d,unstable_defaultShouldRevalidate:h});m?k.startTransition(()=>E()):E()}},[v,g,x,r,a,s,t,e,l,u,d,h,m])}function fM(e){ct(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=k.useRef(gf(e)),r=k.useRef(!1),a=At(),s=k.useMemo(()=>KC(a.search,r.current?null:t.current),[a.search]),l=Tt(),u=k.useCallback((d,h)=>{const m=gf(typeof d=="function"?d(new URLSearchParams(s)):d);r.current=!0,l("?"+m,h)},[l,s]);return[s,u]}var bk=0,Sk=()=>`__${String(++bk)}__`;function Ck(){let{router:e}=Q0("useSubmit"),{basename:t}=k.useContext(dn),r=RC(),a=e.fetch,s=e.navigate;return k.useCallback(async(l,u={})=>{let{action:d,method:h,encType:m,formData:g,body:v}=XC(l,t);
53if(u.navigate===!1){let x=u.fetcherKey||Sk();await a(x,r,u.action||d,{unstable_defaultShouldRevalidate:u.unstable_defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:g,body:v,formMethod:u.method||h,formEncType:u.encType||m,flushSync:u.flushSync})}else await s(u.action||d,{unstable_defaultShouldRevalidate:u.unstable_defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:g,body:v,formMethod:u.method||h,formEncType:u.encType||m,replace:u.replace,state:u.state,fromRouteId:r,flushSync:u.flushSync,viewTransition:u.viewTransition})},[a,s,t,r])}function kk(e,{relative:t}={}){let{basename:r}=k.useContext(dn),a=k.useContext(jn);Fe(a,"useFormAction must be used inside a RouteContext");let[s]=a.matches.slice(-1),l={...ro(e||".",{relative:t})},u=At();if(e==null){l.search=u.search;let d=new URLSearchParams(l.search),h=d.getAll("index");if(h.some(g=>g==="")){d.delete("index"),h.filter(v=>v).forEach(v=>d.append("index",v));let g=d.toString();l.search=g?`?${g}`:""}}return(!e||e===".")&&s.route.index&&(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(l.pathname=l.pathname==="/"?r:En([r,l.pathname])),er(l)}function Ek(e,{relative:t}={}){let r=k.useContext(nh);Fe(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=Q0("useViewTransitionState"),s=ro(e,{relative:t});if(!r.isTransitioning)return!1;let l=Pn(r.currentLocation.pathname,a)||r.currentLocation.pathname,u=Pn(r.nextLocation.pathname,a)||r.nextLocation.pathname;return nu(s.pathname,u)!=null||nu(s.pathname,l)!=null}var J0=l0();const hM=ai(J0);function Tk(e){return k.createElement(BC,{flushSync:J0.flushSync,...e})}var X0={exports:{}},Rs={};/**
54 * @license React
55 * react-jsx-runtime.production.min.js
56 *
57 * Copyright (c) Facebook, Inc. and its affiliates.
58 *
59 * This source code is licensed under the MIT license found in the
60 * LICENSE file in the root directory of this source tree.
61 */var uy;function Pk(){if(uy)return Rs;uy=1;var e=Et,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(d,h,m){var g,v={},x=null,b=null;m!==void 0&&(x=""+m),h.key!==void 0&&(x=""+h.key),h.ref!==void 0&&(b=h.ref);for(g in h)a.call(h,g)&&!l.hasOwnProperty(g)&&(v[g]=h[g]);if(d&&d.defaultProps)for(g in h=d.defaultProps,h)v[g]===void 0&&(v[g]=h[g]);return{$$typeof:t,type:d,key:x,ref:b,props:v,_owner:s.current}}return Rs.Fragment=r,Rs.jsx=u,Rs.jsxs=u,Rs}X0.exports=Pk();var jk=X0.exports;const Dk=(e,t="8",r="#F43059",a="1")=>({margin:0,padding:0,position:"fixed",top:0,zIndex:"9999",backgroundColor:`${r}`,height:`${t}px`,width:`${e}`,transitionProperty:"width",transitionDuration:`${a}s`,transitionTimingFunction:"ease-out"});class Rk extends k.Component{constructor(t){super(t),this.state={width:null},this.Scrolling=this.Scrolling.bind(this)}Scrolling(){const t=document.body.scrollTop||document.documentElement.scrollTop,r=document.documentElement.scrollHeight-document.documentElement.clientHeight,a=t/r*100;r>0?this.setState({width:`${a}%`}):this.setState({width:null})}componentDidMount(){try{window.addEventListener("scroll",this.Scrolling)}catch(t){console.log(t)}}componentWillUnmount(){try{window.removeEventListener("scroll",this.Scrolling)}catch(t){console.log(t)}}render(){const{width:t}=this.state,{height:r,bgcolor:a,duration:s}=this.props;return jk.jsx("div",{style:Dk(t,r,a,s)})}}const Nk=k.createContext(null),Ak=({children:e})=>{const[t,r]=k.useState(null),[a,s]=k.useState(!0);k.useEffect(()=>{const d=localStorage.getItem("user");d&&r(JSON.parse(d)),s(!1)},[]);const l=(d,h)=>{localStorage.setItem("user",JSON.stringify(d)),localStorage.setItem("token",h),r(d)},u=()=>{localStorage.removeItem("user"),localStorage.removeItem("token"),r(null)};return f.jsx(Nk.Provider,{value:{user:t,login:l,logout:u,loading:a},children:e})};var Ld={exports:{}},Md,cy;function Lk(){if(cy)return Md;cy=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Md=e,Md}var Od,dy;function Mk(){if(dy)return Od;dy=1;var e=Lk();function t(){}function r(){}return r.resetWarningCache=t,Od=function(){function a(u,d,h,m,g,v){if(v!==e){var x=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw x.name="Invariant Violation",x}}a.isRequired=a;function s(){return a}var l={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:s,element:a,elementType:a,instanceOf:s,node:a,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:r,resetWarningCache:t};return l.PropTypes=l,l},Od}var fy;function Ok(){return fy||(fy=1,Ld.exports=Mk()()),Ld.exports}var Ik=Ok();const nt=ai(Ik);var Z0={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},hy=Et.createContext&&Et.createContext(Z0),_k=["attr","size","title"];function Fk(e,t){if(e==null)return{};var r,a,s=Vk(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}function Vk(e,t){if(e==null)return{};var r={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;r[a]=e[a]}return r}function iu(){return iu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},iu.apply(null,arguments)}function my(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,a)}return r}function au(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
vendor: 5,276 bytes, line 61
61t%2?my(Object(r),!0).forEach(function(a){Bk(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):my(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Bk(e,t,r){return(t=zk(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zk(e){var t=Uk(e,"string");return typeof t=="symbol"?t:t+""}function Uk(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ex(e){return e&&e.map((t,r)=>Et.createElement(t.tag,au({key:r},t.attr),ex(t.child)))}function me(e){return t=>Et.createElement($k,iu({attr:au({},e.attr)},t),ex(e.child))}function $k(e){var t=r=>{var{attr:a,size:s,title:l}=e,u=Fk(e,_k),d=s||r.size||"1em",h;return r.className&&(h=r.className),e.className&&(h=(h?h+" ":"")+e.className),Et.createElement("svg",iu({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,a,u,{className:h,style:au(au({color:e.color||r.color},r.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),l&&Et.createElement("title",null,l),e.children)};return hy!==void 0?Et.createElement(hy.Consumer,null,r=>t(r)):t(Z0)}function mM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(e)}function pM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"23 7 16 12 23 17 23 7"},child:[]},{tag:"rect",attr:{x:"1",y:"5",width:"15",height:"14",rx:"2",ry:"2"},child:[]}]})(e)}function gM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"},child:[]},{tag:"circle",attr:{cx:"9",cy:"7",r:"4"},child:[]},{tag:"path",attr:{d:"M23 21v-2a4 4 0 0 0-3-3.87"},child:[]},{tag:"path",attr:{d:"M16 3.13a4 4 0 0 1 0 7.75"},child:[]}]})(e)}function yM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"16 16 12 12 8 16"},child:[]},{tag:"line",attr:{x1:"12",y1:"12",x2:"12",y2:"21"},child:[]},{tag:"path",attr:{d:"M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"},child:[]},{tag:"polyline",attr:{points:"16 16 12 12 8 16"},child:[]}]})(e)}function vM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"4 7 4 4 20 4 20 7"},child:[]},{tag:"line",attr:{x1:"9",y1:"20",x2:"15",y2:"20"},child:[]},{tag:"line",attr:{x1:"12",y1:"4",x2:"12",y2:"20"},child:[]}]})(e)}function xM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"},child:[]},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"},child:[]},{tag:"line",attr:{x1:"10",y1:"11",x2:"10",y2:"17"},child:[]},{tag:"line",attr:{x1:"14",y1:"11",x2:"14",y2:"17"},child:[]}]})(e)}function wM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"circle",attr:{cx:"12",cy:"12",r:"6"},child:[]},{tag:"circle",attr:{cx:"12",cy:"12",r:"2"},child:[]}]})(e)}function bM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"},child:[]}]})(e)}function SM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"},child:[]}]})(e)}function CM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"},child:[]},{tag:"line",attr:{x1:"9",y1:"3",x2:"9",y2:"21"},child:[]}]})(e)}function kM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"3"},child:[]},{tag:"path",attr:{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 
610 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"},child:[]}]})(e)}function yf(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"},child:[]},{tag:"line",attr:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"},child:[]}]})(e)}function Wk(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"23 4 23 10 17 10"},child:[]},{tag:"polyline",attr:{points:"1 20 1 14 7 14"},child:[]},{tag:"path",attr:{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"},child:[]}]})(e)}function EM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"},child:[]},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(e)}function py(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"5 3 19 12 5 21 5 3"},child:[]}]})(e)}function TM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{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"},child:[]}]})(e)}function PM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"5 9 2 12 5 15"},child:[]},{tag:"polyline",attr:{points:"9 5 12 2 15 5"},child:[]},{tag:"polyline",attr:{points:"15 19 12 22 9 19"},child:[]},{tag:"polyline",attr:{points:"19 9 22 12 19 15"},child:[]},{tag:"line",attr:{x1:"2",y1:"12",x2:"22",y2:"12"},child:[]},{tag:"line",attr:{x1:"12",y1:"2",x2:"12",y2:"22"},child:[]}]})(e)}function jM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"},child:[]},{tag:"path",attr:{d:"M13 13l6 6"},child:[]}]})(e)}function DM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"},child:[]}]})(e)}function RM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"3",y1:"12",x2:"21",y2:"12"},child:[]},{tag:"line",attr:{x1:"3",y1:"6",x2:"21",y2:"6"},child:[]},{tag:"line",attr:{x1:"3",y1:"18",x2:"21",y2:"18"},child:[]}]})(e)}function NM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"},child:[]}]})(e)}function AM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"15 3 21 3 21 9"},child:[]},{tag:"polyline",attr:{points:"9 21 3 21 3 15"},child:[]},{tag:"line",attr:{x1:"21",y1:"3",x2:"14",y2:"10"},child:[]},{tag:"line",attr:{x1:"3",y1:"21",x2:"10",y2:"14"},child:[]}]})(e)}function LM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"},child:[]},{tag:"circle",attr:{cx:"12",cy:"10",r:"3"},child:[]}]})(e)}function MM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"2",x2:"12",y2:"6"},child:[]},{tag:"line",attr:{x1:"12",y1:"18",x2:"12",y2:"22"},child:[]},{tag:"line",attr:{x1:"4.93",y1:"4.93",x2:"7.76",y2:"7.76"},child:[]},{tag:"line",attr:{x1:"16.24",y1:"16.24",x2:"19.07",y2:"19.07"},child:[]},{tag:"line",attr:{x1:"2",y1:"12",x2:"6",y2:"12"},child:[]},{tag:"line",attr:{x1:"18",y1:"12",x2:"22",y2:"12"},child:[]},{tag:"line",attr:{x1:"4.93",y1:"19.07",x2:"7.76",y2:"16.24"},child:[]},{tag:"line",attr:{x1:"16.24",y1:"7.76",x2:"19.07",y2:"4.93"},child:[]}]})(e)}function OM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"8",y1:"6",x2:"21",y2:"6"},child:[]},{tag:"line",attr:{x1:"8",y1:"12",x2:"21",y2:"12"},child:[]},{tag:"line",attr:{x1:"8",y1:"18",x2:"21",y2:"18"},child:[]},{tag:"line",attr:{x1:"3",y1:"6",x2:"3.01",y2:"6"},child:[]},{tag:"line",attr:{x1:"3",y1:"12",x2:"3.01",y2:"12"},child:[]},{tag:"line",attr:{x1:"3",y1:"18",x2:"3.01",y2:"18"},child:[]}]})(e)}function IM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"},child:[]},{tag:"path",attr:{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"},child:[]}]})(e)}function _M(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"},child:[]},{tag:"line",attr:{x1:"3",y1:"9",x2:"21",y2:"9"},child:[]},{tag:"line",attr:{x1:"9",y1:"21",x2:"9",y2:"9"},child:[]}]})(e)}function FM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"12 2 2 7 12 12 22 7 12 2"},child:[]},{tag:"polyline",attr:{points:"2 17 12 22 22 17"},child:[]},{tag:"polyline",attr:{points:"2 12 12 17 22 12"},child:[]}]})(e)}
61function VM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"},child:[]},{tag:"circle",attr:{cx:"8.5",cy:"8.5",r:"1.5"},child:[]},{tag:"polyline",attr:{points:"21 15 16 10 5 21"},child:[]}]})(e)}function Hk(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"},child:[]},{tag:"polyline",attr:{points:"9 22 9 12 15 12 15 22"},child:[]}]})(e)}function BM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"path",attr:{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"},child:[]},{tag:"line",attr:{x1:"12",y1:"17",x2:"12.01",y2:"17"},child:[]}]})(e)}function zM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"7",height:"7"},child:[]},{tag:"rect",attr:{x:"14",y:"3",width:"7",height:"7"},child:[]},{tag:"rect",attr:{x:"14",y:"14",width:"7",height:"7"},child:[]},{tag:"rect",attr:{x:"3",y:"14",width:"7",height:"7"},child:[]}]})(e)}function UM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"2",y1:"12",x2:"22",y2:"12"},child:[]},{tag:"path",attr:{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"},child:[]}]})(e)}function $M(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"},child:[]}]})(e)}function WM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"},child:[]},{tag:"polyline",attr:{points:"14 2 14 8 20 8"},child:[]},{tag:"line",attr:{x1:"16",y1:"13",x2:"8",y2:"13"},child:[]},{tag:"line",attr:{x1:"16",y1:"17",x2:"8",y2:"17"},child:[]},{tag:"polyline",attr:{points:"10 9 9 9 8 9"},child:[]}]})(e)}function HM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"},child:[]},{tag:"polyline",attr:{points:"14 2 14 8 20 8"},child:[]},{tag:"line",attr:{x1:"12",y1:"18",x2:"12",y2:"12"},child:[]},{tag:"line",attr:{x1:"9",y1:"15",x2:"15",y2:"15"},child:[]}]})(e)}function YM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"},child:[]},{tag:"circle",attr:{cx:"12",cy:"12",r:"3"},child:[]}]})(e)}function GM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"},child:[]},{tag:"polyline",attr:{points:"15 3 21 3 21 9"},child:[]},{tag:"line",attr:{x1:"10",y1:"14",x2:"21",y2:"3"},child:[]}]})(e)}function qM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"},child:[]},{tag:"path",attr:{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"},child:[]}]})(e)}function KM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 20h9"},child:[]},{tag:"path",attr:{d:"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"},child:[]}]})(e)}function Yk(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"},child:[]},{tag:"polyline",attr:{points:"7 10 12 15 17 10"},child:[]},{tag:"line",attr:{x1:"12",y1:"15",x2:"12",y2:"3"},child:[]}]})(e)}function QM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},child:[]},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},child:[]}]})(e)}function JM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}
61,child:[{tag:"path",attr:{d:"M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18"},child:[]}]})(e)}function XM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"polyline",attr:{points:"12 6 12 12 16 14"},child:[]}]})(e)}function ZM(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"},child:[]}]})(e)}function Gk(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"},child:[]}]})(e)}function eO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"15 18 9 12 15 6"},child:[]}]})(e)}function tO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"},child:[]}]})(e)}function nO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"},child:[]}]})(e)}function rO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"},child:[]},{tag:"polyline",attr:{points:"22 4 12 14.01 9 11.01"},child:[]}]})(e)}function iO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"},child:[]},{tag:"line",attr:{x1:"16",y1:"2",x2:"16",y2:"6"},child:[]},{tag:"line",attr:{x1:"8",y1:"2",x2:"8",y2:"6"},child:[]},{tag:"line",attr:{x1:"3",y1:"10",x2:"21",y2:"10"},child:[]}]})(e)}function aO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"},child:[]},{tag:"path",attr:{d:"M13.73 21a2 2 0 0 1-3.46 0"},child:[]}]})(e)}function sO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"20",x2:"18",y2:"10"},child:[]},{tag:"line",attr:{x1:"12",y1:"20",x2:"12",y2:"4"},child:[]},{tag:"line",attr:{x1:"6",y1:"20",x2:"6",y2:"14"},child:[]}]})(e)}function oO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"8",r:"7"},child:[]},{tag:"polyline",attr:{points:"8.21 13.89 7 23 12 20 17 23 15.79 13.88"},child:[]}]})(e)}function lO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"19",x2:"12",y2:"5"},child:[]},{tag:"polyline",attr:{points:"5 12 12 5 19 12"},child:[]}]})(e)}function uO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 5 19 12 12 19"},child:[]}]})(e)}function qk(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"polyline",attr:{points:"12 16 16 12 12 8"},child:[]},{tag:"line",attr:{x1:"8",y1:"12",x2:"16",y2:"12"},child:[]}]})(e)}function Kk(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"19",y1:"12",x2:"5",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 19 5 12 12 5"},child:[]}]})(e)}function cO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"},child:[]},{tag:"polyline",attr:{points:"19 12 12 19 5 12"},child:[]}]})(e)}function dO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"17",y1:"10",x2:"3",y2:"10"},child:[]},{tag:"line",attr:{x1:"21",y1:"6",x2:"3",y2:"6"},child:[]},{tag:"line",attr:{x1:"21",y1:"14",x2:"3",y2:"14"},child:[]},{tag:"line",attr:{x1:"17",y1:"18",x2:"3",y2:"18"},child:[]}]})(e)}function fO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"12",y1:"8",x2:"12",y2:"12"},child:[]},{tag:"line",attr:{x1:"12",y1:"16",x2:"12.01",y2:"16"},child:[]}]})(e)}function hO(e){return me({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"22 12 18 12 15 21 9 3 6 12 2 12"},child:[]}]})(e)}function Fi({title:e="Dr. Yanga’s Colleges Inc. | Transformative, Sustainability-Ready & Award-Winning Robotics School in Bulacan",description:t="Dr. Yanga’s Colleges Inc. (DYCI) is a sustainability-driven institution in Bulacan known for innovation, award‑winning robotics, and student‑centered programs.",url:r="https://dyci.edu.ph/",image:a="https://dyci.edu.ph/dyci-logo.png",type:s="website",canonical:l,siteName:u="Dr. Yanga’s Colleges, Inc. (DYCI)",twitterSite:d,noindex:h=!1,robots:m,structuredData:g,lang:v="en"}){const x=l||r,b=m||(h?"noindex, nofollow":"index, follow"),E=/^https?:\/\//i.test(x)?x:`https://dyci.edu.ph${x.startsWith("/")?"":"/"}${x}`,C=!!a;return k.useEffect(()=>{document.head.querySelectorAll("[data-seo-shell]").forEach(D=>D.remove())},[]),f.jsxs(g0,{prioritizeSeoTags:!0,children:[f.jsx("html",{lang:v}),f.jsx("title",{children:e}),t&&f.jsx("meta",{name:"description",content:t}),f.jsx("meta",{name:"robots",content:b}),f.jsx("link",{rel:"canonical",href:E}),f.jsx("meta",{property:"og:title",content:e}),t&&f.jsx("meta",{property:"og:description",content:t}),f.jsx("meta",{property:"og:type",content:s}),f.jsx("meta",{property:"og:url",content:r}),f.jsx("meta",{property:"og:site_name",content:u}),C&&f.jsx("meta",{property:"og:image",content:a}),C&&f.jsx("meta",{property:"og:image:secure_url",content:a}
61),f.jsx("meta",{name:"twitter:card",content:C?"summary_large_image":"summary"}),f.jsx("meta",{name:"twitter:title",content:e}),t&&f.jsx("meta",{name:"twitter:description",content:t}),C&&f.jsx("meta",{name:"twitter:image",content:a}),d&&f.jsx("meta",{name:"twitter:site",content:d}),g&&Array.isArray(g)&&g.map((D,_)=>f.jsx("script",{type:"application/ld+json",children:JSON.stringify(D)},_)),g&&!Array.isArray(g)&&f.jsx("script",{type:"application/ld+json",children:JSON.stringify(g)})]})}Fi.propTypes={title:nt.string,description:nt.string,url:nt.string.isRequired,image:nt.string,type:nt.oneOf(["website","article","event"]),canonical:nt.string,siteName:nt.string,twitterSite:nt.string,noindex:nt.bool,robots:nt.string,structuredData:nt.oneOfType([nt.object,nt.arrayOf(nt.object)]),lang:nt.string};const ln=({variant:e="page",onRetry:t,code:r="404",title:a="This page took a different path.",message:s="The page you're looking for may have been moved, renamed, or never existed. Let's get you back on track.",showSearch:l,showQuickLinks:u,showSeo:d})=>{const h=Tt(),[m,g]=k.useState(""),v=e==="section",x=/^\d+$/.test(String(r)),b=l??!v,S=d??!v,E=C=>{C.preventDefault();const D=m.trim();D&&h(`/search?q=${encodeURIComponent(D)}`)};return f.jsxs("div",{"data-page":"error","data-variant":e,className:v?"relative isolate overflow-hidden bg-semi-blue rounded-2xl flex items-center justify-center px-5 py-12 sm:py-16":"relative isolate overflow-hidden bg-semi-blue min-h-screen flex items-center justify-center px-5 pt-28 pb-16 sm:pt-32 sm:pb-20",children:[S&&f.jsx(Fi,{title:`${x?`${r} — `:""}${a} | Dr. Yanga's Colleges, Inc.`,description:s,url:"https://dyci.edu.ph/",noindex:!0}),f.jsxs("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 -z-10",children:[f.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-dark-blue via-semi-blue to-navy-blue"}),f.jsx("div",{className:"absolute inset-0 opacity-[0.07]",style:{backgroundImage:"linear-gradient(to right, #fdfdfa 1px, transparent 1px), linear-gradient(to bottom, #fdfdfa 1px, transparent 1px)",backgroundSize:"72px 72px",maskImage:"radial-gradient(ellipse at center, black 20%, transparent 72%)",WebkitMaskImage:"radial-gradient(ellipse at center, black 20%, transparent 72%)"}})]}),f.jsxs("div",{className:`w-full max-w-3xl text-center ${v?"":"py-10"}`,children:[f.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-white px-4 py-1.5 text-xs sm:text-sm font-body font-medium uppercase tracking-[0.18em] text-white",children:[f.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-white"}),x?`Error ${r}`:r]}),!v&&f.jsx("p",{className:"mt-6 font-title font-bold leading-none bg-clip-text text-gold select-none text-[5rem] sm:text-[9rem] lg:text-[11rem]",children:r}),v?f.jsx("p",{className:"mt-4 font-title font-medium text-xl sm:text-2xl text-white",children:a}):f.jsx("h1",{className:"mt-2 font-title font-medium text-2xl sm:text-3xl lg:text-4xl text-white",children:a}),f.jsx("p",{className:"mx-auto mt-4 max-w-xl font-body text-sm sm:text-base font-light leading-relaxed text-white/70",children:s}),b&&f.jsxs("form",{onSubmit:E,role:"search",className:"mx-auto mt-8 w-full max-w-lg",children:[f.jsx("label",{htmlFor:"error-search",className:"sr-only",children:"Search the DYCI website"}),f.jsxs("div",{className:"flex items-center gap-2 rounded-xl border border-white/15 bg-white/5 p-1.5 backdrop-blur-sm transition-colors focus-within:border-white/50",children:[f.jsx("input",{id:"error-search",type:"search",value:m,onChange:C=>g(C.target.value),placeholder:"Search for a program, article, or page…",className:"min-w-0 flex-1 bg-transparent py-2 pl-4 font-body text-sm text-white placeholder:text-white/40 focus:outline-none"}),f.jsx("button",{type:"submit",className:"pr-3 cursor-pointer text-white/50 transition hover:text-white/80",children:f.jsx(yf,{"aria-hidden":"true",className:"ml-2.5 shrink-0 text-lg text-white/50"})})]})]}),f.jsxs("div",{className:"mt-6 flex flex-col sm:flex-row items-center justify-center gap-3",children:[t&&f.jsxs("button",{type:"button",onClick:t,className:"inline-flex w-full sm:w-auto items-center justify-center gap-2 rounded-xl bg-gold px-6 py-2.5 font-body text-sm font-medium text-white transition-colors hover:bg-light-gold hover:text-navy-blue focus:outline-none focus-visible:ring-2 focus-visible:ring-light-gold focus-visible:ring-offset-2 focus-visible:ring-offset-semi-blue",children:[f.jsx(Wk,{"aria-hidden":"true",className:"text-base"}),"Try Again"]}),!v&&f.jsxs(io,{to:"/",className:`inline-flex w-full sm:w-auto items-center justify-center gap-2 rounded-xl px-6 py-2.5 font-body text-sm font-medium text-white transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-light-gold focus-visible:ring-offset-2 focus-visible:ring-offset-semi-blue ${t?"border border-white/20 hover:border-white/40 hover:bg-white/5":"bg-gold hover:bg-light-gold hover:text-navy-blue"}`,children:[f.jsx(Hk,{"aria-hidden":"true",className:"text-base"}),"Back to Home"]}),f.jsxs("button",{type:"button",onClick:()=>h(-1),className:"inline-flex w-full sm:w-auto items-center justify-center gap-2 rounded-xl border border-white/20 px-6 py-2.5 font-body text-sm font-medium text-white transition-colors hover:border-white/40 hover:bg-white/5 focus:outline-none focus-visible:ring-2 focus-visible:ring-light-gold focus-visible:ring-offset-2 focus-visible:ring-offset-semi-blue",children:[f.jsx(Kk,{"aria-hidden":"true",className:"text-base"}),"Go Back"]})]})]})]})};ln.propTypes={variant:nt.oneOf(["page","section"]),onRetry:nt.func,code:nt.oneOfType([nt.string,nt.number]),title:nt.string,message:nt.string,showSearch:nt.bool,showQuickLinks:nt.bool,showSeo:nt.bool};const tx=()=>{var t,r;const e=Y0();return Da(e)&&e.status===404?f.jsx(ln,{title:(t=e.data)==null?void 0:t.t
61itle,message:(r=e.data)==null?void 0:r.message}):e?f.jsx(ln,{code:"Error",title:"This page couldn't load.",message:"Something went wrong while loading this page. Check your connection and try again.",onRetry:()=>window.location.reload()}):f.jsx(ln,{})},Qk=()=>{const e=localStorage.getItem("token"),t=At();return e?f.jsx(ah,{}):f.jsx(pf,{to:"/login",state:{from:t},replace:!0})};class je extends Et.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t,r){console.error("ErrorBoundary caught an error: ",t,r)}componentDidUpdate(t){this.state.hasError&&t.children!==this.props.children&&this.setState({hasError:!1})}render(){return this.state.hasError?this.props.fallback||f.jsx(ln,{code:"500",title:"Something went wrong on our end.",message:"This page ran into an unexpected problem. Try reloading, or use the links below to keep browsing."}):this.props.children}}function ch(e,t){e.indexOf(t)===-1&&e.push(t)}function su(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const tr=(e,t,r)=>r>t?t:r<e?e:r;let dh=()=>{};const ni={},nx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function rx(e){return typeof e=="object"&&e!==null}const ix=e=>/^0[^.\s]+$/u.test(e);function ax(e){let t;return()=>(t===void 0&&(t=e()),t)}const Tn=e=>e,Jk=(e,t)=>r=>t(e(r)),ao=(...e)=>e.reduce(Jk),qs=(e,t,r)=>{const a=t-e;return a===0?1:(r-e)/a};class fh{constructor(){this.subscriptions=[]}add(t){return ch(this.subscriptions,t),()=>su(this.subscriptions,t)}notify(t,r,a){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,r,a);else for(let l=0;l<s;l++){const u=this.subscriptions[l];u&&u(t,r,a)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const un=e=>e*1e3,kn=e=>e/1e3;function sx(e,t){return t?e*(1e3/t):0}const ox=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,Xk=1e-7,Zk=12;function eE(e,t,r,a,s){let l,u,d=0;do u=t+(r-t)/2,l=ox(u,a,s)-e,l>0?r=u:t=u;while(Math.abs(l)>Xk&&++d<Zk);return u}function so(e,t,r,a){if(e===t&&r===a)return Tn;const s=l=>eE(l,0,1,e,r);return l=>l===0||l===1?l:ox(s(l),t,a)}const lx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ux=e=>t=>1-e(1-t),cx=so(.33,1.53,.69,.99),hh=ux(cx),dx=lx(hh),fx=e=>e>=1?1:(e*=2)<1?.5*hh(e):.5*(2-Math.pow(2,-10*(e-1))),mh=e=>1-Math.sin(Math.acos(e)),hx=ux(mh),mx=lx(mh),tE=so(.42,0,1,1),nE=so(0,0,.58,1),px=so(.42,0,.58,1),rE=e=>Array.isArray(e)&&typeof e[0]!="number",gx=e=>Array.isArray(e)&&typeof e[0]=="number",iE={linear:Tn,easeIn:tE,easeInOut:px,easeOut:nE,circIn:mh,circInOut:mx,circOut:hx,backIn:hh,backInOut:dx,backOut:cx,anticipate:fx},aE=e=>typeof e=="string",gy=e=>{if(gx(e)){dh(e.length===4);const[t,r,a,s]=e;return so(t,r,a,s)}else if(aE(e))return iE[e];return e},yx=k.createContext({}),vx=k.createContext({strict:!1}),xx=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Eu=k.createContext({}),Pl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function sE(e,t){let r=new Set,a=new Set,s=!1,l=!1;const u=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};
vendor: 26,898 bytes, line 61
61function h(g){u.has(g)&&(m.schedule(g),e()),g(d)}const m={schedule:(g,v=!1,x=!1)=>{const S=x&&s?r:a;return v&&u.add(g),S.add(g),g},cancel:g=>{a.delete(g),u.delete(g)},process:g=>{if(d=g,s){l=!0;return}s=!0;const v=r;r=a,a=v,r.forEach(h),r.clear(),s=!1,l&&(l=!1,m.process(g))}};return m}const oE=40;function wx(e,t){let r=!1,a=!0;const s={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,u=Pl.reduce((I,F)=>(I[F]=sE(l),I),{}),{setup:d,read:h,resolveKeyframes:m,preUpdate:g,update:v,preRender:x,render:b,postRender:S}=u,E=()=>{const I=ni.useManualTiming,F=I?s.timestamp:performance.now();r=!1,I||(s.delta=a?1e3/60:Math.max(Math.min(F-s.timestamp,oE),1)),s.timestamp=F,s.isProcessing=!0,d.process(s),h.process(s),m.process(s),g.process(s),v.process(s),x.process(s),b.process(s),S.process(s),s.isProcessing=!1,r&&t&&(a=!1,e(E))},C=()=>{r=!0,a=!0,s.isProcessing||e(E)};return{schedule:Pl.reduce((I,F)=>{const U=u[F];return I[F]=(J,W=!1,T=!1)=>(r||C(),U.schedule(J,W,T)),I},{}),cancel:I=>{for(let F=0;F<Pl.length;F++)u[Pl[F]].cancel(I)},state:s,steps:u}}const{schedule:Qe,cancel:ri,state:Rt,steps:Id}=wx(typeof requestAnimationFrame<"u"?requestAnimationFrame:Tn,!0);let Hl;function lE(){Hl=void 0}const Ht={now:()=>(Hl===void 0&&Ht.set(Rt.isProcessing||ni.useManualTiming?Rt.timestamp:performance.now()),Hl),set:e=>{Hl=e,queueMicrotask(lE)}},bx=e=>t=>typeof t=="string"&&t.startsWith(e),Sx=bx("--"),uE=bx("var(--"),ph=e=>uE(e)?cE.test(e.split("/*")[0].trim()):!1,cE=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function yy(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Oa={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ks={...Oa,transform:e=>tr(0,1,e)},jl={...Oa,default:1},Us=e=>Math.round(e*1e5)/1e5,gh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function dE(e){return e==null}const fE=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,yh=(e,t)=>r=>!!(typeof r=="string"&&fE.test(r)&&r.startsWith(e)||t&&!dE(r)&&Object.prototype.hasOwnProperty.call(r,t)),Cx=(e,t,r)=>a=>{if(typeof a!="string")return a;const[s,l,u,d]=a.match(gh);return{[e]:parseFloat(s),[t]:parseFloat(l),[r]:parseFloat(u),alpha:d!==void 0?parseFloat(d):1}},hE=e=>tr(0,255,e),_d={...Oa,transform:e=>Math.round(hE(e))},ji={test:yh("rgb","red"),parse:Cx("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:a=1})=>"rgba("+_d.transform(e)+", "+_d.transform(t)+", "+_d.transform(r)+", "+Us(Ks.transform(a))+")"};function mE(e){let t="",r="",a="",s="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),a=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),a=e.substring(3,4),s=e.substring(4,5),t+=t,r+=r,a+=a,s+=s),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(a,16),alpha:s?parseInt(s,16)/255:1}}const vf={test:yh("#"),parse:mE,transform:ji.transform},oo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Kr=oo("deg"),Zn=oo("%"),we=oo("px"),pE=oo("vh"),gE=oo("vw"),vy={...Zn,parse:e=>Zn.parse(e)/100,transform:e=>Zn.transform(e*100)},Ca={test:yh("hsl","hue"),parse:Cx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:a=1})=>"hsla("+Math.round(e)+", "+Zn.transform(Us(t))+", "+Zn.transform(Us(r))+", "+Us(Ks.transform(a))+")"},gt={test:e=>ji.test(e)||vf.test(e)||Ca.test(e),parse:e=>ji.test(e)?ji.parse(e):Ca.test(e)?Ca.parse(e):vf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ji.transform(e):Ca.transform(e),getAnimatableNone:e=>{const t=gt.parse(e);return t.alpha=0,gt.transform(t)}},yE=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function vE(e){var t,r;return isNaN(e)&&typeof e=="string"&&(((t=e.match(gh))==null?void 0:t.length)||0)+(((r=e.match(yE))==null?void 0:r.length)||0)>0}const kx="number",Ex="color",xE="var",wE="var(",xy="${}",bE=/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 Ra(e){const t=e.toString(),r=[],a={color:[],number:[],var:[]},s=[];let l=0;const d=t.replace(bE,h=>(gt.test(h)?(a.color.push(l),s.push(Ex),r.push(gt.parse(h))):h.startsWith(wE)?(a.var.push(l),s.push(xE),r.push(h)):(a.number.push(l),s.push(kx),r.push(parseFloat(h))),++l,xy)).split(xy);return{values:r,split:d,indexes:a,types:s}}function SE(e){return Ra(e).values}function Tx({split:e,types:t}){const r=e.length;return a=>{let s="";for(let l=0;l<r;l++)if(s+=e[l],a[l]!==void 0){const u=t[l];u===kx?s+=Us(a[l]):u===Ex?s+=gt.transform(a[l]):s+=a[l]}return s}}function CE(e){return Tx(Ra(e))}const kE=e=>typeof e=="number"?0:gt.test(e)?gt.getAnimatableNone(e):e,EE=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:kE(e);function TE(e){const t=Ra(e);return Tx(t)(t.values.map((a,s)=>EE(a,t.split[s])))}const Un={test:vE,parse:SE,createTransformer:CE,getAnimatableNone:TE};function Fd(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function PE({hue:e,saturation:t,lightness:r,alpha:a}){e/=360,t/=100,r/=100;let s=0,l=0,u=0;if(!t)s=l=u=r;else{const d=r<.5?r*(1+t):r+t-r*t,h=2*r-d;s=Fd(h,d,e+1/3),l=Fd(h,d,e),u=Fd(h,d,e-1/3)}return{red:Math.round(s*255),green:Math.round(l*255),blue:Math.round(u*255),alpha:a}}function ou(e,t){return r=>r>0?t:e}const rt=(e,t,r)=>e+(t-e)*r,Vd=(e,t,r)=>{const a=e*e,s=r*(t*t-a)+a;return s<0?0:Math.sqrt(s)},jE=[vf,ji,Ca],DE=e=>jE.find(t=>t.test(e));function wy(e){const t=DE(e);if(!t)return!1;let r=t.parse(e);return t===Ca&&(r=PE(r)),r}const by=(e,t)=>{const r=wy(e),a=wy(t);if(!r||!a)return ou(e,t);const s={...r};return l=>(s.red=Vd(r.red,a.red,l),s.green=Vd(r.green,a.green,l),s.blue=Vd(r.blue,a.blue,l),s.alpha=rt(r.alpha,a.alpha,l),ji.transform(s))},xf=new Set(["none","hidden"]);function RE(e,t){return xf.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function NE(e,t){return r=>rt(e,t,r)}function vh(e){return typeof e=="number"?NE:typeof e=="string"?ph(e)?ou:gt.test(e)?by:ME:Array.isArray(e)?Px:typeof e=="object"?gt.test(e)?by:AE:ou}function Px(e,t){const r=[...e],a=r.length,s=e.map((l,u)=>vh(l)(l,t[u]));return l=>{for(let u=0;u<a;u++)r[u]=s[u](l);return r}}function AE(e,t){const r={...e,...t},a={};for(const s in r)e[s]!==void 0&&t[s]!==void 0&&(a[s]=vh(e[s])(e[s],t[s]));return s=>{for(const l in a)r[l]=a[l](s);return r}}function LE(e,t){const r=[],a={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const l=t.types[s],u=e.indexes[l][a[l]],d=e.values[u]??0;r[s]=d,a[l]++}return r}const ME=(e,t)=>{const r=Un.createTransformer(t),a=Ra(e),s=Ra(t);return a.indexes.var.length===s.indexes.var.length&&a.indexes.color.length===s.indexes.color.length&&a.indexes.number.length>=s.indexes.number.length?xf.has(e)&&!s.values.length||xf.has(t)&&!a.values.length?RE(e,t):ao(Px(LE(a,s),s.values),r):ou(e,t)};function jx(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?rt(e,t,r):vh(e)(e,t)}const OE=e=>{const t=({timestamp:r})=>e(r);return{start:(r=!0)=>Qe.update(t,r),stop:()=>ri(t),now:()=>Rt.isProcessing?Rt.timestamp:Ht.now()}},Dx=(e,t,r=10)=>{let a="";const s=Math.max(Math.round(t/r),2);for(let l=0;l<s;l++)a+=Math.round(e(l/(s-1))*1e4)/1e4+", ";return`linear(${a.substring(0,a.length-2)})`},lu=2e4;function xh(e){let t=0;const r=50;let a=e.next(t);for(;!a.done&&t<lu;)t+=r,a=e.next(t);return t>=lu?1/0:t}function IE(e,t=100,r){const a=r({...e,keyframes:[0,t]}),s=Math.min(xh(a),lu);return{type:"keyframes",ease:l=>a.next(s*l).value/t,duration:kn(s)}}const ut={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};function wf(e,t){return e*Math.sqrt(1-t*t)}const _E=12;function FE(e,t,r){let a=r;for(let s=1;s<_E;s++)a=a-e(a)/t(a);return a}const Bd=.001;function VE({duration:e=ut.duration,bounce:t=ut.bounce,velocity:r=ut.velocity,mass:a=ut.mass}){let s,l,u=1-t;u=tr(ut.minDamping,ut.maxDamping,u),e=tr(ut.minDuration,ut.maxDuration,kn(e)),u<1?(s=m=>{const g=m*u,v=g*e,x=g-r,b=wf(m,u),S=Math.exp(-v);return Bd-x/b*S},l=m=>{const v=m*u*e,x=v*r+r,b=Math.pow(u,2)*Math.pow(m,2)*e,S=Math.exp(-v),E=wf(Math.pow(m,2),u);return(-s(m)+Bd>0?-1:1)*((x-b)*S)/E}):(s=m=>{const g=Math.exp(-m*e),v=(m-r)*e+1;return-Bd+g*v},l=m=>{const g=Math.exp(-m*e),v=(r-m)*(e*e);return g*v});const d=5/e,h=FE(s,l,d);if(e=un(e),isNaN(h))return{stiffness:ut.stiffness,damping:ut.damping,duration:e};{const m=Math.pow(h,2)*a;return{stiffness:m,damping:u*2*Math.sqrt(a*m),duration:e}}}const BE=["duration","bounce"],zE=["stiffness","damping","mass"];function Sy(e,t){return t.some(r=>e[r]!==void 0)}function UE(e){let t={velocity:ut.velocity,stiffness:ut.stiffness,damping:ut.damping,mass:ut.mass,isResolvedFromDuration:!1,...e};if(!Sy(e,zE)&&Sy(e,BE))if(t.velocity=0,e.visualDuration){const r=e.visualDuration,a=2*Math.PI/(r*1.2),s=a*a,l=2*tr(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:ut.mass,stiffness:s,damping:l}}else{const r=VE({...e,velocity:0});t={...t,...r,mass:ut.mass},t.isResolvedFromDuration=!0}return t}function uu(e=ut.visualDuration,t=ut.bounce){const r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:a,restDelta:s}=r;const l=r.keyframes[0],u=r.keyframes[r.keyframes.length-1],d={done:!1,value:l},{stiffness:h,damping:m,mass:g,duration:v,velocity:x,isResolvedFromDuration:b}=UE({...r,velocity:-kn(r.velocity||0)}),S=x||0,E=m/(2*Math.sqrt(h*g)),C=u-l,D=kn(Math.sqrt(h/g)),_=Math.abs(C)<5;a||(a=_?ut.restSpeed.granular:ut.restSpeed.default),s||(s=_?ut.restDelta.granular:ut.restDelta.default);let I,F,U,J,W,T;if(E<1)U=wf(D,E),J=(S+E*D*C)/U,I=O=>{const q=Math.exp(-E*D*O);return u-q*(J*Math.sin(U*O)+C*Math.cos(U*O))},W=E*D*J+C*U,T=E*D*C-J*U,F=O=>Math.exp(-E*D*O)*(W*Math.sin(U*O)+T*Math.cos(U*O));else if(E===1){I=q=>u-Math.exp(-D*q)*(C+(S+D*C)*q);const O=S+D*C;F=q=>Math.exp(-D*q)*(D*O*q-S)}else{const O=D*Math.sqrt(E*E-1);I=ge=>{const ce=Math.exp(-E*D*ge),ie=Math.min(O*ge,300);return u-ce*((S+E*D*C)*Math.sinh(ie)+O*C*Math.cosh(ie))/O};const q=(S+E*D*C)/O,ae=E*D*q-C*O,ue=E*D*C-q*O;F=ge=>{const ce=Math.exp(-E*D*ge),ie=Math.min(O*ge,300);return ce*(ae*Math.sinh(ie)+ue*Math.cosh(ie))}}const M={calculatedDuration:b&&v||null,velocity:O=>un(F(O)),next:O=>{if(!b&&E<1){const ae=Math.exp(-E*D*O),ue=Math.sin(U*O),ge=Math.cos(U*O),ce=u-ae*(J*ue+C*ge),ie=un(ae*(W*ue+T*ge));return d.done=Math.abs(ie)<=a&&Math.abs(u-ce)<=s,d.value=d.done?u:ce,d}const q=I(O);if(b)d.done=O>=v;else{const ae=un(F(O));d.done=Math.abs(ae)<=a&&Math.abs(u-q)<=s}return d.value=d.done?u:q,d},toString:()=>{const O=Math.min(xh(M),lu),q=Dx(ae=>M.next(O*ae).value,O,30);return O+"ms "+q},toTransition:()=>{}};return M}uu.applyToOptions=e=>{const t=IE(e,100,uu);return e.ease=t.ease,e.duration=un(t.duration),e.type="keyframes",e};const $E=5;function Rx(e,t,r){const a=Math.max(t-$E,0);return sx(r-e(a),t-a)}function bf({keyframes:e,velocity:t=0,power:r=.8,timeConstant:a=325,bounceDamping:s=10,bounceStiffness:l=500,modifyTarget:u,min:d,max:h,restDelta:m=.5,restSpeed:g}){const v=e[0],x={done:!1,value:v},b=T=>d!==void 0&&T<d||h!==void 0&&T>h,S=T=>d===void 0?h:h===void 0||Math.abs(d-T)<Math.abs(h-T)?d:h;let E=r*t;const C=v+E,D=u===void 0?C:u(C);D!==C&&(E=D-v);const _=T=>-E*Math.exp(-T/a),I=T=>D+_(T),F=T=>{const M=_(T),O=I(T);x.done=Math.abs(M)<=m,x.value=x.done?D:O};let U,J;const W=T=>{b(x.value)&&(U=T,J=uu({keyframes:[x.value,S(x.value)],velocity:Rx(I,T,x.value),damping:s,stiffness:l,restDelta:m,restSpeed:g}))};return W(0),{calculatedDuration:null,next:T=>{let M=!1;return!J&&U===void 0&&(M=!0,F(T),W(T)),U!==void 0&&T>=U?J.next(T-U):(!M&&F(T),x)}}}function WE(e,t,r){const a=[],s=r||ni.mix||jx,l=e.length-1;for(let u=0;u<l;u++){let d=s(e[u],e[u+1]);if(t){const h=Array.isArray(t)?t[u]||Tn:t;d=ao(h,d)}a.push(d)}return a}function HE(e,t,{clamp:r=!0,ease:a,mixer:s}={}){const l=e.length;if(dh(l===t.length),l===1)return()=>t[0];if(l===2&&t[0]===t[1])return()=>t[1];const u=e[0]===e[1];e[0]>e[l-1]&&(e=[...e].reverse(),t=[...t].reverse());const d=WE(t,a,s),h=d.length,m=g=>{if(u&&g<e[0])return t[0];let v=0;if(h>1)for(;v<e.length-2&&!(g<e[v+1]);v++);const x=qs(e[v],e[v+1],g);return d[v](x)};return r?g=>m(tr(e[0],e[l-1],g)):m}function YE(e,t){const r=e[e.length-1];for(let a=1;a<=t;a++){const s=qs(0,t,a);e.push(rt(r,1,s))}}function GE(e){const t=[0];return YE(t,e.length-1),t}function qE(e,t){return e.map(r=>r*t)}function KE(e,t){return e.map(()=>t||px).splice(0,e.length-1)}function $s({duration:e=300,keyframes:t,times:r,ease:a="easeInOut"}){const s=rE(a)?a.map(gy):gy(a),l={done:!1,value:t[0]},u=qE(r&&r.length===t.length?r:GE(t),e),d=HE(u,t,{ease:Array.isArray(s)?s:KE(t,s)});return{calculatedDuration:e,next:h=>(l.value=d(h),l.done=h>=e,l)}}const QE=e=>e!==null;function Tu(e,{repeat:t,repeatType:r="loop"},a,s=1){const l=e.filter(QE),d=s<0||t&&r!=="loop"&&t%2===1?0:l.length-1;return!d||a===void 0?l[d]:a}const JE={decay:bf,inertia:bf,tween:$s,keyframes:$s,spring:uu};function Nx(e){typeof e.type=="string"&&(e.type=JE[e.type])}class wh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,r){return this.finished.then(t,r)}}const XE=e=>e/100;class cu extends wh{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var a,s;const{motionValue:r}=this.options;r&&r.updatedAt!==Ht.now()&&this.tick(Ht.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(a=this.options).onStop)==null||s.call(a))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Nx(t);const{type:r=$s,repeat:a=0,repeatDelay:s=0,repeatType:l,velocity:u=0}=t;let{keyframes:d}=t;const h=r||$s;h!==$s&&typeof d[0]!="number"&&(this.mixKeyframes=ao(XE,jx(d[0],d[1])),d=[0,100]);const m=h({...t,keyframes:d});l==="mirror"&&(this.mirroredGenerator=h({...t,keyframes:[...d].reverse(),velocity:-u})),m.calculatedDuration===null&&(m.calculatedDuration=xh(m));const{calculatedDuration:g}=m;this.calculatedDuration=g,this.resolvedDuration=g+s,this.totalDuration=this.resolvedDuration*(a+1)-s,this.generator=m}updateTime(t){const r=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(t,r=!1){const{generator:a,totalDuration:s,mixKeyframes:l,mirroredGenerator:u,resolvedDuration:d,calculatedDuration:h}=this;if(this.startTime===null)return a.next(0);const{delay:m=0,keyframes:g,repeat:v,repeatType:x,repeatDelay:b,type:S,onUpdate:E,finalKeyframe:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),r?this.currentTime=t:this.updateTime(t);const D=this.currentTime-m*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?D<0:D>s;this.currentTime=Math.max(D,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let I=this.currentTime,F=a;if(v){const T=Math.min(this.currentTime,s)/d;let M=Math.floor(T),O=T%1;!O&&T>=1&&(O=1),O===1&&M--,M=Math.min(M,v+1),!!(M%2)&&(x==="reverse"?(O=1-O,b&&(O-=b/d)):x==="mirror"&&(F=u)),I=tr(0,1,O)*d}let U;_?(this.delayState.value=g[0],U=this.delayState):U=F.next(I),l&&!_&&(U.value=l(U.value));let{done:J}=U;!_&&h!==null&&(J=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const W=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&J);return W&&S!==bf&&(U.value=Tu(g,this.options,C,this.speed)),E&&E(U.value),W&&this.finish(),U}then(t,r){return this.finished.then(t,r)}get duration(){return kn(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+kn(t)}get time(){return kn(this.currentTime)}set time(t){t=un(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const r=this.generator.next(t).value;return Rx(a=>this.generator.next(a).value,t,r)}get speed(){return this.playbackSpeed}set speed(t){const r=this.playbackSpeed!==t;r&&this.driver&&this.updateTime(Ht.now()),this.playbackSpeed=t,r&&this.driver&&(this.time=kn(this.currentTime))}play(){var s,l;if(this.isStopped)return;const{driver:t=OE,startTime:r}=this.options;this.driver||(this.driver=t(u=>this.tick(u))),(l=(s=this.options).onPlay)==null||l.call(s);const a=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=a):this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime||(this.startTime=r??a),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ht.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,r;this.notifyFinished(),this.teardown(),this.state="finished",(r=(t=this.options).onComplete)==null||r.call(t)}cancel(){var t,r;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(r=(t=this.options).onCancel)==null||r.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var r;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(r=this.driver)==null||r.stop(),t.observe(this)}}function ZE(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Di=e=>e*180/Math.PI,Sf=e=>{const t=Di(Math.atan2(e[1],e[0]));return Cf(t)},eT={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Sf,rotateZ:Sf,skewX:e=>Di(Math.atan(e[1])),skewY:e=>Di(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Cf=e=>(e=e%360,e<0&&(e+=360),e),Cy=Sf,ky=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Ey=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),tT={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ky,scaleY:Ey,scale:e=>(ky(e)+Ey(e))/2,rotateX:e=>Cf(Di(Math.atan2(e[6],e[5]))),rotateY:e=>Cf(Di(Math.atan2(-e[2],e[0]))),rotateZ:Cy,rotate:Cy,skewX:e=>Di(Math.atan(e[4])),skewY:e=>Di(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function kf(e){return e.includes("scale")?1:0}function Ef(e,t){if(!e||e==="none")return kf(t);const r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let a,s;if(r)a=tT,s=r;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);a=eT,s=d}if(!s)return kf(t);const l=a[t],u=s[1].split(",").map(rT);return typeof l=="function"?l(u):u[l]}const nT=(e,t)=>{const{transform:r="none"}=getComputedStyle(e);return Ef(r,t)};function rT(e){return parseFloat(e.trim())}const Ia=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],_a=new Set(Ia),Ty=e=>e===Oa||e===we,iT=new Set(["x","y","z"]),aT=Ia.filter(e=>!iT.has(e));function sT(e){const t=[];return aT.forEach(r=>{const a=e.getValue(r);a!==void 0&&(t.push([r,a.get()]),a.set(r.startsWith("scale")?1:0))}),t}const ei={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:a})=>{const s=e.max-e.min;return a==="border-box"?s:s-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:a})=>{const s=e.max-e.min;return a==="border-box"?s:s-parseFloat(t)-parseFloat(r)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Ef(t,"x"),y:(e,{transform:t})=>Ef(t,"y")};ei.translateX=ei.x;ei.translateY=ei.y;const Ai=new Set;let Tf=!1,Pf=!1,jf=!1;function Ax(){if(Pf){const e=Array.from(Ai).filter(a=>a.needsMeasurement),t=new Set(e.map(a=>a.element)),r=new Map;t.forEach(a=>{const s=sT(a);s.length&&(r.set(a,s),a.render())}),e.forEach(a=>a.measureInitialState()),t.forEach(a=>{a.render();const s=r.get(a);s&&s.forEach(([l,u])=>{var d;(d=a.getValue(l))==null||d.set(u)})}),e.forEach(a=>a.measureEndState()),e.forEach(a=>{a.suspendedScrollY!==void 0&&window.scrollTo(0,a.suspendedScrollY)})}Pf=!1,Tf=!1,Ai.forEach(e=>e.complete(jf)),Ai.clear()}function Lx(){Ai.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Pf=!0)})}function oT(){jf=!0,Lx(),Ax(),jf=!1}class bh{constructor(t,r,a,s,l,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=a,this.motionValue=s,this.element=l,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(Ai.add(this),Tf||(Tf=!0,Qe.read(Lx),Qe.resolveKeyframes(Ax))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:r,element:a,motionValue:s}=this;if(t[0]===null){const l=s==null?void 0:s.get(),u=t[t.length-1];if(l!==void 0)t[0]=l;else if(a&&r){const d=a.readValue(r,u);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=u),s&&l===void 0&&s.set(t[0])}ZE(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Ai.delete(this)}cancel(){this.state==="scheduled"&&(Ai.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const lT=e=>e.startsWith("--");function Mx(e,t,r){lT(t)?e.style.setProperty(t,r):e.style[t]=r}const uT={};function Ox(e,t){const r=ax(e);return()=>uT[t]??r()}const cT=Ox(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Ix=Ox(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Vs=([e,t,r,a])=>`cubic-bezier(${e}, ${t}, ${r}, ${a})`,Py={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vs([0,.65,.55,1]),circOut:Vs([.55,0,1,.45]),backIn:Vs([.31,.01,.66,-.59]),backOut:Vs([.33,1.53,.69,.99])};function _x(e,t){if(e)return typeof e=="function"?Ix()?Dx(e,t):"ease-out":gx(e)?Vs(e):Array.isArray(e)?e.map(r=>_x(r,t)||Py.easeOut):Py[e]}function dT(e,t,r,{delay:a=0,duration:s=300,repeat:l=0,repeatType:u="loop",ease:d="easeOut",times:h}={},m=void 0){const g={[t]:r};h&&(g.offset=h);const v=_x(d,s);Array.isArray(v)&&(g.easing=v);const x={delay:a,duration:s,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:l+1,direction:u==="reverse"?"alternate":"normal"};return m&&(x.pseudoElement=m),e.animate(g,x)}function Fx(e){return typeof e=="function"&&"applyToOptions"in e}function fT({type:e,...t}){return Fx(e)&&Ix()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Vx extends wh{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:r,name:a,keyframes:s,pseudoElement:l,allowFlatten:u=!1,finalKeyframe:d,onComplete:h}=t;this.isPseudoElement=!!l,this.allowFlatten=u,this.options=t,dh(typeof t.type!="string");const m=fT(t);this.animation=dT(r,a,s,m,l),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!l){const g=Tu(s,this.options,d,this.speed);this.updateMotionValue&&this.updateMotionValue(g),Mx(r,a,g),this.animation.cancel()}h==null||h(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,r;(r=(t=this.animation).finish)==null||r.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var r,a,s;const t=(r=this.options)==null?void 0:r.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(a=this.animation).commitStyles)==null||s.call(a))}get duration(){var r,a;const t=((a=(r=this.animation.effect)==null?void 0:r.getComputedTiming)==null?void 0:a.call(r).duration)||0;return kn(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+kn(t)}get time(){return kn(Number(this.animation.currentTime)||0)}set time(t){const r=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=un(t),r&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:r,rangeEnd:a,observe:s}){var l;return this.allowFlatten&&((l=this.animation.effect)==null||l.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&cT()?(this.animation.timeline=t,r&&(this.animation.rangeStart=r),a&&(this.animation.rangeEnd=a),Tn):s(this)}}const Bx={anticipate:fx,backInOut:dx,circInOut:mx};function hT(e){return e in Bx}function mT(e){typeof e.ease=="string"&&hT(e.ease)&&(e.ease=Bx[e.ease])}const zd=10;class pT extends Vx{constructor(t){mT(t),Nx(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:r,onUpdate:a,onComplete:s,element:l,...u}=this.options;if(!r)return;if(t!==void 0){r.set(t);return}const d=new cu({...u,autoplay:!1}),h=Math.max(zd,Ht.now()-this.startTime),m=tr(0,zd,h-zd),g=d.sample(h).value,{name:v}=this.options;l&&v&&Mx(l,v,g),r.setWithVelocity(d.sample(Math.max(0,h-m)).value,g,m),d.stop()}}const jy=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Un.test(e)||e==="0")&&!e.startsWith("url("));function gT(e){const t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function yT(e,t,r,a){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const l=e[e.length-1],u=jy(s,t),d=jy(l,t);return!u||!d?!1:gT(e)||(r==="spring"||Fx(r))&&a}function Df(e){e.duration=0,e.type="keyframes"}const zx=new Set(["opacity","clipPath","filter","transform"]),vT=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function xT(e){for(let t=0;t<e.length;
61t++)if(typeof e[t]=="string"&&vT.test(e[t]))return!0;return!1}const wT=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),bT=ax(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function ST(e){var v;const{motionValue:t,name:r,repeatDelay:a,repeatType:s,damping:l,type:u,keyframes:d}=e;if(!(((v=t==null?void 0:t.owner)==null?void 0:v.current)instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:g}=t.owner.getProps();return bT()&&r&&(zx.has(r)||wT.has(r)&&xT(d))&&(r!=="transform"||!g)&&!m&&!a&&s!=="mirror"&&l!==0&&u!=="inertia"}const CT=40;class kT extends wh{constructor({autoplay:t=!0,delay:r=0,type:a="keyframes",repeat:s=0,repeatDelay:l=0,repeatType:u="loop",keyframes:d,name:h,motionValue:m,element:g,...v}){var S;super(),this.stop=()=>{var E,C;this._animation&&(this._animation.stop(),(E=this.stopTimeline)==null||E.call(this)),(C=this.keyframeResolver)==null||C.cancel()},this.createdAt=Ht.now();const x={autoplay:t,delay:r,type:a,repeat:s,repeatDelay:l,repeatType:u,name:h,motionValue:m,element:g,...v},b=(g==null?void 0:g.KeyframeResolver)||bh;this.keyframeResolver=new b(d,(E,C,D)=>this.onKeyframesResolved(E,C,x,!D),h,m,g),(S=this.keyframeResolver)==null||S.scheduleResolve()}onKeyframesResolved(t,r,a,s){var D,_;this.keyframeResolver=void 0;const{name:l,type:u,velocity:d,delay:h,isHandoff:m,onUpdate:g}=a;this.resolvedAt=Ht.now();let v=!0;yT(t,l,u,d)||(v=!1,(ni.instantAnimations||!h)&&(g==null||g(Tu(t,a,r))),t[0]=t[t.length-1],Df(a),a.repeat=0);const b={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>CT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...a,keyframes:t},S=v&&!m&&ST(b),E=(_=(D=b.motionValue)==null?void 0:D.owner)==null?void 0:_.current;let C;if(S)try{C=new pT({...b,element:E})}catch{C=new cu(b)}else C=new cu(b);C.finished.then(()=>{this.notifyFinished()}).catch(Tn),this.pendingTimeline&&(this.stopTimeline=C.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=C}get finished(){return this._animation?this.animation.finished:this._finished}then(t,r){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),oT()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function Ux(e,t,r,a=0,s=1){const l=Array.from(e).sort((m,g)=>m.sortNodePosition(g)).indexOf(t),u=e.size,d=(u-1)*a;return typeof r=="function"?r(l,u):s===1?l*a:d-l*a}const ET=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function TT(e){const t=ET.exec(e);if(!t)return[,];const[,r,a,s]=t;return[`--${r??a}`,s]}function $x(e,t,r=1){const[a,s]=TT(e);if(!a)return;const l=window.getComputedStyle(t).getPropertyValue(a);if(l){const u=l.trim();return nx(u)?parseFloat(u):u}return ph(s)?$x(s,t,r+1):s}const PT={type:"spring",stiffness:500,damping:25,restSpeed:10},jT=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),DT={type:"keyframes",duration:.8},RT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},NT=(e,{keyframes:t})=>t.length>2?DT:_a.has(e)?e.startsWith("scale")?jT(t[1]):PT:RT;function Wx(e,t){if(e!=null&&e.inherit&&t){const{inherit:r,...a}=e;return{...t,...a}}return e}function Sh(e,t){const r=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return r!==e?Wx(r,e):r}const AT=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function LT(e){for(const t in e)if(!AT.has(t))return!0;return!1}const Ch=(e,t,r,a={},s,l)=>u=>{const d=Sh(a,e)||{},h=d.delay||a.delay||0;let{elapsed:m=0}=a;m=m-un(h);const g={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-m,onUpdate:x=>{t.set(x),d.onUpdate&&d.onUpdate(x)},onComplete:()=>{u(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:l?void 0:s};LT(d)||Object.assign(g,NT(e,g)),g.duration&&(g.duration=un(g.duration)),g.repeatDelay&&(g.repeatDelay=un(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let v=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Df(g),g.delay===0&&(v=!0)),(ni.instantAnimations||ni.skipAnimations||s!=null&&s.shouldSkipAnimations)&&(v=!0,Df(g),g.delay=0),g.allowFlatten=!d.type&&!d.ease,v&&!l&&t.get()!==void 0){const x=Tu(g.keyframes,d);if(x!==void 0){Qe.update(()=>{g.onUpdate(x),g.onComplete()});return}}return d.isSync?new cu(g):new kT(g)};function Dy(e){const t=[{},{}];
vendor: 94,323 bytes, line 61
61return e==null||e.values.forEach((r,a)=>{t[0][a]=r.get(),t[1][a]=r.getVelocity()}),t}function kh(e,t,r,a){if(typeof t=="function"){const[s,l]=Dy(a);t=t(r!==void 0?r:e.custom,s,l)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,l]=Dy(a);t=t(r!==void 0?r:e.custom,s,l)}return t}function Li(e,t,r){const a=e.getProps();return kh(a,t,r!==void 0?r:a.custom,e)}const Hx=new Set(["width","height","top","left","right","bottom",...Ia]),Ry=30,MT=e=>!isNaN(parseFloat(e));class OT{constructor(t,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=a=>{var l;const s=Ht.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&((l=this.events.change)==null||l.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=Ht.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=MT(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new fh);const a=this.events[t].add(r);return t==="change"?()=>{a(),Qe.read(()=>{this.events.change.getSize()||this.stop()})}:a}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,r,a){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-a}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Ht.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ry)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,Ry);return sx(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,r;(t=this.dependents)==null||t.clear(),(r=this.events.destroy)==null||r.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Na(e,t){return new OT(e,t)}const Rf=e=>Array.isArray(e);function IT(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Na(r))}function _T(e){return Rf(e)?e[e.length-1]||0:e}function FT(e,t){const r=Li(e,t);let{transitionEnd:a={},transition:s={},...l}=r||{};l={...l,...a};for(const u in l){const d=_T(l[u]);IT(e,u,d)}}const Nt=e=>!!(e&&e.getVelocity);function VT(e){return!!(Nt(e)&&e.add)}function Nf(e,t){const r=e.getValue("willChange");if(VT(r))return r.add(t);if(!r&&ni.WillChange){const a=new ni.WillChange("auto");e.addValue("willChange",a),a.add(t)}}function Eh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const BT="framerAppearId",Yx="data-"+Eh(BT);function Gx(e){return e.props[Yx]}function zT({protectedKeys:e,needsAnimating:t},r){const a=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,a}function qx(e,t,{delay:r=0,transitionOverride:a,type:s}={}){let{transition:l,transitionEnd:u,...d}=t;const h=e.getDefaultTransition();l=l?Wx(l,h):h;const m=l==null?void 0:l.reduceMotion;a&&(l=a);const g=[],v=s&&e.animationState&&e.animationState.getState()[s];for(const x in d){const b=e.getValue(x,e.latestValues[x]??null),S=d[x];if(S===void 0||v&&zT(v,x))continue;const E={delay:r,...Sh(l||{},x)},C=b.get();if(C!==void 0&&!b.isAnimating()&&!Array.isArray(S)&&S===C&&!E.velocity){Qe.update(()=>b.set(S));continue}let D=!1;if(window.MotionHandoffAnimation){const F=Gx(e);if(F){const U=window.MotionHandoffAnimation(F,x,Qe);U!==null&&(E.startTime=U,D=!0)}}Nf(e,x);const _=m??e.shouldReduceMotion;b.start(Ch(x,b,S,_&&Hx.has(x)?{type:!1}:E,e,D));const I=b.animation;I&&g.push(I)}if(u){const x=()=>Qe.update(()=>{u&&FT(e,u)});g.length?Promise.all(g).then(x):x()}return g}function Af(e,t,r={}){var h;const a=Li(e,t,r.type==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=a||{};r.transitionOverride&&(s=r.transitionOverride);const l=a?()=>Promise.all(qx(e,a,r)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(m=0)=>{const{delayChildren:g=0,staggerChildren:v,staggerDirection:x}=s;return UT(e,t,m,g,v,x,r)}:()=>Promise.resolve(),{when:d}=s;if(d){const[m,g]=d==="beforeChildren"?[l,u]:[u,l];return m().then(()=>g())}else return Promise.all([l(),u(r.delay)])}function UT(e,t,r=0,a=0,s=0,l=1,u){const d=[];for(const h of e.variantChildren)h.notify("AnimationStart",t),d.push(Af(h,t,{...u,delay:r+(typeof a=="function"?0:a)+Ux(e.variantChildren,h,a,s,l)}).then(()=>h.notify("AnimationComplete",t)));return Promise.all(d)}function $T(e,t,r={}){e.notify("AnimationStart",t);let a;if(Array.isArray(t)){const s=t.map(l=>Af(e,l,r));a=Promise.all(s)}else if(typeof t=="string")a=Af(e,t,r);else{const s=typeof t=="function"?Li(e,t,r.custom):t;a=Promise.all(qx(e,s,r))}return a.then(()=>{e.notify("AnimationComplete",t)})}const WT={test:e=>e==="auto",parse:e=>e},Kx=e=>t=>t.test(e),Qx=[Oa,we,Zn,Kr,gE,pE,WT],Ny=e=>Qx.find(Kx(e));function HT(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ix(e):!0}const YT=new Set(["brightness","contrast","saturate","opacity"]);function GT(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[a]=r.match(gh)||[];if(!a)return e;const s=r.replace(a,"");let l=YT.has(t)?1:0;return a!==r&&(l*=100),t+"("+l+s+")"}const qT=/\b([a-z-]*)\(.*?\)/gu,Lf={...Un,getAnimatableNone:e=>{const t=e.match(qT);return t?t.map(GT).join(" "):e}},Mf={...Un,getAnimatableNone:e=>{const t=Un.parse(e);return Un.createTransformer(e)(t.map(a=>typeof a=="number"?0:typeof a=="object"?{...a,alpha:1}:a))}},Ay={...Oa,transform:Math.round},KT={rotate:Kr,rotateX:Kr,rotateY:Kr,rotateZ:Kr,scale:jl,scaleX:jl,scaleY:jl,scaleZ:jl,skew:Kr,skewX:Kr,skewY:Kr,distance:we,translateX:we,translateY:we,translateZ:we,x:we,y:we,z:we,perspective:we,transformPerspective:we,opacity:Ks,originX:vy,originY:vy,originZ:we},Th={borderWidth:we,borderTopWidth:we,borderRightWidth:we,borderBottomWidth:we,borderLeftWidth:we,borderRadius:we,borderTopLeftRadius:we,borderTopRightRadius:we,borderBottomRightRadius:we,borderBottomLeftRadius:we,width:we,maxWidth:we,height:we,maxHeight:we,top:we,right:we,bottom:we,left:we,inset:we,insetBlock:we,insetBlockStart:we,insetBlockEnd:we,insetInline:we,insetInlineStart:we,insetInlineEnd:we,padding:we,paddingTop:we,paddingRight:we,paddingBottom:we,paddingLeft:we,paddingBlock:we,paddingBlockStart:we,paddingBlockEnd:we,paddingInline:we,paddingInlineStart:we,paddingInlineEnd:we,margin:we,marginTop:we,marginRight:we,marginBottom:we,marginLeft:we,marginBlock:we,marginBlockStart:we,marginBlockEnd:we,marginInline:we,marginInlineStart:we,marginInlineEnd:we,fontSize:we,backgroundPositionX:we,backgroundPositionY:we,...KT,zIndex:Ay,fillOpacity:Ks,strokeOpacity:Ks,numOctaves:Ay},QT={...Th,color:gt,backgroundColor:gt,outlineColor:gt,fill:gt,stroke:gt,borderColor:gt,borderTopColor:gt,borderRightColor:gt,borderBottomColor:gt,borderLeftColor:gt,filter:Lf,WebkitFilter:Lf,mask:Mf,WebkitMask:Mf},Jx=e=>QT[e],JT=new Set([Lf,Mf]);function Xx(e,t){let r=Jx(e);return JT.has(r)||(r=Un),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const XT=new Set(["auto","none","0"]);function ZT(e,t,r){let a=0,s;for(;a<e.length&&!s;){const l=e[a];typeof l=="string"&&!XT.has(l)&&Ra(l).values.length&&(s=e[a]),a++}if(s&&r)for(const l of t)e[l]=Xx(r,s)}class eP extends bh{constructor(t,r,a,s,l){super(t,r,a,s,l,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:r,name:a}=this;if(!r||!r.current)return;super.readKeyframes();for(let g=0;g<t.length;g++){let v=t[g];if(typeof v=="string"&&(v=v.trim(),ph(v))){const x=$x(v,r.current);x!==void 0&&(t[g]=x),g===t.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!Hx.has(a)||t.length!==2)return;const[s,l]=t,u=Ny(s),d=Ny(l),h=yy(s),m=yy(l);if(h!==m&&ei[a]){this.needsMeasurement=!0;return}if(u!==d)if(Ty(u)&&Ty(d))for(let g=0;g<t.length;g++){const v=t[g];typeof v=="string"&&(t[g]=parseFloat(v))}else ei[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:r}=this,a=[];for(let s=0;s<t.length;s++)(t[s]===null||HT(t[s]))&&a.push(s);a.length&&ZT(t,a,r)}measureInitialState(){const{element:t,unresolvedKeyframes:r,name:a}=this;if(!t||!t.current)return;a==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ei[a](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;const s=r[r.length-1];s!==void 0&&t.getValue(a,s).jump(s,!1)}measureEndState(){var d;const{element:t,name:r,unresolvedKeyframes:a}=this;if(!t||!t.current)return;const s=t.getValue(r);s&&s.jump(this.measuredOrigin,!1);const l=a.length-1,u=a[l];a[l]=ei[r](t.measureViewportBox(),window.getComputedStyle(t.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),(d=this.removedTransforms)!=null&&d.length&&this.removedTransforms.forEach(([h,m])=>{t.getValue(h).set(m)}),this.resolveNoneKeyframes()}}function Zx(e,t,r){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let a=document;const s=(r==null?void 0:r[e])??a.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(a=>a!=null)}const ew=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function tP(e){return rx(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Ph}=wx(queueMicrotask,!1),Bn={x:!1,y:!1};function tw(){return Bn.x||Bn.y}function nP(e){return e==="x"||e==="y"?Bn[e]?null:(Bn[e]=!0,()=>{Bn[e]=!1}):Bn.x||Bn.y?null:(Bn.x=Bn.y=!0,()=>{Bn.x=Bn.y=!1})}function nw(e,t){const r=Zx(e),a=new AbortController,s={passive:!0,...t,signal:a.signal};return[r,s,()=>a.abort()]}function rP(e){return!(e.pointerType==="touch"||tw())}function iP(e,t,r={}){const[a,s,l]=nw(e,r);return a.forEach(u=>{let d=!1,h=!1,m;const g=()=>{u.removeEventListener("pointerleave",S)},v=C=>{m&&(m(C),m=void 0),g()},x=C=>{d=!1,window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",x),h&&(h=!1,v(C))},b=()=>{d=!0,window.addEventListener("pointerup",x,s),window.addEventListener("pointercancel",x,s)},S=C=>{if(C.pointerType!=="touch"){if(d){h=!0;return}v(C)}},E=C=>{if(!rP(C))return;h=!1;const D=t(u,C);typeof D=="function"&&(m=D,u.addEventListener("pointerleave",S,s))};u.addEventListener("pointerenter",E,s),u.addEventListener("pointerdown",b,s)}),l}const rw=(e,t)=>t?e===t?!0:rw(e,t.parentElement):!1,jh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,aP=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function sP(e){return aP.has(e.tagName)||e.isContentEditable===!0}const oP=new Set(["INPUT","SELECT","TEXTAREA"]);function lP(e){return oP.has(e.tagName)||e.isContentEditable===!0}const Yl=new WeakSet;function Ly(e){return t=>{t.key==="Enter"&&e(t)}}function Ud(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const uP=(e,t)=>{const r=e.currentTarget;if(!r)return;const a=Ly(()=>{if(Yl.has(r))return;Ud(r,"down");const s=Ly(()=>{Ud(r,"up")}),l=()=>Ud(r,"cancel");r.addEventListener("keyup",s,t),r.addEventListener("blur",l,t)});r.addEventListener("keydown",a,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",a),t)};function My(e){return jh(e)&&!tw()}const Oy=new WeakSet;function cP(e,t,r={}){const[a,s,l]=nw(e,r),u=d=>{const h=d.currentTarget;if(!My(d)||Oy.has(d))return;Yl.add(h),r.stopPropagation&&Oy.add(d);const m=t(h,d),g=(b,S)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",x),Yl.has(h)&&Yl.delete(h),My(b)&&typeof m=="function"&&m(b,{success:S})},v=b=>{g(b,h===window||h===document||r.useGlobalTarget||rw(h,b.target))},x=b=>{g(b,!1)};window.addEventListener("pointerup",v,s),window.addEventListener("pointercancel",x,s)};return a.forEach(d=>{(r.useGlobalTarget?window:d).addEventListener("pointerdown",u,s),tP(d)&&(d.addEventListener("focus",m=>uP(m,s)),!sP(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),l}function Dh(e){return rx(e)&&"ownerSVGElement"in e}const Gl=new WeakMap;let Qr;const iw=(e,t,r)=>(a,s)=>s&&s[0]?s[0][e+"Size"]:Dh(a)&&"getBBox"in a?a.getBBox()[t]:a[r],dP=iw("inline","width","offsetWidth"),fP=iw("block","height","offsetHeight");function hP({target:e,borderBoxSize:t}){var r;(r=Gl.get(e))==null||r.forEach(a=>{a(e,{get width(){return dP(e,t)},get height(){return fP(e,t)}})})}function mP(e){e.forEach(hP)}function pP(){typeof ResizeObserver>"u"||(Qr=new ResizeObserver(mP))}function gP(e,t){Qr||pP();const r=Zx(e);return r.forEach(a=>{let s=Gl.get(a);s||(s=new Set,Gl.set(a,s)),s.add(t),Qr==null||Qr.observe(a)}),()=>{r.forEach(a=>{const s=Gl.get(a);s==null||s.delete(t),s!=null&&s.size||Qr==null||Qr.unobserve(a)})}}const ql=new Set;let ka;function yP(){ka=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};ql.forEach(t=>t(e))},window.addEventListener("resize",ka)}function vP(e){return ql.add(e),ka||yP(),()=>{ql.delete(e),!ql.size&&typeof ka=="function"&&(window.removeEventListener("resize",ka),ka=void 0)}}function Iy(e,t){return typeof e=="function"?vP(e):gP(e,t)}function xP(e){return Dh(e)&&e.tagName==="svg"}const wP=[...Qx,gt,Un],bP=e=>wP.find(Kx(e)),_y=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ea=()=>({x:_y(),y:_y()}),Fy=()=>({min:0,max:0}),xt=()=>({x:Fy(),y:Fy()}),SP=new WeakMap;function Pu(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Qs(e){return typeof e=="string"||Array.isArray(e)}const Rh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Nh=["initial",...Rh];function ju(e){return Pu(e.animate)||Nh.some(t=>Qs(e[t]))}function aw(e){return!!(ju(e)||e.variants)}function CP(e,t,r){for(const a in t){const s=t[a],l=r[a];if(Nt(s))e.addValue(a,s);else if(Nt(l))e.addValue(a,Na(s,{owner:e}));else if(l!==s)if(e.hasValue(a)){const u=e.getValue(a);u.liveStyle===!0?u.jump(s):u.hasAnimated||u.set(s)}else{const u=e.getStaticValue(a);e.addValue(a,Na(u!==void 0?u:s,{owner:e}))}}for(const a in r)t[a]===void 0&&e.removeValue(a);return t}const Of={current:null},sw={current:!1},kP=typeof window<"u";function EP(){if(sw.current=!0,!!kP)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Of.current=e.matches;e.addEventListener("change",t),t()}else Of.current=!1}const Vy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let du={};function ow(e){du=e}function TP(){return du}class PP{scrapeMotionValuesFromProps(t,r,a){return{}}constructor({parent:t,props:r,presenceContext:a,reducedMotionConfig:s,skipAnimations:l,blockInitialAnimation:u,visualState:d},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=bh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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 b=Ht.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,Qe.render(this.render,!1,!0))};const{latestValues:m,renderState:g}=d;this.latestValues=m,this.baseTarget={...m},this.initialValues=r.initial?{...m}:{},this.renderState=g,this.parent=t,this.props=r,this.presenceContext=a,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=l,this.options=h,this.blockInitialAnimation=!!u,this.isControllingVariants=ju(r),this.isVariantNode=aw(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:v,...x}=this.scrapeMotionValuesFromProps(r,{},this);for(const b in x){const S=x[b];m[b]!==void 0&&Nt(S)&&S.set(m[b])}}mount(t){var r,a;if(this.hasBeenMounted)for(const s in this.initialValues)(r=this.values.get(s))==null||r.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,SP.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,l)=>this.bindToMotionValue(l,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(sw.current||EP(),this.shouldReduceMotion=Of.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(a=this.parent)==null||a.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),ri(this.notifyUpdate),ri(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const a=this.features[r];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,r){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),r.accelerate&&zx.has(t)&&this.current instanceof HTMLElement){const{factory:u,keyframes:d,times:h,ease:m,duration:g}=r.accelerate,v=new Vx({element:this.current,name:t,keyframes:d,times:h,ease:m,duration:un(g)}),x=u(v);this.valueSubscriptions.set(t,()=>{x(),v.cancel()});return}const a=_a.has(t);a&&this.onBindTransform&&this.onBindTransform();const s=r.on("change",u=>{this.latestValues[t]=u,this.props.onUpdate&&Qe.preRender(this.notifyUpdate),a&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let l;typeof window<"u"&&window.MotionCheckAppearSync&&(l=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{s(),l&&l(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in du){const r=du[t];if(!r)continue;const{isEnabled:a,Feature:s}=r;if(!this.features[t]&&s&&a(this.props)&&(this.features[t]=new s(this)),this.features[t]){const l=this.features[t];l.isMounted?l.update():(l.mount(),l.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):xt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let a=0;a<Vy.length;a++){const s=Vy[a];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const l="on"+s,u=t[l];u&&(this.propEventSubscriptions[s]=this.on(s,u))}this.prevMotionValues=CP(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){const a=this.values.get(t);r!==a&&(a&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let a=this.values.get(t);return a===void 0&&r!==void 0&&(a=Na(r===null?void 0:r,{owner:this}),this.addValue(t,a)),a}readValue(t,r){let a=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return a!=null&&(typeof a=="string"&&(nx(a)||ix(a))?a=parseFloat(a):!bP(a)&&Un.test(r)&&(a=Xx(t,r)),this.setBaseTarget(t,Nt(a)?a.get():a)),Nt(a)?a.get():a}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var l;const{initial:r}=this.props;let a;if(typeof r=="string"||typeof r=="object"){const u=kh(this.props,r,(l=this.presenceContext)==null?void 0:l.custom);u&&(a=u[t])}if(r&&a!==void 0)return a;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Nt(s)?s:this.initialValues[t]!==void 0&&a===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new fh),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}scheduleRenderMicrotask(){Ph.render(this.render)}}class lw extends PP{constructor(){super(...arguments),this.KeyframeResolver=eP}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){const a=t.style;return a?a[r]:void 0}removeValueFromRenderState(t,{vars:r,style:a}){delete r[t],delete a[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Nt(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}}class si{constructor(t){this.isMounted=!1,this.node=t}update(){}}function uw({top:e,left:t,right:r,bottom:a}){return{x:{min:t,max:r},y:{min:e,max:a}}}function jP({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function DP(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),a=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:a.y,right:a.x}}function $d(e){return e===void 0||e===1}function If({scale:e,scaleX:t,scaleY:r}){return!$d(e)||!$d(t)||!$d(r)}function Ei(e){return If(e)||cw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function cw(e){return By(e.x)||By(e.y)}function By(e){return e&&e!=="0%"}function fu(e,t,r){const a=e-r,s=t*a;return r+s}function zy(e,t,r,a,s){return s!==void 0&&(e=fu(e,s,a)),fu(e,r,a)+t}function _f(e,t=0,r=1,a,s){e.min=zy(e.min,t,r,a,s),e.max=zy(e.max,t,r,a,s)}function dw(e,{x:t,y:r}){_f(e.x,t.translate,t.scale,t.originPoint),_f(e.y,r.translate,r.scale,r.originPoint)}const Uy=.999999999999,$y=1.0000000000001;function RP(e,t,r,a=!1){var d;const s=r.length;if(!s)return;t.x=t.y=1;let l,u;for(let h=0;h<s;h++){l=r[h],u=l.projectionDelta;const{visualElement:m}=l.options;m&&m.props.style&&m.props.style.display==="contents"||(a&&l.options.layoutScroll&&l.scroll&&l!==l.root&&(Xn(e.x,-l.scroll.offset.x),Xn(e.y,-l.scroll.offset.y)),u&&(t.x*=u.x.scale,t.y*=u.y.scale,dw(e,u)),a&&Ei(l.latestValues)&&Kl(e,l.latestValues,(d=l.layout)==null?void 0:d.layoutBox))}t.x<$y&&t.x>Uy&&(t.x=1),t.y<$y&&t.y>Uy&&(t.y=1)}function Xn(e,t){e.min+=t,e.max+=t}function Wy(e,t,r,a,s=.5){const l=rt(e.min,e.max,s);_f(e,t,r,l,a)}function Hy(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Kl(e,t,r){const a=r??e;Wy(e.x,Hy(t.x,a.x),t.scaleX,t.scale,t.originX),Wy(e.y,Hy(t.y,a.y),t.scaleY,t.scale,t.originY)}function fw(e,t){return uw(DP(e.getBoundingClientRect(),t))}function NP(e,t,r){const a=fw(e,r),{scroll:s}=t;return s&&(Xn(a.x,s.offset.x),Xn(a.y,s.offset.y)),a}const AP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},LP=Ia.length;function MP(e,t,r){let a="",s=!0;for(let l=0;l<LP;l++){const u=Ia[l],d=e[u];if(d===void 0)continue;let h=!0;if(typeof d=="number")h=d===(u.startsWith("scale")?1:0);else{const m=parseFloat(d);h=u.startsWith("scale")?m===1:m===0}if(!h||r){const m=ew(d,Th[u]);if(!h){s=!1;const g=AP[u]||u;a+=`${g}(${m}) `}r&&(t[u]=m)}}return a=a.trim(),r?a=r(t,s?"":a):s&&(a="none"),a}function Ah(e,t,r){const{style:a,vars:s,transformOrigin:l}=e;let u=!1,d=!1;for(const h in t){const m=t[h];if(_a.has(h)){u=!0;continue}else if(Sx(h)){s[h]=m;continue}else{const g=ew(m,Th[h]);h.startsWith("origin")?(d=!0,l[h]=g):a[h]=g}}if(t.transform||(u||r?a.transform=MP(t,e.transform,r):a.transform&&(a.transform="none")),d){const{originX:h="50%",originY:m="50%",originZ:g=0}=l;a.transformOrigin=`${h} ${m} ${g}`}}function hw(e,{style:t,vars:r},a,s){const l=e.style;let u;for(u in t)l[u]=t[u];s==null||s.applyProjectionStyles(l,a);for(u in r)l.setProperty(u,r[u])}function Yy(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ns={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(we.test(e))e=parseFloat(e);else return e;const r=Yy(e,t.target.x),a=Yy(e,t.target.y);return`${r}% ${a}%`}},OP={correct:(e,{treeScale:t,projectionDelta:r})=>{const a=e,s=Un.parse(e);if(s.length>5)return a;const l=Un.createTransformer(e),u=typeof s[0]!="number"?1:0,d=r.x.scale*t.x,h=r.y.scale*t.y;s[0+u]/=d,s[1+u]/=h;const m=rt(d,h,.5);return typeof s[2+u]=="number"&&(s[2+u]/=m),typeof s[3+u]=="number"&&(s[3+u]/=m),l(s)}},Ff={borderRadius:{...Ns,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ns,borderTopRightRadius:Ns,borderBottomLeftRadius:Ns,borderBottomRightRadius:Ns,boxShadow:OP};function mw(e,{layout:t,layoutId:r}){return _a.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Ff[e]||e==="opacity")}function Lh(e,t,r){var u;const a=e.style,s=t==null?void 0:t.style,l={};if(!a)return l;for(const d in a)(Nt(a[d])||s&&Nt(s[d])||mw(d,e)||((u=r==null?void 0:r.getValue(d))==null?void 0:u.liveStyle)!==void 0)&&(l[d]=a[d]);return l}function IP(e){return window.getComputedStyle(e)}class _P extends lw{constructor(){super(...arguments),this.type="html",this.renderInstance=hw}readValueFromInstance(t,r){var a;if(_a.has(r))return(a=this.projection)!=null&&a.isProjecting?kf(r):nT(t,r);{const s=IP(t),l=(Sx(r)?s.getPropertyValue(r):s[r])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(t,{transformPagePoint:r}){return fw(t,r)}build(t,r,a){Ah(t,r,a.transformTemplate)}scrapeMotionValuesFromProps(t,r,a){return Lh(t,r,a)}}const FP={offset:"stroke-dashoffset",array:"stroke-dasharray"},VP={offset:"strokeDashoffset",array:"strokeDasharray"};function BP(e,t,r=1,a=0,s=!0){e.pathLength=1;const l=s?FP:VP;e[l.offset]=`${-a}`,e[l.array]=`${t} ${r}`}const zP=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function pw(e,{attrX:t,attrY:r,attrScale:a,pathLength:s,pathSpacing:l=1,pathOffset:u=0,...d},h,m,g){if(Ah(e,d,m),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:x}=e;v.transform&&(x.transform=v.transform,delete v.transform),(x.transform||v.transformOrigin)&&(x.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),x.transform&&(x.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete v.transformBox);for(const b of zP)v[b]!==void 0&&(x[b]=v[b],delete v[b]);t!==void 0&&(v.x=t),r!==void 0&&(v.y=r),a!==void 0&&(v.scale=a),s!==void 0&&BP(v,s,l,u,!1)}const gw=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"]),yw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function UP(e,t,r,a){hw(e,t,void 0,a);for(const s in t.attrs)e.setAttribute(gw.has(s)?s:Eh(s),t.attrs[s])}function vw(e,t,r){const a=Lh(e,t,r);for(const s in e)if(Nt(e[s])||Nt(t[s])){const l=Ia.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;a[l]=e[s]}return a}class $P extends lw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=xt}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(_a.has(r)){const a=Jx(r);return a&&a.default||0}return r=gw.has(r)?r:Eh(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,a){return vw(t,r,a)}build(t,r,a){pw(t,r,this.isSVGTag,a.transformTemplate,a.style)}renderInstance(t,r,a,s){UP(t,r,a,s)}mount(t){this.isSVGTag=yw(t.tagName),super.mount(t)}}const WP=Nh.length;function xw(e){if(!e)return;if(!e.isControllingVariants){const r=e.parent?xw(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}const t={};for(let r=0;r<WP;r++){const a=Nh[r],s=e.props[a];(Qs(s)||s===!1)&&(t[a]=s)}return t}function ww(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let a=0;a<r;a++)if(t[a]!==e[a])return!1;return!0}const HP=[...Rh].reverse(),YP=Rh.length;function GP(e){return t=>Promise.all(t.map(({animation:r,options:a})=>$T(e,r,a)))}function qP(e){let t=GP(e),r=Gy(),a=!0,s=!1;const l=m=>(g,v)=>{var b;const x=Li(e,v,m==="exit"?(b=e.presenceContext)==null?void 0:b.custom:void 0);if(x){const{transition:S,transitionEnd:E,...C}=x;g={...g,...C,...E}}return g};function u(m){t=m(e)}function d(m){const{props:g}=e,v=xw(e.parent)||{},x=[],b=new Set;let S={},E=1/0;for(let D=0;D<YP;D++){const _=HP[D],I=r[_],F=g[_]!==void 0?g[_]:v[_],U=Qs(F),J=_===m?I.isActive:null;J===!1&&(E=D);let W=F===v[_]&&F!==g[_]&&U;if(W&&(a||s)&&e.manuallyAnimateOnMount&&(W=!1),I.protectedKeys={...S},!I.isActive&&J===null||!F&&!I.prevProp||Pu(F)||typeof F=="boolean")continue;if(_==="exit"&&I.isActive&&J!==!0){I.prevResolvedValues&&(S={...S,...I.prevResolvedValues});continue}const T=KP(I.prevProp,F);let M=T||_===m&&I.isActive&&!W&&U||D>E&&U,O=!1;const q=Array.isArray(F)?F:[F];let ae=q.reduce(l(_),{});J===!1&&(ae={});const{prevResolvedValues:ue={}}=I,ge={...ue,...ae},ce=Y=>{M=!0,b.has(Y)&&(O=!0,b.delete(Y)),I.needsAnimating[Y]=!0;const Q=e.getValue(Y);Q&&(Q.liveStyle=!1)};for(const Y in ge){const Q=ae[Y],X=ue[Y];if(S.hasOwnProperty(Y))continue;let R=!1;Rf(Q)&&Rf(X)?R=!ww(Q,X):R=Q!==X,R?Q!=null?ce(Y):b.add(Y):Q!==void 0&&b.has(Y)?ce(Y):I.protectedKeys[Y]=!0}I.prevProp=F,I.prevResolvedValues=ae,I.isActive&&(S={...S,...ae}),(a||s)&&e.blockInitialAnimation&&(M=!1);const ie=W&&T;M&&(!ie||O)&&x.push(...q.map(Y=>{const Q={type:_};if(typeof Y=="string"&&(a||s)&&!ie&&e.manuallyAnimateOnMount&&e.parent){const{parent:X}=e,R=Li(X,Y);if(X.enteringChildren&&R){const{delayChildren:G}=R.transition||{};Q.delay=Ux(X.enteringChildren,e,G)}}return{animation:Y,options:Q}}))}if(b.size){const D={};if(typeof g.initial!="boolean"){const _=Li(e,Array.isArray(g.initial)?g.initial[0]:g.initial);_&&_.transition&&(D.transition=_.transition)}b.forEach(_=>{const I=e.getBaseTarget(_),F=e.getValue(_);F&&(F.liveStyle=!0),D[_]=I??null}),x.push({animation:D})}let C=!!x.length;return a&&(g.initial===!1||g.initial===g.animate)&&!e.manuallyAnimateOnMount&&(C=!1),a=!1,s=!1,C?t(x):Promise.resolve()}function h(m,g){var x;if(r[m].isActive===g)return Promise.resolve();(x=e.variantChildren)==null||x.forEach(b=>{var S;return(S=b.animationState)==null?void 0:S.setActive(m,g)}),r[m].isActive=g;const v=d(m);for(const b in r)r[b].protectedKeys={};return v}return{animateChanges:d,setActive:h,setAnimateFunction:u,getState:()=>r,reset:()=>{r=Gy(),s=!0}}}function KP(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ww(t,e):!1}function Si(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Gy(){return{animate:Si(!0),whileInView:Si(),whileHover:Si(),whileTap:Si(),whileDrag:Si(),whileFocus:Si(),exit:Si()}}function Vf(e,t){e.min=t.min,e.max=t.max}function Vn(e,t){Vf(e.x,t.x),Vf(e.y,t.y)}function qy(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const bw=1e-4,QP=1-bw,JP=1+bw,Sw=.01,XP=0-Sw,ZP=0+Sw;function Yt(e){return e.max-e.min}function ej(e,t,r){return Math.abs(e-t)<=r}function Ky(e,t,r,a=.5){e.origin=a,e.originPoint=rt(t.min,t.max,e.origin),e.scale=Yt(r)/Yt(t),e.translate=rt(r.min,r.max,e.origin)-e.originPoint,(e.scale>=QP&&e.scale<=JP||isNaN(e.scale))&&(e.scale=1),(e.translate>=XP&&e.translate<=ZP||isNaN(e.translate))&&(e.translate=0)}function Ws(e,t,r,a){Ky(e.x,t.x,r.x,a?a.originX:void 0),Ky(e.y,t.y,r.y,a?a.originY:void 0)}function Qy(e,t,r,a=0){const s=a?rt(r.min,r.max,a):r.min;e.min=s+t.min,e.max=e.min+Yt(t)}function tj(e,t,r,a){Qy(e.x,t.x,r.x,a==null?void 0:a.x),Qy(e.y,t.y,r.y,a==null?void 0:a.y)}function Jy(e,t,r,a=0){const s=a?rt(r.min,r.max,a):r.min;e.min=t.min-s,e.max=e.min+Yt(t)}function hu(e,t,r,a){Jy(e.x,t.x,r.x,a==null?void 0:a.x),Jy(e.y,t.y,r.y,a==null?void 0:a.y)}function Xy(e,t,r,a,s){return e-=t,e=fu(e,1/r,a),s!==void 0&&(e=fu(e,1/s,a)),e}function nj(e,t=0,r=1,a=.5,s,l=e,u=e){if(Zn.test(t)&&(t=parseFloat(t),t=rt(u.min,u.max,t/100)-u.min),typeof t!="number")return;let d=rt(l.min,l.max,a);e===l&&(d-=t),e.min=Xy(e.min,t,r,d,s),e.max=Xy(e.max,t,r,d,s)}function Zy(e,t,[r,a,s],l,u){nj(e,t[r],t[a],t[s],t.scale,l,u)}const rj=["x","scaleX","originX"],ij=["y","scaleY","originY"];function ev(e,t,r,a){Zy(e.x,t,rj,r?r.x:void 0,a?a.x:void 0),Zy(e.y,t,ij,r?r.y:void 0,a?a.y:void 0)}function tv(e){return e.translate===0&&e.scale===1}function Cw(e){return tv(e.x)&&tv(e.y)}function nv(e,t){return e.min===t.min&&e.max===t.max}function aj(e,t){return nv(e.x,t.x)&&nv(e.y,t.y)}function rv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function kw(e,t){return rv(e.x,t.x)&&rv(e.y,t.y)}function iv(e){return Yt(e.x)/Yt(e.y)}function av(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Jn(e){return[e("x"),e("y")]}function sj(e,t,r){let a="";const s=e.x.translate/t.x,l=e.y.translate/t.y,u=(r==null?void 0:r.z)||0;if((s||l||u)&&(a=`translate3d(${s}px, ${l}px, ${u}px) `),(t.x!==1||t.y!==1)&&(a+=`scale(${1/t.x}, ${1/t.y}) `),r){const{transformPerspective:m,rotate:g,rotateX:v,rotateY:x,skewX:b,skewY:S}=r;m&&(a=`perspective(${m}px) ${a}`),g&&(a+=`rotate(${g}deg) `),v&&(a+=`rotateX(${v}deg) `),x&&(a+=`rotateY(${x}deg) `),b&&(a+=`skewX(${b}deg) `),S&&(a+=`skewY(${S}deg) `)}const d=e.x.scale*t.x,h=e.y.scale*t.y;return(d!==1||h!==1)&&(a+=`scale(${d}, ${h})`),a||"none"}const Ew=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],oj=Ew.length,sv=e=>typeof e=="string"?parseFloat(e):e,ov=e=>typeof e=="number"||we.test(e);function lj(e,t,r,a,s,l){s?(e.opacity=rt(0,r.opacity??1,uj(a)),e.opacityExit=rt(t.opacity??1,0,cj(a))):l&&(e.opacity=rt(t.opacity??1,r.opacity??1,a));for(let u=0;u<oj;u++){const d=Ew[u];let h=lv(t,d),m=lv(r,d);if(h===void 0&&m===void 0)continue;h||(h=0),m||(m=0),h===0||m===0||ov(h)===ov(m)?(e[d]=Math.max(rt(sv(h),sv(m),a),0),(Zn.test(m)||Zn.test(h))&&(e[d]+="%")):e[d]=m}(t.rotate||r.rotate)&&(e.rotate=rt(t.rotate||0,r.rotate||0,a))}function lv(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const uj=Tw(0,.5,hx),cj=Tw(.5,.95,Tn);function Tw(e,t,r){return a=>a<e?0:a>t?1:r(qs(e,t,a))}function dj(e,t,r){const a=Nt(e)?e:Na(e);return a.start(Ch("",a,t,r)),a.animation}function Js(e,t,r,a={passive:!0}){return e.addEventListener(t,r,a),()=>e.removeEventListener(t,r)}const fj=(e,t)=>e.depth-t.depth;class hj{constructor(){this.children=[],this.isDirty=!1}add(t){ch(this.children,t),this.isDirty=!0}remove(t){su(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(fj),this.isDirty=!1,this.children.forEach(t)}}function mj(e,t){const r=Ht.now(),a=({timestamp:s})=>{const l=s-r;l>=t&&(ri(a),e(l-t))};return Qe.setup(a,!0),()=>ri(a)}function Ql(e){return Nt(e)?e.get():e}class pj{constructor(){this.members=[]}add(t){ch(this.members,t);for(let r=this.members.length-1;r>=0;r--){const a=this.members[r];if(a===t||a===this.lead||a===this.prevLead)continue;const s=a.instance;(!s||s.isConnected===!1)&&!a.snapshot&&(su(this.members,a),a.unmount())}t.scheduleRender()}remove(t){if(su(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){var r;for(let a=this.members.indexOf(t)-1;a>=0;a--){const s=this.members[a];if(s.isPresent!==!1&&((r=s.instance)==null?void 0:r.isConnected)!==!1)return this.promote(s),!0}return!1}promote(t,r){var s;const a=this.lead;if(t!==a&&(this.prevLead=a,this.lead=t,t.show(),a)){a.updateSnapshot(),t.scheduleRender();const{layoutDependency:l}=a.options,{layoutDependency:u}=t.options;(l===void 0||l!==u)&&(t.resumeFrom=a,r&&(a.preserveOpacity=!0),a.snapshot&&(t.snapshot=a.snapshot,t.snapshot.latestValues=a.animationValues||a.latestValues),(s=t.root)!=null&&s.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&a.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var r,a,s,l,u;(a=(r=t.options).onExitComplete)==null||a.call(r),(u=(s=t.resumingFrom)==null?void 0:(l=s.options).onExitComplete)==null||u.call(l)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const Jl={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Wd=["","X","Y","Z"],gj=1e3;let yj=0;function Hd(e,t,r,a){const{latestValues:s}=t;s[e]&&(r[e]=s[e],t.setStaticValue(e,0),a&&(a[e]=0))}function Pw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const r=Gx(t);if(window.MotionHasOptimisedAnimation(r,"transform")){const{layout:s,layoutId:l}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",Qe,!(s||l))}const{parent:a}=e;a&&!a.hasCheckedOptimisedAppear&&Pw(a)}function jw({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:a,resetTransform:s}){return class{constructor(u={},d=t==null?void 0:t()){this.id=yj++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(wj),this.nodes.forEach(Tj),this.nodes.forEach(Pj),this.nodes.forEach(bj)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new hj)}addEventListener(u,d){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new fh),this.eventHandlers.get(u).add(d)}notifyListeners(u,...d){const h=this.eventHandlers.get(u);h&&h.notify(...d)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=Dh(u)&&!xP(u),this.instance=u;const{layoutId:d,layout:h,visualElement:m}=this.options;if(m&&!m.current&&m.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(h||d)&&(this.isLayoutDirty=!0),e){let g,v=0;const x=()=>this.root.updateBlockedByResize=!1;Qe.read(()=>{v=window.innerWidth}),e(u,()=>{const b=window.innerWidth;b!==v&&(v=b,this.root.updateBlockedByResize=!0,g&&g(),g=mj(x,250),Jl.hasAnimatedSinceResize&&(Jl.hasAnimatedSinceResize=!1,this.nodes.forEach(dv)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&m&&(d||h)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:v,hasRelativeLayoutChanged:x,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const S=this.options.transition||m.getDefaultTransition()||Aj,{onLayoutAnimationStart:E,onLayoutAnimationComplete:C}=m.getProps(),D=!this.targetLayout||!kw(this.targetLayout,b),_=!v&&x;if(this.options.layoutRoot||this.resumeFrom||_||v&&(D||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...Sh(S,"layout"),onPlay:E,onComplete:C};(m.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(g,_)}else v||dv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ri(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(jj),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Pw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const v=this.path[g];v.shouldResetTransform=!0,(typeof v.latestValues.x=="string"||typeof v.latestValues.y=="string")&&(v.isLayoutDirty=!0),v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:d,layout:h}=this.options;if(d===void 0&&!h)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const h=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),h&&this.nodes.forEach(Cj),this.nodes.forEach(uv);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(cv);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(kj),this.nodes.forEach(Ej),this.nodes.forEach(vj),this.nodes.forEach(xj)):this.nodes.forEach(cv),this.clearAllSnapshots();const d=Ht.now();Rt.delta=tr(0,1e3/60,d-Rt.timestamp),Rt.timestamp=d,Rt.isProcessing=!0,Id.update.process(Rt),Id.preRender.process(Rt),Id.render.process(Rt),Rt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ph.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Sj),this.sharedNodes.forEach(Dj)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Qe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Qe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Yt(this.snapshot.measuredBox.x)&&!Yt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let h=0;h<this.path.length;h++)this.path[h].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=xt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(d=!1),d&&this.instance){const h=a(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:h,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!s)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!Cw(this.projectionDelta),h=this.getTransformTemplate(),m=h?h(this.latestValues,""):void 0,g=m!==this.prevTransformTemplateValue;u&&this.instance&&(d||Ei(this.latestValues)||g)&&(s(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const d=this.measurePageBox();let h=this.removeElementScroll(d);return u&&(h=this.removeTransform(h)),Lj(h),{animationId:this.root.animationId,measuredBox:d,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){var m;const{visualElement:u}=this.options;if(!u)return xt();const d=u.measureViewportBox();if(!(((m=this.scroll)==null?void 0:m.wasRoot)||this.path.some(Mj))){const{scroll:g}=this.root;g&&(Xn(d.x,g.offset.x),Xn(d.y,g.offset.y))}return d}removeElementScroll(u){var h;const d=xt();if(Vn(d,u),(h=this.scroll)!=null&&h.wasRoot)return d;for(let m=0;m<this.path.length;m++){const g=this.path[m],{scroll:v,options:x}=g;g!==this.root&&v&&x.layoutScroll&&(v.wasRoot&&Vn(d,u),Xn(d.x,v.offset.x),Xn(d.y,v.offset.y))}return d}applyTransform(u,d=!1,h){var g,v;const m=h||xt();Vn(m,u);for(let x=0;x<this.path.length;x++){const b=this.path[x];!d&&b.options.layoutScroll&&b.scroll&&b!==b.root&&(Xn(m.x,-b.scroll.offset.x),Xn(m.y,-b.scroll.offset.y)),Ei(b.latestValues)&&Kl(m,b.latestValues,(g=b.layout)==null?void 0:g.layoutBox)}return Ei(this.latestValues)&&Kl(m,this.latestValues,(v=this.layout)==null?void 0:v.layoutBox),m}removeTransform(u){var h;const d=xt();Vn(d,u);for(let m=0;m<this.path.length;m++){const g=this.path[m];if(!Ei(g.latestValues))continue;let v;g.instance&&(If(g.latestValues)&&g.updateSnapshot(),v=xt(),Vn(v,g.measurePageBox())),ev(d,g.latestValues,(h=g.snapshot)==null?void 0:h.layoutBox,v)}return Ei(this.latestValues)&&ev(d,this.latestValues),d}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.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!==Rt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){var b;const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==d;if(!(u||h&&this.isSharedProjectionDirty||this.isProjectionDirty||(b=this.parent)!=null&&b.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:v}=this.options;if(!this.layout||!(g||v))return;this.resolvedRelativeTargetAt=Rt.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=xt(),this.targetWithTransforms=xt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),tj(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Vn(this.target,this.layout.layoutBox),dw(this.target,this.targetDelta)):Vn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||If(this.parent.latestValues)||cw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(u,d,h){this.relativeParent=u,this.linkedParentVersion=u.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=xt(),this.relativeTargetOrigin=xt(),hu(this.relativeTargetOrigin,d,h,this.options.layoutAnchor||void 0),Vn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var S;const u=this.getLead(),d=!!this.resumingFrom||this!==u;let h=!0;if((this.isProjectionDirty||(S=this.parent)!=null&&S.isProjectionDirty)&&(h=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===Rt.timestamp&&(h=!1),h)return;const{layout:m,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||!(m||g))return;Vn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,x=this.treeScale.y;RP(this.layoutCorrected,this.treeScale,this.path,d),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=xt());const{target:b}=u;if(!b){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(qy(this.prevProjectionDelta.x,this.projectionDelta.x),qy(this.prevProjectionDelta.y,this.projectionDelta.y)),Ws(this.projectionDelta,this.layoutCorrected,b,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==x||!av(this.projectionDelta.x,this.prevProjectionDelta.x)||!av(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){var d;if((d=this.options.visualElement)==null||d.scheduleRender(),u){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ea(),this.projectionDelta=Ea(),this.projectionDeltaWithTransform=Ea()}setAnimationOrigin(u,d=!1){const h=this.snapshot,m=h?h.latestValues:{},g={...this.latestValues},v=Ea();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const x=xt(),b=h?h.source:void 0,S=this.layout?this.layout.source:void 0,E=b!==S,C=this.getStack(),D=!C||C.members.length<=1,_=!!(E&&!D&&this.options.crossfade===!0&&!this.path.some(Nj));this.animationProgress=0;let I;this.mixTargetDelta=F=>{const U=F/1e3;fv(v.x,u.x,U),fv(v.y,u.y,U),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(hu(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Rj(this.relativeTarget,this.relativeTargetOrigin,x,U),I&&aj(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=xt()),Vn(I,this.relativeTarget)),E&&(this.animationValues=g,lj(g,m,this.latestValues,U,_,D)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=U},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){var d,h,m;this.notifyListeners("animationStart"),(d=this.currentAnimation)==null||d.stop(),(m=(h=this.resumingFrom)==null?void 0:h.currentAnimation)==null||m.stop(),this.pendingAnimation&&(ri(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Qe.update(()=>{Jl.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Na(0)),this.motionValue.jump(0,!1),this.currentAnimation=dj(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),u.onUpdate&&u.onUpdate(g)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.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 u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(gj),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:d,target:h,layout:m,latestValues:g}=u;if(!(!d||!h||!m)){if(this!==u&&this.layout&&m&&Dw(this.options.animationType,this.layout.layoutBox,m.layoutBox)){h=this.target||xt();const v=Yt(this.layout.layoutBox.x);h.x.min=u.target.x.min,h.x.max=h.x.min+v;const x=Yt(this.layout.layoutBox.y);h.y.min=u.target.y.min,h.y.max=h.y.min+x}Vn(d,h),Kl(d,g),Ws(this.projectionDeltaWithTransform,this.layoutCorrected,d,g)}}registerSharedNode(u,d){this.sharedNodes.has(u)||this.sharedNodes.set(u,new pj),this.sharedNodes.get(u).add(d);const m=d.options.initialPromotionConfig;d.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(d):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){var d;const{layoutId:u}=this.options;return u?((d=this.getStack())==null?void 0:d.lead)||this:this}getPrevLead(){var d;const{layoutId:u}=this.options;return u?(d=this.getStack())==null?void 0:d.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:d,preserveFollowOpacity:h}={}){const m=this.getStack();m&&m.promote(this,h),u&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let d=!1;const{latestValues:h}=u;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(d=!0),!d)return;const m={};h.z&&Hd("z",u,m,this.animationValues);for(let g=0;g<Wd.length;g++)Hd(`rotate${Wd[g]}`,u,m,this.animationValues),Hd(`skew${Wd[g]}`,u,m,this.animationValues);u.render();for(const g in m)u.setStaticValue(g,m[g]),this.animationValues&&(this.animationValues[g]=m[g]);u.scheduleRender()}applyProjectionStyles(u,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const h=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=Ql(d==null?void 0:d.pointerEvents)||"",u.transform=h?h(this.latestValues,""):"none";return}const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=Ql(d==null?void 0:d.pointerEvents)||""),this.hasProjected&&!Ei(this.latestValues)&&(u.transform=h?h({},""):"none",this.hasProjected=!1);return}u.visibility="";const g=m.animationValues||m.latestValues;this.applyTransformsToTarget();let v=sj(this.projectionDeltaWithTransform,this.treeScale,g);h&&(v=h(g,v)),u.transform=v;const{x,y:b}=this.projectionDelta;u.transformOrigin=`${x.origin*100}% ${b.origin*100}% 0`,m.animationValues?u.opacity=m===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:u.opacity=m===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const S in Ff){if(g[S]===void 0)continue;const{correct:E,applyTo:C,isCSSVariable:D}=Ff[S],_=v==="none"?g[S]:E(g[S],m);if(C){const I=C.length;for(let F=0;F<I;F++)u[C[F]]=_}else D?this.options.visualElement.renderState.vars[S]=_:u[S]=_}this.options.layoutId&&(u.pointerEvents=m===this?Ql(d==null?void 0:d.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>{var d;return(d=u.currentAnimation)==null?void 0:d.stop()}),this.root.nodes.forEach(uv),this.root.sharedNodes.clear()}}}function vj(e){e.updateLayout()}function xj(e){var r;const t=((r=e.resumeFrom)==null?void 0:r.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:s}=e.layout,{animationType:l}=e.options,u=t.source!==e.layout.source;if(l==="size")Jn(v=>{const x=u?t.measuredBox[v]:t.layoutBox[v],b=Yt(x);x.min=a[v].min,x.max=x.min+b});else if(l==="x"||l==="y"){const v=l==="x"?"y":"x";Vf(u?t.measuredBox[v]:t.layoutBox[v],a[v])}else Dw(l,t.layoutBox,a)&&Jn(v=>{const x=u?t.measuredBox[v]:t.layoutBox[v],b=Yt(a[v]);x.max=x.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[v].max=e.relativeTarget[v].min+b)});const d=Ea();Ws(d,a,t.layoutBox);const h=Ea();u?Ws(h,e.applyTransform(s,!0),t.measuredBox):Ws(h,a,t.layoutBox);const m=!Cw(d);let g=!1;if(!e.resumeFrom){const v=e.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:x,layout:b}=v;if(x&&b){const S=e.options.layoutAnchor||void 0,E=xt();hu(E,t.layoutBox,x.layoutBox,S);const C=xt();hu(C,a,b.layoutBox,S),kw(E,C)||(g=!0),v.options.layoutRoot&&(e.relativeTarget=C,e.relativeTargetOrigin=E,e.relativeParent=v)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:t,delta:h,layoutDelta:d,hasLayoutChanged:m,hasRelativeLayoutChanged:g})}else if(e.isLead()){const{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function wj(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function bj(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Sj(e){e.clearSnapshot()}function uv(e){e.clearMeasurements()}function Cj(e){e.isLayoutDirty=!0,e.updateLayout()}function cv(e){e.isLayoutDirty=!1}function kj(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Ej(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function dv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Tj(e){e.resolveTargetDelta()}function Pj(e){e.calcProjection()}function jj(e){e.resetSkewAndRotation()}function Dj(e){e.removeLeadSnapshot()}function fv(e,t,r){e.translate=rt(t.translate,0,r),e.scale=rt(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function hv(e,t,r,a){e.min=rt(t.min,r.min,a),e.max=rt(t.max,r.max,a)}function Rj(e,t,r,a){hv(e.x,t.x,r.x,a),hv(e.y,t.y,r.y,a)}function Nj(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Aj={duration:.45,ease:[.4,0,.1,1]},mv=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),pv=mv("applewebkit/")&&!mv("chrome/")?Math.round:Tn;function gv(e){e.min=pv(e.min),e.max=pv(e.max)}function Lj(e){gv(e.x),gv(e.y)}function Dw(e,t,r){return e==="position"||e==="preserve-aspect"&&!ej(iv(t),iv(r),.2)}function Mj(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const Oj=jw({attachResizeListener:(e,t)=>Js(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Yd={current:void 0},Rw=jw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Yd.current){const e=new Oj({});e.mount(window),e.setOptions({layoutScroll:!0}),Yd.current=e}return Yd.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});function Ij(e,t){if(ju(e)){const{initial:r,animate:a}=e;return{initial:r===!1||Qs(r)?r:void 0,animate:Qs(a)?a:void 0}}return e.inherit!==!1?t:{}}function _j(e){const{initial:t,animate:r}=Ij(e,k.useContext(Eu));return k.useMemo(()=>({initial:t,animate:r}),[yv(t),yv(r)])}function yv(e){return Array.isArray(e)?e.join(" "):e}const Mh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Nw(e,t,r){for(const a in t)!Nt(t[a])&&!mw(a,r)&&(e[a]=t[a])}function Fj({transformTemplate:e},t){return k.useMemo(()=>{const r=Mh();return Ah(r,t,e),Object.assign({},r.vars,r.style)},[t])}function Vj(e,t){const r=e.style||{},a={};return Nw(a,r,e),Object.assign(a,Fj(e,t)),a}function Bj(e,t){const r={},a=Vj(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=a,r}const Aw=()=>({...Mh(),attrs:{}});function zj(e,t,r,a){const s=k.useMemo(()=>{const l=Aw();return pw(l,t,yw(a),e.transformTemplate,e.style),{...l.attrs,style:{...l.style}}},[t]);if(e.style){const l={};Nw(l,e.style,e),s.style={...l,...s.style}}return s}const Uj=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","propagate","ignoreStrict","viewport"]);function mu(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Uj.has(e)}let Lw=e=>!mu(e);function $j(e){typeof e=="function"&&(Lw=t=>t.startsWith("on")?!mu(t):e(t))}try{$j(require("@emotion/is-prop-valid").default)}catch{}function Wj(e,t,r){const a={};for(const s in e)s==="values"&&typeof e.values=="object"||Nt(e[s])||(Lw(s)||r===!0&&mu(s)||!t&&!mu(s)||e.draggable&&s.startsWith("onDrag"))&&(a[s]=e[s]);return a}const Hj=["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 Oh(e){return typeof e!="string"||e.includes("-")?!1:!!(Hj.indexOf(e)>-1||/[A-Z]/u.test(e))}function Yj(e,t,r,{latestValues:a},s,l=!1,u){const h=(u??Oh(e)?zj:Bj)(t,a,s,e),m=Wj(t,typeof e=="string",l),g=e!==k.Fragment?{...m,...h,ref:r}:{},{children:v}=t,x=k.useMemo(()=>Nt(v)?v.get():v,[v]);return k.createElement(e,{...g,children:x})}const Ih=k.createContext(null);function Gj(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}function qj({scrapeMotionValuesFromProps:e,createRenderState:t},r,a,s){return{latestValues:Kj(r,a,s,e),renderState:t()}}function Kj(e,t,r,a){const s={},l=a(e,{});for(const x in l)s[x]=Ql(l[x]);let{initial:u,animate:d}=e;const h=ju(e),m=aw(e);t&&m&&!h&&e.inherit!==!1&&(u===void 0&&(u=t.initial),d===void 0&&(d=t.animate));let g=r?r.initial===!1:!1;g=g||u===!1;const v=g?d:u;if(v&&typeof v!="boolean"&&!Pu(v)){const x=Array.isArray(v)?v:[v];for(let b=0;b<x.length;b++){const S=kh(e,x[b]);if(S){const{transitionEnd:E,transition:C,...D}=S;for(const _ in D){let I=D[_];if(Array.isArray(I)){const F=g?I.length-1:0;I=I[F]}I!==null&&(s[_]=I)}for(const _ in E)s[_]=E[_]}}}return s}const Mw=e=>(t,r)=>{const a=k.useContext(Eu),s=k.useContext(Ih),l=()=>qj(e,t,a,s);return r?l():Gj(l)},Qj=Mw({scrapeMotionValuesFromProps:Lh,createRenderState:Mh}),Jj=Mw({scrapeMotionValuesFromProps:vw,createRenderState:Aw}),vv={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"]};let xv=!1;function Xj(){if(xv)return;const e={};for(const t in vv)e[t]={isEnabled:r=>vv[t].some(a=>!!r[a])};ow(e),xv=!0}function Ow(){return Xj(),TP()}function Zj(e){const t=Ow();for(const r in e)t[r]={...t[r],...e[r]};ow(t)}const eD=Symbol.for("motionComponentSymbol");function tD(e,t,r){const a=k.useRef(r);k.useInsertionEffect(()=>{a.current=r});const s=k.useRef(null);return k.useCallback(l=>{var d;l&&((d=e.onMount)==null||d.call(e,l));const u=a.current;if(typeof u=="function")if(l){const h=u(l);typeof h=="function"&&(s.current=h)}else s.current?(s.current(),s.current=null):u(l);else u&&(u.current=l);t&&(l?t.mount(l):t.unmount())},[t])}const Iw=k.createContext({});function ba(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const nD=typeof window<"u",rD=nD?k.useLayoutEffect:k.useEffect;function iD(e,t,r,a,s,l){var I,F;const{visualElement:u}=k.useContext(Eu),d=k.useContext(vx),h=k.useContext(Ih),m=k.useContext(xx),g=m.reducedMotion,v=m.skipAnimations,x=k.useRef(null),b=k.useRef(!1);a=a||d.renderer,!x.current&&a&&(x.current=a(e,{visualState:t,parent:u,props:r,presenceContext:h,blockInitialAnimation:h?h.initial===!1:!1,reducedMotionConfig:g,skipAnimations:v,isSVG:l}),b.current&&x.current&&(x.current.manuallyAnimateOnMount=!0));const S=x.current,E=k.useContext(Iw);S&&!S.projection&&s&&(S.type==="html"||S.type==="svg")&&aD(x.current,r,s,E);const C=k.useRef(!1);k.useInsertionEffect(()=>{S&&C.current&&S.update(r,h)});const D=r[Yx],_=k.useRef(!!D&&typeof window<"u"&&!((I=window.MotionHandoffIsComplete)!=null&&I.call(window,D))&&((F=window.MotionHasOptimisedAnimation)==null?void 0:F.call(window,D)));return rD(()=>{b.current=!0,S&&(C.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),S.scheduleRenderMicrotask(),_.current&&S.animationState&&S.animationState.animateChanges())}),k.useEffect(()=>{S&&(!_.current&&S.animationState&&S.animationState.animateChanges(),_.current&&(queueMicrotask(()=>{var U;(U=window.MotionHandoffMarkAsComplete)==null||U.call(window,D)}),_.current=!1),S.enteringChildren=void 0)}),S}function aD(e,t,r,a){const{layoutId:s,layout:l,drag:u,dragConstraints:d,layoutScroll:h,layoutRoot:m,layoutAnchor:g,layoutCrossfade:v}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:_w(e.parent)),e.projection.setOptions({layoutId:s,layout:l,alwaysMeasureLayout:!!u||d&&ba(d),visualElement:e,animationType:typeof l=="string"?l:"both",initialPromotionConfig:a,crossfade:v,layoutScroll:h,layoutRoot:m,layoutAnchor:g})}function _w(e){if(e)return e.options.allowProjection!==!1?e.projection:_w(e.parent)}function Gd(e,{forwardMotionProps:t=!1,type:r}={},a,s){a&&Zj(a);const l=r?r==="svg":Oh(e),u=l?Jj:Qj;function d(m,g){let v;const x={...k.useContext(xx),...m,layoutId:sD(m)},{isStatic:b}=x,S=_j(m),E=u(m,b);if(!b&&typeof window<"u"){oD();const C=lD(x);v=C.MeasureLayout,S.visualElement=iD(e,E,x,s,C.ProjectionNode,l)}return f.jsxs(Eu.Provider,{value:S,children:[v&&S.visualElement?f.jsx(v,{visualElement:S.visualElement,...x}):null,Yj(e,m,tD(E,S.visualElement,g),E,b,t,l)]})}d.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const h=k.forwardRef(d);return h[eD]=e,h}function sD({layoutId:e}){const t=k.useContext(yx).id;return t&&e!==void 0?t+"-"+e:e}function oD(e,t){k.useContext(vx).strict}function lD(e){const t=Ow(),{drag:r,layout:a}=t;if(!r&&!a)return{};const s={...r,...a};return{MeasureLayout:r!=null&&r.isEnabled(e)||a!=null&&a.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const uD=(e,t)=>t.isSVG??Oh(e)?new $P(t):new _P(t,{allowProjection:e!==k.Fragment});class cD extends si{constructor(t){super(t),t.animationState||(t.animationState=qP(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Pu(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let dD=0;class fD extends si{constructor(){super(...arguments),this.id=dD++,this.isExitComplete=!1}update(){var l;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===a)return;if(t&&a===!1){if(this.isExitComplete){const{initial:u,custom:d}=this.node.getProps();if(typeof u=="string"){const h=Li(this.node,u,d);if(h){const{transition:m,transitionEnd:g,...v}=h;for(const x in v)(l=this.node.getValue(x))==null||l.jump(v[x])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const s=this.node.animationState.setActive("exit",!t);r&&!t&&s.then(()=>{this.isExitComplete=!0,r(this.id)})}mount(){const{register:t,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const hD={animation:{Feature:cD},exit:{Feature:fD}};function lo(e){return{point:{x:e.pageX,y:e.pageY}}}const mD=e=>t=>jh(t)&&e(t,lo(t));function Hs(e,t,r,a){return Js(e,t,mD(r),a)}const Fw=({current:e})=>e?e.ownerDocument.defaultView:null,wv=(e,t)=>Math.abs(e-t);function pD(e,t){const r=wv(e.x,t.x),a=wv(e.y,t.y);return Math.sqrt(r**2+a**2)}const bv=new Set(["auto","scroll"]);class Vw{constructor(t,r,{transformPagePoint:a,contextWindow:s=window,dragSnapToOrigin:l=!1,distanceThreshold:u=3,element:d}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=b=>{this.handleScroll(b.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Dl(this.lastRawMoveEventInfo,this.transformPagePoint));const b=qd(this.lastMoveEventInfo,this.history),S=this.startEvent!==null,E=pD(b.offset,{x:0,y:0})>=this.distanceThreshold;if(!S&&!E)return;const{point:C}=b,{timestamp:D}=Rt;this.history.push({...C,timestamp:D});const{onStart:_,onMove:I}=this.handlers;S||(_&&_(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,b)},this.handlePointerMove=(b,S)=>{this.lastMoveEvent=b,this.lastRawMoveEventInfo=S,this.lastMoveEventInfo=Dl(S,this.transformPagePoint),Qe.update(this.updatePoint,!0)},this.handlePointerUp=(b,S)=>{this.end();const{onEnd:E,onSessionEnd:C,resumeAnimation:D}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&D&&D(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=qd(b.type==="pointercancel"?this.lastMoveEventInfo:Dl(S,this.transformPagePoint),this.history);this.startEvent&&E&&E(b,_),C&&C(b,_)},!jh(t))return;this.dragSnapToOrigin=l,this.handlers=r,this.transformPagePoint=a,this.distanceThreshold=u,this.contextWindow=s||window;const h=lo(t),m=Dl(h,this.transformPagePoint),{point:g}=m,{timestamp:v}=Rt;this.history=[{...g,timestamp:v}];const{onSessionStart:x}=r;x&&x(t,qd(m,this.history)),this.removeListeners=ao(Hs(this.contextWindow,"pointermove",this.handlePointerMove),Hs(this.contextWindow,"pointerup",this.handlePointerUp),Hs(this.contextWindow,"pointercancel",this.handlePointerUp)),d&&this.startScrollTracking(d)}startScrollTracking(t){let r=t.parentElement;for(;r;){const a=getComputedStyle(r);(bv.has(a.overflowX)||bv.has(a.overflowY))&&this.scrollPositions.set(r,{x:r.scrollLeft,y:r.scrollTop}),r=r.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const r=this.scrollPositions.get(t);if(!r)return;const a=t===window,s=a?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},l={x:s.x-r.x,y:s.y-r.y};l.x===0&&l.y===0||(a?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=l.x,this.lastMoveEventInfo.point.y+=l.y):this.history.length>0&&(this.history[0].x-=l.x,this.history[0].y-=l.y),this.scrollPositions.set(t,s),Qe.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ri(this.updatePoint)}}function Dl(e,t){return t?{point:t(e.point)}:e}function Sv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function qd({point:e},t){return{point:e,delta:Sv(e,Bw(t)),offset:Sv(e,gD(t)),velocity:yD(t,.1)}}function gD(e){return e[0]}function Bw(e){return e[e.length-1]}function yD(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,a=null;const s=Bw(e);for(;r>=0&&(a=e[r],!(s.timestamp-a.timestamp>un(t)));)r--;if(!a)return{x:0,y:0};a===e[0]&&e.length>2&&s.timestamp-a.timestamp>un(t)*2&&(a=e[1]);const l=kn(s.timestamp-a.timestamp);if(l===0)return{x:0,y:0};const u={x:(s.x-a.x)/l,y:(s.y-a.y)/l};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function vD(e,{min:t,max:r},a){return t!==void 0&&e<t?e=a?rt(t,e,a.min):Math.max(e,t):r!==void 0&&e>r&&(e=a?rt(r,e,a.max):Math.min(e,r)),e}function Cv(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function xD(e,{top:t,left:r,bottom:a,right:s}){return{x:Cv(e.x,r,s),y:Cv(e.y,t,a)}}function kv(e,t){let r=t.min-e.min,a=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,a]=[a,r]),{min:r,max:a}}function wD(e,t){return{x:kv(e.x,t.x),y:kv(e.y,t.y)}}function bD(e,t){let r=.5;const a=Yt(e),s=Yt(t);return s>a?r=qs(t.min,t.max-a,e.min):a>s&&(r=qs(e.min,e.max-s,t.min)),tr(0,1,r)}function SD(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const Bf=.35;function CD(e=Bf){return e===!1?e=0:e===!0&&(e=Bf),{x:Ev(e,"left","right"),y:Ev(e,"top","bottom")}}function Ev(e,t,r){return{min:Tv(e,t),max:Tv(e,r)}}function Tv(e,t){return typeof e=="number"?e:e[t]||0}const kD=new WeakMap;class ED{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=xt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:r=!1,distanceThreshold:a}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const l=v=>{r&&this.snapToCursor(lo(v).point),this.stopAnimation()},u=(v,x)=>{const{drag:b,dragPropagation:S,onDragStart:E}=this.getProps();if(b&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=nP(b),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Jn(D=>{let _=this.getAxisMotionValue(D).get()||0;if(Zn.test(_)){const{projection:I}=this.visualElement;if(I&&I.layout){const F=I.layout.layoutBox[D];F&&(_=Yt(F)*(parseFloat(_)/100))}}this.originPoint[D]=_}),E&&Qe.update(()=>E(v,x),!1,!0),Nf(this.visualElement,"transform");const{animationState:C}=this.visualElement;C&&C.setActive("whileDrag",!0)},d=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x;const{dragPropagation:b,dragDirectionLock:S,onDirectionLock:E,onDrag:C}=this.getProps();if(!b&&!this.openDragLock)return;const{offset:D}=x;if(S&&this.currentDirection===null){this.currentDirection=PD(D),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",x.point,D),this.updateAxis("y",x.point,D),this.visualElement.render(),C&&Qe.update(()=>C(v,x),!1,!0)},h=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x,this.stop(v,x),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new Vw(t,{onSessionStart:l,onStart:u,onMove:d,onSessionEnd:h,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:a,contextWindow:Fw(this.visualElement),element:this.visualElement.current})}stop(t,r){const a=t||this.latestPointerEvent,s=r||this.latestPanInfo,l=this.isDragging;if(this.cancel(),!l||!s||!a)return;const{velocity:u}=s;this.startAnimation(u);const{onDragEnd:d}=this.getProps();d&&Qe.postRender(()=>d(a,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:a}=this.getProps();!a&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,r,a){const{drag:s}=this.getProps();if(!a||!Rl(t,s,this.currentDirection))return;const l=this.getAxisMotionValue(t);let u=this.originPoint[t]+a[t];this.constraints&&this.constraints[t]&&(u=vD(u,this.constraints[t],this.elastic[t])),l.set(u)}resolveConstraints(){var l;const{dragConstraints:t,dragElastic:r}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(l=this.visualElement.projection)==null?void 0:l.layout,s=this.constraints;t&&ba(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&a?this.constraints=xD(a.layoutBox,t):this.constraints=!1,this.elastic=CD(r),s!==this.constraints&&!ba(t)&&a&&this.constraints&&!this.hasMutatedConstraints&&Jn(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=SD(a.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!ba(t))return!1;const a=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const l=NP(a,s.root,this.visualElement.getTransformPagePoint());let u=wD(s.layout.layoutBox,l);if(r){const d=r(jP(u));this.hasMutatedConstraints=!!d,d&&(u=uw(d))}return u}startAnimation(t){const{drag:r,dragMomentum:a,dragElastic:s,dragTransition:l,dragSnapToOrigin:u,onDragTransitionEnd:d}=this.getProps(),h=this.constraints||{},m=Jn(g=>{if(!Rl(g,r,this.currentDirection))return;let v=h&&h[g]||{};(u===!0||u===g)&&(v={min:0,max:0});const x=s?200:1e6,b=s?40:1e7,S={type:"inertia",velocity:a?t[g]:0,bounceStiffness:x,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...l,...v};return this.startAxisValueAnimation(g,S)});return Promise.all(m).then(d)}startAxisValueAnimation(t,r){const a=this.getAxisMotionValue(t);return Nf(this.visualElement,t),a.start(Ch(t,a,0,r,this.visualElement,!1))}stopAnimation(){Jn(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const r=`_drag${t.toUpperCase()}`,a=this.visualElement.getProps(),s=a[r];return s||this.visualElement.getValue(t,(a.initial?a.initial[t]:void 0)||0)}snapToCursor(t){Jn(r=>{const{drag:a}=this.getProps();if(!Rl(r,a,this.currentDirection))return;const{projection:s}=this.visualElement,l=this.getAxisMotionValue(r);if(s&&s.layout){const{min:u,max:d}=s.layout.layoutBox[r],h=l.get()||0;l.set(t[r]-rt(u,d,.5)+h)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:a}=this.visualElement;if(!ba(r)||!a||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};Jn(u=>{const d=this.getAxisMotionValue(u);if(d&&this.constraints!==!1){const h=d.get();s[u]=bD({min:h,max:h},this.constraints[u])}});const{transformTemplate:l}=this.visualElement.getProps();this.visualElement.current.style.transform=l?l({},""):"none",a.root&&a.root.updateScroll(),a.updateLayout(),this.constraints=!1,this.resolveConstraints(),Jn(u=>{if(!Rl(u,t,null))return;const d=this.getAxisMotionValue(u),{min:h,max:m}=this.constraints[u];d.set(rt(h,m,s[u]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;kD.set(this.visualElement,this);const t=this.visualElement.current,r=Hs(t,"pointerdown",m=>{const{drag:g,dragListener:v=!0}=this.getProps(),x=m.target,b=x!==t&&lP(x);g&&v&&!b&&this.start(m)});let a;const s=()=>{const{dragConstraints:m}=this.getProps();ba(m)&&m.current&&(this.constraints=this.resolveRefConstraints(),a||(a=TD(t,m.current,()=>this.scalePositionWithinConstraints())))},{projection:l}=this.visualElement,u=l.addEventListener("measure",s);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),Qe.read(s);const d=Js(window,"resize",()=>this.scalePositionWithinConstraints()),h=l.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:g})=>{this.isDragging&&g&&(Jn(v=>{const x=this.getAxisMotionValue(v);x&&(this.originPoint[v]+=m[v].translate,x.set(x.get()+m[v].translate))}),this.visualElement.render())}));return()=>{d(),r(),u(),h&&h(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:a=!1,dragPropagation:s=!1,dragConstraints:l=!1,dragElastic:u=Bf,dragMomentum:d=!0}=t;return{...t,drag:r,dragDirectionLock:a,dragPropagation:s,dragConstraints:l,dragElastic:u,dragMomentum:d}}}function Pv(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function TD(e,t,r){const a=Iy(e,Pv(r)),s=Iy(t,Pv(r));return()=>{a(),s()}}function Rl(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function PD(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class jD extends si{constructor(t){super(t),this.removeGroupControls=Tn,this.removeListeners=Tn,this.controls=new ED(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Tn}update(){const{dragControls:t}=this.node.getProps(),{dragControls:r}=this.node.prevProps||{};t!==r&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Kd=e=>(t,r)=>{e&&Qe.update(()=>e(t,r),!1,!0)};class DD extends si{constructor(){super(...arguments),this.removePointerDownListener=Tn}onPointerDown(t){this.session=new Vw(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Fw(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:a,onPanEnd:s}=this.node.getProps();return{onSessionStart:Kd(t),onStart:Kd(r),onMove:Kd(a),onEnd:(l,u)=>{delete this.session,s&&Qe.postRender(()=>s(l,u))}}}mount(){this.removePointerDownListener=Hs(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function RD(e=!0){const t=k.useContext(Ih);if(t===null)return[!0,null];const{isPresent:r,onExitComplete:a,register:s}=t,l=k.useId();k.useEffect(()=>{if(e)return s(l)},[e]);const u=k.useCallback(()=>e&&a&&a(l),[l,a,e]);return!r&&a?[!1,u]:[!0]}let Qd=!1;class ND extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:a,layoutId:s}=this.props,{projection:l}=t;l&&(r.group&&r.group.add(l),a&&a.register&&s&&a.register(l),Qd&&l.root.didUpdate(),l.addEventListener("animationComplete",()=>{this.safeToRemove()}),l.setOptions({...l.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Jl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:a,drag:s,isPresent:l}=this.props,{projection:u}=a;return u&&(u.isPresent=l,t.layoutDependency!==r&&u.setOptions({...u.options,layoutDependency:r}),Qd=!0,s||t.layoutDependency!==r||r===void 0||t.isPresent!==l?u.willUpdate():this.safeToRemove(),t.isPresent!==l&&(l?u.promote():u.relegate()||Qe.postRender(()=>{const d=u.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:r}=this.props,{projection:a}=t;a&&(a.options.layoutAnchor=r,a.root.didUpdate(),Ph.postRender(()=>{!a.currentAnimation&&a.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:a}=this.props,{projection:s}=t;Qd=!0,s&&(s.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(s),a&&a.deregister&&a.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function zw(e){const[t,r]=RD(),a=k.useContext(yx);return f.jsx(ND,{...e,layoutGroup:a,switchLayoutGroup:k.useContext(Iw),isPresent:t,safeToRemove:r})}const AD={pan:{Feature:DD},drag:{Feature:jD,ProjectionNode:Rw,MeasureLayout:zw}};function jv(e,t,r){const{props:a}=e;e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",r==="Start");const s="onHover"+r,l=a[s];l&&Qe.postRender(()=>l(t,lo(t)))}class LD extends si{mount(){const{current:t}=this.node;t&&(this.unmount=iP(t,(r,a)=>(jv(this.node,a,"Start"),s=>jv(this.node,s,"End"))))}unmount(){}}class MD extends si{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=ao(Js(this.node.current,"focus",()=>this.onFocus()),Js(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Dv(e,t,r){const{props:a}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&a.whileTap&&e.animationState.setActive("whileTap",r==="Start");const s="onTap"+(r==="End"?"":r),l=a[s];l&&Qe.postRender(()=>l(t,lo(t)))}class OD extends si{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:r,propagate:a}=this.node.props;this.unmount=cP(t,(s,l)=>(Dv(this.node,l,"Start"),(u,{success:d})=>Dv(this.node,u,d?"End":"Cancel")),{useGlobalTarget:r,stopPropagation:(a==null?void 0:a.tap)===!1})}unmount(){}}const zf=new WeakMap,Jd=new WeakMap,ID=e=>{const t=zf.get(e.target);t&&t(e)},_D=e=>{e.forEach(ID)};function FD({root:e,...t}){const r=e||document;Jd.has(r)||Jd.set(r,{});const a=Jd.get(r),s=JSON.stringify(t);return a[s]||(a[s]=new IntersectionObserver(_D,{root:e,...t})),a[s]}function VD(e,t,r){const a=FD(t);return zf.set(e,r),a.observe(e),()=>{zf.delete(e),a.unobserve(e)}}const BD={some:0,all:1};class zD extends si{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var h;(h=this.stopObserver)==null||h.call(this);const{viewport:t={}}=this.node.getProps(),{root:r,margin:a,amount:s="some",once:l}=t,u={root:r?r.current:void 0,rootMargin:a,threshold:typeof s=="number"?s:BD[s]},d=m=>{const{isIntersecting:g}=m;if(this.isInView===g||(this.isInView=g,l&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:v,onViewportLeave:x}=this.node.getProps(),b=g?v:x;b&&b(m)};this.stopObserver=VD(this.node.current,u,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(UD(t,r))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function UD({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const $D={inView:{Feature:zD},tap:{Feature:OD},focus:{Feature:MD},hover:{Feature:LD}},WD={layout:{ProjectionNode:Rw,MeasureLayout:zw}},HD={...hD,...$D,...AD,...WD},ya={footer:{logo:{src:"/assets/logo/dyci-logo-with-text-white.webp",alt:"Dr. Yanga's Colleges Inc",banner:"/assets/banners/about.webp"},links:{details:[{title:"Data Privacy Policy",url:"/data-privacy-policy"},{title:"Admissions",url:"/admission"},{title:"Schoolaide Basic Education Portal",url:"https://schoolaide.dyci.edu.ph/register"},{title:"OSIRIS College Portal",url:"http://103.65.184.147:8089/OSIRIS_DYCI/"},{title:"Schoology College Learning Portal",url:"https://dyci.schoology.com/login?&school=2558503832"},{title:"Quick Links",url:"/quick-links"}]},socialMedia:{details:[{platform:"Facebook - GS",title:"Grade School",url:"https://www.facebook.com/YangaGSD",icon:""},{platform:"Facebook - JHS",title:"Junior High School",url:"https://www.facebook.com/@YangaJHS",icon:""},{platform:"Facebook - SHS",title:"Senior High School",url:"https://www.facebook.com/YangaSHS",icon:""},{platform:"Facebook - College",title:"College",url:"https://www.facebook.com/YangaCollege",icon:""}]},campus:{title:"Our Campuses",details:[{title:"Marciano Campus",address:"182 MacArthur Hwy, Bocaue, 3018 Bulacan",gMapsLink:"https://www.google.com/maps/place/Dr.+Yanga%27s+Colleges,+Inc./data=!4m7!3m6!1s0x3397ad6bd3dd4583:0x30149e131774a35f!8m2!3d14.8011347!4d120.9212935!16s%2Fg%2F125_hxg8f!19sChIJg0Xd02utlzMRX6N0FxOeFDA?authuser=0&hl=en&rclk=1",contact:[{phone2:"(+639)968-262-6292",email:""}]},{title:"Elida Campus",address:"Bin̈ang 2nd, Bocaue, Bulacan",gMapsLink:"https://www.google.com/maps/place/Dr.+Yanga%27s+Colleges,+Inc.+-+Elida+Campus/data=!4m7!3m6!1s0x3397ad6e676ff733:0x8c19150d8d0adbd4!8m2!3d14.7985967!4d120.9279208!16s%2Fg%2F11d_ty8313!19sChIJM_dvZ26tlzMR1NsKjQ0VGYw?authuser=0&hl=en&rclk=1",contact:[{phone1:"(+639)994-608-7746",email:""}]}]},contactUs:{title:"Contact Us",details:[{title:"Frontline",departments:[{subtitle:"Basic Education",phone1:"(+639)968-262-6292",email:"[email protected]"},{subtitle:"College",phone1:"(+639)992-389-3296",email:"[email protected]"}]},{title:"Registrar",phone1:"(+639)927-614-2010",email1:"[email protected]",email2:"[email protected]"}]}},copyright:"© 2024 Dr. Yanga's Colleges Inc. | All Rights Reserved"},YD=()=>{const e=Tt(),t=new Date().getFullYear(),r=(a,s)=>{s?window.open(a,"_blank"):e(a)};return f.jsxs("footer",{className:"relative bg-dark-blue text-white py-8 sm:py-10 md:py-12 lg:py-14",children:[f.jsx("div",{className:"absolute inset-0 w-full h-full bg-fixed bg-cover bg-center opacity-20",style:{backgroundImage:`url(${ya.footer.logo.banner})`}}),f.jsxs("div",{className:"relative z-10 container mx-auto px-4 sm:px-6 md:px-8 lg:px-12 py-4 sm:py-6 lg:py-0",children:[f.jsxs("div",{className:"grid gap-10 lg:grid-cols-2 items-start",children:[f.jsxs("div",{className:"flex flex-col items-start max-w-md",children:[f.jsx("img",{src:ya.footer.logo.src,alt:ya.footer.logo.alt,className:"w-40 sm:w-44 md:w-48 lg:w-52"}),f.jsx("p",{className:"text-xl text-gray-200 leading-none font-title",children:"More Than A School, A Family"})]}),f.jsxs("div",{className:"flex flex-row justify-between gap-6 lg:grid lg:grid-cols-2",children:[f.jsx("div",{className:"flex-1",children:f.jsx("div",{className:"flex flex-col gap-1.5 text-sm text-gray-200",children:ya.footer.socialMedia.details.map((a,s)=>f.jsxs("button",{onClick:()=>r(a.url,!0),className:"block text-left transition-colors cursor-pointer hover:underline font-body font-normal",children:[a.title," - Facebook Page"]},s))})}),f.jsx("div",{className:"flex-1",children:f.jsx("nav",{className:"space-y-1.5",children:ya.footer.links.details.map((a,s)=>/^https?:\/\//.test(a.url)?f.jsx("a",{href:a.url,target:"_blank",rel:"noreferrer",className:"block text-gray-200 hover:text-white transition-colors text-sm hover:underline cursor-pointer font-normal",children:a.title},s):f.jsx("button",{onClick:()=>r(a.url,!1),className:"block text-gray-200 hover:text-white transition-colors text-sm text-left hover:underline cursor-pointer font-normal",children:a.title},s))})})]})]}),f.jsx("div",{className:"mt-8 border-t border-white/20 pt-4 text-center",children:f.jsx("p",{className:"text-[12px] text-gray-100/70 font-body text-shadow-lg font-normal tracking-wide",children:ya.copyright.replace("2024",t)})})]})]})},Nl=[{title:"Learn With Us",link:"/learn-with-us",sublinks:[{title:"Grade School",link:"/pgs"},{title:"Junior High School",link:"/jhs"},{title:"Senior High School",link:"/shs"}
61,{title:"Undergraduate",link:"/undergraduate"},{title:"Graduate School",link:"/graduate"}]},{title:"Meaning",link:"/meaning",sublinks:[{title:"Vision",link:"/vision"},{title:"Mission",link:"/mission"},{title:"Core Values",link:"/core-values"},{title:"Institutional Quality Policy",link:"/quality-policy"},{title:"The DYCI School Seal",link:"/dyci-seal"}]},{title:"Identity",link:"/identity",sublinks:[{title:"Graduate Attributes",link:"/graduate-attributes"}]},{title:"Spirituality",link:"/spirituality",sublinks:[]},{title:"Servanthood",link:"/servanthood",sublinks:[{title:"PARAYA",link:"/paraya"}]},{title:"Innovations",link:"/innovations",sublinks:[{title:"Robotics Program",link:"/dyci-robotics-program"},{title:"Research Program",link:"/dyci-research"},{title:"Sustainability Office",link:"/dyci-sustainability-office"}]},{title:"Organizational Memory",link:"/organizational-memory"},{title:"Norms",link:"/norms"},{title:"Stakeholder's Centricity",link:"/stakeholders-centricity"},{title:"DYCIan News",link:"/dycian-news"},{title:"Announcements",link:"/announcements/all"},{title:"Events",link:"/events"},{title:"Admission",link:"/admission"},{title:"Connect With Us",link:"/contact-us",sublinks:[]},{title:"Quick Links",link:"/quick-links",sublinks:[{title:"Schoolaide Basic Education Portal",link:"https://schoolaide.dyci.edu.ph/register"},{title:"OSIRIS College Portal",link:"	http://103.65.184.147:8089/OSIRIS_DYCI/"},{title:"Schoology College Learning Portal",link:"https://dyci.schoology.com/login?&school=2558503832"}]}],Uw={meaning:"/meaning",identity:"/identity",spirituality:"/spirituality",innovations:"/innovations","organizational-memory":"/organizational-memory",norms:"/norms","stakeholders-centricity":"/stakeholders-centricity","connect-with-us":"/contact-us","explore-our-school":"/explore-our-school",servanthood:"/servanthood","join-our-team":"/join-our-team","data-privacy-policy":"/data-privacy-policy",admission:"/admission"},GD={default:"dr-yangas-colleges-inc",learnWithUs:"learn-with-us",meaning:"meaning",identity:"identity",spirituality:"spirituality",societalIntegration:"servanthood",innovationAndResearch:"innovations",organizationalMemory:"organizational-memory",norms:"norms",studentCentricity:"stakeholders-centricity",dycianNews:"dycian-news",exploreOurSchool:"explore-our-school",events:"events",joinOurTeam:"join-our-team",connectWithUs:"connect-with-us",dataPrivacyPolicy:"data-privacy-policy",admission:"admission"},qD={default:1,learnWithUs:2,meaning:3,identity:4,spirituality:5,societalIntegration:6,innovationAndResearch:7,organizationalMemory:8,norms:9,studentCentricity:10,dycianNews:11,exploreOurSchool:12,events:13,joinOurTeam:14,connectWithUs:15,dataPrivacyPolicy:16},$w={"learn-with-us":"/learn-with-us/:tag already resolves to a department","dycian-news":"/dycian-news/:slug already resolves to an article",events:"/events/:slug already resolves to an event","dr-yangas-colleges-inc":"this section is the home page, which has no sub-page segment"},KD=e=>{const t=String(e||"").toLowerCase();return!t||t in $w?"":Uw[t]||`/${t}`},pO=e=>{const t=String(e||"").toLowerCase();return!!t&&!(t in Uw)&&!(t in $w)},gO=(e,t)=>{const r=KD(e);return r&&t?`${r}/${t}`:""},QD="https://dyci.edu.ph/api".replace(/\/+$/,""),Je=QD,cn=async(e,t)=>{const r=await fetch(e,t);if(!r.ok)throw new Error(`HTTP ${r.status}`);const a=await r.json();return(a==null?void 0:a.data)||[]};let Al=null;const JD=()=>(Al||(Al=cn(`${Je}/manage-pages.php?action=read`).catch(e=>{throw Al=null,e})),Al),XD=(e,t)=>{const r=qD[t],a=String(GD[t]||t||"").toLowerCase();return(r?e.find(l=>Number(l.pageId)===Number(r)):null)||e.find(l=>String(l.pageSlug||"").toLowerCase()===a)||null},ZD=e=>e?{title:e.pageTitle||"",description:e.pageDescription||"",bannerLink:e.pageBannerLink||"",videoLink:e.pageVideoLink||"",showBanner:String(e.pageShowBanner??1)!=="0"}:null;let Uf=!1;const $f=new Set,Rv=e=>{Uf!==e&&(Uf=e,$f.forEach(t=>t()))},eR=e=>($f.add(e),()=>$f.delete(e)),tR=()=>k.useSyncExternalStore(eR,()=>Uf,()=>!1),nR=e=>{const[t,r]=k.useState(null);return k.useEffect(()=>{if(!e)return;let a=!1;return JD().then(s=>{if(a)return;const l=XD(s,e),u=String((l==null?void 0:l.pageStatus)||"Active")!=="Inactive";r(u?ZD(l):null)}
61).catch(s=>{a||(console.warn("[usePageBanner] falling back to bundled banner:",s.message),r(null))}),()=>{a=!0}},[e]),t},rR=({hasTopBar:e=!1})=>{var G;const t=Tt(),r=At(),[a,s]=k.useState(null),[l,u]=k.useState(!1),[d,h]=k.useState(!1),[m,g]=k.useState(!1),[v,x]=k.useState(""),b=k.useRef(null),S=k.useRef(null),E=k.useRef(null),C=r.pathname.startsWith("/dycian-news/"),D=r.pathname.startsWith("/announcements/"),_=r.pathname.startsWith("/events")||r.pathname.startsWith("/events/"),I=r.pathname.startsWith("/quick-links"),F=tR(),U=r.pathname.startsWith("/search"),J=r.pathname.startsWith("/learn-with-us/undergraduate/programs")||r.pathname.startsWith("/learn-with-us/undergraduate/"),W=r.pathname.startsWith("/learn-with-us/graduate/programs")||r.pathname.startsWith("/learn-with-us/graduate/"),T=r.pathname.startsWith("/learn-with-us/shs/tracks")||r.pathname.startsWith("/learn-with-us/shs/"),M=r.pathname.startsWith("/learn-with-us/pgs/"),O=r.pathname.startsWith("/learn-with-us/jhs/"),q=K=>{K&&t(K)},ae=k.useCallback(()=>{g(!1)},[]),ue=K=>{K.preventDefault();const ne=v.trim();ne.length<2||(g(!1),u(!1),t(`/search?q=${encodeURIComponent(ne)}`))},ge=K=>{s(a===K?null:K)},ce=k.useCallback(()=>{u(!1),s(null)},[]),ie=k.useCallback(K=>{l&&b.current&&!b.current.contains(K.target)&&ce();const ne=K.target.closest&&K.target.closest("[data-search-toggle]");m&&!ne&&E.current&&!E.current.contains(K.target)&&ae()},[ce,ae,l,m]),fe=()=>{h(window.scrollY>10)};k.useEffect(()=>(window.addEventListener("scroll",fe),()=>window.removeEventListener("scroll",fe)),[]),k.useEffect(()=>((l||m)&&document.addEventListener("mousedown",ie),()=>document.removeEventListener("mousedown",ie)),[l,m,ie]),k.useEffect(()=>{m&&S.current&&S.current.focus()},[m]),k.useEffect(()=>{if(!m)return;const K=ne=>{ne.key==="Escape"&&ae()};return document.addEventListener("keydown",K),()=>document.removeEventListener("keydown",K)},[m,ae]),k.useEffect(()=>
61{if(r.pathname==="/search"){const K=new URLSearchParams(r.search);x(K.get("q")||"")}g(!1)},[r.pathname,r.search]);const Y=Nl[0],Q=Nl.slice(1,9),X=Nl.slice(9,14),R=((G=Nl.slice(9).find(K=>K.title==="Quick Links"))==null?void 0:G.sublinks)||[];return f.jsx(f.Fragment,{children:f.jsxs("nav",{className:`${e?"sticky top-0":"fixed top-0"} w-full z-50 text-white text-xs transition-colors duration-500 ${d||C||D||_||I||U||J||W||T||O||M||F||e?"bg-navy-blue":"bg-transparent"}`,children:[f.jsxs("div",{className:"mx-auto px-4 flex items-center justify-between",children:[f.jsx("div",{className:"cursor-pointer",onClick:()=>q("/"),children:f.jsx("img",{src:"/assets/logo/dyci-logo-with-text-white.webp",alt:"DYCI Logo",className:"h-18"})}),f.jsxs("div",{className:"flex items-center gap-4 md:gap-8",children:[f.jsx("form",{ref:E,onSubmit:ue,role:"search",className:"flex items-center",children:m?f.jsxs("div",{className:"flex items-center gap-2 border-b border-white pb-1",children:[f.jsx("button",{type:"submit","aria-label":"Submit search",disabled:v.trim().length<2,className:"shrink-0 cursor-pointer disabled:cursor-not-allowed disabled:opacity-50",children:f.jsx(yf,{className:"w-5 h-5 text-white"})}),f.jsx("input",{ref:S,type:"search",value:v,onChange:K=>x(K.target.value),placeholder:"Search…","aria-label":"Search this website",className:"w-36 2xs:w-44 xxs:w-56 md:w-72 bg-transparent font-medium text-white placeholder:text-white/50 font-body text-[14px] outline-none py-1 [&::-webkit-search-cancel-button]:appearance-none"}),f.jsx("button",{type:"button",onClick:ae,"aria-label":"Close search",className:"text-white/70 hover:text-white cursor-pointer px-1 text-lg leading-none shrink-0",children:"×"})]}):f.jsxs("button",{type:"button","data-search-toggle":!0,className:"text-white focus:outline-none cursor-pointer flex items-center gap-3",onClick:()=>{u(!1),g(!0)},"aria-label":"Open search","aria-expanded":m,children:[f.jsx(yf,{className:"w-5 h-5"}),f.jsx("span",{className:"font-body font-medium uppercase text-[14px] text-shadow-2xs hidden md:inline",children:"Search"})]})}),f.jsxs("button",{className:"text-white focus:outline-none cursor-pointer flex items-center gap-3",onClick:()=>u(!l),"aria-label":"Open menu","aria-expanded":l,children:[f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})}),f.jsx("span",{className:"font-body font-medium uppercase text-[14px] text-shadow-2xs hidden md:inline",children:"Menu"})]})]})]}),l&&f.jsx("div",{className:"fixed inset-0 bg-black/70 z-40",onClick:ce}),f.jsxs("ul",{ref:b,className:`fixed top-0 left-0 h-screen w-72 bg-navy-blue text-white pt-12 flex flex-col transform ${l?"translate-x-0":"-translate-x-full"} transition-transform duration-300 z-50`,children:[f.jsxs("li",{className:"pl-6 my-2 pr-4",children:[f.jsxs("div",{className:`flex justify-between items-center font-semibold cursor-pointer ${a===0?"text-gold underline":"text-white"}`,onClick:()=>ge(0),children:[f.jsx("p",{className:`hover:text-gold font-body text-[14px] font-medium ${a===0?"text-gold underline":"text-white"}`,onClick:()=>q(`/${Y.link.split("/").pop()}`),children:Y.title}),Y.sublinks&&Y.sublinks.length>0&&f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"18px",width:"18px",fill:"currentColor",className:`ml-2 transform ${a===0?"rotate-180":""}`,viewBox:"0 -960 960 960",children:f.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})})]}),a===0&&Y.sublinks&&Y.sublinks.length>0&&f.jsx("ul",{className:"ml-4 mt-3 text-white rounded-md",children:Y.sublinks.map((K,ne)=>f.jsx("li",{className:"px-3 py-1",onClick:()=>q(`/${Y.link.split("/").pop()}/${K.link.split("/").pop()}`),children:f.jsx("span",{className:"block hover:text-gold cursor-pointer font-body font-medium text-[12px]",children:K.title})},ne))})]}),f.jsx("div",{className:"my-4"}),f.jsx("li",{className:"pl-6 font-medium text-2xl my-2 text-gold font-title",children:"Who We Are"}),Q.map((K,ne)=>f.jsxs("li",{className:"pl-6",children:[f.jsxs("div",{className:`flex justify-between items-center font-semibold cursor-pointer my-1 mr-4 ${a===ne+1?"text-gold underline":"text-white"}`,onClick:()=>K.sublinks&&K.sublinks.length>0?ge(ne+1):q(K.link),children:[f.jsx("p",{className:`hover:text-gold font-body text-[14px] font-medium ${a===ne+1?"text-gold":"text-white first-letter:text-gold first-letter:underline"}`,onClick:()=>q(K.link),children:K.title}),K.sublinks&&K.sublinks.length>0&&f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"18px",width:"18px",fill:"currentColor",className:`ml-2 transform ${a===ne+1?"rotate-180":""}`,viewBox:"0 -960 960 960",children:f.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})})]}),K.sublinks&&K.sublinks.length>0&&a===ne+1&&f.jsx("ul",{className:"ml-4 text-white mb-3",children:K.sublinks.map((ye,ve)=>f.jsx("li",{className:"px-3 py-1",onClick:()=>q(`/${K.link.split("/").pop()}/${ye.link.split("/").pop()}`),children:f.jsx("span",{className:"block hover:text-gold font-body text-[13px] font-medium cursor-pointer",children:ye.title})},ve))})]},ne)),f.jsx("hr",{className:"my-5 ml-6 mr-4 border-white/20"}),X.map((K,ne)=>f.jsxs("li",{className:"pl-6",children:[f.jsxs("div",{className:`flex justify-between items-center font-semibold cursor-pointer my-1 pr-4 ${a===ne+Q.length+1?"text-gold underline":"text-white"}`,onClick:()=>K.sublinks&&K.sublinks.length>0?ge(ne+Q.length+1):q(K.link),children:[f.jsx("p",{className:`hover:text-gold font-body text-[14px] font-medium ${a===ne+Q.length+1?"text-gold underline":"text-white"}`,onClick:()=>q(K.link),children:K.title}),K.sublinks&&K.sublinks.length>0&&f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"18px",width:"18px",fill:"currentColor",className:`ml-2 transform ${a===ne+Q.length+1?"rotate-180":""}`,viewBox:"0 -960 960 960",children:f.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})})]}),K.sublinks&&K.sublinks.length>0&&a===ne+Q.length+1&&f.jsx("ul",{className:"ml-4 text-white rounded-md",children:K.sublinks.map((ye,ve)=>f.jsx("li",{className:"px-3 py-1",onClick:()=>q(`/${K.link.split("/").pop()}/${ye.link.split("/").pop()}`),children:f.jsx("span",{className:"block hover:text-gold font-semibold cursor-pointer",children:ye.title})},ve))})]},ne)),f.jsx("hr",{className:"my-5 ml-6 mr-4 border-white/20"}),f.jsx("li",{className:"pl-6 font-medium text-2xl my-2 text-gold font-title",children:"Qu
61ick Links"}),R.map((K,ne)=>f.jsxs("li",{className:"pl-6",children:[f.jsxs("div",{className:`flex justify-between items-center font-semibold cursor-pointer my-1 pr-4 ${a===ne+Q.length+X.length+1?"text-gold underline":"text-white"}`,onClick:()=>K.sublinks&&K.sublinks.length>0?ge(ne+Q.length+X.length+1):q(K.link),children:[f.jsx("p",{className:`hover:text-gold font-body text-[14px] font-medium ${a===ne+Q.length+X.length+1?"text-gold underline":"text-white"}`,onClick:()=>q(K.link),children:K.title}),K.sublinks&&K.sublinks.length>0&&f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"18px",width:"18px",fill:"currentColor",className:`ml-2 transform ${a===ne+Q.length+X.length+1?"rotate-180":""}`,viewBox:"0 -960 960 960",children:f.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})})]}),K.sublinks&&K.sublinks.length>0&&a===ne+Q.length+X.length+1&&f.jsx("ul",{className:"ml-4 text-white rounded-md",children:K.sublinks.map((ye,ve)=>f.jsx("li",{className:"px-3 py-1",onClick:()=>q(`/${K.link.split("/").pop()}/${ye.link.split("/").pop()}`),children:f.jsx("span",{className:"block hover:text-gold font-semibold cursor-pointer",children:ye.title})},ve))})]},ne))]})]})})},Xl={counterFigures:{learnWithUsOld:[{label:"Years of Academic Excellence",figure:"75"},{label:"Academic Programs",figure:"20+"},{label:"National Competition Titles",figure:"50+"},{label:"International Competitions Participation",figure:"15+"}],learnWithUs:[{label:"Total Number of Enrolled Students for A.Y. 24-25",figure:"12205"},{label:"Academic Programs at DYCI",figure:"20"},{label:"National Competition Titles",figure:"50"},{label:"International Recognitions for Robotics",figure:"17"}],robotics:[{label:"Robotics Competitions Joined",figure:"122"},{label:"National Awards",figure:"51"},{label:"International Awards",figure:"18"},{label:"World Titles",figure:"7"},{label:"Patented Robotic Inventions",figure:"2"}],students:[{label:"Preschool & Grade School",figure:672},{label:"Junior High School",figure:2657},{label:"Senior High School",figure:2190},{label:"College",figure:6686}],sustainability:[{label:"World",figure:"1011th"},{label:"Asia",figure:"529nd"},{label:"Philippines",figure:"50th"},{label:"Energy and Climate (PH)",figure:"26th"},{label:"Transportation",figure:"36th"}]},contents:{tatay:{data:[{dataTitle:"A Man Who Valued Education",dataDescription:"Dr. Ismael E. Yanga Sr. or fondly called “Tatay” was the founder and first President of Dr. Yanga’s Colleges, Inc. (DYCI) formerly Dr. Yanga’s Francisco Balagtas Colleges (DYFBC)."},{dataTitle:"A Remarkable Achiever",dataDescription:"Tatay was Class Salutotorian, Secondary Level of the National University, graduated Summa Cum Laude at the University of Sto. Tomas with a degree in Medicine and  emerged as the topnotcher in the Medical Board Examination in 1993."},{dataTitle:"A Well-Known Doctor",dataDescription:"Tatay was the first Bulakeño to put up a medical factory. He later founded and established the first hospital in Bocaue, the Dr. Yanga’s General Hospital."},{dataTitle:"A Prolific Chemist",dataDescription:"Tatay developed the medicine “Sedina Burgos”, an analgesic that became instrumental for the cure of many illnesses of people."},{dataTitle:"A Father to Everyone",dataDescription:"Fondly called 'Tatay' by everyone from the students down to the employees of the school and even of the hospital, Tatay's fatherly concern and charisma were felt by all for his compassion for the marginalized in society."},{dataTitle:"A Music Lover",dataDescription:"Tatay organized a youth band wherein he provided free instruments to all the musicians. The renowed 'Banda 95 of Bocaue' came to existence through Tatay's pionerring effort."},{dataTitle:"A Philanthropist",dataDescription:"Tatay was a compassionate and generous man with a heart for the poor. He gave scholarships to deserving young students and organized special livelihood programs for them."},{dataTitle:"A Loving Father and Husband",dataDescription:"Tatay was married to Sofia R. Duran, a pharmacist from Cabanatuan City, and had five successful children:",subData:["Ismael, Jr. – was a very successful doctor based in the United States","Marcela - the pharmacist of the Dr. Yanga Hospital (DYH) that Tatay established","Marciano - was a professor and a doctoral degree holder in Animal Breeding and Nutrition","Maria - was a midwife, nutritionist, and highly instrumental in the establishment of DYCI and DYH","Elida - a retired obstetrician who likewise had a very successful c
61areer as medical doctor in the United States, and now the Chairman of the institution."]},{dataTitle:"A Distinguished Bulakeño",dataDescription:"In 1975, Tatay was a recipient of “Katangi-tanging Bulakenyo”, an award which recognized his contribution not only in his hometown but also in the entire province of Bulacan. After Tatay’s death in 1993, he received a Posthumous Award of 'Gawad Pagpupugay at Pagkilala' during the Rizal Day Celebration of the same year."},{dataTitle:"His Legacy Lives On",dataDescription:"After Tatay’s death, the seeds of his good deeds continue to flourish. DYH continues to serve the medical needs not only of the people in the town of Bocaue, but those of the neighboring towns. DYCI has grown into a progressive institution providing quality yet affordable education. For all of us, teachers, employees, and especially students of DYCI, it is of fervent hope that the life of our “Tatay” inspires us and be a source of strength always in every endeavor that we are to undertake in our lives."}]}},dataPrivacy:{title:"Data Privacy Policy and Consent of Website Users, Associated Portals and Online Platform of Dr. Yanga's Colleges, Inc.",information:[{title:"Consent",description:"By continuing to use the DYCI website and its related portals, you confirm your understanding and agreement with this policy. You also acknowledge that you can withdraw consent at any time, subject to legal and institutional requirements."},{title:"Contact Information",description:"For any questions or concerns regarding your personal data, please contact:",contact:[{department:"Information Technology Systems Service",email:"[email protected]",contact:"",website:""},{department:"Data-driven Excellence through Value-anchored and Effective Learning and Organizational Performance (DEVELOP) Office",email:"[email protected]",contact:"",website:"https://dyci.edu.ph"}]}]},connectWithUs:[{contactList:[{title:"basic-ed",list:[{department:"PreSchool and Grade School",tag:"pgs",email:"[email protected]",url:"https://www.facebook.com/YangaGSD",phone:"(044) 692 6750"},{department:"Junior High School",tag:"jhs",email:"[email protected]",url:"https://www.facebook.com/@YangaJHS",phone:"(044) 692 6750"},{department:"Senior High School",tag:"shs",email:"[email protected]",url:"https://www.facebook.com/YangaSHS",phone:"(044) 692 6750"}]},{title:"college",list:[{department:"College of Education",tag:"coed",email:"[email protected]",url:"https://www.facebook.com/coed.dyci",phone:""},{department:"College of Hospitality Management and Tourism",tag:"chmt",email:"",url:"https://www.facebook.com/chmt.dyci",phone:""},{department:"College of Art and Sciences",tag:"cas",email:"[email protected]",url:"https://www.facebook.com/dycicas",phone:""},{department:"College of Maritime Education",tag:"cme",email:"",url:"https://www.facebook.com/dyci.maritime",phone:"(+639)966-847-5012 (Rey)"},{department:"College of Computer Studies",tag:"ccs",email:"",url:"https://www.facebook.com/dyciccs",phone:""},{department:"College of Health Sciences",tag:"chs",email:"[email protected]",url:"https://www.facebook.com/dyci.chs",phone:""},{department:"School of Psychology",tag:"sop",email:"",url:"https://www.facebook.com/profile.php?id=61550471671070",phone:"(+639)936-761-4896"},{department:"School of Mechanical Engineering",tag:"sme",email:"[email protected]",url:"https://www.facebook.com/dycisme",phone:""},{department:"College of Accountancy",tag:"coa",email:"[email protected]",url:"https://www.facebook.com/dyci.coa",phone:""},{department:"College of Business Administration",tag:"cba",email:"",url:"https://www.facebook.com/@dycicba/",phone:""}]}]}],cookieConsent:[{title:"",message:["We use cookies to enhance your browsing experience, analyze website traffic, and personalize content. ","By continuing to use our site, you agree to our Cookie Policy. You can manage your cookie preferences at any time."],url:"/data-privacy-policy"}]},Ww=6048e5,iR=864e5,yO=6e4,vO=36e5,Nv=Symbol.for("constructDateFrom");function ii(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Nv in e?e[Nv](t):e instanceof Date?new e.constructor(t):new Date(t)}function $n(e,t){return ii(t||e,e)}let aR={};function Du(){return aR}function Xs(e,t){var d,h,m,g;const r=Du(),a=(t==null?void 0:t.weekStartsOn)??((h=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??r.weekStartsOn??((g=(m=r.locale)==null?void 0:m.options)==null?void 0:g.weekStartsOn)??0,s=$n(e,t==null?void 0:t.in),l=s.getDay(),u=(l<a?7:0)+l-a;return s.setDate(s.getDate()-u),s.setHours(0,0,0,0),s}function pu(e,t){return Xs(e,{...t,weekStartsOn:1}
vendor: 7,535 bytes, line 61
61)}function Hw(e,t){const r=$n(e,t==null?void 0:t.in),a=r.getFullYear(),s=ii(r,0);s.setFullYear(a+1,0,4),s.setHours(0,0,0,0);const l=pu(s),u=ii(r,0);u.setFullYear(a,0,4),u.setHours(0,0,0,0);const d=pu(u);return r.getTime()>=l.getTime()?a+1:r.getTime()>=d.getTime()?a:a-1}function Av(e){const t=$n(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function sR(e,...t){const r=ii.bind(null,t.find(a=>typeof a=="object"));return t.map(r)}function Lv(e,t){const r=$n(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function oR(e,t,r){const[a,s]=sR(r==null?void 0:r.in,e,t),l=Lv(a),u=Lv(s),d=+l-Av(l),h=+u-Av(u);return Math.round((d-h)/iR)}function lR(e,t){const r=Hw(e,t),a=ii(e,0);return a.setFullYear(r,0,4),a.setHours(0,0,0,0),pu(a)}function uR(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function cR(e){return!(!uR(e)&&typeof e!="number"||isNaN(+$n(e)))}function dR(e,t){const r=$n(e,t==null?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}const fR={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},hR=(e,t,r)=>{let a;const s=fR[e];return typeof s=="string"?a=s:t===1?a=s.one:a=s.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+a:a+" ago":a};function Xd(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const mR={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},pR={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},gR={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},yR={date:Xd({formats:mR,defaultWidth:"full"}),time:Xd({formats:pR,defaultWidth:"full"}),dateTime:Xd({formats:gR,defaultWidth:"full"})},vR={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},xR=(e,t,r,a)=>vR[e];function As(e){return(t,r)=>{const a=r!=null&&r.context?String(r.context):"standalone";let s;if(a==="formatting"&&e.formattingValues){const u=e.defaultFormattingWidth||e.defaultWidth,d=r!=null&&r.width?String(r.width):u;s=e.formattingValues[d]||e.formattingValues[u]}else{const u=e.defaultWidth,d=r!=null&&r.width?String(r.width):e.defaultWidth;s=e.values[d]||e.values[u]}const l=e.argumentCallback?e.argumentCallback(t):t;return s[l]}}const wR={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},bR={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},SR={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},CR={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},kR={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ER={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},TR=(e,t)=>{const r=Number(e),a=r%100;if(a>20||a<10)switch(a%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},PR={ordinalNumber:TR,era:As({values:wR,defaultWidth:"wide"}),quarter:As({values:bR,defaultWidth:"wide",argumentCallback:e=>e-1}),month:As({values:SR,defaultWidth:"wide"}),day:As({values:CR,defaultWidth:"wide"}),dayPeriod:As({values:kR,defaultWidth:"wide",formattingValues:ER,defaultFormattingWidth:"wide"})};function Ls(e){return(t,r={})=>{const a=r.width,s=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],l=t.match(s);if(!l)return null;const u=l[0],d=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],h=Array.isArray(d)?DR(d,v=>v.test(u)):jR(d,v=>v.test(u));let m;m=e.valueCallback?e.valueCallback(h):h,m=r.valueCallback?r.valueCallback(m):m;const g=t.slice(u.length);return{value:m,rest:g}}}function jR(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function DR(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function RR(e){return(t,r={})=>{const a=t.match(e.matchPattern);if(!a)return null;const s=a[0],l=t.match(e.parsePattern);if(!l)return null;let u=e.valueCallback?e.valueCallback(l[0]):l[0];u=r.valueCallback?r.valueCallback(u):u;const d=t.slice(s.length);return{value:u,rest:d}}}const NR=/^(\d+)(th|st|nd|rd)?/i,AR=/\d+/i,LR={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},MR={any:[/^b/i,/^(a|c)/i]},OR={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},IR={any:[/1/i,/2/i,/3/i,/4/i]},_R={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},FR={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},VR={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},BR={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},zR={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},UR={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}}
vendor: 7,440 bytes, line 61
61,$R={ordinalNumber:RR({matchPattern:NR,parsePattern:AR,valueCallback:e=>parseInt(e,10)}),era:Ls({matchPatterns:LR,defaultMatchWidth:"wide",parsePatterns:MR,defaultParseWidth:"any"}),quarter:Ls({matchPatterns:OR,defaultMatchWidth:"wide",parsePatterns:IR,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ls({matchPatterns:_R,defaultMatchWidth:"wide",parsePatterns:FR,defaultParseWidth:"any"}),day:Ls({matchPatterns:VR,defaultMatchWidth:"wide",parsePatterns:BR,defaultParseWidth:"any"}),dayPeriod:Ls({matchPatterns:zR,defaultMatchWidth:"any",parsePatterns:UR,defaultParseWidth:"any"})},WR={code:"en-US",formatDistance:hR,formatLong:yR,formatRelative:xR,localize:PR,match:$R,options:{weekStartsOn:0,firstWeekContainsDate:1}};function HR(e,t){const r=$n(e,t==null?void 0:t.in);return oR(r,dR(r))+1}function YR(e,t){const r=$n(e,t==null?void 0:t.in),a=+pu(r)-+lR(r);return Math.round(a/Ww)+1}function Yw(e,t){var g,v,x,b;const r=$n(e,t==null?void 0:t.in),a=r.getFullYear(),s=Du(),l=(t==null?void 0:t.firstWeekContainsDate)??((v=(g=t==null?void 0:t.locale)==null?void 0:g.options)==null?void 0:v.firstWeekContainsDate)??s.firstWeekContainsDate??((b=(x=s.locale)==null?void 0:x.options)==null?void 0:b.firstWeekContainsDate)??1,u=ii((t==null?void 0:t.in)||e,0);u.setFullYear(a+1,0,l),u.setHours(0,0,0,0);const d=Xs(u,t),h=ii((t==null?void 0:t.in)||e,0);h.setFullYear(a,0,l),h.setHours(0,0,0,0);const m=Xs(h,t);return+r>=+d?a+1:+r>=+m?a:a-1}function GR(e,t){var d,h,m,g;const r=Du(),a=(t==null?void 0:t.firstWeekContainsDate)??((h=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((g=(m=r.locale)==null?void 0:m.options)==null?void 0:g.firstWeekContainsDate)??1,s=Yw(e,t),l=ii((t==null?void 0:t.in)||e,0);return l.setFullYear(s,0,a),l.setHours(0,0,0,0),Xs(l,t)}function qR(e,t){const r=$n(e,t==null?void 0:t.in),a=+Xs(r,t)-+GR(r,t);return Math.round(a/Ww)+1}function qe(e,t){const r=e<0?"-":"",a=Math.abs(e).toString().padStart(t,"0");return r+a}const qr={y(e,t){const r=e.getFullYear(),a=r>0?r:1-r;return qe(t==="yy"?a%100:a,t.length)},M(e,t){const r=e.getMonth();return t==="M"?String(r+1):qe(r+1,2)},d(e,t){return qe(e.getDate(),t.length)},a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return qe(e.getHours()%12||12,t.length)},H(e,t){return qe(e.getHours(),t.length)},m(e,t){return qe(e.getMinutes(),t.length)},s(e,t){return qe(e.getSeconds(),t.length)},S(e,t){const r=t.length,a=e.getMilliseconds(),s=Math.trunc(a*Math.pow(10,r-3));return qe(s,t.length)}},va={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Mv={G:function(e,t,r){const a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(a,{width:"abbreviated"});case"GGGGG":return r.era(a,{width:"narrow"});case"GGGG":default:return r.era(a,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){const a=e.getFullYear(),s=a>0?a:1-a;return r.ordinalNumber(s,{unit:"year"})}return qr.y(e,t)},Y:function(e,t,r,a){const s=Yw(e,a),l=s>0?s:1-s;if(t==="YY"){const u=l%100;return qe(u,2)}return t==="Yo"?r.ordinalNumber(l,{unit:"year"}):qe(l,t.length)},R:function(e,t){const r=Hw(e);return qe(r,t.length)},u:function(e,t){const r=e.getFullYear();return qe(r,t.length)},Q:function(e,t,r){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return qe(a,2);case"Qo":return r.ordinalNumber(a,{unit:"quarter"});case"QQQ":return r.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,r){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return qe(a,2);case"qo":return r.ordinalNumber(a,{unit:"quarter"});case"qqq":return r.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,r){const a=e.getMonth();switch(t){case"M":case"MM":return qr.M(e,t);case"Mo":return r.ordinalNumber(a+1,{unit:"month"});case"MMM":return r.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,r){const a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return qe(a+1,2);case"Lo":return r.ordinalNumber(a+1,{unit:"month"});case"LLL":return r.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,r,a){const s=qR(e,a);return t==="wo"?r.ordinalNumber(s,{unit:"week"}):qe(s,t.length)},I:function(e,t,r){const a=YR(e);return t==="Io"?r.ordinalNumber(a,{unit:"week"}):qe(a,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):qr.d(e,t)},D:function(e,t,r){const a=HR(e);return t==="Do"?r.ordinalNumber(a,{unit:"dayOfYear"}):qe(a,t.length)},E:function(e,t,r){const a=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(a,{width:"short",context:"formatting"});case"EEEE":default:return r.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,r,a){const s=e.getDay(),l=(s-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(l);case"ee":return qe(l,2);case"eo":return r.ordinalNumber(l,{unit:"day"});case"eee":return r.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(s,{width:"short",context:"formatting"});case"eeee":default:return r.day(s,{width:"wide",context:"formatting"})}},c:function(e,t,r,a){const s=e.getDay(),l=(s-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(l);case"cc":return qe(l,t.length);case"co":return r.ordinalNumber(l,{unit:"day"});case"ccc":return r.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(s,{width:"narrow",context:"standalone"});case"cccccc":return r.day(s,{width:"short",context:"standalone"});case"cccc":default:return r.day(s,{width:"wide",context:"standalone"})}},i:function(e,t,r){const a=e.getDay(),s=a===0?7:a;switch(t){case"i":return String(s);case"ii":return qe(s,t.length);case"io":return r.ordinalNumber(s,{unit:"day"});case"iii":return r.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(a,{width:"short",context:"formatting"});case"iiii":default:return r.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,r){const s=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(e,t,r){const a=e.getHours();let s;switch(a===12?s=va.noon:a===0?s=va.midnight:s=a/12>
vendor: 4,394 bytes, line 61
61=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(e,t,r){const a=e.getHours();let s;switch(a>=17?s=va.evening:a>=12?s=va.afternoon:a>=4?s=va.morning:s=va.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let a=e.getHours()%12;return a===0&&(a=12),r.ordinalNumber(a,{unit:"hour"})}return qr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):qr.H(e,t)},K:function(e,t,r){const a=e.getHours()%12;return t==="Ko"?r.ordinalNumber(a,{unit:"hour"}):qe(a,t.length)},k:function(e,t,r){let a=e.getHours();return a===0&&(a=24),t==="ko"?r.ordinalNumber(a,{unit:"hour"}):qe(a,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):qr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):qr.s(e,t)},S:function(e,t){return qr.S(e,t)},X:function(e,t,r){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return Iv(a);case"XXXX":case"XX":return Ti(a);case"XXXXX":case"XXX":default:return Ti(a,":")}},x:function(e,t,r){const a=e.getTimezoneOffset();switch(t){case"x":return Iv(a);case"xxxx":case"xx":return Ti(a);case"xxxxx":case"xxx":default:return Ti(a,":")}},O:function(e,t,r){const a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ov(a,":");case"OOOO":default:return"GMT"+Ti(a,":")}},z:function(e,t,r){const a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ov(a,":");case"zzzz":default:return"GMT"+Ti(a,":")}},t:function(e,t,r){const a=Math.trunc(+e/1e3);return qe(a,t.length)},T:function(e,t,r){return qe(+e,t.length)}};function Ov(e,t=""){const r=e>0?"-":"+",a=Math.abs(e),s=Math.trunc(a/60),l=a%60;return l===0?r+String(s):r+String(s)+t+qe(l,2)}function Iv(e,t){return e%60===0?(e>0?"-":"+")+qe(Math.abs(e)/60,2):Ti(e,t)}function Ti(e,t=""){const r=e>0?"-":"+",a=Math.abs(e),s=qe(Math.trunc(a/60),2),l=qe(a%60,2);return r+s+t+l}const _v=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Gw=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},KR=(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],a=r[1],s=r[2];if(!s)return _v(e,t);let l;switch(a){case"P":l=t.dateTime({width:"short"});break;case"PP":l=t.dateTime({width:"medium"});break;case"PPP":l=t.dateTime({width:"long"});break;case"PPPP":default:l=t.dateTime({width:"full"});break}return l.replace("{{date}}",_v(a,t)).replace("{{time}}",Gw(s,t))},QR={p:Gw,P:KR},JR=/^D+$/,XR=/^Y+$/,ZR=["D","DD","YY","YYYY"];function eN(e){return JR.test(e)}function tN(e){return XR.test(e)}function nN(e,t,r){const a=rN(e,t,r);if(console.warn(a),ZR.includes(e))throw new RangeError(a)}function rN(e,t,r){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const iN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,aN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,sN=/^'([^]*?)'?$/,oN=/''/g,lN=/[a-zA-Z]/;function gu(e,t,r){var g,v,x,b;const a=Du(),s=a.locale??WR,l=a.firstWeekContainsDate??((v=(g=a.locale)==null?void 0:g.options)==null?void 0:v.firstWeekContainsDate)??1,u=a.weekStartsOn??((b=(x=a.locale)==null?void 0:x.options)==null?void 0:b.weekStartsOn)??0,d=$n(e,r==null?void 0:r.in);if(!cR(d))throw new RangeError("Invalid time value");let h=t.match(aN).map(S=>{const E=S[0];if(E==="p"||E==="P"){const C=QR[E];return C(S,s.formatLong)}return S}).join("").match(iN).map(S=>{if(S==="''")return{isToken:!1,value:"'"};const E=S[0];if(E==="'")return{isToken:!1,value:uN(S)};if(Mv[E])return{isToken:!0,value:S};
61if(E.match(lN))throw new RangeError("Format string contains an unescaped latin alphabet character `"+E+"`");return{isToken:!1,value:S}});s.localize.preprocessor&&(h=s.localize.preprocessor(d,h));const m={firstWeekContainsDate:l,weekStartsOn:u,locale:s};return h.map(S=>{if(!S.isToken)return S.value;const E=S.value;(tN(E)||eN(E))&&nN(E,t,String(e));const C=Mv[E[0]];return C(d,E,s.localize,m)}).join("")}function uN(e){const t=e.match(sN);return t?t[1].replace(oN,"'"):e}function cN(e,t){if(typeof Proxy>"u")return Gd;const r=new Map,a=(l,u)=>Gd(l,u,e,t),s=(l,u)=>a(l,u);return new Proxy(s,{get:(l,u)=>u==="create"?a:(r.has(u)||r.set(u,Gd(u,void 0,e,t)),r.get(u))})}const dN=cN(HD,uD),ti=({children:e,delay:t=0})=>f.jsx(dN.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t},children:e}),kt=()=>f.jsx("div",{className:"z-9999 fixed inset-0 flex flex-col items-center justify-center space-y-6 bg-white transition-opacity duration-500",children:f.jsx("img",{src:"/assets/logo/dyci-logo-ss.png",alt:"Loading Logo",className:"h-60 animate-pulse"})}),qw=({currentPage:e,totalPages:t,onPageChange:r,maxButtons:a=7})=>{if(t<=1)return null;let s=Math.max(1,e-Math.floor(a/2)),l=s+a-1;l>t&&(l=t,s=Math.max(1,l-a+1));const u=Array.from({length:l-s+1},(x,b)=>s+b),d="w-8 h-8 flex items-center justify-center rounded-full text-sm transition-colors duration-150 cursor-pointer",h=`${d} bg-gold text-white font-bold cursor-default`,m=`${d} text-dark-blue font-semibold hover:bg-gray-100`,g=`${d} text-gray-300 cursor-not-allowed`,v="w-8 h-8 flex items-center justify-center text-gray-400 select-none";return f.jsx("nav",{className:"flex justify-center my-10 py-2","aria-label":"Pagination",children:f.jsxs("ul",{className:"inline-flex items-center gap-1.5",children:[f.jsx("li",{children:f.jsx("button",{onClick:()=>r(e-1),disabled:e===1,"aria-label":"Previous page",className:e===1?g:m,children:"‹"})}),s>1&&f.jsxs(f.Fragment,{children:[f.jsx("li",{children:f.jsx("button",{onClick:()=>r(1),className:m,children:"1"})}),s>2&&f.jsx("li",{className:v,children:"…"})]}),u.map(x=>f.jsx("li",{children:f.jsx("button",{onClick:()=>x!==e&&r(x),"aria-current":x===e?"page":void 0,className:x===e?h:m,children:x})},x)),l<t&&f.jsxs(f.Fragment,{children:[l<t-1&&f.jsx("li",{className:v,children:"…"}),f.jsx("li",{children:f.jsx("button",{onClick:()=>r(t),className:m,children:t})})]}),f.jsx("li",{children:f.jsx("button",{onClick:()=>r(e+1),disabled:e===t,"aria-label":"Next page",className:e===t?g:m,children:"›"})})]})})},fN="/assets/banners/dyci-white.webp",_h=({categoryFilter:e,topicFilter:t})=>{const[r,a]=k.useState([]),[s,l]=k.useState(!0),[u,d]=k.useState(null),[h,m]=k.useState(1),[g,v]=k.useState(1),x=Tt(),b=F=>F.toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w-]+/g,""),S=(F,U)=>{const J=r.find(M=>String(M.articleID)===String(F));if(!J){console.error("Article not found for articleID:",F);return}const W=b(J.articleTitle),T=U||J.articleCategory||"dycianNews";console.log("Navigating to:",`/dycian-news/${W}`,{state:{articleID:F,category:T}}),x(`/dycian-news/${W}`,{state:{articleID:F,category:T}})};k.useEffect(()=>{(async()=>{l(!0);let U="all";const J=e==null?void 0:e.toUpperCase();J==="ALL"?U="all":J==="CAMPUS NEWS"?U="Campus News":J==="OUTSIDE NEWS"&&(U="Outside News");const W=t?`&topicFilter=${encodeURIComponent(t)}`:"";try{const T=await fetch(`${Je}/get-articles.php?mode=paginate&page=${h}&category=${encodeURIComponent(U)}&status=Published${W}`,{headers:{Accept:"application/json"}});if(!T.ok)throw new Error(`Server returned ${T.status}`);const M=await T.json(),O=M.data||[];a(O),M.total&&M.limit?v(Math.ceil(M.total/M.limit)):v(1)}catch(T){console.error("Fetch Error:",T),d("Failed to fetch news. Please check your connection.")}finally{l(!1)}})()},[h,e,t]);const E=F=>{if(!F)return null;const U=F.trim();if(/^\d{8}$/.test(U)){const J=parseInt(U.substring(0,2),10)-1,W=parseInt(U.substring(2,4),10),T=parseInt(U.substring(4,8),10),M=new Date(T,J,W);return isNaN(M.getTime())?null:M}else if(!isNaN(Date.parse(U))){const J=new Date(U);return isNaN(J.getTime())?null:J}return null},D=[...t?r.filter(F=>{var U;return(U=F.articleTopic)==null?void 0:U.split(",").map(J=>J.trim().toUpperCase()).includes(t.toUpperCase())}):r].sort((F,U)=>{const J=E(F.articlePublishedDate),W=E(U.articlePublishedDate);return!J&&!W?0:J?W?W-J:-1:1}),_=F=>{F>=1&&F<=g&&F!==h&&m(F)},I=F=>{if(!F)return null;const U=F.split(",").map(J=>
61J.trim()).filter(Boolean).slice(0,3);return U.length?f.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:U.map((J,W)=>f.jsx("span",{className:"inline-flex items-center rounded-full bg-navy-blue px-2 py-0.5 text-[10px] sm:text-xs text-white font-medium",children:J},`${J}-${W}`))}):null};return f.jsx(f.Fragment,{children:f.jsx("div",{className:"mx-auto py-8",children:u?f.jsx(ln,{variant:"section",code:"Error",title:"We couldn't load this content.",message:u}):s?f.jsx("p",{className:"text-gray-300 text-sm text-center align-center"}):f.jsxs(f.Fragment,{children:[f.jsx("div",{className:"",children:f.jsx("div",{className:"grid sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3 gap-6 overflow-hidden",children:Array.isArray(D)&&D.length>0?D.map(F=>{const U=E(F.articlePublishedDate);return f.jsx(ti,{delay:.3,children:f.jsxs("div",{className:"w-full flex flex-col py-6 justify-start overflow-hidden cursor-pointer transition-all duration-300",onClick:()=>S(F.articleID,F.articleCategory),children:[f.jsx("div",{className:"shrink-0",children:f.jsx("img",{src:F.articleBannerImage||fN,alt:F.articleTitle,className:"w-full h-48 sm:h-60 md:h-72 lg:h-80 object-cover"})}),f.jsxs("div",{className:"pt-3 flex flex-col grow",children:[U&&f.jsx("p",{className:"text-[10px] sm:text-xs md:text-sm text-gold opacity-90 mb-1 uppercase font-medium",children:gu(U,"MMMM dd, yyyy")}),f.jsx("p",{className:"text-2xl font-medium text-navy-blue mb-2 line-clamp-2 leading-tight font-title",children:F.articleTitle}),I(F.articleTopic)]})]})},F.articleID)}):f.jsx("p",{className:"text-gray-500 text-md",children:"No news available."})})}),f.jsx(qw,{currentPage:h,totalPages:g,onPageChange:_})]})})})};function Kw(e){return me({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"},child:[]}]})(e)}function xO(e){return me({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M496 128v16a8 8 0 0 1-8 8h-24v12c0 6.627-5.373 12-12 12H60c-6.627 0-12-5.373-12-12v-12H24a8 8 0 0 1-8-8v-16a8 8 0 0 1 4.941-7.392l232-88a7.996 7.996 0 0 1 6.118 0l232 88A8 8 0 0 1 496 128zm-24 304H40c-13.255 0-24 10.745-24 24v16a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8v-16c0-13.255-10.745-24-24-24zM96 192v192H60c-6.627 0-12 5.373-12 12v20h416v-20c0-6.627-5.373-12-12-12h-36V192h-64v192h-64V192h-64v192h-64V192H96z"},child:[]}]})(e)}function Qw(e){return me({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"},child:[]}]})(e)}function wO(e){return me({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"},child:[]}]})(e)}function Jw(e){return me({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"},child:[]}]})(e)}function bO(e){return me({attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"},child:[]}]})(e)}const Xw=({data:e=[],departmentTag:t})=>{const r=Tt(),[a,s]=k.useState(""),l=k.useMemo(()=>{const h=e;if(!a.trim())return h;const m=a.toLowerCase();return h.filter(g=>{const v=(g.gradeName||g.programName||g.collegeName||g.title||"").toLowerCase(),x=(g.gradeLevelTag||g.programTag||g.collegeTag||g.tag||"").toLowerCase();return v.includes(m)||x.includes(m)})},[e,t,a]),u=h=>{switch(h.departmentTag){case"pgs":return"/learn-with-us/pgs/grade-levels";case"jhs":return"/learn-with-us/jhs/grade-levels";case"shs":return"/learn-with-us/shs";case"undergraduate":return"/learn-with-us/undergraduate/programs";case"graduate":return"/learn-with-us/graduate/programs";default:return"/learn-with-us"}},d=h=>h.gradeLevelTag||h.gradeTag||h.programTag||h.collegeTag||h.tag||"";return f.jsxs(f.Fragment,{children:[f.jsx("div",{className:"mt-5 mb-6",children:f.jsxs("div",{className:"relative",children:[f.jsx("input",{type:"text",value:a,onChange:h=>s(h.target.value),placeholder:"Search",className:"w-full rounded-full border border-gray-200 bg-white py-3 pl-11 pr-4 font-body text-[15px] text-gray-300 outline-none"}),f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-gray-400",children:[f.jsx("circle",{cx:"11",cy:"11",r:"8"}),f.jsx("path",{d:"m21 21-4.3-4.3"})]})]})}),f.jsx("div",{className:"grid my-4",children:l.length>0?l.map((h,m)=>f.jsxs("div",{onClick:()=>{const g=d(h);r(g?`${u(h)}/${g}`:u(h))},className:"group flex items-center justify-between border-b border-gray-200 py-5 cursor-pointer hover:bg-gray-50 transition-colors duration-200",children:[f.jsxs("div",{children:[f.jsx("p",{className:"text-2xl font-title text-black",children:h.gradeName||h.programName||h.collegeName||h.title}),f.jsxs("p",{className:"mt-1 text-[12px] font-light uppercase tracking-wide text-gray-300",children:[h.programTag||h.collegeTag||h.acronym||h.tag," | ",h.collegeName]})]}),f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"w-6 h-6 text-gold group-hover:text-navy-blue transition-colors",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})})]},h.programID||h.collegeID||h.gradeLevelID||h.tag||m)):f.jsx("div",{className:" text-left",children:f.jsx("p",{className:"font-title text-md text-gray-300 font-medium",children:"No related results found."})})})]})};let Ll=null;const hN=()=>(Ll||(Ll=cn(`${Je}/collegedepartments.php?action=get`).catch(e=>{throw Ll=null,e})),Ll),Zw=e=>{const[t,r]=k.useState([]),[a,s]=k.useState(!0);return k.useEffect(()=>{let l=!1;return s(!0),hN().then(u=>{if(l)return;const d=e?(u||[]).filter(h=>String(h.departmentTag||"")===String(e)):u||[];r(d),s(!1)}).catch(u=>{l||(console.warn("[useColleges] could not read the colleges table:",u.message),r([]),s(!1))}),()=>{l=!0}},[e]),{colleges:t,loading:a}},mN=async e=>{const t=encodeURIComponent(e),r=u=>cn(u).catch(()=>[]),[a,s,l]=await Promise.all([cn(`${Je}/collegedepartments.php?action=get&collegeTag=${t}`),r(`${Je}/programs.php?action=get&departmentTag=undergraduate&collegeTag=${t}`),r(`${Je}/programs.php?action=get&departmentTag=graduate&collegeTag=${t}`)]);return{college:a[0]||null,undergraduate:s,graduate:l}},pN="https://dyci.edu.ph",gN=e=>{const t=String(e||"").trim();return t?/^https?:\/\//i.test(t)?t:`${pN}${t}`:""}
61,yN="/assets/banners/dyci-white.webp",e1=({departmentTag:e="undergraduate",columnsClass:t="sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3"})=>{const r=Tt(),{colleges:a,loading:s}=Zw(e);return s||a.length===0?null:f.jsx("div",{className:`grid ${t}`,children:a.map(l=>f.jsx("div",{className:"cursor-pointer flex flex-col h-full",onClick:()=>r(`/learn-with-us/colleges/${l.collegeTag}`),children:f.jsxs("div",{className:"relative w-full h-96 md:h-112 lg:h-128 overflow-hidden group",children:[f.jsx("img",{loading:"lazy",src:gN(l.collegeBannerImage)||yN,alt:l.collegeName,className:"w-full h-full object-cover transition-transform duration-500 ease-out group-hover:scale-125"}),f.jsxs("div",{className:"absolute inset-0 bg-[linear-gradient(to_bottom,transparent_50%,rgba(8,6,119,0.5)_85%,rgba(8,6,119,0.95)_100%)] flex items-end p-6",children:[f.jsxs("div",{className:"flex flex-col leading-tight",children:[f.jsx("p",{className:"text-xs uppercase tracking-widest font-extrabold text-gold font-body",children:l.collegeTag}),f.jsx("p",{className:"text-3xl md:text-4xl text-white font-title mt-2",children:l.collegeName})]}),f.jsx("div",{className:"ml-auto justify-end",children:f.jsx("button",{className:"text-white font-medium","aria-label":`Open ${l.collegeName}`,children:f.jsx("span",{children:f.jsx(qk,{size:24})})})})]})]})},l.collegeID))})},vN=e=>{try{const t=new URL(e,window.location.origin),r=t.hostname.replace(/^www\./,"");if(!/(^|\.)(youtube\.com|youtube-nocookie\.com|youtu\.be)$/.test(r))return null;const a=r==="youtu.be"?t.pathname.slice(1):t.searchParams.get("v")||t.pathname.split("/").pop();return a?{id:a,list:t.searchParams.get("list")}:null}catch{return null}},xN=({src:e,poster:t,posterTime:r=.1,title:a,subtitle:s,description:l,ctaText:u="Watch the video",overlay:d,overlayClass:h="bg-black/50",fullWidth:m=!1,aspect:g="16 / 9",minHeightClass:v="min-h-[26rem] sm:min-h-0",background:x=!1,autoPlay:b=!1,loop:S=x,muted:E=x||b,controls:C=!x,bgClass:D="bg-white",dark:_=!1,className:I=""})=>{const F=k.useRef(null),[U,J]=k.useState(x||b);if(!e)return null;const W=x||b,T=!!(s||a||l),M=(d??m)&&!x,O=vN(e),q=O?t||`https://img.youtube.com/vi/${O.id}/maxresdefault.jpg`:null,ae=O?`https://www.youtube-nocookie.com/embed/${O.id}?${new URLSearchParams({autoplay:"1",rel:"0",playsinline:"1",...O.list?{list:O.list}:{},...E?{mute:"1"}:{},...S?{loop:"1",playlist:O.id}:{},...C?{}:{controls:"0"}}).toString()}`:null,ue=t||W?e:`${e}#t=${r}`,ge=()=>{const Q=F.current;if(!(!Q||t||W||U)&&Q.currentTime===0)try{Q.currentTime=r}catch{}},ce=()=>{J(!0);const Q=F.current;O||!Q||(Q.currentTime=0,Q.play().catch(()=>{}))},ie=!x&&!U,fe=f.jsxs("div",{className:`relative w-full overflow-hidden bg-dark-blue ${v} ${m?"":"rounded-2xl shadow-lg"}`,style:{aspectRatio:g},children:[O?U?f.jsx("iframe",{src:ae,title:a||"Video",className:"absolute inset-0 h-full w-full",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,frameBorder:"0"}):f.jsx("img",{src:q,alt:a||"",className:"absolute inset-0 h-full w-full object-cover",onError:Q=>{t||(Q.currentTarget.src=`https://img.youtube.com/vi/${O.id}/hqdefault.jpg`)}}):f.jsx("video",{ref:F,src:ue,poster:t,className:"absolute inset-0 h-full w-full object-cover",preload:W?"auto":"metadata",controls:C&&U,autoPlay:W,loop:S,muted:E,playsInline:!0,onLoadedMetadata:ge,onPlay:()=>J(!0)}),ie&&f.jsxs(f.Fragment,{children:[f.jsx("button",{type:"button",onClick:ce,"aria-label":a?`Play ${a}`:"Play video",className:`absolute inset-0 hover:cursor-pointer ${h}`}),M&&T&&f.jsx("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(to_right,rgba(0,0,0,0.75)_0%,rgba(0,0,0,0.45)_45%,transparent_80%)]"}),M?f.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center",children:f.jsxs("div",{className:"w-full max-w-3xl px-5 py-10 sm:px-8 md:px-12 lg:px-20",children:[s&&f.jsx("p",{className:"mb-4 text-xs font-semibold uppercase tracking-[0.28em] text-gold sm:text-sm",children:s}),a&&f.jsx("p",{className:"font-title text-4xl font-medium leading-none text-white drop-shadow-md sm:text-5xl lg:text-6xl",children:a}),l&&f.jsx("p",{className:"mt-5 max-w-2xl font-body text-sm leading-relaxed text-white/85 drop-shadow-md sm:text-base",children:l}),f.jsxs("button",{type:"button",onClick:ce,className:"group pointer-events-auto mt-8 flex items-center gap-4 text-left hover:cursor-pointer",children:[f.jsx("span",{className:"flex size-12 shrink-0 items-center justify-center rounded-full bg-gold text-white transition group-hover:scale-110 sm:size-14",children:f.jsx(py,{size:20,className:"ml-1"})}),u&&f.jsx("span",{className:"max-w-xs font-body text-sm font-semibold text-white sm:text-base",children:u})]})]})}):f.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:f.jsx("span",{className:"flex size-16 items-center justify-center rounded-full bg-gold text-dark-blue shadow-lg sm:size-20",children:f.jsx(py,{size:28,className:"ml-1"})})})]})]}),Y=T&&!M;return f.jsxs("div",{className:`w-full ${D} ${I}`,children:[Y&&f.jsxs("div",{className:"container mx-auto pt-10 pb-6",children:[s&&f.jsx("p",{className:"mb-3 text-sm font-medium uppercase tracking-[0.2em] text-gold",children:s}),a&&f.jsx("p",{className:`font-title text-4xl font-medium sm:text-5xl ${_?"text-white":"text-navy-blue"}`,children:a}),l&&f.jsx("p",{className:`mt-4 max-w-4xl font-body text-sm leading-relaxed sm:text-base ${_?"text-white/80":"text-gray-700"}`,children:l})]}),f.jsx("div",{className:m?"":`container mx-auto ${Y?"pb-10":"py-10"}`,children:fe})]})};let Ml=null;const wN=()=>(Ml||(Ml=cn(`${Je}/manage-highlights.php?action=read&status=Published`).catch(e=>{throw Ml=null,e})),Ml),t1=(e,t)=>{const[r,a]=k.useState([]);return k.useEffect(()=>{if(!t){a([]);return}let s=!1;return wN().then(l=>{s||a((l||[]).filter(u=>String(u[e]||"")===String(t)))}).catch(l=>{s||(console.warn("[useHighlights] could not read the highlights table:",l.message),a([]))}),()=>{s=!0}},[e,t]),r},n1=e=>t1("collegeTag",e),r1=e=>t1("departmentTag",e),bN="https://dyci.edu.ph",SN=e=>{const t=String(e||"").trim();return t?/^(https?:|data:|blob:)/i.test(t)?t:`${bN}${t}`:""},CN=e=>!!String(e||"").replace(/<[^>]*>/g,"").replace(/&nbsp;/g," ").trim(),i1=({collegeTag:e,departmentTag:t,ownerName:r})=>{const a=n1(e),s=r1(t),l=e?a:s;return l.length?f.jsx("ul",{className:"space-y-6",children:l.map(u=>{const d=SN(u.highlightImage),h=String(u.highlightFigure||"").trim();return f.jsxs("li",{className:"flex gap-4",children:[f.jsx("span",{className:"mt-1.5 flex w-6 shrink-0 justify-center","aria-hidden":d?void 0:"true",children:d?f.jsx("img",{src:d,alt:u.highlightTitle||`${r||"DYCI"} highlight`,loading:"lazy",className:"h-6 w-6 rounded object-cover"}):f.jsx("span",{className:"mt-1.5 h-2 w-2 rounded-full bg-navy-blue"})}),f.jsxs("div",{className:"min-w-0",children:[f.jsxs("p",{className:"font-title text-lg font-medium text-navy-blue sm:text-2xl",children:[h&&f.jsxs("span",{className:"text-gold",children:[h," "]}),u.highlightTitle]}),CN(u.highlightDescription)&&f.jsx("div",{className:"page-content ql-snow ql-read mt-1 text-sm text-gray-300 sm:text-base",children:f.jsx("div",{className:"ql-editor",dangerouslySetInnerHTML:{__html:u.highlightDescription}})})]})]},u.highlightID)})}):null},kN="Dr. Yanga’s Colleges, Inc.",EN="Dr. Yanga’s Colleges, Inc. | DYCI Official Website",Fh=e=>{const t=typeof e=="string"?e.replace(/\s+/g," ").trim():"";return t?t.toLowerCase().includes("yanga")?t:`${t} | ${kN}`:EN};function oi({title:e}){const t=Fh(e);
61return f.jsxs(g0,{children:[f.jsx("title",{children:t}),f.jsx("meta",{property:"og:title",content:t}),f.jsx("meta",{name:"twitter:title",content:t})]})}const TN="/assets/banners/dyci-white.webp",PN=({tag:e,name:t})=>r1(e).length?f.jsx("div",{className:"w-full bg-white",children:f.jsxs("div",{className:"container mx-auto px-5 py-12 sm:px-8 md:px-10",children:[f.jsxs("p",{className:"font-title text-3xl font-medium text-navy-blue sm:text-4xl md:text-5xl",children:["Why choose DYCI ",t,"?"]}),f.jsx("p",{className:"mt-4 max-w-3xl font-body text-sm text-gray-300 sm:text-base",children:"What this department is known for — the results, recognitions and facilities behind the programs."}),f.jsx("div",{className:"mt-10",children:f.jsx(i1,{departmentTag:e,ownerName:t})})]})}):null,a1=e=>e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():"",jN=e=>e==="pgs"?"Preschool and Grade School":e==="shs"?"Senior High School":e==="jhs"?"Junior High School":a1(e),DN=()=>{var v;const{tag:e}=_i();Tt();const{department:t,programs:r,stats:a}=Cu(),l={pgs:{title:"Grade Levels",data:r,category:"pgs"},jhs:{title:"Grade Levels",data:r,category:"jhs"},shs:{title:"Strands",data:r,category:"shs"},undergraduate:{title:"Undergraduate Programs",data:r,category:"undergraduate"},graduate:{title:"Graduate Programs",data:r,category:"graduate"}}[e];a1(e);const u=jN(e),[d,h]=k.useState(!1),m=e==="undergraduate"||e==="graduate"?"Total Number of Colleges":"Total Number of Academic Levels",g=(x,b)=>{window.open(x,"_blank")};return f.jsxs(f.Fragment,{children:[f.jsx(oi,{title:`DYCI ${t.departmentName}`}),f.jsx(Fi,{title:`${t.departmentName} | Dr. Yanga’s Colleges, Inc.`,description:String(t.departmentHeaderDescription||t.departmentDescription||"").replace(/\s+/g," ").trim().slice(0,160),url:`https://dyci.edu.ph/learn-with-us/${e}`,image:t.departmentBannerImage?`https://dyci.edu.ph/${String(t.departmentBannerImage).replace(/^\/+/,"")}`:"https://dyci.edu.ph/dyci-cover.webp"}),f.jsx("div",{className:"relative w-full z-10 h-[95vh] sm:h-screen md:h-[90vh] lg:h-[90vh]",children:f.jsxs("div",{className:"absolute top-0 left-0 w-full h-full",children:[f.jsx("img",{src:t.departmentBannerImage||TN,alt:t.departmentName,className:"absolute inset-0 w-full h-full object-cover brightness-50"}),f.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(to_bottom,transparent_50%,rgba(8,6,119,0.5)_85%,rgba(8,6,119,0.95)_100%)]"}),f.jsxs("div",{className:"absolute inset-0 flex flex-col justify-end text-white px-5 sm:px-8 md:px-12 lg:px-20 pb-10 sm:pb-12 md:pb-16 lg:pb-20",children:[f.jsxs("h1",{className:"font-title text-5xl sm:text-5xl md:text-6xl lg:text-6xl xl:text-7xl leading-none drop-shadow-md",children:["DYCI ",t.departmentName]}),f.jsx("p",{className:"font-body text-[16px] drop-shadow-md mt-4 sm:mt-5 md:mt-6 max-w-4xl",children:t.departmentHeaderDescription}),t.departmentFBLink&&f.jsxs("div",{className:"flex items-center mb-6 mt-6",children:[f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-6",children:f.jsx("path",{d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987
61h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z"})}),f.jsxs("button",{onClick:()=>g(t.departmentFBLink),className:"ml-2 text-sm font-extrabold text-white underline hover:underline hover:cursor-pointer text-left",children:["Official Facebook Page of DYCI ",t.departmentName," Department"]})]})]})]})}),f.jsx("div",{className:"w-full",children:f.jsxs("div",{className:"grid grid-cols-1 items-stretch lg:grid-cols-[minmax(0,2fr)_minmax(0,2fr)]",children:[f.jsx("div",{className:"flex bg-dark-blue px-5 py-8 text-white sm:px-8 md:px-10 lg:min-h-64 lg:px-16",children:f.jsx("div",{className:"mx-auto flex h-full w-full max-w-2xl flex-col justify-center text-center lg:text-left",children:f.jsx("p",{className:"font-body text-sm leading-relaxed sm:text-base",children:t.departmentDescription})})}),f.jsx("div",{className:"flex bg-gray-200 px-5 py-8 sm:px-8 md:px-10 lg:min-h-64 lg:px-16",children:f.jsxs("section",{className:"relative flex w-full items-center justify-center overflow-hidden text-center",children:[f.jsx("div",{className:"absolute inset-0"}),f.jsxs("div",{className:"relative mx-auto grid w-full max-w-5xl grid-cols-1 items-center gap-8 sm:grid-cols-2 lg:gap-6 xl:gap-10",children:[f.jsxs("div",{className:"flex min-w-0 flex-col items-center justify-center text-center",children:[f.jsx("p",{className:"font-title text-4xl font-medium leading-none text-gold sm:text-5xl lg:text-6xl",children:a.totalPrograms}),f.jsx("p",{className:"mt-2 text-sm font-medium text-navy-blue sm:mt-4 sm:text-base",children:"Total Number of Programs"})]}),f.jsxs("div",{className:"flex min-w-0 flex-col items-center justify-center text-center",children:[f.jsx("p",{className:"font-title text-4xl font-medium leading-none text-gold sm:text-5xl lg:text-6xl",children:a.totalAcademicLevels}),f.jsx("p",{className:"mt-2 text-sm font-medium text-navy-blue sm:mt-4 sm:text-base",children:m})]})]})]})})]})}),f.jsx(PN,{tag:e,name:t.departmentName}),e==="undergraduate"&&f.jsx(xN,{src:"https://dyci.edu.ph/assets/videos/SDE_College%20Graduation%202026_1.mp4",poster:"https://dyci.edu.ph/assets/images/thumbnails/SDE%202026%20Thumbnail.jpeg",title:"College Graduation 2026",description:"A look back at the milestones, the people, and the moments that shaped this year's graduating class.",ctaText:"Watch the College Graduation 2026",fullWidth:!0,bgClass:"bg-white"}),((v=l==null?void 0:l.data)==null?void 0:v.length)>0&&f.jsx("div",{className:"w-full bg-gray-100",children:f.jsx("div",{className:"container mx-auto py-10",children:f.jsxs("div",{className:"mt-5",children:[f.jsx("p",{className:"text-[50px] text-navy-blue font-medium font-title",children:l.title}),f.jsx(Xw,{data:l.data,departmentTag:t.departmentTag})]})})}),(e==="undergraduate"||e==="graduate")&&f.jsxs("div",{className:"w-full bg-white",children:[f.jsxs("div",{className:"container mx-auto py-10 px-3",children:[f.jsx("p",{className:"text-[50px] text-navy-blue font-medium font-title",children:"Colleges and Schools"}),f.jsx("p",{className:"mt-3 max-w-4xl text-base leading-relaxed text-gray-300 font-body",children:"Choose a college to see the programs it offers, how to reach the department, and the latest news from its students and faculty."})]}),f.jsx(e1,{departmentTag:"undergraduate"})]}),f.jsx("div",{className:"w-full bg-white",children:f.jsxs("div",{className:"container pt-11 pb-6",children:[f.jsxs("p",{className:"text-5xl text-navy-blue mb-3 font-medium font-title",children:[u," News"]}),f.jsx(_h,{topicFilter:u})]})})]})},RN=()=>{const[e,t]=k.useState(!1);k.useEffect(()=>{const a=()=>{window.scrollY>300?t(!0):t(!1)};return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)},[]);const r=()=>{window.scrollTo({top:0,behavior:"smooth"})};return e&&f.jsx("button",{onClick:r,className:"fixed bottom-6 right-6 bg-gold text-white p-2 rounded-full shadow-md hover:bg-white hover:text-gold transition duration-300 z-50","aria-label":"Back to Top",children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor",children:f.jsx("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224
61-224v487h-80Z"})})})},NN=()=>{var u;const[e,t]=k.useState(!1),r=(u=Xl==null?void 0:Xl.cookieConsent)==null?void 0:u[0],a=Tt();k.useEffect(()=>{!localStorage.getItem("cookieConsent")&&r&&t(!0)},[r]);const s=()=>{localStorage.setItem("cookieConsent","accepted"),t(!1)},l=()=>{localStorage.setItem("cookieConsent","declined"),t(!1)};return!e||!r?null:f.jsxs("div",{className:"fixed bottom-0 w-full bg-gray-100 border-t border-gray-300 px-6 py-4 flex flex-col md:flex-row items-center justify-between z-50",role:"alert","aria-live":"polite",children:[f.jsx("div",{className:"text-center md:text-left mb-4 md:mb-0",children:r.message.map((d,h)=>f.jsxs("p",{className:"text-sm text-gray-800 mb-1",children:[d,h===r.message.length-1&&f.jsx("button",{onClick:()=>a(r.url),target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 underline ml-1 hover:text-gold",children:"Learn More"})]},h))}),f.jsxs("div",{className:"flex gap-2",children:[f.jsx("button",{onClick:s,className:"bg-gold text-white px-4 py-2 rounded-md text-sm uppercase hover:bg-navy-blue hover:text-white transition",children:"Accept"}),f.jsx("button",{onClick:l,className:"bg-gold text-white px-4 py-2 rounded-md text-sm uppercase hover:bg-navy-blue hover:text-white transition",children:"Decline"})]})]})},s1=({filters:e=[],activeFilter:t,onChange:r,className:a="",variant:s="underline",align:l="center"})=>{const u=s==="pill",d={left:"justify-center md:justify-start",center:"justify-center",right:"justify-center md:justify-end"}[l]||"justify-center";return f.jsx("div",{className:`${u?"":"border-b border-gray-200"} w-full ${a}`,children:f.jsx("div",{className:"container mx-auto px-5",children:f.jsx("div",{className:`flex flex-wrap ${d} ${u?"gap-3 py-2":"gap-x-6 gap-y-2 py-3"}`,role:"tablist","aria-label":"News category filter",children:e.map(({label:h,value:m})=>{const g=t===m;return f.jsx("button",{role:"tab","aria-selected":g,onClick:()=>r(m),className:["transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gold hover:cursor-pointer",u?g?"border border-gold px-4 sm:px-5 py-2 text-xs sm:text-sm font-semibold uppercase text-gold text-center":"border border-transparent px-4 sm:px-5 py-2 text-xs sm:text-sm font-semibold uppercase text-navy-blue hover:border-gold hover:text-gold text-center":g?"text-sm uppercase sm:text-base font-extrabold pb-2 text-gold border-b-2 border-gold":"text-sm uppercase sm:text-base font-medium pb-2 text-navy-blue text-opacity-70 hover:text-dark-blue"].join(" "),children:h},m)})})})})},AN=({collegeTag:e,collegeName:t})=>{const[r,a]=k.useState(null),[s,l]=k.useState(null),[u,d]=k.useState(!0);return k.useEffect(()=>{if(!e){d(!1);return}d(!0),fetch(`${Je}/collegedepartments.php?action=get&collegeTag=${e}`).then(h=>h.json()).then(h=>{console.log("College Department Data:",h.data),h.success&&h.data.length>0?(a(h.data[0]),l(h.data)):(a(null),l([])),d(!1)}).catch(()=>{l([]),d(!1)})},[e]),u?f.jsx(kt,{}):r?f.jsx("div",{className:"mt-10",children:(r.collegeFBLink||r.collegeEmail||r.collegePhone)&&f.jsxs("div",{className:"mt-10",children:[f.jsx("p",{className:"text-sm text-gold font-semibold mb-3 uppercase",children:"Connect With Us"}),f.jsxs("ul",{className:"space-y-2 text-gray-700",children:[r.collegeFBLink&&f.jsxs("li",{className:"flex items-center gap-3",children:[f.jsx("span",{className:"text-navy-blue text-lg",children:f.jsx(Kw,{})}),f.jsxs("a",{href:r.collegeFBLink,target:"_blank",rel:"noopener noreferrer",className:"underline text-base",children:["Official Facebook of ",r.collegeName]})]}),r.collegeEmail&&f.jsxs("li",{className:"flex items-center gap-3",children:[f.jsx("span",{className:"text-navy-blue text-lg",children:f.jsx(Jw,{})}),f.jsx("a",{href:`mailto:${r.collegeEmail}`,className:"underline text-base",children:r.collegeEmail})]}),r.collegePhone&&f.jsxs("li",{className:"flex items-center gap-3",children:[f.jsx("span",{className:"text-navy-blue text-lg",children:f.jsx(Qw,{})}),f.jsx("a",{href:`tel:${r.collegePhone}`,className:"underline text-base",children:r.collegePhone})]})]})]})}):f.jsx(ln,{title:"We couldn't find that college.",message:"The college you're looking for may have been moved, renamed, or is no longer offered."})};function LN(){const[e,t]=k.useState([]),[r,a]=k.useState(!0);return k.useEffect(()=>{(async()=>{try{const u=await(await fetch(`${Je}/gradelevels.php?action=get`)).json();t((u.data||[]).filter(d=>Number(d.departmentID)===3)),console.log(u)}catch(l){console.error(l)}finally{a(!1)}})()},[]),r?null:f.jsxs("section",{className:"mt-10",children:[f.jsx("h2",{className:"text-2xl font-title",children:"Senior High School Grade Levels"}),f.jsx("div",{className:"grid gap-4 mt-6 sm:grid-cols-2",children:e.map(s=>f.jsx("ul",{className:"list-disc pl-6",children:f.jsx("li",{className:"font-light font-body text-base text-gray-300",children:s.gradeName})}
61,s.gradeLevelID))})]})}const Wf="https://dyci.edu.ph",Ol=e=>{const t=String(e||"").trim();return t?/^https?:\/\//i.test(t)?t:`${Wf}${t}`:""},Ci=()=>{var S,E;const{tag:e,programTag:t,trackTag:r,gradeLevelTag:a}=_i(),{pathname:s}=At(),{program:l}=Cu(),u=["pgs","jhs","shs"].includes(l==null?void 0:l.departmentTag)||["Preschool and Grade School","Junior High School","Senior High School"].includes((S=l==null?void 0:l.collegeName)==null?void 0:S.trim()),d=["pgs","jhs","shs"].includes(l==null?void 0:l.departmentTag)||["Preschool and Grade School","Junior High School","Senior High School"].includes((E=l==null?void 0:l.collegeName)==null?void 0:E.trim()),h=[{label:"Program Overview",value:"overview"},{label:"Academic Curriculum",value:"curriculum"},{label:"Article News",value:"article-news"}].filter(C=>C.value!=="curriculum"||!u).filter(C=>C.value!=="article-news"||!d),[m,g]=k.useState("overview");k.useEffect(()=>{g("overview")},[e,t,r,a]);const v=l.programOverview||l.programDescription||l.collegeHeaderDescription||"",x=Ol(l.programImage||l.collegeBannerImage||l.departmentBannerImage)||`${Wf}/dyci-cover.webp`,b=`${Wf}${s}`;return f.jsxs("main",{children:[f.jsx(oi,{title:l.programName}),f.jsx(Fi,{title:`${l.programName} | Dr. Yanga’s Colleges, Inc.`,description:v.replace(/\s+/g," ").trim().slice(0,160),url:b,image:x,structuredData:{"@context":"https://schema.org","@type":"EducationalOccupationalProgram",name:l.programName,description:v.replace(/\s+/g," ").trim().slice(0,300)||void 0,url:b,provider:{"@type":"CollegeOrUniversity",name:l.collegeName||"Dr. Yanga’s Colleges, Inc.",url:"https://dyci.edu.ph/"}}}),f.jsx("section",{className:"container mx-auto pt-30 pb-5 px-4",children:f.jsxs("div",{className:"flex flex-col lg:flex-row-reverse lg:items-start gap-8 lg:gap-12",children:[f.jsx("div",{className:"w-full lg:w-1/3 shrink-0 mt-3 lg:mt-0",children:f.jsx("img",{src:Ol(l.collegeLogoImage)||"/assets/logo/dyci-logo.webp",alt:`${l.collegeName} Logo`,className:"w-full max-w-45 h-auto object-contain lg:ml-auto"})}),f.jsxs("div",{className:"w-full lg:flex-1 min-w-0",children:[f.jsx("p",{className:"mb-6 text-sm font-semibold text-gold uppercase",children:l.collegeName}),f.jsx("h1",{className:"text-5xl font-medium font-title",children:l.programName}),f.jsx("p",{className:"mt-8 text-base text-gray-300 leading-8",children:l.programDescription||""}),l.departmentTag==="shs"&&f.jsx(LN,{}),["undergraduate","graduate"].includes(l.departmentTag)&&f.jsx("div",{className:"mt-8",children:f.jsxs(f.Fragment,{children:[f.jsxs("p",{className:"mt-6 text-[16px] text-black leading-relaxed font-body",children:[f.jsx("span",{className:"font-semibold",children:"Program Tag:"}),f.jsxs("span",{className:"uppercase",children:[" ",l.programTag]})]}),f.jsxs("p",{className:"mt-1 text-[16px] text-black leading-relaxed font-body",children:[f.jsx("span",{className:"font-semibold",children:"Program Duration:"})," ",l.programYears||"N/A"]}),f.jsxs("p",{className:"mt-1 text-[16px] text-black leading-relaxed font-body",children:[f.jsx("span",{className:"font-semibold",children:"Total No. of Units:"})," ",l.totalUnits||"N/A"]})]})})]})]})}),f.jsx(s1,{filters:h,activeFilter:m,variant:"underline",align:"left",className:"mt-12",onChange:C=>g(C)}),f.jsxs("section",{className:"container mx-auto pt-10 pb-20 px-4",children:[m==="overview"&&f.jsxs(f.Fragment,{children:[f.jsx("h2",{className:"text-4xl font-medium font-title",children:"Program Overview"}),f.jsx("p",{className:"mt-4 text-base text-black",children:l.programOverview||"No program overview available."}),l.whyChoose&&f.jsxs(f.Fragment,{children:[f.jsxs("h2",{className:"text-2xl font-title mt-10",children:["Why Choose ",l.programTag," at DYCI?"]}),f.jsx("ul",{className:"list-disc pl-6 mt-2 text-black text-base",children:l.whyChoose.split(/\r?\n/).filter(C=>C.trim()!=="").map((C,D)=>f.jsx("li",{children:C},D))})]}),l.careerOpportunities&&f.jsxs(f.Fragment,{children:[f.jsx("h2",{className:"text-2xl font-title mt-8",children:"Career Opportunities"}),f.jsx("ul",{className:"list-disc pl-6 mt-2 text-black text-base",children:l.careerOpportunities.split(/\r?\n/).filter(C=>C.trim()!=="").map((C,D)=>f.jsx("li",{children:C},D))})]})]}),m==="curriculum"&&!u&&f.jsxs(f.Fragment,{children:[f.jsx("h2",{className:"text-4xl font-medium font-title",children:"Academic Curriculum"}),f.jsx("p",{className:"mt-8 text-base text-gray-700 leading-8",children:l.academicOverview||"No academic curriculum available."}),Ol(l.curriculumPdfUrl)&&f.jsx("p",{className:"mt-8 text-base text-gray-700 leading-8",children:f.jsx("a",{href:Ol(l.curriculumPdfUrl),target:"_blank",rel:"noopener noreferrer",className:"text-navy-blue font-medium font-body underline cursor-pointer",children:"Download Curriculum"})})]}),m==="article-news"&&!d&&f.jsxs(f.Fragment,{children:[f.jsx("h2",{className:"text-4xl font-medium font-title",children:"Article News"}),f.jsxs("p",{className:"text-[17px] text-gray-300 mt-5 leading-normal font-body",children:["Stay updated with the latest news and events related to ",f.jsx("span",{className:"font-semibold",children:l.collegeName})]}),f.jsx(_h,{topicFilter:l.collegeName})]})]})]})},MN={page:{label:"Page on this site",inputType:"text",placeholder:"/admission",hint:"Written from the root — /admission, not the full web address."},url:{label:"Web address",inputType:"url",placeholder:"https://example.com",hint:"Opens in a new tab. https:// is added if you leave it off."},email:{label:"Email address",inputType:"email",placeholder:"[email protected]",hint:"Opens the visitor's mail app with the address filled in."},phone:{label:"Phone number",inputType:"tel",placeholder:"+63 912 345 6789",hint:"Starts a call on a phone. Space
61s and dashes are fine here."}},SO=Object.keys(MN),ON=(e,t)=>{const r=String(t||"").trim();if(!r)return null;switch(e){case"url":return/^https?:\/\//i.test(r)?r:`https://${r}`;case"email":return`mailto:${r.replace(/^mailto:/i,"")}`;case"phone":return`tel:${r.replace(/^tel:/i,"").replace(/[\s()-]/g,"")}`;default:return null}},CO=e=>{const t=String(e||"").trim();return t?t.startsWith("/")?t:`/${t}`:""},IN=e=>e==="url",_N=[{buttonLabel:"Admission",buttonLink:"/admission",buttonVariant:"primary"},{buttonLabel:"Contact Us",buttonLink:"/contact-us",buttonVariant:"outline"}],FN=({eyebrow:e="Admissions & Enrollment",title:t="Start your",titleAccent:r="DYCIan journey.",description:a="Explore academic pathways, discover campus life, and take the next step toward becoming part of the DYCI community.",backgroundImage:s=null,buttons:l=_N})=>{const u=Tt(),d=h=>{u(h)};return f.jsxs("div",{className:"relative overflow-hidden bg-navy-blue py-20 lg:py-28",children:[s&&f.jsx("img",{src:s,alt:"","aria-hidden":"true",className:"absolute inset-0 h-full w-full object-cover",loading:"lazy"}),f.jsx("div",{className:"absolute inset-0 bg-linear-to-r from-dark-blue/90 via-navy-blue/70 to-black/30"}),f.jsxs("div",{className:"relative z-10 mx-auto flex max-w-460 flex-col gap-14 px-5 sm:px-8 md:px-12 lg:flex-row lg:items-center lg:justify-between lg:px-20",children:[f.jsxs("div",{className:"max-w-4xl text-white",children:[e&&f.jsx("p",{className:"mb-6 text-xs font-light uppercase tracking-[0.45em] text-gold sm:text-sm",children:e}),f.jsxs("p",{className:"font-title text-5xl font-medium leading-[0.95] text-white sm:text-6xl lg:text-7xl",children:[t," ",r&&f.jsxs(f.Fragment,{children:[f.jsx("br",{})," ",f.jsx("span",{className:"italic text-gold",children:r})]})]}),a&&f.jsx("p",{className:"mt-8 max-w-2xl text-base leading-relaxed text-white/75",children:a})]}),l.length>0&&f.jsx("div",{className:"flex w-full flex-col gap-5 lg:max-w-sm",children:l.map((h,m)=>{const g=h.buttonVariant!=="outline",v=h.buttonId??h.id??`${h.buttonLink}-${m}`,x=ON(h.buttonLinkType,h.buttonLink),b=`flex w-full items-center justify-center rounded-full px-5 py-3 text-center transition-all duration-300 hover:scale-[1.02] hover:cursor-pointer ${g?"bg-[#F6F1EB]":"border border-white/25 bg-transparent hover:bg-white/5"}`,S=f.jsx("span",{className:`font-body text-base ${g?"font-medium text-dark-blue":"font-normal text-white"}`,children:h.buttonLabel});if(x){const E=IN(h.buttonLinkType);return f.jsx("a",{href:x,className:b,...E?{target:"_blank",rel:"noopener noreferrer"}:{},children:S},v)}return f.jsx("button",{onClick:()=>d(h.buttonLink),className:b,children:S},v)})})]})]})},VN={default:{headerContent:{title:"Dr. Yanga's Colleges Inc",description:"More Than A School, Family",bannerLink:"/assets/banners/lwu1.webp"},pageContent:{title:"Start Your Journey at DYCI",description:"Dr. Yanga's Colleges provides a nurturing and dynamic learning environment for students at every stage of their academic journey—Grade School, Junior High School, Senior High School, and College. With a commitment to excellence and innovation, we empower learners to achieve their full potential through quality education and holistic development."}},learnWithUs1:{headerContent:{title:"Where minds grow, faith deepens, and futures take root.",description:"From kindergarten classrooms to maritime decks, from robotics labs to clinical practicums — DYCI offers a transformative learning journey rooted in faith, family, and magis — the call to always do more.",bannerLink:"/assets/banners/lwu2.jpg"},pageContent:{title:"Start Your Journey at DYCI",description:"Dr. Yanga's Colleges provides a nurturing and dynamic learning environment for students at every stage of their academic journey—Grade School, Junior High School, Senior High School, and College. With a commitment to excellence and innovation, we empower learners to achieve their full potential through quality education and holistic development."}},learnWithUs:{headerContent:{title:"Learn With Us",description:"At DYCI, we are dedicated to nurturing the next generation of leaders and innovators. We offer a range of undergraduate and graduate programs that cater to diverse interests and career aspirations.",bannerLink:"/assets/banners/lwu2.jpg"},pageContent:{title:"Start Your Journey at DYCI",description:"Dr. Yanga's Colleges provides a nurturing and dynamic learning environment for students at every stage of their academic journey—Grade School, Junior High School, Senior High School, and College. With a commitment to excellence and innovation, we empower learners to achieve their full potential through quality education and holistic development."}},admission:{headerContent:{title:"Admissions & Enrollment",description:"At DYCI, we are dedicated to nurturing the next generation of leaders and innovators. We offer a range of undergraduate and graduate programs that cater to diverse interests and career aspirations.",bannerLink:"/assets/banners/lwu2.jpg"}},meaning:{headerContent:{title:"Meaning",description:"Dr. Yanga’s Colleges, Inc. is guided by its Vision, Mission, Core Values, and Quality Statement, which reflect its unwavering commitment to providing transformative education. These principles inspire DYCIans to excel academically, grow holistically, and lead with purpose in a rapidly changing world.",bannerLink:"/assets/banners/scholarships.webp"},pageContent:{title:"Guided by Purpose",description:"Dr. Yanga’s Colleges, Inc. embodies its Vision, Mission, Core Values, and Quality Statement to create a meaningful impact. These principles inspire a culture of excellence and integrity, empowering students to become leaders who contribute to the betterment of society."},subItems:{vision:{title:"Our Vision",tag:"vision",headerImg:"/assets/banners/vision.webp",description:"Illumined by the spirit of being magis quam schola, familia – more than a school, a family – Dr. Yanga's Colleges, Inc. envisions to be God-Centered and glocally excellent beacon of moral formation, holistic learning, transformative research and innovations, and sustainable societal communion for all humanity."},mission:{title:"Our Mission",tag:"mission",headerImg:"/assets/banners/grad.webp",description:"DYCI is committed to achieve its vision through this three-fold mission:",list:["To edify our learners and stakeholders through God-Centered and holistic formation of the heart, mind, and soul.","To transform our learners through glocalized education and culture, fusing global competencies with local rootedness and social responsibility.","To instill every DYCIan the call to lead, to serve and to commune with our society through sustainable and transformative pursuits."]},coreValues:{title:"Core Values",tag:"core-values",headerImg:"/assets/banners/cv.webp",shortDe
61scription:"At Dr. Yanga's Colleges, Inc. (DYCI), our values are illuminated by the principle of being magis quam schola, familia—more than a school, a family. DYCI envisions itself as a God-centered and globally excellent institution.",description:"God-Centered. Magis. Sapentia. PARAYA.",list:[{label:"God-Centeredness",labelMeaning:"The philoshopical bedrock of DYCI's core values. God-centeredness is an English term signifying a steadfast commitment to align one's actions, words, and thoughts to glorify God, while respecting individuals across every faith, mission, and identity. It is the fundamental principle that DYCIans strive to live by through the realization of the following core values: Magis, Sapentia, and Paraya."},{label:"Magis",labelMeaning:"The Latin for 'more'. This word embodies the spirit of aspiring for more, for the common good, and for the greater glory of God. DYCIans embrace this value when they creatively and innovately pursue growth, constantly refining their skills, expanding their knowledge, and cultivating virtues to exceed their personal bests in order to honor God through their service to humanity."},{label:"Sapentia",labelMeaning:"The latin for 'wisdom'. It symbolized the gentle wisdom conveyed from a lifelong pursuit of both local and global knowledge and truth. DYCIans embody this value when they strenghten their relationships with others through their knowlegde as an act of caring for the whole person."},{label:"Paraya",labelMeaning:"A Filipino term that signifies the sincere gift of the self. DYCIans embody this value when they participate in sustainable actions that uplift their neighbors' lives by demonstrating stewardship, empathy, and social responsibility. This is also a coined term of DYCI's heart for the community (PA-mayaman), the school (paa-RA-lan), and the parish (parok-YA)."}]},qualityPolicy:{title:"Our Institutional Quality Policy",tag:"quality-policy",headerImg:"/assets/banners/qs.webp",description:["DYCI has an unwavering commitment to deliver meaningful basic and higher education, emphasizing glocal excellence, holistic character development, and spiritual growth among DYClans.","Our mission is to cultivate globally competitive and locally relevant Filipino leaders and professionals who embody the core values of Magis, Sapientia, and Paraya – inspired by a God-centered approach and driven by a passion for transformative innovation and genuine social responsibility.","We continuously improve our practices to ensure compliance with regulations, meet the needs and interests of our stakeholders, and contribute effectively to societal advancement."]},dyciSeal:{title:"The DYCI School Seal",tag:"dyci-seal",headerImg:"/assets/banners/dyci-white.webp",description:"The school seal symbolizes the embodiment of the academic commitments and all the servixes of Dr. Yanga's Colleges, Inc. Founded in 1950 as a private non-sectarian secondary school named Francisco Balagtas Academy (FBA).",list:[{label:"Outer Circle",labelMeaning:"The outer circle holds the name of the school with blue as its background. The inner circle bears against a gold background, images that illustrate the institution's scholastic dedication to its community."},{label:"Open Book and Quill",labelMeaning:"The open book and quill on top represent the College of Arts and Sciences with its goal to propagate knowledge, determination, and academic accountability. Embedded on a white background, the nine stars that surrounds its founding year represent the first nine offerings of the institution namely Education, Midwifery, Secretarial, Veterinary, Medicine, Agriculture, Nursing, Commerce, Seaman Training Course, and Vocational Courses."},{label:"Caduceus and Torch",labelMeaning:"On the lower left part is the caduceus signifying the allied health care courses that aim to educate students with relevant information about the practice ogf health and its underlying principles and ethics. The torch on the lower right part reflects the unending aspiration towards the realization of the school's mission and vision to mold our students to bring positive impact in the quality of life of other people."},{label:"College Colors",labelMeaning:"The College colors are blue, gold, and white. Blue represents inspiration, sincerity, and spirituality. Gold denotes wisdom, excellence, and success. White stands for purity, precision, and truthfulness."}]}}},identity:{headerContent:{title:"Identity",description:"Rooted in strong Core Values and distinctive attributes, DYCI shapes individuals to become competent, compassionate, and globally aware leaders. Its emphasis on integrity, excellence, and innovation defines the DYCI identity.",videoLink:"",bannerLink:"/assets/banners/dyci.webp"},pageContent:{title:"Defining Excellence",description:"DYCI’s Core Values and attributes reflect its commitment to shaping individuals of integrity and innovation. With a focus on academic success and personal development, DYCI nurtures leaders equipped to excel in any endeavor."},subItems:{graduateAttributes:{title:"Institutional Graduate Attributes",tag:"graduate-attributes",headerImg:"/assets/banners/awards.webp",shortDe
61scription:"DYCI graduates exemplify the ideals of holistic education, empowered to make significant contributions to their chosen professions and the broader community.",description:"DYCI graduates embody the essence of holistic education, equipped to create meaningful impacts in their professional fields and society. They are distinguished by their ability to:",list:["Ability to demonstrate DYCIan core values: faith; wisdom; truth; love of country; charity; and excellence","Ability to uphold professional values and ethics","Ability to apply current and emerging knowledge in practice","Capacity to create/develop new knowledge and solutions to social development problems in his/her field of engagement","Ability to conceptualize, plan, and organize research and investigations in solving problems and generating solutions","Ability to demonstrate respect for diversity of people and culture","Ability to build partnerships and working relationships with diverse groups and/or inter-professional teams","Ability to communicate professionally and effectively in influencing and leading people and organizations","Ability to demonstrate and use knowledge and disciplinary expertise in professional practice","Capacity to pursue continuous learning, development, and personal growth independently"]}}},spirituality:{headerContent:{title:"Spirituality",description:"Faith and spirituality are at the heart of the DYCI experience. Through its God-Centered Program, DYCI fosters a community where students grow with a strong moral foundation and a deeper sense of purpose guided by Christian principles.",videoLink:"",bannerLink:"/assets/banners/gc.webp"},pageContent:{title:"Faith in Education",description:"Grounded in its God-Centered Program, DYCI integrates spirituality and learning. By fostering moral and ethical values, the institution ensures that students grow with purpose and compassion."},subItems:{everyHourPrayer:{title:"Every Hour Prayer",tag:"every-hour-prayer",headerImg:"/assets/banners/everyhrprayer.webp",shortDescription:"An activity encouraging DYClans to fervently reflect on God's word and pray at the beginning of every subject throughout the day.",description:["Every Hour Prayer is an activity wherein the DYClans are asked to fervently reflect on God's word and pray from their hearts at the beginning of every subject throughout the day. It aims for DYClans to offer themselves more to God and to embrace the value of God-centeredness at all times."]},homebound:{title:"Homebound",tag:"homebound",headerImg:"/assets/banners/homebound.webp",shortDescription:"An inspirational reflection guide to deepen understanding of the Gospel through real-life stories.",description:["Homebound is an inspirational reflection guide booklet wherein each of its sections and stories talks about how the weekly Gospel is connected with the experiences and situations of real people. It enables DYClans to realize that the Word of God is truly alive. This activity aims to deepen DYClans’ understanding of the Gospel, through stories that will tackle the Gospel and how it links with their daily lives."]},deepening:{title:"Deepening",tag:"deepening",headerImg:"/assets/banners/deepening.webp",shortDescription:"A weekly reflection activity to strengthen understanding of the Gospel.",description:["Deepening is the activity wherein the Basic Education Director shares his reflections based on the Gospel of the week to the DYClans. Its goal is to further strengthen DYClans’ understanding of the Gospel through sharing values and wisdom reflections discussed, which can be applied in their daily lives."]},communityMass:{title:"Community Mass",tag:"community-mass",headerImg:"/assets/banners/community-mass.webp",shortDescription:"A regular Eucharistic celebration for the DYClans.",description:["DYClans regularly celebrate the Eucharistic Celebration every first Friday of the month at the covered court. Its primary goal is to celebrate with God as one united and extensive family in the school."]},sponsorshipMass:{title:"Sponsorship Mass",tag:"sponsorship-mass",headerImg:"/assets/banners/sponsorship-mass.webp",shortDe
61scription:"A Eucharistic celebration with active participation by Junior High School students.",description:["DYCI regularly sponsors Eucharistic celebrations every First Sunday Mass for the Junior High School students. Students serve as Readers of the Word, Choir Members, musical instrumentalists, collectors, and are responsible for the presentation of gifts during offertory."," This activity aims to provide an avenue for the Catholic DYClans to profess and put into life the God-centered value that the school primarily instills in every member."]},recollection:{title:"Recollection",tag:"recollection",headerImg:"/assets/banners/recollection.webp",shortDescription:"A one-day activity for spiritual growth and reflection.",description:["The Recollection is a one-day activity for each class in DYCI. Topics are strategized and have been carefully designed based on the assessments of the spiritual needs of each year level. Talks and activities based on the topic happen in the Recollection, aiming for students to establish and bring out the DYClans’ God-centered spirit."]},retreat:{title:"Retreat",tag:"retreat",headerImg:"/assets/banners/retreat.webp",shortDescription:"A one and a half day retreat fostering spiritual and personal realizations.",description:["The Home Bound, Wood Struck, and Crossroad Retreat is a one and a half day activity for Grade 10, 11, and 12 students at Angel’s Hills Retreat House in Tagaytay.","Through this program, students get to have realizations that may alter their perspectives about their life, self, family, friends, and God. This activity is one of the moments that make Junior High and Senior High school life even more memorable and remarkable."]},youthcamp:{title:"Youthcamp",tag:"youthcamp",headerImg:"/assets/banners/youthcamp.webp",shortDescription:"An annual overnight activity promoting fun spiritual experiences.",description:["Youthcamp is an annual overnight activity which began in 2004. This activity is a much-awaited event for high school students, as it is filled with fun spiritual moments of singing, dancing, and sharing spiritual topics based on a particular theme.","It aims for DYClans to realize that one can spiritually worship God while having fun."]},simbangGabi:{title:"Simbang Gabi",tag:"simbang-gabi",headerImg:"/assets/banners/simbang-gabi.webp",shortDescription:"A nine-day Eucharistic celebration in preparation for Christmas.",description:["The Simbang Gabi sa DYCI is a nine-day Eucharistic celebration from December 16-24 every year, in preparation for the birth of Jesus Christ.","This activity is open for all Catholics, specifically Bocauenos and DYClans. Through this, Catholics get to celebrate the Simbang Gabi together as one extensive family."]},godCenteredMonth:{title:"God-Centered Month",tag:"god-centered-month",headerImg:"/assets/banners/gs-m.webp",shortDescription:"As part of our commitment to fostering a Christ-centered community, Dr. Yanga's Colleges Inc. dedicates an entire month each year to celebrating and deepening our faith through the God-Centered Month. This special time is designed to strengthen the spiritual foundation of our students, faculty, and staff while encouraging a greater sense of unity, purpose, and service.",description:["The God-Centered Month is the highlight among the school’s character and spiritual formation program, celebrated during January of the year. There are different activites based on a specific theme including talks from selected guest speakers, praise and workships, ecumenical prating, testimonies from students, sharing, Eucharistic Celebration, recognition of the 10 Most God-Centered DYCIans, Gawad Banyuhay and other varying interschool contests.","The primary goal of this activity is to capture the need for DYCIans to put God at the center of their lives and make Him their guiding light in every task, decision, and plan they are to pursue."]}}},societalIntegration:{headerContent:{title:"Servanthood",description:"DYCI embraces its role in shaping responsible citizens who actively contribute to society. By fostering social awareness and engagement, DYCI empowers students to address community needs and drive meaningful change.",videoLink:"",bannerLink:"/assets/banners/paraya.webp"},pageContent:{title:"Education for Impact",description:"DYCI bridges education and community service by fostering societal responsibility. Through initiatives addressing real-world challenges, DYCIans are empowered to make meaningful contributions locally and globally."},subItems:{paraya:{title:"PARAYA: DYCI Center for Community Engagement",tag:"paraya",headerImg:"/assets/banners/paraya1.webp",fbLink:"https://www.facebook.com/DYCIParaya",shortDe
61scription:"The DYCI Center for Community Engagement envisions itself to be the dynamic and proactive implementer, advocate and promoter of significant, sustainable and strategic programs in three focal areas – PAmayanan, paaRAlan and parokYA.",description:"The DYCI Center for Community Engagement envisions itself to be the dynamic and proactive implementer, advocate and promoter of significant, sustainable and strategic programs in three focal areas – PAmayanan, paaRAlan and parokYA."}}},innovationAndResearch:{headerContent:{title:"Innovations",description:"Dive into DYCI’s focus on innovation and research. We empower learners to think critically and explore groundbreaking ideas that shape industries and communities.",videoLink:"",bannerLink:"/assets/banners/research.webp"},pageContent:{title:"Shaping the Future",description:"Recognized as one of the Transformative Schools in the Philippines, Dr. Yanga’s Colleges, Inc. (DYCI) excels in innovation and research. Through programs like its award-winning Robotics Program, DYCI prepares students to lead in a technology-driven world. The institution fosters a forward-thinking academic environment where creativity, critical inquiry, and scientific excellence are nurtured. From international achievements in mathematics and science competitions to interdisciplinary student research, DYCI empowers young minds to become innovators and problem-solvers. The DYCI Sustainability Office further strengthens this commitment by leading research initiatives and community-based projects focused on environmental responsibility and long-term impact. By integrating cutting-edge technology, academic exploration, and values-driven innovation, DYCI ensures its learners are equipped to meet real-world challenges with purpose and leadership."},subItems:{dyciRoboticsProgram:{title:"DYCI Robotics Program",tag:"dyci-robotics-program",headerImg:"/assets/banners/robotics-1.webp",shortDescription:"The DYCI Robotics Program empowers students to excel in robotics and STEM through hands-on design, programming, and innovation. It prepares them for local and international competitions, fostering creativity, critical thinking, and teamwork. Rooted in values-based education, the program shapes future leaders and innovators committed to making a positive impact.",description:"Since 2007, the Robotics Team of Dr. Yanga’s Colleges, Inc. have been joining national robotics competitions such as Philippine Robotics Olympiad and FIRST Lego League (FLL) Philippines. The team also represents the country in international competitions such as the World Robot Olympiad, FLL World Festival, and FLL Invitational, and others.",emailAddress:"[email protected]",contactNumber:"",fbLink:"https://www.facebook.com/DYCIRoboticsOfficial"},dyciResearch:{title:"Research Program",tag:"dyci-research",headerImg:"/assets/banners/research-1.webp",shortDescription:"At Dr. Yanga’s Colleges, Inc., research serves as a cornerstone of our commitment to academic excellence and societal advancement. Guided by our mission and vision, DYCI Research focuses on fostering innovative, ethical, and transformative research that addresses local and global challenges while contributing to sustainable development.",description:"At Dr. Yanga’s Colleges, Inc., research serves as a cornerstone of our commitment to academic excellence and societal advancement. Guided by our mission and vision, DYCI Research focuses on fostering innovative, ethical, and transformative research that addresses local and global challenges while contributing to sustainable development.",emailAddress:"[email protected]",contactNumber:"",fbLink:"https://www.facebook.com/dyci.scire"},dyciSustainability:{title:"DYCI Sustainability Office",tag:"dyci-sustainability-office",headerImg:"/assets/banners/greenwild.webp",shortDescription:"DYCI’s commitment to sustainability is embedded in its research culture. Through the DYCI Sustainability Office, the institution conducts research and implements programs on environmental stewardship, climate awareness, and community resilience—ensuring innovation goes hand in hand with social and ecological responsibility.",description:"The DYCI Sustainability Office leads the institutional efforts of Dr. Yanga’s Colleges, Inc. toward becoming a green and smart campus. Guided by the United Nations Sustainable Development Goals, the office is committed to implementing a comprehensive sustainability action plan that integrates environmental, academic, and community priorities. By 2025, it aims to establish campus-wide sustainability policies and by 2030, to transform DYCI into a zero-waste and carbon-neutral academic institution — setting a national benchmark for sustainability in Philippine higher education.",emailAddress:"[email protected]",contactNumber:"",fbLink:"https://www.facebook.com/profile.php?id=61572671726088"}}},organizationalMemory:{headerContent:{title:"Organizational Memory",description:"Understand DYCI’s legacy and traditions through organizational memory. This section preserves the institution's milestones, achievements, and values, connecting past, present, and future.",videoLink:"",bannerLink:"/assets/banners/history.webp"},pageContent:{title:"Honoring DYCI's Legacy",description:"DYCI’s history is a testament to its enduring commitment to education. With a legacy of excellence, the institution continues to inspire growth, resilience, and achievement in every generation."},subItems:{history:{title:"Our History",tag:"",headerImg:"/assets/banners/.webp",description:"Our restless drive in transforming every DYCIan to a global, God-Centered heroic leader in heart, mind, and soul."},tatay:{title:"Dr. Ismael Yanga, Sr.",tag:"",headerImg:"",description:"Founder and First President"}}},norms:{headerContent:{title:"Norms",description:"Get familiar with DYCI’s rules, regulations, and policies. This section ensures a respectful, safe, and productive environment for all members of the community.",videoLink:"",bannerLink:"/assets/banners/dyci.webp"},pageContent:{title:"Fostering Respect and Discipline",description:"DYCI’s rules, regulations, and policies ensure a respectful and collaborative environment. These norms uphold the institution’s commitment to the holistic development of its students and community."},subItems:{policy:{title:"Rules and Regulations",tag:"rules-and-regulations",headerImg:"/assets/banners/.webp",shortDe
61scription:"",description:""},policy:{title:"School Policy",tag:"policy",headerImg:"/assets/banners/.webp",shortDescription:"",description:""}}},studentCentricity:{headerContent:{title:"Stakeholders' Centricity",description:"DYCI serve as platforms for leadership, collaboration, and personal growth. These groups enable the students and its stakeholders to explore their interests, hone their skills, and create a dynamic and inclusive campus life.",videoLink:"",bannerLink:"/assets/banners/mission.webp"},pageContent:{title:"Empowering Student at DYCI",description:"At Dr. Yanga’s Colleges, Inc. (DYCI), students are our priority. Explore our initiatives that make education accessible through scholarships for deserving individuals and our dynamic student organizations that cultivate leadership, creativity, and community engagement. DYCI is dedicated to creating an environment where every student can excel and succeed."},subItems:{scholarships:{title:"Scholarships at DYCI",tag:"scholarships-at-dyci",headerImg:"/assets/contents/scholarships/dyci-discount-pie.webp",description:["At Dr. Yanga's Colleges, Inc. (DYCI), we believe that financial challenges should not hinder a student's potential to excel. Our scholarship programs are designed to provide quality education to deserving students who demonstrate both capability and dedication, regardless of financial constraints.","In line with our mission to make education accessible, DYCI offers scholarships and tuition discounts to financially challenged yet academically capable students. We also reward the loyalty and proactive efforts of parents, guardians, and students through special incentives and discounts.","Our commitment to nurturing talent ensures that every student receives the support they need to achieve their academic and personal goals, making education at DYCI a pathway to a brighter future."]},studentOrganization:{title:"Student Organization",tag:"student-organization",headerImg:"/assets/banners/scholarships.webp",shortDescription:"Engagement beyond the classroom is a vital part of the DYCI experience. Our vibrant student organizations provide opportunities for leadership, collaboration, and community involvement.",description:""}}},dycianNews:{headerContent:{title:"DYCIan News",description:"Stay updated and keep up with the latest happenings at DYCI. From academic achievements to community outreach programs, there's always something to look forward to.",videoLink:"",bannerLink:"/assets/banners/creatives.webp"},pageContent:{title:"DYCI Updates and Achievements",description:"A comprehensive hub for the latest news and accomplishments of DYCI. Explore campus milestones, academic excellence, and student-led initiatives, alongside features on DYCI's global recognition through notable awards, partnerships, and acknowledgments from esteemed local and international organizations. Stay informed about the dynamic progress and influence of the DYCI community."},subItems:{campusNews:{title:"Campus News",tag:"campus-news",headerImg:"/assets/banners/campus-news.webp",shortDescription:"Highlights of key developments, events, and milestones happening within the DYCI campus community, including academic achievements, student initiatives, and institutional advancements.",description:"Step into the heart of the DYCI community with Campus Chronicles, where we highlight the vibrant pulse of campus life. This section celebrates academic achievements, innovative student projects, impactful initiatives, and institutional milestones. Stay informed about the events, programs, and stories that inspire growth, collaboration, and excellence within the DYCI campus."},outsideNews:{title:"Spotlight Beyond Campus",tag:"beyond-campus-news",headerImg:"/assets/banners/outside-news.webp",shortDescription:"Stay informed about DYCI’s recognition in local and international arenas through notable awards, features in prestigious organizations, and acknowledgments from renowned institutions.",description:"Step into the global spotlight with Spotlight Beyond Campus, where we bring you news and updates about DYCI’s growing influence and achievements beyond its borders. This section highlights local and international articles featuring DYCI, prestigious awards that celebrate our excellence, and acknowledgments from notable organizations and institutions worldwide. Discover how DYCI continues to make an impact and earn recognition on a larger stage, reflecting our dedication to innovation, leadership, and global excellence."}}},exploreOurSchool:{headerContent:{title:"Explore Our School",description:"Take a closer look at DYCI’s campus, facilities, and community. Discover why our vibrant academic and extracurricular environment is the ideal place for students to grow and succeed.",videoLink:"",bannerLink:"/assets/banners/dyci.webp"},pageContent:{title:"Page Title",description:"Page Description here."}},events:{headerContent:{title:"Events",description:"Explore key events, programs, and activities that shape the DYCI community. Stay informed and get involved in our latest initiatives.",videoLink:"",bannerLink:"/assets/banners/dyci.webp"},pageContent:{title:"Events",description:"Stay informed about the latest events, programs, and initiatives at DYCI. From academic conferences to student-led activities, this is every DYCIan’s go-to hub for key dates and insights into past and upcoming events that foster learning, engagement, and community spirit."}},joinOurTeam:{headerContent:{title:"Join Our Team",description:"Be part of the DYCI family! Learn about exciting career opportunities and how you can contribute to shaping the future of education at our institution.",videoLink:"",bannerLink:"/assets/banners/dyci.webp"},pageContent:{title:"Be Part of The DYCI Family",description:"Join us at DYCI towards facilitating healthy helationships for DYCIans!",fbLink:"https://www.facebook.com/dyci.hrdo",email:"[email protected]"}},connectWithUs:{headerContent:{title:"Connect With Us",description:"Stay in touch with DYCI. Whether you’re a student, parent, or alumni, this section provides the resources to engage with our community and stay updated on the latest events and initiatives.",videoLink:"",bannerLink:"/assets/banners/dyci.webp"},pageContent:{title:"General Contact Information",description:""}},dataPrivacyPolicy:{headerContent:{title:"Data Privacy Policy",description:"",videoLink:"",bannerLink:"/assets/banners/dyci.webp"}}},Vh=({category:e,override:t})=>{var m,g,v,x;const r=nR(e),a=r||((m=VN[e])==null?void 0:m.headerContent),s=!!(t!=null&&t.bannerLink||t!=null&&t.title),l=s?{...a,...t.bannerLink?{bannerLink:t.bannerLink}:{},...t.title?{title:t.title}:{},...t.description?{description:t.description}:{}}:a,u="assets/banners/about1.jpg",d=!s&&!!r&&r.showBanner===!1;if(k.useEffect(()=>(Rv(d),()=>Rv(!1)),[d]),d)return f.jsx("div",{className:"w-full h-20","aria-hidden":"true"});const h=["Meaning","Identity","Spirituality","Servanthood","Innovations","Organizational Memory","Norms","Stakeholder's Centricity"];return l?f.jsxs("div",{className:"relative w-full z-10 h-[95vh] sm:h-screen md:h-[90vh] lg:h-[90vh]",children:[l.videoLink?f.jsx("div",{className:"absolute top-0 left-0 w-full h-full"}):f.jsxs("div",{className:"absolute top-0 left-0 w-full h-full",children:[f.jsx("img",{src:(l==null?void 0:l.bannerLink)||u,alt:l.title,className:"w-full h-full object-cover brightness-50"}),f.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(to_bottom,transparent_50%,rgba(8,6,119,0.5)_85%,rgba(8,6,119,0.95)_100%)]"})]}),f.jsx("div",{className:"absolute inset-0 flex flex-col justify-end text-white px-5 sm:px-8 md:px-12 lg:px-20 pb-10 sm:pb-12 md:pb-16 lg:pb-20",children:f.jsxs("div",{className:"text-left",children:[f.jsx("h1",{className:`font-title leading-none drop-shadow-md ${h.includes(l.title)?"first-letter:text-gold first-letter:underline":""} ${((g=l==null?void 0:l.title)==null?void 0:g.length)>60?"text-3xl sm:text-4xl md:text-5xl lg:text-5xl xl:text-6xl":((v=l==null?void 0:l.title)==null?void 0:v.length)>30?"text-4xl sm:text-5xl md:text-6xl lg:text-6xl xl:text-7xl":"text-5xl sm:text-5xl md:text-6xl lg:text-6xl xl:text-7xl"}`,children:l.title}),f.jsx("p",{className:`font-body drop-shadow-md mt-4 sm:mt-5 md:mt-6 max-w-4xl ${((x=l==null?void 0:l.description)==null?void 0:x.length)>140?"text-sm sm:text-base":"text-base sm:text-lg"}`,children:l.description})]})})]}):f.jsx("div",{className:"relative w-full h-100 md:h-100 sm:h-125 lg:h-150 flex bg-gray-300",children:f.jsx("p",{className:"text-white text-xl sm:text-2xl",children:"No content available for this category."})})},Fv="undergraduate",BN="/assets/banners/college.jpg",zN=["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve"],UN=e=>zN[e]||String(e),$N=()=>f.jsx("div",{className:"grid sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3","aria-hidden":"true",children:Array.from({length:6}).map((e,t)=>f.jsx("div",{className:"h-96 w-full animate-pulse bg-gray-200 md:h-112 lg:h-128"},t))}),WN=()=>{const{colleges:e,loading:t}=Zw(Fv);return f.jsxs("main",{children:[f.jsx(oi,{title:"Colleges and Schools"}),f.jsx(Fi,{title:Fh("Colleges and Schools"),description:"Explore the colleges and schools of Dr. Yanga’s Colleges, Inc. — accountancy, arts and sciences, business, computer studies, education, health sciences, hospital
61ity and tourism, maritime, mechanical engineering and psychology.",url:"https://dyci.edu.ph/learn-with-us/colleges",structuredData:{"@context":"https://schema.org","@type":"ItemList",name:"Colleges and Schools of Dr. Yanga’s Colleges, Inc.",itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:e.length,itemListElement:e.map((r,a)=>({"@type":"ListItem",position:a+1,name:r.collegeName,url:`https://dyci.edu.ph/learn-with-us/colleges/${r.collegeTag}`}))}}),f.jsx(Vh,{category:"innovationAndResearch",override:{bannerLink:BN,title:"Colleges and Schools",description:"Ten colleges and schools, one campus — find the discipline that fits the work you want to do."}}),f.jsx("div",{className:"relative overflow-hidden bg-gray-200/20 px-5 pt-10 pb-10 sm:px-8 md:px-12 lg:px-20 lg:pb-15",children:f.jsxs("div",{className:"mx-auto grid gap-10 py-10 lg:grid-cols-[460px_1fr] lg:items-center lg:gap-28 lg:text-left",children:[f.jsxs("div",{children:[f.jsx("p",{className:"mb-8 text-xs font-light uppercase tracking-widest text-gold sm:text-sm",children:"Colleges and Programs"}),f.jsxs("p",{className:"font-title text-5xl font-medium leading-[0.95] text-navy-blue sm:text-6xl lg:text-7xl",children:["Find your",f.jsx("br",{}),f.jsx("span",{className:"italic text-gold",children:"discipline."})]})]}),f.jsxs("div",{className:"max-w-4xl",children:[f.jsx("p",{className:"text-base xs:text-md leading-relaxed text-gray-300",children:"Each college of Dr. Yanga’s Colleges, Inc. carries its own faculty, culture and set of programs. Choose one to see the programs it offers, how to reach the department, and the latest news from its students and faculty."}),!t&&e.length>0&&f.jsxs("p",{className:"mt-8 font-body text-sm uppercase tracking-widest text-navy-blue",children:[UN(e.length)," colleges and schools"]})]})]})}),t?f.jsx($N,{}):e.length===0?f.jsx(ln,{variant:"section",code:"Empty",title:"The college list is unavailable.",message:"We couldn't load the colleges and schools right now. Please try again in a moment."}):f.jsx(ti,{delay:.1,children:f.jsx(e1,{departmentTag:Fv})}),f.jsx(FN,{eyebrow:"Admissions & Enrollment",title:"Start your",titleAccent:"DYCIan journey.",description:"Explore academic pathways, discover campus life, and take the next step toward becoming part of the DYCI community.",buttons:[{buttonLabel:"Admission",buttonLink:"/admission",buttonVariant:"primary"},{buttonLabel:"Contact Us",buttonLink:"/contact-us",buttonVariant:"outline"}]})]})};var Ms={},Bs={exports:{}},HN=Bs.exports,Vv;function YN(){return Vv||(Vv=1,(function(e,t){(function(r,a){a(t)})(HN,(function(r){var a=function(){return a=Object.assign||function(l){for(var u,d=1,h=arguments.length;d<h;d++)for(var m in u=arguments[d])Object.prototype.hasOwnProperty.call(u,m)&&(l[m]=u[m]);return l},a.apply(this,arguments)},s=(function(){function l(u,d,h){var m=this;this.endVal=d,this.options=h,this.version="2.10.0",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",autoAnimate:!1,autoAnimateDelay:200,autoAnimateOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(g){m.startTime||(m.startTime=g);var v=g-m.startTime;m.remaining=m.duration-v,m.useEasing?m.countDown?m.frameVal=m.startVal-m.easingFn(v,0,m.startVal-m.endVal,m.duration):m.frameVal=m.easingFn(v,m.startVal,m.endVal-m.startVal,m.duration):m.frameVal=m.startVal+(m.endVal-m.startVal)*(v/m.duration);var x=m.countDown?m.frameVal<m.endVal:m.frameVal>m.endVal;m.frameVal=x?m.endVal:m.frameVal,m.frameVal=Number(m.frameVal.toFixed(m.options.decimalPlaces)),m.printValue(m.frameVal),v<m.duration?m.rAF=requestAnimationFrame(m.count):m.finalEndVal!==null?m.update(m.finalEndVal):m.options.onCompleteCallback&&m.options.onCompleteCallback()},this.formatNumber=function(g){var v,x,b,S,E=g<0?"-":"";v=Math.abs(g).toFixed(m.options.decimalPlaces);var C=(v+="").split(".");if(x=C[0],b=C.length>1?m.options.decimal+C[1]:"",m.options.useGrouping){S="";for(var D=3,_=0,I=0,F=x.length;I<F;++I)m.options.useIndianSeparators&&I===4&&(D=2,_=1),I!==0&&_%D==0&&(S=m.options.separator+S),_++,S=x[F-I-1]+S;x=S}return m.options.numerals&&m.options.numerals.length&&(x=x.replace(/[0-9]/g,(function(U){return m.options.numerals[+U]})),b=b.replace(/[0-9]/g,(function(U){return m.options.numerals[+U]}))),E+m.options.prefix+x+b+m.options.suffix},this.easeOutExpo=function(g,v,x,b){return x*(1-Math.pow(2,-10*g/b))*1024/1023+v},this.options=a(a({},this.defaults),h),this.options.enableScrollSpy&&(this.options.autoAnimate=!0),this.options.scrollSpyDelay!==void 0&&(this.options.autoAnimateDelay=this.options.scrollSpyDelay),this.options.scrollSpyOnce&&(this.options.autoAnimateOnce=!0),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.el=typeof u=="string"?document.getElementById(u):u,d=d??this.parse(this.el.
61innerHTML),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(d),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,this.options.separator===""&&(this.options.useGrouping=!1),this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined",typeof window<"u"&&this.options.autoAnimate&&(this.error||typeof IntersectionObserver>"u"?this.error?console.error(this.error,u):console.error("IntersectionObserver is not supported by this browser"):this.setupObserver())}return l.prototype.setupObserver=function(){var u=this,d=l.observedElements.get(this.el);d&&d.unobserve(),l.observedElements.set(this.el,this),this.observer=new IntersectionObserver((function(h){for(var m=0,g=h;m<g.length;m++){var v=g[m];v.isIntersecting&&u.paused&&!u.once?(u.paused=!1,u.autoAnimateTimeout=setTimeout((function(){return u.start()}),u.options.autoAnimateDelay),u.options.autoAnimateOnce&&(u.once=!0,u.observer.disconnect())):v.isIntersecting||u.paused||(clearTimeout(u.autoAnimateTimeout),u.reset())}}),{threshold:0}),this.observer.observe(this.el)},l.prototype.unobserve=function(){var u;clearTimeout(this.autoAnimateTimeout),(u=this.observer)===null||u===void 0||u.disconnect(),l.observedElements.delete(this.el)},l.prototype.onDestroy=function(){clearTimeout(this.autoAnimateTimeout),cancelAnimationFrame(this.rAF),this.paused=!0,this.unobserve(),this.options.onCompleteCallback=null,this.options.onStartCallback=null},l.prototype.determineDirectionAndSmartEasing=function(){var u=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>u;var d=u-this.startVal;if(Math.abs(d)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=u;var h=this.countDown?1:-1;this.endVal=u+h*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=u,this.finalEndVal=null;this.finalEndVal!==null?this.useEasing=!1:this.useEasing=this.options.useEasing},l.prototype.start=function(u){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),u&&(this.options.onCompleteCallback=u),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},l.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},l.prototype.reset=function(){clearTimeout(this.autoAnimateTimeout),cancelAnimationFrame(this.rAF),this.paused=!0,this.once=!1,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},l.prototype.update=function(u){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(u),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal==null&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},l.prototype.printValue=function(u){var d;if(this.el){var h=this.formattingFn(u);!((d=this.options.plugin)===null||d===void 0)&&d.render?this.options.plugin.render(this.el,h):this.el.tagName==="INPUT"?this.el.value=h:this.el.tagName==="text"||this.el.tagName==="tspan"?this.el.textContent=h:this.el.innerHTML=h}},l.prototype.ensureNumber=function(u){return typeof u=="number"&&!isNaN(u)},l.prototype.validateValue=function(u){var d=Number(u);return this.ensureNumber(d)?d:(this.error="[CountUp] invalid start or end value: ".concat(u),null)},l.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},l.prototype.parse=function(u){var d=function(v){return v.replace(/([.,'  ])/g,"\\$1")},h=d(this.options.separator),m=d(this.options.decimal),g=u.replace(new RegExp(h,"g"),"").replace(new RegExp(m,"g"),".");return parseFloat(g)},l.observedElements=new WeakMap,l})();r.CountUp=s}))}
61)(Bs,Bs.exports)),Bs.exports}var Bv;function GN(){if(Bv)return Ms;Bv=1,Object.defineProperty(Ms,"__esModule",{value:!0});var e=vu(),t=YN();function r(T,M){var O=T==null?null:typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(O!=null){var q,ae,ue,ge,ce=[],ie=!0,fe=!1;try{if(ue=(O=O.call(T)).next,M!==0)for(;!(ie=(q=ue.call(O)).done)&&(ce.push(q.value),ce.length!==M);ie=!0);}catch(Y){fe=!0,ae=Y}finally{try{if(!ie&&O.return!=null&&(ge=O.return(),Object(ge)!==ge))return}finally{if(fe)throw ae}}return ce}}function a(T,M){var O=Object.keys(T);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(T);M&&(q=q.filter(function(ae){return Object.getOwnPropertyDescriptor(T,ae).enumerable})),O.push.apply(O,q)}return O}function s(T){for(var M=1;M<arguments.length;M++){var O=arguments[M]!=null?arguments[M]:{};M%2?a(Object(O),!0).forEach(function(q){d(T,q,O[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(O)):a(Object(O)).forEach(function(q){Object.defineProperty(T,q,Object.getOwnPropertyDescriptor(O,q))})}return T}function l(T,M){if(typeof T!="object"||!T)return T;var O=T[Symbol.toPrimitive];if(O!==void 0){var q=O.call(T,M);if(typeof q!="object")return q;throw new TypeError("@@toPrimitive must return a primitive value.")}return(M==="string"?String:Number)(T)}function u(T){var M=l(T,"string");return typeof M=="symbol"?M:String(M)}function d(T,M,O){return M=u(M),M in T?Object.defineProperty(T,M,{value:O,enumerable:!0,configurable:!0,writable:!0}):T[M]=O,T}function h(){return h=Object.assign?Object.assign.bind():function(T){for(var M=1;M<arguments.length;M++){var O=arguments[M];for(var q in O)Object.prototype.hasOwnProperty.call(O,q)&&(T[q]=O[q])}return T},h.apply(this,arguments)}function m(T,M){if(T==null)return{};var O={},q=Object.keys(T),ae,ue;for(ue=0;ue<q.length;ue++)ae=q[ue],!(M.indexOf(ae)>=0)&&(O[ae]=T[ae]);return O}function g(T,M){if(T==null)return{};var O=m(T,M),q,ae;if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(T);for(ae=0;ae<ue.length;ae++)q=ue[ae],!(M.indexOf(q)>=0)&&Object.prototype.propertyIsEnumerable.call(T,q)&&(O[q]=T[q])}return O}function v(T,M){return x(T)||r(T,M)||b(T,M)||E()}function x(T){if(Array.isArray(T))return T}function b(T,M){if(T){if(typeof T=="string")return S(T,M);var O=Object.prototype.toString.call(T).slice(8,-1);if(O==="Object"&&T.constructor&&(O=T.constructor.name),O==="Map"||O==="Set")return Array.from(T);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return S(T,M)}}function S(T,M){(M==null||M>T.length)&&(M=T.length);for(var O=0,q=new Array(M);O<M;O++)q[O]=T[O];return q}function E(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
62In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var C=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?e.useLayoutEffect:e.useEffect;function D(T){var M=e.useRef(T);return C(function(){M.current=T}),e.useCallback(function(){for(var O=arguments.length,q=new Array(O),ae=0;ae<O;ae++)q[ae]=arguments[ae];return M.current.apply(void 0,q)},[])}var _=function(M,O){var q=O.decimal,ae=O.decimals,ue=O.duration,ge=O.easingFn,ce=O.end,ie=O.formattingFn,fe=O.numerals,Y=O.prefix,Q=O.separator,X=O.start,R=O.suffix,G=O.useEasing,K=O.useGrouping,ne=O.useIndianSeparators,ye=O.enableScrollSpy,ve=O.scrollSpyDelay,Ie=O.scrollSpyOnce,Me=O.plugin;return new t.CountUp(M,ce,{startVal:X,duration:ue,decimal:q,decimalPlaces:ae,easingFn:ge,formattingFn:ie,numerals:fe,separator:Q,prefix:Y,suffix:R,plugin:Me,useEasing:G,useIndianSeparators:ne,useGrouping:K,enableScrollSpy:ye,scrollSpyDelay:ve,scrollSpyOnce:Ie})},I=["ref","startOnMount","enableReinitialize","delay","onEnd","onStart","onPauseResume","onReset","onUpdate"],F={decimal:".",separator:",",delay:null,prefix:"",suffix:"",duration:2,start:0,decimals:0,startOnMount:!0,enableReinitialize:!0,useEasing:!0,useGrouping:!0,useIndianSeparators:!1},U=function(M){var O=Object.fromEntries(Object.entries(M).filter(function($e){var Lt=v($e,2),Hn=Lt[1];return Hn!==void 0})),q=e.useMemo(function(){return s(s({},F),O)},[M]),ae=q.ref,ue=q.startOnMount,ge=q.enableReinitialize,ce=q.delay,ie=q.onEnd,fe=q.onStart,Y=q.onPauseResume,Q=q.onReset,X=q.onUpdate,R=g(q,I),G=e.useRef(),K=e.useRef(),ne=e.useRef(!1),ye=D(function(){return _(typeof ae=="string"?ae:ae.current,R)}),ve=D(function($e){var Lt=G.current;if(Lt&&!$e)return Lt;var Hn=ye();return G.current=Hn,Hn}),Ie=D(function(){var $e=function(){return ve(!0).start(function(){ie==null||ie({pauseResume:
62Me,reset:Oe,start:fn,update:dt})})};ce&&ce>0?K.current=setTimeout($e,ce*1e3):$e(),fe==null||fe({pauseResume:Me,reset:Oe,update:dt})}),Me=D(function(){ve().pauseResume(),Y==null||Y({reset:Oe,start:fn,update:dt})}),Oe=D(function(){ve().el&&(K.current&&clearTimeout(K.current),ve().reset(),Q==null||Q({pauseResume:Me,start:fn,update:dt}))}),dt=D(function($e){ve().update($e),X==null||X({pauseResume:Me,reset:Oe,start:fn})}),fn=D(function(){Oe(),Ie()}),vr=D(function($e){ue&&($e&&Oe(),Ie())});return e.useEffect(function(){ne.current?ge&&vr(!0):(ne.current=!0,vr())},[ge,ne,vr,ce,M.start,M.suffix,M.prefix,M.duration,M.separator,M.decimals,M.decimal,M.formattingFn]),e.useEffect(function(){return function(){Oe()}},[Oe]),{start:fn,pauseResume:Me,reset:Oe,update:dt,getCountUp:ve}},J=["className","redraw","containerProps","children","style"],W=function(M){var O=M.className,q=M.redraw,ae=M.containerProps,ue=M.children,ge=M.style,ce=g(M,J),ie=e.useRef(null),fe=e.useRef(!1),Y=U(s(s({},ce),{},{ref:ie,startOnMount:typeof ue!="function"||M.delay===0,enableReinitialize:!1})),Q=Y.start,X=Y.reset,R=Y.update,G=Y.pauseResume,K=Y.getCountUp,ne=D(function(){Q()}),ye=D(function(Me){M.preserveValue||X(),R(Me)}),ve=D(function(){if(typeof M.children=="function"&&!(ie.current instanceof Element)){console.error(`Couldn't find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.`);return}K()});e.useEffect(function(){ve()},[ve]),e.useEffect(function(){fe.current&&ye(M.end)},[M.end,ye]);var Ie=q&&M;return e.useEffect(function(){q&&fe.current&&ne()},[ne,q,Ie]),e.useEffect(function(){!q&&fe.current&&ne()},[ne,q,M.start,M.suffix,M.prefix,M.duration,M.separator,M.decimals,M.decimal,M.className,M.formattingFn]),e.useEffect(function(){fe.current=!0},[]),typeof ue=="function"?ue({countUpRef:ie,start:Q,reset:X,update:R,pauseResume:G,getCountUp:K}):e.createElement("span",h({className:O,ref:ie,style:ge},ae),typeof M.start<"u"?K().formattingFn(M.start):"")};return Ms.default=W,Ms.useCountUp=U,Ms}var qN=GN();const kO=ai(qN);let Il=null;const KN=()=>(Il||(Il=cn(`${Je}/manage-counters.php?action=read&status=Active`).catch(e=>{throw Il=null,e})),Il),QN=(e,t)=>(e||[]).filter(r=>String(r.counterCategory||"")===String(t)).map(r=>({label:r.counterLabel||"",figure:String(r.counterFigure??"")})),JN=e=>{const t=Xl.counterFigures[e]||[],[r,a]=k.useState(t);return k.useEffect(()=>{if(!e)return;let s=!1;return KN().then(l=>{if(s)return;const u=QN(l,e);u.length&&a(u)}).catch(l=>{s||console.warn("[useCounters] falling back to bundled figures:",l.message)}),()=>{s=!0}},[e]),r};let _l=null;const XN=()=>(_l||(_l=cn(`${Je}/manage-affiliations.php?action=read&status=Published`).catch(e=>{throw _l=null,e})),_l),o1=(e,t)=>{const[r,a]=k.useState([]);return k.useEffect(()=>{if(!t){a([]);return}let s=!1;return XN().then(l=>{s||a((l||[]).filter(u=>String(u[e]||"")===String(t)))}).catch(l=>{s||(console.warn("[useAffiliations] could not read the affiliations table:",l.message),a([]))}),()=>{s=!0}},[e,t]),r},ZN=e=>o1("categoryTag",e),l1=e=>o1("collegeTag",e),eA=({category:e,collegeTag:t})=>{const r=ZN(t?"":e),a=l1(t),s=t?a:r;if(!s.length)return null;const l=d=>{const h=String(d||"").trim();return h?/^(https?:|data:|blob:)/i.test(h)?h:`https://dyci.edu.ph${h}`:""},u=d=>{const h=String(d||"").trim();return h?/^https?:\/\//i.test(h)?h:`https://${h}`:""};return f.jsx("div",{className:"container px-2 md:px-8 py-10 md:py-12",children:f.jsx("div",{className:"flex flex-wrap justify-center gap-x-5 gap-y-8 py-2",children:s.map(d=>{const h=u(d.affiliationLink),m=f.jsx("img",{src:l(d.affiliationLogo),alt:d.affiliationName||"Affiliation Logo",className:"h-13.75 w-auto md:h-22.5 bg-transparent object-contain transition-all duration-500 ease-in-out grayscale overflow-hidden cursor-pointer hover:grayscale-0 hover:scale-110 hover:opacity-90"});return f.jsx("div",{className:"flex flex-col items-center",children:h?f.jsx("a",{href:h,target:"_blank",rel:"noreferrer",title:d.affiliationName||"",children:m}):m},d.affiliationKeyId)})})})},tA="https://dyci.edu.ph",zv=e=>{const t=String(e||"").trim();return t?/^https?:\/\//i.test(t)?t:`${tA}${t}`:""}
62,nA="/assets/banners/dyci-white.webp",rA="/assets/logo/dyci-logo.webp",Os="scroll-mt-36",iA=e=>String(e||"").split(/\r?\n\s*\r?\n/).map(t=>t.trim()).filter(Boolean),aA=({src:e,alt:t,className:r=""})=>f.jsx("img",{src:e,alt:t,className:`w-full max-w-45 h-auto object-contain ${r}`}),Fl=({eyebrow:e,title:t,description:r})=>f.jsxs(f.Fragment,{children:[e&&f.jsx("p",{className:"font-body text-xs font-light uppercase tracking-[0.35em] text-gold sm:text-sm",children:e}),f.jsx("h2",{className:"mt-4 font-title text-4xl font-medium sm:text-5xl",children:t}),r&&f.jsx("p",{className:"mt-5 max-w-3xl font-body text-[17px] leading-normal text-gray-300",children:r})]}),sA=({college:e})=>!e.collegeFBLink&&!e.collegeEmail&&!e.collegePhone?null:f.jsxs("div",{children:[f.jsx("p",{className:"text-sm text-gold font-semibold mb-3 uppercase",children:"Connect With Us"}),f.jsxs("ul",{className:"space-y-2 text-gray-700",children:[e.collegeFBLink&&f.jsxs("li",{className:"flex items-center gap-3",children:[f.jsx("span",{className:"text-navy-blue text-xl",children:f.jsx(Kw,{})}),f.jsx("a",{href:e.collegeFBLink,target:"_blank",rel:"noopener noreferrer",className:"hover:underline text-sm font-body",children:"Facebook"})]}),e.collegeEmail&&f.jsxs("li",{className:"flex items-center gap-3",children:[f.jsx("span",{className:"text-navy-blue text-lg",children:f.jsx(Jw,{})}),f.jsx("a",{href:`mailto:${e.collegeEmail}`,className:"hover:underline text-md font-body",children:e.collegeEmail})]}),e.collegePhone&&f.jsxs("li",{className:"flex items-center gap-3",children:[f.jsx("span",{className:"text-navy-blue text-lg",children:f.jsx(Qw,{})}),f.jsx("a",{href:`tel:${e.collegePhone}`,className:"hover:underline text-md font-body",children:e.collegePhone})]})]})]}),oA="/assets/banners/dyci-white.webp",lA=({to:e,href:t,image:r,eyebrow:a,label:s,description:l})=>{const u=f.jsxs("div",{className:"group relative min-h-[500px] w-full cursor-pointer overflow-hidden",children:[f.jsx("img",{src:r||oA,alt:s,loading:"lazy",decoding:"async",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",className:"absolute inset-0 h-full w-full object-cover transition-transform duration-500 ease-out group-hover:scale-105"}),f.jsx("div",{className:"absolute inset-0 flex items-end bg-[linear-gradient(to_bottom,transparent_50%,rgba(8,6,119,0.5)_85%,rgba(8,6,119,0.95)_100%)] p-6",children:f.jsxs("div",{className:"flex flex-col justify-end pb-2 leading-tight",children:[f.jsx("p",{className:"flex items-center gap-2 font-body font-extrabold text-xs uppercase tracking-widest text-gold drop-shadow-lg",children:a}),f.jsx("p",{className:"mt-2 font-title text-4xl text-white drop-shadow-lg transition-all duration-450 ease-[cubic-bezier(0.33,1,0.68,1)]",children:s}),f.jsx("div",{className:"max-h-0 overflow-hidden transition-all duration-500 group-hover:max-h-40",children:f.jsx("p",{className:"mt-2 font-body text-[13px] leading-normal text-white drop-shadow-xl transition-all delay-200 duration-350 ease-out",children:l})})]})})]});return t?f.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer","aria-label":`Open ${s}`,className:"block",children:u}):f.jsx(io,{to:e,"aria-label":`View ${s}`,className:"block",children:u})},uA=()=>{const{collegeTag:e}=_i(),{college:t,undergraduate:r,graduate:a}=Cu(),s=n1(e),l=l1(e),u=JN(e),[d,h]=k.useState("overview"),[m,g]=k.useState("undergraduate");k.useEffect(()=>{g(r.length===0&&a.length>0?"graduate":"undergraduate")},[r.length,a.length]);const v=k.useMemo(()=>[{label:"Overview",value:"overview"},...s.length?[{label:"Why Choose Us",value:"highlights"}]:[],...r.length+a.length?[{label:"Programs",value:"programs"}]:[],{label:"News & Events",value:"news"},{label:"Contact",value:"contact"}],[s.length,l.length,r.length,a.length]),x=v.map(J=>J.value).join(",");k.useEffect(()=>{const J=x.split(",").map(T=>document.getElementById(T)).filter(Boolean);if(!J.length)return;const W=new IntersectionObserver(T=>{const M=T.filter(O=>O.isIntersecting).sort((O,q)=>O.boundingClientRect.top-q.boundingClientRect.top);M.length&&h(M[0].target.id)},{rootMargin:"-140px 0px -55% 0px",threshold:0});return J.forEach(T=>W.observe(T)),()=>W.disconnect()},[x,e]),k.useEffect(()=>{h("overview")},[e]);const b=J=>{var W;h(J),(W=document.getElementById(J))==null||W.scrollIntoView({behavior:"smooth",block:"start"})},S=r.length+a.length,E=a.length>0,C=m==="graduate"?a:r,D=zv(t.collegeBannerImage)||nA,_=zv(t.collegeLogoImage)||rA,I=iA(t.collegeDescription),F=[...r.length?[{label:"Undergraduate Programs",figure:String(r.length)}]:[],...a.length?[{label:"Graduate Programs",figure:String(a.length)}]:[],...l.length?[{label:"Partner Organizations",figure:String(l.length)}]:[]];u.length;const U=[{to:"/learn-with-us/colleges",image:"/assets/banners/allColleges.jpg",eyebrow:"Explore",label:"All Colleges & Schools",description:"Every college and school under Dr. Yanga’s Colleges, Inc., and the programs each one offers."},{to:"/admission",image:"/assets/banners/studentAdmission.jpg",eyebrow:"Apply",label:"Admission & Enrollment",description:"Requirements, entrance exam schedules and the steps to enroll as a freshman or a transferee."},t.collegeFBLink?{href:t.collegeFBLink,image:D,eyebrow:"Follow",label:"College Facebook Page",description:`Announcements, activities and student achievements straight from the ${t.collegeName}.`}:{to:"/contact-us",image:D,eyebrow:"Ask",label:"Contact the Campus",description:"Send your question to the campus and we’ll route it to the office that can answer it."}];return f.jsxs("main",{children:[f.jsx(oi,{title:t.collegeName}),f.jsx(Fi,{title:Fh(t.collegeName),description:t.collegeHeaderDescription||t.collegeDescription||`${t.collegeName} at Dr. Yanga’s Colleges, Inc.`,url:`https://dyci.edu.ph/learn-with-us/colleges/${t.collegeTag}`,image:D,structuredData:{"@context":"https://schema.org","@type":"CollegeOrUniversity",name:t.collegeName,description:t.collegeHeaderDescription||t.collegeDescription,url:`https://dyci.edu.ph/learn-with-us/colleges/${t.collegeTag}`,logo:_,parentOrganization:{"@type":"CollegeOrUniversity",name:"Dr. Yanga’s Colleges, Inc.",url:"https://dyci.edu.ph/"},...t.collegeEmail?{email:t.collegeEmail}:{}
62,...t.collegePhone?{telephone:t.collegePhone}:{},...t.collegeFBLink?{sameAs:[t.collegeFBLink]}:{}}}),f.jsxs("div",{className:"relative w-full z-10 h-[70vh] sm:h-[75vh] lg:h-[80vh]",children:[f.jsx("img",{src:D,alt:t.collegeName,className:"absolute inset-0 w-full h-full object-cover brightness-50"}),f.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(to_bottom,transparent_50%,rgba(8,6,119,0.5)_85%,rgba(8,6,119,0.95)_100%)]"}),f.jsx("div",{className:"absolute inset-0 flex flex-col justify-end text-white px-5 sm:px-8 md:px-12 lg:px-20 pb-10 sm:pb-12 md:pb-16 lg:pb-20",children:f.jsxs("div",{className:"flex flex-col gap-6 lg:flex-row lg:items-end lg:justify-between lg:gap-12",children:[f.jsxs("div",{className:"min-w-0",children:[f.jsx("h1",{className:"font-title text-4xl sm:text-5xl md:text-6xl lg:text-6xl xl:text-7xl leading-none drop-shadow-md mt-4 font-medium",children:t.collegeName}),f.jsx("p",{className:"font-body text-[16px] drop-shadow-md mt-4 sm:mt-5 md:mt-6 max-w-4xl",children:t.collegeHeaderDescription})]}),f.jsx("img",{src:_,alt:`${t.collegeName} Logo`,className:"hidden h-32 w-auto shrink-0 object-contain drop-shadow-lg lg:block xl:h-40"})]})})]}),f.jsx("div",{className:"sticky top-17 z-30 bg-gray-100 backdrop-blur-sm",children:f.jsx(s1,{filters:v,activeFilter:d,variant:"underline",align:"left",onChange:b})}),f.jsxs("section",{id:"overview",className:`container mx-auto px-4 py-16 ${Os}`,children:[f.jsx(aA,{src:_,alt:`${t.collegeName} Logo`,className:"mx-auto mb-8 lg:hidden"}),f.jsx(Fl,{title:t.collegeName}),f.jsxs("div",{className:"mt-8 flex flex-col gap-10 lg:flex-row lg:gap-16",children:[f.jsx("div",{className:"min-w-0 lg:flex-1",children:I.length>0?I.map((J,W)=>f.jsx("p",{className:"mt-6 text-base text-black leading-8 font-body first:mt-0",children:J},W)):f.jsx("p",{className:"text-base text-gray-300 font-body",children:"No college description available."})}),f.jsxs("aside",{className:"w-full shrink-0 border-t border-gray-200 pt-8 lg:w-80 lg:border-l lg:border-t-0 lg:pl-10 lg:pt-0",children:[f.jsxs("dl",{className:"mt-5 space-y-5 font-body",children:[f.jsxs("div",{children:[f.jsx("dt",{className:"text-sm text-gray-300",children:"Programs Offered"}),f.jsx("dd",{className:"font-title text-2xl font-medium text-navy-blue",children:S})]}),E&&f.jsxs("div",{children:[f.jsx("dt",{className:"text-sm text-gray-300",children:"Levels"}),f.jsx("dd",{className:"font-title text-2xl font-medium text-navy-blue",children:r.length?"Undergraduate & Graduate":"Graduate"})]}),f.jsxs("div",{children:[f.jsx("dt",{className:"text-sm text-gray-300",children:"College Code"}),f.jsx("dd",{className:"font-title text-2xl font-medium uppercase text-navy-blue",children:t.collegeTag})]})]}),f.jsx("div",{className:"mt-8",children:f.jsx(sA,{college:t})})]})]})]}),s.length>0&&f.jsxs("section",{id:"highlights",className:`container mx-auto px-4 py-8 ${Os}`,children:[f.jsx(Fl,{title:`Why choose the ${t.collegeName}?`,description:"What this college is known for — the results, recognitions and facilities behind the programs."}),f.jsx("div",{className:"mt-10",children:f.jsx(i1,{collegeTag:t.collegeTag,ownerName:t.collegeName})})]}),l.length>0&&f.jsx("div",{className:"",children:f.jsx(eA,{collegeTag:t.collegeTag})}),S>0&&f.jsx("div",{className:"bg-gray-100",children:f.jsxs("section",{id:"programs",className:`container mx-auto px-4 py-16 ${Os}`,children:[f.jsx(Fl,{title:"Programs Offered"}),E&&r.length>0&&f.jsx("div",{className:"flex flex-wrap gap-3 mt-8",children:[{label:"Undergraduate",value:"undergraduate"},{label:"Graduate",value:"graduate"}].map(({label:J,value:W})=>f.jsx("button",{onClick:()=>g(W),className:`px-7 py-1 rounded-full border transition-all duration-200 hover:cursor-pointer ${m===W?"bg-navy-blue text-white border-navy-blue":"bg-white text-gray-700 border-gray-300 hover:border-navy-blue hover:text-navy-blue"}`,children:f.jsx("span",{className:"text-[15px] font-medium font-body",children:J})},W))}),f.jsx(Xw,{data:C,departmentTag:m})]})}),f.jsxs("section",{id:"news",className:`container mx-auto px-4 py-16 ${Os}`,children:[f.jsx(Fl,{title:"Latest News & Events",description:`Stay updated with the latest news and events related to the ${t.collegeName}.`}),f.jsx("div",{className:"mt-8",children:f.jsx(_h,{topicFilter:t.collegeName})})]}),f.jsx("section",{id:"contact",className:`w-full ${Os}`,children:f.jsx("div",{className:"mt-12 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",children:U.map((J,W)=>f.jsx(ti,{delay:.1*(W+1),children:f.jsx(lA,{...J})},J.label))})})]})};async function cA({params:e}){const t=await mN(e.collegeTag);if(!t.college)throw La({title:"We couldn't find that college.",message:"The college you're looking for may have been moved, renamed, or is no longer offered."},{status:404});return t}const dA=(e="")=>e.toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w-]+/g,""),u1=e=>(Array.isArray(e)?e[0]:e)||null,fA=async e=>{try{const t=await fetch(`${Je}/get-article-by-slug.php?slug=${encodeURIComponent(e)}`);
62if(!t.ok)return;const r=await t.json();return u1(r==null?void 0:r.data)}catch{return}},hA=async e=>{const r=(await cn(`${Je}/get-articles.php?mode=slug&slug=${encodeURIComponent(e)}&status=Published`)).find(s=>dA(s.articleTitle)===e);if(!r)return null;const a=await cn(`${Je}/get-articles.php?mode=single&id=${r.articleID}`);return u1(a)||r};async function mA({params:e}){const{slug:t}=e,r=cn(`${Je}/get-articles.php?mode=paginate&limit=7&status=Published`).catch(()=>[]);let a=await fA(t);if(a===void 0&&(a=await hA(t)),!a)throw La({title:"We couldn't find that article.",message:"The article you're looking for may have been moved, renamed, or is no longer published."},{status:404});const s=(await r).filter(l=>String(l.articleID)!==String(a.articleID));return{article:a,recentNews:s}}const pA=e=>e==null?void 0:e.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/--+/g,"-").trim(),gA=e=>Array.isArray(e)?e:Array.isArray(e==null?void 0:e.data)?e.data:[],c1=({endpoint:e,titleKey:t,notFound:r})=>async function({params:s}){if(s.slug==="all")return{items:[],current:null};const l=await fetch(e);if(!l.ok)throw new Error(`HTTP ${l.status}`);const u=gA(await l.json()),d=u.find(h=>pA(h[t])===s.slug);if(!d)throw La(r,{status:404});return{items:u,current:d}},yA=c1({endpoint:`${Je}/get-announcements.php`,titleKey:"announcementTitle",notFound:{title:"We couldn't find that announcement.",message:"The announcement you're looking for may have been moved, renamed, or is no longer posted."}}),vA=c1({endpoint:`${Je}/get-events.php?mode=all&status=Published`,titleKey:"eventTitle",notFound:{title:"We couldn't find that event.",message:"The event you're looking for may have been moved, renamed, or is no longer listed."}}),xA=e=>e.includes("/pgs")?"pgs":e.includes("/jhs")?"jhs":e.includes("/shs")?"shs":"",wA=({programTag:e,trackTag:t,gradeLevelTag:r},a)=>{const s=encodeURIComponent;return e?`${Je}/programs.php?action=get&programTag=${s(e)}`:t?`${Je}/programs.php?action=get&departmentTag=${s(t)}&programTag=${s(t)}`:r?`${Je}/programs.php?action=get&departmentTag=${s(xA(a))}&programTag=${s(r)}`:null};async function ki({params:e,request:t}){var s;const r=wA(e,new URL(t.url).pathname);let a=null;if(r){const l=await fetch(r);if(!l.ok)throw new Error(`HTTP ${l.status}`);a=((s=await l.json())==null?void 0:s.program)??null}if(!a)throw La({title:"We couldn't find that program.",message:"The program you're looking for may have been moved, renamed, or is no longer offered."},{status:404});return{program:a}}const bA=new Set(["pgs","jhs","shs","undergraduate","graduate"]),SA={totalPrograms:0,totalAcademicLevels:0,totalStudents:0};async function CA({params:e}){const t=encodeURIComponent(e.tag),[r,a,s]=await Promise.all([cn(`${Je}/departments.php?action=get&departmentTag=${t}`),bA.has(e.tag)?cn(`${Je}/programs.php?action=get&departmentTag=${t}`).catch(()=>[]):[],cn(`${Je}/programs.php?action=getStats&category=${t}`).catch(()=>SA)]),l=r[0];if(!l)throw La({title:"We couldn't find that department.",message:"The department you're looking for may have been moved, renamed, or is no longer offered."},{status:404});return{department:l,programs:a,stats:{totalPrograms:(s==null?void 0:s.totalPrograms)??0,totalAcademicLevels:(s==null?void 0:s.totalAcademicLevels)??0,totalStudents:(s==null?void 0:s.totalStudents)??0}}}const kA=async e=>{const t=await fetch(`${Je}/get-sdg.php`,{headers:{Accept:"application/json"}});if(!t.ok)throw new Error(`HTTP ${t.status}`);const r=await t.json(),a=Array.isArray(r)?r:Array.isArray(r==null?void 0:r.data)?r.data:[],s=a.find(l=>String(l.sdgGoalNumber)===String(e));return s?{sdg:s,goals:a.map(({sdgID:l,sdgGoalNumber:u,sdgTitle:d,sdgGoalImage:h})=>({sdgID:l,sdgGoalNumber:u,sdgTitle:d,sdgGoalImage:h})),articles:[],events:[],announcements:[],documents:[]}:null};async function EA({params:e}){const{goalNumber:t}=e;let r=!1;try{const s=await fetch(`${Je}/get-sdg-content.php?goalNumber=${encodeURIComponent(t)}&status=Published`,{headers:{Accept:"application/json"}});if(!s.ok)throw new Error(`HTTP ${s.status}`);const l=await s.json();if(l!=null&&l.sdg)return{payload:l,notice:""}}catch{r=!0}const a=await kA(t);if(!a)throw La({title:"We couldn't find that goal.",message:"There is no Sustainable Development Goal with that number. Browse all seventeen from the DYCI for Sustainability page."},{status:404});return{payload:a,notice:r?"Related news, events and documents could not be loaded right now.":""}}const TA=()=>{const e=At();return k.useEffect(()=>{const t=document.querySelector("main");t&&t.scrollTo({top:0,behavior:"smooth"}),window.scrollTo({top:0,behavior:"smooth"})},[e.pathname]),null},PA=typeof window<"u"?window.location.pathname:null,jA=()=>{const{pathname:e}=At();k.useEffect(()=>{e!==PA&&document.head.querySelectorAll("[data-seo-shell]").forEach(t=>t.remove())},[e])};function Bh(){var s;const t=[...AC()].reverse().find(l=>{var u;return(u=l.handle)==null?void 0:u.title}),r=(s=t==null?void 0:t.handle)==null?void 0:s.title,a=typeof r=="function"?r(t.params):r;return jA(),f.jsx(oi,{title:a})}function DA(){const{state:e}=NC(),[t,r]=k.useState(!1);return k.useEffect(()=>{if(e!=="loading"){r(!1);return}const a=setTimeout(()=>r(!0),150);return()=>clearTimeout(a)},[e]),t?f.jsx("div",{role:"progressbar","aria-label":"Loading page",className:"fixed inset-x-0 top-0 z-[9999] h-1 animate-pulse bg-[#c89b2c]"}):null}const d1={content:{jhs:{title:"Junior High School Department",description:"",tag:"",dataItems:[{dataTitle:"DYCI Robotics Team: Certification of Registration of Industrial Patent Design",dataDescription:"Mobile Recycling Device of Producing Writing Materials",dataAuthor:"Beryl Cruz, Annette Nicole Ambi, Aaron James Amar, and Daniella De Guzman",image:"/assets/contents/research/robotics-patent-cycle.webp",fileLink:"",tag:""},{dataTitle:"SCIRE: Science Center for Innovation, Research, and Engagement",dataDescription:"Scientia: The DYCIan Research Journal on Emergent Themes in Science, Technology, Engineering, and Mathematics",dataAuthor:"DYCIans, Aces Joseph L. San Pedro, RCh, and Mary Grace D. Delos Santos, LPT",image:"/assets/contents/research/Scientia-Volume-1-Issue-1.webp",fileLink:"/assets/contents/research/files/Scientia-Volume-1-Issue-1.pdf",tag:""},{dataTitle:"Grade 10 STE Research Paper",dataDescription:"Project BARA: Blockage Detection Utilizing Advanced Technology in Road Drainage Canals to Avert Flooding Risk",dataAuthor:"Grade 10 STE-Magis : Delos Reyes, Aliah Fae DC, Estrella, Marian Joy G., Garcia, Dime Evo N., Golocan, Lee Noah I., Santos, and Alexis Ela Mae A.",image:"",fileLink:"/assets/contents/research/files/Project-Bara.pdf",tag:""}]},shs:{title:"Senior High School Department",description:"",tag:"",dataItems:[{dataTitle:"DYCI Robotics Team: Certification of Registration of Industrial Patent Design",dataDescription:"Portable Recycling Design for Producing Plastic Slippers",dataAuthor:"Beryl Cruz, Denise Carpio, Naiah Mendoza, and Abby Silva",image:"/assets/contents/research/robotics-patent-feet.webp",fileLink:"",tag:""}]},college:{title:"College Department",description:"",tag:"",dataItems:[{dataTitle:"Certificate of Publication | British Journal of Nursing Studies",dataDescription:"Fostering Self-Efficacy among Filipino Nursing Students Post-Pandemic: Effectiveness of Dedicated Education Units",dataAuthor:"Teodora M. Delos Reyes, RN, DNS, Regie P. De Jesus, Ph.DNS, MAN, RN, Luther Siosana, MAN, Marlon Guballa, MAN, Eufrocina Dela Cruz, MAN, and Jose Florante Nabong, MAN",image:"/assets/contents/research/nursing1.webp",fileLink:"",tag:""},{dataTitle:"Certificate of Publication | British Journal of Nursing Studies",dataDescription:"Emergence of a Constructivist Theory on Nurses' Caring Decisions for Patients Being Withdrawn from Ventilatory Support",dataAuthor:"Regie P. De Jesus, Ph.DNS, MAN, RN and Teodora M. Delos Reyes, RN, DNS",image:"/assets/contents/research/nursing2.webp",fileLink:"",tag:""},{dataTitle:"Certificate of Publication | British Journal of Nursing Studies",dataDescription:"Piecing the Puzzle: Towards Intensive Care Unit Nurses' Understanding of Patients' Near-Death Experiences",dataAuthor:"Regie De Jesus and Hansel Gadon",image:"/assets/contents/research/nursing3.webp",fileLink:"",tag:""},{dataTitle:"Certificate of Publication | British Journal of Nursing Studies",dataDescription:"Reducing Tetanus Vaccine Pain in Filipino Pregnant Women: Helfer Skin Tap Technique Efficacy",dataAuthor:"Gerlia Pio, MAN, Regie P. De Jesus, Ph.DNS, MAN, RN, Narciso Dexter Belvis, MAN, Diadima 
62Lucas, MAN, Hannah Daza, RN, Senna Martin, MAN, Joven Rey Atalia, Anne Cherryl Cruz, and Bienvenida Ramos, MAN",image:"/assets/contents/research/nursing4.webp",fileLink:"",tag:""},{dataTitle:"Certificate of Publication | Journal of Womens Healthcare & Midwifery Research",dataDescription:"Custodial Shadows: Lived Experiences of Postpartum Mothers Deprived of Liberty",dataAuthor:"Gerlia Pio, MAN, Regie P. De Jesus, Ph.DNS, MAN, RN",image:"/assets/contents/research/midwifery1.webp",fileLink:"",tag:""}]}}},RA=({category:e})=>{const t=d1.content[e];return t?f.jsxs("div",{className:"container mx-auto py-10 px-5",children:[f.jsx(oi,{title:t.title}),f.jsx("p",{className:"text-3xl mb-4 font-title font-medium",children:t.title}),f.jsx("ul",{className:"space-y-4",children:t.dataItems.map((r,a)=>f.jsx("li",{className:"list-disc ml-7",children:f.jsx(io,{to:`/innovation-research/dyci-research/research/${e}/${a}`,className:"text-gray-300 hover:underline",children:r.dataDescription})},a))})]}):f.jsx(ln,{title:"We couldn't find that research category.",message:"The research category you're looking for may have been moved, renamed, or no longer exists."})},NA=()=>{const{category:e,id:t}=_i();Tt();const r=d1.content[e];if(!r||!r.dataItems||!r.dataItems[t])return f.jsx(ln,{title:"We couldn't find that research item.",message:"The research entry you're looking for may have been moved, renamed, or is no longer published."});const a=r.dataItems[t];return f.jsxs(f.Fragment,{children:[f.jsx(oi,{title:a.dataDescription||a.dataTitle}),f.jsx(Vh,{category:"innovationAndResearch"}),f.jsxs("div",{className:"container mx-auto py-10",children:[f.jsxs("div",{className:"pb-8",children:[f.jsx("p",{className:"text-5xl font-title font-medium",children:a.dataDescription}),f.jsx("p",{className:"text-xl font-body",children:a.dataTitle}),f.jsxs("p",{className:"text-md text-gray-300 mb-5",children:[f.jsx("span",{className:"font-semibold",children:"Authors/Registrants: "}),a.dataAuthor]}),a.fileLink&&f.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"})}),f.jsx("button",{onClick:()=>{const s=document.createElement("a");s.href=a.fileLink,s.download=`${a.dataTitle||"document"}.pdf`,document.body.appendChild(s),s.click(),document.body.removeChild(s)},className:"text-navy-blue hover:underline",children:"Download Full Document"})]})]}),a.image&&f.jsx("div",{className:"mb-4",children:f.jsx("img",{src:a.image,alt:a.dataTitle,className:"max-w-full rounded-md"})})]})]})},Uv={paraya:[{title:"DYCI x PARAYA",datePublished:"October 25, 2024",description:["Through the collaborative efforts of our students, teachers, staff, alumni, concessionaires and the school administration, DYCI had successfully turned over and delivered both cash and in-kind donations to the Museo ng Pag-asa for the bayanihan initiative of Angat Buhay led by former Vice President Leni Robredo dedicated for the victims of STS Kristine.","In-kind donations include boxes of canned goods, rice, bottled waters and noodles from our Supreme Student Council as well as from the love offerings of our Basic Education students.","We extend our warmest thanks to our stakeholders for their continuing support in all of our PARAYA endeavors. Ito ang ating taya dahil sa Diyos at para sa bansa, ang laging magparaya para sa kapwa. #DYCIPARAYA #AngatBuhay"],image:["/assets/contents/paraya/paraya3/1.webp","/assets/contents/paraya/paraya3/2.webp","/assets/contents/paraya/paraya3/3.webp","/assets/contents/paraya/paraya3/4.webp"],videoLink:"",link:"https://www.facebook.com/media/set/?vanity=DYCIParaya&set=a.247697267607254"},{title:"Signing of Partnership with DepEd Bocaue",datePublished:"March 23, 2023",description:["Last March 22, DYCI has once again forged its partnership with all the public elementary and high schools in Bocaue as part of the flagship program of the institution through the Center for Community Engagement - PARAYA. The MOA signing was spearheaded by our dear President, Mr. Michael S. Yanga and the Public Schools Supervisor of Bocaue District, Dr. Jonar C. David together with all the principals and officers-in-charge.","Through this partnership, DYCI will strive to provide extension programs and outreach projects to every student and even teachers of our schools here in Bocaue.","This is our commitment to always be of service for the community, the academe and the church. To God be the glory!"],image:["/assets/contents/paraya/paraya1/1.webp","/assets/contents/paraya/paraya1/2.webp","/assets/contents/paraya/paraya1/3.webp","/assets/contents/paraya/paraya1/4.webp"],videoLink:"",link:"https://www.facebook.com/YangaCollege/posts/pfbid0ZGcay8b7a2u2RmcvZMiHWSuRTyhrqbRigFJtR9oxduN5Ki2QmizYPnoNTKVT19nl"}
62,{title:"1st Runner-Up at National Commission of Culture and The Arts: Cinemalamrag 2022",datePublished:"January 1, 2023",description:["Congratulations, DYCIans!","The DYCI Center for Community Engagement through our flagship program PARAYA has been awarded by the National Commission for Culture and the Arts as the 1st Runner-up in the recently concluded CinemaLamrag 2022, a national search for the most meaningful film showcasing the best of Filipino values in the midst of the pandemic.","This award signifies all of our our students, teachers and the school's heroic sacrifices and God-centered generosity to be of help and give hope to the community especially during the height of the pandemic.","A blessing to start the year right! To God be the glory!"],image:["/assets/contents/paraya/paraya2/1.webp"],videoLink:"",link:"https://www.facebook.com/DYCIParaya/posts/pfbid02Jtf5DWKeFjpTx5gkn2ZwQiV37VGG5ybVjkC2yqCJN5Eg5knCtn2f5MKSUt99BU4Hl"},{title:"Back-to-School Bags para sa Day Care Students",datePublished:"August 1, 2024",description:["Sa pamamagitan ng ating DYCI PARAYA - Center for Community Engagement, ay ipinaabot natin ang handog na mga school bags ng Salika Foundation, Inc. para sa 200 na mga incoming Day Care students ng Barangay Lolomboy at Barangay Tambubong, Bocaue, Bulacan.","Maraming salamat po sa Salika Foundation, Inc. sa kaloob na ito para sa ating mga mag-aaral. Gayundin kina Punong-Barangay Ferdie Mendoza (Lolomboy) at Punong-Barangay Boyet Castillo (Tambubong) sa pagtugon at pagsuporta sa layuning ito.","Ito ang ating taya dahil sa Diyos at para sa Bansa - ang laging magparaya para sa kapwa."],image:["/assets/contents/paraya/paraya4/1.webp","/assets/contents/paraya/paraya4/2.webp"],videoLink:"",link:"https://www.facebook.com/DYCIParaya/posts/pfbid0HKQJUX9b3LuvVdspk6sHrkK7n567HWiKtCKHUUDYp1XqJD86UgyqPvQrSR7zVj8ql"},{title:"Open Hearts Open Bibles: A Celebration of Fiath in Bocaue",datePublished:"February 8, 2025",author:"Kathleen Caye Mendoza",description:['A spirit of faith and community service filled the air at the PNP Bocaue station in Bulacan on January 30, 2025, as PARAYA Volunteers and Serviam joined forces to host "I Proclaim," a special mission activity.  Held in conjunction with both God-Centered Month and National Bible Month, the event brought together volunteers, students, and community members for a powerful experience centered on the Word of God.','"I Proclaim" focused on communal reading and sharing of scripture, offering a unique opportunity for attendees to connect with their faith and with one another. Volunteers from PARAYA and Serviam led the readings, creating an inspiring and reflective atmosphere. The event aimed to not only celebrate these important observances but also to provide spiritual nourishment and encouragement to the PNP personnel and the wider community.',"The spirit of giving was further amplified by the generous contribution of Project Anawim of the Values Education College students, who thoughtfully provided snacks for all participants.  Their involvement highlighted the importance of intergenerational collaboration in community service and demonstrated the students' commitment to living out their values.  The guidance and presence of Ms. Joy Ongdico and Mr. Ian Anthony Uy from the Serviam Office were invaluable in coordinating the event and ensuring its smooth execution.",`Dr. Honey Jane F. Santiago, Executive Director of PARAYA, actively participated in "I Proclaim," joining the college volunteers in the readings and interactions with the community.  Her presence underscored PARAYA's dedication to serving the community and fostering a culture of faith, hope, and charity.  The event served as a tangible expression of these core values, most especially the DYCIan core value of community engagement.`,'"I Proclaim" served as a powerful reminder of the importance of faith-based service and community outreach.  The collaborative effort between PARAYA, Serviam, and the Values Education College students exemplified the positive impact that can be achieved through partnership and shared purpose.  Organizers expressed hope that the event would inspire continued engagement in community service and a deeper connection to faith throughout the year.  The event concluded with a sense of unity and renewed commitment to living out the values of faith, hope, and charity.'],image:["/assets/contents/paraya/paraya5/1.webp","/assets/contents/paraya/paraya5/2.webp"],videoLink:"",link:"https://www.facebook.com/DYCIParaya/posts/pfbid0HKQJUX9b3LuvVdspk6sHrkK7n567HWiKtCKHUUDYp1XqJD86UgyqPvQrSR7zVj8ql"}]},AA=()=>{const e=Tt(),{slug:t}=_i(),r=s=>s.toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w-]+/g,""),a=Uv.paraya.find(s=>r(s.title)===t);return a?f.jsxs(f.Fragment,{children:[f.jsx(oi,{title:a.title}
62),f.jsx(Vh,{category:"societalIntegration"}),f.jsx("div",{className:"container mx-auto py-10 px-5",children:f.jsxs("div",{className:"flex flex-col md:flex-row lg:flex-row gap-11",children:[f.jsxs("div",{className:"lg:w-[70%]",children:[f.jsx("p",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl xl:text-6xl text-navy-blue mb-4",children:a.title}),f.jsx("div",{className:"mt-6 mb-10",children:f.jsxs("p",{className:"text-gray-500 text-md uppercase",children:[a.datePublished||"Date Not Available"," | ",a.author||"DYCI"]})}),f.jsx("div",{children:f.jsx("div",{className:"space-y-6 text-gray-700 leading-relaxed",children:a.description&&a.description.length>0?a.description.map((s,l)=>f.jsxs("div",{className:"flex flex-col space-y-4",children:[f.jsx("p",{className:"text-lg",children:s}),Array.isArray(a.image)&&a.image.length>0&&l%2===1&&a.image[Math.floor(l/2)]&&f.jsx("img",{src:a.image[Math.floor(l/2)],alt:`${a.title} - Image ${Math.floor(l/2)+1}`,className:"w-full lg:w-[890px] object-cover my-6 rounded-lg shadow-md",loading:"lazy"})]},l)):f.jsx("p",{children:"No content available for this article."})})}),f.jsx("div",{className:"py-11",children:a.topic&&f.jsx("span",{className:"bg-gray-200 text-navy-blue px-3 py-1 rounded-full text-sm",children:a.topic})})]}),f.jsx("div",{className:"lg:w-[30%]",children:f.jsxs("div",{className:"space-y-4",children:[f.jsx("p",{className:"text-4xl mb-8 text-navy-blue",children:"Other Articles"}),Uv.paraya.filter(s=>s.title&&s.datePublished).sort((s,l)=>new Date(l.datePublished)-new Date(s.datePublished)).map(s=>f.jsxs("div",{className:"cursor-pointer",onClick:()=>e(`/societal-integration/paraya/articles/${r(s.title)}`,{state:{article:s}}),children:[f.jsx("p",{className:"text-base sm:text-lg md:text-xl font-medium text-navy-blue hover:underline hover:text-gray-700 mb-2",children:s.title}),f.jsx("p",{className:"text-xs sm:text-sm text-gray-300",children:s.datePublished||"Date Not Available"})]},s.title))]})})]})})]}):f.jsx(ln,{title:"We couldn't find that article.",message:"The article you're looking for may have been moved, renamed, or is no longer published."})},LA="/assets/banners/dyci-white.webp",MA=({showAll:e=!1})=>{const[t,r]=k.useState([]),[a,s]=k.useState(!1),[l,u]=k.useState(null),d=Tt(),{slug:h}=_i(),m=S=>S.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/--+/g,"-").trim();k.useEffect(()=>{(async()=>{s(!0);try{const E=await fetch(`${Je}/get-announcements.php`);if(!E.ok)throw new Error("Failed to fetch announcements");const C=await E.json();r(C||[])}catch(E){console.error(E),u("Failed to load announcements.")}finally{s(!1)}})()},[]);let g=Array.isArray(t)?t:[];const v=[...g].sort((S,E)=>{const C=new Date(E.createdAt||0).getTime(),D=new Date(S.createdAt||0).getTime();return C-D}),x=(S,E)=>{if(!S)return"";const D=new Date(S).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"});if(!E)return D;const I=new Date(E).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"});return`${D} to ${I}`},b=S=>{if(!S)return null;const E=S.split(",").map(C=>C.trim()).filter(Boolean).slice(0,3);return E.length?f.jsx("div",{className:"mt-5 mb-2 flex flex-wrap gap-2",children:E.map((C,D)=>f.jsx("span",{className:"inline-flex items-center rounded-full bg-gold px-3 py-1 text-[12px] sm:text-xs text-white font-bold font-body",children:C},`${C}-${D}`))}):null};return f.jsx(f.Fragment,{children:f.jsxs("div",{className:"container mx-auto py-10",children:[f.jsxs("div",{className:"flex items-center justify-between pb-10",children:[f.jsx("p",{className:"font-medium text-white text-3xl sm:text-4xl md:text-5xl leading-tight font-title",children:"Campus Announcements"}),!e&&!a&&f.jsx("button",{onClick:()=>d("/announcements/all"),className:"text-white font-body font-semibold drop-shadow-2xl mt-4",children:f.jsxs("span",{className:"inline-flex items-center text-left gap-2",children:[f.jsx(Gk,{size:35,className:"p-1 rounded-full bg-gold"}),f.jsx("span",{className:"hidden lg:inline",children:"See All Announcements"})]})})]}),a?f.jsx(kt,{}):l?f.jsx(ln,{variant:"section",code:"Error",title:"We couldn't load announcements.",message:l}):g.length===0?f.jsx("p",{className:"text-sm text-gray-500",children:"No announcements available."}):f.jsx(ti,{delay:.1,children:f.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-3 gap-4 w-full mb-8",children:v.filter(S=>h?m(S.announcementTitle)!==h:!0).slice(0,e?v.length:3).map(S=>{const E=S.announcementBannerImage?`https://dyci.edu.ph${S.announcementBannerImage}`:null;return f.jsxs("div",{className:"group cursor-pointer flex flex-col",onClick:()=>{d(`/announcements/${m(S.announcementTitle)}`,{state:{announcementID:S.announcementID,category:S.announcementCategory}})},children:[f.jsx("div",{className:"relative w-full overflow-hidden aspect-4/3 bg-gray-100 drop-shadow-2xl",children:f.jsx("img",{src:E||LA,alt:S.announcementTitle||"Announcement Banner",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-110",loading:"lazy"})}),b(S.announcementCategory),f.jsx("p",{className:"text-2xl text-white leading-snug line-clamp-2 group-hover:text-white transition-colors font-title",children:S.announcementTitle}),f.jsx("p",{className:"mt-1 text-sm text-white/80 font-body",children:x(S.announcementStartDate||S.announcementDate,S.announcementEndDate)})]},S.announcementID)})})})]})})}
62,OA="/assets/banners/dyci-white.webp",IA=({topicString:e})=>{if(!e)return null;const t=e.split(",").map(r=>r.trim()).filter(Boolean).slice(0,3);return t.length?f.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:t.map((r,a)=>f.jsx("span",{className:"inline-flex items-center rounded-full bg-navy-blue px-2 py-0.5 text-[10px] sm:text-xs text-white font-medium",children:r},`${r}-${a}`))}):null},_A=({item:e,onNavigate:t,parseArticleDate:r})=>{const a=r(e.articlePublishedDate);return f.jsx(ti,{delay:.3,children:f.jsxs("div",{role:"article",tabIndex:0,onClick:()=>t(e.articleID,e.articleCategory),onKeyDown:s=>s.key==="Enter"&&t(e.articleID,e.articleCategory),className:"w-full flex flex-col py-6 justify-start overflow-hidden cursor-pointer transition-all duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gold rounded",children:[f.jsx("div",{className:"shrink-0",children:f.jsx("img",{src:e.articleBannerImage||OA,alt:e.articleTitle,loading:"lazy",className:"w-full h-48 sm:h-60 md:h-72 lg:h-80 object-cover"})}),f.jsxs("div",{className:"pt-3 flex flex-col grow",children:[a&&f.jsx("p",{className:"text-[10px] sm:text-xs md:text-sm text-gold opacity-90 mb-1 uppercase font-medium",children:gu(a,"MMMM dd, yyyy")}),f.jsx("p",{className:"text-2xl font-medium text-navy-blue mb-2 line-clamp-2 leading-tight font-title",children:e.articleTitle}),f.jsx(IA,{topicString:e.articleTopic})]})]})},e.articleID)},FA=({articles:e=[],loading:t,error:r,currentPage:a,totalPages:s,onPageChange:l,onNavigate:u,parseArticleDate:d,emptyMessage:h="No news available.",columns:m=2})=>{const g={1:"grid-cols-1",2:"md:grid-cols-2",3:"md:grid-cols-2 lg:grid-cols-3"}[m]??"md:grid-cols-2";return r?f.jsx(ln,{variant:"section",code:"Error",title:"We couldn't load these articles.",message:r}):e.length?f.jsxs(f.Fragment,{children:[f.jsx("div",{className:`grid ${g} gap-6`,children:e.map(v=>f.jsx(_A,{item:v,onNavigate:u,parseArticleDate:d},v.articleID))}),f.jsx(qw,{currentPage:a,totalPages:s,onPageChange:l})]}):f.jsx("p",{className:"text-gray-500 text-md py-12 text-center",children:h})},VA="/assets/banners/dyci-white.webp";function BA({event:e}){const t=Tt(),r=s=>s.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/--+/g,"-").trim(),a=()=>{const s=r(e.title);t(`/events/${s}`,{state:{eventID:e.eventID}})};return f.jsxs("div",{onClick:a,className:"transition cursor-pointer flex flex-col sm:flex-row gap-4 sm:gap-6 items-start",children:[f.jsx("div",{className:"w-full sm:w-[140px] md:w-[180px] lg:w-[220px] shrink-0",children:f.jsx("img",{src:e.eventImageBanner||VA,alt:e.title,className:"w-full h-[160px] sm:h-[120px] md:h-[140px] lg:h-[160px] object-cover transition-transform duration-300 hover:scale-105",loading:"lazy"})}),f.jsxs("div",{className:"flex flex-col justify-center flex-1 w-full",children:[f.jsx("div",{className:"mb-3 inline-flex items-center gap-2",children:f.jsx("span",{className:"inline-block rounded-full px-2 py-1 bg-gold text-xs font-medium uppercase text-white",children:e.category||"Event"})}),f.jsx("p",{className:"text-base sm:text-lg md:text-xl lg:text-2xl font-medium font-title text-navy-blue mb-1 leading-snug",children:e.title}),f.jsx("p",{className:"text-sm font-medium text-gold mb-2",children:e.eventStart&&e.eventEnd?`${new Date(e.eventStart).toLocaleDateString([],{month:"long",day:"numeric",year:"numeric"})} to ${new Date(e.eventEnd).toLocaleDateString([],{month:"long",day:"numeric",year:"numeric"})} | ${new Date(e.eventStart).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!0})} to ${new Date(e.eventEnd).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!0})}
62`:e.displayDate}),e.eventLocation?f.jsxs("p",{className:"text-xs text-gray-500 flex items-center gap-1",children:[f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-4 h-4",viewBox:"0 -960 960 960",fill:"text-gray-500",children:f.jsx("path",{d:"M480-480q33 0 56.5-23.5T560-560q0-33-23.5-56.5T480-640q-33 0-56.5 23.5T400-560q0 33 23.5 56.5T480-480Zm0 294q122-112 181-203.5T720-552q0-109-69.5-178.5T480-800q-101 0-170.5 69.5T240-552q0 71 59 162.5T480-186Zm0 106Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80Zm0-480Z"})}),e.eventLocation]}):f.jsxs("p",{className:"text-xs text-gray-500 flex items-center gap-1",children:[f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-4 h-4",viewBox:"0 -960 960 960",fill:"text-gray-500",children:f.jsx("path",{d:"M480-480q33 0 56.5-23.5T560-560q0-33-23.5-56.5T480-640q-33 0-56.5 23.5T400-560q0 33 23.5 56.5T480-480Zm0 294q122-112 181-203.5T720-552q0-109-69.5-178.5T480-800q-101 0-170.5 69.5T240-552q0 71 59 162.5T480-186Zm0 106Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80Zm0-480Z"})}),"Dr. Yanga's Colleges Inc."]})]})]})}function f1(e,t){return function(){return e.apply(t,arguments)}}const{toString:zA}=Object.prototype,{getPrototypeOf:Ru}=Object,{iterator:Nu,toStringTag:h1}=Symbol,Au=(e=>t=>{const r=zA.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Wn=e=>(e=e.toLowerCase(),t=>Au(t)===e),Lu=e=>t=>typeof t===e,{isArray:Fa}=Array,Aa=Lu("undefined");function uo(e){return e!==null&&!Aa(e)&&e.constructor!==null&&!Aa(e.constructor)&&en(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const m1=Wn("ArrayBuffer");function UA(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&m1(e.buffer),t}const $A=Lu("string"),en=Lu("function"),p1=Lu("number"),co=e=>e!==null&&typeof e=="object",WA=e=>e===!0||e===!1,Zl=e=>{if(Au(e)!=="object")return!1;const t=Ru(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(h1 in e)&&!(Nu in e)},HA=e=>{if(!co(e)||uo(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},YA=Wn("Date"),GA=Wn("File"),qA=e=>!!(e&&typeof e.uri<"u"),KA=e=>e&&typeof e.getParts<"u",QA=Wn("Blob"),JA=Wn("FileList"),XA=e=>co(e)&&en(e.pipe);function ZA(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const $v=ZA(),Wv=typeof $v.FormData<"u"?$v.FormData:void 0,eL=e=>{if(!e)return!1;if(Wv&&e instanceof Wv)return!0;const t=Ru(e);if(!t||t===Object.prototype||!en(e.append))return!1;const r=Au(e);return r==="formdata"||r==="object"&&en(e.toString)&&e.toString()==="[object FormData]"},tL=Wn("URLSearchParams"),[nL,rL,iL,aL]=["ReadableStream","Request","Response","Headers"].map(Wn),sL=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function fo(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let a,s;if(typeof e!="object"&&(e=[e]),Fa(e))for(a=0,s=e.length;a<s;a++)t.call(null,e[a],a,e);else{if(uo(e))return;const l=r?Object.getOwnPropertyNames(e):Object.keys(e),u=l.length;let d;for(a=0;a<u;a++)d=l[a],t.call(null,e[d],d,e)}}function g1(e,t){if(uo(e))return null;t=t.toLowerCase();const r=Object.keys(e);let a=r.length,s;for(;a-- >0;)if(s=r[a],t===s.toLowerCase())return s;return null}const Ri=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,y1=e=>!Aa(e)&&e!==Ri;function Hf(){const{caseless:e,skipUndefined:t}=y1(this)&&this||{},r={},a=(s,l)=>{if(l==="__proto__"||l==="constructor"||l==="prototype")return;const u=e&&g1(r,l)||l;Zl(r[u])&&Zl(s)?r[u]=Hf(r[u],s):Zl(s)?r[u]=Hf({},s):Fa(s)?r[u]=s.slice():(!t||!Aa(s))&&(r[u]=s)};for(let s=0,l=arguments.length;s<l;s++)arguments[s]&&fo(arguments[s],a);return r}const oL=(e,t,r,{allOwnKeys:a}={})=>(fo(t,(s,l)=>{r&&en(s)?Object.defineProperty(e,l,{value:f1(s,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,l,{value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:a}),e),lL=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),uL=(e,t,r,a)=>{e.prototype=Object.create(t.prototype,a),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,
vendor: 10,175 bytes, line 62
62configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},cL=(e,t,r,a)=>{let s,l,u;const d={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),l=s.length;l-- >0;)u=s[l],(!a||a(u,e,t))&&!d[u]&&(t[u]=e[u],d[u]=!0);e=r!==!1&&Ru(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},dL=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const a=e.indexOf(t,r);return a!==-1&&a===r},fL=e=>{if(!e)return null;if(Fa(e))return e;let t=e.length;if(!p1(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},hL=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ru(Uint8Array)),mL=(e,t)=>{const a=(e&&e[Nu]).call(e);let s;for(;(s=a.next())&&!s.done;){const l=s.value;t.call(e,l[0],l[1])}},pL=(e,t)=>{let r;const a=[];for(;(r=e.exec(t))!==null;)a.push(r);return a},gL=Wn("HTMLFormElement"),yL=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,a,s){return a.toUpperCase()+s}),Hv=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),vL=Wn("RegExp"),v1=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),a={};fo(r,(s,l)=>{let u;(u=t(s,l,e))!==!1&&(a[l]=u||s)}),Object.defineProperties(e,a)},xL=e=>{v1(e,(t,r)=>{if(en(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const a=e[r];if(en(a)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},wL=(e,t)=>{const r={},a=s=>{s.forEach(l=>{r[l]=!0})};return Fa(e)?a(e):a(String(e).split(t)),r},bL=()=>{},SL=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function CL(e){return!!(e&&en(e.append)&&e[h1]==="FormData"&&e[Nu])}const kL=e=>{const t=new Array(10),r=(a,s)=>{if(co(a)){if(t.indexOf(a)>=0)return;if(uo(a))return a;if(!("toJSON"in a)){t[s]=a;const l=Fa(a)?[]:{};return fo(a,(u,d)=>{const h=r(u,s+1);!Aa(h)&&(l[d]=h)}),t[s]=void 0,l}}return a};return r(e,0)},EL=Wn("AsyncFunction"),TL=e=>e&&(co(e)||en(e))&&en(e.then)&&en(e.catch),x1=((e,t)=>e?setImmediate:t?((r,a)=>(Ri.addEventListener("message",({source:s,data:l})=>{s===Ri&&l===r&&a.length&&a.shift()()},!1),s=>{a.push(s),Ri.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",en(Ri.postMessage)),PL=typeof queueMicrotask<"u"?queueMicrotask.bind(Ri):typeof process<"u"&&process.nextTick||x1,jL=e=>e!=null&&en(e[Nu]),$={isArray:Fa,isArrayBuffer:m1,isBuffer:uo,isFormData:eL,isArrayBufferView:UA,isString:$A,isNumber:p1,isBoolean:WA,isObject:co,isPlainObject:Zl,isEmptyObject:HA,isReadableStream:nL,isRequest:rL,isResponse:iL,isHeaders:aL,isUndefined:Aa,isDate:YA,isFile:GA,isReactNativeBlob:qA,isReactNative:KA,isBlob:QA,isRegExp:vL,isFunction:en,isStream:XA,isURLSearchParams:tL,isTypedArray:hL,isFileList:JA,forEach:fo,merge:Hf,extend:oL,trim:sL,stripBOM:lL,inherits:uL,toFlatObject:cL,kindOf:Au,kindOfTest:Wn,endsWith:dL,toArray:fL,forEachEntry:mL,matchAll:pL,isHTMLForm:gL,hasOwnProperty:Hv,hasOwnProp:Hv,reduceDescriptors:v1,freezeMethods:xL,toObjectSet:wL,toCamelCase:yL,noop:bL,toFiniteNumber:SL,findKey:g1,global:Ri,isContextDefined:y1,isSpecCompliantForm:CL,toJSONObject:kL,isAsyncFn:EL,isThenable:TL,setImmediate:x1,asap:PL,isIterable:jL};let Ne=class w1 extends Error{static from(t,r,a,s,l,u){const d=new w1(t.message,r||t.code,a,s,l);return d.cause=t,d.name=t.name,t.status!=null&&d.status==null&&(d.status=t.status),u&&Object.assign(d,u),d}constructor(t,r,a,s,l){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),a&&(this.config=a),s&&(this.request=s),l&&(this.response=l,this.status=l.status)}toJSON(){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:$.toJSONObject(this.config),code:this.code,status:this.status}}};Ne.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Ne.ERR_BAD_OPTION="ERR_BAD_OPTION";Ne.ECONNABORTED="ECONNABORTED";Ne.ETIMEDOUT="ETIMEDOUT";Ne.ERR_NETWORK="ERR_NETWORK";Ne.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Ne.ERR_DEPRECATED="ERR_DEPRECATED";Ne.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Ne.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Ne.ERR_CANCELED="ERR_CANCELED";Ne.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Ne.ERR_INVALID_URL="ERR_INVALID_URL";Ne.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const DL=null;function Yf(e){return $.isPlainObject(e)||$.isArray(e)}function b1(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function Zd(e,t,r){return e?e.concat(t).map(function(s,l){return s=b1(s),!r&&l?"["+s+"]":s}).join(r?".":""):t}function RL(e){return $.isArray(e)&&!e.some(Yf)}const NL=$.toFlatObject($,{},null,function(t){return/^is[A-Z]/.test(t)});function Mu(e,t,r){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=$.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(C,D){return!$.isUndefined(D[C])});const a=r.metaTokens,s=r.visitor||v,l=r.dots,u=r.indexes,d=r.Blob||typeof Blob<"u"&&Blob,h=r.maxDepth===void 0?100:r.maxDepth,m=d&&$.isSpecCompliantForm(t);if(!$.isFunction(s))throw new TypeError("visitor must be a function");function g(E){if(E===null)return"";if($.isDate(E))return E.toISOString();if($.isBoolean(E))return E.toString();if(!m&&$.isBlob(E))throw new Ne("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(E)||$.isTypedArray(E)?m&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function v(E,C,D){let _=E;if($.isReactNative(t)&&$.isReactNativeBlob(E))return t.append(Zd(D,C,l),g(E)),!1;if(E&&!D&&typeof E=="object"){if($.endsWith(C,"{}"))C=a?C:C.slice(0,-2),E=JSON.stringify(E);else if($.isArray(E)&&RL(E)||($.isFileList(E)||$.endsWith(C,"[]"))&&(_=$.toArray(E)))return C=b1(C),_.forEach(function(F,U){!($.isUndefined(F)||F===null)&&t.append(u===!0?Zd([C],U,l):u===null?C:C+"[]",g(F))}),!1}return Yf(E)?!0:(t.append(Zd(D,C,l),g(E)),!1)}const x=[],b=Object.assign(NL,{defaultVisitor:v,convertValue:g,isVisitable:Yf});function S(E,C,D=0){if(!$.isUndefined(E)){if(D>h)throw new Ne("Object is too deeply nested ("+D+" levels). Max depth: "+h,Ne.ERR_FORM_DATA_DEPTH_EXCEEDED);if(x.indexOf(E)!==-1)throw Error("Circular reference detected in "+C.join("."));x.push(E),$.forEach(E,function(I,F){(!($.isUndefined(I)||I===null)&&s.call(t,I,$.isString(F)?F.trim():F,C,b))===!0&&S(I,C?C.concat(F):[F],D+1)}),x.pop()}}if(!$.isObject(e))throw new TypeError("data must be an object");return S(e),t}function Yv(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(a){return t[a]})}function zh(e,t){this._pairs=[],e&&Mu(e,this,t)}const S1=zh.prototype;S1.append=function(t,r){this._pairs.push([t,r])};S1.toString=function(t){const r=t?function(a){return t.call(this,a,Yv)}:Yv;return this._pairs.map(function(s){return r(s[0])+"="+r(s[1])},"").join("&")};function AL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function C1(e,t,r){if(!t)return e;const a=r&&r.encode||AL,s=$.isFunction(r)?{serialize:r}:r,l=s&&s.serialize;let u;if(l?u=l(t,s):u=$.isURLSearchParams(t)?t.toString():new zh(t,s).toString(a),u){const d=e.indexOf("#");d!==-1&&(e=e.slice(0,d)),e+=(e.indexOf("?")===-1?"?":"&")+u}return e}class Gv{constructor(){this.handlers=[]}use(t,r,a){return this.handlers.push({fulfilled:t,rejected:r,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,function(a){a!==null&&t(a)})}}const Uh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},LL=typeof URLSearchParams<"u"?URLSearchParams:zh,ML=typeof FormData<"u"?FormData:null,OL=typeof Blob<"u"?Blob:null,IL={isBrowser:!0,classes:{URLSearchParams:LL,FormData:ML,Blob:OL},protocols:["http","https","file","blob","url","data"]},$h=typeof window<"u"&&typeof document<"u",Gf=typeof navigator=="object"&&navigator||void 0,_L=$h&&(!Gf||["ReactNative","NativeScript","NS"].indexOf(Gf.product)<0),FL=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",VL=$h&&window.location.href||"http://localhost",BL=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$h,hasStandardBrowserEnv:_L,hasStandardBrowserWebWorkerEnv:FL,navigator:Gf,origin:VL},Symbol.toStringTag,{value:"Module"})),Vt={...BL,...IL};function zL(e,t){return Mu(e,new Vt.classes.URLSearchParams,{visitor:function(r,a,s,l){return Vt.isNode&&$.isBuffer(r)?(this.append(a,r.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)},...t})}function UL(e){return $.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function $L(e){const t={},r=Object.keys(e);let a;const s=r.length;let l;for(a=0;a<s;a++)l=r[a],t[l]=e[l];return t}function k1(e){function t(r,a,s,l){let u=r[l++];if(u==="__proto__")return!0;const d=Number.isFinite(+u),h=l>=r.length;return u=!u&&$.isArray(s)?s.length:u,h?($.hasOwnProp(s,u)?s[u]=$.isArray(s[u])?s[u].concat(a):[s[u],a]:s[u]=a,!d):((!s[u]||!$.isObject(s[u]))&&(s[u]=[]),t(r,a,s[u],l)&&$.isArray(s[u])&&(s[u]=$L(s[u])),!d)}if($.isFormData(e)&&$.isFunction(e.entries)){const r={};return $.forEachEntry(e,(a,s)=>{t(UL(a),s,r,0)}),r}return null}const xa=(e,t)=>e!=null&&$.hasOwnProp(e,t)?e[t]:void 0;function WL(e,t,r){if($.isString(e))try{return(t||JSON.parse)(e),$.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(r||JSON.stringify)(e)}const ho={transitional:Uh,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const a=r.getContentType()||"",s=a.indexOf("application/json")>-1,l=$.isObject(t);if(l&&$.isHTMLForm(t)&&(t=new FormData(t)),$.isFormData(t))return s?JSON.stringify(k1(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t)||$.isReadableStream(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let d;
vendor: 7,960 bytes, lines 62-64
62if(l){const h=xa(this,"formSerializer");if(a.indexOf("application/x-www-form-urlencoded")>-1)return zL(t,h).toString();if((d=$.isFileList(t))||a.indexOf("multipart/form-data")>-1){const m=xa(this,"env"),g=m&&m.FormData;return Mu(d?{"files[]":t}:t,g&&new g,h)}}return l||s?(r.setContentType("application/json",!1),WL(t)):t}],transformResponse:[function(t){const r=xa(this,"transitional")||ho.transitional,a=r&&r.forcedJSONParsing,s=xa(this,"responseType"),l=s==="json";if($.isResponse(t)||$.isReadableStream(t))return t;if(t&&$.isString(t)&&(a&&!s||l)){const d=!(r&&r.silentJSONParsing)&&l;try{return JSON.parse(t,xa(this,"parseReviver"))}catch(h){if(d)throw h.name==="SyntaxError"?Ne.from(h,Ne.ERR_BAD_RESPONSE,this,null,xa(this,"response")):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Vt.classes.FormData,Blob:Vt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],e=>{ho.headers[e]={}});const HL=$.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"]),YL=e=>{const t={};let r,a,s;return e&&e.split(`
63`).forEach(function(u){s=u.indexOf(":"),r=u.substring(0,s).trim().toLowerCase(),a=u.substring(s+1).trim(),!(!r||t[r]&&HL[r])&&(r==="set-cookie"?t[r]?t[r].push(a):t[r]=[a]:t[r]=t[r]?t[r]+", "+a:a)}),t},qv=Symbol("internals"),GL=/[^\x09\x20-\x7E\x80-\xFF]/g;function qL(e){let t=0,r=e.length;for(;t<r;){const a=e.charCodeAt(t);if(a!==9&&a!==32)break;t+=1}for(;r>t;){const a=e.charCodeAt(r-1);if(a!==9&&a!==32)break;r-=1}return t===0&&r===e.length?e:e.slice(t,r)}function Is(e){return e&&String(e).trim().toLowerCase()}function KL(e){return qL(e.replace(GL,""))}function eu(e){return e===!1||e==null?e:$.isArray(e)?e.map(eu):KL(String(e))}function QL(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=r.exec(e);)t[a[1]]=a[2];return t}const JL=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ef(e,t,r,a,s){if($.isFunction(a))return a.call(this,t,r);if(s&&(t=r),!!$.isString(t)){if($.isString(a))return t.indexOf(a)!==-1;if($.isRegExp(a))return a.test(t)}}function XL(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,a)=>r.toUpperCase()+a)}function ZL(e,t){const r=$.toCamelCase(" "+t);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+r,{value:function(s,l,u){return this[a].call(this,t,s,l,u)},configurable:!0})})}let tn=class{constructor(t){t&&this.set(t)}set(t,r,a){const s=this;function l(d,h,m){const g=Is(h);if(!g)throw new Error("header name must be a non-empty string");const v=$.findKey(s,g);(!v||s[v]===void 0||m===!0||m===void 0&&s[v]!==!1)&&(s[v||h]=eu(d))}const u=(d,h)=>$.forEach(d,(m,g)=>l(m,g,h));if($.isPlainObject(t)||t instanceof this.constructor)u(t,r);else if($.isString(t)&&(t=t.trim())&&!JL(t))u(YL(t),r);else if($.isObject(t)&&$.isIterable(t)){let d={},h,m;for(const g of t){if(!$.isArray(g))throw TypeError("Object iterator must return a key-value pair");d[m=g[0]]=(h=d[m])?$.isArray(h)?[...h,g[1]]:[h,g[1]]:g[1]}u(d,r)}else t!=null&&l(r,t,a);return this}get(t,r){if(t=Is(t),t){const a=$.findKey(this,t);if(a){const s=this[a];if(!r)return s;if(r===!0)return QL(s);if($.isFunction(r))return r.call(this,s,a);if($.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Is(t),t){const a=$.findKey(this,t);return!!(a&&this[a]!==void 0&&(!r||ef(this,this[a],a,r)))}return!1}delete(t,r){const a=this;let s=!1;function l(u){if(u=Is(u),u){const d=$.findKey(a,u);d&&(!r||ef(a,a[d],d,r))&&(delete a[d],s=!0)}}return $.isArray(t)?t.forEach(l):l(t),s}clear(t){const r=Object.keys(this);let a=r.length,s=!1;for(;a--;){const l=r[a];(!t||ef(this,this[l],l,t,!0))&&(delete this[l],s=!0)}return s}normalize(t){const r=this,a={};return $.forEach(this,(s,l)=>{const u=$.findKey(a,l);if(u){r[u]=eu(s),delete r[l];return}const d=t?XL(l):String(l).trim();d!==l&&delete r[l],r[d]=eu(s),a[d]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return $.forEach(this,(a,s)=>{a!=null&&a!==!1&&(r[s]=t&&$.isArray(a)?a.join(", "):a)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
64`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const a=new this(t);return r.forEach(s=>a.set(s)),a}static accessor(t){const a=(this[qv]=this[qv]={accessors:{}}).accessors,s=this.prototype;function l(u){const d=Is(u);a[d]||(ZL(s,u),a[d]=!0)}return $.isArray(t)?t.forEach(l):l(t),this}};tn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(tn.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(a){this[r]=a}}});$.freezeMethods(tn);function tf(e,t){const r=this||ho,a=t||r,s=tn.from(a.headers);let l=a.data;return $.forEach(e,function(d){l=d.call(r,l,s.normalize(),t?t.status:void 0)}),s.normalize(),l}function E1(e){return!!(e&&e.__CANCEL__)}let mo=class extends Ne{constructor(t,r,a){super(t??"canceled",Ne.ERR_CANCELED,r,a),this.name="CanceledError",this.__CANCEL__=!0}};function T1(e,t,r){const a=r.config.validateStatus;!r.status||!a||a(r.status)?e(r):t(new Ne("Request failed with status code "+r.status,[Ne.ERR_BAD_REQUEST,Ne.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function e4(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function t4(e,t){e=e||10;const r=new Array(e),a=new Array(e);let s=0,l=0,u;return t=t!==void 0?t:1e3,function(h){const m=Date.now(),g=a[l];u||(u=m),r[s]=h,a[s]=m;let v=l,x=0;for(;v!==s;)x+=r[v++],v=v%e;if(s=(s+1)%e,s===l&&(l=(l+1)%e),m-u<t)return;const b=g&&m-g;return b?Math.round(x*1e3/b):void 0}}function n4(e,t){let r=0,a=1e3/t,s,l;const u=(m,g=Date.now())=>{r=g,s=null,l&&(clearTimeout(l),l=null),e(...m)};return[(...m)=>{const g=Date.now(),v=g-r;v>=a?u(m,g):(s=m,l||(l=setTimeout(()=>{l=null,u(s)},a-v)))},()=>s&&u(s)]}const yu=(e,t,r=3)=>{let a=0;const s=t4(50,250);return n4(l=>{const u=l.loaded,d=l.lengthComputable?l.total:void 0,h=d!=null?Math.min(u,d):u,m=Math.max(0,h-a),g=s(m);a=Math.max(a,h);const v={loaded:h,total:d,progress:d?h/d:void 0,bytes:m,rate:g||void 0,estimated:g&&d?(d-h)/g:void 0,event:l,lengthComputable:d!=null,[t?"download":"upload"]:!0};e(v)},r)},Kv=(e,t)=>{const r=e!=null;return[a=>t[0]({lengthComputable:r,total:e,loaded:a}),t[1]]},Qv=e=>(...t)=>$.asap(()=>e(...t)),r4=Vt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Vt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Vt.origin),Vt.navigator&&/(msie|trident)/i.test(Vt.navigator.userAgent)):()=>!0,i4=Vt.hasStandardBrowserEnv?{write(e,t,r,a,s,l,u){if(typeof document>"u")return;const d=[`${e}=${encodeURIComponent(t)}`];$.isNumber(r)&&d.push(`expires=${new Date(r).toUTCString()}`),$.isString(a)&&d.push(`path=${a}`),$.isString(s)&&d.push(`domain=${s}`),l===!0&&d.push("secure"),$.isString(u)&&d.push(`SameSite=${u}`),document.cookie=d.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function a4(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function s4(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function P1(e,t,r){let a=!a4(t);return e&&(a||r===!1)?s4(e,t):t}const Jv=e=>e instanceof tn?{...e}:e;
vendor: 5,921 bytes, line 64
64function Oi(e,t){t=t||{};const r={};function a(m,g,v,x){return $.isPlainObject(m)&&$.isPlainObject(g)?$.merge.call({caseless:x},m,g):$.isPlainObject(g)?$.merge({},g):$.isArray(g)?g.slice():g}function s(m,g,v,x){if($.isUndefined(g)){if(!$.isUndefined(m))return a(void 0,m,v,x)}else return a(m,g,v,x)}function l(m,g){if(!$.isUndefined(g))return a(void 0,g)}function u(m,g){if($.isUndefined(g)){if(!$.isUndefined(m))return a(void 0,m)}else return a(void 0,g)}function d(m,g,v){if($.hasOwnProp(t,v))return a(m,g);if($.hasOwnProp(e,v))return a(void 0,m)}const h={url:l,method:l,data:l,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:d,headers:(m,g,v)=>s(Jv(m),Jv(g),v,!0)};return $.forEach(Object.keys({...e,...t}),function(g){if(g==="__proto__"||g==="constructor"||g==="prototype")return;const v=$.hasOwnProp(h,g)?h[g]:s,x=$.hasOwnProp(e,g)?e[g]:void 0,b=$.hasOwnProp(t,g)?t[g]:void 0,S=v(x,b,g);$.isUndefined(S)&&v!==d||(r[g]=S)}),r}const j1=e=>{const t=Oi({},e);let{data:r,withXSRFToken:a,xsrfHeaderName:s,xsrfCookieName:l,headers:u,auth:d}=t;if(t.headers=u=tn.from(u),t.url=C1(P1(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),d&&u.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):""))),$.isFormData(r)){if(Vt.hasStandardBrowserEnv||Vt.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if($.isFunction(r.getHeaders)){const h=r.getHeaders(),m=["content-type","content-length"];Object.entries(h).forEach(([g,v])=>{m.includes(g.toLowerCase())&&u.set(g,v)})}}if(Vt.hasStandardBrowserEnv&&($.isFunction(a)&&(a=a(t)),a===!0||a==null&&r4(t.url))){const m=s&&l&&i4.read(l);m&&u.set(s,m)}return t},o4=typeof XMLHttpRequest<"u",l4=o4&&function(e){return new Promise(function(r,a){const s=j1(e);let l=s.data;const u=tn.from(s.headers).normalize();let{responseType:d,onUploadProgress:h,onDownloadProgress:m}=s,g,v,x,b,S;function E(){b&&b(),S&&S(),s.cancelToken&&s.cancelToken.unsubscribe(g),s.signal&&s.signal.removeEventListener("abort",g)}let C=new XMLHttpRequest;C.open(s.method.toUpperCase(),s.url,!0),C.timeout=s.timeout;function D(){if(!C)return;const I=tn.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),U={data:!d||d==="text"||d==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:I,config:e,request:C};T1(function(W){r(W),E()},function(W){a(W),E()},U),C=null}"onloadend"in C?C.onloadend=D:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(D)},C.onabort=function(){C&&(a(new Ne("Request aborted",Ne.ECONNABORTED,e,C)),C=null)},C.onerror=function(F){const U=F&&F.message?F.message:"Network Error",J=new Ne(U,Ne.ERR_NETWORK,e,C);J.event=F||null,a(J),C=null},C.ontimeout=function(){let F=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const U=s.transitional||Uh;s.timeoutErrorMessage&&(F=s.timeoutErrorMessage),a(new Ne(F,U.clarifyTimeoutError?Ne.ETIMEDOUT:Ne.ECONNABORTED,e,C)),C=null},l===void 0&&u.setContentType(null),"setRequestHeader"in C&&$.forEach(u.toJSON(),function(F,U){C.setRequestHeader(U,F)}),$.isUndefined(s.withCredentials)||(C.withCredentials=!!s.withCredentials),d&&d!=="json"&&(C.responseType=s.responseType),m&&([x,S]=yu(m,!0),C.addEventListener("progress",x)),h&&C.upload&&([v,b]=yu(h),C.upload.addEventListener("progress",v),C.upload.addEventListener("loadend",b)),(s.cancelToken||s.signal)&&(g=I=>{C&&(a(!I||I.type?new mo(null,e,C):I),C.abort(),C=null)},s.cancelToken&&s.cancelToken.subscribe(g),s.signal&&(s.signal.aborted?g():s.signal.addEventListener("abort",g)));const _=e4(s.url);if(_&&Vt.protocols.indexOf(_)===-1){a(new Ne("Unsupported protocol "+_+":",Ne.ERR_BAD_REQUEST,e));return}C.send(l||null)})},u4=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let a=new AbortController,s;const l=function(m){if(!s){s=!0,d();const g=m instanceof Error?m:this.reason;a.abort(g instanceof Ne?g:new mo(g instanceof Error?g.message:g))}};let u=t&&setTimeout(()=>{u=null,l(new Ne(`timeout of ${t}ms exceeded`,Ne.ETIMEDOUT))},t);const d=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(m=>{m.unsubscribe?m.unsubscribe(l):m.removeEventListener("abort",l)}),e=null)};e.forEach(m=>m.addEventListener("abort",l));const{signal:h}=a;return h.unsubscribe=()=>$.asap(d),h}},c4=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let a=0,s;for(;a<r;)s=a+t,yield e.slice(a,s),a=s},d4=async function*(e,t){for await(const r of f4(e))yield*c4(r,t)},f4=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:a}=await t.read();if(r)break;yield a}}finally{await t.cancel()}},Xv=(e,t,r,a)=>{const s=d4(e,t);let l=0,u,d=h=>{u||(u=!0,a&&a(h))};return new ReadableStream({async pull(h){try{const{done:m,value:g}=await s.next();if(m){d(),h.close();return}let v=g.byteLength;if(r){let x=l+=v;r(x)}h.enqueue(new Uint8Array(g))}catch(m){throw d(m),m}},cancel(h){return d(h),s.return()}},{highWaterMark:2})},Zv=64*1024,{isFunction:Vl}=$,h4=(({Request:e,Response:t})=>({Request:e,Response:t}))($.global),{ReadableStream:e0,TextEncoder:t0}=$.global,n0=(e,...t)=>{try{return!!e(...t)}catch{return!1}},m4=e=>{e=$.merge.call({skipUndefined:!0},h4,e);const{fetch:t,Request:r,Response:a}=e,s=t?Vl(t):typeof fetch=="function",l=Vl(r),u=Vl(a);if(!s)return!1;const d=s&&Vl(e0),h=s&&(typeof t0=="function"?(S=>E=>S.encode(E))(new t0):async S=>new Uint8Array(await new r(S).arrayBuffer())),m=l&&d&&n0(()=>{let S=!1;const E=new r(Vt.origin,{body:new e0,method:"POST",get duplex(){return S=!0,"half"}}
vendor: 9,217 bytes, lines 64-70
64),C=E.headers.has("Content-Type");return E.body!=null&&E.body.cancel(),S&&!C}),g=u&&d&&n0(()=>$.isReadableStream(new a("").body)),v={stream:g&&(S=>S.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!v[S]&&(v[S]=(E,C)=>{let D=E&&E[S];if(D)return D.call(E);throw new Ne(`Response type '${S}' is not supported`,Ne.ERR_NOT_SUPPORT,C)})});const x=async S=>{if(S==null)return 0;if($.isBlob(S))return S.size;if($.isSpecCompliantForm(S))return(await new r(Vt.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if($.isArrayBufferView(S)||$.isArrayBuffer(S))return S.byteLength;if($.isURLSearchParams(S)&&(S=S+""),$.isString(S))return(await h(S)).byteLength},b=async(S,E)=>{const C=$.toFiniteNumber(S.getContentLength());return C??x(E)};return async S=>{let{url:E,method:C,data:D,signal:_,cancelToken:I,timeout:F,onDownloadProgress:U,onUploadProgress:J,responseType:W,headers:T,withCredentials:M="same-origin",fetchOptions:O}=j1(S),q=t||fetch;W=W?(W+"").toLowerCase():"text";let ae=u4([_,I&&I.toAbortSignal()],F),ue=null;const ge=ae&&ae.unsubscribe&&(()=>{ae.unsubscribe()});let ce;try{if(J&&m&&C!=="get"&&C!=="head"&&(ce=await b(T,D))!==0){let R=new r(E,{method:"POST",body:D,duplex:"half"}),G;if($.isFormData(D)&&(G=R.headers.get("content-type"))&&T.setContentType(G),R.body){const[K,ne]=Kv(ce,yu(Qv(J)));D=Xv(R.body,Zv,K,ne)}}$.isString(M)||(M=M?"include":"omit");const ie=l&&"credentials"in r.prototype;if($.isFormData(D)){const R=T.getContentType();R&&/^multipart\/form-data/i.test(R)&&!/boundary=/i.test(R)&&T.delete("content-type")}const fe={...O,signal:ae,method:C.toUpperCase(),headers:T.normalize().toJSON(),body:D,duplex:"half",credentials:ie?M:void 0};ue=l&&new r(E,fe);let Y=await(l?q(ue,O):q(E,fe));const Q=g&&(W==="stream"||W==="response");if(g&&(U||Q&&ge)){const R={};["status","statusText","headers"].forEach(ye=>{R[ye]=Y[ye]});const G=$.toFiniteNumber(Y.headers.get("content-length")),[K,ne]=U&&Kv(G,yu(Qv(U),!0))||[];Y=new a(Xv(Y.body,Zv,K,()=>{ne&&ne(),ge&&ge()}),R)}W=W||"text";let X=await v[$.findKey(v,W)||"text"](Y,S);return!Q&&ge&&ge(),await new Promise((R,G)=>{T1(R,G,{data:X,headers:tn.from(Y.headers),status:Y.status,statusText:Y.statusText,config:S,request:ue})})}catch(ie){throw ge&&ge(),ie&&ie.name==="TypeError"&&/Load failed|fetch/i.test(ie.message)?Object.assign(new Ne("Network Error",Ne.ERR_NETWORK,S,ue,ie&&ie.response),{cause:ie.cause||ie}):Ne.from(ie,ie&&ie.code,S,ue,ie&&ie.response)}}},p4=new Map,D1=e=>{let t=e&&e.env||{};const{fetch:r,Request:a,Response:s}=t,l=[a,s,r];let u=l.length,d=u,h,m,g=p4;for(;d--;)h=l[d],m=g.get(h),m===void 0&&g.set(h,m=d?new Map:m4(t)),g=m;return m};D1();const Wh={http:DL,xhr:l4,fetch:{get:D1}};$.forEach(Wh,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const r0=e=>`- ${e}`,g4=e=>$.isFunction(e)||e===null||e===!1;function y4(e,t){e=$.isArray(e)?e:[e];const{length:r}=e;let a,s;const l={};for(let u=0;u<r;u++){a=e[u];let d;if(s=a,!g4(a)&&(s=Wh[(d=String(a)).toLowerCase()],s===void 0))throw new Ne(`Unknown adapter '${d}'`);if(s&&($.isFunction(s)||(s=s.get(t))))break;l[d||"#"+u]=s}if(!s){const u=Object.entries(l).map(([h,m])=>`adapter ${h} `+(m===!1?"is not supported by the environment":"is not available in the build"));let d=r?u.length>1?`since :
65`+u.map(r0).join(`
66`):" "+r0(u[0]):"as no adapter specified";throw new Ne("There is no suitable adapter to dispatch the request "+d,"ERR_NOT_SUPPORT")}return s}const R1={getAdapter:y4,adapters:Wh};function nf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mo(null,e)}function i0(e){return nf(e),e.headers=tn.from(e.headers),e.data=tf.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),R1.getAdapter(e.adapter||ho.adapter,e)(e).then(function(a){return nf(e),a.data=tf.call(e,e.transformResponse,a),a.headers=tn.from(a.headers),a},function(a){return E1(a)||(nf(e),a&&a.response&&(a.response.data=tf.call(e,e.transformResponse,a.response),a.response.headers=tn.from(a.response.headers))),Promise.reject(a)})}const N1="1.15.1",Ou={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ou[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});const a0={};Ou.transitional=function(t,r,a){function s(l,u){return"[Axios v"+N1+"] Transitional option '"+l+"'"+u+(a?". "+a:"")}return(l,u,d)=>{if(t===!1)throw new Ne(s(u," has been removed"+(r?" in "+r:"")),Ne.ERR_DEPRECATED);return r&&!a0[u]&&(a0[u]=!0,console.warn(s(u," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(l,u,d):!0}};Ou.spelling=function(t){return(r,a)=>(console.warn(`${a} is likely a misspelling of ${t}`),!0)};function v4(e,t,r){if(typeof e!="object")throw new Ne("options must be an object",Ne.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let s=a.length;for(;s-- >0;){const l=a[s],u=t[l];if(u){const d=e[l],h=d===void 0||u(d,l,e);if(h!==!0)throw new Ne("option "+l+" must be "+h,Ne.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ne("Unknown option "+l,Ne.ERR_BAD_OPTION)}}const tu={assertOptions:v4,validators:Ou},bn=tu.validators;let Mi=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Gv,response:new Gv}}async request(t,r){try{return await this._request(t,r)}catch(a){if(a instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const l=(()=>{if(!s.stack)return"";const u=s.stack.indexOf(`
67`);return u===-1?"":s.stack.slice(u+1)})();try{if(!a.stack)a.stack=l;else if(l){const u=l.indexOf(`
68`),d=u===-1?-1:l.indexOf(`
69`,u+1),h=d===-1?"":l.slice(d+1);String(a.stack).endsWith(h)||(a.stack+=`
70`+l)}}catch{}}throw a}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Oi(this.defaults,r);const{transitional:a,paramsSerializer:s,headers:l}=r;a!==void 0&&tu.assertOptions(a,{silentJSONParsing:bn.transitional(bn.boolean),forcedJSONParsing:bn.transitional(bn.boolean),clarifyTimeoutError:bn.transitional(bn.boolean),legacyInterceptorReqResOrdering:bn.transitional(bn.boolean)},!1),s!=null&&($.isFunction(s)?r.paramsSerializer={serialize:s}:tu.assertOptions(s,{encode:bn.function,serialize:bn.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),tu.assertOptions(r,{baseUrl:bn.spelling("baseURL"),withXsrfToken:bn.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let u=l&&$.merge(l.common,l[r.method]);l&&$.forEach(["delete","get","head","post","put","patch","common"],S=>{delete l[S]}),r.headers=tn.concat(u,l);const d=[];let h=!0;this.interceptors.request.forEach(function(E){if(typeof E.runWhen=="function"&&E.runWhen(r)===!1)return;h=h&&E.synchronous;const C=r.transitional||Uh;C&&C.legacyInterceptorReqResOrdering?d.unshift(E.fulfilled,E.rejected):d.push(E.fulfilled,E.rejected)});const m=[];this.interceptors.response.forEach(function(E){m.push(E.fulfilled,E.rejected)});let g,v=0,x;if(!h){const S=[i0.bind(this),void 0];for(S.unshift(...d),S.push(...m),x=S.length,g=Promise.resolve(r);v<x;)g=g.then(S[v++],S[v++]);return g}x=d.length;let b=r;for(;v<x;){const S=d[v++],E=d[v++];try{b=S(b)}catch(C){E.call(this,C);break}}try{g=i0.call(this,b)}catch(S){return Promise.reject(S)}for(v=0,x=m.length;v<x;)g=g.then(m[v++],m[v++]);return g}getUri(t){t=Oi(this.defaults,t);const r=P1(t.baseURL,t.url,t.allowAbsoluteUrls);return C1(r,t.params,t.paramsSerializer)}};$.forEach(["delete","get","head","options"],function(t){Mi.prototype[t]=function(r,a){return this.request(Oi(a||{},{method:t,url:r,data:(a||{}).data}))}});$.forEach(["post","put","patch"],function(t){function r(a){return function(l,u,d){return this.request(Oi(d||{},{method:t,headers:a?{"Content-Type":"multipart/form-data"}:{},url:l,data:u}))}}Mi.prototype[t]=r(),Mi.prototype[t+"Form"]=r(!0)});let x4=class A1{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(l){r=l});const a=this;this.promise.then(s=>{if(!a._listeners)return;let l=a._listeners.length;for(;l-- >0;)a._listeners[l](s);a._listeners=null}),this.promise.then=s=>{let l;const u=new Promise(d=>{a.subscribe(d),l=d}).then(s);return u.cancel=function(){a.unsubscribe(l)},u},t(function(l,u,d){a.reason||(a.reason=new mo(l,u,d),r(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=a=>{t.abort(a)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new A1(function(s){t=s}),cancel:t}}};function w4(e){return function(r){return e.apply(null,r)}}function b4(e){return $.isObject(e)&&e.isAxiosError===!0}const qf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
70alContent: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(qf).forEach(([e,t])=>{qf[t]=e});function L1(e){const t=new Mi(e),r=f1(Mi.prototype.request,t);return $.extend(r,Mi.prototype,t,{allOwnKeys:!0}),$.extend(r,t,null,{allOwnKeys:!0}),r.create=function(s){return L1(Oi(e,s))},r}const mt=L1(ho);mt.Axios=Mi;mt.CanceledError=mo;mt.CancelToken=x4;mt.isCancel=E1;mt.VERSION=N1;mt.toFormData=Mu;mt.AxiosError=Ne;mt.Cancel=mt.CanceledError;mt.all=function(t){return Promise.all(t)};mt.spread=w4;mt.isAxiosError=b4;mt.mergeConfig=Oi;mt.AxiosHeaders=tn;mt.formToJSON=e=>k1($.isHTMLForm(e)?new FormData(e):e);mt.getAdapter=R1.getAdapter;mt.HttpStatusCode=qf;mt.default=mt;const{Axios:jO,AxiosError:DO,CanceledError:RO,isCancel:NO,CancelToken:AO,VERSION:LO,all:MO,Cancel:OO,isAxiosError:IO,spread:_O,toFormData:FO,AxiosHeaders:VO,HttpStatusCode:BO,formToJSON:zO,getAdapter:UO,mergeConfig:$O}=mt,S4="/assets/banners/dyci-white.webp",C4=e=>{const t=e.startsWith("http")?e:`https://dyci.edu.ph${e}`;window.open(t,"_blank")},k4=({category:e,reports:t,title:r,emptyMessage:a})=>{const s=Array.isArray(t),[l,u]=k.useState([]),[d,h]=k.useState(!s);Tt();const m=s?t:l;return k.useEffect(()=>{if(s)return;(async()=>{try{const v=await mt.get(`${Je}/get-documents.php?categoryTag=${e}&documentStatus=Published`);u(v.data||[])}catch(v){console.error("Error fetching reports:",v)}finally{h(!1)}})()},[e,s]),f.jsxs("div",{className:"container mx-auto py-10",children:[f.jsx("div",{className:"mb-6",children:f.jsx("p",{className:"text-navy-blue text-5xl pt-2 pb-4 my-4 font-title font-medium",children:r||`${e.charAt(0).toUpperCase()+e.slice(1)} Documents`})}),f.jsx("div",{className:"",children:d?f.jsx(kt,{}):f.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-1 flex-1",children:m.length>0?m.map((g,v)=>f.jsxs("div",{className:"flex flex-col w-40",children:[f.jsxs("div",{className:"flex flex-col relative shadow-md cursor-pointer transform transition-transform duration-300 hover:translate-y-1 hover:shadow-lg w-full",children:[f.jsx("img",{src:g.documentImageCover||S4,alt:`${g.documentTitle} - Document Cover`,className:"w-full h-56 object-cover text-xs text-gray-700 rounded-md"}),f.jsx("div",{onClick:()=>C4(g.filePath),children:f.jsx("p",{className:"absolute top-2 right-2 bg-white bg-opacity-20 rounded-full p-2 shadow text-gold",children:f.jsx(Yk,{})})})]}),f.jsx("div",{className:"w-full text-left my-5",children:f.jsx("p",{className:"text-md font-medium font-title text-gold leading-none",children:g.documentTitle})})]},v)):f.jsx("p",{className:"col-span-full text-gray-500 text-sm italic text-left",children:a||`No ${e} reports found.`})})})]})},s0="/assets/banners/dyci-white.webp",E4="/assets/banners/greengroup1.jpg",rf=6,T4={1:"Academic",2:"Co-Curricular",3:"Extra-Curricular",4:"Cultural or Sports",5:"Institutional",6:"Seminar or Workshop",7:"Outreach or Community Service",8:"Student Activities",9:"Competitions",10:"Recognition or Awards",11:"Others"},P4=e=>String(e||"").toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w-]+/g,""),j4=e=>String(e||"").toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/--+/g,"-").trim(),af=e=>{if(!e)return null;const t=String(e).trim();if(/^\d{8}$/.test(t)){const a=new Date(parseInt(t.substring(4,8),10),parseInt(t.substring(0,2),10)-1,parseInt(t.substring(2,4),10));return isNaN(a.getTime())?null:a}const r=new Date(t);return isNaN(r.getTime())?null:r},Bl=({title:e,count:t,children:r,className:a=""})=>f.jsx("div",{className:a,children:f.jsxs("div",{className:"container mx-auto py-10",children:[f.jsx("div",{className:"flex flex-wrap items-baseline justify-between gap-3 mb-6",children:f.jsx("p",{className:"text-4xl sm:text-5xl font-title font-medium text-navy-blue",children:e})}),r]})}),D4=()=>{const{goalNumber:e}=_i(),t=At(),r=Tt(),a=t.state||null,s=e||(a==null?void 0:a.sdgGoalNumber)||"",{payload:l,notice:u}=Cu(),[d,h]=k.useState(1);k.useEffect(()=>{h(1)},[s]);const m=(l==null?void 0:l.sdg)||null,g=(l==null?void 0:l.goals)||[],v=(l==null?void 0:l.events)||[],x=(l==null?void 0:l.announcements)||[],b=(l==null?void 0:l.documents)||[],S=k.useMemo(()=>[...(l==null?void 0:l.articles)||[]].sort((T,M)=>{const O=af(T.articlePublishedDate),q=af(M.articlePublishedDate);return!O&&!q?0:O?q?q-O:-1:1}),[l]),E=Math.max(1,Math.ceil(S.length/rf)),C=S.slice((d-1)*rf,d*rf),D=k.useMemo(()=>v.map(W=>({...W,title:W.eventTitle||"Event",category:W.eventCategoryName||T4[String(W.eventCategory)]||"Event",displayDate:W.eventStart?gu(new Date(String(W.eventStart).replace(" ","T")),"EEE, MMM d, yyyy"):"Date not specified"})),[v]),_=(W,T)=>{const M=S.find(O=>String(O.articleID)===String(W));M&&r(`/dycian-news/${P4(M.articleTitle)}`,{state:{articleID:W,category:T||M.articleCategory||"dycianNews"}})},I=W=>{r(`/announcements/${j4(W.announcementTitle)}`,{state:{announcementID:W.announcementID,category:W.announcementCategory}})},F=W=>{r(`/innovations/dyci-sustainability-office/sdg/${W.sdgGoalNumber}
70`,{state:{sdgGoalNumber:String(W.sdgGoalNumber),sdgTitle:W.sdgTitle||"",sdgID:W.sdgID}})},U=(m==null?void 0:m.sdgTitle)||(a==null?void 0:a.sdgTitle)||`Sustainable Development Goal ${s}`,J=S.length>0||v.length>0||x.length>0||b.length>0;return f.jsxs(f.Fragment,{children:[f.jsx(Fi,{title:`SDG ${s}: ${U} | DYCI for Sustainability`,description:`How Dr. Yanga's Colleges, Inc. contributes to SDG ${s}: ${U} — related news, events, announcements and sustainability documents.`,url:`https://dyci.edu.ph/innovations/dyci-sustainability-office/sdg/${s}`,image:"https://dyci.edu.ph/dyci-logo.png",type:"article"}),f.jsxs("div",{className:"relative overflow-hidden h-[350px] md:h-[550px] lg:h-[500px]",children:[f.jsx("img",{src:E4,alt:"","aria-hidden":"true",className:"absolute inset-0 w-full h-full object-cover object-center brightness-[.7] pointer-events-none select-none"}),f.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(to_bottom,rgba(8,6,119,0.35)_0%,rgba(8,6,119,0.65)_55%,rgba(8,6,119,0.92)_100%)] pointer-events-none","aria-hidden":"true"}),f.jsxs("div",{className:"relative z-10 container mx-auto h-full flex flex-col px-6 text-white justify-center items-start",children:[f.jsx("button",{onClick:()=>r("/innovations/dyci-sustainability-office"),className:"text-xs sm:text-sm uppercase font-semibold text-gold cursor-pointer hover:underline mb-4 drop-shadow-md",children:f.jsx("span",{children:"DYCI for Sustainability"})}),f.jsx("p",{className:"text-4xl sm:text-5xl md:text-6xl lg:text-6xl leading-tight font-title drop-shadow-lg",children:"Sustainable Development Goals at DYCI"})]})]}),f.jsxs(f.Fragment,{children:[f.jsx("div",{className:"container mx-auto py-10 px-4 sm:px-6 lg:px-8",children:f.jsx(ti,{delay:.2,children:f.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-[220px_1fr] gap-8 items-start",children:[f.jsx("div",{className:"md:pt-1",children:(m==null?void 0:m.sdgGoalImage)&&f.jsx("img",{src:m.sdgGoalImage,alt:`SDG ${m.sdgGoalNumber} — ${m.sdgTitle}`,className:"w-[180px] md:w-[220px] h-auto object-contain"})}),f.jsxs("div",{children:[f.jsxs("p",{className:"text-sm uppercase font-semibold text-gold mb-2",children:["Goal ",(m==null?void 0:m.sdgGoalNumber)||s]}),f.jsx("p",{className:"text-3xl md:text-4xl text-navy-blue font-title font-medium mb-4 leading-tight",children:U}),(m==null?void 0:m.sdgDescription)&&f.jsx("div",{className:"prose prose-lg max-w-none text-gray-700 font-body",dangerouslySetInnerHTML:{__html:m.sdgDescription}})]})]})})}),!J&&f.jsx("div",{className:"bg-gray-100",children:f.jsx("div",{className:"container mx-auto py-12",children:f.jsx("p",{className:"text-gray-500 font-body",children:u||`Nothing has been tagged under this goal yet. News, events and documents will appear here once they are linked to SDG ${(m==null?void 0:m.sdgGoalNumber)||s}.`})})}),S.length>0&&f.jsx(Bl,{title:"News & Stories",count:S.length,className:"bg-gray-100",children:f.jsx(FA,{articles:C,loading:!1,error:null,currentPage:d,totalPages:E,onPageChange:h,onNavigate:_,parseArticleDate:af,emptyMessage:"No news tagged under this goal yet.",columns:3})}),D.length>0&&f.jsx(Bl,{title:"Events",count:D.length,children:f.jsx("div",{className:"flex flex-col gap-8",children:D.map(W=>f.jsx(ti,{delay:.2,children:f.jsx(BA,{event:W})},W.eventID))})}),x.length>0&&f.jsx(Bl,{title:"Announcements",count:x.length,className:"bg-gray-100",children:f.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:x.map(W=>f.jsx(ti,{delay:.2,children:f.jsxs("div",{role:"article",tabIndex:0,onClick:()=>I(W),onKeyDown:T=>T.key==="Enter"&&I(W),className:"group cursor-pointer flex flex-col h-full bg-white",children:[f.jsx("div",{className:"relative w-full overflow-hidden aspect-4/3 bg-gray-100",children:f.jsx("img",{src:W.announcementBannerImage?`https://dyci.edu.ph${W.announcementBannerImage}`:s0,alt:W.announcementTitle,loading:"lazy",className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"})}),f.jsxs("div",{className:"p-4 flex flex-col grow",children:[W.announcementDate&&f.jsx("p",{className:"text-[10px] sm:text-xs text-gold uppercase font-medium mb-1",children:gu(new Date(String(W.announcementDate).replace(" ","T")),"MMMM dd, yyyy")}),f.jsx("p",{className:"text-xl font-title font-medium text-navy-blue leading-tight line-clamp-3",children:W.announcementTitle}),W.announcementExcerpt&&f.jsx("p",{className:"mt-2 text-sm text-gray-700 font-body line-clamp-3",children:W.announcementExcerpt})]})]})},W.announcementID))})}),b.length>0&&f.jsx(k4,{category:"sustainability",reports:b,title:"Related Documents",emptyMessage:"No documents tagged under this goal yet."}),g.length>0&&f.jsx(Bl,{title:"Explore the Other Goals",className:"bg-gray-100",children:f.jsx("div",{className:"grid grid-cols-3 sm:grid-cols-5 lg:grid-cols-9 gap-3",children:g.map(W=>
70{const T=String(W.sdgGoalNumber)===String(m==null?void 0:m.sdgGoalNumber);return f.jsx("div",{role:"button",tabIndex:0,"aria-current":T?"page":void 0,onClick:()=>!T&&F(W),onKeyDown:M=>{M.key==="Enter"&&!T&&F(W)},title:`SDG ${W.sdgGoalNumber} — ${W.sdgTitle}`,className:`aspect-square bg-white overflow-hidden transition-transform duration-200 ${T?"ring-2 ring-gold cursor-default":"cursor-pointer hover:scale-[1.05]"}`,children:f.jsx("img",{src:W.sdgGoalImage||s0,alt:`SDG ${W.sdgGoalNumber} — ${W.sdgTitle}`,loading:"lazy",className:"object-contain w-full h-full select-none pointer-events-none"})},W.sdgID)})})})]})]})},R4=k.lazy(()=>Ye(()=>import("./DYCIanNews-CNXsNotS.js"),__vite__mapDeps([0,1,2]))),N4=k.lazy(()=>Ye(()=>import("./Login-CjbKk77g.js"),__vite__mapDeps([3,4]))),A4=k.lazy(()=>Ye(()=>import("./AdminDashboard-ClqLoXuI.js"),__vite__mapDeps([5,4,6,7,8,2,9,10,11,12,13]))),L4=k.lazy(()=>Ye(()=>import("./Home-Dw5ckh9Y.js"),__vite__mapDeps([14,15,16,17,18]))),M4=k.lazy(()=>Ye(()=>import("./LearnWithUs-DR3Xpx2a.js"),__vite__mapDeps([19,9,20,15,16,21,17,18,22]))),O4=k.lazy(()=>Ye(()=>import("./Meaning-DIwPeuAh.js"),__vite__mapDeps([23,1,10]))),I4=k.lazy(()=>Ye(()=>import("./Identity-BH8uJnCD.js"),__vite__mapDeps([24,1,10]))),_4=k.lazy(()=>Ye(()=>import("./Spirituality-cPgtuLC0.js"),__vite__mapDeps([25,10,18,22]))),F4=k.lazy(()=>Ye(()=>import("./SocietalIntegration-D_qiPvGC.js"),__vite__mapDeps([26,1,10]))),V4=k.lazy(()=>Ye(()=>import("./InnovationAndResearch-DuqQ_8zU.js"),__vite__mapDeps([27,1,10]))),B4=k.lazy(()=>Ye(()=>import("./OrganizationalMemory-jmwleMJ4.js"),[])),z4=k.lazy(()=>Ye(()=>import("./Norms-DgthZezf.js"),[])),U4=k.lazy(()=>Ye(()=>import("./StudentCentricity-BcmkyE_4.js"),__vite__mapDeps([28,1]))),$4=k.lazy(()=>Ye(()=>import("./DYCIRobotics-6O28RvBY.js"),__vite__mapDeps([29,9,10,15,16,21,7,8,12,18,22]))),W4=k.lazy(()=>Ye(()=>import("./DYCIResearch-B5U4C_Ni.js"),[])),H4=k.lazy(()=>Ye(()=>import("./DYCISustainability-CElzhuzg.js"),__vite__mapDeps([30,9,10,11]))),Y4=k.lazy(()=>Ye(()=>import("./Paraya-C7qHM_bX.js"),[])),G4=k.lazy(()=>Ye(()=>import("./ContactUs-DINjhAcJ.js"),[])),q4=k.lazy(()=>Ye(()=>import("./JoinOurTeam--IQWfBD8.js"),__vite__mapDeps([31,1]))),K4=k.lazy(()=>Ye(()=>import("./Events-mNk2p_HX.js"),__vite__mapDeps([32,20]))),Q4=k.lazy(()=>Ye(()=>import("./Admission-B_PZAv0u.js"),__vite__mapDeps([33,6,7,8,2,9,10,11,12]))),J4=k.lazy(()=>Ye(()=>import("./DataPrivacyPolicy-lNmdmSDh.js"),[])),Kf=k.lazy(()=>Ye(()=>import("./DynamicSubpage-CY6Ponkp.js"),__vite__mapDeps([34,6,7,8,2,9,10,11,12]))),X4=k.lazy(()=>Ye(()=>import("./DynamicSection-7-xm--QW.js"),__vite__mapDeps([35,6,7,8,2,9,10,11,12]))),Z4=k.lazy(()=>Ye(()=>import("./ArticlePageNew-CcUCetC1.js"),__vite__mapDeps([36,7,8]))),eM=k.lazy(()=>Ye(()=>import("./AnnouncementPage-B9u724Wa.js"),__vite__mapDeps([37,38]))),tM=k.lazy(()=>Ye(()=>import("./EventPage-0upvxISt.js"),__vite__mapDeps([39,38]))),nM=k.lazy(()=>Ye(()=>import("./PageDetails-srq8_Pr9.js"),[])),rM=k.lazy(()=>Ye(()=>import("./QuickLinks-D2PvighI.js"),[])),iM=k.lazy(()=>Ye(()=>import("./SearchResults-etfawLQy.js"),[])),lt=({showNavbar:e=!0,showFooter:t=!0,showTopBar:r=!1})=>f.jsxs(f.Fragment,{children:[e&&f.jsx(rR,{}),f.jsx(DA,{}),f.jsx(Bh,{}),f.jsx(TA,{}),f.jsx(je,{children:f.jsxs(k.Suspense,{fallback:f.jsx(kt,{}),children:[f.jsx(Rk,{height:"7",bgcolor:"#c89b2c",duration:"0.8"}),f.jsx(ah,{})]})}),t&&f.jsx(YD,{}),f.jsx(NN,{}),f.jsx(RN,{})]}),aM=()=>f.jsx(Ak,{children:f.jsx(Qk,{children:f.jsxs(je,{children:[f.jsx(Bh,{}),f.jsx(k.Suspense,{fallback:f.jsx(kt,{}),children:f.jsx(ah,{})})]})})}),M1=e=>e.map(t=>({...t,errorElement:f.jsx(tx,{}),...t.children?{children:M1(t.children)}:{}})),Zt=e=>[{path:":tag",element:f.jsx(je,{children:f.jsx(Kf,{category:e})})},{path:":tag/*",element:f.jsx(je,{children:f.jsx(Kf,{category:e})})}],sM=M1([{path:"/",element:f.jsx(lt,{showNavbar:!1,showFooter:!1}),children:[{index:!0,element:f.jsx(je,{children:f.jsx(L4,{})})}]},{path:"/learn-with-us",element:f.jsx(lt,{showTopBar:!0}),handle:{title:"Learn With Us"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(M4,{})})},{path:":tag",loader:CA,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(DN,{})})},{path:"colleges",element:f.jsx(je,{children:f.jsx(WN,{})}),handle:{title:"Colleges"}},{path:"colleges/:collegeTag",loader:cA,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(uA,{})})},{path:"pgs/:grade-levels/:gradeLevelTag",loader:ki,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(Ci,{})})},{path:"jhs/grade-levels/:gradeLevelTag",loader:ki,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(Ci,{})})},{path:"shs/:gradeLevelTag",loader:ki,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(Ci,{})})},{path:"shs/gradeLevelTag/:trackTag",loader:ki,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(Ci,{})})},{path:"undergraduate/programs/:programTag",loader:ki,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(Ci,{})})},{path:"undergraduate/programs/:programTag/:programTag",loader:ki,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(Ci,{})})},{path:"undergraduate/programs/:collegeTag",element:f.jsx(je,{children:f.jsx(AN,{})})},{path:"graduate/programs/:programTag",loader:ki,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(Ci,{})})}]},{path:"/meaning",element:f.jsx(lt,{}),handle:{title:"Meaning"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(O4,{})})},...Zt("meaning")]},{path:"/identity",element:f.jsx(lt,{}),handle:{title:"Identity"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(I4,{})})},...Zt("identity")]},{path:"/spirituality",element:f.jsx(lt,{}),handle:{title:"Spirituality"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(_4,{})})},...Zt("spirituality")]},{path:"/servanthood",element:f.jsx(lt,{}),handle:{title:"Servanthood"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(F4,{})})},{path:"paraya",element:f.jsx(je,{children:f.jsx(Y4,{})})},{path:"paraya/articles/:slug",element:f.jsx(je,{children:f.jsx(AA,{})})},...Zt("societalIntegration")]},{path:"/innovations",element:f.jsx(lt,{}),handle:{title:"Innovation and Research"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(V4,{})})},{path:"dyci-robotics-program",element:f.jsx(je,{children:f.jsx($4,{})}),handle:{title:"DYCI Robotics Program"}},{path:"dyci-research",element:f.jsx(je,{children:f.jsx(W4,{})}),handle:{title:"DYCI Research"}},{path:"dyci-sustainability-office/sdg/:goalNumber",loader:EA,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(D4,{})}),handle:{title:({goalNumber:e})=>`SDG ${e} | DYCI Sustainability Office`}},{path:"dyci-sustainability-office/:slug",element:f.jsx(je,{children:f.jsx(nM,{category:"sustainability-office"})}),handle:{title:"DYCI Sustainability Office"}},{path:"dyci-sustainability-office",element:f.jsx(je,{children:f.jsx(H4,{})}),handle:{title:"DYCI Sustainability Office"}},{path:"dyci-research/research/:category",element:f.jsx(je,{children:f.jsx(RA,{})}),handle:{title:"DYCI Research"}},{path:"dyci-research/research/:category/:id",element:f.jsx(je,{children:f.jsx(NA,{})}),handle:{title:"DYCI Research"}},...Zt("innovations")]},{path:"/organizational-memory",element:f.jsx(lt,{}),handle:{title:"Organizational Memory"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(B4,{})})},...Zt("organizationalMemory")]},{path:"/norms",element:f.jsx(lt,{}),handle:{title:"Norms"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(z4,{})})},...Zt("norms")]},{path:"/stakeholders-centricity",element:f.jsx(lt,{}),handle:{title:"Stakeholders Centricity"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(U4,{})})},...Zt("studentCentricity")]},{path:"/dycian-news",element:f.jsx(lt,{}),handle:{title:"DYCIan News"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(R4,{})})},{path:":slug",loader:mA,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(Z4,{})})}]},{path:"/announcements",element:f.jsx(lt,{}),handle:{title:"Announcements"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(MA,{})})},{path:":slug",loader:yA,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(eM,{})})}]},{path:"/reports/:category/:id/:title",element:f.jsx(lt,{}),handle:{title:({title:e})=>decodeURIComponent(e||"").replace(/-/g," ")||"Reports"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(Kf,{})})}]},{path:"/data-privacy-policy",element:f.jsx(lt,{}),handle:{title:"Data Privacy Policy"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(J4,{})})},...Zt("dataPrivacyPolicy")]},{path:"/contact-us",element:f.jsx(lt,{}),handle:{title:"Contact Us"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(G4,{})})},...Zt("connectWithUs")]},{path:"/join-our-team",element:f.jsx(lt,{}),handle:{title:"Join Our Team"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(q4,{})})},...Zt("joinOurTeam")]},{path:"/quick-links",element:f.jsx(lt,{}),handle:{title:"Quick Links"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(rM,{})})},...Zt("exploreOurSchool")]},{path:"/search",element:f.jsx(lt,{}),handle:{title:"Search"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(iM,{})})}]},{path:"/admissions",element:f.jsx(pf,{to:"/admission",replace:!0})},{path:"/admissions/*",element:f.jsx(pf,{to:"/admission",replace:!0})},{path:"/admission",element:f.jsx(lt,{}),handle:{title:"Admission"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(Q4,{})})},...Zt("admission")]},{path:"/events",element:f.jsx(lt,{}),handle:{title:"Events"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(K4,{})})},{path:":slug",loader:vA,HydrateFallback:kt,element:f.jsx(je,{children:f.jsx(tM,{})})}]},{path:"/login",element:f.jsxs(je,{children:[f.jsx(Bh,{}),f.jsx(N4,{})]}),handle:{title:"Login"}},{path:"/admin",element:f.jsx(aM,{}),handle:{title:"Admin"},children:[{path:"dashboard",element:f.jsx(je,{children:f.jsx(A4,{})}),handle:{title:"Admin Dashboard"}}]},{path:"/:sectionSlug",element:f.jsx(lt,{}),handle:{title:"DYCI"},children:[{index:!0,element:f.jsx(je,{children:f.jsx(X4,{})})},...Zt(void 0)]},{path:"*",element:f.jsx(lt,{}),handle:{title:"Page Not Found"},children:[{path:"*",element:f.jsx(je,{children:f.jsx(tx,{})})}]}
70]),oM=typeof window<"u"?mk(sM,{hydrationData:window.__staticRouterHydrationData}):null,lM=({children:e})=>f.jsx("div",{className:"App",children:f.jsx(je,{children:e})});function uM(){return f.jsx(lM,{children:f.jsx(Tk,{router:oM})})}const o0=f.jsx(k.StrictMode,{children:f.jsx(p0,{children:f.jsx(uM,{})})}),sf=document.getElementById("root");window.__staticRouterHydrationData&&sf.hasChildNodes()?Cg.hydrateRoot(sf,o0):Cg.createRoot(sf).render(o0);export{IM as $,Je as A,oO as B,sO as C,TM as D,NM as E,xM as F,me as G,Vh as H,bM as I,JM as J,jM as K,BM as L,WM as M,zM as N,pM as O,VM as P,dO as Q,S2 as R,Fi as S,vM as T,PM as U,QM as V,ZM as W,tO as X,SO as Y,MN as Z,MM as _,mt as a,ON as a$,yM as a0,VN as a1,KD as a2,kt as a3,hO as a4,iO as a5,aO as a6,UM as a7,xO as a8,HM as a9,FN as aA,At as aB,xN as aC,Xl as aD,nO as aE,s1 as aF,_h as aG,cn as aH,RA as aI,ah as aJ,k4 as aK,Uv as aL,ya as aM,$n as aN,ii as aO,sR as aP,Lv as aQ,BA as aR,vO as aS,yO as aT,JD as aU,_i as aV,Rv as aW,oi as aX,pO as aY,wO as aZ,bO as a_,OM as aa,kM as ab,RM as ac,yf as ad,uO as ae,DM as af,fO as ag,Gk as ah,GM as ai,GD as aj,qD as ak,eO as al,$w as am,gO as an,XM as ao,rO as ap,LM as aq,Wk as ar,Nl as as,io as at,gu as au,ln as av,ti as aw,eA as ax,qk as ay,MA as az,vu as b,IN as b0,CO as b1,FA as b2,g0 as b3,nt as b4,JN as b5,kO as b6,Cu as b7,qw as b8,fM as b9,dM as c,l0 as d,J0 as e,Et as f,ai as g,hM as h,lO as i,f as j,cO as k,qM as l,mM as m,AM as n,EM as o,KM as p,YM as q,k as r,_M as s,CM as t,Tt as u,gM as v,SM as w,$M as x,wM as y,FM as z};

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.