vendor: 5,855 bytes, lines 1-9
1var cx=Object.defineProperty;var sf=e=>{throw TypeError(e)};var ux=(e,t,n)=>t in e?cx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Gt=(e,t,n)=>ux(e,typeof t!="symbol"?t+"":t,n),gl=(e,t,n)=>t.has(e)||sf("Cannot "+n);var E=(e,t,n)=>(gl(e,t,"read from private field"),n?n.call(e):t.get(e)),Z=(e,t,n)=>t.has(e)?sf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,r)=>(gl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ae=(e,t,n)=>(gl(e,t,"access private method"),n);var ei=(e,t,n,r)=>({set _(o){H(e,t,o,n)},get _(){return E(e,t,r)}});function dx(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Fs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Op={exports:{}},Pa={},Mp={exports:{}},Q={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var zs=Symbol.for("react.element"),fx=Symbol.for("react.portal"),hx=Symbol.for("react.fragment"),px=Symbol.for("react.strict_mode"),mx=Symbol.for("react.profiler"),gx=Symbol.for("react.provider"),vx=Symbol.for("react.context"),yx=Symbol.for("react.forward_ref"),xx=Symbol.for("react.suspense"),wx=Symbol.for("react.memo"),bx=Symbol.for("react.lazy"),af=Symbol.iterator;function kx(e){return e===null||typeof e!="object"?null:(e=af&&e[af]||e["@@iterator"],typeof e=="function"?e:null)}var Ip={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Dp=Object.assign,_p={};function To(e,t,n){this.props=e,this.context=t,this.refs=_p,this.updater=n||Ip}To.prototype.isReactComponent={};To.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};To.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Fp(){}Fp.prototype=To.prototype;function Cu(e,t,n){this.props=e,this.context=t,this.refs=_p,this.updater=n||Ip}var Eu=Cu.prototype=new Fp;Eu.constructor=Cu;Dp(Eu,To.prototype);Eu.isPureReactComponent=!0;var lf=Array.isArray,zp=Object.prototype.hasOwnProperty,Tu={current:null},$p={key:!0,ref:!0,__self:!0,__source:!0};function Bp(e,t,n){var r,o={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)zp.call(t,r)&&!$p.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:zs,type:e,key:s,ref:i,props:o,_owner:Tu.current}}function Nx(e,t){return{$$typeof:zs,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ru(e){return typeof e=="object"&&e!==null&&e.$$typeof===zs}function Sx(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var cf=/\/+/g;function vl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Sx(""+e.key):t.toString(36)}function Ti(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case zs:case fx:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+vl(i,0):r,lf(o)?(n="",e!=null&&(n=e.replace(cf,"$&/")+"/"),Ti(o,t,n,"",function(u){return u})):o!=null&&(Ru(o)&&(o=Nx(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(cf,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",lf(e))for(var l=0;l<e.length;l++){s=e[l];var c=r+vl(s,l);i+=Ti(s,t,n,c,o)}else if(c=kx(e),typeof c=="function")for(e=c.call(e),l=0;!(s=e.next()).done;)s=s.value,c=r+vl(s,l++),i+=Ti(s,t,n,c,o);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function ti(e,t,n){if(e==null)return e;var r=[],o=0;return Ti(e,r,"","",function(s){return t.call(n,s,o++)}),r}function jx(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Be={current:null},Ri={transition:null},Cx={ReactCurrentDispatcher:Be,ReactCurrentBatchConfig:Ri,ReactCurrentOwner:Tu};function Hp(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 4,300 bytes, lines 9-25
9Q.Children={map:ti,forEach:function(e,t,n){ti(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ti(e,function(){t++}),t},toArray:function(e){return ti(e,function(t){return t})||[]},only:function(e){if(!Ru(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Q.Component=To;Q.Fragment=hx;Q.Profiler=mx;Q.PureComponent=Cu;Q.StrictMode=px;Q.Suspense=xx;Q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Cx;Q.act=Hp;Q.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Dp({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=Tu.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)zp.call(t,c)&&!$p.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:zs,type:e.type,key:o,ref:s,props:r,_owner:i}};Q.createContext=function(e){return e={$$typeof:vx,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:gx,_context:e},e.Consumer=e};Q.createElement=Bp;Q.createFactory=function(e){var t=Bp.bind(null,e);return t.type=e,t};Q.createRef=function(){return{current:null}};Q.forwardRef=function(e){return{$$typeof:yx,render:e}};Q.isValidElement=Ru;Q.lazy=function(e){return{$$typeof:bx,_payload:{_status:-1,_result:e},_init:jx}};Q.memo=function(e,t){return{$$typeof:wx,type:e,compare:t===void 0?null:t}};Q.startTransition=function(e){var t=Ri.transition;Ri.transition={};try{e()}finally{Ri.transition=t}};Q.unstable_act=Hp;Q.useCallback=function(e,t){return Be.current.useCallback(e,t)};Q.useContext=function(e){return Be.current.useContext(e)};Q.useDebugValue=function(){};Q.useDeferredValue=function(e){return Be.current.useDeferredValue(e)};Q.useEffect=function(e,t){return Be.current.useEffect(e,t)};Q.useId=function(){return Be.current.useId()};Q.useImperativeHandle=function(e,t,n){return Be.current.useImperativeHandle(e,t,n)};Q.useInsertionEffect=function(e,t){return Be.current.useInsertionEffect(e,t)};Q.useLayoutEffect=function(e,t){return Be.current.useLayoutEffect(e,t)};Q.useMemo=function(e,t){return Be.current.useMemo(e,t)};Q.useReducer=function(e,t,n){return Be.current.useReducer(e,t,n)};Q.useRef=function(e){return Be.current.useRef(e)};Q.useState=function(e){return Be.current.useState(e)};Q.useSyncExternalStore=function(e,t,n){return Be.current.useSyncExternalStore(e,t,n)};Q.useTransition=function(){return Be.current.useTransition()};Q.version="18.3.1";Mp.exports=Q;var g=Mp.exports;const C=Fs(g),Pu=dx({__proto__:null,default:C},[g]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var Ex=g,Tx=Symbol.for("react.element"),Rx=Symbol.for("react.fragment"),Px=Object.prototype.hasOwnProperty,Ax=Ex.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Lx={key:!0,ref:!0,__self:!0,__source:!0};function Wp(e,t,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)Px.call(t,r)&&!Lx.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:Tx,type:e,key:s,ref:i,props:o,_owner:Ax.current}}Pa.Fragment=Rx;Pa.jsx=Wp;Pa.jsxs=Wp;Op.exports=Pa;var a=Op.exports,Up={exports:{}},tt={},Vp={exports:{}},Yp={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function t(T,R){var I=T.length;T.push(R);e:for(;0<I;){var U=I-1>>>1,F=T[U];if(0<o(F,R))T[U]=R,T[I]=F,I=U;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var R=T[0],I=T.pop();if(I!==R){T[0]=I;e:for(var U=0,F=T.length,G=F>>>1;U<G;){var J=2*(U+1)-1,ye=T[J],Pe=J+1,te=T[Pe];
vendor: 9,353 bytes, lines 25-33
25if(0>o(ye,I))Pe<F&&0>o(te,ye)?(T[U]=te,T[Pe]=I,U=Pe):(T[U]=ye,T[J]=I,U=J);else if(Pe<F&&0>o(te,I))T[U]=te,T[Pe]=I,U=Pe;else break e}}return R}function o(T,R){var I=T.sortIndex-R.sortIndex;return I!==0?I:T.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var c=[],u=[],d=1,f=null,m=3,h=!1,b=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(T){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=T)r(u),R.sortIndex=R.expirationTime,t(c,R);else break;R=n(u)}}function k(T){if(v=!1,x(T),!b)if(n(c)!==null)b=!0,$(N);else{var R=n(u);R!==null&&W(k,R.startTime-T)}}function N(T,R){b=!1,v&&(v=!1,y(P),P=-1),h=!0;var I=m;try{for(x(R),f=n(c);f!==null&&(!(f.expirationTime>R)||T&&!z());){var U=f.callback;if(typeof U=="function"){f.callback=null,m=f.priorityLevel;var F=U(f.expirationTime<=R);R=e.unstable_now(),typeof F=="function"?f.callback=F:f===n(c)&&r(c),x(R)}else r(c);f=n(c)}if(f!==null)var G=!0;else{var J=n(u);J!==null&&W(k,J.startTime-R),G=!1}return G}finally{f=null,m=I,h=!1}}var S=!1,j=null,P=-1,L=5,O=-1;function z(){return!(e.unstable_now()-O<L)}function _(){if(j!==null){var T=e.unstable_now();O=T;var R=!0;try{R=j(!0,T)}finally{R?K():(S=!1,j=null)}}else S=!1}var K;if(typeof p=="function")K=function(){p(_)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,q=M.port2;M.port1.onmessage=_,K=function(){q.postMessage(null)}}else K=function(){w(_,0)};function $(T){j=T,S||(S=!0,K())}function W(T,R){P=w(function(){T(e.unstable_now())},R)}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(T){T.callback=null},e.unstable_continueExecution=function(){b||h||(b=!0,$(N))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(T){switch(m){case 1:case 2:case 3:var R=3;break;default:R=m}var I=m;m=R;try{return T()}finally{m=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,R){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var I=m;m=T;try{return R()}finally{m=I}},e.unstable_scheduleCallback=function(T,R,I){var U=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?U+I:U):I=U,T){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=I+F,T={id:d++,callback:R,priorityLevel:T,startTime:I,expirationTime:F,sortIndex:-1},I>U?(T.sortIndex=I,t(u,T),n(c)===null&&T===n(u)&&(v?(y(P),P=-1):v=!0,W(k,I-U))):(T.sortIndex=F,t(c,T),b||h||(b=!0,$(N))),T},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(T){var R=m;return function(){var I=m;m=R;try{return T.apply(this,arguments)}finally{m=I}}}})(Yp);Vp.exports=Yp;var Ox=Vp.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var Mx=g,et=Ox;function A(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Kp=new Set,fs={};function Sr(e,t){yo(e,t),yo(e+"Capture",t)}function yo(e,t){for(fs[e]=t,e=0;e<t.length;e++)Kp.add(t[e])}var rn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),cc=Object.prototype.hasOwnProperty,Ix=/^[: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]*$/,uf={},df={};function Dx(e){return cc.call(df,e)?!0:cc.call(uf,e)?!1:Ix.test(e)?df[e]=!0:(uf[e]=!0,!1)}function _x(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Fx(e,t,n,r){if(t===null||typeof t>"u"||_x(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function He(e,t,n,r,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var Te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Te[e]=new He(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Te[t]=new He(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Te[e]=new He(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Te[e]=new He(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Te[e]=new He(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Te[e]=new He(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Te[e]=new He(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Te[e]=new He(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Te[e]=new He(e,5,!1,e.toLowerCase(),null,!1,!1)});var Au=/[\-:]([a-z])/g;function Lu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Au,Lu);Te[t]=new He(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Au,Lu);Te[t]=new He(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Au,Lu);Te[t]=new He(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Te[e]=new He(e,1,!1,e.toLowerCase(),null,!1,!1)});Te.xlinkHref=new He("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Te[e]=new He(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ou(e,t,n,r){var o=Te.hasOwnProperty(t)?Te[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Fx(t,n,o,r)&&(n=null),r||o===null?Dx(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var un=Mx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ni=Symbol.for("react.element"),$r=Symbol.for("react.portal"),Br=Symbol.for("react.fragment"),Mu=Symbol.for("react.strict_mode"),uc=Symbol.for("react.profiler"),Gp=Symbol.for("react.provider"),Q
vendor: 4,773 bytes, lines 33-37
33p=Symbol.for("react.context"),Iu=Symbol.for("react.forward_ref"),dc=Symbol.for("react.suspense"),fc=Symbol.for("react.suspense_list"),Du=Symbol.for("react.memo"),kn=Symbol.for("react.lazy"),qp=Symbol.for("react.offscreen"),ff=Symbol.iterator;function Fo(e){return e===null||typeof e!="object"?null:(e=ff&&e[ff]||e["@@iterator"],typeof e=="function"?e:null)}var pe=Object.assign,yl;function qo(e){if(yl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);yl=t&&t[1]||""}return` 34`+yl+e}var xl=!1;function wl(e,t){if(!e||xl)return"";xl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(` 35`),s=r.stack.split(` 36`),i=o.length-1,l=s.length-1;1<=i&&0<=l&&o[i]!==s[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==s[l]){if(i!==1||l!==1)do if(i--,l--,0>l||o[i]!==s[l]){var c=` 37`+o[i].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=i&&0<=l);break}}}finally{xl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?qo(e):""}function zx(e){switch(e.tag){case 5:return qo(e.type);case 16:return qo("Lazy");case 13:return qo("Suspense");case 19:return qo("SuspenseList");case 0:case 2:case 15:return e=wl(e.type,!1),e;case 11:return e=wl(e.type.render,!1),e;case 1:return e=wl(e.type,!0),e;default:return""}}function hc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Br:return"Fragment";case $r:return"Portal";case uc:return"Profiler";case Mu:return"StrictMode";case dc:return"Suspense";case fc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Qp:return(e.displayName||"Context")+".Consumer";case Gp:return(e._context.displayName||"Context")+".Provider";case Iu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Du:return t=e.displayName||null,t!==null?t:hc(e.type)||"Memo";case kn:t=e._payload,e=e._init;try{return hc(e(t))}catch{}}return null}function $x(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return hc(t);case 8:return t===Mu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Wn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Jp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bx(e){var t=Jp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ri(e){e._valueTracker||(e._valueTracker=Bx(e))}function Xp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Jp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function pc(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function hf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Wn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}
vendor: 12,182 bytes, line 37
37function Zp(e,t){t=t.checked,t!=null&&Ou(e,"checked",t,!1)}function mc(e,t){Zp(e,t);var n=Wn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?gc(e,t.type,n):t.hasOwnProperty("defaultValue")&&gc(e,t.type,Wn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function pf(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function gc(e,t,n){(t!=="number"||Qi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Jo=Array.isArray;function Xr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Wn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function vc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(A(91));return pe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function mf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(A(92));if(Jo(n)){if(1<n.length)throw Error(A(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Wn(n)}}function em(e,t){var n=Wn(t.value),r=Wn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function gf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function tm(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function yc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?tm(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var oi,nm=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(oi=oi||document.createElement("div"),oi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=oi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function hs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ts={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},Hx=["Webkit","ms","Moz","O"];Object.keys(ts).forEach(function(e){Hx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ts[t]=ts[e]})});function rm(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ts.hasOwnProperty(e)&&ts[e]?(""+t).trim():t+"px"}function om(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=rm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Wx=pe({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 xc(e,t){if(t){if(Wx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(A(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(A(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(A(61))}if(t.style!=null&&typeof t.style!="object")throw Error(A(62))}}function wc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var bc=null;function _u(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var kc=null,Zr=null,eo=null;function vf(e){if(e=Hs(e)){if(typeof kc!="function")throw Error(A(280));var t=e.stateNode;t&&(t=Ia(t),kc(e.stateNode,e.type,t))}}function sm(e){Zr?eo?eo.push(e):eo=[e]:Zr=e}function im(){if(Zr){var e=Zr,t=eo;if(eo=Zr=null,vf(e),t)for(e=0;e<t.length;e++)vf(t[e])}}function am(e,t){return e(t)}function lm(){}var bl=!1;function cm(e,t,n){if(bl)return e(t,n);bl=!0;try{return am(e,t,n)}finally{bl=!1,(Zr!==null||eo!==null)&&(lm(),im())}}function ps(e,t){var n=e.stateNode;if(n===null)return null;var r=Ia(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(A(231,t,typeof n));return n}var Nc=!1;if(rn)try{var zo={};Object.defineProperty(zo,"passive",{get:function(){Nc=!0}}),window.addEventListener("test",zo,zo),window.removeEventListener("test",zo,zo)}catch{Nc=!1}function Ux(e,t,n,r,o,s,i,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var ns=!1,qi=null,Ji=!1,Sc=null,Vx={onError:function(e){ns=!0,qi=e}};function Yx(e,t,n,r,o,s,i,l,c){ns=!1,qi=null,Ux.apply(Vx,arguments)}function Kx(e,t,n,r,o,s,i,l,c){if(Yx.apply(this,arguments),ns){if(ns){var u=qi;ns=!1,qi=null}else throw Error(A(198));Ji||(Ji=!0,Sc=u)}}function jr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function um(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function yf(e){if(jr(e)!==e)throw Error(A(188))}function Gx(e){var t=e.alternate;if(!t){if(t=jr(e),t===null)throw Error(A(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return yf(o),e;if(s===r)return yf(o),t;s=s.sibling}throw Error(A(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=s;break}if(l===r){i=!0,r=o,n=s;break}l=l.sibling}if(!i){for(l=s.child;l;){if(l===n){i=!0,n=s,r=o;break}if(l===r){i=!0,r=s,n=o;break}l=l.sibling}if(!i)throw Error(A(189))}}if(n.alternate!==r)throw Error(A(190))}if(n.tag!==3)throw Error(A(188));return n.stateNode.current===n?e:t}function dm(e){return e=Gx(e),e!==null?fm(e):null}function fm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=fm(e);if(t!==null)return t;e=e.sibling}return null}var hm=et.unstable_scheduleCallback,xf=et.unstable_cancelCallback,Qx=et.unstable_shouldYield,qx=et.unstable_requestPaint,ve=et.unstable_now,Jx=et.unstable_getCurrentPriorityLevel,Fu=et.unstable_ImmediatePriority,pm=et.unstable_UserBlockingPriority,Xi=et.unstable_NormalPriority,Xx=et.unstable_LowPriority,mm=et.unstable_IdlePriority,Aa=null,zt=null;function Zx(e){if(zt&&typeof zt.onCommitFiberRoot=="function")try{zt.onCommitFiberRoot(Aa,e,void 0,(e.current.flags&128)===128)}catch{}}var St=Math.clz32?Math.clz32:nw,ew=Math.log,tw=Math.LN2;function nw(e){return e>>>=0,e===0?32:31-(ew(e)/tw|0)|0}var si=64,ii=4194304;function Xo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Zi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var l=i&~o;l!==0?r=Xo(l):(s&=i,s!==0&&(r=Xo(s)))}else i=n&~o,i!==0?r=Xo(i):s!==0&&(r=Xo(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-St(t),o=1<<n,r|=e[n],t&=~o;return r}function rw(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ow(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-St(s),l=1<<i,c=o[i];c===-1?(!(l&n)||l&r)&&(o[i]=rw(l,t)):c<=t&&(e.expiredLanes|=l),s&=~l}}function jc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function gm(){var e=si;return si<<=1,!(si&4194240)&&(si=64),e}function kl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $s(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-St(t),e[t]=n}function sw(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-St(n),s=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~s}}function zu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-St(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var ne=0;function vm(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var ym,$u,xm,wm,bm,Cc=!1,ai=[],Mn=null,In=null,Dn=null,ms=new Map,gs=new Map,Sn=[],iw="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 wf(e,t){switch(e){case"focusin":case"focusout":Mn=null;break;case"dragenter":case"dragleave":In=null;break;case"mouseover":case"mouseout":Dn=null;break;case"pointerover":case"pointerout":ms.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":gs.delete(t.pointerId)}}function $o(e,t,n,r,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[o]},t!==null&&(t=Hs(t),t!==null&&$u(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function aw(e,t,n,r,o){switch(t){case"focusin":return Mn=$o(Mn,e,t,n,r,o),!0;case"dragenter":return In=$o(In,e,t,n,r,o),!0;case"mouseover":return Dn=$o(Dn,e,t,n,r,o),!0;case"pointerover":var s=o.pointerId;return ms.set(s,$o(ms.get(s)||null,e,t,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,gs.set(s,$o(gs.get(s)||null,e,t,n,r,o)),!0}return!1}function km(e){var t=or(e.target);if(t!==null){var n=jr(t);
vendor: 1,098 bytes, line 37
37if(n!==null){if(t=n.tag,t===13){if(t=um(n),t!==null){e.blockedOn=t,bm(e.priority,function(){xm(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Pi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ec(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);bc=r,n.target.dispatchEvent(r),bc=null}else return t=Hs(n),t!==null&&$u(t),e.blockedOn=n,!1;t.shift()}return!0}function bf(e,t,n){Pi(e)&&n.delete(t)}function lw(){Cc=!1,Mn!==null&&Pi(Mn)&&(Mn=null),In!==null&&Pi(In)&&(In=null),Dn!==null&&Pi(Dn)&&(Dn=null),ms.forEach(bf),gs.forEach(bf)}function Bo(e,t){e.blockedOn===t&&(e.blockedOn=null,Cc||(Cc=!0,et.unstable_scheduleCallback(et.unstable_NormalPriority,lw)))}function vs(e){function t(o){return Bo(o,e)}if(0<ai.length){Bo(ai[0],e);for(var n=1;n<ai.length;n++){var r=ai[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Mn!==null&&Bo(Mn,e),In!==null&&Bo(In,e),Dn!==null&&Bo(Dn,e),ms.forEac
vendor: 13,249 bytes, line 37
37h(t),gs.forEach(t),n=0;n<Sn.length;n++)r=Sn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Sn.length&&(n=Sn[0],n.blockedOn===null);)km(n),n.blockedOn===null&&Sn.shift()}var to=un.ReactCurrentBatchConfig,ea=!0;function cw(e,t,n,r){var o=ne,s=to.transition;to.transition=null;try{ne=1,Bu(e,t,n,r)}finally{ne=o,to.transition=s}}function uw(e,t,n,r){var o=ne,s=to.transition;to.transition=null;try{ne=4,Bu(e,t,n,r)}finally{ne=o,to.transition=s}}function Bu(e,t,n,r){if(ea){var o=Ec(e,t,n,r);if(o===null)Ll(e,t,r,ta,n),wf(e,r);else if(aw(o,e,t,n,r))r.stopPropagation();else if(wf(e,r),t&4&&-1<iw.indexOf(e)){for(;o!==null;){var s=Hs(o);if(s!==null&&ym(s),s=Ec(e,t,n,r),s===null&&Ll(e,t,r,ta,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else Ll(e,t,r,null,n)}}var ta=null;function Ec(e,t,n,r){if(ta=null,e=_u(r),e=or(e),e!==null)if(t=jr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=um(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ta=e,null}function Nm(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Jx()){case Fu:return 1;case pm:return 4;case Xi:case Xx:return 16;case mm:return 536870912;default:return 16}default:return 16}}var An=null,Hu=null,Ai=null;function Sm(){if(Ai)return Ai;var e,t=Hu,n=t.length,r,o="value"in An?An.value:An.textContent,s=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[s-r];r++);return Ai=o.slice(e,1<r?1-r:void 0)}function Li(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function li(){return!0}function kf(){return!1}function nt(e){function t(n,r,o,s,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(s):s[l]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?li:kf,this.isPropagationStopped=kf,this}return pe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=li)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=li)},persist:function(){},isPersistent:li}),t}var Ro={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wu=nt(Ro),Bs=pe({},Ro,{view:0,detail:0}),dw=nt(Bs),Nl,Sl,Ho,La=pe({},Bs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Uu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ho&&(Ho&&e.type==="mousemove"?(Nl=e.screenX-Ho.screenX,Sl=e.screenY-Ho.screenY):Sl=Nl=0,Ho=e),Nl)},movementY:function(e){return"movementY"in e?e.movementY:Sl}}),Nf=nt(La),fw=pe({},La,{dataTransfer:0}),hw=nt(fw),pw=pe({},Bs,{relatedTarget:0}),jl=nt(pw),mw=pe({},Ro,{animationName:0,elapsedTime:0,pseudoElement:0}),gw=nt(mw),vw=pe({},Ro,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yw=nt(vw),xw=pe({},Ro,{data:0}),Sf=nt(xw),ww={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bw={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"},kw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Nw(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=kw[e])?!!t[e]:!1}function Uu(){return Nw}var Sw=pe({},Bs,{key:function(e){if(e.key){var t=ww[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Li(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?bw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Uu,charCode:function(e){return e.type==="keypress"?Li(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Li(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),jw=nt(Sw),Cw=pe({},La,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jf=nt(Cw),Ew=pe({},Bs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Uu}),Tw=nt(Ew),Rw=pe({},Ro,{propertyName:0,elapsedTime:0,pseudoElement:0}),Pw=nt(Rw),Aw=pe({},La,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Lw=nt(Aw),Ow=[9,13,27,32],Vu=rn&&"CompositionEvent"in window,rs=null;rn&&"documentMode"in document&&(rs=document.documentMode);var Mw=rn&&"TextEvent"in window&&!rs,jm=rn&&(!Vu||rs&&8<rs&&11>=rs),Cf=" ",Ef=!1;function Cm(e,t){switch(e){case"keyup":return Ow.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Em(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Hr=!1;function Iw(e,t){switch(e){case"compositionend":return Em(t);case"keypress":return t.which!==32?null:(Ef=!0,Cf);case"textInput":return e=t.data,e===Cf&&Ef?null:e;default:return null}}function Dw(e,t){if(Hr)return e==="compositionend"||!Vu&&Cm(e,t)?(e=Sm(),Ai=Hu=An=null,Hr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jm&&t.locale!=="ko"?null:t.data;default:return null}}var _w={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 Tf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!_w[e.type]:t==="textarea"}function Tm(e,t,n,r){sm(r),t=na(t,"onChange"),0<t.length&&(n=new Wu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var os=null,ys=null;function Fw(e){zm(e,0)}function Oa(e){var t=Vr(e);if(Xp(t))return e}function zw(e,t){if(e==="change")return t}var Rm=!1;if(rn){var Cl;if(rn){var El="oninput"in document;if(!El){var Rf=document.createElement("div");Rf.setAttribute("oninput","return;"),El=typeof Rf.oninput=="function"}Cl=El}else Cl=!1;Rm=Cl&&(!document.documentMode||9<document.documentMode)}function Pf(){os&&(os.detachEvent("onpropertychange",Pm),ys=os=null)}function Pm(e){if(e.propertyName==="value"&&Oa(ys)){var t=[];Tm(t,ys,e,_u(e)),cm(Fw,t)}}function $w(e,t,n){e==="focusin"?(Pf(),os=t,ys=n,os.attachEvent("onpropertychange",Pm)):e==="focusout"&&Pf()}function Bw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Oa(ys)}function Hw(e,t){if(e==="click")return Oa(t)}function Ww(e,t){if(e==="input"||e==="change")return Oa(t)}function Uw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ct=typeof Object.is=="function"?Object.is:Uw;function xs(e,t){if(Ct(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!cc.call(t,o)||!Ct(e[o],t[o]))return!1}return!0}function Af(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lf(e,t){var n=Af(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Af(n)}}function Am(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Am(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Lm(){for(var e=window,t=Qi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qi(e.document)}return t}function Yu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Vw(e){var t=Lm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Am(n.ownerDocument.documentElement,n)){if(r!==null&&Yu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=Lf(n,s);var i=Lf(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Yw=rn&&"documentMode"in document&&11>=document.documentMode,Wr=null,Tc=null,ss=null,Rc=!1;function Of(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Rc||Wr==null||Wr!==Qi(r)||(r=Wr,"selectionStart"in r&&Yu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ss&&xs(ss,r)||(ss=r,r=na(Tc,"onSelect"),0<r.length&&(t=new Wu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Wr)))}function ci(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ur={animationend:ci("Animation","AnimationEnd"),animationiteration:ci("Animation","AnimationIteration"),animationstart:ci("Animation","AnimationStart"),transitionend:ci("Transition","TransitionEnd")},Tl={},Om={};rn&&(Om=document.createElement("div").style,"AnimationEvent"in window||(delete Ur.animationend.animation,delete Ur.animationiteration.animation,delete Ur.animationstart.animation),"TransitionEvent"in window||delete Ur.transitionend.transition);function Ma(e){if(Tl[e])return Tl[e];if(!Ur[e])return e;var t=Ur[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Om)return Tl[e]=t[n];return e}var Mm=Ma("animationend"),Im=Ma("animationiteration"),Dm=Ma("animationstart"),_m=Ma("transitionend"),Fm=new Map,Mf="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 Kn(e,t){Fm.set(e,t),Sr(t,[e])}for(var Rl=0;Rl<Mf.length;Rl++){var Pl=Mf[Rl],Kw=Pl.toLowerCase(),Gw=Pl[0].toUpperCase()+Pl.slice(1);
vendor: 2,023 bytes, line 37
37Kn(Kw,"on"+Gw)}Kn(Mm,"onAnimationEnd");Kn(Im,"onAnimationIteration");Kn(Dm,"onAnimationStart");Kn("dblclick","onDoubleClick");Kn("focusin","onFocus");Kn("focusout","onBlur");Kn(_m,"onTransitionEnd");yo("onMouseEnter",["mouseout","mouseover"]);yo("onMouseLeave",["mouseout","mouseover"]);yo("onPointerEnter",["pointerout","pointerover"]);yo("onPointerLeave",["pointerout","pointerover"]);Sr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Sr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Sr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Sr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Sr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Sr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zo="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(" "),Qw=new Set("cancel close invalid load scroll toggle".split(" ").concat(Zo));function If(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Kx(r,t,void 0,e),e.currentTarget=null}function zm(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==s&&o.isPropagationStopped())break e;If(o,l,u),s=c}else for(i=0;i<r.length;i++){if(l=r[i],c=l.instance,u=l.currentTarget,l=l.listener,c!==s&&o.isPropagationStopped())break e;If(o,l,u),s=c}}}if(Ji)throw e=Sc,Ji=!1,Sc=null,e}function le(e,t){var n=t[Mc];n===void 0&&(n=t[Mc]=new Set);var r=e+"__bubble";n.has(r)||($m(t,e,2,!1),n.add(r))}function Al(e,t,n){var r=0;t&&(r|=4),$m(n,e,r,t)}var ui="_reactListening"+Math.random().toString(36).slice(2);
vendor: 4,514 bytes, line 37
37function ws(e){if(!e[ui]){e[ui]=!0,Kp.forEach(function(n){n!=="selectionchange"&&(Qw.has(n)||Al(n,!1,e),Al(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ui]||(t[ui]=!0,Al("selectionchange",!1,t))}}function $m(e,t,n,r){switch(Nm(t)){case 1:var o=cw;break;case 4:o=uw;break;default:o=Bu}n=o.bind(null,t,n,e),o=void 0,!Nc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ll(e,t,n,r,o){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var c=i.tag;if((c===3||c===4)&&(c=i.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;i=i.return}for(;l!==null;){if(i=or(l),i===null)return;if(c=i.tag,c===5||c===6){r=s=i;continue e}l=l.parentNode}}r=r.return}cm(function(){var u=s,d=_u(n),f=[];e:{var m=Fm.get(e);if(m!==void 0){var h=Wu,b=e;switch(e){case"keypress":if(Li(n)===0)break e;case"keydown":case"keyup":h=jw;break;case"focusin":b="focus",h=jl;break;case"focusout":b="blur",h=jl;break;case"beforeblur":case"afterblur":h=jl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=Nf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=hw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=Tw;break;case Mm:case Im:case Dm:h=gw;break;case _m:h=Pw;break;case"scroll":h=dw;break;case"wheel":h=Lw;break;case"copy":case"cut":case"paste":h=yw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=jf}var v=(t&4)!==0,w=!v&&e==="scroll",y=v?m!==null?m+"Capture":null:m;v=[];for(var p=u,x;p!==null;){x=p;var k=x.stateNode;if(x.tag===5&&k!==null&&(x=k,y!==null&&(k=ps(p,y),k!=null&&v.push(bs(p,k,x)))),w)break;p=p.return}0<v.length&&(m=new h(m,b,null,n,d),f.push({event:m,listeners:v}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",m&&n!==bc&&(b=n.relatedTarget||n.fromElement)&&(or(b)||b[on]))break e;if((h||m)&&(m=d.window===d?d:(m=d.ownerDocument)?m.defaultView||m.parentWindow:window,h?(b=n.relatedTarget||n.toElement,h=u,b=b?or(b):null,b!==null&&(w=jr(b),b!==w||b.tag!==5&&b.tag!==6)&&(b=null)):(h=null,b=u),h!==b)){if(v=Nf,k="onMouseLeave",y="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(v=jf,k="onPointerLeave",y="onPointerEnter",p="pointer"),w=h==null?m:Vr(h),x=b==null?m:Vr(b),m=new v(k,p+"leave",h,n,d),m.target=w,m.relatedTarget=x,k=null,or(d)===u&&(v=new v(y,p+"enter",b,n,d),v.target=x,v.relatedTarget=w,k=v),w=k,h&&b)t:{for(v=h,y=b,p=0,x=v;x;x=Ir(x))p++;for(x=0,k=y;k;k=Ir(k))x++;for(;0<p-x;)v=Ir(v),p--;for(;0<x-p;)y=Ir(y),x--;for(;p--;){if(v===y||y!==null&&v===y.alternate)break t;v=Ir(v),y=Ir(y)}v=null}else v=null;h!==null&&Df(f,m,h,v,!1),b!==null&&w!==null&&Df(f,w,b,v,!0)}}e:{if(m=u?Vr(u):window,h=m.nodeName&&m.nodeName.toLowerCase(),h==="select"||h==="input"&&m.type==="file")var N=zw;else if(Tf(m))if(Rm)N=Ww;else{N=Bw;var S=$w}else(h=m.nodeName)&&h.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(N=Hw);if(N&&(N=N(e,u))){Tm(f,N,n,d);break e}S&&S(e,m,u),e==="focusout"&&(S=m._wrapperState)&&S.controlled&&m.type==="number"&&gc(m,"number",m.value)}switch(S=u?Vr(u):window,e){case"focusin":(Tf(S)||S.contentEditable==="true")&&(Wr=S,Tc=u,ss=null);break;case"focusout":ss=Tc=Wr=null;break;case"mousedown":Rc=!0;break;case"contextmenu":case"mouseup":case"dragend":Rc=!1,Of(f,n,d);break;case"selectionchange":if(Yw)break;case"keydown":case"keyup":Of(f,n,d)}var j;if(Vu)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Hr?Cm(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(jm&&n.locale!=="ko"&&(Hr||P!=="onCompositionStart"?P==="onCompositionEnd"&&Hr&&(j=Sm()):(An=d,Hu="value"in An?An.value:An.textContent,Hr=!0)),S=na(u,P),0<S.length&&(P=new Sf(P,e,null,n,d),f.push({event:P,listeners:S}),j?P.data=j:(j=Em(n),j!==null&&(P.data=j)))),(j=Mw?Iw(e,n):Dw(e,n))&&
vendor: 4,120 bytes, lines 37-38
37(u=na(u,"onBeforeInput"),0<u.length&&(d=new Sf("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=j))}zm(f,t)})}function bs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function na(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=ps(e,n),s!=null&&r.unshift(bs(e,s,o)),s=ps(e,t),s!=null&&r.push(bs(e,s,o))),e=e.return}return r}function Ir(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Df(e,t,n,r,o){for(var s=t._reactName,i=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,o?(c=ps(n,s),c!=null&&i.unshift(bs(n,c,l))):o||(c=ps(n,s),c!=null&&i.push(bs(n,c,l)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var qw=/\r\n?/g,Jw=/\u0000|\uFFFD/g;function _f(e){return(typeof e=="string"?e:""+e).replace(qw,` 38`).replace(Jw,"")}function di(e,t,n){if(t=_f(t),_f(e)!==t&&n)throw Error(A(425))}function ra(){}var Pc=null,Ac=null;function Lc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Oc=typeof setTimeout=="function"?setTimeout:void 0,Xw=typeof clearTimeout=="function"?clearTimeout:void 0,Ff=typeof Promise=="function"?Promise:void 0,Zw=typeof queueMicrotask=="function"?queueMicrotask:typeof Ff<"u"?function(e){return Ff.resolve(null).then(e).catch(e1)}:Oc;function e1(e){setTimeout(function(){throw e})}function Ol(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),vs(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);vs(t)}function _n(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function zf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Po=Math.random().toString(36).slice(2),Dt="__reactFiber$"+Po,ks="__reactProps$"+Po,on="__reactContainer$"+Po,Mc="__reactEvents$"+Po,t1="__reactListeners$"+Po,n1="__reactHandles$"+Po;function or(e){var t=e[Dt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[on]||n[Dt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=zf(e);e!==null;){if(n=e[Dt])return n;e=zf(e)}return t}e=n,n=e.parentNode}return null}function Hs(e){return e=e[Dt]||e[on],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Vr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(A(33))}function Ia(e){return e[ks]||null}var Ic=[],Yr=-1;function Gn(e){return{current:e}}function ce(e){0>Yr||(e.current=Ic[Yr],Ic[Yr]=null,Yr--)}function ie(e,t){Yr++,Ic[Yr]=e.current,e.current=t}var Un={},De=Gn(Un),Ye=Gn(!1),gr=Un;function xo(e,t){var n=e.type.contextTypes;if(!n)return Un;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ke(e){return e=e.childContextTypes,e!=null}function oa(){ce(Ye),ce(De)}function $f(e,t,n){if(De.current!==Un)throw Error(A(168));ie(De,t),ie(Ye,n)}function Bm(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(A(108,$x(e)||"Unknown",o));return pe({},n,r)}function sa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Un,gr=De.current,ie(De,e),ie(Ye,Ye.current),!0}function Bf(e,t,n){var r=e.stateNode;if(!r)throw Error(A(169));n?(e=Bm(e,t,gr),r.__reactInternalMemoizedMergedChildContext=e,ce(Ye),ce(De),ie(De,e)):ce(Ye),ie(Ye,n)}var Xt=null,Da=!1,Ml=!1;function Hm(e){Xt===null?Xt=[e]:Xt.push(e)}function r1(e){Da=!0,Hm(e)}function Qn(){if(!Ml&&Xt!==null){Ml=!0;var e=0,t=ne;try{var n=Xt;
vendor: 32,318 bytes, lines 38-40
38for(ne=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Xt=null,Da=!1}catch(o){throw Xt!==null&&(Xt=Xt.slice(e+1)),hm(Fu,Qn),o}finally{ne=t,Ml=!1}}return null}var Kr=[],Gr=0,ia=null,aa=0,it=[],at=0,vr=null,en=1,tn="";function nr(e,t){Kr[Gr++]=aa,Kr[Gr++]=ia,ia=e,aa=t}function Wm(e,t,n){it[at++]=en,it[at++]=tn,it[at++]=vr,vr=e;var r=en;e=tn;var o=32-St(r)-1;r&=~(1<<o),n+=1;var s=32-St(t)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,en=1<<32-St(t)+o|n<<o|r,tn=s+e}else en=1<<s|n<<o|r,tn=e}function Ku(e){e.return!==null&&(nr(e,1),Wm(e,1,0))}function Gu(e){for(;e===ia;)ia=Kr[--Gr],Kr[Gr]=null,aa=Kr[--Gr],Kr[Gr]=null;for(;e===vr;)vr=it[--at],it[at]=null,tn=it[--at],it[at]=null,en=it[--at],it[at]=null}var Xe=null,Je=null,de=!1,kt=null;function Um(e,t){var n=lt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Hf(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Xe=e,Je=_n(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Xe=e,Je=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=vr!==null?{id:en,overflow:tn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=lt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Xe=e,Je=null,!0):!1;default:return!1}}function Dc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function _c(e){if(de){var t=Je;if(t){var n=t;if(!Hf(e,t)){if(Dc(e))throw Error(A(418));t=_n(n.nextSibling);var r=Xe;t&&Hf(e,t)?Um(r,n):(e.flags=e.flags&-4097|2,de=!1,Xe=e)}}else{if(Dc(e))throw Error(A(418));e.flags=e.flags&-4097|2,de=!1,Xe=e}}}function Wf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Xe=e}function fi(e){if(e!==Xe)return!1;if(!de)return Wf(e),de=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Lc(e.type,e.memoizedProps)),t&&(t=Je)){if(Dc(e))throw Vm(),Error(A(418));for(;t;)Um(e,t),t=_n(t.nextSibling)}if(Wf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(A(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Je=_n(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Je=null}}else Je=Xe?_n(e.stateNode.nextSibling):null;return!0}function Vm(){for(var e=Je;e;)e=_n(e.nextSibling)}function wo(){Je=Xe=null,de=!1}function Qu(e){kt===null?kt=[e]:kt.push(e)}var o1=un.ReactCurrentBatchConfig;function Wo(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(A(309));var r=n.stateNode}if(!r)throw Error(A(147,e));var o=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var l=o.refs;i===null?delete l[s]:l[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(A(284));if(!n._owner)throw Error(A(290,e))}return e}function hi(e,t){throw e=Object.prototype.toString.call(t),Error(A(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Uf(e){var t=e._init;return t(e._payload)}function Ym(e){function t(y,p){if(e){var x=y.deletions;x===null?(y.deletions=[p],y.flags|=16):x.push(p)}}function n(y,p){if(!e)return null;for(;p!==null;)t(y,p),p=p.sibling;return null}function r(y,p){for(y=new Map;p!==null;)p.key!==null?y.set(p.key,p):y.set(p.index,p),p=p.sibling;return y}function o(y,p){return y=Bn(y,p),y.index=0,y.sibling=null,y}function s(y,p,x){return y.index=x,e?(x=y.alternate,x!==null?(x=x.index,x<p?(y.flags|=2,p):x):(y.flags|=2,p)):(y.flags|=1048576,p)}function i(y){return e&&y.alternate===null&&(y.flags|=2),y}function l(y,p,x,k){return p===null||p.tag!==6?(p=Bl(x,y.mode,k),p.return=y,p):(p=o(p,x),p.return=y,p)}function c(y,p,x,k){var N=x.type;return N===Br?d(y,p,x.props.children,k,x.key):p!==null&&(p.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===kn&&Uf(N)===p.type)?(k=o(p,x.props),k.ref=Wo(y,p,x),k.return=y,k):(k=zi(x.type,x.key,x.props,null,y.mode,k),k.ref=Wo(y,p,x),k.return=y,k)}function u(y,p,x,k){return p===null||p.tag!==4||p.stateNode.containerInfo!==x.containerInfo||p.stateNode.implementation!==x.implementation?(p=Hl(x,y.mode,k),p.return=y,p):(p=o(p,x.children||[]),p.return=y,p)}function d(y,p,x,k,N){return p===null||p.tag!==7?(p=mr(x,y.mode,k,N),p.return=y,p):(p=o(p,x),p.return=y,p)}function f(y,p,x){if(typeof p=="string"&&p!==""||typeof p=="number")return p=Bl(""+p,y.mode,x),p.return=y,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case ni:return x=zi(p.type,p.key,p.props,null,y.mode,x),x.ref=Wo(y,null,p),x.return=y,x;case $r:return p=Hl(p,y.mode,x),p.return=y,p;case kn:var k=p._init;return f(y,k(p._payload),x)}if(Jo(p)||Fo(p))return p=mr(p,y.mode,x,null),p.return=y,p;hi(y,p)}return null}function m(y,p,x,k){var N=p!==null?p.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return N!==null?null:l(y,p,""+x,k);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case ni:return x.key===N?c(y,p,x,k):null;case $r:return x.key===N?u(y,p,x,k):null;case kn:return N=x._init,m(y,p,N(x._payload),k)}if(Jo(x)||Fo(x))return N!==null?null:d(y,p,x,k,null);hi(y,x)}return null}function h(y,p,x,k,N){if(typeof k=="string"&&k!==""||typeof k=="number")return y=y.get(x)||null,l(p,y,""+k,N);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case ni:return y=y.get(k.key===null?x:k.key)||null,c(p,y,k,N);case $r:return y=y.get(k.key===null?x:k.key)||null,u(p,y,k,N);case kn:var S=k._init;return h(y,p,x,S(k._payload),N)}if(Jo(k)||Fo(k))return y=y.get(x)||null,d(p,y,k,N,null);hi(p,k)}return null}function b(y,p,x,k){for(var N=null,S=null,j=p,P=p=0,L=null;j!==null&&P<x.length;P++){j.index>P?(L=j,j=null):L=j.sibling;var O=m(y,j,x[P],k);if(O===null){j===null&&(j=L);break}e&&j&&O.alternate===null&&t(y,j),p=s(O,p,P),S===null?N=O:S.sibling=O,S=O,j=L}if(P===x.length)return n(y,j),de&&nr(y,P),N;if(j===null){for(;P<x.length;P++)j=f(y,x[P],k),j!==null&&(p=s(j,p,P),S===null?N=j:S.sibling=j,S=j);return de&&nr(y,P),N}for(j=r(y,j);P<x.length;P++)L=h(j,y,P,x[P],k),L!==null&&(e&&L.alternate!==null&&j.delete(L.key===null?P:L.key),p=s(L,p,P),S===null?N=L:S.sibling=L,S=L);return e&&j.forEach(function(z){return t(y,z)}),de&&nr(y,P),N}function v(y,p,x,k){var N=Fo(x);if(typeof N!="function")throw Error(A(150));if(x=N.call(x),x==null)throw Error(A(151));for(var S=N=null,j=p,P=p=0,L=null,O=x.next();j!==null&&!O.done;P++,O=x.next()){j.index>P?(L=j,j=null):L=j.sibling;var z=m(y,j,O.value,k);if(z===null){j===null&&(j=L);break}e&&j&&z.alternate===null&&t(y,j),p=s(z,p,P),S===null?N=z:S.sibling=z,S=z,j=L}if(O.done)return n(y,j),de&&nr(y,P),N;if(j===null){for(;!O.done;P++,O=x.next())O=f(y,O.value,k),O!==null&&(p=s(O,p,P),S===null?N=O:S.sibling=O,S=O);return de&&nr(y,P),N}for(j=r(y,j);!O.done;P++,O=x.next())O=h(j,y,P,O.value,k),O!==null&&(e&&O.alternate!==null&&j.delete(O.key===null?P:O.key),p=s(O,p,P),S===null?N=O:S.sibling=O,S=O);return e&&j.forEach(function(_){return t(y,_)}),de&&nr(y,P),N}function w(y,p,x,k){if(typeof x=="object"&&x!==null&&x.type===Br&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case ni:e:{for(var N=x.key,S=p;S!==null;){if(S.key===N){if(N=x.type,N===Br){if(S.tag===7){n(y,S.sibling),p=o(S,x.props.children),p.return=y,y=p;break e}}else if(S.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===kn&&Uf(N)===S.type){n(y,S.sibling),p=o(S,x.props),p.ref=Wo(y,S,x),p.return=y,y=p;break e}n(y,S);break}else t(y,S);S=S.sibling}x.type===Br?(p=mr(x.props.children,y.mode,k,x.key),p.return=y,y=p):(k=zi(x.type,x.key,x.props,null,y.mode,k),k.ref=Wo(y,p,x),k.return=y,y=k)}return i(y);case $r:e:{for(S=x.key;p!==null;){if(p.key===S)if(p.tag===4&&p.stateNode.containerInfo===x.containerInfo&&p.stateNode.implementation===x.implementation){n(y,p.sibling),p=o(p,x.children||[]),p.return=y,y=p;break e}else{n(y,p);break}else t(y,p);p=p.sibling}p=Hl(x,y.mode,k),p.return=y,y=p}return i(y);case kn:return S=x._init,w(y,p,S(x._payload),k)}if(Jo(x))return b(y,p,x,k);if(Fo(x))return v(y,p,x,k);hi(y,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,p!==null&&p.tag===6?(n(y,p.sibling),p=o(p,x),p.return=y,y=p):(n(y,p),p=Bl(x,y.mode,k),p.return=y,y=p),i(y)):n(y,p)}return w}var bo=Ym(!0),Km=Ym(!1),la=Gn(null),ca=null,Qr=null,qu=null;function Ju(){qu=Qr=ca=null}function Xu(e){var t=la.current;ce(la),e._currentValue=t}function Fc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function no(e,t){ca=e,qu=Qr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ve=!0),e.firstContext=null)}function ut(e){var t=e._currentValue;if(qu!==e)if(e={context:e,memoizedValue:t,next:null},Qr===null){if(ca===null)throw Error(A(308));Qr=e,ca.dependencies={lanes:0,firstContext:e}}else Qr=Qr.next=e;return t}var sr=null;function Zu(e){sr===null?sr=[e]:sr.push(e)}function Gm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Zu(t)):(n.next=o.next,o.next=n),t.interleaved=n,sn(e,r)}function sn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Nn=!1;function ed(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function nn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Fn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,X&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,sn(e,n)}return o=r.interleaved,o===null?(t.next=t,Zu(r)):(t.next=o.next,o.next=t),r.interleaved=t,sn(e,n)}function Oi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,zu(e,n)}}function Vf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?o=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ua(e,t,n,r){var o=e.updateQueue;Nn=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var c=l,u=c.next;c.next=null,i===null?s=u:i.next=u,i=c;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==i&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=c))}if(s!==null){var f=o.baseState;i=0,d=u=c=null,l=s;do{var m=l.lane,h=l.eventTime;if((r&m)===m){d!==null&&(d=d.next={eventTime:h,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var b=e,v=l;switch(m=t,h=n,v.tag){case 1:if(b=v.payload,typeof b=="function"){f=b.call(h,f,m);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=v.payload,m=typeof b=="function"?b.call(h,f,m):b,m==null)break e;f=pe({},f,m);break e;case 2:Nn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[l]:m.push(l))}else h={eventTime:h,lane:m,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=h,c=f):d=d.next=h,i|=m;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;m=l,l=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);if(d===null&&(c=f),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);xr|=i,e.lanes=i,e.memoizedState=f}}function Yf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(A(191,o));o.call(r)}}}var Ws={},$t=Gn(Ws),Ns=Gn(Ws),Ss=Gn(Ws);function ir(e){if(e===Ws)throw Error(A(174));return e}function td(e,t){switch(ie(Ss,t),ie(Ns,e),ie($t,Ws),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:yc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=yc(t,e)}ce($t),ie($t,t)}function ko(){ce($t),ce(Ns),ce(Ss)}function qm(e){ir(Ss.current);var t=ir($t.current),n=yc(t,e.type);t!==n&&(ie(Ns,e),ie($t,n))}function nd(e){Ns.current===e&&(ce($t),ce(Ns))}var fe=Gn(0);function da(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Il=[];function rd(){for(var e=0;e<Il.length;e++)Il[e]._workInProgressVersionPrimary=null;Il.length=0}var Mi=un.ReactCurrentDispatcher,Dl=un.ReactCurrentBatchConfig,yr=0,he=null,be=null,Se=null,fa=!1,is=!1,js=0,s1=0;function Le(){throw Error(A(321))}function od(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ct(e[n],t[n]))return!1;return!0}function sd(e,t,n,r,o,s){if(yr=s,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Mi.current=e===null||e.memoizedState===null?c1:u1,e=n(r,o),is){s=0;do{if(is=!1,js=0,25<=s)throw Error(A(301));s+=1,Se=be=null,t.updateQueue=null,Mi.current=d1,e=n(r,o)}while(is)}if(Mi.current=ha,t=be!==null&&be.next!==null,yr=0,Se=be=he=null,fa=!1,t)throw Error(A(300));return e}function id(){var e=js!==0;return js=0,e}function Lt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Se===null?he.memoizedState=Se=e:Se=Se.next=e,Se}function dt(){if(be===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=be.next;var t=Se===null?he.memoizedState:Se.next;if(t!==null)Se=t,be=e;else{if(e===null)throw Error(A(310));be=e,e={memoizedState:be.memoizedState,baseState:be.baseState,baseQueue:be.baseQueue,queue:be.queue,next:null},Se===null?he.memoizedState=Se=e:Se=Se.next=e}return Se}function Cs(e,t){return typeof t=="function"?t(e):t}function _l(e){var t=dt(),n=t.queue;if(n===null)throw Error(A(311));n.lastRenderedReducer=e;var r=be,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var l=i=null,c=null,u=s;do{var d=u.lane;if((yr&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=f,i=r):c=c.next=f,he.lanes|=d,xr|=d}u=u.next}while(u!==null&&u!==s);c===null?i=r:c.next=l,Ct(r,t.memoizedState)||(Ve=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do s=o.lane,he.lanes|=s,xr|=s,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Fl(e){var t=dt(),n=t.queue;if(n===null)throw Error(A(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do s=e(s,i.action),i=i.next;while(i!==o);Ct(s,t.memoizedState)||(Ve=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Jm(){}function Xm(e,t){var n=he,r=dt(),o=t(),s=!Ct(r.memoizedState,o);if(s&&(r.memoizedState=o,Ve=!0),r=r.queue,ad(tg.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Se!==null&&Se.memoizedState.tag&1){if(n.flags|=2048,Es(9,eg.bind(null,n,r,o,t),void 0,null),je===null)throw Error(A(349));yr&30||Zm(n,t,o)}return o}function Zm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function eg(e,t,n,r){t.value=n,t.getSnapshot=r,ng(t)&&rg(e)}function tg(e,t,n){return n(function(){ng(t)&&rg(e)})}function ng(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ct(e,n)}catch{return!0}}function rg(e){var t=sn(e,1);t!==null&&jt(t,e,1,-1)}function Kf(e){var t=Lt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Cs,lastRenderedState:e},t.queue=e,e=e.dispatch=l1.bind(null,he,e),[t.memoizedState,e]}function Es(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function og(){return dt().memoizedState}function Ii(e,t,n,r){var o=Lt();he.flags|=e,o.memoizedState=Es(1|t,n,void 0,r===void 0?null:r)}function _a(e,t,n,r){var o=dt();r=r===void 0?null:r;var s=void 0;if(be!==null){var i=be.memoizedState;if(s=i.destroy,r!==null&&od(r,i.deps)){o.memoizedState=Es(t,n,s,r);return}}he.flags|=e,o.memoizedState=Es(1|t,n,s,r)}function Gf(e,t){return Ii(8390656,8,e,t)}function ad(e,t){return _a(2048,8,e,t)}function sg(e,t){return _a(4,2,e,t)}function ig(e,t){return _a(4,4,e,t)}function ag(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function lg(e,t,n){return n=n!=null?n.concat([e]):null,_a(4,4,ag.bind(null,t,e),n)}function ld(){}function cg(e,t){var n=dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&od(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ug(e,t){var n=dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&od(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function dg(e,t,n){return yr&21?(Ct(n,t)||(n=gm(),he.lanes|=n,xr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ve=!0),e.memoizedState=n)}function i1(e,t){var n=ne;ne=n!==0&&4>n?n:4,e(!0);var r=Dl.transition;Dl.transition={};try{e(!1),t()}finally{ne=n,Dl.transition=r}}function fg(){return dt().memoizedState}function a1(e,t,n){var r=$n(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},hg(e))pg(t,n);else if(n=Gm(e,t,n,r),n!==null){var o=$e();jt(n,e,r,o),mg(n,t,r)}}function l1(e,t,n){var r=$n(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(hg(e))pg(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,l=s(i,n);if(o.hasEagerState=!0,o.eagerState=l,Ct(l,i)){var c=t.interleaved;c===null?(o.next=o,Zu(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=Gm(e,t,o,r),n!==null&&(o=$e(),jt(n,e,r,o),mg(n,t,r))}}function hg(e){var t=e.alternate;return e===he||t!==null&&t===he}function pg(e,t){is=fa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function mg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,zu(e,n)}}var ha={readContext:ut,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useInsertionEffect:Le,useLayoutEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useMutableSource:Le,useSyncExternalStore:Le,useId:Le,unstable_isNewReconciler:!1},c1={readContext:ut,useCallback:function(e,t){return Lt().memoizedState=[e,t===void 0?null:t],e},useContext:ut,useEffect:Gf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ii(4194308,4,ag.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ii(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ii(4,2,e,t)},useMemo:function(e,t){var n=Lt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=a1.bind(null,he,e),[r.memoizedState,e]},useRef:function(e){var t=Lt();return e={current:e},t.memoizedState=e},useState:Kf,useDebugValue:ld,useDeferredValue:function(e){return Lt().memoizedState=e},useTransition:function(){var e=Kf(!1),t=e[0];return e=i1.bind(null,e[1]),Lt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=he,o=Lt();if(de){if(n===void 0)throw Error(A(407));n=n()}else{if(n=t(),je===null)throw Error(A(349));yr&30||Zm(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,Gf(tg.bind(null,r,s,e),[e]),r.flags|=2048,Es(9,eg.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Lt(),t=je.identifierPrefix;if(de){var n=tn,r=en;n=(r&~(1<<32-St(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=js++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=s1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},u1={readContext:ut,useCallback:cg,useContext:ut,useEffect:ad,useImperativeHandle:lg,useInsertionEffect:sg,useLayoutEffect:ig,useMemo:ug,useReducer:_l,useRef:og,useState:function(){return _l(Cs)},useDebugValue:ld,useDeferredValue:function(e){var t=dt();return dg(t,be.memoizedState,e)},useTransition:function(){var e=_l(Cs)[0],t=dt().memoizedState;return[e,t]},useMutableSource:Jm,useSyncExternalStore:Xm,useId:fg,unstable_isNewReconciler:!1},d1={readContext:ut,useCallback:cg,useContext:ut,useEffect:ad,useImperativeHandle:lg,useInsertionEffect:sg,useLayoutEffect:ig,useMemo:ug,useReducer:Fl,useRef:og,useState:function(){return Fl(Cs)},useDebugValue:ld,useDeferredValue:function(e){var t=dt();return be===null?t.memoizedState=e:dg(t,be.memoizedState,e)},useTransition:function(){var e=Fl(Cs)[0],t=dt().memoizedState;return[e,t]},useMutableSource:Jm,useSyncExternalStore:Xm,useId:fg,unstable_isNewReconciler:!1};function vt(e,t){if(e&&e.defaultProps){t=pe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function zc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:pe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Fa={isMounted:function(e){return(e=e._reactInternals)?jr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=$e(),o=$n(e),s=nn(r,o);s.payload=t,n!=null&&(s.callback=n),t=Fn(e,s,o),t!==null&&(jt(t,e,o,r),Oi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=$e(),o=$n(e),s=nn(r,o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Fn(e,s,o),t!==null&&(jt(t,e,o,r),Oi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=$e(),r=$n(e),o=nn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Fn(e,o,r),t!==null&&(jt(t,e,r,n),Oi(t,e,r))}};function Qf(e,t,n,r,o,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!xs(n,r)||!xs(o,s):!0}function gg(e,t,n){var r=!1,o=Un,s=t.contextType;return typeof s=="object"&&s!==null?s=ut(s):(o=Ke(t)?gr:De.current,r=t.contextTypes,s=(r=r!=null)?xo(e,o):Un),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Fa,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function qf(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Fa.enqueueReplaceState(t,t.state,null)}function $c(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},ed(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=ut(s):(s=Ke(t)?gr:De.current,o.context=xo(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(zc(e,t,s,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Fa.enqueueReplaceState(o,o.state,null),ua(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function No(e,t){try{var n="",r=t;do n+=zx(r),r=r.return;while(r);var o=n}catch(s){o=` 39Error generating stack: `+s.message+` 40`+s.stack}return{value:e,source:t,stack:o,digest:null}}function zl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Bc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var f1=typeof WeakMap=="function"?WeakMap:Map;function vg(e,t,n){n=nn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ma||(ma=!0,Jc=r),Bc(e,t)},n}function yg(e,t,n){n=nn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Bc(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Bc(e,t),typeof r!="function"&&(zn===null?zn=new Set([this]):zn.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Jf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new f1;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=C1.bind(null,e,t,n),t.then(e,e))}function Xf(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Zf(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=nn(-1,1),t.tag=2,Fn(n,t,1))),n.lanes|=1),e)}var h1=un.ReactCurrentOwner,Ve=!1;function Fe(e,t,n,r){t.child=e===null?Km(t,null,n,r):bo(t,e.child,n,r)}function eh(e,t,n,r,o){n=n.render;var s=t.ref;return no(t,o),r=sd(e,t,n,r,s,o),n=id(),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,an(e,t,o)):(de&&n&&Ku(t),t.flags|=1,Fe(e,t,r,o),t.child)}function th(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!gd(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,xg(e,t,s,r,o)):(e=zi(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:xs,n(i,r)&&e.ref===t.ref)return an(e,t,o)}return t.flags|=1,e=Bn(s,r),e.ref=t.ref,e.return=t,t.child=e}function xg(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(xs(s,r)&&e.ref===t.ref)if(Ve=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(Ve=!0);else return t.lanes=e.lanes,an(e,t,o)}return Hc(e,t,n,r,o)}function wg(e,t,n){var r=t.pendingProps,o=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ie(Jr,Qe),Qe|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ie(Jr,Qe),Qe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,ie(Jr,Qe),Qe|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,ie(Jr,Qe),Qe|=r;return Fe(e,t,o,n),t.child}function bg(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Hc(e,t,n,r,o){var s=Ke(n)?gr:De.current;return s=xo(t,s),no(t,o),n=sd(e,t,n,r,s,o),r=id(),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,an(e,t,o)):(de&&r&&Ku(t),t.flags|=1,Fe(e,t,n,o),t.child)}function nh(e,t,n,r,o){if(Ke(n)){var s=!0;sa(t)}else s=!1;if(no(t,o),t.stateNode===null)Di(e,t),gg(t,n,r),$c(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,l=t.memoizedProps;i.props=l;var c=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=ut(u):(u=Ke(n)?gr:De.current,u=xo(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==r||c!==u)&&qf(t,i,r,u),Nn=!1;var m=t.memoizedState;i.state=m,ua(t,r,i,o),c=t.memoizedState,l!==r||m!==c||Ye.current||Nn?(typeof d=="function"&&(zc(t,n,d,r),c=t.memoizedState),(l=Nn||Qf(t,n,l,r,m,c,u))?(f||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),i.props=r,i.state=c,i.context=u,r=l):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Qm(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:vt(t.type,l),i.props=u,f=t.pendingProps,m=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=ut(c):(c=Ke(n)?gr:De.current,c=xo(t,c));var h=n.getDerivedStateFromProps;(d=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==f||m!==c)&&qf(t,i,r,c),Nn=!1,m=t.memoizedState,i.state=m,ua(t,r,i,o);var b=t.memoizedState;l!==f||m!==b||Ye.current||Nn?(typeof h=="function"&&(zc(t,n,h,r),b=t.memoizedState),(u=Nn||Qf(t,n,u,r,m,b,c)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,b,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,b,c)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),i.props=r,i.state=b,i.context=c,r=u):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Wc(e,t,n,r,s,o)}function Wc(e,t,n,r,o,s){bg(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&Bf(t,n,!1),an(e,t,s);r=t.stateNode,h1.current=t;var l=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=bo(t,e.child,null,s),t.child=bo(t,null,l,s)):Fe(e,t,l,s),t.memoizedState=r.state,o&&Bf(t,n,!0),t.child}function kg(e){var t=e.stateNode;t.pendingContext?$f(e,t.pendingContext,t.pendingContext!==t.context):t.context&&$f(e,t.context,!1),td(e,t.containerInfo)}function rh(e,t,n,r,o){return wo(),Qu(o),t.flags|=256,Fe(e,t,n,r),t.child}var Uc={dehydrated:null,treeContext:null,retryLane:0};function Vc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ng(e,t,n){var r=t.pendingProps,o=fe.current,s=!1,i=(t.flags&128)!==0,l;if((l=i)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ie(fe,o&1),e===null)return _c(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=Ba(i,r,0,null),e=mr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Vc(n),t.memoizedState=Uc,e):cd(t,i));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return p1(e,t,i,r,l,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,l=o.sibling;var c={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Bn(o,c
vendor: 1,807 bytes, line 40
40),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?s=Bn(l,s):(s=mr(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?Vc(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=Uc,r}return s=e.child,e=s.sibling,r=Bn(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function cd(e,t){return t=Ba({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function pi(e,t,n,r){return r!==null&&Qu(r),bo(t,e.child,null,n),e=cd(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function p1(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=zl(Error(A(422))),pi(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=Ba({mode:"visible",children:r.children},o,0,null),s=mr(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&bo(t,e.child,null,i),t.child.memoizedState=Vc(i),t.memoizedState=Uc,s);if(!(t.mode&1))return pi(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,s=Error(A(419)),r=zl(s,r,void 0),pi(e,t,i,r)}if(l=(i&e.childLanes)!==0,Ve||l){if(r=je,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,sn(e,o),jt
vendor: 5,268 bytes, line 40
40(r,e,o,-1))}return md(),r=zl(Error(A(421))),pi(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=E1.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,Je=_n(o.nextSibling),Xe=t,de=!0,kt=null,e!==null&&(it[at++]=en,it[at++]=tn,it[at++]=vr,en=e.id,tn=e.overflow,vr=t),t=cd(t,r.children),t.flags|=4096,t)}function oh(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Fc(e.return,t,n)}function $l(e,t,n,r,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function Sg(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(Fe(e,t,r.children,n),r=fe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&oh(e,n,t);else if(e.tag===19)oh(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ie(fe,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&da(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$l(t,!1,o,n,s);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&da(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$l(t,!0,n,null,s);break;case"together":$l(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Di(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function an(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),xr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(A(153));if(t.child!==null){for(e=t.child,n=Bn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Bn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function m1(e,t,n){switch(t.tag){case 3:kg(t),wo();break;case 5:qm(t);break;case 1:Ke(t.type)&&sa(t);break;case 4:td(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ie(la,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?Ng(e,t,n):(ie(fe,fe.current&1),e=an(e,t,n),e!==null?e.sibling:null);ie(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Sg(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ie(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,wg(e,t,n)}return an(e,t,n)}var jg,Yc,Cg,Eg;jg=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Yc=function(){};Cg=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ir($t.current);var s=null;switch(n){case"input":o=pc(e,o),r=pc(e,r),s=[];break;case"select":o=pe({},o,{value:void 0}),r=pe({},r,{value:void 0}),s=[];break;case"textarea":o=vc(e,o),r=vc(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ra)}xc(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(fs.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(s||(s=[]),s.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(s=s||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(s=s||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(fs.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&le("scroll",e),s||l===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Eg=function(e,t,n,r){n!==r&&(t.flags|=4)};function Uo(e,t){if(!de)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Oe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}
vendor: 20,118 bytes, line 40
40function g1(e,t,n){var r=t.pendingProps;switch(Gu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Oe(t),null;case 1:return Ke(t.type)&&oa(),Oe(t),null;case 3:return r=t.stateNode,ko(),ce(Ye),ce(De),rd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(fi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,kt!==null&&(eu(kt),kt=null))),Yc(e,t),Oe(t),null;case 5:nd(t);var o=ir(Ss.current);if(n=t.type,e!==null&&t.stateNode!=null)Cg(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(A(166));return Oe(t),null}if(e=ir($t.current),fi(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Dt]=t,r[ks]=s,e=(t.mode&1)!==0,n){case"dialog":le("cancel",r),le("close",r);break;case"iframe":case"object":case"embed":le("load",r);break;case"video":case"audio":for(o=0;o<Zo.length;o++)le(Zo[o],r);break;case"source":le("error",r);break;case"img":case"image":case"link":le("error",r),le("load",r);break;case"details":le("toggle",r);break;case"input":hf(r,s),le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},le("invalid",r);break;case"textarea":mf(r,s),le("invalid",r)}xc(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="children"?typeof l=="string"?r.textContent!==l&&(s.suppressHydrationWarning!==!0&&di(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(s.suppressHydrationWarning!==!0&&di(r.textContent,l,e),o=["children",""+l]):fs.hasOwnProperty(i)&&l!=null&&i==="onScroll"&&le("scroll",r)}switch(n){case"input":ri(r),pf(r,s,!0);break;case"textarea":ri(r),gf(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=ra)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=tm(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Dt]=t,e[ks]=r,jg(e,t,!1,!1),t.stateNode=e;e:{switch(i=wc(n,r),n){case"dialog":le("cancel",e),le("close",e),o=r;break;case"iframe":case"object":case"embed":le("load",e),o=r;break;case"video":case"audio":for(o=0;o<Zo.length;o++)le(Zo[o],e);o=r;break;case"source":le("error",e),o=r;break;case"img":case"image":case"link":le("error",e),le("load",e),o=r;break;case"details":le("toggle",e),o=r;break;case"input":hf(e,r),o=pc(e,r),le("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=pe({},r,{value:void 0}),le("invalid",e);break;case"textarea":mf(e,r),o=vc(e,r),le("invalid",e);break;default:o=r}xc(n,o),l=o;for(s in l)if(l.hasOwnProperty(s)){var c=l[s];s==="style"?om(e,c):s==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&nm(e,c)):s==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&hs(e,c):typeof c=="number"&&hs(e,""+c):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(fs.hasOwnProperty(s)?c!=null&&s==="onScroll"&&le("scroll",e):c!=null&&Ou(e,s,c,i))}switch(n){case"input":ri(e),pf(e,r,!1);break;case"textarea":ri(e),gf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Wn(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Xr(e,!!r.multiple,s,!1):r.defaultValue!=null&&Xr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=ra)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Oe(t),null;case 6:if(e&&t.stateNode!=null)Eg(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(A(166));if(n=ir(Ss.current),ir($t.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[Dt]=t,(s=r.nodeValue!==n)&&(e=Xe,e!==null))switch(e.tag){case 3:di(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&di(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Dt]=t,t.stateNode=r}return Oe(t),null;case 13:if(ce(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(de&&Je!==null&&t.mode&1&&!(t.flags&128))Vm(),wo(),t.flags|=98560,s=!1;else if(s=fi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(A(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(A(317));s[Dt]=t}else wo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Oe(t),s=!1}else kt!==null&&(eu(kt),kt=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||fe.current&1?Ne===0&&(Ne=3):md())),t.updateQueue!==null&&(t.flags|=4),Oe(t),null);case 4:return ko(),Yc(e,t),e===null&&ws(t.stateNode.containerInfo),Oe(t),null;case 10:return Xu(t.type._context),Oe(t),null;case 17:return Ke(t.type)&&oa(),Oe(t),null;case 19:if(ce(fe),s=t.memoizedState,s===null)return Oe(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)Uo(s,!1);else{if(Ne!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=da(e),i!==null){for(t.flags|=128,Uo(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ie(fe,fe.current&1|2),t.child}e=e.sibling}s.tail!==null&&ve()>So&&(t.flags|=128,r=!0,Uo(s,!1),t.lanes=4194304)}else{if(!r)if(e=da(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Uo(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!de)return Oe(t),null}else 2*ve()-s.renderingStartTime>So&&n!==1073741824&&(t.flags|=128,r=!0,Uo(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ve(),t.sibling=null,n=fe.current,ie(fe,r?n&1|2:n&1),t):(Oe(t),null);case 22:case 23:return pd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Qe&1073741824&&(Oe(t),t.subtreeFlags&6&&(t.flags|=8192)):Oe(t),null;case 24:return null;case 25:return null}throw Error(A(156,t.tag))}function v1(e,t){switch(Gu(t),t.tag){case 1:return Ke(t.type)&&oa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ko(),ce(Ye),ce(De),rd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return nd(t),null;case 13:if(ce(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(A(340));wo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ce(fe),null;case 4:return ko(),null;case 10:return Xu(t.type._context),null;case 22:case 23:return pd(),null;case 24:return null;default:return null}}var mi=!1,Ie=!1,y1=typeof WeakSet=="function"?WeakSet:Set,D=null;function qr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function Kc(e,t,n){try{n()}catch(r){ge(e,t,r)}}var sh=!1;function x1(e,t){if(Pc=ea,e=Lm(),Yu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,l=-1,c=-1,u=0,d=0,f=e,m=null;t:for(;;){for(var h;f!==n||o!==0&&f.nodeType!==3||(l=i+o),f!==s||r!==0&&f.nodeType!==3||(c=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(h=f.firstChild)!==null;)m=f,f=h;for(;;){if(f===e)break t;if(m===n&&++u===o&&(l=i),m===s&&++d===r&&(c=i),(h=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=h}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ac={focusedElem:e,selectionRange:n},ea=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var v=b.memoizedProps,w=b.memoizedState,y=t.stateNode,p=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:vt(t.type,v),w);y.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(A(163))}}catch(k){ge(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return b=sh,sh=!1,b}function as(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&Kc(t,n,s)}o=o.next}while(o!==r)}}function za(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Gc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Tg(e){var t=e.alternate;t!==null&&(e.alternate=null,Tg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Dt],delete t[ks],delete t[Mc],delete t[t1],delete t[n1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Rg(e){return e.tag===5||e.tag===3||e.tag===4}function ih(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Rg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Qc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ra));else if(r!==4&&(e=e.child,e!==null))for(Qc(e,t,n),e=e.sibling;e!==null;)Qc(e,t,n),e=e.sibling}function qc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(qc(e,t,n),e=e.sibling;e!==null;)qc(e,t,n),e=e.sibling}var Ce=null,bt=!1;function vn(e,t,n){for(n=n.child;n!==null;)Pg(e,t,n),n=n.sibling}function Pg(e,t,n){if(zt&&typeof zt.onCommitFiberUnmount=="function")try{zt.onCommitFiberUnmount(Aa,n)}catch{}switch(n.tag){case 5:Ie||qr(n,t);case 6:var r=Ce,o=bt;Ce=null,vn(e,t,n),Ce=r,bt=o,Ce!==null&&(bt?(e=Ce,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ce.removeChild(n.stateNode));break;case 18:Ce!==null&&(bt?(e=Ce,n=n.stateNode,e.nodeType===8?Ol(e.parentNode,n):e.nodeType===1&&Ol(e,n),vs(e)):Ol(Ce,n.stateNode));break;case 4:r=Ce,o=bt,Ce=n.stateNode.containerInfo,bt=!0,vn(e,t,n),Ce=r,bt=o;break;case 0:case 11:case 14:case 15:if(!Ie&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&Kc(n,t,i),o=o.next}while(o!==r)}vn(e,t,n);break;case 1:if(!Ie&&(qr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ge(n,t,l)}vn(e,t,n);break;case 21:vn(e,t,n);break;case 22:n.mode&1?(Ie=(r=Ie)||n.memoizedState!==null,vn(e,t,n),Ie=r):vn(e,t,n);break;default:vn(e,t,n)}}function ah(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new y1),t.forEach(function(r){var o=T1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function mt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var s=e,i=t,l=i;e:for(;l!==null;){switch(l.tag){case 5:Ce=l.stateNode,bt=!1;break e;case 3:Ce=l.stateNode.containerInfo,bt=!0;break e;case 4:Ce=l.stateNode.containerInfo,bt=!0;break e}l=l.return}if(Ce===null)throw Error(A(160));Pg(s,i,o),Ce=null,bt=!1;var c=o.alternate;c!==null&&(c.return=null),o.return=null}catch(u){ge(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ag(t,e),t=t.sibling}function Ag(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mt(t,e),At(e),r&4){try{as(3,e,e.return),za(3,e)}catch(v){ge(e,e.return,v)}try{as(5,e,e.return)}catch(v){ge(e,e.return,v)}}break;case 1:mt(t,e),At(e),r&512&&n!==null&&qr(n,n.return);break;case 5:if(mt(t,e),At(e),r&512&&n!==null&&qr(n,n.return),e.flags&32){var o=e.stateNode;try{hs(o,"")}catch(v){ge(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&s.type==="radio"&&s.name!=null&&Zp(o,s),wc(l,i);var u=wc(l,s);for(i=0;i<c.length;i+=2){var d=c[i],f=c[i+1];d==="style"?om(o,f):d==="dangerouslySetInnerHTML"?nm(o,f):d==="children"?hs(o,f):Ou(o,d,f,u)}switch(l){case"input":mc(o,s);break;case"textarea":em(o,s);break;case"select":var m=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var h=s.value;h!=null?Xr(o,!!s.multiple,h,!1):m!==!!s.multiple&&(s.defaultValue!=null?Xr(o,!!s.multiple,s.defaultValue,!0):Xr(o,!!s.multiple,s.multiple?[]:"",!1))}o[ks]=s}catch(v){ge(e,e.return,v)}}break;case 6:if(mt(t,e),At(e),r&4){if(e.stateNode===null)throw Error(A(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(v){ge(e,e.return,v)}}break;case 3:if(mt(t,e),At(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{vs(t.containerInfo)}catch(v){ge(e,e.return,v)}break;case 4:mt(t,e),At(e);break;case 13:mt(t,e),At(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(fd=ve())),r&4&&ah(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Ie=(u=Ie)||d,mt(t,e),Ie=u):mt(t,e),At(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(D=e,d=e.child;d!==null;){for(f=D=d;D!==null;){switch(m=D,h=m.child,m.tag){case 0:case 11:case 14:case 15:as(4,m,m.return);break;case 1:qr(m,m.return);var b=m.stateNode;if(typeof b.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(v){ge(r,n,v)}}break;case 5:qr(m,m.return);break;case 22:if(m.memoizedState!==null){ch(f);continue}}h!==null?(h.return=m,D=h):ch(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{o=f.stateNode,u?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(l=f.stateNode,c=f.memoizedProps.style,i=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=rm("display",i))}catch(v){ge(e,e.return,v)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){ge(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:mt(t,e),At(e),r&4&&ah(e);break;case 21:break;default:mt(t,e),At(e)}}function At(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Rg(n)){var r=n;break e}n=n.return}throw Error(A(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(hs(o,""),r.flags&=-33);var s=ih(e);qc(e,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,l=ih(e);Qc(e,l,i);break;default:throw Error(A(161))}}catch(c){ge(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function w1(e,t,n){D=e,Lg(e)}function Lg(e,t,n){for(var r=(e.mode&1)!==0;D!==null;){var o=D,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||mi;if(!i){var l=o.alternate,c=l!==null&&l.memoizedState!==null||Ie;l=mi;var u=Ie;if(mi=i,(Ie=c)&&!u)for(D=o;D!==null;)i=D,c=i.child,i.tag===22&&i.memoizedState!==null?uh(o):c!==null?(c.return=i,D=c):uh(o);for(;s!==null;)D=s,Lg(s),s=s.sibling;D=o,mi=l,Ie=u}lh(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,D=s):lh(e)}}function lh(e){for(;D!==null;){var t=D;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ie||za(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ie)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:vt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Yf(t,s,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Yf(t,i,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&vs(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(A(163))}Ie||t.flags&512&&Gc(t)}catch(m){ge(t,t.return,m)}}if(t===e){D=null;break}if(n=t.sibling,n!==null){n.return=t.return,D=n;break}D=t.return}}function ch(e){for(;D!==null;){var t=D;if(t===e){D=null;break}var n=t.sibling;if(n!==null){n.return=t.return,D=n;break}D=t.return}}function uh(e){for(;D!==null;){var t=D;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{za(4,t)}catch(c){ge(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(c){ge(t,o,c)}}var s=t.return;try{Gc(t)}catch(c){ge(t,s,c)}break;case 5:var i=t.return;try{Gc(t)}catch(c){ge(t,i,c)}}}catch(c){ge(t,t.return,c)}if(t===e){D=null;break}var l=t.sibling;if(l!==null){l.return=t.return,D=l;break}D=t.return}}var b1=Math.ceil,pa=un.ReactCurrentDispatcher,ud=un.ReactCurrentOwner,ct=un.ReactCurrentBatchConfig,X=0,je=null,xe=null,Ee=0,Qe=0,Jr=Gn(0),Ne=0,Ts=null,xr=0,$a=0,dd=0,ls=null,Ue=null,fd=0,So=1/0,Jt=null,ma=!1,Jc=null,zn=null,gi=!1,Ln=null,ga=0,cs=0,Xc=null,_i=-1,Fi=0;function $e(){return X&6?ve():_i!==-1?_i:_i=ve()}function $n(e){return e.mode&1?X&2&&Ee!==0?Ee&-Ee:o1.transition!==null?(Fi===0&&(Fi=gm()),Fi):(e=ne,e!==0||(e=window.event,e=e===void 0?16:Nm(e.type)),e):1}function jt(e,t,n,r){if(50<cs)throw cs=0,Xc=null,Error(A(185));$s(e,n,r),(!(X&2)||e!==je)&&(e===je&&(!(X&2)&&($a|=n),Ne===4&&jn(e,Ee)),Ge(e,r),n===1&&X===0&&!(t.mode&1)&&(So=ve()+500,Da&&Qn()))}function Ge(e,t){var n=e.callbackNode;ow(e,t);var r=Zi(e,e===je?Ee:0);if(r===0)n!==null&&xf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&xf(n),t===1)e.tag===0?r1(dh.bind(null,e)):Hm(dh.bind(null,e)),Zw(function(){!(X&6)&&Qn()}),n=null;else{switch(vm(r)){case 1:n=Fu;break;case 4:n=pm;break;case 16:n=Xi;break;case 536870912:n=mm;break;default:n=Xi}n=$g(n,Og.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Og(e,t){if(_i=-1,Fi=0,X&6)throw Error(A(327));var n=e.callbackNode;if(ro()&&e.callbackNode!==n)return null;var r=Zi(e,e===je?Ee:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=va(e,r);else{t=r;var o=X;X|=2;var s=Ig();(je!==e||Ee!==t)&&(Jt=null,So=ve()+500,pr(e,t));do try{S1();break}catch(l){Mg(e,l)}while(!0);Ju(),pa.current=s,X=o,xe!==null?t=0:(je=null,Ee=0,t=Ne)}
vendor: 2,061 bytes, line 40
40if(t!==0){if(t===2&&(o=jc(e),o!==0&&(r=o,t=Zc(e,o))),t===1)throw n=Ts,pr(e,0),jn(e,r),Ge(e,ve()),n;if(t===6)jn(e,r);else{if(o=e.current.alternate,!(r&30)&&!k1(o)&&(t=va(e,r),t===2&&(s=jc(e),s!==0&&(r=s,t=Zc(e,s))),t===1))throw n=Ts,pr(e,0),jn(e,r),Ge(e,ve()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(A(345));case 2:rr(e,Ue,Jt);break;case 3:if(jn(e,r),(r&130023424)===r&&(t=fd+500-ve(),10<t)){if(Zi(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){$e(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Oc(rr.bind(null,e,Ue,Jt),t);break}rr(e,Ue,Jt);break;case 4:if(jn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-St(r);s=1<<i,i=t[i],i>o&&(o=i),r&=~s}if(r=o,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*b1(r/1960))-r,10<r){e.timeoutHandle=Oc(rr.bind(null,e,Ue,Jt),r);break}rr(e,Ue,Jt);break;case 5:rr(e,Ue,Jt);break;default:throw Error(A(329))}}}return Ge(e,ve()),e.callbackNode===n?Og.bind(null,e):null}function Zc(e,t){var n=ls;return e.current.memoizedState.isDehydrated&&(pr(e,t).flags|=256),e=va(e,t),e!==2&&(t=Ue,Ue=n,t!==null&&eu(t)),e}function eu(e){Ue===null?Ue=e:Ue.push.apply(Ue,e)}function k1(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],s=o.getSnapshot;o=o.value;try{if(!Ct(s(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function jn(e,t){for(t&=~dd,t&=~$a,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-St(t),r=1<<n;e[n]=-1,t&=~r}}function dh(e){if(X&6)throw Error(A(327));ro();var t=Zi(e,0);if(!(t&1))return Ge(e,ve()),null;var n=va(e,t);if(e.tag!==0&&n===2){var r=jc(e);r!==0&&(t=r,n=Zc(e,r))}if(n===1)throw n=Ts,pr(e,0),jn(e,t),Ge(e,ve()),n;if(n===6)throw Error(A(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,rr(e,Ue,Jt),Ge(e,ve(
vendor: 10,221 bytes, line 40
40)),null}function hd(e,t){var n=X;X|=1;try{return e(t)}finally{X=n,X===0&&(So=ve()+500,Da&&Qn())}}function wr(e){Ln!==null&&Ln.tag===0&&!(X&6)&&ro();var t=X;X|=1;var n=ct.transition,r=ne;try{if(ct.transition=null,ne=1,e)return e()}finally{ne=r,ct.transition=n,X=t,!(X&6)&&Qn()}}function pd(){Qe=Jr.current,ce(Jr)}function pr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Xw(n)),xe!==null)for(n=xe.return;n!==null;){var r=n;switch(Gu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&oa();break;case 3:ko(),ce(Ye),ce(De),rd();break;case 5:nd(r);break;case 4:ko();break;case 13:ce(fe);break;case 19:ce(fe);break;case 10:Xu(r.type._context);break;case 22:case 23:pd()}n=n.return}if(je=e,xe=e=Bn(e.current,null),Ee=Qe=t,Ne=0,Ts=null,dd=$a=xr=0,Ue=ls=null,sr!==null){for(t=0;t<sr.length;t++)if(n=sr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=o,r.next=i}n.pending=r}sr=null}return e}function Mg(e,t){do{var n=xe;try{if(Ju(),Mi.current=ha,fa){for(var r=he.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}fa=!1}if(yr=0,Se=be=he=null,is=!1,js=0,ud.current=null,n===null||n.return===null){Ne=1,Ts=t,xe=null;break}e:{var s=e,i=n.return,l=n,c=t;if(t=Ee,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=l,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var m=d.alternate;m?(d.updateQueue=m.updateQueue,d.memoizedState=m.memoizedState,d.lanes=m.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=Xf(i);if(h!==null){h.flags&=-257,Zf(h,i,l,s,t),h.mode&1&&Jf(s,u,t),t=h,c=u;var b=t.updateQueue;if(b===null){var v=new Set;v.add(c),t.updateQueue=v}else b.add(c);break e}else{if(!(t&1)){Jf(s,u,t),md();break e}c=Error(A(426))}}else if(de&&l.mode&1){var w=Xf(i);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Zf(w,i,l,s,t),Qu(No(c,l));break e}}s=c=No(c,l),Ne!==4&&(Ne=2),ls===null?ls=[s]:ls.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var y=vg(s,c,t);Vf(s,y);break e;case 1:l=c;var p=s.type,x=s.stateNode;if(!(s.flags&128)&&(typeof p.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(zn===null||!zn.has(x)))){s.flags|=65536,t&=-t,s.lanes|=t;var k=yg(s,l,t);Vf(s,k);break e}}s=s.return}while(s!==null)}_g(n)}catch(N){t=N,xe===n&&n!==null&&(xe=n=n.return);continue}break}while(!0)}function Ig(){var e=pa.current;return pa.current=ha,e===null?ha:e}function md(){(Ne===0||Ne===3||Ne===2)&&(Ne=4),je===null||!(xr&268435455)&&!($a&268435455)||jn(je,Ee)}function va(e,t){var n=X;X|=2;var r=Ig();(je!==e||Ee!==t)&&(Jt=null,pr(e,t));do try{N1();break}catch(o){Mg(e,o)}while(!0);if(Ju(),X=n,pa.current=r,xe!==null)throw Error(A(261));return je=null,Ee=0,Ne}function N1(){for(;xe!==null;)Dg(xe)}function S1(){for(;xe!==null&&!Qx();)Dg(xe)}function Dg(e){var t=zg(e.alternate,e,Qe);e.memoizedProps=e.pendingProps,t===null?_g(e):xe=t,ud.current=null}function _g(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=v1(n,t),n!==null){n.flags&=32767,xe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ne=6,xe=null;return}}else if(n=g1(n,t,Qe),n!==null){xe=n;return}if(t=t.sibling,t!==null){xe=t;return}xe=t=e}while(t!==null);Ne===0&&(Ne=5)}function rr(e,t,n){var r=ne,o=ct.transition;try{ct.transition=null,ne=1,j1(e,t,n,r)}finally{ct.transition=o,ne=r}return null}function j1(e,t,n,r){do ro();while(Ln!==null);if(X&6)throw Error(A(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(A(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(sw(e,s),e===je&&(xe=je=null,Ee=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||gi||(gi=!0,$g(Xi,function(){return ro(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=ct.transition,ct.transition=null;var i=ne;ne=1;var l=X;X|=4,ud.current=null,x1(e,n),Ag(n,e),Vw(Ac),ea=!!Pc,Ac=Pc=null,e.current=n,w1(n),qx(),X=l,ne=i,ct.transition=s}else e.current=n;if(gi&&(gi=!1,Ln=e,ga=o),s=e.pendingLanes,s===0&&(zn=null),Zx(n.stateNode),Ge(e,ve()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(ma)throw ma=!1,e=Jc,Jc=null,e;return ga&1&&e.tag!==0&&ro(),s=e.pendingLanes,s&1?e===Xc?cs++:(cs=0,Xc=e):cs=0,Qn(),null}function ro(){if(Ln!==null){var e=vm(ga),t=ct.transition,n=ne;try{if(ct.transition=null,ne=16>e?16:e,Ln===null)var r=!1;else{if(e=Ln,Ln=null,ga=0,X&6)throw Error(A(331));var o=X;for(X|=4,D=e.current;D!==null;){var s=D,i=s.child;if(D.flags&16){var l=s.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(D=u;D!==null;){var d=D;switch(d.tag){case 0:case 11:case 15:as(8,d,s)}var f=d.child;if(f!==null)f.return=d,D=f;else for(;D!==null;){d=D;var m=d.sibling,h=d.return;if(Tg(d),d===u){D=null;break}if(m!==null){m.return=h,D=m;break}D=h}}}var b=s.alternate;if(b!==null){var v=b.child;if(v!==null){b.child=null;do{var w=v.sibling;v.sibling=null,v=w}while(v!==null)}}D=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,D=i;else e:for(;D!==null;){if(s=D,s.flags&2048)switch(s.tag){case 0:case 11:case 15:as(9,s,s.return)}var y=s.sibling;if(y!==null){y.return=s.return,D=y;break e}D=s.return}}var p=e.current;for(D=p;D!==null;){i=D;var x=i.child;if(i.subtreeFlags&2064&&x!==null)x.return=i,D=x;else e:for(i=p;D!==null;){if(l=D,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:za(9,l)}}catch(N){ge(l,l.return,N)}if(l===i){D=null;break e}var k=l.sibling;if(k!==null){k.return=l.return,D=k;break e}D=l.return}}if(X=o,Qn(),zt&&typeof zt.onPostCommitFiberRoot=="function")try{zt.onPostCommitFiberRoot(Aa,e)}catch{}r=!0}return r}finally{ne=n,ct.transition=t}}return!1}function fh(e,t,n){t=No(n,t),t=vg(e,t,1),e=Fn(e,t,1),t=$e(),e!==null&&($s(e,1,t),Ge(e,t))}function ge(e,t,n){if(e.tag===3)fh(e,e,n);else for(;t!==null;){if(t.tag===3){fh(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(zn===null||!zn.has(r))){e=No(n,e),e=yg(t,e,1),t=Fn(t,e,1),e=$e(),t!==null&&($s(t,1,e),Ge(t,e));break}}t=t.return}}function C1(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=$e(),e.pingedLanes|=e.suspendedLanes&n,je===e&&(Ee&n)===n&&(Ne===4||Ne===3&&(Ee&130023424)===Ee&&500>ve()-fd?pr(e,0):dd|=n),Ge(e,t)}function Fg(e,t){t===0&&(e.mode&1?(t=ii,ii<<=1,!(ii&130023424)&&(ii=4194304)):t=1);var n=$e();e=sn(e,t),e!==null&&($s(e,t,n),Ge(e,n))}function E1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Fg(e,n)}function T1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(A(314))}r!==null&&r.delete(t),Fg(e,n)}var zg;zg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ye.current)Ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ve=!1,m1(e,t,n);Ve=!!(e.flags&131072)}else Ve=!1,de&&t.flags&1048576&&Wm(t,aa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Di(e,t),e=t.pendingProps;var o=xo(t,De.current);no(t,n),o=sd(null,t,r,e,o,n);var s=id();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ke(r)?(s=!0,sa(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ed(t),o.updater=Fa,t.stateNode=o,o._reactInternals=t,$c(t,r,e,n),t=Wc(null,t,r,!0,s,n)):(t.tag=0,de&&s&&Ku(t),Fe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Di(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=P1(r),e=vt(r,e),o){case 0:t=Hc(null,t,r,e,n);break e;case 1:t=nh(null,t,r,e,n);break e;case 11:t=eh(null,t,r,e,n);break e;case 14:t=th(null,t,r,vt(r.type,e),n);break e}throw Error(A(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vt(r,o),Hc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vt(r,o),nh(e,t,r,o,n);case 3:e:{if(kg(t),e===null)throw Error(A(387));r=t.pendingProps,s=t.memoizedState,o=s.element,Qm(e,t),ua(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=No(Error(A(423)),t),t=rh(e,t,r,n,o);break e}else if(r!==o){o=No(Error(A(424)),t),t=rh(e,t,r,n,o);break e}else for(Je=_n(t.stateNode.containerInfo.firstChild),Xe=t,de=!0,kt=null,n=Km(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(wo(),r===o){t=an(e,t,n);break e}Fe(e,t,r,n)}t=t.child}return t;case 5:return qm(t),e===null&&_c(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,Lc(r,o)?i=null:s!==null&&Lc(r,s)&&(t.flags|=32),bg(e,t),Fe(e,t,i,n),t.child;case 6:return e===null&&_c(t),null;case 13:return Ng(e,t,n);case 4:return td(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=bo(t,null,r,n):Fe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vt(r,o),eh(e,t,r,o,n);case 7:return Fe(e,t,t.pendingProps,n),t.child;case 8:return Fe(e,t,t.pendingProps.children,n),t.child;case 12:return Fe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,ie(la,r._currentValue),r._currentValue=i,s!==null)if(Ct(s.value,i)){if(s.children===o.children&&!Ye.current){t=an(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){i=s.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(s.tag===1){c=nn(-1,n&-n),c.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Fc(s.return,n,t),l.lanes|=n;break}c=c.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(A(341));i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Fc(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Fe(e,t,o.children,n),t=t.child}return t;
vendor: 4,112 bytes, line 40
40case 9:return o=t.type,r=t.pendingProps.children,no(t,n),o=ut(o),r=r(o),t.flags|=1,Fe(e,t,r,n),t.child;case 14:return r=t.type,o=vt(r,t.pendingProps),o=vt(r.type,o),th(e,t,r,o,n);case 15:return xg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vt(r,o),Di(e,t),t.tag=1,Ke(r)?(e=!0,sa(t)):e=!1,no(t,n),gg(t,r,o),$c(t,r,o,n),Wc(null,t,r,!0,e,n);case 19:return Sg(e,t,n);case 22:return wg(e,t,n)}throw Error(A(156,t.tag))};function $g(e,t){return hm(e,t)}function R1(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lt(e,t,n,r){return new R1(e,t,n,r)}function gd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function P1(e){if(typeof e=="function")return gd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Iu)return 11;if(e===Du)return 14}return 2}function Bn(e,t){var n=e.alternate;return n===null?(n=lt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zi(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")gd(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Br:return mr(n.children,o,s,t);case Mu:i=8,o|=8;break;case uc:return e=lt(12,n,t,o|2),e.elementType=uc,e.lanes=s,e;case dc:return e=lt(13,n,t,o),e.elementType=dc,e.lanes=s,e;case fc:return e=lt(19,n,t,o),e.elementType=fc,e.lanes=s,e;case qp:return Ba(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Gp:i=10;break e;case Qp:i=9;break e;case Iu:i=11;break e;case Du:i=14;break e;case kn:i=16,r=null;break e}throw Error(A(130,e==null?e:typeof e,""))}return t=lt(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function mr(e,t,n,r){return e=lt(7,e,r,t),e.lanes=n,e}function Ba(e,t,n,r){return e=lt(22,e,r,t),e.elementType=qp,e.lanes=n,e.stateNode={isHidden:!1},e}function Bl(e,t,n){return e=lt(6,e,null,t),e.lanes=n,e}function Hl(e,t,n){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function A1(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=kl(0),this.expirationTimes=kl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function vd(e,t,n,r,o,s,i,l,c){return e=new A1(e,t,n,l,c),t===1?(t=1,s===!0&&(t|=8)):t=0,s=lt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ed(s),e}function L1(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:$r,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Bg(e){if(!e)return Un;e=e._reactInternals;e:{if(jr(e)!==e||e.tag!==1)throw Error(A(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ke(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(A(171))}if(e.tag===1){var n=e.type;if(Ke(n))return Bm(e,n,t)}return t}function Hg(e,t,n,r,o,s,i,l,c){return e=vd(n,r,!0,e,o,s,i,l,c),e.context=Bg(null),n=e.current,r=$e(
vendor: 4,133 bytes, line 40
40),o=$n(n),s=nn(r,o),s.callback=t??null,Fn(n,s,o),e.current.lanes=o,$s(e,o,r),Ge(e,r),e}function Ha(e,t,n,r){var o=t.current,s=$e(),i=$n(o);return n=Bg(n),t.context===null?t.context=n:t.pendingContext=n,t=nn(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Fn(o,t,i),e!==null&&(jt(e,o,i,s),Oi(e,o,i)),i}function ya(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function hh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function yd(e,t){hh(e,t),(e=e.alternate)&&hh(e,t)}function O1(){return null}var Wg=typeof reportError=="function"?reportError:function(e){console.error(e)};function xd(e){this._internalRoot=e}Wa.prototype.render=xd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(A(409));Ha(e,t,null,null)};Wa.prototype.unmount=xd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;wr(function(){Ha(null,e,null,null)}),t[on]=null}};function Wa(e){this._internalRoot=e}Wa.prototype.unstable_scheduleHydration=function(e){if(e){var t=wm();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sn.length&&t!==0&&t<Sn[n].priority;n++);Sn.splice(n,0,e),n===0&&km(e)}};function wd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ua(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function ph(){}function M1(e,t,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var u=ya(i);s.call(u)}}var i=Hg(t,r,e,0,null,!1,!1,"",ph);return e._reactRootContainer=i,e[on]=i.current,ws(e.nodeType===8?e.parentNode:e),wr(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=ya(c);l.call(u)}}var c=vd(e,0,!1,null,null,!1,!1,"",ph);return e._reactRootContainer=c,e[on]=c.current,ws(e.nodeType===8?e.parentNode:e),wr(function(){Ha(t,c,n,r)}),c}function Va(e,t,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var l=o;o=function(){var c=ya(i);l.call(c)}}Ha(t,i,e,o)}else i=M1(n,t,e,o,r);return ya(i)}ym=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Xo(t.pendingLanes);n!==0&&(zu(t,n|1),Ge(t,ve()),!(X&6)&&(So=ve()+500,Qn()))}break;case 13:wr(function(){var r=sn(e,1);if(r!==null){var o=$e();jt(r,e,1,o)}}),yd(e,1)}};$u=function(e){if(e.tag===13){var t=sn(e,134217728);if(t!==null){var n=$e();jt(t,e,134217728,n)}yd(e,134217728)}};xm=function(e){if(e.tag===13){var t=$n(e),n=sn(e,t);if(n!==null){var r=$e();jt(n,e,t,r)}yd(e,t)}};wm=function(){return ne};bm=function(e,t){var n=ne;try{return ne=e,t()}finally{ne=n}};kc=function(e,t,n){switch(t){case"input":if(mc(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Ia(r);if(!o)throw Error(A(90));Xp(r),mc(r,o)}}}break;case"textarea":em(e,n);break;case"select":t=n.value,t!=null&&Xr(e,!!n.multiple,t,!1)}};am=hd;lm=wr;var I1={usingClientEntryPoint:!1,Events:[Hs,Vr,Ia,sm,im,hd]},Vo={findFiberByHostInstance:or,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},D1={bundleType:Vo.bundleType,version:Vo.version,rendererPackageName:Vo.rendererPackageName,rendererConfig:Vo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:un.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=dm(e),e===null?null:e.stateNode},findFiberByHostInstance:Vo.findFiberByHostInstance||O1,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 vi=__REACT_DEVTOOLS_GLOBAL_HOOK__;
40if(!vi.isDisabled&&vi.supportsFiber)try{Aa=vi.inject(D1),zt=vi}catch{}}tt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I1;tt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!wd(t))throw Error(A(200));return L1(e,t,null,n)};tt.createRoot=function(e,t){if(!wd(e))throw Error(A(299));var n=!1,r="",o=Wg;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=vd(e,1,!1,null,null,n,!1,r,o),e[on]=t.current,ws(e.nodeType===8?e.parentNode:e),new xd(t)};tt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(A(188)):(e=Object.keys(e).join(","),Error(A(268,e)));return e=dm(t),e=e===null?null:e.stateNode,e};tt.flushSync=function(e){return wr(e)};tt.hydrate=function(e,t,n){if(!Ua(t))throw Error(A(200));return Va(null,e,t,!0,n)};tt.hydrateRoot=function(e,t,n){if(!wd(e))throw Error(A(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=Wg;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Hg(t,null,e,1,n??null,o,!1,s,i),e[on]=t.current,ws(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Wa(t)};tt.render=function(e,t,n){if(!Ua(t))throw Error(A(200));return Va(null,e,t,!1,n)};tt.unmountComponentAtNode=function(e){if(!Ua(e))throw Error(A(40));return e._reactRootContainer?(wr(function(){Va(null,null,e,!1,function(){e._reactRootContainer=null,e[on]=null})}),!0):!1};tt.unstable_batchedUpdates=hd;tt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ua(n))throw Error(A(200));if(e==null||e._reactInternals===void 0)throw Error(A(38));return Va(e,t,n,!1,r)};tt.version="18.3.1-next-f1338f8080-20240426";function Ug(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ug)}catch(e){console.error(e)}}Ug(),Up.exports=tt;var Us=Up.exports;const Vg=Fs(Us);var Yg,mh=Us;Yg=mh.createRoot,mh.hydrateRoot;var _1=typeof Element<"u",F1=typeof Map=="function",z1=typeof Set=="function",$1=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function $i(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!$i(e[r],t[r]))return!1;return!0}var s;if(F1&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;for(s=e.entries();!(r=s.next()).done;)if(!$i(r.value[1],t.get(r.value[0])))return!1;return!0}if(z1&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if($1&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(_1&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!$i(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var B1=function(t,n){try{return $i(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const H1=Fs(B1);var W1=function(e,t,n,r,o,s,i,l){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,s,i,l],d=0;c=new Error(t.replace(/%s/g,function(){return u[d++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},U1=W1;const gh=Fs(U1);var V1=function(t,n,r,o){var s=r?r.call(o,t,n):void 0;if(s!==void 0)return!!s;
40if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var i=Object.keys(t),l=Object.keys(n);if(i.length!==l.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),u=0;u<i.length;u++){var d=i[u];if(!c(d))return!1;var f=t[d],m=n[d];if(s=r?r.call(o,f,m,d):void 0,s===!1||s===void 0&&f!==m)return!1}return!0};const Y1=Fs(V1);var Kg=(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))(Kg||{}),Wl={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"]}},vh=Object.values(Kg),Ya={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Gg=Object.entries(Ya).reduce((e,[t,n])=>(e[n]=t,e),{}),Nt="data-rh",oo={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},so=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},K1=e=>{let t=so(e,"title");const n=so(e,oo.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=so(e,oo.DEFAULT_TITLE);return t||r||void 0},G1=e=>so(e,oo.ON_CHANGE_CLIENT_STATE)||(()=>{}),Ul=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),Q1=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const o=Object.keys(r);for(let s=0;s<o.length;s+=1){const l=o[s].toLowerCase();if(e.indexOf(l)!==-1&&r[l])return n.concat(r)}}return n},[]),q1=e=>console&&typeof console.warn=="function"&&console.warn(e),Yo=(e,t,n)=>{const r={};return n.filter(o=>Array.isArray(o[e])?!0:(typeof o[e]<"u"&&q1(`Helmet: ${e} should be of type "Array". Instead found type "${typeof o[e]}"`),!1)).map(o=>o[e]).reverse().reduce((o,s)=>{const i={};s.filter(c=>{let u;const d=Object.keys(c);for(let m=0;m<d.length;m+=1){const h=d[m],b=h.toLowerCase();t.indexOf(b)!==-1&&!(u==="rel"&&c[u].toLowerCase()==="canonical")&&!(b==="rel"&&c[b].toLowerCase()==="stylesheet")&&(u=b),t.indexOf(h)!==-1&&(h==="innerHTML"||h==="cssText"||h==="itemprop")&&(u=h)}if(!u||!c[u])return!1;const f=c[u].toLowerCase();return r[u]||(r[u]={}),i[u]||(i[u]={}),r[u][f]?!1:(i[u][f]=!0,!0)}).reverse().forEach(c=>o.push(c));const l=Object.keys(i);for(let c=0;c<l.length;c+=1){const u=l[c],d={...r[u],...i[u]};r[u]=d}return o},[]).reverse()},J1=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},X1=e=>({baseTag:Q1(["href"],e),bodyAttributes:Ul("bodyAttributes",e),defer:so(e,oo.DEFER),encode:so(e,oo.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Ul("htmlAttributes",e),linkTags:Yo("link",["rel","href"],e),metaTags:Yo("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Yo("noscript",["innerHTML"],e),onChangeClientState:G1(e),scriptTags:Yo("script",["src","innerHTML"],e),styleTags:Yo("style",["cssText"],e),title:K1(e),titleAttributes:Ul("titleAttributes",e),prioritizeSeoTags:J1(e,oo.PRIORITIZE_SEO_TAGS)}),Qg=e=>Array.isArray(e)?e.join(""):e,Z1=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},Vl=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(Z1(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},yh=(e,t)=>({...e,[t]:void 0}),eb=["noscript","script","style"],tu=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),qg=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),tb=(e,t,n,r)=>{const o=qg(n),s=Qg(t);return o?`<${e} ${Nt}="true" ${o}>${tu(s,r)}</${e}>`:`<${e} ${Nt}="true">${tu(s,r)}</${e}>`},nb=(e,t,n=!0)=>t.reduce((r,o)=>{const s=o,i=Object.keys(s).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const f=typeof s[d]>"u"?d:`${d}="${tu(s[d],n)}"`;return u?`${u} ${f}`:f},""),l=s.innerHTML||s.cssText||"",c=eb.indexOf(e)===-1;return`${r}<${e} ${Nt}="true" ${i}${c?"/>":`>${l}</${e}>`}`},""),Jg=(e,t={})=>Object.keys(e).reduce((n,r)=>{const o=Ya[r];return n[o||r]=e[r],n},t),rb=(e,t,n)=>{const r={key:t,[Nt]:!0},o=Jg(n,r);return[C.createElement("title",o,t)]},Bi=(e,t)=>t.map((n,r)=>{const o={key:r,[Nt]:!0};
40return Object.keys(n).forEach(s=>{const l=Ya[s]||s;if(l==="innerHTML"||l==="cssText"){const c=n.innerHTML||n.cssText;o.dangerouslySetInnerHTML={__html:c}}else o[l]=n[s]}),C.createElement(e,o)}),ot=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>rb(e,t.title,t.titleAttributes),toString:()=>tb(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Jg(t),toString:()=>qg(t)};default:return{toComponent:()=>Bi(e,t),toString:()=>nb(e,t,n)}}},ob=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const o=Vl(e,Wl.meta),s=Vl(t,Wl.link),i=Vl(n,Wl.script);return{priorityMethods:{toComponent:()=>[...Bi("meta",o.priority),...Bi("link",s.priority),...Bi("script",i.priority)],toString:()=>`${ot("meta",o.priority,r)} ${ot("link",s.priority,r)} ${ot("script",i.priority,r)}`},metaTags:o.default,linkTags:s.default,scriptTags:i.default}},sb=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:o,noscriptTags:s,styleTags:i,title:l="",titleAttributes:c,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:f,scriptTags:m}=e,h={toComponent:()=>[],toString:()=>""};return u&&({priorityMethods:h,linkTags:d,metaTags:f,scriptTags:m}=ob(e)),{priority:h,base:ot("base",t,r),bodyAttributes:ot("bodyAttributes",n,r),htmlAttributes:ot("htmlAttributes",o,r),link:ot("link",d,r),meta:ot("meta",f,r),noscript:ot("noscript",s,r),script:ot("script",m,r),style:ot("style",i,r),title:ot("title",{title:l,titleAttributes:c},r)}},nu=sb,yi=[],bd=!!(typeof window<"u"&&window.document&&window.document.createElement),ru=class{constructor(e,t){Gt(this,"instances",[]);Gt(this,"canUseDOM",bd);Gt(this,"context");Gt(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?yi:this.instances,add:e=>{(this.canUseDOM?yi:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?yi:this.instances).indexOf(e);(this.canUseDOM?yi:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=nu({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},ib=parseInt(C.version.split(".")[0],10),ou=ib>=19,ab={},Xg=C.createContext(ab),ar,Zg=(ar=class extends g.Component{constructor(n){super(n);Gt(this,"helmetData");ou?this.helmetData=null:this.helmetData=new ru(this.props.context||{},ar.canUseDOM)}render(){return ou?C.createElement(C.Fragment,null,this.props.children):C.createElement(Xg.Provider,{value:this.helmetData.value},this.props.children)}},Gt(ar,"canUseDOM",bd),ar),Dr=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${Nt}]`),o=[].slice.call(r),s=[];let i;return t&&t.length&&t.forEach(l=>{const c=document.createElement(e);for(const u in l)if(Object.prototype.hasOwnProperty.call(l,u))if(u==="innerHTML")c.innerHTML=l.innerHTML;else if(u==="cssText"){const d=l.cssText;c.appendChild(document.createTextNode(d))}else{const d=u,f=typeof l[d]>"u"?"":l[d];c.setAttribute(u,f)}c.setAttribute(Nt,"true"),o.some((u,d)=>(i=d,c.isEqualNode(u)))?o.splice(i,1):s.push(c)}),o.forEach(l=>{var c;return(c=l.parentNode)==null?void 0:c.removeChild(l)}),s.forEach(l=>n.appendChild(l)),{oldTags:o,newTags:s}},su=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(Nt),o=r?r.split(","):[],s=[...o],i=Object.keys(t);for(const l of i){const c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),o.indexOf(l)===-1&&o.push(l);const u=s.indexOf(l);u!==-1&&s.splice(u,1)}for(let l=s.length-1;l>=0;l-=1)n.removeAttribute(s[l]);o.length===s.length?n.removeAttribute(Nt):n.getAttribute(Nt)!==i.join(",")&&n.setAttribute(Nt,i.join(","))},lb=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=Qg(e)),su("title",t)},xh=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:o,linkTags:s,metaTags:i,noscriptTags:l,onChangeClientState:c,scriptTags:u,styleTags:d,title:f,titleAttributes:m}=e;su("body",r),su("html",o),lb(f,m);const h={baseTag:Dr("base",n),linkTags:Dr("link",s),metaTags:Dr("meta",i),noscriptTags:Dr("noscript",l),scriptTags:Dr("script",u),styleTags:Dr("style",d)},b={},v={};
40Object.keys(h).forEach(w=>{const{newTags:y,oldTags:p}=h[w];y.length&&(b[w]=y),p.length&&(v[w]=h[w].oldTags)}),t&&t(),c(e,b,v)},Ko=null,cb=e=>{Ko&&cancelAnimationFrame(Ko),e.defer?Ko=requestAnimationFrame(()=>{xh(e,()=>{Ko=null})}):(xh(e),Ko=null)},ub=cb,wh=class extends g.Component{constructor(){super(...arguments);Gt(this,"rendered",!1)}shouldComponentUpdate(t){return!Y1(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const o=X1(t.get().map(s=>{const{context:i,...l}=s.props;return l}));Zg.canUseDOM?ub(o):nu&&(r=nu(o)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Hi=[],bh=e=>{const t={};for(const n of Object.keys(e))t[Gg[n]||n]=e[n];return t},er=e=>{const t={};for(const n of Object.keys(e)){const r=Ya[n];t[r||n]=e[n]}return t},kh=(e,t)=>{if(!bd)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",o=n.getAttribute(r),s=o?o.split(","):[],i=Object.keys(t);for(const l of s)i.includes(l)||n.removeAttribute(l);for(const l of i){const c=t[l];c==null||c===!1?n.removeAttribute(l):c===!0?n.setAttribute(l,""):n.setAttribute(l,String(c))}i.length>0?n.setAttribute(r,i.join(",")):n.removeAttribute(r)},Yl=()=>{const e={},t={};for(const n of Hi){const{htmlAttributes:r,bodyAttributes:o}=n.props;r&&Object.assign(e,bh(r)),o&&Object.assign(t,bh(o))}kh("html",e),kh("body",t)},db=class extends g.Component{componentDidMount(){Hi.push(this),Yl()}componentDidUpdate(){Yl()}componentWillUnmount(){const e=Hi.indexOf(this);e!==-1&&Hi.splice(e,1),Yl()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return C.createElement("title",er(t),e)}renderBase(){const{base:e}=this.props;return e?C.createElement("base",er(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>C.createElement("meta",{key:n,...er(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>C.createElement("link",{key:n,...er(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...o}=t,s=er(o);return r&&(s.dangerouslySetInnerHTML={__html:r}),C.createElement("script",{key:n,...s})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{cssText:r,...o}=t,s=er(o);return r&&(s.dangerouslySetInnerHTML={__html:r}),C.createElement("style",{key:n,...s})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...o}=t,s=er(o);return r&&(s.dangerouslySetInnerHTML={__html:r}),C.createElement("noscript",{key:n,...s})})}render(){return C.createElement(C.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},lc,Ka=(lc=class extends g.Component{shouldComponentUpdate(e){return!H1(yh(this.props,"helmetData"),yh(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,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}
40warnOnInvalidChildren(e,t){return gh(vh.some(n=>e.type===n),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 ${vh.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),gh(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="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 n={};return C.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:o,...s}=r.props,i=Object.keys(s).reduce((c,u)=>(c[Gg[u]||u]=s[u],c),{});let{type:l}=r;switch(typeof l=="symbol"?l=l.toString():this.warnOnInvalidChildren(r,o),l){case"Symbol(react.fragment)":t=this.mapChildrenToProps(o,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,i,o);break;default:t=this.mapObjectTypeChildren(r,t,i,o);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof ru)){const o=r;r=new ru(o.context,!0),delete n.helmetData}return ou?C.createElement(db,{...n}):r?C.createElement(wh,{...n,context:r.value}):C.createElement(Xg.Consumer,null,o=>C.createElement(wh,{...n,context:o}))}},Gt(lc,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),lc);const fb=1,hb=1e6;let Kl=0;function pb(){return Kl=(Kl+1)%Number.MAX_SAFE_INTEGER,Kl.toString()}const Gl=new Map,Nh=e=>{if(Gl.has(e))return;const t=setTimeout(()=>{Gl.delete(e),us({type:"REMOVE_TOAST",toastId:e})},hb);Gl.set(e,t)},mb=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,fb)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Nh(n):e.toasts.forEach(r=>{Nh(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Wi=[];let Ui={toasts:[]};function us(e){Ui=mb(Ui,e),Wi.forEach(t=>{t(Ui)})}function gb({...e}){const t=pb(),n=o=>us({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>us({type:"DISMISS_TOAST",toastId:t});return us({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function ev(){const[e,t]=g.useState(Ui);return g.useEffect(()=>(Wi.push(t),()=>{const n=Wi.indexOf(t);n>-1&&Wi.splice(n,1)}),[e]),{...e,toast:gb,dismiss:n=>us({type:"DISMISS_TOAST",toastId:n})}}function se(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Sh(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function tv(...e){return t=>{let n=!1;const r=e.map(o=>{const s=Sh(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():Sh(e[o],null)}}}}function Re(...e){return g.useCallback(tv(...e),e)}function vb(e,t){const n=g.createContext(t),r=s=>{const{children:i,...l}=s,c=g.useMemo(()=>l,Object.values(l));return a.jsx(n.Provider,{value:c,children:i})};r.displayName=e+"Provider";function o(s){const i=g.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,o]}function qn(e,t=[]){let n=[];function r(s,i){const l=g.createContext(i),c=n.length;n=[...n,i];const u=f=>{var y;const{scope:m,children:h,...b}=f,v=((y=m==null?void 0:m[e])==null?void 0:y[c])||l,w=g.useMemo(()=>b,Object.values(b));return a.jsx(v.Provider,{value:w,children:h})};u.displayName=s+"Provider";function d(f,m){var v;const h=((v=m==null?void 0:m[e])==null?void 0:v[c])||l,b=g.useContext(h);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,d]}const o=()=>{const s=n.map(i=>g.createContext(i));return function(l){const c=(l==null?void 0:l[e])||s;return g.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return o.scopeName=e,[r,yb(o,...t)]}function yb(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));
vendor: 8,420 bytes, line 40
40return function(s){const i=r.reduce((l,{useScope:c,scopeName:u})=>{const f=c(s)[`__scope${u}`];return{...l,...f}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Rs(e){const t=wb(e),n=g.forwardRef((r,o)=>{const{children:s,...i}=r,l=g.Children.toArray(s),c=l.find(kb);if(c){const u=c.props.children,d=l.map(f=>f===c?g.Children.count(u)>1?g.Children.only(null):g.isValidElement(u)?u.props.children:null:f);return a.jsx(t,{...i,ref:o,children:g.isValidElement(u)?g.cloneElement(u,void 0,d):null})}return a.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var xb=Rs("Slot");function wb(e){const t=g.forwardRef((n,r)=>{const{children:o,...s}=n;if(g.isValidElement(o)){const i=Sb(o),l=Nb(s,o.props);return o.type!==g.Fragment&&(l.ref=r?tv(r,i):i),g.cloneElement(o,l)}return g.Children.count(o)>1?g.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var nv=Symbol("radix.slottable");function bb(e){const t=({children:n})=>a.jsx(a.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=nv,t}function kb(e){return g.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===nv}function Nb(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...l)=>{const c=s(...l);return o(...l),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Sb(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function rv(e){const t=e+"CollectionProvider",[n,r]=qn(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=v=>{const{scope:w,children:y}=v,p=C.useRef(null),x=C.useRef(new Map).current;return a.jsx(o,{scope:w,itemMap:x,collectionRef:p,children:y})};i.displayName=t;const l=e+"CollectionSlot",c=Rs(l),u=C.forwardRef((v,w)=>{const{scope:y,children:p}=v,x=s(l,y),k=Re(w,x.collectionRef);return a.jsx(c,{ref:k,children:p})});u.displayName=l;const d=e+"CollectionItemSlot",f="data-radix-collection-item",m=Rs(d),h=C.forwardRef((v,w)=>{const{scope:y,children:p,...x}=v,k=C.useRef(null),N=Re(w,k),S=s(d,y);return C.useEffect(()=>(S.itemMap.set(k,{ref:k,...x}),()=>void S.itemMap.delete(k))),a.jsx(m,{[f]:"",ref:N,children:p})});h.displayName=d;function b(v){const w=s(e+"CollectionConsumer",v);return C.useCallback(()=>{const p=w.collectionRef.current;if(!p)return[];const x=Array.from(p.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((S,j)=>x.indexOf(S.ref.current)-x.indexOf(j.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:i,Slot:u,ItemSlot:h},b,r]}var jb=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oe=jb.reduce((e,t)=>{const n=Rs(`Primitive.${t}`),r=g.forwardRef((o,s)=>{const{asChild:i,...l}=o,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(c,{...l,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function ov(e,t){e&&Us.flushSync(()=>e.dispatchEvent(t))}function Ht(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Cb(e,t=globalThis==null?void 0:globalThis.document){const n=Ht(e);g.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Eb="DismissableLayer",iu="dismissableLayer.update",Tb="dismissableLayer.pointerDownOutside",Rb="dismissableLayer.focusOutside",jh,sv=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ga=g.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:l,...c}=e,u=g.useContext(sv),[d,f]=g.useState(null),m=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=g.useState({}),b=Re(t,j=>f(j)),v=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(w),p=d?v.indexOf(d):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,k=p>=y,N=Ab(j=>{const P=j.target,L=[...u.branches].some(O=>O.contains(P));!k||L||(o==null||o(j),i==null||i(j),j.defaultPrevented||l==null||l())},m),S=Lb(j=>{const P=j.target;[...u.branches].some(O=>O.contains(P))||(s==null||s(j),i==null||i(j),j.defaultPrevented||l==null||l())},m);return Cb(j=>{p===u.layers.size-1&&(r==null||r(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},m),g.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(jh=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Ch(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=jh)}},[d,m,n,u]),g.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Ch())},[d,u]),g.useEffect(()=>{const j=()=>h({});return document.addEventListener(iu,j),()=>document.removeEventListener(iu,j)},[]),a.jsx(oe.div,{...c,ref:b,style:{pointerEvents:x?k?"auto":"none":void 0,...e.style},onFocusCapture:se(e.onFocusCapture,S.onFocusCapture),onBlurCapture:se(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:se(e.onPointerDownCapture,N.onPointerDownCapture)})});Ga.displayName=Eb;var Pb="DismissableLayerBranch",iv=g.forwardRef((e,t)=>{const n=g.useContext(sv),r=g.useRef(null),o=Re(t,r);return g.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),a.jsx(oe.div,{...e,ref:o})});iv.displayName=Pb;function Ab(e,t=globalThis==null?void 0:globalThis.document){const n=Ht(e),r=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const s=l=>{if(l.target&&!r.current){let c=function(){av(Tb,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Lb(e,t=globalThis==null?void 0:globalThis.document){const n=Ht(e),r=g.useRef(!1);return g.useEffect(()=>{const o=s=>{s.target&&!r.current&&av(Rb,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Ch(){const e=new CustomEvent(iu);document.dispatchEvent(e)}function av(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ov(o,s):o.dispatchEvent(s)}var Ob=Ga,Mb=iv,Wt=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},Ib="Portal",kd=g.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,s]=g.useState(!1);Wt(()=>s(!0),[]);const i=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return i?Vg.createPortal(a.jsx(oe.div,{...r,ref:t}),i):null});kd.displayName=Ib;function Db(e,t){return g.useReducer((n,r)=>t[n][r]??n,e)}var Cr=e=>{const{present:t,children:n}=e,r=_b(t),o=typeof n=="function"?n({present:r.isPresent}):g.Children.only(n),s=Re(r.ref,Fb(o));return typeof n=="function"||r.isPresent?g.cloneElement(o,{ref:s}):null};Cr.displayName="Presence";function _b(e){const[t,n]=g.useState(),r=g.useRef(null),o=g.useRef(e),s=g.useRef("none"),i=e?"mounted":"unmounted",[l,c]=Db(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const u=xi(r.current);s.current=l==="mounted"?u:"none"},[l]),Wt(()=>{const u=r.current,d=o.current;if(d!==e){const m=s.current,h=xi(u);e?c("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Wt(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=h=>
40{const v=xi(r.current).includes(h.animationName);if(h.target===t&&v&&(c("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},m=h=>{h.target===t&&(s.current=xi(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function xi(e){return(e==null?void 0:e.animationName)||"none"}function Fb(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var zb=Pu[" useInsertionEffect ".trim().toString()]||Wt;function Vs({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=$b({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:o;{const d=g.useRef(e!==void 0);g.useEffect(()=>{const f=d.current;f!==l&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=l},[l,r])}const u=g.useCallback(d=>{var f;if(l){const m=Bb(d)?d(e):d;m!==e&&((f=i.current)==null||f.call(i,m))}else s(d)},[l,e,s,i]);return[c,u]}function $b({defaultProp:e,onChange:t}){const[n,r]=g.useState(e),o=g.useRef(n),s=g.useRef(t);return zb(()=>{s.current=t},[t]),g.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}function Bb(e){return typeof e=="function"}var Hb=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Wb="VisuallyHidden",Qa=g.forwardRef((e,t)=>a.jsx(oe.span,{...e,ref:t,style:{...Hb,...e.style}}));Qa.displayName=Wb;var Ub=Qa,Nd="ToastProvider",[Sd,Vb,Yb]=rv("Toast"),[lv,ET]=qn("Toast",[Yb]),[Kb,qa]=lv(Nd),cv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:i}=e,[l,c]=g.useState(null),[u,d]=g.useState(0),f=g.useRef(!1),m=g.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Nd}\`. Expected non-empty \`string\`.`),a.jsx(Sd.Provider,{scope:t,children:a.jsx(Kb,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:g.useCallback(()=>d(h=>h+1),[]),onToastRemove:g.useCallback(()=>d(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:m,children:i})})};cv.displayName=Nd;var uv="ToastViewport",Gb=["F8"],au="toast.viewportPause",lu="toast.viewportResume",dv=g.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=Gb,label:o="Notifications ({hotkey})",...s}=e,i=qa(uv,n),l=Vb(n),c=g.useRef(null),u=g.useRef(null),d=g.useRef(null),f=g.useRef(null),m=Re(t,f,i.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;g.useEffect(()=>{const w=y=>{var x;r.length!==0&&r.every(k=>y[k]||y.code===k)&&((x=f.current)==null||x.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),g.useEffect(()=>{const w=c.current,y=f.current;if(b&&w&&y){const p=()=>{if(!i.isClosePausedRef.current){const S=new CustomEvent(au);y.dispatchEvent(S),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const S=new CustomEvent(lu);y.dispatchEvent(S),i.isClosePausedRef.current=!1}},k=S=>{!w.contains(S.relatedTarget)&&x()},N=()=>{w.contains(document.activeElement)||x()};return w.addEventListener("focusin",p),w.addEventListener("focusout",k),w.addEventListener("pointermove",p),w.addEventListener("pointerleave",N),window.addEventListener("blur",p),window.addEventListener("focus",x),()=>{w.removeEventListener("focusin",p),w.removeEventListener("focusout",k),w.removeEventListener("pointermove",p),w.removeEventListener("pointerleave",N),window.removeEventListener("blur",p),window.removeEventListener("focus",x)}}},[b,i.isClosePausedRef]);const v=g.useCallback(({tabbingDirection:w})=>{const p=l().map(x=>{const k=x.ref.current,N=[k,...a2(k)];return w==="forwards"?N:N.reverse()});return(w==="forwards"?p.reverse():p).flat()},[l]);return g.useEffect(()=>{const w=f.current;if(w){const y=p=>{var N,S,j;const x=p.altKey||p.ctrlKey||p.metaKey;
40if(p.key==="Tab"&&!x){const P=document.activeElement,L=p.shiftKey;if(p.target===w&&L){(N=u.current)==null||N.focus();return}const _=v({tabbingDirection:L?"backwards":"forwards"}),K=_.findIndex(M=>M===P);Ql(_.slice(K+1))?p.preventDefault():L?(S=u.current)==null||S.focus():(j=d.current)==null||j.focus()}};return w.addEventListener("keydown",y),()=>w.removeEventListener("keydown",y)}},[l,v]),a.jsxs(Mb,{ref:c,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&a.jsx(cu,{ref:u,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"forwards"});Ql(w)}}),a.jsx(Sd.Slot,{scope:n,children:a.jsx(oe.ol,{tabIndex:-1,...s,ref:m})}),b&&a.jsx(cu,{ref:d,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"backwards"});Ql(w)}})]})});dv.displayName=uv;var fv="ToastFocusProxy",cu=g.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,s=qa(fv,n);return a.jsx(Qa,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const l=i.relatedTarget;!((u=s.viewport)!=null&&u.contains(l))&&r()}})});cu.displayName=fv;var Ys="Toast",Qb="toast.swipeStart",qb="toast.swipeMove",Jb="toast.swipeCancel",Xb="toast.swipeEnd",hv=g.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:s,...i}=e,[l,c]=Vs({prop:r,defaultProp:o??!0,onChange:s,caller:Ys});return a.jsx(Cr,{present:n||l,children:a.jsx(t2,{open:l,...i,ref:t,onClose:()=>c(!1),onPause:Ht(e.onPause),onResume:Ht(e.onResume),onSwipeStart:se(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:se(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:se(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:se(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})})});hv.displayName=Ys;var[Zb,e2]=lv(Ys,{onClose(){}}),t2=g.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:s,onClose:i,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:m,onSwipeEnd:h,...b}=e,v=qa(Ys,n),[w,y]=g.useState(null),p=Re(t,M=>y(M)),x=g.useRef(null),k=g.useRef(null),N=o||v.duration,S=g.useRef(0),j=g.useRef(N),P=g.useRef(0),{onToastAdd:L,onToastRemove:O}=v,z=Ht(()=>{var q;(w==null?void 0:w.contains(document.activeElement))&&((q=v.viewport)==null||q.focus()),i()}),_=g.useCallback(M=>{!M||M===1/0||(window.clearTimeout(P.current),S.current=new Date().getTime(),P.current=window.setTimeout(z,M))},[z]);g.useEffect(()=>{const M=v.viewport;if(M){const q=()=>{_(j.current),u==null||u()},$=()=>{const W=new Date().getTime()-S.current;j.current=j.current-W,window.clearTimeout(P.current),c==null||c()};return M.addEventListener(au,$),M.addEventListener(lu,q),()=>{M.removeEventListener(au,$),M.removeEventListener(lu,q)}}},[v.viewport,N,c,u,_]),g.useEffect(()=>{s&&!v.isClosePausedRef.current&&_(N)},[s,N,v.isClosePausedRef,_]),g.useEffect(()=>(L(),()=>O()),[L,O]);const K=g.useMemo(()=>w?wv(w):null,[w]);return v.viewport?a.jsxs(a.Fragment,{children:[K&&a.jsx(n2,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:K}),a.jsx(Zb,{scope:n,onClose:z,children:Us.createPortal(a.jsx(Sd.ItemSlot,{scope:n,children:a.jsx(Ob,{asChild:!0,onEscapeKeyDown:se(l,()=>{v.isFocusedToastEscapeKeyDownRef.current||z(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:a.jsx(oe.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":v.swipeDirection,...b,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:se(e.onKeyDown,M=>{M.key==="Escape"&&(l==null||l(M.nativeEvent),M.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,z()))}),onPointerDown:se(e.onPointerDown,M=>{M.button===0&&(x.current={x:M.clientX,y:M.clientY})}),onPointerMove:se(e.onPointerMove,M=>{if(!x.current)return;const q=M.clientX-x.current.x,$=M.clientY-x.current.y,W=!!k.current,T=["left","right"].includes(v.swipeDirection),R=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,I=T?R(0,q):0,U=T?0:R(0,$),F=M.pointerType==="touch"?10:2,G={x:I,y:U},J={originalEvent:M,delta:G};
40W?(k.current=G,wi(qb,f,J,{discrete:!1})):Eh(G,v.swipeDirection,F)?(k.current=G,wi(Qb,d,J,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs(q)>F||Math.abs($)>F)&&(x.current=null)}),onPointerUp:se(e.onPointerUp,M=>{const q=k.current,$=M.target;if($.hasPointerCapture(M.pointerId)&&$.releasePointerCapture(M.pointerId),k.current=null,x.current=null,q){const W=M.currentTarget,T={originalEvent:M,delta:q};Eh(q,v.swipeDirection,v.swipeThreshold)?wi(Xb,h,T,{discrete:!0}):wi(Jb,m,T,{discrete:!0}),W.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),n2=e=>{const{__scopeToast:t,children:n,...r}=e,o=qa(Ys,t),[s,i]=g.useState(!1),[l,c]=g.useState(!1);return s2(()=>i(!0)),g.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:a.jsx(kd,{asChild:!0,children:a.jsx(Qa,{...r,children:s&&a.jsxs(a.Fragment,{children:[o.label," ",n]})})})},r2="ToastTitle",pv=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(oe.div,{...r,ref:t})});pv.displayName=r2;var o2="ToastDescription",mv=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(oe.div,{...r,ref:t})});mv.displayName=o2;var gv="ToastAction",vv=g.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?a.jsx(xv,{altText:n,asChild:!0,children:a.jsx(jd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${gv}\`. Expected non-empty \`string\`.`),null)});vv.displayName=gv;var yv="ToastClose",jd=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=e2(yv,n);return a.jsx(xv,{asChild:!0,children:a.jsx(oe.button,{type:"button",...r,ref:t,onClick:se(e.onClick,o.onClose)})})});jd.displayName=yv;var xv=g.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return a.jsx(oe.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function wv(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),i2(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...wv(r))}}),t}function wi(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ov(o,s):o.dispatchEvent(s)}var Eh=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),s=r>o;return t==="left"||t==="right"?s&&r>n:!s&&o>n};function s2(e=()=>{}){const t=Ht(e);Wt(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function i2(e){return e.nodeType===e.ELEMENT_NODE}function a2(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ql(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var l2=cv,bv=dv,kv=hv,Nv=pv,Sv=mv,jv=vv,Cv=jd;function Ev(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Ev(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Tv(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ev(e))&&(r&&(r+=" "),r+=t);return r}const Th=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Rh=Tv,Rv=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Rh(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const d=n==null?void 0:n[u],f=s==null?void 0:s[u];if(d===null)return null;const m=Th(d)||Th(f);return o[u][m]}),l=n&&Object.entries(n).reduce((u,d)=>{let[f,m]=d;return m===void 0||(u[f]=m),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:m,...h}=d;return Object.entries(h).every(b=>{let[v,w]=b;return Array.isArray(w)?w.includes({...s,...l}[v]):{...s,...l}[v]===w})?[...u,f,m]:u},[]);return Rh(e,i,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const c2=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Pv=(...e)=>
vendor: 11,792 bytes, lines 45-205
45e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var u2={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const d2=g.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...l},c)=>g.createElement("svg",{ref:c,...u2,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Pv("lucide",o),...l},[...i.map(([u,d])=>g.createElement(u,d)),...Array.isArray(s)?s:[s]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const Y=(e,t)=>{const n=g.forwardRef(({className:r,...o},s)=>g.createElement(d2,{ref:s,iconNode:t,className:Pv(`lucide-${c2(e)}`,r),...o}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const Ao=Y("Anchor",[["path",{d:"M12 22V8",key:"qkxhtm"}],["path",{d:"M5 12H2a10 10 0 0 0 20 0h-3",key:"1hv3nh"}],["circle",{cx:"12",cy:"5",r:"3",key:"rqqgnr"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const f2=Y("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const Av=Y("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 76 * @license lucide-react v0.462.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const h2=Y("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 81 * @license lucide-react v0.462.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const Vi=Y("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/** 86 * @license lucide-react v0.462.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const Ph=Y("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/** 91 * @license lucide-react v0.462.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const Lv=Y("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** 96 * @license lucide-react v0.462.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const p2=Y("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/** 101 * @license lucide-react v0.462.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const Ks=Y("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** 106 * @license lucide-react v0.462.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const Ov=Y("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/** 111 * @license lucide-react v0.462.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const m2=Y("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 116 * @license lucide-react v0.462.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const g2=Y("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** 121 * @license lucide-react v0.462.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const v2=Y("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 126 * @license lucide-react v0.462.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const y2=Y("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 131 * @license lucide-react v0.462.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const x2=Y("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** 136 * @license lucide-react v0.462.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const Mv=Y("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 141 * @license lucide-react v0.462.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const w2=Y("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/** 146 * @license lucide-react v0.462.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const Iv=Y("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** 151 * @license lucide-react v0.462.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const b2=Y("Film",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]]);/** 156 * @license lucide-react v0.462.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const k2=Y("FlaskConical",[["path",{d:"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2",key:"pzvekw"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M7 16h10",key:"wp8him"}]]);/** 161 * @license lucide-react v0.462.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const N2=Y("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/** 166 * @license lucide-react v0.462.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const Dv=Y("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** 171 * @license lucide-react v0.462.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const S2=Y("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/** 176 * @license lucide-react v0.462.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const Ah=Y("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/** 181 * @license lucide-react v0.462.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree. 185 */const Ja=Y("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 186 * @license lucide-react v0.462.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const br=Y("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** 191 * @license lucide-react v0.462.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const j2=Y("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 196 * @license lucide-react v0.462.0 - ISC 197 * 198 * This source code is licensed under the ISC license. 199 * See the LICENSE file in the root directory of this source tree. 200 */const C2=Y("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);/** 201 * @license lucide-react v0.462.0 - ISC 202 * 203 * This source code is licensed under the ISC license. 204 * See the LICENSE file in the root directory of this source tree. 205 */const E2=Y("Microscope",[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}
205],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]]);/** 206 * @license lucide-react v0.462.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const _v=Y("Navigation",[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]]);/** 211 * @license lucide-react v0.462.0 - ISC 212 * 213 * This source code is licensed under the ISC license. 214 * See the LICENSE file in the root directory of this source tree. 215 */const T2=Y("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/** 216 * @license lucide-react v0.462.0 - ISC 217 * 218 * This source code is licensed under the ISC license. 219 * See the LICENSE file in the root directory of this source tree. 220 */const Fv=Y("Ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);/** 221 * @license lucide-react v0.462.0 - ISC 222 * 223 * This source code is licensed under the ISC license. 224 * See the LICENSE file in the root directory of this source tree. 225 */const xa=Y("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** 226 * @license lucide-react v0.462.0 - ISC 227 * 228 * This source code is licensed under the ISC license. 229 * See the LICENSE file in the root directory of this source tree.
230 */const zv=Y("Ship",[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]]);/** 231 * @license lucide-react v0.462.0 - ISC 232 * 233 * This source code is licensed under the ISC license. 234 * See the LICENSE file in the root directory of this source tree. 235 */const R2=Y("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/** 236 * @license lucide-react v0.462.0 - ISC 237 * 238 * This source code is licensed under the ISC license. 239 * See the LICENSE file in the root directory of this source tree. 240 */const Lh=Y("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** 241 * @license lucide-react v0.462.0 - ISC 242 * 243 * This source code is licensed under the ISC license. 244 * See the LICENSE file in the root directory of this source tree. 245 */const uu=Y("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 246 * @license lucide-react v0.462.0 - ISC 247 * 248 * This source code is licensed under the ISC license. 249 * See the LICENSE file in the root directory of this source tree. 250 */const du=Y("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/** 251 * @license lucide-react v0.462.0 - ISC 252 * 253 * This source code is licensed under the ISC license. 254 * See the LICENSE file in the root directory of this source tree. 255 */const Xa=Y("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 256 * @license lucide-react v0.462.0 - ISC 257 * 258 * This source code is licensed under the ISC license. 259 * See the LICENSE file in the root directory of this source tree. 260 */const P2=Y("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);/** 261 * @license lucide-react v0.462.0 - ISC 262 * 263 * This source code is licensed under the ISC license. 264 * See the LICENSE file in the root directory of this source tree. 265 */const A2=Y("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),Cd="-",L2=e=>{const t=M2(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const l=i.split(Cd);return l[0]===""&&l.length!==1&&l.shift(),$v(l,t)||O2(i)},getConflictingClassGroupIds:(i,l)=>{const c=n[i]||[];return l&&r[i]?[...c,...r[i]]:c}}},$v=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?$v(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(Cd);return(i=t.validators.find(({validator:l})=>l(s)))==null?void 0:i.classGroupId},Oh=/^\[(.+)\]$/,O2=e=>{if(Oh.test(e)){const t=Oh.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},M2=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return D2(Object.entries(e.classGroups),n).forEach(([s,i])=>{fu(i,r,s,t)}),r},fu=(e,t,n,r)=>{e.forEach(o=>
vendor: 3,926 bytes, line 265
265{if(typeof o=="string"){const s=o===""?t:Mh(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(I2(o)){fu(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{fu(i,Mh(t,s),n,r)})})},Mh=(e,t)=>{let n=e;return t.split(Cd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},I2=e=>e.isThemeGetter,D2=(e,t)=>t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,l])=>[t+i,l])):s);return[n,o]}):e,_2=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},Bv="!",F2=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,i=l=>{const c=[];let u=0,d=0,f;for(let w=0;w<l.length;w++){let y=l[w];if(u===0){if(y===o&&(r||l.slice(w,w+s)===t)){c.push(l.slice(d,w)),d=w+s;continue}if(y==="/"){f=w;continue}}y==="["?u++:y==="]"&&u--}const m=c.length===0?l:l.substring(d),h=m.startsWith(Bv),b=h?m.substring(1):m,v=f&&f>d?f-d:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:b,maybePostfixModifierPosition:v}};return n?l=>n({className:l,parseClassName:i}):i},z2=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},$2=e=>({cache:_2(e.cacheSize),parseClassName:F2(e),...L2(e)}),B2=/\s+/,H2=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(B2);let l="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{modifiers:d,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:h}=n(u);let b=!!h,v=r(b?m.substring(0,h):m);if(!v){if(!b){l=u+(l.length>0?" "+l:l);continue}if(v=r(m),!v){l=u+(l.length>0?" "+l:l);continue}b=!1}const w=z2(d).join(":"),y=f?w+Bv:w,p=y+v;if(s.includes(p))continue;s.push(p);const x=o(v,b);for(let k=0;k<x.length;++k){const N=x[k];s.push(y+N)}l=u+(l.length>0?" "+l:l)}return l};function W2(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Hv(t))&&(r&&(r+=" "),r+=n);return r}const Hv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Hv(e[r]))&&(n&&(n+=" "),n+=t);return n};function U2(e,...t){let n,r,o,s=i;function i(c){const u=t.reduce((d,f)=>f(d),e());return n=$2(u),r=n.cache.get,o=n.cache.set,s=l,l(c)}function l(c){const u=r(c);if(u)return u;const d=H2(c,n);return o(c,d),d}return function(){return s(W2.apply(null,arguments))}}const ae=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Wv=/^\[(?:([a-z-]+):)?(.+)\]$/i,V2=/^\d+\/\d+$/,Y2=new Set(["px","full","screen"]),K2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,G2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Q2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,q2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,J2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Qt=e=>io(e)||Y2.has(e)||V2.test(e),yn=e=>Lo(e,"length",sk),io=e=>!!e&&!Number.isNaN(Number(e)),ql=e=>Lo(e,"number",io),Go=e=>!!e&&Number.isInteger(Number(e)),X2=e=>e.endsWith("%")&&io(e.slice(0,-1)),V=e=>Wv.test(e),xn=e=>K2.test(e),Z2=new Set(["length","size","percentage"]),ek=e=>Lo(e,Z2,Uv),tk=e=>Lo(e,"position",Uv),nk=new Set(["image","url"]),rk=e=>Lo(e,nk,ak),ok=e=>Lo(e,"",ik),Qo=()=>!0,Lo=(e,t,n)=>{const r=Wv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},sk=e=>G2.test(e)&&!Q2.test(e),Uv=()=>!1,ik=e=>q2.test(e),ak=e=>J2.test(e),lk=()=>{const e=ae("colors"),t=ae("spacing"),n=ae("blur"),r=ae("brightness"),o=ae("borderColor"),s=ae("borderRadius"),i=ae("borderSpacing"),l=ae("borderWidth"),c=ae("
265contrast"),u=ae("grayscale"),d=ae("hueRotate"),f=ae("invert"),m=ae("gap"),h=ae("gradientColorStops"),b=ae("gradientColorStopPositions"),v=ae("inset"),w=ae("margin"),y=ae("opacity"),p=ae("padding"),x=ae("saturate"),k=ae("scale"),N=ae("sepia"),S=ae("skew"),j=ae("space"),P=ae("translate"),L=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",V,t],_=()=>[V,t],K=()=>["",Qt,yn],M=()=>["auto",io,V],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],W=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],T=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",V],I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[io,V];return{cacheSize:500,separator:":",theme:{colors:[Qo],spacing:[Qt,yn],blur:["none","",xn,V],brightness:U(),borderColor:[e],borderRadius:["none","","full",xn,V],borderSpacing:_(),borderWidth:K(),contrast:U(),grayscale:R(),hueRotate:U(),invert:R(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[X2,yn],inset:z(),margin:z(),opacity:U(),padding:_(),saturate:U(),scale:U(),sepia:R(),skew:U(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",V]}],container:["container"],columns:[{columns:[xn]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...q(),V]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Go,V]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",V]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",Go,V]}],"grid-cols":[{"grid-cols":[Qo]}],"col-start-end":[{col:["auto",{span:["full",Go,V]},V]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[Qo]}],"row-start-end":[{row:["auto",{span:[Go,V]},V]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",V]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",V]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...T()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...T(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...T(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",V,t]}],"min-w":[{"min-w":[V,t,"min","max","fit"]}],"max-w":[{"max-w":[V,t,"none","full","min","max","fit","prose",{screen:[xn]},xn]}],h:[{h:[V,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[V,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[V,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[V,t,"auto","min","max","fit"]}],"font-size":[{text:["base",xn,yn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ql]}],"font-family":[{font:[Qo]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",V]}],"line-clamp":[{"line-clamp":["none",io,ql]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Qt,V]}],"list-image":[{"list-image":["none",V]}],"list-style-type":[{list:["none","disc","decimal",V]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Qt,yn]}],"underline-offset":[{"underline-offset":["auto",Qt,V]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",V]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",V]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),tk]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ek]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},rk]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}
265],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,458 bytes, line 265
265],"divide-style":[{divide:$()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[Qt,V]}],"outline-w":[{outline:[Qt,yn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Qt,yn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",xn,ok]}],"shadow-color":[{shadow:[Qo]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...W(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",xn,V]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[x]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",V]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",V]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",V]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[Go,V]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",V]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",V]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",V]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Qt,yn,ql]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
265none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},ck=U2(lk);function ee(...e){return ck(Tv(e))}const uk=l2,Vv=g.forwardRef(({className:e,...t},n)=>a.jsx(bv,{ref:n,className:ee("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Vv.displayName=bv.displayName;const dk=Rv("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Yv=g.forwardRef(({className:e,variant:t,...n},r)=>a.jsx(kv,{ref:r,className:ee(dk({variant:t}),e),...n}));Yv.displayName=kv.displayName;const fk=g.forwardRef(({className:e,...t},n)=>a.jsx(jv,{ref:n,className:ee("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));fk.displayName=jv.displayName;const Kv=g.forwardRef(({className:e,...t},n)=>a.jsx(Cv,{ref:n,className:ee("absolute right-2 top-2 rounded-md p-1 text-foreground
265/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:a.jsx(Xa,{className:"h-4 w-4"})}));Kv.displayName=Cv.displayName;const Gv=g.forwardRef(({className:e,...t},n)=>a.jsx(Nv,{ref:n,className:ee("text-sm font-semibold",e),...t}));Gv.displayName=Nv.displayName;const Qv=g.forwardRef(({className:e,...t},n)=>a.jsx(Sv,{ref:n,className:ee("text-sm opacity-90",e),...t}));Qv.displayName=Sv.displayName;function hk(){const{toasts:e}=ev();return a.jsxs(uk,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return a.jsxs(Yv,{...s,children:[a.jsxs("div",{className:"grid gap-1",children:[n&&a.jsx(Gv,{children:n}),r&&a.jsx(Qv,{children:r})]}),o,a.jsx(Kv,{})]},t)}),a.jsx(Vv,{})]})}var Ih=["light","dark"],pk="(prefers-color-scheme: dark)",mk=g.createContext(void 0),gk={setTheme:e=>{},themes:[]},vk=()=>{var e;return(e=g.useContext(mk))!=null?e:gk};g.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:i,attrs:l,nonce:c})=>{let u=s==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?Ih.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(b,v=!1,w=!0)=>{let y=i?i[b]:b,p=v?b+"|| ''":`'${y}'`,x="";return o&&w&&!v&&Ih.includes(b)&&(x+=`d.style.colorScheme = '${b}';`),n==="class"?v||y?x+=`c.add(${p})`:x+="null":y&&(x+=`d[s](n,${p})`),x},h=e?`!function(){${d}${m(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${pk}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${m(i?"x[e]":"e",!0)}}${u?"":"else{"+m(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${m(i?"x[e]":"e",!0)}}else{${m(s,!1,!1)};}${f}}catch(t){}}();`;return g.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:h}})});var yk=e=>{switch(e){case"success":return bk;case"info":return Nk;case"warning":return kk;case"error":return Sk;default:return null}},xk=Array(12).fill(0),wk=({visible:e,className:t})=>C.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},C.createElement("div",{className:"sonner-spinner"},xk.map((n,r)=>C.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),bk=C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},C.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),kk=C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},C.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Nk=C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},C.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Sk=C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},C.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),jk=C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},C.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),C.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Ck=()=>{let[e,t]=C.useState(document.hidden);return C.useEffect(()=>{let n=()=>{t(document.hidden)};
265return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},hu=1,Ek=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:hu++,s=this.toasts.find(l=>l.id===o),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),s?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...e,id:o,title:n}),{...l,...e,id:o,dismissible:i,title:n}):l):this.addToast({title:n,...r,dismissible:i,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
265this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,s,i=r.then(async c=>{if(s=["resolve",c],C.isValidElement(c))o=!1,this.create({id:n,type:"default",message:c});else if(Rk(c)&&!c.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(c):t.success,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async c=>{if(s=["reject",c],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(c):t.error,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var c;o&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,u)=>i.then(()=>s[0]==="reject"?u(s[1]):c(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||hu++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},We=new Ek,Tk=(e,t)=>{let n=(t==null?void 0:t.id)||hu++;return We.addToast({title:e,...t,id:n}),n},Rk=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Pk=Tk,Ak=()=>We.toasts,Lk=()=>We.getActiveToasts();Object.assign(Pk,{success:We.success,info:We.info,warning:We.warning,error:We.error,custom:We.custom,message:We.message,promise:We.promise,dismiss:We.dismiss,loading:We.loading},{getHistory:Ak,getToasts:Lk});function Ok(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}Ok(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
265left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
265:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
265--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 266`);function bi(e){return e.label!==void 0}var Mk=3,Ik="32px",Dk="16px",Dh=4e3,_k=356,Fk=14,zk=20,$k=200;function gt(...e){return e.filter(Boolean).join(" ")}function Bk(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var Hk=e=>{var t,n,r,o,s,i,l,c,u,d,f;let{invert:m,toast:h,unstyled:b,interacting:v,setHeights:w,visibleToasts:y,heights:p,index:x,toasts:k,expanded:N,removeToast:S,defaultRichColors:j,closeButton:P,style:L,cancelButtonStyle:O,actionButtonStyle:z,className:_="",descriptionClassName:K="",duration:M,position:q,gap:$,loadingIcon:W,expandByDefault:T,classNames:R,icons:I,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:F}=e,[G,J]=C.useState(null),[ye,Pe]=C.useState(null),[te,Rr]=C.useState(!1),[dn,Jn]=C.useState(!1),[fn,Pr]=C.useState(!1),[hn,Js]=C.useState(!1),[fl,Xs]=C.useState(!1),[hl,Do]=C.useState(0),[Ar,Zd]=C.useState(0),_o=C.useRef(h.duration||M||Dh),ef=C.useRef(null),Xn=C.useRef(null),ex=x===0,tx=x+1<=y,rt=h.type,Lr=h.dismissible!==!1,nx=h.className||"",rx=h.descriptionClassName||"",Zs=C.useMemo(()=>p.findIndex(B=>B.toastId===h.id)||0,[p,h.id]),ox=C.useMemo(()=>{var B;return(B=h.closeButton)!=null?B:P},[h.closeButton,P]),tf=C.useMemo(()=>
266h.duration||M||Dh,[h.duration,M]),pl=C.useRef(0),Or=C.useRef(0),nf=C.useRef(0),Mr=C.useRef(null),[sx,ix]=q.split("-"),rf=C.useMemo(()=>p.reduce((B,re,ue)=>ue>=Zs?B:B+re.height,0),[p,Zs]),of=Ck(),ax=h.invert||m,ml=rt==="loading";Or.current=C.useMemo(()=>Zs*$+rf,[Zs,rf]),C.useEffect(()=>{_o.current=tf},[tf]),C.useEffect(()=>{Rr(!0)},[]),C.useEffect(()=>{let B=Xn.current;if(B){let re=B.getBoundingClientRect().height;return Zd(re),w(ue=>[{toastId:h.id,height:re,position:h.position},...ue]),()=>w(ue=>ue.filter(ft=>ft.toastId!==h.id))}},[w,h.id]),C.useLayoutEffect(()=>{if(!te)return;let B=Xn.current,re=B.style.height;B.style.height="auto";let ue=B.getBoundingClientRect().height;B.style.height=re,Zd(ue),w(ft=>ft.find(ht=>ht.toastId===h.id)?ft.map(ht=>ht.toastId===h.id?{...ht,height:ue}:ht):[{toastId:h.id,height:ue,position:h.position},...ft])},[te,h.title,h.description,w,h.id]);let pn=C.useCallback(()=>{Jn(!0),Do(Or.current),w(B=>B.filter(re=>re.toastId!==h.id)),setTimeout(()=>{S(h)},$k)},[h,S,w,Or]);C.useEffect(()=>{if(h.promise&&rt==="loading"||h.duration===1/0||h.type==="loading")return;let B;return N||v||F&&of?(()=>{if(nf.current<pl.current){let re=new Date().getTime()-pl.current;_o.current=_o.current-re}nf.current=new Date().getTime()})():_o.current!==1/0&&(pl.current=new Date().getTime(),B=setTimeout(()=>{var re;(re=h.onAutoClose)==null||re.call(h,h),pn()},_o.current)),()=>clearTimeout(B)},[N,v,h,rt,F,of,pn]),C.useEffect(()=>{h.delete&&pn()},[pn,h.delete]);function lx(){var B,re,ue;return I!=null&&I.loading?C.createElement("div",{className:gt(R==null?void 0:R.loader,(B=h==null?void 0:h.classNames)==null?void 0:B.loader,"sonner-loader"),"data-visible":rt==="loading"},I.loading):W?C.createElement("div",{className:gt(R==null?void 0:R.loader,(re=h==null?void 0:h.classNames)==null?void 0:re.loader,"sonner-loader"),"data-visible":rt==="loading"},W):C.createElement(wk,{className:gt(R==null?void 0:R.loader,(ue=h==null?void 0:h.classNames)==null?void 0:ue.loader),visible:rt==="loading"})}return C.createElement("li",{tabIndex:0,ref:Xn,className:gt(_,nx,R==null?void 0:R.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,R==null?void 0:R.default,R==null?void 0:R[rt],(n=h==null?void 0:h.classNames)==null?void 0:n[rt]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:j,"data-styled":!(h.jsx||h.unstyled||b),"data-mounted":te,"data-promise":!!h.promise,"data-swiped":fl,"data-removed":dn,"data-visible":tx,"data-y-position":sx,"data-x-position":ix,"data-index":x,"data-front":ex,"data-swiping":fn,"data-dismissible":Lr,"data-type":rt,"data-invert":ax,"data-swipe-out":hn,"data-swipe-direction":ye,"data-expanded":!!(N||T&&te),style:{"--index":x,"--toasts-before":x,"--z-index":k.length-x,"--offset":`${dn?hl:Or.current}px`,"--initial-height":T?"auto":`${Ar}px`,...L,...h.style},onDragEnd:()=>{Pr(!1),J(null),Mr.current=null},onPointerDown:B=>{ml||!Lr||(ef.current=new Date,Do(Or.current),B.target.setPointerCapture(B.pointerId),B.target.tagName!=="BUTTON"&&(Pr(!0),Mr.current={x:B.clientX,y:B.clientY}))},onPointerUp:()=>{var B,re,ue,ft;if(hn||!Lr)return;Mr.current=null;let ht=Number(((B=Xn.current)==null?void 0:B.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),mn=Number(((re=Xn.current)==null?void 0:re.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Zn=new Date().getTime()-((ue=ef.current)==null?void 0:ue.getTime()),pt=G==="x"?ht:mn,gn=Math.abs(pt)/Zn;if(Math.abs(pt)>=zk||gn>.11){Do(Or.current),(ft=h.onDismiss)==null||ft.call(h,h),Pe(G==="x"?ht>0?"right":"left":mn>0?"down":"up"),pn(),Js(!0),Xs(!1);return}Pr(!1),J(null)},onPointerMove:B=>{var re,ue,ft,ht;if(!Mr.current||!Lr||((re=window.getSelection())==null?void 0:re.toString().length)>0)return;let mn=B.clientY-Mr.current.y,Zn=B.clientX-Mr.current.x,pt=(ue=e.swipeDirections)!=null?ue:Bk(q);!G&&(Math.abs(Zn)>1||Math.abs(mn)>1)&&J(Math.abs(Zn)>Math.abs(mn)?"x":"y");let gn={x:0,y:0};G==="y"?(pt.includes("top")||pt.includes("bottom"))&&(pt.includes("top")&&mn<0||pt.includes("bottom")&&mn>0)&&(gn.y=mn):G==="x"&&(pt.includes("left")||pt.includes("right"))&&(pt.includes("left")&&Zn<0||pt.includes("right")&&Zn>0)&&(gn.x=Zn),(Math.abs(gn.x)>0||Math.abs(gn.y)>0)&&Xs(!0),(ft=Xn.current)==null||ft.style.setProperty("--swipe-amount-x",`${gn.x}
266px`),(ht=Xn.current)==null||ht.style.setProperty("--swipe-amount-y",`${gn.y}px`)}},ox&&!h.jsx?C.createElement("button",{"aria-label":U,"data-disabled":ml,"data-close-button":!0,onClick:ml||!Lr?()=>{}:()=>{var B;pn(),(B=h.onDismiss)==null||B.call(h,h)},className:gt(R==null?void 0:R.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},(s=I==null?void 0:I.close)!=null?s:jk):null,h.jsx||g.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:C.createElement(C.Fragment,null,rt||h.icon||h.promise?C.createElement("div",{"data-icon":"",className:gt(R==null?void 0:R.icon,(i=h==null?void 0:h.classNames)==null?void 0:i.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||lx():null,h.type!=="loading"?h.icon||(I==null?void 0:I[rt])||yk(rt):null):null,C.createElement("div",{"data-content":"",className:gt(R==null?void 0:R.content,(l=h==null?void 0:h.classNames)==null?void 0:l.content)},C.createElement("div",{"data-title":"",className:gt(R==null?void 0:R.title,(c=h==null?void 0:h.classNames)==null?void 0:c.title)},typeof h.title=="function"?h.title():h.title),h.description?C.createElement("div",{"data-description":"",className:gt(K,rx,R==null?void 0:R.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),g.isValidElement(h.cancel)?h.cancel:h.cancel&&bi(h.cancel)?C.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||O,onClick:B=>{var re,ue;bi(h.cancel)&&Lr&&((ue=(re=h.cancel).onClick)==null||ue.call(re,B),pn())},className:gt(R==null?void 0:R.cancelButton,(d=h==null?void 0:h.classNames)==null?void 0:d.cancelButton)},h.cancel.label):null,g.isValidElement(h.action)?h.action:h.action&&bi(h.action)?C.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||z,onClick:B=>{var re,ue;bi(h.action)&&((ue=(re=h.action).onClick)==null||ue.call(re,B),!B.defaultPrevented&&pn())},className:gt(R==null?void 0:R.actionButton,(f=h==null?void 0:h.classNames)==null?void 0:f.actionButton)},h.action.label):null))};function _h(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Wk(e,t){let n={};return[e,t].forEach((r,o)=>{let s=o===1,i=s?"--mobile-offset":"--offset",l=s?Dk:Ik;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${i}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${i}-${u}`]=l:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}var Uk=g.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:i,className:l,offset:c,mobileOffset:u,theme:d="light",richColors:f,duration:m,style:h,visibleToasts:b=Mk,toastOptions:v,dir:w=_h(),gap:y=Fk,loadingIcon:p,icons:x,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:N}=e,[S,j]=C.useState([]),P=C.useMemo(()=>Array.from(new Set([r].concat(S.filter(F=>F.position).map(F=>F.position)))),[S,r]),[L,O]=C.useState([]),[z,_]=C.useState(!1),[K,M]=C.useState(!1),[q,$]=C.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),W=C.useRef(null),T=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=C.useRef(null),I=C.useRef(!1),U=C.useCallback(F=>{j(G=>{var J;return(J=G.find(ye=>ye.id===F.id))!=null&&J.delete||We.dismiss(F.id),G.filter(({id:ye})=>ye!==F.id)})},[]);return C.useEffect(()=>We.subscribe(F=>{if(F.dismiss){j(G=>G.map(J=>J.id===F.id?{...J,delete:!0}:J));return}setTimeout(()=>{Vg.flushSync(()=>{j(G=>{let J=G.findIndex(ye=>ye.id===F.id);return J!==-1?[...G.slice(0,J),{...G[J],...F},...G.slice(J+1)]:[F,...G]})})})}),[]),C.useEffect(()=>{if(d!=="system"){$(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let F=window.matchMedia("(prefers-color-scheme: dark)");try{F.addEventListener("change",({matches:G})=>{$(G?"dark":"light")})}catch{F.addListener(({matches:J})=>{try{$(J?"dark":"light")}catch(ye){console.error(ye)}})}},[d]),C.useEffect(()=>{S.length<=1&&_(!1)},[S]),C.useEffect(()=>{let F=G=>{var J,ye;o.every(Pe=>G[Pe]||G.code===Pe)&&(_(!0),(J=W.current)==null||J.focus()),G.code==="Escape"&&(document.activeElement===W.current||(ye=W.current)!=null&&ye.contains(document.activeElement))&&_(!1)};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[o]),C.useEffect(()=>{if(W.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,I.current=!1)}},[W.current]),C.createElement("section",{ref:t,"aria-label":`${k} ${T}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map((F,G)=>{var J;let[ye,Pe]=F.split("-");return S.length?C.createElement("ol",{key:F,dir:w==="auto"?_h():w,tabIndex:-1,ref:W,className:l,"data-sonner-toaster":!0,"data-theme":q,"data-y-position":ye,"data-lifted":z&&S.length>1&&!s,"data-x-position":Pe,style:{"--front-toast-height":`${((J=L[0])==null?void 0:J.height)||0}px`,"--width":`${_k}px`,"--gap":`${y}px`,...h,...Wk(c,u)},onBlur:te=>{I.current&&!te.currentTarget.contains(te.relatedTarget)&&(I.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||I.current||(I.current=!0,R.current=te.relatedTarget)},onMouseEnter:()=>_(!0),onMouseMove:()=>_(!0),onMouseLeave:()=>{K||_(!1)},onDragEnd:()=>_(!1),onPointerDown:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||M(!0)},onPointerUp:()=>M(!1)},S.filter(te=>!te.position&&G===0||te.position===F).map((te,Rr)=>{var dn,Jn;return C.createElement(Hk,{key:te.id,icons:x,index:Rr,toast:te,defaultRichColors:f,duration:(dn=v==null?void 0:v.duration)!=null?dn:m,className:v==null?void 0:v.className,descriptionClassName:v==null?void 0:v.descriptionClassName,invert:n,visibleToasts:b,closeButton:(Jn=v==null?void 0:v.closeButton)!=null?Jn:i,interacting:K,position:F,style:v==null?void 0:v.style,unstyled:v==null?void 0:v.unstyled,classNames:v==null?void 0:v.classNames,cancelButtonStyle:v==null?void 0:v.cancelButtonStyle,actionButtonStyle:v==null?void 0:v.actionButtonStyle,removeToast:U,toasts:S.filter(fn=>fn.position==te.position),heights:L.filter(fn=>fn.position==te.position),setHeights:O,expandByDefault:s,gap:y,loadingIcon:p,expanded:z,pauseWhenPageIsHidden:N,swipeDirections:e.swipeDirections})})):null}))});const Vk=({...e})=>{const{theme:t="system"}=vk();return a.jsx(Uk,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var Yk=Pu[" useId ".trim().toString()]||(()=>{}),Kk=0;function ds(e){const[t,n]=g.useState(Yk());return Wt(()=>{n(r=>r??String(Kk++))},[e]),t?`radix-${t}`:""}
vendor: 12,859 bytes, line 266
266const Gk=["top","right","bottom","left"],Vn=Math.min,qe=Math.max,wa=Math.round,ki=Math.floor,Bt=e=>({x:e,y:e}),Qk={left:"right",right:"left",bottom:"top",top:"bottom"},qk={start:"end",end:"start"};function pu(e,t,n){return qe(e,Vn(t,n))}function ln(e,t){return typeof e=="function"?e(t):e}function cn(e){return e.split("-")[0]}function Oo(e){return e.split("-")[1]}function Ed(e){return e==="x"?"y":"x"}function Td(e){return e==="y"?"height":"width"}const Jk=new Set(["top","bottom"]);function Ft(e){return Jk.has(cn(e))?"y":"x"}function Rd(e){return Ed(Ft(e))}function Xk(e,t,n){n===void 0&&(n=!1);const r=Oo(e),o=Rd(e),s=Td(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=ba(i)),[i,ba(i)]}function Zk(e){const t=ba(e);return[mu(e),t,mu(t)]}function mu(e){return e.replace(/start|end/g,t=>qk[t])}const Fh=["left","right"],zh=["right","left"],eN=["top","bottom"],tN=["bottom","top"];function nN(e,t,n){switch(e){case"top":case"bottom":return n?t?zh:Fh:t?Fh:zh;case"left":case"right":return t?eN:tN;default:return[]}}function rN(e,t,n,r){const o=Oo(e);let s=nN(cn(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(mu)))),s}function ba(e){return e.replace(/left|right|bottom|top/g,t=>Qk[t])}function oN(e){return{top:0,right:0,bottom:0,left:0,...e}}function qv(e){return typeof e!="number"?oN(e):{top:e,right:e,bottom:e,left:e}}function ka(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function $h(e,t,n){let{reference:r,floating:o}=e;const s=Ft(t),i=Rd(t),l=Td(i),c=cn(t),u=s==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,m=r[l]/2-o[l]/2;let h;switch(c){case"top":h={x:d,y:r.y-o.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Oo(t)){case"start":h[i]-=m*(n&&u?-1:1);break;case"end":h[i]+=m*(n&&u?-1:1);break}return h}const sN=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,l=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=$h(u,r,c),m=r,h={},b=0;for(let v=0;v<l.length;v++){const{name:w,fn:y}=l[v],{x:p,y:x,data:k,reset:N}=await y({x:d,y:f,initialPlacement:r,placement:m,strategy:o,middlewareData:h,rects:u,platform:i,elements:{reference:e,floating:t}});d=p??d,f=x??f,h={...h,[w]:{...h[w],...k}},N&&b<=50&&(b++,typeof N=="object"&&(N.placement&&(m=N.placement),N.rects&&(u=N.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):N.rects),{x:d,y:f}=$h(u,m,c)),v=-1)}return{x:d,y:f,placement:m,strategy:o,middlewareData:h}};async function Ps(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:h=0}=ln(t,e),b=qv(h),w=l[m?f==="floating"?"reference":"floating":f],y=ka(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),p=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),k=await(s.isElement==null?void 0:s.isElement(x))?await(s.getScale==null?void 0:s.getScale(x))||{x:1,y:1}:{x:1,y:1},N=ka(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:p,offsetParent:x,strategy:c}):p);return{top:(y.top-N.top+b.top)/k.y,bottom:(N.bottom-y.bottom+b.bottom)/k.y,left:(y.left-N.left+b.left)/k.x,right:(N.right-y.right+b.right)/k.x}}const iN=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=ln(e,t)||{};if(u==null)return{};const f=qv(d),m={x:n,y:r},h=Rd(o),b=Td(h),v=await i.getDimensions(u),w=h==="y",y=w?"top":"left",p=w?"bottom":"right",x=w?"clientHeight":"clientWidth",k=s.reference[b]+s.reference[h]-m[h]-s.floating[b],N=m[h]-s.reference[h],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let j=S?S[x]:0;(!j||!await(i.isElement==null?void 0:i.isElement(S)))&&(j=l.floating[x]||s.floating[b]);const P=k/2-N/2,L=j/2-v[b]/2-1,O=Vn(f[y],L),z=Vn(f[p],L),_=O,K=j-v[b]-z,M=j/2-v[b]/2+P,q=pu(_,M,K),$=!c.arrow&&Oo(o)!=null&&M!==q&&s.reference[b]/2-(M<_?O:z)-v[b]/2<0,W=$?M<_?M-_:M-K:0;return{[h]:m[h]+W,data:{[h]:q,centerOffset:M-q-W,...$&&{alignmentOffset:W}},reset:$}}}),aN=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:v=!0,...w}=ln(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=cn(o),p=Ft(l),x=cn(l)===l,k=await(c.isRTL==null?void 0:c.isRTL(u.floating)),N=m||(x||!v?[ba(l)]:Zk(l)),S=b!=="none";!m&&S&&N.push(...rN(l,v,b,k));const j=[l,...N],P=await Ps(t,w),L=[];let O=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&L.push(P[y]),f){const M=Xk(o,i,k);L.push(P[M[0]],P[M[1]])}if(O=[...O,{placement:o,overflows:L}],!L.every(M=>M<=0)){var z,_;const M=(((z=s.flip)==null?void 0:z.index)||0)+1,q=j[M];if(q&&(!(f==="alignment"?p!==Ft(q):!1)||O.every(T=>T.overflows[0]>0&&Ft(T.placement)===p)))return{data:{index:M,overflows:O},reset:{placement:q}};let $=(_=O.filter(W=>W.overflows[0]<=0).sort((W,T)=>W.overflows[1]-T.overflows[1])[0])==null?void 0:_.placement;if(!$)switch(h){case"bestFit":{var K;const W=(K=O.filter(T=>{if(S){const R=Ft(T.placement);return R===p||R==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(R=>R>0).reduce((R,I)=>R+I,0)]).sort((T,R)=>T[1]-R[1])[0])==null?void 0:K[0];W&&($=W);break}case"initialPlacement":$=l;break}if(o!==$)return{reset:{placement:$}}}return{}}}};function Bh(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Hh(e){return Gk.some(t=>e[t]>=0)}const lN=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=ln(e,t);switch(r){case"referenceHidden":{const s=await Ps(t,{...o,elementContext:"reference"}),i=Bh(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Hh(i)}}}case"escaped":{const s=await Ps(t,{...o,altBoundary:!0}),i=Bh(s,n.floating);return{data:{escapedOffsets:i,escaped:Hh(i)}}}default:return{}}}}},Jv=new Set(["left","top"]);async function cN(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=cn(n),l=Oo(n),c=Ft(n)==="y",u=Jv.has(i)?-1:1,d=s&&c?-1:1,f=ln(t,e);let{mainAxis:m,crossAxis:h,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof b=="number"&&(h=l==="end"?b*-1:b),c?{x:h*d,y:m*u}:{x:m*u,y:h*d}}const uN=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:l}=t,c=await cN(t,e);return i===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:i}}}}},dN=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:w=>{let{x:y,y:p}=w;return{x:y,y:p}}},...c}=ln(e,t),u={x:n,y:r},d=await Ps(t,c),f=Ft(cn(o)),m=Ed(f);let h=u[m],b=u[f];if(s){const w=m==="y"?"top":"left",y=m==="y"?"bottom":"right",p=h+d[w],x=h-d[y];h=pu(p,h,x)}if(i){const w=f==="y"?"top":"left",y=f==="y"?"bottom":"right",p=b+d[w],x=b-d[y];b=pu(p,b,x)}const v=l.fn({...t,[m]:h,[f]:b});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[m]:s,[f]:i}}}}}},fN=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=ln(e,t),d={x:n,y:r},f=Ft(o),m=Ed(f);let h=d[m],b=d[f];const v=ln(l,t),w=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const x=m==="y"?"height":"width",k=s.reference[m]-s.floating[x]+w.mainAxis,N=s.reference[m]+s.reference[x]-w.mainAxis;h<k?h=k:h>N&&(h=N)}if(u){var y,p;const x=m==="y"?"width":"height",k=Jv.has(cn(o)),N=s.reference[f]-s.floating[x]+(k&&((y=i.offset)==null?void 0:y[f])||0)+(k?0:w.crossAxis),S=s.reference[f]+s.reference[x]+(k?0:((p=i.offset)==null?void 0:p[f])||0)-(k?w.crossAxis:0);b<N?b=N:b>S&&(b=S)}return{[m]:h,[f]:b}}}},hN=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:l}=t,{apply:c=()=>{},...u}=ln(e,t),d=await Ps(t,u),f=cn(o),m=Oo(o),h=Ft(o)==="y",{width:b,height:v}=s.floating;let w,y;f==="top"||f==="bottom"?(w=f,y=m===(await(i.isRTL==null?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(y=f,w=m==="end"?"top":"bottom");const p=v-d.top-d.bottom,x=b-d.left-d.right,k=Vn(v-d[w],p),N=Vn(b-d[y],x),S=!t.middlewareData.shift;let j=k,P=N;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(j=p),S&&!m){const O=qe(d.left,0),z=qe(d.right,0),_=qe(d.top,0),K=qe(d.bottom,0);h?P=b-2*(O!==0||z!==0?O+z:qe(d.left,d.right)):j=v-2*(_!==0||K!==0?_+K:qe(d.top,d.bottom))}await c({...t,availableWidth:P,availableHeight:j});const L=await i.getDimensions(l.floating);return b!==L.width||v!==L.height?{reset:{rects:!0}}:{}}}};function Za(){return typeof window<"u"}function Mo(e){return Xv(e)?(e.nodeName||"").toLowerCase():"#document"}function Ze(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Kt(e){var t;return(t=(Xv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Xv(e){return Za()?e instanceof Node||e instanceof Ze(e).Node:!1}function Et(e){return Za()?e instanceof Element||e instanceof Ze(e).Element:!1}function Ut(e){return Za()?e instanceof HTMLElement||e instanceof Ze(e).HTMLElement:!1}function Wh(e){return!Za()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ze(e).ShadowRoot}const pN=new Set(["inline","contents"]);function Gs(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!pN.has(o)}const mN=new Set(["table","td","th"]);function gN(e){return mN.has(Mo(e))}const vN=[":popover-open",":modal"];function el(e){return vN.some(t=>{try{return e.matches(t)}catch{return!1}})}const yN=["transform","translate","scale","rotate","perspective"],xN=["transform","translate","scale","rotate","perspective","filter"],wN=["paint","layout","strict","content"];function Pd(e){const t=Ad(),n=Et(e)?Tt(e):e;return yN.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||xN.some(r=>(n.willChange||"").includes(r))||wN.some(r=>(n.contain||"").includes(r))}function bN(e){let t=Yn(e);for(;Ut(t)&&!jo(t);){if(Pd(t))return t;if(el(t))return null;t=Yn(t)}return null}function Ad(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const kN=new Set(["html","body","#document"]);function jo(e){return kN.has(Mo(e))}function Tt(e){return Ze(e).getComputedStyle(e)}function tl(e){return Et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Yn(e){if(Mo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Wh(e)&&e.host||Kt(e);return Wh(t)?t.host:t}function Zv(e){const t=Yn(e);return jo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ut(t)&&Gs(t)?t:Zv(t)}function As(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Zv(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=Ze(o);if(s){const l=gu(i);return t.concat(i,i.visualViewport||[],Gs(o)?o:[],l&&n?As(l):[])}return t.concat(o,As(o,[],n))}function gu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ey(e){const t=Tt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ut(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=wa(n)!==s||wa(r)!==i;return l&&(n=s,r=i),{width:n,height:r,$:l}}function Ld(e){return Et(e)?e:e.contextElement}function ao(e){const t=Ld(e);if(!Ut(t))return Bt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=ey(t);let i=(s?wa(n.width):n.width)/r,l=(s?wa(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const NN=Bt(0);function ty(e){const t=Ze(e);return!Ad()||!t.visualViewport?NN:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}
vendor: 1,820 bytes, line 266
266function SN(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ze(e)?!1:t}function kr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Ld(e);let i=Bt(1);t&&(r?Et(r)&&(i=ao(r)):i=ao(e));const l=SN(s,n,r)?ty(s):Bt(0);let c=(o.left+l.x)/i.x,u=(o.top+l.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(s){const m=Ze(s),h=r&&Et(r)?Ze(r):r;let b=m,v=gu(b);for(;v&&r&&h!==b;){const w=ao(v),y=v.getBoundingClientRect(),p=Tt(v),x=y.left+(v.clientLeft+parseFloat(p.paddingLeft))*w.x,k=y.top+(v.clientTop+parseFloat(p.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,f*=w.y,c+=x,u+=k,b=Ze(v),v=gu(b)}}return ka({width:d,height:f,x:c,y:u})}function Od(e,t){const n=tl(e).scrollLeft;return t?t.left+n:kr(Kt(e)).left+n}function ny(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Od(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function jN(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=Kt(r),l=t?el(t.floating):!1;if(r===i||l&&s)return n;let c={scrollLeft:0,scrollTop:0},u=Bt(1);const d=Bt(0),f=Ut(r);if((f||!f&&!s)&&((Mo(r)!=="body"||Gs(i))&&(c=tl(r)),Ut(r))){const h=kr(r);u=ao(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}const m=i&&!f&&!s?ny(i,c,!0):Bt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+m.x,y:n.y*u.y-c.scrollTop*u.y+d.y+m.y}}function CN(e){return Array.from(e.getClientRects())}function EN(e){const t=Kt(e),n=tl(e),r=e.ownerDocument.body,o=qe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=qe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Od(e);const l=-n.scrollTop;return Tt(r).direction==="rtl"&&(i+=qe(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:l}}function TN(e,t){const n=Ze(e),r=Kt(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,l=0,c=0;
vendor: 9,293 bytes, line 266
266if(o){s=o.width,i=o.height;const u=Ad();(!u||u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:s,height:i,x:l,y:c}}const RN=new Set(["absolute","fixed"]);function PN(e,t){const n=kr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Ut(e)?ao(e):Bt(1),i=e.clientWidth*s.x,l=e.clientHeight*s.y,c=o*s.x,u=r*s.y;return{width:i,height:l,x:c,y:u}}function Uh(e,t,n){let r;if(t==="viewport")r=TN(e,n);else if(t==="document")r=EN(Kt(e));else if(Et(t))r=PN(t,n);else{const o=ty(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ka(r)}function ry(e,t){const n=Yn(e);return n===t||!Et(n)||jo(n)?!1:Tt(n).position==="fixed"||ry(n,t)}function AN(e,t){const n=t.get(e);if(n)return n;let r=As(e,[],!1).filter(l=>Et(l)&&Mo(l)!=="body"),o=null;const s=Tt(e).position==="fixed";let i=s?Yn(e):e;for(;Et(i)&&!jo(i);){const l=Tt(i),c=Pd(i);!c&&l.position==="fixed"&&(o=null),(s?!c&&!o:!c&&l.position==="static"&&!!o&&RN.has(o.position)||Gs(i)&&!c&&ry(e,i))?r=r.filter(d=>d!==i):o=l,i=Yn(i)}return t.set(e,r),r}function LN(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?el(t)?[]:AN(t,this._c):[].concat(n),r],l=i[0],c=i.reduce((u,d)=>{const f=Uh(t,d,o);return u.top=qe(f.top,u.top),u.right=Vn(f.right,u.right),u.bottom=Vn(f.bottom,u.bottom),u.left=qe(f.left,u.left),u},Uh(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function ON(e){const{width:t,height:n}=ey(e);return{width:t,height:n}}function MN(e,t,n){const r=Ut(t),o=Kt(t),s=n==="fixed",i=kr(e,!0,s,t);let l={scrollLeft:0,scrollTop:0};const c=Bt(0);function u(){c.x=Od(o)}if(r||!r&&!s)if((Mo(t)!=="body"||Gs(o))&&(l=tl(t)),r){const h=kr(t,!0,s,t);c.x=h.x+t.clientLeft,c.y=h.y+t.clientTop}else o&&u();s&&!r&&o&&u();const d=o&&!r&&!s?ny(o,l):Bt(0),f=i.left+l.scrollLeft-c.x-d.x,m=i.top+l.scrollTop-c.y-d.y;return{x:f,y:m,width:i.width,height:i.height}}function Jl(e){return Tt(e).position==="static"}function Vh(e,t){if(!Ut(e)||Tt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Kt(e)===n&&(n=n.ownerDocument.body),n}function oy(e,t){const n=Ze(e);if(el(e))return n;if(!Ut(e)){let o=Yn(e);for(;o&&!jo(o);){if(Et(o)&&!Jl(o))return o;o=Yn(o)}return n}let r=Vh(e,t);for(;r&&gN(r)&&Jl(r);)r=Vh(r,t);return r&&jo(r)&&Jl(r)&&!Pd(r)?n:r||bN(e)||n}const IN=async function(e){const t=this.getOffsetParent||oy,n=this.getDimensions,r=await n(e.floating);return{reference:MN(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function DN(e){return Tt(e).direction==="rtl"}const _N={convertOffsetParentRelativeRectToViewportRelativeRect:jN,getDocumentElement:Kt,getClippingRect:LN,getOffsetParent:oy,getElementRects:IN,getClientRects:CN,getDimensions:ON,getScale:ao,isElement:Et,isRTL:DN};function sy(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function FN(e,t){let n=null,r;const o=Kt(e);function s(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function i(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const u=e.getBoundingClientRect(),{left:d,top:f,width:m,height:h}=u;if(l||t(),!m||!h)return;const b=ki(f),v=ki(o.clientWidth-(d+m)),w=ki(o.clientHeight-(f+h)),y=ki(d),x={rootMargin:-b+"px "+-v+"px "+-w+"px "+-y+"px",threshold:qe(0,Vn(1,c))||1};let k=!0;function N(S){const j=S[0].intersectionRatio;if(j!==c){if(!k)return i();j?i(!1,j):r=setTimeout(()=>{i(!1,1e-7)},1e3)}j===1&&!sy(u,e.getBoundingClientRect())&&i(),k=!1}try{n=new IntersectionObserver(N,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(N,x)}n.observe(e)}return i(!0),s}function zN(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Ld(e),d=o||s?[...u?As(u):[],...As(t)]:[];d.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const f=u&&l?FN(u,n):null;let m=-1,h=null;i&&(h=new ResizeObserver(y=>{let[p]=y;p&&p.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var x;(x=h)==null||x.observe(t)})),n()}),u&&!c&&h.observe(u),h.observe(t));let b,v=c?kr(e):null;c&&w();function w(){const y=kr(e);v&&!sy(v,y)&&n(),v=y,b=requestAnimationFrame(w)}return n(),()=>{var y;d.forEach(p=>{o&&p.removeEventListener("scroll",n),s&&p.removeEventListener("resize",n)}),f==null||f(),(y=h)==null||y.disconnect(),h=null,c&&cancelAnimationFrame(b)}}const $N=uN,BN=dN,HN=aN,WN=hN,UN=lN,Yh=iN,VN=fN,YN=(e,t,n)=>{const r=new Map,o={platform:_N,...n},s={...o.platform,_c:r};return sN(e,t,{...o,platform:s})};var KN=typeof document<"u",GN=function(){},Yi=KN?g.useLayoutEffect:GN;function Na(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Na(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Na(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function iy(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Kh(e,t){const n=iy(e);return Math.round(t*n)/n}function Xl(e){const t=g.useRef(e);return Yi(()=>{t.current=e}),t}function QN(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=g.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=g.useState(r);Na(m,r)||h(r);const[b,v]=g.useState(null),[w,y]=g.useState(null),p=g.useCallback(T=>{T!==S.current&&(S.current=T,v(T))},[]),x=g.useCallback(T=>{T!==j.current&&(j.current=T,y(T))},[]),k=s||b,N=i||w,S=g.useRef(null),j=g.useRef(null),P=g.useRef(d),L=c!=null,O=Xl(c),z=Xl(o),_=Xl(u),K=g.useCallback(()=>{if(!S.current||!j.current)return;const T={placement:t,strategy:n,middleware:m};z.current&&(T.platform=z.current),YN(S.current,j.current,T).then(R=>{const I={...R,isPositioned:_.current!==!1};M.current&&!Na(P.current,I)&&(P.current=I,Us.flushSync(()=>{f(I)}))})},[m,t,n,z,_]);Yi(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[u]);const M=g.useRef(!1);Yi(()=>(M.current=!0,()=>{M.current=!1}),[]),Yi(()=>{if(k&&(S.current=k),N&&(j.current=N),k&&N){if(O.current)return O.current(k,N,K);K()}},[k,N,K,O,L]);const q=g.useMemo(()=>({reference:S,floating:j,setReference:p,setFloating:x}),[p,x]),$=g.useMemo(()=>({reference:k,floating:N}),[k,N]),W=g.useMemo(()=>{const T={position:n,left:0,top:0};if(!$.floating)return T;const R=Kh($.floating,d.x),I=Kh($.floating,d.y);return l?{...T,transform:"translate("+R+"px, "+I+"px)",...iy($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:I}},[n,l,$.floating,d.x,d.y]);return g.useMemo(()=>({...d,update:K,refs:q,elements:$,floatingStyles:W}),[d,K,q,$,W])}const qN=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Yh({element:r.current,padding:o}).fn(n):{}:r?Yh({element:r,padding:o}).fn(n):{}}}},JN=(e,t)=>({...$N(e),options:[e,t]}),XN=(e,t)=>({...BN(e),options:[e,t]}),ZN=(e,t)=>({...VN(e),options:[e,t]}),eS=(e,t)=>({...HN(e),options:[e,t]}),tS=(e,t)=>({...WN(e),options:[e,t]}),nS=(e,t)=>({...UN(e),options:[e,t]}),rS=(e,t)=>({...qN(e),options:[e,t]});var oS="Arrow",ay=g.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return a.jsx(oe.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});ay.displayName=oS;var sS=ay;function iS(e){const[t,n]=g.useState(void 0);return Wt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,l;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,l=u.blockSize}else i=e.offsetWidth,l=e.offsetHeight;n({width:i,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var ly="Popper",[cy,uy]=qn(ly),[TT,dy]=cy(ly),fy="PopperAnchor",hy=g.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=dy(fy,n),i=g.useRef(null),l=Re(t,i);return g.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:a.jsx(oe.div,{...o,ref:l})});hy.displayName=fy;var Md="PopperContent",[aS,lS]=cy(Md),py=g.forwardRef((e,t)=>{var te,Rr,dn,Jn,fn,Pr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:h="optimized",onPlaced:b,...v}=e,w=dy(Md,n),[y,p]=g.useState(null),x=Re(t,hn=>p(hn)),[k,N]=g.useState(null),S=iS(k),j=(S==null?void 0:S.width)??0,P=(S==null?void 0:S.height)??0,L=r+(s!=="center"?"-"+s:""),O=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},z=Array.isArray(u)?u:[u],_=z.length>
vendor: 9,490 bytes, line 266
2660,K={padding:O,boundary:z.filter(uS),altBoundary:_},{refs:M,floatingStyles:q,placement:$,isPositioned:W,middlewareData:T}=QN({strategy:"fixed",placement:L,whileElementsMounted:(...hn)=>zN(...hn,{animationFrame:h==="always"}),elements:{reference:w.anchor},middleware:[JN({mainAxis:o+P,alignmentAxis:i}),c&&XN({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?ZN():void 0,...K}),c&&eS({...K}),tS({...K,apply:({elements:hn,rects:Js,availableWidth:fl,availableHeight:Xs})=>{const{width:hl,height:Do}=Js.reference,Ar=hn.floating.style;Ar.setProperty("--radix-popper-available-width",`${fl}px`),Ar.setProperty("--radix-popper-available-height",`${Xs}px`),Ar.setProperty("--radix-popper-anchor-width",`${hl}px`),Ar.setProperty("--radix-popper-anchor-height",`${Do}px`)}}),k&&rS({element:k,padding:l}),dS({arrowWidth:j,arrowHeight:P}),m&&nS({strategy:"referenceHidden",...K})]}),[R,I]=vy($),U=Ht(b);Wt(()=>{W&&(U==null||U())},[W,U]);const F=(te=T.arrow)==null?void 0:te.x,G=(Rr=T.arrow)==null?void 0:Rr.y,J=((dn=T.arrow)==null?void 0:dn.centerOffset)!==0,[ye,Pe]=g.useState();return Wt(()=>{y&&Pe(window.getComputedStyle(y).zIndex)},[y]),a.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...q,transform:W?q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ye,"--radix-popper-transform-origin":[(Jn=T.transformOrigin)==null?void 0:Jn.x,(fn=T.transformOrigin)==null?void 0:fn.y].join(" "),...((Pr=T.hide)==null?void 0:Pr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(aS,{scope:n,placedSide:R,onArrowChange:N,arrowX:F,arrowY:G,shouldHideArrow:J,children:a.jsx(oe.div,{"data-side":R,"data-align":I,...v,ref:x,style:{...v.style,animation:W?void 0:"none"}})})})});py.displayName=Md;var my="PopperArrow",cS={top:"bottom",right:"left",bottom:"top",left:"right"},gy=g.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=lS(my,r),i=cS[s.placedSide];return a.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:a.jsx(sS,{...o,ref:n,style:{...o.style,display:"block"}})})});gy.displayName=my;function uS(e){return e!==null}var dS=e=>({name:"transformOrigin",options:e,fn(t){var w,y,p;const{placement:n,rects:r,middlewareData:o}=t,i=((w=o.arrow)==null?void 0:w.centerOffset)!==0,l=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[u,d]=vy(n),f={start:"0%",center:"50%",end:"100%"}[d],m=(((y=o.arrow)==null?void 0:y.x)??0)+l/2,h=(((p=o.arrow)==null?void 0:p.y)??0)+c/2;let b="",v="";return u==="bottom"?(b=i?f:`${m}px`,v=`${-c}px`):u==="top"?(b=i?f:`${m}px`,v=`${r.floating.height+c}px`):u==="right"?(b=`${-c}px`,v=i?f:`${h}px`):u==="left"&&(b=`${r.floating.width+c}px`,v=i?f:`${h}px`),{data:{x:b,y:v}}}});function vy(e){const[t,n="center"]=e.split("-");return[t,n]}var fS=hy,hS=py,pS=gy,[nl,RT]=qn("Tooltip",[uy]),Id=uy(),yy="TooltipProvider",mS=700,Gh="tooltip.open",[gS,xy]=nl(yy),wy=e=>{const{__scopeTooltip:t,delayDuration:n=mS,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,i=g.useRef(!0),l=g.useRef(!1),c=g.useRef(0);return g.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),a.jsx(gS,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:g.useCallback(()=>{window.clearTimeout(c.current),i.current=!1},[]),onClose:g.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:g.useCallback(u=>{l.current=u},[]),disableHoverableContent:o,children:s})};wy.displayName=yy;var by="Tooltip",[PT,rl]=nl(by),vu="TooltipTrigger",vS=g.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=rl(vu,n),s=xy(vu,n),i=Id(n),l=g.useRef(null),c=Re(t,l,o.onTriggerChange),u=g.useRef(!1),d=g.useRef(!1),f=g.useCallback(()=>u.current=!1,[]);return g.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),a.jsx(fS,{asChild:!0,...i,children:a.jsx(oe.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:se(e.onPointerMove,m=>{m.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:se(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:se(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:se(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:se(e.onBlur,o.onClose),onClick:se(e.onClick,o.onClose)})})});vS.displayName=vu;var yS="TooltipPortal",[AT,xS]=nl(yS,{forceMount:void 0}),Co="TooltipContent",ky=g.forwardRef((e,t)=>{const n=xS(Co,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,i=rl(Co,e.__scopeTooltip);return a.jsx(Cr,{present:r||i.open,children:i.disableHoverableContent?a.jsx(Ny,{side:o,...s,ref:t}):a.jsx(wS,{side:o,...s,ref:t})})}),wS=g.forwardRef((e,t)=>{const n=rl(Co,e.__scopeTooltip),r=xy(Co,e.__scopeTooltip),o=g.useRef(null),s=Re(t,o),[i,l]=g.useState(null),{trigger:c,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,m=g.useCallback(()=>{l(null),f(!1)},[f]),h=g.useCallback((b,v)=>{const w=b.currentTarget,y={x:b.clientX,y:b.clientY},p=jS(y,w.getBoundingClientRect()),x=CS(y,p),k=ES(v.getBoundingClientRect()),N=RS([...x,...k]);l(N),f(!0)},[f]);return g.useEffect(()=>()=>m(),[m]),g.useEffect(()=>{if(c&&d){const b=w=>h(w,d),v=w=>h(w,c);return c.addEventListener("pointerleave",b),d.addEventListener("pointerleave",v),()=>{c.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",v)}}},[c,d,h,m]),g.useEffect(()=>{if(i){const b=v=>{const w=v.target,y={x:v.clientX,y:v.clientY},p=(c==null?void 0:c.contains(w))||(d==null?void 0:d.contains(w)),x=!TS(y,i);p?m():x&&(m(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,d,i,u,m]),a.jsx(Ny,{...e,ref:s})}),[bS,kS]=nl(by,{isInside:!1}),NS=bb("TooltipContent"),Ny=g.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...l}=e,c=rl(Co,n),u=Id(n),{onClose:d}=c;return g.useEffect(()=>(document.addEventListener(Gh,d),()=>document.removeEventListener(Gh,d)),[d]),g.useEffect(()=>{if(c.trigger){const f=m=>{const h=m.target;h!=null&&h.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),a.jsx(Ga,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:a.jsxs(hS,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[a.jsx(NS,{children:r}),a.jsx(bS,{scope:n,isInside:!0,children:a.jsx(Ub,{id:c.contentId,role:"tooltip",children:o||r})})]})})});ky.displayName=Co;var Sy="TooltipArrow",SS=g.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Id(n);return kS(Sy,n).isInside?null:a.jsx(pS,{...o,...r,ref:t})});SS.displayName=Sy;function jS(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function CS(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function ES(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function TS(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const l=t[s],c=t[i],u=l.x,d=l.y,f=c.x,m=c.y;d>r!=m>r&&n<(f-u)*(r-d)/(m-d)+u&&(o=!o)}return o}function RS(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),PS(t)}function PS(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var AS=wy,jy=ky;const LS=AS,OS=g.forwardRef(({className:e,sideOffset:t=4,...n},r)=>a.jsx(jy,{ref:r,sideOffset:t,className:ee("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
266de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));OS.displayName=jy.displayName;var ol=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},sl=typeof window>"u"||"Deno"in globalThis;function yt(){}function MS(e,t){return typeof e=="function"?e(t):e}function IS(e){return typeof e=="number"&&e>=0&&e!==1/0}function DS(e,t){return Math.max(e+(t||0)-Date.now(),0)}function yu(e,t){return typeof e=="function"?e(t):e}function _S(e,t){return typeof e=="function"?e(t):e}function Qh(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:l}=e;if(i){if(r){if(t.queryHash!==Dd(i,t.options))return!1}else if(!Os(t.queryKey,i))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||s&&!s(t))}function qh(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Ls(t.options.mutationKey)!==Ls(s))return!1}else if(!Os(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Dd(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ls)(e)}function Ls(e){return JSON.stringify(e,(t,n)=>xu(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Os(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Os(e[n],t[n])):!1}function Cy(e,t){if(e===t)return e;const n=Jh(e)&&Jh(t);if(n||xu(e)&&xu(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),i=s.length,l=n?[]:{},c=new Set(r);let u=0;for(let d=0;d<i;d++){const f=n?d:s[d];(!n&&c.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(l[f]=void 0,u++):(l[f]=Cy(e[f],t[f]),l[f]===e[f]&&e[f]!==void 0&&u++)}return o===i&&u===o?e:l}return t}function Jh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function xu(e){if(!Xh(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Xh(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Xh(e){return Object.prototype.toString.call(e)==="[object Object]"}function FS(e){return new Promise(t=>{setTimeout(t,e)})}function zS(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Cy(e,t):t}function $S(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function BS(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var _d=Symbol();function Ey(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===_d?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var lr,Cn,co,jp,HS=(jp=class extends ol{constructor(){super();Z(this,lr);Z(this,Cn);Z(this,co);H(this,co,t=>{if(!sl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){E(this,Cn)||this.setEventListener(E(this,co))}onUnsubscribe(){var t;this.hasListeners()||((t=E(this,Cn))==null||t.call(this),H(this,Cn,void 0))}setEventListener(t){var n;H(this,co,t),(n=E(this,Cn))==null||n.call(this),H(this,Cn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){E(this,lr)!==t&&(H(this,lr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof E(this,lr)=="boolean"?E(this,lr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},lr=new WeakMap,Cn=new WeakMap,co=new WeakMap,jp),Ty=new HS,uo,En,fo,Cp,WS=(Cp=class extends ol{constructor(){super();Z(this,uo,!0);Z(this,En);Z(this,fo);H(this,fo,t=>{if(!sl&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){E(this,En)||this.setEventListener(E(this,fo))}onUnsubscribe(){var t;this.hasListeners()||((t=E(this,En))==null||t.call(this),H(this,En,void 0))}setEventListener(t){var n;H(this,fo,t),(n=E(this,En))==null||n.call(this),H(this,En,t(this.setOnline.bind(this)))}setOnline(t){E(this,uo)!==t&&(H(this,uo,t),this.listeners.forEac
vendor: 18,964 bytes, line 266
266h(r=>{r(t)}))}isOnline(){return E(this,uo)}},uo=new WeakMap,En=new WeakMap,fo=new WeakMap,Cp),Sa=new WS;function US(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function VS(e){return Math.min(1e3*2**e,3e4)}function Ry(e){return(e??"online")==="online"?Sa.isOnline():!0}var Py=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Zl(e){return e instanceof Py}function Ay(e){let t=!1,n=0,r=!1,o;const s=US(),i=v=>{var w;r||(m(new Py(v)),(w=e.abort)==null||w.call(e))},l=()=>{t=!0},c=()=>{t=!1},u=()=>Ty.isFocused()&&(e.networkMode==="always"||Sa.isOnline())&&e.canRun(),d=()=>Ry(e.networkMode)&&e.canRun(),f=v=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,v),o==null||o(),s.resolve(v))},m=v=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,v),o==null||o(),s.reject(v))},h=()=>new Promise(v=>{var w;o=y=>{(r||u())&&v(y)},(w=e.onPause)==null||w.call(e)}).then(()=>{var v;o=void 0,r||(v=e.onContinue)==null||v.call(e)}),b=()=>{if(r)return;let v;const w=n===0?e.initialPromise:void 0;try{v=w??e.fn()}catch(y){v=Promise.reject(y)}Promise.resolve(v).then(f).catch(y=>{var S;if(r)return;const p=e.retry??(sl?0:3),x=e.retryDelay??VS,k=typeof x=="function"?x(n,y):x,N=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,y);if(t||!N){m(y);return}n++,(S=e.onFail)==null||S.call(e,n,y),FS(k).then(()=>u()?void 0:h()).then(()=>{t?m(y):b()})})};return{promise:s,cancel:i,continue:()=>(o==null||o(),s),cancelRetry:l,continueRetry:c,canStart:d,start:()=>(d()?b():h().then(b),s)}}var YS=e=>setTimeout(e,0);function KS(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=YS;const s=l=>{t?e.push(l):o(()=>{n(l)})},i=()=>{const l=e;e=[],l.length&&o(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||i()}return c},batchCalls:l=>(...c)=>{s(()=>{l(...c)})},schedule:s,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var ze=KS(),cr,Ep,Ly=(Ep=class{constructor(){Z(this,cr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),IS(this.gcTime)&&H(this,cr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(sl?1/0:5*60*1e3))}clearGcTimeout(){E(this,cr)&&(clearTimeout(E(this,cr)),H(this,cr,void 0))}},cr=new WeakMap,Ep),ho,ur,st,dr,Me,Ds,fr,xt,qt,Tp,GS=(Tp=class extends Ly{constructor(t){super();Z(this,xt);Z(this,ho);Z(this,ur);Z(this,st);Z(this,dr);Z(this,Me);Z(this,Ds);Z(this,fr);H(this,fr,!1),H(this,Ds,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,dr,t.client),H(this,st,E(this,dr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,ho,qS(this.options)),this.state=t.state??E(this,ho),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=E(this,Me))==null?void 0:t.promise}setOptions(t){this.options={...E(this,Ds),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&E(this,st).remove(this)}setData(t,n){const r=zS(this.state.data,t,this.options);return Ae(this,xt,qt).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ae(this,xt,qt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=E(this,Me))==null?void 0:r.promise;return(o=E(this,Me))==null||o.cancel(t),n?n.then(yt).catch(yt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(E(this,ho))}isActive(){return this.observers.some(t=>_S(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===_d||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>yu(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!DS(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=E(this,Me))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=E(this,Me))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),E(this,st).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(E(this,Me)&&(E(this,fr)?E(this,Me).cancel({revert:!0}):E(this,Me).cancelRetry()),this.scheduleGc()),E(this,st).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ae(this,xt,qt).call(this,{type:"invalidate"})}fetch(t,n){var u,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(E(this,Me))return E(this,Me).continueRetry(),E(this,Me).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(h=>h.options.queryFn);m&&this.setOptions(m.options)}const r=new AbortController,o=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(H(this,fr,!0),r.signal)})},s=()=>{const m=Ey(this.options,n),b=(()=>{const v={client:E(this,dr),queryKey:this.queryKey,meta:this.meta};return o(v),v})();return H(this,fr,!1),this.options.persister?this.options.persister(m,b,this):m(b)},l=(()=>{const m={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:E(this,dr),state:this.state,fetchFn:s};return o(m),m})();(u=this.options.behavior)==null||u.onFetch(l,this),H(this,ur,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=l.fetchOptions)==null?void 0:d.meta))&&Ae(this,xt,qt).call(this,{type:"fetch",meta:(f=l.fetchOptions)==null?void 0:f.meta});const c=m=>{var h,b,v,w;Zl(m)&&m.silent||Ae(this,xt,qt).call(this,{type:"error",error:m}),Zl(m)||((b=(h=E(this,st).config).onError)==null||b.call(h,m,this),(w=(v=E(this,st).config).onSettled)==null||w.call(v,this.state.data,m,this)),this.scheduleGc()};return H(this,Me,Ay({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:m=>{var h,b,v,w;if(m===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(y){c(y);return}(b=(h=E(this,st).config).onSuccess)==null||b.call(h,m,this),(w=(v=E(this,st).config).onSettled)==null||w.call(v,m,this.state.error,this),this.scheduleGc()},onError:c,onFail:(m,h)=>{Ae(this,xt,qt).call(this,{type:"failed",failureCount:m,error:h})},onPause:()=>{Ae(this,xt,qt).call(this,{type:"pause"})},onContinue:()=>{Ae(this,xt,qt).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),E(this,Me).start()}},ho=new WeakMap,ur=new WeakMap,st=new WeakMap,dr=new WeakMap,Me=new WeakMap,Ds=new WeakMap,fr=new WeakMap,xt=new WeakSet,qt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...QS(r.data,this.options),fetchMeta:t.meta??null};case"success":return H(this,ur,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Zl(o)&&o.revert&&E(this,ur)?{...E(this,ur),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),ze.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),E(this,st).notify({query:this,type:"updated",action:t})})},Tp);function QS(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ry(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function qS(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Ot,Rp,JS=(Rp=class extends ol{constructor(t={}){super();Z(this,Ot);this.config=t,H(this,Ot,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??Dd(o,n);let i=this.get(s);return i||(i=new GS({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){E(this,Ot).has(t.queryHash)||(E(this,Ot).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=E(this,Ot).get(t.queryHash);n&&(t.destroy(),n===t&&E(this,Ot).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return E(this,Ot).get(t)}getAll(){return[...E(this,Ot).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Qh(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Qh(t,r)):n}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ze.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ze.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ot=new WeakMap,Rp),Mt,_e,hr,It,wn,Pp,XS=(Pp=class extends Ly{constructor(t){super();Z(this,It);Z(this,Mt);Z(this,_e);Z(this,hr);this.mutationId=t.mutationId,H(this,_e,t.mutationCache),H(this,Mt,[]),this.state=t.state||ZS(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){E(this,Mt).includes(t)||(E(this,Mt).push(t),this.clearGcTimeout(),E(this,_e).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Mt,E(this,Mt).filter(n=>n!==t)),this.scheduleGc(),E(this,_e).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){E(this,Mt).length||(this.state.status==="pending"?this.scheduleGc():E(this,_e).remove(this))}continue(){var t;return((t=E(this,hr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,i,l,c,u,d,f,m,h,b,v,w,y,p,x,k,N,S,j,P;const n=()=>{Ae(this,It,wn).call(this,{type:"continue"})};H(this,hr,Ay({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(L,O)=>{Ae(this,It,wn).call(this,{type:"failed",failureCount:L,error:O})},onPause:()=>{Ae(this,It,wn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>E(this,_e).canRun(this)}));const r=this.state.status==="pending",o=!E(this,hr).canStart();try{if(r)n();else{Ae(this,It,wn).call(this,{type:"pending",variables:t,isPaused:o}),await((i=(s=E(this,_e).config).onMutate)==null?void 0:i.call(s,t,this));const O=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t));O!==this.state.context&&Ae(this,It,wn).call(this,{type:"pending",context:O,variables:t,isPaused:o})}const L=await E(this,hr).start();return await((d=(u=E(this,_e).config).onSuccess)==null?void 0:d.call(u,L,t,this.state.context,this)),await((m=(f=this.options).onSuccess)==null?void 0:m.call(f,L,t,this.state.context)),await((b=(h=E(this,_e).config).onSettled)==null?void 0:b.call(h,L,null,this.state.variables,this.state.context,this)),await((w=(v=this.options).onSettled)==null?void 0:w.call(v,L,null,t,this.state.context)),Ae(this,It,wn).call(this,{type:"success",data:L}),L}catch(L){try{throw await((p=(y=E(this,_e).config).onError)==null?void 0:p.call(y,L,t,this.state.context,this)),await((k=(x=this.options).onError)==null?void 0:k.call(x,L,t,this.state.context)),await((S=(N=E(this,_e).config).onSettled)==null?void 0:S.call(N,void 0,L,this.state.variables,this.state.context,this)),await((P=(j=this.options).onSettled)==null?void 0:P.call(j,void 0,L,t,this.state.context)),L}finally{Ae(this,It,wn).call(this,{type:"error",error:L})}}finally{E(this,_e).runNext(this)}}},Mt=new WeakMap,_e=new WeakMap,hr=new WeakMap,It=new WeakSet,wn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),ze.batch(()=>{E(this,Mt).forEach(r=>{r.onMutationUpdate(t)}),E(this,_e).notify({mutation:this,type:"updated",action:t})})},Pp);function ZS(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Zt,wt,_s,Ap,ej=(Ap=class extends ol{constructor(t={}){super();Z(this,Zt);Z(this,wt);Z(this,_s);this.config=t,H(this,Zt,new Set),H(this,wt,new Map),H(this,_s,0)}build(t,n,r){const o=new XS({mutationCache:this,mutationId:++ei(this,_s)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){E(this,Zt).add(t);const n=Ni(t);if(typeof n=="string"){const r=E(this,wt).get(n);r?r.push(t):E(this,wt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(E(this,Zt).delete(t)){const n=Ni(t);if(typeof n=="string"){const r=E(this,wt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&E(this,wt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ni(t);if(typeof n=="string"){const r=E(this,wt).get(n),o=r==null?void 0:r.find(s=>s.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=Ni(t);if(typeof n=="string"){const o=(r=E(this,wt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ze.batch(()=>{E(this,Zt).forEach(t=>{this.notify({type:"removed",mutation:t})}),E(this,Zt).clear(),E(this,wt).clear()})}getAll(){return Array.from(E(this,Zt))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>qh(n,r))}findAll(t={}){return this.getAll().filter(n=>qh(t,n))}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ze.batch(()=>Promise.all(t.map(n=>n.continue().catch(yt))))}},Zt=new WeakMap,wt=new WeakMap,_s=new WeakMap,Ap);function Ni(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Zh(e){return{onFetch:(t,n)=>{var d,f,m,h,b;const r=t.options,o=(m=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:m.direction,s=((h=t.state.data)==null?void 0:h.pages)||[],i=((b=t.state.data)==null?void 0:b.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let v=!1;const w=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},y=Ey(t.options,t.fetchOptions),p=async(x,k,N)=>{if(v)return Promise.reject();if(k==null&&x.pages.length)return Promise.resolve(x);const j=(()=>{const z={client:t.client,queryKey:t.queryKey,pageParam:k,direction:N?"backward":"forward",meta:t.options.meta};return w(z),z})(),P=await y(j),{maxPages:L}=t.options,O=N?BS:$S;return{pages:O(x.pages,P,L),pageParams:O(x.pageParams,k,L)}};if(o&&s.length){const x=o==="backward",k=x?tj:ep,N={pages:s,pageParams:i},S=k(r,N);l=await p(N,S,x)}else{const x=e??s.length;do{const k=c===0?i[0]??r.initialPageParam:ep(r,l);if(c>0&&k==null)break;l=await p(l,k),c++}while(c<x)}return l};t.options.persister?t.fetchFn=()=>{var v,w;return(w=(v=t.options).persister)==null?void 0:w.call(v,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function ep(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function tj(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var me,Tn,Rn,po,mo,Pn,go,vo,Lp,nj=(Lp=class{constructor(e={}){Z(this,me);Z(this,Tn);Z(this,Rn);Z(this,po);Z(this,mo);Z(this,Pn);Z(this,go);Z(this,vo);H(this,me,e.queryCache||new JS),H(this,Tn,e.mutationCache||new ej),H(this,Rn,e.defaultOptions||{}),H(this,po,new Map),H(this,mo,new Map),H(this,Pn,0)}mount(){ei(this,Pn)._++,E(this,Pn)===1&&(H(this,go,Ty.subscribe(async e=>{e&&(await this.resumePausedMutations(),E(this,me).onFocus())})),H(this,vo,Sa.subscribe(async e=>{e&&(await this.resumePausedMutations(),E(this,me).onOnline())})))}unmount(){var e,t;ei(this,Pn)._--,E(this,Pn)===0&&((e=E(this,go))==null||e.call(this),H(this,go,void 0),(t=E(this,vo))==null||t.call(this),H(this,vo,void 0))}isFetching(e){return E(this,me).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return E(this,Tn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=E(this,me).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=E(this,me).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(yu(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return E(this,me).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=E(this,me).get(r.queryHash),s=o==null?void 0:o.state.data,i=MS(t,s);if(i!==void 0)return E(this,me).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return ze.batch(()=>E(this,me).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=E(this,me).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=E(this,me);ze.batch(()=>
266{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=E(this,me);return ze.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=ze.batch(()=>E(this,me).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(yt).catch(yt)}invalidateQueries(e,t={}){return ze.batch(()=>(E(this,me).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=ze.batch(()=>E(this,me).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(yt)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(yt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=E(this,me).build(this,t);return n.isStaleByTime(yu(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(yt).catch(yt)}fetchInfiniteQuery(e){return e.behavior=Zh(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(yt).catch(yt)}ensureInfiniteQueryData(e){return e.behavior=Zh(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Sa.isOnline()?E(this,Tn).resumePausedMutations():Promise.resolve()}getQueryCache(){return E(this,me)}getMutationCache(){return E(this,Tn)}getDefaultOptions(){return E(this,Rn)}setDefaultOptions(e){H(this,Rn,e)}setQueryDefaults(e,t){E(this,po).set(Ls(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...E(this,po).values()],n={};return t.forEach(r=>{Os(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){E(this,mo).set(Ls(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...E(this,mo).values()],n={};return t.forEach(r=>{Os(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...E(this,Rn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Dd(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===_d&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...E(this,Rn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){E(this,me).clear(),E(this,Tn).clear()}},me=new WeakMap,Tn=new WeakMap,Rn=new WeakMap,po=new WeakMap,mo=new WeakMap,Pn=new WeakMap,go=new WeakMap,vo=new WeakMap,Lp),rj=g.createContext(void 0),oj=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),a.jsx(rj.Provider,{value:e,children:t}));/** 267 * @remix-run/router v1.23.0 268 * 269 * Copyright (c) Remix Software Inc. 270 * 271 * This source code is licensed under the MIT license found in the 272 * LICENSE.md file in the root directory of this source tree. 273 * 274 * @license MIT 275 */function Ms(){return Ms=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ms.apply(this,arguments)}var On;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(On||(On={}));const tp="popstate";function sj(e){e===void 0&&(e={});function t(r,o){let{pathname:s,search:i,hash:l}=r.location;return wu("",{pathname:s,search:i,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:ja(o)}return aj(t,n,null,e)}function we(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Oy(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ij(){return Math.random().toString(36).substr(2,8)}function np(e,t){return{usr:e.state,key:e.key,idx:t}}function wu(e,t,n,r){return n===void 0&&(n=null),Ms({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Io(t):t,{state:n,key:t&&t.key||r||ij()})}function ja(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Io(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function aj(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,l=On.Pop,c=null,u=d();u==null&&(u=0,i.replaceState(Ms({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function f(){l=On.Pop;let w=d(),y=w==null?null:w-u;u=w,c&&c({action:l,location:v.location,delta:y})}function m(w,y){l=On.Push;let p=wu(v.location,w,y);u=d()+1;let x=np(p,u),k=v.createHref(p);try{i.pushState(x,"",k)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;o.location.assign(k)}s&&c&&c({action:l,location:v.location,delta:1})}function h(w,y){l=On.Replace;let p=wu(v.location,w,y);u=d();let x=np(p,u),k=v.createHref(p);i.replaceState(x,"",k),s&&c&&c({action:l,location:v.location,delta:0})}function b(w){let y=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof w=="string"?w:ja(w);return p=p.replace(/ $/,"%20"),we(y,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,y)}let v={get action(){return l},get location(){return e(o,i)},listen(w){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(tp,f),c=w,()=>{o.removeEventListener(tp,f),c=null}},createHref(w){return t(o,w)},createURL:b,encodeLocation(w){let y=b(w);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:m,replace:h,go(w){return i.go(w)}};return v}var rp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(rp||(rp={}));
vendor: 9,121 bytes, lines 275-284
275function lj(e,t,n){return n===void 0&&(n="/"),cj(e,t,n,!1)}function cj(e,t,n,r){let o=typeof t=="string"?Io(t):t,s=Fd(o.pathname||"/",n);if(s==null)return null;let i=My(e);uj(i);let l=null;for(let c=0;l==null&&c<i.length;++c){let u=bj(s);l=xj(i[c],u,r)}return l}function My(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(s,i,l)=>{let c={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};c.relativePath.startsWith("/")&&(we(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=Hn([r,c.relativePath]),d=n.concat(c);s.children&&s.children.length>0&&(we(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),My(s.children,t,d,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:vj(u,s.index),routesMeta:d})};return e.forEach((s,i)=>{var l;if(s.path===""||!((l=s.path)!=null&&l.includes("?")))o(s,i);else for(let c of Iy(s.path))o(s,i,c)}),t}function Iy(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let i=Iy(r.join("/")),l=[];return l.push(...i.map(c=>c===""?s:[s,c].join("/"))),o&&l.push(...i),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function uj(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:yj(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const dj=/^:[\w-]+$/,fj=3,hj=2,pj=1,mj=10,gj=-2,op=e=>e==="*";function vj(e,t){let n=e.split("/"),r=n.length;return n.some(op)&&(r+=gj),t&&(r+=hj),n.filter(o=>!op(o)).reduce((o,s)=>o+(dj.test(s)?fj:s===""?pj:mj),r)}function yj(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function xj(e,t,n){let{routesMeta:r}=e,o={},s="/",i=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,d=s==="/"?t:t.slice(s.length)||"/",f=sp({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),m=c.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=sp({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},d)),!f)return null;Object.assign(o,f.params),i.push({params:o,pathname:Hn([s,f.pathname]),pathnameBase:jj(Hn([s,f.pathnameBase])),route:m}),f.pathnameBase!=="/"&&(s=Hn([s,f.pathnameBase]))}return i}function sp(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=wj(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:m,isOptional:h}=d;if(m==="*"){let v=l[f]||"";i=s.slice(0,s.length-v.length).replace(/(.)\/+$/,"$1")}const b=l[f];return h&&!b?u[m]=void 0:u[m]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:i,pattern:e}}function wj(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Oy(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function bj(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Oy(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Fd(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function kj(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Io(e):e;return{pathname:n?n.startsWith("/")?n:Nj(n,t):t,search:Cj(r),hash:Ej(o)}}function Nj(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function ec(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Sj(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Dy(e,t){let n=Sj(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function _y(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Io(e):(o=Ms({},e),we(!o.pathname||!o.pathname.includes("?"),ec("?","pathname","search",o)),we(!o.pathname||!o.pathname.includes("#"),ec("#","pathname","hash",o)),we(!o.search||!o.search.includes("#"),ec("#","search","hash",o)));let s=e===""||o.pathname==="",i=s?"/":o.pathname,l;if(i==null)l=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),f-=1;o.pathname=m.join("/")}l=f>=0?t[f]:"/"}let c=kj(o,l),u=i&&i!=="/"&&i.endsWith("/"),d=(s||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const Hn=e=>e.join("/").replace(/\/\/+/g,"/"),jj=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Cj=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Ej=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Tj(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Fy=["post","put","patch","delete"];new Set(Fy);const Rj=["get",...Fy];new Set(Rj);/** 276 * React Router v6.30.1 277 * 278 * Copyright (c) Remix Software Inc. 279 * 280 * This source code is licensed under the MIT license found in the 281 * LICENSE.md file in the root directory of this source tree. 282 * 283 * @license MIT 284 */function Is(){return Is=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Is.apply(this,arguments)}const zd=g.createContext(null),Pj=g.createContext(null),Er=g.createContext(null),il=g.createContext(null),Tr=g.createContext({outlet:null,matches:[],isDataRoute:!1}),zy=g.createContext(null);function Aj(e,t){let{relative:n}=t===void 0?{}:t;Qs()||we(!1);let{basename:r,navigator:o}=g.useContext(Er),{hash:s,pathname:i,search:l}=By(e,{relative:n}),c=i;return r!=="/"&&(c=i==="/"?r:Hn([r,i])),o.createHref({pathname:c,search:l,hash:s})}function Qs(){return g.useContext(il)!=null}function qs(){return Qs()||we(!1),g.useContext(il).location}function $y(e){g.useContext(Er).static||g.useLayoutEffect(e)}function Lj(){let{isDataRoute:e}=g.useContext(Tr);return e?Vj():Oj()}function Oj(){Qs()||we(!1);let e=g.useContext(zd),{basename:t,future:n,navigator:r}=g.useContext(Er),{matches:o}=g.useContext(Tr),{pathname:s}=qs(),i=JSON.stringify(Dy(o,n.v7_relativeSplatPath)),l=g.useRef(!1);return $y(()=>{l.current=!0}),g.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=_y(u,JSON.parse(i),s,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Hn([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,i,s,e])}function By(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=g.useContext(Er),{matches:o}=g.useContext(Tr),{pathname:s}=qs(),i=JSON.stringify(Dy(o,r.v7_relativeSplatPath));return g.useMemo(()=>_y(e,JSON.parse(i),s,n==="path"),[e,i,s,n])}function Mj(e,t){return Ij(e,t)}function Ij(e,t,n,r){Qs()||we(!1);let{navigator:o}=g.useContext(Er),{matches:s}=g.useContext(Tr),i=s[s.length-1],l=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let u=qs(),d;if(t){var f;let w=typeof t=="string"?Io(t):t;c==="/"||(f=w.pathname)!=null&&f.startsWith(c)||we(!1),d=w}else d=u;let m=d.pathname||"/",h=m;if(c!=="/"){let w=c.replace(/^\//,"").split("/");h="/"+m.replace(/^\//,"").split("/").slice(w.length).join("/")}let b=lj(e,{pathname:h}),v=$j(b&&b.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:Hn([c,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:Hn([c,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&v?g.createElement(il.Provider,{value:{location:Is({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:On.Pop}},v):v}function Dj(){let e=Uj(),t=Tj(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application
284Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},t),n?g.createElement("pre",{style:o},n):null,null)}const _j=g.createElement(Dj,null);class Fj extends g.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?g.createElement(Tr.Provider,{value:this.props.routeContext},g.createElement(zy.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function zj(e){let{routeContext:t,match:n,children:r}=e,o=g.useContext(zd);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),g.createElement(Tr.Provider,{value:t},r)}function $j(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let d=i.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);d>=0||we(!1),i=i.slice(0,Math.min(i.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<i.length;d++){let f=i[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:m,errors:h}=n,b=f.route.loader&&m[f.route.id]===void 0&&(!h||h[f.route.id]===void 0);if(f.route.lazy||b){c=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((d,f,m)=>{let h,b=!1,v=null,w=null;n&&(h=l&&f.route.id?l[f.route.id]:void 0,v=f.route.errorElement||_j,c&&(u<0&&m===0?(b=!0,w=null):u===m&&(b=!0,w=f.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,m+1)),p=()=>{let x;return h?x=v:b?x=w:f.route.Component?x=g.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,g.createElement(zj,{match:f,routeContext:{outlet:d,matches:y,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||m===0)?g.createElement(Fj,{location:n.location,revalidation:n.revalidation,component:v,error:h,children:p(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):p()},null)}var Hy=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Hy||{}),Ca=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ca||{});function Bj(e){let t=g.useContext(zd);return t||we(!1),t}function Hj(e){let t=g.useContext(Pj);return t||we(!1),t}function Wj(e){let t=g.useContext(Tr);return t||we(!1),t}function Wy(e){let t=Wj(),n=t.matches[t.matches.length-1];return n.route.id||we(!1),n.route.id}function Uj(){var e;let t=g.useContext(zy),n=Hj(Ca.UseRouteError),r=Wy(Ca.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Vj(){let{router:e}=Bj(Hy.UseNavigateStable),t=Wy(Ca.UseNavigateStable),n=g.useRef(!1);return $y(()=>{n.current=!0}),g.useCallback(function(o,s){s===void 0&&(s={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Is({fromRouteId:t},s)))},[e,t])}function Yj(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function es(e){we(!1)}function Kj(e){let{basename:t="/",children:n=null,location:r,navigationType:o=On.Pop,navigator:s,static:i=!1,future:l}=e;Qs()&&we(!1);let c=t.replace(/^\/*/,"/"),u=g.useMemo(()=>({basename:c,navigator:s,static:i,future:Is({v7_relativeSplatPath:!1},l)}),[c,l,s,i]);typeof r=="string"&&(r=Io(r));
284let{pathname:d="/",search:f="",hash:m="",state:h=null,key:b="default"}=r,v=g.useMemo(()=>{let w=Fd(d,c);return w==null?null:{location:{pathname:w,search:f,hash:m,state:h,key:b},navigationType:o}},[c,d,f,m,h,b,o]);return v==null?null:g.createElement(Er.Provider,{value:u},g.createElement(il.Provider,{children:n,value:v}))}function Gj(e){let{children:t,location:n}=e;return Mj(bu(t),n)}new Promise(()=>{});function bu(e,t){t===void 0&&(t=[]);let n=[];return g.Children.forEach(e,(r,o)=>{if(!g.isValidElement(r))return;let s=[...t,o];if(r.type===g.Fragment){n.push.apply(n,bu(r.props.children,s));return}r.type!==es&&we(!1),!r.props.index||!r.props.children||we(!1);let i={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=bu(r.props.children,s)),n.push(i)}),n}/** 285 * React Router DOM v6.30.1 286 * 287 * Copyright (c) Remix Software Inc. 288 * 289 * This source code is licensed under the MIT license found in the 290 * LICENSE.md file in the root directory of this source tree. 291 * 292 * @license MIT 293 */function ku(){return ku=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ku.apply(this,arguments)}function Qj(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function qj(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Jj(e,t){return e.button===0&&(!t||t==="_self")&&!qj(e)}const Xj=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Zj="6";try{window.__reactRouterVersion=Zj}catch{}const eC="startTransition",ip=Pu[eC];function tC(e){let{basename:t,children:n,future:r,window:o}=e,s=g.useRef();s.current==null&&(s.current=sj({window:o,v5Compat:!0}));let i=s.current,[l,c]=g.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},d=g.useCallback(f=>{u&&ip?ip(()=>c(f)):c(f)},[c,u]);return g.useLayoutEffect(()=>i.listen(d),[i,d]),g.useEffect(()=>Yj(r),[r]),g.createElement(Kj,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:i,future:r})}const nC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",rC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Eo=g.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:s,replace:i,state:l,target:c,to:u,preventScrollReset:d,viewTransition:f}=t,m=Qj(t,Xj),{basename:h}=g.useContext(Er),b,v=!1;if(typeof u=="string"&&rC.test(u)&&(b=u,nC))try{let x=new URL(window.location.href),k=u.startsWith("//")?new URL(x.protocol+u):new URL(u),N=Fd(k.pathname,h);k.origin===x.origin&&N!=null?u=N+k.search+k.hash:v=!0}catch{}let w=Aj(u,{relative:o}),y=oC(u,{replace:i,state:l,target:c,preventScrollReset:d,relative:o,viewTransition:f});function p(x){r&&r(x),x.defaultPrevented||y(x)}return g.createElement("a",ku({},m,{href:b||w,onClick:v||s?r:p,ref:n,target:c}))});var ap;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ap||(ap={}));var lp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(lp||(lp={}));function oC(e,t){let{target:n,replace:r,state:o,preventScrollReset:s,relative:i,viewTransition:l}=t===void 0?{}:t,c=Lj(),u=qs(),d=By(e,{relative:i});return g.useCallback(f=>{if(Jj(f,n)){f.preventDefault();let m=r!==void 0?r:ja(u)===ja(d);c(e,{replace:m,state:o,preventScrollReset:s,relative:i,viewTransition:l})}},[u,c,d,r,o,n,e,s,i,l])}const sC=Rv("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ke=g.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},s)=>{const i=r?xb:"button";return a.jsx(i,{className:ee(sC({variant:t,size:n,className:e})),ref:s,...o})});ke.displayName="Button";const cp=[{label:"About",href:"#about"},{label:"History",href:"#history"},{label:"Mission",href:"#mission"},{label:"Get Involved",href:"#involved"},{label:"Gallery",href:"#gallery"},{label:"Contact",href:"#contact"}],$d=()=>{const[e,t]=g.useState(!1);return a.jsx("header",{className:"fixed top-0 left-0 right-0 z-50 bg-background/95 backdrop-blur-md border-b border-border",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"flex items-center justify-between h-16 md:h-20",children:[a.jsxs("a",{href:"/",className:"flex items-center gap-2 group",children:[a.jsx("div",{className:"w-10 h-10 rounded-full ocean-gradient flex items-center justify-center",children:a.jsx(Ao,{className:"w-5 h-5 text-primary-foreground"})}),a.jsxs("div",{className:"hidden sm:block",children:[a.jsx("span",{className:"font-serif text-lg font-bold text-foreground",children:"Romer Shoal"}),a.jsx("span",{className:"block text-xs text-muted-foreground -mt-1",children:"Lighthouse Foundation"})]})]}),a.jsx("nav",{className:"hidden lg:flex items-center gap-1",children:cp.map(n=>a.jsx("a",{href:n.href,className:"px-4 py-2 text-sm font-medium text-muted-foreground hover:text-foreground transition-colors",children:n.label},n.label))}),a.jsx("div",{className:"hidden md:flex items-center gap-4",children:a.jsx(ke,{className:"bg-accent text-accent-foreground hover:bg-accent/90",asChild:!0,children:a.jsx("a",{href:"#donate",children:"Donate Now"})})}),a.jsx("button",{className:"lg:hidden p-2",onClick:()=>t(!e),"aria-label":"Toggle menu",children:e?a.jsx(Xa,{className:"w-6 h-6"}):a.jsx(j2,{className:"w-6 h-6"})})]}),e&&a.jsxs("nav",{className:"lg:hidden py-4 border-t border-border",children:[cp.map(n=>a.jsx("a",{href:n.href,className:"block px-4 py-3 text-base font-medium text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors",onClick:()=>t(!1),children:n.label},n.label)),a.jsx("div",{className:"px-4 pt-4",children:a.jsx(ke,{className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",asChild:!0,children:a.jsx("a",{href:"#donate",onClick:()=>t(!1),children:"Donate Now"})})})]})]})})},iC=()=>a.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('/images/romer-shoal-hero.jpg')"},children:a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/60 via-black/40 to-black/70"})}),a.jsx("div",{"aria-hidden":"true",className:"hidden md:block absolute right-0 top-1/2 -translate-y-1/2 w-[52%] h-[60%] z-[5] pointer-events-none",style:{backgroundImage:"url('/images/west-bank-light.jpg')",backgroundSize:"cover",backgroundPosition:"center",WebkitMaskImage:"radial-gradient(ellipse 75% 70% at 70% 50%, rgba(0,0,0,0.95) 40%, rgba(0,0,0,0.6) 65%, rgba(0,0,0,0) 90%)",maskImage:"radial-gradient(ellipse 75% 70% at 70% 50%, rgba(0,0,0,0.95) 40%, rgba(0,0,0,0.6) 65%, rgba(0,0,0,0) 90%)",mixBlendMode:"luminosity",opacity:.9}}),a.jsx("div",{"aria-hidden":"true",className:"hidden md:block absolute right-0 top-1/2 -translate-y-1/2 w-[52%] h-[60%] z-[6] pointer-events-none",style:{backgroundImage:"url('/images/west-bank-light.jpg')",backgroundSize:"cover",backgroundPosition:"center",WebkitMaskImage:"radial-gradient(ellipse 60% 55% at 72% 50%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%)",maskImage:"radial-gradient(ellipse 60% 55% at 72% 50%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%)",opacity:.85}}),a.jsx("div",{className:"hidden md:block absolute inset-0 bg-gradient-to-b from-black/30 via-trans
293parent to-black/50 z-[7] pointer-events-none"}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-32 z-10",children:a.jsx("svg",{viewBox:"0 0 1440 320",className:"absolute bottom-0 w-full",preserveAspectRatio:"none",children:a.jsx("path",{fill:"currentColor",className:"text-background",d:"M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"})})}),a.jsxs("div",{className:"relative z-20 container mx-auto px-4 flex flex-col min-h-screen",children:[a.jsxs("div",{className:"pt-24 md:pt-32 text-center",children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-black/30 backdrop-blur-md border border-white/20 text-white mb-6 animate-fade-in",children:[a.jsx(Ao,{className:"w-4 h-4"}),a.jsx("span",{className:"text-sm font-medium",children:"Preserving Maritime Heritage Since 1898"})]}),a.jsxs("h1",{className:"font-serif text-3xl md:text-5xl lg:text-6xl font-bold text-white animate-fade-in drop-shadow-2xl",style:{animationDelay:"0.1s"},children:["New York Harbor",a.jsx("span",{className:"block mt-2 text-2xl md:text-4xl lg:text-5xl text-lighthouse-amber drop-shadow-[0_0_30px_rgba(245,158,11,0.5)]",children:"Lighthouse Association"}),a.jsx("span",{className:"block mt-2 text-xl md:text-3xl lg:text-4xl text-white drop-shadow-2xl",children:"Romer Shoal Light/West Bank Light"})]})]}),a.jsx("div",{className:"mt-56 md:mt-72 lg:mt-80 max-w-xl text-left pl-0 md:pl-4 relative z-20",children:a.jsx("p",{className:"text-lg md:text-xl text-white/90 animate-fade-in drop-shadow-lg",style:{animationDelay:"0.2s"},children:"Dedicated to the preservation and restoration of two of New York Harbor's most iconic maritime landmarks â Beacons of history standing sentinel at the entrance to New York Harbor and a beam Ambrose channel, since 1898."})}),a.jsxs("div",{className:"mt-auto pb-40 md:pb-44 flex flex-col items-end text-right pr-4 md:pr-12",children:[a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-end animate-fade-in",style:{animationDelay:"0.3s"},children:[a.jsx(ke,{size:"lg",className:"bg-lighthouse-amber text-white hover:bg-lighthouse-amber/90 text-lg px-8 shadow-lg shadow-lighthouse-amber/25",children:"Support Our Mission"}),a.jsx(ke,{size:"lg",variant:"outline",className:"bg-transparent border-white/30 text-white hover:bg-white/10 text-lg px-8 backdrop-blur-sm",onClick:()=>{var e;return(e=document.getElementById("history"))==null?void 0:e.scrollIntoView({behavior:"smooth"})},children:"Explore the Story"})]}),a.jsx("div",{className:"grid grid-cols-3 gap-6 max-w-lg mt-10 animate-fade-in",style:{animationDelay:"0.4s"},children:[{value:"1898",label:"Year Built"},{value:"126+",label:"Years of Service"},{value:"$1.5M",label:"Funding Secured"}].map((e,t)=>a.jsxs("div",{className:"bg-black/20 backdrop-blur-sm rounded-lg p-4 border border-white/10 text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-lighthouse-amber drop-shadow-lg",children:e.value}),a.jsx("div",{className:"text-xs text-white/70",children:e.label})]},t))})]}),a.jsx("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 animate-bounce z-30",children:a.jsxs("a",{href:"#about",className:"flex flex-col items-center text-white/60 hover:text-white transition-colors",children:[a.jsx("span",{className:"text-xs mb-2 drop-shadow-lg",children:"Discover More"}),a.jsx(f2,{className:"w-5 h-5 drop-shadow-lg"})]})})]})]}),aC=()=>a.jsx("section",{id:"about",className:"py-24 bg-background",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[a.jsxs("div",{className:"relative",children:[a.jsxs("div",{className:"aspect-[4/3] rounded-2xl overflow-hidden relative",children:[a.jsx("iframe",{src:"https://maps.google.com/maps?q=40.515,-74.02&t=k&z=13&output=embed",className:"w-full h-full border-0",allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",title:"Romer Shoal and West Bank Lighthouses - Lower New York Harbor"}),a.jsxs("div",{className:"absolute bottom-4 left-4 right-4 flex justify-between pointer-events-none",children:[a.jsxs("a",{href:"https://www.google.com/maps/place/40%C2%B030'22.0%22N+74%C2%B000'47.0%22W",target:"_blank",rel:"noopener noreferrer",className:"pointer-events-auto bg-background/90 backdrop-blur-sm rounded-lg px-3 py-2 flex items-center gap-2 hover:bg-background transition-colors",children:[a.jsx(br,{className:"w-4 h-4 text-destructive"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-semibold text-foreground",children:"Romer Shoal Light"}),a.jsx("p",{className:"text-[10px] text-muted-foreground",children:`40°30'22"N 74°00'47"W`})]})]}),a.jsxs("a",{href:"https://www.google.com/maps/place/40%C2%B031'24.0%22N+74%C2%B002'06.0%22W",target:"_blank",rel:"noopener noreferrer",className:"pointer-events-auto bg-background/90 backdrop-blur-sm rounded-lg px-3 py-2 flex items-center gap-2 hover:bg-background transition-colors",children:[a.jsx(br,{className:"w-4 h-4 text-primary"}),a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-semibold text-foreground",children:"West Bank Light"}),a.jsx("p",{className:"text-[10px] text-muted-foreground",children:`40°31'24"N 74°02'06"W`})]})]})]})]}),a.jsx("div",{className:"absolute -bottom-6 -right-6 bg-card border border-border rounded-xl p-6 shadow-xl"})]}),a.jsxs("div",{children:[a.jsx("span",{className:"text-sm font-medium text-accent uppercase tracking-wider",children:"About the Lighthouse"}),a.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-bold text-foreground mt-4 mb-6",children:"A Guardian of the Harbor"}),a.jsx("p",{className:"text-lg text-muted-foreground mb-6 leading-relaxed",children:"Standing proudly at the entrance to Lower New York Harbor, the Romer Shoal Lighthouse has guided mariners safely through treacherous waters for over a century. Built in 1898, this iconic cast-iron structure represents the golden age of lighthouse construction."}),a.jsx("p",{className:"text-muted-foreground mb-8 leading-relaxed",children:"Today, both the Romer Shoal Lighthouse and the West Bank Lighthouse remain active Aids-to-Navigation (ATON), serving the thousands of vessels that pass through one of the world's busiest ports each year. Listed on the National Register of Historic Places, these lighthouses are irreplaceable pieces of American maritime heritage."}),a.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"flex items-start gap-4 p-4 rounded-lg bg-secondary/50",children:[a.jsx(Mv,{className:"w-6 h-6 text-primary flex-shrink-0"}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium text-foreground",children:"Active Since 1898"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:"Over 126 years of continuous service"})]})]}),a.jsxs("div",{className:"flex items-start gap-4 p-4 rounded-lg bg-secondary/50",children:[a.jsx(p2,{className:"w-6 h-6 text-primary flex-shrink-0"}),a.jsxs("div",{children:[a.jsx("div",{className:"font-medium text-foreground",children:"Cast-Iron Construction"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:"Classic sparkplug-style design"})]})]})]})]})]})})}),lC=[{name:"FEMA",logo:"/images/partners/fema-logo.png",url:"https://www.fema.gov",description:"Federal Emergency Management Agency"},{name:"NJ Historic Trust",logo:null,url:"https://www.njht.org",description:"New Jersey Historic Trust"},{name:"Rutgers University",logo:null,url:"https://www.rutgers.edu",description:"Rutgers, The State University of New Jersey"},{name:"Liberty Landing Marina",logo:null,url:"https://www.libertylanding.com",description:"Marina and Waterfront Destination"},{name:"NJ EDA",logo:null,url:"https://www.njeda.gov",description:"New Jersey Economic Development Authority"}],cC=()=>a.jsx("section",{className:"py-16 bg-secondary/30 border-y border-border",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("span",{className:"text-sm font-medium text-accent uppercase tracking-wider",children:"Our Partners & Supporters"}),a.jsx("h2",{className:"font-serif text-2xl md:text-3xl font-bold text-foreground mt-3",children:"Proudly Supported By"})]}),a.jsx("div",{className:"flex flex-wrap items-center justify-center gap-8 md:gap-12",children:lC.map(e=>a.jsxs("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"group flex flex-col items-center gap-2 transition-opacity hover:opacity-100 opacity-70",title:e.description,children:[e.logo?a.jsx("img",{src:e.logo,alt:`${e.name} logo`,className:"h-12 md:h-16 w-auto object-contain grayscale group-hover:grayscale-0 transition-all duration-300"}):a.jsx("div",{className:"h-12 md:h-16 flex items-center justify-center px-4 roun
293ded-lg bg-card border border-border",children:a.jsx("span",{className:"text-sm md:text-base font-bold text-foreground whitespace-nowrap",children:e.name})}),a.jsx("span",{className:"text-xs text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity",children:e.description})]},e.name))})]})}),Vt=g.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:ee("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));Vt.displayName="Card";const Uy=g.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:ee("flex flex-col space-y-1.5 p-6",e),...t}));Uy.displayName="CardHeader";const Vy=g.forwardRef(({className:e,...t},n)=>a.jsx("h3",{ref:n,className:ee("text-2xl font-semibold leading-none tracking-tight",e),...t}));Vy.displayName="CardTitle";const Yy=g.forwardRef(({className:e,...t},n)=>a.jsx("p",{ref:n,className:ee("text-sm text-muted-foreground",e),...t}));Yy.displayName="CardDescription";const Yt=g.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:ee("p-6 pt-0",e),...t}));Yt.displayName="CardContent";const uC=g.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:ee("flex items-center p-6 pt-0",e),...t}));uC.displayName="CardFooter";const dC=[{icon:xa,title:"Historical Preservation",description:"Protecting and restoring the Romer Shoal Lighthouse as a National Register Historic Property, preserving its legacy for future generations.",color:"text-primary"},{icon:S2,title:"Environmental Stewardship",description:"Partnering with organizations like Billion Oyster Project to restore the harbor's ecosystem and promote sustainable marine practices.",color:"text-ocean-end"},{icon:_v,title:"Navigational Safety",description:"Maintaining both lighthouses as active Aids-to-Navigation (ATON), ensuring safe passage for vessels entering New York Harbor.",color:"text-accent"}],fC=()=>a.jsx("section",{id:"mission",className:"py-24 bg-secondary/30",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[a.jsx("span",{className:"text-sm font-medium text-accent uppercase tracking-wider",children:"Our Mission"}),a.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-bold text-foreground mt-4 mb-6",children:"Three Pillars of Purpose"}),a.jsx("p",{className:"text-lg text-muted-foreground",children:"The Romer Shoal Lighthouse Foundation stands on three foundational pillars, each essential to our vision of preserving maritime heritage while serving the community and environment."})]}),a.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:dC.map((e,t)=>a.jsx(Vt,{className:"glass-card hover:shadow-xl transition-all duration-300 group",style:{animationDelay:`${t*.1}s`},children:a.jsxs(Yt,{className:"p-8",children:[a.jsx("div",{className:`w-16 h-16 rounded-2xl bg-secondary flex items-center justify-center mb-6 group-hover:scale-110 transition-transform ${e.color}`,children:a.jsx(e.icon,{className:"w-8 h-8"})}),a.jsx("h3",{className:"font-serif text-xl font-bold text-foreground mb-4",children:e.title}),a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e.description})]})},e.title))}),a.jsxs("div",{className:"mt-20 relative",children:[a.jsx("div",{className:"absolute inset-0 ocean-gradient rounded-3xl opacity-10"}),a.jsx("div",{className:"relative bg-card border border-border rounded-3xl p-8 md:p-12",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-8 items-center",children:[a.jsxs("div",{children:[a.jsx("span",{className:"text-sm font-medium text-lighthouse-amber uppercase tracking-wider",children:"Vision 2027"}),a.jsx("h3",{className:"font-serif text-2xl md:text-4xl font-bold text-foreground mt-4 mb-6",children:"Bring Romer Shoal Light Home"}),a.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"Our ambitious plan to engineer the safe removal and restoration of the historic lighthouse structure. Working with Rutgers University and leading preservation experts, we're developing innovative solutions to preserve this irreplaceable piece of maritime history."})]}),a.jsx("div",{className:"relative",children:a.jsx("div",{className:"aspect-square rounded-2xl bg-gradient-to-br from-primary/20 to-ocean-end/20 flex items-center justify-center",children:a.jsx("div",{className:"text-center",children:a.jsxs("a",{href:"https://npgallery.nps.gov/NRHP/AssetDetail/990d94d0-8683-4719-a533-d857cba14081",target:"_blank",rel:"noopener noreferrer",className:"inline-block text-accent hover:text-accent/80 underline underline-offset-4 transition-colors",children:[a.jsx(_v,{className:"w-16 h-16 mx-auto mb-4"}),a.jsx("span",{className:"text-2xl font-serif font-bold",children:"National Register of Historic Places"}),a.jsx("p",{className:"text-sm mt-2",children:"View Romer Shoal Lighthouse Listing"})]})})})})]})})]})]})});var Bd="Progress",Hd=100,[hC,LT]=qn(Bd),[pC,mC]=hC(Bd),Ky=g.forwardRef((e,t)=>
293{const{__scopeProgress:n,value:r=null,max:o,getValueLabel:s=gC,...i}=e;(o||o===0)&&!up(o)&&console.error(vC(`${o}`,"Progress"));const l=up(o)?o:Hd;r!==null&&!dp(r,l)&&console.error(yC(`${r}`,"Progress"));const c=dp(r,l)?r:null,u=Ea(c)?s(c,l):void 0;return a.jsx(pC,{scope:n,value:c,max:l,children:a.jsx(oe.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":Ea(c)?c:void 0,"aria-valuetext":u,role:"progressbar","data-state":qy(c,l),"data-value":c??void 0,"data-max":l,...i,ref:t})})});Ky.displayName=Bd;var Gy="ProgressIndicator",Qy=g.forwardRef((e,t)=>{const{__scopeProgress:n,...r}=e,o=mC(Gy,n);return a.jsx(oe.div,{"data-state":qy(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...r,ref:t})});Qy.displayName=Gy;function gC(e,t){return`${Math.round(e/t*100)}%`}function qy(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function Ea(e){return typeof e=="number"}function up(e){return Ea(e)&&!isNaN(e)&&e>0}function dp(e,t){return Ea(e)&&!isNaN(e)&&e<=t&&e>=0}function vC(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Hd}\`.`}function yC(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be: 294 - a positive number 295 - less than the value passed to \`max\` (or ${Hd} if no \`max\` prop is set) 296 - \`null\` or \`undefined\` if the progress is indeterminate. 297 298Defaulting to \`null\`.`}var Jy=Ky,xC=Qy;const Nu=g.forwardRef(({className:e,value:t,...n},r)=>a.jsx(Jy,{ref:r,className:ee("relative h-4 w-full overflow-hidden rounded-full bg-secondary",e),...n,children:a.jsx(xC,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));Nu.displayName=Jy.displayName;const wC=[{name:"Phase 1: Emergency Stabilization",description:"Caisson foundation repair and jetty reconstruction following Hurricane Sandy damage.",progress:75,status:"in-progress",funded:"$600,000 FEMA Grant"},{name:"Phase 2: Structural Restoration",description:"Cast-iron superstructure repair, window and door replacement, interior restoration.",progress:20,status:"in-progress",funded:"$500,000 NJ Historic Trust"},{name:"Phase 3: Lantern & Optics",description:"Restoration of the historic lantern room and installation of period-appropriate optics.",progress:0,status:"planned",funded:"Seeking Funding"},{name:"Phase 4: Public Access & Education",description:"Development of visitor access, interpretive displays, and educational programming.",progress:0,status:"planned",funded:"Seeking Funding"}],Xy=15e5,Zy=11e5,fp=Math.round(Zy/Xy*100),bC=()=>a.jsx("section",{id:"progress",className:"py-24 bg-secondary/30",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[a.jsx("span",{className:"text-sm font-medium text-accent uppercase tracking-wider",children:"Restoration Status"}),a.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-bold text-foreground mt-4 mb-6",children:"Bringing the Light Back"}),a.jsx("p",{className:"text-lg text-muted-foreground",children:"Track the progress of our multi-phase restoration effort. Every dollar brings us closer to saving these irreplaceable landmarks."})]}),a.jsx("div",{className:"max-w-2xl mx-auto mb-16",children:a.jsx(Vt,{className:"overflow-hidden",children:a.jsxs(Yt,{className:"p-8",children:[a.jsxs("div",{className:"flex items-end justify-between mb-3",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-sm text-muted-foreground",children:"Total Raised"}),a.jsxs("p",{className:"text-3xl font-bold text-foreground",children:["$",(Zy/1e6).toFixed(1),"M"]})]}),a.jsxs("div",{className:"text-right",children:[a.jsx("p",{className:"text-sm text-muted-foreground",children:"Goal"}),a.jsxs("p",{className:"text-xl font-bold text-muted-foreground",children:["$",(Xy/1e6).toFixed(1),"M"]})]})]}),a.jsx(Nu,{value:fp,className:"h-4 mb-2"}),a.jsxs("p",{className:"text-sm text-accent font-medium text-center",children:[fp,"% of our restoration goal reached"]})]})})}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-6 mb-16",children:[a.jsxs("div",{className:"relative rounded-2xl overflow-hidden group",children:[a.jsx("img",{src:"/images/romer-shoal-bw.jpg",alt:"Romer Shoal Lighthouse - Historic view",className:"w-full h-64 md:h-80 object-cover"}),a.jsxs("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 to-transparent p-6",children:[a.jsx("span",{className:"text-sm text-white/70",children:"Before Storm Damage"}),a.jsx("p",{className:"text-white font-serif text-lg font-bold",children:"Romer Shoal in its prime"})]})]}),a.jsxs("div",{className:"relative rounded-2xl overflow-hidden group",children:[a.jsx("img",{src:"/images/romer-shoal-2008.jpg",alt:"Romer Shoal Lighthouse - Current condition",className:"w-full h-64 md:h-80 object-cover"}),a.jsxs("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 to-transparent p-6",children:[a.jsx("span",{className:"text-sm text-white/70",children:"Current Condition"}),a.jsx("p",{className:"text-white font-serif text-lg font-bold",children:"Awaiting full restoration"})]})]})]}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-6",children:wC.map(e=>a.jsx(Vt,{className:`transition-all duration-300 ${e.status==="in-progress"?"border-accent/50
298shadow-md":"opacity-80"}`,children:a.jsxs(Yt,{className:"p-6",children:[a.jsxs("div",{className:"flex items-start justify-between mb-4",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[e.status==="in-progress"?a.jsx(Mv,{className:"w-5 h-5 text-accent"}):e.progress===100?a.jsx(y2,{className:"w-5 h-5 text-accent"}):a.jsx(x2,{className:"w-5 h-5 text-muted-foreground"}),a.jsx("span",{className:`text-xs font-medium px-2 py-0.5 rounded-full ${e.status==="in-progress"?"bg-accent/20 text-accent":"bg-secondary text-muted-foreground"}`,children:e.status==="in-progress"?"In Progress":"Planned"})]}),a.jsx("span",{className:"text-xs text-muted-foreground",children:e.funded})]}),a.jsx("h3",{className:"font-serif text-lg font-bold text-foreground mb-2",children:e.name}),a.jsx("p",{className:"text-sm text-muted-foreground mb-4 leading-relaxed",children:e.description}),e.status==="in-progress"&&a.jsxs("div",{children:[a.jsxs("div",{className:"flex justify-between text-xs text-muted-foreground mb-1",children:[a.jsx("span",{children:"Progress"}),a.jsxs("span",{children:[e.progress,"%"]})]}),a.jsx(Nu,{value:e.progress,className:"h-2"})]})]})},e.name))})]})}),kC=[{year:"1700",title:"Shoal Named",description:"Colonel Wolfgang William Romer sounds the waters of New York Bay on order of the governor of New York. The shoal is named after him.",icon:zv,category:"Origins"},{year:"1838",title:"First Daymark Erected",description:"Following appropriations of $25,000, Winslow Lewis surveys the shoal and erects the first granite day-beacon to warn mariners of the dangerous underwater hazard.",icon:Ao,category:"Construction"},{year:"1886",title:"First Light Established",description:"A 25-foot skeletal tower is erected atop the concrete pier with a gas-powered light. The unmanned beacon operates for up to 90 days on compressed gas.",icon:Ah,category:"Construction"},{year:"1898",title:"Current Lighthouse Built",description:"The present 54-foot sparkplug lighthouse is relocated from Staten Island Lighthouse Depot where it served as an experimental station. First lit on October 1 with a fourth-order Fresnel lens.",icon:Vi,category:"Construction",highlight:!0},{year:"1915-16",title:"Keeper Rhodes' Heroism",description:"Keeper William F. Rhodes is commended for multiple rescues. He once manned the station alone for two weeks when his assistant was lost at sea.",icon:uu,category:"Service"},{year:"1919",title:"WWI Naval Operations",description:"Six Navy signal quartermasters are stationed at the lighthouse to monitor all vessels entering and leaving New York Harbor during wartime operations.",icon:xa,category:"Military"},{year:"1935",title:"Tragic Accident",description:"Five men drown when an overloaded supply launch from the lighthouse tender Tulip sinks near the stationâthe first such loss in 25 years.",icon:Lh,category:"Tragedy"},{year:"1939",title:"Coast Guard Takes Over",description:"Romer Shoal Lighthouse, along with all U.S. navigational aids, is placed under Coast Guard control. Four-man crews rotate with weekly shore leave.",icon:xa,category:"Military"},{year:"1966",title:"Automation",description:"The Fresnel lens is replaced with a 190mm acrylic lens. The lighthouse no longer requires resident keepers, ending an era of human occupation.",icon:Ah,category:"Technology"},{year:"2006-07",title:"Historic Designation",description:"Romer Shoal Light Station is added to the New Jersey and National Registers of Historic Places for its significance in architecture, engineering, and maritime history.",icon:Vi,category:"Recognition"},{year:"2011",title:"Acquired by Foundation",description:"Romer Shoal Light is acquired by two local businessmen John Scalia of Staten Island and Keith Kilgannon of Madison NJ determined to restore the unique landmark.",icon:uu,category:"Preservation"},{year:"October 2012",title:"Hurricane Sandy",description:"Romer Shoal is devastated by the worst storm in decades, destroying the protective jetty and destabilizing the caisson. Stormwater washed through three floors of the light, blowing out doors and windows and wrecking the interior.",icon:Lh,category:"Tragedy",highlight:!0}
298,{year:"2014-15",title:"Major Grant Funding",description:"The foundation receives a $501,000 grant from NJ Historic Trust and $3.75 million in federal FEMA funding to repair Sandy damage.",icon:du,category:"Restoration"},{year:"2019-20",title:"Riprap Restoration",description:"Work is completed to repair the protective riprap breakwater surrounding the lighthouse, securing the foundation for future restoration efforts.",icon:du,category:"Restoration"},{year:"2027",title:"Vision: Bring the Light Home",description:"Strategic goal to engineer a lift and return Romer Shoal Light to land for comprehensive restoration and public access.",icon:Vi,category:"Future",highlight:!0}],NC={Origins:"bg-ocean-light/20 text-ocean-light border-ocean-light/30",Construction:"bg-lighthouse-amber/20 text-lighthouse-amber border-lighthouse-amber/30",Service:"bg-green-500/20 text-green-400 border-green-500/30",Military:"bg-blue-500/20 text-blue-400 border-blue-500/30",Tragedy:"bg-red-500/20 text-red-400 border-red-500/30",Technology:"bg-purple-500/20 text-purple-400 border-purple-500/30",Recognition:"bg-yellow-500/20 text-yellow-400 border-yellow-500/30",Preservation:"bg-teal-500/20 text-teal-400 border-teal-500/30",Restoration:"bg-orange-500/20 text-orange-400 border-orange-500/30",Future:"bg-lighthouse-amber/30 text-lighthouse-amber border-lighthouse-amber/50"};function SC(){return a.jsx("section",{id:"history",className:"py-16 bg-gradient-to-b from-ocean-dark/10 to-background",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full bg-ocean-light/10 text-ocean-light text-sm font-medium mb-4",children:"Since 1700"}),a.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-4",children:"A Legacy of Light"}),a.jsx("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto mb-6",children:"Over three centuries of guiding mariners safely through New York Harbor's treacherous waters."}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-3",children:[a.jsx(Eo,{to:"/history/romer-shoal",className:"inline-flex items-center px-5 py-2.5 rounded-lg bg-primary text-primary-foreground hover:bg-primary/90 text-sm font-medium transition-colors",children:"Full Romer Shoal History â"}),a.jsx(Eo,{to:"/history/west-bank",className:"inline-flex items-center px-5 py-2.5 rounded-lg bg-primary text-primary-foreground hover:bg-primary/90 text-sm font-medium transition-colors",children:"Full West Bank History â"})]})]}),a.jsxs("div",{className:"relative max-w-4xl mx-auto",children:[a.jsx("div",{className:"absolute left-4 md:left-1/2 top-0 bottom-0 w-0.5 bg-gradient-to-b from-ocean-light via-lighthouse-amber to-ocean-dark transform md:-translate-x-1/2"}),a.jsx("div",{className:"space-y-2",children:kC.map((e,t)=>{const n=e.icon,r=t%2===0;return a.jsxs("div",{className:ee("relative flex items-center gap-8","md:justify-center"),children:[a.jsx("div",{className:ee("ml-12 md:ml-0 md:w-[55%]",r?"md:mr-auto md:pr-8 md:text-right":"md:ml-auto md:pl-8 md:text-left","md:order-none",r?"":"md:order-2"),children:a.jsxs("div",{className:ee("p-4 rounded-xl border transition-all duration-300 hover:scale-[1.02]",e.highlight?"bg-gradient-to-br from-lighthouse-amber/10 to-ocean-light/5 border-lighthouse-amber/30 shadow-lg shadow-lighthouse-amber/10":"bg-card/50 border-border/50 hover:border-ocean-light/30"),children:[a.jsx("div",{className:ee("flex items-center gap-2 mb-2",r?"md:justify-end":"md:justify-start"),children:a.jsx("span",{className:ee("px-2 py-0.5 text-xs rounded-full border",NC[e.category]),children:e.category})}),a.jsx("h3",{className:ee("text-2xl md:text-3xl font-bold mb-1",e.highlight?"text-lighthouse-amber":"text-foreground"),children:e.year}),a.jsx("h4",{className:"text-lg font-semibold text-foreground mb-2",children:e.title}),a.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:e.description})]})}),a.jsx("div",{className:ee("absolute left-0 md:left-1/2 transform md:-translate-x-1/2","w-8 h-8 rounded-full flex items-center justify-center z-10",e.highlight?"bg-lighthouse
298-amber text-white shadow-lg shadow-lighthouse-amber/50":"bg-ocean-dark border-2 border-ocean-light/50 text-ocean-light"),children:a.jsx(n,{className:"w-4 h-4"})}),a.jsx("div",{className:ee("hidden md:block md:w-[45%]",r?"md:order-2":"")})]},t)})})]}),a.jsx("div",{className:"mt-12 grid grid-cols-2 md:grid-cols-4 gap-6 max-w-4xl mx-auto",children:[{value:"325+",label:"Years of History"},{value:"125+",label:"Years Standing"},{value:"15 nm",label:"Light Visibility"}].map((e,t)=>a.jsxs("div",{className:"text-center p-6 rounded-xl bg-ocean-dark/20 border border-ocean-light/10",children:[a.jsx("div",{className:"text-3xl md:text-4xl font-bold text-lighthouse-amber mb-1",children:e.value}),a.jsx("div",{className:"text-muted-foreground text-sm",children:e.label})]},t))})]})})}var tc="focusScope.autoFocusOnMount",nc="focusScope.autoFocusOnUnmount",hp={bubbles:!1,cancelable:!0},jC="FocusScope",e0=g.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[l,c]=g.useState(null),u=Ht(o),d=Ht(s),f=g.useRef(null),m=Re(t,v=>c(v)),h=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(r){let v=function(x){if(h.paused||!l)return;const k=x.target;l.contains(k)?f.current=k:bn(f.current,{select:!0})},w=function(x){if(h.paused||!l)return;const k=x.relatedTarget;k!==null&&(l.contains(k)||bn(f.current,{select:!0}))},y=function(x){if(document.activeElement===document.body)for(const N of x)N.removedNodes.length>0&&bn(l)};document.addEventListener("focusin",v),document.addEventListener("focusout",w);const p=new MutationObserver(y);return l&&p.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",w),p.disconnect()}}},[r,l,h.paused]),g.useEffect(()=>{if(l){mp.add(h);const v=document.activeElement;if(!l.contains(v)){const y=new CustomEvent(tc,hp);l.addEventListener(tc,u),l.dispatchEvent(y),y.defaultPrevented||(CC(AC(t0(l)),{select:!0}),document.activeElement===v&&bn(l))}return()=>{l.removeEventListener(tc,u),setTimeout(()=>{const y=new CustomEvent(nc,hp);l.addEventListener(nc,d),l.dispatchEvent(y),y.defaultPrevented||bn(v??document.body,{select:!0}),l.removeEventListener(nc,d),mp.remove(h)},0)}}},[l,u,d,h]);const b=g.useCallback(v=>{if(!n&&!r||h.paused)return;const w=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,y=document.activeElement;if(w&&y){const p=v.currentTarget,[x,k]=EC(p);x&&k?!v.shiftKey&&y===k?(v.preventDefault(),n&&bn(x,{select:!0})):v.shiftKey&&y===x&&(v.preventDefault(),n&&bn(k,{select:!0})):y===p&&v.preventDefault()}},[n,r,h.paused]);return a.jsx(oe.div,{tabIndex:-1,...i,ref:m,onKeyDown:b})});e0.displayName=jC;function CC(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(bn(r,{select:t}),document.activeElement!==n)return}function EC(e){const t=t0(e),n=pp(t,e),r=pp(t.reverse(),e);return[n,r]}function t0(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function pp(e,t){for(const n of e)if(!TC(n,{upTo:t}))return n}function TC(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function RC(e){return e instanceof HTMLInputElement&&"select"in e}function bn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&RC(e)&&t&&e.select()}}var mp=PC();function PC(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=gp(e,t),e.unshift(t)},remove(t){var n;e=gp(e,t),(n=e[0])==null||n.resume()}}}function gp(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function AC(e){return e.filter(t=>t.tagName!=="A")}var rc=0;function LC(){g.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??vp()),document.body.insertAdjacentElement("beforeend",e[1]??vp()),rc++,()=>{rc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),rc--}},[])}function vp(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 5,651 bytes, lines 298-313
298style.position="fixed",e.style.pointerEvents="none",e}var _t=function(){return _t=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},_t.apply(this,arguments)};function n0(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function OC(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Ki="right-scroll-bar-position",Gi="width-before-scroll-bar",MC="with-scroll-bars-hidden",IC="--removed-body-scroll-bar-size";function oc(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function DC(e,t){var n=g.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var _C=typeof window<"u"?g.useLayoutEffect:g.useEffect,yp=new WeakMap;function FC(e,t){var n=DC(null,function(r){return e.forEach(function(o){return oc(o,r)})});return _C(function(){var r=yp.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(l){s.has(l)||oc(l,null)}),s.forEach(function(l){o.has(l)||oc(l,i)})}yp.set(n,e)},[e]),n}function zC(e){return e}function $C(e,t){t===void 0&&(t=zC);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(l){return l!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(l){return s(l)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var l=n;n=[],l.forEach(s),i=n}var c=function(){var d=i;i=[],d.forEach(s)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(d){i.push(d),u()},filter:function(d){return i=i.filter(d),n}}}};return o}function BC(e){e===void 0&&(e={});var t=$C(null);return t.options=_t({async:!0,ssr:!1},e),t}var r0=function(e){var t=e.sideCar,n=n0(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return g.createElement(r,_t({},n))};r0.isSideCarExport=!0;function HC(e,t){return e.useMedium(t),r0}var o0=BC(),sc=function(){},al=g.forwardRef(function(e,t){var n=g.useRef(null),r=g.useState({onScrollCapture:sc,onWheelCapture:sc,onTouchMoveCapture:sc}),o=r[0],s=r[1],i=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,m=e.sideCar,h=e.noRelative,b=e.noIsolation,v=e.inert,w=e.allowPinchZoom,y=e.as,p=y===void 0?"div":y,x=e.gapMode,k=n0(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=m,S=FC([n,t]),j=_t(_t({},k),o);return g.createElement(g.Fragment,null,d&&g.createElement(N,{sideCar:o0,removeScrollBar:u,shards:f,noRelative:h,noIsolation:b,inert:v,setCallbacks:s,allowPinchZoom:!!w,lockRef:n,gapMode:x}),i?g.cloneElement(g.Children.only(l),_t(_t({},j),{ref:S})):g.createElement(p,_t({},j,{className:c,ref:S}),l))});al.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};al.classNames={fullWidth:Gi,zeroRight:Ki};var WC=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function UC(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=WC();return t&&e.setAttribute("nonce",t),e}function VC(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function YC(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var KC=function(){var e=0,t=null;return{add:function(n){e==0&&(t=UC())&&(VC(t,n),YC(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},GC=function(){var e=KC();return function(t,n){g.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},s0=function(){var e=GC(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},QC={left:0,top:0,right:0,gap:0},ic=function(e){return parseInt(e||"",10)||0},qC=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[ic(n),ic(r),ic(o)]},JC=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return QC;var t=qC(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},XC=s0(),lo="data-scroll-locked",ZC=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,l=e.gap;return n===void 0&&(n="margin"),` 299 .`.concat(MC,` { 300 overflow: hidden `).concat(r,`; 301 padding-right: `).concat(l,"px ").concat(r,`; 302 } 303 body[`).concat(lo,`] { 304 overflow: hidden `).concat(r,`; 305 overscroll-behavior: contain; 306 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 307 padding-left: `.concat(o,`px; 308 padding-top: `).concat(s,`px; 309 padding-right: `).concat(i,`px; 310 margin-left:0; 311 margin-top:0; 312 margin-right: `).concat(l,"px ").concat(r,`; 313 `),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";
313")].filter(Boolean).join(""),` 314 } 315 316 .`).concat(Ki,` { 317 right: `).concat(l,"px ").concat(r,`; 318 } 319 320 .`).concat(Gi,` { 321 margin-right: `).concat(l,"px ").concat(r,`; 322 } 323 324 .`).concat(Ki," .").concat(Ki,` { 325 right: 0 `).concat(r,`; 326 } 327 328 .`).concat(Gi," .").concat(Gi,` { 329 margin-right: 0 `).concat(r,`; 330 } 331 332 body[`).concat(lo,`] { 333 `).concat(IC,": ").concat(l,`px; 334 } 335`)},xp=function(){var e=parseInt(document.body.getAttribute(lo)||"0",10);return isFinite(e)?e:0},eE=function(){g.useEffect(function(){return document.body.setAttribute(lo,(xp()+1).toString()),function(){var e=xp()-1;e<=0?document.body.removeAttribute(lo):document.body.setAttribute(lo,e.toString())}},[])},tE=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;eE();var s=g.useMemo(function(){return JC(o)},[o]);return g.createElement(XC,{styles:ZC(s,!t,o,n?"":"!important")})},Su=!1;if(typeof window<"u")try{var Si=Object.defineProperty({},"passive",{get:function(){return Su=!0,!0}});window.addEventListener("test",Si,Si),window.removeEventListener("test",Si,Si)}catch{Su=!1}var _r=Su?{passive:!1}:!1,nE=function(e){return e.tagName==="TEXTAREA"},i0=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!nE(e)&&n[t]==="visible")},rE=function(e){return i0(e,"overflowY")},oE=function(e){return i0(e,"overflowX")},wp=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=a0(e,r);if(o){var s=l0(e,r),i=s[1],l=s[2];if(i>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},sE=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},iE=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},a0=function(e,t){return e==="v"?rE(t):oE(t)},l0=function(e,t){return e==="v"?sE(t):iE(t)},aE=function(e,t){return e==="h"&&t==="rtl"?-1:1},lE=function(e,t,n,r,o){var s=aE(e,window.getComputedStyle(t).direction),i=s*r,l=n.target,c=t.contains(l),u=!1,d=i>0,f=0,m=0;do{if(!l)break;var h=l0(e,l),b=h[0],v=h[1],w=h[2],y=v-w-s*b;(b||y)&&a0(e,l)&&(f+=y,m+=b);var p=l.parentNode;l=p&&p.nodeType===Node.DOCUMENT_FRAGMENT_NODE?p.host:p}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(d&&(Math.abs(f)<1||!o)||!d&&(Math.abs(m)<1||!o))&&(u=!0),u},ji=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},bp=function(e){return[e.deltaX,e.deltaY]},kp=function(e){return e&&"current"in e?e.current:e},cE=function(e,t){return e[0]===t[0]&&e[1]===t[1]},uE=function(e){return` 336 .block-interactivity-`.concat(e,` {pointer-events: none;} 337 .allow-interactivity-`).concat(e,` {pointer-events: all;} 338`)},dE=0,Fr=[];function fE(e){var t=g.useRef([]),n=g.useRef([0,0]),r=g.useRef(),o=g.useState(dE++)[0],s=g.useState(s0)[0],i=g.useRef(e);g.useEffect(function(){i.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=OC([e.lockRef.current],(e.shards||[]).map(kp),!0).filter(Boolean);return v.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=g.useCallback(function(v,w){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!i.current.allowPinchZoom;var y=ji(v),p=n.current,x="deltaX"in v?v.deltaX:p[0]-y[0],k="deltaY"in v?v.deltaY:p[1]-y[1],N,S=v.target,j=Math.abs(x)>Math.abs(k)?"h":"v";if("touches"in v&&j==="h"&&S.type==="range")return!1;var P=wp(j,S);if(!P)return!0;if(P?N=j:(N=j==="v"?"h":"v",P=wp(j,S)),!P)return!1;if(!r.current&&"changedTouches"in v&&(x||k)&&(r.current=N),!N)return!0;var L=r.current||N;return lE(L,w,v,L==="h"?x:k,!0)},[]),c=g.useCallback(function(v){var w=v;if(!(!Fr.length||Fr[Fr.length-1]!==s)){var y="deltaY"in w?bp(w):ji(w),p=t.current.filter(function(N){return N.name===w.type&&(N.target===w.target||w.target===N.shadowParent)&&cE(N.delta,y)})[0];if(p&&p.should){w.cancelable&&w.preventDefault();return}
vendor: 4,333 bytes, line 338
338if(!p){var x=(i.current.shards||[]).map(kp).filter(Boolean).filter(function(N){return N.contains(w.target)}),k=x.length>0?l(w,x[0]):!i.current.noIsolation;k&&w.cancelable&&w.preventDefault()}}},[]),u=g.useCallback(function(v,w,y,p){var x={name:v,delta:w,target:y,should:p,shadowParent:hE(y)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(k){return k!==x})},1)},[]),d=g.useCallback(function(v){n.current=ji(v),r.current=void 0},[]),f=g.useCallback(function(v){u(v.type,bp(v),v.target,l(v,e.lockRef.current))},[]),m=g.useCallback(function(v){u(v.type,ji(v),v.target,l(v,e.lockRef.current))},[]);g.useEffect(function(){return Fr.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",c,_r),document.addEventListener("touchmove",c,_r),document.addEventListener("touchstart",d,_r),function(){Fr=Fr.filter(function(v){return v!==s}),document.removeEventListener("wheel",c,_r),document.removeEventListener("touchmove",c,_r),document.removeEventListener("touchstart",d,_r)}},[]);var h=e.removeScrollBar,b=e.inert;return g.createElement(g.Fragment,null,b?g.createElement(s,{styles:uE(o)}):null,h?g.createElement(tE,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function hE(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const pE=HC(o0,fE);var c0=g.forwardRef(function(e,t){return g.createElement(al,_t({},e,{ref:t,sideCar:pE}))});c0.classNames=al.classNames;var mE=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},zr=new WeakMap,Ci=new WeakMap,Ei={},ac=0,u0=function(e){return e&&(e.host||u0(e.parentNode))},gE=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=u0(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},vE=function(e,t,n,r){var o=gE(t,Array.isArray(e)?e:[e]);Ei[n]||(Ei[n]=new WeakMap);var s=Ei[n],i=[],l=new Set,c=new Set(o),u=function(f){!f||l.has(f)||(l.add(f),u(f.parentNode))};o.forEach(u);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(m){if(l.has(m))d(m);else try{var h=m.getAttribute(r),b=h!==null&&h!=="false",v=(zr.get(m)||0)+1,w=(s.get(m)||0)+1;zr.set(m,v),s.set(m,w),i.push(m),v===1&&b&&Ci.set(m,!0),w===1&&m.setAttribute(n,"true"),b||m.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",m,y)}})};return d(t),l.clear(),ac++,function(){i.forEach(function(f){var m=zr.get(f)-1,h=s.get(f)-1;zr.set(f,m),s.set(f,h),m||(Ci.has(f)||f.removeAttribute(r),Ci.delete(f)),h||f.removeAttribute(n)}),ac--,ac||(zr=new WeakMap,zr=new WeakMap,Ci=new WeakMap,Ei={})}},yE=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=mE(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),vE(r,o,n,"aria-hidden")):function(){return null}},ll="Dialog",[d0,OT]=qn(ll),[xE,Rt]=d0(ll),f0=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:i=!0}=e,l=g.useRef(null),c=g.useRef(null),[u,d]=Vs({prop:r,defaultProp:o??!1,onChange:s,caller:ll});return a.jsx(xE,{scope:t,triggerRef:l,contentRef:c,contentId:ds(),titleId:ds(),descriptionId:ds(),open:u,onOpenChange:d,onOpenToggle:g.useCallback(()=>d(f=>!f),[d]),modal:i,children:n})};f0.displayName=ll;var h0="DialogTrigger",wE=g.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Rt(h0,n),s=Re(t,o.triggerRef);return a.jsx(oe.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Vd(o.open),...r,ref:s,onClick:se(e.onClick,o.onOpenToggle)})});wE.displayName=h0;var Wd="DialogPortal",[bE,p0]=d0(Wd,{forceMount:void 0}),m0=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,s=Rt(Wd,t);return a.jsx(bE,{scope:t,forceMount:n,children:g.Children.map(r,i=>a.jsx(Cr,{present:n||s.open,children:a.jsx(kd,{asChild:!0,container:o,children:i})}))})};m0.displayName=Wd;var Ta="DialogOverlay",g0=g.forwardRef((e,t)=>{const n=p0(Ta,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Rt(Ta,e.__scopeDialog);return s.modal?a.jsx(Cr,{present:r||s.open,children:a.jsx(NE,{...o,ref:t})}):null});g0.displayName=Ta;var kE=Rs("DialogOverlay.RemoveScroll"),NE=g.forwardRef((e,t)=>
vendor: 4,628 bytes, lines 338-342
338{const{__scopeDialog:n,...r}=e,o=Rt(Ta,n);return a.jsx(c0,{as:kE,allowPinchZoom:!0,shards:[o.contentRef],children:a.jsx(oe.div,{"data-state":Vd(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Nr="DialogContent",v0=g.forwardRef((e,t)=>{const n=p0(Nr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Rt(Nr,e.__scopeDialog);return a.jsx(Cr,{present:r||s.open,children:s.modal?a.jsx(SE,{...o,ref:t}):a.jsx(jE,{...o,ref:t})})});v0.displayName=Nr;var SE=g.forwardRef((e,t)=>{const n=Rt(Nr,e.__scopeDialog),r=g.useRef(null),o=Re(t,n.contentRef,r);return g.useEffect(()=>{const s=r.current;if(s)return yE(s)},[]),a.jsx(y0,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:se(e.onCloseAutoFocus,s=>{var i;s.preventDefault(),(i=n.triggerRef.current)==null||i.focus()}),onPointerDownOutside:se(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,l=i.button===0&&i.ctrlKey===!0;(i.button===2||l)&&s.preventDefault()}),onFocusOutside:se(e.onFocusOutside,s=>s.preventDefault())})}),jE=g.forwardRef((e,t)=>{const n=Rt(Nr,e.__scopeDialog),r=g.useRef(!1),o=g.useRef(!1);return a.jsx(y0,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var i,l;(i=e.onCloseAutoFocus)==null||i.call(e,s),s.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(i))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),y0=g.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,...i}=e,l=Rt(Nr,n),c=g.useRef(null),u=Re(t,c);return LC(),a.jsxs(a.Fragment,{children:[a.jsx(e0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:a.jsx(Ga,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Vd(l.open),...i,ref:u,onDismiss:()=>l.onOpenChange(!1)})}),a.jsxs(a.Fragment,{children:[a.jsx(CE,{titleId:l.titleId}),a.jsx(TE,{contentRef:c,descriptionId:l.descriptionId})]})]})}),Ud="DialogTitle",x0=g.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Rt(Ud,n);return a.jsx(oe.h2,{id:o.titleId,...r,ref:t})});x0.displayName=Ud;var w0="DialogDescription",b0=g.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Rt(w0,n);return a.jsx(oe.p,{id:o.descriptionId,...r,ref:t})});b0.displayName=w0;var k0="DialogClose",N0=g.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Rt(k0,n);return a.jsx(oe.button,{type:"button",...r,ref:t,onClick:se(e.onClick,()=>o.onOpenChange(!1))})});N0.displayName=k0;function Vd(e){return e?"open":"closed"}var S0="DialogTitleWarning",[MT,j0]=vb(S0,{contentName:Nr,titleName:Ud,docsSlug:"dialog"}),CE=({titleId:e})=>{const t=j0(S0),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 339 340If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 341 342For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return g.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},EE="DialogDescriptionWarning",TE=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${j0(EE).contentName}}.`;return g.useEffect(()=>{var s;const o=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},RE=f0,PE=m0,C0=g0,E0=v0,T0=x0,R0=b0,AE=N0;const LE=RE,OE=PE,P0=g.forwardRef(({className:e,...t},n)=>a.jsx(C0,{ref:n,className:ee("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));P0.displayName=C0.displayName;const A0=g.forwardRef(({className:e,children:t,...n},r)=>a.jsxs(OE,{children:[a.jsx(P0,{}),a.jsxs(E0,{ref:r,className:ee("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
342nded-lg",e),...n,children:[t,a.jsxs(AE,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[a.jsx(Xa,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));A0.displayName=E0.displayName;const ME=g.forwardRef(({className:e,...t},n)=>a.jsx(T0,{ref:n,className:ee("text-lg font-semibold leading-none tracking-tight",e),...t}));ME.displayName=T0.displayName;const IE=g.forwardRef(({className:e,...t},n)=>a.jsx(R0,{ref:n,className:ee("text-sm text-muted-foreground",e),...t}));IE.displayName=R0.displayName;const DE=[{src:"/images/romer-shoal-hero.jpg",title:"Romer Shoal Light with NYC Skyline",description:"The iconic lighthouse stands guard at the entrance to New York Harbor with the Manhattan skyline in the background.",lighthouse:"Romer Shoal",category:"Exterior"},{src:"/images/romer-shoal-color.jpg",title:"Romer Shoal Light - Color Detail",description:"Close-up view showing the distinctive red and white color scheme of the lighthouse tower.",lighthouse:"Romer Shoal",category:"Exterior"},{src:"/images/romer-shoal-bw.jpg",title:"Romer Shoal Light - Classic View",description:"Historic-style black and white photograph capturing the timeless beauty of the structure.",lighthouse:"Romer Shoal",category:"Exterior"},{src:"/images/lighthouse-detail-1.jpg",title:"Lighthouse Architecture",description:"Detailed view of the cast iron construction and watchroom gallery.",lighthouse:"Romer Shoal",category:"Exterior"},{src:"/images/lighthouse-detail-2.jpg",title:"Gallery Detail",description:"View of the observation gallery and lantern room.",lighthouse:"Romer Shoal",category:"Interior"},{src:"/images/lighthouse-detail-3.jpg",title:"Fog Signal Equipment",description:"The fog signal apparatus that once guided mariners through the harbor.",lighthouse:"Romer Shoal",category:"Interior"},{src:"/images/romer-shoal-2008.jpg",title:"Romer Shoal - 2008",description:"The lighthouse as photographed in 2008, before Superstorm Sandy damage.",lighthouse:"Romer Shoal",category:"Historic"},{src:"/images/romer-shoal-1898-construction.jpg",title:"Construction - 1898",description:"The lighthouse nearing completion in 1898. Note the lack of Fresnel lens and canopy.",lighthouse:"Romer Shoal",category:"Historic"},{src:"/images/romer-shoal-1916.jpg",title:"Romer Shoal - 1916",description:"The lighthouse in 1916 during the era of Keeper William F. Rhodes.",lighthouse:"Romer Shoal",category:"Historic"},{src:"/images/romer-shoal-beacon-1886.jpg",title:"Original Beacon - 1886",description:"The unmanned skeletal beacon that preceded the current lighthouse structure.",lighthouse:"Romer Shoal",category:"Historic"},{src:"/images/gallery/romer-shoal/rs-historic-bw.jpg",title:"Romer Shoal - Historic Black & White",description:"Historic photograph of Romer Shoal Light on its caisson foundation in New York Harbor.",lighthouse:"Romer Shoal",category:"Historic"},{src:"/images/gallery/romer-shoal/rs-closeup-tower.jpg",title:"Romer Shoal - Tower Close-up",description:"Detailed view of the cylindrical steel tower with its distinctive rust-brown patina and white band.",lighthouse:"Romer Shoal",category:"Exterior"},{src:"/images/gallery/romer-shoal/rs-distant-harbor.jpg",title:"Romer Shoal Light at Dusk",description:"The lighthouse stands sentinel in New York Harbor as daylight fades.",lighthouse:"Romer Shoal",category:"Exterior"},{src:"/images/gallery/romer-shoal/rs-interior-restoration.jpg",title:"Romer Shoal - Interior Restoration",description:"Restoration work underway inside the lighthouse, revealing the exposed brick structure and decay.",lighthouse:"Romer Shoal",category:"Interior"},{src:"/images/gallery/romer-shoal/rs-restoration-barge.jpg",title:"Romer Shoal Restoration - Barge Operations",description:"Marine crane and barge equipment used to assist in the restoration and maintenance of the lighthouse.",lighthouse:"Romer Shoal",category:"Historic",credit:"Restoration Documentation"},{src:"/images/gallery/romer-shoal/rs-lantern-detail.jpg",title:"Romer Shoal - Lantern Room Detail",description:"The lantern room and gallery at the top of the tower, showing the distinctive cast iron construction.",lighthouse:"Romer Shoal",category:"Exterior"},{src:"/images/gallery/romer-shoal/rs-distant-skyline.jpg",title:"Romer Shoal with NYC Skyline",description:"The lighthouse in
342its harbor setting with the Manhattan skyline visible across the water.",lighthouse:"Romer Shoal",category:"Exterior"},{src:"/images/gallery/romer-shoal/rs-harbor-skyline.jpg",title:"Romer Shoal - Harbor Perspective",description:"A classic view of Romer Shoal Light with the New York City skyline providing scale and context.",lighthouse:"Romer Shoal",category:"Exterior"},{src:"/images/gallery/romer-shoal/rs-restoration-work.jpg",title:"Romer Shoal Restoration Work",description:"Active restoration efforts showing the complex marine equipment required to maintain this offshore landmark.",lighthouse:"Romer Shoal",category:"Historic",credit:"Restoration Documentation"},{src:"/images/west-bank-light.jpg",title:"West Bank Light",description:"The sister lighthouse at West Bank, also under the care of the foundation.",lighthouse:"West Bank",category:"Exterior"},{src:"/images/gallery/west-bank/wb-distant-dusk.jpg",title:"West Bank Light at Dusk",description:"The conical tower stands against the fading light of dusk in lower New York Bay.",lighthouse:"West Bank",category:"Exterior"},{src:"/images/gallery/west-bank/wb-closeup-solar.jpg",title:"West Bank Light - Solar Panels",description:"Close-up showing the solar panels and rusted cast-iron construction of the conical tower.",lighthouse:"West Bank",category:"Exterior",credit:"Valerie Barile"},{src:"/images/gallery/west-bank/wb-aerial-drone.jpg",title:"West Bank Light - Aerial View",description:"Drone photograph showing the riprap foundation and Verrazzano-Narrows Bridge in the distance.",lighthouse:"West Bank",category:"Exterior",credit:"Angel Perez"},{src:"/images/gallery/west-bank/wb-moonrise.jpg",title:"Moonrise over West Bank Light",description:"A stunning full moon rises behind the West Bank Light tower at twilight.",lighthouse:"West Bank",category:"Exterior",credit:"Keates"},{src:"/images/gallery/west-bank/wb-harbor-skyline.jpg",title:"West Bank Light & Harbor",description:"Distant view of the lighthouse with the Verrazzano-Narrows Bridge and Manhattan skyline.",lighthouse:"West Bank",category:"Exterior"},{src:"/images/gallery/west-bank/wb-night-light.jpg",title:"West Bank Light at Night",description:"The lighthouse beacon shines across the water during evening hours.",lighthouse:"West Bank",category:"Exterior",credit:"Gregory G. Capel, Jr."},{src:"/images/gallery/west-bank/wb-sunset-silhouette.jpg",title:"West Bank Light - Sunset Silhouette",description:"The lighthouse silhouetted against a golden sunset with birds perched on the riprap.",lighthouse:"West Bank",category:"Exterior"},{src:"/images/gallery/west-bank/wb-distant-shore.jpg",title:"West Bank Light from Shore",description:"The lighthouse viewed from the shoreline across the bay with marshland in the foreground.",lighthouse:"West Bank",category:"Exterior"},{src:"/images/gallery/west-bank/wb-bridge-skyline.jpg",title:"West Bank Light with Bridge",description:"The rust-colored conical tower with the Verrazzano-Narrows Bridge and NYC skyline behind.",lighthouse:"West Bank",category:"Exterior"}],_E=["All","Romer Shoal","West Bank"],FE=["All","Exterior","Interior","Historic"];function zE(){const[e,t]=g.useState(null),[n,r]=g.useState("All"),[o,s]=g.useState("All"),i=DE.filter(f=>{const m=n==="All"||f.lighthouse===n,h=o==="All"||f.category===o;return m&&h}),l=f=>t(f),c=()=>t(null),u=()=>{e!==null&&t(e===0?i.length-1:e-1)},d=()=>{e!==null&&t(e===i.length-1?0:e+1)};return a.jsx("section",{id:"gallery",className:"py-24 bg-gradient-to-b from-background to-ocean-dark/10",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full bg-lighthouse-amber/10 text-lighthouse-amber text-sm font-medium mb-4",children:"Photo Collection"}),a.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-foreground mb-4",children:"Gallery"}),a.jsx("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:"Explore over 125 years of history through our collection of historical and contemporary photographs."})]}),a.jsx("div",{className:"flex flex-wrap justify-center gap-2 mb-4",children:_E.map(f=>a.jsx(ke,{variant:n===f?"default":"outline",size:"sm",onClick:()=>
342r(f),className:n===f?"bg-lighthouse-amber hover:bg-lighthouse-amber/90 text-white":"border-ocean-light/30 hover:border-lighthouse-amber hover:text-lighthouse-amber",children:f},f))}),a.jsx("div",{className:"flex flex-wrap justify-center gap-2 mb-10",children:FE.map(f=>a.jsx(ke,{variant:o===f?"default":"outline",size:"sm",onClick:()=>s(f),className:o===f?"bg-ocean-light hover:bg-ocean-light/90 text-white":"border-ocean-light/30 hover:border-ocean-light hover:text-ocean-light",children:f},f))}),i.length===0?a.jsx("p",{className:"text-center text-muted-foreground py-12",children:"No photos match the selected filters."}):a.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4",children:i.map((f,m)=>a.jsxs("div",{className:"group relative aspect-square overflow-hidden rounded-xl cursor-pointer bg-ocean-dark/20",onClick:()=>l(m),children:[a.jsx("img",{src:f.src,alt:f.title,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110",loading:"lazy"}),a.jsxs("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:[a.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-4",children:[a.jsxs("div",{className:"flex gap-1 mb-2",children:[a.jsx("span",{className:"inline-block px-2 py-0.5 bg-lighthouse-amber/80 text-xs text-white rounded",children:f.lighthouse}),a.jsx("span",{className:"inline-block px-2 py-0.5 bg-ocean-light/80 text-xs text-white rounded",children:f.category})]}),a.jsx("h3",{className:"text-white font-semibold text-sm",children:f.title}),f.credit&&a.jsxs("p",{className:"text-white/50 text-xs mt-1",children:["ð· ",f.credit]})]}),a.jsx("div",{className:"absolute top-4 right-4",children:a.jsx(A2,{className:"w-6 h-6 text-white/80"})})]})]},f.src))}),a.jsx(LE,{open:e!==null,onOpenChange:()=>c(),children:a.jsx(A0,{className:"max-w-5xl w-[95vw] p-0 bg-black/95 border-ocean-light/20",children:a.jsxs("div",{className:"relative",children:[a.jsx(ke,{variant:"ghost",size:"icon",className:"absolute top-4 right-4 z-50 text-white hover:bg-white/10",onClick:c,children:a.jsx(Xa,{className:"w-6 h-6"})}),a.jsx(ke,{variant:"ghost",size:"icon",className:"absolute left-4 top-1/2 -translate-y-1/2 z-50 text-white hover:bg-white/10 h-12 w-12",onClick:u,children:a.jsx(g2,{className:"w-8 h-8"})}),a.jsx(ke,{variant:"ghost",size:"icon",className:"absolute right-4 top-1/2 -translate-y-1/2 z-50 text-white hover:bg-white/10 h-12 w-12",onClick:d,children:a.jsx(v2,{className:"w-8 h-8"})}),e!==null&&i[e]&&a.jsxs("div",{className:"flex flex-col",children:[a.jsx("div",{className:"relative aspect-video",children:a.jsx("img",{src:i[e].src,alt:i[e].title,className:"w-full h-full object-contain"})}),a.jsxs("div",{className:"p-6 bg-gradient-to-t from-black to-transparent",children:[a.jsxs("div",{className:"flex gap-2 mb-2",children:[a.jsx("span",{className:"inline-block px-3 py-1 bg-lighthouse-amber/80 text-xs text-white rounded",children:i[e].lighthouse}),a.jsx("span",{className:"inline-block px-3 py-1 bg-ocean-light/80 text-xs text-white rounded",children:i[e].category})]}),a.jsx("h3",{className:"text-white text-xl font-bold mb-2",children:i[e].title}),a.jsx("p",{className:"text-white/70 text-sm",children:i[e].description}),i[e].credit&&a.jsxs("p",{className:"text-white/80 text-xs mt-2",children:["ð· Photo by ",i[e].credit]})]})]})]})})})]})})}const tr=[{icon:du,category:"Restoration Update",date:"January 2026",title:"Caisson Stabilization Phase Progressing",excerpt:"Engineering teams have completed initial assessments and begun the critical caisson stabilization work funded by the FEMA grant. The protective jetty reconstruction is on track for spring completion.",image:"/images/romer-shoal-2008.jpg"},{icon:Vi,category:"Grant News",date:"December 2025",title:"NJ EDA Historic Preservation Loan Approved",excerpt:"The New Jersey Economic Development Authority has approved a $400,000 Historic Preservation Loan to support ongoing restoration efforts at Romer Shoal Light.",image:null},{icon:T2,category:"Press Coverage",date:"November 2025",title:"Featured in Maritime Heritage Magazine",excerpt:"The New York Harbor Lighthouse Association's Vision 2027 project was profiled as one of the most ambitious lighthouse preservation efforts in the Northeast.",image:null},{icon:Ks,category:"Events",date:"Spring 2026",title:"Annual Harbor Heritage Regatta",excerpt:"Save the date for our annual fundraiser regatta. Sail past both lighthouses and celebrate New York Harbor's maritime history. Details coming soon.",image:null}],$E=()=>a.jsx("section",{id:"news",className:"py-24 bg-background",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[a.jsx("span",{className:"text-sm font-medium text-accent uppercase tracking-wider",children:"Latest News"}),a.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-bold text-foreground mt-4 mb-6",children:"News & Updates"}),a.jsx("p",{className:"text-lg text-muted-foreground",children:"Stay up to date with our restoration progress, upcoming events, and the latest developments from the harbor."})]}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[a.jsxs(Vt,{className:"group overflow-hidden hover:shadow-xl transition-all duration-300 md:row-span-2",children:[a.jsxs("div",{className:"relative h-48 md:h-64 overflow-hidden",children:[a.jsx("img",{src:tr[0].image||"/placeholder.svg",alt:tr[0].title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"}),a.jsx("div",{className:"absolute top-4 left-4 px-3 py-1 rounded-full bg-accent text-accent-foreground text-xs font-medium",children:tr[0].category})]}),a.jsxs(Yt,{className:"p-6",children:[a.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-3",children:[a.jsx(Ks,{className:"w-4 h-4"}),tr[0].date]}),a.jsx("h3",{className:"font-serif text-xl font-bold text-foreground mb-3 group-hover:text-primary transition-colors",children:tr[0].title}),a.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:tr[0].excerpt}),a.jsxs(ke,{variant:"link",className:"p-0 text-primary",children:["Read More ",a.jsx(h2,{className:"w-4 h-4 ml-1"})]})]})]}),tr.slice(1).map(e=>a.jsx(Vt,{className:"group hover:shadow-lg transition-all duration-300",children:a.jsx(Yt,{className:"p-6",children:a.jsxs("div",{className:"flex items-start gap-4",children:[a.jsx("div",{className:"w-10 h-10 rounded-lg bg-secondary flex items-center justify-center flex-shrink-0",children:a.jsx(e.icon,{className:"w-5 h-5 text-primary"})}),a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground mb-2",children:[a.jsx("span",{className:"px-2 py-0.5 rounded-full bg-secondary text-secondary-foreground font-medium",children:e.category}),a.jsx("span",{children:e.date})]}),a.jsx("h3",{className:"font-serif text-lg font-bold text-foreground mb-2 group-hover:text-primary transition-colors",children:e.title}),a.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.excerpt})]})]})})}
342,e.title))]})]})}),L0=g.forwardRef(({className:e,type:t,...n},r)=>a.jsx("input",{type:t,className:ee("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));L0.displayName="Input";const BE=()=>{const[e,t]=g.useState(""),[n,r]=g.useState(!1),{toast:o}=ev(),s=i=>{i.preventDefault(),e.trim()&&(r(!0),setTimeout(()=>{o({title:"You're on the list!",description:"Thank you for subscribing. We'll keep you updated on our restoration journey."}),t(""),r(!1)},800))};return a.jsx("section",{className:"py-20 bg-primary",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-primary-foreground/10 border border-primary-foreground/20 text-primary-foreground mb-6",children:[a.jsx(Ph,{className:"w-4 h-4"}),a.jsx("span",{className:"text-sm font-medium",children:"Stay Informed"})]}),a.jsx("h2",{className:"font-serif text-3xl md:text-4xl font-bold text-primary-foreground mb-4",children:"Follow the Restoration Journey"}),a.jsx("p",{className:"text-lg text-primary-foreground/80 mb-8 max-w-xl mx-auto",children:"Monthly updates from the harbor â behind-the-scenes photos, restoration milestones, and exclusive event invitations."}),a.jsxs("form",{onSubmit:s,className:"flex flex-col sm:flex-row gap-3 max-w-lg mx-auto mb-8",children:[a.jsx(L0,{type:"email",placeholder:"Enter your email address",value:e,onChange:i=>t(i.target.value),required:!0,className:"bg-primary-foreground/10 border-primary-foreground/20 text-primary-foreground placeholder:text-primary-foreground/50 focus:border-accent h-12"}),a.jsx(ke,{type:"submit",disabled:n,className:"bg-accent text-accent-foreground hover:bg-accent/90 h-12 px-8 whitespace-nowrap",children:n?"Subscribing...":"Subscribe"})]}),a.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 text-sm text-primary-foreground/60",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Ov,{className:"w-4 h-4"}),a.jsx("span",{children:"Behind-the-scenes photos"})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Ja,{className:"w-4 h-4"}),a.jsx("span",{children:"Monthly newsletter"})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Ph,{className:"w-4 h-4"}),a.jsx("span",{children:"Event invitations"})]})]})]})})})},HE=[{icon:Dv,name:"Friend of the Harbor",amount:"$25/mo",impact:"Covers materials for one day of preservation maintenance.",perks:["Monthly newsletter","Name on donor wall","Sticker pack"],highlight:!1},{icon:R2,name:"Keeper of the Light",amount:"$50/mo",impact:"Funds one week of structural monitoring and assessment.",perks:["All Friend perks","Exclusive behind-the-scenes updates","Invitation to annual event"],highlight:!0},{icon:xa,name:"Harbor Guardian",amount:"$100/mo",impact:"Sponsors a full month of active restoration work.",perks:["All Keeper perks","Private tour when available","Name on restoration plaque"],highlight:!1},{icon:w2,name:"Lighthouse Champion",amount:"$250/mo",impact:"Directly funds engineering and preservation expertise.",perks:["All Guardian perks","Board meeting observer access","Commemorative lighthouse model"],highlight:!1}],Np="https://www.gofundme.com/f/for-125-years-they-guided-ships-now-they-need-our-help",WE=()=>a.jsx("section",{id:"donate",className:"py-24 bg-background",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[a.jsx("span",{className:"text-sm font-medium text-accent uppercase tracking-wider",children:"Support Preservation"}),a.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-bold text-foreground mt-4 mb-6",children:"Choose Your Level of Impact"}),a.jsx("p",{className:"text-lg text-muted-foreground",children:"Every contribution directly supports the preservation of these irreplaceable landmarks. Choose a monthly giving level or make a one-time donation."})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 mb-12",children:HE.map(e=>a.jsxs(Vt,{className:`group transition-all duration-300 hover:shadow-xl relative ${e.highlight?"border-accent shadow-lg ring-2 ring-accent/20":"hover:border-primary/50"}`,children:[e.highlight&&a.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 px-4 py-1 rounded-full bg-accent text-accent-foreground text-xs font-bold",children:"Most Popular"}),a.jsxs(Yt,{className:"p-6 text-center",children:[a.jsx("div",{className:`w-14 h-14 mx-auto rounded-full flex items-center justify-center mb-4 transition-transform group-hover:scale-110 ${e.highlight?"bg-accent text-accent-foreground":"bg-secondary text-primary"}`,children:a.jsx(e.icon,{className:"w-7 h-7"})}),a.jsx("h3",{className:"font-serif text-lg font-bold text-foreground mb-1",children:e.name}),a.jsx("p",{className:"text-2xl font-bold text-accent mb-3",children:e.amount}),a.jsx("p",{className:"text-sm text-muted-foreground mb-4 leading-relaxed",children:e.impact}),a.jsx("ul",{className:"text-xs text-muted-foreground space-y-2 mb-6 text-left",children:e.perks.map(t=>a.jsxs("li",{className:"flex items-start gap-2",children:[a.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-accent mt-1.5 flex-shrink-0"}),t]},t))}),a.jsx(ke,{className:e.highlight?"w-full bg-accent text-accent-foreground hover:bg-accent/90":"w-full",variant:e.highlight?"default":"outline",asChild:!0,children:a.jsx("a",{href:Np,target:"_blank",rel:"noopener noreferrer",children:"Donate"})})]})]},e.name))}),a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"text-muted-foreground mb-4",children:"Prefer a one-time contribution?"}),a.jsx(ke,{size:"lg",variant:"outline",className:"gap-2",asChild:!0,children:a.jsxs("a",{href:Np,target:"_blank",rel:"noopener noreferrer",children:["Make a One-Time Donation",a.jsx(Iv,{className:"w-4 h-4"})]})})]})]})}),UE=[{icon:zv,title:"Harbor Boat Tours",description:"Seasonal boat tours departing from Sandy Hook, NJ and Lower Manhattan offer close-up views of both lighthouses. Contact us for partner tour operators.",cta:"Inquire About Tours",available:!1},{icon:Ov,title:"Virtual Tour",description:"Can't visit in person? Explore the lighthouse through our 360° virtual tour and historic photo archive. Coming soon.",cta:"Coming Soon",available:!1}
342,{icon:br,title:"Visit Sandy Hook",description:"The lighthouses are visible from Sandy Hook, Gateway National Recreation Area. A great spot for photography and learning about harbor history.",cta:"Get Directions",available:!0,url:"https://www.google.com/maps/place/Romer+Shoal+Light/@40.5061,-74.0131,15z"}],VE=()=>a.jsx("section",{id:"visit",className:"py-24 bg-background",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-start",children:[a.jsxs("div",{children:[a.jsx("span",{className:"text-sm font-medium text-accent uppercase tracking-wider",children:"Plan Your Visit"}),a.jsx("h2",{className:"font-serif text-3xl md:text-4xl font-bold text-foreground mt-4 mb-6",children:"Experience the Harbor"}),a.jsx("p",{className:"text-lg text-muted-foreground mb-8 leading-relaxed",children:"Located at the entrance to Lower New York Harbor, the Romer Shoal and West Bank Lighthouses stand as sentinels visible from the shores of Sandy Hook, Staten Island, and Brooklyn."}),a.jsx("div",{className:"rounded-2xl overflow-hidden border border-border",children:a.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d24228.276!2d-74.02!3d40.506!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c245b6a82ef7c1%3A0x6d1cc1e3f5a7f3b2!2sRomer%20Shoal%20Light!5e0!3m2!1sen!2sus!4v1700000000000!5m2!1sen!2sus",width:"100%",height:"300",style:{border:0},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",title:"Romer Shoal Lighthouse Location",className:"grayscale hover:grayscale-0 transition-all duration-500"})}),a.jsxs("div",{className:"mt-4 flex items-center gap-2 text-sm text-muted-foreground",children:[a.jsx(br,{className:"w-4 h-4"}),a.jsx("span",{children:`40°30'22"N 74°00'47"W â Lower New York Harbor`})]})]}),a.jsx("div",{className:"space-y-6 lg:pt-16",children:UE.map(e=>a.jsx(Vt,{className:"group hover:shadow-lg transition-all duration-300",children:a.jsx(Yt,{className:"p-6",children:a.jsxs("div",{className:"flex items-start gap-4",children:[a.jsx("div",{className:"w-12 h-12 rounded-xl bg-secondary flex items-center justify-center flex-shrink-0 group-hover:bg-accent/20 transition-colors",children:a.jsx(e.icon,{className:"w-6 h-6 text-primary group-hover:text-accent transition-colors"})}),a.jsxs("div",{className:"flex-1",children:[a.jsx("h3",{className:"font-serif text-lg font-bold text-foreground mb-2",children:e.title}),a.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed mb-4",children:e.description}),e.available?a.jsx(ke,{variant:"outline",size:"sm",asChild:!0,children:a.jsxs("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",children:[e.cta,a.jsx(Iv,{className:"w-3 h-3 ml-2"})]})}):a.jsx(ke,{variant:"outline",size:"sm",disabled:!0,children:e.cta})]})]})})},e.title))})]})})}),YE=[{icon:Dv,title:"Make a Donation",description:"Your tax-deductible contribution directly supports preservation and restoration efforts.",action:"Donate Now",highlight:!0},{icon:uu,title:"Volunteer",description:"Join our team of dedicated volunteers and help preserve maritime history.",action:"Get Started",highlight:!1},{icon:Ks,title:"Attend Events",description:"Join our annual Regatta, fundraisers, and community celebrations.",action:"View Events",highlight:!1},{icon:Ja,title:"Stay Connected",description:"Subscribe to our newsletter for updates on our progress and upcoming events.",action:"Subscribe",highlight:!1}],KE=()=>a.jsx("section",{id:"involved",className:"py-24 bg-background",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[a.jsx("span",{className:"text-sm font-medium text-accent uppercase tracking-wider",children:"Take Action"}),a.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-bold text-foreground mt-4 mb-6",children:"Get Involved"}),a.jsx("p",{className:"text-lg text-muted-foreground",children:"There are many ways to support our mission. Whether through donations, volunteering, or simply spreading the word, every contribution helps preserve this historic landmark."})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:YE.map((e,t)=>a.jsx(Vt,{className:`group transition-all duration-300 hover:shadow-xl ${e.highlight?"border-accent bg-accent/5 hover:bg-accent/10":"hover:border-primary/50"}`,children:a.jsxs(Yt,{className:"p-6 text-center",children:[a.jsx("div",{className:`w-14 h-14 mx-auto rounded-full flex items-center justify-center mb-4 transition-transform group-hover:scale-110 ${e.highlight?"bg-accent text-accent-foreground":"bg-secondary text-primary"}`,children:a.jsx(e.icon,{className:"w-7 h-7"})}),a.jsx("h3",{className:"font-serif text-lg font-bold text-foreground mb-2",children:e.title}),a.jsx("p",{className:"text-sm text-muted-foreground mb-4 leading-relaxed",children:e.description}),a.jsx(ke,{variant:e.highlight?"default":"outline",className:e.highlight?"bg-accent text-accent-foreground hover:bg-accent/90":"",size:"sm",children:e.action})]})}
vendor: 4,925 bytes, line 342
342,e.title))}),a.jsxs("div",{className:"mt-20 ocean-gradient rounded-3xl p-8 md:p-12 text-center",children:[a.jsx("h3",{className:"font-serif text-2xl md:text-4xl font-bold text-primary-foreground mb-4",children:"#IveSeenTheLight"}),a.jsx("p",{className:"text-primary-foreground/90 max-w-2xl mx-auto mb-8",children:"Share your photos and stories of Romer Shoal Lighthouse on social media. Help us spread awareness and build a community of lighthouse enthusiasts!"}),a.jsx(ke,{size:"lg",className:"bg-primary-foreground text-primary hover:bg-primary-foreground/90",children:"Join the Campaign"})]})]})});var cl="Collapsible",[GE,O0]=qn(cl),[QE,Yd]=GE(cl),M0=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:s,onOpenChange:i,...l}=e,[c,u]=Vs({prop:r,defaultProp:o??!1,onChange:i,caller:cl});return a.jsx(QE,{scope:n,disabled:s,contentId:ds(),open:c,onOpenToggle:g.useCallback(()=>u(d=>!d),[u]),children:a.jsx(oe.div,{"data-state":Gd(c),"data-disabled":s?"":void 0,...l,ref:t})})});M0.displayName=cl;var I0="CollapsibleTrigger",D0=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Yd(I0,n);return a.jsx(oe.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Gd(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:se(e.onClick,o.onOpenToggle)})});D0.displayName=I0;var Kd="CollapsibleContent",_0=g.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Yd(Kd,e.__scopeCollapsible);return a.jsx(Cr,{present:n||o.open,children:({present:s})=>a.jsx(qE,{...r,ref:t,present:s})})});_0.displayName=Kd;var qE=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...s}=e,i=Yd(Kd,n),[l,c]=g.useState(r),u=g.useRef(null),d=Re(t,u),f=g.useRef(0),m=f.current,h=g.useRef(0),b=h.current,v=i.open||l,w=g.useRef(v),y=g.useRef(void 0);return g.useEffect(()=>{const p=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(p)},[]),Wt(()=>{const p=u.current;if(p){y.current=y.current||{transitionDuration:p.style.transitionDuration,animationName:p.style.animationName},p.style.transitionDuration="0s",p.style.animationName="none";const x=p.getBoundingClientRect();f.current=x.height,h.current=x.width,w.current||(p.style.transitionDuration=y.current.transitionDuration,p.style.animationName=y.current.animationName),c(r)}},[i.open,r]),a.jsx(oe.div,{"data-state":Gd(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!v,...s,ref:d,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:v&&o})});function Gd(e){return e?"open":"closed"}var JE=M0,XE=D0,ZE=_0,eT=g.createContext(void 0);function tT(e){const t=g.useContext(eT);return e||t||"ltr"}var Pt="Accordion",nT=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Qd,rT,oT]=rv(Pt),[ul,IT]=qn(Pt,[oT,O0]),qd=O0(),F0=C.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,s=r;return a.jsx(Qd.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?a.jsx(lT,{...s,ref:t}):a.jsx(aT,{...o,ref:t})})});F0.displayName=Pt;var[z0,sT]=ul(Pt),[$0,iT]=ul(Pt,{collapsible:!1}),aT=C.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:s=!1,...i}=e,[l,c]=Vs({prop:n,defaultProp:r??"",onChange:o,caller:Pt});return a.jsx(z0,{scope:e.__scopeAccordion,value:C.useMemo(()=>l?[l]:[],[l]),onItemOpen:c,onItemClose:C.useCallback(()=>s&&c(""),[s,c]),children:a.jsx($0,{scope:e.__scopeAccordion,collapsible:s,children:a.jsx(B0,{...i,ref:t})})})}),lT=C.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...s}=e,[i,l]=Vs({prop:n,defaultProp:r??[],onChange:o,caller:Pt}),c=C.useCallback(d=>l((f=[])=>[...f,d]),[l]),u=C.useCallback(d=>l((f=[])=>f.filter(m=>m!==d)),[l]);return a.jsx(z0,{scope:e.__scopeAccordion,value:i,onItemOpen:c,onItemClose:u,children:a.jsx($0,{scope:e.__scopeAccordion,collapsible:!0,children:a.jsx(B0,{...s,ref:t})})})}),[cT,dl]=ul(Pt),B0=C.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:s="vertical",...i}=e,l=C.useRef(null),c=Re(l,t),u=rT(n),f=tT(o)==="ltr",m=se(e.onKeyDown,h=>{var P;if(!nT.includes(h.key))return;const b=h.target,v=u().filter(L=>{var O;return!((O=L.ref.current)!=null&&O.disabled)}),w=v.findIndex(L=>L.ref.current===b),y=v.length;if(w===-1)return;h.preventDefault();let p=w;const x=0,k=y-1,N=()=>{p=w+1,p>k&&(p=x)},S=()=>{p=w-1,p<x&&(p=k)};switch(h.key){case"Home":p=x;break;case"End":p=k;break;case"ArrowRight":s==="horizontal"&&(f?N():S());break;case"ArrowDown":s==="vertical"&&N();break;case"ArrowLeft":s==="horizontal"&&(f?S():N());break;case"ArrowUp":s==="vertical"&&S();break}const j=p%y;(P=v[j].ref.current)==null||P.focus()});return a.jsx(cT,{scope:n,disabled:r,direction:o,orientation:s,children:a.jsx(Qd.Slot,{scope:n,children:a.jsx(oe.div,{...i,"data-orientation":s,ref:c,onKeyDown:r?void 0:m})})})}),Ra="AccordionItem",[uT,Jd]=ul(Ra),H0=C.forwardRef((e,t)=>
342{const{__scopeAccordion:n,value:r,...o}=e,s=dl(Ra,n),i=sT(Ra,n),l=qd(n),c=ds(),u=r&&i.value.includes(r)||!1,d=s.disabled||e.disabled;return a.jsx(uT,{scope:n,open:u,disabled:d,triggerId:c,children:a.jsx(JE,{"data-orientation":s.orientation,"data-state":G0(u),...l,...o,ref:t,disabled:d,open:u,onOpenChange:f=>{f?i.onItemOpen(r):i.onItemClose(r)}})})});H0.displayName=Ra;var W0="AccordionHeader",U0=C.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=dl(Pt,n),s=Jd(W0,n);return a.jsx(oe.h3,{"data-orientation":o.orientation,"data-state":G0(s.open),"data-disabled":s.disabled?"":void 0,...r,ref:t})});U0.displayName=W0;var ju="AccordionTrigger",V0=C.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=dl(Pt,n),s=Jd(ju,n),i=iT(ju,n),l=qd(n);return a.jsx(Qd.ItemSlot,{scope:n,children:a.jsx(XE,{"aria-disabled":s.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:s.triggerId,...l,...r,ref:t})})});V0.displayName=ju;var Y0="AccordionContent",K0=C.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=dl(Pt,n),s=Jd(Y0,n),i=qd(n);return a.jsx(ZE,{role:"region","aria-labelledby":s.triggerId,"data-orientation":o.orientation,...i,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});K0.displayName=Y0;function G0(e){return e?"open":"closed"}var dT=F0,fT=H0,hT=U0,Q0=V0,q0=K0;const pT=dT,J0=g.forwardRef(({className:e,...t},n)=>a.jsx(fT,{ref:n,className:ee("border-b",e),...t}));J0.displayName="AccordionItem";const X0=g.forwardRef(({className:e,children:t,...n},r)=>a.jsx(hT,{className:"flex",children:a.jsxs(Q0,{ref:r,className:ee("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,a.jsx(m2,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));X0.displayName=Q0.displayName;const Z0=g.forwardRef(({className:e,children:t,...n},r)=>a.jsx(q0,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:a.jsx("div",{className:ee("pb-4 pt-0",e),children:t})}));Z0.displayName=q0.displayName;const Sp=[{q:"Are Romer Shoal Light and West Bank Light National Historic Landmarks?",a:"Both lighthouses are listed on the National Register of Historic Places, recognizing their significance to American maritime heritage. They remain active Aids-to-Navigation guiding vessels into New York Harbor."},{q:"When were the Romer Shoal and West Bank lighthouses built?",a:"Both lighthouses entered service in 1898, guarding the approaches to Lower New York Harbor and the Ambrose Channel for more than 126 years of continuous service."},{q:"Can you visit or tour the lighthouses?",a:"Because Romer Shoal and West Bank stand offshore in active shipping lanes, public access is limited. The New York Harbor Lighthouse Association is working to expand educational tours and public programming as restoration progresses â sign up for our newsletter for upcoming opportunities."},{q:"Are the lighthouses still active aids to navigation?",a:"Yes. Both remain active ATONs (Aids-to-Navigation), helping the thousands of commercial and recreational vessels that transit one of the world's busiest harbors every year."},{q:"Who owns and maintains the lighthouses?",a:"The New York Harbor Lighthouse Association, a 501(c)(3) nonprofit, leads preservation and restoration efforts in partnership with maritime heritage organizations and public agencies."},{q:"How can I support the restoration?",a:"You can donate through our tiered giving program, contribute to our active GoFundMe campaigns, volunteer your time, or partner with us as a sponsor. Every contribution directly funds restoration of these irreplaceable landmarks."}],mT=()=>{const e={"@context":"https://schema.org","@type":"FAQPage",mainEntity:Sp.map(t=>({"@type":"Question",name:t.q,acceptedAnswer:{"@type":"Answer",text:t.a}}))};return a.jsxs("section",{id:"faq",className:"py-24 bg-secondary/30",children:[a.jsx(Ka,{children:a.jsx("script",{type:"application/ld+json",children:JSON.stringify(e)})}),a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("span",{className:"text-sm font-medium text-accent uppercase tracking-wider",children:"Frequently Asked Questions"}),a.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-bold text-foreground mt-4",children:"Answers for Lighthouse Enthusiasts"})]}),a.jsx(pT,{type:"single",collapsible:!0,className:"w-full",children:Sp.map((t,n)=>a.jsxs(J0,{value:`item-${n}`,children:[a.jsx(X0,{className:"text-left font-serif text-lg",children:t.q}),a.jsx(Z0,{className:"text-muted-foreground leading-relaxed",children:t.a})]},n))})]})]})},gT=[{icon:C2,title:"Speeches & Small Talks",description:"Book a speaker for keynotes, panels, classroom visits, or fireside chats covering lighthouse preservation, maritime heritage, New York Harbor history, restoration engineering, and the working life of an offshore caisson light."}
342,{icon:P2,title:"Off-Grid Technology Trials",description:"Romer Shoal sits a mile offshore with no grid, no plumbing, and full marine exposure. It is an ideal proving ground for solar, wind, micro-hydro, battery storage, water generation, and remote monitoring systems built for life off the grid."},{icon:k2,title:"Open-Water Product Platform",description:"Use the lighthouse as a real-world test bed for products engineered to thrive in saltwater, high wind, and freeze-thaw conditions â coatings, fasteners, composites, communications gear, and marine-grade hardware."},{icon:E2,title:"Science & Experimental Equipment Placement",description:"We host researchers and institutions placing instruments for oceanography, meteorology, acoustics, avian and marine wildlife studies, water quality, and climate monitoring in the Lower New York Bay."},{icon:b2,title:"Film & Movie Locations",description:"A historic 1898 caisson lighthouse with unobstructed harbor views and the Manhattan skyline as a backdrop. Available for narrative film, documentary, commercial, and photography productions."},{icon:N2,title:"Brand & Sponsored Partnerships",description:"Align your brand with a 125-year-old landmark restoration. Sponsorships, brand ambassador programs, and co-branded content opportunities tied to authentic preservation work."}],vT=()=>a.jsx("section",{id:"partnerships",className:"py-20 md:py-28 bg-background",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"max-w-3xl mx-auto text-center mb-14",children:[a.jsx("span",{className:"text-sm font-medium text-accent uppercase tracking-wider",children:"Partner With Us"}),a.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-bold text-foreground mt-3 mb-6",children:"Are You Ready to Partner with the Romer Shoal Lighthouse?"}),a.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"The Romer Shoal Lighthouse Foundation works with brands, researchers, filmmakers, technologists, and storytellers to bring this offshore landmark back to life â and to use it as a one-of-a-kind platform for new ideas. If your work fits the mission, we want to talk."})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-16",children:gT.map(e=>{const t=e.icon;return a.jsxs(Vt,{className:"border-border hover:border-accent/50 transition-colors h-full",children:[a.jsxs(Uy,{children:[a.jsx("div",{className:"w-12 h-12 rounded-lg bg-accent/10 flex items-center justify-center mb-3",children:a.jsx(t,{className:"w-6 h-6 text-accent"})}),a.jsx(Vy,{className:"font-serif text-xl",children:e.title})]}),a.jsx(Yt,{children:a.jsx(Yy,{className:"text-base leading-relaxed",children:e.description})})]},e.title)})}),a.jsxs("div",{className:"max-w-2xl mx-auto text-center bg-secondary/40 border border-border rounded-2xl p-8 md:p-10",children:[a.jsx("h3",{className:"font-serif text-2xl md:text-3xl font-bold text-foreground mb-3",children:"Looking for something else?"}),a.jsx("p",{className:"text-muted-foreground mb-6",children:"Have an idea that does not fit neatly into a category? We are open to creative collaborations that align with preservation, education, and stewardship of New York Harbor."}),a.jsx(ke,{size:"lg",className:"bg-accent text-accent-foreground hover:bg-accent/90",asChild:!0,children:a.jsxs("a",{href:"#contact",children:[a.jsx(Ja,{className:"w-4 h-4"}),"Start a Conversation"]})})]})]})}),Xd=()=>a.jsx("footer",{id:"contact",className:"bg-primary text-primary-foreground",children:a.jsxs("div",{className:"container mx-auto px-4 py-16",children:[a.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-12",children:[a.jsxs("div",{className:"lg:col-span-2",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[a.jsx("div",{className:"w-12 h-12 rounded-full bg-primary-foreground/20 flex items-center justify-center",children:a.jsx(Ao,{className:"w-6 h-6"})}),a.jsxs("div",{children:[a.jsx("span",{className:"font-serif text-xl font-bold",children:"New York Harbor"}),a.jsx("span",{className:"block text-sm text-primary-foreground
342/70",children:"Lighthouse Association"})]})]}),a.jsx("p",{className:"text-primary-foreground/80 max-w-md leading-relaxed mb-6",children:"A 501(c)(3) non-profit organization dedicated to the preservation, restoration, and celebration of the historic Romer Shoal Lighthouse and West Bank Lighthouse in New York Harbor."}),a.jsxs("div",{className:"flex gap-4",children:[a.jsx("a",{href:"#",className:"w-10 h-10 rounded-full bg-primary-foreground/10 flex items-center justify-center hover:bg-primary-foreground/20 transition-colors","aria-label":"Facebook",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"})})}),a.jsx("a",{href:"#",className:"w-10 h-10 rounded-full bg-primary-foreground/10 flex items-center justify-center hover:bg-primary-foreground/20 transition-colors","aria-label":"Instagram",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M12 2c2.717 0 3.056.01 4.122.06 1.065.05 1.79.217 2.428.465.66.254 1.216.598 1.772 1.153a4.908 4.908 0 011.153 1.772c.247.637.415 1.363.465 2.428.047 1.066.06 1.405.06 4.122 0 2.717-.01 3.056-.06 4.122-.05 1.065-.218 1.79-.465 2.428a4.883 4.883 0 01-1.153 1.772 4.915 4.915 0 01-1.772 1.153c-.637.247-1.363.415-2.428.465-1.066.047-1.405.06-4.122.06-2.717 0-3.056-.01-4.122-.06-1.065-.05-1.79-.218-2.428-.465a4.89 4.89 0 01-1.772-1.153 4.904 4.904 0 01-1.153-1.772c-.248-.637-.415-1.363-.465-2.428C2.013 15.056 2 14.717 2 12c0-2.717.01-3.056.06-4.122.05-1.066.217-1.79.465-2.428a4.88 4.88 0 011.153-1.772A4.897 4.897 0 015.45 2.525c.638-.248 1.362-.415 2.428-.465C8.944 2.013 9.283 2 12 2zm0 5a5 5 0 100 10 5 5 0 000-10zm6.5-.25a1.25 1.25 0 10-2.5 0 1.25 1.25 0 002.5 0zM12 9a3 3 0 110 6 3 3 0 010-6z"})})}),a.jsx("a",{href:"#",className:"w-10 h-10 rounded-full bg-primary-foreground/10 flex items-center justify-center hover:bg-primary-foreground/20 transition-colors","aria-label":"Twitter",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M23 3a10.9 10.9 0 01-3.14 1.53 4.48 4.48 0 00-7.86 3v1A10.66 10.66 0 013 4s-4 9 5 13a11.64 11.64 0 01-7 2c9 5 20 0 20-11.5a4.5 4.5 0 00-.08-.83A7.72 7.72 0 0023 3z"})})})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-serif font-bold mb-6",children:"Quick Links"}),a.jsxs("ul",{className:"space-y-3",children:[a.jsx("li",{children:a.jsx("a",{href:"#about",className:"text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"About Us"})}),a.jsx("li",{children:a.jsx("a",{href:"#history",className:"text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"History"})}),a.jsx("li",{children:a.jsx("a",{href:"#mission",className:"text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"Our Mission"})}),a.jsx("li",{children:a.jsx("a",{href:"#gallery",className:"text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"Gallery"})}),a.jsx("li",{children:a.jsx("a",{href:"#involved",className:"text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"Get Involved"})})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-serif font-bold mb-6",children:"Contact Us"}),a.jsxs("ul",{className:"space-y-4",children:[a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx(Ja,{className:"w-5 h-5 mt-0.5 text-primary-foreground/70"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"[email protected]"})]}),a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx(br,{className:"w-5 h-5 mt-0.5 text-primary-foreground/70"}),a.jsxs("span",{className:"text-primary-foreground/70",children:["Sandy Hook, NJ",a.jsx("br",{}),"New York Harbor"]})]})]})]})]}),a.jsx("div",{className:"mt-12 pt-8 border-t border-primary-foreground/20",children:a.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[a.jsxs("p",{className:"text-sm text-primary-foreground
342/60",children:["© ",new Date().getFullYear()," New York Harbor Lighthouse Association. All rights reserved."]}),a.jsx("p",{className:"text-sm text-primary-foreground/60",children:"A 501(c)(3) Non-Profit Organization ⢠EIN: XX-XXXXXXX"})]})})]})}),yT=()=>a.jsxs("div",{className:"min-h-screen",children:[a.jsxs(Ka,{children:[a.jsx("title",{children:"NY Harbor Lighthouse Association â Romer Shoal & West Bank"}),a.jsx("meta",{name:"description",content:"Nonprofit preserving Romer Shoal Light and West Bank Light, two historic lighthouses at the entrance to New York Harbor."}),a.jsx("link",{rel:"canonical",href:"https://romershoal.lovable.app/"}),a.jsx("meta",{property:"og:title",content:"New York Harbor Lighthouse Association"}),a.jsx("meta",{property:"og:description",content:"Preserving Romer Shoal Light and West Bank Light at the entrance to New York Harbor since 1898."}),a.jsx("meta",{property:"og:url",content:"https://romershoal.lovable.app/"}),a.jsx("meta",{property:"og:type",content:"website"})]}),a.jsx($d,{}),a.jsxs("main",{children:[a.jsx(iC,{}),a.jsx(aC,{}),a.jsx(cC,{}),a.jsx(fC,{}),a.jsx(bC,{}),a.jsx(SC,{}),a.jsx(zE,{}),a.jsx($E,{}),a.jsx(BE,{}),a.jsx(WE,{}),a.jsx(VE,{}),a.jsx(vT,{}),a.jsx(mT,{}),a.jsx(KE,{})]}),a.jsx(Xd,{})]}),xT=()=>{const e=qs();return g.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),a.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:a.jsxs("div",{className:"text-center",children:[a.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),a.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),a.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},wT={name:"Romer Shoal Light",officialName:"Romer Shoal Light Station",location:"Lower New York Bay, south of Ambrose Channel",coordinates:{lat:40.51300639,lon:-74.01352},nearestCity:"Highlands, New Jersey",county:"Monmouth County, New Jersey",constructed:1898,firstLit:"October 1, 1898",automated:1966,height:"54 feet (16 m)",focalPlane:"54 feet (16 m)",shape:"Sparkplug (frustum of a cone) on cylindrical caisson",construction:"Cast iron tower on concrete-filled cast iron caisson",markings:"White bottom, red/brown top including lantern",currentOptic:"VRB-25 marine rotating beacon, 190 mm",originalOptic:"Fourth-order Fresnel lens",lightCharacteristic:"Flashing white twice every 15 seconds",range:"15 nautical miles (28 km)",fogSignal:"FA-232/02 sound unit, 2 blasts every 30 seconds",nrhpNumber:"06001304",nrhpDate:"January 24, 2007",njrhpNumber:"3713",njrhpDate:"August 16, 2006",architect:"U.S. Lighthouse Board",activeAid:!0,lightListNumber:35070,executiveSummary:`Romer Shoal Light is a historic sparkplug lighthouse standing sentinel at the entrance to New York Harbor in Lower New York Bay, approximately 2.5 miles north of Sandy Hook, New Jersey. Named after Colonel Wolfgang William Romer, who sounded the bay's waters in 1700, the shoal has been marked by navigational aids since the 1830sâfirst by a misplaced granite daymark erected in 1838, then by a skeletal beacon lit in 1886, and finally by the current cast iron tower completed in 1898. The four-story tower was originally assembled at the Staten Island Lighthouse Depot in 1883 as an experimental platform for testing fuels, wicks, and lenses before being disassembled and rebuilt offshore on a concrete-filled caisson. 343 344For nearly seven decades, keepers lived at the isolated station, maintaining the fourth-order Fresnel lens, fog bell, and later diaphone fog horn that guided vessels through one of the world's busiest waterways. The lighthouse witnessed wartime naval monitoring during World War I, tragic drownings during routine supply operations, and countless rescues of mariners in distress. When automated in 1966, the Fresnel lens was replaced by modern acrylic optics, and the last Coast Guard crew departed. 345 346After being declared excess by the Coast Guard in 2010, the lighthouse was auctioned and purchased for $90,000 by John Vincent Scalia, whose immigrant grandparents saw it as the first landmark of their new homeland while approaching Ellis Island. Superstorm Sandy devastated the structure in 2012, destroying windows, doors, and portions of the caisson foundation. A nonprofit organization now works with FEMA and private donors to preserve and restore this irreplaceable national landmark, which is listed on both the National Register of Historic Places and the New Jersey Register of Historic Places.`,sections:[{title:"Origins: The Naming of Romer Shoal",content:`Many sources incorrectly claim that Romer Shoal was named after the pilot boat William J. Romer, which sank near the New Jersey shore in 1863. However, the Lighthouse Service had already erected a daymark on "Romer's Shoal" in 1838âa quarter century before the vessel sankâand maps predating the sinking clearly identify the formation as "Dry Romer." An 1870 edition of The Historical Magazine records that the shoal was actually named after C
346olonel Wolfgang William Romer, a military engineer who sounded the waters of New York Bay in 1700 on orders from the Governor of New York. 347 348Romer Shoal is a sandy formation that bisects the two main channels leading into Lower New York Bayâthe Ambrose Channel and the Swash Channel. In some sections, the shoal has a depth as shallow as one foot, making it a deadly hazard for vessels navigating to and from the Port of New York. The shoal lies approximately 3.8 miles north of Sandy Hook and some 500 feet south of the New JerseyâNew York state boundary, about seven miles south of the Verrazzano-Narrows Bridge.`},{title:"First Light: The Granite Daymark (1838)",content:`Congress appropriated $15,000 in 1837 and an additional $10,000 in 1838 for the creation of a light to mark the shoal. Captain Winslow Lewis was selected as the engineer to survey the area and select the site for the tower. The Army and Navy Chronicle of 1839 describes the tower as twenty-six feet in diameter at the base, six feet in diameter at the top, built of granite blocks, rising forty-two feet from the hard sand bottom, topped by a twenty-four-foot spar with a square wooden cage-work painted to attract attention. 349 350However, the daymark was built in the wrong place. After construction began, two naval officers complained that the tower was being positioned incorrectly. Work was allowed to continue, but mariners were warned not to "run for the beacon, or they would infallibly get on shore." In 1842, I.W.P. Lewis, nephew of Winslow Lewis, testified that he had designed the beacon and that it was placed in eleven feet of water on the northwest extremity of the shoal instead of in five feet of water on the southeast extremity, where it would have been a greater aid to navigation. 351 352Congress appropriated $10,000 on March 3, 1849 and another $30,000 on September 28, 1850 for placing a beacon on the southeast part of the shoal, and during 1853 just over $14,000 was spent on the project, while the remainder of the funds was used at other lighthouses.`},{title:"Deterioration and Repair (1870s)",content:`By 1870, the granite tower's foundation had settled after being undermined by the sea, and some joints in the masonry had opened three to four inches. Congress provided $5,000 in 1871 to fill the joints with concrete and protect the base with sheet iron and large granite blocks. Nine hundred and fifty tons of granite riprap were placed around the base. 353 354By 1877, the tower had visibly departed from vertical, caused by the washing out of the sand beneath the granite foundation. The Lighthouse Board reported that the riprap placed eight years earlier had settled on the side toward which the beacon inclined. An additional 500 tons of riprap of stones weighing about five tons each was recommended, requiring an appropriation of $2,500.`},{title:"The Skeletal Beacon (1886)",content:`In 1883, owners of several steamship lines plying New York Bay sent a petition to the Lighthouse Board: "The need of a light upon this dangerous shoal has been demonstrated by the long list of vessels wrecked and seriously injured thereupon, while a good, clear light at this point would enable mariners to enter the port when the weather is too thick to make out the range lights, which they now dare not to do." 355 356The petition succeeded, and construction of a new skeletal tower began. Despite severe weather that frequently made landing at the site impracticable, the foundation was advanced and the first section of the pier erected in October 1885. By the end of June 1886, the entire structure was completed and ready for lighting. The light was first exhibited on July 15, 1886. 357 358This second beacon was a twenty-five-foot-tall skeletal tower atop a concrete pier built around the old stone beacon. Twelve feet square at its base, tapering to three feet four inches at the top, and bolted to the concrete pier, the tower was equipped with a tank of compressed gas capable of powering the unmanned light for up to ninety days, saving the expense of an on-site keeper. The light was changed from fixed red to fixed white on May 13, 1893.`},{title:"The Experimental Tower at Staten Island (1883â1898)",content:`The present lighthouse tower has a remarkable origin story. It was first erected in 1883 at the General Lighthouse Depot at Tompkinsville on Staten Island. For fifteen years, it served as an onshore experimental lighthouse testing platform, where the Lighthouse Board tested different Fresnel lenses, fuels, wicks, bulbs, and other lighthouse equipment. This unusual dual lifeâfirst as a testing laboratory and then as a working lighthouseâmakes Romer Shoal Light unique among American lighthouses. 359 360When the skeletal beacon on the shoal began requiring more frequent maintenance in the 1890s, the decision was made to replace it with a fully manned light station. Rather than build a new tower, the Lighthouse Board chose to disassemble the experimental tower from the Staten Island depot, transport it to the shoal, and reassemble it atop the existing pier.`},{title:"Construction of the Current Tower (1898)",content:`The present fifty-four-foot sparkplug lighthouse was erected atop the existing pier on the shoal in 1898. The four-story cast iron tower sits on a cylindrical caisson foundation thirty feet in diameter, made of cast iron plates and filled with concrete except for the space occupied by cisterns. 361 362On December 29, 1897, the Lighthouse Board revoked its order for an acetylene light at the station. On May 5, 1898, plans were approved for the removal of the old beacon, the erection of the iron tower, and the establishment of a permanent light and fog signal. The light was discontinued as a war measure on April 28, 1898 (during the Spanish-American War), and relighted on August 1, 1898. The tower erection was completed on September 14, 1898. 363 364A fourth-order Fresnel lens producing a flashing white light was first exhibited on October 1, 1898. A 1,300-pound fog bell, striking one blow every thirty seconds, went into operation on February 20, 1899. A concrete landing pier extends southwest from the tower, equipped with a hoist used to lift the station's boat from a semi-protected boat basin.`},{title:"Architectural Description",content:`The conical light tower is four stories tall, centered atop the caisson foundation. The exterior on the first-story level is heavily corroded and has been patched in several places. The first and second stories are painted white; the third and fourth stories, along with the watch room and lantern, are painted brown. 365 366The tower's first, second, and third stories are pierced with windows framed with decorative cast iron surrounds, each including a segmental arch topped with a triangular pediment hood and projecting sill. The fourth story is pierced with eight circular port lights. 367 368The interior is lined with brick up to the third story, with the lining thickest on the first story and narrowing progressively as the tower tapers inward. A metal stairway winds counterclockwise inside the tower's perimeter wall up to the fourth story, with metal ship's ladders providing access above. 369 370The first-story room is circular, 19 feet in diameter with 7.5-foot ceilings. The second-story floor is covered with green tiles over the original wood floorboards and contains mid-twentieth-century wooden kitchen cabinets. The third story retains original four-panel wooden doors. A bathroom was added on the fourth story circa the 1950s. 371 372The cylindrical watch room is 10 feet in diameter and 6.5 feet tall, topped by a decagonal lantern room 7.5 feet in diameter. The lantern includes a lower parapet wall and upper glazed sections, each of ten sides containing three rectangular glass panes arranged vertically, capped by a round vent ball and lightning rod.`},{title:"Life at the Light: Keepers and Rescues",content:`Keeper William F. Rhodes, the seventh head keeper, was commended in 1915 for rescuing two men whose canoe capsized near the lighthouse and in 1916 for rescuing Thomas F. Leland and James Heavy from their overturned boat, supplying them with clothing, food, and lodging. 373 374During 1916, Keeper Rhodes was left alone at the station for nearly two weeks when his assistant went ashore for two days of leave and failed to return. Rhodes dared not leave the station for fear that he would be unable to return and exhibit the light. The station's skiff eventually washed up at Great Kills, while the assistant keeper's body was found at Coney Island, identified by the lighthouse buttons on his coat. The lighthouse tender Pansy was quickly dispatched to relieve Keeper Rhodes. 375 376On June 19, 1937, George Fisher and his wife were fishing near the lighthouse when their powerboat's propeller came loose. Assistant Keepers Alfred Auger and Lester Thompson helped repair the boatâtwiceâand even provided dry overalls and hot coffee to Mr. Fisher after he fell overboard. Mrs. Fisher later wrote a glowing letter of thanks to the lighthouse service, saying "not two men could ever have been nicer to us than were these Keepers." 377 378An incandescent oil vapor lamp took the place of a wick lamp inside the lens in 1928. In 1936, Romer Shoal was equipped with a diaphone fog horn and a modern heating system.`},{title:"World War I and Naval Occupation (1919â1921)",content:`In 1919, following World War I, six signal quartermasters from the Navy were crammed into the lighthouse along with the three regular keepers to monitor all vessels entering and leaving New York Harbor. Much to the keepers' relief, the six guests were removed after about a month due to a shortage of Navy personnel. 379 380The following year, the Navy took control of the entire lighthouse, assigning three of its men to mind the light and observe ships. Shortly after the men arr
380ived, a submarine chaser approached the station on November 13, 1920 to deliver provisions. Choppy seas prevented the vessel from tying up near the lighthouse, so William Walker set off in the station's launch to meet the vessel. As the two craft maneuvered near each other, a large wave pushed them close to the rocks. The captain of the submarine chaser ordered his engines reversed, and the resulting prop wash swamped Walker's craft, pulling him under the water to his death. 381 382The Navy removed its men from the lighthouse on October 16, 1921, and keepers from the Lighthouse Service returned to the station.`},{title:"The 1935 Supply Tragedy",content:'On September 16, 1935, a launch overloaded with supplies from the lighthouse tender Tulip sank near Romer Shoal, leading to the drowning of five men. Prior to this incident, the Third Lighthouse District had not lost one of its men in the previous twenty-five years "in the arduous and hazardous duty of small-boat work from lighthouse tenders." This tragedy was one of the deadliest events in the history of the U.S. Lighthouse Service.'},{title:"Coast Guard Era and Automation (1939â1966)",content:`In 1939, Romer Shoal Lighthouse, along with all navigational aids in the country, was placed under the control of the U.S. Coast Guard. Four coastguardsmen were stationed at the lightâthree always on duty while a fourth enjoyed a week's leave. One crewman explained the life: "About the only excitement we have is running the launch out in heavy seas, or going out to help a boat with a broken-down engine. That doesn't happen very often. But it's not so bad here. And how many people get a week's vacation every month?" 383 384When the lighthouse was automated in 1966, its Fresnel lens was replaced by a 190-millimeter acrylic lens that continued to mark the harbor entrance with a pair of white flashes every fifteen seconds. The acrylic lens was later replaced circa 1997 with the current VRB-25 marine rotating beacon.`},{title:"The Steamer 'Home' Disaster (1837)",content:"The dangers of Romer Shoal were demonstrated tragically by the steamer Home, which ran aground on the shoal on October 7, 1837, while leaving New York Bay. It lay grounded for several hours until high tide freed the vessel. It then continued on its journey, only to suffer a mechanical failure that led the captain to ground the vessel near Cape Hatteras, where the seas ripped it apart. This disaster, one of the worst maritime catastrophes of the era, contributed to the urgency of marking the shoal."},{title:"Post-Automation Struggles (1992â2010)",content:`After a storm in December 1992 damaged the towerâripping off the access ladderâthe Coast Guard considered scrapping the lighthouse and replacing it with a steel skeleton tower. Joe Esposito, who served as caretaker of Staten Island Lighthouse, refused to let the tower be destroyed, and through his ardent efforts it remains in place today. 385 386A metal awning that covered the main gallery was removed in 1997, along with its partition wall that had enclosed the gallery's northern and eastern sides since circa 1940. That same year, the station's submarine power cable was discontinued, the light was solarized, and a generator and fuel tanks were removed. 387 388A Notice of Availability dated June 1, 2010 announced that Romer Shoal Lighthouse was excess to the needs of the United States Coast Guard and would be made available at no cost to eligible entities for educational, park, recreational, cultural, or historic preservation purposes. Qualifying organizations were given sixty days to submit a letter of interest.`},{title:"Auction and New Stewardship (2011)",content:`After no group stepped forward to take responsibility for the lighthouse, the General Services Administration (GSA) placed the tower on the auction block on March 14, 2011. An opening bid of $15,000 was placed on June 16, after an inspection trip was offered on June 9. The auction concluded on June 24 with a winning bid of $90,000 by John Vincent Scalia. 389 390Scalia said he had always had a sweet spot for Romer Shoal Lighthouse as it was the first part of their new homeland his immigrant grandparents saw when approaching Ellis Island. He planned to spend around $80,000 fixing up the property with an eye toward making it accessible for tours from the National Lighthouse Museum on Staten Island. Scalia owned several businesses on Staten Island, including a floral shop, a funeral home, and a limousine service, and viewed renovating the lighthouse as a gift to his community.`},{title:"Superstorm Sandy and Restoration (2012âPresent)",content:`Superstorm Sandy inflicted devastating damage to Romer Shoal Lighthouse on October 29, 2012. The storm surge submerged the lighthouse nearly fifteen feet, pushing water to its second floor. All windows and doors on the first two levels were blown out, the protective riprap was rearranged, and huge chunks of the caisson foundation calved off. 391 392In late 2014, the Romer Shoal Lighthouse nonprofit received a $501,000 grant from the New Jersey Historic Trust for re-establishing Coast Guard access to the lighthouse and repairing some of the damage. On March 17, 2015, Congressman Frank Pallone Jr. announced that $3,750,415.20 in federal funding was available to help repair the damage inflicted by Superstorm Sandy. Work to repair the riprap breakwater around the lighthouse was carried out in 2019â2020. 393 394The nonprofit organization continues to work with FEMA and private donors to preserve and restore this irreplaceable national landmark. The ultimate goal is to fully restore the lighthouse and make it accessible for educational tours and cultural programming.`}],keepers:{head:[{name:"Albert H. Porter",years:"1898â1901"},{name:"Charles W. Oliver",years:"1901â1904"},{name:"Gustaf A. Fagerlund",years:"1904â1905"},{name:"Frederick Nielsen",years:"1905â1910"},{name:"Donald R. Penny",years:"1910â1912"},{name:"Charles F. Colvill",years:"1912â1913"},{name:"William F. Rhodes",years:"1914â1916"},{name:"Hans T.A. Beuthe",years:"1916"},{name:"Frank Oberly",years:"1917â1918"},{name:"Theodore P. Brahn",years:"1919"},{name:"Edward M. Grant",years:"1919â1920"},{name:"James H. Bentley",years:"1922â1923"},{name:"Luke Murray",years:"â1924"},{name:"Andrew Zuius, Sr.",years:"1924â1926"},{name:"George E. Durfee",years:"1926â1934"},{name:"Herman Westgate",years:"1934â1946"},{name:"Bernard J. Hartman",years:"1959â1960"},{name:"Robert E. Jones",years:"1960"},{name:"Thomas E. Force",years:"1960â1961"},{name:"L.G. Stangle",years:"1961â1962"},{name:"Edmund J. Higgins",years:"1962â1964"},{name:"James R. Winters",years:"1964â1965"},{name:"James P. Morrissey",years:"1965â1966"}],firstAssistant:[{name:"Johan P. Eggers",years:"1898â1899"},{name:"John H. Moore",years:"1899â1901"},{name:"Peter M. Peterson",years:"1901â1902"},{name:"Andrew J. Chatterton",years:"1902â1903"},{name:"Robert Buske",years:"1903â1904"},{name:"Julius Jacobsen",years:"1904â1905"},{name:"John V. Lindberg",years:"1905"},{name:"Willie C. Moor",years:"1905â1906"},{name:"Nicolai Jensen",years:"1906â1908"},{name:"Harry Stark",years:"1908"},{name:"Alfred Nelsen",years:"1908â1909"}],secondAssistant:[{name:"Alexander Graham",years:"â1923"},{name:"Matthew H. Rhodes",years:"1923"},{name:"Walter A.S. Littlefield",years:"â1924"}]},technicalData:{caisson:{diameter:"30 feet",material:"Cast iron plates filled with concrete",description:"Cylindrical caisson with only uppermost courses visible; rest hidden by riprap or underwater"},tower:{stories:4,interiorLining:"Brick up to third story, tongue-and-groove wood paneling on fourth story",stairway:"Metal stairway winds counterclockwise inside perimeter wall to fourth story",roomDiameters:{firstStory:"19 feet",secondStory:"18 feet",thirdStory:"17.5 feet",fourthStory:"17 feet"},ceilingHeight:"7.5 feet"},watchRoom:{diameter:"10 feet",height:"6.5 feet",construction:"Cast iron plates with beaded tongue-and-groove paneling"},lantern:{shape:"Decagonal",diameter:"7.5 feet",glazing:'Ten sides, each with three rectangular glass panes (25" à 30") arranged vertically',roof:"Ten triangular cast iron plates capped with round vent ball and lightning rod"},landingPier:{dimensions:"32 feet long à 10 feet wide à 11 feet tall",features:"Ladder, pilings for mooring, metal crane for cargo"},chimney:"Rectangular brick flue rising from first story through to watch room gallery",bathroom:"Added circa 1955 on fourth story with plywood partition walls"},sources:["Annual Report of the Lighthouse Board, various years (U.S. Lighthouse Service)","National Register of Historic Places Nomination, Daniel Koski-Karell, August 2006","Northeast Lights: Lighthouses and Lightships, Rhode Island to Cape May, New Jersey, Robert Bachand, 1989","Lighthousefriends.com, Kraig Anders
394on","US-Lighthouses.com, Bryan Penberthy","Historic-Structures.com","Wikipedia â Romer Shoal Light","U.S. Coast Guard Historian's Office","NPS Maritime Heritage Program â National Historic Lighthouse Preservation Act","General Services Administration auction records","Sermon, on the loss of the Steam-Packet Home, Rev. Thomas Smyth, 1837","CBS New York, May 11, 2011","Staten Island Advance, Kathryn Carse, October 19, 2011","Atlanticville, Kayla J. Marsh, December 18, 2014","Preservation New Jersey â 10 Most Endangered Historic Sites"]};function bT(){const e=wT;g.useEffect(()=>{window.scrollTo(0,0)},[]);const t=`${e.name} History â NY Harbor Lighthouse Association`,n=`History of ${e.name} (${e.officialName}), established ${e.constructed}, a historic lighthouse in New York Harbor.`,r="https://romershoal.lovable.app/history/romer-shoal",o="https://romershoal.lovable.app/images/history/romer-shoal/rs-wiki-main.jpg";return a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsxs(Ka,{children:[a.jsx("title",{children:t}),a.jsx("meta",{name:"description",content:n}),a.jsx("link",{rel:"canonical",href:r}),a.jsx("meta",{property:"og:title",content:`${e.name} â History`}),a.jsx("meta",{property:"og:description",content:n}),a.jsx("meta",{property:"og:url",content:r}),a.jsx("meta",{property:"og:type",content:"article"}),a.jsx("meta",{property:"og:image",content:o}),a.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:`${e.name} â History`,description:n,image:o,mainEntityOfPage:r,about:{"@type":"LandmarksOrHistoricalBuildings",name:e.name}})})]}),a.jsx($d,{}),a.jsxs("main",{children:[a.jsxs("section",{className:"relative h-[50vh] min-h-[400px] overflow-hidden",children:[a.jsx("img",{src:"/images/history/romer-shoal/rs-wiki-main.jpg",alt:"Romer Shoal Light Station",className:"absolute inset-0 w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent"}),a.jsxs("div",{className:"relative container mx-auto px-4 h-full flex flex-col justify-end pb-12",children:[a.jsxs(Eo,{to:"/",className:"inline-flex items-center gap-2 text-white/70 hover:text-white mb-4 text-sm transition-colors w-fit",children:[a.jsx(Av,{className:"w-4 h-4"}),"Back to Home"]}),a.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-2",children:e.name}),a.jsxs("p",{className:"text-white/80 text-lg max-w-2xl",children:[e.officialName," · Est. ",e.constructed]})]})]}),a.jsx("section",{className:"bg-primary text-primary-foreground py-6",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 text-sm",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(br,{className:"w-4 h-4 shrink-0 opacity-70"}),a.jsx("span",{children:e.location})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Ks,{className:"w-4 h-4 shrink-0 opacity-70"}),a.jsxs("span",{children:["First lit ",e.firstLit]})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Fv,{className:"w-4 h-4 shrink-0 opacity-70"}),a.jsx("span",{children:e.height})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Ao,{className:"w-4 h-4 shrink-0 opacity-70"}),a.jsxs("span",{children:["Light List #",e.lightListNumber]})]})]})})}),a.jsx("section",{className:"py-16 bg-secondary/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[a.jsx(Lv,{className:"w-6 h-6 text-accent"}),a.jsx("h2",{className:"text-2xl font-bold text-foreground",children:"Executive Summary"})]}),e.executiveSummary.split(` 395 396`).map((s,i)=>a.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4 text-lg",children:s},i))]})}),a.jsx("section",{className:"py-16",children:a.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:e.sections.map((s,i)=>a.jsxs("article",{className:"mb-12 last:mb-0",children:[a.jsx("h2",{className:"text-2xl font-bold text-foreground mb-4 border-l-4 border-accent pl-4",children:s.title}),s.content.split(` 397 398`).map((l,c)=>
398a.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:l},c))]},i))})}),a.jsx("section",{className:"py-16 bg-secondary/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl font-bold text-foreground mb-8",children:"Technical Specifications"}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm border border-border",children:[a.jsx("h3",{className:"font-semibold text-foreground mb-4",children:"Caisson Foundation"}),a.jsxs("dl",{className:"space-y-2 text-sm",children:[a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Diameter"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.caisson.diameter})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Material"}),a.jsx("dd",{className:"text-foreground font-medium text-right max-w-[60%]",children:e.technicalData.caisson.material})]})]})]}),a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm border border-border",children:[a.jsx("h3",{className:"font-semibold text-foreground mb-4",children:"Tower Interior"}),a.jsxs("dl",{className:"space-y-2 text-sm",children:[a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Stories"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.tower.stories})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Ceiling Height"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.tower.ceilingHeight})]}),Object.entries(e.technicalData.tower.roomDiameters).map(([s,i])=>a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground capitalize",children:s.replace(/([A-Z])/g," $1")}),a.jsx("dd",{className:"text-foreground font-medium",children:i})]},s))]})]}),a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm border border-border",children:[a.jsx("h3",{className:"font-semibold text-foreground mb-4",children:"Watch Room & Lantern"}),a.jsxs("dl",{className:"space-y-2 text-sm",children:[a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Watch Room"}),a.jsxs("dd",{className:"text-foreground font-medium",children:[e.technicalData.watchRoom.diameter," Ã ",e.technicalData.watchRoom.height]})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Lantern Shape"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.lantern.shape})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Lantern Diameter"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.lantern.diameter})]})]})]}),a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm border border-border",children:[a.jsx("h3",{className:"font-semibold text-foreground mb-4",children:"Optics & Signals"}),a.jsxs("dl",{className:"space-y-2 text-sm",children:[a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Current Optic"}),a.jsx("dd",{className:"text-foreground font-medium text-right max-w-[60%]",children:e.currentOptic})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Original Optic"}),a.jsx("dd",{className:"text-foreground font-medium text-right max-w-[60%]",children:e.originalOptic})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Characteristic"}),a.jsx("dd",{className:"text-foreground font-medium text-right max-w-[60%]",children:e.lightCharacteristic})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Range"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.range})]})]})]})]})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl font-bold text-foreground mb-8",children:"Keepers Registry"}),a.jsx("div",{className:"space-y-8",children:a.jsxs("div",{children:[a.jsx("h3",{className:"font-semibold text-foreground mb-3 text-lg",children:"Head Keepers"}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-2",children:e.keepers.head.map((s,i)=>a.jsxs("div",{className:"flex justify-between bg-card rounded-lg px-3 py-2 border border-border text-sm",children:[a.jsx("span",{className:"text-foreground",children:s.name}),a.jsx("span",{className:"text-muted-foreground ml-2 shrink-0",children:s.years})]},i))})]})})]})}),a.jsx("section",{className:"py-16 bg-secondary/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl font-bold text-foreground mb-6",children:"Heritage Designations"}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[a.jsxs("div",{className:"bg-card rounded-xl p-6 border border-border",children:[a.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"National Register of Historic Places"}),a.jsxs("p",{className:"text-muted-foreground text-sm",children:["Reference #",e.nrhpNumber]}
398),a.jsxs("p",{className:"text-muted-foreground text-sm",children:["Listed ",e.nrhpDate]}),a.jsx("p",{className:"text-muted-foreground text-sm mt-2",children:"Significance: Architecture, Engineering, Transportation, Maritime History"})]}),a.jsxs("div",{className:"bg-card rounded-xl p-6 border border-border",children:[a.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"New Jersey Register of Historic Places"}),a.jsxs("p",{className:"text-muted-foreground text-sm",children:["Reference #",e.njrhpNumber]}),a.jsxs("p",{className:"text-muted-foreground text-sm",children:["Designated ",e.njrhpDate]})]})]})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl font-bold text-foreground mb-6",children:"Sources & References"}),a.jsx("ol",{className:"list-decimal list-inside space-y-2 text-sm text-muted-foreground",children:e.sources.map((s,i)=>a.jsx("li",{children:s},i))})]})}),a.jsx("section",{className:"py-12 bg-primary text-primary-foreground",children:a.jsxs("div",{className:"container mx-auto px-4 text-center",children:[a.jsx("p",{className:"text-primary-foreground/70 mb-2",children:"Explore our sister light"}),a.jsx(Eo,{to:"/history/west-bank",className:"text-2xl font-bold hover:underline underline-offset-4",children:"West Bank Light History â"})]})})]}),a.jsx(Xd,{})]})}const kT={name:"West Bank Light",officialName:"West Bank Front Range Light",location:"West of Ambrose Channel, Lower New York Bay",coordinates:{lat:40.538,lon:-74.042806},nearestCity:"New Dorp Beach, Staten Island, New York City",borough:"Staten Island (Richmond County)",constructed:1901,heightened:1908,firstLit:"January 1, 1901",automated:"Early 1980s",height:"55 feet (17 m) â raised to 70 feet in 1908",focalPlane:"69 feet (21 m)",shape:"Sparkplug (frustum of a cone) on cylindrical caisson",construction:"Cast iron tower on concrete/cast-iron caisson",markings:"Brown on black base",currentOptic:"12-inch (300 mm) modern optic, solar-powered",originalOptic:"Fourth-order Fresnel lens with red sector",lightCharacteristic:"Isophase 6 seconds â white from 181° to 004°, red from 004° to 181°",range:"16 nautical miles (white), 12 nautical miles (red)",fogSignal:"Horn: 2 blasts every 20 seconds",nrhpNumber:"06001230",nrhpDate:"January 9, 2007",architect:"U.S. Lighthouse Board",activeAid:!0,area:"0.1 acres (underwater)",keepersDwelling:"1,500 sq ft on second story (about five standard stories above ground)",rearRangeLight:"Staten Island Light (on Richmond Hill, 5+ miles northwest)",executiveSummary:`West Bank Light, officially the West Bank Front Range Light, is a sparkplug lighthouse standing in Lower New York Bay within the boundaries of New York City, serving as the front range light for the Ambrose Channel. Built in an extraordinary six-month construction sprint between July and December 1900 and first lit on January 1, 1901, the cast iron tower was manufactured by the West Side Foundry of Watervliet, New York, and erected atop a nine-course cast iron caisson sunk into the sandy bottom of the bay's western shoals. The lighthouse was raised two additional stories in 1907â1908 to bring it into range alignment with the newly constructed Staten Island Lighthouse on Richmond Hill, five miles to the northwest. 399 400For over eight decades, keepers lived and worked in this isolated offshore tower, enduring catastrophic vessel collisions, hurricane-force gales, and the monotonous routine of tending the light and fog signal. The first head keeper, Edward "Ed" Burdge, became a lighthouse legend during his thirty-four-year career tending lights around Lower New York Bay. His vivid descriptions of life at West Bankâthe forty-ton waves slamming the tower, the deafening cacophony of fog sirens and gas engines, and his loyal fox terrier who refused to live ashoreâremain among the most compelling firsthand accounts of American lighthouse keeping ever recorded. 401 402Automated in the early 1980s as one of the last six manned stations in the Third Coast Guard District, West Bank Light was auctioned by the General Services Administration in 2010 and purchased for $195,000 by Sheridan Reilly, an avid boater who felt duty-bound to save the lighthouse that had saved so many ships. Reilly subsequently donated the lighthouse to the Romer Shoal Lighthouse nonprofit, uniting the two sister lights of Lower New York Bay under a single preservation mission. The tower remains an active aid to navigation, its red-and-white sectors continuing to guide vessels through the Ambrose Channel, and can be seen from as far away as the Riegelmann Boardwalk on Coney Island.`,sections:[{title:"The Need for a Light on the Western Shoals",content:"As its name indicates, West Bank is located on the west side of the main shipping channel in New York's Lower Bay that leads to the Narrows and on to New York Harbor. In 1896, the Lighthouse Board proposed a lighthouse for West Bank, whose sandbars are covered in places with just one to six feet of water, to help make the channels at the principal entrance to New York Harbor safe and fully available to large vessels at night and during thick weather. The board estimated that a light and fog signal could be established for $50,
402000, and Congress provided this amount on June 4, 1897."},{title:"Rapid Construction (1900â1901)",content:`After a site had been selected and the metalwork for the foundation cylinderâweighing 190 tonsâhad been received from the West Side Foundry of Watervliet, New York, work on West Bank began in the spring of 1900 with the landing platform finished by June 30. 403 404The construction was carried out in just six months, an impressive feat of engineering. In July, the benchmark was established and the site excavated to a depth of eight to ten feet below the bottom. In August, the first through fourth sections of the foundation cylinder plates were sunk into position, and the entire metalwork of the superstructureâweighing 135,000 poundsâwas delivered at the depot. In September, the concrete filling of the foundation sections was completed, the exterior filled with gravel, and some 250 tons of riprap deposited. In October, the fifth through eighth courses of foundation cylinder plates were fitted, with concrete brought up to cellar floor level. In November, the ninth and final course was completed and the superstructure erected. In December, the station was finished. 405 406On January 1, 1901, a fixed white light of the fourth order, with red sector, was established. On June 1, a blower siren fog signal was established, consisting of two oil-burning engines with blower sirens sounding blasts of two seconds duration separated by alternate silent intervals of two and five seconds. By June 12, eight loads of riprap totaling 1,528 tons had been furnished and placed for protection of the station.`},{title:"Raising the Tower for the Ambrose Channel Range (1907â1908)",content:`In 1906, as the nearby Ambrose Channel neared completion, Congress approved funding for a number of lights for the new waterway. Besides the establishment of the Ambrose Lightship and the relocation of North Hook Beacon, West Bank Lighthouse was to be raised to a height of seventy feet to bring it into range with the newly proposed Staten Island Lighthouse on Richmond Hill. 407 408A temporary structure was erected on West Bank in late 1907 to display a light while two additional stories were inserted between the watchroom and the deck below it. This work was finished on January 8, 1908 at a cost of $9,198. However, the companion rear tower on Staten Island was not placed in operation until April 5, 1912. The two-story extension on West Bank Lighthouse is obvious today, bounded by the two rows of porthole windows that ring the tower. Together, West Bank Light (front range) and Staten Island Light (rear range, on a point 145 feet above sea level) form the Ambrose Channel Range, guiding vessels through the main shipping lane into New York Harbor.`},{title:"Ed Burdge: The Legendary First Keeper (1900â1906)",content:`The first head keeper at West Bank was lighthouse legend Edward "Ed" Burdge, who for a period of thirty-four years, stretching from 1886 to 1920, manned a number of lights around New York's Lower Bay. Burdge's lighthouse career began with stints as keeper at Twin Lights at Navesink and then Great Beds and Old Orchard Shoal before spending six years at West Bank. Following that, he was keeper at Elm Tree Light on the Swash Channel Range for fourteen years. 409 410Burdge brought a small fox terrier puppy to keep him company at the newly built lighthouse, while his wife and six children lived ashore. The dog became a lighthouse fixture for eleven years, refusing to live anywhere else. In a 1924 magazine interview, Burdge recalled: "You couldn't get that dog to live ashore. Sometimes when I took him with me after supplies, he'd run down to the edge of the water and look out toward the light, and whine. If the light dimmed at night, or the fog signals stopped, he'd bark and tear around. He recognized a lot of boats, too, and would bark to the tugs he knew. I used to tie a flag to his tail, and he'd run out onto the gallery and wave signals. He always slept outside on the gallery, no matter how stormy it was, and watched the light and the boats." 411 412When Burdge was transferred to Elm Tree Light, he brought the dog ashore, but the terrier was homesick, so Burdge had to take him back out and give him to the new keeper. The dog lived on offshore lights for eleven years. When finally brought ashore for good, he died in three days.`},{title:"The Reality of Lighthouse Life",content:`Ed Burdge destroyed any romantic illusions about lighthouse keeping in his 1924 American Magazine interview. About the notion of peaceful solitude, he said: "Peace and quiet! A lighthouse is about the noisiest place in the world. Out there on West Bank, for instance, with a gale blowing. When I was there the tower rose right out of the water, with no footing at all around it, so the waves crashed against the whole tower; shook it until sometimes the mantles over the burners in the light broke. Sometimes the waves went clear over the gallery, and the spray over the light itself." 413
414He continued: "Forty or sixty tons of water, driven by a fifty-mile gale, racing in with the tide and slamming against a solid tower of stone and iron makes it about as quiet as when two railroad trains butt each other head on. Down at the floor level, there is a gas engine pounding away, with the exhaust exploding outside, the iron plates in the tower groaning, the fog siren screaming, and the bell ringing, and up in the light a stream of kerosene burning under a hundred pound pressure, and roaring louder than the gale. Nice, romantic spot â so quiet that the keeper can scarcely hear the whistles of steamers and tugs in the channel." 415 416About the supposed exciting adventures, Burdge noted: "No lighthouse keeper sees much, because when big things are happening it is mostly when you can't see a thing. There have been wrecks, and sinkings, and rescues, and all that sort of thing right near; but on nights when such things happen, when the gale is howling, and the waves are going over the light, when you can't hear yourself think, usually a keeper can't see twenty feet beyond the tower."`},{title:"Vessel Collisions and Storm Damage",content:`On December 28, 1904, during a cold but crystal-clear evening with a nor'east gale ripping through the channel, the vessel Carrie Winslow, being towed by a tug, hit the lighthouse and tore its railings off. Burdge recalled: "She tore out one side of the tower, ripped free and drifted on, leaving that gale pouring through my bedroom. Nope, I didn't do anything heroic. A man can't be much of a hero without his pants. I just saw that the pup was all right and the light burning, and that the barkentine hadn't sunk, and hunted another room that wasn't busted wide open." The lighthouse received over $1,200 in damage, and the tugboat company was assigned all blame. 417 418In January 1915, barge No. 19, in tow of the tug Minot L. Wilcox, crashed into the lighthouse, tearing a section of cast iron from the tower's base. 419 420A third-class daboll trumpet replaced the station's compressed-air siren in 1909. In July 1916, a riprap bulkhead was placed around the base of the tower at a cost of $10,913 to reinforce the foundation, which was badly broken and deteriorated below low water. Additional riprap was placed around the lighthouse and used to construct a breakwater for the protection of the boat landing in 1934.`},{title:"The Newspaper Delivery Tradition",content:`The three keepers stationed at West Bank during the summer of 1914 sent a thank-you letter to the crew of the steamer Sandy Hook, which passed by the lighthouse on its daily run between Atlantic Highlands and Manhattan: "It is with great pleasure we write these few lines to thank you one and all for your kindness in dropping the daily papersâ¦as we are very glad to get the news without having to kill ourselves rowing for it." 421 422Each morning around 7:45, the crew of the Sandy Hook would toss a bundle of papers to one of the keepers, who rowed out from the lighthouse. This practice began when a keeper expecting an important family letter asked if the Sandy Hook couldn't toss it to him. The letter was wrapped in a newspaper for protection, and the idea was born. Several good-natured commuters often contributed magazines and periodicals to the bundle. Most of the time the bundle landed directly in the keeper's rowboat, but sometimes the keeper had to fish the papers out of the bay before they became waterlogged.`},{title:"Coast Guard Era and Daily Routine",content:`Robert Lyons was stationed at West Bank Lighthouse in 1973 along with two other coastguardsmen. Every Tuesday night, the men would call Sandy Hook and give them a food list. The cooks at Group Sandy Hook would do the shopping and send the provisions out on Wednesday with the forty-foot boat that performed the crew rotation. Two men were always on station, with the third in port on one-week liberty. 423 424In rough seas, the Coast Guard boat was unable to dock at the little slip adjacent to the lighthouse and had to return to Sandy Hook. In those instances, Lyons recalls that all his "dreams and hopes" faded as the ship retreated back to port. 425 426One morning Lyons awoke, showered, and went down to the galley wearing just his skivvies to have coffee and check the TV news. To his utter amazement, the main door opened and in walked two guys and two girls. The visitors apologized for barging in but explained they had just visited Old Orchard Shoal and Romer Shoal and found those "abandoned," so they didn't expect anyone to be home at West Bank. With the girls averting their eyes, Lyons proceeded to give them a tour of the tower. 427 428On another occasion, a tug ran into the riprap surrounding the lighthouse, and Lyons thought the tower was going to fall into the ocean. From then on, he slept with a life jacket on his bed.`},{title:"Automation and Decommissioning",content:`West Bank Lighthouse was automated in the early 1980s, at which time it was one of only six manned stations remaining in the Third Coast Guard District. In 1998, the tower's Fresnel lens was removed and the light converted to solar power. 429 430On May 29, 2007, the Secretary of the Interior identified West Bank Light as surplus under the National Historic Lighthouse Preservation Act of 2000. The property was described as 55 feet tall with two floors, a keeper's dwelling of 1,500 square feet located on the second story (about five standard stories above ground), and situated on 0.1 acres of underwater area. The lighthouse could be seen from as far as the Riegelmann Boardwalk in Coney Island, Brooklyn, and from South Beach, Staten Island.`},{title:"The Auction Controversy (2008â2010)",content:`After no qualified owner was found, the General Services Administration (GSA) auctioned the lighthouse in the summer of 2008, with a winning bid of $245,000 placed by "kswiss1" on August 27. However, the sale did not close due to a dispute over auction timing. 431 432Michael Gabriel, an attorney from Nevada who had bid $230,000 on August 26, filed a lawsuit against the GSA. According to the auction rules, during a "soft close date," if no increased bid was received by 3:00 PM Eastern, bidding would close. The bid of "kswiss1" was made around 6 AM but did not extend the auction by a day because the GSA system only extended for bids placed between 9 AM and 3 PM. 433 434The lawsuit resulted in the lighthouse being auctioned again. The second auction closed on September 28, 2010 with a winning bid of $195,000 placed by "cedalt." Six bidders, who had paid refund
434able deposits of $20,000, participated, with twenty-four bids placed.`},{title:"Sheridan Reilly and Donation to Romer Shoal Foundation",content:`The auction winner was revealed to be Sheridan Reilly, who has had a lifelong fascination with historic buildings. An avid boater, Reilly has sailed past West Bank Lighthouse numerous times, and after visiting the lighthouse, felt that in exchange for West Bank saving so many ships, it was his duty to save it. Reilly estimated he would need to spend $50,000 and roughly a year just to clean up the interior, which due to broken windows in the basement had been open to birds and the elements for years. 435 436In a remarkable act of generosity, Sheridan Reilly decided to donate West Bank Lighthouse to the group responsible for Romer Shoal Lighthouse, with the hope that they could fulfill his mission to restore the light. This donation united the two sister lights of Lower New York Bay under a single preservation organization, creating an opportunity for coordinated restoration and interpretation of these twin sentinels of the harbor entrance.`}],keepers:{head:[{name:"Edward B. Burdge",years:"1900â1906"},{name:"Herbert W. Sisson",years:"1906â1909"},{name:"Robert Buske",years:"1910â1916"},{name:"Millard Caler",years:"1916â1918"},{name:"Andrew E. Applegate",years:"1918â1919"},{name:"Daniel F. McCoart",years:"1919â1921"},{name:"Fred Hainsworth",years:"â1922"},{name:"John R. Bishop",years:"1925â1927"},{name:"Arthur Bouder",years:"1930â1935, 1938â1943"},{name:"John J. Kerr",years:"1943"},{name:"Christ Gunderson",years:"1943â1945"},{name:"Edward L. Kleme",years:"1961â1962"},{name:"Raymond K. Clark",years:"1962â1963"},{name:"Anthony Jurkovich",years:"1963"},{name:"Edward L. Royer",years:"1963â1964"},{name:"Dewey E. Herron",years:"1969â1970"}],firstAssistant:[{name:"August Kjelberg",years:"1900â1902"},{name:"Charles Redfern",years:"1902â1903"},{name:"George W. Bardwell",years:"1903â1904"},{name:"Frederick Nielsen",years:"1904â1905"},{name:"Herbert W. Sisson",years:"1905â1906"},{name:"Louis F. Toocker",years:"1906"},{name:"John Markuson",years:"1906â1908"},{name:"Walter E. Whitford",years:"1908â1910"}],secondAssistant:[{name:"Theo. E. Peckham",years:"1909â1910"},{name:"Irving T. Latham",years:"1910"},{name:"John J. Sheridan",years:"1910"},{name:"Charles F. Cohill",years:"1911"},{name:"John H. Boldt",years:"1911â1912"}]},technicalData:{caisson:{courses:9,weight:"190 tons (foundation cylinder metalwork)",superstructureWeight:"135,000 pounds",manufacturer:"West Side Foundry, Watervliet, New York",excavationDepth:"8â10 feet below bottom",riprap:"1,528 tons total"},tower:{originalHeight:"55 feet",raisedHeight:"70 feet (1908 extension)",extensionCost:"$9,198",extensionDate:"January 8, 1908",rangePartner:"Staten Island Lighthouse (rear range, 145 feet above sea level, 5+ miles northwest)"},fogSignal:{original:"Blower siren with two 2-hp oil-burning engines, sounding 2-second blasts",replaced1909:"Third-class daboll trumpet",established:"June 1, 1901"},riprapBulkhead:{date:"July 1916",cost:"$10,913",reason:"Foundation badly broken and deteriorated below low water"}},sources:["Annual Report of the Lighthouse Board, various years (U.S. Lighthouse Service)","National Register of Historic Places Registration: New York MPS West Bank Light Station, Jennifer Perunko and Daniel Koski-Karell, May 2006","Northeast Lights: Lighthouses and Lightships, Rhode Island to Cape May, New Jersey, Robert Bachand, 1989",'"Could You Live Alone, Like Ed Burge Did Long Ago?," Hugh S. Fullerton, American Magazine, Volume 89, June 1920',"Lighthousefriends.com, Kraig Anderson","Wikipedia â West Bank Light","U.S. Coast Guard Historian's Office","General Services Administration auction records","U.S. Coast Guard Light List, Volume I","NPS Maritime Heritage Program â National Historic Lighthouse Preservation Act","Untapped Cities â Daily What?! West Bank Lighthouse off Staten Island","SI Live / Staten Island Advance â Beacons of the harbor","Lighthousefriends.com â Staten Island Range Lighthouse"]};function NT(){const e=kT;g.useEffect(()=>{window.scrollTo(0,0)},[]);const t=`${e.name} History â NY Harbor Lighthouse Association`,n=`History of ${e.name} (${e.officialName}), established ${e.constructed}, guarding the Ambrose Channel in New York Harbor.`,r="https://romershoal.lovable.app/history/west-bank",o="https://romershoal.lovable.app/images/history/west-bank/wb-wiki-main.jpg";return a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsxs(Ka,{children:[a.jsx("title",{children:t}),a.jsx("meta",{name:"description",content:n}),a.jsx("link",{rel:"canonical",href:r}),a.jsx("meta",{property:"og:title",content:`${e.name} â History`}),a.jsx("meta",{property:"og:description",content:n}),a.jsx("meta",{property:"og:url",content:r}),a.jsx("meta",{property:"og:type",content:"article"}),a.jsx("meta",{property:"og:image",content:o}),a.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:`${e.name} â History`,description:n,image:o,mainEntityOfPage:r,about:{"@type":"LandmarksOrHistoricalBuildings",name:e.name}})})]}),a.jsx($d,{}),a.jsxs("main",{children:[a.jsxs("section",{className:"relative h-[50vh] min-h-[400px] overflow-hidden",children:[a.jsx("img",{src:"/images/history/west-bank/wb-wiki-main.jpg",alt:"West Bank Light",className:"absolute inset-0 w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent"}),a.jsxs("div",{className:"relative container mx-auto px-4 h-full flex flex-col justify-end pb-12",children:[a.jsxs(Eo,{to:"/",className:"inline-flex items-center gap-2 text-white/70 hover:text-white mb-4 text-sm transition-colors w-fit",children:[a.jsx(Av,{className:"w-4 h-4"}),"Back to Home"]}),a.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-2",children:e.name}),a.jsxs("p",{className:"text-white/80 text-lg max-w-2xl",children:[e.officialName," · Est. ",e.constructed]})]})]}),a.jsx("section",{className:"bg-primary text-primary-foreground py-6",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 text-sm",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(br,{className:"w-4 h-4 shrink-0 opacity-70"}),a.jsx("span",{children:e.location})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Ks,{className:"w-4 h-4 shrink-0 opacity-70"}),a.jsxs("span",{children:["First lit ",e.firstLit]})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Fv,{className:"w-4 h-4 shrink-0 opacity-70"}),a.jsx("span",{children:e.height})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Ao,{className:"w-4 h-4 shrink-0 opacity-70"}),a.jsx("span",{children:e.lightCharacteristic})]})]})})}),a.jsx("section",{className:"py-16 bg-secondary/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[a.jsx(Lv,{className:"w-6 h-6 text-accent"}),a.jsx("h2",{className:"text-2xl font-bold text-foreground",children:"Executive Summary"})]}),e.executiveSummary.split(` 437 438`).map((s,i)=>a.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4 text-lg",children:s},i))]})}),a.jsx("section",{className:"py-16",children:a.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:e.sections.map((s,i)=>a.jsxs("article",{className:"mb-12 last:mb-0",children:[a.jsx("h2",{className:"text-2xl font-bold text-foreground mb-4 border-l-4 border-accent pl-4",children:s.title}),s.content.split(` 439 440`).map((l,c)=>
440a.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:l},c))]},i))})}),a.jsx("section",{className:"py-16 bg-secondary/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl font-bold text-foreground mb-8",children:"Technical Specifications"}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm border border-border",children:[a.jsx("h3",{className:"font-semibold text-foreground mb-4",children:"Caisson Foundation"}),a.jsxs("dl",{className:"space-y-2 text-sm",children:[a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Courses"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.caisson.courses})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Foundation Weight"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.caisson.weight})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Superstructure"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.caisson.superstructureWeight})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Manufacturer"}),a.jsx("dd",{className:"text-foreground font-medium text-right max-w-[60%]",children:e.technicalData.caisson.manufacturer})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Total Riprap"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.caisson.riprap})]})]})]}),a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm border border-border",children:[a.jsx("h3",{className:"font-semibold text-foreground mb-4",children:"Tower"}),a.jsxs("dl",{className:"space-y-2 text-sm",children:[a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Original Height"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.tower.originalHeight})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Raised Height"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.tower.raisedHeight})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Extension Cost"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.tower.extensionCost})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Range Partner"}),a.jsx("dd",{className:"text-foreground font-medium text-right max-w-[60%]",children:e.technicalData.tower.rangePartner})]})]})]}),a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm border border-border",children:[a.jsx("h3",{className:"font-semibold text-foreground mb-4",children:"Optics & Signals"}),a.jsxs("dl",{className:"space-y-2 text-sm",children:[a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Current Optic"}),a.jsx("dd",{className:"text-foreground font-medium text-right max-w-[60%]",children:e.currentOptic})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Original Optic"}),a.jsx("dd",{className:"text-foreground font-medium text-right max-w-[60%]",children:e.originalOptic})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Characteristic"}),a.jsx("dd",{className:"text-foreground font-medium text-right max-w-[60%]",children:e.lightCharacteristic})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Range"}),a.jsx("dd",{className:"text-foreground font-medium text-right max-w-[60%]",children:e.range})]})]})]}),a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm border border-border",children:[a.jsx("h3",{className:"font-semibold text-foreground mb-4",children:"Riprap Bulkhead (1916)"}),a.jsxs("dl",{className:"space-y-2 text-sm",children:[a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Cost"}),a.jsx("dd",{className:"text-foreground font-medium",children:e.technicalData.r
440iprapBulkhead.cost})]}),a.jsxs("div",{className:"flex justify-between",children:[a.jsx("dt",{className:"text-muted-foreground",children:"Reason"}),a.jsx("dd",{className:"text-foreground font-medium text-right max-w-[60%]",children:e.technicalData.riprapBulkhead.reason})]})]})]})]})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl font-bold text-foreground mb-8",children:"Keepers Registry"}),a.jsx("div",{className:"space-y-8",children:a.jsxs("div",{children:[a.jsx("h3",{className:"font-semibold text-foreground mb-3 text-lg",children:"Head Keepers"}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-2",children:e.keepers.head.map((s,i)=>a.jsxs("div",{className:"flex justify-between bg-card rounded-lg px-3 py-2 border border-border text-sm",children:[a.jsx("span",{className:"text-foreground",children:s.name}),a.jsx("span",{className:"text-muted-foreground ml-2 shrink-0",children:s.years})]},i))})]})})]})}),a.jsx("section",{className:"py-16 bg-secondary/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl font-bold text-foreground mb-6",children:"Heritage Designations"}),a.jsxs("div",{className:"bg-card rounded-xl p-6 border border-border max-w-md",children:[a.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"National Register of Historic Places"}),a.jsxs("p",{className:"text-muted-foreground text-sm",children:["Reference #",e.nrhpNumber]}),a.jsxs("p",{className:"text-muted-foreground text-sm",children:["Listed ",e.nrhpDate]})]})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl font-bold text-foreground mb-6",children:"Sources & References"}),a.jsx("ol",{className:"list-decimal list-inside space-y-2 text-sm text-muted-foreground",children:e.sources.map((s,i)=>a.jsx("li",{children:s},i))})]})}),a.jsx("section",{className:"py-12 bg-primary text-primary-foreground",children:a.jsxs("div",{className:"container mx-auto px-4 text-center",children:[a.jsx("p",{className:"text-primary-foreground/70 mb-2",children:"Explore our sister light"}),a.jsx(Eo,{to:"/history/romer-shoal",className:"text-2xl font-bold hover:underline underline-offset-4",children:"â Romer Shoal Light History"})]})})]}),a.jsx(Xd,{})]})}const ST=new nj,jT=()=>a.jsx(oj,{client:ST,children:a.jsxs(LS,{children:[a.jsx(hk,{}),a.jsx(Vk,{}),a.jsx(tC,{children:a.jsxs(Gj,{children:[a.jsx(es,{path:"/",element:a.jsx(yT,{})}),a.jsx(es,{path:"/history/romer-shoal",element:a.jsx(bT,{})}),a.jsx(es,{path:"/history/west-bank",element:a.jsx(NT,{})}),a.jsx(es,{path:"*",element:a.jsx(xT,{})})]})})]})});Yg(document.getElementById("root")).render(a.jsx(Zg,{children:a.jsx(jT,{})}));
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.