PageSourceSearch

https://the-becoming-retreats.com/assets/index-Bx3xICTS.js

js the-becoming-retreats.com collected 2026-10-04 07:04:34 UTC 1,164,423 bytes, 365 lines download raw bytes

vendor: 4,198 bytes, lines 1-9
1var IT=Object.defineProperty;var $v=e=>{throw TypeError(e)};var MT=(e,t,n)=>t in e?IT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var vt=(e,t,n)=>MT(e,typeof t!="symbol"?t+"":t,n),Lp=(e,t,n)=>t.has(e)||$v("Cannot "+n);var $=(e,t,n)=>(Lp(e,t,"read from private field"),n?n.call(e):t.get(e)),Ue=(e,t,n)=>t.has(e)?$v("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Se=(e,t,n,s)=>(Lp(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n),it=(e,t,n)=>(Lp(e,t,"access private method"),n);var jh=(e,t,n,s)=>({set _(l){Se(e,t,l,n)},get _(){return $(e,t,s)}});function OT(e,t){for(var n=0;n<t.length;n++){const s=t[n];if(typeof s!="string"&&!Array.isArray(s)){for(const l in s)if(l!=="default"&&!(l in e)){const c=Object.getOwnPropertyDescriptor(s,l);c&&Object.defineProperty(e,l,c.get?c:{enumerable:!0,get:()=>s[l]})}}}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 l of document.querySelectorAll('link[rel="modulepreload"]'))s(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const d of c.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function n(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(l){if(l.ep)return;l.ep=!0;const c=n(l);fetch(l.href,c)}})();function Cm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ip={exports:{}},Qc={},Mp={exports:{}},et={};/**
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 Wv;function DT(){if(Wv)return et;Wv=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.iterator;function _(z){return z===null||typeof z!="object"?null:(z=v&&z[v]||z["@@iterator"],typeof z=="function"?z:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,k={};function P(z,ne,je){this.props=z,this.context=ne,this.refs=k,this.updater=je||S}P.prototype.isReactComponent={},P.prototype.setState=function(z,ne){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,ne,"setState")},P.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function T(){}T.prototype=P.prototype;function A(z,ne,je){this.props=z,this.context=ne,this.refs=k,this.updater=je||S}var I=A.prototype=new T;I.constructor=A,E(I,P.prototype),I.isPureReactComponent=!0;var D=Array.isArray,B=Object.prototype.hasOwnProperty,G={current:null},K={key:!0,ref:!0,__self:!0,__source:!0};function W(z,ne,je){var ye,ge={},ie=null,ce=null;if(ne!=null)for(ye in ne.ref!==void 0&&(ce=ne.ref),ne.key!==void 0&&(ie=""+ne.key),ne)B.call(ne,ye)&&!K.hasOwnProperty(ye)&&(ge[ye]=ne[ye]);var _e=arguments.length-2;if(_e===1)ge.children=je;else if(1<_e){for(var ke=Array(_e),We=0;We<_e;We++)ke[We]=arguments[We+2];ge.children=ke}if(z&&z.defaultProps)for(ye in _e=z.defaultProps,_e)ge[ye]===void 0&&(ge[ye]=_e[ye]);return{$$typeof:e,type:z,key:ie,ref:ce,props:ge,_owner:G.current}}function se(z,ne){return{$$typeof:e,type:z.type,key:ne,ref:z.ref,props:z.props,_owner:z._owner}}function de(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function fe(z){var ne={"=":"=0",":":"=2"};
vendor: 10,305 bytes, lines 9-33
9return"$"+z.replace(/[=:]/g,function(je){return ne[je]})}var ve=/\/+/g;function Ae(z,ne){return typeof z=="object"&&z!==null&&z.key!=null?fe(""+z.key):ne.toString(36)}function xe(z,ne,je,ye,ge){var ie=typeof z;(ie==="undefined"||ie==="boolean")&&(z=null);var ce=!1;if(z===null)ce=!0;else switch(ie){case"string":case"number":ce=!0;break;case"object":switch(z.$$typeof){case e:case t:ce=!0}}if(ce)return ce=z,ge=ge(ce),z=ye===""?"."+Ae(ce,0):ye,D(ge)?(je="",z!=null&&(je=z.replace(ve,"$&/")+"/"),xe(ge,ne,je,"",function(We){return We})):ge!=null&&(de(ge)&&(ge=se(ge,je+(!ge.key||ce&&ce.key===ge.key?"":(""+ge.key).replace(ve,"$&/")+"/")+z)),ne.push(ge)),1;if(ce=0,ye=ye===""?".":ye+":",D(z))for(var _e=0;_e<z.length;_e++){ie=z[_e];var ke=ye+Ae(ie,_e);ce+=xe(ie,ne,je,ke,ge)}else if(ke=_(z),typeof ke=="function")for(z=ke.call(z),_e=0;!(ie=z.next()).done;)ie=ie.value,ke=ye+Ae(ie,_e++),ce+=xe(ie,ne,je,ke,ge);else if(ie==="object")throw ne=String(z),Error("Objects are not valid as a React child (found: "+(ne==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":ne)+"). If you meant to render a collection of children, use an array instead.");return ce}function Oe(z,ne,je){if(z==null)return z;var ye=[],ge=0;return xe(z,ye,"","",function(ie){return ne.call(je,ie,ge++)}),ye}function le(z){if(z._status===-1){var ne=z._result;ne=ne(),ne.then(function(je){(z._status===0||z._status===-1)&&(z._status=1,z._result=je)},function(je){(z._status===0||z._status===-1)&&(z._status=2,z._result=je)}),z._status===-1&&(z._status=0,z._result=ne)}if(z._status===1)return z._result.default;throw z._result}var he={current:null},Y={transition:null},me={ReactCurrentDispatcher:he,ReactCurrentBatchConfig:Y,ReactCurrentOwner:G};function Z(){throw Error("act(...) is not supported in production builds of React.")}return et.Children={map:Oe,forEach:function(z,ne,je){Oe(z,function(){ne.apply(this,arguments)},je)},count:function(z){var ne=0;return Oe(z,function(){ne++}),ne},toArray:function(z){return Oe(z,function(ne){return ne})||[]},only:function(z){if(!de(z))throw Error("React.Children.only expected to receive a single React element child.");return z}},et.Component=P,et.Fragment=n,et.Profiler=l,et.PureComponent=A,et.StrictMode=s,et.Suspense=f,et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=me,et.act=Z,et.cloneElement=function(z,ne,je){if(z==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+z+".");var ye=E({},z.props),ge=z.key,ie=z.ref,ce=z._owner;if(ne!=null){if(ne.ref!==void 0&&(ie=ne.ref,ce=G.current),ne.key!==void 0&&(ge=""+ne.key),z.type&&z.type.defaultProps)var _e=z.type.defaultProps;for(ke in ne)B.call(ne,ke)&&!K.hasOwnProperty(ke)&&(ye[ke]=ne[ke]===void 0&&_e!==void 0?_e[ke]:ne[ke])}var ke=arguments.length-2;if(ke===1)ye.children=je;else if(1<ke){_e=Array(ke);for(var We=0;We<ke;We++)_e[We]=arguments[We+2];ye.children=_e}return{$$typeof:e,type:z.type,key:ge,ref:ie,props:ye,_owner:ce}},et.createContext=function(z){return z={$$typeof:d,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},z.Provider={$$typeof:c,_context:z},z.Consumer=z},et.createElement=W,et.createFactory=function(z){var ne=W.bind(null,z);return ne.type=z,ne},et.createRef=function(){return{current:null}},et.forwardRef=function(z){return{$$typeof:m,render:z}},et.isValidElement=de,et.lazy=function(z){return{$$typeof:y,_payload:{_status:-1,_result:z},_init:le}},et.memo=function(z,ne){return{$$typeof:x,type:z,compare:ne===void 0?null:ne}},et.startTransition=function(z){var ne=Y.transition;Y.transition={};try{z()}finally{Y.transition=ne}},et.unstable_act=Z,et.useCallback=function(z,ne){return he.current.useCallback(z,ne)},et.useContext=function(z){return he.current.useContext(z)},et.useDebugValue=function(){},et.useDeferredValue=function(z){return he.current.useDeferredValue(z)},et.useEffect=function(z,ne){return he.current.useEffect(z,ne)},et.useId=function(){return he.current.useId()},et.useImperativeHandle=function(z,ne,je){return he.current.useImperativeHandle(z,ne,je)},et.useInsertionEffect=function(z,ne){return he.current.useInsertionEffect(z,ne)},et.useLayoutEffect=function(z,ne){return he.current.useLayoutEffect(z,ne)},et.useMemo=function(z,ne){return he.current.useMemo(z,ne)},et.useReducer=function(z,ne,je){return he.current.useReducer(z,ne,je)},et.useRef=function(z){return he.current.useRef(z)},et.useState=function(z){return he.current.useState(z)},et.useSyncExternalStore=function(z,ne,je){return he.current.useSyncExternalStore(z,ne,je)},et.useTransition=function(){return he.current.useTransition()},et.version="18.3.1",et}var Hv;function Bx(){return Hv||(Hv=1,Mp.exports=DT()),Mp.exports}/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var qv;function FT(){if(qv)return Qc;qv=1;var e=Bx(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function d(m,f,x){var y,v={},_=null,S=null;x!==void 0&&(_=""+x),f.key!==void 0&&(_=""+f.key),f.ref!==void 0&&(S=f.ref);for(y in f)s.call(f,y)&&!c.hasOwnProperty(y)&&(v[y]=f[y]);if(m&&m.defaultProps)for(y in f=m.defaultProps,f)v[y]===void 0&&(v[y]=f[y]);return{$$typeof:t,type:m,key:_,ref:S,props:v,_owner:l.current}}return Qc.Fragment=n,Qc.jsx=d,Qc.jsxs=d,Qc}var Zv;function BT(){return Zv||(Zv=1,Ip.exports=FT()),Ip.exports}var i=BT(),N=Bx();const Tt=Cm(N),Pm=OT({__proto__:null,default:Tt},[N]);var Nh={},Op={exports:{}},Vn={},Dp={exports:{}},Fp={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var Gv;function VT(){return Gv||(Gv=1,(function(e){function t(Y,me){var Z=Y.length;Y.push(me);e:for(;0<Z;){var z=Z-1>>>1,ne=Y[z];if(0<l(ne,me))Y[z]=me,Y[Z]=ne,Z=z;else break e}}function n(Y){return Y.length===0?null:Y[0]}function s(Y){if(Y.length===0)return null;var me=Y[0],Z=Y.pop();if(Z!==me){Y[0]=Z;e:for(var z=0,ne=Y.length,je=ne>>>1;z<je;){var ye=2*(z+1)-1,ge=Y[ye],ie=ye+1,ce=Y[ie];if(0>l(ge,Z))ie<ne&&0>l(ce,ge)?(Y[z]=ce,Y[ie]=Z,z=ie):(Y[z]=ge,Y[ye]=Z,z=ye);else if(ie<ne&&0>l(ce,Z))Y[z]=ce,Y[ie]=Z,z=ie;else break e}}return me}function l(Y,me){var Z=Y.sortIndex-me.sortIndex;return Z!==0?Z:Y.id-me.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var d=Date,m=d.now();e.unstable_now=function(){return d.now()-m}}var f=[],x=[],y=1,v=null,_=3,S=!1,E=!1,k=!1,P=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,A=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function I(Y){for(var me=n(x);me!==null;){if(me.callback===null)s(x);else if(me.startTime<=Y)s(x),me.sortIndex=me.expirationTime,t(f,me);else break;me=n(x)}}function D(Y){if(k=!1,I(Y),!E)if(n(f)!==null)E=!0,le(B);else{var me=n(x);me!==null&&he(D,me.startTime-Y)}}function B(Y,me){E=!1,k&&(k=!1,T(W),W=-1),S=!0;var Z=_;try{for(I(me),v=n(f);v!==null&&(!(v.expirationTime>me)||Y&&!fe());){var z=v.callback;if(typeof z=="function"){v.callback=null,_=v.priorityLevel;var ne=z(v.expirationTime<=me);me=e.unstable_now(),typeof ne=="function"?v.callback=ne:v===n(f)&&s(f),I(me)}else s(f);v=n(f)}if(v!==null)var je=!0;else{var ye=n(x);ye!==null&&he(D,ye.startTime-me),je=!1}return je}finally{v=null,_=Z,S=!1}}var G=!1,K=null,W=-1,se=5,de=-1;function fe(){return!(e.unstable_now()-de<se)}function ve(){if(K!==null){var Y=e.unstable_now();de=Y;var me=!0;try{me=K(!0,Y)}finally{me?Ae():(G=!1,K=null)}}else G=!1}var Ae;if(typeof A=="function")Ae=function(){A(ve)};else if(typeof MessageChannel<"u"){var xe=new MessageChannel,Oe=xe.port2;xe.port1.onmessage=ve,Ae=function(){Oe.postMessage(null)}}else Ae=function(){P(ve,0)};function le(Y){K=Y,G||(G=!0,Ae())}function he(Y,me){W=P(function(){Y(e.unstable_now())},me)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Y){Y.callback=null},e.unstable_continueExecution=function(){E||S||(E=!0,le(B))},e.unstable_forceFrameRate=function(Y){0>Y||125<Y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):se=0<Y?Math.floor(1e3/Y):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_getFirstCallbackNode=function(){return n(f)},e.unstable_next=function(Y){switch(_){case 1:case 2:case 3:var me=3;break;default:me=_}var Z=_;_=me;try{return Y()}finally{_=Z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(Y,me){switch(Y){case 1:case 2:case 3:case 4:case 5:break;default:Y=3}var Z=_;_=Y;try{return me()}finally{_=Z}},e.unstable_scheduleCallback=function(Y,me,Z){var z=e.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?z+Z:z):Z=z,Y){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=Z+ne,Y={id:y++,callback:me,priorityLevel:Y,startTime:Z,expirationTime:ne,sortIndex:-1},Z>z?(Y.sortIndex=Z,t(x,Y),n(f)===null&&Y===n(x)&&(k?(T(W),W=-1):k=!0,he(D,Z-z))):(Y.sortIndex=ne,t(f,Y),E||S||(E=!0,le(B))),Y},e.unstable_shouldYield=fe,e.unstable_wrapCallback=function(Y){var me=_;return function(){var Z=_;_=me;try{return Y.apply(this,arguments)}finally{_=Z}}}})(Fp)),Fp}var Yv;function zT(){return Yv||(Yv=1,Dp.exports=VT()),Dp.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 Kv;
vendor: 14,985 bytes, lines 33-37
33function UT(){if(Kv)return Vn;Kv=1;var e=Bx(),t=zT();function n(r){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+r,h=1;h<arguments.length;h++)o+="&args[]="+encodeURIComponent(arguments[h]);return"Minified React error #"+r+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,l={};function c(r,o){d(r,o),d(r+"Capture",o)}function d(r,o){for(l[r]=o,r=0;r<o.length;r++)s.add(o[r])}var m=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,x=/^[: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]*$/,y={},v={};function _(r){return f.call(v,r)?!0:f.call(y,r)?!1:x.test(r)?v[r]=!0:(y[r]=!0,!1)}function S(r,o,h,g){if(h!==null&&h.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return g?!1:h!==null?!h.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function E(r,o,h,g){if(o===null||typeof o>"u"||S(r,o,h,g))return!0;if(g)return!1;if(h!==null)switch(h.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function k(r,o,h,g,b,j,R){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=g,this.attributeNamespace=b,this.mustUseProperty=h,this.propertyName=r,this.type=o,this.sanitizeURL=j,this.removeEmptyString=R}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){P[r]=new k(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var o=r[0];P[o]=new k(o,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){P[r]=new k(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){P[r]=new k(r,2,!1,r,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(r){P[r]=new k(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){P[r]=new k(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){P[r]=new k(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){P[r]=new k(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){P[r]=new k(r,5,!1,r.toLowerCase(),null,!1,!1)});var T=/[\-:]([a-z])/g;function A(r){return r[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(r){var o=r.replace(T,A);P[o]=new k(o,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var o=r.replace(T,A);P[o]=new k(o,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var o=r.replace(T,A);P[o]=new k(o,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){P[r]=new k(r,1,!1,r.toLowerCase(),null,!1,!1)}),P.xlinkHref=new k("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){P[r]=new k(r,1,!1,r.toLowerCase(),null,!0,!0)});function I(r,o,h,g){var b=P.hasOwnProperty(o)?P[o]:null;(b!==null?b.type!==0:g||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(E(o,h,b,g)&&(h=null),g||b===null?_(o)&&(h===null?r.removeAttribute(o):r.setAttribute(o,""+h)):b.mustUseProperty?r[b.propertyName]=h===null?b.type===3?!1:"":h:(o=b.attributeName,g=b.attributeNamespace,h===null?r.removeAttribute(o):(b=b.type,h=b===3||b===4&&h===!0?"":""+h,g?r.setAttributeNS(g,o,h):r.setAttribute(o,h))))}var D=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,B=Symbol.for("react.element"),G=Symbol.for("react.portal"),K=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),de=Symbol.for("react.provider"),fe=Symbol.for("react.context"),ve=Symbol.for("react.forward_ref"),Ae=Symbol.for("react.suspense"),xe=Symbol.for("react.suspense_list"),Oe=Symbol.for("react.memo"),le=Symbol.for("react.lazy"),he=Symbol.for("react.offscreen"),Y=Symbol.iterator;function me(r){return r===null||typeof r!="object"?null:(r=Y&&r[Y]||r["@@iterator"],typeof r=="function"?r:null)}var Z=Object.assign,z;function ne(r){if(z===void 0)try{throw Error()}catch(h){var o=h.stack.trim().match(/\n( *(at )?)/);z=o&&o[1]||""}return`
34`+z+r}var je=!1;function ye(r,o){if(!r||je)return"";je=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(te){var g=te}Reflect.construct(r,[],o)}else{try{o.call()}catch(te){g=te}r.call(o.prototype)}else{try{throw Error()}catch(te){g=te}r()}}catch(te){if(te&&g&&typeof te.stack=="string"){for(var b=te.stack.split(`
35`),j=g.stack.split(`
36`),R=b.length-1,F=j.length-1;1<=R&&0<=F&&b[R]!==j[F];)F--;for(;1<=R&&0<=F;R--,F--)if(b[R]!==j[F]){if(R!==1||F!==1)do if(R--,F--,0>F||b[R]!==j[F]){var U=`
37`+b[R].replace(" at new "," at ");return r.displayName&&U.includes("<anonymous>")&&(U=U.replace("<anonymous>",r.displayName)),U}while(1<=R&&0<=F);break}}}finally{je=!1,Error.prepareStackTrace=h}return(r=r?r.displayName||r.name:"")?ne(r):""}function ge(r){switch(r.tag){case 5:return ne(r.type);case 16:return ne("Lazy");case 13:return ne("Suspense");case 19:return ne("SuspenseList");case 0:case 2:case 15:return r=ye(r.type,!1),r;case 11:return r=ye(r.type.render,!1),r;case 1:return r=ye(r.type,!0),r;default:return""}}function ie(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case K:return"Fragment";case G:return"Portal";case se:return"Profiler";case W:return"StrictMode";case Ae:return"Suspense";case xe:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case fe:return(r.displayName||"Context")+".Consumer";case de:return(r._context.displayName||"Context")+".Provider";case ve:var o=r.render;return r=r.displayName,r||(r=o.displayName||o.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Oe:return o=r.displayName||null,o!==null?o:ie(r.type)||"Memo";case le:o=r._payload,r=r._init;try{return ie(r(o))}catch{}}return null}function ce(r){var o=r.type;switch(r.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=o.render,r=r.displayName||r.name||"",o.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ie(o);case 8:return o===W?"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 o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function _e(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function ke(r){var o=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function We(r){var o=ke(r)?"checked":"value",h=Object.getOwnPropertyDescriptor(r.constructor.prototype,o),g=""+r[o];if(!r.hasOwnProperty(o)&&typeof h<"u"&&typeof h.get=="function"&&typeof h.set=="function"){var b=h.get,j=h.set;return Object.defineProperty(r,o,{configurable:!0,get:function(){return b.call(this)},set:function(R){g=""+R,j.call(this,R)}}),Object.defineProperty(r,o,{enumerable:h.enumerable}),{getValue:function(){return g},setValue:function(R){g=""+R},stopTracking:function(){r._valueTracker=null,delete r[o]}}}}function Ge(r){r._valueTracker||(r._valueTracker=We(r))}function Be(r){if(!r)return!1;var o=r._valueTracker;if(!o)return!0;var h=o.getValue(),g="";return r&&(g=ke(r)?r.checked?"true":"false":r.value),r=g,r!==h?(o.setValue(r),!0):!1}function dt(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function bt(r,o){var h=o.checked;return Z({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:h??r._wrapperState.initialChecked})}function Bt(r,o){var h=o.defaultValue==null?"":o.defaultValue,g=o.checked!=null?o.checked:o.defaultChecked;h=_e(o.value!=null?o.value:h),r._wrapperState={initialChecked:g,initialValue:h,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function De(r,o){o=o.checked,o!=null&&I(r,"checked",o,!1)}function gt(r,o){De(r,o);var h=_e(o.value),g=o.type;if(h!=null)g==="number"?(h===0&&r.value===""||r.value!=h)&&(r.value=""+h):r.value!==""+h&&(r.value=""+h);else if(g==="submit"||g==="reset"){r.removeAttribute("value");return}o.hasOwnProperty("value")?en(r,o.type,h):o.hasOwnProperty("defaultValue")&&en(r,o.type,_e(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(r.defaultChecked=!!o.defaultChecked)}function Xt(r,o,h){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var g=o.type;if(!(g!=="submit"&&g!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+r._wrapperState.initialValue,h||o===r.value||(r.value=o),r.defaultValue=o}h=r.name,h!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,h!==""&&(r.name=h)}function en(r,o,h){(o!=="number"||dt(r.ownerDocument)!==r)&&(h==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+h&&(r.defaultValue=""+h))}var ki=Array.isArray;function ai(r,o,h,g){if(r=r.options,o){o={};for(var b=0;b<h.length;b++)o["$"+h[b]]=!0;for(h=0;h<r.length;h++)b=o.hasOwnProperty("$"+r[h].value),r[h].selected!==b&&(r[h].selected=b),b&&g&&(r[h].defaultSelected=!0)}else{for(h=""+_e(h),o=null,b=0;b<r.length;b++){if(r[b].value===h){r[b].selected=!0,g&&(r[b].defaultSelected=!0);return}o!==null||r[b].disabled||(o=r[b])}o!==null&&(o.selected=!0)}}function oi(r,o){if(o.dangerouslySetInnerHTML!=null)throw Error(n(91));return Z({},o,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function nc(r,o){var h=o.value;if(h==null){if(h=o.children,o=o.defaultValue,h!=null){if(o!=null)throw Error(n(92));if(ki(h)){if(1<h.length)throw Error(n(93));h=h[0]}o=h}o==null&&(o=""),h=o}r._wrapperState={initialValue:_e(h)}}function td(r,o){var h=_e(o.value),g=_e(o.defaultValue);h!=null&&(h=""+h,h!==r.value&&(r.value=h),o.defaultValue==null&&r.defaultValue!==h&&(r.defaultValue=h)),g!=null&&(r.defaultValue=""+g)}function nd(r){var o=r.textContent;o===r._wrapperState.initialValue&&o!==""&&o!==null&&(r.value=o)}function bo(r){switch(r){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 _o(r,o){return r==null||r==="http://www.w3.org/1999/xhtml"?bo(o):r==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var ma,id=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,h,g,b){MSApp.execUnsafeLocalFunction(function(){return r(o,h,g,b)})}:r})(function(r,o){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=o;else{for(ma=ma||document.createElement("div"),ma.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=ma.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;o.firstChild;)r.appendChild(o.firstChild)}});function tr(r,o){if(o){var h=r.firstChild;if(h&&h===r.lastChild&&h.nodeType===3){h.nodeValue=o;return}}r.textContent=o}var nr={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},cf=["Webkit","ms","Moz","O"];Object.keys(nr).forEach(function(r){cf.forEach(function(o){o=o+r.charAt(0).toUpperCase()+r.substring(1),nr[o]=nr[r]})});function ic(r,o,h){return o==null||typeof o=="boolean"||o===""?"":h||typeof o!="number"||o===0||nr.hasOwnProperty(r)&&nr[r]?(""+o).trim():o+"px"}function jo(r,o){r=r.style;for(var h in o)if(o.hasOwnProperty(h)){var g=h.indexOf("--")===0,b=ic(h,o[h],g);h==="float"&&(h="cssFloat"),g?r.setProperty(h,b):r[h]=b}}var sd=Z({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 sc(r,o){if(o){if(sd[r]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(n(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(n(61))}if(o.style!=null&&typeof o.style!="object")throw Error(n(62))}}function ws(r,o){if(r.indexOf("-")===-1)return typeof o.is=="str
37ing";switch(r){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 rc=null;function ac(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var No=null,bs=null,_s=null;function rd(r){if(r=Is(r)){if(typeof No!="function")throw Error(n(280));var o=r.stateNode;o&&(o=Jo(o),No(r.stateNode,r.type,o))}}function ad(r){bs?_s?_s.push(r):_s=[r]:bs=r}function od(){if(bs){var r=bs,o=_s;if(_s=bs=null,rd(r),o)for(r=0;r<o.length;r++)rd(o[r])}}function ld(r,o){return r(o)}function cd(){}var oc=!1;function So(r,o,h){if(oc)return r(o,h);oc=!0;try{return ld(r,o,h)}finally{oc=!1,(bs!==null||_s!==null)&&(cd(),od())}}function fa(r,o){var h=r.stateNode;if(h===null)return null;var g=Jo(h);if(g===null)return null;h=g[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(g=!g.disabled)||(r=r.type,g=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!g;break e;default:r=!1}if(r)return null;if(h&&typeof h!="function")throw Error(n(231,o,typeof h));return h}var lc=!1;if(m)try{var pa={};Object.defineProperty(pa,"passive",{get:function(){lc=!0}}),window.addEventListener("test",pa,pa),window.removeEventListener("test",pa,pa)}catch{lc=!1}function uf(r,o,h,g,b,j,R,F,U){var te=Array.prototype.slice.call(arguments,3);try{o.apply(h,te)}catch(oe){this.onError(oe)}}var mn=!1,Le=null,ga=!1,ko=null,ud={onError:function(r){mn=!0,Le=r}};function dd(r,o,h,g,b,j,R,F,U){mn=!1,Le=null,uf.apply(ud,arguments)}function cc(r,o,h,g,b,j,R,F,U){if(dd.apply(this,arguments),mn){if(mn){var te=Le;mn=!1,Le=null}else throw Error(n(198));ga||(ga=!0,ko=te)}}function Yi(r){var o=r,h=r;if(r.alternate)for(;o.return;)o=o.return;else{r=o;do o=r,(o.flags&4098)!==0&&(h=o.return),r=o.return;while(r)}return o.tag===3?h:null}function js(r){if(r.tag===13){var o=r.memoizedState;if(o===null&&(r=r.alternate,r!==null&&(o=r.memoizedState)),o!==null)return o.dehydrated}return null}function uc(r){if(Yi(r)!==r)throw Error(n(188))}function df(r){var o=r.alternate;if(!o){if(o=Yi(r),o===null)throw Error(n(188));return o!==r?null:r}for(var h=r,g=o;;){var b=h.return;if(b===null)break;var j=b.alternate;if(j===null){if(g=b.return,g!==null){h=g;continue}break}if(b.child===j.child){for(j=b.child;j;){if(j===h)return uc(b),r;if(j===g)return uc(b),o;j=j.sibling}throw Error(n(188))}if(h.return!==g.return)h=b,g=j;else{for(var R=!1,F=b.child;F;){if(F===h){R=!0,h=b,g=j;break}if(F===g){R=!0,g=b,h=j;break}F=F.sibling}if(!R){for(F=j.child;F;){if(F===h){R=!0,h=j,g=b;break}if(F===g){R=!0,g=j,h=b;break}F=F.sibling}if(!R)throw Error(n(189))}}if(h.alternate!==g)throw Error(n(190))}if(h.tag!==3)throw Error(n(188));return h.stateNode.current===h?r:o}function hd(r){return r=df(r),r!==null?md(r):null}function md(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var o=md(r);if(o!==null)return o;r=r.sibling}return null}var fd=t.unstable_scheduleCallback,dc=t.unstable_cancelCallback,hf=t.unstable_shouldYield,To=t.unstable_requestPaint,Ct=t.unstable_now,mf=t.unstable_getCurrentPriorityLevel,hc=t.unstable_ImmediatePriority,pd=t.unstable_UserBlockingPriority,Co=t.unstable_NormalPriority,mc=t.unstable_LowPriority,ir=t.unstable_IdlePriority,xa=null,Hn=null;function ya(r){if(Hn&&typeof Hn.onCommitFiberRoot=="function")try{Hn.onCommitFiberRoot(xa,r,void 0,(r.current.flags&128)===128)}catch{}}var Ye=Math.clz32?Math.clz32:sr,_t=Math.log,Po=Math.LN2;function sr(r){return r>>>=0,r===0?32:31-(_t(r)/Po|0)|0}var Ti=64,rr=4194304;function Ze(r){switch(r&-r){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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function xt(r,o){var h=r.pendingLanes;if(h===0)return 0;var g=0,b=r.suspendedLanes,j=r.pingedLanes,R=h&268435455;if(R!==0){var F=R&~b;F!==0?g=Ze(F):(j&=R,j!==0&&(g=Ze(j)))}else R=h&~b,R!==0?g=Ze(R):j!==0&&(g=Ze(j));if(g===0)return 0;if(o!==0&&o!==g&&(o&b)===0&&(b=g&-g,j=o&-o,b>=j||b===16&&(j&4194240)!==0))return o;if((g&4)!==0&&(g|=h&16),o=r.entangledLanes,o!==0)for(r=r.entanglements,o&=g;0<o;)h=31-Ye(o),b=1<<h,g|=r[h],o&=~b;return g}function fc(r,o){switch(r){case 1:case 2:case 4:return o+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 o+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 Eo(r,o){for(var h=r.suspendedLanes,g=r.pingedLanes,b=r.expirationTimes,j=r.pendingLanes;0<j;){var R=31-Ye(j),F=1<<R,U=b[R];U===-1?((F&h)===0||(F&g)!==0)&&(b[R]=fc(F,o)):U<=o&&(r.expiredLanes|=F),j&=~F}}function fn(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function gd(){var r=Ti;return Ti<<=1,(Ti&4194240)===0&&(Ti=64),r}function ar(r){for(var o=[],h=0;31>h;h++)o.push(r);return o}function qn(r,o,h){r.pendingLanes|=o,o!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,o=31-Ye(o),r[o]=h}function Lt(r,o){var h=r.pendingLanes&~o;r.pendingLanes=o,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=o,r.mutableReadLanes&=o,r.entangledLanes&=o,o=r.entanglements;var g=r.eventTimes;for(r=r.expirationTimes;0<h;){var b=31-Ye(h),j=1<<b;o[b]=0,g[b]=-1,r[b]=-1,h&=~j}}function Ci(r,o){var h=r.entangledLanes|=o;for(r=r.entanglements;h;){var g=31-Ye(h),b=1<<g;b&o|r[g]&o&&(r[g]|=o),h&=~b}}var nt=0;function or(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var Ao,Ns,Ro,Lo,va,wa=!1,lr=[],Zn=null,Pi=null,li=null,ba=new Map,He=new Map,Zt=[],ft="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 pc(r,o){switch(r){case"focusin":case"focusout":Zn=null;break;case"dragenter":case"dragleave":Pi=null;break;case"mouseover":case"mouseout":li=null;break;case"pointerover":case"pointerout":ba.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":He.delete(o.pointerId)}}function Ss(r,o,h,g,b,j){return r===null||r.nativeEvent!==j?(r={blockedOn:o,domEventName:h,eventSystemFlags:g,
vendor: 3,855 bytes, line 37
37nativeEvent:j,targetContainers:[b]},o!==null&&(o=Is(o),o!==null&&Ns(o)),r):(r.eventSystemFlags|=g,o=r.targetContainers,b!==null&&o.indexOf(b)===-1&&o.push(b),r)}function gc(r,o,h,g,b){switch(o){case"focusin":return Zn=Ss(Zn,r,o,h,g,b),!0;case"dragenter":return Pi=Ss(Pi,r,o,h,g,b),!0;case"mouseover":return li=Ss(li,r,o,h,g,b),!0;case"pointerover":var j=b.pointerId;return ba.set(j,Ss(ba.get(j)||null,r,o,h,g,b)),!0;case"gotpointercapture":return j=b.pointerId,He.set(j,Ss(He.get(j)||null,r,o,h,g,b)),!0}return!1}function Io(r){var o=Ls(r.target);if(o!==null){var h=Yi(o);if(h!==null){if(o=h.tag,o===13){if(o=js(h),o!==null){r.blockedOn=o,va(r.priority,function(){Ro(h)});return}}else if(o===3&&h.stateNode.current.memoizedState.isDehydrated){r.blockedOn=h.tag===3?h.stateNode.containerInfo:null;return}}}r.blockedOn=null}function ci(r){if(r.blockedOn!==null)return!1;for(var o=r.targetContainers;0<o.length;){var h=Do(r.domEventName,r.eventSystemFlags,o[0],r.nativeEvent);if(h===null){h=r.nativeEvent;var g=new h.constructor(h.type,h);rc=g,h.target.dispatchEvent(g),rc=null}else return o=Is(h),o!==null&&Ns(o),r.blockedOn=h,!1;o.shift()}return!0}function Mo(r,o,h){ci(r)&&h.delete(o)}function _a(){wa=!1,Zn!==null&&ci(Zn)&&(Zn=null),Pi!==null&&ci(Pi)&&(Pi=null),li!==null&&ci(li)&&(li=null),ba.forEach(Mo),He.forEach(Mo)}function Pt(r,o){r.blockedOn===o&&(r.blockedOn=null,wa||(wa=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,_a)))}function Gn(r){function o(b){return Pt(b,r)}if(0<lr.length){Pt(lr[0],r);for(var h=1;h<lr.length;h++){var g=lr[h];g.blockedOn===r&&(g.blockedOn=null)}}for(Zn!==null&&Pt(Zn,r),Pi!==null&&Pt(Pi,r),li!==null&&Pt(li,r),ba.forEach(o),He.forEach(o),h=0;h<Zt.length;h++)g=Zt[h],g.blockedOn===r&&(g.blockedOn=null);for(;0<Zt.length&&(h=Zt[0],h.blockedOn===null);)Io(h),h.blockedOn===null&&Zt.shift()}var ks=D.ReactCurrentBatchConfig,ja=!0;function ff(r,o,h,g){var b=nt,j=ks.transition;ks.transition=null;try{nt=1,Na(r,o,h,g)}finally{nt=b,ks.transition=j}}function xd(r,o,h,g){var b=nt,j=ks.transition;ks.transition=null;try{nt=4,Na(r,o,h,g)}finally{nt=b,ks.transition=j}}function Na(r,o,h,g){if(ja){var b=Do(r,o,h,g);if(b===null)a(r,o,g,Oo,h),pc(r,g);else if(gc(b,r,o,h,g))g.stopPropagation();else if(pc(r,g),o&4&&-1<ft.indexOf(r)){for(;b!==null;){var j=Is(b);if(j!==null&&Ao(j),j=Do(r,o,h,g),j===null&&a(r,o,g,Oo,h),j===b)break;b=j}b!==null&&g.stopPropagation()}else a(r,o,g,null,h)}}var Oo=null;function Do(r,o,h,g){if(Oo=null,r=ac(g),r=Ls(r),r!==null)if(o=Yi(r),o===null)r=null;else if(h=o.tag,h===13){if(r=js(o),r!==null)return r;r=null}else if(h===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;r=null}else o!==r&&(r=null);return Oo=r,null}function tt(r){switch(r){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;
vendor: 21,213 bytes, lines 37-38
37case"message":switch(mf()){case hc:return 1;case pd:return 4;case Co:case mc:return 16;case ir:return 536870912;default:return 16}default:return 16}}var Ki=null,kn=null,Ji=null;function xc(){if(Ji)return Ji;var r,o=kn,h=o.length,g,b="value"in Ki?Ki.value:Ki.textContent,j=b.length;for(r=0;r<h&&o[r]===b[r];r++);var R=h-r;for(g=1;g<=R&&o[h-g]===b[j-g];g++);return Ji=b.slice(r,1<g?1-g:void 0)}function Fo(r){var o=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&o===13&&(r=13)):r=o,r===10&&(r=13),32<=r||r===13?r:0}function cr(){return!0}function yd(){return!1}function pn(r){function o(h,g,b,j,R){this._reactName=h,this._targetInst=b,this.type=g,this.nativeEvent=j,this.target=R,this.currentTarget=null;for(var F in r)r.hasOwnProperty(F)&&(h=r[F],this[F]=h?h(j):j[F]);return this.isDefaultPrevented=(j.defaultPrevented!=null?j.defaultPrevented:j.returnValue===!1)?cr:yd,this.isPropagationStopped=yd,this}return Z(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var h=this.nativeEvent;h&&(h.preventDefault?h.preventDefault():typeof h.returnValue!="unknown"&&(h.returnValue=!1),this.isDefaultPrevented=cr)},stopPropagation:function(){var h=this.nativeEvent;h&&(h.stopPropagation?h.stopPropagation():typeof h.cancelBubble!="unknown"&&(h.cancelBubble=!0),this.isPropagationStopped=cr)},persist:function(){},isPersistent:cr}),o}var ur={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yc=pn(ur),Ts=Z({},ur,{view:0,detail:0}),pf=pn(Ts),Ln,vc,dr,Yn=Z({},Ts,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ps,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==dr&&(dr&&r.type==="mousemove"?(Ln=r.screenX-dr.screenX,vc=r.screenY-dr.screenY):vc=Ln=0,dr=r),Ln)},movementY:function(r){return"movementY"in r?r.movementY:vc}}),wc=pn(Yn),vd=Z({},Yn,{dataTransfer:0}),bc=pn(vd),gf=Z({},Ts,{relatedTarget:0}),Bo=pn(gf),wd=Z({},ur,{animationName:0,elapsedTime:0,pseudoElement:0}),xf=pn(wd),yf=Z({},ur,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),_c=pn(yf),vf=Z({},ur,{data:0}),jc=pn(vf),bd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vo={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"},Cs={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wf(r){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(r):(r=Cs[r])?!!o[r]:!1}function Ps(){return wf}var In=Z({},Ts,{key:function(r){if(r.key){var o=bd[r.key]||r.key;if(o!=="Unidentified")return o}return r.type==="keypress"?(r=Fo(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Vo[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ps,charCode:function(r){return r.type==="keypress"?Fo(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Fo(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),_d=pn(In),jd=Z({},Yn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Nd=pn(jd),Nc=Z({},Ts,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ps}),Sc=pn(Nc),bf=Z({},ur,{propertyName:0,elapsedTime:0,pseudoElement:0}),_f=pn(bf),Sd=Z({},Yn,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),jf=pn(Sd),Kn=[9,13,27,32],Qi=m&&"CompositionEvent"in window,Sa=null;m&&"documentMode"in document&&(Sa=document.documentMode);var Ei=m&&"TextEvent"in window&&!Sa,kd=m&&(!Qi||Sa&&8<Sa&&11>=Sa),Es=" ",Td=!1;function hr(r,o){switch(r){case"keyup":return Kn.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kc(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Ai=!1;function Nf(r,o){switch(r){case"compositionend":return kc(o);case"keypress":return o.which!==32?null:(Td=!0,Es);case"textInput":return r=o.data,r===Es&&Td?null:r;default:return null}}function Xi(r,o){if(Ai)return r==="compositionend"||!Qi&&hr(r,o)?(r=xc(),Ji=kn=Ki=null,Ai=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return kd&&o.locale!=="ko"?null:o.data;default:return null}}var zo={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 Cd(r){var o=r&&r.nodeName&&r.nodeName.toLowerCase();return o==="input"?!!zo[r.type]:o==="textarea"}function Uo(r,o,h,g){ad(g),o=p(o,"onChange"),0<o.length&&(h=new yc("onChange","change",null,h,g),r.push({event:h,listeners:o}))}var ka=null,Tn=null;function Sf(r){Mc(r,0)}function Ri(r){var o=Ms(r);if(Be(o))return r}function kf(r,o){if(r==="change")return o}var ui=!1;if(m){var mr;if(m){var $o="oninput"in document;if(!$o){var Wo=document.createElement("div");Wo.setAttribute("oninput","return;"),$o=typeof Wo.oninput=="function"}mr=$o}else mr=!1;ui=mr&&(!document.documentMode||9<document.documentMode)}function Ta(){ka&&(ka.detachEvent("onpropertychange",Ho),Tn=ka=null)}function Ho(r){if(r.propertyName==="value"&&Ri(Tn)){var o=[];Uo(o,Tn,r,ac(r)),So(Sf,o)}}function qo(r,o,h){r==="focusin"?(Ta(),ka=o,Tn=h,ka.attachEvent("onpropertychange",Ho)):r==="focusout"&&Ta()}function fr(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Ri(Tn)}function Zo(r,o){if(r==="click")return Ri(o)}function Tc(r,o){if(r==="input"||r==="change")return Ri(o)}function Pd(r,o){return r===o&&(r!==0||1/r===1/o)||r!==r&&o!==o}var Jn=typeof Object.is=="function"?Object.is:Pd;function es(r,o){if(Jn(r,o))return!0;if(typeof r!="object"||r===null||typeof o!="object"||o===null)return!1;var h=Object.keys(r),g=Object.keys(o);if(h.length!==g.length)return!1;for(g=0;g<h.length;g++){var b=h[g];if(!f.call(o,b)||!Jn(r[b],o[b]))return!1}return!0}function Ed(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Cc(r,o){var h=Ed(r);r=0;for(var g;h;){if(h.nodeType===3){if(g=r+h.textContent.length,r<=o&&g>=o)return{node:h,offset:o-r};r=g}e:{for(;h;){if(h.nextSibling){h=h.nextSibling;break e}h=h.parentNode}h=void 0}h=Ed(h)}}function Ad(r,o){return r&&o?r===o?!0:r&&r.nodeType===3?!1:o&&o.nodeType===3?Ad(r,o.parentNode):"contains"in r?r.contains(o):r.compareDocumentPosition?!!(r.compareDocumentPosition(o)&16):!1:!1}function Pc(){for(var r=window,o=dt();o instanceof r.HTMLIFrameElement;){try{var h=typeof o.contentWindow.location.href=="string"}catch{h=!1}if(h)r=o.contentWindow;else break;o=dt(r.document)}return o}function Ec(r){var o=r&&r.nodeName&&r.nodeName.toLowerCase();return o&&(o==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||o==="textarea"||r.contentEditable==="true")}function di(r){var o=Pc(),h=r.focusedElem,g=r.selectionRange;if(o!==h&&h&&h.ownerDocument&&Ad(h.ownerDocument.documentElement,h)){if(g!==null&&Ec(h)){if(o=g.start,r=g.end,r===void 0&&(r=o),"selectionStart"in h)h.selectionStart=o,h.selectionEnd=Math.min(r,h.value.length);else if(r=(o=h.ownerDocument||document)&&o.defaultView||window,r.getSelection){r=r.getSelection();var b=h.textContent.length,j=Math.min(g.start,b);g=g.end===void 0?j:Math.min(g.end,b),!r.extend&&j>g&&(b=g,g=j,j=b),b=Cc(h,j);var R=Cc(h,g);b&&R&&(r.rangeCount!==1||r.anchorNode!==b.node||r.anchorOffset!==b.offset||r.focusNode!==R.node||r.focusOffset!==R.offset)&&(o=o.createRange(),o.setStart(b.node,b.offset),r.removeAllRanges(),j>g?(r.addRange(o),r.extend(R.node,R.offset)):(o.setEnd(R.node,R.offset),r.addRange(o)))}}for(o=[],r=h;r=r.parentNode;)r.nodeType===1&&o.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<o.length;h++)r=o[h],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var Go=m&&"documentMode"in document&&11>=document.documentMode,pr=null,gr=null,Ca=null,Yo=!1;function Rd(r,o,h){var g=h.window===h?h.document:h.nodeType===9?h:h.ownerDocument;Yo||pr==null||pr!==dt(g)||(g=pr,"selectionStart"in g&&Ec(g)?g={start:g.selectionStart,end:g.selectionEnd}:(g=(g.ownerDocument&&g.ownerDocument.defaultView||window).getSelection(),g={anchorNode:g.anchorNode,anchorOffset:g.anchorOffset,focusNode:g.focusNode,focusOffset:g.focusOffset}),Ca&&es(Ca,g)||(Ca=g,g=p(gr,"onSelect"),0<g.length&&(o=new yc("onSelect","select",null,o,h),r.push({event:o,listeners:g}),o.target=pr)))}function ts(r,o){var h={};return h[r.toLowerCase()]=o.toLowerCase(),h["Webkit"+r]="webkit"+o,h["Moz"+r]="moz"+o,h}var xr={animationend:ts("Animation","AnimationEnd"),animationiteration:ts("Animation","AnimationIteration"),animationstart:ts("Animation","AnimationStart"),transitionend:ts("Transition","TransitionEnd")},ns={},Ac={};m&&(Ac=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);function Pa(r){if(ns[r])return ns[r];if(!xr[r])return r;var o=xr[r],h;for(h in o)if(o.hasOwnProperty(h)&&h in Ac)return ns[r]=o[h];return r}var Ld=Pa("animationend"),hi=Pa("animationiteration"),Rc=Pa("animationstart"),Lc=Pa("transitionend"),yr=new Map,Id="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 Qn(r,o){yr.set(r,o),c(o,[r])}for(var As=0;As<Id.length;As++){var Ko=Id[As],Md=Ko.toLowerCase(),Tf=Ko[0].toUpperCase()+Ko.slice(1);Qn(Md,"on"+Tf)}Qn(Ld,"onAnimationEnd"),Qn(hi,"onAnimationIteration"),Qn(Rc,"onAnimationStart"),Qn("dblclick","onDoubleClick"),Qn("focusin","onFocus"),Qn("focusout","onBlur"),Qn(Lc,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vr="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(" "),Od=new Set("cancel close invalid load scroll toggle".split(" ").concat(vr));function Ic(r,o,h){var g=r.type||"unknown-event";r.currentTarget=h,cc(g,o,void 0,r),r.currentTarget=null}function Mc(r,o){o=(o&4)!==0;for(var h=0;h<r.length;h++){var g=r[h],b=g.event;g=g.listeners;e:{var j=void 0;if(o)for(var R=g.length-1;0<=R;R--){var F=g[R],U=F.instance,te=F.currentTarget;if(F=F.listener,U!==j&&b.isPropagationStopped())break e;Ic(b,F,te),j=U}else for(R=0;R<g.length;R++){if(F=g[R],U=F.instance,te=F.currentTarget,F=F.listener,U!==j&&b.isPropagationStopped())break e;Ic(b,F,te),j=U}}}if(ga)throw r=ko,ga=!1,ko=null,r}function pt(r,o){var h=o[jr];h===void 0&&(h=o[jr]=new Set);var g=r+"__bubble";h.has(g)||(Dd(o,r,2,!1),h.add(g))}function Oc(r,o,h){var g=0;o&&(g|=4),Dd(h,r,g,o)}var Ea="_reactListening"+Math.random().toString(36).slice(2);function wr(r){if(!r[Ea]){r[Ea]=!0,s.forEach(function(h){h!=="selectionchange"&&(Od.has(h)||Oc(h,!1,r),Oc(h,!0,r))});var o=r.nodeType===9?r:r.ownerDocument;o===null||o[Ea]||(o[Ea]=!0,Oc("selectionchange",!1,o))}}function Dd(r,o,h,g){switch(tt(o)){case 1:var b=ff;break;case 4:b=xd;break;default:b=Na}h=b.bind(null,o,h,r),b=void 0,!lc||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(b=!0),g?b!==void 0?r.addEventListener(o,h,{capture:!0,passive:b}):r.addEventListener(o,h,!0):b!==void 0?r.addEventListener(o,h,{passive:b}):r.addEventListener(o,h,!1)}function a(r,o,h,g,b){var j=g;if((o&1)===0&&(o&2)===0&&g!==null)e:for(;;){if(g===null)return;var R=g.tag;if(R===3||R===4){var F=g.stateNode.containerInfo;if(F===b||F.nodeType===8&&F.parentNode===b)break;if(R===4)for(R=g.return;R!==null;){var U=R.tag;if((U===3||U===4)&&(U=R.stateNode.containerInfo,U===b||U.nodeType===8&&U.parentNode===b))return;R=R.return}for(;F!==null;){if(R=Ls(F),R===null)return;if(U=R.tag,U===5||U===6){g=j=R;continue e}F=F.parentNode}}g=g.return}So(function(){var te=j,oe=ac(h),ue=[];e:{var ae=yr.get(r);if(ae!==void 0){var Ne=yc,Ce=r;switch(r){case"keypress":if(Fo(h)===0)break e;case"keydown":case"keyup":Ne=_d;break;case"focusin":Ce="focus",Ne=Bo;break;case"focusout":Ce="blur",Ne=Bo;break;case"beforeblur":case"afterblur":Ne=Bo;break;case"click":if(h.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ne=wc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ne=bc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ne=Sc;break;case Ld:case hi:case Rc:Ne=xf;break;case Lc:Ne=_f;break;case"scroll":Ne=pf;break;case"wheel":Ne=jf;break;case"copy":case"cut":case"paste":Ne=_c;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ne=Nd}var Re=(o&4)!==0,Vt=!Re&&r==="scroll",Q=Re?ae!==null?ae+"Capture":null:ae;Re=[];for(var H=te,X;H!==null;){X=H;var pe=X.stateNode;if(X.tag===5&&pe!==null&&(X=pe,Q!==null&&(pe=fa(H,Q),pe!=null&&Re.push(u(H,pe,X)))),Vt)break;H=H.return}0<Re.length&&(ae=new Ne(ae,Ce,null,h,oe),ue.push({event:ae,listeners:Re}))}}if((o&7)===0){e:{if(ae=r==="mouseover"||r==="pointerover",Ne=r==="mouseout"||r==="pointerout",ae&&h!==rc&&(Ce=h.relatedTarget||h.fromElement)&&(Ls(Ce)||Ce[lt]))break e;if((Ne||ae)&&(ae=oe.window===oe?oe:(ae=oe.ownerDocument)?ae.defaultView||ae.parentWindow:window,Ne?(Ce=h.relatedTarget||h.toElement,Ne=te,Ce=Ce?Ls(Ce):null,Ce!==null&&(Vt=Yi(Ce),Ce!==Vt||Ce.tag!==5&&Ce.tag!==6)&&(Ce=null)):(Ne=null,Ce=te),Ne!==Ce)){if(Re=wc,pe="onMouseLeave",Q="onMouseEnter",H="mouse",(r==="pointerout"||r==="pointerover")&&(Re=Nd,pe="onPointerLeave",Q="onPointerEnter",H="pointer"),Vt=Ne==null?ae:Ms(Ne),X=Ce==null?ae:Ms(Ce),ae=new Re(pe,H+"leave",Ne,h,oe),ae.target=Vt,ae.relatedTarget=X,pe=null,Ls(oe)===te&&(Re=new Re(Q,H+"enter",Ce,h,oe),Re.target=X,Re.relatedTarget=Vt,pe=Re),Vt=pe,Ne&&Ce)t:{for(Re=Ne,Q=Ce,H=0,X=Re;X;X=w(X))H++;for(X=0,pe=Q;pe;pe=w(pe))X++;for(;0<H-X;)Re=w(Re),H--;for(;0<X-H;)Q=w(Q),X--;for(;H--;){if(Re===Q||Q!==null&&Re===Q.alternate)break t;Re=w(Re),Q=w(Q)}Re=null}else Re=null;Ne!==null&&C(ue,ae,Ne,Re,!1),Ce!==null&&Vt!==null&&C(ue,Vt,Ce,Re,!0)}}e:{if(ae=te?Ms(te):window,Ne=ae.nodeName&&ae.nodeName.toLowerCase(),Ne==="select"||Ne==="input"&&ae.type==="file")var Ie=kf;else if(Cd(ae))if(ui)Ie=Tc;else{Ie=fr;var Ve=qo}else(Ne=ae.nodeName)&&Ne.toLowerCase()==="input"&&(ae.type==="checkbox"||ae.type==="radio")&&(Ie=Zo);if(Ie&&(Ie=Ie(r,te))){Uo(ue,Ie,h,oe);break e}Ve&&Ve(r,ae,te),r==="focusout"&&(Ve=ae._wrapperState)&&Ve.controlled&&ae.type==="number"&&en(ae,"number",ae.value)}switch(Ve=te?Ms(te):window,r){case"focusin":(Cd(Ve)||Ve.contentEditable==="true")&&(pr=Ve,gr=te,Ca=null);break;case"focusout":Ca=gr=pr=null;break;case"mousedown":Yo=!0;break;case"contextmenu":case"mouseup":case"dragend":Yo=!1,Rd(ue,h,oe);break;case"selectionchange":if(Go)break;case"keydown":case"keyup":Rd(ue,h,oe)}var ze;if(Qi)e:{switch(r){case"compositionstart":var qe="onCompositionStart";break e;case"compositionend":qe="onCompositionEnd";break e;case"compositionupdate":qe="onCompositionUpdate";break e}qe=void 0}else Ai?hr(r,h)&&(qe="onCompositionEnd"):r==="keydown"&&h.keyCode===229&&(qe="onCompositionStart");qe&&(kd&&h.locale!=="ko"&&(Ai||qe!=="onCompositionStart"?qe==="onCompositionEnd"&&Ai&&(ze=xc()):(Ki=oe,kn="value"in Ki?Ki.value:Ki.textContent,Ai=!0)),Ve=p(te,qe),0<Ve.length&&(qe=new jc(qe,r,null,h,oe),ue.push({event:qe,listeners:Ve}),ze?qe.data=ze:(ze=kc(h),ze!==null&&(qe.data=ze)))),(ze=Ei?Nf(r,h):Xi(r,h))&&(te=p(te,"onBeforeInput"),0<te.length&&(oe=new jc("onBeforeInput","beforeinput",null,h,oe),ue.push({event:oe,listeners:te}),oe.data=ze))}Mc(ue,o)})}function u(r,o,h){return{instance:r,listener:o,currentTarget:h}}function p(r,o){for(var h=o+"Capture",g=[];r!==null;){var b=r,j=b.stateNode;b.tag===5&&j!==null&&(b=j,j=fa(r,h),j!=null&&g.unshift(u(r,j,b)),j=fa(r,o),j!=null&&g.push(u(r,j,b))),r=r.return}return g}function w(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function C(r,o,h,g,b){for(var j=o._reactName,R=[];h!==null&&h!==g;){var F=h,U=F.alternate,te=F.stateNode;if(U!==null&&U===g)break;F.tag===5&&te!==null&&(F=te,b?(U=fa(h,j),U!=null&&R.unshift(u(h,U,F))):b||(U=fa(h,j),U!=null&&R.push(u(h,U,F)))),h=h.return}R.length!==0&&r.push({event:o,listeners:R})}var M=/\r\n?/g,V=/\u0000|\uFFFD/g;function J(r){return(typeof r=="string"?r:""+r).replace(M,`
38`).replace(V,"")}function ee(r,o,h){if(o=J(o),J(r)!==o&&h)throw Error(n(425))}function re(){}var be=null,Fe=null;function Je(r,o){return r==="textarea"||r==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Gt=typeof setTimeout=="function"?setTimeout:void 0,$t=typeof clearTimeout=="function"?clearTimeout:void 0,Cn=typeof Promise=="function"?Promise:void 0,gn=typeof queueMicrotask=="function"?queueMicrotask:typeof Cn<"u"?function(r){return Cn.resolve(null).then(r).catch(br)}:Gt;function br(r){setTimeout(function(){throw r})}function Dc(r,o){var h=o,g=0;do{var b=h.nextSibling;if(r.removeChild(h),b&&b.nodeType===8)if(h=b.data,h==="/$"){if(g===0){r.removeChild(b),Gn(o);return}g--}else h!=="$"&&h!=="$?"&&h!=="$!"||g++;h=b}while(h);Gn(o)}function is(r){for(;r!=null;r=r.nextSibling){var o=r.nodeType;if(o===1||o===3)break;if(o===8){if(o=r.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return r}function Fd(r){r=r.previousSibling;for(var o=0;r;){if(r.nodeType===8){var h=r.data;if(h==="$"||h==="$!"||h==="$?"){if(o===0)return r;o--}else h==="/$"&&o++}r=r.previousSibling}return null}var Rs=Math.random().toString(36).slice(2),mi="__reactFiber$"+Rs,_r="__reactProps$"+Rs,lt="__reactContainer$"+Rs,jr="__reactEvents$"+Rs,Cf="__reactListeners$"+Rs,Pf="__reactHandles$"+Rs;function Ls(r){var o=r[mi];if(o)return o;for(var h=r.parentNode;h;){if(o=h[lt]||h[mi]){if(h=o.alternate,o.child!==null||h!==null&&h.child!==null)for(r=Fd(r);r!==null;){if(h=r[mi])return h;r=Fd(r)}return o}r=h,h=r.parentNode}return null}function Is(r){return r=r[mi]||r[lt],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function Ms(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function Jo(r){return r[_r]||null}var Ef=[],Qo=-1;function Nr(r){return{current:r}}function jt(r){0>Qo||(r.current=Ef[Qo],Ef[Qo]=null,Qo--)}function yt(r,o){Qo++,Ef[Qo]=r.current,r.current=o}var Sr={},xn=Nr(Sr),Mn=Nr(!1),Aa=Sr;function Xo(r,o){var h=r.type.contextTypes;if(!h)return Sr;var g=r.stateNode;if(g&&g.__reactInternalMemoizedUnmaskedChildContext===o)return g.__reactInternalMemoizedMaskedChildContext;var b={},j;for(j in h)b[j]=o[j];return g&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=o,r.__reactInternalMemoizedMaskedChildContext=b),b}function On(r){return r=r.childContextTypes,r!=null}function Bd(){jt(Mn),jt(xn)}function dy(r,o,h){if(xn.current!==Sr)throw Error(n(168));
vendor: 5,364 bytes, line 38
38yt(xn,o),yt(Mn,h)}function hy(r,o,h){var g=r.stateNode;if(o=o.childContextTypes,typeof g.getChildContext!="function")return h;g=g.getChildContext();for(var b in g)if(!(b in o))throw Error(n(108,ce(r)||"Unknown",b));return Z({},h,g)}function Vd(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Sr,Aa=xn.current,yt(xn,r),yt(Mn,Mn.current),!0}function my(r,o,h){var g=r.stateNode;if(!g)throw Error(n(169));h?(r=hy(r,o,Aa),g.__reactInternalMemoizedMergedChildContext=r,jt(Mn),jt(xn),yt(xn,r)):jt(Mn),yt(Mn,h)}var Os=null,zd=!1,Af=!1;function fy(r){Os===null?Os=[r]:Os.push(r)}function Xk(r){zd=!0,fy(r)}function kr(){if(!Af&&Os!==null){Af=!0;var r=0,o=nt;try{var h=Os;for(nt=1;r<h.length;r++){var g=h[r];do g=g(!0);while(g!==null)}Os=null,zd=!1}catch(b){throw Os!==null&&(Os=Os.slice(r+1)),fd(hc,kr),b}finally{nt=o,Af=!1}}return null}var el=[],tl=0,Ud=null,$d=0,fi=[],pi=0,Ra=null,Ds=1,Fs="";function La(r,o){el[tl++]=$d,el[tl++]=Ud,Ud=r,$d=o}function py(r,o,h){fi[pi++]=Ds,fi[pi++]=Fs,fi[pi++]=Ra,Ra=r;var g=Ds;r=Fs;var b=32-Ye(g)-1;g&=~(1<<b),h+=1;var j=32-Ye(o)+b;if(30<j){var R=b-b%5;j=(g&(1<<R)-1).toString(32),g>>=R,b-=R,Ds=1<<32-Ye(o)+b|h<<b|g,Fs=j+r}else Ds=1<<j|h<<b|g,Fs=r}function Rf(r){r.return!==null&&(La(r,1),py(r,1,0))}function Lf(r){for(;r===Ud;)Ud=el[--tl],el[tl]=null,$d=el[--tl],el[tl]=null;for(;r===Ra;)Ra=fi[--pi],fi[pi]=null,Fs=fi[--pi],fi[pi]=null,Ds=fi[--pi],fi[pi]=null}var Xn=null,ei=null,St=!1,Li=null;function gy(r,o){var h=vi(5,null,null,0);h.elementType="DELETED",h.stateNode=o,h.return=r,o=r.deletions,o===null?(r.deletions=[h],r.flags|=16):o.push(h)}function xy(r,o){switch(r.tag){case 5:var h=r.type;return o=o.nodeType!==1||h.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(r.stateNode=o,Xn=r,ei=is(o.firstChild),!0):!1;case 6:return o=r.pendingProps===""||o.nodeType!==3?null:o,o!==null?(r.stateNode=o,Xn=r,ei=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(h=Ra!==null?{id:Ds,overflow:Fs}:null,r.memoizedState={dehydrated:o,treeContext:h,retryLane:1073741824},h=vi(18,null,null,0),h.stateNode=o,h.return=r,r.child=h,Xn=r,ei=null,!0):!1;default:return!1}}function If(r){return(r.mode&1)!==0&&(r.flags&128)===0}function Mf(r){if(St){var o=ei;if(o){var h=o;if(!xy(r,o)){if(If(r))throw Error(n(418));o=is(h.nextSibling);var g=Xn;o&&xy(r,o)?gy(g,h):(r.flags=r.flags&-4097|2,St=!1,Xn=r)}}else{if(If(r))throw Error(n(418));r.flags=r.flags&-4097|2,St=!1,Xn=r}}}function yy(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;Xn=r}function Wd(r){if(r!==Xn)return!1;if(!St)return yy(r),St=!0,!1;var o;if((o=r.tag!==3)&&!(o=r.tag!==5)&&(o=r.type,o=o!=="head"&&o!=="body"&&!Je(r.type,r.memoizedProps)),o&&(o=ei)){if(If(r))throw vy(),Error(n(418));for(;o;)gy(r,o),o=is(o.nextSibling)}if(yy(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(n(317));e:{for(r=r.nextSibling,o=0;r;){if(r.nodeType===8){var h=r.data;if(h==="/$"){if(o===0){ei=is(r.nextSibling);break e}o--}else h!=="$"&&h!=="$!"&&h!=="$?"||o++}r=r.nextSibling}ei=null}}else ei=Xn?is(r.stateNode.nextSibling):null;return!0}function vy(){for(var r=ei;r;)r=is(r.nextSibling)}function nl(){ei=Xn=null,St=!1}function Of(r){Li===null?Li=[r]:Li.push(r)}var eT=D.ReactCurrentBatchConfig;function Fc(r,o,h){if(r=h.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(h._owner){if(h=h._owner,h){if(h.tag!==1)throw Error(n(309));var g=h.stateNode}if(!g)throw Error(n(147,r));var b=g,j=""+r;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===j?o.ref:(o=function(R){var F=b.refs;R===null?delete F[j]:F[j]=R},o._stringRef=j,o)}if(typeof r!="string")throw Error(n(284));if(!h._owner)throw Error(n(290,r))}return r}function Hd(r,o){throw r=Object.prototype.toString.call(o),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":r))}function wy(r){var o=r._init;return o(r._payload)}function by(r){function o(Q,H){if(r){var X=Q.deletions;X===null?(Q.deletions=[H],Q.flags|=16):X.push(H)}}function h(Q,H){if(!r)return null;for(;H!==null;)o(Q,H),H=H.sibling;return null}function g(Q,H){for(Q=new Map;H!==null;)H.key!==null?Q.set(H.key,H):Q.set(H.index,H),H=H.sibling;return Q}function b(Q,H){return Q=Ir(Q,H),Q.index=0,Q.sibling=null,Q}function j(Q,H,X){return Q.index=X,r?(X=Q.alternate,X!==null?(X=X.index,X<H?(Q.flags|=2,H):X):(Q.flags|=2,H)):(Q.flags|=1048576,H)}function R(Q){return r&&Q.alternate===null&&(Q.flags|=2),Q}function F(Q,H,X,pe){return H===null||H.tag!==6?(H=Tp(X,Q.mode,pe),H.return=Q,H):(H=b(H,X),H.return=Q,H)}function U(Q,H,X,pe){var Ie=X.type;return Ie===K?oe(Q,H,X.props.children,pe,X.key):H!==null&&(H.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===le&&wy(Ie)===H.type)?(pe=b(H,X.props),pe.ref=Fc(Q,H,X),pe.return=Q,pe):(pe=ph(X.type,X.key,X.props,null,Q.mode,pe),pe.ref=Fc(Q,H,X),pe.return=Q,pe)}function te(Q,H,X,pe){return H===null||H.tag!==4||H.stateNode.containerInfo!==X.containerInfo||H.stateNode.implementation!==X.implementation?(H=Cp(X,Q.mode,pe),H.return=Q,H):(H=b(H,X.children||[]),H.return=Q,H)}function oe(Q,H,X,pe,Ie){return H===null||H.tag!==7?(H=za(X,Q.mode,pe,Ie),H.return=Q,H):(H=b(H,X),H.return=Q,H)}function ue(Q,H,X){if(typeof H=="string"&&H!==""||typeof H=="number")return H=Tp(""+H,Q.mode,X),H.return=Q,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case B:return X=ph(
vendor: 10,962 bytes, line 38
38H.type,H.key,H.props,null,Q.mode,X),X.ref=Fc(Q,null,H),X.return=Q,X;case G:return H=Cp(H,Q.mode,X),H.return=Q,H;case le:var pe=H._init;return ue(Q,pe(H._payload),X)}if(ki(H)||me(H))return H=za(H,Q.mode,X,null),H.return=Q,H;Hd(Q,H)}return null}function ae(Q,H,X,pe){var Ie=H!==null?H.key:null;if(typeof X=="string"&&X!==""||typeof X=="number")return Ie!==null?null:F(Q,H,""+X,pe);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case B:return X.key===Ie?U(Q,H,X,pe):null;case G:return X.key===Ie?te(Q,H,X,pe):null;case le:return Ie=X._init,ae(Q,H,Ie(X._payload),pe)}if(ki(X)||me(X))return Ie!==null?null:oe(Q,H,X,pe,null);Hd(Q,X)}return null}function Ne(Q,H,X,pe,Ie){if(typeof pe=="string"&&pe!==""||typeof pe=="number")return Q=Q.get(X)||null,F(H,Q,""+pe,Ie);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case B:return Q=Q.get(pe.key===null?X:pe.key)||null,U(H,Q,pe,Ie);case G:return Q=Q.get(pe.key===null?X:pe.key)||null,te(H,Q,pe,Ie);case le:var Ve=pe._init;return Ne(Q,H,X,Ve(pe._payload),Ie)}if(ki(pe)||me(pe))return Q=Q.get(X)||null,oe(H,Q,pe,Ie,null);Hd(H,pe)}return null}function Ce(Q,H,X,pe){for(var Ie=null,Ve=null,ze=H,qe=H=0,sn=null;ze!==null&&qe<X.length;qe++){ze.index>qe?(sn=ze,ze=null):sn=ze.sibling;var ot=ae(Q,ze,X[qe],pe);if(ot===null){ze===null&&(ze=sn);break}r&&ze&&ot.alternate===null&&o(Q,ze),H=j(ot,H,qe),Ve===null?Ie=ot:Ve.sibling=ot,Ve=ot,ze=sn}if(qe===X.length)return h(Q,ze),St&&La(Q,qe),Ie;if(ze===null){for(;qe<X.length;qe++)ze=ue(Q,X[qe],pe),ze!==null&&(H=j(ze,H,qe),Ve===null?Ie=ze:Ve.sibling=ze,Ve=ze);return St&&La(Q,qe),Ie}for(ze=g(Q,ze);qe<X.length;qe++)sn=Ne(ze,Q,qe,X[qe],pe),sn!==null&&(r&&sn.alternate!==null&&ze.delete(sn.key===null?qe:sn.key),H=j(sn,H,qe),Ve===null?Ie=sn:Ve.sibling=sn,Ve=sn);return r&&ze.forEach(function(Mr){return o(Q,Mr)}),St&&La(Q,qe),Ie}function Re(Q,H,X,pe){var Ie=me(X);if(typeof Ie!="function")throw Error(n(150));if(X=Ie.call(X),X==null)throw Error(n(151));for(var Ve=Ie=null,ze=H,qe=H=0,sn=null,ot=X.next();ze!==null&&!ot.done;qe++,ot=X.next()){ze.index>qe?(sn=ze,ze=null):sn=ze.sibling;var Mr=ae(Q,ze,ot.value,pe);if(Mr===null){ze===null&&(ze=sn);break}r&&ze&&Mr.alternate===null&&o(Q,ze),H=j(Mr,H,qe),Ve===null?Ie=Mr:Ve.sibling=Mr,Ve=Mr,ze=sn}if(ot.done)return h(Q,ze),St&&La(Q,qe),Ie;if(ze===null){for(;!ot.done;qe++,ot=X.next())ot=ue(Q,ot.value,pe),ot!==null&&(H=j(ot,H,qe),Ve===null?Ie=ot:Ve.sibling=ot,Ve=ot);return St&&La(Q,qe),Ie}for(ze=g(Q,ze);!ot.done;qe++,ot=X.next())ot=Ne(ze,Q,qe,ot.value,pe),ot!==null&&(r&&ot.alternate!==null&&ze.delete(ot.key===null?qe:ot.key),H=j(ot,H,qe),Ve===null?Ie=ot:Ve.sibling=ot,Ve=ot);return r&&ze.forEach(function(LT){return o(Q,LT)}),St&&La(Q,qe),Ie}function Vt(Q,H,X,pe){if(typeof X=="object"&&X!==null&&X.type===K&&X.key===null&&(X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case B:e:{for(var Ie=X.key,Ve=H;Ve!==null;){if(Ve.key===Ie){if(Ie=X.type,Ie===K){if(Ve.tag===7){h(Q,Ve.sibling),H=b(Ve,X.props.children),H.return=Q,Q=H;break e}}else if(Ve.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===le&&wy(Ie)===Ve.type){h(Q,Ve.sibling),H=b(Ve,X.props),H.ref=Fc(Q,Ve,X),H.return=Q,Q=H;break e}h(Q,Ve);break}else o(Q,Ve);Ve=Ve.sibling}X.type===K?(H=za(X.props.children,Q.mode,pe,X.key),H.return=Q,Q=H):(pe=ph(X.type,X.key,X.props,null,Q.mode,pe),pe.ref=Fc(Q,H,X),pe.return=Q,Q=pe)}return R(Q);case G:e:{for(Ve=X.key;H!==null;){if(H.key===Ve)if(H.tag===4&&H.stateNode.containerInfo===X.containerInfo&&H.stateNode.implementation===X.implementation){h(Q,H.sibling),H=b(H,X.children||[]),H.return=Q,Q=H;break e}else{h(Q,H);break}else o(Q,H);H=H.sibling}H=Cp(X,Q.mode,pe),H.return=Q,Q=H}return R(Q);case le:return Ve=X._init,Vt(Q,H,Ve(X._payload),pe)}if(ki(X))return Ce(Q,H,X,pe);if(me(X))return Re(Q,H,X,pe);Hd(Q,X)}return typeof X=="string"&&X!==""||typeof X=="number"?(X=""+X,H!==null&&H.tag===6?(h(Q,H.sibling),H=b(H,X),H.return=Q,Q=H):(h(Q,H),H=Tp(X,Q.mode,pe),H.return=Q,Q=H),R(Q)):h(Q,H)}return Vt}var il=by(!0),_y=by(!1),qd=Nr(null),Zd=null,sl=null,Df=null;function Ff(){Df=sl=Zd=null}function Bf(r){var o=qd.current;jt(qd),r._currentValue=o}function Vf(r,o,h){for(;r!==null;){var g=r.alternate;if((r.childLanes&o)!==o?(r.childLanes|=o,g!==null&&(g.childLanes|=o)):g!==null&&(g.childLanes&o)!==o&&(g.childLanes|=o),r===h)break;r=r.return}}function rl(r,o){Zd=r,Df=sl=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&o)!==0&&(Dn=!0),r.firstContext=null)}function gi(r){var o=r._currentValue;if(Df!==r)if(r={context:r,memoizedValue:o,next:null},sl===null){if(Zd===null)throw Error(n(308));sl=r,Zd.dependencies={lanes:0,firstContext:r}}else sl=sl.next=r;return o}var Ia=null;function zf(r){Ia===null?Ia=[r]:Ia.push(r)}function jy(r,o,h,g){var b=o.interleaved;return b===null?(h.next=h,zf(o)):(h.next=b.next,b.next=h),o.interleaved=h,Bs(r,g)}function Bs(r,o){r.lanes|=o;var h=r.alternate;for(h!==null&&(h.lanes|=o),h=r,r=r.return;r!==null;)r.childLanes|=o,h=r.alternate,h!==null&&(h.childLanes|=o),h=r,r=r.return;return h.tag===3?h.stateNode:null}var Tr=!1;function Uf(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ny(r,o){r=r.updateQueue,o.updateQueue===r&&(o.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function Vs(r,o){return{eventTime:r,lane:o,tag:0,payload:null,callback:null,next:null}}function Cr(r,o,h){var g=r.updateQueue;if(g===null)return null;if(g=g.shared,(at&2)!==0){var b=g.pending;return b===null?o.next=o:(o.next=b.next,b.next=o),g.pending=o,Bs(r,h)}return b=g.interleaved,b===null?(o.next=o,zf(g)):(o.next=b.next,b.next=o),g.interleaved=o,Bs(r,h)}function Gd(r,o,h){if(o=o.updateQueue,o!==null&&(o=o.shared,(h&4194240)!==0)){var g=o.lanes;g&=r.pendingLanes,h|=g,o.lanes=h,Ci(r,h)}}function Sy(r,o){var h=r.updateQueue,g=r.alternate;if(g!==null&&(g=g.updateQueue,h===g)){var b=null,j=null;if(h=h.firstBaseUpdate,h!==null){do{var R={eventTime:h.eventTime,lane:h.lane,tag:h.tag,payload:h.payload,callback:h.callback,next:null};j===null?b=j=R:j=j.next=R,h=h.next}while(h!==null);j===null?b=j=o:j=j.next=o}else b=j=o;h={baseState:g.baseState,firstBaseUpdate:b,lastBaseUpdate:j,shared:g.shared,effects:g.effects},r.updateQueue=h;return}r=h.lastBaseUpdate,r===null?h.firstBaseUpdate=o:r.next=o,h.lastBaseUpdate=o}function Yd(r,o,h,g){var b=r.updateQueue;Tr=!1;var j=b.firstBaseUpdate,R=b.lastBaseUpdate,F=b.shared.pending;if(F!==null){b.shared.pending=null;var U=F,te=U.next;U.next=null,R===null?j=te:R.next=te,R=U;var oe=r.alternate;oe!==null&&(oe=oe.updateQueue,F=oe.lastBaseUpdate,F!==R&&(F===null?oe.firstBaseUpdate=te:F.next=te,oe.lastBaseUpdate=U))}if(j!==null){var ue=b.baseState;R=0,oe=te=U=null,F=j;do{var ae=F.lane,Ne=F.eventTime;if((g&ae)===ae){oe!==null&&(oe=oe.next={eventTime:Ne,lane:0,tag:F.tag,payload:F.payload,callback:F.callback,next:null});e:{var Ce=r,Re=F;switch(ae=o,Ne=h,Re.tag){case 1:if(Ce=Re.payload,typeof Ce=="function"){ue=Ce.call(Ne,ue,ae);break e}ue=Ce;break e;case 3:Ce.flags=Ce.flags&-65537|128;case 0:if(Ce=Re.payload,ae=typeof Ce=="function"?Ce.call(Ne,ue,ae):Ce,ae==null)break e;ue=Z({},ue,ae);break e;case 2:Tr=!0}}F.callback!==null&&F.lane!==0&&(r.flags|=64,ae=b.effects,ae===null?b.effects=[F]:ae.push(F))}else Ne={eventTime:Ne,lane:ae,tag:F.tag,payload:F.payload,callback:F.callback,next:null},oe===null?(te=oe=Ne,U=ue):oe=oe.next=Ne,R|=ae;if(F=F.next,F===null){if(F=b.shared.pending,F===null)break;ae=F,F=ae.next,ae.next=null,b.lastBaseUpdate=ae,b.shared.pending=null}}while(!0);if(oe===null&&(U=ue),b.baseState=U,b.firstBaseUpdate=te,b.lastBaseUpdate=oe,o=b.shared.interleaved,o!==null){b=o;do R|=b.lane,b=b.next;while(b!==o)}else j===null&&(b.shared.lanes=0);Da|=R,r.lanes=R,r.memoizedState=ue}}function ky(r,o,h){if(r=o.effects,o.effects=null,r!==null)for(o=0;o<r.length;o++){var g=r[o],b=g.callback;if(b!==null){if(g.callback=null,g=h,typeof b!="function")throw Error(n(191,b));b.call(g)}}}var Bc={},ss=Nr(Bc),Vc=Nr(Bc),zc=Nr(Bc);function Ma(r){if(r===Bc)throw Error(n(174));return r}function $f(r,o){switch(yt(zc,o),yt(Vc,r),yt(ss,Bc),r=o.nodeType,r){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:_o(null,"");break;default:r=r===8?o.parentNode:o,o=r.namespaceURI||null,r=r.tagName,o=_o(o,r)}jt(ss),yt(ss,o)}function al(){jt(ss),jt(Vc),jt(zc)}function Ty(r){Ma(zc.current);var o=Ma(ss.current),h=_o(o,r.type);o!==h&&(yt(Vc,r),yt(ss,h))}function Wf(r){Vc.current===r&&(jt(ss),jt(Vc))}var Et=Nr(0);function Kd(r){for(var o=r;o!==null;){if(o.tag===13){var h=o.memoizedState;if(h!==null&&(h=h.dehydrated,h===null||h.data==="$?"||h.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Hf=[];function qf(){for(var r=0;r<Hf.length;r++)Hf[r]._workInProgressVersionPrimary=null;Hf.length=0}var Jd=D.ReactCurrentDispatcher,Zf=D.ReactCurrentBatchConfig,Oa=0,At=null,Yt=null,tn=null,Qd=!1,Uc=!1,$c=0,tT=0;function yn(){throw Error(n(321))}function Gf(r,o){if(o===null)return!1;for(var h=0;h<o.length&&h<r.length;h++)if(!Jn(r[h],o[h]))return!1;return!0}function Yf(r,o,h,g,b,j){if(Oa=j,At=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,Jd.current=r===null||r.memoizedState===null?rT:aT,r=h(g,b),Uc){j=0;do{if(Uc=!1,$c=0,25<=j)throw Error(n(301));j+=1,tn=Yt=null,o.updateQueue=null,Jd.current=oT,r=h(g,b)}while(Uc)}if(Jd.current=th,o=Yt!==null&&Yt.next!==null,Oa=0,tn=Yt=At=null,Qd=!1,o)throw Error(n(300));return r}function Kf(){var r=$c!==0;return $c=0,r}function rs(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tn===null?At.memoizedState=tn=r:tn=tn.next=r,tn}function xi(){if(Yt===null){var r=At.alternate;r=r!==null?r.memoizedState:null}else r=Yt.next;var o=tn===null?At.memoizedState:tn.next;if(o!==null)tn=o,Yt=r;else{if(r===null)throw Error(n(310));Yt=r,r={memoizedState:Yt.memoizedState,baseState:Yt.baseState,baseQueue:Yt.baseQueue,queue:Yt.queue,next:null},tn===null?At.memoizedState=tn=r:tn=tn.next=r}return tn}function Wc(r,o){return typeof o=="function"?o(r):o}function Jf(r){var o=xi(),h=o.queue;if(h===null)throw Error(n(311));h.lastRenderedReducer=r;var g=Yt,b=g.baseQueue,j=h.pending;if(j!==null){if(b!==null){var R=b.next;b.next=j.next,j.next=R}g.baseQueue=b=j,h.pending=null}if(b!==null){j=b.next,g=g.baseState;var F=R=null,U=null,te=j;do{var oe=te.lane;if((Oa&oe)===oe)U!==null&&(U=U.next={lane:0,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null}),g=te.hasEagerState?te.eagerState:r(g,te.action);else{var ue={lane:oe,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null};U===null?(F=U=ue,R=g):U=U.next=ue,At.lanes|=oe,Da|=oe}te=te.next}
vendor: 4,689 bytes, line 38
38while(te!==null&&te!==j);U===null?R=g:U.next=F,Jn(g,o.memoizedState)||(Dn=!0),o.memoizedState=g,o.baseState=R,o.baseQueue=U,h.lastRenderedState=g}if(r=h.interleaved,r!==null){b=r;do j=b.lane,At.lanes|=j,Da|=j,b=b.next;while(b!==r)}else b===null&&(h.lanes=0);return[o.memoizedState,h.dispatch]}function Qf(r){var o=xi(),h=o.queue;if(h===null)throw Error(n(311));h.lastRenderedReducer=r;var g=h.dispatch,b=h.pending,j=o.memoizedState;if(b!==null){h.pending=null;var R=b=b.next;do j=r(j,R.action),R=R.next;while(R!==b);Jn(j,o.memoizedState)||(Dn=!0),o.memoizedState=j,o.baseQueue===null&&(o.baseState=j),h.lastRenderedState=j}return[j,g]}function Cy(){}function Py(r,o){var h=At,g=xi(),b=o(),j=!Jn(g.memoizedState,b);if(j&&(g.memoizedState=b,Dn=!0),g=g.queue,Xf(Ry.bind(null,h,g,r),[r]),g.getSnapshot!==o||j||tn!==null&&tn.memoizedState.tag&1){if(h.flags|=2048,Hc(9,Ay.bind(null,h,g,b,o),void 0,null),nn===null)throw Error(n(349));(Oa&30)!==0||Ey(h,o,b)}return b}function Ey(r,o,h){r.flags|=16384,r={getSnapshot:o,value:h},o=At.updateQueue,o===null?(o={lastEffect:null,stores:null},At.updateQueue=o,o.stores=[r]):(h=o.stores,h===null?o.stores=[r]:h.push(r))}function Ay(r,o,h,g){o.value=h,o.getSnapshot=g,Ly(o)&&Iy(r)}function Ry(r,o,h){return h(function(){Ly(o)&&Iy(r)})}function Ly(r){var o=r.getSnapshot;r=r.value;try{var h=o();return!Jn(r,h)}catch{return!0}}function Iy(r){var o=Bs(r,1);o!==null&&Di(o,r,1,-1)}function My(r){var o=rs();return typeof r=="function"&&(r=r()),o.memoizedState=o.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Wc,lastRenderedState:r},o.queue=r,r=r.dispatch=sT.bind(null,At,r),[o.memoizedState,r]}function Hc(r,o,h,g){return r={tag:r,create:o,destroy:h,deps:g,next:null},o=At.updateQueue,o===null?(o={lastEffect:null,stores:null},At.updateQueue=o,o.lastEffect=r.next=r):(h=o.lastEffect,h===null?o.lastEffect=r.next=r:(g=h.next,h.next=r,r.next=g,o.lastEffect=r)),r}function Oy(){return xi().memoizedState}function Xd(r,o,h,g){var b=rs();At.flags|=r,b.memoizedState=Hc(1|o,h,void 0,g===void 0?null:g)}function eh(r,o,h,g){var b=xi();g=g===void 0?null:g;var j=void 0;if(Yt!==null){var R=Yt.memoizedState;if(j=R.destroy,g!==null&&Gf(g,R.deps)){b.memoizedState=Hc(o,h,j,g);return}}At.flags|=r,b.memoizedState=Hc(1|o,h,j,g)}function Dy(r,o){return Xd(8390656,8,r,o)}function Xf(r,o){return eh(2048,8,r,o)}function Fy(r,o){return eh(4,2,r,o)}function By(r,o){return eh(4,4,r,o)}function Vy(r,o){if(typeof o=="function")return r=r(),o(r),function(){o(null)};if(o!=null)return r=r(),o.current=r,function(){o.current=null}}function zy(r,o,h){return h=h!=null?h.concat([r]):null,eh(4,4,Vy.bind(null,o,r),h)}function ep(){}function Uy(r,o){var h=xi();o=o===void 0?null:o;var g=h.memoizedState;return g!==null&&o!==null&&Gf(o,g[1])?g[0]:(h.memoizedState=[r,o],r)}function $y(r,o){var h=xi();o=o===void 0?null:o;var g=h.memoizedState;return g!==null&&o!==null&&Gf(o,g[1])?g[0]:(r=r(),h.memoizedState=[r,o],r)}function Wy(r,o,h){return(Oa&21)===0?(r.baseState&&(r.baseState=!1,Dn=!0),r.memoizedState=h):(Jn(h,o)||(h=gd(),At.lanes|=h,Da|=h,r.baseState=!0),o)}function nT(r,o){var h=nt;nt=h!==0&&4>h?h:4,r(!0);var g=Zf.transition;Zf.transition={};try{r(!1),o()}finally{nt=h,Zf.transition=g}}function Hy(){return xi().memoizedState}function iT(r,o,h){var g=Rr(r);if(h={lane:g,action:h,hasEagerState:!1,eagerState:null,next:null},qy(r))Zy(o,h);else if(h=jy(r,o,h,g),h!==null){var b=En();Di(h,r,g,b),Gy(h,o,g)}}function sT(r,o,h){var g=Rr(r),b={lane:g,action:h,hasEagerState:!1,eagerState:null,next:null};if(qy(r))Zy(o,b);else{var j=r.alternate;if(r.lanes===0&&(j===null||j.lanes===0)&&(j=o.lastRenderedReducer,j!==null))try{var R=o.lastRenderedState,F=j(R,h);if(b.hasEagerState=!0,b.eagerState=F,Jn(F,R)){var U=o.interleaved;U===null?(b.next=b,zf(o)):(b.next=U.next,U.next=b),o.interleaved=b;return}}catch{}finally{}h=jy(r,o,b,g),h!==null&&(b=En(),Di(h,r,g,b),Gy(h,o,g))}}function qy(r){var o=r.alternate;return r===At||o!==null&&o===At}function Zy(r,o){Uc=Qd=!0;var h=r.pending;h===null?o.next=o:(o.next=h.next,h.next=o),r.pending=o}function Gy(r,o,h){if((h&4194240)!==0){var g=o.lanes;g&=r.pendingLanes,h|=g,o.lanes=h,Ci(r,h)}}var th={readContext:gi,useCallback:yn,useContext:yn,useEffect:yn,useImperativeHandle:yn,useInsertionEffect:yn,useLayoutEffect:yn,useMemo:yn,useReducer:yn,useRef:yn,useState:yn,useDebugValue:yn,useDeferredValue:yn,useTransition:yn,useMutableSource:yn,useSyncExternalStore:yn,useId:yn,unstable_isNewReconciler:!1},rT={readContext:gi,useCallback:function(r,o){return rs().memoizedState=[r,o===void 0?null:o],r},useContext:gi,useEffect:Dy,useImperativeHandle:function(r,o,h){return h=h!=null?h.concat([r]):null,Xd(4
vendor: 5,404 bytes, lines 38-40
38194308,4,Vy.bind(null,o,r),h)},useLayoutEffect:function(r,o){return Xd(4194308,4,r,o)},useInsertionEffect:function(r,o){return Xd(4,2,r,o)},useMemo:function(r,o){var h=rs();return o=o===void 0?null:o,r=r(),h.memoizedState=[r,o],r},useReducer:function(r,o,h){var g=rs();return o=h!==void 0?h(o):o,g.memoizedState=g.baseState=o,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:o},g.queue=r,r=r.dispatch=iT.bind(null,At,r),[g.memoizedState,r]},useRef:function(r){var o=rs();return r={current:r},o.memoizedState=r},useState:My,useDebugValue:ep,useDeferredValue:function(r){return rs().memoizedState=r},useTransition:function(){var r=My(!1),o=r[0];return r=nT.bind(null,r[1]),rs().memoizedState=r,[o,r]},useMutableSource:function(){},useSyncExternalStore:function(r,o,h){var g=At,b=rs();if(St){if(h===void 0)throw Error(n(407));h=h()}else{if(h=o(),nn===null)throw Error(n(349));(Oa&30)!==0||Ey(g,o,h)}b.memoizedState=h;var j={value:h,getSnapshot:o};return b.queue=j,Dy(Ry.bind(null,g,j,r),[r]),g.flags|=2048,Hc(9,Ay.bind(null,g,j,h,o),void 0,null),h},useId:function(){var r=rs(),o=nn.identifierPrefix;if(St){var h=Fs,g=Ds;h=(g&~(1<<32-Ye(g)-1)).toString(32)+h,o=":"+o+"R"+h,h=$c++,0<h&&(o+="H"+h.toString(32)),o+=":"}else h=tT++,o=":"+o+"r"+h.toString(32)+":";return r.memoizedState=o},unstable_isNewReconciler:!1},aT={readContext:gi,useCallback:Uy,useContext:gi,useEffect:Xf,useImperativeHandle:zy,useInsertionEffect:Fy,useLayoutEffect:By,useMemo:$y,useReducer:Jf,useRef:Oy,useState:function(){return Jf(Wc)},useDebugValue:ep,useDeferredValue:function(r){var o=xi();return Wy(o,Yt.memoizedState,r)},useTransition:function(){var r=Jf(Wc)[0],o=xi().memoizedState;return[r,o]},useMutableSource:Cy,useSyncExternalStore:Py,useId:Hy,unstable_isNewReconciler:!1},oT={readContext:gi,useCallback:Uy,useContext:gi,useEffect:Xf,useImperativeHandle:zy,useInsertionEffect:Fy,useLayoutEffect:By,useMemo:$y,useReducer:Qf,useRef:Oy,useState:function(){return Qf(Wc)},useDebugValue:ep,useDeferredValue:function(r){var o=xi();return Yt===null?o.memoizedState=r:Wy(o,Yt.memoizedState,r)},useTransition:function(){var r=Qf(Wc)[0],o=xi().memoizedState;return[r,o]},useMutableSource:Cy,useSyncExternalStore:Py,useId:Hy,unstable_isNewReconciler:!1};function Ii(r,o){if(r&&r.defaultProps){o=Z({},o),r=r.defaultProps;for(var h in r)o[h]===void 0&&(o[h]=r[h]);return o}return o}function tp(r,o,h,g){o=r.memoizedState,h=h(g,o),h=h==null?o:Z({},o,h),r.memoizedState=h,r.lanes===0&&(r.updateQueue.baseState=h)}var nh={isMounted:function(r){return(r=r._reactInternals)?Yi(r)===r:!1},enqueueSetState:function(r,o,h){r=r._reactInternals;var g=En(),b=Rr(r),j=Vs(g,b);j.payload=o,h!=null&&(j.callback=h),o=Cr(r,j,b),o!==null&&(Di(o,r,b,g),Gd(o,r,b))},enqueueReplaceState:function(r,o,h){r=r._reactInternals;var g=En(),b=Rr(r),j=Vs(g,b);j.tag=1,j.payload=o,h!=null&&(j.callback=h),o=Cr(r,j,b),o!==null&&(Di(o,r,b,g),Gd(o,r,b))},enqueueForceUpdate:function(r,o){r=r._reactInternals;var h=En(),g=Rr(r),b=Vs(h,g);b.tag=2,o!=null&&(b.callback=o),o=Cr(r,b,g),o!==null&&(Di(o,r,g,h),Gd(o,r,g))}};function Yy(r,o,h,g,b,j,R){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(g,j,R):o.prototype&&o.prototype.isPureReactComponent?!es(h,g)||!es(b,j):!0}function Ky(r,o,h){var g=!1,b=Sr,j=o.contextType;return typeof j=="object"&&j!==null?j=gi(j):(b=On(o)?Aa:xn.current,g=o.contextTypes,j=(g=g!=null)?Xo(r,b):Sr),o=new o(h,j),r.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=nh,r.stateNode=o,o._reactInternals=r,g&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=b,r.__reactInternalMemoizedMaskedChildContext=j),o}function Jy(r,o,h,g){r=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(h,g),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(h,g),o.state!==r&&nh.enqueueReplaceState(o,o.state,null)}function np(r,o,h,g){var b=r.stateNode;b.props=h,b.state=r.memoizedState,b.refs={},Uf(r);var j=o.contextType;typeof j=="object"&&j!==null?b.context=gi(j):(j=On(o)?Aa:xn.current,b.context=Xo(r,j)),b.state=r.memoizedState,j=o.getDerivedStateFromProps,typeof j=="function"&&(tp(r,o,j,h),b.state=r.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(o=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),o!==b.state&&nh.enqueueReplaceState(b,b.state,null),Yd(r,h,b,g),b.state=r.memoizedState),typeof b.componentDidMount=="function"&&(r.flags|=4194308)}function ol(r,o){try{var h="",g=o;do h+=ge(g),g=g.return;while(g);var b=h}catch(j){b=`
39Error generating stack: `+j.message+`
40`+j.stack}return{value:r,source:o,stack:b,digest:null}}function ip(r,o,h){return{value:r,source:null,stack:h??null,digest:o??null}}function sp(r,o){try{console.error(o.value)}catch(h){setTimeout(function(){throw h})}}var lT=typeof WeakMap=="function"?WeakMap:Map;function Qy(r,o,h){h=Vs(-1,h),h.tag=3,h.payload={element:null};var g=o.value;return h.callback=function(){ch||(ch=!0,vp=g),sp(r,o)},h}function Xy(r,o,h){h=Vs(-1,h),h.tag=3;var g=r.type.getDerivedStateFromError;if(typeof g=="function"){var b=o.value;h.payload=function(){return g(b)}
vendor: 16,311 bytes, line 40
40,h.callback=function(){sp(r,o)}}var j=r.stateNode;return j!==null&&typeof j.componentDidCatch=="function"&&(h.callback=function(){sp(r,o),typeof g!="function"&&(Er===null?Er=new Set([this]):Er.add(this));var R=o.stack;this.componentDidCatch(o.value,{componentStack:R!==null?R:""})}),h}function ev(r,o,h){var g=r.pingCache;if(g===null){g=r.pingCache=new lT;var b=new Set;g.set(o,b)}else b=g.get(o),b===void 0&&(b=new Set,g.set(o,b));b.has(h)||(b.add(h),r=_T.bind(null,r,o,h),o.then(r,r))}function tv(r){do{var o;if((o=r.tag===13)&&(o=r.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return r;r=r.return}while(r!==null);return null}function nv(r,o,h,g,b){return(r.mode&1)===0?(r===o?r.flags|=65536:(r.flags|=128,h.flags|=131072,h.flags&=-52805,h.tag===1&&(h.alternate===null?h.tag=17:(o=Vs(-1,1),o.tag=2,Cr(h,o,1))),h.lanes|=1),r):(r.flags|=65536,r.lanes=b,r)}var cT=D.ReactCurrentOwner,Dn=!1;function Pn(r,o,h,g){o.child=r===null?_y(o,null,h,g):il(o,r.child,h,g)}function iv(r,o,h,g,b){h=h.render;var j=o.ref;return rl(o,b),g=Yf(r,o,h,g,j,b),h=Kf(),r!==null&&!Dn?(o.updateQueue=r.updateQueue,o.flags&=-2053,r.lanes&=~b,zs(r,o,b)):(St&&h&&Rf(o),o.flags|=1,Pn(r,o,g,b),o.child)}function sv(r,o,h,g,b){if(r===null){var j=h.type;return typeof j=="function"&&!kp(j)&&j.defaultProps===void 0&&h.compare===null&&h.defaultProps===void 0?(o.tag=15,o.type=j,rv(r,o,j,g,b)):(r=ph(h.type,null,g,o,o.mode,b),r.ref=o.ref,r.return=o,o.child=r)}if(j=r.child,(r.lanes&b)===0){var R=j.memoizedProps;if(h=h.compare,h=h!==null?h:es,h(R,g)&&r.ref===o.ref)return zs(r,o,b)}return o.flags|=1,r=Ir(j,g),r.ref=o.ref,r.return=o,o.child=r}function rv(r,o,h,g,b){if(r!==null){var j=r.memoizedProps;if(es(j,g)&&r.ref===o.ref)if(Dn=!1,o.pendingProps=g=j,(r.lanes&b)!==0)(r.flags&131072)!==0&&(Dn=!0);else return o.lanes=r.lanes,zs(r,o,b)}return rp(r,o,h,g,b)}function av(r,o,h){var g=o.pendingProps,b=g.children,j=r!==null?r.memoizedState:null;if(g.mode==="hidden")if((o.mode&1)===0)o.memoizedState={baseLanes:0,cachePool:null,transitions:null},yt(cl,ti),ti|=h;else{if((h&1073741824)===0)return r=j!==null?j.baseLanes|h:h,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:r,cachePool:null,transitions:null},o.updateQueue=null,yt(cl,ti),ti|=r,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},g=j!==null?j.baseLanes:h,yt(cl,ti),ti|=g}else j!==null?(g=j.baseLanes|h,o.memoizedState=null):g=h,yt(cl,ti),ti|=g;return Pn(r,o,b,h),o.child}function ov(r,o){var h=o.ref;(r===null&&h!==null||r!==null&&r.ref!==h)&&(o.flags|=512,o.flags|=2097152)}function rp(r,o,h,g,b){var j=On(h)?Aa:xn.current;return j=Xo(o,j),rl(o,b),h=Yf(r,o,h,g,j,b),g=Kf(),r!==null&&!Dn?(o.updateQueue=r.updateQueue,o.flags&=-2053,r.lanes&=~b,zs(r,o,b)):(St&&g&&Rf(o),o.flags|=1,Pn(r,o,h,b),o.child)}function lv(r,o,h,g,b){if(On(h)){var j=!0;Vd(o)}else j=!1;if(rl(o,b),o.stateNode===null)sh(r,o),Ky(o,h,g),np(o,h,g,b),g=!0;else if(r===null){var R=o.stateNode,F=o.memoizedProps;R.props=F;var U=R.context,te=h.contextType;typeof te=="object"&&te!==null?te=gi(te):(te=On(h)?Aa:xn.current,te=Xo(o,te));var oe=h.getDerivedStateFromProps,ue=typeof oe=="function"||typeof R.getSnapshotBeforeUpdate=="function";ue||typeof R.UNSAFE_componentWillReceiveProps!="function"&&typeof R.componentWillReceiveProps!="function"||(F!==g||U!==te)&&Jy(o,R,g,te),Tr=!1;var ae=o.memoizedState;R.state=ae,Yd(o,g,R,b),U=o.memoizedState,F!==g||ae!==U||Mn.current||Tr?(typeof oe=="function"&&(tp(o,h,oe,g),U=o.memoizedState),(F=Tr||Yy(o,h,F,g,ae,U,te))?(ue||typeof R.UNSAFE_componentWillMount!="function"&&typeof R.componentWillMount!="function"||(typeof R.componentWillMount=="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount=="function"&&R.UNSAFE_componentWillMount()),typeof R.componentDidMount=="function"&&(o.flags|=4194308)):(typeof R.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=g,o.memoizedState=U),R.props=g,R.state=U,R.context=te,g=F):(typeof R.componentDidMount=="function"&&(o.flags|=4194308),g=!1)}else{R=o.stateNode,Ny(r,o),F=o.memoizedProps,te=o.type===o.elementType?F:Ii(o.type,F),R.props=te,ue=o.pendingProps,ae=R.context,U=h.contextType,typeof U=="object"&&U!==null?U=gi(U):(U=On(h)?Aa:xn.current,U=Xo(o,U));var Ne=h.getDerivedStateFromProps;(oe=typeof Ne=="function"||typeof R.getSnapshotBeforeUpdate=="function")||typeof R.UNSAFE_componentWillReceiveProps!="function"&&typeof R.componentWillReceiveProps!="function"||(F!==ue||ae!==U)&&Jy(o,R,g,U),Tr=!1,ae=o.memoizedState,R.state=ae,Yd(o,g,R,b);var Ce=o.memoizedState;F!==ue||ae!==Ce||Mn.current||Tr?(typeof Ne=="function"&&(tp(o,h,Ne,g),Ce=o.memoizedState),(te=Tr||Yy(o,h,te,g,ae,Ce,U)||!1)?(oe||typeof R.UNSAFE_componentWillUpdate!="function"&&typeof R.componentWillUpdate!="function"||(typeof R.componentWillUpdate=="function"&&R.componentWillUpdate(g,Ce,U),typeof R.UNSAFE_componentWillUpdate=="function"&&R.UNSAFE_componentWillUpdate(g,Ce,U)),typeof R.componentDidUpdate=="function"&&(o.flags|=4),typeof R.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof R.componentDidUpdate!="function"||F===r.memoizedProps&&ae===r.memoizedState||(o.flags|=4),typeof R.getSnapshotBeforeUpdate!="function"||F===r.memoizedProps&&ae===r.memoizedState||(o.flags|=1024),o.memoizedProps=g,o.memoizedState=Ce),R.props=g,R.state=Ce,R.context=U,g=te):(typeof R.componentDidUpdate!="function"||F===r.memoizedProps&&ae===r.memoizedState||(o.flags|=4),typeof R.getSnapshotBeforeUpdate!="function"||F===r.memoizedProps&&ae===r.memoizedState||(o.flags|=1024),g=!1)}return ap(r,o,h,g,j,b)}function ap(r,o,h,g,b,j){ov(r,o);var R=(o.flags&128)!==0;if(!g&&!R)return b&&my(o,h,!1),zs(r,o,j);g=o.stateNode,cT.current=o;var F=R&&typeof h.getDerivedStateFromError!="function"?null:g.render();return o.flags|=1,r!==null&&R?(o.child=il(o,r.child,null,j),o.child=il(o,null,F,j)):Pn(r,o,F,j),o.memoizedState=g.state,b&&my(o,h,!0),o.child}function cv(r){var o=r.stateNode;o.pendingContext?dy(r,o.pendingContext,o.pendingContext!==o.context):o.context&&dy(r,o.context,!1),$f(r,o.containerInfo)}function uv(r,o,h,g,b){return nl(),Of(b),o.flags|=256,Pn(r,o,h,g),o.child}var op={dehydrated:null,treeContext:null,retryLane:0};function lp(r){return{baseLanes:r,cachePool:null,transitions:null}}function dv(r,o,h){var g=o.pendingProps,b=Et.current,j=!1,R=(o.flags&128)!==0,F;if((F=R)||(F=r!==null&&r.memoizedState===null?!1:(b&2)!==0),F?(j=!0,o.flags&=-129):(r===null||r.memoizedState!==null)&&(b|=1),yt(Et,b&1),r===null)return Mf(o),r=o.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((o.mode&1)===0?o.lanes=1:r.data==="$!"?o.lanes=8:o.lanes=1073741824,null):(R=g.children,r=g.fallback,j?(g=o.mode,j=o.child,R={mode:"hidden",children:R},(g&1)===0&&j!==null?(j.childLanes=0,j.pendingProps=R):j=gh(R,g,0,null),r=za(r,g,h,null),j.return=o,r.return=o,j.sibling=r,o.child=j,o.child.memoizedState=lp(h),o.memoizedState=op,r):cp(o,R));if(b=r.memoizedState,b!==null&&(F=b.dehydrated,F!==null))return uT(r,o,R,g,F,b,h);if(j){j=g.fallback,R=o.mode,b=r.child,F=b.sibling;var U={mode:"hidden",children:g.children};return(R&1)===0&&o.child!==b?(g=o.child,g.childLanes=0,g.pendingProps=U,o.deletions=null):(g=Ir(b,U),g.subtreeFlags=b.subtreeFlags&14680064),F!==null?j=Ir(F,j):(j=za(j,R,h,null),j.flags|=2),j.return=o,g.return=o,g.sibling=j,o.child=g,g=j,j=o.child,R=r.child.memoizedState,R=R===null?lp(h):{baseLanes:R.baseLanes|h,cachePool:null,transitions:R.transitions},j.memoizedState=R,j.childLanes=r.childLanes&~h,o.memoizedState=op,g}return j=r.child,r=j.sibling,g=Ir(j,{mode:"visible",children:g.children}),(o.mode&1)===0&&(g.lanes=h),g.return=o,g.sibling=null,r!==null&&(h=o.deletions,h===null?(o.deletions=[r],o.flags|=16):h.push(r)),o.child=g,o.memoizedState=null,g}function cp(r,o){return o=gh({mode:"visible",children:o},r.mode,0,null),o.return=r,r.child=o}function ih(r,o,h,g){return g!==null&&Of(g),il(o,r.child,null,h),r=cp(o,o.pendingProps.children),r.flags|=2,o.memoizedState=null,r}function uT(r,o,h,g,b,j,R){if(h)return o.flags&256?(o.flags&=-257,g=ip(Error(n(422))),ih(r,o,R,g)):o.memoizedState!==null?(o.child=r.child,o.flags|=128,null):(j=g.fallback,b=o.mode,g=gh({mode:"visible",children:g.children},b,0,null),j=za(j,b,R,null),j.flags|=2,g.return=o,j.return=o,g.sibling=j,o.child=g,(o.mode&1)!==0&&il(o,r.child,null,R),o.child.memoizedState=lp(R),o.memoizedState=op,j);if((o.mode&1)===0)return ih(r,o,R,null);if(b.data==="$!"){if(g=b.nextSibling&&b.nextSibling.dataset,g)var F=g.dgst;return g=F,j=Error(n(419)),g=ip(j,g,void 0),ih(r,o,R,g)}if(F=(R&r.childLanes)!==0,Dn||F){if(g=nn,g!==null){switch(R&-R){case 4:b=2;break;case 16:b=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:b=32;break;case 536870912:b=268435456;break;default:b=0}b=(b&(g.suspendedLanes|R))!==0?0:b,b!==0&&b!==j.retryLane&&(j.retryLane=b,Bs(r,b),Di(g,r,b,-1))}return Sp(),g=ip(Error(n(421))),ih(r,o,R,g)}return b.data==="$?"?(o.flags|=128,o.child=r.child,o=jT.bind(null,r),b._reactRetry=o,null):(r=j.treeContext,ei=is(b.nextSibling),Xn=o,St=!0,Li=null,r!==null&&(fi[pi++]=Ds,fi[pi++]=Fs,fi[pi++]=Ra,Ds=r.id,Fs=r.overflow,Ra=o),o=cp(o,g.children),o.flags|=4096,o)}function hv(r,o,h){r.lanes|=o;var g=r.alternate;g!==null&&(g.lanes|=o),Vf(r.return,o,h)}function up(r,o,h,g,b){var j=r.memoizedState;j===null?r.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:g,tail:h,tailMode:b}:(j.isBackwards=o,j.rendering=null,j.renderingStartTime=0,j.last=g,j.tail=h,j.tailMode=b)}function mv(r,o,h){var g=o.pendingProps,b=g.revealOrder,j=g.tail;if(Pn(r,o,g.children,h),g=Et.current,(g&2)!==0)g=g&1|2,o.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=o.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&hv(r,h,o);else if(r.tag===19)hv(r,h,o);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===o)break e;for(;r.sibling===null;){if(r.return===null||r.return===o)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}g&=1}if(yt(Et,g),(o.mode&1)===0)o.memoizedState=null;else switch(b){case"forwards":for(h=o.child,b=null;h!==null;)r=h.alternate,r!==null&&Kd(r)===null&&(b=h),h=h.sibling;h=b,h===null?(b=o.child,o.child=null):(b=h.sibling,h.sibling=null),up(o,!1,b,h,j);break;case"backwards":for(h=null,b=o.child,o.child=null;b!==null;){if(r=b.alternate,r!==null&&Kd(r)===null){o.child=b;break}r=b.sibling,b.sibling=h,h=b,b=r}up(o,!0,h,null,j);break;case"together":up(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function sh(r,o){(o.mode&1)===0&&r!==null&&(r.alternate=null,o.alternate=null,o.flags|=2)}function zs(r,o,h){if(r!==null&&(o.dependencies=r.dependencies),Da|=o.lanes,(h&o.childLanes)===0)return null;if(r!==null&&o.child!==r.child)throw Error(n(153));if(o.child!==null){for(r=o.child,h=Ir(r,r.pendingProps),o.child=h,h.return=o;r.sibling!==null;)r=r.sibling,h=h.sibling=Ir(r,r.pendingProps),h.return=o;h.sibling=null}return o.child}function dT(r,o,h){switch(o.tag){case 3:cv(o),nl();break;case 5:Ty(o);break;case 1:On(o.type)&&Vd(o);break;case 4:$f(o,o.stateNode.containerInfo);break;case 10:var g=o.type._context,b=o.memoizedProps.value;yt(qd,g._currentValue),g._currentValue=b;break;case 13:if(g=o.memoizedState,g!==null)return g.dehydrated!==null?(yt(Et,Et.current&1),o.flags|=128,null):(h&o.child.childLanes)!==0?dv(r,o,h):(yt(Et,Et.current&1),r=zs(r,o,h),r!==null?r.sibling:null);yt(Et,Et.current&1);break;case 19:if(g=(h&o.childLanes)!==0,(r.flags&128)!==0){if(g)return mv(r,o,h);o.flags|=128}if(b=o.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),yt(Et,Et.current),g)break;return null;case 22:case 23:return o.lanes=0,av(r,o,h)}return zs(r,o,h)}var fv,dp,pv,gv;fv=function(r,o){for(var h=o.child;h!==null;){if(h.tag===5||h.tag===6)r.appendChild(h.stateNode);else if(h.tag!==4&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===o)break;for(;h.sibling===null;){if(h.return===null||h.return===o)return;h=h.return}h.sibling.return=h.return,h=h.sibling}},dp=function(){},pv=function(r,o,h,g){var b=r.memoizedProps;if(b!==g){r=o.stateNode,Ma(ss.current);var j=null;switch(h){case"input":b=bt(r,b),g=bt(r,g),j=[];break;case"select":b=Z({},b,{value:void 0}),g=Z({},g,{value:void 0}),j=[];break;case"textarea":b=oi(r,b),g=oi(r,g),j=[];break;default:typeof b.onClick!="function"&&typeof g.onClick=="function"&&(r.onclick=re)}sc(h,g);var R;h=null;for(te in b)if(!g.hasOwnProperty(te)&&b.hasOwnProperty(te)&&b[te]!=null)if(te==="style"){var F=b[te];for(R in F)F.hasOwnProperty(R)&&(h||(h={}),h[R]="")}else te!=="dangerouslySetInnerHTML"&&te!=="children"&&te!=="suppressContentEditableWarning"&&te!=="suppressHydrationWarning"&&te!=="autoFocus"&&(l.hasOwnProperty(te)?j||(j=[]):(j=j||[]).push(te,null));for(te in g){var U=g[te];if(F=b!=null?b[te]:void 0,g.hasOwnProperty(te)&&U!==F&&(U!=null||F!=null))if(te==="style")if(F){for(R in F)!F.hasOwnProperty(R)||U&&U.hasOwnProperty(R)||(h||(h={}),h[R]="");for(R in U)U.hasOwnProperty(R)&&F[R]!==U[R]&&(h||(h={}),h[R]=U[R])}else h||(j||(j=[]),j.push(te,h)),h=U;else te==="dangerouslySetInnerHTML"?(U=U?U.__html:void 0,F=F?F.__html:void 0,U!=null&&F!==U&&(j=j||[]).push(te,U)):te==="children"?typeof U!="string"&&typeof U!="number"||(j=j||[]).push(te,""+U):te!=="suppressContentEditableWarning"&&te!=="suppressHydrationWarning"&&(l.hasOwnProperty(te)?(U!=null&&te==="onScroll"&&pt("scroll",r),j||F===U||(j=[])):(j=j||[]).push(te,U))}h&&(j=j||[]).push("style",h);var te=j;(o.updateQueue=te)&&(o.flags|=4)}},gv=function(r,o,h,g){h!==g&&(o.flags|=4)};function qc(r,o){if(!St)switch(r.tailMode){case"hidden":o=r.tail;for(var h=null;o!==null;)o.alternate!==null&&(h=o),o=o.sibling;h===null?r.tail=null:h.sibling=null;break;case"collapsed":h=r.tail;for(var g=null;h!==null;)h.alternate!==null&&(g=h),h=h.sibling;g===null?o||r.tail===null?r.tail=null:r.tail.sibling=null:g.sibling=null}}function vn(r){var o=r.alternate!==null&&r.alternate.child===r.child,h=0,g=0;if(o)for(var b=r.child;b!==null;)h|=b.lanes|b.childLanes,g|=b.subtreeFlags&14680064,g|=b.flags&14680064,b.return=r,b=b.sibling;else for(b=r.child;b!==null;)h|=b.lanes|b.childLanes,g|=b.subtreeFlags,g|=b.flags,b.return=r,b=b.sibling;return r.subtreeFlags|=g,r.childLanes=h,o}function hT(r,o,h){var g=o.pendingProps;switch(Lf(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vn(o),null;case 1:return On(o.type)&&Bd(),vn(o),null;case 3:return g=o.stateNode,al(),jt(Mn),jt(xn),qf(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),(r===null||r.child===null)&&(Wd(o)?o.flags|=4:r===null||r.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Li!==null&&(_p(Li),Li=null))),dp(r,o),vn(o),null;case 5:Wf(o);var b=Ma(zc.current);if(h=o.type,r!==null&&o.stateNode!=null)pv(r,o,h,g,b),r.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!g){if(o.stateNode===null)throw Error(n(166));return vn(o),null}if(r=Ma(ss.current),Wd(o)){g=o.stateNode,h=o.type;var j=o.memoizedProps;switch(g[mi]=o,g[_r]=j,r=(o.mode&1)!==0,h){case"dialog":pt("cancel",g),pt("close",g);break;case"iframe":case"object":case"embed":pt("load",g);break;case"video":case"audio":for(b=0;b<vr.length;b++)pt(vr[b],g);break;case"source":pt("error",g);break;case"img":case"image":case"link":pt("error",g),pt("load",g);break;case"details":pt("toggle",g);break;case"input":Bt(g,j),pt("invalid",g);break;case"select":g._wrapperState={wasMultiple:!!j.multiple},pt("invalid",g);break;case"textarea":nc(g,j),pt("invalid",g)}sc(h,j),b=null;for(var R in j)if(j.hasOwnProperty(R)){var F=j[R];R==="children"?typeof F=="string"?g.textContent!==F&&(j.suppressHydrationWarning!==!0&&ee(g.textContent,F,r),b=["children",F]):typeof F=="number"&&g.textContent!==""+F&&(j.suppressHydrationWarning!==!0&&ee(g.textContent,F,r),b=["children",""+F]):l.hasOwnProperty(R)&&F!=null&&R==="onScroll"&&pt("scroll",g)}switch(h){case"input":Ge(g),Xt(g,j,!0);break;case"textarea":Ge(g),nd(g);break;case"select":case"option":break;default:typeof j.onClick=="function"&&(g.onclick=re)}g=b,o.updateQueue=g,g!==null&&(o.flags|=4)}else{R=b.nodeType===9?b:b.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=bo(h)),r==="http://www.w3.org/1999/xhtml"?h==="script"?(r=R.createElement("div"),r.innerHTML="<script><\/script>
40",r=r.removeChild(r.firstChild)):typeof g.is=="string"?r=R.createElement(h,{is:g.is}):(r=R.createElement(h),h==="select"&&(R=r,g.multiple?R.multiple=!0:g.size&&(R.size=g.size))):r=R.createElementNS(r,h),r[mi]=o,r[_r]=g,fv(r,o,!1,!1),o.stateNode=r;e:{switch(R=ws(h,g),h){case"dialog":pt("cancel",r),pt("close",r),b=g;break;case"iframe":case"object":case"embed":pt("load",r),b=g;break;case"video":case"audio":for(b=0;b<vr.length;b++)pt(vr[b],r);b=g;break;case"source":pt("error",r),b=g;break;case"img":case"image":case"link":pt("error",r),pt("load",r),b=g;break;case"details":pt("toggle",r),b=g;break;case"input":Bt(r,g),b=bt(r,g),pt("invalid",r);break;case"option":b=g;break;case"select":r._wrapperState={wasMultiple:!!g.multiple},b=Z({},g,{value:void 0}),pt("invalid",r);break;case"textarea":nc(r,g),b=oi(r,g),pt("invalid",r);break;default:b=g}sc(h,b),F=b;for(j in F)if(F.hasOwnProperty(j)){var U=F[j];j==="style"?jo(r,U):j==="dangerouslySetInnerHTML"?(U=U?U.__html:void 0,U!=null&&id(r,U)):j==="children"?typeof U=="string"?(h!=="textarea"||U!=="")&&tr(r,U):typeof U=="number"&&tr(r,""+U):j!=="suppressContentEditableWarning"&&j!=="suppressHydrationWarning"&&j!=="autoFocus"&&(l.hasOwnProperty(j)?U!=null&&j==="onScroll"&&pt("scroll",r):U!=null&&I(r,j,U,R))}switch(h){case"input":Ge(r),Xt(r,g,!1);break;case"textarea":Ge(r),nd(r);break;case"option":g.value!=null&&r.setAttribute("value",""+_e(g.value));break;case"select":r.multiple=!!g.multiple,j=g.value,j!=null?ai(r,!!g.multiple,j,!1):g.defaultValue!=null&&ai(r,!!g.multiple,g.defaultValue,!0);break;default:typeof b.onClick=="function"&&(r.onclick=re)}switch(h){case"button":case"input":case"select":case"textarea":g=!!g.autoFocus;break e;case"img":g=!0;break e;default:g=!1}}g&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return vn(o),null;case 6:if(r&&o.stateNode!=null)gv(r,o,r.memoizedProps,g);else{if(typeof g!="string"&&o.stateNode===null)throw Error(n(166));if(h=Ma(zc.current),Ma(ss.current),Wd(o)){if(g=o.stateNode,h=o.memoizedProps,g[mi]=o,(j=g.nodeValue!==h)&&(r=Xn,r!==null))switch(r.tag){case 3:ee(g.nodeValue,h,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&ee(g.nodeValue,h,(r.mode&1)!==0)}j&&(o.flags|=4)}else g=(h.nodeType===9?h:h.ownerDocument).createTextNode(g),g[mi]=o,o.stateNode=g}return vn(o),null;case 13:if(jt(Et),g=o.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(St&&ei!==null&&(o.mode&1)!==0&&(o.flags&128)===0)vy(),nl(),o.flags|=98560,j=!1;else if(j=Wd(o),g!==null&&g.dehydrated!==null){if(r===null){if(!j)throw Error(n(318));if(j=o.memoizedState,j=j!==null?j.dehydrated:null,!j)throw Error(n(317));j[mi]=o}else nl(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;vn(o),j=!1}else Li!==null&&(_p(Li),Li=null),j=!0;if(!j)return o.flags&65536?o:null}return(o.flags&128)!==0?(o.lanes=h,o):(g=g!==null,g!==(r!==null&&r.memoizedState!==null)&&g&&(o.child.flags|=8192,(o.mode&1)!==0&&(r===null||(Et.current&1)!==0?Kt===0&&(Kt=3):Sp())),o.updateQueue!==null&&(o.flags|=4),vn(o),null);case 4:return al(),dp(r,o),r===null&&wr(o.stateNode.containerInfo),vn(o),null;case 10:return Bf(o.type._context),vn(o),null;case 17:return On(o.type)&&Bd(),vn(o),null;case 19:if(jt(Et),j=o.memoizedState,j===null)return vn(o),null;if(g=(o.flags&128)!==0,R=j.rendering,R===null)if(g)qc(j,!1);else{if(Kt!==0||r!==null&&(r.flags&128)!==0)for(r=o.child;r!==null;){if(R=Kd(r),R!==null){for(o.flags|=128,qc(j,!1),g=R.updateQueue,g!==null&&(o.updateQueue=g,o.flags|=4),o.subtreeFlags=0,g=h,h=o.child;h!==null;)j=h,r=g,j.flags&=14680066,R=j.alternate,R===null?(j.childLanes=0,j.lanes=r,j.child=null,j.subtreeFlags=0,j.memoizedProps=null,j.memoizedState=null,j.updateQueue=null,j.dependencies=null,j.stateNode=null):(j.childLanes=R.childLanes,j.lanes=R.lanes,j.child=R.child,j.subtreeFlags=0,j.deletions=null,j.memoizedProps=R.memoizedProps,j.memoizedState=R.memoizedState,j.updateQueue=R.updateQueue,j.type=R.type,r=R.dependencies,j.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),h=h.sibling;return yt(Et,Et.current&1|2),o.child}r=r.sibling}j.tail!==null&&Ct()>ul&&(o.flags|=128,g=!0,qc(j,!1),o.lanes=4194304)}else{if(!g)if(r=Kd(R),r!==null){if(o.flags|=128,g=!0,h=r.updateQueue,h!==null&&(o.updateQueue=h,o.flags|=4),qc(j,!0),j.tail===null&&j.tailMode==="hidden"&&!R.alternate&&!St)return vn(o),null}else 2*Ct()-j.renderingStartTime>ul&&h!==1073741824&&(o.flags|=128,g=!0,qc(j,!1),o.lanes=4194304);j.isBackwards?(R.sibling=o.child,o.child=R):(h=j.last,h!==null?h.sibling=R:o.child=R,j.last=R)}return j.tail!==null?(o=j.tail,j.rendering=o,j.tail=o.sibling,j.renderingStartTime=Ct(),o.sibling=null,h=Et.current,yt(Et,g?h&1|2:h&1),o):(vn(o),null);
vendor: 20,411 bytes, line 40
40case 22:case 23:return Np(),g=o.memoizedState!==null,r!==null&&r.memoizedState!==null!==g&&(o.flags|=8192),g&&(o.mode&1)!==0?(ti&1073741824)!==0&&(vn(o),o.subtreeFlags&6&&(o.flags|=8192)):vn(o),null;case 24:return null;case 25:return null}throw Error(n(156,o.tag))}function mT(r,o){switch(Lf(o),o.tag){case 1:return On(o.type)&&Bd(),r=o.flags,r&65536?(o.flags=r&-65537|128,o):null;case 3:return al(),jt(Mn),jt(xn),qf(),r=o.flags,(r&65536)!==0&&(r&128)===0?(o.flags=r&-65537|128,o):null;case 5:return Wf(o),null;case 13:if(jt(Et),r=o.memoizedState,r!==null&&r.dehydrated!==null){if(o.alternate===null)throw Error(n(340));nl()}return r=o.flags,r&65536?(o.flags=r&-65537|128,o):null;case 19:return jt(Et),null;case 4:return al(),null;case 10:return Bf(o.type._context),null;case 22:case 23:return Np(),null;case 24:return null;default:return null}}var rh=!1,wn=!1,fT=typeof WeakSet=="function"?WeakSet:Set,Te=null;function ll(r,o){var h=r.ref;if(h!==null)if(typeof h=="function")try{h(null)}catch(g){It(r,o,g)}else h.current=null}function hp(r,o,h){try{h()}catch(g){It(r,o,g)}}var xv=!1;function pT(r,o){if(be=ja,r=Pc(),Ec(r)){if("selectionStart"in r)var h={start:r.selectionStart,end:r.selectionEnd};else e:{h=(h=r.ownerDocument)&&h.defaultView||window;var g=h.getSelection&&h.getSelection();if(g&&g.rangeCount!==0){h=g.anchorNode;var b=g.anchorOffset,j=g.focusNode;g=g.focusOffset;try{h.nodeType,j.nodeType}catch{h=null;break e}var R=0,F=-1,U=-1,te=0,oe=0,ue=r,ae=null;t:for(;;){for(var Ne;ue!==h||b!==0&&ue.nodeType!==3||(F=R+b),ue!==j||g!==0&&ue.nodeType!==3||(U=R+g),ue.nodeType===3&&(R+=ue.nodeValue.length),(Ne=ue.firstChild)!==null;)ae=ue,ue=Ne;for(;;){if(ue===r)break t;if(ae===h&&++te===b&&(F=R),ae===j&&++oe===g&&(U=R),(Ne=ue.nextSibling)!==null)break;ue=ae,ae=ue.parentNode}ue=Ne}h=F===-1||U===-1?null:{start:F,end:U}}else h=null}h=h||{start:0,end:0}}else h=null;for(Fe={focusedElem:r,selectionRange:h},ja=!1,Te=o;Te!==null;)if(o=Te,r=o.child,(o.subtreeFlags&1028)!==0&&r!==null)r.return=o,Te=r;else for(;Te!==null;){o=Te;try{var Ce=o.alternate;if((o.flags&1024)!==0)switch(o.tag){case 0:case 11:case 15:break;case 1:if(Ce!==null){var Re=Ce.memoizedProps,Vt=Ce.memoizedState,Q=o.stateNode,H=Q.getSnapshotBeforeUpdate(o.elementType===o.type?Re:Ii(o.type,Re),Vt);Q.__reactInternalSnapshotBeforeUpdate=H}break;case 3:var X=o.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(n(163))}}catch(pe){It(o,o.return,pe)}if(r=o.sibling,r!==null){r.return=o.return,Te=r;break}Te=o.return}return Ce=xv,xv=!1,Ce}function Zc(r,o,h){var g=o.updateQueue;if(g=g!==null?g.lastEffect:null,g!==null){var b=g=g.next;do{if((b.tag&r)===r){var j=b.destroy;b.destroy=void 0,j!==void 0&&hp(o,h,j)}b=b.next}while(b!==g)}}function ah(r,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var h=o=o.next;do{if((h.tag&r)===r){var g=h.create;h.destroy=g()}h=h.next}while(h!==o)}}function mp(r){var o=r.ref;if(o!==null){var h=r.stateNode;switch(r.tag){case 5:r=h;break;default:r=h}typeof o=="function"?o(r):o.current=r}}function yv(r){var o=r.alternate;o!==null&&(r.alternate=null,yv(o)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(o=r.stateNode,o!==null&&(delete o[mi],delete o[_r],delete o[jr],delete o[Cf],delete o[Pf])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function vv(r){return r.tag===5||r.tag===3||r.tag===4}function wv(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||vv(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function fp(r,o,h){var g=r.tag;if(g===5||g===6)r=r.stateNode,o?h.nodeType===8?h.parentNode.insertBefore(r,o):h.insertBefore(r,o):(h.nodeType===8?(o=h.parentNode,o.insertBefore(r,h)):(o=h,o.appendChild(r)),h=h._reactRootContainer,h!=null||o.onclick!==null||(o.onclick=re));else if(g!==4&&(r=r.child,r!==null))for(fp(r,o,h),r=r.sibling;r!==null;)fp(r,o,h),r=r.sibling}function pp(r,o,h){var g=r.tag;if(g===5||g===6)r=r.stateNode,o?h.insertBefore(r,o):h.appendChild(r);else if(g!==4&&(r=r.child,r!==null))for(pp(r,o,h),r=r.sibling;r!==null;)pp(r,o,h),r=r.sibling}var an=null,Mi=!1;function Pr(r,o,h){for(h=h.child;h!==null;)bv(r,o,h),h=h.sibling}function bv(r,o,h){if(Hn&&typeof Hn.onCommitFiberUnmount=="function")try{Hn.onCommitFiberUnmount(xa,h)}catch{}switch(h.tag){case 5:wn||ll(h,o);case 6:var g=an,b=Mi;an=null,Pr(r,o,h),an=g,Mi=b,an!==null&&(Mi?(r=an,h=h.stateNode,r.nodeType===8?r.parentNode.removeChild(h):r.removeChild(h)):an.removeChild(h.stateNode));break;case 18:an!==null&&(Mi?(r=an,h=h.stateNode,r.nodeType===8?Dc(r.parentNode,h):r.nodeType===1&&Dc(r,h),Gn(r)):Dc(an,h.stateNode));break;case 4:g=an,b=Mi,an=h.stateNode.containerInfo,Mi=!0,Pr(r,o,h),an=g,Mi=b;break;case 0:case 11:case 14:case 15:if(!wn&&(g=h.updateQueue,g!==null&&(g=g.lastEffect,g!==null))){b=g=g.next;do{var j=b,R=j.destroy;j=j.tag,R!==void 0&&((j&2)!==0||(j&4)!==0)&&hp(h,o,R),b=b.next}while(b!==g)}Pr(r,o,h);break;case 1:if(!wn&&(ll(h,o),g=h.stateNode,typeof g.componentWillUnmount=="function"))try{g.props=h.memoizedProps,g.state=h.memoizedState,g.componentWillUnmount()}catch(F){It(h,o,F)}Pr(r,o,h);break;case 21:Pr(r,o,h);break;case 22:h.mode&1?(wn=(g=wn)||h.memoizedState!==null,Pr(r,o,h),wn=g):Pr(r,o,h);break;default:Pr(r,o,h)}}function _v(r){var o=r.updateQueue;if(o!==null){r.updateQueue=null;var h=r.stateNode;h===null&&(h=r.stateNode=new fT),o.forEach(function(g){var b=NT.bind(null,r,g);h.has(g)||(h.add(g),g.then(b,b))})}}function Oi(r,o){var h=o.deletions;if(h!==null)for(var g=0;g<h.length;g++){var b=h[g];try{var j=r,R=o,F=R;e:for(;F!==null;){switch(F.tag){case 5:an=F.stateNode,Mi=!1;break e;case 3:an=F.stateNode.containerInfo,Mi=!0;break e;case 4:an=F.stateNode.containerInfo,Mi=!0;break e}F=F.return}if(an===null)throw Error(n(160));bv(j,R,b),an=null,Mi=!1;var U=b.alternate;U!==null&&(U.return=null),b.return=null}catch(te){It(b,o,te)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)jv(o,r),o=o.sibling}function jv(r,o){var h=r.alternate,g=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(Oi(o,r),as(r),g&4){try{Zc(3,r,r.return),ah(3,r)}catch(Re){It(r,r.return,Re)}try{Zc(5,r,r.return)}catch(Re){It(r,r.return,Re)}}break;case 1:Oi(o,r),as(r),g&512&&h!==null&&ll(h,h.return);break;case 5:if(Oi(o,r),as(r),g&512&&h!==null&&ll(h,h.return),r.flags&32){var b=r.stateNode;try{tr(b,"")}catch(Re){It(r,r.return,Re)}}if(g&4&&(b=r.stateNode,b!=null)){var j=r.memoizedProps,R=h!==null?h.memoizedProps:j,F=r.type,U=r.updateQueue;if(r.updateQueue=null,U!==null)try{F==="input"&&j.type==="radio"&&j.name!=null&&De(b,j),ws(F,R);var te=ws(F,j);for(R=0;R<U.length;R+=2){var oe=U[R],ue=U[R+1];oe==="style"?jo(b,ue):oe==="dangerouslySetInnerHTML"?id(b,ue):oe==="children"?tr(b,ue):I(b,oe,ue,te)}switch(F){case"input":gt(b,j);break;case"textarea":td(b,j);break;case"select":var ae=b._wrapperState.wasMultiple;b._wrapperState.wasMultiple=!!j.multiple;var Ne=j.value;Ne!=null?ai(b,!!j.multiple,Ne,!1):ae!==!!j.multiple&&(j.defaultValue!=null?ai(b,!!j.multiple,j.defaultValue,!0):ai(b,!!j.multiple,j.multiple?[]:"",!1))}b[_r]=j}catch(Re){It(r,r.return,Re)}}break;case 6:if(Oi(o,r),as(r),g&4){if(r.stateNode===null)throw Error(n(162));b=r.stateNode,j=r.memoizedProps;try{b.nodeValue=j}catch(Re){It(r,r.return,Re)}}break;case 3:if(Oi(o,r),as(r),g&4&&h!==null&&h.memoizedState.isDehydrated)try{Gn(o.containerInfo)}catch(Re){It(r,r.return,Re)}break;case 4:Oi(o,r),as(r);break;case 13:Oi(o,r),as(r),b=r.child,b.flags&8192&&(j=b.memoizedState!==null,b.stateNode.isHidden=j,!j||b.alternate!==null&&b.alternate.memoizedState!==null||(yp=Ct())),g&4&&_v(r);break;case 22:if(oe=h!==null&&h.memoizedState!==null,r.mode&1?(wn=(te=wn)||oe,Oi(o,r),wn=te):Oi(o,r),as(r),g&8192){if(te=r.memoizedState!==null,(r.stateNode.isHidden=te)&&!oe&&(r.mode&1)!==0)for(Te=r,oe=r.child;oe!==null;){for(ue=Te=oe;Te!==null;){switch(ae=Te,Ne=ae.child,ae.tag){case 0:case 11:case 14:case 15:Zc(4,ae,ae.return);break;case 1:ll(ae,ae.return);var Ce=ae.stateNode;if(typeof Ce.componentWillUnmount=="function"){g=ae,h=ae.return;try{o=g,Ce.props=o.memoizedProps,Ce.state=o.memoizedState,Ce.componentWillUnmount()}catch(Re){It(g,h,Re)}}break;case 5:ll(ae,ae.return);break;case 22:if(ae.memoizedState!==null){kv(ue);continue}}Ne!==null?(Ne.return=ae,Te=Ne):kv(ue)}oe=oe.sibling}e:for(oe=null,ue=r;;){if(ue.tag===5){if(oe===null){oe=ue;try{b=ue.stateNode,te?(j=b.style,typeof j.setProperty=="function"?j.setProperty("display","none","important"):j.display="none"):(F=ue.stateNode,U=ue.memoizedProps.style,R=U!=null&&U.hasOwnProperty("display")?U.display:null,F.style.display=ic("display",R))}catch(Re){It(r,r.return,Re)}}}else if(ue.tag===6){if(oe===null)try{ue.stateNode.nodeValue=te?"":ue.memoizedProps}catch(Re){It(r,r.return,Re)}}else if((ue.tag!==22&&ue.tag!==23||ue.memoizedState===null||ue===r)&&ue.child!==null){ue.child.return=ue,ue=ue.child;continue}if(ue===r)break e;for(;ue.sibling===null;){if(ue.return===null||ue.return===r)break e;oe===ue&&(oe=null),ue=ue.return}oe===ue&&(oe=null),ue.sibling.return=ue.return,ue=ue.sibling}}break;case 19:Oi(o,r),as(r),g&4&&_v(r);break;case 21:break;default:Oi(o,r),as(r)}}function as(r){var o=r.flags;if(o&2){try{e:{for(var h=r.return;h!==null;){if(vv(h)){var g=h;break e}h=h.return}throw Error(n(160))}switch(g.tag){case 5:var b=g.stateNode;g.flags&32&&(tr(b,""),g.flags&=-33);var j=wv(r);pp(r,j,b);break;case 3:case 4:var R=g.stateNode.containerInfo,F=wv(r);fp(r,F,R);break;default:throw Error(n(161))}}catch(U){It(r,r.return,U)}r.flags&=-3}o&4096&&(r.flags&=-4097)}function gT(r,o,h){Te=r,Nv(r)}function Nv(r,o,h){for(var g=(r.mode&1)!==0;Te!==null;){var b=Te,j=b.child;if(b.tag===22&&g){var R=b.memoizedState!==null||rh;if(!R){var F=b.alternate,U=F!==null&&F.memoizedState!==null||wn;F=rh;var te=wn;if(rh=R,(wn=U)&&!te)for(Te=b;Te!==null;)R=Te,U=R.child,R.tag===22&&R.memoizedState!==null?Tv(b):U!==null?(U.return=R,Te=U):Tv(b);for(;j!==null;)Te=j,Nv(j),j=j.sibling;Te=b,rh=F,wn=te}Sv(r)}else(b.subtreeFlags&8772)!==0&&j!==null?(j.return=b,Te=j):Sv(r)}}function Sv(r){for(;Te!==null;){var o=Te;if((o.flags&8772)!==0){var h=o.alternate;try{if((o.flags&8772)!==0)switch(o.tag){case 0:case 11:case 15:wn||ah(5,o);break;case 1:var g=o.stateNode;if(o.flags&4&&!wn)if(h===null)g.componentDidMount();else{var b=o.elementType===o.type?h.memoizedProps:Ii(o.type,h.memoizedProps);g.componentDidUpdate(b,h.memoizedState,g.__reactInternalSnapshotBeforeUpdate)}var j=o.updateQueue;j!==null&&ky(o,j,g);break;case 3:var R=o.updateQueue;if(R!==null){if(h=null,o.child!==null)switch(o.child.tag){case 5:h=o.child.stateNode;break;case 1:h=o.child.stateNode}ky(o,R,h)}break;case 5:var F=o.stateNode;if(h===null&&o.flags&4){h=F;var U=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":U.autoFocus&&h.focus();break;case"img":U.src&&(h.src=U.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var te=o.alternate;if(te!==null){var oe=te.memoizedState;if(oe!==null){var ue=oe.dehydrated;ue!==null&&Gn(ue)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}wn||o.flags&512&&mp(o)}catch(ae){It(o,o.return,ae)}}if(o===r){Te=null;break}if(h=o.sibling,h!==null){h.return=o.return,Te=h;break}Te=o.return}}function kv(r){for(;Te!==null;){var o=Te;if(o===r){Te=null;break}var h=o.sibling;if(h!==null){h.return=o.return,Te=h;break}Te=o.return}}function Tv(r){for(;Te!==null;){var o=Te;try{switch(o.tag){case 0:case 11:case 15:var h=o.return;try{ah(4,o)}catch(U){It(o,h,U)}break;case 1:var g=o.stateNode;if(typeof g.componentDidMount=="function"){var b=o.return;try{g.componentDidMount()}catch(U){It(o,b,U)}}var j=o.return;try{mp(o)}catch(U){It(o,j,U)}break;case 5:var R=o.return;try{mp(o)}catch(U){It(o,R,U)}}}catch(U){It(o,o.return,U)}if(o===r){Te=null;break}var F=o.sibling;if(F!==null){F.return=o.return,Te=F;break}Te=o.return}}var xT=Math.ceil,oh=D.ReactCurrentDispatcher,gp=D.ReactCurrentOwner,yi=D.ReactCurrentBatchConfig,at=0,nn=null,Wt=null,on=0,ti=0,cl=Nr(0),Kt=0,Gc=null,Da=0,lh=0,xp=0,Yc=null,Fn=null,yp=0,ul=1/0,Us=null,ch=!1,vp=null,Er=null,uh=!1,Ar=null,dh=0,Kc=0,wp=null,hh=-1,mh=0;function En(){return(at&6)!==0?Ct():hh!==-1?hh:hh=Ct()}function Rr(r){return(r.mode&1)===0?1:(at&2)!==0&&on!==0?on&-on:eT.transition!==null?(mh===0&&(mh=gd()),mh):(r=nt,r!==0||(r=window.event,r=r===void 0?16:tt(r.type)),r)}function Di(r,o,h,g){if(50<Kc)throw Kc=0,wp=null,Error(n(185));qn(r,h,g),((at&2)===0||r!==nn)&&(r===nn&&((at&2)===0&&(lh|=h),Kt===4&&Lr(r,on)),Bn(r,g),h===1&&at===0&&(o.mode&1)===0&&(ul=Ct()+500,zd&&kr()))}function Bn(r,o){var h=r.callbackNode;Eo(r,o);var g=xt(r,r===nn?on:0);if(g===0)h!==null&&dc(h),r.callbackNode=null,r.callbackPriority=0;else if(o=g&-g,r.callbackPriority!==o){if(h!=null&&dc(h),o===1)r.tag===0?Xk(Pv.bind(null,r)):fy(Pv.bind(null,r)),gn(function(){(at&6)===0&&kr()}),h=null;else{switch(or(g)){case 1:h=hc;break;case 4:h=pd;break;case 16:h=Co;break;case 536870912:h=ir;break;default:h=Co}h=Dv(h,Cv.bind(null,r))}r.callbackPriority=o,r.callbackNode=h}}function Cv(r,o){if(hh=-1,mh=0,(at&6)!==0)throw Error(n(327));var h=r.callbackNode;if(dl()&&r.callbackNode!==h)return null;var g=xt(r,r===nn?on:0);if(g===0)return null;if((g&30)!==0||(g&r.expiredLanes)!==0||o)o=fh(r,g);else{o=g;var b=at;at|=2;var j=Av();(nn!==r||on!==o)&&(Us=null,ul=Ct()+500,Ba(r,o));do try{wT();break}catch(F){Ev(r,F)}while(!0);Ff(),oh.current=j,at=b,Wt!==null?o=0:(nn=null,on=0,o=Kt)}if(o!==0){if(o===2&&(b=fn(r),b!==0&&(g=b,o=bp(r,b))),o===1)throw h=Gc,Ba(r,0),Lr(r,g),Bn(r,Ct()),h;if(o===6)Lr(r,g);else{if(b=r.current.alternate,(g&30)===0&&!yT(b)&&(o=fh(r,g),o===2&&(j=fn(r),j!==0&&(g=j,o=bp(r,j))),o===1))throw h=Gc,Ba(r,0),Lr(r,g),Bn(r,Ct()),h;switch(r.finishedWork=b,r.finishedLanes=g,o){case 0:case 1:throw Error(n(345));case 2:Va(r,Fn,Us);break;case 3:if(Lr(r,g),(g&130023424)===g&&(o=yp+500-Ct(),10<o)){if(xt(r,0)!==0)break;if(b=r.suspendedLanes,(b&g)!==g){En(),r.pingedLanes|=r.suspendedLanes&b;break}r.timeoutHandle=Gt(Va.bind(null,r,Fn,Us),o);break}Va(r,Fn,Us);break;case 4:if(Lr(r,g),(g&4194240)===g)break;for(o=r.eventTimes,b=-1;0<g;){var R=31-Ye(g);j=1<<R,R=o[R],R>b&&(b=R),g&=~j}if(g=b,g=Ct()-g,g=(120>g?120:480>g?480:1080>g?1080:1920>g?1920:3e3>g?3e3:4320>g?4320:1960*xT(g/1960))-g,10<g){r.timeoutHandle=Gt(Va.bind(null,r,Fn,Us),g);break}Va(r,Fn,Us);break;case 5:Va(r,Fn,Us);break;default:throw Error(n(329))}}}return Bn(r,Ct()),r.callbackNode===h?Cv.bind(null,r):null}function bp(r,o){var h=Yc;return r.current.memoizedState.isDehydrated&&(Ba(r,o).flags|=256),r=fh(r,o),r!==2&&(o=Fn,Fn=h,o!==null&&_p(o)),r}function _p(r){Fn===null?Fn=r:Fn.push.apply(Fn,r)}function yT(r){for(var o=r;;){if(o.flags&16384){var h=o.updateQueue;if(h!==null&&(h=h.stores,h!==null))for(var g=0;g<h.length;g++){var b=h[g],j=b.getSnapshot;b=b.value;try{if(!Jn(j(),b))return!1}catch{return!1}}}if(h=o.child,o.subtreeFlags&16384&&h!==null)h.return=o,o=h;else{if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Lr(r,o){for(o&=~xp,o&=~lh,r.suspendedLanes|=o,r.pingedLanes&=~o,r=r.expirationTimes;0<o;){var h=31-Ye(o),g=1<<h;r[h]=-1,o&=~g}}function Pv(r){if((at&6)!==0)throw Error(n(327));dl();var o=xt(r,0);if((o&1)===0)return Bn(r,Ct()),null;var h=fh(r,o);if(r.tag!==0&&h===2){var g=fn(r);g!==0&&(o=g,h=bp(r,g))}if(h===1)throw h=Gc,Ba(r,0),Lr(r,o),Bn(r,Ct()),h;if(h===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=o,Va(r,Fn,Us),Bn(r,Ct()),null}function jp(r,o){var h=at;at|=1;try{return r(o)}finally{at=h,at===0&&(ul=Ct()+500,zd&&kr())}}function Fa(r){Ar!==null&&Ar.tag===0&&(at&6)===0&&dl();var o=at;at|=1;var h=yi.transition,g=nt;try{if(yi.transition=null,nt=1,r)return r()}finally{nt=g,yi.transition=h,at=o,(at&6)===0&&kr()}}function Np(){ti=cl.current,jt(cl)}function Ba(r,o){r.finishedWork=null,r.finishedLanes=0;var h=r.timeoutHandle;if(h!==-1&&(r.timeoutHandle=-1,$t(h)),Wt!==null)for(h=Wt.return;h!==null;){var g=h;switch(Lf(g),g.tag){case 1:g=g.type.childContextTypes,g!=null&&Bd();break;case 3:al(),jt(Mn),jt(xn),qf();break;case 5:Wf(g);break;case 4:al();break;case 13:jt(Et);break;case 19:jt(Et);break;case 10:Bf(g.type._context);break;case 22:case 23:Np()}h=h.return}if(nn=r,Wt=r=Ir(r.current,null),on=ti=o,Kt=0,Gc=null,xp=lh=Da=0,Fn=Yc=null,Ia!==null){for(o=0;o<Ia.length;o++)if(h=Ia[o],g=h.interleaved,g!==null){h.interleaved=null;var b=g.next,j=h.pending;if(j!==null){var R=j.next;j.next=b,g.next=R}h.pending=g}Ia=null}return r}function Ev(r,o){do{var h=Wt;try{if(Ff(),Jd.current=th,Qd){for(var g=At.memoizedState;g!==null;){var b=g.queue;b!==null&&(b.pending=null),g=g.next}Qd=!1}if(Oa=0,tn=Yt=At=null,Uc=!1,$c=0,gp.current=null,h===null||h.return===null){Kt=1,Gc=o,Wt=null;break}e:{var j=r,R=h.return,F=h,U=o;if(o=on,F.flags|=32768,U!==null&&typeof U=="object"&&typeof U.then=="function"){var te=U,oe=F,ue=oe.tag;if((oe.mode&1)===0&&(ue===0||ue===11||ue===15)){var ae=oe.alternate;ae?(oe.updateQueue=ae.updateQueue,oe.memoizedState=ae.memoizedState,oe.lanes=ae.lanes):(oe.updateQueue=null,oe.memoizedState=null)}var Ne=tv(R);if(Ne!==null){Ne.flags&=-257,nv(Ne,R,F,j,o),Ne.mode&1&&ev(j,te,o),o=Ne,U=te;var Ce=o.updateQueue;if(Ce===null){var Re=new Set;Re.add(U),o.updateQueue=Re}else Ce.add(U);break e}else{if((o&1)===0){ev(j,te,o),Sp();break e}U=Error(n(426))}}else if(St&&F.mode&1){var Vt=tv(R);if(Vt!==null){(Vt.flags&65536)===0&&(Vt.flags|=256),nv(Vt,R,F,j,o),Of(ol(U,F));break e}}j=U=ol(U,F),Kt!==4&&(Kt=2),Yc===null?Yc=[j]:Yc.push(j),j=R;do{switch(j.tag){case 3:j.flags|=65536,o&=-o,j.lanes|=o;var Q=Qy(j,U,o);Sy(j,Q);break e;case 1:F=U;var H=j.type,X=j.stateNode;if((j.flags&128)===0&&(typeof H.getDerivedStateFromError=="function"||X!==null&&typeof X.componentDidCatch=="function"&&(Er===null||!Er.has(X)))){j.flags|=65536,o&=-o,j.lanes|=o;var pe=Xy(j,F,o);Sy(j,pe);break e}}j=j.return}while(j!==null)}Lv(h)}catch(Ie){o=Ie,Wt===h&&h!==null&&(Wt=h=h.return);continue}break}while(!0)}function Av(){var r=oh.current;return oh.current=th,r===null?th:r}function Sp(){(Kt===0||Kt===3||Kt===2)&&(Kt=4),nn===null||(Da&268435455)===0&&(lh&268435455)===0||Lr(nn,on)}function fh(r,o){var h=at;at|=2;var g=Av();(nn!==r||on!==o)&&(Us=null,Ba(r,o));do try{vT();break}catch(b){Ev(r,b)}while(!0);if(Ff(),at=h,oh.current=g,Wt!==null)throw Error(n(261));return nn=null,on=0,Kt}function vT(){for(;Wt!==null;)Rv(Wt)}function wT(){for(;Wt!==null&&!hf();)Rv(Wt)}function Rv(r){var o=Ov(r.alternate,r,ti);r.memoizedProps=r.pendingProps,o===null?Lv(r):Wt=o,gp.current=null}function Lv(r){var o=r;do{var h=o.alternate;if(r=o.return,(o.flags&32768)===0){if(h=hT(h,o,ti),h!==null){Wt=h;return}}else{if(h=mT(h,o),h!==null){h.flags&=32767,Wt=h;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{Kt=6,Wt=null;return}}if(o=o.sibling,o!==null){Wt=o;return}Wt=o=r}while(o!==null);Kt===0&&(Kt=5)}function Va(r,o,h){var g=nt,b=yi.transition;try{yi.transition=null,nt=1,bT(r,o,h,g)}finally{yi.transition=b,nt=g}return null}function bT(r,o,h,g){do dl();while(Ar!==null);if((at&6)!==0)throw Error(n(327));h=r.finishedWork;var b=r.finishedLanes;if(h===null)return null;if(r.finishedWork=null,r.finishedLanes=0,h===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var j=h.lanes|h.childLanes;if(Lt(r,j),r===nn&&(Wt=nn=null,on=0),(h.subtreeFlags&2064)===0&&(h.flags&2064)===0||uh||(uh=!0,Dv(Co,function(){return dl(),null})),j=(h.flags&15990)!==0,(h.subtreeFlags&15990)!==0||j){j=yi.transition,yi.transition=null;var R=nt;nt=1;var F=at;at|=4,gp.current=null,pT(r,h),jv(h,r),di(Fe),ja=!!be,Fe=be=null,r.current=h,gT(h),To(),at=F,nt=R,yi.transition=j}else r.current=h;if(uh&&(uh=!1,Ar=r,dh=b),j=r.pendingLanes,j===0&&(Er=null),ya(h.stateNode),Bn(r,Ct()),o!==null)for(g=r.onRecoverableError,h=0;h<o.length;h++)b=o[h],g(b.value,{componentStack:b.stack,digest:b.digest});if(ch)throw ch=!1,r=vp,vp=null,r;return(dh&1)!==0&&r.tag!==0&&dl(),j=r.pendingLanes,(j&1)!==0?r===wp?Kc++:(Kc=0,wp=r):Kc=0,kr(),null}function dl(){if(Ar!==null){var r=or(dh),o=yi.transition,h=nt;try{if(yi.transition=null,nt=16>r?16:r,Ar===null)var g=!1;
vendor: 3,661 bytes, line 40
40else{if(r=Ar,Ar=null,dh=0,(at&6)!==0)throw Error(n(331));var b=at;for(at|=4,Te=r.current;Te!==null;){var j=Te,R=j.child;if((Te.flags&16)!==0){var F=j.deletions;if(F!==null){for(var U=0;U<F.length;U++){var te=F[U];for(Te=te;Te!==null;){var oe=Te;switch(oe.tag){case 0:case 11:case 15:Zc(8,oe,j)}var ue=oe.child;if(ue!==null)ue.return=oe,Te=ue;else for(;Te!==null;){oe=Te;var ae=oe.sibling,Ne=oe.return;if(yv(oe),oe===te){Te=null;break}if(ae!==null){ae.return=Ne,Te=ae;break}Te=Ne}}}var Ce=j.alternate;if(Ce!==null){var Re=Ce.child;if(Re!==null){Ce.child=null;do{var Vt=Re.sibling;Re.sibling=null,Re=Vt}while(Re!==null)}}Te=j}}if((j.subtreeFlags&2064)!==0&&R!==null)R.return=j,Te=R;else e:for(;Te!==null;){if(j=Te,(j.flags&2048)!==0)switch(j.tag){case 0:case 11:case 15:Zc(9,j,j.return)}var Q=j.sibling;if(Q!==null){Q.return=j.return,Te=Q;break e}Te=j.return}}var H=r.current;for(Te=H;Te!==null;){R=Te;var X=R.child;if((R.subtreeFlags&2064)!==0&&X!==null)X.return=R,Te=X;else e:for(R=H;Te!==null;){if(F=Te,(F.flags&2048)!==0)try{switch(F.tag){case 0:case 11:case 15:ah(9,F)}}catch(Ie){It(F,F.return,Ie)}if(F===R){Te=null;break e}var pe=F.sibling;if(pe!==null){pe.return=F.return,Te=pe;break e}Te=F.return}}if(at=b,kr(),Hn&&typeof Hn.onPostCommitFiberRoot=="function")try{Hn.onPostCommitFiberRoot(xa,r)}catch{}g=!0}return g}finally{nt=h,yi.transition=o}}return!1}function Iv(r,o,h){o=ol(h,o),o=Qy(r,o,1),r=Cr(r,o,1),o=En(),r!==null&&(qn(r,1,o),Bn(r,o))}function It(r,o,h){if(r.tag===3)Iv(r,r,h);else for(;o!==null;){if(o.tag===3){Iv(o,r,h);break}else if(o.tag===1){var g=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&(Er===null||!Er.has(g))){r=ol(h,r),r=Xy(o,r,1),o=Cr(o,r,1),r=En(),o!==null&&(qn(o,1,r),Bn(o,r));break}}o=o.return}}function _T(r,o,h){var g=r.pingCache;g!==null&&g.delete(o),o=En(),r.pingedLanes|=r.suspendedLanes&h,nn===r&&(on&h)===h&&(Kt===4||Kt===3&&(on&130023424)===on&&500>Ct()-yp?Ba(r,0):xp|=h),Bn(r,o)}function Mv(r,o){o===0&&((r.mode&1)===0?o=1:(o=rr,rr<<=1,(rr&130023424)===0&&(rr=4194304)));var h=En();r=Bs(r,o),r!==null&&(qn(r,o,h),Bn(r,h))}function jT(r){var o=r.memoizedState,h=0;o!==null&&(h=o.retryLane),Mv(r,h)}function NT(r,o){var h=0;switch(r.tag){case 13:var g=r.stateNode,b=r.memoizedState;b!==null&&(h=b.retryLane);break;case 19:g=r.stateNode;break;default:throw Error(n(314))}g!==null&&g.delete(o),Mv(r,h)}var Ov;Ov=function(r,o,h){if(r!==null)if(r.memoizedProps!==o.pendingProps||Mn.current)Dn=!0;else{if((r.lanes&h)===0&&(o.flags&128)===0)return Dn=!1,dT(r,o,h);Dn=(r.flags&131072)!==0}else Dn=!1,St&&(o.flags&1048576)!==0&&py(o,$d,o.index);switch(o.lanes=0,o.tag){case 2:var g=o.type;sh(r,o),r=o.pendingProps;var b=Xo(o,xn.current);rl(o,h),b=Yf(null,o,g,r,b,h);var j=Kf();return o.flags|=1,typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,On(g)?(j=!0,Vd(o)):j=!1,o.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,Uf(o),b.updater=nh,o.stateNode=b,b._reactInternals=o,np(o,g,r,h),o=ap(null,o,g,!0,j,h)):(o.tag=0,St&&j&&Rf(o),Pn(null,o,b,h),o=o.child),o;case 16:g=o.elementType;e:{switch(sh(r,o),r=o.pendingProps,b=g._init,g=b(g._payload),o.type=g,b=o.tag=kT(g),r=Ii(g,r),b){case 0:o=rp(null,o,g,r,h);break e;case 1:o=lv(null,o,g,r,h);break e;case 11:o=iv(null,o,g,r,h);break e;case 14:o=sv(null,o,g,Ii(g.type,r),h);break e}throw Error(n(306,g,""))}return o;case 0:return g=o.type,b=o.pendingProps,b=o.elementType===g?b:Ii(g,b),rp(r,o,g,b,h);case 1:return g=o.type,b=o.pendingProps,b=o.elementType===g?b:Ii(g,b),lv(r,o,g,b,h);case 3:e:{if(cv(o),r===null)throw Error(n(387));
vendor: 10,378 bytes, line 40
40g=o.pendingProps,j=o.memoizedState,b=j.element,Ny(r,o),Yd(o,g,null,h);var R=o.memoizedState;if(g=R.element,j.isDehydrated)if(j={element:g,isDehydrated:!1,cache:R.cache,pendingSuspenseBoundaries:R.pendingSuspenseBoundaries,transitions:R.transitions},o.updateQueue.baseState=j,o.memoizedState=j,o.flags&256){b=ol(Error(n(423)),o),o=uv(r,o,g,h,b);break e}else if(g!==b){b=ol(Error(n(424)),o),o=uv(r,o,g,h,b);break e}else for(ei=is(o.stateNode.containerInfo.firstChild),Xn=o,St=!0,Li=null,h=_y(o,null,g,h),o.child=h;h;)h.flags=h.flags&-3|4096,h=h.sibling;else{if(nl(),g===b){o=zs(r,o,h);break e}Pn(r,o,g,h)}o=o.child}return o;case 5:return Ty(o),r===null&&Mf(o),g=o.type,b=o.pendingProps,j=r!==null?r.memoizedProps:null,R=b.children,Je(g,b)?R=null:j!==null&&Je(g,j)&&(o.flags|=32),ov(r,o),Pn(r,o,R,h),o.child;case 6:return r===null&&Mf(o),null;case 13:return dv(r,o,h);case 4:return $f(o,o.stateNode.containerInfo),g=o.pendingProps,r===null?o.child=il(o,null,g,h):Pn(r,o,g,h),o.child;case 11:return g=o.type,b=o.pendingProps,b=o.elementType===g?b:Ii(g,b),iv(r,o,g,b,h);case 7:return Pn(r,o,o.pendingProps,h),o.child;case 8:return Pn(r,o,o.pendingProps.children,h),o.child;case 12:return Pn(r,o,o.pendingProps.children,h),o.child;case 10:e:{if(g=o.type._context,b=o.pendingProps,j=o.memoizedProps,R=b.value,yt(qd,g._currentValue),g._currentValue=R,j!==null)if(Jn(j.value,R)){if(j.children===b.children&&!Mn.current){o=zs(r,o,h);break e}}else for(j=o.child,j!==null&&(j.return=o);j!==null;){var F=j.dependencies;if(F!==null){R=j.child;for(var U=F.firstContext;U!==null;){if(U.context===g){if(j.tag===1){U=Vs(-1,h&-h),U.tag=2;var te=j.updateQueue;if(te!==null){te=te.shared;var oe=te.pending;oe===null?U.next=U:(U.next=oe.next,oe.next=U),te.pending=U}}j.lanes|=h,U=j.alternate,U!==null&&(U.lanes|=h),Vf(j.return,h,o),F.lanes|=h;break}U=U.next}}else if(j.tag===10)R=j.type===o.type?null:j.child;else if(j.tag===18){if(R=j.return,R===null)throw Error(n(341));R.lanes|=h,F=R.alternate,F!==null&&(F.lanes|=h),Vf(R,h,o),R=j.sibling}else R=j.child;if(R!==null)R.return=j;else for(R=j;R!==null;){if(R===o){R=null;break}if(j=R.sibling,j!==null){j.return=R.return,R=j;break}R=R.return}j=R}Pn(r,o,b.children,h),o=o.child}return o;case 9:return b=o.type,g=o.pendingProps.children,rl(o,h),b=gi(b),g=g(b),o.flags|=1,Pn(r,o,g,h),o.child;case 14:return g=o.type,b=Ii(g,o.pendingProps),b=Ii(g.type,b),sv(r,o,g,b,h);case 15:return rv(r,o,o.type,o.pendingProps,h);case 17:return g=o.type,b=o.pendingProps,b=o.elementType===g?b:Ii(g,b),sh(r,o),o.tag=1,On(g)?(r=!0,Vd(o)):r=!1,rl(o,h),Ky(o,g,b),np(o,g,b,h),ap(null,o,g,!0,r,h);case 19:return mv(r,o,h);case 22:return av(r,o,h)}throw Error(n(156,o.tag))};function Dv(r,o){return fd(r,o)}function ST(r,o,h,g){this.tag=r,this.key=h,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=g,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vi(r,o,h,g){return new ST(r,o,h,g)}function kp(r){return r=r.prototype,!(!r||!r.isReactComponent)}function kT(r){if(typeof r=="function")return kp(r)?1:0;if(r!=null){if(r=r.$$typeof,r===ve)return 11;if(r===Oe)return 14}return 2}function Ir(r,o){var h=r.alternate;return h===null?(h=vi(r.tag,o,r.key,r.mode),h.elementType=r.elementType,h.type=r.type,h.stateNode=r.stateNode,h.alternate=r,r.alternate=h):(h.pendingProps=o,h.type=r.type,h.flags=0,h.subtreeFlags=0,h.deletions=null),h.flags=r.flags&14680064,h.childLanes=r.childLanes,h.lanes=r.lanes,h.child=r.child,h.memoizedProps=r.memoizedProps,h.memoizedState=r.memoizedState,h.updateQueue=r.updateQueue,o=r.dependencies,h.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},h.sibling=r.sibling,h.index=r.index,h.ref=r.ref,h}function ph(r,o,h,g,b,j){var R=2;if(g=r,typeof r=="function")kp(r)&&(R=1);else if(typeof r=="string")R=5;else e:switch(r){case K:return za(h.children,b,j,o);case W:R=8,b|=8;break;case se:return r=vi(12,h,o,b|2),r.elementType=se,r.lanes=j,r;case Ae:return r=vi(13,h,o,b),r.elementType=Ae,r.lanes=j,r;case xe:return r=vi(19,h,o,b),r.elementType=xe,r.lanes=j,r;case he:return gh(h,b,j,o);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case de:R=10;break e;case fe:R=9;break e;case ve:R=11;break e;case Oe:R=14;break e;case le:R=16,g=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return o=vi(R,h,o,b),o.elementType=r,o.type=g,o.lanes=j,o}function za(r,o,h,g){return r=vi(7,r,g,o),r.lanes=h,r}function gh(r,o,h,g){return r=vi(22,r,g,o),r.elementType=he,r.lanes=h,r.stateNode={isHidden:!1},r}function Tp(r,o,h){return r=vi(6,r,null,o),r.lanes=h,r}function Cp(r,o,h){return o=vi(4,r.children!==null?r.children:[],r.key,o),o.lanes=h,o.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},o}function TT(r,o,h,g,b){this.tag=o,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ar(0),this.expirationTimes=ar(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ar(0),this.identifierPrefix=g,this.onRecoverableError=b,this.mutableSourceEagerHydrationData=null}function Pp(r,o,h,g,b,j,R,F,U){return r=new TT(r,o,h,F,U),o===1?(o=1,j===!0&&(o|=8)):o=0,j=vi(3,null,null,o),r.current=j,j.stateNode=r,j.memoizedState={element:g,isDehydrated:h,cache:null,transitions:null,pendingSuspenseBoundaries:null},Uf(j),r}function CT(r,o,h){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:G,key:g==null?null:""+g,children:r,containerInfo:o,implementation:h}}function Fv(r){if(!r)return Sr;r=r._reactInternals;e:{if(Yi(r)!==r||r.tag!==1)throw Error(n(170));var o=r;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(On(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(n(171))}if(r.tag===1){var h=r.type;if(On(h))return hy(r,h,o)}return o}function Bv(r,o,h,g,b,j,R,F,U){return r=Pp(h,g,!0,r,b,j,R,F,U),r.context=Fv(null),h=r.current,g=En(),b=Rr(h),j=Vs(g,b),j.callback=o??null,Cr(h,j,b),r.current.lanes=b,qn(r,b,g),Bn(r,g),r}function xh(r,o,h,g){var b=o.current,j=En(),R=Rr(b);return h=Fv(h),o.context===null?o.context=h:o.pendingContext=h,o=Vs(j,R),o.payload={element:r},g=g===void 0?null:g,g!==null&&(o.callback=g),r=Cr(b,o,R),r!==null&&(Di(r,b,R,j),Gd(r,b,R)),R}function yh(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function Vv(r,o){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var h=r.retryLane;r.retryLane=h!==0&&h<o?h:o}}function Ep(r,o){Vv(r,o),(r=r.alternate)&&Vv(r,o)}function PT(){return null}var zv=typeof reportError=="function"?reportError:function(r){console.error(r)};function Ap(r){this._internalRoot=r}vh.prototype.render=Ap.prototype.render=function(r){var o=this._internalRoot;if(o===null)throw Error(n(409));xh(r,o,null,null)},vh.prototype.unmount=Ap.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var o=r.containerInfo;Fa(function(){xh(null,r,null,null)}),o[lt]=null}};function vh(r){this._internalRoot=r}vh.prototype.unstable_scheduleHydration=function(r){if(r){var o=Lo();r={blockedOn:null,target:r,priority:o};for(var h=0;h<Zt.length&&o!==0&&o<Zt[h].priority;h++);Zt.splice(h,0,r),h===0&&Io(r)}};function Rp(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function wh(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function Uv(){}function ET(r,o,h,g,b){if(b){if(typeof g=="function"){var j=g;g=function(){var te=yh(R);j.call(te)}}var R=Bv(o,g,r,0,null,!1,!1,"",Uv);return r._reactRootContainer=R,r[lt]=R.current,wr(r.nodeType===8?r.parentNode:r),Fa(),R}for(;b=r.lastChild;)r.removeChild(b);if(typeof g=="function"){var F=g;g=function(){var te=yh(U);F.call(te)}}var U=Pp(r,0,!1,null,null,!1,!1,"",Uv);return r._reactRootContainer=U,r[lt]=U.current,wr(r.nodeType===8?r.parentNode:r),Fa(function(){xh(o,U,h,g)}),U}function bh(r,o,h,g,b){var j=h._reactRootContainer;if(j){var R=j;if(typeof b=="function"){var F=b;b=function(){var U=yh(R);F.call(U)}}xh(o,R,r,b)}else R=ET(h,o,r,b,g);return yh(R)}Ao=function(r){switch(r.tag){case 3:var o=r.stateNode;if(o.current.memoizedState.isDehydrated){var h=Ze(o.pendingLanes);h!==0&&(Ci(o,h|1),Bn(o,Ct()),(at&6)===0&&(ul=Ct()+500,kr()))}break;case 13:Fa(function(){var g=Bs(r,1);if(g!==null){var b=En();Di(g,r,1,b)}}),Ep(r,1)}},Ns=function(r){if(r.tag===13){var o=Bs(r,134217728);if(o!==null){var h=En();Di(o,r,134217728,h)}Ep(r,134217728)}},Ro=function(r){if(r.tag===13){var o=Rr(r),h=Bs(r,o);if(h!==null){var g=En();Di(h,r,o,g)}Ep(r,o)}},Lo=function(){return nt},va=function(r,o){var h=nt;try{return nt=r,o()}finally{nt=h}},No=function(r,o,h){switch(o){case"input":if(gt(r,h),o=h.name,h.type==="radio"&&o!=null){for(h=r;h.parentNode;)h=h.parentNode;for(h=h.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<h.length;o++){var g=h[o];if(g!==r&&g.form===r.form){var b=Jo(g);if(!b)throw Error(n(90));Be(g),gt(g,b)}}}break;case"textarea":td(r,h);break;case"select":o=h.value,o!=null&&ai(r,!!h.multiple,o,!1)}},ld=jp,cd=Fa;var AT={usingClientEntryPoint:!1,Events:[Is,Ms,Jo,ad,od,jp]},Jc={findFiberByHostInstance:Ls,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},RT={bundleType:Jc.bundleType,version:Jc.version,rendererPackageName:Jc.rendererPackageName,rendererConfig:Jc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:D.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=hd(r),r===null?null:r.stateNode},findFiberByHostInstance:Jc.findFiberByHostInstance||PT,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var _h=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_h.isDisabled&&_h.supportsFiber)try{xa=_h.inject(RT),Hn=_h}catch{}}return Vn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=AT,Vn.createPortal=function(r,o){var h=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Rp(o))throw Error(n(200));return CT(r,o,null,h)},Vn.createRoot=function(r,o){if(!Rp(r))throw Error(n(299));var h=!1,g="",b=zv;return o!=null&&(o.unstable_strictMode===!0&&(h=!0),o.identifierPrefix!==void 0&&(g=o.identifierPrefix),o.onRecoverableError!==void 0&&(b=o.onRecoverableError)),o=Pp(r,1,!1,null,null,h,!1,g,b),r[lt]=o.current,wr(r.nodeType===8?r.parentNode:r),new Ap(o)},Vn.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var o=r._reactInternals;if(o===void 0)throw typeof r.render=="function"?Error(n(188)):(r=Object.keys(r).join(","),Error(n(268,r)));return r=hd(o),r=r===null?null:r.stateNode,r},Vn.flushSync=function(r){return Fa(r)},Vn.hydrate=function(r,o,h){if(!wh(o))throw Error(n(200));return bh(null,r,o,!0,h)},Vn.hydrateRoot=function(r,o,h){if(!Rp(r))throw Error(n(405));var g=h!=null&&h.hydratedSources||null,b=!1,j="",R=zv;if(h!=null&&(h.unstable_strictMode===!0&&(b=!0),h.identifierPrefix!==void 0&&(j=h.identifierPrefix),h.onRecoverableError!==void 0&&(R=h.onRecoverableError)),o=Bv(o,null,r,1,h??null,b,!1,j,R),r[lt]=o.current,wr(r),g)for(r=0;r<g.length;r++)h=g[r],b=h._getVersion,b=b(h._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[h,b]:o.mutableSourceEagerHydrationData.push(h,b);return new vh(o)},Vn.render=function(r,o,h){if(!wh(o))throw Error(n(200));return bh(null,r,o,!1,h)},Vn.unmountComponentAtNode=function(r){if(!wh(r))throw Error(n(40));return r._reactRootContainer?(Fa(function(){bh(null,null,r,!1,function(){r._reactRootContainer=null,r[lt]=null})}),!0):!1},Vn.unstable_batchedUpdates=jp,Vn.unstable_renderSubtreeIntoContainer=function(r,o,h,g){if(!wh(h))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return bh(r,o,h,!1,g)},Vn.version="18.3.1-next-f1338f8080-20240426",Vn}var Jv;function bj(){if(Jv)return Op.exports;Jv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Op.exports=UT(),Op.exports}var Qv;function $T(){if(Qv)return Nh;Qv=1;var e=bj();return Nh.createRoot=e.createRoot,Nh.hydrateRoot=e.hydrateRoot,Nh}var WT=$T();const HT=Cm(WT),qT=20,ZT=1e6,Gs={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Bp=0;function GT(){return Bp=(Bp+1)%Number.MAX_VALUE,Bp.toString()}const Vp=new Map,Xv=e=>{if(Vp.has(e))return;const t=setTimeout(()=>{Vp.delete(e),fu({type:Gs.REMOVE_TOAST,toastId:e})},ZT);Vp.set(e,t)},YT=(e,t)=>{switch(t.type){case Gs.ADD_TOAST:return{...e,toasts:[t.toast,...e.toasts].slice(0,qT)};case Gs.UPDATE_TOAST:return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case Gs.DISMISS_TOAST:{const{toastId:n}=t;return n?Xv(n):e.toasts.forEach(s=>{Xv(s.id)}),{...e,toasts:e.toasts.map(s=>s.id===n||n===void 0?{...s,open:!1}:s)}}case Gs.REMOVE_TOAST:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},$h=[];let Wh={toasts:[]};function fu(e){Wh=YT(Wh,e),$h.forEach(t=>{t(Wh)})}function KT({...e}){const t=GT(),n=l=>fu({type:Gs.UPDATE_TOAST,toast:{...l,id:t}}),s=()=>fu({type:Gs.DISMISS_TOAST,toastId:t});return fu({type:Gs.ADD_TOAST,toast:{...e,id:t,open:!0,onOpenChange:l=>{l||s()}}}),{id:t,dismiss:s,update:n}}function JT(){const[e,t]=N.useState(Wh);return N.useEffect(()=>($h.push(t),()=>{const n=$h.indexOf(t);n>-1&&$h.splice(n,1)}),[e]),{...e,toast:KT,dismiss:n=>fu({type:Gs.DISMISS_TOAST,toastId:n})}}function _j(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(n=_j(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function jj(){for(var e,t,n=0,s="",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=_j(e))&&(s&&(s+=" "),s+=t);return s}const ew=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,tw=jj,Vx=(e,t)=>n=>{var s;if((t==null?void 0:t.variants)==null)return tw(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:l,defaultVariants:c}=t,d=Object.keys(l).map(x=>{const y=n==null?void 0:n[x],v=c==null?void 0:c[x];if(y===null)return null;const _=ew(y)||ew(v);return l[x][_]}),m=n&&Object.entries(n).reduce((x,y)=>{let[v,_]=y;return _===void 0||(x[v]=_),x},{}),f=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((x,y)=>{let{class:v,className:_,...S}=y;return Object.entries(S).every(E=>
vendor: 4,288 bytes, lines 40-105
40{let[k,P]=E;return Array.isArray(P)?P.includes({...c,...m}[k]):{...c,...m}[k]===P})?[...x,v,_]:x},[]);return tw(e,d,f,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.475.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const QT=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Nj=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.475.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var XT={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.475.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const e4=N.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:l="",children:c,iconNode:d,...m},f)=>N.createElement("svg",{ref:f,...XT,width:t,height:t,stroke:e,strokeWidth:s?Number(n)*24/Number(t):n,className:Nj("lucide",l),...m},[...d.map(([x,y])=>N.createElement(x,y)),...Array.isArray(c)?c:[c]]));/**
56 * @license lucide-react v0.475.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const ht=(e,t)=>{const n=N.forwardRef(({className:s,...l},c)=>N.createElement(e4,{ref:c,iconNode:t,className:Nj(`lucide-${QT(e)}`,s),...l}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.475.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const t4=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],oa=ht("ArrowLeft",t4);/**
66 * @license lucide-react v0.475.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const n4=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Rg=ht("ArrowRight",n4);/**
71 * @license lucide-react v0.475.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const i4=[["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"}]],Em=ht("Calendar",i4);/**
76 * @license lucide-react v0.475.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const s4=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Am=ht("Check",s4);/**
81 * @license lucide-react v0.475.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const r4=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],$i=ht("ChevronDown",r4);/**
86 * @license lucide-react v0.475.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const a4=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],o4=ht("ChevronUp",a4);/**
91 * @license lucide-react v0.475.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const l4=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],c4=ht("CircleCheckBig",l4);/**
96 * @license lucide-react v0.475.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const u4=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Rm=ht("CircleCheck",u4);/**
101 * @license lucide-react v0.475.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const d4=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",ke
105y:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],h4=ht("Compass",d4);/**
106 * @license lucide-react v0.475.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const m4=[["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"}]],f4=ht("ExternalLink",m4);/**
111 * @license lucide-react v0.475.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const p4=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],g4=ht("FileText",p4);/**
116 * @license lucide-react v0.475.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const x4=[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]],y4=ht("Flame",x4);/**
121 * @license lucide-react v0.475.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const v4=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],w4=ht("Gift",v4);/**
126 * @license lucide-react v0.475.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const b4=[["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"}]],Sj=ht("Heart",b4);/**
131 * @license lucide-react v0.475.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const _4=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],zx=ht("House",_4);/**
136 * @license lucide-react v0.475.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const j4=[["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"}]],Du=ht("Leaf",j4);/**
141 * @license lucide-react v0.475.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const N4=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Wn=ht("LoaderCircle",N4);/**
146 * @license lucide-react v0.475.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const S4=[["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"}]],kj=ht("Mail",S4);/**
151 * @license lucide-react v0.475.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const k4=[["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"}]],Fu=ht("MapPin",k4);/**
156 * @license lucide-react v0.475.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const T4=[["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"}]],C4=ht("Menu",T4);/**
161 * @license lucide-react v0.475.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const P4=[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]],E4=ht("Pause",P4);/**
166 * @license lucide-react v0.475.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const A4=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],R4=ht("Phone",A4);/**
171 * @license lucide-react v0.475.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const L4=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],nw=ht("Play",L4);
vendor: 4,615 bytes, lines 175-205
175/**
176 * @license lucide-react v0.475.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const I4=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],M4=ht("Settings",I4);/**
181 * @license lucide-react v0.475.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const O4=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],Lm=ht("Sparkles",O4);/**
186 * @license lucide-react v0.475.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const D4=[["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"}]],Im=ht("Star",D4);/**
191 * @license lucide-react v0.475.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const F4=[["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"}]],Tj=ht("Users",F4);/**
196 * @license lucide-react v0.475.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const B4=[["path",{d:"m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8",key:"n7qcjb"}],["path",{d:"M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7",key:"d0u48b"}],["path",{d:"m2.1 21.8 6.4-6.3",key:"yn04lh"}],["path",{d:"m19 5-7 7",key:"194lzd"}]],V4=ht("UtensilsCrossed",B4);/**
201 * @license lucide-react v0.475.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const z4=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],er=ht("X",z4),U4=(e,t)=>{const n=new Array(e.length+t.length);for(let s=0;s<e.length;s++)n[s]=e[s];for(let s=0;s<t.length;s++)n[e.length+s]=t[s];return n},$4=(e,t)=>({classGroupId:e,validator:t}),Cj=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),rm="-",iw=[],W4="arbitrary..",H4=e=>{const t=Z4(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:d=>{if(d.startsWith("[")&&d.endsWith("]"))return q4(d);const m=d.split(rm),f=m[0]===""&&m.length>1?1:0;return Pj(m,f,t)},getConflictingClassGroupIds:(d,m)=>{if(m){const f=s[d],x=n[d];return f?x?U4(x,f):f:x||iw}return n[d]||iw}}},Pj=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const l=e[t],c=n.nextPart.get(l);if(c){const x=Pj(e,t+1,c);if(x)return x}const d=n.validators;if(d===null)return;const m=t===0?e.join(rm):e.slice(t).join(rm),f=d.length;for(let x=0;x<f;x++){const y=d[x];if(y.validator(m))return y.classGroupId}},q4=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),s=t.slice(0,n);return s?W4+s:void 0})(),Z4=e=>{const{theme:t,classGroups:n}=e;return G4(n,t)},G4=(e,t)=>{const n=Cj();for(const s in e){const l=e[s];Ux(l,n,s,t)}return n},Ux=(e,t,n,s)=>{const l=e.length;for(let c=0;c<l;c++){const d=e[c];Y4(d,t,n,s)}},Y4=(e,t,n,s)=>{if(typeof e=="string"){K4(e,t,n);return}if(typeof e=="function"){J4(e,t,n,s);return}Q4(e,t,n,s)}
vendor: 6,989 bytes, line 205
205,K4=(e,t,n)=>{const s=e===""?t:Ej(t,e);s.classGroupId=n},J4=(e,t,n,s)=>{if(X4(e)){Ux(e(s),t,n,s);return}t.validators===null&&(t.validators=[]),t.validators.push($4(n,e))},Q4=(e,t,n,s)=>{const l=Object.entries(e),c=l.length;for(let d=0;d<c;d++){const[m,f]=l[d];Ux(f,Ej(t,m),n,s)}},Ej=(e,t)=>{let n=e;const s=t.split(rm),l=s.length;for(let c=0;c<l;c++){const d=s[c];let m=n.nextPart.get(d);m||(m=Cj(),n.nextPart.set(d,m)),n=m}return n},X4=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,eC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),s=Object.create(null);const l=(c,d)=>{n[c]=d,t++,t>e&&(t=0,s=n,n=Object.create(null))};return{get(c){let d=n[c];if(d!==void 0)return d;if((d=s[c])!==void 0)return l(c,d),d},set(c,d){c in n?n[c]=d:l(c,d)}}},Lg="!",sw=":",tC=[],rw=(e,t,n,s,l)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:s,isExternal:l}),nC=e=>{const{prefix:t,experimentalParseClassName:n}=e;let s=l=>{const c=[];let d=0,m=0,f=0,x;const y=l.length;for(let k=0;k<y;k++){const P=l[k];if(d===0&&m===0){if(P===sw){c.push(l.slice(f,k)),f=k+1;continue}if(P==="/"){x=k;continue}}P==="["?d++:P==="]"?d--:P==="("?m++:P===")"&&m--}const v=c.length===0?l:l.slice(f);let _=v,S=!1;v.endsWith(Lg)?(_=v.slice(0,-1),S=!0):v.startsWith(Lg)&&(_=v.slice(1),S=!0);const E=x&&x>f?x-f:void 0;return rw(c,S,_,E)};if(t){const l=t+sw,c=s;s=d=>d.startsWith(l)?c(d.slice(l.length)):rw(tC,!1,d,void 0,!0)}if(n){const l=s;s=c=>n({className:c,parseClassName:l})}return s},iC=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,s)=>{t.set(n,1e6+s)}),n=>{const s=[];let l=[];for(let c=0;c<n.length;c++){const d=n[c],m=d[0]==="[",f=t.has(d);m||f?(l.length>0&&(l.sort(),s.push(...l),l=[]),s.push(d)):l.push(d)}return l.length>0&&(l.sort(),s.push(...l)),s}},sC=e=>({cache:eC(e.cacheSize),parseClassName:nC(e),sortModifiers:iC(e),...H4(e)}),rC=/\s+/,aC=(e,t)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:l,sortModifiers:c}=t,d=[],m=e.trim().split(rC);let f="";for(let x=m.length-1;x>=0;x-=1){const y=m[x],{isExternal:v,modifiers:_,hasImportantModifier:S,baseClassName:E,maybePostfixModifierPosition:k}=n(y);if(v){f=y+(f.length>0?" "+f:f);continue}let P=!!k,T=s(P?E.substring(0,k):E);if(!T){if(!P){f=y+(f.length>0?" "+f:f);continue}if(T=s(E),!T){f=y+(f.length>0?" "+f:f);continue}P=!1}const A=_.length===0?"":_.length===1?_[0]:c(_).join(":"),I=S?A+Lg:A,D=I+T;if(d.indexOf(D)>-1)continue;d.push(D);const B=l(T,P);for(let G=0;G<B.length;++G){const K=B[G];d.push(I+K)}f=y+(f.length>0?" "+f:f)}return f},oC=(...e)=>{let t=0,n,s,l="";for(;t<e.length;)(n=e[t++])&&(s=Aj(n))&&(l&&(l+=" "),l+=s);return l},Aj=e=>{if(typeof e=="string")return e;let t,n="";for(let s=0;s<e.length;s++)e[s]&&(t=Aj(e[s]))&&(n&&(n+=" "),n+=t);return n},lC=(e,...t)=>{let n,s,l,c;const d=f=>{const x=t.reduce((y,v)=>v(y),e());return n=sC(x),s=n.cache.get,l=n.cache.set,c=m,m(f)},m=f=>{const x=s(f);if(x)return x;const y=aC(f,n);return l(f,y),y};return c=d,(...f)=>c(oC(...f))},cC=[],Jt=e=>{const t=n=>n[e]||cC;return t.isThemeGetter=!0,t},Rj=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Lj=/^\((?:(\w[\w-]*):)?(.+)\)$/i,uC=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,dC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,hC=/\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$/,mC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,fC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Or=e=>uC.test(e),Qe=e=>!!e&&!Number.isNaN(Number(e)),Dr=e=>!!e&&Number.isInteger(Number(e)),zp=e=>e.endsWith("%")&&Qe(e.slice(0,-1)),$s=e=>dC.test(e),Ij=()=>!0,gC=e=>hC.test(e)&&!mC.test(e),$x=()=>!1,xC=e=>fC.test(e),yC=e=>pC.test(e),vC=e=>!Pe(e)&&!Ee(e),wC=e=>la(e,Dj,$x),Pe=e=>Rj.test(e),Ua=e=>la(e,Fj,gC),aw=e=>la(e,CC,Qe),bC=e=>la(e,Vj,Ij),_C=e=>la(e,Bj,$x),ow=e=>la(e,Mj,$x),jC=e=>la(e,Oj,yC),Sh=e=>la(e,zj,xC),Ee=e=>Lj.test(e),Xc=e=>go(e,Fj),NC=e=>go(e,Bj),lw=e=>go(e,Mj),SC=e=>go(e,Dj),kC=e=>go(e,Oj),kh=e=>go(e,zj,!0),TC=e=>go(e,Vj,!0),la=(e,t,n)=>{const s=Rj.exec(e);return s?s[1]?t(s[1]):n(s[2]):!1},go=(e,t,n=!1)=>{const s=Lj.exec(e);return s?s[1]?t(s[1]):n:!1},Mj=e=>e==="position"||e==="percentage",Oj=e=>e==="image"||e==="url",Dj=e=>e==="length"||e==="size"||e==="bg-size",Fj=e=>e==="length",CC=e=>e==="number",Bj=e=>e==="family-name",Vj=e=>e==="number"||e==="weight",zj=e=>e==="shadow",PC=()=>{const e=Jt("color"),t=Jt("font"),n=Jt("text"),s=Jt("font-weight"),l=Jt("tracking"),c=Jt("leading"),d=Jt("breakpoint"),m=Jt("container"),f=Jt("spacing"),x=Jt("radius"),y=Jt("shadow"),v=Jt("inset-shadow"),_=Jt("text-shadow"),S=Jt("drop-shadow"),E=Jt("blur"),k=Jt("perspective"),P=Jt("aspect"),T=Jt("ease"),A=Jt("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...D(),Ee,Pe],G=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto","contain","none"],W=()=>[Ee,Pe,f],se=()=>[Or,"full","auto",...W()],de=()=>[Dr,"none","subgrid",Ee,Pe],fe=()=>["auto",{span:["full",Dr,Ee,Pe]},Dr,Ee,Pe],ve=()=>[Dr,"auto",Ee,Pe],Ae=()=>["auto","min","max","fr",Ee,Pe],xe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Oe=()=>["start","end","center","stretch","center-safe","end-safe"],le=()=>["auto",...W()],he=()=>[Or,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...W()],Y=()=>[Or,"screen","full","dvw","lvw","svw","min","max","fit",...W()],me=()=>[Or,"screen","full","lh","dvh","lvh","svh","min","max","fit",...W()],Z=()=>[e,Ee,Pe],z=()=>[...D(),lw,ow,{position:[Ee,Pe]}],ne=()=>["no-repeat",{repeat:["","x","y","space","round"]}],je=()=>["auto","cover","contain",SC,wC,{size:[Ee,Pe]}],ye=()=>[zp,Xc,Ua],ge=()=>["","none","full",x,Ee,Pe],ie=()=>["",Qe,Xc,Ua],ce=()=>["solid","dashed","dotted","double"],_e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ke=()=>[Qe,zp,lw,ow],We=()=>["","none",E,Ee,Pe],Ge=()=>["none",Qe,Ee,Pe],Be=()=>["none",Qe,Ee,Pe],dt=()=>[Qe,Ee,Pe],bt=()=>[Or,"full",...W()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$s],breakpoint:[$s],color:[Ij],container:[$s],"drop-shadow":[$s],ease:["in","out","in-out"],font:[vC],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$s],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$s],shadow:[$s],spacing:["px",Qe],text:[$s],"text-shadow":[$s],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Or,Pe,Ee,P]}
vendor: 6,147 bytes, line 205
205],container:["container"],columns:[{columns:[Qe,Pe,Ee,m]}],"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"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:B()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:K()}],"overscroll-x":[{"overscroll-x":K()}],"overscroll-y":[{"overscroll-y":K()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:se()}],"inset-x":[{"inset-x":se()}],"inset-y":[{"inset-y":se()}],start:[{"inset-s":se(),start:se()}],end:[{"inset-e":se(),end:se()}],"inset-bs":[{"inset-bs":se()}],"inset-be":[{"inset-be":se()}],top:[{top:se()}],right:[{right:se()}],bottom:[{bottom:se()}],left:[{left:se()}],visibility:["visible","invisible","collapse"],z:[{z:[Dr,"auto",Ee,Pe]}],basis:[{basis:[Or,"full","auto",m,...W()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Qe,Or,"auto","initial","none",Pe]}],grow:[{grow:["",Qe,Ee,Pe]}],shrink:[{shrink:["",Qe,Ee,Pe]}],order:[{order:[Dr,"first","last","none",Ee,Pe]}],"grid-cols":[{"grid-cols":de()}],"col-start-end":[{col:fe()}],"col-start":[{"col-start":ve()}],"col-end":[{"col-end":ve()}],"grid-rows":[{"grid-rows":de()}],"row-start-end":[{row:fe()}],"row-start":[{"row-start":ve()}],"row-end":[{"row-end":ve()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ae()}],"auto-rows":[{"auto-rows":Ae()}],gap:[{gap:W()}],"gap-x":[{"gap-x":W()}],"gap-y":[{"gap-y":W()}],"justify-content":[{justify:[...xe(),"normal"]}],"justify-items":[{"justify-items":[...Oe(),"normal"]}],"justify-self":[{"justify-self":["auto",...Oe()]}],"align-content":[{content:["normal",...xe()]}],"align-items":[{items:[...Oe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Oe(),{baseline:["","last"]}]}],"place-content":[{"place-content":xe()}],"place-items":[{"place-items":[...Oe(),"baseline"]}],"place-self":[{"place-self":["auto",...Oe()]}],p:[{p:W()}],px:[{px:W()}],py:[{py:W()}],ps:[{ps:W()}],pe:[{pe:W()}],pbs:[{pbs:W()}],pbe:[{pbe:W()}],pt:[{pt:W()}],pr:[{pr:W()}],pb:[{pb:W()}],pl:[{pl:W()}],m:[{m:le()}],mx:[{mx:le()}],my:[{my:le()}],ms:[{ms:le()}],me:[{me:le()}],mbs:[{mbs:le()}],mbe:[{mbe:le()}],mt:[{mt:le()}],mr:[{mr:le()}],mb:[{mb:le()}],ml:[{ml:le()}],"space-x":[{"space-x":W()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":W()}],"space-y-reverse":["space-y-reverse"],size:[{size:he()}],"inline-size":[{inline:["auto",...Y()]}],"min-inline-size":[{"min-inline":["auto",...Y()]}],"max-inline-size":[{"max-inline":["none",...Y()]}],"block-size":[{block:["auto",...me()]}],"min-block-size":[{"min-block":["auto",...me()]}],"max-block-size":[{"max-block":["none",...me()]}],w:[{w:[m,"screen",...he()]}],"min-w":[{"min-w":[m,"screen","none",...he()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[d]},...he()]}],h:[{h:["screen","lh",...he()]}],"min-h":[{"min-h":["screen","lh","none",...he()]}],"max-h":[{"max-h":["screen","lh",...he()]}],"font-size":[{text:["base",n,Xc,Ua]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,TC,bC]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",zp,Pe]}],"font-family":[{font:[NC,_C,t]}],"font-features":[{"font-features":[Pe]}],"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:[l,Ee,Pe]}],"line-clamp":[{"line-clamp":[Qe,"none",Ee,aw]}],leading:[{leading:[c,...W()]}],"list-image":[{"list-image":["none",Ee,Pe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ee,Pe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Z()}],"text-color":[{text:Z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[Qe,"from-font","auto",Ee,Ua]}],"text-decoration-color":[{decoration:Z()}],"underline-offset":[{"underline-offset":[Qe,"auto",Ee,Pe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:W()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ee,Pe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ee,Pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:z()}],"bg-repeat":[{bg:ne()}],"bg-size":[{bg:je()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Dr,Ee,Pe],radial:["",Ee,Pe],conic:[Dr,Ee,Pe]},kC,jC]}],"bg-color":[{bg:Z()}],"gradient-from-pos":[{from:ye()}
vendor: 7,404 bytes, line 205
205],"gradient-via-pos":[{via:ye()}],"gradient-to-pos":[{to:ye()}],"gradient-from":[{from:Z()}],"gradient-via":[{via:Z()}],"gradient-to":[{to:Z()}],rounded:[{rounded:ge()}],"rounded-s":[{"rounded-s":ge()}],"rounded-e":[{"rounded-e":ge()}],"rounded-t":[{"rounded-t":ge()}],"rounded-r":[{"rounded-r":ge()}],"rounded-b":[{"rounded-b":ge()}],"rounded-l":[{"rounded-l":ge()}],"rounded-ss":[{"rounded-ss":ge()}],"rounded-se":[{"rounded-se":ge()}],"rounded-ee":[{"rounded-ee":ge()}],"rounded-es":[{"rounded-es":ge()}],"rounded-tl":[{"rounded-tl":ge()}],"rounded-tr":[{"rounded-tr":ge()}],"rounded-br":[{"rounded-br":ge()}],"rounded-bl":[{"rounded-bl":ge()}],"border-w":[{border:ie()}],"border-w-x":[{"border-x":ie()}],"border-w-y":[{"border-y":ie()}],"border-w-s":[{"border-s":ie()}],"border-w-e":[{"border-e":ie()}],"border-w-bs":[{"border-bs":ie()}],"border-w-be":[{"border-be":ie()}],"border-w-t":[{"border-t":ie()}],"border-w-r":[{"border-r":ie()}],"border-w-b":[{"border-b":ie()}],"border-w-l":[{"border-l":ie()}],"divide-x":[{"divide-x":ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ce(),"hidden","none"]}],"divide-style":[{divide:[...ce(),"hidden","none"]}],"border-color":[{border:Z()}],"border-color-x":[{"border-x":Z()}],"border-color-y":[{"border-y":Z()}],"border-color-s":[{"border-s":Z()}],"border-color-e":[{"border-e":Z()}],"border-color-bs":[{"border-bs":Z()}],"border-color-be":[{"border-be":Z()}],"border-color-t":[{"border-t":Z()}],"border-color-r":[{"border-r":Z()}],"border-color-b":[{"border-b":Z()}],"border-color-l":[{"border-l":Z()}],"divide-color":[{divide:Z()}],"outline-style":[{outline:[...ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Qe,Ee,Pe]}],"outline-w":[{outline:["",Qe,Xc,Ua]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",y,kh,Sh]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",v,kh,Sh]}],"inset-shadow-color":[{"inset-shadow":Z()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Z()}],"ring-offset-w":[{"ring-offset":[Qe,Ua]}],"ring-offset-color":[{"ring-offset":Z()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":Z()}],"text-shadow":[{"text-shadow":["none",_,kh,Sh]}],"text-shadow-color":[{"text-shadow":Z()}],opacity:[{opacity:[Qe,Ee,Pe]}],"mix-blend":[{"mix-blend":[..._e(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":_e()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Qe]}],"mask-image-linear-from-pos":[{"mask-linear-from":ke()}],"mask-image-linear-to-pos":[{"mask-linear-to":ke()}],"mask-image-linear-from-color":[{"mask-linear-from":Z()}],"mask-image-linear-to-color":[{"mask-linear-to":Z()}],"mask-image-t-from-pos":[{"mask-t-from":ke()}],"mask-image-t-to-pos":[{"mask-t-to":ke()}],"mask-image-t-from-color":[{"mask-t-from":Z()}],"mask-image-t-to-color":[{"mask-t-to":Z()}],"mask-image-r-from-pos":[{"mask-r-from":ke()}],"mask-image-r-to-pos":[{"mask-r-to":ke()}],"mask-image-r-from-color":[{"mask-r-from":Z()}],"mask-image-r-to-color":[{"mask-r-to":Z()}],"mask-image-b-from-pos":[{"mask-b-from":ke()}],"mask-image-b-to-pos":[{"mask-b-to":ke()}],"mask-image-b-from-color":[{"mask-b-from":Z()}],"mask-image-b-to-color":[{"mask-b-to":Z()}],"mask-image-l-from-pos":[{"mask-l-from":ke()}],"mask-image-l-to-pos":[{"mask-l-to":ke()}],"mask-image-l-from-color":[{"mask-l-from":Z()}],"mask-image-l-to-color":[{"mask-l-to":Z()}],"mask-image-x-from-pos":[{"mask-x-from":ke()}],"mask-image-x-to-pos":[{"mask-x-to":ke()}],"mask-image-x-from-color":[{"mask-x-from":Z()}],"mask-image-x-to-color":[{"mask-x-to":Z()}],"mask-image-y-from-pos":[{"mask-y-from":ke()}],"mask-image-y-to-pos":[{"mask-y-to":ke()}],"mask-image-y-from-color":[{"mask-y-from":Z()}],"mask-image-y-to-color":[{"mask-y-to":Z()}],"mask-image-radial":[{"mask-radial":[Ee,Pe]}],"mask-image-radial-from-pos":[{"mask-radial-from":ke()}],"mask-image-radial-to-pos":[{"mask-radial-to":ke()}],"mask-image-radial-from-color":[{"mask-radial-from":Z()}],"mask-image-radial-to-color":[{"mask-radial-to":Z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":D()}],"mask-image-conic-pos":[{"mask-conic":[Qe]}],"mask-image-conic-from-pos":[{"mask-conic-from":ke()}],"mask-image-conic-to-pos":[{"mask-conic-to":ke()}],"mask-image-conic-from-color":[{"mask-conic-from":Z()}],"mask-image-conic-to-color":[{"mask-conic-to":Z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:z()}],"mask-repeat":[{mask:ne()}],"mask-size":[{mask:je()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ee,Pe]}],filter:[{filter:["","none",Ee,Pe]}],blur:[{blur:We()}],brightness:[{brightness:[Qe,Ee,Pe]}],contrast:[{contrast:[Qe,Ee,Pe]}],"drop-shadow":[{"drop-shadow":["","none",S,kh,Sh]}],"drop-shadow-color":[{"drop-shadow":Z()}],grayscale:[{grayscale:["",Qe,Ee,Pe]}],"hue-rotate":[{"hue-rotate":[Qe,Ee,Pe]}],invert:[{invert:["",Qe,Ee,Pe]}],saturate:[{saturate:[Qe,Ee,Pe]}],sepia:[{sepia:["",Qe,Ee,Pe]}],"backdrop-filter":[{"backdrop-filter":["","none",Ee,Pe]}],"backdrop-blur":[{"backdrop-blur":We()}],"backdrop-brightness":[{"backdrop-brightness":[Qe,Ee,Pe]}],"backdrop-contrast":[{"backdrop-contrast":[Qe,Ee,Pe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Qe,Ee,Pe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Qe,Ee,Pe]}],"backdrop-invert":[{"backdrop-invert":["",Qe,Ee,Pe]}],"backdrop-opacity":[{"backdrop-opacity":[Qe,Ee,Pe]}],"backdrop-saturate":[{"backdrop-saturate":[Qe,Ee,Pe]}],"backdrop-sepia":[{"backdrop-sepia":["",Qe,Ee,Pe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":W()}],"border-spacing-x":[{"border-spacing-x":W()}],"border-spacing-y":[{"border-spacing-y":W()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ee,Pe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Qe,"initial",Ee,Pe]}],ease:[{ease:["linear","initial",T,Ee,Pe]}],delay:[{delay:[Qe,Ee,Pe]}],animate:[{animate:["none",A,Ee,Pe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,Ee,Pe]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:Ge()}],"rotate-x":[{"rotate-x":Ge()}],"rotate-y":[{"rotate-y":Ge()}],"rotate-z":[{"rotate-z":Ge()}],scale:[{scale:Be()}],"scale-x":[{"scale-x":Be()}],"scale-y":[{"scale-y":Be()}],"scale-z":[{"scale-z":Be()}],"scale-3d":["scale-3d"],skew:[{skew:dt()}],"skew-x":[{"skew-x":dt()}],"skew-y":[{"skew-y":dt()}],transform:[{transform:[Ee,Pe,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:bt()}],"translate-x":[{"translate-x":bt()}],"translate-y":[{"translate-y":bt()}],"translate-z":[{"translate-z":bt()}],"translate-none":["translate-none"],accent:[{accent:Z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Z()}
vendor: 6,955 bytes, line 205
205],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ee,Pe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":W()}],"scroll-mx":[{"scroll-mx":W()}],"scroll-my":[{"scroll-my":W()}],"scroll-ms":[{"scroll-ms":W()}],"scroll-me":[{"scroll-me":W()}],"scroll-mbs":[{"scroll-mbs":W()}],"scroll-mbe":[{"scroll-mbe":W()}],"scroll-mt":[{"scroll-mt":W()}],"scroll-mr":[{"scroll-mr":W()}],"scroll-mb":[{"scroll-mb":W()}],"scroll-ml":[{"scroll-ml":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-pe":[{"scroll-pe":W()}],"scroll-pbs":[{"scroll-pbs":W()}],"scroll-pbe":[{"scroll-pbe":W()}],"scroll-pt":[{"scroll-pt":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-pl":[{"scroll-pl":W()}],"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",Ee,Pe]}],fill:[{fill:["none",...Z()]}],"stroke-w":[{stroke:[Qe,Xc,Ua,aw]}],stroke:[{stroke:["none",...Z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},EC=lC(PC);function Dt(...e){return EC(jj(e))}const Uj=N.forwardRef(({...e},t)=>i.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...e}));Uj.displayName="ToastProvider";const $j=N.forwardRef(({...e},t)=>i.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...e}));$j.displayName="ToastViewport";const AC=Vx("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"}}),Wj=N.forwardRef(({className:e,variant:t,...n},s)=>i.jsx("div",{ref:s,className:Dt(AC({variant:t}),e),...n}));Wj.displayName="Toast";const RC=N.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:Dt("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));RC.displayName="ToastAction";const Hj=N.forwardRef(({className:e,...t},n)=>i.jsx("button",{ref:n,className:Dt("absolute right-2 top-2 rounded-md p-1 text-foreground
205/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:i.jsx(er,{className:"h-4 w-4"})}));Hj.displayName="ToastClose";const qj=N.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:Dt("text-sm font-semibold",e),...t}));qj.displayName="ToastTitle";const Zj=N.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:Dt("text-sm opacity-90",e),...t}));Zj.displayName="ToastDescription";function LC(){const{toasts:e}=JT();return i.jsxs(Uj,{children:[e.map(function({id:t,title:n,description:s,action:l,...c}){return i.jsxs(Wj,{...c,children:[i.jsxs("div",{className:"grid gap-1",children:[n&&i.jsx(qj,{children:n}),s&&i.jsx(Zj,{children:s})]}),l,i.jsx(Hj,{})]},t)}),i.jsx($j,{})]})}var Bu=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(){}},IC={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Ur,Fx,uj,MC=(uj=class{constructor(){Ue(this,Ur,IC);Ue(this,Fx,!1)}setTimeoutProvider(e){Se(this,Ur,e)}setTimeout(e,t){return $(this,Ur).setTimeout(e,t)}clearTimeout(e){$(this,Ur).clearTimeout(e)}setInterval(e,t){return $(this,Ur).setInterval(e,t)}clearInterval(e){$(this,Ur).clearInterval(e)}},Ur=new WeakMap,Fx=new WeakMap,uj),Ga=new MC;function OC(e){setTimeout(e,0)}var lo=typeof window>"u"||"Deno"in globalThis;function Un(){}function DC(e,t){return typeof e=="function"?e(t):e}function Ig(e){return typeof e=="number"&&e>=0&&e!==1/0}function Gj(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Qr(e,t){return typeof e=="function"?e(t):e}function Ni(e,t){return typeof e=="function"?e(t):e}function cw(e,t){const{type:n="all",exact:s,fetchStatus:l,predicate:c,queryKey:d,stale:m}=e;if(d){if(s){if(t.queryHash!==Wx(d,t.options))return!1}else if(!_u(t.queryKey,d))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof m=="boolean"&&t.isStale()!==m||l&&l!==t.state.fetchStatus||c&&!c(t))}function uw(e,t){const{exact:n,status:s,predicate:l,mutationKey:c}=e;if(c){if(!t.options.mutationKey)return!1;if(n){if(bu(t.options.mutationKey)!==bu(c))return!1}else if(!_u(t.options.mutationKey,c))return!1}return!(s&&t.state.status!==s||l&&!l(t))}function Wx(e,t){return((t==null?void 0:t.queryKeyHashFn)||bu)(e)}function bu(e){return JSON.stringify(e,(t,n)=>Og(n)?Object.keys(n).sort().reduce((s,l)=>(s[l]=n[l],s),{}):n)}function _u(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>_u(e[n],t[n])):!1}var FC=Object.prototype.hasOwnProperty;function Yj(e,t,n=0){if(e===t)return e;if(n>500)return t;const s=dw(e)&&dw(t);if(!s&&!(Og(e)&&Og(t)))return t;const c=(s?e:Object.keys(e)).length,d=s?t:Object.keys(t),m=d.length,f=s?new Array(m):{};let x=0;for(let y=0;y<m;y++){const v=s?y:d[y],_=e[v],S=t[v];if(_===S){f[v]=_,(s?y<c:FC.call(e,v))&&x++;continue}if(_===null||S===null||typeof _!="object"||typeof S!="object"){f[v]=S;continue}const E=Yj(_,S,n+1);f[v]=E,E===_&&x++}return c===m&&x===c?e:f}function Mg(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function dw(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Og(e){if(!hw(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!hw(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function hw(e){return Object.prototype.toString.call(e)==="[object Object]"}function BC(e){return new Promise(t=>{Ga.setTimeout(t,e)})}function Dg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Yj(e,t):t}function VC(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function zC(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var Hx=Symbol();function Kj(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Hx?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Jj(e,t){return typeof e=="function"?e(...t):!!e}function UC(e,t,n){let s=!1,l;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(l??(l=t()),s||(s=!0,l.aborted?n():l.addEventListener("abort",n,{once:!0})),l)}),e}var Ja,$r,Tl,dj,$C=(dj=class extends Bu{constructor(){super();Ue(this,Ja);Ue(this,$r);Ue(this,Tl);Se(this,Tl,t=>{if(!lo&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){$(this,$r)||this.setEventListener($(this,Tl))}onUnsubscribe(){var t;this.hasListeners()||((t=$(this,$r))==null||t.call(this),Se(this,$r,void 0))}setEventListener(t){var n;Se(this,Tl,t),(n=$(this,$r))==null||n.call(this),Se(this,$r,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){$(this,Ja)!==t&&(Se(this,Ja,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 2,453 bytes, line 205
205this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof $(this,Ja)=="boolean"?$(this,Ja):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Ja=new WeakMap,$r=new WeakMap,Tl=new WeakMap,dj),qx=new $C;function Fg(){let e,t;const n=new Promise((l,c)=>{e=l,t=c});n.status="pending",n.catch(()=>{});function s(l){Object.assign(n,l),delete n.resolve,delete n.reject}return n.resolve=l=>{s({status:"fulfilled",value:l}),e(l)},n.reject=l=>{s({status:"rejected",reason:l}),t(l)},n}var WC=OC;function HC(){let e=[],t=0,n=m=>{m()},s=m=>{m()},l=WC;const c=m=>{t?e.push(m):l(()=>{n(m)})},d=()=>{const m=e;e=[],m.length&&l(()=>{s(()=>{m.forEach(f=>{n(f)})})})};return{batch:m=>{let f;t++;try{f=m()}finally{t--,t||d()}return f},batchCalls:m=>(...f)=>{c(()=>{m(...f)})},schedule:c,setNotifyFunction:m=>{n=m},setBatchNotifyFunction:m=>{s=m},setScheduler:m=>{l=m}}}var un=HC(),Cl,Wr,Pl,hj,qC=(hj=class extends Bu{constructor(){super();Ue(this,Cl,!0);Ue(this,Wr);Ue(this,Pl);Se(this,Pl,t=>{if(!lo&&window.addEventListener){const n=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",s)}}})}onSubscribe(){$(this,Wr)||this.setEventListener($(this,Pl))}onUnsubscribe(){var t;this.hasListeners()||((t=$(this,Wr))==null||t.call(this),Se(this,Wr,void 0))}setEventListener(t){var n;Se(this,Pl,t),(n=$(this,Wr))==null||n.call(this),Se(this,Wr,t(this.setOnline.bind(this)))}setOnline(t){$(this,Cl)!==t&&(Se(this,Cl,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return $(this,Cl)}},Cl=new WeakMap,Wr=new WeakMap,Pl=new WeakMap,hj),am=new qC;function ZC(e){return Math.min(1e3*2**e,3e4)}function Qj(e){return(e??"online")==="online"?am.isOnline():!0}var Bg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Xj(e){let t=!1,n=0,s;const l=Fg(),c=()=>l.status!=="pending",d=k=>{var P;if(!c()){const T=new Bg(k);_(T),(P=e.onCancel)==null||P.call(e,T)}},m=()=>{t=!0},f=()=>{t=!1},x=()=>qx.isFocused()&&(e.networkMode==="always"||am.isOnline())&&e.canRun(),y=()=>Qj(e.networkMode)&&e.canRun(),v=k=>{c()||(s==null||s(),l.resolve(k))},_=k=>{c()||(s==null||s(),l.reject(k))},S=()=>new Promise(k=>{var P;s=T=>{(c()||x())&&k(T)},(P=e.onPause)==null||P.call(e)}).then(()=>{var k;s=void 0,c()||(k=e.onContinue)==null||k.call(e)}),E=()=>
vendor: 4,359 bytes, line 205
205{if(c())return;let k;const P=n===0?e.initialPromise:void 0;try{k=P??e.fn()}catch(T){k=Promise.reject(T)}Promise.resolve(k).then(v).catch(T=>{var G;if(c())return;const A=e.retry??(lo?0:3),I=e.retryDelay??ZC,D=typeof I=="function"?I(n,T):I,B=A===!0||typeof A=="number"&&n<A||typeof A=="function"&&A(n,T);if(t||!B){_(T);return}n++,(G=e.onFail)==null||G.call(e,n,T),BC(D).then(()=>x()?void 0:S()).then(()=>{t?_(T):E()})})};return{promise:l,status:()=>l.status,cancel:d,continue:()=>(s==null||s(),l),cancelRetry:m,continueRetry:f,canStart:y,start:()=>(y()?E():S().then(E),l)}}var Qa,mj,e1=(mj=class{constructor(){Ue(this,Qa)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ig(this.gcTime)&&Se(this,Qa,Ga.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(lo?1/0:300*1e3))}clearGcTimeout(){$(this,Qa)&&(Ga.clearTimeout($(this,Qa)),Se(this,Qa,void 0))}},Qa=new WeakMap,mj),Xa,El,ji,eo,rn,Ru,to,Vi,Hs,fj,GC=(fj=class extends e1{constructor(t){super();Ue(this,Vi);Ue(this,Xa);Ue(this,El);Ue(this,ji);Ue(this,eo);Ue(this,rn);Ue(this,Ru);Ue(this,to);Se(this,to,!1),Se(this,Ru,t.defaultOptions),this.setOptions(t.options),this.observers=[],Se(this,eo,t.client),Se(this,ji,$(this,eo).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Se(this,Xa,fw(this.options)),this.state=t.state??$(this,Xa),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=$(this,rn))==null?void 0:t.promise}setOptions(t){if(this.options={...$(this,Ru),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=fw(this.options);n.data!==void 0&&(this.setState(mw(n.data,n.dataUpdatedAt)),Se(this,Xa,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&$(this,ji).remove(this)}setData(t,n){const s=Dg(this.state.data,t,this.options);return it(this,Vi,Hs).call(this,{data:s,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),s}setState(t,n){it(this,Vi,Hs).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var s,l;const n=(s=$(this,rn))==null?void 0:s.promise;return(l=$(this,rn))==null||l.cancel(t),n?n.then(Un).catch(Un):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState($(this,Xa))}isActive(){return this.observers.some(t=>Ni(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Hx||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Qr(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:!Gj(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=$(this,rn))==null||n.continue()}onOnline(){var n;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=$(this,rn))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),$(this,ji).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||($(this,rn)&&($(this,to)?$(this,rn).cancel({revert:!0}):$(this,rn).cancelRetry()),this.scheduleGc()),$(this,ji).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||it(this,Vi,Hs).call(this,{type:"invalidate"})}async fetch(t,n){var f,x,y,v,_,S,E,k,P,T,A,I;if(this.state.fetchStatus!=="idle"&&((f=$(this,rn))==null?void 0:f.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if($(this,rn))return $(this,rn).continueRetry(),$(this,rn).promise}if(t&&this.setOptions(t),!this.options.queryFn){const D=this.observers.find(B=>B.options.queryFn);D&&this.setOptions(D.options)}const s=new AbortController,l=D=>{Object.defineProperty(D,"signal",{enumerable:!0,get:()=>(Se(this,to,!0),s.signal)}
205)},c=()=>{const D=Kj(this.options,n),G=(()=>{const K={client:$(this,eo),queryKey:this.queryKey,meta:this.meta};return l(K),K})();return Se(this,to,!1),this.options.persister?this.options.persister(D,G,this):D(G)},m=(()=>{const D={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:$(this,eo),state:this.state,fetchFn:c};return l(D),D})();(x=this.options.behavior)==null||x.onFetch(m,this),Se(this,El,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((y=m.fetchOptions)==null?void 0:y.meta))&&it(this,Vi,Hs).call(this,{type:"fetch",meta:(v=m.fetchOptions)==null?void 0:v.meta}),Se(this,rn,Xj({initialPromise:n==null?void 0:n.initialPromise,fn:m.fetchFn,onCancel:D=>{D instanceof Bg&&D.revert&&this.setState({...$(this,El),fetchStatus:"idle"}),s.abort()},onFail:(D,B)=>{it(this,Vi,Hs).call(this,{type:"failed",failureCount:D,error:B})},onPause:()=>{it(this,Vi,Hs).call(this,{type:"pause"})},onContinue:()=>{it(this,Vi,Hs).call(this,{type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay,networkMode:m.options.networkMode,canRun:()=>!0}));try{const D=await $(this,rn).start();if(D===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(D),(S=(_=$(this,ji).config).onSuccess)==null||S.call(_,D,this),(k=(E=$(this,ji).config).onSettled)==null||k.call(E,D,this.state.error,this),D}catch(D){if(D instanceof Bg){if(D.silent)return $(this,rn).promise;if(D.revert){if(this.state.data===void 0)throw D;return this.state.data}}throw it(this,Vi,Hs).call(this,{type:"error",error:D}),(T=(P=$(this,ji).config).onError)==null||T.call(P,D,this),(I=(A=$(this,ji).config).onSettled)==null||I.call(A,this.state.data,D,this),D}finally{this.scheduleGc()}}},Xa=new WeakMap,El=new WeakMap,ji=new WeakMap,eo=new WeakMap,rn=new WeakMap,Ru=new WeakMap,to=new WeakMap,Vi=new WeakSet,Hs=function(t){const n=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...t1(s.data,this.options),fetchMeta:t.meta??null};case"success":const l={...s,...mw(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return Se(this,El,t.manual?l:void 0),l;case"error":const c=t.error;return{...s,error:c,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=n(this.state),un.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),$(this,ji).notify({query:this,type:"updated",action:t})})},fj);function t1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Qj(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function mw(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function fw(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,s=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var zn,st,Lu,An,no,Al,qs,Hr,Iu,Rl,Ll,io,so,qr,Il,ut,ru,Vg,zg,Ug,$g,Wg,Hg,qg,n1,pj,YC=(pj=class extends Bu{constructor(t,n){super();Ue(this,ut);Ue(this,zn);Ue(this,st);Ue(this,Lu);Ue(this,An);Ue(this,no);Ue(this,Al);Ue(this,qs);Ue(this,Hr);Ue(this,Iu);Ue(this,Rl);Ue(this,Ll);Ue(this,io);Ue(this,so);Ue(this,qr);Ue(this,Il,new Set);this.options=n,Se(this,zn,t),Se(this,Hr,null),Se(this,qs,Fg()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&($(this,st).addObserver(this),pw($(this,st),this.options)?it(this,ut,ru).call(this):this.updateResult(),it(this,ut,$g).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Zg($(this,st),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Zg($(this,st),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,it(this,ut,Wg).call(this),it(this,ut,Hg).call(this),$(this,st).removeObserver(this)}setOptions(t){const n=this.options,s=$(this,st);if(this.options=$(this,zn).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Ni(this.options.enabled,$(this,st))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");it(this,ut,qg).call(this),$(this,st).setOptions(this.options),n._defaulted&&!Mg(this.options,n)&&$(this,zn).getQueryCache().notify({type:"observerOptionsUpdated",query:$(this,st),observer:this});const l=this.hasListeners();l&&gw($(this,st),s,this.options,n)&&it(this,ut,ru).call(this),this.updateResult(),l&&($(this,st)!==s||Ni(this.options.enabled,$(this,st))!==Ni(n.enabled,$(this,st))||Qr(this.options.staleTime,$(this,st))!==Qr(n.staleTime,$(this,st)))&&it(this,ut,Vg).call(this);const c=it(this,ut,zg).call(this);l&&($(this,st)!==s||Ni(this.options.enabled,$(this,st))!==Ni(n.enabled,$(this,st))||c!==$(this,qr))&&it(this,ut,Ug).call(this,c)}getOptimisticResult(t){const n=$(this,zn).getQueryCache().build($(this,zn),t),s=this.createResult(n,t);return JC(this,s)&&(Se(this,An,s),Se(this,Al,this.options),Se(this,no,$(this,st).state)),s}getCurrentResult(){return $(this,An)}trackResult(t,n){return new Proxy(t,{get:(s,l)=>(this.trackProp(l),n==null||n(l),l==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&$(this,qs).status==="pending"&&$(this,qs).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,l))})}trackProp(t){$(this,Il).add(t)}getCurrentQuery(){return $(this,st)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=$(this,zn).defaultQueryOptions(t),s=$(this,zn).getQueryCache().build($(this,zn),n);return s.fetch().then(()=>this.createResult(s,n))}fetch(t){return it(this,ut,ru).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),$(this,An)))}createResult(t,n){var se;const s=$(this,st),l=this.options,c=$(this,An),d=$(this,no),m=$(this,Al),x=t!==s?t.state:$(this,Lu),{state:y}=t;let v={...y},_=!1,S;if(n._optimisticResults){const de=this.hasListeners(),fe=!de&&pw(t,n),ve=de&&gw(t,s,n,l);(fe||ve)&&(v={...v,...t1(y.data,t.options)}),n._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:E,errorUpdatedAt:k,status:P}=v;S=v.data;let T=!1;if(n.placeholderData!==void 0&&S===void 0&&P==="pending"){let de;c!=null&&c.isPlaceholderData&&n.placeholderData===(m==null?void 0:m.placeholderData)?(de=c.data,T=!0):de=typeof n.placeholderData=="function"?n.placeholderData((se=$(this,Ll))==null?void 0:se.state.data,$(this,Ll)):n.placeholderData,de!==void 0&&(P="success",S=Dg(c==null?void 0:c.data,de,n),_=!0)}if(n.select&&S!==void 0&&!T)if(c&&S===(d==null?void 0:d.data)&&n.select===$(this,Iu))S=$(this,Rl);else try{Se(this,Iu,n.select),S=n.select(S),S=Dg(c==null?void 0:c.data,S,n),Se(this,Rl,S),Se(this,Hr,null)}catch(de){Se(this,Hr,de)}$(this,Hr)&&(E=$(this,Hr),S=$(this,Rl),k=Date.now(),P="error");const A=v.fetchStatus==="fetching",I=P==="pending",D=P==="error",B=I&&A,G=S!==void 0,W={status:P,fetchStatus:v.fetchStatus,isPending:I,isSuccess:P==="success",isError:D,isInitialLoading:B,isLoading:B,data:S,dataUpdatedAt:v.dataUpdatedAt,error:E,errorUpdatedAt:k,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdate
vendor: 4,137 bytes, line 205
205Count:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>x.dataUpdateCount||v.errorUpdateCount>x.errorUpdateCount,isFetching:A,isRefetching:A&&!I,isLoadingError:D&&!G,isPaused:v.fetchStatus==="paused",isPlaceholderData:_,isRefetchError:D&&G,isStale:Zx(t,n),refetch:this.refetch,promise:$(this,qs),isEnabled:Ni(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const de=W.data!==void 0,fe=W.status==="error"&&!de,ve=Oe=>{fe?Oe.reject(W.error):de&&Oe.resolve(W.data)},Ae=()=>{const Oe=Se(this,qs,W.promise=Fg());ve(Oe)},xe=$(this,qs);switch(xe.status){case"pending":t.queryHash===s.queryHash&&ve(xe);break;case"fulfilled":(fe||W.data!==xe.value)&&Ae();break;case"rejected":(!fe||W.error!==xe.reason)&&Ae();break}}return W}updateResult(){const t=$(this,An),n=this.createResult($(this,st),this.options);if(Se(this,no,$(this,st).state),Se(this,Al,this.options),$(this,no).data!==void 0&&Se(this,Ll,$(this,st)),Mg(n,t))return;Se(this,An,n);const s=()=>{if(!t)return!0;const{notifyOnChangeProps:l}=this.options,c=typeof l=="function"?l():l;if(c==="all"||!c&&!$(this,Il).size)return!0;const d=new Set(c??$(this,Il));return this.options.throwOnError&&d.add("error"),Object.keys($(this,An)).some(m=>{const f=m;return $(this,An)[f]!==t[f]&&d.has(f)})};it(this,ut,n1).call(this,{listeners:s()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&it(this,ut,$g).call(this)}},zn=new WeakMap,st=new WeakMap,Lu=new WeakMap,An=new WeakMap,no=new WeakMap,Al=new WeakMap,qs=new WeakMap,Hr=new WeakMap,Iu=new WeakMap,Rl=new WeakMap,Ll=new WeakMap,io=new WeakMap,so=new WeakMap,qr=new WeakMap,Il=new WeakMap,ut=new WeakSet,ru=function(t){it(this,ut,qg).call(this);let n=$(this,st).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Un)),n},Vg=function(){it(this,ut,Wg).call(this);const t=Qr(this.options.staleTime,$(this,st));if(lo||$(this,An).isStale||!Ig(t))return;const s=Gj($(this,An).dataUpdatedAt,t)+1;Se(this,io,Ga.setTimeout(()=>{$(this,An).isStale||this.updateResult()},s))},zg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval($(this,st)):this.options.refetchInterval)??!1},Ug=function(t){it(this,ut,Hg).call(this),Se(this,qr,t),!(lo||Ni(this.options.enabled,$(this,st))===!1||!Ig($(this,qr))||$(this,qr)===0)&&Se(this,so,Ga.setInterval(()=>{(this.options.refetchIntervalInBackground||qx.isFocused())&&it(this,ut,ru).call(this)},$(this,qr)))},$g=function(){it(this,ut,Vg).call(this),it(this,ut,Ug).call(this,it(this,ut,zg).call(this))},Wg=function(){$(this,io)&&(Ga.clearTimeout($(this,io)),Se(this,io,void 0))},Hg=function(){$(this,so)&&(Ga.clearInterval($(this,so)),Se(this,so,void 0))},qg=function(){const t=$(this,zn).getQueryCache().build($(this,zn),this.options);if(t===$(this,st))return;const n=$(this,st);Se(this,st,t),Se(this,Lu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},n1=function(t){un.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n($(this,An))}),$(this,zn).getQueryCache().notify({query:$(this,st),type:"observerResultsUpdated"})})},pj);function KC(e,t){return Ni(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function pw(e,t){return KC(e,t)||e.state.data!==void 0&&Zg(e,t,t.refetchOnMount)}function Zg(e,t,n){if(Ni(t.enabled,e)!==!1&&Qr(t.staleTime,e)!=="static"){const s=typeof n=="function"?n(e):n;return s==="always"||s!==!1&&Zx(e,t)}return!1}function gw(e,t,n,s){return(e!==t||Ni(s.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Zx(e,n)}function Zx(e,t){return Ni(t.enabled,e)!==!1&&e.isStaleByTime(Qr(t.staleTime,e))}function JC(e,t){return!Mg(e.getCurrentResult(),t)}function xw(e){return{onFetch:(t,n)=>{var y,v,_,S,E;const s=t.options,l=(_=(v=(y=t.fetchOptions)==null?void 0:y.meta)==null?void 0:v.fetchMore)==null?void 0:_.direction,c=((S=t.state.data)==null?void 0:S.pages)||[],d=((E=t.state.data)==null?void 0:E.pageParams)||[];let m={pages:[],pageParams:[]},f=0;const x=async()=>{let k=!1;const P=I=>{UC(I,()=>t.signal,()=>k=!0)},T=Kj(t.options,t.fetchOptions),A=async(I,D,B)=>
vendor: 4,311 bytes, line 205
205{if(k)return Promise.reject();if(D==null&&I.pages.length)return Promise.resolve(I);const K=(()=>{const fe={client:t.client,queryKey:t.queryKey,pageParam:D,direction:B?"backward":"forward",meta:t.options.meta};return P(fe),fe})(),W=await T(K),{maxPages:se}=t.options,de=B?zC:VC;return{pages:de(I.pages,W,se),pageParams:de(I.pageParams,D,se)}};if(l&&c.length){const I=l==="backward",D=I?QC:yw,B={pages:c,pageParams:d},G=D(s,B);m=await A(B,G,I)}else{const I=e??c.length;do{const D=f===0?d[0]??s.initialPageParam:yw(s,m);if(f>0&&D==null)break;m=await A(m,D),f++}while(f<I)}return m};t.options.persister?t.fetchFn=()=>{var k,P;return(P=(k=t.options).persister)==null?void 0:P.call(k,x,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=x}}}function yw(e,{pages:t,pageParams:n}){const s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,n[s],n):void 0}function QC(e,{pages:t,pageParams:n}){var s;return t.length>0?(s=e.getPreviousPageParam)==null?void 0:s.call(e,t[0],t,n[0],n):void 0}var Mu,os,_n,ro,ls,Fr,gj,XC=(gj=class extends e1{constructor(t){super();Ue(this,ls);Ue(this,Mu);Ue(this,os);Ue(this,_n);Ue(this,ro);Se(this,Mu,t.client),this.mutationId=t.mutationId,Se(this,_n,t.mutationCache),Se(this,os,[]),this.state=t.state||eP(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){$(this,os).includes(t)||($(this,os).push(t),this.clearGcTimeout(),$(this,_n).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Se(this,os,$(this,os).filter(n=>n!==t)),this.scheduleGc(),$(this,_n).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){$(this,os).length||(this.state.status==="pending"?this.scheduleGc():$(this,_n).remove(this))}continue(){var t;return((t=$(this,ro))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var d,m,f,x,y,v,_,S,E,k,P,T,A,I,D,B,G,K;const n=()=>{it(this,ls,Fr).call(this,{type:"continue"})},s={client:$(this,Mu),meta:this.options.meta,mutationKey:this.options.mutationKey};Se(this,ro,Xj({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(W,se)=>{it(this,ls,Fr).call(this,{type:"failed",failureCount:W,error:se})},onPause:()=>{it(this,ls,Fr).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>$(this,_n).canRun(this)}));const l=this.state.status==="pending",c=!$(this,ro).canStart();try{if(l)n();else{it(this,ls,Fr).call(this,{type:"pending",variables:t,isPaused:c}),$(this,_n).config.onMutate&&await $(this,_n).config.onMutate(t,this,s);const se=await((m=(d=this.options).onMutate)==null?void 0:m.call(d,t,s));se!==this.state.context&&it(this,ls,Fr).call(this,{type:"pending",context:se,variables:t,isPaused:c})}const W=await $(this,ro).start();return await((x=(f=$(this,_n).config).onSuccess)==null?void 0:x.call(f,W,t,this.state.context,this,s)),await((v=(y=this.options).onSuccess)==null?void 0:v.call(y,W,t,this.state.context,s)),await((S=(_=$(this,_n).config).onSettled)==null?void 0:S.call(_,W,null,this.state.variables,this.state.context,this,s)),await((k=(E=this.options).onSettled)==null?void 0:k.call(E,W,null,t,this.state.context,s)),it(this,ls,Fr).call(this,{type:"success",data:W}),W}catch(W){try{await((T=(P=$(this,_n).config).onError)==null?void 0:T.call(P,W,t,this.state.context,this,s))}catch(se){Promise.reject(se)}try{await((I=(A=this.options).onError)==null?void 0:I.call(A,W,t,this.state.context,s))}catch(se){Promise.reject(se)}try{await((B=(D=$(this,_n).config).onSettled)==null?void 0:B.call(D,void 0,W,this.state.variables,this.state.context,this,s))}catch(se){Promise.reject(se)}try{await((K=(G=this.options).onSettled)==null?void 0:K.call(G,void 0,W,t,this.state.context,s))}catch(se){Promise.reject(se)}throw it(this,ls,Fr).call(this,{type:"error",error:W}),W}finally{$(this,_n).runNext(this)}}},Mu=new WeakMap,os=new WeakMap,_n=new WeakMap,ro=new WeakMap,ls=new WeakSet,Fr=function(t){const n=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};
205case"pending":return{...s,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{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),un.batch(()=>{$(this,os).forEach(s=>{s.onMutationUpdate(t)}),$(this,_n).notify({mutation:this,type:"updated",action:t})})},gj);function eP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Zs,zi,Ou,xj,tP=(xj=class extends Bu{constructor(t={}){super();Ue(this,Zs);Ue(this,zi);Ue(this,Ou);this.config=t,Se(this,Zs,new Set),Se(this,zi,new Map),Se(this,Ou,0)}build(t,n,s){const l=new XC({client:t,mutationCache:this,mutationId:++jh(this,Ou)._,options:t.defaultMutationOptions(n),state:s});return this.add(l),l}add(t){$(this,Zs).add(t);const n=Th(t);if(typeof n=="string"){const s=$(this,zi).get(n);s?s.push(t):$(this,zi).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if($(this,Zs).delete(t)){const n=Th(t);if(typeof n=="string"){const s=$(this,zi).get(n);if(s)if(s.length>1){const l=s.indexOf(t);l!==-1&&s.splice(l,1)}else s[0]===t&&$(this,zi).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Th(t);if(typeof n=="string"){const s=$(this,zi).get(n),l=s==null?void 0:s.find(c=>c.state.status==="pending");return!l||l===t}else return!0}runNext(t){var s;const n=Th(t);if(typeof n=="string"){const l=(s=$(this,zi).get(n))==null?void 0:s.find(c=>c!==t&&c.state.isPaused);return(l==null?void 0:l.continue())??Promise.resolve()}else return Promise.resolve()}clear(){un.batch(()=>{$(this,Zs).forEach(t=>{this.notify({type:"removed",mutation:t})}),$(this,Zs).clear(),$(this,zi).clear()})}getAll(){return Array.from($(this,Zs))}find(t){const n={exact:!0,...t};return this.getAll().find(s=>uw(n,s))}findAll(t={}){return this.getAll().filter(n=>uw(t,n))}notify(t){un.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return un.batch(()=>Promise.all(t.map(n=>n.continue().catch(Un))))}},Zs=new WeakMap,zi=new WeakMap,Ou=new WeakMap,xj);function Th(e){var t;return(t=e.options.scope)==null?void 0:t.id}var cs,yj,nP=(yj=class extends Bu{constructor(t={}){super();Ue(this,cs);this.config=t,Se(this,cs,new Map)}build(t,n,s){const l=n.queryKey,c=n.queryHash??Wx(l,n);let d=this.get(c);return d||(d=new GC({client:t,queryKey:l,queryHash:c,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(l)}),this.add(d)),d}add(t){$(this,cs).has(t.queryHash)||($(this,cs).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=$(this,cs).get(t.queryHash);n&&(t.destroy(),n===t&&$(this,cs).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){un.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return $(this,cs).get(t)}getAll(){return[...$(this,cs).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>cw(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>cw(t,s)):n}notify(t){un.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){un.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){un.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},cs=new WeakMap,yj),Mt,Zr,Gr,Ml,Ol,Yr,Dl,Fl,vj,iP=(vj=class{constructor(e={}){Ue(this,Mt);Ue(this,Zr);Ue(this,Gr);Ue(this,Ml);Ue(this,Ol);Ue(this,Yr);Ue(this,Dl);Ue(this,Fl);Se(this,Mt,e.queryCache||new nP),Se(this,Zr,e.mutationCache||new tP),Se(this,Gr,e.defaultOptions||{}),Se(this,Ml,new Map),Se(this,Ol,new Map),Se(this,Yr,0)}mount(){jh(this,Yr)._++,$(this,Yr)===1&&(Se(this,Dl,qx.subscribe(async e=>{e&&(await this.resumePausedMutations(),$(this,Mt).onFocus())})),Se(this,Fl,am.subscribe(async e=>{e&&(await this.resumePausedMutations(),$(this,Mt).onOnline())})))}unmount(){var e,t;jh(this,Yr)._--,$(this,Yr)===0&&((e=$(this,Dl))==null||e.call(this),Se(this,Dl,void 0),(t=$(this,Fl))==null||t.call(this),Se(this,Fl,void 0))}isFetching(e){return $(this,Mt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return $(this,Zr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=$(this,Mt).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=$(this,Mt).build(this,t),s=n.state.data;return s===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Qr(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return $(this,Mt).findAll(e).map(({queryKey:t,state:n})=>{const s=n.data;return[t,s]})}setQueryData(e,t,n){const s=this.defaultQueryOptions({queryKey:e}),l=$(this,Mt).get(s.queryHash),c=l==null?void 0:l.state.data,d=DC(t,c);if(d!==void 0)return $(this,Mt).build(this,s).setData(d,{...n,manual:!0})}
205setQueriesData(e,t,n){return un.batch(()=>$(this,Mt).findAll(e).map(({queryKey:s})=>[s,this.setQueryData(s,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=$(this,Mt).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=$(this,Mt);un.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=$(this,Mt);return un.batch(()=>(n.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},s=un.batch(()=>$(this,Mt).findAll(e).map(l=>l.cancel(n)));return Promise.all(s).then(Un).catch(Un)}invalidateQueries(e,t={}){return un.batch(()=>($(this,Mt).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},s=un.batch(()=>$(this,Mt).findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,n);return n.throwOnError||(c=c.catch(Un)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(s).then(Un)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=$(this,Mt).build(this,t);return n.isStaleByTime(Qr(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Un).catch(Un)}fetchInfiniteQuery(e){return e.behavior=xw(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Un).catch(Un)}ensureInfiniteQueryData(e){return e.behavior=xw(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return am.isOnline()?$(this,Zr).resumePausedMutations():Promise.resolve()}getQueryCache(){return $(this,Mt)}getMutationCache(){return $(this,Zr)}getDefaultOptions(){return $(this,Gr)}setDefaultOptions(e){Se(this,Gr,e)}setQueryDefaults(e,t){$(this,Ml).set(bu(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...$(this,Ml).values()],n={};return t.forEach(s=>{_u(e,s.queryKey)&&Object.assign(n,s.defaultOptions)}),n}setMutationDefaults(e,t){$(this,Ol).set(bu(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...$(this,Ol).values()],n={};return t.forEach(s=>{_u(e,s.mutationKey)&&Object.assign(n,s.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...$(this,Gr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Wx(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===Hx&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...$(this,Gr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){$(this,Mt).clear(),$(this,Zr).clear()}},Mt=new WeakMap,Zr=new WeakMap,Gr=new WeakMap,Ml=new WeakMap,Ol=new WeakMap,Yr=new WeakMap,Dl=new WeakMap,Fl=new WeakMap,vj),i1=N.createContext(void 0),sP=e=>{const t=N.useContext(i1);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},rP=({client:e,children:t})=>(N.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),i.jsx(i1.Provider,{value:e,children:t})),s1=N.createContext(!1),aP=()=>N.useContext(s1);s1.Provider;function oP(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var lP=N.createContext(oP()),cP=()=>N.useContext(lP),uP=(e,t,n)=>{const s=n!=null&&n.state.error&&typeof e.throwOnError=="function"?Jj(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||s)&&(t.isReset()||(e.retryOnMount=!1))},dP=e=>{N.useEffect(()=>{e.clearReset()},[e])},hP=({result:e,errorResetBoundary:t,throwOnError:n,query:s,suspense:l})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(l&&e.data===void 0||Jj(n,[e.error,s])),mP=e=>{if(e.suspense){const n=l=>l==="static"?l:Math.max(l??1e3,1e3),s=e.staleTime;e.staleTime=typeof s=="function"?(...l)=>n(s(...l)):n(s),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},fP=(e,t)=>e.isLoading&&e.isFetching&&!t,pP=(e,t)=>
205(e==null?void 0:e.suspense)&&t.isPending,vw=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function gP(e,t,n){var _,S,E,k;const s=aP(),l=cP(),c=sP(),d=c.defaultQueryOptions(e);(S=(_=c.getDefaultOptions().queries)==null?void 0:_._experimental_beforeQuery)==null||S.call(_,d);const m=c.getQueryCache().get(d.queryHash);d._optimisticResults=s?"isRestoring":"optimistic",mP(d),uP(d,l,m),dP(l);const f=!c.getQueryCache().get(d.queryHash),[x]=N.useState(()=>new t(c,d)),y=x.getOptimisticResult(d),v=!s&&e.subscribed!==!1;if(N.useSyncExternalStore(N.useCallback(P=>{const T=v?x.subscribe(un.batchCalls(P)):Un;return x.updateResult(),T},[x,v]),()=>x.getCurrentResult(),()=>x.getCurrentResult()),N.useEffect(()=>{x.setOptions(d)},[d,x]),pP(d,y))throw vw(d,x,l);if(hP({result:y,errorResetBoundary:l,throwOnError:d.throwOnError,query:m,suspense:d.suspense}))throw y.error;if((k=(E=c.getDefaultOptions().queries)==null?void 0:E._experimental_afterQuery)==null||k.call(E,d,y),d.experimental_prefetchInRender&&!lo&&fP(y,s)){const P=f?vw(d,x,l):m==null?void 0:m.promise;P==null||P.catch(Un).finally(()=>{x.updateResult()})}return d.notifyOnChangeProps?y:x.trackResult(y)}function xP(e,t){return gP(e,YC)}const yP=new iP({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}}),Gx=N.createContext({});function Yx(e){const t=N.useRef(null);return t.current===null&&(t.current=e()),t.current}const Mm=N.createContext(null),Kx=N.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class vP extends N.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const s=this.props.sizeRef.current;s.height=n.offsetHeight||0,s.width=n.offsetWidth||0,s.top=n.offsetTop,s.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function wP({children:e,isPresent:t}){const n=N.useId(),s=N.useRef(null),l=N.useRef({width:0,height:0,top:0,left:0}),{nonce:c}=N.useContext(Kx);return N.useInsertionEffect(()=>{const{width:d,height:m,top:f,left:x}=l.current;if(t||!s.current||!d||!m)return;s.current.dataset.motionPopId=n;const y=document.createElement("style");return c&&(y.nonce=c),document.head.appendChild(y),y.sheet&&y.sheet.insertRule(`
206          [data-motion-pop-id="${n}"] {
207            position: absolute !important;
208            width: ${d}px !important;
209            height: ${m}px !important;
210            top: ${f}px !important;
211            left: ${x}px !important;
212          }
213        `),()=>{document.head.removeChild(y)}},[t]),i.jsx(vP,{isPresent:t,childRef:s,sizeRef:l,children:N.cloneElement(e,{ref:s})})}const bP=({children:e,initial:t,isPresent:n,onExitComplete:s,custom:l,presenceAffectsLayout:c,mode:d})=>{const m=Yx(_P),f=N.useId(),x=N.useCallback(v=>{m.set(v,!0);for(const _ of m.values())if(!_)return;s&&s()},[m,s]),y=N.useMemo(()=>({id:f,initial:t,isPresent:n,custom:l,onExitComplete:x,register:v=>(m.set(v,!1),()=>m.delete(v))}),c?[Math.random(),x]:[n,x]);return N.useMemo(()=>{m.forEach((v,_)=>m.set(_,!1))},[n]),N.useEffect(()=>{!n&&!m.size&&s&&s()},[n]),d==="popLayout"&&(e=i.jsx(wP,{isPresent:n,children:e})),i.jsx(Mm.Provider,{value:y,children:e})};function _P(){return new Map}function r1(e=!0){const t=N.useContext(Mm);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:l}=t,c=N.useId();N.useEffect(()=>{e&&l(c)},[e]);const d=N.useCallback(()=>e&&s&&s(c),[c,s,e]);return!n&&s?[!1,d]:[!0]}const Ch=e=>e.key||"";function ww(e){const t=[];return N.Children.forEach(e,n=>{N.isValidElement(n)&&t.push(n)}),t}const Jx=typeof window<"u",a1=Jx?N.useLayoutEffect:N.useEffect,Wi=({children:e,custom:t,initial:n=!0,onExitComplete:s,presenceAffectsLayout:l=!0,mode:c="sync",propagate:d=!1})=>{const[m,f]=r1(d),x=N.useMemo(()=>ww(e),[e]),y=d&&!m?[]:x.map(Ch),v=N.useRef(!0),_=N.useRef(x),S=Yx(()=>new Map),[E,k]=N.useState(x),[P,T]=N.useState(x);a1(()=>{v.current=!1,_.current=x;for(let D=0;D<P.length;D++){const B=Ch(P[D]);y.includes(B)?S.delete(B):S.get(B)!==!0&&S.set(B,!1)}},[P,y.length,y.join("-")]);const A=[];if(x!==E){let D=[...x];for(let B=0;B<P.length;B++){const G=P[B],K=Ch(G);y.includes(K)||(D.splice(B,0,G),A.push(G))}c==="wait"&&A.length&&(D=A),T(ww(D)),k(x);return}const{forceRender:I}=N.useContext(Gx);return i.jsx(i.Fragment,{children:P.map(D=>{const B=Ch(D),G=d&&!m?!1:x===P||y.includes(B),K=()=>
vendor: 32,659 bytes, line 213
213{if(S.has(B))S.set(B,!0);else return;let W=!0;S.forEach(se=>{se||(W=!1)}),W&&(I==null||I(),T(_.current),d&&(f==null||f()),s&&s())};return i.jsx(bP,{isPresent:G,initial:!v.current||n?void 0:!1,custom:G?void 0:t,presenceAffectsLayout:l,mode:c,onExitComplete:G?void 0:K,children:D},B)})})},ii=e=>e;let o1=ii;function Qx(e){let t;return()=>(t===void 0&&(t=e()),t)}const Bl=(e,t,n)=>{const s=t-e;return s===0?1:(n-e)/s},Ys=e=>e*1e3,Ks=e=>e/1e3,jP={useManualTiming:!1};function NP(e){let t=new Set,n=new Set,s=!1,l=!1;const c=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function m(x){c.has(x)&&(f.schedule(x),e()),x(d)}const f={schedule:(x,y=!1,v=!1)=>{const S=v&&s?t:n;return y&&c.add(x),S.has(x)||S.add(x),x},cancel:x=>{n.delete(x),c.delete(x)},process:x=>{if(d=x,s){l=!0;return}s=!0,[t,n]=[n,t],t.forEach(m),t.clear(),s=!1,l&&(l=!1,f.process(x))}};return f}const Ph=["read","resolveKeyframes","update","preRender","render","postRender"],SP=40;function l1(e,t){let n=!1,s=!0;const l={delta:0,timestamp:0,isProcessing:!1},c=()=>n=!0,d=Ph.reduce((T,A)=>(T[A]=NP(c),T),{}),{read:m,resolveKeyframes:f,update:x,preRender:y,render:v,postRender:_}=d,S=()=>{const T=performance.now();n=!1,l.delta=s?1e3/60:Math.max(Math.min(T-l.timestamp,SP),1),l.timestamp=T,l.isProcessing=!0,m.process(l),f.process(l),x.process(l),y.process(l),v.process(l),_.process(l),l.isProcessing=!1,n&&t&&(s=!1,e(S))},E=()=>{n=!0,s=!0,l.isProcessing||e(S)};return{schedule:Ph.reduce((T,A)=>{const I=d[A];return T[A]=(D,B=!1,G=!1)=>(n||E(),I.schedule(D,B,G)),T},{}),cancel:T=>{for(let A=0;A<Ph.length;A++)d[Ph[A]].cancel(T)},state:l,steps:d}}const{schedule:Nt,cancel:ia,state:cn,steps:Up}=l1(typeof requestAnimationFrame<"u"?requestAnimationFrame:ii,!0),c1=N.createContext({strict:!1}),bw={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Vl={};for(const e in bw)Vl[e]={isEnabled:t=>bw[e].some(n=>!!t[n])};function kP(e){for(const t in e)Vl[t]={...Vl[t],...e[t]}}const TP=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function om(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||TP.has(e)}let u1=e=>!om(e);function CP(e){e&&(u1=t=>t.startsWith("on")?!om(t):e(t))}try{CP(require("@emotion/is-prop-valid").default)}catch{}function PP(e,t,n){const s={};for(const l in e)l==="values"&&typeof e.values=="object"||(u1(l)||n===!0&&om(l)||!t&&!om(l)||e.draggable&&l.startsWith("onDrag"))&&(s[l]=e[l]);return s}function EP(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...s)=>e(...s);return new Proxy(n,{get:(s,l)=>l==="create"?e:(t.has(l)||t.set(l,e(l)),t.get(l))})}const Om=N.createContext({});function ju(e){return typeof e=="string"||Array.isArray(e)}function Dm(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Xx=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],e0=["initial",...Xx];function Fm(e){return Dm(e.animate)||e0.some(t=>ju(e[t]))}function d1(e){return!!(Fm(e)||e.variants)}function AP(e,t){if(Fm(e)){const{initial:n,animate:s}=e;return{initial:n===!1||ju(n)?n:void 0,animate:ju(s)?s:void 0}}return e.inherit!==!1?t:{}}function RP(e){const{initial:t,animate:n}=AP(e,N.useContext(Om));return N.useMemo(()=>({initial:t,animate:n}),[_w(t),_w(n)])}function _w(e){return Array.isArray(e)?e.join(" "):e}const LP=Symbol.for("motionComponentSymbol");function wl(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function IP(e,t,n){return N.useCallback(s=>{s&&e.onMount&&e.onMount(s),t&&(s?t.mount(s):t.unmount()),n&&(typeof n=="function"?n(s):wl(n)&&(n.current=s))},[t])}const t0=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),MP="framerAppearId",h1="data-"+t0(MP),{schedule:n0}=l1(queueMicrotask,!1),m1=N.createContext({});function OP(e,t,n,s,l){var c,d;const{visualElement:m}=N.useContext(Om),f=N.useContext(c1),x=N.useContext(Mm),y=N.useContext(Kx).reducedMotion,v=N.useRef(null);s=s||f.renderer,!v.current&&s&&(v.current=s(e,{visualState:t,parent:m,props:n,presenceContext:x,blockInitialAnimation:x?x.initial===!1:!1,reducedMotionConfig:y}));const _=v.current,S=N.useContext(m1);_&&!_.projection&&l&&(_.type==="html"||_.type==="svg")&&DP(v.current,n,l,S);const E=N.useRef(!1);N.useInsertionEffect(()=>{_&&E.current&&_.update(n,x)});const k=n[h1],P=N.useRef(!!k&&!(!((c=window.MotionHandoffIsComplete)===null||c===void 0)&&c.call(window,k))&&((d=window.MotionHasOptimisedAnimation)===null||d===void 0?void 0:d.call(window,k)));return a1(()=>{_&&(E.current=!0,window.MotionIsMounted=!0,_.updateFeatures(),n0.render(_.render),P.current&&_.animationState&&_.animationState.animateChanges())}),N.useEffect(()=>{_&&(!P.current&&_.animationState&&_.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var T;(T=window.MotionHandoffMarkAsComplete)===null||T===void 0||T.call(window,k)}),P.current=!1))}),_}function DP(e,t,n,s){const{layoutId:l,layout:c,drag:d,dragConstraints:m,layoutScroll:f,layoutRoot:x}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:f1(e.parent)),e.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!d||m&&wl(m),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:s,layoutScroll:f,layoutRoot:x})}function f1(e){if(e)return e.options.allowProjection!==!1?e.projection:f1(e.parent)}function FP({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:s,Component:l}){var c,d;e&&kP(e);function m(x,y){let v;const _={...N.useContext(Kx),...x,layoutId:BP(x)},{isStatic:S}=_,E=RP(x),k=s(x,S);if(!S&&Jx){VP();const P=zP(_);v=P.MeasureLayout,E.visualElement=OP(l,k,_,t,P.ProjectionNode)}return i.jsxs(Om.Provider,{value:E,children:[v&&E.visualElement?i.jsx(v,{visualElement:E.visualElement,..._}):null,n(l,x,IP(k,E.visualElement,y),k,S,E.visualElement)]})}m.displayName=`motion.${typeof l=="string"?l:`create(${(d=(c=l.displayName)!==null&&c!==void 0?c:l.name)!==null&&d!==void 0?d:""})`}`;const f=N.forwardRef(m);return f[LP]=l,f}function BP({layoutId:e}){const t=N.useContext(Gx).id;return t&&e!==void 0?t+"-"+e:e}function VP(e,t){N.useContext(c1).strict}function zP(e){const{drag:t,layout:n}=Vl;if(!t&&!n)return{};const s={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const UP=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function i0(e){return typeof e!="string"||e.includes("-")?!1:!!(UP.indexOf(e)>-1||/[A-Z]/u.test(e))}function jw(e){const t=[{},{}];return e==null||e.values.forEach((n,s)=>{t[0][s]=n.get(),t[1][s]=n.getVelocity()}),t}function s0(e,t,n,s){if(typeof t=="function"){const[l,c]=jw(s);t=t(n!==void 0?n:e.custom,l,c)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[l,c]=jw(s);t=t(n!==void 0?n:e.custom,l,c)}return t}const Gg=e=>Array.isArray(e),$P=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),WP=e=>Gg(e)?e[e.length-1]||0:e,Nn=e=>!!(e&&e.getVelocity);function Hh(e){const t=Nn(e)?e.get():e;return $P(t)?t.toValue():t}function HP({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},s,l,c){const d={latestValues:qP(s,l,c,e),renderState:t()};return n&&(d.onMount=m=>n({props:s,current:m,...d}),d.onUpdate=m=>n(m)),d}const p1=e=>(t,n)=>{const s=N.useContext(Om),l=N.useContext(Mm),c=()=>HP(e,t,s,l);return n?c():Yx(c)};function qP(e,t,n,s){const l={},c=s(e,{});for(const _ in c)l[_]=Hh(c[_]);let{initial:d,animate:m}=e;const f=Fm(e),x=d1(e);t&&x&&!f&&e.inherit!==!1&&(d===void 0&&(d=t.initial),m===void 0&&(m=t.animate));let y=n?n.initial===!1:!1;y=y||d===!1;const v=y?m:d;if(v&&typeof v!="boolean"&&!Dm(v)){const _=Array.isArray(v)?v:[v];for(let S=0;S<_.length;S++){const E=s0(e,_[S]);if(E){const{transitionEnd:k,transition:P,...T}=E;for(const A in T){let I=T[A];if(Array.isArray(I)){const D=y?I.length-1:0;I=I[D]}I!==null&&(l[A]=I)}for(const A in k)l[A]=k[A]}}}return l}const ql=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],xo=new Set(ql),g1=e=>t=>typeof t=="string"&&t.startsWith(e),x1=g1("--"),ZP=g1("var(--"),r0=e=>ZP(e)?GP.test(e.split("/*")[0].trim()):!1,GP=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,y1=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Js=(e,t,n)=>n>t?t:n<e?e:n,Zl={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Nu={...Zl,transform:e=>Js(0,1,e)},Eh={...Zl,default:1},Vu=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Br=Vu("deg"),hs=Vu("%"),$e=Vu("px"),YP=Vu("vh"),KP=Vu("vw"),Nw={...hs,parse:e=>hs.parse(e)/100,transform:e=>hs.transform(e*100)},JP={borderWidth:$e,borderTopWidth:$e,borderRightWidth:$e,borderBottomWidth:$e,borderLeftWidth:$e,borderRadius:$e,radius:$e,borderTopLeftRadius:$e,borderTopRightRadius:$e,borderBottomRightRadius:$e,borderBottomLeftRadius:$e,width:$e,maxWidth:$e,height:$e,maxHeight:$e,top:$e,right:$e,bottom:$e,left:$e,padding:$e,paddingTop:$e,paddingRight:$e,paddingBottom:$e,paddingLeft:$e,margin:$e,marginTop:$e,marginRight:$e,marginBottom:$e,marginLeft:$e,backgroundPositionX:$e,backgroundPositionY:$e},QP={rotate:Br,rotateX:Br,rotateY:Br,rotateZ:Br,scale:Eh,scaleX:Eh,scaleY:Eh,scaleZ:Eh,skew:Br,skewX:Br,skewY:Br,distance:$e,translateX:$e,translateY:$e,translateZ:$e,x:$e,y:$e,z:$e,perspective:$e,transformPerspective:$e,opacity:Nu,originX:Nw,originY:Nw,originZ:$e},Sw={...Zl,transform:Math.round},a0={...JP,...QP,zIndex:Sw,size:$e,fillOpacity:Nu,strokeOpacity:Nu,numOctaves:Sw},XP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eE=ql.length;function tE(e,t,n){let s="",l=!0;for(let c=0;c<eE;c++){const d=ql[c],m=e[d];if(m===void 0)continue;let f=!0;if(typeof m=="number"?f=m===(d.startsWith("scale")?1:0):f=parseFloat(m)===0,!f||n){const x=y1(m,a0[d]);if(!f){l=!1;const y=XP[d]||d;s+=`${y}(${x}) `}n&&(t[d]=x)}}return s=s.trim(),n?s=n(t,l?"":s):l&&(s="none"),s}function o0(e,t,n){const{style:s,vars:l,transformOrigin:c}=e;let d=!1,m=!1;for(const f in t){const x=t[f];if(xo.has(f)){d=!0;continue}else if(x1(f)){l[f]=x;continue}else{const y=y1(x,a0[f]);f.startsWith("origin")?(m=!0,c[f]=y):s[f]=y}}if(t.transform||(d||n?s.transform=tE(t,e.transform,n):s.transform&&(s.transform="none")),m){const{originX:f="50%",originY:x="50%",originZ:y=0}=c;s.transformOrigin=`${f} ${x} ${y}`}}const nE={offset:"stroke-dashoffset",array:"stroke-dasharray"},iE={offset:"strokeDashoffset",array:"strokeDasharray"};function sE(e,t,n=1,s=0,l=!0){e.pathLength=1;const c=l?nE:iE;e[c.offset]=$e.transform(-s);const d=$e.transform(t),m=$e.transform(n);e[c.array]=`${d} ${m}`}function kw(e,t,n){return typeof e=="string"?e:$e.transform(t+n*e)}function rE(e,t,n){const s=kw(t,e.x,e.width),l=kw(n,e.y,e.height);return`${s} ${l}`}function l0(e,{attrX:t,attrY:n,attrScale:s,originX:l,originY:c,pathLength:d,pathSpacing:m=1,pathOffset:f=0,...x},y,v){if(o0(e,x,v),y){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:_,style:S,dimensions:E}=e;_.transform&&(E&&(S.transform=_.transform),delete _.transform),E&&(l!==void 0||c!==void 0||S.transform)&&(S.transformOrigin=rE(E,l!==void 0?l:.5,c!==void 0?c:.5)),t!==void 0&&(_.x=t),n!==void 0&&(_.y=n),s!==void 0&&(_.scale=s),d!==void 0&&sE(_,d,m,f,!1)}const c0=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),v1=()=>({...c0(),attrs:{}}),u0=e=>typeof e=="string"&&e.toLowerCase()==="svg";function w1(e,{style:t,vars:n},s,l){Object.assign(e.style,t,l&&l.getProjectionStyles(s));for(const c in n)e.style.setProperty(c,n[c])}const b1=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function _1(e,t,n,s){w1(e,t,void 0,s);for(const l in t.attrs)e.setAttribute(b1.has(l)?l:t0(l),t.attrs[l])}const lm={};function aE(e){Object.assign(lm,e)}function j1(e,{layout:t,layoutId:n}){return xo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!lm[e]||e==="opacity")}function d0(e,t,n){var s;const{style:l}=e,c={};for(const d in l)(Nn(l[d])||t.style&&Nn(t.style[d])||j1(d,e)||((s=n==null?void 0:n.getValue(d))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(c[d]=l[d]);return c}function N1(e,t,n){const s=d0(e,t,n);for(const l in e)if(Nn(e[l])||Nn(t[l])){const c=ql.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;s[c]=e[l]}return s}function oE(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const Tw=["x","y","width","height","cx","cy","r"],lE={useVisualState:p1({scrapeMotionValuesFromProps:N1,createRenderState:v1,onUpdate:({props:e,prevProps:t,current:n,renderState:s,latestValues:l})=>{if(!n)return;let c=!!e.drag;if(!c){for(const m in l)if(xo.has(m)){c=!0;break}}if(!c)return;let d=!t;if(t)for(let m=0;m<Tw.length;m++){const f=Tw[m];e[f]!==t[f]&&(d=!0)}d&&Nt.read(()=>{oE(n,s),Nt.render(()=>{l0(s,l,u0(n.tagName),e.transformTemplate),_1(n,s)})})}})},cE={useVisualState:p1({scrapeMotionValuesFromProps:d0,createRenderState:c0})};function S1(e,t,n){for(const s in t)!Nn(t[s])&&!j1(s,n)&&(e[s]=t[s])}function uE({transformTemplate:e},t){return N.useMemo(()=>{const n=c0();return o0(n,t,e),Object.assign({},n.vars,n.style)},[t])}function dE(e,t){const n=e.style||{},s={};return S1(s,n,e),Object.assign(s,uE(e,t)),s}function hE(e,t){const n={},s=dE(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=s,n}function mE(e,t,n,s){const l=N.useMemo(()=>{const c=v1();return l0(c,t,u0(s),e.transformTemplate),{...c.attrs,style:{...c.style}}},[t]);if(e.style){const c={};S1(c,e.style,e),l.style={...c,...l.style}}return l}function fE(e=!1){return(n,s,l,{latestValues:c},d)=>{const f=(i0(n)?mE:hE)(s,c,d,n),x=PP(s,typeof n=="string",e),y=n!==N.Fragment?{...x,...f,ref:l}:{},{children:v}=s,_=N.useMemo(()=>Nn(v)?v.get():v,[v]);return N.createElement(n,{...y,children:_})}}function pE(e,t){return function(s,{forwardMotionProps:l}={forwardMotionProps:!1}){const d={...i0(s)?lE:cE,preloadedFeatures:e,useRender:fE(l),createVisualElement:t,Component:s};return FP(d)}}function k1(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let s=0;s<n;s++)if(t[s]!==e[s])return!1;return!0}function Bm(e,t,n){const s=e.getProps();return s0(s,t,n!==void 0?n:s.custom,e)}const gE=Qx(()=>window.ScrollTimeline!==void 0);class xE{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let s=0;s<this.animations.length;s++)this.animations[s][t]=n}attachTimeline(t,n){const s=this.animations.map(l=>{if(gE()&&l.attachTimeline)return l.attachTimeline(t);if(typeof n=="function")return n(l)});return()=>{s.forEach((l,c)=>{l&&l(),this.animations[c].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class yE extends xE{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function h0(e,t){return e?e[t]||e.default||e:void 0}const Yg=2e4;function T1(e){let t=0;const n=50;let s=e.next(t);for(;!s.done&&t<Yg;)t+=n,s=e.next(t);return t>=Yg?1/0:t}function m0(e){return typeof e=="function"}function Cw(e,t){e.timeline=t,e.onfinish=null}const f0=e=>Array.isArray(e)&&typeof e[0]=="number",vE={linearEasing:void 0};function wE(e,t){const n=Qx(e);return()=>{var s;return(s=vE[t])!==null&&s!==void 0?s:n()}}const cm=wE(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),C1=(e,t,n=10)=>{let s="";const l=Math.max(Math.round(t/n),2);for(let c=0;c<l;c++)s+=e(Bl(0,l-1,c))+", ";return`linear(${s.substring(0,s.length-2)})`};function P1(e){return!!(typeof e=="function"&&cm()||!e||typeof e=="string"&&(e in Kg||cm())||f0(e)||Array.isArray(e)&&e.every(P1))}const au=([e,t,n,s])=>`cubic-bezier(${e}, ${t}, ${n}, ${s})`,Kg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:au([0,.65,.55,1]),circOut:au([.55,0,1,.45]),backIn:au([.31,.01,.66,-.59]),backOut:au([.33,1.53,.69,.99])};function E1(e,t){if(e)return typeof e=="function"&&cm()?C1(e,t):f0(e)?au(e):Array.isArray(e)?e.map(n=>E1(n,t)||Kg.easeOut):Kg[e]}const Fi={x:!1,y:!1};function A1(){return Fi.x||Fi.y}function bE(e,t,n){var s;if(e instanceof Element)return[e];if(typeof e=="string"){let l=document;const c=(s=void 0)!==null&&s!==void 0?s:l.querySelectorAll(e);return c?Array.from(c):[]}return Array.from(e)}function R1(e,t){const n=bE(e),s=new AbortController,l={passive:!0,...t,signal:s.signal};return[n,l,()=>s.abort()]}function Pw(e){return t=>{t.pointerType==="touch"||A1()||e(t)}}function _E(e,t,n={}){const[s,l,c]=R1(e,n),d=Pw(m=>{const{target:f}=m,x=t(m);if(typeof x!="function"||!f)return;const y=Pw(v=>{x(v),f.removeEventListener("pointerleave",y)});f.addEventListener("pointerleave",y,l)});return s.forEach(m=>{m.addEventListener("pointerenter",d,l)}),c}const L1=(e,t)=>t?e===t?!0:L1(e,t.parentElement):!1,p0=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,jE=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function NE(e){return jE.has(e.tagName)||e.tabIndex!==-1}const ou=new WeakSet;function Ew(e){return t=>{t.key==="Enter"&&e(t)}}function $p(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const SE=(e,t)=>{const n=e.currentTarget;if(!n)return;const s=Ew(()=>{if(ou.has(n))return;$p(n,"down");const l=Ew(()=>{$p(n,"up")}),c=()=>$p(n,"cancel");n.addEventListener("keyup",l,t),n.addEventListener("blur",c,t)});n.addEventListener("keydown",s,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),t)};function Aw(e){return p0(e)&&!A1()}function kE(e,t,n={}){const[s,l,c]=R1(e,n),d=m=>{const f=m.currentTarget;if(!Aw(m)||ou.has(f))return;ou.add(f);const x=t(m),y=(S,E)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",_),!(!Aw(S)||!ou.has(f))&&(ou.delete(f),typeof x=="function"&&x(S,{success:E}))},v=S=>{y(S,n.useGlobalTarget||L1(f,S.target))},_=S=>{y(S,!1)};window.addEventListener("pointerup",v,l),window.addEventListener("pointercancel",_,l)};return s.forEach(m=>{!NE(m)&&m.getAttribute("tabindex")===null&&(m.tabIndex=0),(n.useGlobalTarget?window:m).addEventListener("pointerdown",d,l),m.addEventListener("focus",x=>SE(x,l),l)}),c}function TE(e){return e==="x"||e==="y"?Fi[e]?null:(Fi[e]=!0,()=>{Fi[e]=!1}):Fi.x||Fi.y?null:(Fi.x=Fi.y=!0,()=>{Fi.x=Fi.y=!1})}const I1=new Set(["width","height","top","left","right","bottom",...ql]);let qh;function CE(){qh=void 0}const ms={now:()=>(qh===void 0&&ms.set(cn.isProcessing||jP.useManualTiming?cn.timestamp:performance.now()),qh),set:e=>{qh=e,queueMicrotask(CE)}};function g0(e,t){e.indexOf(t)===-1&&e.push(t)}function x0(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class y0{constructor(){this.subscriptions=[]}add(t){return g0(this.subscriptions,t),()=>x0(this.subscriptions,t)}notify(t,n,s){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](t,n,s);else for(let c=0;c<l;c++){const d=this.subscriptions[c];d&&d(t,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function M1(e,t){return t?e*(1e3/t):0}const Rw=30,PE=e=>!isNaN(parseFloat(e));class EE{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,l=!0)=>{const c=ms.now();this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),l&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=ms.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=PE(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new y0);const s=this.events[t].add(n);return t==="change"?()=>{s(),Nt.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-s}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=ms.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Rw)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Rw);return M1(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Su(e,t){return new EE(e,t)}function AE(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Su(n))}function RE(e,t){const n=Bm(e,t);let{transitionEnd:s={},transition:l={},...c}=n||{};c={...c,...s};for(const d in c){const m=WP(c[d]);AE(e,d,m)}}function LE(e){return!!(Nn(e)&&e.add)}function Jg(e,t){const n=e.getValue("willChange");if(LE(n))return n.add(t)}function O1(e){return e.props[h1]}const D1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,IE=1e-7,ME=12;function OE(e,t,n,s,l){let c,d,m=0;do d=t+(n-t)/2,c=D1(d,s,l)-e,c>0?n=d:t=d;while(Math.abs(c)>IE&&++m<ME);return d}function zu(e,t,n,s){if(e===t&&n===s)return ii;const l=c=>OE(c,0,1,e,n);return c=>c===0||c===1?c:D1(l(c),t,s)}const F1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,B1=e=>t=>1-e(1-t),V1=zu(.33,1.53,.69,.99),v0=B1(V1),z1=F1(v0),U1=e=>(e*=2)<1?.5*v0(e):.5*(2-Math.pow(2,-10*(e-1))),w0=e=>1-Math.sin(Math.acos(e)),$1=B1(w0),W1=F1(w0),H1=e=>/^0[^.\s]+$/u.test(e);function DE(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||H1(e):!0}const pu=e=>Math.round(e*1e5)/1e5,b0=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function FE(e){return e==null}const BE=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,_0=(e,t)=>n=>!!(typeof n=="string"&&BE.test(n)&&n.startsWith(e)||t&&!FE(n)&&Object.prototype.hasOwnProperty.call(n,t)),q1=(e,t,n)=>s=>{if(typeof s!="string")return s;const[l,c,d,m]=s.match(b0);return{[e]:parseFloat(l),[t]:parseFloat(c),[n]:parseFloat(d),alpha:m!==void 0?parseFloat(m):1}},VE=e=>Js(0,255,e),Wp={...Zl,transform:e=>Math.round(VE(e))},Ya={test:_0("rgb","red"),parse:q1("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+Wp.transform(e)+", "+Wp.transform(t)+", "+Wp.transform(n)+", "+pu(Nu.transform(s))+")"};function zE(e){let t="",n="",s="",l="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),s=e.substring(5,7),l=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),s=e.substring(3,4),l=e.substring(4,5),t+=t,n+=n,s+=s,l+=l),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:l?parseInt(l,16)/255:1}}const Qg={test:_0("#"),parse:zE,transform:Ya.transform},bl={test:_0("hsl","hue"),parse:q1("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+hs.transform(pu(t))+", "+hs.transform(pu(n))+", "+pu(Nu.transform(s))+")"},jn={test:e=>Ya.test(e)||Qg.test(e)||bl.test(e),parse:e=>Ya.test(e)?Ya.parse(e):bl.test(e)?bl.parse(e):Qg.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Ya.transform(e):bl.transform(e)},UE=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function $E(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(b0))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(UE))===null||n===void 0?void 0:n.length)||0)>0}const Z1="number",G1="color",WE="var",HE="var(",Lw="${}",qE=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ku(e){const t=e.toString(),n=[],s={color:[],number:[],var:[]},l=[];let c=0;const m=t.replace(qE,f=>(jn.test(f)?(s.color.push(c),l.push(G1),n.push(jn.parse(f))):f.startsWith(HE)?(s.var.push(c),l.push(WE),n.push(f)):(s.number.push(c),l.push(Z1),n.push(parseFloat(f))),++c,Lw)).split(Lw);return{values:n,split:m,indexes:s,types:l}}function Y1(e){return ku(e).values}function K1(e){const{split:t,types:n}=ku(e),s=t.length;return l=>{let c="";for(let d=0;d<s;d++)if(c+=t[d],l[d]!==void 0){const m=n[d];m===Z1?c+=pu(l[d]):m===G1?c+=jn.transform(l[d]):c+=l[d]}return c}}const ZE=e=>typeof e=="number"?0:e;function GE(e){const t=Y1(e);return K1(e)(t.map(ZE))}const sa={test:$E,parse:Y1,createTransformer:K1,getAnimatableNone:GE},YE=new Set(["brightness","contrast","saturate","opacity"]);function KE(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=n.match(b0)||[];if(!s)return e;const l=n.replace(s,"");let c=YE.has(t)?1:0;return s!==n&&(c*=100),t+"("+c+l+")"}const JE=/\b([a-z-]*)\(.*?\)/gu,Xg={...sa,getAnimatableNone:e=>{const t=e.match(JE);return t?t.map(KE).join(" "):e}},QE={...a0,color:jn,backgroundColor:jn,outlineColor:jn,fill:jn,stroke:jn,borderColor:jn,borderTopColor:jn,borderRightColor:jn,borderBottomColor:jn,borderLeftColor:jn,filter:Xg,WebkitFilter:Xg},j0=e=>QE[e];function J1(e,t){let n=j0(e);return n!==Xg&&(n=sa),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const XE=new Set(["auto","none","0"]);function eA(e,t,n){let s=0,l;for(;s<e.length&&!l;){const c=e[s];typeof c=="string"&&!XE.has(c)&&ku(c).values.length&&(l=e[s]),s++}if(l&&n)for(const c of t)e[c]=J1(n,l)}const Iw=e=>e===Zl||e===$e,Mw=(e,t)=>parseFloat(e.split(", ")[t]),Ow=(e,t)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const l=s.match(/^matrix3d\((.+)\)$/u);if(l)return Mw(l[1],t);{const c=s.match(/^matrix\((.+)\)$/u);return c?Mw(c[1],e):0}},tA=new Set(["x","y","z"]),nA=ql.filter(e=>!tA.has(e));function iA(e){const t=[];return nA.forEach(n=>{const s=e.getValue(n);s!==void 0&&(t.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),t}const zl={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Ow(4,13),y:Ow(5,14)};zl.translateX=zl.x;zl.translateY=zl.y;const ao=new Set;let ex=!1,tx=!1;function Q1(){if(tx){const e=Array.from(ao).filter(s=>s.needsMeasurement),t=new Set(e.map(s=>s.element)),n=new Map;t.forEach(s=>{const l=iA(s);l.length&&(n.set(s,l),s.render())}),e.forEach(s=>s.measureInitialState()),t.forEach(s=>{s.render();const l=n.get(s);l&&l.forEach(([c,d])=>{var m;(m=s.getValue(c))===null||m===void 0||m.set(d)})}),e.forEach(s=>s.measureEndState()),e.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}tx=!1,ex=!1,ao.forEach(e=>e.complete()),ao.clear()}function X1(){ao.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(tx=!0)})}function sA(){X1(),Q1()}class N0{constructor(t,n,s,l,c,d=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=s,this.motionValue=l,this.element=c,this.isAsync=d}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ao.add(this),ex||(ex=!0,Nt.read(X1),Nt.resolveKeyframes(Q1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:s,motionValue:l}=this;for(let c=0;c<t.length;c++)if(t[c]===null)if(c===0){const d=l==null?void 0:l.get(),m=t[t.length-1];if(d!==void 0)t[0]=d;else if(s&&n){const f=s.readValue(n,m);f!=null&&(t[0]=f)}t[0]===void 0&&(t[0]=m),l&&d===void 0&&l.set(t[0])}else t[c]=t[c-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ao.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ao.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const eN=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),rA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function aA(e){const t=rA.exec(e);if(!t)return[,];const[,n,s,l]=t;return[`--${n??s}`,l]}function tN(e,t,n=1){const[s,l]=aA(e);if(!s)return;const c=window.getComputedStyle(t).getPropertyValue(s);if(c){const d=c.trim();return eN(d)?parseFloat(d):d}return r0(l)?tN(l,t,n+1):l}const nN=e=>t=>t.test(e),oA={test:e=>e==="auto",parse:e=>e},iN=[Zl,$e,hs,Br,KP,YP,oA],Dw=e=>iN.find(nN(e));class sN extends N0{constructor(t,n,s,l,c){super(t,n,s,l,c,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let f=0;f<t.length;f++){let x=t[f];if(typeof x=="string"&&(x=x.trim(),r0(x))){const y=tN(x,n.current);y!==void 0&&(t[f]=y),f===t.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!I1.has(s)||t.length!==2)return;const[l,c]=t,d=Dw(l),m=Dw(c);if(d!==m)if(Iw(d)&&Iw(m))for(let f=0;f<t.length;f++){const x=t[f];typeof x=="string"&&(t[f]=parseFloat(x))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,s=[];for(let l=0;l<t.length;l++)DE(t[l])&&s.push(l);s.length&&eA(t,s,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:s}=this;if(!t||!t.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=zl[s](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const l=n[n.length-1];l!==void 0&&t.getValue(s,l).jump(l,!1)}measureEndState(){var t;const{element:n,name:s,unresolvedKeyframes:l}=this;if(!n||!n.current)return;const c=n.getValue(s);c&&c.jump(this.measuredOrigin,!1);const d=l.length-1,m=l[d];l[d]=zl[s](n.measureViewportBox(),window.getComputedStyle(n.current)),m!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=m),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEac
vendor: 4,489 bytes, line 213
213h(([f,x])=>{n.getValue(f).set(x)}),this.resolveNoneKeyframes()}}const Fw=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(sa.test(e)||e==="0")&&!e.startsWith("url("));function lA(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function cA(e,t,n,s){const l=e[0];if(l===null)return!1;if(t==="display"||t==="visibility")return!0;const c=e[e.length-1],d=Fw(l,t),m=Fw(c,t);return!d||!m?!1:lA(e)||(n==="spring"||m0(n))&&s}const uA=e=>e!==null;function Vm(e,{repeat:t,repeatType:n="loop"},s){const l=e.filter(uA),c=t&&n!=="loop"&&t%2===1?0:l.length-1;return!c||s===void 0?l[c]:s}const dA=40;class rN{constructor({autoplay:t=!0,delay:n=0,type:s="keyframes",repeat:l=0,repeatDelay:c=0,repeatType:d="loop",...m}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=ms.now(),this.options={autoplay:t,delay:n,type:s,repeat:l,repeatDelay:c,repeatType:d,...m},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>dA?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&sA(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=ms.now(),this.hasAttemptedResolve=!0;const{name:s,type:l,velocity:c,delay:d,onComplete:m,onUpdate:f,isGenerator:x}=this.options;if(!x&&!cA(t,s,l,c))if(d)this.options.duration=0;else{f&&f(Vm(t,this.options,n)),m&&m(),this.resolveFinishedPromise();return}const y=this.initPlayback(t,n);y!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...y},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const Rt=(e,t,n)=>e+(t-e)*n;function Hp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hA({hue:e,saturation:t,lightness:n,alpha:s}){e/=360,t/=100,n/=100;let l=0,c=0,d=0;if(!t)l=c=d=n;else{const m=n<.5?n*(1+t):n+t-n*t,f=2*n-m;l=Hp(f,m,e+1/3),c=Hp(f,m,e),d=Hp(f,m,e-1/3)}return{red:Math.round(l*255),green:Math.round(c*255),blue:Math.round(d*255),alpha:s}}function um(e,t){return n=>n>0?t:e}const qp=(e,t,n)=>{const s=e*e,l=n*(t*t-s)+s;return l<0?0:Math.sqrt(l)},mA=[Qg,Ya,bl],fA=e=>mA.find(t=>t.test(e));function Bw(e){const t=fA(e);if(!t)return!1;let n=t.parse(e);return t===bl&&(n=hA(n)),n}const Vw=(e,t)=>{const n=Bw(e),s=Bw(t);if(!n||!s)return um(e,t);const l={...n};return c=>(l.red=qp(n.red,s.red,c),l.green=qp(n.green,s.green,c),l.blue=qp(n.blue,s.blue,c),l.alpha=Rt(n.alpha,s.alpha,c),Ya.transform(l))},pA=(e,t)=>n=>t(e(n)),Uu=(...e)=>e.reduce(pA),nx=new Set(["none","hidden"]);function gA(e,t){return nx.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function xA(e,t){return n=>Rt(e,t,n)}function S0(e){return typeof e=="number"?xA:typeof e=="string"?r0(e)?um:jn.test(e)?Vw:wA:Array.isArray(e)?aN:typeof e=="object"?jn.test(e)?Vw:yA:um}function aN(e,t){const n=[...e],s=n.length,l=e.map((c,d)=>S0(c)(c,t[d]));return c=>{for(let d=0;d<s;d++)n[d]=l[d](c);return n}}function yA(e,t){const n={...e,...t},s={};for(const l in n)e[l]!==void 0&&t[l]!==void 0&&(s[l]=S0(e[l])(e[l],t[l]));return l=>{for(const c in s)n[c]=s[c](l);return n}}function vA(e,t){var n;const s=[],l={color:0,var:0,number:0};for(let c=0;c<t.values.length;c++){const d=t.types[c],m=e.indexes[d][l[d]],f=(n=e.values[m])!==null&&n!==void 0?n:0;s[c]=f,l[d]++}return s}const wA=(e,t)=>{const n=sa.createTransformer(t),s=ku(e),l=ku(t);return s.indexes.var.length===l.indexes.var.length&&s.indexes.color.length===l.indexes.color.length&&s.indexes.number.length>=l.indexes.number.length?nx.has(e)&&!l.values.length||nx.has(t)&&!s.values.length?gA(e,t):Uu(aN(vA(s,l),l.values),n):um(e,t)};function oN(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Rt(e,t,n):S0(e)(e,t)}const bA=5;function lN(e,t,n){const s=Math.max(t-bA,0);return M1(n-e(s),t-s)}const Ot={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Zp=.001;function _A({duration:e=Ot.duration,bounce:t=Ot.bounce,velocity:n=Ot.velocity,mass:s=Ot.mass}){let l,c,d=1-t;d=Js(Ot.minDamping,Ot.maxDamping,d),e=Js(Ot.minDuration,Ot.maxDuration,Ks(e)),d<1?(l=x=>{const y=x*d,v=y*e,_=y-n,S=ix(x,d),E=Math.exp(-v);return Zp-_/S*E},c=x=>
vendor: 9,726 bytes, line 213
213{const v=x*d*e,_=v*n+n,S=Math.pow(d,2)*Math.pow(x,2)*e,E=Math.exp(-v),k=ix(Math.pow(x,2),d);return(-l(x)+Zp>0?-1:1)*((_-S)*E)/k}):(l=x=>{const y=Math.exp(-x*e),v=(x-n)*e+1;return-Zp+y*v},c=x=>{const y=Math.exp(-x*e),v=(n-x)*(e*e);return y*v});const m=5/e,f=NA(l,c,m);if(e=Ys(e),isNaN(f))return{stiffness:Ot.stiffness,damping:Ot.damping,duration:e};{const x=Math.pow(f,2)*s;return{stiffness:x,damping:d*2*Math.sqrt(s*x),duration:e}}}const jA=12;function NA(e,t,n){let s=n;for(let l=1;l<jA;l++)s=s-e(s)/t(s);return s}function ix(e,t){return e*Math.sqrt(1-t*t)}const SA=["duration","bounce"],kA=["stiffness","damping","mass"];function zw(e,t){return t.some(n=>e[n]!==void 0)}function TA(e){let t={velocity:Ot.velocity,stiffness:Ot.stiffness,damping:Ot.damping,mass:Ot.mass,isResolvedFromDuration:!1,...e};if(!zw(e,kA)&&zw(e,SA))if(e.visualDuration){const n=e.visualDuration,s=2*Math.PI/(n*1.2),l=s*s,c=2*Js(.05,1,1-(e.bounce||0))*Math.sqrt(l);t={...t,mass:Ot.mass,stiffness:l,damping:c}}else{const n=_A(e);t={...t,...n,mass:Ot.mass},t.isResolvedFromDuration=!0}return t}function cN(e=Ot.visualDuration,t=Ot.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:s,restDelta:l}=n;const c=n.keyframes[0],d=n.keyframes[n.keyframes.length-1],m={done:!1,value:c},{stiffness:f,damping:x,mass:y,duration:v,velocity:_,isResolvedFromDuration:S}=TA({...n,velocity:-Ks(n.velocity||0)}),E=_||0,k=x/(2*Math.sqrt(f*y)),P=d-c,T=Ks(Math.sqrt(f/y)),A=Math.abs(P)<5;s||(s=A?Ot.restSpeed.granular:Ot.restSpeed.default),l||(l=A?Ot.restDelta.granular:Ot.restDelta.default);let I;if(k<1){const B=ix(T,k);I=G=>{const K=Math.exp(-k*T*G);return d-K*((E+k*T*P)/B*Math.sin(B*G)+P*Math.cos(B*G))}}else if(k===1)I=B=>d-Math.exp(-T*B)*(P+(E+T*P)*B);else{const B=T*Math.sqrt(k*k-1);I=G=>{const K=Math.exp(-k*T*G),W=Math.min(B*G,300);return d-K*((E+k*T*P)*Math.sinh(W)+B*P*Math.cosh(W))/B}}const D={calculatedDuration:S&&v||null,next:B=>{const G=I(B);if(S)m.done=B>=v;else{let K=0;k<1&&(K=B===0?Ys(E):lN(I,B,G));const W=Math.abs(K)<=s,se=Math.abs(d-G)<=l;m.done=W&&se}return m.value=m.done?d:G,m},toString:()=>{const B=Math.min(T1(D),Yg),G=C1(K=>D.next(B*K).value,B,30);return B+"ms "+G}};return D}function Uw({keyframes:e,velocity:t=0,power:n=.8,timeConstant:s=325,bounceDamping:l=10,bounceStiffness:c=500,modifyTarget:d,min:m,max:f,restDelta:x=.5,restSpeed:y}){const v=e[0],_={done:!1,value:v},S=W=>m!==void 0&&W<m||f!==void 0&&W>f,E=W=>m===void 0?f:f===void 0||Math.abs(m-W)<Math.abs(f-W)?m:f;let k=n*t;const P=v+k,T=d===void 0?P:d(P);T!==P&&(k=T-v);const A=W=>-k*Math.exp(-W/s),I=W=>T+A(W),D=W=>{const se=A(W),de=I(W);_.done=Math.abs(se)<=x,_.value=_.done?T:de};let B,G;const K=W=>{S(_.value)&&(B=W,G=cN({keyframes:[_.value,E(_.value)],velocity:lN(I,W,_.value),damping:l,stiffness:c,restDelta:x,restSpeed:y}))};return K(0),{calculatedDuration:null,next:W=>{let se=!1;return!G&&B===void 0&&(se=!0,D(W),K(W)),B!==void 0&&W>=B?G.next(W-B):(!se&&D(W),_)}}}const CA=zu(.42,0,1,1),PA=zu(0,0,.58,1),uN=zu(.42,0,.58,1),EA=e=>Array.isArray(e)&&typeof e[0]!="number",AA={linear:ii,easeIn:CA,easeInOut:uN,easeOut:PA,circIn:w0,circInOut:W1,circOut:$1,backIn:v0,backInOut:z1,backOut:V1,anticipate:U1},$w=e=>{if(f0(e)){o1(e.length===4);const[t,n,s,l]=e;return zu(t,n,s,l)}else if(typeof e=="string")return AA[e];return e};function RA(e,t,n){const s=[],l=n||oN,c=e.length-1;for(let d=0;d<c;d++){let m=l(e[d],e[d+1]);if(t){const f=Array.isArray(t)?t[d]||ii:t;m=Uu(f,m)}s.push(m)}return s}function LA(e,t,{clamp:n=!0,ease:s,mixer:l}={}){const c=e.length;if(o1(c===t.length),c===1)return()=>t[0];if(c===2&&t[0]===t[1])return()=>t[1];const d=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),t=[...t].reverse());const m=RA(t,s,l),f=m.length,x=y=>{if(d&&y<e[0])return t[0];let v=0;if(f>1)for(;v<e.length-2&&!(y<e[v+1]);v++);const _=Bl(e[v],e[v+1],y);return m[v](_)};return n?y=>x(Js(e[0],e[c-1],y)):x}function IA(e,t){const n=e[e.length-1];for(let s=1;s<=t;s++){const l=Bl(0,t,s);e.push(Rt(n,1,l))}}function MA(e){const t=[0];return IA(t,e.length-1),t}function OA(e,t){return e.map(n=>n*t)}function DA(e,t){return e.map(()=>t||uN).splice(0,e.length-1)}function dm({duration:e=300,keyframes:t,times:n,ease:s="easeInOut"}){const l=EA(s)?s.map($w):$w(s),c={done:!1,value:t[0]},d=OA(n&&n.length===t.length?n:MA(t),e),m=LA(d,t,{ease:Array.isArray(l)?l:DA(t,l)});return{calculatedDuration:e,next:f=>(c.value=m(f),c.done=f>=e,c)}}const FA=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Nt.update(t,!0),stop:()=>ia(t),now:()=>cn.isProcessing?cn.timestamp:ms.now()}},BA={decay:Uw,inertia:Uw,tween:dm,keyframes:dm,spring:cN},VA=e=>e/100;class k0 extends rN{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:f}=this.options;f&&f()};const{name:n,motionValue:s,element:l,keyframes:c}=this.options,d=(l==null?void 0:l.KeyframeResolver)||N0,m=(f,x)=>this.onKeyframesResolved(f,x);this.resolver=new d(c,m,n,s,l),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:s=0,repeatDelay:l=0,repeatType:c,velocity:d=0}=this.options,m=m0(n)?n:BA[n]||dm;let f,x;m!==dm&&typeof t[0]!="number"&&(f=Uu(VA,oN(t[0],t[1])),t=[0,100]);const y=m({...this.options,keyframes:t});c==="mirror"&&(x=m({...this.options,keyframes:[...t].reverse(),velocity:-d})),y.calculatedDuration===null&&(y.calculatedDuration=T1(y));const{calculatedDuration:v}=y,_=v+l,S=_*(s+1)-l;return{generator:y,mirroredGenerator:x,mapPercentToKeyframes:f,calculatedDuration:v,resolvedDuration:_,totalDuration:S}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:s}=this;if(!s){const{keyframes:W}=this.options;return{done:!0,value:W[W.length-1]}}const{finalKeyframe:l,generator:c,mirroredGenerator:d,mapPercentToKeyframes:m,keyframes:f,calculatedDuration:x,totalDuration:y,resolvedDuration:v}=s;if(this.startTime===null)return c.next(0);const{delay:_,repeat:S,repeatType:E,repeatDelay:k,onUpdate:P}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-y/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const T=this.currentTime-_*(this.speed>=0?1:-1),A=this.speed>=0?T<0:T>y;this.currentTime=Math.max(T,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=y);let I=this.currentTime,D=c;if(S){const W=Math.min(this.currentTime,y)/v;let se=Math.floor(W),de=W%1;!de&&W>=1&&(de=1),de===1&&se--,se=Math.min(se,S+1),!!(se%2)&&(E==="reverse"?(de=1-de,k&&(de-=k/v)):E==="mirror"&&(D=d)),I=Js(0,1,de)*v}const B=A?{done:!1,value:f[0]}:D.next(I);m&&(B.value=m(B.value));let{done:G}=B;!A&&x!==null&&(G=this.speed>=0?this.currentTime>=y:this.currentTime<=0);const K=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&G);return K&&l!==void 0&&(B.value=Vm(f,this.options,l)),P&&P(B.value),K&&this.finish(),B}get duration(){const{resolved:t}=this;return t?Ks(t.calculatedDuration):0}get time(){return Ks(this.currentTime)}set time(t){t=Ys(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Ks(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=FA,onPlay:n,startTime:s}=this.options;this.driver||(this.driver=t(c=>this.tick(c))),n&&n();const l=this.driver.now();this.holdTime!==null?this.startTime=l-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=l):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const zA=new Set(["opacity","clipPath","filter","transform"]);function UA(e,t,n,{delay:s=0,duration:l=300,repeat:c=0,repeatType:d="loop",ease:m="easeInOut",times:f}={}){const x={[t]:n};f&&(x.offset=f);const y=E1(m,l);return Array.isArray(y)&&(x.easing=y),e.animate(x,{delay:s,duration:l,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:c+1,direction:d==="reverse"?"alternate":"normal"})}const $A=Qx(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),hm=10,WA=2e4;function HA(e){return m0(e.type)||e.type==="spring"||!P1(e.ease)}function qA(e,t){const n=new k0({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:e[0]};const l=[];let c=0;for(;!s.done&&c<WA;
vendor: 4,522 bytes, line 213
213)s=n.sample(c),l.push(s.value),c+=hm;return{times:void 0,keyframes:l,duration:c-hm,ease:"linear"}}const dN={anticipate:U1,backInOut:z1,circInOut:W1};function ZA(e){return e in dN}class Ww extends rN{constructor(t){super(t);const{name:n,motionValue:s,element:l,keyframes:c}=this.options;this.resolver=new sN(c,(d,m)=>this.onKeyframesResolved(d,m),n,s,l),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:s=300,times:l,ease:c,type:d,motionValue:m,name:f,startTime:x}=this.options;if(!m.owner||!m.owner.current)return!1;if(typeof c=="string"&&cm()&&ZA(c)&&(c=dN[c]),HA(this.options)){const{onComplete:v,onUpdate:_,motionValue:S,element:E,...k}=this.options,P=qA(t,k);t=P.keyframes,t.length===1&&(t[1]=t[0]),s=P.duration,l=P.times,c=P.ease,d="keyframes"}const y=UA(m.owner.current,f,t,{...this.options,duration:s,times:l,ease:c});return y.startTime=x??this.calcStartTime(),this.pendingTimeline?(Cw(y,this.pendingTimeline),this.pendingTimeline=void 0):y.onfinish=()=>{const{onComplete:v}=this.options;m.set(Vm(t,this.options,n)),v&&v(),this.cancel(),this.resolveFinishedPromise()},{animation:y,duration:s,times:l,type:d,ease:c,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Ks(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Ks(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.currentTime=Ys(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return ii;const{animation:s}=n;Cw(s,t)}return ii}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:s,duration:l,type:c,ease:d,times:m}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:x,onUpdate:y,onComplete:v,element:_,...S}=this.options,E=new k0({...S,keyframes:s,duration:l,type:c,ease:d,times:m,isGenerator:!0}),k=Ys(this.time);x.setWithVelocity(E.sample(k-hm).value,E.sample(k).value,hm)}const{onStop:f}=this.options;f&&f(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:s,repeatDelay:l,repeatType:c,damping:d,type:m}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:x}=n.owner.getProps();return $A()&&s&&zA.has(s)&&!f&&!x&&!l&&c!=="mirror"&&d!==0&&m!=="inertia"}}const GA={type:"spring",stiffness:500,damping:25,restSpeed:10},YA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),KA={type:"keyframes",duration:.8},JA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},QA=(e,{keyframes:t})=>t.length>2?KA:xo.has(e)?e.startsWith("scale")?YA(t[1]):GA:JA;function XA({when:e,delay:t,delayChildren:n,staggerChildren:s,staggerDirection:l,repeat:c,repeatType:d,repeatDelay:m,from:f,elapsed:x,...y}){return!!Object.keys(y).length}const T0=(e,t,n,s={},l,c)=>d=>{const m=h0(s,e)||{},f=m.delay||s.delay||0;let{elapsed:x=0}=s;x=x-Ys(f);let y={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...m,delay:-x,onUpdate:_=>{t.set(_),m.onUpdate&&m.onUpdate(_)},onComplete:()=>{d(),m.onComplete&&m.onComplete()},name:e,motionValue:t,element:c?void 0:l};XA(m)||(y={...y,...QA(e,y)}),y.duration&&(y.duration=Ys(y.duration)),y.repeatDelay&&(y.repeatDelay=Ys(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(y.duration=0,y.delay===0&&(v=!0)),v&&!c&&t.get()!==void 0){const _=Vm(y.keyframes,m);if(_!==void 0)return Nt.update(()=>{y.onUpdate(_),y.onComplete()}),new yE([])}return!c&&Ww.supports(y)?new Ww(y):new k0(y)};function e3({protectedKeys:e,needsAnimating:t},n){const s=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,s}
vendor: 52,020 bytes, line 213
213function hN(e,t,{delay:n=0,transitionOverride:s,type:l}={}){var c;let{transition:d=e.getDefaultTransition(),transitionEnd:m,...f}=t;s&&(d=s);const x=[],y=l&&e.animationState&&e.animationState.getState()[l];for(const v in f){const _=e.getValue(v,(c=e.latestValues[v])!==null&&c!==void 0?c:null),S=f[v];if(S===void 0||y&&e3(y,v))continue;const E={delay:n,...h0(d||{},v)};let k=!1;if(window.MotionHandoffAnimation){const T=O1(e);if(T){const A=window.MotionHandoffAnimation(T,v,Nt);A!==null&&(E.startTime=A,k=!0)}}Jg(e,v),_.start(T0(v,_,S,e.shouldReduceMotion&&I1.has(v)?{type:!1}:E,e,k));const P=_.animation;P&&x.push(P)}return m&&Promise.all(x).then(()=>{Nt.update(()=>{m&&RE(e,m)})}),x}function sx(e,t,n={}){var s;const l=Bm(e,t,n.type==="exit"?(s=e.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:c=e.getDefaultTransition()||{}}=l||{};n.transitionOverride&&(c=n.transitionOverride);const d=l?()=>Promise.all(hN(e,l,n)):()=>Promise.resolve(),m=e.variantChildren&&e.variantChildren.size?(x=0)=>{const{delayChildren:y=0,staggerChildren:v,staggerDirection:_}=c;return t3(e,t,y+x,v,_,n)}:()=>Promise.resolve(),{when:f}=c;if(f){const[x,y]=f==="beforeChildren"?[d,m]:[m,d];return x().then(()=>y())}else return Promise.all([d(),m(n.delay)])}function t3(e,t,n=0,s=0,l=1,c){const d=[],m=(e.variantChildren.size-1)*s,f=l===1?(x=0)=>x*s:(x=0)=>m-x*s;return Array.from(e.variantChildren).sort(n3).forEach((x,y)=>{x.notify("AnimationStart",t),d.push(sx(x,t,{...c,delay:n+f(y)}).then(()=>x.notify("AnimationComplete",t)))}),Promise.all(d)}function n3(e,t){return e.sortNodePosition(t)}function i3(e,t,n={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const l=t.map(c=>sx(e,c,n));s=Promise.all(l)}else if(typeof t=="string")s=sx(e,t,n);else{const l=typeof t=="function"?Bm(e,t,n.custom):t;s=Promise.all(hN(e,l,n))}return s.then(()=>{e.notify("AnimationComplete",t)})}const s3=e0.length;function mN(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?mN(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<s3;n++){const s=e0[n],l=e.props[s];(ju(l)||l===!1)&&(t[s]=l)}return t}const r3=[...Xx].reverse(),a3=Xx.length;function o3(e){return t=>Promise.all(t.map(({animation:n,options:s})=>i3(e,n,s)))}function l3(e){let t=o3(e),n=Hw(),s=!0;const l=f=>(x,y)=>{var v;const _=Bm(e,y,f==="exit"?(v=e.presenceContext)===null||v===void 0?void 0:v.custom:void 0);if(_){const{transition:S,transitionEnd:E,...k}=_;x={...x,...k,...E}}return x};function c(f){t=f(e)}function d(f){const{props:x}=e,y=mN(e.parent)||{},v=[],_=new Set;let S={},E=1/0;for(let P=0;P<a3;P++){const T=r3[P],A=n[T],I=x[T]!==void 0?x[T]:y[T],D=ju(I),B=T===f?A.isActive:null;B===!1&&(E=P);let G=I===y[T]&&I!==x[T]&&D;if(G&&s&&e.manuallyAnimateOnMount&&(G=!1),A.protectedKeys={...S},!A.isActive&&B===null||!I&&!A.prevProp||Dm(I)||typeof I=="boolean")continue;const K=c3(A.prevProp,I);let W=K||T===f&&A.isActive&&!G&&D||P>E&&D,se=!1;const de=Array.isArray(I)?I:[I];let fe=de.reduce(l(T),{});B===!1&&(fe={});const{prevResolvedValues:ve={}}=A,Ae={...ve,...fe},xe=he=>{W=!0,_.has(he)&&(se=!0,_.delete(he)),A.needsAnimating[he]=!0;const Y=e.getValue(he);Y&&(Y.liveStyle=!1)};for(const he in Ae){const Y=fe[he],me=ve[he];if(S.hasOwnProperty(he))continue;let Z=!1;Gg(Y)&&Gg(me)?Z=!k1(Y,me):Z=Y!==me,Z?Y!=null?xe(he):_.add(he):Y!==void 0&&_.has(he)?xe(he):A.protectedKeys[he]=!0}A.prevProp=I,A.prevResolvedValues=fe,A.isActive&&(S={...S,...fe}),s&&e.blockInitialAnimation&&(W=!1),W&&(!(G&&K)||se)&&v.push(...de.map(he=>({animation:he,options:{type:T}})))}if(_.size){const P={};_.forEach(T=>{const A=e.getBaseTarget(T),I=e.getValue(T);I&&(I.liveStyle=!0),P[T]=A??null}),v.push({animation:P})}let k=!!v.length;return s&&(x.initial===!1||x.initial===x.animate)&&!e.manuallyAnimateOnMount&&(k=!1),s=!1,k?t(v):Promise.resolve()}function m(f,x){var y;if(n[f].isActive===x)return Promise.resolve();(y=e.variantChildren)===null||y===void 0||y.forEach(_=>{var S;return(S=_.animationState)===null||S===void 0?void 0:S.setActive(f,x)}),n[f].isActive=x;const v=d(f);for(const _ in n)n[_].protectedKeys={};return v}return{animateChanges:d,setActive:m,setAnimateFunction:c,getState:()=>n,reset:()=>{n=Hw(),s=!0}}}function c3(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!k1(t,e):!1}function $a(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Hw(){return{animate:$a(!0),whileInView:$a(),whileHover:$a(),whileTap:$a(),whileDrag:$a(),whileFocus:$a(),exit:$a()}}class ca{constructor(t){this.isMounted=!1,this.node=t}update(){}}class u3 extends ca{constructor(t){super(t),t.animationState||(t.animationState=l3(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Dm(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let d3=0;class h3 extends ca{constructor(){super(...arguments),this.id=d3++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;const l=this.node.animationState.setActive("exit",!t);n&&!t&&l.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const m3={animation:{Feature:u3},exit:{Feature:h3}};function Tu(e,t,n,s={passive:!0}){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n)}function $u(e){return{point:{x:e.pageX,y:e.pageY}}}const f3=e=>t=>p0(t)&&e(t,$u(t));function gu(e,t,n,s){return Tu(e,t,f3(n),s)}const qw=(e,t)=>Math.abs(e-t);function p3(e,t){const n=qw(e.x,t.x),s=qw(e.y,t.y);return Math.sqrt(n**2+s**2)}class fN{constructor(t,n,{transformPagePoint:s,contextWindow:l,dragSnapToOrigin:c=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=Yp(this.lastMoveEventInfo,this.history),_=this.startEvent!==null,S=p3(v.offset,{x:0,y:0})>=3;if(!_&&!S)return;const{point:E}=v,{timestamp:k}=cn;this.history.push({...E,timestamp:k});const{onStart:P,onMove:T}=this.handlers;_||(P&&P(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),T&&T(this.lastMoveEvent,v)},this.handlePointerMove=(v,_)=>{this.lastMoveEvent=v,this.lastMoveEventInfo=Gp(_,this.transformPagePoint),Nt.update(this.updatePoint,!0)},this.handlePointerUp=(v,_)=>{this.end();const{onEnd:S,onSessionEnd:E,resumeAnimation:k}=this.handlers;if(this.dragSnapToOrigin&&k&&k(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const P=Yp(v.type==="pointercancel"?this.lastMoveEventInfo:Gp(_,this.transformPagePoint),this.history);this.startEvent&&S&&S(v,P),E&&E(v,P)},!p0(t))return;this.dragSnapToOrigin=c,this.handlers=n,this.transformPagePoint=s,this.contextWindow=l||window;const d=$u(t),m=Gp(d,this.transformPagePoint),{point:f}=m,{timestamp:x}=cn;this.history=[{...f,timestamp:x}];const{onSessionStart:y}=n;y&&y(t,Yp(m,this.history)),this.removeListeners=Uu(gu(this.contextWindow,"pointermove",this.handlePointerMove),gu(this.contextWindow,"pointerup",this.handlePointerUp),gu(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),ia(this.updatePoint)}}function Gp(e,t){return t?{point:t(e.point)}:e}function Zw(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yp({point:e},t){return{point:e,delta:Zw(e,pN(t)),offset:Zw(e,g3(t)),velocity:x3(t,.1)}}function g3(e){return e[0]}function pN(e){return e[e.length-1]}function x3(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,s=null;const l=pN(e);for(;n>=0&&(s=e[n],!(l.timestamp-s.timestamp>Ys(t)));)n--;if(!s)return{x:0,y:0};const c=Ks(l.timestamp-s.timestamp);if(c===0)return{x:0,y:0};const d={x:(l.x-s.x)/c,y:(l.y-s.y)/c};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}const gN=1e-4,y3=1-gN,v3=1+gN,xN=.01,w3=0-xN,b3=0+xN;function ri(e){return e.max-e.min}function _3(e,t,n){return Math.abs(e-t)<=n}function Gw(e,t,n,s=.5){e.origin=s,e.originPoint=Rt(t.min,t.max,e.origin),e.scale=ri(n)/ri(t),e.translate=Rt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=y3&&e.scale<=v3||isNaN(e.scale))&&(e.scale=1),(e.translate>=w3&&e.translate<=b3||isNaN(e.translate))&&(e.translate=0)}function xu(e,t,n,s){Gw(e.x,t.x,n.x,s?s.originX:void 0),Gw(e.y,t.y,n.y,s?s.originY:void 0)}function Yw(e,t,n){e.min=n.min+t.min,e.max=e.min+ri(t)}function j3(e,t,n){Yw(e.x,t.x,n.x),Yw(e.y,t.y,n.y)}function Kw(e,t,n){e.min=t.min-n.min,e.max=e.min+ri(t)}function yu(e,t,n){Kw(e.x,t.x,n.x),Kw(e.y,t.y,n.y)}function N3(e,{min:t,max:n},s){return t!==void 0&&e<t?e=s?Rt(t,e,s.min):Math.max(e,t):n!==void 0&&e>n&&(e=s?Rt(n,e,s.max):Math.min(e,n)),e}function Jw(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function S3(e,{top:t,left:n,bottom:s,right:l}){return{x:Jw(e.x,n,l),y:Jw(e.y,t,s)}}function Qw(e,t){let n=t.min-e.min,s=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,s]=[s,n]),{min:n,max:s}}function k3(e,t){return{x:Qw(e.x,t.x),y:Qw(e.y,t.y)}}function T3(e,t){let n=.5;const s=ri(e),l=ri(t);return l>s?n=Bl(t.min,t.max-s,e.min):s>l&&(n=Bl(e.min,e.max-l,t.min)),Js(0,1,n)}function C3(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const rx=.35;function P3(e=rx){return e===!1?e=0:e===!0&&(e=rx),{x:Xw(e,"left","right"),y:Xw(e,"top","bottom")}}function Xw(e,t,n){return{min:eb(e,t),max:eb(e,n)}}function eb(e,t){return typeof e=="number"?e:e[t]||0}const tb=()=>({translate:0,scale:1,origin:0,originPoint:0}),_l=()=>({x:tb(),y:tb()}),nb=()=>({min:0,max:0}),zt=()=>({x:nb(),y:nb()});function _i(e){return[e("x"),e("y")]}function yN({top:e,left:t,right:n,bottom:s}){return{x:{min:t,max:n},y:{min:e,max:s}}}function E3({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function A3(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function Kp(e){return e===void 0||e===1}function ax({scale:e,scaleX:t,scaleY:n}){return!Kp(e)||!Kp(t)||!Kp(n)}function Ha(e){return ax(e)||vN(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function vN(e){return ib(e.x)||ib(e.y)}function ib(e){return e&&e!=="0%"}function mm(e,t,n){const s=e-n,l=t*s;return n+l}function sb(e,t,n,s,l){return l!==void 0&&(e=mm(e,l,s)),mm(e,n,s)+t}function ox(e,t=0,n=1,s,l){e.min=sb(e.min,t,n,s,l),e.max=sb(e.max,t,n,s,l)}function wN(e,{x:t,y:n}){ox(e.x,t.translate,t.scale,t.originPoint),ox(e.y,n.translate,n.scale,n.originPoint)}const rb=.999999999999,ab=1.0000000000001;function R3(e,t,n,s=!1){const l=n.length;if(!l)return;t.x=t.y=1;let c,d;for(let m=0;m<l;m++){c=n[m],d=c.projectionDelta;const{visualElement:f}=c.options;f&&f.props.style&&f.props.style.display==="contents"||(s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Nl(e,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),d&&(t.x*=d.x.scale,t.y*=d.y.scale,wN(e,d)),s&&Ha(c.latestValues)&&Nl(e,c.latestValues))}t.x<ab&&t.x>rb&&(t.x=1),t.y<ab&&t.y>rb&&(t.y=1)}function jl(e,t){e.min=e.min+t,e.max=e.max+t}function ob(e,t,n,s,l=.5){const c=Rt(e.min,e.max,l);ox(e,t,n,c,s)}function Nl(e,t){ob(e.x,t.x,t.scaleX,t.scale,t.originX),ob(e.y,t.y,t.scaleY,t.scale,t.originY)}function bN(e,t){return yN(A3(e.getBoundingClientRect(),t))}function L3(e,t,n){const s=bN(e,n),{scroll:l}=t;return l&&(jl(s.x,l.offset.x),jl(s.y,l.offset.y)),s}const _N=({current:e})=>e?e.ownerDocument.defaultView:null,I3=new WeakMap;class M3{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=zt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const l=y=>{const{dragSnapToOrigin:v}=this.getProps();v?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor($u(y).point)},c=(y,v)=>{const{drag:_,dragPropagation:S,onDragStart:E}=this.getProps();if(_&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=TE(_),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),_i(P=>{let T=this.getAxisMotionValue(P).get()||0;if(hs.test(T)){const{projection:A}=this.visualElement;if(A&&A.layout){const I=A.layout.layoutBox[P];I&&(T=ri(I)*(parseFloat(T)/100))}}this.originPoint[P]=T}),E&&Nt.postRender(()=>E(y,v)),Jg(this.visualElement,"transform");const{animationState:k}=this.visualElement;k&&k.setActive("whileDrag",!0)},d=(y,v)=>{const{dragPropagation:_,dragDirectionLock:S,onDirectionLock:E,onDrag:k}=this.getProps();if(!_&&!this.openDragLock)return;const{offset:P}=v;if(S&&this.currentDirection===null){this.currentDirection=O3(P),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",v.point,P),this.updateAxis("y",v.point,P),this.visualElement.render(),k&&k(y,v)},m=(y,v)=>this.stop(y,v),f=()=>_i(y=>{var v;return this.getAnimationState(y)==="paused"&&((v=this.getAxisMotionValue(y).animation)===null||v===void 0?void 0:v.play())}),{dragSnapToOrigin:x}=this.getProps();this.panSession=new fN(t,{onSessionStart:l,onStart:c,onMove:d,onSessionEnd:m,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:x,contextWindow:_N(this.visualElement)})}stop(t,n){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:l}=n;this.startAnimation(l);const{onDragEnd:c}=this.getProps();c&&Nt.postRender(()=>c(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,s){const{drag:l}=this.getProps();if(!s||!Ah(t,l,this.currentDirection))return;const c=this.getAxisMotionValue(t);let d=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(d=N3(d,this.constraints[t],this.elastic[t])),c.set(d)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:s}=this.getProps(),l=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,c=this.constraints;n&&wl(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&l?this.constraints=S3(l.layoutBox,n):this.constraints=!1,this.elastic=P3(s),c!==this.constraints&&l&&this.constraints&&!this.hasMutatedConstraints&&_i(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=C3(l.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!wl(t))return!1;const s=t.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const c=L3(s,l.root,this.visualElement.getTransformPagePoint());let d=k3(l.layout.layoutBox,c);if(n){const m=n(E3(d));this.hasMutatedConstraints=!!m,m&&(d=yN(m))}return d}startAnimation(t){const{drag:n,dragMomentum:s,dragElastic:l,dragTransition:c,dragSnapToOrigin:d,onDragTransitionEnd:m}=this.getProps(),f=this.constraints||{},x=_i(y=>{if(!Ah(y,n,this.currentDirection))return;let v=f&&f[y]||{};d&&(v={min:0,max:0});const _=l?200:1e6,S=l?40:1e7,E={type:"inertia",velocity:s?t[y]:0,bounceStiffness:_,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...c,...v};return this.startAxisValueAnimation(y,E)});return Promise.all(x).then(m)}startAxisValueAnimation(t,n){const s=this.getAxisMotionValue(t);return Jg(this.visualElement,t),s.start(T0(t,s,0,n,this.visualElement,!1))}stopAnimation(){_i(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){_i(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,s=this.visualElement.getProps(),l=s[n];return l||this.visualElement.getValue(t,(s.initial?s.initial[t]:void 0)||0)}snapToCursor(t){_i(n=>{const{drag:s}=this.getProps();if(!Ah(n,s,this.currentDirection))return;const{projection:l}=this.visualElement,c=this.getAxisMotionValue(n);if(l&&l.layout){const{min:d,max:m}=l.layout.layoutBox[n];c.set(t[n]-Rt(d,m,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!wl(n)||!s||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};_i(d=>{const m=this.getAxisMotionValue(d);if(m&&this.constraints!==!1){const f=m.get();l[d]=T3({min:f,max:f},this.constraints[d])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),_i(d=>{if(!Ah(d,t,null))return;const m=this.getAxisMotionValue(d),{min:f,max:x}=this.constraints[d];m.set(Rt(f,x,l[d]))})}addListeners(){if(!this.visualElement.current)return;I3.set(this.visualElement,this);const t=this.visualElement.current,n=gu(t,"pointerdown",f=>{const{drag:x,dragListener:y=!0}=this.getProps();x&&y&&this.start(f)}),s=()=>{const{dragConstraints:f}=this.getProps();wl(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,c=l.addEventListener("measure",s);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),Nt.read(s);const d=Tu(window,"resize",()=>this.scalePositionWithinConstraints()),m=l.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:x})=>{this.isDragging&&x&&(_i(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=f[y].translate,v.set(v.get()+f[y].translate))}),this.visualElement.render())}));return()=>{d(),n(),c(),m&&m()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:l=!1,dragConstraints:c=!1,dragElastic:d=rx,dragMomentum:m=!0}=t;return{...t,drag:n,dragDirectionLock:s,dragPropagation:l,dragConstraints:c,dragElastic:d,dragMomentum:m}}}function Ah(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function O3(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class D3 extends ca{constructor(t){super(t),this.removeGroupControls=ii,this.removeListeners=ii,this.controls=new M3(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ii}unmount(){this.removeGroupControls(),this.removeListeners()}}const lb=e=>(t,n)=>{e&&Nt.postRender(()=>e(t,n))};class F3 extends ca{constructor(){super(...arguments),this.removePointerDownListener=ii}onPointerDown(t){this.session=new fN(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:_N(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:s,onPanEnd:l}=this.node.getProps();return{onSessionStart:lb(t),onStart:lb(n),onMove:s,onEnd:(c,d)=>{delete this.session,l&&Nt.postRender(()=>l(c,d))}}}mount(){this.removePointerDownListener=gu(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Zh={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function cb(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const eu={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if($e.test(e))e=parseFloat(e);else return e;const n=cb(e,t.target.x),s=cb(e,t.target.y);return`${n}% ${s}%`}},B3={correct:(e,{treeScale:t,projectionDelta:n})=>{const s=e,l=sa.parse(e);if(l.length>5)return s;const c=sa.createTransformer(e),d=typeof l[0]!="number"?1:0,m=n.x.scale*t.x,f=n.y.scale*t.y;l[0+d]/=m,l[1+d]/=f;const x=Rt(m,f,.5);return typeof l[2+d]=="number"&&(l[2+d]/=x),typeof l[3+d]=="number"&&(l[3+d]/=x),c(l)}};class V3 extends N.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:s,layoutId:l}=this.props,{projection:c}=t;aE(z3),c&&(n.group&&n.group.add(c),s&&s.register&&l&&s.register(c),c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),Zh.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:s,drag:l,isPresent:c}=this.props,d=s.projection;return d&&(d.isPresent=c,l||t.layoutDependency!==n||n===void 0?d.willUpdate():this.safeToRemove(),t.isPresent!==c&&(c?d.promote():d.relegate()||Nt.postRender(()=>{const m=d.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),n0.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:l}=t;l&&(l.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(l),s&&s.deregister&&s.deregister(l))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function jN(e){const[t,n]=r1(),s=N.useContext(Gx);return i.jsx(V3,{...e,layoutGroup:s,switchLayoutGroup:N.useContext(m1),isPresent:t,safeToRemove:n})}const z3={borderRadius:{...eu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eu,borderTopRightRadius:eu,borderBottomLeftRadius:eu,borderBottomRightRadius:eu,boxShadow:B3};function U3(e,t,n){const s=Nn(e)?e:Su(e);return s.start(T0("",s,t,n)),s.animation}function $3(e){return e instanceof SVGElement&&e.tagName!=="svg"}const W3=(e,t)=>e.depth-t.depth;class H3{constructor(){this.children=[],this.isDirty=!1}add(t){g0(this.children,t),this.isDirty=!0}remove(t){x0(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(W3),this.isDirty=!1,this.children.forEach(t)}}function q3(e,t){const n=ms.now(),s=({timestamp:l})=>{const c=l-n;c>=t&&(ia(s),e(c-t))};return Nt.read(s,!0),()=>ia(s)}const NN=["TopLeft","TopRight","BottomLeft","BottomRight"],Z3=NN.length,ub=e=>typeof e=="string"?parseFloat(e):e,db=e=>typeof e=="number"||$e.test(e);function G3(e,t,n,s,l,c){l?(e.opacity=Rt(0,n.opacity!==void 0?n.opacity:1,Y3(s)),e.opacityExit=Rt(t.opacity!==void 0?t.opacity:1,0,K3(s))):c&&(e.opacity=Rt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let d=0;d<Z3;d++){const m=`border${NN[d]}Radius`;let f=hb(t,m),x=hb(n,m);if(f===void 0&&x===void 0)continue;f||(f=0),x||(x=0),f===0||x===0||db(f)===db(x)?(e[m]=Math.max(Rt(ub(f),ub(x),s),0),(hs.test(x)||hs.test(f))&&(e[m]+="%")):e[m]=x}(t.rotate||n.rotate)&&(e.rotate=Rt(t.rotate||0,n.rotate||0,s))}function hb(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Y3=SN(0,.5,$1),K3=SN(.5,.95,ii);function SN(e,t,n){return s=>s<e?0:s>t?1:n(Bl(e,t,s))}function mb(e,t){e.min=t.min,e.max=t.max}function wi(e,t){mb(e.x,t.x),mb(e.y,t.y)}function fb(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function pb(e,t,n,s,l){return e-=t,e=mm(e,1/n,s),l!==void 0&&(e=mm(e,1/l,s)),e}function J3(e,t=0,n=1,s=.5,l,c=e,d=e){if(hs.test(t)&&(t=parseFloat(t),t=Rt(d.min,d.max,t/100)-d.min),typeof t!="number")return;let m=Rt(c.min,c.max,s);e===c&&(m-=t),e.min=pb(e.min,t,n,m,l),e.max=pb(e.max,t,n,m,l)}function gb(e,t,[n,s,l],c,d){J3(e,t[n],t[s],t[l],t.scale,c,d)}const Q3=["x","scaleX","originX"],X3=["y","scaleY","originY"];function xb(e,t,n,s){gb(e.x,t,Q3,n?n.x:void 0,s?s.x:void 0),gb(e.y,t,X3,n?n.y:void 0,s?s.y:void 0)}function yb(e){return e.translate===0&&e.scale===1}function kN(e){return yb(e.x)&&yb(e.y)}function vb(e,t){return e.min===t.min&&e.max===t.max}function eR(e,t){return vb(e.x,t.x)&&vb(e.y,t.y)}function wb(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function TN(e,t){return wb(e.x,t.x)&&wb(e.y,t.y)}function bb(e){return ri(e.x)/ri(e.y)}function _b(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class tR{constructor(){this.members=[]}add(t){g0(this.members,t),t.scheduleRender()}remove(t){if(x0(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(l=>t===l);if(n===0)return!1;let s;for(let l=n;l>=0;l--){const c=this.members[l];if(c.isPresent!==!1){s=c;break}}return s?(this.promote(s),!0):!1}promote(t,n){const s=this.lead;if(t!==s&&(this.prevLead=s,this.lead=t,t.show(),s)){s.instance&&s.scheduleRender(),t.scheduleRender(),t.resumeFrom=s,n&&(t.resumeFrom.preserveOpacity=!0),s.snapshot&&(t.snapshot=s.snapshot,t.snapshot.latestValues=s.animationValues||s.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:l}=t.options;l===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:s}=t;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function nR(e,t,n){let s="";const l=e.x.translate/t.x,c=e.y.translate/t.y,d=(n==null?void 0:n.z)||0;if((l||c||d)&&(s=`translate3d(${l}px, ${c}px, ${d}px) `),(t.x!==1||t.y!==1)&&(s+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:x,rotate:y,rotateX:v,rotateY:_,skewX:S,skewY:E}=n;x&&(s=`perspective(${x}px) ${s}`),y&&(s+=`rotate(${y}deg) `),v&&(s+=`rotateX(${v}deg) `),_&&(s+=`rotateY(${_}deg) `),S&&(s+=`skewX(${S}deg) `),E&&(s+=`skewY(${E}deg) `)}const m=e.x.scale*t.x,f=e.y.scale*t.y;return(m!==1||f!==1)&&(s+=`scale(${m}, ${f})`),s||"none"}const qa={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},lu=typeof window<"u"&&window.MotionDebug!==void 0,Jp=["","X","Y","Z"],iR={visibility:"hidden"},jb=1e3;let sR=0;function Qp(e,t,n,s){const{latestValues:l}=t;l[e]&&(n[e]=l[e],t.setStaticValue(e,0),s&&(s[e]=0))}function CN(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=O1(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:l,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Nt,!(l||c))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&CN(s)}function PN({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:s,resetTransform:l}){return class{constructor(d={},m=t==null?void 0:t()){this.id=sR++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,lu&&(qa.totalNodes=qa.resolvedTargetDeltas=qa.recalculatedProjection=0),this.nodes.forEach(oR),this.nodes.forEach(hR),this.nodes.forEach(mR),this.nodes.forEach(lR),lu&&window.MotionDebug.record(qa)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new H3)}addEventListener(d,m){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new y0),this.eventHandlers.get(d).add(m)}notifyListeners(d,...m){const f=this.eventHandlers.get(d);f&&f.notify(...m)}hasListeners(d){return this.eventHandlers.has(d)}mount(d,m=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=$3(d),this.instance=d;const{layoutId:f,layout:x,visualElement:y}=this.options;if(y&&!y.current&&y.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),m&&(x||f)&&(this.isLayoutDirty=!0),e){let v;const _=()=>this.root.updateBlockedByResize=!1;e(d,()=>{this.root.updateBlockedByResize=!0,v&&v(),v=q3(_,250),Zh.hasAnimatedSinceResize&&(Zh.hasAnimatedSinceResize=!1,this.nodes.forEach(Sb))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&y&&(f||x)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:_,hasRelativeTargetChanged:S,layout:E})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const k=this.options.transition||y.getDefaultTransition()||yR,{onLayoutAnimationStart:P,onLayoutAnimationComplete:T}=y.getProps(),A=!this.targetLayout||!TN(this.targetLayout,E)||S,I=!_&&S;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||I||_&&(A||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(v,I);const D={...h0(k,"layout"),onPlay:P,onComplete:T};(y.shouldReduceMotion||this.options.layoutRoot)&&(D.delay=0,D.type=!1),this.startAnimation(D)}else _||Sb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=E})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ia(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(fR),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&CN(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:m,layout:f}=this.options;if(m===void 0&&!f)return;const x=this.getTransformTemplate();this.prevTransformTemplateValue=x?x(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Nb);return}this.isUpdating||this.nodes.forEach(uR),this.isUpdating=!1,this.nodes.forEach(dR),this.nodes.forEach(rR),this.nodes.forEach(aR),this.clearAllSnapshots();const m=ms.now();cn.delta=Js(0,1e3/60,m-cn.timestamp),cn.timestamp=m,cn.isProcessing=!0,Up.update.process(cn),Up.preRender.process(cn),Up.render.process(cn),cn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,n0.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(cR),this.sharedNodes.forEach(pR)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Nt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Nt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutCorrected=zt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(m=!1),m){const f=s(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!l)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!kN(this.projectionDelta),f=this.getTransformTemplate(),x=f?f(this.latestValues,""):void 0,y=x!==this.prevTransformTemplateValue;d&&(m||Ha(this.latestValues)||y)&&(l(this.instance,x),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const m=this.measurePageBox();let f=this.removeElementScroll(m);return d&&(f=this.removeTransform(f)),vR(f),{animationId:this.root.animationId,measuredBox:m,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var d;const{visualElement:m}=this.options;if(!m)return zt();const f=m.measureViewportBox();if(!(((d=this.scroll)===null||d===void 0?void 0:d.wasRoot)||this.path.some(wR))){const{scroll:y}=this.root;y&&(jl(f.x,y.offset.x),jl(f.y,y.offset.y))}return f}removeElementScroll(d){var m;const f=zt();if(wi(f,d),!((m=this.scroll)===null||m===void 0)&&m.wasRoot)return f;for(let x=0;x<this.path.length;x++){const y=this.path[x],{scroll:v,options:_}=y;y!==this.root&&v&&_.layoutScroll&&(v.wasRoot&&wi(f,d),jl(f.x,v.offset.x),jl(f.y,v.offset.y))}return f}applyTransform(d,m=!1){const f=zt();wi(f,d);for(let x=0;x<this.path.length;x++){const y=this.path[x];!m&&y.options.layoutScroll&&y.scroll&&y!==y.root&&Nl(f,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),Ha(y.latestValues)&&Nl(f,y.latestValues)}return Ha(this.latestValues)&&Nl(f,this.latestValues),f}removeTransform(d){const m=zt();wi(m,d);for(let f=0;f<this.path.length;f++){const x=this.path[f];if(!x.instance||!Ha(x.latestValues))continue;ax(x.latestValues)&&x.updateSnapshot();const y=zt(),v=x.measurePageBox();wi(y,v),xb(m,x.latestValues,x.snapshot?x.snapshot.layoutBox:void 0,y)}return Ha(this.latestValues)&&xb(m,this.latestValues),m}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==cn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var m;const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const x=!!this.resumingFrom||this!==f;if(!(d||x&&this.isSharedProjectionDirty||this.isProjectionDirty||!((m=this.parent)===null||m===void 0)&&m.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:_}=this.options;if(!(!this.layout||!(v||_))){if(this.resolvedRelativeTargetAt=cn.timestamp,!this.targetDelta&&!this.relativeTarget){const S=this.getClosestProjectingParent();S&&S.layout&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=zt(),this.relativeTargetOrigin=zt(),yu(this.relativeTargetOrigin,this.layout.layoutBox,S.layout.layoutBox),wi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=zt(),this.targetWithTransforms=zt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),j3(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):wi(this.target,this.layout.layoutBox),wN(this.target,this.targetDelta)):wi(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const S=this.getClosestProjectingParent();S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=zt(),this.relativeTargetOrigin=zt(),yu(this.relativeTargetOrigin,this.target,S.target),wi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}lu&&qa.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||ax(this.parent.latestValues)||vN(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var d;const m=this.getLead(),f=!!this.resumingFrom||this!==m;let x=!0;if((this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty)&&(x=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(x=!1),this.resolvedRelativeTargetAt===cn.timestamp&&(x=!1),x)return;const{layout:y,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||v))return;wi(this.layoutCorrected,this.layout.layoutBox);const _=this.treeScale.x,S=this.treeScale.y;R3(this.layoutCorrected,this.treeScale,this.path,f),m.layout&&!m.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(m.target=m.layout.layoutBox,m.targetWithTransforms=zt());const{target:E}=m;if(!E){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(fb(this.prevProjectionDelta.x,this.projectionDelta.x),fb(this.prevProjectionDelta.y,this.projectionDelta.y)),xu(this.projectionDelta,this.layoutCorrected,E,this.latestValues),(this.treeScale.x!==_||this.treeScale.y!==S||!_b(this.projectionDelta.x,this.prevProjectionDelta.x)||!_b(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",E)),lu&&qa.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var m;if((m=this.options.visualElement)===null||m===void 0||m.scheduleRender(),d){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=_l(),this.projectionDelta=_l(),this.projectionDeltaWithTransform=_l()}setAnimationOrigin(d,m=!1){const f=this.snapshot,x=f?f.latestValues:{},y={...this.latestValues},v=_l();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const _=zt(),S=f?f.source:void 0,E=this.layout?this.layout.source:void 0,k=S!==E,P=this.getStack(),T=!P||P.members.length<=1,A=!!(k&&!T&&this.options.crossfade===!0&&!this.path.some(xR));this.animationProgress=0;let I;this.mixTargetDelta=D=>{const B=D/1e3;kb(v.x,d.x,B),kb(v.y,d.y,B),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(yu(_,this.layout.layoutBox,this.relativeParent.layout.layoutBox),gR(this.relativeTarget,this.relativeTargetOrigin,_,B),I&&eR(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=zt()),wi(I,this.relativeTarget)),k&&(this.animationValues=y,G3(y,x,this.latestValues,B,A,T)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=B},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ia(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Nt.update(()=>{Zh.hasAnimatedSinceResize=!0,this.currentAnimation=U3(0,jb,{...d,onUpdate:m=>{this.mixTargetDelta(m),d.onUpdate&&d.onUpdate(m)},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jb),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:m,target:f,layout:x,latestValues:y}=d;if(!(!m||!f||!x)){if(this!==d&&this.layout&&x&&EN(this.options.animationType,this.layout.layoutBox,x.layoutBox)){f=this.target||zt();const v=ri(this.layout.layoutBox.x);f.x.min=d.target.x.min,f.x.max=f.x.min+v;const _=ri(this.layout.layoutBox.y);f.y.min=d.target.y.min,f.y.max=f.y.min+_}wi(m,f),Nl(m,y),xu(this.projectionDeltaWithTransform,this.layoutCorrected,m,y)}}registerSharedNode(d,m){this.sharedNodes.has(d)||this.sharedNodes.set(d,new tR),this.sharedNodes.get(d).add(m);const x=m.options.initialPromotionConfig;m.promote({transition:x?x.transition:void 0,preserveFollowOpacity:x&&x.shouldPreserveFollowOpacity?x.shouldPreserveFollowOpacity(m):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var d;const{layoutId:m}=this.options;return m?((d=this.getStack())===null||d===void 0?void 0:d.lead)||this:this}getPrevLead(){var d;const{layoutId:m}=this.options;return m?(d=this.getStack())===null||d===void 0?void 0:d.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:m,preserveFollowOpacity:f}={}){const x=this.getStack();x&&x.promote(this,f),d&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let m=!1;const{latestValues:f}=d;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(m=!0),!m)return;const x={};f.z&&Qp("z",d,x,this.animationValues);for(let y=0;y<Jp.length;y++)Qp(`rotate${Jp[y]}`,d,x,this.animationValues),Qp(`skew${Jp[y]}`,d,x,this.animationValues);d.render();for(const y in x)d.setStaticValue(y,x[y]),this.animationValues&&(this.animationValues[y]=x[y]);d.scheduleRender()}getProjectionStyles(d){var m,f;if(!this.instance||this.isSVG)return;if(!this.isVisible)return iR;const x={visibility:""},y=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,x.opacity="",x.pointerEvents=Hh(d==null?void 0:d.pointerEvents)||"",x.transform=y?y(this.latestValues,""):"none",x;const v=this.getLead();if(!this.projectionDelta||!this.layout||!v.target){const k={};return this.options.layoutId&&(k.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,k.pointerEvents=Hh(d==null?void 0:d.pointerEvents)||""),this.hasProjected&&!Ha(this.latestValues)&&(k.transform=y?y({},""):"none",this.hasProjected=!1),k}const _=v.animationValues||v.latestValues;this.applyTransformsToTarget(),x.transform=nR(this.projectionDeltaWithTransform,this.treeScale,_),y&&(x.transform=y(_,x.transform));const{x:S,y:E}=this.projectionDelta;x.transformOrigin=`${S.origin*100}% ${E.origin*100}% 0`,v.animationValues?x.opacity=v===this?(f=(m=_.opacity)!==null&&m!==void 0?m:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:_.opacityExit:x.opacity=v===this?_.opacity!==void 0?_.opacity:"":_.opacityExit!==void 0?_.opacityExit:0;for(const k in lm){if(_[k]===void 0)continue;const{correct:P,applyTo:T}=lm[k],A=x.transform==="none"?_[k]:P(_[k],v);if(T){const I=T.length;for(let D=0;D<I;D++)x[T[D]]=A}else x[k]=A}return this.options.layoutId&&(x.pointerEvents=v===this?Hh(d==null?void 0:d.pointerEvents)||"":"none"),x}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var m;return(m=d.currentAnimation)===null||m===void 0?void 0:m.stop()}),this.root.nodes.forEach(Nb),this.root.sharedNodes.clear()}}}function rR(e){e.updateLayout()}function aR(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:l}=e.layout,{animationType:c}=e.options,d=n.source!==e.layout.source;c==="size"?_i(v=>{const _=d?n.measuredBox[v]:n.layoutBox[v],S=ri(_);_.min=s[v].min,_.max=_.min+S}):EN(c,n.layoutBox,s)&&_i(v=>{const _=d?n.measuredBox[v]:n.layoutBox[v],S=ri(s[v]);_.max=_.min+S,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[v].max=e.relativeTarget[v].min+S)});const m=_l();xu(m,s,n.layoutBox);const f=_l();d?xu(f,e.applyTransform(l,!0),n.measuredBox):xu(f,s,n.layoutBox);const x=!kN(m);let y=!1;if(!e.resumeFrom){const v=e.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:_,layout:S}=v;if(_&&S){const E=zt();yu(E,n.layoutBox,_.layoutBox);const k=zt();yu(k,s,S.layoutBox),TN(E,k)||(y=!0),v.options.layoutRoot&&(e.relativeTarget=k,e.relativeTargetOrigin=E,e.relativeParent=v)}}}e.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:f,layoutDelta:m,hasLayoutChanged:x,hasRelativeTargetChanged:y})}else if(e.isLead()){const{onExitComplete:s}=e.options;s&&s()}e.options.transition=void 0}function oR(e){lu&&qa.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function lR(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function cR(e){e.clearSnapshot()}function Nb(e){e.clearMeasurements()}function uR(e){e.isLayoutDirty=!1}function dR(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Sb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function hR(e){e.resolveTargetDelta()}function mR(e){e.calcProjection()}function fR(e){e.resetSkewAndRotation()}function pR(e){e.removeLeadSnapshot()}function kb(e,t,n){e.translate=Rt(t.translate,0,n),e.scale=Rt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Tb(e,t,n,s){e.min=Rt(t.min,n.min,s),e.max=Rt(t.max,n.max,s)}function gR(e,t,n,s){Tb(e.x,t.x,n.x,s),Tb(e.y,t.y,n.y,s)}function xR(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const yR={duration:.45,ease:[.4,0,.1,1]},Cb=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Pb=Cb("applewebkit/")&&!Cb("chrome/")?Math.round:ii;function Eb(e){e.min=Pb(e.min),e.max=Pb(e.max)}function vR(e){Eb(e.x),Eb(e.y)}function EN(e,t,n){return e==="position"||e==="preserve-aspect"&&!_3(bb(t),bb(n),.2)}function wR(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const bR=PN({attachResizeListener:(e,t)=>Tu(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xp={current:void 0},AN=PN({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Xp.current){const e=new bR({});e.mount(window),e.setOptions({layoutScroll:!0}),Xp.current=e}return Xp.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),_R={pan:{Feature:F3},drag:{Feature:D3,ProjectionNode:AN,MeasureLayout:jN}};function Ab(e,t,n){const{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",n==="Start");const l="onHover"+n,c=s[l];c&&Nt.postRender(()=>c(t,$u(t)))}class jR extends ca{mount(){const{current:t}=this.node;t&&(this.unmount=_E(t,n=>(Ab(this.node,n,"Start"),s=>Ab(this.node,s,"End"))))}unmount(){}}class NR extends ca{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Uu(Tu(this.node.current,"focus",()=>this.onFocus()),Tu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Rb(e,t,n){const{props:s}=e;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap",n==="Start");const l="onTap"+(n==="End"?"":n),c=s[l];c&&Nt.postRender(()=>c(t,$u(t)))}class SR extends ca{mount(){const{current:t}=this.node;t&&(this.unmount=kE(t,n=>(Rb(this.node,n,"Start"),(s,{success:l})=>Rb(this.node,s,l?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const lx=new WeakMap,eg=new WeakMap,kR=e=>{const t=lx.get(e.target);t&&t(e)},TR=e=>{e.forEach(kR)};function CR({root:e,...t}){const n=e||document;eg.has(n)||eg.set(n,{});const s=eg.get(n),l=JSON.stringify(t);return s[l]||(s[l]=new IntersectionObserver(TR,{root:e,...t})),s[l]}function PR(e,t,n){const s=CR(t);return lx.set(e,n),s.observe(e),()=>{lx.delete(e),s.unobserve(e)}}const ER={some:0,all:1};class AR extends ca{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:s,amount:l="some",once:c}=t,d={root:n?n.current:void 0,rootMargin:s,threshold:typeof l=="number"?l:ER[l]},m=f=>{const{isIntersecting:x}=f;if(this.isInView===x||(this.isInView=x,c&&!x&&this.hasEnteredView))return;x&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",x);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),_=x?y:v;_&&_(f)};return PR(this.node.current,d,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(RR(t,n))&&this.startObserver()}unmount(){}}function RR({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const LR={inView:{Feature:AR},tap:{Feature:SR},focus:{Feature:NR},hover:{Feature:jR}},IR={layout:{ProjectionNode:AN,MeasureLayout:jN}},cx={current:null},RN={current:!1};function MR(){if(RN.current=!0,!!Jx)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cx.current=e.matches;e.addListener(t),t()}else cx.current=!1}const OR=[...iN,jn,sa],DR=e=>OR.find(nN(e)),Lb=new WeakMap;
vendor: 4,955 bytes, line 213
213function FR(e,t,n){for(const s in t){const l=t[s],c=n[s];if(Nn(l))e.addValue(s,l);else if(Nn(c))e.addValue(s,Su(l,{owner:e}));else if(c!==l)if(e.hasValue(s)){const d=e.getValue(s);d.liveStyle===!0?d.jump(l):d.hasAnimated||d.set(l)}else{const d=e.getStaticValue(s);e.addValue(s,Su(d!==void 0?d:l,{owner:e}))}}for(const s in n)t[s]===void 0&&e.removeValue(s);return t}const Ib=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class BR{scrapeMotionValuesFromProps(t,n,s){return{}}constructor({parent:t,props:n,presenceContext:s,reducedMotionConfig:l,blockInitialAnimation:c,visualState:d},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=N0,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=ms.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,Nt.render(this.render,!1,!0))};const{latestValues:f,renderState:x,onUpdate:y}=d;this.onUpdate=y,this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=x,this.parent=t,this.props=n,this.presenceContext=s,this.depth=t?t.depth+1:0,this.reducedMotionConfig=l,this.options=m,this.blockInitialAnimation=!!c,this.isControllingVariants=Fm(n),this.isVariantNode=d1(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:v,..._}=this.scrapeMotionValuesFromProps(n,{},this);for(const S in _){const E=_[S];f[S]!==void 0&&Nn(E)&&E.set(f[S],!1)}}mount(t){this.current=t,Lb.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,s)=>this.bindToMotionValue(s,n)),RN.current||MR(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:cx.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Lb.delete(this.current),this.projection&&this.projection.unmount(),ia(this.notifyUpdate),ia(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const s=xo.has(t),l=n.on("change",m=>{this.latestValues[t]=m,this.props.onUpdate&&Nt.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),c=n.on("renderRequest",this.scheduleRender);let d;window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{l(),c(),d&&d(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Vl){const n=Vl[t];if(!n)continue;const{isEnabled:s,Feature:l}=n;if(!this.features[t]&&l&&s(this.props)&&(this.features[t]=new l(this)),this.features[t]){const c=this.features[t];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):zt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;s<Ib.length;s++){const l=Ib[s];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const c="on"+l,d=t[c];d&&(this.propEventSubscriptions[l]=this.on(l,d))}this.prevMotionValues=FR(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
213addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const s=this.values.get(t);n!==s&&(s&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let s=this.values.get(t);return s===void 0&&n!==void 0&&(s=Su(n===null?void 0:n,{owner:this}),this.addValue(t,s)),s}readValue(t,n){var s;let l=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(s=this.getBaseTargetFromProps(this.props,t))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,t,this.options);return l!=null&&(typeof l=="string"&&(eN(l)||H1(l))?l=parseFloat(l):!DR(l)&&sa.test(n)&&(l=J1(t,n)),this.setBaseTarget(t,Nn(l)?l.get():l)),Nn(l)?l.get():l}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:s}=this.props;let l;if(typeof s=="string"||typeof s=="object"){const d=s0(this.props,s,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);d&&(l=d[t])}if(s&&l!==void 0)return l;const c=this.getBaseTargetFromProps(this.props,t);return c!==void 0&&!Nn(c)?c:this.initialValues[t]!==void 0&&l===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new y0),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class LN extends BR{constructor(){super(...arguments),this.KeyframeResolver=sN}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:s}){delete n[t],delete s[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Nn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function VR(e){return window.getComputedStyle(e)}class zR extends LN{constructor(){super(...arguments),this.type="html",this.renderInstance=w1}readValueFromInstance(t,n){if(xo.has(n)){const s=j0(n);return s&&s.default||0}else{const s=VR(t),l=(x1(n)?s.getPropertyValue(n):s[n])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(t,{transformPagePoint:n}){return bN(t,n)}build(t,n,s){o0(t,n,s.transformTemplate)}scrapeMotionValuesFromProps(t,n,s){return d0(t,n,s)}}class UR extends LN{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=zt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(xo.has(n)){const s=j0(n);return s&&s.default||0}return n=b1.has(n)?n:t0(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,s){return N1(t,n,s)}build(t,n,s){l0(t,n,this.isSVGTag,s.transformTemplate)}renderInstance(t,n,s,l){_1(t,n,s,l)}mount(t){this.isSVGTag=u0(t.tagName),super.mount(t)}}const $R=(e,t)=>i0(e)?new UR(t):new zR(t,{allowProjection:e!==N.Fragment}),WR=pE({...m3,...LR,..._R,...IR},$R),O=EP(WR);function ux(e){return"/"+e.replace(/ /g,"-")}var Wu=bj();const HR=Cm(Wu);/**
214 * @remix-run/router v1.23.2
215 *
216 * Copyright (c) Remix Software Inc.
217 *
218 * This source code is licensed under the MIT license found in the
219 * LICENSE.md file in the root directory of this source tree.
220 *
221 * @license MIT
222 */function Cu(){return Cu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Cu.apply(this,arguments)}var Kr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Kr||(Kr={}));const Mb="popstate";function qR(e){e===void 0&&(e={});function t(s,l){let{pathname:c,search:d,hash:m}=s.location;return dx("",{pathname:c,search:d,hash:m},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(s,l){return typeof l=="string"?l:fm(l)}return GR(t,n,null,e)}function qt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function C0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ZR(){return Math.random().toString(36).substr(2,8)}function Ob(e,t){return{usr:e.state,key:e.key,idx:t}}function dx(e,t,n,s){return n===void 0&&(n=null),Cu({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Gl(t):t,{state:n,key:t&&t.key||s||ZR()})}function fm(e){let{pathname:t="/",search:n="",hash:s=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),s&&s!=="#"&&(t+=s.charAt(0)==="#"?s:"#"+s),t}function Gl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let s=e.indexOf("?");s>=0&&(t.search=e.substr(s),e=e.substr(0,s)),e&&(t.pathname=e)}return t}function GR(e,t,n,s){s===void 0&&(s={});let{window:l=document.defaultView,v5Compat:c=!1}=s,d=l.history,m=Kr.Pop,f=null,x=y();x==null&&(x=0,d.replaceState(Cu({},d.state,{idx:x}),""));function y(){return(d.state||{idx:null}).idx}function v(){m=Kr.Pop;let P=y(),T=P==null?null:P-x;x=P,f&&f({action:m,location:k.location,delta:T})}function _(P,T){m=Kr.Push;let A=dx(k.location,P,T);x=y()+1;let I=Ob(A,x),D=k.createHref(A);try{d.pushState(I,"",D)}
vendor: 8,820 bytes, lines 222-231
222catch(B){if(B instanceof DOMException&&B.name==="DataCloneError")throw B;l.location.assign(D)}c&&f&&f({action:m,location:k.location,delta:1})}function S(P,T){m=Kr.Replace;let A=dx(k.location,P,T);x=y();let I=Ob(A,x),D=k.createHref(A);d.replaceState(I,"",D),c&&f&&f({action:m,location:k.location,delta:0})}function E(P){let T=l.location.origin!=="null"?l.location.origin:l.location.href,A=typeof P=="string"?P:fm(P);return A=A.replace(/ $/,"%20"),qt(T,"No window.location.(origin|href) available to create URL for href: "+A),new URL(A,T)}let k={get action(){return m},get location(){return e(l,d)},listen(P){if(f)throw new Error("A history only accepts one active listener");return l.addEventListener(Mb,v),f=P,()=>{l.removeEventListener(Mb,v),f=null}},createHref(P){return t(l,P)},createURL:E,encodeLocation(P){let T=E(P);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:_,replace:S,go(P){return d.go(P)}};return k}var Db;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Db||(Db={}));function YR(e,t,n){return n===void 0&&(n="/"),KR(e,t,n)}function KR(e,t,n,s){let l=typeof t=="string"?Gl(t):t,c=P0(l.pathname||"/",n);if(c==null)return null;let d=IN(e);JR(d);let m=null;for(let f=0;m==null&&f<d.length;++f){let x=c5(c);m=a5(d[f],x)}return m}function IN(e,t,n,s){t===void 0&&(t=[]),n===void 0&&(n=[]),s===void 0&&(s="");let l=(c,d,m)=>{let f={relativePath:m===void 0?c.path||"":m,caseSensitive:c.caseSensitive===!0,childrenIndex:d,route:c};f.relativePath.startsWith("/")&&(qt(f.relativePath.startsWith(s),'Absolute route path "'+f.relativePath+'" nested under path '+('"'+s+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),f.relativePath=f.relativePath.slice(s.length));let x=Xr([s,f.relativePath]),y=n.concat(f);c.children&&c.children.length>0&&(qt(c.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+x+'".')),IN(c.children,t,y,x)),!(c.path==null&&!c.index)&&t.push({path:x,score:s5(x,c.index),routesMeta:y})};return e.forEach((c,d)=>{var m;if(c.path===""||!((m=c.path)!=null&&m.includes("?")))l(c,d);else for(let f of MN(c.path))l(c,d,f)}),t}function MN(e){let t=e.split("/");if(t.length===0)return[];let[n,...s]=t,l=n.endsWith("?"),c=n.replace(/\?$/,"");if(s.length===0)return l?[c,""]:[c];let d=MN(s.join("/")),m=[];return m.push(...d.map(f=>f===""?c:[c,f].join("/"))),l&&m.push(...d),m.map(f=>e.startsWith("/")&&f===""?"/":f)}function JR(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:r5(t.routesMeta.map(s=>s.childrenIndex),n.routesMeta.map(s=>s.childrenIndex)))}const QR=/^:[\w-]+$/,XR=3,e5=2,t5=1,n5=10,i5=-2,Fb=e=>e==="*";function s5(e,t){let n=e.split("/"),s=n.length;return n.some(Fb)&&(s+=i5),t&&(s+=e5),n.filter(l=>!Fb(l)).reduce((l,c)=>l+(QR.test(c)?XR:c===""?t5:n5),s)}function r5(e,t){return e.length===t.length&&e.slice(0,-1).every((s,l)=>s===t[l])?e[e.length-1]-t[t.length-1]:0}function a5(e,t,n){let{routesMeta:s}=e,l={},c="/",d=[];for(let m=0;m<s.length;++m){let f=s[m],x=m===s.length-1,y=c==="/"?t:t.slice(c.length)||"/",v=o5({path:f.relativePath,caseSensitive:f.caseSensitive,end:x},y),_=f.route;if(!v)return null;Object.assign(l,v.params),d.push({params:l,pathname:Xr([c,v.pathname]),pathnameBase:f5(Xr([c,v.pathnameBase])),route:_}),v.pathnameBase!=="/"&&(c=Xr([c,v.pathnameBase]))}return d}function o5(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,s]=l5(e.path,e.caseSensitive,e.end),l=t.match(n);if(!l)return null;let c=l[0],d=c.replace(/(.)\/+$/,"$1"),m=l.slice(1);return{params:s.reduce((x,y,v)=>{let{paramName:_,isOptional:S}=y;if(_==="*"){let k=m[v]||"";d=c.slice(0,c.length-k.length).replace(/(.)\/+$/,"$1")}const E=m[v];return S&&!E?x[_]=void 0:x[_]=(E||"").replace(/%2F/g,"/"),x},{}),pathname:c,pathnameBase:d,pattern:e}}function l5(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),C0(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 s=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,m,f)=>(s.push({paramName:m,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(s.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),s]}function c5(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return C0(!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 P0(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,s=e.charAt(n);return s&&s!=="/"?null:e.slice(n)||"/"}const u5=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,d5=e=>u5.test(e);function h5(e,t){t===void 0&&(t="/");let{pathname:n,search:s="",hash:l=""}=typeof e=="string"?Gl(e):e,c;if(n)if(d5(n))c=n;else{if(n.includes("//")){let d=n;n=n.replace(/\/\/+/g,"/"),C0(!1,"Pathnames cannot have embedded double slashes - normalizing "+(d+" -> "+n))}n.startsWith("/")?c=Bb(n.substring(1),"/"):c=Bb(n,t)}else c=t;return{pathname:c,search:p5(s),hash:g5(l)}}function Bb(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function tg(e,t,n,s){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(s)+"].  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 m5(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ON(e,t){let n=m5(e);return t?n.map((s,l)=>l===n.length-1?s.pathname:s.pathnameBase):n.map(s=>s.pathnameBase)}function DN(e,t,n,s){s===void 0&&(s=!1);let l;typeof e=="string"?l=Gl(e):(l=Cu({},e),qt(!l.pathname||!l.pathname.includes("?"),tg("?","pathname","search",l)),qt(!l.pathname||!l.pathname.includes("#"),tg("#","pathname","hash",l)),qt(!l.search||!l.search.includes("#"),tg("#","search","hash",l)));let c=e===""||l.pathname==="",d=c?"/":l.pathname,m;if(d==null)m=n;else{let v=t.length-1;if(!s&&d.startsWith("..")){let _=d.split("/");for(;_[0]==="..";)_.shift(),v-=1;l.pathname=_.join("/")}m=v>=0?t[v]:"/"}let f=h5(l,m),x=d&&d!=="/"&&d.endsWith("/"),y=(c||d===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(x||y)&&(f.pathname+="/"),f}const Xr=e=>e.join("/").replace(/\/\/+/g,"/"),f5=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),p5=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,g5=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function x5(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const FN=["post","put","patch","delete"];new Set(FN);const y5=["get",...FN];new Set(y5);/**
223 * React Router v6.30.3
224 *
225 * Copyright (c) Remix Software Inc.
226 *
227 * This source code is licensed under the MIT license found in the
228 * LICENSE.md file in the root directory of this source tree.
229 *
230 * @license MIT
231 */function Pu(){return Pu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Pu.apply(this,arguments)}const E0=N.createContext(null),v5=N.createContext(null),yo=N.createContext(null),zm=N.createContext(null),ua=N.createContext({outlet:null,matches:[],isDataRoute:!1}),BN=N.createContext(null);function w5(e,t){let{relative:n}=t===void 0?{}:t;Hu()||qt(!1);let{basename:s,navigator:l}=N.useContext(yo),{hash:c,pathname:d,search:m}=UN(e,{relative:n}),f=d;return s!=="/"&&(f=d==="/"?s:Xr([s,d])),l.createHref({pathname:f,search:m,hash:c})}function Hu(){return N.useContext(zm)!=null}function vo(){return Hu()||qt(!1),N.useContext(zm).location}function VN(e){N.useContext(yo).static||N.useLayoutEffect(e)}function zN(){let{isDataRoute:e}=N.useContext(ua);return e?L5():b5()}function b5(){Hu()||qt(!1);let e=N.useContext(E0),{basename:t,future:n,navigator:s}=N.useContext(yo),{matches:l}=N.useContext(ua),{pathname:c}=vo(),d=JSON.stringify(ON(l,n.v7_relativeSplatPath)),m=N.useRef(!1);return VN(()=>{m.current=!0}),N.useCallback(function(x,y){if(y===void 0&&(y={}),!m.current)return;if(typeof x=="number"){s.go(x);return}let v=DN(x,JSON.parse(d),c,y.relative==="path");e==null&&t!=="/"&&(v.pathname=v.pathname==="/"?t:Xr([t,v.pathname])),(y.replace?s.replace:s.push)(v,y.state,y
vendor: 4,161 bytes, line 231
231)},[t,s,d,c,e])}function A0(){let{matches:e}=N.useContext(ua),t=e[e.length-1];return t?t.params:{}}function UN(e,t){let{relative:n}=t===void 0?{}:t,{future:s}=N.useContext(yo),{matches:l}=N.useContext(ua),{pathname:c}=vo(),d=JSON.stringify(ON(l,s.v7_relativeSplatPath));return N.useMemo(()=>DN(e,JSON.parse(d),c,n==="path"),[e,d,c,n])}function _5(e,t){return j5(e,t)}function j5(e,t,n,s){Hu()||qt(!1);let{navigator:l}=N.useContext(yo),{matches:c}=N.useContext(ua),d=c[c.length-1],m=d?d.params:{};d&&d.pathname;let f=d?d.pathnameBase:"/";d&&d.route;let x=vo(),y;if(t){var v;let P=typeof t=="string"?Gl(t):t;f==="/"||(v=P.pathname)!=null&&v.startsWith(f)||qt(!1),y=P}else y=x;let _=y.pathname||"/",S=_;if(f!=="/"){let P=f.replace(/^\//,"").split("/");S="/"+_.replace(/^\//,"").split("/").slice(P.length).join("/")}let E=YR(e,{pathname:S}),k=C5(E&&E.map(P=>Object.assign({},P,{params:Object.assign({},m,P.params),pathname:Xr([f,l.encodeLocation?l.encodeLocation(P.pathname).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?f:Xr([f,l.encodeLocation?l.encodeLocation(P.pathnameBase).pathname:P.pathnameBase])})),c,n,s);return t&&k?N.createElement(zm.Provider,{value:{location:Pu({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:Kr.Pop}},k):k}function N5(){let e=R5(),t=x5(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},t),n?N.createElement("pre",{style:l},n):null,null)}const S5=N.createElement(N5,null);class k5 extends N.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?N.createElement(ua.Provider,{value:this.props.routeContext},N.createElement(BN.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function T5(e){let{routeContext:t,match:n,children:s}=e,l=N.useContext(E0);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),N.createElement(ua.Provider,{value:t},s)}function C5(e,t,n,s){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),s===void 0&&(s=null),e==null){var c;if(!n)return null;if(n.errors)e=n.matches;else if((c=s)!=null&&c.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let d=e,m=(l=n)==null?void 0:l.errors;if(m!=null){let y=d.findIndex(v=>v.route.id&&(m==null?void 0:m[v.route.id])!==void 0);y>=0||qt(!1),d=d.slice(0,Math.min(d.length,y+1))}let f=!1,x=-1;if(n&&s&&s.v7_partialHydration)for(let y=0;y<d.length;y++){let v=d[y];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(x=y),v.route.id){let{loaderData:_,errors:S}=n,E=v.route.loader&&_[v.route.id]===void 0&&(!S||S[v.route.id]===void 0);if(v.route.lazy||E){f=!0,x>=0?d=d.slice(0,x+1):d=[d[0]];break}}}return d.reduceRight((y,v,_)=>{let S,E=!1,k=null,P=null;n&&(S=m&&v.route.id?m[v.route.id]:void 0,k=v.route.errorElement||S5,f&&(x<0&&_===0?(I5("route-fallback"),E=!0,P=null):x===_&&(E=!0,P=v.route.hydrateFallbackElement||null)));let T=t.concat(d.slice(0,_+1)),A=()=>{let I;return S?I=k:E?I=P:v.route.Component?I=N.createElement(v.route.Component,null):v.route.element?I=v.route.element:I=y,N.createElement(T5,{match:v,routeContext:{outlet:y,matches:T,isDataRoute:n!=null},children:I})};return n&&(v.route.ErrorBoundary||v.route.errorElement||_===0)?N.createElement(k5,{location:n.location,revalidation:n.revalidation,component:k,error:S,children:A(),routeC
vendor: 2,028 bytes, line 231
231ontext:{outlet:null,matches:T,isDataRoute:!0}}):A()},null)}var $N=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})($N||{}),WN=(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})(WN||{});function P5(e){let t=N.useContext(E0);return t||qt(!1),t}function E5(e){let t=N.useContext(v5);return t||qt(!1),t}function A5(e){let t=N.useContext(ua);return t||qt(!1),t}function HN(e){let t=A5(),n=t.matches[t.matches.length-1];return n.route.id||qt(!1),n.route.id}function R5(){var e;let t=N.useContext(BN),n=E5(),s=HN();return t!==void 0?t:(e=n.errors)==null?void 0:e[s]}function L5(){let{router:e}=P5($N.UseNavigateStable),t=HN(WN.UseNavigateStable),n=N.useRef(!1);return VN(()=>{n.current=!0}),N.useCallback(function(l,c){c===void 0&&(c={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,Pu({fromRouteId:t},c)))},[e,t])}const Vb={};function I5(e,t,n){Vb[e]||(Vb[e]=!0)}function M5(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function wt(e){qt(!1)}function O5(e){let{basename:t="/",children:n=null,location:s,navigationType:l=Kr.Pop,navigator:c,static:d=!1,future:m}=e;Hu()&&qt(!1);let f=t.replace(/^\/*/,"/"),x=N.useMemo(()=>({basename:f,navigator:c,static:d,future:Pu({v7_relativeSplatPath:!1},m)}),[f,m,c,d]);typeof s=="string"&&(s=Gl(s));let{pathname:y="/",search:v="",hash:_="",state:S=null,key:E="default"}=s,k=N.useMemo(()=>{let P=P0(y,f);return P==null?null:{location:{pathname:P,search:v,hash:_,state:S,key:E},navigationType:l}},[f,y,v,_,S,E,l]);return k==null?null:N.createElement(yo.Provider,{value:x},N.createElement(zm.Provider,{children:n,value:k}))}function D5(e){let{children:t,location:n}=e;return _5(hx(t),n)}new Promise(()=>{});
231function hx(e,t){t===void 0&&(t=[]);let n=[];return N.Children.forEach(e,(s,l)=>{if(!N.isValidElement(s))return;let c=[...t,l];if(s.type===N.Fragment){n.push.apply(n,hx(s.props.children,c));return}s.type!==wt&&qt(!1),!s.props.index||!s.props.children||qt(!1);let d={id:s.props.id||c.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,loader:s.props.loader,action:s.props.action,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(d.children=hx(s.props.children,c)),n.push(d)}),n}/**
232 * React Router DOM v6.30.3
233 *
234 * Copyright (c) Remix Software Inc.
235 *
236 * This source code is licensed under the MIT license found in the
237 * LICENSE.md file in the root directory of this source tree.
238 *
239 * @license MIT
240 */function mx(){return mx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},mx.apply(this,arguments)}function F5(e,t){if(e==null)return{};var n={},s=Object.keys(e),l,c;for(c=0;c<s.length;c++)l=s[c],!(t.indexOf(l)>=0)&&(n[l]=e[l]);return n}function B5(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function V5(e,t){return e.button===0&&(!t||t==="_self")&&!B5(e)}const z5=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],U5="6";try{window.__reactRouterVersion=U5}catch{}const $5="startTransition",zb=Pm[$5];function W5(e){let{basename:t,children:n,future:s,window:l}=e,c=N.useRef();c.current==null&&(c.current=qR({window:l,v5Compat:!0}));let d=c.current,[m,f]=N.useState({action:d.action,location:d.location}),{v7_startTransition:x}=s||{},y=N.useCallback(v=>{x&&zb?zb(()=>f(v)):f(v)},[f,x]);return N.useLayoutEffect(()=>d.listen(y),[d,y]),N.useEffect(()=>M5(s),[s]),N.createElement(O5,{basename:t,children:n,location:m.location,navigationType:m.action,navigator:d,future:s})}const H5=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",q5=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Me=N.forwardRef(function(t,n){let{onClick:s,relative:l,reloadDocument:c,replace:d,state:m,target:f,to:x,preventScrollReset:y,viewTransition:v}=t,_=F5(t,z5),{basename:S}=N.useContext(yo),E,k=!1;if(typeof x=="string"&&q5.test(x)&&(E=x,H5))try{let I=new URL(window.location.href),D=x.startsWith("//")?new URL(I.protocol+x):new URL(x),B=P0(D.pathname,S);D.origin===I.origin&&B!=null?x=B+D.search+D.hash:k=!0}catch{}let P=w5(x,{relative:l}),T=Z5(x,{replace:d,state:m,target:f,preventScrollReset:y,relative:l,viewTransition:v});function A(I){s&&s(I),I.defaultPrevented||T(I)}return N.createElement("a",mx({},_,{href:E||P,onClick:k||c?s:A,ref:n,target:f}))});var Ub;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ub||(Ub={}));var $b;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})($b||($b={}));function Z5(e,t){let{target:n,replace:s,state:l,preventScrollReset:c,relative:d,viewTransition:m}=t===void 0?{}:t,f=zN(),x=vo(),y=UN(e,{relative:d});return N.useCallback(v=>{if(V5(v,n)){v.preventDefault();let _=s!==void 0?s:fm(x)===fm(y);f(e,{replace:_,state:l,preventScrollReset:c,relative:d,viewTransition:m})}},[x,f,y,s,l,n,e,c,d,m])}const G5=[{day:"Day 1 – Arrival & Opening the Threshold",date:"Arrival Window: 12:00 PM – 4:00 PM",theme:"Crossing the Threshold",color:"amber",sessions:[{time:"5:30 PM",title:"Welcome Elixir & Grounding",desc:""},{time:"6:30 PM",title:"Opening Dinner",desc:""},{time:"8:00 PM",title:"Intention Setting & Fire Activation Ceremony",desc:""}]},{day:"Day 2 – Shedding the Old Identity",date:"Full Day",theme:"Dissolving Conditioning",color:"rose",sessions:[{time:"6:00 AM",title:"Embodied Movement Activation",desc:""},{time:"6:45 AM",title:"Meditation & Breath Practice",desc:""},{time:"7:30 AM",title:"Breakfast",desc:""},{time:"9:00 AM",title:"Workshop: Releasing the Mask",desc:""},{time:"12:30 PM",title:"Lunch",desc:""}
240,{time:"1:30 PM",title:"Integration / Rest / 1:1 Sessions",desc:"Until 3:30 PM"},{time:"3:30 PM",title:"Somatic Clearing Practice",desc:""},{time:"6:30 PM",title:"Dinner",desc:""},{time:"8:00 PM",title:"Emotional Release Circle",desc:""}]},{day:"Day 3 – Water Temple Immersion",date:"Off-Site Day",theme:"Emotional Alchemy",color:"sky",sessions:[{time:"6:00 AM",title:"Fluid Flow Movement",desc:""},{time:"6:45 AM",title:"Meditation",desc:""},{time:"7:30 AM",title:"Breakfast",desc:""},{time:"9:00 AM",title:"Depart for Tirta Empul Temple",desc:"Water Purification Ritual"},{time:"1:30 PM",title:"Lunch",desc:""},{time:"4:00 PM",title:"Integration & Journaling",desc:""},{time:"6:30 PM",title:"Dinner",desc:""},{time:"8:00 PM",title:"Silent Reflection Evening",desc:""}]},{day:"Day 4 – Sacred Silence & Shadow Integration",date:"Container Commitment Morning",theme:"Listening to the Inner Voice",color:"purple",note:"This morning is held in sacred silence until lunch. This is a container commitment.",sessions:[{time:"6:00 AM",title:"Silent Movement Practice",desc:""},{time:"6:45 AM",title:"Silent Meditation",desc:""},{time:"7:30 AM",title:"Breakfast in Silence",desc:""},{time:"9:00 AM",title:"Guided Written Shadow Inquiry",desc:""},{time:"11:30 AM",title:"Solo Jungle Integration Time",desc:""},{time:"12:30 PM",title:"Lunch",desc:"Silence ends after meal blessing"},{time:"2:30 PM",title:"Group Integration Circle",desc:""},{time:"6:30 PM",title:"Dinner",desc:""},{time:"8:00 PM",title:"Fire Dialogue Ceremony",desc:""}]},{day:"Day 5 – Jungle Vortex & Rebirth",date:"Full Day",theme:"The Becoming",color:"green",sessions:[{time:"6:00 AM",title:"Jungle Activation Movement",desc:""},{time:"6:45 AM",title:"Meditation",desc:""},{time:"7:30 AM",title:"Breakfast",desc:""},{time:"9:00 AM",title:"Visit to Local Jungle Healing Vortex Site",desc:""},{time:"1:00 PM",title:"Lunch",desc:""},{time:"3:30 PM",title:"Vision Architecture Workshop",desc:""},{time:"6:30 PM",title:"Dinner",desc:""},{time:"8:00 PM",title:"Rebirth Ceremony",desc:"White attire"}]},{day:"Day 6 – Expansion & Devotion",date:"Full Day",theme:"Embodied Expansion",color:"amber",sessions:[{time:"6:00 AM",title:"Optional Sunrise Hike or On-Site Gentle Movement",desc:""},{time:"8:00 AM",title:"Breakfast",desc:""},{time:"9:30 AM",title:"Purpose & Abundance Alignment Workshop",desc:""},{time:"12:30 PM",title:"Lunch",desc:""},{time:"2:00 PM",title:"Afternoon Free Integration Time",desc:""},{time:"6:30 PM",title:"Celebration Dinner",desc:""},{time:"8:00 PM",title:"Closing Gratitude Ceremony",desc:""}]},{day:"Day 7 – Integration & Departure",date:"Morning",theme:"Carrying the Frequency Home",color:"rose",sessions:[{time:"6:30 AM",title:"Final Movement & Meditation",desc:""},{time:"7:30 AM",title:"Breakfast",desc:""},{time:"9:00 AM",title:"Closing Circle",desc:""},{time:"11:00 AM",title:"Departures Begin",desc:""}]}],Y5=[{title:"Releasing the Mask",desc:"Dismantle unconscious identity patterns and societal conditioning. Step beyond roles and reconnect with your authentic self.",image:"https://images.unsplash.com/photo-1537996194471-e657df975ab4?w=800&q=80"},{title:"Emotional Alchemy & Somatic Clearing",desc:"Release stored emotional energy through guided breath, sound, and embodied processing. Reset your nervous system.",image:"https://images.unsplash.com/photo-1518241353330-0f7941c2d9b5?w=800&q=80"},{title:"Shadow & Power Integration",desc:"Meet the hidden aspects of self without judgment and reclaim suppressed strength.",image:"https://images.unsplash.com/photo-1475924156734-496f6cac6ec1?w=800&q=80"},{title:"Vision Architecture",desc:"Design your next chapter from alignment rather than fear. Leave with a tangible integration blueprint.",image:"https://images.unsplash.com/photo-1518495973542-4542c06a5843?w=800&q=80"},{title:"Embodied Devotion",desc:"Learn how to live truthfully without abandoning yourself. Integrate expansion into daily life.",image:"https://images.unsplash.com/photo-1555400038-63f5ba517a47?w=800&q=80"}],K5=[{name:"Alejandro Salomone",role:"Spiritual Guide & Vision Architect",bio:`Alejandro Salomone guides individuals through profou
240nd identity transformation by bridging grounded psychological awareness with embodied spiritual practice.
241
242His work is rooted in lived experience. Over the years, he has walked a path of deep spiritual exploration, studying across traditions, immersing himself in indigenous cultures of the Amazon, and working directly with practices centered on healing, consciousness, and the unseen dimensions of human experience.
243
244Rather than adhering to a single modality, Alejandro's approach integrates multiple lineages and energetic frameworks, blending somatic awareness, subtle energy work, and shadow integration into a process that is both intuitive and grounded.
245
246This allows him to meet each individual where they are, guiding them through the unraveling of conditioned identity, the release of stored emotional patterns, and the embodiment of a more aligned way of being.
247
248His work is not about transcendence or escape, it is about presence, responsibility, and embodiment.
249
250Alejandro leads intentionally curated, small-group containers designed for depth, safety, and real transformation. Spaces where individuals are not guided around their patterns, but through them.`,image:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/efb4eb4a6_alejandro_retreat_photo.jpg"},{name:"Jacyn Fain",role:"Co-Facilitator · Creative Director & Healer",bio:`Jacyn is a creative director, performer, and facilitator weaving together creativity and transformational work. With a background in theater performance and production, along with years of intentional retreat building, facilitation, and organization, she brings a grounded, artful approach to creating immersive and meaningful experiences.
251
252Her work blends creativity with practices rooted in presence, healing, and inner awakening. With over 16 years of experience in the healing space, she is certified in yoga, integrative life coaching, hypnotherapy, sound healing, and Reiki.
253
254Jacyn is devoted to creating spaces where expression and transformation meet — inviting others into deeper authenticity and connection.`,image:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/0471a434b_A9151DCF-1DF9-425B-8A26-0B6FA70A036F.jpg"}],J5={"Daily Essentials":["Lightweight breathable clothing","Swimsuit","Comfortable sandals + sneakers","Refillable water bottle"],"Ceremony & Practice":["White outfit (for rebirth ceremony)","Journal & pen","Meaningful personal object","Yoga/activewear","Shawl or light blanket"],"Bali-Specific":["Reef-safe sunscreen","Bug spray","Rain layer","Small backpack for temple days"]},Q5={amber:"border-amber-400/30 bg-amber-400/5",rose:"border-rose-400/30 bg-rose-400/5",green:"border-green-400/30 bg-green-400/5",purple:"border-purple-400/30 bg-purple-400/5",sky:"border-sky-400/30 bg-sky-400/5"},X5={amber:"bg-amber-400/60",rose:"bg-rose-400/60",green:"bg-green-400/60",purple:"bg-purple-400/60",sky:"bg-sky-400/60"};function eL(){const[e,t]=N.useState(0);return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsx("div",{className:"sticky top-0 z-50 bg-[#FAF8F5]/95 backdrop-blur-sm border-b border-stone-200/60 px-6 py-4",children:i.jsxs("div",{className:"max-w-5xl mx-auto flex items-center justify-between",children:[i.jsxs(Me,{to:ux("Home"),className:"flex items-center gap-2 text-stone-500 hover:text-stone-800 transition-colors text-sm font-light",children:[i.jsx(oa,{className:"w-4 h-4"}),"Back to Home"]}),i.jsx("p",{className:"text-stone-400 tracking-[0.25em] uppercase text-xs",children:"The Becoming: Bali"})]})}),i.jsxs("div",{className:"relative py-24 md:py-32 px-6 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1518241353330-0f7941c2d9b5?w=1920&q=80",alt:"Lush Bali jungle",className:"w-full h-full object-cover opacity-20"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#FAF8F5]/60 to-[#FAF8F5]"})]}),i.jsxs(O.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10 max-w-3xl mx-auto text-center",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"July 2026 · Ubud, Bali"}),i.jsx("h1",{className:"text-4xl md:text-6xl font-light text-stone-800 tracking-tight leading-tight mb-6",children:"Event Details"}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed max-w-xl mx-auto",children:"Everything you need to know about your 6-night journey — the daily rhythm, workshops, facilitators, and how to prepare."})]})]}),i.jsx("div",{className:"px-6 pb-4",children:i.jsx(O.div,{initial:{opacity:0,y:20}
254,animate:{opacity:1,y:0},transition:{duration:.7,delay:.3},className:"max-w-3xl mx-auto",children:i.jsxs("div",{className:"border border-stone-200 bg-white/60 px-8 py-7",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-5 text-center",children:"Container Overview"}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-x-8 gap-y-4",children:["6 Nights in Ubud, Bali","Limited to 12 Participants","Daily 6:00 AM Start","One Sacred Silence Commitment Morning","Temple & Energy Immersions","All Meals Included","Fully Curated Transformational Arc"].map((n,s)=>i.jsxs("div",{className:"flex items-start gap-2",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/70 shrink-0"}),i.jsx("span",{className:"text-stone-600 font-light text-sm leading-snug",children:n})]},s))})]})})}),i.jsx("div",{className:"px-6 pb-12",children:i.jsx("div",{className:"max-w-5xl mx-auto flex flex-wrap gap-3 justify-center",children:["Daily Schedule","Workshops","Facilitators","Packing List"].map((n,s)=>i.jsx("a",{href:`#${n.toLowerCase().replace(/ /g,"-")}`,className:"px-5 py-2 border border-stone-300 text-stone-600 text-sm tracking-wider hover:bg-stone-100 transition-colors font-light",children:n},s))})}),i.jsx("section",{id:"daily-schedule",className:"py-16 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Day by Day"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Daily Schedule"}),i.jsx("p",{className:"text-white/40 font-light mt-4 max-w-xl mx-auto text-sm leading-relaxed",children:"This retreat follows a structured daily rhythm designed to support both expansion and integration. Each day builds upon the last, guiding participants through a clear transformational arc."}),i.jsx("p",{className:"text-white/25 font-light mt-3 max-w-xl mx-auto text-xs leading-relaxed italic",children:"Daily flow may adjust slightly based on weather, temple access, and group needs. The 6:00 AM start time sets the energetic rhythm of the container."})]}),i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"mb-10 border border-white/10 bg-white/5 px-6 py-6",children:[i.jsx("p",{className:"text-amber-400/70 tracking-[0.25em] uppercase text-xs mb-5",children:"⚖️ The Arc of the Week"}),i.jsx("div",{className:"space-y-2",children:[{phase:"Days 1–2",label:"Grounding & Shedding"},{phase:"Days 3–4",label:"Emotional & Shadow Integration"},{phase:"Day 4 Morning",label:"Sacred Silence (Container Commitment)"},{phase:"Days 5–6",label:"Vision, Expansion & Embodiment"},{phase:"Day 7",label:"Integration & Return"}].map((n,s)=>i.jsxs("div",{className:"flex items-baseline gap-4",children:[i.jsx("span",{className:"text-white/30 text-xs font-mono tracking-widest shrink-0 w-28",children:n.phase}),i.jsx("span",{className:"text-white/60 font-light text-sm",children:n.label})]},s))})]}),i.jsx("div",{className:"space-y-3",children:G5.map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:s*.05},className:`border rounded-sm overflow-hidden ${Q5[n.color]}`,children:[i.jsxs("button",{onClick:()=>t(e===s?null:s),className:"w-full flex items-center justify-between px-6 py-5 text-left group",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-light text-base md:text-lg",children:n.day}),i.jsx("p",{className:"text-white/40 text-xs mt-0.5 tracking-wider uppercase",children:n.date})]}),i.jsx($i,{className:`w-4 h-4 text-white/30 transition-transform duration-300 shrink-0 ${e===s?"rotate-180":""}`})]}),e===s&&i.jsxs("div",{className:"px-6 pb-6 space-y-4 border-t border-white/10 pt-4",children:[n.note&&i.jsx("p",{className:"text-amber-300/60 text-xs font-light italic pb-2",children:n.note}),n.sessions.map((l,c)=>i.jsxs("div",{className:"flex gap-4",children:[i.jsx("div",{className:`mt-1.5 w-1.5 h-1.5 rounded-full shrink-0 ${X5[n.color]}`}),i.jsx("div",{children:i.jsxs("div",{className:"flex items-baseline gap-3 flex-wrap",children:[i.jsx("span",{className:"text-white/40 text-xs font-mono tracking-widest",children:l.time}),i.jsx("span",{className:"text-white/80 font-light",children:l.title}),l.desc&&i.jsxs("span",{className:"text-white/30 text-xs font-light",children:["— ",l.de
254sc]})]})})]},c)),n.theme&&i.jsxs("p",{className:"text-white/20 text-xs tracking-[0.2em] uppercase pt-3 border-t border-white/5",children:["Theme: ",n.theme]})]})]},s))})]})}),i.jsx("section",{id:"workshops",className:"py-20 md:py-28 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Work"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Workshops & Experiences"})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-px bg-stone-200",children:Y5.map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:s*.06},className:"relative overflow-hidden bg-white px-8 py-10 min-h-[220px]",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:n.image,alt:"",className:"w-full h-full object-cover opacity-[0.08] grayscale"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-white/80 via-white/60 to-white/30"})]}),i.jsxs("div",{className:"relative z-10",children:[i.jsxs("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-3",children:["0",s+1]}),i.jsx("h3",{className:"text-stone-800 font-light text-lg mb-3 tracking-tight",children:n.title}),i.jsx("div",{className:"w-8 h-px bg-amber-600/30 mb-4"}),i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed",children:n.desc})]})]},s))}),i.jsx(O.p,{initial:{opacity:0}
254,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.4},className:"text-center text-stone-400 font-light mt-12 text-sm italic border-t border-stone-200 pt-8",children:"These workshops are experiential, embodied, and interactive. This is not lecture-based learning — it is lived transformation."})]})}),i.jsx("section",{id:"facilitators",className:"py-20 md:py-28 px-6 bg-stone-100",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Team"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Your Facilitators"}),i.jsx("p",{className:"text-stone-500 font-light mt-4 max-w-lg mx-auto text-sm leading-relaxed",children:"Full facilitator bios are shared with confirmed participants. Below is a preview of the team holding this container."})]}),i.jsx("div",{className:"space-y-6",children:K5.map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"bg-white overflow-hidden max-w-2xl mx-auto w-full md:flex",children:[i.jsx("img",{src:n.image,alt:n.name,className:"w-full md:w-56 h-64 md:h-auto object-cover object-top grayscale shrink-0"}),i.jsxs("div",{className:"p-7",children:[i.jsx("p",{className:"text-stone-800 font-light text-xl",children:n.name}),i.jsx("p",{className:"text-amber-700/70 text-xs tracking-wider uppercase mt-1 mb-4",children:n.role}),n.bio.split(`
255
256`).map((l,c)=>i.jsx("p",{className:"text-stone-500 text-sm font-light leading-relaxed mb-3 last:mb-0",children:l},c))]})]},s))}),i.jsx(O.p,{initial:{opacity:0}
256,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.5},className:"text-center text-stone-500 font-light mt-12 text-sm leading-relaxed max-w-2xl mx-auto italic border-t border-stone-200 pt-8",children:"Alejandro works with small, intentionally curated groups to ensure safety, depth, and direct guidance. This retreat is capped at 12 participants to preserve intimacy and energetic integrity. to preserve intimacy and energetic integrity."})]})}),i.jsx("section",{id:"packing-list",className:"py-20 md:py-28 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Preparation"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Packing List"}),i.jsx("p",{className:"text-stone-500 font-light mt-4 text-sm",children:"Bali is warm and tropical year-round. Pack light, pack intentionally."})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:Object.entries(J5).map(([n,s],l)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:l*.1},children:[i.jsx("h3",{className:"text-stone-700 font-light text-base tracking-wide mb-4 pb-2 border-b border-stone-200",children:n}),i.jsx("ul",{className:"space-y-2",children:s.map((c,d)=>i.jsxs("li",{className:"flex items-start gap-3 text-stone-500 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),c]},d))})]},l))}),i.jsx(O.p,{initial:{opacity:0}
256,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.5},className:"text-center text-stone-400 font-light mt-12 text-sm italic border-t border-stone-200 pt-8 max-w-2xl mx-auto leading-relaxed",children:"You will receive a detailed pre-arrival preparation guide 30 days before the retreat, including travel logistics and energetic preparation suggestions."})]})}),i.jsx("section",{id:"who-this-is-for",className:"py-20 md:py-28 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Alignment"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Is This For You?"})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-10",children:[i.jsxs(O.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[i.jsx("p",{className:"text-amber-400/80 tracking-[0.2em] uppercase text-xs mb-5",children:"🌿 Who This Is For"}),i.jsx("ul",{className:"space-y-3",children:["Individuals ready to shed outdated identities","Those willing to engage in structured daily practice","People open to emotional depth and embodied work","Leaders and seekers ready for their next evolution","Participants willing to honor sacred silence"].map((n,s)=>i.jsxs("li",{className:"flex items-start gap-3 text-white/60 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-400/60 shrink-0"}),n]},s))})]}),i.jsxs(O.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.15},children:[i.jsx("p",{className:"text-rose-400/80 tracking-[0.2em] uppercase text-xs mb-5",children:"🌿 Who This Is Not For"}),i.jsx("ul",{className:"space-y-3",children:["Those seeking a casual vacation experience","Individuals resistant to early mornings","Anyone unwilling to engage in self-inquiry","Those looking to be entertained rather than transformed"].map((n,s)=>i.jsxs("li",{className:"flex items-start gap-3 text-white/40 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-rose-400/40 shrink-0"}),n]},s))})]})]})]})}),i.jsxs("div",{className:"py-16 px-6 bg-stone-900 text-center",children:[i.jsx("p",{className:"text-white/50 font-light text-sm mb-6",children:"Ready to reserve your place?"}),i.jsx(Me,{to:ux("Home"),className:"inline-block px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Return to Application"}),i.jsx("p",{className:"text-white/20 text-xs mt-8 tracking-wider",children:"BASUNDARI · UBUD, BALI · JULY 2026"})]})]})}function tL({onApply:e}){return i.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1518241353330-0f7941c2d9b5?w=1920&q=80",alt:"Lush Bali jungle retreat",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/50 via-black/30 to-black/60"})]}),i.jsx("div",{className:"absolute top-6 left-6 z-20",children:i.jsxs(Me,{to:"/RetreatSeries",className:"flex items-center gap-2 text-amber-400 hover:text-amber-300 transition-colors text-xs tracking-[0.15em] uppercase font-bold",children:[i.jsx(oa,{className:"w-3 h-3"}),"All Retreats"]})}),i.jsx("div",{className:"relative z-10 text-center px-6 max-w-4xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1,ease:"easeOut"},children:[i.jsx("p",{className:"text-amber-300/90 tracking-[0.35em] uppercase text-xs md:text-sm font-light mb-6",children:"Bali · July 2027"}),i.jsxs("h1",{className:"text-5xl md:text-7xl lg:text-8xl font-light text-white tracking-tight leading-[0.9]",children:["The Becoming:",i.jsx("br",{}),i.jsx("span",{className:"italic",children:"Bali"}),i.jsx("br",{}),i.jsx("span",{className:"text-3xl md:text-4xl lg:text-5xl tracking-widest text-amber-300/80 not-italic",children:"— Awakening"})]}),i.jsx("p",{className:"text-white/60 mt-6 text-base md:text-lg font-light max-w-xl mx-auto leading-relaxed tracking-wide",children:"A 6-Night Immersive Rite of Passage"}),i.jsxs("div",{className:"flex items-center justify-center gap-4 mt-8 text-white/50 text-sm tracking-[0.2em] uppercase font-light",children:[i.jsx("span",{children:"Healing"}),i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-400/60"}),i.jsx("span",{children:"Embodiment"}),i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-400/60"}),i.jsx("span",{children:"Integration"})]}),i.jsx("p",{className:"text-white/50 mt-6 text-sm font-light",children:i.jsx("span",{className:"text-amber-300/70",children:"Intentionally limited to 12 participants."})}),i.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 mt-10 text-white/60 text-sm",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Fu,{className:"w-4 h-4 text-amber-400/70"}),i.jsx("span",{children:"Ubud, Bali"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Em,{className:"w-4 h-4 text-amber-400/70"}),i.jsx("span",{children:"6 Nights / 7 Days"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Du,{className:"w-4 h-4 text-amber-400/70"}),i.jsx("span",{children:"All Inclusive"})]})]}),i.jsxs("div",{className:"mt-12 flex flex-wrap items-center justify-center gap-4",children:[i.jsx(O.button,{onClick:e,whileHover:{scale:1.03},whileTap:{scale:.98},className:"px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500 rounded-none",children:"Apply & Reserve Your Spot"}),i.jsx("a",{href:ux("EventDetails"),className:"px-8 py-4 border border-white/20 text-white/60 text-sm tracking-[0.2em] uppercase font-light hover:bg-white/5 transition-all duration-500",children:"View Event Details"})]})]})}),i.jsx(O.div,{className:"absolute bottom-8 left-1/2 -translate-x-1/2",animate:{y:[0,8,0]},transition:{repeat:1/0,duration:2},children:i.jsx("div",{className:"w-[1px] h-12 bg-gradient-to-b from-transparent to-white/30"})})]})}function nL(){return i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-8",children:"The Invitation"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsx("p",{className:"text-stone-800 text-xl md:text-2xl font-light leading-relaxed italic",children:"There are seasons in life when you feel the quiet pull to step away from noise… and return to yourself."}),i.jsxs("div",{className:"mt-12 space-y-6 text-stone-600 text-base md:text-lg font-light leading-relaxed",children:[i.jsx("p",{children:"This retreat is designed for those moments."}),i.jsx("p",{children:"Over seven nights in Bali, you'll enter a professionally held, energetically grounded container that blends ceremony, embodiment, personal healing, and integration."}),i.jsx("p",{className:"text-stone-500 text-sm md:text-base italic",children:"This is not a performance-based experience."}
256),i.jsx("p",{children:"It is a structured immersion designed to recalibrate your nervous system, clear stagnation, and anchor deeper alignment into your life."})]})]})})})}const iL=["Nature-surrounded accommodations","Beautiful rooms with refined simplicity","Private gathering spaces for ceremony & embodiment","On-site nourishing meals","Calm, expansive atmosphere ideal for deep work"];function sL(){return i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-6xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Setting"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Ubud, Bali"}),i.jsx("p",{className:"text-stone-500 mt-4 font-light",children:"A private sanctuary in the heart of Ubud."})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-8 lg:gap-16 items-center",children:[i.jsxs(O.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"space-y-2",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/403a4ae91_bali-indonesia-ubud-rice-field-shutterstock_604239848.jpg",alt:"Ubud rice terraces",className:"w-full h-48 object-cover rounded-sm"}),i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/204b82bfe_ubud-hero.jpg",alt:"Ubud temple ceremony",className:"w-full h-48 object-cover rounded-sm"})]}),i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/81ddad97b_water-temple-in-ubud-bali-girl-praying-1024x569.jpg",alt:"Lush Ubud jungle",className:"w-full h-64 object-cover rounded-sm"})]}),i.jsxs(O.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8,delay:.2},children:[i.jsx("p",{className:"text-stone-500 text-sm tracking-[0.15em] uppercase mb-8",children:"Expect"}),i.jsx("div",{className:"space-y-6",children:iL.map((e,t)=>i.jsxs("div",{className:"flex items-start gap-4",children:[i.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-600/40 mt-2.5 shrink-0"}),i.jsx("p",{className:"text-stone-700 text-base md:text-lg font-light",children:e})]},t))}),i.jsx("div",{className:"mt-12 pt-8 border-t border-stone-300/30",children:i.jsx("p",{className:"text-stone-500 font-light italic text-sm",children:"The exact venue will be shared with confirmed participants. Expect beauty, depth, and total immersion."})})]})]})]})})}const rL=[{label:"Sacred Ceremony",description:"Each day opens and closes with intentional ritual — breathwork, sound, fire, and prayer woven into the container to mark transitions and honor the process unfolding within you.",src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/81ddad97b_water-temple-in-ubud-bali-girl-praying-1024x569.jpg",alt:"Water temple purification ceremony in Ubud"},{label:"Nature Immersion",description:"The jungle, rice terraces, and sacred rivers of Ubud become your co-facilitators. Guided walks, silent sits in nature, and water ceremonies reconnect you to the Earth and to yourself.",src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/403a4ae91_bali-indonesia-ubud-rice-field-shutterstock_604239848.jpg",alt:"Bali rice fields at golden hour"},{label:"Embodiment & Integration",description:"Through somatic practices, movement, 1:1 sessions, and guided reflection, you'll move insights from your head into your body — making transformation tangible, lived, and lasting.",src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/33a60f1fd_Yoga-Meditation-cover.jpg",alt:"Meditation at sunrise in Bali"}],aL=[{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/204b82bfe_ubud-hero.jpg",alt:"Ubud temple"},{src:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=700&q=80",alt:"Bali sunrise"},{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/403a4ae91_bali-indonesia-ubud-rice-field-shutterstock_604239848.jpg",alt:"Bali rice fields"},{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/33a60f1fd_Yoga-Meditation-cover.jpg",alt:"Meditation Bali"}];function oL(){return i.jsx("section",{className:"py-24 md:py-36 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-20",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Experience"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"A Glimpse of the Experience"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mt-8"}),i.jsx("p",{className:"text-stone-500 font-light mt-8 max-w-2xl mx-auto leading-relaxed text-base md:text-lg",children:"Six nights in Ubud is not a vacation — it is a threshold. Every element of the container is designed to support you in shedding what no longer belongs and stepping more fully into who you are becoming. — it is a threshold. Every element of the container is designed to support you in shedding what no longer belongs and stepping more fully into who you are becoming."})]}),i.jsx("div",{className:"space-y-20 mb-20",children:rL.map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.1},className:`flex flex-col ${t%2===0?"md:flex-row":"md:flex-row-reverse"} gap-10 md:gap-16 items-center`,children:[i.jsx("div",{className:"w-full md:w-1/2 overflow-hidden",children:i.jsx("img",{src:e.src,alt:e.alt,className:"w-full h-72 md:h-96 object-cover"})}),i.jsxs("div",{className:"w-full md:w-1/2 space-y-4",children:[i.jsx("div",{className:"w-8 h-[1px] bg-amber-700/30"}),i.jsx("p",{className:"text-amber-700/70 tracking-[0.25em] uppercase text-xs",children:e.label}),i.jsx("p",{className:"text-stone-700 font-light text-lg md:text-xl leading-relaxed",children:e.description})]})]},t))}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:aL.map((e,t)=>i.jsx(O.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.6,delay:t*.1},className:"overflow-hidden",children:i.jsx("img",{src:e.src,alt:e.alt,className:"w-full h-48 object-cover hover:scale-105 transition-transform duration-700"})},t))})]})})}const lL=[{icon:zx,text:"6 nights / 7 days accommodation"},{icon:V4,text:"All meals prepared on-site"},{icon:h4,text:"Curated sacred excursions"},{icon:Tj,text:"Daily group embodiment & healing sessions"},{icon:y4,text:"Ceremony leadership"},{icon:Sj,text:"One 90-minute private 1:1 healing session"},{icon:R4,text:"Two post-retreat integration calls"},{icon:M4,text:"Full retreat logistics & coordination"}];function cL(){return i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"What's Included"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Full Immersion"})]}),i.jsx("div",{className:"grid sm:grid-cols-2 gap-x-12 gap-y-8",children:lL.map(({icon:e,text:t},n)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:n*.08},className:"flex items-start gap-5 group",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-amber-700/5 flex items-center justify-center shrink-0 group-hover:bg-amber-700/10 transition-colors duration-300",children:i.jsx(e,{className:"w-4 h-4 text-amber-700/50"})}),i.jsx("p",{className:"text-stone-700 font-light text-base md:text-lg pt-2",children:t})]},n))}),i.jsx(O.p,{initial:{opacity:0}
256,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.8,delay:.5},className:"text-center text-stone-500 font-light italic mt-16 text-sm",children:"This is an all-inclusive container designed so you can focus fully on your experience."})]})})}const uL=[{label:"Arrival Day",desc:"Grounding & intention"},{label:"Days 2–3",desc:"Embodiment & clearing"},{label:"Day 4",desc:"Sacred excursion & reflection"},{label:"Days 5–6",desc:"Personal recalibration & ceremony"},{label:"Final Day",desc:"Integration & anchoring"}];function dL(){return i.jsxs("section",{className:"py-24 md:py-36 px-6 bg-stone-900 text-white relative overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 opacity-5",children:i.jsx("img",{src:"https://images.unsplash.com/photo-1518495973542-4542c06a5843?w=1920&q=60",alt:"",className:"w-full h-full object-cover"})}),i.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-20",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Structure"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Each day balances depth and spaciousness."})]}),i.jsxs("div",{className:"relative",children:[i.jsx("div",{className:"absolute left-6 md:left-1/2 top-0 bottom-0 w-[1px] bg-white/10 -translate-x-1/2"}),uL.map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.1},className:`relative flex items-start gap-8 mb-12 last:mb-0 ${t%2===0?"md:flex-row":"md:flex-row-reverse"}`,children:[i.jsx("div",{className:"absolute left-6 md:left-1/2 -translate-x-1/2 w-3 h-3 rounded-full bg-amber-500/40 border border-amber-400/30 z-10"}),i.jsxs("div",{className:`ml-14 md:ml-0 md:w-1/2 ${t%2===0?"md:pr-16 md:text-right":"md:pl-16"}`,children:[i.jsx("p",{className:"text-amber-400/70 text-sm tracking-wider mb-1",children:e.label}),i.jsx("p",{className:"text-white/70 font-light text-lg",children:e.desc})]})]},t))]}),i.jsx(O.p,{initial:{opacity:0}
256,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.6},className:"text-center text-white/40 font-light mt-16 text-sm italic",children:"1:1 healing sessions are woven throughout the week."})]})]})}const hL=["You are navigating transition or growth","You feel ready for deeper self-honesty","You value grounded spiritual work","You're open to both group process and personal healing","You are willing to invest in your evolution"];function mL(){return i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Who This Is For"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight mb-4",children:"This retreat may be aligned if:"})]}),i.jsx("div",{className:"mt-12 space-y-6",children:hL.map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:"flex items-center gap-4 justify-center",children:[i.jsx("div",{className:"w-6 h-[1px] bg-amber-600/30"}),i.jsx("p",{className:"text-stone-700 font-light text-base md:text-lg",children:e})]},t))}),i.jsx(O.div,{initial:{opacity:0}
vendor: 11,128 bytes, lines 256-258
256,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.6},className:"mt-16 py-6 px-8 border border-amber-700/10 bg-amber-50/50",children:i.jsxs("p",{className:"text-stone-800 text-sm font-normal tracking-wide",children:["Limited to ",i.jsx("span",{className:"text-[#5f4525] font-bold",children:"12 participants"})," to preserve depth and connection."]})})]})})}function qN(e,t){return function(){return e.apply(t,arguments)}}const{toString:fL}=Object.prototype,{getPrototypeOf:Ul}=Object,{iterator:qu,toStringTag:ZN}=Symbol,pm=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Eu=(e,t)=>{let n=e;const s=[];for(;n!=null&&n!==Object.prototype;){if(s.indexOf(n)!==-1)return!1;if(s.push(n),pm(n,t))return!0;n=Ul(n)}return!1},pL=(e,t)=>e!=null&&Eu(e,t)?e[t]:void 0,R0=(e=>t=>{const n=fL.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Zi=e=>(e=e.toLowerCase(),t=>R0(t)===e),Um=e=>t=>typeof t===e,{isArray:co}=Array,$l=Um("undefined");function Yl(e){return e!==null&&!$l(e)&&e.constructor!==null&&!$l(e.constructor)&&$n(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const GN=Zi("ArrayBuffer");function gL(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&GN(e.buffer),t}const xL=Um("string"),$n=Um("function"),YN=Um("number"),Kl=e=>e!==null&&typeof e=="object",yL=e=>e===!0||e===!1,Gh=e=>{if(!Kl(e))return!1;const t=Ul(e);return(t===null||t===Object.prototype||Ul(t)===null)&&!Eu(e,ZN)&&!Eu(e,qu)},vL=e=>{if(!Kl(e)||Yl(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},wL=Zi("Date"),bL=Zi("File"),_L=e=>!!(e&&typeof e.uri<"u"),jL=e=>e&&typeof e.getParts<"u",NL=Zi("Blob"),SL=Zi("FileList"),kL=e=>Kl(e)&&$n(e.pipe);function TL(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Wb=TL(),Hb=typeof Wb.FormData<"u"?Wb.FormData:void 0,CL=e=>{if(!e)return!1;if(Hb&&e instanceof Hb)return!0;const t=Ul(e);if(!t||t===Object.prototype||!$n(e.append))return!1;const n=R0(e);return n==="formdata"||n==="object"&&$n(e.toString)&&e.toString()==="[object FormData]"},PL=Zi("URLSearchParams"),[EL,AL,RL,LL]=["ReadableStream","Request","Response","Headers"].map(Zi),IL=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zu(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,l;if(typeof e!="object"&&(e=[e]),co(e))for(s=0,l=e.length;s<l;s++)t.call(null,e[s],s,e);else{if(Yl(e))return;const c=n?Object.getOwnPropertyNames(e):Object.keys(e),d=c.length;let m;for(s=0;s<d;s++)m=c[s],t.call(null,e[m],m,e)}}function KN(e,t){if(Yl(e))return null;t=t.toLowerCase();const n=Object.keys(e);let s=n.length,l;for(;s-- >0;)if(l=n[s],t===l.toLowerCase())return l;return null}const Ka=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,JN=e=>!$l(e)&&e!==Ka;function fx(...e){const{caseless:t,skipUndefined:n}=JN(this)&&this||{},s={},l=(c,d)=>{if(d==="__proto__"||d==="constructor"||d==="prototype")return;const m=t&&typeof d=="string"&&KN(s,d)||d,f=pm(s,m)?s[m]:void 0;Gh(f)&&Gh(c)?s[m]=fx(f,c):Gh(c)?s[m]=fx({},c):co(c)?s[m]=c.slice():(!n||!$l(c))&&(s[m]=c)};for(let c=0,d=e.length;c<d;c++){const m=e[c];if(!m||Yl(m)||(Zu(m,l),typeof m!="object"||co(m)))continue;const f=Object.getOwnPropertySymbols(m);for(let x=0;x<f.length;x++){const y=f[x];qL.call(m,y)&&l(m[y],y)}}return s}const ML=(e,t,n,{allOwnKeys:s}={})=>(Zu(t,(l,c)=>{n&&$n(l)?Object.defineProperty(e,c,{__proto__:null,value:qN(l,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,c,{__proto__:null,value:l,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),e),OL=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),DL=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},FL=(e,t,n,s)=>{let l,c,d;const m={};if(t=t||{},e==null)return t;do{for(l=Object.getOwnPropertyNames(e),c=l.length;c-- >0;)d=l[c],(!s||s(d,e,t))&&!m[d]&&(t[d]=e[d],m[d]=!0);e=n!==!1&&Ul(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},BL=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},VL=e=>{if(!e)return null;if(co(e))return e;let t=e.length;if(!YN(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},zL=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ul(Uint8Array)),UL=(e,t)=>{const s=(e&&e[qu]).call(e);let l;for(;(l=s.next())&&!l.done;){const c=l.value;t.call(e,c[0],c[1])}},$L=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},WL=Zi("HTMLFormElement"),HL=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,l){return s.toUpperCase()+l}),{propertyIsEnumerable:qL}=Object.prototype,ZL=Zi("RegExp"),QN=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Zu(n,(l,c)=>{let d;(d=t(l,c,e))!==!1&&(s[c]=d||l)}),Object.defineProperties(e,s)},GL=e=>{QN(e,(t,n)=>{if($n(e)&&["arguments","caller","callee"].includes(n))return!1;const s=e[n];if($n(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},YL=(e,t)=>{const n={},s=l=>{l.forEach(c=>{n[c]=!0})};return co(e)?s(e):s(String(e).split(t)),n},KL=()=>{},JL=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function QL(e){return!!(e&&$n(e.append)&&e[ZN]==="FormData"&&e[qu])}const XL=e=>{const t=new WeakSet,n=s=>{if(Kl(s)){if(t.has(s))return;if(Yl(s))return s;if(!("toJSON"in s)){t.add(s);const l=co(s)?[]:{};return Zu(s,(c,d)=>{const m=n(c);!$l(m)&&(l[d]=m)}),t.delete(s),l}}return s};return n(e)},e6=Zi("AsyncFunction"),t6=e=>e&&(Kl(e)||$n(e))&&$n(e.then)&&$n(e.catch),XN=((e,t)=>e?setImmediate:t?((n,s)=>(Ka.addEventListener("message",({source:l,data:c})=>{l===Ka&&c===n&&s.length&&s.shift()()},!1),l=>{s.push(l),Ka.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",$n(Ka.postMessage)),n6=typeof queueMicrotask<"u"?queueMicrotask.bind(Ka):typeof process<"u"&&process.nextTick||XN,e2=e=>e!=null&&$n(e[qu]),i6=e=>e!=null&&Eu(e,qu)&&e2(e),q={isArray:co,isArrayBuffer:GN,isBuffer:Yl,isFormData:CL,isArrayBufferView:gL,isString:xL,isNumber:YN,isBoolean:yL,isObject:Kl,isPlainObject:Gh,isEmptyObject:vL,isReadableStream:EL,isRequest:AL,isResponse:RL,isHeaders:LL,isUndefined:$l,isDate:wL,isFile:bL,isReactNativeBlob:_L,isReactNative:jL,isBlob:NL,isRegExp:ZL,isFunction:$n,isStream:kL,isURLSearchParams:PL,isTypedArray:zL,isFileList:SL,forEach:Zu,merge:fx,extend:ML,trim:IL,stripBOM:OL,inherits:DL,toFlatObject:FL,kindOf:R0,kindOfTest:Zi,endsWith:BL,toArray:VL,forEachEntry:UL,matchAll:$L,isHTMLForm:WL,hasOwnProperty:pm,hasOwnProp:pm,hasOwnInPrototypeChain:Eu,getSafeProp:pL,reduceDescriptors:QN,freezeMethods:GL,toObjectSet:YL,toCamelCase:HL,noop:KL,toFiniteNumber:JL,findKey:KN,global:Ka,isContextDefined:JN,isSpecCompliantForm:QL,toJSONObject:XL,isAsyncFn:e6,isThenable:t6,setImmediate:XN,asap:n6,isIterable:e2,isSafeIterable:i6},s6=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),r6=e=>{const t={};let n,s,l;return e&&e.split(`
257`).forEach(function(d){l=d.indexOf(":"),n=d.substring(0,l).trim().toLowerCase(),s=d.substring(l+1).trim(),!(!n||t[n]&&s6[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t};function a6(e){let t=0,n=e.length;for(;t<n;){const s=e.charCodeAt(t);if(s!==9&&s!==32)break;t+=1}for(;n>t;){const s=e.charCodeAt(n-1);if(s!==9&&s!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const o6=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),l6=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function L0(e,t){return q.isArray(e)?e.map(n=>L0(n,t)):a6(String(e).replace(t,""))}const c6=e=>L0(e,o6),u6=e=>L0(e,l6);function t2(e){const t=Object.create(null);return q.forEach(e.toJSON(),(n,s)=>{t[s]=u6(n)}),t}const qb=Symbol("internals");function tu(e){return e&&String(e).trim().toLowerCase()}function Yh(e){return e===!1||e==null?e:q.isArray(e)?e.map(Yh):c6(String(e))}function d6(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const h6=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ng(e,t,n,s,l){if(q.isFunction(s))return s.call(this,t,n);if(l&&(t=n),!!q.isString(t)){if(q.isString(s))return t.indexOf(s)!==-1;if(q.isRegExp(s))return s.test(t)}}function m6(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function f6(e,t){const n=q.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{__proto__:null,value:function(l,c,d){return this[s].call(this,t,l,c,d)},configurable:!0})})}let Sn=class{constructor(t){t&&this.set(t)}set(t,n,s){const l=this;function c(m,f,x){const y=tu(f);if(!y)return;const v=q.findKey(l,y);(!v||l[v]===void 0||x===!0||x===void 0&&l[v]!==!1)&&(l[v||f]=Yh(m))}const d=(m,f)=>q.forEach(m,(x,y)=>c(x,y,f));if(q.isPlainObject(t)||t instanceof this.constructor)d(t,n);else if(q.isString(t)&&(t=t.trim())&&!h6(t))d(r6(t),n);else if(q.isObject(t)&&q.isSafeIterable(t)){let m=Object.create(null),f,x;for(const y of t){if(!q.isArray(y))throw new TypeError("Object iterator must return a key-value pair");x=y[0],q.hasOwnProp(m,x)?(f=m[x],m[x]=q.isArray(f)?[...f,y[1]]:[f,y[1]]):m[x]=y[1]}d(m,n)}else t!=null&&c(n,t,s);return this}get(t,n){if(t=tu(t),t){const s=q.findKey(this,t);if(s){const l=this[s];if(!n)return l;if(n===!0)return d6(l);if(q.isFunction(n))return n.call(this,l,s);if(q.isRegExp(n))return n.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=tu(t),t){const s=q.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||ng(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let l=!1;function c(d){if(d=tu(d),d){const m=q.findKey(s,d);m&&(!n||ng(s,s[m],m,n))&&(delete s[m],l=!0)}}return q.isArray(t)?t.forEach(c):c(t),l}clear(t){const n=Object.keys(this);let s=n.length,l=!1;for(;s--;){const c=n[s];(!t||ng(this,this[c],c,t,!0))&&(delete this[c],l=!0)}return l}normalize(t){const n=this,s={};return q.forEach(this,(l,c)=>{const d=q.findKey(s,c);if(d){n[d]=Yh(l),delete n[c];return}const m=t?m6(c):String(c).trim();m!==c&&delete n[c],n[m]=Yh(l),s[m]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return q.forEach(this,(s,l)=>{s!=null&&s!==!1&&(n[l]=t&&q.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
258`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);
vendor: 4,637 bytes, line 258
258return n.forEach(l=>s.set(l)),s}static accessor(t){const s=(this[qb]=this[qb]={accessors:{}}).accessors,l=this.prototype;function c(d){const m=tu(d);s[m]||(f6(l,d),s[m]=!0)}return q.isArray(t)?t.forEach(c):c(t),this}};Sn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.reduceDescriptors(Sn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});q.freezeMethods(Sn);const p6="[REDACTED ****]";function g6(e){if(q.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(q.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function x6(e,t){const n=new Set(t.map(c=>String(c).toLowerCase())),s=[],l=c=>{if(c===null||typeof c!="object"||q.isBuffer(c))return c;if(s.indexOf(c)!==-1)return;c instanceof Sn&&(c=c.toJSON()),s.push(c);let d;if(q.isArray(c))d=[],c.forEach((m,f)=>{const x=l(m);q.isUndefined(x)||(d[f]=x)});else{if(!q.isPlainObject(c)&&g6(c))return s.pop(),c;d=Object.create(null);for(const[m,f]of Object.entries(c)){const x=n.has(m.toLowerCase())?p6:l(f);q.isUndefined(x)||(d[m]=x)}}return s.pop(),d};return l(e)}let we=class n2 extends Error{static from(t,n,s,l,c,d){const m=new n2(t.message,n||t.code,s,l,c);return Object.defineProperty(m,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),m.name=t.name,t.status!=null&&m.status==null&&(m.status=t.status),d&&Object.assign(m,d),m}constructor(t,n,s,l,c){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),s&&(this.config=s),l&&(this.request=l),c&&(this.response=c,this.status=c.status)}toJSON(){const t=this.config,n=t&&q.hasOwnProp(t,"redact")?t.redact:void 0,s=q.isArray(n)&&n.length>0?x6(t,n):q.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:s,code:this.code,status:this.status}}};we.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";we.ERR_BAD_OPTION="ERR_BAD_OPTION";we.ECONNABORTED="ECONNABORTED";we.ETIMEDOUT="ETIMEDOUT";we.ECONNREFUSED="ECONNREFUSED";we.ERR_NETWORK="ERR_NETWORK";we.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";we.ERR_DEPRECATED="ERR_DEPRECATED";we.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";we.ERR_BAD_REQUEST="ERR_BAD_REQUEST";we.ERR_CANCELED="ERR_CANCELED";we.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";we.ERR_INVALID_URL="ERR_INVALID_URL";we.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const y6=null,i2=100;function px(e){return q.isPlainObject(e)||q.isArray(e)}function s2(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function ig(e,t,n){return e?e.concat(t).map(function(l,c){return l=s2(l),!n&&c?"["+l+"]":l}).join(n?".":""):t}function v6(e){return q.isArray(e)&&!e.some(px)}const w6=q.toFlatObject(q,{},null,function(t){return/^is[A-Z]/.test(t)});function $m(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,I){return!q.isUndefined(I[A])});const s=n.metaTokens,l=n.visitor||E,c=n.dots,d=n.indexes,m=n.Blob||typeof Blob<"u"&&Blob,f=n.maxDepth===void 0?i2:n.maxDepth,x=m&&q.isSpecCompliantForm(t),y=[];if(!q.isFunction(l))throw new TypeError("visitor must be a function");function v(T){if(T===null)return"";if(q.isDate(T))return T.toISOString();if(q.isBoolean(T))return T.toString();if(!x&&q.isBlob(T))throw new we("Blob is not supported. Use a Buffer instead.");if(q.isArrayBuffer(T)||q.isTypedArray(T)){if(x&&typeof m=="function")return new m([T]);if(typeof Buffer<"u")return Buffer.from(T);throw new we("Blob is not supported. Use a Buffer instead.",we.ERR_NOT_SUPPORT)}return T}function _(T){if(T>f)throw new we("Object is too deeply nested ("+T+" levels). Max depth: "+f,we.ERR_FORM_DATA_DEPTH_EXCEEDED)}function S(T,A){if(f===1/0)return JSON.stringify(T);const I=[];return JSON.stringify(T,function(B,G){if(!q.isObject(G))return G;for(;I.length&&I[I.length-1]!==this;)I.pop();return I.push(G),_(A+I.length-1),G})}function E(T,A,I){let D=T;if(q.isReactNative(t)&&q.isReactNativeBlob(T))return t.append(ig(I,A,c),v(T)),!1;if(T&&!I&&typeof T=="object"){if(q.endsWith(A,"{}"))A=s?A:A.slice(0,-2),T=S(T,1);else if(q.isArray(T)&&v6(T)||(q.isFileList(T)||q.endsWith(A,"[]"))&&(D=q.toArray(T)))return A=s2(A),D.forEach(function(G,K){!(q.isUndefined(G)||G===null)&&t.append(d===!0?ig([A],K,c):d===null?A:A+"[]",v(G))}),!1}return px(T)?!0:(t.append(ig(I,A,c),v(T)),!1)}
vendor: 4,389 bytes, line 258
258const k=Object.assign(w6,{defaultVisitor:E,convertValue:v,isVisitable:px});function P(T,A,I=0){if(!q.isUndefined(T)){if(_(I),y.indexOf(T)!==-1)throw new Error("Circular reference detected in "+A.join("."));y.push(T),q.forEach(T,function(B,G){(!(q.isUndefined(B)||B===null)&&l.call(t,B,q.isString(G)?G.trim():G,A,k))===!0&&P(B,A?A.concat(G):[G],I+1)}),y.pop()}}if(!q.isObject(e))throw new TypeError("data must be an object");return P(e),t}function Zb(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(s){return t[s]})}function I0(e,t){this._pairs=[],e&&$m(e,this,t)}const r2=I0.prototype;r2.append=function(t,n){this._pairs.push([t,n])};r2.toString=function(t){const n=t?s=>t.call(this,s,Zb):Zb;return this._pairs.map(function(l){return n(l[0])+"="+n(l[1])},"").join("&")};function b6(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function a2(e,t,n){if(!t)return e;e=e||"";const s=q.isFunction(n)?{serialize:n}:n,l=q.getSafeProp(s,"encode")||b6,c=q.getSafeProp(s,"serialize");let d;if(c?d=c(t,s):d=q.isURLSearchParams(t)?t.toString():new I0(t,s).toString(l),d){const m=e.indexOf("#");m!==-1&&(e=e.slice(0,m)),e+=(e.indexOf("?")===-1?"?":"&")+d}return e}class Gb{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){q.forEach(this.handlers,function(s){s!==null&&t(s)})}}const M0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},_6=typeof URLSearchParams<"u"?URLSearchParams:I0,j6=typeof FormData<"u"?FormData:null,N6=typeof Blob<"u"?Blob:null,S6={isBrowser:!0,classes:{URLSearchParams:_6,FormData:j6,Blob:N6},protocols:["http","https","file","blob","url","data"]},O0=typeof window<"u"&&typeof document<"u",gx=typeof navigator=="object"&&navigator||void 0,k6=O0&&(!gx||["ReactNative","NativeScript","NS"].indexOf(gx.product)<0),T6=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",C6=O0&&window.location.href||"http://localhost",P6=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:O0,hasStandardBrowserEnv:k6,hasStandardBrowserWebWorkerEnv:T6,navigator:gx,origin:C6},Symbol.toStringTag,{value:"Module"})),dn={...P6,...S6};function E6(e,t){return $m(e,new dn.classes.URLSearchParams,{visitor:function(n,s,l,c){return dn.isNode&&q.isBuffer(n)?(this.append(s,n.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...t})}const Yb=i2;function o2(e){if(e>Yb)throw new we("FormData field is too deeply nested ("+e+" levels). Max depth: "+Yb,we.ERR_FORM_DATA_DEPTH_EXCEEDED)}function A6(e){const t=[],n=/\w+|\[(\w*)]/g;let s;for(;(s=n.exec(e))!==null;)o2(t.length),t.push(s[0]==="[]"?"":s[1]||s[0]);return t}function R6(e){const t={},n=Object.keys(e);let s;const l=n.length;let c;for(s=0;s<l;s++)c=n[s],t[c]=e[c];return t}function l2(e){function t(n,s,l,c){o2(c);let d=n[c++];if(d==="__proto__")return!0;const m=Number.isFinite(+d),f=c>=n.length;return d=!d&&q.isArray(l)?l.length:d,f?(q.hasOwnProp(l,d)?l[d]=q.isArray(l[d])?l[d].concat(s):[l[d],s]:l[d]=s,!m):((!q.hasOwnProp(l,d)||!q.isObject(l[d]))&&(l[d]=[]),t(n,s,l[d],c)&&q.isArray(l[d])&&(l[d]=R6(l[d])),!m)}if(q.isFormData(e)&&q.isFunction(e.entries)){const n={};return q.forEachEntry(e,(s,l)=>{t(A6(s),l,n,0)}),n}return null}const hl=(e,t)=>e!=null&&q.hasOwnProp(e,t)?e[t]:void 0;function L6(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Gu={transitional:M0,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",l=s.indexOf("application/json")>-1,c=q.isObject(t);if(c&&q.isHTMLForm(t)&&(t=new FormData(t)),q.isFormData(t))return l?JSON.stringify(l2(t)):t;if(q.isArrayBuffer(t)||q.isBuffer(t)||q.isStream(t)||q.isFile(t)||q.isBlob(t)||q.isReadableStream(t))return t;if(q.isArrayBufferView(t))return t.buffer;if(q.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let m;
vendor: 10,169 bytes, line 258
258if(c){const f=hl(this,"formSerializer");if(s.indexOf("application/x-www-form-urlencoded")>-1)return E6(t,f).toString();if((m=q.isFileList(t))||s.indexOf("multipart/form-data")>-1){const x=hl(this,"env"),y=x&&x.FormData;return $m(m?{"files[]":t}:t,y&&new y,f)}}return c||l?(n.setContentType("application/json",!1),L6(t)):t}],transformResponse:[function(t){const n=hl(this,"transitional")||Gu.transitional,s=n&&n.forcedJSONParsing,l=hl(this,"responseType"),c=l==="json";if(q.isResponse(t)||q.isReadableStream(t))return t;if(t&&q.isString(t)&&(s&&!l||c)){const m=!(n&&n.silentJSONParsing)&&c;try{return JSON.parse(t,hl(this,"parseReviver"))}catch(f){if(m)throw f.name==="SyntaxError"?we.from(f,we.ERR_BAD_RESPONSE,this,null,hl(this,"response")):f}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:dn.classes.FormData,Blob:dn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch","query"],e=>{Gu.headers[e]={}});function sg(e,t){const n=this||Gu,s=t||n,l=Sn.from(s.headers);let c=s.data;return q.forEach(e,function(m){c=m.call(n,c,l.normalize(),t?t.status:void 0)}),l.normalize(),c}function c2(e){return!!(e&&e.__CANCEL__)}let Yu=class extends we{constructor(t,n,s){super(t??"canceled",we.ERR_CANCELED,n,s),this.name="CanceledError",this.__CANCEL__=!0}};function u2(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new we("Request failed with status code "+n.status,n.status>=400&&n.status<500?we.ERR_BAD_REQUEST:we.ERR_BAD_RESPONSE,n.config,n.request,n))}function I6(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function M6(e,t){e=e||10;const n=new Array(e),s=new Array(e);let l=0,c=0,d;return t=t!==void 0?t:1e3,function(f){const x=Date.now(),y=s[c];d||(d=x),n[l]=f,s[l]=x;let v=c,_=0;for(;v!==l;)_+=n[v++],v=v%e;if(l=(l+1)%e,l===c&&(c=(c+1)%e),x-d<t)return;const S=y&&x-y;return S?Math.round(_*1e3/S):void 0}}function O6(e,t){let n=0,s=1e3/t,l,c;const d=(x,y=Date.now())=>{n=y,l=null,c&&(clearTimeout(c),c=null),e(...x)};return[(...x)=>{const y=Date.now(),v=y-n;v>=s?d(x,y):(l=x,c||(c=setTimeout(()=>{c=null,d(l)},s-v)))},()=>l&&d(l)]}const gm=(e,t,n=3)=>{let s=0;const l=M6(50,250);return O6(c=>{if(!c||typeof c.loaded!="number")return;const d=c.loaded,m=c.lengthComputable?c.total:void 0,f=m!=null?Math.min(d,m):d,x=Math.max(0,f-s),y=l(x);s=Math.max(s,f);const v={loaded:f,total:m,progress:m?f/m:void 0,bytes:x,rate:y||void 0,estimated:y&&m?(m-f)/y:void 0,event:c,lengthComputable:m!=null,[t?"download":"upload"]:!0};e(v)},n)},Kb=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Jb=e=>(...t)=>q.asap(()=>e(...t)),D6=dn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,dn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(dn.origin),dn.navigator&&/(msie|trident)/i.test(dn.navigator.userAgent)):()=>!0,F6=dn.hasStandardBrowserEnv?{write(e,t,n,s,l,c,d){if(typeof document>"u")return;const m=[`${e}=${encodeURIComponent(t)}`];q.isNumber(n)&&m.push(`expires=${new Date(n).toUTCString()}`),q.isString(s)&&m.push(`path=${s}`),q.isString(l)&&m.push(`domain=${l}`),c===!0&&m.push("secure"),q.isString(d)&&m.push(`SameSite=${d}`),document.cookie=m.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const s=t[n].replace(/^\s+/,""),l=s.indexOf("=");if(l!==-1&&s.slice(0,l)===e)try{return decodeURIComponent(s.slice(l+1))}catch{return s.slice(l+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function B6(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function V6(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const z6=/^https?:(?!\/\/)/i,U6=/[\t\n\r]/g;function $6(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function W6(e){return $6(e).replace(U6,"")}function Qb(e,t){if(typeof e=="string"&&z6.test(W6(e)))throw new we('Invalid URL: missing "//" after protocol',we.ERR_INVALID_URL,t)}function d2(e,t,n,s){Qb(t,s);let l=!B6(t);return e&&(l||n===!1)?(Qb(e,s),V6(e,t)):t}const Xb=e=>e instanceof Sn?{...e}:e;function uo(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function s(y,v,_,S){return q.isPlainObject(y)&&q.isPlainObject(v)?q.merge.call({caseless:S},y,v):q.isPlainObject(v)?q.merge({},v):q.isArray(v)?v.slice():v}function l(y,v,_,S){if(q.isUndefined(v)){if(!q.isUndefined(y))return s(void 0,y,_,S)}else return s(y,v,_,S)}function c(y,v){if(!q.isUndefined(v))return s(void 0,v)}function d(y,v){if(q.isUndefined(v)){if(!q.isUndefined(y))return s(void 0,y)}else return s(void 0,v)}function m(y){const v=q.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!q.isUndefined(v))if(q.isPlainObject(v)){if(q.hasOwnProp(v,y))return v[y]}else return;const _=q.hasOwnProp(e,"transitional")?e.transitional:void 0;if(q.isPlainObject(_)&&q.hasOwnProp(_,y))return _[y]}function f(y,v,_){if(q.hasOwnProp(t,_))return s(y,v);if(q.hasOwnProp(e,_))return s(void 0,y)}const x={url:c,method:c,data:c,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,withXSRFToken:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,allowedSocketPaths:d,responseEncoding:d,validateStatus:f,headers:(y,v,_)=>l(Xb(y),Xb(v),_,!0)};return q.forEach(Object.keys({...e,...t}),function(v){if(v==="__proto__"||v==="constructor"||v==="prototype")return;const _=q.hasOwnProp(x,v)?x[v]:l,S=q.hasOwnProp(e,v)?e[v]:void 0,E=q.hasOwnProp(t,v)?t[v]:void 0,k=_(S,E,v);q.isUndefined(k)&&_!==f||(n[v]=k)}),q.hasOwnProp(t,"validateStatus")&&q.isUndefined(t.validateStatus)&&m("validateStatusUndefinedResolves")===!1&&(q.hasOwnProp(e,"validateStatus")?n.validateStatus=s(void 0,e.validateStatus):delete n.validateStatus),n}const H6=["content-type","content-length"];function q6(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([s,l])=>{H6.includes(s.toLowerCase())&&e.set(s,l)})}const Z6=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function h2(e){const t=uo({},e),n=_=>q.hasOwnProp(t,_)?t[_]:void 0,s=n("data");let l=n("withXSRFToken");const c=n("xsrfHeaderName"),d=n("xsrfCookieName");let m=n("headers");const f=n("auth"),x=n("baseURL"),y=n("allowAbsoluteUrls"),v=n("url");if(t.headers=m=Sn.from(m),t.url=a2(d2(x,v,y,t),n("params"),n("paramsSerializer")),f){const _=q.getSafeProp(f,"username")||"",S=q.getSafeProp(f,"password")||"";try{m.set("Authorization","Basic "+btoa(_+":"+(S?Z6(S):"")))}catch(E){throw we.from(E,we.ERR_BAD_OPTION_VALUE,e)}}if(q.isFormData(s)&&(dn.hasStandardBrowserEnv||dn.hasStandardBrowserWebWorkerEnv||q.isReactNative(s)?m.setContentType(void 0):q.isFunction(s.getHeaders)&&q6(m,s.getHeaders(),n("formDataHeaderPolicy"))),dn.hasStandardBrowserEnv&&(q.isFunction(l)&&(l=l(t)),l===!0||l==null&&D6(t.url))){const S=c&&d&&F6.read(d);S&&m.set(c,S)}return t}const G6=typeof XMLHttpRequest<"u",Y6=G6&&function(e){return new Promise(function(n,s){const l=h2(e);let c=l.data;const d=Sn.from(l.headers).normalize();let{responseType:m,onUploadProgress:f,onDownloadProgress:x}=l,y,v,_,S,E;function k(){S&&S(),E&&E(),l.cancelToken&&l.cancelToken.unsubscribe(y),l.signal&&l.signal.removeEventListener("abort",y)}let P=new XMLHttpRequest;P.open(l.method.toUpperCase(),l.url,!0),P.timeout=l.timeout;function T(){if(!P)return;const I=Sn.from("getAllResponseHeaders"in P&&P.getAllResponseHeaders()),B={data:!m||m==="text"||m==="json"?P.responseText:P.response,status:P.status,statusText:P.statusText,headers:I,config:e,request:P};u2(function(K){n(K),k()},function(K){s(K),k()},B),P=null}"onloadend"in P?P.onloadend=T:P.onreadystatechange=function(){!P||P.readyState!==4||P.status===0&&!(P.responseURL&&P.responseURL.startsWith("file:"))||setTimeout(T)},P.onabort=function(){P&&(s(new we("Request aborted",we.ECONNABORTED,e,P)),k(),P=null)},P.onerror=function(D){const B=D&&D.message?D.message:"Network Error",G=new we(B,we.ERR_NETWORK,e,P);G.event=D||null,s(G),k(),P=null},P.ontimeout=function(){let D=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const B=l.transitional||M0;l.timeoutErrorMessage&&(D=l.timeoutErrorMessage),s(new we(D,B.clarifyTimeoutError?we.ETIMEDOUT:we.ECONNABORTED,e,P)),k(),P=null},c===void 0&&d.setContentType(null),"setRequestHeader"in P&&q.forEach(t2(d),function(D,B){P.setRequestHeader(B,D)}),q.isUndefined(l.withCredentials)||(P.withCredentials=!!l.withCredentials),m&&m!=="json"&&(P.responseType=l.responseType),x&&([_,E]=gm(x,!0),P.addEventListener("progress",_)),f&&P.upload&&([v,S]=gm(f),P.upload.addEventListener("progress",v),P.upload.addEventListener("loadend",S)),(l.cancelToken||l.signal)&&(y=I=>{P&&(s(!I||I.type?new Yu(null,e,P):I),P.abort(),k(),P=null)},l.cancelToken&&l.cancelToken.subscribe(y),l.signal&&(l.signal.aborted?y():l.signal.addEventListener("abort",y)));const A=I6(l.url);if(A&&!dn.protocols.includes(A)){s(new we("Unsupported protocol "+A+":",we.ERR_BAD_REQUEST,e)),k();return}P.send(c||null)})},K6=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let s=!1;const l=function(f){if(!s){s=!0,d();const x=f instanceof Error?f:this.reason;n.abort(x instanceof we?x:new Yu(x instanceof Error?x.message:x))}};let c=t&&setTimeout(()=>{c=null,l(new we(`timeout of ${t}ms exceeded`,we.ETIMEDOUT))},t);const d=()=>{e&&(c&&clearTimeout(c),c=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(l):f.removeEventListener("abort",l)}),e=null)};e.forEach(f=>f.addEventListener("abort",l,{once:!0}));const{signal:m}=n;return m.unsubscribe=()=>q.asap(d),m},J6=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let s=0,l;for(;s<n;
vendor: 2,871 bytes, line 258
258)l=s+t,yield e.slice(s,l),s=l},Q6=async function*(e,t){for await(const n of X6(e))yield*J6(n,t)},X6=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:s}=await t.read();if(n)break;yield s}}finally{await t.cancel()}},e_=(e,t,n,s)=>{const l=Q6(e,t);let c=0,d,m=f=>{d||(d=!0,s&&s(f))};return new ReadableStream({async pull(f){try{const{done:x,value:y}=await l.next();if(x){m(),f.close();return}let v=y.byteLength;if(n){let _=c+=v;n(_)}f.enqueue(new Uint8Array(y))}catch(x){throw m(x),x}},cancel(f){return m(f),l.return()}},{highWaterMark:2})},xm=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,eI=(e,t,n)=>t+2<n&&xm(e.charCodeAt(t+1))&&xm(e.charCodeAt(t+2));function tI(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),s=e.slice(t+1);if(/;base64/i.test(n)){let d=s.length;const m=s.length;for(let S=0;S<m;S++)if(s.charCodeAt(S)===37&&S+2<m){const E=s.charCodeAt(S+1),k=s.charCodeAt(S+2);xm(E)&&xm(k)&&(d-=2,S+=2)}let f=0,x=m-1;const y=S=>S>=2&&s.charCodeAt(S-2)===37&&s.charCodeAt(S-1)===51&&(s.charCodeAt(S)===68||s.charCodeAt(S)===100);x>=0&&(s.charCodeAt(x)===61?(f++,x--):y(x)&&(f++,x-=3)),f===1&&x>=0&&(s.charCodeAt(x)===61||y(x))&&f++;const _=Math.floor(d/4)*3-(f||0);return _>0?_:0}let c=0;for(let d=0,m=s.length;d<m;d++){const f=s.charCodeAt(d);if(f===37&&eI(s,d,m))c+=1,d+=2;else if(f<128)c+=1;else if(f<2048)c+=2;else if(f>=55296&&f<=56319&&d+1<m){const x=s.charCodeAt(d+1);x>=56320&&x<=57343?(c+=4,d++):c+=3}else c+=3}return c}const D0="1.18.1",t_=64*1024,{isFunction:Rh}=q,nI=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),n_=e=>{if(!q.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},i_=(e,...t)=>{try{return!!e(...t)}catch{return!1}},iI=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},sI=e=>{const t=q.global!==void 0&&q.global!==null?q.global:globalThis,{ReadableStream:n,TextEncoder:s}=t;e=q.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:l,Request:c,Response:d}=e,m=l?Rh(l):typeof fetch=="function",f=Rh(c),x=Rh(d);if(!m)return!1;const y=m&&Rh(n),v=m&&(typeof s=="function"?(T=>A=>T.encode(A))(new s):async T=>new Uint8Array(await new c(T).arrayBuffer())),_=f&&y&&i_(()=>{let T=!1;const A=new c(dn.origin,{body:new n,method:"POST",get duplex(){return T=!0,"half"}}),I=A.headers.has("Content-Type");return A.body!=null&&A.body.cancel(),T&&!I}),S=x&&y&&i_(()=>q.isReadableStream(new d("").body)),E={stream:S&&(T=>T.body)};m&&["text","arrayBuffer","blob","formData","stream"].forEach(T=>{!E[T]&&(E[T]=(A,I)=>{let D=A&&A[T];if(D)return D.call(A);throw new we(`Response type '${T}' is not supported`,we.ERR_NOT_SUPPORT,I)})});const k=async T=>{if(T==null)return 0;
vendor: 6,706 bytes, lines 258-260
258if(q.isBlob(T))return T.size;if(q.isSpecCompliantForm(T))return(await new c(dn.origin,{method:"POST",body:T}).arrayBuffer()).byteLength;if(q.isArrayBufferView(T)||q.isArrayBuffer(T))return T.byteLength;if(q.isURLSearchParams(T)&&(T=T+""),q.isString(T))return(await v(T)).byteLength},P=async(T,A)=>{const I=q.toFiniteNumber(T.getContentLength());return I??k(A)};return async T=>{let{url:A,method:I,data:D,signal:B,cancelToken:G,timeout:K,onDownloadProgress:W,onUploadProgress:se,responseType:de,headers:fe,withCredentials:ve="same-origin",fetchOptions:Ae,maxContentLength:xe,maxBodyLength:Oe}=h2(T);const le=q.isNumber(xe)&&xe>-1,he=q.isNumber(Oe)&&Oe>-1,Y=ie=>q.hasOwnProp(T,ie)?T[ie]:void 0;let me=l||fetch;de=de?(de+"").toLowerCase():"text";let Z=K6([B,G&&G.toAbortSignal()],K),z=null;const ne=Z&&Z.unsubscribe&&(()=>{Z.unsubscribe()});let je,ye=null;const ge=()=>new we("Request body larger than maxBodyLength limit",we.ERR_BAD_REQUEST,T,z);try{let ie;const ce=Y("auth");if(ce){const De=q.getSafeProp(ce,"username")||"",gt=q.getSafeProp(ce,"password")||"";ie={username:De,password:gt}}if(iI(A)){const De=new URL(A,dn.origin);if(!ie&&(De.username||De.password)){const gt=n_(De.username),Xt=n_(De.password);ie={username:gt,password:Xt}}(De.username||De.password)&&(De.username="",De.password="",A=De.href)}if(ie&&(fe.delete("authorization"),fe.set("Authorization","Basic "+btoa(nI((ie.username||"")+":"+(ie.password||""))))),le&&typeof A=="string"&&A.startsWith("data:")&&tI(A)>xe)throw new we("maxContentLength size of "+xe+" exceeded",we.ERR_BAD_RESPONSE,T,z);if(he&&I!=="get"&&I!=="head"){const De=await k(D);if(typeof De=="number"&&isFinite(De)&&(je=De,De>Oe))throw ge()}const _e=he&&(q.isReadableStream(D)||q.isStream(D)),ke=(De,gt,Xt)=>e_(De,t_,en=>{if(he&&en>Oe)throw ye=ge();gt&&gt(en)},Xt);if(_&&I!=="get"&&I!=="head"&&(se||_e)){if(je=je??await P(fe,D),je!==0||_e){let De=new c(A,{method:"POST",body:D,duplex:"half"}),gt;if(q.isFormData(D)&&(gt=De.headers.get("content-type"))&&fe.setContentType(gt),De.body){const[Xt,en]=se&&Kb(je,gm(Jb(se)))||[];D=ke(De.body,Xt,en)}}}else if(_e&&!f&&y&&I!=="get"&&I!=="head")D=ke(D);else if(_e&&f&&!_&&I!=="get"&&I!=="head")throw new we("Stream request bodies are not supported by the current fetch implementation",we.ERR_NOT_SUPPORT,T,z);q.isString(ve)||(ve=ve?"include":"omit");const We=f&&"credentials"in c.prototype;if(q.isFormData(D)){const De=fe.getContentType();De&&/^multipart\/form-data/i.test(De)&&!/boundary=/i.test(De)&&fe.delete("content-type")}fe.set("User-Agent","axios/"+D0,!1);const Ge={...Ae,signal:Z,method:I.toUpperCase(),headers:t2(fe.normalize()),body:D,duplex:"half",credentials:We?ve:void 0};z=f&&new c(A,Ge);let Be=await(f?me(z,Ae):me(A,Ge));const dt=Sn.from(Be.headers);if(le){const De=q.toFiniteNumber(dt.getContentLength());if(De!=null&&De>xe)throw new we("maxContentLength size of "+xe+" exceeded",we.ERR_BAD_RESPONSE,T,z)}const bt=S&&(de==="stream"||de==="response");if(S&&Be.body&&(W||le||bt&&ne)){const De={};["status","statusText","headers"].forEach(oi=>{De[oi]=Be[oi]});const gt=q.toFiniteNumber(dt.getContentLength()),[Xt,en]=W&&Kb(gt,gm(Jb(W),!0))||[];let ki=0;const ai=oi=>{if(le&&(ki=oi,ki>xe))throw new we("maxContentLength size of "+xe+" exceeded",we.ERR_BAD_RESPONSE,T,z);Xt&&Xt(oi)};Be=new d(e_(Be.body,t_,ai,()=>{en&&en(),ne&&ne()}),De)}de=de||"text";let Bt=await E[q.findKey(E,de)||"text"](Be,T);if(le&&!S&&!bt){let De;if(Bt!=null&&(typeof Bt.byteLength=="number"?De=Bt.byteLength:typeof Bt.size=="number"?De=Bt.size:typeof Bt=="string"&&(De=typeof s=="function"?new s().encode(Bt).byteLength:Bt.length)),typeof De=="number"&&De>xe)throw new we("maxContentLength size of "+xe+" exceeded",we.ERR_BAD_RESPONSE,T,z)}return!bt&&ne&&ne(),await new Promise((De,gt)=>{u2(De,gt,{data:Bt,headers:Sn.from(Be.headers),status:Be.status,statusText:Be.statusText,config:T,request:z})})}catch(ie){if(ne&&ne(),Z&&Z.aborted&&Z.reason instanceof we){const ce=Z.reason;throw ce.config=T,z&&(ce.request=z),ie!==ce&&Object.defineProperty(ce,"cause",{__proto__:null,value:ie,writable:!0,enumerable:!1,configurable:!0}),ce}if(ye)throw z&&!ye.request&&(ye.request=z),ye;if(ie instanceof we)throw z&&!ie.request&&(ie.request=z),ie;if(ie&&ie.name==="TypeError"&&/Load failed|fetch/i.test(ie.message)){const ce=new we("Network Error",we.ERR_NETWORK,T,z,ie&&ie.response);throw Object.defineProperty(ce,"cause",{__proto__:null,value:ie.cause||ie,writable:!0,enumerable:!1,configurable:!0}),ce}throw we.from(ie,ie&&ie.code,T,z,ie&&ie.response)}}},rI=new Map,m2=e=>{let t=e&&e.env||{};const{fetch:n,Request:s,Response:l}=t,c=[s,l,n];let d=c.length,m=d,f,x,y=rI;for(;m--;)f=c[m],x=y.get(f),x===void 0&&y.set(f,x=m?new Map:sI(t)),y=x;return x};m2();const F0={http:y6,xhr:Y6,fetch:{get:m2}};q.forEach(F0,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const s_=e=>`- ${e}`,aI=e=>q.isFunction(e)||e===null||e===!1;function oI(e,t){e=q.isArray(e)?e:[e];const{length:n}=e;let s,l;const c={};for(let d=0;d<n;d++){s=e[d];let m;if(l=s,!aI(s)&&(l=F0[(m=String(s)).toLowerCase()],l===void 0))throw new we(`Unknown adapter '${m}'`);if(l&&(q.isFunction(l)||(l=l.get(t))))break;c[m||"#"+d]=l}if(!l){const d=Object.entries(c).map(([f,x])=>`adapter ${f} `+(x===!1?"is not supported by the environment":"is not available in the build"));let m=n?d.length>1?`since :
259`+d.map(s_).join(`
260`):" "+s_(d[0]):"as no adapter specified";throw new we("There is no suitable adapter to dispatch the request "+m,we.ERR_NOT_SUPPORT)}return l}const f2={getAdapter:oI,adapters:F0};function rg(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yu(null,e)}function r_(e){return rg(e),e.headers=Sn.from(e.headers),e.data=sg.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),f2.getAdapter(e.adapter||Gu.adapter,e)(e).then(function(s){rg(e),e.response=s;try{s.data=sg.call(e,e.transformResponse,s)}finally{delete e.response}return s.headers=Sn.from(s.headers),s},function(s){if(!c2(s)&&(rg(e),s&&s.response)){e.response=s.response;try{s.response.data=sg.call(e,e.transformResponse,s.response)}finally{delete e.response}s.response.headers=Sn.from(s.response.headers)}return Promise.reject(s)})}const Wm={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Wm[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const a_={};Wm.transitional=function(t,n,s){function l(c,d){return"[Axios v"+D0+"] Transitional option '"+c+"'"+d+(s?". "+s:"")}return(c,d,m)=>{if(t===!1)throw new we(l(d," has been removed"+(n?" in "+n:"")),we.ER
vendor: 4,195 bytes, lines 260-264
260R_DEPRECATED);return n&&!a_[d]&&(a_[d]=!0,console.warn(l(d," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(c,d,m):!0}};Wm.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function lI(e,t,n){if(typeof e!="object"||e===null)throw new we("options must be an object",we.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let l=s.length;for(;l-- >0;){const c=s[l],d=Object.prototype.hasOwnProperty.call(t,c)?t[c]:void 0;if(d){const m=e[c],f=m===void 0||d(m,c,e);if(f!==!0)throw new we("option "+c+" must be "+f,we.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new we("Unknown option "+c,we.ERR_BAD_OPTION)}}const Kh={assertOptions:lI,validators:Wm},bn=Kh.validators;let oo=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Gb,response:new Gb}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let l={};Error.captureStackTrace?Error.captureStackTrace(l):l=new Error;const c=(()=>{if(!l.stack)return"";const d=l.stack.indexOf(`
261`);return d===-1?"":l.stack.slice(d+1)})();try{if(!s.stack)s.stack=c;else if(c){const d=c.indexOf(`
262`),m=d===-1?-1:c.indexOf(`
263`,d+1),f=m===-1?"":c.slice(m+1);String(s.stack).endsWith(f)||(s.stack+=`
264`+c)}}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=uo(this.defaults,n);const{transitional:s,paramsSerializer:l,headers:c}=n;s!==void 0&&Kh.assertOptions(s,{silentJSONParsing:bn.transitional(bn.boolean),forcedJSONParsing:bn.transitional(bn.boolean),clarifyTimeoutError:bn.transitional(bn.boolean),legacyInterceptorReqResOrdering:bn.transitional(bn.boolean),advertiseZstdAcceptEncoding:bn.transitional(bn.boolean),validateStatusUndefinedResolves:bn.transitional(bn.boolean)},!1),l!=null&&(q.isFunction(l)?n.paramsSerializer={serialize:l}:Kh.assertOptions(l,{encode:bn.function,serialize:bn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Kh.assertOptions(n,{baseUrl:bn.spelling("baseURL"),withXsrfToken:bn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let d=c&&q.merge(c.common,c[n.method]);c&&q.forEach(["delete","get","head","post","put","patch","query","common"],E=>{delete c[E]}),n.headers=Sn.concat(d,c);const m=[];let f=!0;this.interceptors.request.forEach(function(k){if(typeof k.runWhen=="function"&&k.runWhen(n)===!1)return;f=f&&k.synchronous;const P=n.transitional||M0;P&&P.legacyInterceptorReqResOrdering?m.unshift(k.fulfilled,k.rejected):m.push(k.fulfilled,k.rejected)});const x=[];this.interceptors.response.forEach(function(k){x.push(k.fulfilled,k.rejected)});let y,v=0,_;if(!f){const E=[r_.bind(this),void 0];for(E.unshift(...m),E.push(...x),_=E.length,y=Promise.resolve(n);v<_;)y=y.then(E[v++],E[v++]);return y}_=m.length;let S=n;for(;v<_;){const E=m[v++],k=m[v++];try{S=E(S)}catch(P){k.call(this,P);break}}try{y=r_.call(this,S)}catch(E){return Promise.reject(E)}for(v=0,_=x.length;v<_;)y=y.then(x[v++],x[v++]);return y}getUri(t){t=uo(this.defaults,t);const n=d2(t.baseURL,t.url,t.allowAbsoluteUrls,t);return a2(n,t.params,t.paramsSerializer)}};q.forEach(["delete","get","head","options"],function(t){oo.prototype[t]=function(n,s){return this.request(uo(s||{},{method:t,url:n,data:s&&q.hasOwnProp(s,"data")?s.data:void 0}))}});q.forEach(["post","put","patch","query"],function(t){function n(s){return function(c,d,m){return this.request(uo(m||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:c,data:d}))}}oo.prototype[t]=n(),t!=="query"&&(oo.prototype[t+"Form"]=n(!0))});let cI=class p2{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(c){n=c});const s=this;this.promise.then(l=>{if(!s._listeners)return;let c=s._listeners.length;for(;c-- >0;)s._listeners[c](l);s._listeners=null}),this.promise.then=l=>{let c;const d=new Promise(m=>{s.subscribe(m),c=m}).then(l);return d.cancel=function(){s.unsubscribe(c)},d},t(function(c,d,m){s.reason||(s.reason=new Yu(c,d,m),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
264subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new p2(function(l){t=l}),cancel:t}}};function uI(e){return function(n){return e.apply(null,n)}}function dI(e){return q.isObject(e)&&e.isAxiosError===!0}const xx={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(xx).forEach(([e,t])=>{xx[t]=e});function g2(e){const t=new oo(e),n=qN(oo.prototype.request,t);return q.extend(n,oo.prototype,t,{allOwnKeys:!0}),q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(l){return g2(uo(e,l))},n}const Ut=g2(Gu);Ut.Axios=oo;Ut.CanceledError=Yu;Ut.CancelToken=cI;Ut.isCancel=c2;Ut.VERSION=D0;Ut.toFormData=$m;Ut.AxiosError=we;Ut.Cancel=Ut.CanceledError;Ut.all=function(t){return Promise.all(t)};Ut.spread=uI;Ut.isAxiosError=dI;Ut.mergeConfig=uo;Ut.AxiosHeaders=Sn;Ut.formToJSON=e=>l2(q.isHTMLForm(e)?new FormData(e):e);Ut.getAdapter=f2.getAdapter;Ut.HttpStatusCode=xx;Ut.default=Ut;const{Axios:oz,AxiosError:lz,CanceledError:cz,isCancel:uz,CancelToken:dz,VERSION:hz,all:mz,Cancel:fz,isAxiosError:pz,spread:gz,toFormData:xz,AxiosHeaders:yz,HttpStatusCode:vz,formToJSON:wz,getAdapter:bz,mergeConfig:_z,create:jz}=Ut,x2=typeof window>"u",o_=!x2&&window.self!==window.top,hI=!x2&&typeof document>"u",y2=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),ln=[];for(let e=0;e<256;++e)ln.push((e+256).toString(16).slice(1));function mI(e,t=0){return(ln[e[t+0]]+ln[e[t+1]]+ln[e[t+2]]+ln[e[t+3]]+"-"+ln[e[t+4]]+ln[e[t+5]]+"-"+ln[e[t+6]]+ln[e[t+7]]+"-"+ln[e[t+8]]+ln[e[t+9]]+"-"+ln[e[t+10]]+ln[e[t+11]]+ln[e[t+12]]+ln[e[t+13]]+ln[e[t+14]]+ln[e[t+15]]).toLowerCase()}let ag;const fI=new Uint8Array(16);function pI(){if(!ag){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");ag=crypto.getRandomValues.bind(crypto)}return ag(fI)}const gI=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),l_={randomUUID:gI};function xI(e,t,n){var l;e=e||{};const s=e.random??((l=e.rng)==null?void 0:l.call(e))??pI();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,mI(s)}function yI(e,t,n){return l_.randomUUID&&!e?l_.randomUUID():xI(e)}const nu=typeof window<"u"?window:{base44SharedInstances:{}};function vI(e,t){return nu.base44SharedInstances||(nu.base44SharedInstances={}),nu.base44SharedInstances[e]||(nu.base44SharedInstances[e]={instance:t()}),nu.base44SharedInstances[e].instance}const wI="__user_heartbeat_event__",bI="__initialization_event__",_I="__session_duration_event__",c_="analytics-enable",u_="base44_analytics_session_id",jI={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},NI="analytics",ct=vI(NI,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,fallbackSessionId:null,config:{...jI,...RI()}})),SI=({axiosClient:e,serverUrl:t,appId:n,userAuthModule:s,enabled:l})=>{var c;const{maxQueueSize:d,throttleTime:m,batchSize:f}=ct.config;if(!l||!(!((c=ct.config)===null||c===void 0)&&c.enabled)||hI)return{track:()=>{},cleanup:()=>{}};let x;const y=`${t}/api/apps/${n}/analytics/track/batch`,v=async D=>{await e.request({method:"POST",url:`/apps/${n}/analytics/track/batch`,data:{events:D}})},_=D=>{try{const B=JSON.stringify({events:D}),G=new Blob([B],{type:"application/json"});return typeof navigator>"u"||B.length>6e4||!navigator.sendBeacon(y,G)}catch{return!1}},S=async(D,B={})=>
264{if(D.length===0)return;const G=await AI(s),K=D.map(EI(G));try{(!B.isBeacon||!_(K))&&await v(K)}catch{}},E=()=>{h_(S,{throttleTime:m,batchSize:f})},k=D=>{if(ct.requestsQueue.length>=d)return;const B=PI();ct.requestsQueue.push({...D,...B}),E()},P=()=>{h_(S,{throttleTime:m,batchSize:f}),x=m_(k),TI()},T=()=>{d_(),x==null||x(),CI(k);const D=ct.requestsQueue.splice(0);S(D,{isBeacon:!0})},A=()=>{typeof window>"u"||(document.visibilityState==="hidden"?T():document.visibilityState==="visible"&&P())},I=()=>{d_(),x==null||x(),typeof window<"u"&&window.removeEventListener("visibilitychange",A)};return E(),x=m_(k),kI(k),typeof window<"u"&&window.addEventListener("visibilitychange",A),{track:k,cleanup:I}};function d_(){ct.isProcessing=!1}async function h_(e,t){if(ct.isProcessing)return;ct.isProcessing=!0;const{throttleTime:n=1e3,batchSize:s=30}=t??{};for(;ct.isProcessing&&ct.requestsQueue.length>0;){const l=ct.requestsQueue.splice(0,s);l.length&&await e(l),await new Promise(c=>setTimeout(c,n))}ct.isProcessing=!1}function m_(e){var t;if(typeof window>"u"||ct.isHeartBeatProcessing||((t=ct.config.heartBeatInterval)!==null&&t!==void 0?t:0)<10)return()=>{};ct.isHeartBeatProcessing=!0;const n=setInterval(()=>{e({eventName:wI})},ct.config.heartBeatInterval);return()=>{clearInterval(n),ct.isHeartBeatProcessing=!1}}function kI(e){typeof window>"u"||ct.wasInitializationTracked||(ct.wasInitializationTracked=!0,e({eventName:bI,properties:{referrer:document==null?void 0:document.referrer}}))}function TI(){typeof window>"u"||ct.sessionStartTime!==null||(ct.sessionStartTime=new Date().toISOString())}function CI(e){if(typeof window>"u"||ct.sessionStartTime===null)return;const t=new Date().getTime()-new Date(ct.sessionStartTime).getTime();ct.sessionStartTime=null,e({eventName:_I,properties:{sessionDuration:t}})}function PI(){var e,t;return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"&&(t=(e=window.location)===null||e===void 0?void 0:e.pathname)!==null&&t!==void 0?t:null}}function EI(e){return t=>({event_name:t.eventName,properties:t.properties,timestamp:t.timestamp,page_url:t.pageUrl,...e})}let cu=null;function f_(){ct.sessionContext=null,cu=null}async function AI(e){if(!ct.sessionContext){if(!e.hasToken())return{user_id:null,session_id:ym()};if(!cu){const s=ym();cu=e.me().then(l=>({user_id:l.id,session_id:s})).catch(()=>({user_id:null,session_id:s}))}const t=cu,n=await t;return cu===t&&(ct.sessionContext=n),n}return ct.sessionContext}function RI(){if(typeof window>"u"||!window.location)return;const t=new URLSearchParams(window.location.search).get(c_);if(t==null||!t.length)return;const n=new URLSearchParams(window.location.search);n.delete(c_);const s=window.location.pathname+(n.toString()?"?"+n.toString():"");return window.history.replaceState({},"",s),{enabled:t==="true"}}function p_(){var e;return(e=ct.fallbackSessionId)!==null&&e!==void 0?e:ct.fallbackSessionId=y2()}function ym(){if(typeof window>"u")return p_();try{const e=localStorage.getItem(u_);if(!e){const t=y2();return localStorage.setItem(u_,t),t}return e}catch{return p_()}}class LI extends Error{constructor(t,n,s,l,c){super(t),this.name="Base44Error",this.status=n,this.code=s,this.data=l,this.originalError=c}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function vl({baseURL:e,headers:t={},token:n,interceptResponses:s=!0,onError:l}){const c=Ut.create({baseURL:e,headers:{"Content-Type":"application/json",Accept:"application/json",...t}});return n&&(c.defaults.headers.common.Authorization=`Bearer ${n}`),c.interceptors.request.use(d=>{typeof window<"u"&&(window.location&&d.headers.set("X-Origin-URL",window.location.href),d.headers.get("Authorization")||d.headers.set("X-Base44-Anonymous-Id",ym()));const m=yI();if(d.requestId=m,o_)try{window.parent.postMessage({type:"api-request-start",requestId:m,data:{url:e+d.url,method:d.method,body:d.data instanceof FormData?"[FormData object]":d.data}},"*")}catch{}return d}),s&&c.interceptors.response.use(d=>{var m;const f=(m=d.config)===null||m===void 0?void 0:m.requestId;try{o_&&f&&window.parent.postMessage({type:"api-request-end",requestId:f,data:{statusCode:d.status,response:d.data}},"*")}catch{}return d.data},d=>{var m,f,x,y,v,_,S,E,k,P,T,A,I,D,B;const G=((f=(m=d.response)===null||m===void 0?void 0:m.data)===null||f===void 0?void 0:f.message)||((y=(x=d.response)===null||x===void 0?void 0:x.data)===null||y===void 0?void 0:y.detail)||d.message,K=new LI(G,(v=d.response)===null||v===void 0?void 0:v.status,(A=(E=(S=(_=d.response)===null||_===void 0?void 0:_.data)===null||S===void 0?void 0:S.code)!==null&&E!==void 0?E:(T=(P=(k=d.response)===null||k===void 0?void 0:k.headers)===null||P===void 0?void 0:P.get)===null||T===void 0?void 0:T.call(P,"x-base44-connector-error"))!==null&&A!==void 0?A:(D=(I=d.response)===null||I===void 0?void 0:I.headers)===null||D===void 0?void 0:D["x-base44-connector-error"],(B=d.response)===null||B===void 0?void 0:B.data,d);return l==null||l(K),Promise.reject(K)}),c}function g_(e){const{axios:t,appId:n,getSocket:s}=e;return new Proxy({},{get(l,c){if(!(typeof c!="string"||c==="then"||c.startsWith("_")))return MI(t,n,c,s)}})}function II(e){var t;try{const n=JSON.parse(e);return{type:n.type,data:n.data,id:n.id||((t=n.data)===null||t===void 0?void 0:t.id),timestamp:n.timestamp||new Date().toISOString()}}catch(n){return console.warn("[Base44 SDK] Failed to parse realtime message:",n),null}}function MI(e,t,n,s){const l=`/apps/${t}/entities/${n}`;return{async list(c,d,m,f){const x={};return c&&(x.sort=c),d&&(x.limit=d),m&&(x.skip=m),f&&(x.fields=Array.isArray(f)?f.join(","):f),e.get(l,{params:x})},async filter(c,d,m,f,x){const y={q:JSON.stringify(c)};return d&&(y.sort=d),m&&(y.limit=m),f&&(y.skip=f),x&&(y.fields=Array.isArray(x)?x.join(","):x),e.get(l,{params:y})},async get(c){return e.get(`${l}/${c}`)},async create(c){return e.post(l,c)},async update(c,d){return e.put(`${l}/${c}`,d)},async delete(c){return e.delete(`${l}/${c}`)},async deleteMany(c){return e.delete(l,{data:c})},async bulkCreate(c){return e.post(`${l}/bulk`,c)},async updateMany(c,d){return e.patch(`${l}/update-many`,{query:c,data:d})},async bulkUpdate(c){return e.put(`${l}/bulk`,c)},async importEntities(c){const d=new FormData;return d.append("file",c,c.name),e.post(`${l}/import`,d,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(c){const d=`entities:${t}:${n}`;return s().subscribeToRoom(d,{update_model:x=>{var y;const v=II(x.data);if(v){v.type!=="delete"&&(!((y=v.data)===null||y===void 0)&&y._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${n}#${v.id} was oversize and got slimmed for transport. Fields >10 KB are empty and the rest of the record may be a stub. Call \`entities.${n}.get("${v.id}")\` to fetch the full record.`);try{c(v)}catch(_){console.error("[Base44 SDK] Subscription callback error:",_)}}}})}}}function OI(e,t){return{async call(n,s,l){if(!(n!=null&&n.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(s!=null&&s.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:c,queryParams:d,...m}=l??{},f={...m,...c&&{path_params:c},...d&&{query_params:d}};return await e.post(`/apps/${t}/integrations/custom/${n}/${s}`,f)}}}function x_(e,t){const n=OI(e,t);return new Proxy({},{get(s,l){if(!(typeof l!="string"||l==="then"||l.startsWith("_")))return l==="custom"?n:new Proxy({},{get(c,d){if(!(typeof d!="string"||d==="then"||d.startsWith("_")))return async m=>{if(typeof m=="string")throw new Error(`Integration ${d} must receive an object with named parameters, received: ${m}`);let f,x;return m instanceof FormData||m&&Object.values(m).some(y=>y instanceof File)?(f=new FormData,Object.keys(m).forEach(y=>{m[y]instanceof File?f.append(y,m[y],m[y].name):typeof m[y]=="object"&&m[y]!==null?f.append(y,JSON.stringify(m[y])):f.append(y,m[y])}),x="multipart/form-data"):(f=m,x="application/json"),l==="Core"?e.post(`/apps/${t}/integration-endpoints/Core/${d}`,f||m,{headers:{"Content-Type":x}}):e.post(`/apps/${t}/integration-endpoints/installable/${l}/integration-endpoints/${d}`,f||m,{headers:{"Content-Type":x}})}}})}})}function DI(){return typeof window>"u"?!1:window!==window.parent}
264function FI(e,t,n){const c=Math.round(window.screenX+(window.outerWidth-500)/2),d=Math.round(window.screenY+(window.outerHeight-600)/2),m=window.open(e,"base44_auth",`width=500,height=600,left=${c},top=${d},resizable=yes,scrollbars=yes`);if(!m)return;const f=()=>{window.removeEventListener("message",x),clearInterval(y),m.closed||m.close()},x=v=>{var _;if(v.origin!==n||v.source!==m||!(!((_=v.data)===null||_===void 0)&&_.access_token))return;f();const S=new URL(t),{access_token:E,is_new_user:k}=v.data;S.searchParams.set("access_token",E),k!=null&&S.searchParams.set("is_new_user",String(k)),window.location.href=S.toString()},y=setInterval(()=>{m.closed&&f()},500);window.addEventListener("message",x)}function BI(e,t,n,s){let l=null;const c=()=>{l=null};let d=!!s.token;return{hasToken(){return d},async me(){const m=l??e.get(`/apps/${n}/entities/User/me`).finally(()=>{l===m&&(l=null)});return l=m,m},async updateMe(m){return e.put(`/apps/${n}/entities/User/me`,m)},redirectToLogin(m){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const f=m?new URL(m,window.location.origin).toString():window.location.href,x=`${s.appBaseUrl}/login?from_url=${encodeURIComponent(f)}`;window.location.href=x},loginWithProvider(m,f="/"){const x=new URL(f,window.location.origin).toString(),y=`app_id=${n}&from_url=${encodeURIComponent(x)}`;let v;m==="sso"?v=`/apps/${n}/auth/sso/login`:v=`/apps/auth${m==="google"?"":`/${m}`}/login`;const _=`${s.appBaseUrl}/api${v}?${y}`;if(DI()){const S=`${_}&popup_origin=${encodeURIComponent(window.location.origin)}`;return FI(S,x,window.location.origin)}window.location.href=_},logout(m){if(delete e.defaults.headers.common.Authorization,c(),f_(),d=!1,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(y){console.error("Failed to remove token from localStorage:",y)}const f=m||window.location.href,x=`${s.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(f)}`;window.location.href=x}},setToken(m,f=!0){if(m&&(c(),f_(),d=!0,e.defaults.headers.common.Authorization=`Bearer ${m}`,t.defaults.headers.common.Authorization=`Bearer ${m}`,f&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",m),window.localStorage.setItem("token",m)}catch(x){console.error("Failed to save token to localStorage:",x)}},async loginViaEmailPassword(m,f,x){var y;try{const v=await e.post(`/apps/${n}/auth/login`,{email:m,password:f,...x&&{turnstile_token:x}}),{access_token:_,user:S}=v;return _&&this.setToken(_),{access_token:_,user:S}}catch(v){throw((y=v.response)===null||y===void 0?void 0:y.status)===401&&await this.logout(),v}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(m,f){return e.post(`/apps/${n}/users/invite-user`,{user_email:m,role:f})},register(m){return e.post(`/apps/${n}/auth/register`,m)},verifyOtp({email:m,otpCode:f}){return e.post(`/apps/${n}/auth/verify-otp`,{email:m,otp_code:f})},resendOtp(m){return e.post(`/apps/${n}/auth/resend-otp`,{email:m})},resetPasswordRequest(m){return e.post(`/apps/${n}/auth/reset-password-request`,{email:m})},resetPassword({resetToken:m,newPassword:f}){return e.post(`/apps/${n}/auth/reset-password`,{reset_token:m,new_password:f})},changePassword({userId:m,currentPassword:f,newPassword:x}){return e.post(`/apps/${n}/auth/change-password`,{user_id:m,current_password:f,new_password:x})}}}function VI(e,t){return{async getAccessToken(n){const s=`/apps/${t}/auth/sso/accesstoken/${n}`;return e.get(s)},async getIdToken(n){const s=`/apps/${t}/auth/sso/idtoken/${n}`;return e.get(s)}}}const zI=new Set(["GET","POST","PUT","PATCH","DELETE","HEAD"]);function UI(e,t){return{async getAccessToken(n){if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");return(await e.get(`/apps/${t}/external-auth/tokens/${encodeURIComponent(n)}`)).access_token},async getConnection(n){var s;if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");const c=await e.get(`/apps/${t}/external-auth/tokens/${encodeURIComponent(n)}`);return{accessToken:c.access_token,connectionConfig:(s=c.connection_config)!==null&&s!==void 0?s:null}},async getWorkspaceConnection(n){var s;
264if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const c=await e.get(`/apps/${t}/external-auth/tokens/connectors/${encodeURIComponent(n)}`);return{accessToken:c.access_token,connectionConfig:(s=c.connection_config)!==null&&s!==void 0?s:null}},async getCurrentAppUserAccessToken(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await e.get(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(n)}/token`)).access_token},async getCurrentAppUserConnection(n){var s;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const c=await e.get(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(n)}/token`);return{accessToken:c.access_token,connectionConfig:(s=c.connection_config)!==null&&s!==void 0?s:null}},async callApi(n,s){return v2(n,"Integration type"),$I(e,`/apps/${t}/connectors/${encodeURIComponent(n)}/call`,s)}}}function v2(e,t){if(!e||typeof e!="string")throw new Error(`${t} is required and must be a string`)}async function $I(e,t,n){var s,l,c,d,m,f,x,y,v;if(!n||typeof n!="object")throw new Error("Request is required and must be an object");v2(n.path,"Request path");const _=(s=n.method)!==null&&s!==void 0?s:"GET";if(!zI.has(_))throw new Error("Request method must be one of GET, POST, PUT, PATCH, DELETE, or HEAD");const E=await e.post(t,{method:_,...n.host==null?{}:{host:n.host},path:n.path,query:(l=n.query)!==null&&l!==void 0?l:{},headers:(c=n.headers)!==null&&c!==void 0?c:{},body:(d=n.body)!==null&&d!==void 0?d:null});return{success:E.success,phase:E.phase,status:(m=E.status_code)!==null&&m!==void 0?m:null,data:E.data,dataBase64:(f=E.data_base64)!==null&&f!==void 0?f:null,contentType:(x=E.content_type)!==null&&x!==void 0?x:null,headers:(y=E.headers)!==null&&y!==void 0?y:{},creditsCharged:(v=E.credits_charged)!==null&&v!==void 0?v:0}}function WI(e,t){return{async connectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await e.post(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(n)}/initiate`)).redirect_url},async disconnectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");await e.delete(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(n)}`)}}}function Jr(e={}){const{storageKey:t="base44_access_token",paramName:n="access_token",saveToStorage:s=!0,removeFromUrl:l=!0}=e;let c=null;if(typeof window<"u"&&window.location)try{const d=new URLSearchParams(window.location.search);if(c=d.get(n),c){if(s&&HI(c,{storageKey:t}),l){d.delete(n);const m=`${window.location.pathname}${d.toString()?`?${d.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,m)}return c}}catch(d){console.error("Error retrieving token from URL:",d)}if(typeof window<"u"&&window.localStorage)try{return c=window.localStorage.getItem(t),c}catch(d){console.error("Error retrieving token from local storage:",d)}return null}function HI(e,t){const{storageKey:n="base44_access_token"}=t;if(typeof window>"u"||!window.localStorage||!e)return!1;try{return window.localStorage.setItem(n,e),window.localStorage.setItem("token",e),!0}catch(s){return console.error("Error saving token to local storage:",s),!1}}function qI({axios:e,serviceRoleAxios:t,appId:n,serverUrl:s,functionsVersion:l,platformHeaders:c}){const d=new Headers(c),m=f=>{const x=f.defaults.headers.common.Authorization;return typeof x=="string"&&x.startsWith("Bearer ")?x:null};return async function(x,y={}){ZI(x);const{fetch:v=fetch,..._}=y,S=new Headers(y.headers),E=(k,P)=>{P&&!S.has(k)&&S.set(k,P)};return E("Authorization",m(e)),E("Base44-Service-Authorization",m(t)),E("Base44-App-Id",n),E("Base44-Api-Url",s),E("Base44-Functions-Version",l),E("Base44-State",d.get("Base44-State")),E("X-Data-Env",d.get("X-Data-Env")),v(x,{..._,headers:S})}}function ZI(e){if(typeof e!="string"||e==="")throw new Error("fetchWithAuth() requires a path, such as '/api/orders'.");const t=e.replace(/[\t\n\r]/g,"").replace(/^[\x00-\x20]+/,"");if(!t.startsWith("/")||t.startsWith("//")||t.startsWith("/\\"))throw new Error(`fetchWithAuth() only sends requests to your app's own origin, so your app's credentials never reach a third party. "${e}" is not a path on it — pass a relative path such as '/api/orders'. Use base44.functions.fetch() to call a Base44 backend function, or plain fetch() for another origin.`)}function y_(e,t,n){const s=(c,d)=>c?`${String(c).replace(/\/$/,"")}${d}`:d,l=c=>{const d=new Headers;if(n!=null&&n.getAuthHeaders){const m=n.getAuthHeaders();Object.entries(m).forEach(([f,x])=>{x!=null&&d.set(f,String(x))})}
264return c&&new Headers(c).forEach((m,f)=>{d.set(f,m)}),d};return{async invoke(c,d){if(typeof d=="string")throw new Error(`Function ${c} must receive an object with named parameters, received: ${d}`);let m,f;return d instanceof FormData||d&&Object.values(d).some(x=>x instanceof File)?(m=new FormData,Object.keys(d).forEach(x=>{d[x]instanceof File?m.append(x,d[x],d[x].name):typeof d[x]=="object"&&d[x]!==null?m.append(x,JSON.stringify(d[x])):m.append(x,d[x])}),f="multipart/form-data"):(m=d,f="application/json"),e.post(`/apps/${t}/functions/${c}`,m||d,{headers:{"Content-Type":f}})},async fetch(c,d={}){const f=`/functions${c.startsWith("/")?c:`/${c}`}`,x=l(d.headers),y={...d,headers:x};return await fetch(s(n==null?void 0:n.baseURL,f),y)}}}function v_({axios:e,getSocket:t,appId:n,serverUrl:s,token:l}){const c=`/apps/${n}/agents`,d={},m=()=>e.get(`${c}/conversations`),f=k=>e.get(`${c}/conversations/${k}`);return{getConversations:m,getConversation:f,listConversations:k=>e.get(`${c}/conversations`,{params:k}),createConversation:k=>e.post(`${c}/conversations`,k),addMessage:async(k,P)=>e.post(`${c}/conversations/v2/${k.id}/messages`,P),subscribeToConversation:(k,P)=>{const T=`/agent-conversations/${k}`,A=t(),I=f(k).then(D=>(d[k]=D,D));return A.subscribeToRoom(T,{connect:()=>{},update_model:async({data:D})=>{const B=JSON.parse(D);if(B._message){await I;const G=B._message,K=d[k];if(K){const W=K.messages||[],se=W.findIndex(fe=>fe.id===G.id),de=se!==-1?W.map((fe,ve)=>ve===se?G:fe):[...W,G];d[k]={...K,messages:de},P==null||P(d[k])}}}})},getWhatsAppConnectURL:k=>{const P=`${s}/api/apps/${n}/agents/${encodeURIComponent(k)}/whatsapp`,T=l??Jr();return T?`${P}?token=${T}`:P},getTelegramConnectURL:k=>{const P=`${s}/api/apps/${n}/agents/${encodeURIComponent(k)}/telegram`,T=l??Jr();return T?`${P}?token=${T}`:P}}}function w_({serverUrl:e,token:t,appId:n}){return{connection:()=>{var l;return{baseURL:`${e}/api/apps/${n}/ai/openai/v1`,token:(l=t??Jr())!==null&&l!==void 0?l:""}}}}function b_(e,t){const n=`/app-logs/${t}`;return{async logUserInApp(s){await e.post(`${n}/log-user-in-app/${s}`)},async fetchLogs(s={}){return await e.get(n,{params:s})},async getStats(s={}){return await e.get(`${n}/stats`,{params:s})}}}function GI(e,t){return{async getPublicSettings(){return e.get(`/apps/public/prod/public-settings/by-id/${t}`)}}}function YI(e,t){return{async inviteUser(n,s){if(s!=="user"&&s!=="admin")throw new Error(`Invalid role: "${s}". Role must be either "user" or "admin".`);return await e.post(`/apps/${t}/runtime/users/invite-user`,{user_email:n,role:s})}}}const gs=Object.create(null);gs.open="0";gs.close="1";gs.ping="2";gs.pong="3";gs.message="4";gs.upgrade="5";gs.noop="6";const Jh=Object.create(null);Object.keys(gs).forEach(e=>{Jh[gs[e]]=e});const yx={type:"error",data:"parser error"},w2=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",b2=typeof ArrayBuffer=="function",_2=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,B0=({type:e,data:t},n,s)=>w2&&t instanceof Blob?n?s(t):__(t,s):b2&&(t instanceof ArrayBuffer||_2(t))?n?s(t):__(new Blob([t]),s):s(gs[e]+(t||"")),__=(e,t)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];t("b"+(s||""))},n.readAsDataURL(e)};function j_(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let og;function KI(e,t){if(w2&&e.data instanceof Blob)return e.data.arrayBuffer().then(j_).then(t);if(b2&&(e.data instanceof ArrayBuffer||_2(e.data)))return t(j_(e.data));B0(e,!1,n=>{og||(og=new TextEncoder),t(og.encode(n))})}const N_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",uu=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<N_.length;e++)uu[N_.charCodeAt(e)]=e;const JI=e=>{let t=e.length*.75,n=e.length,s,l=0,c,d,m,f;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const x=new ArrayBuffer(t),y=new Uint8Array(x);for(s=0;s<n;s+=4)c=uu[e.charCodeAt(s)],d=uu[e.charCodeAt(s+1)],m=uu[e.charCodeAt(s+2)],f=uu[e.charCodeAt(s+3)],y[l++]=c<<2|d>>4,y[l++]=(d&15)<<4|m>>2,y[l++]=(m&3)<<6|f&63;return x},QI=typeof ArrayBuffer=="function",V0=(e,t)=>{if(typeof e!="string")return{type:"message",data:j2(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:XI(e.substring(1),t)}:Jh[n]?e.length>1?{type:Jh[n],data:e.substring(1)}:{type:Jh[n]}:yx},XI=(e,t)=>{if(QI){const n=JI(e);return j2(n,t)}else return{base64:!0,data:e}},j2=(e,t)=>
vendor: 4,168 bytes, line 264
264{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},N2="�",eM=(e,t)=>{const n=e.length,s=new Array(n);let l=0;e.forEach((c,d)=>{B0(c,!1,m=>{s[d]=m,++l===n&&t(s.join(N2))})})},tM=(e,t)=>{const n=e.split(N2),s=[];for(let l=0;l<n.length;l++){const c=V0(n[l],t);if(s.push(c),c.type==="error")break}return s};function nM(){return new TransformStream({transform(e,t){KI(e,n=>{const s=n.length;let l;if(s<126)l=new Uint8Array(1),new DataView(l.buffer).setUint8(0,s);else if(s<65536){l=new Uint8Array(3);const c=new DataView(l.buffer);c.setUint8(0,126),c.setUint16(1,s)}else{l=new Uint8Array(9);const c=new DataView(l.buffer);c.setUint8(0,127),c.setBigUint64(1,BigInt(s))}e.data&&typeof e.data!="string"&&(l[0]|=128),t.enqueue(l),t.enqueue(n)})}})}let lg;function Lh(e){return e.reduce((t,n)=>t+n.length,0)}function Ih(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let s=0;for(let l=0;l<t;l++)n[l]=e[0][s++],s===e[0].length&&(e.shift(),s=0);return e.length&&s<e[0].length&&(e[0]=e[0].slice(s)),n}function iM(e,t){lg||(lg=new TextDecoder);const n=[];let s=0,l=-1,c=!1;return new TransformStream({transform(d,m){for(n.push(d);;){if(s===0){if(Lh(n)<1)break;const f=Ih(n,1);c=(f[0]&128)===128,l=f[0]&127,l<126?s=3:l===126?s=1:s=2}else if(s===1){if(Lh(n)<2)break;const f=Ih(n,2);l=new DataView(f.buffer,f.byteOffset,f.length).getUint16(0),s=3}else if(s===2){if(Lh(n)<8)break;const f=Ih(n,8),x=new DataView(f.buffer,f.byteOffset,f.length),y=x.getUint32(0);if(y>Math.pow(2,21)-1){m.enqueue(yx);break}l=y*Math.pow(2,32)+x.getUint32(4),s=3}else{if(Lh(n)<l)break;const f=Ih(n,l);m.enqueue(V0(c?f:lg.decode(f),t)),s=0}if(l===0||l>e){m.enqueue(yx);break}}}})}const S2=4;function Ht(e){if(e)return sM(e)}function sM(e){for(var t in Ht.prototype)e[t]=Ht.prototype[t];return e}Ht.prototype.on=Ht.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Ht.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};Ht.prototype.off=Ht.prototype.removeListener=Ht.prototype.removeAllListeners=Ht.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var s,l=0;l<n.length;l++)if(s=n[l],s===t||s.fn===t){n.splice(l,1);break}return n.length===0&&delete this._callbacks["$"+e],this};Ht.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],s=1;s<arguments.length;s++)t[s-1]=arguments[s];if(n){n=n.slice(0);for(var s=0,l=n.length;s<l;++s)n[s].apply(this,t)}return this};Ht.prototype.emitReserved=Ht.prototype.emit;Ht.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Ht.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Hm=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),Si=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),rM="arraybuffer";function k2(e,...t){return t.reduce((n,s)=>(e.hasOwnProperty(s)&&(n[s]=e[s]),n),{})}const aM=Si.setTimeout,oM=Si.clearTimeout;function qm(e,t){t.useNativeTimers?(e.setTimeoutFn=aM.bind(Si),e.clearTimeoutFn=oM.bind(Si)):(e.setTimeoutFn=Si.setTimeout.bind(Si),e.clearTimeoutFn=Si.clearTimeout.bind(Si))}const lM=1.33;function cM(e){return typeof e=="string"?uM(e):Math.ceil((e.byteLength||e.size)*lM)}function uM(e){let t=0,n=0;for(let s=0,l=e.length;s<l;s++)t=e.charCodeAt(s),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(s++,n+=4);return n}function T2(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function dM(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function hM(e){let t={},n=e.split("&");for(let s=0,l=n.length;s<l;s++){let c=n[s].split("=");
vendor: 6,261 bytes, line 264
264t[decodeURIComponent(c[0])]=decodeURIComponent(c[1])}return t}class mM extends Error{constructor(t,n,s){super(t),this.description=n,this.context=s,this.type="TransportError"}}class z0 extends Ht{constructor(t){super(),this.writable=!1,qm(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,s){return super.emitReserved("error",new mM(t,n,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=V0(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=dM(t);return n.length?"?"+n:""}}class fM extends z0{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};tM(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,eM(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=T2()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let C2=!1;try{C2=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const pM=C2;function gM(){}class xM extends fM{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let s=location.port;s||(s=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||s!==t.port}}doWrite(t,n){const s=this.request({method:"POST",data:t});s.on("success",n),s.on("error",(l,c)=>{this.onError("xhr post error",l,c)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,s)=>{this.onError("xhr poll error",n,s)}),this.pollXhr=t}}class fs extends Ht{constructor(t,n,s){super(),this.createRequest=t,qm(this,s),this._opts=s,this._method=s.method||"GET",this._uri=n,this._data=s.data!==void 0?s.data:null,this._create()}_create(){var t;const n=k2(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const s=this._xhr=this.createRequest(n);try{s.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let l in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(l)&&s.setRequestHeader(l,this._opts.extraHeaders[l])}}catch{}if(this._method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var l;s.readyState===3&&((l=this._opts.cookieJar)===null||l===void 0||l.parseCookies(s.getResponseHeader("set-cookie"))),s.readyState===4&&(s.status===200||s.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof s.status=="number"?s.status:0)},0))},s.send(this._data)}catch(l){this.setTimeoutFn(()=>{this._onError(l)},0);return}typeof document<"u"&&(this._index=fs.requestsCount++,fs.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=gM,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete fs.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}fs.requestsCount=0;fs.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",S_);else if(typeof addEventListener=="function"){const e="onpagehide"in Si?"pagehide":"unload";addEventListener(e,S_,!1)}}function S_(){for(let e in fs.requests)fs.requests.hasOwnProperty(e)&&fs.requests[e].abort()}const yM=(function(){const e=P2({xdomain:!1});return e&&e.responseType!==null})();class vM extends xM{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=yM&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new fs(P2,this.uri(),t)}}function P2(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||pM))return new XMLHttpRequest}catch{}if(!t)try{return new Si[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const E2=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class wM extends z0{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,s=E2?{}:k2(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,s)}catch(l){return this.emitReserved("error",l)}
vendor: 15,989 bytes, line 264
264this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const s=t[n],l=n===t.length-1;B0(s,this.supportsBinary,c=>{try{this.doWrite(s,c)}catch{}l&&Hm(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=T2()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const cg=Si.WebSocket||Si.MozWebSocket;class bM extends wM{createSocket(t,n,s){return E2?new cg(t,n,s):n?new cg(t,n):new cg(t)}doWrite(t,n){this.ws.send(n)}}class _M extends z0{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=iM(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=t.readable.pipeThrough(n).getReader(),l=nM();l.readable.pipeTo(t.writable),this._writer=l.writable.getWriter();const c=()=>{s.read().then(({done:m,value:f})=>{m||(this.onPacket(f),c())}).catch(m=>{})};c();const d={type:"open"};this.query.sid&&(d.data=`{"sid":"${this.query.sid}"}`),this._writer.write(d).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const s=t[n],l=n===t.length-1;this._writer.write(s).then(()=>{l&&Hm(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const jM={websocket:bM,webtransport:_M,polling:vM},NM=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,SM=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function vx(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),s=e.indexOf("]");n!=-1&&s!=-1&&(e=e.substring(0,n)+e.substring(n,s).replace(/:/g,";")+e.substring(s,e.length));let l=NM.exec(e||""),c={},d=14;for(;d--;)c[SM[d]]=l[d]||"";return n!=-1&&s!=-1&&(c.source=t,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=kM(c,c.path),c.queryKey=TM(c,c.query),c}function kM(e,t){const n=/\/{2,9}/g,s=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&s.splice(0,1),t.slice(-1)=="/"&&s.splice(s.length-1,1),s}function TM(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,l,c){l&&(n[l]=c)}),n}const wx=typeof addEventListener=="function"&&typeof removeEventListener=="function",Qh=[];wx&&addEventListener("offline",()=>{Qh.forEach(e=>e())},!1);class ea extends Ht{constructor(t,n){if(super(),this.binaryType=rM,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const s=vx(t);n.hostname=s.host,n.secure=s.protocol==="https"||s.protocol==="wss",n.port=s.port,s.query&&(n.query=s.query)}else n.host&&(n.hostname=vx(n.host).host);qm(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(s=>{const l=s.prototype.name;this.transports.push(l),this._transportsByName[l]=s}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=hM(this.opts.query)),wx&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Qh.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=S2,n.transport=t,this.id&&(n.sid=this.id);const s=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](s)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&ea.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",ea.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let s=0;s<this.writeBuffer.length;s++){const l=this.writeBuffer[s].data;if(l&&(n+=cM(l)),s>0&&n>this._maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Hm(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,s){return this._sendPacket("message",t,n,s),this}send(t,n,s){return this._sendPacket("message",t,n,s),this}_sendPacket(t,n,s,l){if(typeof n=="function"&&(l=n,n=void 0),typeof s=="function"&&(l=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const c={type:t,data:n,options:s};this.emitReserved("packetCreate",c),this.writeBuffer.push(c),l&&this.once("flush",l),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},s=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():t()}):this.upgrading?s():t()),this}_onError(t){if(ea.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),wx&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=Qh.indexOf(this._offlineEventListener);s!==-1&&Qh.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}ea.protocol=S2;class CM extends ea{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),s=!1;ea.priorWebsocketSuccess=!1;const l=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",v=>{if(!s)if(v.type==="pong"&&v.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;ea.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(y(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const _=new Error("probe error");_.transport=n.name,this.emitReserved("upgradeError",_)}}))};function c(){s||(s=!0,y(),n.close(),n=null)}const d=v=>{const _=new Error("probe error: "+v);_.transport=n.name,c(),this.emitReserved("upgradeError",_)};function m(){d("transport closed")}function f(){d("socket closed")}function x(v){n&&v.name!==n.name&&c()}const y=()=>{n.removeListener("open",l),n.removeListener("error",d),n.removeListener("close",m),this.off("close",f),this.off("upgrading",x)};n.once("open",l),n.once("error",d),n.once("close",m),this.once("close",f),this.once("upgrading",x),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{s||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let s=0;s<t.length;s++)~this.transports.indexOf(t[s])&&n.push(t[s]);return n}}let PM=class extends CM{constructor(t,n={}){const s=typeof t=="object"?t:n;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(l=>jM[l]).filter(l=>!!l)),super(t,s)}};function EM(e,t="",n){let s=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),s=vx(e)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const c=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+c+":"+s.port+t,s.href=s.protocol+"://"+c+(n&&n.port===s.port?"":":"+s.port),s}const AM=typeof ArrayBuffer=="function",RM=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,A2=Object.prototype.toString,LM=typeof Blob=="function"||typeof Blob<"u"&&A2.call(Blob)==="[object BlobConstructor]",IM=typeof File=="function"||typeof File<"u"&&A2.call(File)==="[object FileConstructor]";function U0(e){return AM&&(e instanceof ArrayBuffer||RM(e))||LM&&e instanceof Blob||IM&&e instanceof File}function Xh(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,s=e.length;n<s;n++)if(Xh(e[n]))return!0;return!1}if(U0(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Xh(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&Xh(e[n]))return!0;return!1}function MM(e){const t=[],n=e.data,s=e;return s.data=bx(n,t),s.attachments=t.length,{packet:s,buffers:t}}function bx(e,t){if(!e)return e;if(U0(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let s=0;s<e.length;s++)n[s]=bx(e[s],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(n[s]=bx(e[s],t));return n}return e}function OM(e,t){return e.data=_x(e.data,t),delete e.attachments,e}function _x(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=_x(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=_x(e[n],t));return e}const DM=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var rt;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(rt||(rt={}));class FM{constructor(t){this.replacer=t}encode(t){return(t.type===rt.EVENT||t.type===rt.ACK)&&Xh(t)?this.encodeAsBinary({type:t.type===rt.EVENT?rt.BINARY_EVENT:rt.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===rt.BINARY_EVENT||t.type===rt.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=MM(t),s=this.encodeAsString(n.packet),l=n.buffers;return l.unshift(s),l}}class $0 extends Ht{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const s=n.type===rt.BINARY_EVENT;s||n.type===rt.BINARY_ACK?(n.type=s?rt.EVENT:rt.ACK,this.reconstructor=new BM(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(U0(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const s={type:Number(t.charAt(0))};if(rt[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===rt.BINARY_EVENT||s.type===rt.BINARY_ACK){const c=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const d=t.substring(c,n);if(d!=Number(d)||t.charAt(n)!=="-")throw new Error("Illegal attachments");s.attachments=Number(d)}if(t.charAt(n+1)==="/"){const c=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););s.nsp=t.substring(c,n)}else s.nsp="/";const l=t.charAt(n+1);if(l!==""&&Number(l)==l){const c=n+1;for(;++n;){const d=t.charAt(n);if(d==null||Number(d)!=d){--n;break}if(n===t.length)break}s.id=Number(t.substring(c,n+1))}
vendor: 4,501 bytes, line 264
264if(t.charAt(++n)){const c=this.tryParse(t.substr(n));if($0.isPayloadValid(s.type,c))s.data=c;else throw new Error("invalid payload")}return s}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case rt.CONNECT:return k_(n);case rt.DISCONNECT:return n===void 0;case rt.CONNECT_ERROR:return typeof n=="string"||k_(n);case rt.EVENT:case rt.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&DM.indexOf(n[0])===-1);case rt.ACK:case rt.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class BM{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=OM(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function k_(e){return Object.prototype.toString.call(e)==="[object Object]"}const VM=Object.freeze(Object.defineProperty({__proto__:null,Decoder:$0,Encoder:FM,get PacketType(){return rt}},Symbol.toStringTag,{value:"Module"}));function Ui(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const zM=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class R2 extends Ht{constructor(t,n,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Ui(t,"open",this.onopen.bind(this)),Ui(t,"packet",this.onpacket.bind(this)),Ui(t,"error",this.onerror.bind(this)),Ui(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var s,l,c;if(zM.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const d={type:rt.EVENT,data:n};if(d.options={},d.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const y=this.ids++,v=n.pop();this._registerAckCallback(y,v),d.id=y}const m=(l=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||l===void 0?void 0:l.writable,f=this.connected&&!(!((c=this.io.engine)===null||c===void 0)&&c._hasPingExpired());return this.flags.volatile&&!m||(f?(this.notifyOutgoingListeners(d),this.packet(d)):this.sendBuffer.push(d)),this.flags={},this}_registerAckCallback(t,n){var s;const l=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(l===void 0){this.acks[t]=n;return}const c=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let m=0;m<this.sendBuffer.length;m++)this.sendBuffer[m].id===t&&this.sendBuffer.splice(m,1);n.call(this,new Error("operation has timed out"))},l),d=(...m)=>{this.io.clearTimeoutFn(c),n.apply(this,m)};d.withError=!0,this.acks[t]=d}emitWithAck(t,...n){return new Promise((s,l)=>{const c=(d,m)=>d?l(d):s(m);c.withError=!0,n.push(c),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((l,...c)=>(this._queue[0],l!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(l)):(this._queue.shift(),n&&n(null,...c)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:rt.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}
vendor: 6,031 bytes, line 264
264_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(s=>String(s.id)===t)){const s=this.acks[t];delete this.acks[t],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case rt.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case rt.EVENT:case rt.BINARY_EVENT:this.onevent(t);break;case rt.ACK:case rt.BINARY_ACK:this.onack(t);break;case rt.DISCONNECT:this.ondisconnect();break;case rt.CONNECT_ERROR:this.destroy();const s=new Error(t.data.message);s.data=t.data.data,this.emitReserved("connect_error",s);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const s of n)s.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let s=!1;return function(...l){s||(s=!0,n.packet({type:rt.ACK,id:t,data:l}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:rt.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let s=0;s<n.length;s++)if(t===n[s])return n.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let s=0;s<n.length;s++)if(t===n[s])return n.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const s of n)s.apply(this,t.data)}}}function Jl(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Jl.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-n:e+n}return Math.min(e,this.max)|0};Jl.prototype.reset=function(){this.attempts=0};Jl.prototype.setMin=function(e){this.ms=e};Jl.prototype.setMax=function(e){this.max=e};Jl.prototype.setJitter=function(e){this.jitter=e};class jx extends Ht{constructor(t,n){var s;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,qm(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((s=n.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new Jl({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const l=n.parser||VM;this.encoder=new l.Encoder,this.decoder=new l.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new PM(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const l=Ui(n,"open",function(){s.onopen(),t&&t()}),c=m=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",m),t?t(m):this.maybeReconnectOnOpen()},d=Ui(n,"error",c);if(this._timeout!==!1){const m=this._timeout,f=this.setTimeoutFn(()=>
264{l(),c(new Error("timeout")),n.close()},m);this.opts.autoUnref&&f.unref(),this.subs.push(()=>{this.clearTimeoutFn(f)})}return this.subs.push(l),this.subs.push(d),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Ui(t,"ping",this.onping.bind(this)),Ui(t,"data",this.ondata.bind(this)),Ui(t,"error",this.onerror.bind(this)),Ui(t,"close",this.onclose.bind(this)),Ui(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Hm(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let s=this.nsps[t];return s?this._autoConnect&&!s.active&&s.connect():(s=new R2(this,t,n),this.nsps[t]=s),s}_destroy(t){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let s=0;s<n.length;s++)this.engine.write(n[s],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(l=>{l?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",l)):t.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const iu={};function em(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=EM(e,t.path||"/socket.io"),s=n.source,l=n.id,c=n.path,d=iu[l]&&c in iu[l].nsps,m=t.forceNew||t["force new connection"]||t.multiplex===!1||d;let f;return m?f=new jx(s,t):(iu[l]||(iu[l]=new jx(s,t)),f=iu[l]),n.query&&!t.query&&(t.query=n.queryKey),f.socket(n.path,t)}Object.assign(em,{Manager:jx,Socket:R2,io:em,connect:em});const UM=250;function T_(e,t){var n;const s=(n=e.token)!==null&&n!==void 0?n:Jr(),l={app_id:e.appId,token:s};s||(l.anonymous_id=ym());const c=em(e.serverUrl,{path:e.mountPath,transports:e.transports,query:l});return c.on("connect",async()=>{var d;return console.log("connect",c.id),(d=t.connect)===null||d===void 0?void 0:d.call(t)}),c.on("update_model",async d=>{var m;return(m=t.update_model)===null||m===void 0?void 0:m.call(t,d)}),c.on("error",async d=>{var m;return(m=t.error)===null||m===void 0?void 0:m.call(t,d)}),c.on("connect_error",async d=>{var m;return console.error("connect_error",d),(m=t.error)===null||m===void 0?void 0:m.call(t,d)}),c}function $M({config:e}){let t={...e};const n={},s={},l={connect:async()=>{const T=[];Object.keys(n).forEach(A=>{const I=_(A);I.length!==0&&(x(A),I.forEach(({connect:D})=>{const B=async()=>D==null?void 0:D();T.push(B())}))}),await Promise.all(T)},update_model:async T=>{const I=_(T.room).map(D=>{var B;return(B=D.update_model)===null||B===void 0?void 0:B.call(D,T)});await Promise.all(I)},error:async T=>{console.error("error",T);const A=Object.values(n).flat().map(I=>{var D;return(D=I.error)===null||D===void 0?void 0:D.call(I,T)});await Promise.all(A)}};let c=T_(e,l);function d(){m()}function m(){E(),c&&c.disconnect()}function f(T){d(),t={...t,...T},c=T_(t,l)}function x(T){c.emit("join",T)}function y(T){c.emit("leave",T)}async function v(T,A){var I;const D=JSON.stringify(A);return(I=l.update_model)===null||I===void 0?void 0:I.call(l,{room:T,data:D})}function _(T){var A;return(A=n[T])!==null&&A!==void 0?A:[]}function S(T){const A=s[T];A&&(clearTimeout(A),delete s[T])}
264function E(){Object.keys(s).forEach(T=>{var A,I;clearTimeout(s[T]),delete s[T],((I=(A=n[T])===null||A===void 0?void 0:A.length)!==null&&I!==void 0?I:0)===0&&delete n[T]})}function k(T){S(T),s[T]=setTimeout(()=>{var A,I;delete s[T],!(((I=(A=n[T])===null||A===void 0?void 0:A.length)!==null&&I!==void 0?I:0)>0)&&(y(T),delete n[T])},UM)}return{socket:c,subscribeToRoom:(T,A)=>{n[T]?S(T):(x(T),n[T]=[]),n[T].push(A);let I=!1;return()=>{var D,B;I||(I=!0,n[T]=(B=(D=n[T])===null||D===void 0?void 0:D.filter(G=>G!==A))!==null&&B!==void 0?B:[],n[T].length===0&&k(T))}},updateConfig:f,updateModel:v,disconnect:m}}(!globalThis.EventTarget||!globalThis.Event)&&console.error(`
265  PartySocket requires a global 'EventTarget' class to be available!
266  You can polyfill this global by adding this to your code before any partysocket imports: 
267  
268  \`\`\`
269  import 'partysocket/event-target-polyfill';
270  \`\`\`
271  Please file an issue at https://github.com/partykit/partykit if you're still having trouble.
272`);var L2=class extends Event{constructor(t,n){super("error",n);vt(this,"message");vt(this,"error");this.message=t.message,this.error=t}},I2=class extends Event{constructor(t=1e3,n="",s){super("close",s
vendor: 4,875 bytes, line 272
272);vt(this,"code");vt(this,"reason");vt(this,"wasClean",!0);this.code=t,this.reason=n}},ug={Event,ErrorEvent:L2,CloseEvent:I2};function WM(e,t){if(!e)throw new Error(t)}function HM(e){return new e.constructor(e.type,e)}function qM(e){return"data"in e?new MessageEvent(e.type,e):"code"in e||"reason"in e?new I2(e.code||1999,e.reason||"unknown reason",e):"error"in e?new L2(e.error,e):new Event(e.type,e)}var wj,ZM=typeof process<"u"&&typeof((wj=process.versions)==null?void 0:wj.node)<"u"&&typeof document>"u",Mh=ZM?qM:HM,Wa={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},C_=!1,GM=class Za extends EventTarget{constructor(n,s,l={}){super();vt(this,"_ws");vt(this,"_retryCount",-1);vt(this,"_uptimeTimeout");vt(this,"_connectTimeout");vt(this,"_shouldReconnect",!0);vt(this,"_connectLock",!1);vt(this,"_binaryType","blob");vt(this,"_closeCalled",!1);vt(this,"_messageQueue",[]);vt(this,"_url");vt(this,"_protocols");vt(this,"_options");vt(this,"onclose",null);vt(this,"onerror",null);vt(this,"onmessage",null);vt(this,"onopen",null);vt(this,"_handleOpen",n=>{this._debug("open event");const{minUptime:s=Wa.minUptime}=this._options;clearTimeout(this._connectTimeout),this._uptimeTimeout=setTimeout(()=>this._acceptOpen(),s),WM(this._ws,"WebSocket is not defined"),this._ws.binaryType=this._binaryType,this._messageQueue.forEach(l=>{var c;return(c=this._ws)==null?void 0:c.send(l)}),this._messageQueue=[],this.onopen&&this.onopen(n),this.dispatchEvent(Mh(n))});vt(this,"_handleMessage",n=>{this._debug("message event"),this.onmessage&&this.onmessage(n),this.dispatchEvent(Mh(n))});vt(this,"_handleError",n=>{this._debug("error event",n.message),this._disconnect(void 0,n.message==="TIMEOUT"?"timeout":void 0),this.onerror&&this.onerror(n),this._debug("exec error listeners"),this.dispatchEvent(Mh(n)),this._connect()});vt(this,"_handleClose",n=>{this._debug("close event"),this._clearTimeouts(),this._shouldReconnect&&this._connect(),this.onclose&&this.onclose(n),this.dispatchEvent(Mh(n))});this._url=n,this._protocols=s,this._options=l,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}static get CONNECTING(){return 0}static get OPEN(){return 1}static get CLOSING(){return 2}static get CLOSED(){return 3}get CONNECTING(){return Za.CONNECTING}get OPEN(){return Za.OPEN}get CLOSING(){return Za.CLOSING}get CLOSED(){return Za.CLOSED}get binaryType(){return this._ws?this._ws.binaryType:this._binaryType}set binaryType(n){this._binaryType=n,this._ws&&(this._ws.binaryType=n)}get retryCount(){return Math.max(this._retryCount,0)}get bufferedAmount(){return this._messageQueue.reduce((s,l)=>(typeof l=="string"?s+=l.length:l instanceof Blob?s+=l.size:s+=l.byteLength,s),0)+(this._ws?this._ws.bufferedAmount:0)}get extensions(){return this._ws?this._ws.extensions:""}get protocol(){return this._ws?this._ws.protocol:""}get readyState(){return this._ws?this._ws.readyState:this._options.startClosed?Za.CLOSED:Za.CONNECTING}get url(){return this._ws?this._ws.url:""}get shouldReconnect(){return this._shouldReconnect}close(n=1e3,s){if(this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(n,s)}reconnect(n,s){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(n,s),this._connect())}send(n){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",n),this._ws.send(n);else{const{maxEnqueuedMessages:s=Wa.maxEnqueuedMessages}=this._options;this._messageQueue.length<s&&(this._debug("enqueue",n),this._messageQueue.push(n))}}_debug(...n){this._options.debug&&console.log.apply(console,["RWS>",...n])}_getNextDelay(){const{reconnectionDelayGrowFactor:n=Wa.reconnectionDelayGrowFactor,minReconnectionDelay:s=Wa.minReconnectionDelay,maxReconnectionDelay:l=Wa.maxReconnectionDelay}=this._options;let c=0;return this._retryCount>0&&(c=s*Math.pow(n,this._retryCount-1),c>l&&(c=l)),this._debug("next delay",c),c}_wait(){return new Promise(n=>{setTimeout(n,this._getNextDelay())})}_getNextProtocols(n){if(!n)return Promise.resolve(null);if(typeof n=="string"||Array.isArray(n))return Promise.resolve(n);if(typeof n=="function"){const s=n();if(!s)return Promise.resolve(null);if(typeof s=="string"||Array.isArray(s))return Promise.resolve(s);if(s.then)return s}throw Error("Invalid protocols")}_getNextUrl(n){if(typeof n=="string")return Promise.resolve(n);if(typeof n=="function"){const s=n();if(typeof s=="string")return Promise.resolve(s);if(s.then)return s}throw Error("Invalid URL")}_connect(){if(this._connectLock||!this._shouldReconnect)return;this._connectLock=!0;
272const{maxRetries:n=Wa.maxRetries,connectionTimeout:s=Wa.connectionTimeout}=this._options;if(this._retryCount>=n){this._debug("max retries reached",this._retryCount,">=",n);return}this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),this._wait().then(()=>Promise.all([this._getNextUrl(this._url),this._getNextProtocols(this._protocols||null)])).then(([l,c])=>{if(this._closeCalled){this._connectLock=!1;return}!this._options.WebSocket&&typeof WebSocket>"u"&&!C_&&(console.error(`‼️ No WebSocket implementation available. You should define options.WebSocket. 
273
274For example, if you're using node.js, run \`npm install ws\`, and then in your code:
275
276import PartySocket from 'partysocket';
277import WS from 'ws';
278
279const partysocket = new PartySocket({
280  host: "127.0.0.1:1999",
281  room: "test-room",
282  WebSocket: WS
283});
284
285`),C_=!0);const d=this._options.WebSocket||WebSocket;this._debug("connect",{url:l,protocols:c}),this._ws=c?new d(l,c):new d(l),this._ws.binaryType=this._binaryType,this._connectLock=!1,this._addListeners(),this._connectTimeout=setTimeout(()=>this._handleTimeout(),s)}).catch(l=>{this._connectLock=!1,this._handleError(new ug.ErrorEvent(Error(l.message),this))})}_handleTimeout(){this._debug("timeout event"),this._handleError(new ug.ErrorEvent(Error("TIMEOUT"),this))}_disconnect(n=1e3,s){if(this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(n,s),this._handleClose(new ug.CloseEvent(n,s,this))}catch{}}}_acceptOpen(){this._debug("accept open"),this._retryCount=0}_removeListeners(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))}_addListeners(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))}_clearTimeouts(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)}};/*!
286 * Reconnecting WebSocket
287 * by Pedro Ladaria <[email protected]>
288 * https://github.com/pladaria/reconnecting-websocket
289 * License MIT
290 */const YM=1e3,KM=3e3,JM=new Set([405,409,422,503]),QM=new Set([400,403,404]);function XM(e){const t=e&&typeof e=="object"?e.status:void 0;return typeof t=="number"?t:void 0}function eO(e){return e instanceof Error?e:new Error(String(e))}class tO{constructor(t,n,s,l,c){var d;this.onClose=c,this.listeners=new Set,this.heartbeat=null,this.closed=!1,this.id=(d=l==null?void 0:l.id)!==null&&d!==void 0?d:crypto.randomUUID();let m=s.transport==="proxy";const f=async()=>{var _;if(this.closed)throw new Error("Actor connection is closed");if(!m)try{const{websocket_url:S,token:E}=await s.mintConnectionToken(t,n,this.id),k=S.includes("?")?"&":"?";return`${S}${k}token=${encodeURIComponent(E)}`}catch(S){const E=XM(S);if(!(s.transport!=="direct"&&E!==void 0&&JM.has(E))){E!==void 0&&QM.has(E)&&this.close();try{(_=s.onMintError)===null||_===void 0||_.call(s,eO(S))}catch{}throw S}m=!0}return iO(s.host,t,n,this.id,s.appId,s.getAuthToken(),s.functionsVersion)},x=new GM(f);this.ws=x;let y=Date.now();const v=()=>{y=Date.now()};x.addEventListener("open",v),x.addEventListener("message",_=>{v();let S;try{S=JSON.parse(_.data)}catch{return}if((S&&typeof S=="object"?S.type:void 0)!=="__pong")for(const k of this.listeners)k(S)}),this.heartbeat=setInterval(()=>{if(Date.now()-y>KM){v(),x.readyState===x.OPEN&&x.reconnect();return}try{x.send(JSON.stringify({type:"__ping"}))}catch{}},YM)}subscribe(t){return this.listeners.add(t),{unsubscribe:()=>{this.listeners.delete(t)}}}send(t){this.closed||this.ws.send(JSON.stringify(t))}close(){this.closed||(this.closed=!0,this.heartbeat&&(clearInterval(this.heartbeat),this.heartbeat=null),this.listeners.clear(),this.ws.close(),this.onClose())}}function nO(e,t,n,s){let l=null;return{connect(c){if(l)return l;const d=new tO(e,t,n,c,()=>
290{s.delete(d),l===d&&(l=null)});return l=d,s.add(d),d}}}function iO(e,t,n,s,l,c,d){let m=e.replace(/^(http|https|ws|wss):\/\//,"");m.endsWith("/")&&(m=m.slice(0,-1));const f=m.startsWith("localhost:")||m.startsWith("127.0.0.1:")||m.startsWith("192.168.")||m.startsWith("10.")||m.startsWith("172.")&&m.split(".")[1]>="16"&&m.split(".")[1]<="31"||m.startsWith("[::ffff:7f00:1]:"),x=new URLSearchParams([["_pk",s],["app_id",l],["handler",t]]);return c&&x.append("token",c),d&&x.append("fv",d),`${f?"ws":"wss"}://${m}/parties/${t}/${n}?${x}`}function sO(e,t){return e&&!e.startsWith("/")?e:t??e}function rO(e){const t=new Set;return{module:new Proxy({},{get(s,l){if(!(typeof l!="string"||l==="then"))return c=>nO(l,c,e,t)}}),closeAll:()=>{for(const s of[...t])s.close()}}}function aO(e){var t,n,s,l;const{serverUrl:c="https://base44.app",appId:d,analytics:m,token:f,serviceToken:x,requiresAuth:y=!1,appBaseUrl:v,options:_,functionsVersion:S,headers:E}=e,k=typeof v=="string"?v:"",P={serverUrl:c,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:d,token:f};let T=null;const A=()=>(T||(T=$M({config:P})),T),I={...E,"X-App-Id":String(d)},D=S?{...I,"Base44-Functions-Version":S}:I,B=vl({baseURL:`${c}/api`,headers:I,token:f,onError:_==null?void 0:_.onError}),G=vl({baseURL:`${c}/api`,headers:D,token:f,interceptResponses:!1,onError:_==null?void 0:_.onError}),K={...I,...f?{"on-behalf-of":`Bearer ${f}`}:{}},W=vl({baseURL:`${c}/api`,headers:K,token:x,onError:_==null?void 0:_.onError}),se=vl({baseURL:`${c}/api`,headers:D,token:x,interceptResponses:!1}),de=vl({baseURL:`${c}/api`,headers:I}),fe=BI(B,G,d,{appBaseUrl:k,token:f});if(typeof window<"u"){const le=f||Jr();le&&fe.setToken(le)}const ve=rO({appId:d,host:sO(c,typeof window<"u"?(t=window.location)===null||t===void 0?void 0:t.origin:void 0),functionsVersion:S,getAuthToken:()=>f||Jr(),mintConnectionToken:async(le,he,Y)=>{const me=f||Jr();return await de.post(`/apps/${d}/actors/${encodeURIComponent(le)}/connection-token`,{room:he,connection_id:Y},{headers:{...me?{Authorization:`Bearer ${me}`}:{},...S?{"Base44-Functions-Version":S}:{}}})},transport:_==null?void 0:_.actorsTransport,onMintError:_==null?void 0:_.onError}),Ae={entities:g_({axios:B,appId:d,getSocket:A}),integrations:x_(B,d),connectors:WI(B,d),auth:fe,functions:y_(G,d,{getAuthHeaders:()=>{const le={},he=f||Jr();return he&&(le.Authorization=`Bearer ${he}`),le},baseURL:(n=G.defaults)===null||n===void 0?void 0:n.baseURL}),agents:v_({axios:B,getSocket:A,appId:d,serverUrl:c,token:f}),aiGateway:w_({serverUrl:c,token:f,appId:d}),appLogs:b_(B,d),app:GI(B,d),users:YI(B,d),analytics:SI({axiosClient:B,serverUrl:c,appId:d,userAuthModule:fe,enabled:(s=m==null?void 0:m.enabled)!==null&&s!==void 0?s:!0}),actors:ve.module,cleanup:()=>{Ae.analytics.cleanup(),ve.closeAll(),T&&T.disconnect()}},xe={entities:g_({axios:W,appId:d,getSocket:A}),integrations:x_(W,d),sso:VI(W,d),connectors:UI(W,d),functions:y_(se,d,{getAuthHeaders:()=>{const le={};return x&&(le.Authorization=`Bearer ${x}`),le},baseURL:(l=se.defaults)===null||l===void 0?void 0:l.baseURL}),agents:v_({axios:W,getSocket:A,appId:d,serverUrl:c,token:f}),aiGateway:w_({serverUrl:c,token:x,appId:d}),appLogs:b_(W,d),cleanup:()=>{T&&T.disconnect()}};return y&&typeof window<"u"&&setTimeout(async()=>{try{await Ae.auth.isAuthenticated()||Ae.auth.redirectToLogin(window.location.href)}catch(le){console.error("Authentication check failed:",le),Ae.auth.redirectToLogin(window.location.href)}},0),{...Ae,fetchWithAuth:qI({axios:B,serviceRoleAxios:W,appId:String(d),serverUrl:c,functionsVersion:S,platformHeaders:E}),setToken(le){Ae.auth.setToken(le),T&&T.updateConfig({token:le}),P.token=le},getConfig(){return{serverUrl:c,appId:d,requiresAuth:y}},get asServiceRole(){if(!x)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return xe}}}const M2=typeof window>"u",oO=M2?{localStorage:new Map}:window,vu=oO.localStorage,lO=e=>e.replace(/([A-Z])/g,"_$1").toLowerCase(),ml=(e,{defaultValue:t=void 0,removeFromUrl:n=!1}={})=>{if(M2)return t;const s=`base44_${lO(e)}`,l=new URLSearchParams(window.location.search),c=l.get(e);if(n){l.delete(e);const m=`${window.location.pathname}${l.toString()?`?${l.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,m)}
290if(c)return vu.setItem(s,c),c;if(t)return vu.setItem(s,t),t;const d=vu.getItem(s);return d||null},cO=()=>(ml("clear_access_token")==="true"&&(vu.removeItem("base44_access_token"),vu.removeItem("token")),{appId:ml("app_id",{defaultValue:"69a4f0dfd9744882d99b97c6"}),token:ml("access_token",{removeFromUrl:!0}),fromUrl:ml("from_url",{defaultValue:window.location.href}),functionsVersion:ml("functions_version",{defaultValue:"prod"}),appBaseUrl:ml("app_base_url",{defaultValue:void 0})}),du={...cO()},{appId:uO,token:dO,functionsVersion:hO,appBaseUrl:mO}=du,Ke=aO({appId:uO,token:dO,functionsVersion:hO,serverUrl:"",requiresAuth:!1,appBaseUrl:mO}),fO=[{id:"early_bird",label:"Early Bird",sublabel:"First 5 Spots",price:2950},{id:"standard",label:"Standard",sublabel:"Investment",price:3300},{id:"premium",label:"Premium",sublabel:"Tier",price:3750}],P_=.05,E_=.08,pO=[{id:"deposit",label:"Deposit to Reserve",desc:"$750 non-refundable deposit secures your spot. Balance due 60 days prior.",getAmount:()=>750,getTotal:()=>null,suffix:null},{id:"full",label:"Pay in Full",desc:"One-time payment. Best value — no added fees.",getAmount:e=>e,getTotal:()=>null,suffix:null},{id:"3_payments",label:"3-Payment Plan",desc:"$750 deposit today, then 3 equal installments of remaining balance (5% processing fee). Balance due 30 days prior.",getAmount:()=>750,getTotal:e=>Math.ceil(e*(1+P_)),suffix:"+ 3 installments after",getInstallment:e=>Math.ceil((e*(1+P_)-750)/3)},{id:"5_payments",label:"5-Payment Plan",desc:"$750 deposit today, then 5 equal installments of remaining balance (8% processing fee). Balance due 60 days after the retreat.",getAmount:()=>750,getTotal:e=>Math.ceil(e*(1+E_)),suffix:"+ 5 installments after",getInstallment:e=>Math.ceil((e*(1+E_)-750)/5)}],gO={early_bird:["full"],standard:["deposit","full","3_payments","5_payments"],premium:["deposit","full","3_payments","5_payments"]};function xO({open:e,onClose:t,defaultTier:n}){const[s,l]=N.useState("deposit"),[c,d]=N.useState(!1),[m,f]=N.useState(null),x=n||"early_bird",y=fO.find(k=>k.id===x),v=pO.filter(k=>gO[x].includes(k.id)),_=v.find(k=>k.id===s)||v[0],S=_?_.getAmount(y.price):0,E=async()=>{var k;d(!0),f(null);try{const T=_.id==="3_payments"||_.id==="5_payments"?"createStripeCheckout":"createCheckout",A=await Ke.functions.invoke(T,{tier:x,paymentOption:_.id,retreatName:"The Becoming: Bali"});(k=A.data)!=null&&k.redirectUrl?window.location.href=A.data.redirectUrl:f("Something went wrong. Please try again.")}catch(P){console.error(P),f("Unable to initiate checkout. Please try again.")}finally{d(!1)}};return i.jsx(Wi,{children:e&&i.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[i.jsx(O.div,{initial:{opacity:0}
290,animate:{opacity:1},exit:{opacity:0},className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:t}),i.jsxs(O.div,{initial:{opacity:0,y:30,scale:.97},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.97},transition:{duration:.35},className:"relative bg-[#FAF8F5] w-full max-w-lg max-h-[90vh] overflow-y-auto shadow-2xl",children:[i.jsxs("div",{className:"flex items-center justify-between px-8 py-6 border-b border-stone-200",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.25em] uppercase text-xs mb-1",children:"Reserve Your Spot"}),i.jsx("h2",{className:"text-stone-800 font-light text-xl tracking-tight",children:"The Becoming: Bali"})]}),i.jsx("button",{onClick:t,className:"text-stone-400 hover:text-stone-700 transition-colors",children:i.jsx(er,{className:"w-5 h-5"})})]}),i.jsxs("div",{className:"px-8 py-6 space-y-8",children:[i.jsxs("div",{className:"flex items-center justify-between px-5 py-4 border border-amber-500/50 bg-amber-50/60",children:[i.jsxs("div",{children:[i.jsx("span",{className:"text-stone-800 font-light text-sm",children:y.label}),i.jsxs("span",{className:"text-stone-400 text-xs ml-2",children:["— ",y.sublabel]})]}),i.jsxs("span",{className:"text-stone-700 font-light text-base",children:["$",y.price.toLocaleString()]})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-stone-500 text-xs tracking-[0.2em] uppercase mb-4",children:"Choose Payment Option"}),i.jsx("div",{className:"space-y-2",children:v.map(k=>{const P=k.getAmount(y.price),T=k.getTotal?k.getTotal(y.price):null,A=k.getInstallment?k.getInstallment(y.price):null;return i.jsxs("button",{onClick:()=>l(k.id),className:`w-full flex items-start justify-between px-5 py-4 border transition-all duration-200 text-left ${s===k.id?"border-amber-500/50 bg-amber-50/60":"border-stone-200 bg-white hover:border-amber-300/40"}`,children:[i.jsxs("div",{className:"flex-1 pr-4",children:[i.jsx("p",{className:"text-stone-800 font-light text-sm",children:k.label}),i.jsx("p",{className:"text-stone-400 text-xs mt-0.5 font-light",children:k.desc})]}),i.jsxs("div",{className:"text-right shrink-0",children:[i.jsxs("p",{className:"text-stone-700 font-light text-base",children:["$",P.toLocaleString()," today"]}),A&&i.jsxs("p",{className:"text-stone-500 text-xs",children:["then $",A.toLocaleString(),"/installment"]}),T&&i.jsxs("p",{className:"text-stone-400 text-xs",children:["Total: $",T.toLocaleString()]})]})]},k.id)})})]}),i.jsxs("div",{className:"border-t border-stone-200 pt-6",children:[i.jsxs("div",{className:"flex items-baseline justify-between mb-6",children:[i.jsx("p",{className:"text-stone-500 font-light text-sm",children:"Due today"}),i.jsxs("p",{className:"text-stone-800 text-2xl font-light",children:["$",S.toLocaleString()]})]}),m&&i.jsx("p",{className:"text-red-500 text-xs mb-4 text-center",children:m}),i.jsx("button",{onClick:E,disabled:c,className:"w-full py-4 bg-stone-900 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-300 flex items-center justify-center gap-3 disabled:opacity-60",children:c?i.jsxs(i.Fragment,{children:[i.jsx(Wn,{className:"w-4 h-4 animate-spin"}),"Preparing Checkout…"]}):"Proceed to Secure Checkout"}),i.jsx("p",{className:"text-center text-stone-400 text-xs mt-4 font-light",children:"Secure payment via Base44 Payments. Your spot is not confirmed until payment is received."})]})]})]})]})})}const yO=[{id:"early_bird",label:"Early Bird",sublabel:"First 5 Spots",price:"$2,950",note:"Paid in full",highlight:!0},{id:"standard",label:"Standard",sublabel:"Investment",price:"$3,300",note:null,highlight:!1},{id:"premium",label:"Premium",sublabel:"Tier",price:"$3,750",note:null,highlight:!1,extras:["Additional private post-retreat 1:1 integration session","Extended energetic support"]}],vO=["$750 non-refundable deposit secures your spot","3-payment plans available","5-payment plans available","Balance due 60 days prior to retreat"];function wO({onApply:e}){const[t,n]=N.useState(!1),[s,l]=N.useState("early_bird"),c=d=>{l(d),n(!0)};return i.jsxs("section",{className:"py-24 md:py-36 px-6 bg-[#F5F2EE]",children:[i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Investment"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Choose Your Path"})]}),i.jsx("div",{className:"grid md:grid-cols-3 gap-6 lg:gap-8",children:yO.map((d,m)=>i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:m*.15},onClick:()=>c(d.id),className:`relative p-8 md:p-10 cursor-pointer group transition-all duration-500 hover:-translate-y-1 ${d.highlight?"bg-stone-900 text-white":"bg-white border border-stone-200 hover:border-amber-300/50"}`,children:[d.highlight&&i.jsx("div",{className:"absolute top-4 right-4",children:i.jsx(Lm,{className:"w-4 h-4 text-amber-400/60"})}),i.jsx("p",{className:`text-xs tracking-[0.2em] uppercase ${d.highlight?"text-amber-400/70":"text-amber-700/50"}`,children:d.label}),i.jsx("p",{className:`text-xs mt-1 ${d.highlight?"text-white/40":"text-stone-400"}`,children:d.sublabel}),i.jsx("p",{className:`text-4xl font-light mt-6 ${d.highlight?"text-white":"text-stone-800"}`,children:d.price}),d.note&&i.jsx("p",{className:`text-xs mt-2 ${d.highlight?"text-white/50":"text-stone-400"}`,children:d.note}),d.extras&&i.jsxs("div",{className:"mt-6 pt-6 border-t border-stone-200/20 space-y-3",children:[i.jsx("p",{className:"text-xs tracking-wider up
290percase text-amber-700/50",children:"Includes:"}),d.extras.map((f,x)=>i.jsxs("div",{className:"flex items-start gap-2",children:[i.jsx(Im,{className:"w-3 h-3 text-amber-600/40 mt-1 shrink-0"}),i.jsx("p",{className:"text-stone-500 text-sm font-light",children:f})]},x))]}),i.jsx("div",{className:`mt-8 text-center text-xs tracking-[0.15em] uppercase py-3 border transition-all duration-300 ${d.highlight?"border-amber-400/30 text-amber-300 group-hover:bg-amber-400/10":"border-stone-300 text-stone-500 group-hover:border-amber-500/40 group-hover:text-amber-700"}`,children:"Select"})]},m))}),i.jsxs(O.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.4},className:"mt-16 text-center",children:[i.jsx("p",{className:"text-stone-500 text-sm tracking-[0.15em] uppercase mb-6",children:"Payment Options"}),i.jsx("div",{className:"flex flex-wrap justify-center gap-x-8 gap-y-3",children:vO.map((d,m)=>i.jsxs("p",{className:"text-stone-600 font-light text-sm flex items-center gap-2",children:[i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-600/40"}),d]},m))}),i.jsx("p",{className:"text-stone-400 font-light text-xs mt-6 italic",children:"Spots are confirmed upon deposit and alignment call."})]})]}),i.jsx(xO,{open:t,onClose:()=>n(!1),defaultTier:s})]})}const bO=["Energetic fit","Clarity of expectations","Readiness for group immersion"];function _O(){return i.jsx("section",{className:"py-24 md:py-32 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Screening & Alignment"}),i.jsx("p",{className:"text-stone-700 font-light text-lg md:text-xl leading-relaxed mt-8",children:"After submitting your deposit, you'll schedule a short alignment call."}),i.jsxs("div",{className:"mt-10 space-y-4",children:[i.jsx("p",{className:"text-stone-500 text-sm tracking-wider uppercase",children:"This ensures:"}),bO.map((e,t)=>i.jsx(O.p,{initial:{opacity:0}
290,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.2+t*.1},className:"text-stone-600 font-light",children:e},t))]}),i.jsx("div",{className:"mt-12 w-12 h-[1px] bg-amber-700/20 mx-auto"}),i.jsx("p",{className:"text-stone-500 font-light italic text-sm mt-8",children:"The integrity of the container matters."})]})})})}const jO=[{q:"Are flights included?",a:"No. Participants are responsible for travel to Bali."},{q:"Is this plant-medicine based?",a:"No. This retreat focuses on embodiment, ceremony, and healing work within a grounded framework."},{q:"Do I need prior retreat experience?",a:"Not necessarily. Openness and emotional readiness matter more than experience."},{q:"What if I cancel?",a:"Deposits are non-refundable. Full cancellation policy is outlined in participant agreement."}];function NO(){const[e,t]=N.useState(null);return i.jsx("section",{className:"py-24 md:py-36 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"FAQ"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Common Questions"})]}),i.jsx("div",{className:"space-y-0",children:jO.map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:s*.1},className:"border-b border-white/10",children:[i.jsxs("button",{onClick:()=>t(e===s?null:s),className:"w-full flex items-center justify-between py-6 text-left group",children:[i.jsx("span",{className:"text-white/80 font-light text-base md:text-lg group-hover:text-amber-300/80 transition-colors",children:n.q}),i.jsx($i,{className:`w-4 h-4 text-white/30 transition-transform duration-300 shrink-0 ml-4 ${e===s?"rotate-180":""}`})]}),i.jsx(Wi,{children:e===s&&i.jsx(O.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden",children:i.jsx("p",{className:"text-white/50 font-light pb-6 leading-relaxed",children:n.a})})})]},s))})]})})}function SO({onApply:e}){return i.jsxs("section",{className:"relative py-32 md:py-44 px-6 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&q=80",alt:"Bali ocean",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/50"})]}),i.jsx("div",{className:"relative z-10 max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-300/80 text-xl md:text-2xl font-light italic mb-6",children:"If you feel the call, trust it."}),i.jsx("p",{className:"text-white/60 font-light leading-relaxed max-w-xl mx-auto",children:"Join us in Bali for a 6-night immersive experience designed to recalibrate designed to recalibrate and re-anchor you into what matters most."}),i.jsx(O.button,{onClick:e,whileHover:{scale:1.03},whileTap:{scale:.98},className:"mt-12 px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Apply & Reserve Your Spot"}),i.jsx("p",{className:"text-white/20 text-xs mt-8 tracking-wider",children:"BASUNDARI · UBUD, BALI · JUNE 2026"})]})})]})}const Qt=N.forwardRef(({className:e,type:t,...n},s)=>i.jsx("input",{type:t,className:Dt("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:s,...n}));Qt.displayName="Input";function A_(e,t){if(typeof e=="function")return e(t);
vendor: 18,046 bytes, line 290
290e!=null&&(e.current=t)}function Ku(...e){return t=>{let n=!1;const s=e.map(l=>{const c=A_(l,t);return!n&&typeof c=="function"&&(n=!0),c});if(n)return()=>{for(let l=0;l<s.length;l++){const c=s[l];typeof c=="function"?c():A_(e[l],null)}}}}function Ft(...e){return N.useCallback(Ku(...e),e)}var kO=Symbol.for("react.lazy"),vm=Pm[" use ".trim().toString()];function TO(e){return typeof e=="object"&&e!==null&&"then"in e}function O2(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===kO&&"_payload"in e&&TO(e._payload)}function D2(e){const t=PO(e),n=N.forwardRef((s,l)=>{let{children:c,...d}=s;O2(c)&&typeof vm=="function"&&(c=vm(c._payload));const m=N.Children.toArray(c),f=m.find(AO);if(f){const x=f.props.children,y=m.map(v=>v===f?N.Children.count(x)>1?N.Children.only(null):N.isValidElement(x)?x.props.children:null:v);return i.jsx(t,{...d,ref:l,children:N.isValidElement(x)?N.cloneElement(x,void 0,y):null})}return i.jsx(t,{...d,ref:l,children:c})});return n.displayName=`${e}.Slot`,n}var CO=D2("Slot");function PO(e){const t=N.forwardRef((n,s)=>{let{children:l,...c}=n;if(O2(l)&&typeof vm=="function"&&(l=vm(l._payload)),N.isValidElement(l)){const d=LO(l),m=RO(c,l.props);return l.type!==N.Fragment&&(m.ref=s?Ku(s,d):d),N.cloneElement(l,m)}return N.Children.count(l)>1?N.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var EO=Symbol("radix.slottable");function AO(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===EO}function RO(e,t){const n={...t};for(const s in t){const l=e[s],c=t[s];/^on[A-Z]/.test(s)?l&&c?n[s]=(...m)=>{const f=c(...m);return l(...m),f}:l&&(n[s]=l):s==="style"?n[s]={...l,...c}:s==="className"&&(n[s]=[l,c].filter(Boolean).join(" "))}return{...e,...n}}function LO(e){var s,l;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(l=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:l.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var IO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],MO=IO.reduce((e,t)=>{const n=D2(`Primitive.${t}`),s=N.forwardRef((l,c)=>{const{asChild:d,...m}=l,f=d?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(f,{...m,ref:c})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{}),OO="Label",F2=N.forwardRef((e,t)=>i.jsx(MO.label,{...e,ref:t,onMouseDown:n=>{var l;n.target.closest("button, input, select, textarea")||((l=e.onMouseDown)==null||l.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));F2.displayName=OO;var B2=F2;const DO=Vx("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Xe=N.forwardRef(({className:e,...t},n)=>i.jsx(B2,{ref:n,className:Dt(DO(),e),...t}));Xe.displayName=B2.displayName;const Rn=N.forwardRef(({className:e,...t},n)=>i.jsx("textarea",{className:Dt("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...t}));Rn.displayName="Textarea";const FO=Vx("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),ta=N.forwardRef(({className:e,variant:t,size:n,asChild:s=!1,...l},c)=>{const d=s?CO:"button";return i.jsx(d,{className:Dt(FO({variant:t,size:n,className:e})),ref:c,...l})});ta.displayName="Button";function R_(e,[t,n]){return Math.min(n,Math.max(t,e))}function kt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(l){if(e==null||e(l),n===!1||!l.defaultPrevented)return t==null?void 0:t(l)}}function Ql(e,t=[]){let n=[];function s(c,d){const m=N.createContext(d),f=n.length;n=[...n,d];const x=v=>{var T;const{scope:_,children:S,...E}=v,k=((T=_==null?void 0:_[e])==null?void 0:T[f])||m,P=N.useMemo(()=>E,Object.values(E));return i.jsx(k.Provider,{value:P,children:S})};x.displayName=c+"Provider";function y(v,_){var k;const S=((k=_==null?void 0:_[e])==null?void 0:k[f])||m,E=N.useContext(S);if(E)return E;if(d!==void 0)return d;throw new Error(`\`${v}\` must be used within \`${c}\``)}return[x,y]}const l=()=>{const c=n.map(d=>N.createContext(d));return function(m){const f=(m==null?void 0:m[e])||c;return N.useMemo(()=>({[`__scope${e}`]:{...m,[e]:f}}),[m,f])}};return l.scopeName=e,[s,BO(l,...t)]}function BO(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const s=e.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(c){const d=s.reduce((m,{useScope:f,scopeName:x})=>{const v=f(c)[`__scope${x}`];return{...m,...v}},{});return N.useMemo(()=>({[`__scope${t.scopeName}`]:d}),[d])}};return n.scopeName=t.scopeName,n}function L_(e){const t=VO(e),n=N.forwardRef((s,l)=>{const{children:c,...d}=s,m=N.Children.toArray(c),f=m.find(UO);if(f){const x=f.props.children,y=m.map(v=>v===f?N.Children.count(x)>1?N.Children.only(null):N.isValidElement(x)?x.props.children:null:v);return i.jsx(t,{...d,ref:l,children:N.isValidElement(x)?N.cloneElement(x,void 0,y):null})}return i.jsx(t,{...d,ref:l,children:c})});return n.displayName=`${e}.Slot`,n}function VO(e){const t=N.forwardRef((n,s)=>{const{children:l,...c}=n;if(N.isValidElement(l)){const d=WO(l),m=$O(c,l.props);return l.type!==N.Fragment&&(m.ref=s?Ku(s,d):d),N.cloneElement(l,m)}return N.Children.count(l)>1?N.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var zO=Symbol("radix.slottable");function UO(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===zO}function $O(e,t){const n={...t};for(const s in t){const l=e[s],c=t[s];/^on[A-Z]/.test(s)?l&&c?n[s]=(...m)=>{const f=c(...m);return l(...m),f}:l&&(n[s]=l):s==="style"?n[s]={...l,...c}:s==="className"&&(n[s]=[l,c].filter(Boolean).join(" "))}return{...e,...n}}function WO(e){var s,l;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(l=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:l.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function V2(e){const t=e+"CollectionProvider",[n,s]=Ql(t),[l,c]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=k=>{const{scope:P,children:T}=k,A=Tt.useRef(null),I=Tt.useRef(new Map).current;return i.jsx(l,{scope:P,itemMap:I,collectionRef:A,children:T})};d.displayName=t;const m=e+"CollectionSlot",f=L_(m),x=Tt.forwardRef((k,P)=>{const{scope:T,children:A}=k,I=c(m,T),D=Ft(P,I.collectionRef);return i.jsx(f,{ref:D,children:A})});x.displayName=m;const y=e+"CollectionItemSlot",v="data-radix-collection-item",_=L_(y),S=Tt.forwardRef((k,P)=>{const{scope:T,children:A,...I}=k,D=Tt.useRef(null),B=Ft(P,D),G=c(y,T);return Tt.useEffect(()=>(G.itemMap.set(D,{ref:D,...I}),()=>void G.itemMap.delete(D))),i.jsx(_,{[v]:"",ref:B,children:A})});S.displayName=y;function E(k){const P=c(e+"CollectionConsumer",k);return Tt.useCallback(()=>{const A=P.collectionRef.current;if(!A)return[];const I=Array.from(A.querySelectorAll(`[${v}]`));return Array.from(P.itemMap.values()).sort((G,K)=>I.indexOf(G.ref.current)-I.indexOf(K.ref.current))},[P.collectionRef,P.itemMap])}return[{Provider:d,Slot:x,ItemSlot:S},E,s]}var HO=N.createContext(void 0);function z2(e){const t=N.useContext(HO);return e||t||"ltr"}function qO(e){const t=ZO(e),n=N.forwardRef((s,l)=>{const{children:c,...d}=s,m=N.Children.toArray(c),f=m.find(YO);if(f){const x=f.props.children,y=m.map(v=>v===f?N.Children.count(x)>1?N.Children.only(null):N.isValidElement(x)?x.props.children:null:v);return i.jsx(t,{...d,ref:l,children:N.isValidElement(x)?N.cloneElement(x,void 0,y):null})}return i.jsx(t,{...d,ref:l,children:c})});return n.displayName=`${e}.Slot`,n}function ZO(e){const t=N.forwardRef((n,s)=>{const{children:l,...c}=n;if(N.isValidElement(l)){const d=JO(l),m=KO(c,l.props);return l.type!==N.Fragment&&(m.ref=s?Ku(s,d):d),N.cloneElement(l,m)}return N.Children.count(l)>1?N.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var GO=Symbol("radix.slottable");function YO(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===GO}function KO(e,t){const n={...t};for(const s in t){const l=e[s],c=t[s];/^on[A-Z]/.test(s)?l&&c?n[s]=(...m)=>{const f=c(...m);return l(...m),f}:l&&(n[s]=l):s==="style"?n[s]={...l,...c}:s==="className"&&(n[s]=[l,c].filter(Boolean).join(" "))}return{...e,...n}}function JO(e){var s,l;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(l=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:l.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var QO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],mt=QO.reduce((e,t)=>{const n=qO(`Primitive.${t}`),s=N.forwardRef((l,c)=>{const{asChild:d,...m}=l,f=d?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(f,{...m,ref:c})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{});function XO(e,t){e&&Wu.flushSync(()=>e.dispatchEvent(t))}function ho(e){const t=N.useRef(e);return N.useEffect(()=>{t.current=e}),N.useMemo(()=>(...n)=>{var s;return(s=t.current)==null?void 0:s.call(t,...n)},[])}function e8(e,t=globalThis==null?void 0:globalThis.document){const n=ho(e);N.useEffect(()=>{const s=l=>{l.key==="Escape"&&n(l)};return t.addEventListener("keydown",s,{capture:!0}),()=>t.removeEventListener("keydown",s,{capture:!0})},[n,t])}var t8="DismissableLayer",Nx="dismissableLayer.update",n8="dismissableLayer.pointerDownOutside",i8="dismissableLayer.focusOutside",I_,U2=N.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),$2=N.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:d,onDismiss:m,...f}=e,x=N.useContext(U2),[y,v]=N.useState(null),_=(y==null?void 0:y.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,S]=N.useState({}),E=Ft(t,K=>v(K)),k=Array.from(x.layers),[P]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),T=k.indexOf(P),A=y?k.indexOf(y):-1,I=x.layersWithOutsidePointerEventsDisabled.size>0,D=A>=T,B=a8(K=>{const W=K.target,se=[...x.branches].some(de=>de.contains(W));!D||se||(l==null||l(K),d==null||d(K),K.defaultPrevented||m==null||m())},_),G=o8(K=>{const W=K.target;[...x.branches].some(de=>de.contains(W))||(c==null||c(K),d==null||d(K),K.defaultPrevented||m==null||m())},_);return e8(K=>{A===x.layers.size-1&&(s==null||s(K),!K.defaultPrevented&&m&&(K.preventDefault(),m()))},_),N.useEffect(()=>{if(y)return n&&(x.layersWithOutsidePointerEventsDisabled.size===0&&(I_=_.body.style.pointerEvents,_.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(y)),x.layers.add(y),M_(),()=>{n&&x.layersWithOutsidePointerEventsDisabled.size===1&&(_.body.style.pointerEvents=I_)}},[y,_,n,x]),N.useEffect(()=>()=>{y&&(x.layers.delete(y),x.layersWithOutsidePointerEventsDisabled.delete(y),M_())},[y,x]),N.useEffect(()=>{const K=()=>S({});return document.addEventListener(Nx,K),()=>document.removeEventListener(Nx,K)},[]),i.jsx(mt.div,{...f,ref:E,style:{pointerEvents:I?D?"auto":"none":void 0,...e.style},onFocusCapture:kt(e.onFocusCapture,G.onFocusCapture),onBlurCapture:kt(e.onBlurCapture,G.onBlurCapture),onPointerDownCapture:kt(e.onPointerDownCapture,B.onPointerDownCapture)})});$2.displayName=t8;var s8="DismissableLayerBranch",r8=N.forwardRef((e,t)=>{const n=N.useContext(U2),s=N.useRef(null),l=Ft(t,s);return N.useEffect(()=>{const c=s.current;if(c)return n.branches.add(c),()=>{n.branches.delete(c)}},[n.branches]),i.jsx(mt.div,{...e,ref:l})});r8.displayName=s8;function a8(e,t=globalThis==null?void 0:globalThis.document){const n=ho(e),s=N.useRef(!1),l=N.useRef(()=>{});return N.useEffect(()=>{const c=m=>{if(m.target&&!s.current){let f=function(){W2(n8,n,x,{discrete:!0})};const x={originalEvent:m};m.pointerType==="touch"?(t.removeEventListener("click",l.current),l.current=f,t.addEventListener("click",l.current,{once:!0})):f()}else t.removeEventListener("click",l.current);s.current=!1},d=window.setTimeout(()=>{t.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(d),t.removeEventListener("pointerdown",c),t.removeEventListener("click",l.current)}},[t,n]),{onPointerDownCapture:()=>s.current=!0}}function o8(e,t=globalThis==null?void 0:globalThis.document){const n=ho(e),s=N.useRef(!1);return N.useEffect(()=>{const l=c=>{c.target&&!s.current&&W2(i8,n,{originalEvent:c},{discrete:!1})};return t.addEventListener("focusin",l),()=>t.removeEventListener("focusin",l)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function M_(){const e=new CustomEvent(Nx);document.dispatchEvent(e)}function W2(e,t,n,{discrete:s}){const l=n.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&l.addEventListener(e,t,{once:!0}),s?XO(l,c):l.dispatchEvent(c)}var dg=0;function l8(){N.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??O_()),document.body.insertAdjacentElement("beforeend",e[1]??O_()),dg++,()=>{dg===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),dg--}},[])}function O_(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var hg="focusScope.autoFocusOnMount",mg="focusScope.autoFocusOnUnmount",D_={bubbles:!1,cancelable:!0},c8="FocusScope",H2=N.forwardRef((e,t)=>{const{loop:n=!1,trapped:s=!1,onMountAutoFocus:l,onUnmountAutoFocus:c,...d}=e,[m,f]=N.useState(null),x=ho(l),y=ho(c),v=N.useRef(null),_=Ft(t,k=>f(k)),S=N.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;N.useEffect(()=>{if(s){let k=function(I){if(S.paused||!m)return;const D=I.target;m.contains(D)?v.current=D:Vr(v.current,{select:!0})},P=function(I){if(S.paused||!m)return;const D=I.relatedTarget;D!==null&&(m.contains(D)||Vr(v.current,{select:!0}))},T=function(I){if(document.activeElement===document.body)for(const B of I)B.removedNodes.length>0&&Vr(m)};document.addEventListener("focusin",k),document.addEventListener("focusout",P);const A=new MutationObserver(T);return m&&A.observe(m,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",k),document.removeEventListener("focusout",P),A.disconnect()}}},[s,m,S.paused]),N.useEffect(()=>{if(m){B_.add(S);const k=document.activeElement;if(!m.contains(k)){const T=new CustomEvent(hg,D_);m.addEventListener(hg,x),m.dispatchEvent(T),T.defaultPrevented||(u8(p8(q2(m)),{select:!0}),document.activeElement===k&&Vr(m))}return()=>{m.removeEventListener(hg,x),setTimeout(()=>{const T=new CustomEvent(mg,D_);m.addEventListener(mg,y),m.dispatchEvent(T),T.defaultPrevented||Vr(k??document.body,{select:!0}),m.removeEventListener(mg,y),B_.remove(S)},0)}}},[m,x,y,S]);const E=N.useCallback(k=>{if(!n&&!s||S.paused)return;const P=k.key==="Tab"&&!k.altKey&&!k.ctrlKey&&!k.metaKey,T=document.activeElement;if(P&&T){const A=k.currentTarget,[I,D]=d8(A);I&&D?!k.shiftKey&&T===D?(k.preventDefault(),n&&Vr(I,{select:!0})):k.shiftKey&&T===I&&(k.preventDefault(),n&&Vr(D,{select:!0})):T===A&&k.preventDefault()}},[n,s,S.paused]);return i.jsx(mt.div,{tabIndex:-1,...d,ref:_,onKeyDown:E})});H2.displayName=c8;function u8(e,{select:t=!1}={}){const n=document.activeElement;for(const s of e)if(Vr(s,{select:t}),document.activeElement!==n)return}function d8(e){const t=q2(e),n=F_(t,e),s=F_(t.reverse(),e);return[n,s]}function q2(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const l=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||l?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function F_(e,t){for(const n of e)if(!h8(n,{upTo:t}))return n}function h8(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 m8(e){return e instanceof HTMLInputElement&&"select"in e}function Vr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&m8(e)&&t&&e.select()}}var B_=f8();function f8(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=V_(e,t),e.unshift(t)},remove(t){var n;e=V_(e,t),(n=e[0])==null||n.resume()}}}function V_(e,t){const n=[...e],s=n.indexOf(t);return s!==-1&&n.splice(s,1),n}function p8(e){return e.filter(t=>t.tagName!=="A")}var hn=globalThis!=null&&globalThis.document?N.useLayoutEffect:()=>{},g8=Pm[" useId ".trim().toString()]||(()=>{}),x8=0;function Ju(e){const[t,n]=N.useState(g8());return hn(()=>{n(s=>s??String(x8++))},[e]),t?`radix-${t}`:""}const y8=["top","right","bottom","left"],ra=Math.min,ni=Math.max,wm=Math.round,Oh=Math.floor,ps=e=>({x:e,y:e}
vendor: 12,021 bytes, line 290
290),v8={left:"right",right:"left",bottom:"top",top:"bottom"},w8={start:"end",end:"start"};function Sx(e,t,n){return ni(e,ra(t,n))}function Qs(e,t){return typeof e=="function"?e(t):e}function Xs(e){return e.split("-")[0]}function Xl(e){return e.split("-")[1]}function W0(e){return e==="x"?"y":"x"}function H0(e){return e==="y"?"height":"width"}const b8=new Set(["top","bottom"]);function ds(e){return b8.has(Xs(e))?"y":"x"}function q0(e){return W0(ds(e))}function _8(e,t,n){n===void 0&&(n=!1);const s=Xl(e),l=q0(e),c=H0(l);let d=l==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(d=bm(d)),[d,bm(d)]}function j8(e){const t=bm(e);return[kx(e),t,kx(t)]}function kx(e){return e.replace(/start|end/g,t=>w8[t])}const z_=["left","right"],U_=["right","left"],N8=["top","bottom"],S8=["bottom","top"];function k8(e,t,n){switch(e){case"top":case"bottom":return n?t?U_:z_:t?z_:U_;case"left":case"right":return t?N8:S8;default:return[]}}function T8(e,t,n,s){const l=Xl(e);let c=k8(Xs(e),n==="start",s);return l&&(c=c.map(d=>d+"-"+l),t&&(c=c.concat(c.map(kx)))),c}function bm(e){return e.replace(/left|right|bottom|top/g,t=>v8[t])}function C8(e){return{top:0,right:0,bottom:0,left:0,...e}}function Z2(e){return typeof e!="number"?C8(e):{top:e,right:e,bottom:e,left:e}}function _m(e){const{x:t,y:n,width:s,height:l}=e;return{width:s,height:l,top:n,left:t,right:t+s,bottom:n+l,x:t,y:n}}function $_(e,t,n){let{reference:s,floating:l}=e;const c=ds(t),d=q0(t),m=H0(d),f=Xs(t),x=c==="y",y=s.x+s.width/2-l.width/2,v=s.y+s.height/2-l.height/2,_=s[m]/2-l[m]/2;let S;switch(f){case"top":S={x:y,y:s.y-l.height};break;case"bottom":S={x:y,y:s.y+s.height};break;case"right":S={x:s.x+s.width,y:v};break;case"left":S={x:s.x-l.width,y:v};break;default:S={x:s.x,y:s.y}}switch(Xl(t)){case"start":S[d]-=_*(n&&x?-1:1);break;case"end":S[d]+=_*(n&&x?-1:1);break}return S}async function P8(e,t){var n;t===void 0&&(t={});const{x:s,y:l,platform:c,rects:d,elements:m,strategy:f}=e,{boundary:x="clippingAncestors",rootBoundary:y="viewport",elementContext:v="floating",altBoundary:_=!1,padding:S=0}=Qs(t,e),E=Z2(S),P=m[_?v==="floating"?"reference":"floating":v],T=_m(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(P)))==null||n?P:P.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(m.floating)),boundary:x,rootBoundary:y,strategy:f})),A=v==="floating"?{x:s,y:l,width:d.floating.width,height:d.floating.height}:d.reference,I=await(c.getOffsetParent==null?void 0:c.getOffsetParent(m.floating)),D=await(c.isElement==null?void 0:c.isElement(I))?await(c.getScale==null?void 0:c.getScale(I))||{x:1,y:1}:{x:1,y:1},B=_m(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:m,rect:A,offsetParent:I,strategy:f}):A);return{top:(T.top-B.top+E.top)/D.y,bottom:(B.bottom-T.bottom+E.bottom)/D.y,left:(T.left-B.left+E.left)/D.x,right:(B.right-T.right+E.right)/D.x}}const E8=async(e,t,n)=>{const{placement:s="bottom",strategy:l="absolute",middleware:c=[],platform:d}=n,m=c.filter(Boolean),f=await(d.isRTL==null?void 0:d.isRTL(t));let x=await d.getElementRects({reference:e,floating:t,strategy:l}),{x:y,y:v}=$_(x,s,f),_=s,S={},E=0;for(let P=0;P<m.length;P++){var k;const{name:T,fn:A}=m[P],{x:I,y:D,data:B,reset:G}=await A({x:y,y:v,initialPlacement:s,placement:_,strategy:l,middlewareData:S,rects:x,platform:{...d,detectOverflow:(k=d.detectOverflow)!=null?k:P8},elements:{reference:e,floating:t}});y=I??y,v=D??v,S={...S,[T]:{...S[T],...B}},G&&E<=50&&(E++,typeof G=="object"&&(G.placement&&(_=G.placement),G.rects&&(x=G.rects===!0?await d.getElementRects({reference:e,floating:t,strategy:l}):G.rects),{x:y,y:v}=$_(x,_,f)),P=-1)}return{x:y,y:v,placement:_,strategy:l,middlewareData:S}},A8=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:l,rects:c,platform:d,elements:m,middlewareData:f}=t,{element:x,padding:y=0}=Qs(e,t)||{};if(x==null)return{};const v=Z2(y),_={x:n,y:s},S=q0(l),E=H0(S),k=await d.getDimensions(x),P=S==="y",T=P?"top":"left",A=P?"bottom":"right",I=P?"clientHeight":"clientWidth",D=c.reference[E]+c.reference[S]-_[S]-c.floating[E],B=_[S]-c.reference[S],G=await(d.getOffsetParent==null?void 0:d.getOffsetParent(x));let K=G?G[I]:0;(!K||!await(d.isElement==null?void 0:d.isElement(G)))&&(K=m.floating[I]||c.floating[E]);const W=D/2-B/2,se=K/2-k[E]/2-1,de=ra(v[T],se),fe=ra(v[A],se),ve=de,Ae=K-k[E]-fe,xe=K/2-k[E]/2+W,Oe=Sx(ve,xe,Ae),le=!f.arrow&&Xl(l)!=null&&xe!==Oe&&c.reference[E]/2-(xe<ve?de:fe)-k[E]/2<0,he=le?xe<ve?xe-ve:xe-Ae:0;return{[S]:_[S]+he,data:{[S]:Oe,centerOffset:xe-Oe-he,...le&&{alignmentOffset:he}},reset:le}}}),R8=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,s;const{placement:l,middlewareData:c,rects:d,initialPlacement:m,platform:f,elements:x}=t,{mainAxis:y=!0,crossAxis:v=!0,fallbackPlacements:_,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:k=!0,...P}=Qs(e,t);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const T=Xs(l),A=ds(m),I=Xs(m)===m,D=await(f.isRTL==null?void 0:f.isRTL(x.floating)),B=_||(I||!k?[bm(m)]:j8(m)),G=E!=="none";!_&&G&&B.push(...T8(m,k,E,D));const K=[m,...B],W=await f.detectOverflow(t,P),se=[];let de=((s=c.flip)==null?void 0:s.overflows)||[];if(y&&se.push(W[T]),v){const xe=_8(l,d,D);se.push(W[xe[0]],W[xe[1]])}if(de=[...de,{placement:l,overflows:se}],!se.every(xe=>xe<=0)){var fe,ve;const xe=(((fe=c.flip)==null?void 0:fe.index)||0)+1,Oe=K[xe];if(Oe&&(!(v==="alignment"?A!==ds(Oe):!1)||de.every(Y=>ds(Y.placement)===A?Y.overflows[0]>0:!0)))return{data:{index:xe,overflows:de},reset:{placement:Oe}};let le=(ve=de.filter(he=>he.overflows[0]<=0).sort((he,Y)=>he.overflows[1]-Y.overflows[1])[0])==null?void 0:ve.placement;if(!le)switch(S){case"bestFit":{var Ae;const he=(Ae=de.filter(Y=>{if(G){const me=ds(Y.placement);return me===A||me==="y"}return!0}).map(Y=>[Y.placement,Y.overflows.filter(me=>me>0).reduce((me,Z)=>me+Z,0)]).sort((Y,me)=>Y[1]-me[1])[0])==null?void 0:Ae[0];he&&(le=he);break}case"initialPlacement":le=m;break}if(l!==le)return{reset:{placement:le}}}return{}}}};function W_(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function H_(e){return y8.some(t=>e[t]>=0)}const L8=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:s}=t,{strategy:l="referenceHidden",...c}=Qs(e,t);switch(l){case"referenceHidden":{const d=await s.detectOverflow(t,{...c,elementContext:"reference"}),m=W_(d,n.reference);return{data:{referenceHiddenOffsets:m,referenceHidden:H_(m)}}}case"escaped":{const d=await s.detectOverflow(t,{...c,altBoundary:!0}),m=W_(d,n.floating);return{data:{escapedOffsets:m,escaped:H_(m)}}}default:return{}}}}},G2=new Set(["left","top"]);async function I8(e,t){const{placement:n,platform:s,elements:l}=e,c=await(s.isRTL==null?void 0:s.isRTL(l.floating)),d=Xs(n),m=Xl(n),f=ds(n)==="y",x=G2.has(d)?-1:1,y=c&&f?-1:1,v=Qs(t,e);let{mainAxis:_,crossAxis:S,alignmentAxis:E}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return m&&typeof E=="number"&&(S=m==="end"?E*-1:E),f?{x:S*y,y:_*x}:{x:_*x,y:S*y}}const M8=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,s;const{x:l,y:c,placement:d,middlewareData:m}=t,f=await I8(t,e);return d===((n=m.offset)==null?void 0:n.placement)&&(s=m.arrow)!=null&&s.alignmentOffset?{}:{x:l+f.x,y:c+f.y,data:{...f,placement:d}}}}},O8=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:l,platform:c}=t,{mainAxis:d=!0,crossAxis:m=!1,limiter:f={fn:T=>{let{x:A,y:I}=T;return{x:A,y:I}}},...x}=Qs(e,t),y={x:n,y:s},v=await c.detectOverflow(t,x),_=ds(Xs(l)),S=W0(_);let E=y[S],k=y[_];if(d){const T=S==="y"?"top":"left",A=S==="y"?"bottom":"right",I=E+v[T],D=E-v[A];E=Sx(I,E,D)}if(m){const T=_==="y"?"top":"left",A=_==="y"?"bottom":"right",I=k+v[T],D=k-v[A];k=Sx(I,k,D)}const P=f.fn({...t,[S]:E,[_]:k});return{...P,data:{x:P.x-n,y:P.y-s,enabled:{[S]:d,[_]:m}}}}}},D8=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:s,placement:l,rects:c,middlewareData:d}=t,{offset:m=0,mainAxis:f=!0,crossAxis:x=!0}=Qs(e,t),y={x:n,y:s},v=ds(l),_=W0(v);let S=y[_],E=y[v];const k=Qs(m,t),P=typeof k=="number"?{mainAxis:k,crossAxis:0}:{mainAxis:0,crossAxis:0,...k};if(f){const I=_==="y"?"height":"width",D=c.reference[_]-c.floating[I]+P.mainAxis,B=c.reference[_]+c.reference[I]-P.mainAxis;S<D?S=D:S>B&&(S=B)}if(x){var T,A;const I=_==="y"?"width":"height",D=G2.has(Xs(l)),B=c.reference[v]-c.floating[I]+(D&&((T=d.offset)==null?void 0:T[v])||0)+(D?0:P.crossAxis),G=c.reference[v]+c.reference[I]+(D?0:((A=d.offset)==null?void 0:A[v])||0)-(D?P.crossAxis:0);E<B?E=B:E>G&&(E=G)}return{[_]:S,[v]:E}}}},F8=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,s;const{placement:l,rects:c,platform:d,elements:m}=t,{apply:f=()=>{},...x}=Qs(e,t),y=await d.detectOverflow(t,x),v=Xs(l),_=Xl(l),S=ds(l)==="y",{width:E,height:k}=c.floating;let P,T;v==="top"||v==="bottom"?(P=v,T=_===(await(d.isRTL==null?void 0:d.isRTL(m.floating))?"start":"end")?"left":"right"):(T=v,P=_==="end"?"top":"bottom");const A=k-y.top-y.bottom,I=E-y.left-y.right,D=ra(k-y[P],A),B=ra(E-y[T],I),G=!t.middlewareData.shift;let K=D,W=B;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(W=I),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(K=A),G&&!_){const de=ni(y.left,0),fe=ni(y.right,0),ve=ni(y.top,0),Ae=ni(y.bottom,0);S?W=E-2*(de!==0||fe!==0?de+fe:ni(y.left,y.right)):K=k-2*(ve!==0||Ae!==0?ve+Ae:ni(y.top,y.bottom))}await f({...t,availableWidth:W,availableHeight:K});const se=await d.getDimensions(m.floating);return E!==se.width||k!==se.height?{reset:{rects:!0}}:{}}}};function Zm(){return typeof window<"u"}function ec(e){return Y2(e)?(e.nodeName||"").toLowerCase():"#document"}function si(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ys(e){var t;return(t=(Y2(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Y2(e){return Zm()?e instanceof Node||e instanceof si(e).Node:!1}function Hi(e){return Zm()?e instanceof Element||e instanceof si(e).Element:!1}function xs(e){return Zm()?e instanceof HTMLElement||e instanceof si(e).HTMLElement:!1}function q_(e){return!Zm()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof si(e).ShadowRoot}const B8=new Set(["inline","contents"]);function Qu(e){const{overflow:t,overflowX:n,overflowY:s,display:l}=qi(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!B8.has(l)}const V8=new Set(["table","td","th"]);function z8(e){return V8.has(ec(e))}const U8=[":popover-open",":modal"];function Gm(e){return U8.some(t=>{try{return e.matches(t)}catch{return!1}})}const $8=["transform","translate","scale","rotate","perspective"],W8=["transform","translate","scale","rotate","perspective","filter"],H8=["paint","layout","strict","content"];function Z0(e){const t=G0(),n=Hi(e)?qi(e):e;return $8.some(s=>n[s]?n[s]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||W8.some(s=>(n.willChange||"").includes(s))||H8.some(s=>(n.contain||"").includes(s))}function q8(e){let t=aa(e);for(;xs(t)&&!Wl(t);){if(Z0(t))return t;if(Gm(t))return null;t=aa(t)}return null}function G0(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Z8=new Set(["html","body","#document"]);function Wl(e){return Z8.has(ec(e))}function qi(e){return si(e).getComputedStyle(e)}function Ym(e){return Hi(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function aa(e){if(ec(e)==="html")return e;const t=e.assignedSlot||e.parentNode||q_(e)&&e.host||ys(e);return q_(t)?t.host:t}function K2(e){const t=aa(e);return Wl(t)?e.ownerDocument?e.ownerDocument.body:e.body:xs(t)&&Qu(t)?t:K2(t)}
vendor: 14,433 bytes, line 290
290function Au(e,t,n){var s;t===void 0&&(t=[]),n===void 0&&(n=!0);const l=K2(e),c=l===((s=e.ownerDocument)==null?void 0:s.body),d=si(l);if(c){const m=Tx(d);return t.concat(d,d.visualViewport||[],Qu(l)?l:[],m&&n?Au(m):[])}return t.concat(l,Au(l,[],n))}function Tx(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function J2(e){const t=qi(e);let n=parseFloat(t.width)||0,s=parseFloat(t.height)||0;const l=xs(e),c=l?e.offsetWidth:n,d=l?e.offsetHeight:s,m=wm(n)!==c||wm(s)!==d;return m&&(n=c,s=d),{width:n,height:s,$:m}}function Y0(e){return Hi(e)?e:e.contextElement}function Sl(e){const t=Y0(e);if(!xs(t))return ps(1);const n=t.getBoundingClientRect(),{width:s,height:l,$:c}=J2(t);let d=(c?wm(n.width):n.width)/s,m=(c?wm(n.height):n.height)/l;return(!d||!Number.isFinite(d))&&(d=1),(!m||!Number.isFinite(m))&&(m=1),{x:d,y:m}}const G8=ps(0);function Q2(e){const t=si(e);return!G0()||!t.visualViewport?G8:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Y8(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==si(e)?!1:t}function mo(e,t,n,s){t===void 0&&(t=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),c=Y0(e);let d=ps(1);t&&(s?Hi(s)&&(d=Sl(s)):d=Sl(e));const m=Y8(c,n,s)?Q2(c):ps(0);let f=(l.left+m.x)/d.x,x=(l.top+m.y)/d.y,y=l.width/d.x,v=l.height/d.y;if(c){const _=si(c),S=s&&Hi(s)?si(s):s;let E=_,k=Tx(E);for(;k&&s&&S!==E;){const P=Sl(k),T=k.getBoundingClientRect(),A=qi(k),I=T.left+(k.clientLeft+parseFloat(A.paddingLeft))*P.x,D=T.top+(k.clientTop+parseFloat(A.paddingTop))*P.y;f*=P.x,x*=P.y,y*=P.x,v*=P.y,f+=I,x+=D,E=si(k),k=Tx(E)}}return _m({width:y,height:v,x:f,y:x})}function Km(e,t){const n=Ym(e).scrollLeft;return t?t.left+n:mo(ys(e)).left+n}function X2(e,t){const n=e.getBoundingClientRect(),s=n.left+t.scrollLeft-Km(e,n),l=n.top+t.scrollTop;return{x:s,y:l}}function K8(e){let{elements:t,rect:n,offsetParent:s,strategy:l}=e;const c=l==="fixed",d=ys(s),m=t?Gm(t.floating):!1;if(s===d||m&&c)return n;let f={scrollLeft:0,scrollTop:0},x=ps(1);const y=ps(0),v=xs(s);if((v||!v&&!c)&&((ec(s)!=="body"||Qu(d))&&(f=Ym(s)),xs(s))){const S=mo(s);x=Sl(s),y.x=S.x+s.clientLeft,y.y=S.y+s.clientTop}const _=d&&!v&&!c?X2(d,f):ps(0);return{width:n.width*x.x,height:n.height*x.y,x:n.x*x.x-f.scrollLeft*x.x+y.x+_.x,y:n.y*x.y-f.scrollTop*x.y+y.y+_.y}}function J8(e){return Array.from(e.getClientRects())}function Q8(e){const t=ys(e),n=Ym(e),s=e.ownerDocument.body,l=ni(t.scrollWidth,t.clientWidth,s.scrollWidth,s.clientWidth),c=ni(t.scrollHeight,t.clientHeight,s.scrollHeight,s.clientHeight);let d=-n.scrollLeft+Km(e);const m=-n.scrollTop;return qi(s).direction==="rtl"&&(d+=ni(t.clientWidth,s.clientWidth)-l),{width:l,height:c,x:d,y:m}}const Z_=25;function X8(e,t){const n=si(e),s=ys(e),l=n.visualViewport;let c=s.clientWidth,d=s.clientHeight,m=0,f=0;if(l){c=l.width,d=l.height;const y=G0();(!y||y&&t==="fixed")&&(m=l.offsetLeft,f=l.offsetTop)}const x=Km(s);if(x<=0){const y=s.ownerDocument,v=y.body,_=getComputedStyle(v),S=y.compatMode==="CSS1Compat"&&parseFloat(_.marginLeft)+parseFloat(_.marginRight)||0,E=Math.abs(s.clientWidth-v.clientWidth-S);E<=Z_&&(c-=E)}else x<=Z_&&(c+=x);return{width:c,height:d,x:m,y:f}}const eD=new Set(["absolute","fixed"]);function tD(e,t){const n=mo(e,!0,t==="fixed"),s=n.top+e.clientTop,l=n.left+e.clientLeft,c=xs(e)?Sl(e):ps(1),d=e.clientWidth*c.x,m=e.clientHeight*c.y,f=l*c.x,x=s*c.y;return{width:d,height:m,x:f,y:x}}function G_(e,t,n){let s;if(t==="viewport")s=X8(e,n);else if(t==="document")s=Q8(ys(e));else if(Hi(t))s=tD(t,n);else{const l=Q2(e);s={x:t.x-l.x,y:t.y-l.y,width:t.width,height:t.height}}return _m(s)}function eS(e,t){const n=aa(e);return n===t||!Hi(n)||Wl(n)?!1:qi(n).position==="fixed"||eS(n,t)}function nD(e,t){const n=t.get(e);if(n)return n;let s=Au(e,[],!1).filter(m=>Hi(m)&&ec(m)!=="body"),l=null;const c=qi(e).position==="fixed";let d=c?aa(e):e;for(;Hi(d)&&!Wl(d);){const m=qi(d),f=Z0(d);!f&&m.position==="fixed"&&(l=null),(c?!f&&!l:!f&&m.position==="static"&&!!l&&eD.has(l.position)||Qu(d)&&!f&&eS(e,d))?s=s.filter(y=>y!==d):l=m,d=aa(d)}return t.set(e,s),s}function iD(e){let{element:t,boundary:n,rootBoundary:s,strategy:l}=e;const d=[...n==="clippingAncestors"?Gm(t)?[]:nD(t,this._c):[].concat(n),s],m=d[0],f=d.reduce((x,y)=>{const v=G_(t,y,l);return x.top=ni(v.top,x.top),x.right=ra(v.right,x.right),x.bottom=ra(v.bottom,x.bottom),x.left=ni(v.left,x.left),x},G_(t,m,l));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function sD(e){const{width:t,height:n}=J2(e);return{width:t,height:n}}function rD(e,t,n){const s=xs(t),l=ys(t),c=n==="fixed",d=mo(e,!0,c,t);let m={scrollLeft:0,scrollTop:0};const f=ps(0);function x(){f.x=Km(l)}if(s||!s&&!c)if((ec(t)!=="body"||Qu(l))&&(m=Ym(t)),s){const S=mo(t,!0,c,t);f.x=S.x+t.clientLeft,f.y=S.y+t.clientTop}else l&&x();c&&!s&&l&&x();const y=l&&!s&&!c?X2(l,m):ps(0),v=d.left+m.scrollLeft-f.x-y.x,_=d.top+m.scrollTop-f.y-y.y;return{x:v,y:_,width:d.width,height:d.height}}function fg(e){return qi(e).position==="static"}function Y_(e,t){if(!xs(e)||qi(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ys(e)===n&&(n=n.ownerDocument.body),n}function tS(e,t){const n=si(e);if(Gm(e))return n;if(!xs(e)){let l=aa(e);for(;l&&!Wl(l);){if(Hi(l)&&!fg(l))return l;l=aa(l)}return n}let s=Y_(e,t);for(;s&&z8(s)&&fg(s);)s=Y_(s,t);return s&&Wl(s)&&fg(s)&&!Z0(s)?n:s||q8(e)||n}const aD=async function(e){const t=this.getOffsetParent||tS,n=this.getDimensions,s=await n(e.floating);return{reference:rD(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function oD(e){return qi(e).direction==="rtl"}const lD={convertOffsetParentRelativeRectToViewportRelativeRect:K8,getDocumentElement:ys,getClippingRect:iD,getOffsetParent:tS,getElementRects:aD,getClientRects:J8,getDimensions:sD,getScale:Sl,isElement:Hi,isRTL:oD};function nS(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function cD(e,t){let n=null,s;const l=ys(e);function c(){var m;clearTimeout(s),(m=n)==null||m.disconnect(),n=null}function d(m,f){m===void 0&&(m=!1),f===void 0&&(f=1),c();const x=e.getBoundingClientRect(),{left:y,top:v,width:_,height:S}=x;if(m||t(),!_||!S)return;const E=Oh(v),k=Oh(l.clientWidth-(y+_)),P=Oh(l.clientHeight-(v+S)),T=Oh(y),I={rootMargin:-E+"px "+-k+"px "+-P+"px "+-T+"px",threshold:ni(0,ra(1,f))||1};let D=!0;function B(G){const K=G[0].intersectionRatio;if(K!==f){if(!D)return d();K?d(!1,K):s=setTimeout(()=>{d(!1,1e-7)},1e3)}K===1&&!nS(x,e.getBoundingClientRect())&&d(),D=!1}try{n=new IntersectionObserver(B,{...I,root:l.ownerDocument})}catch{n=new IntersectionObserver(B,I)}n.observe(e)}return d(!0),c}function uD(e,t,n,s){s===void 0&&(s={});const{ancestorScroll:l=!0,ancestorResize:c=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:m=typeof IntersectionObserver=="function",animationFrame:f=!1}=s,x=Y0(e),y=l||c?[...x?Au(x):[],...Au(t)]:[];y.forEach(T=>{l&&T.addEventListener("scroll",n,{passive:!0}),c&&T.addEventListener("resize",n)});const v=x&&m?cD(x,n):null;let _=-1,S=null;d&&(S=new ResizeObserver(T=>{let[A]=T;A&&A.target===x&&S&&(S.unobserve(t),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var I;(I=S)==null||I.observe(t)})),n()}),x&&!f&&S.observe(x),S.observe(t));let E,k=f?mo(e):null;f&&P();function P(){const T=mo(e);k&&!nS(k,T)&&n(),k=T,E=requestAnimationFrame(P)}return n(),()=>{var T;y.forEach(A=>{l&&A.removeEventListener("scroll",n),c&&A.removeEventListener("resize",n)}),v==null||v(),(T=S)==null||T.disconnect(),S=null,f&&cancelAnimationFrame(E)}}const dD=M8,hD=O8,mD=R8,fD=F8,pD=L8,K_=A8,gD=D8,xD=(e,t,n)=>{const s=new Map,l={platform:lD,...n},c={...l.platform,_c:s};return E8(e,t,{...l,platform:c})};var yD=typeof document<"u",vD=function(){},tm=yD?N.useLayoutEffect:vD;function jm(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,s,l;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(s=n;s--!==0;)if(!jm(e[s],t[s]))return!1;return!0}if(l=Object.keys(e),n=l.length,n!==Object.keys(t).length)return!1;for(s=n;s--!==0;)if(!{}.hasOwnProperty.call(t,l[s]))return!1;for(s=n;s--!==0;){const c=l[s];if(!(c==="_owner"&&e.$$typeof)&&!jm(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function iS(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function J_(e,t){const n=iS(e);return Math.round(t*n)/n}function pg(e){const t=N.useRef(e);return tm(()=>{t.current=e}),t}function wD(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:s=[],platform:l,elements:{reference:c,floating:d}={},transform:m=!0,whileElementsMounted:f,open:x}=e,[y,v]=N.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[_,S]=N.useState(s);jm(_,s)||S(s);const[E,k]=N.useState(null),[P,T]=N.useState(null),A=N.useCallback(Y=>{Y!==G.current&&(G.current=Y,k(Y))},[]),I=N.useCallback(Y=>{Y!==K.current&&(K.current=Y,T(Y))},[]),D=c||E,B=d||P,G=N.useRef(null),K=N.useRef(null),W=N.useRef(y),se=f!=null,de=pg(f),fe=pg(l),ve=pg(x),Ae=N.useCallback(()=>{if(!G.current||!K.current)return;const Y={placement:t,strategy:n,middleware:_};fe.current&&(Y.platform=fe.current),xD(G.current,K.current,Y).then(me=>{const Z={...me,isPositioned:ve.current!==!1};xe.current&&!jm(W.current,Z)&&(W.current=Z,Wu.flushSync(()=>{v(Z)}))})},[_,t,n,fe,ve]);tm(()=>{x===!1&&W.current.isPositioned&&(W.current.isPositioned=!1,v(Y=>({...Y,isPositioned:!1})))},[x]);const xe=N.useRef(!1);tm(()=>(xe.current=!0,()=>{xe.current=!1}),[]),tm(()=>{if(D&&(G.current=D),B&&(K.current=B),D&&B){if(de.current)return de.current(D,B,Ae);Ae()}},[D,B,Ae,de,se]);const Oe=N.useMemo(()=>({reference:G,floating:K,setReference:A,setFloating:I}),[A,I]),le=N.useMemo(()=>({reference:D,floating:B}),[D,B]),he=N.useMemo(()=>{const Y={position:n,left:0,top:0};if(!le.floating)return Y;const me=J_(le.floating,y.x),Z=J_(le.floating,y.y);return m?{...Y,transform:"translate("+me+"px, "+Z+"px)",...iS(le.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:me,top:Z}},[n,m,le.floating,y.x,y.y]);return N.useMemo(()=>({...y,update:Ae,refs:Oe,elements:le,floatingStyles:he}),[y,Ae,Oe,le,he])}const bD=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:s,padding:l}=typeof e=="function"?e(n):e;return s&&t(s)?s.current!=null?K_({element:s.current,padding:l}).fn(n):{}:s?K_({element:s,padding:l}).fn(n):{}}}},_D=(e,t)=>({...dD(e),options:[e,t]}),jD=(e,t)=>({...hD(e),options:[e,t]}),ND=(e,t)=>({...gD(e),options:[e,t]}),SD=(e,t)=>({...mD(e),options:[e,t]}),kD=(e,t)=>({...fD(e),options:[e,t]}),TD=(e,t)=>({...pD(e),options:[e,t]}),CD=(e,t)=>({...bD(e),options:[e,t]});var PD="Arrow",sS=N.forwardRef((e,t)=>{const{children:n,width:s=10,height:l=5,...c}=e;return i.jsx(mt.svg,{...c,ref:t,width:s,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});sS.displayName=PD;var ED=sS;function rS(e){const[t,n]=N.useState(void 0);return hn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const s=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const c=l[0];let d,m;if("borderBoxSize"in c){const f=c.borderBoxSize,x=Array.isArray(f)?f[0]:f;d=x.inlineSize,m=x.blockSize}else d=e.offsetWidth,m=e.offsetHeight;n({width:d,height:m})});return s.observe(e,{box:"border-box"}),()=>s.unobserve(e)}else n(void 0)},[e]),t}var K0="Popper",[aS,oS]=Ql(K0),[AD,lS]=aS(K0),cS=e=>{const{__scopePopper:t,children:n}=e,[s,l]=N.useState(null);return i.jsx(AD,{scope:t,anchor:s,onAnchorChange:l,children:n})};cS.displayName=K0;var uS="PopperAnchor",dS=N.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:s,...l}=e,c=lS(uS,n),d=N.useRef(null),m=Ft(t,d),f=N.useRef(null);return N.useEffect(()=>{const x=f.current;f.current=(s==null?void 0:s.current)||d.current,x!==f.current&&c.onAnchorChange(f.current)}),s?null:i.jsx(mt.div,{...l,ref:m})});dS.displayName=uS;var J0="PopperContent",[RD,LD]=aS(J0),hS=N.forwardRef((e,t)=>{var ce,_e,ke,We,Ge,Be;const{__scopePopper:n,side:s="bottom",sideOffset:l=0,align:c="center",alignOffset:d=0,arrowPadding:m=0,avoidCollisions:f=!0,collisionBoundary:x=[],collisionPadding:y=0,sticky:v="partial",hideWhenDetached:_=!1,updatePositionStrategy:S="optimized",onPlaced:E,...k}=e,P=lS(J0,n),[T,A]=N.useState(null),I=Ft(t,dt=>A(dt)),[D,B]=N.useState(null),G=rS(D),K=(G==null?void 0:G.width)??0,W=(G==null?void 0:G.height)??0,se=s+(c!=="center"?"-"+c:""),de=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},fe=Array.isArray(x)?x:[x],ve=fe.length>0,Ae={padding:de,boundary:fe.filter(MD),altBoundary:ve},{refs:xe,floatingStyles:Oe,placement:le,isPositioned:he,middlewareData:Y}=wD({strategy:"fixed",placement:se,whileElementsMounted:(...dt)=>uD(...dt,{animationFrame:S==="always"}),elements:{reference:P.anchor},middleware:[_D({mainAxis:l+W,alignmentAxis:d}),f&&jD({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?ND():void 0,...Ae}),f&&SD({...Ae}),kD({...Ae,apply:({elements:dt,rects:bt,availableWidth:Bt,availableHeight:De})=>{const{width:gt,height:Xt}=bt.reference,en=dt.floating.style;en.setProperty("--radix-popper-available-width",`${Bt}px`),en.setProperty("--radix-popper-available-height",`${De}px`),en.setProperty("--radix-popper-anchor-width",`${gt}px`),en.setProperty("--radix-popper-anchor-height",`${Xt}px`)}}),D&&CD({element:D,padding:m}),OD({arrowWidth:K,arrowHeight:W}),_&&TD({strategy:"referenceHidden",...Ae})]}),[me,Z]=pS(le),z=ho(E);hn(()=>{he&&(z==null||z())},[he,z]);const ne=(ce=Y.arrow)==null?void 0:ce.x,je=(_e=Y.arrow)==null?void 0:_e.y,ye=((ke=Y.arrow)==null?void 0:ke.centerOffset)!==0,[ge,ie]=N.useState();return hn(()=>{T&&ie(window.getComputedStyle(T).zIndex)},[T]),i.jsx("div",{ref:xe.setFloating,"data-radix-popper-content-wrapper":"",style:{...Oe,transform:he?Oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ge,"--radix-popper-transform-origin":[(We=Y.transformOrigin)==null?void 0:We.x,(Ge=Y.transformOrigin)==null?void 0:Ge.y].join(" "),...((Be=Y.hide)==null?void 0:Be.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:i.jsx(RD,{scope:n,placedSide:me,onArrowChange:B,arrowX:ne,arrowY:je,shouldHideArrow:ye,children:i.jsx(mt.div,{"data-side":me,"data-align":Z,...k,ref:I,style:{...k.style,animation:he?void 0:"none"}})})})});hS.displayName=J0;var mS="PopperArrow",ID={top:"bottom",right:"left",bottom:"top",left:"r
290ight"},fS=N.forwardRef(function(t,n){const{__scopePopper:s,...l}=t,c=LD(mS,s),d=ID[c.placedSide];return i.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[d]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:i.jsx(ED,{...l,ref:n,style:{...l.style,display:"block"}})})});fS.displayName=mS;function MD(e){return e!==null}var OD=e=>({name:"transformOrigin",options:e,fn(t){var P,T,A;const{placement:n,rects:s,middlewareData:l}=t,d=((P=l.arrow)==null?void 0:P.centerOffset)!==0,m=d?0:e.arrowWidth,f=d?0:e.arrowHeight,[x,y]=pS(n),v={start:"0%",center:"50%",end:"100%"}[y],_=(((T=l.arrow)==null?void 0:T.x)??0)+m/2,S=(((A=l.arrow)==null?void 0:A.y)??0)+f/2;let E="",k="";return x==="bottom"?(E=d?v:`${_}px`,k=`${-f}px`):x==="top"?(E=d?v:`${_}px`,k=`${s.floating.height+f}px`):x==="right"?(E=`${-f}px`,k=d?v:`${S}px`):x==="left"&&(E=`${s.floating.width+f}px`,k=d?v:`${S}px`),{data:{x:E,y:k}}}});function pS(e){const[t,n="center"]=e.split("-");return[t,n]}var DD=cS,FD=dS,BD=hS,VD=fS,zD="Portal",gS=N.forwardRef((e,t)=>{var m;const{container:n,...s}=e,[l,c]=N.useState(!1);hn(()=>c(!0),[]);const d=n||l&&((m=globalThis==null?void 0:globalThis.document)==null?void 0:m.body);return d?HR.createPortal(i.jsx(mt.div,{...s,ref:t}),d):null});gS.displayName=zD;function UD(e){const t=$D(e),n=N.forwardRef((s,l)=>{const{children:c,...d}=s,m=N.Children.toArray(c),f=m.find(HD);if(f){const x=f.props.children,y=m.map(v=>v===f?N.Children.count(x)>1?N.Children.only(null):N.isValidElement(x)?x.props.children:null:v);return i.jsx(t,{...d,ref:l,children:N.isValidElement(x)?N.cloneElement(x,void 0,y):null})}return i.jsx(t,{...d,ref:l,children:c})});return n.displayName=`${e}.Slot`,n}function $D(e){const t=N.forwardRef((n,s)=>{const{children:l,...c}=n;if(N.isValidElement(l)){const d=ZD(l),m=qD(c,l.props);return l.type!==N.Fragment&&(m.ref=s?Ku(s,d):d),N.cloneElement(l,m)}return N.Children.count(l)>1?N.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var WD=Symbol("radix.slottable");function HD(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===WD}function qD(e,t){const n={...t};for(const s in t){const l=e[s],c=t[s];/^on[A-Z]/.test(s)?l&&c?n[s]=(...m)=>{const f=c(...m);return l(...m),f}:l&&(n[s]=l):s==="style"?n[s]={...l,...c}:s==="className"&&(n[s]=[l,c].filter(Boolean).join(" "))}return{...e,...n}}function ZD(e){var s,l;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(l=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:l.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var GD=Pm[" useInsertionEffect ".trim().toString()]||hn;function Hl({prop:e,defaultProp:t,onChange:n=()=>{},caller:s}){const[l,c,d]=YD({defaultProp:t,onChange:n}),m=e!==void 0,f=m?e:l;{const y=N.useRef(e!==void 0);N.useEffect(()=>{const v=y.current;v!==m&&console.warn(`${s} is changing from ${v?"controlled":"uncontrolled"} to ${m?"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.`),y.current=m},[m,s])}const x=N.useCallback(y=>{var v;if(m){const _=KD(y)?y(e):y;_!==e&&((v=d.current)==null||v.call(d,_))}else c(y)},[m,e,c,d]);return[f,x]}function YD({defaultProp:e,onChange:t}){const[n,s]=N.useState(e),l=N.useRef(n),c=N.useRef(t);return GD(()=>{c.current=t},[t]),N.useEffect(()=>{var d;l.current!==n&&((d=c.current)==null||d.call(c,n),l.current=n)},[n,l]),[n,s,c]}function KD(e){return typeof e=="function"}function xS(e){const t=N.useRef({value:e,previous:e});return N.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var yS=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"}),JD="VisuallyHidden",QD=N.forwardRef((e,t)=>
vendor: 14,413 bytes, lines 290-330
290i.jsx(mt.span,{...e,ref:t,style:{...yS,...e.style}}));QD.displayName=JD;var XD=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},fl=new WeakMap,Dh=new WeakMap,Fh={},gg=0,vS=function(e){return e&&(e.host||vS(e.parentNode))},eF=function(e,t){return t.map(function(n){if(e.contains(n))return n;var s=vS(n);return s&&e.contains(s)?s:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},tF=function(e,t,n,s){var l=eF(t,Array.isArray(e)?e:[e]);Fh[n]||(Fh[n]=new WeakMap);var c=Fh[n],d=[],m=new Set,f=new Set(l),x=function(v){!v||m.has(v)||(m.add(v),x(v.parentNode))};l.forEach(x);var y=function(v){!v||f.has(v)||Array.prototype.forEach.call(v.children,function(_){if(m.has(_))y(_);else try{var S=_.getAttribute(s),E=S!==null&&S!=="false",k=(fl.get(_)||0)+1,P=(c.get(_)||0)+1;fl.set(_,k),c.set(_,P),d.push(_),k===1&&E&&Dh.set(_,!0),P===1&&_.setAttribute(n,"true"),E||_.setAttribute(s,"true")}catch(T){console.error("aria-hidden: cannot operate on ",_,T)}})};return y(t),m.clear(),gg++,function(){d.forEach(function(v){var _=fl.get(v)-1,S=c.get(v)-1;fl.set(v,_),c.set(v,S),_||(Dh.has(v)||v.removeAttribute(s),Dh.delete(v)),S||v.removeAttribute(n)}),gg--,gg||(fl=new WeakMap,fl=new WeakMap,Dh=new WeakMap,Fh={})}},nF=function(e,t,n){n===void 0&&(n="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),l=XD(e);return l?(s.push.apply(s,Array.from(l.querySelectorAll("[aria-live], script"))),tF(s,l,n,"aria-hidden")):function(){return null}},us=function(){return us=Object.assign||function(t){for(var n,s=1,l=arguments.length;s<l;s++){n=arguments[s];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(t[c]=n[c])}return t},us.apply(this,arguments)};function wS(e,t){var n={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,s=Object.getOwnPropertySymbols(e);l<s.length;l++)t.indexOf(s[l])<0&&Object.prototype.propertyIsEnumerable.call(e,s[l])&&(n[s[l]]=e[s[l]]);return n}function iF(e,t,n){if(n||arguments.length===2)for(var s=0,l=t.length,c;s<l;s++)(c||!(s in t))&&(c||(c=Array.prototype.slice.call(t,0,s)),c[s]=t[s]);return e.concat(c||Array.prototype.slice.call(t))}var nm="right-scroll-bar-position",im="width-before-scroll-bar",sF="with-scroll-bars-hidden",rF="--removed-body-scroll-bar-size";function xg(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function aF(e,t){var n=N.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(s){var l=n.value;l!==s&&(n.value=s,n.callback(s,l))}}}})[0];return n.callback=t,n.facade}var oF=typeof window<"u"?N.useLayoutEffect:N.useEffect,Q_=new WeakMap;function lF(e,t){var n=aF(null,function(s){return e.forEach(function(l){return xg(l,s)})});return oF(function(){var s=Q_.get(n);if(s){var l=new Set(s),c=new Set(e),d=n.current;l.forEach(function(m){c.has(m)||xg(m,null)}),c.forEach(function(m){l.has(m)||xg(m,d)})}Q_.set(n,e)},[e]),n}function cF(e){return e}function uF(e,t){t===void 0&&(t=cF);var n=[],s=!1,l={read:function(){if(s)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(c){var d=t(c,s);return n.push(d),function(){n=n.filter(function(m){return m!==d})}},assignSyncMedium:function(c){for(s=!0;n.length;){var d=n;n=[],d.forEach(c)}n={push:function(m){return c(m)},filter:function(){return n}}},assignMedium:function(c){s=!0;var d=[];if(n.length){var m=n;n=[],m.forEach(c),d=n}var f=function(){var y=d;d=[],y.forEach(c)},x=function(){return Promise.resolve().then(f)};x(),n={push:function(y){d.push(y),x()},filter:function(y){return d=d.filter(y),n}}}};return l}function dF(e){e===void 0&&(e={});var t=uF(null);return t.options=us({async:!0,ssr:!1},e),t}var bS=function(e){var t=e.sideCar,n=wS(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var s=t.read();if(!s)throw new Error("Sidecar medium not found");return N.createElement(s,us({},n))};bS.isSideCarExport=!0;function hF(e,t){return e.useMedium(t),bS}var _S=dF(),yg=function(){},Jm=N.forwardRef(function(e,t){var n=N.useRef(null),s=N.useState({onScrollCapture:yg,onWheelCapture:yg,onTouchMoveCapture:yg}),l=s[0],c=s[1],d=e.forwardProps,m=e.children,f=e.className,x=e.removeScrollBar,y=e.enabled,v=e.shards,_=e.sideCar,S=e.noRelative,E=e.noIsolation,k=e.inert,P=e.allowPinchZoom,T=e.as,A=T===void 0?"div":T,I=e.gapMode,D=wS(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),B=_,G=lF([n,t]),K=us(us({},D),l);return N.createElement(N.Fragment,null,y&&N.createElement(B,{sideCar:_S,removeScrollBar:x,shards:v,noRelative:S,noIsolation:E,inert:k,setCallbacks:c,allowPinchZoom:!!P,lockRef:n,gapMode:I}),d?N.cloneElement(N.Children.only(m),us(us({},K),{ref:G})):N.createElement(A,us({},K,{className:f,ref:G}),m))});Jm.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Jm.classNames={fullWidth:im,zeroRight:nm};var mF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function fF(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=mF();return t&&e.setAttribute("nonce",t),e}function pF(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function gF(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var xF=function(){var e=0,t=null;return{add:function(n){e==0&&(t=fF())&&(pF(t,n),gF(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},yF=function(){var e=xF();return function(t,n){N.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},jS=function(){var e=yF(),t=function(n){var s=n.styles,l=n.dynamic;return e(s,l),null};return t},vF={left:0,top:0,right:0,gap:0},vg=function(e){return parseInt(e||"",10)||0},wF=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],s=t[e==="padding"?"paddingTop":"marginTop"],l=t[e==="padding"?"paddingRight":"marginRight"];return[vg(n),vg(s),vg(l)]},bF=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return vF;var t=wF(e),n=document.documentElement.clientWidth,s=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,s-n+t[2]-t[0])}},_F=jS(),kl="data-scroll-locked",jF=function(e,t,n,s){var l=e.left,c=e.top,d=e.right,m=e.gap;return n===void 0&&(n="margin"),`
291  .`.concat(sF,` {
292   overflow: hidden `).concat(s,`;
293   padding-right: `).concat(m,"px ").concat(s,`;
294  }
295  body[`).concat(kl,`] {
296    overflow: hidden `).concat(s,`;
297    overscroll-behavior: contain;
298    `).concat([t&&"position: relative ".concat(s,";"),n==="margin"&&`
299    padding-left: `.concat(l,`px;
300    padding-top: `).concat(c,`px;
301    padding-right: `).concat(d,`px;
302    margin-left:0;
303    margin-top:0;
304    margin-right: `).concat(m,"px ").concat(s,`;
305    `),n==="padding"&&"padding-right: ".concat(m,"px ").concat(s,";")].filter(Boolean).join(""),`
306  }
307  
308  .`).concat(nm,` {
309    right: `).concat(m,"px ").concat(s,`;
310  }
311  
312  .`).concat(im,` {
313    margin-right: `).concat(m,"px ").concat(s,`;
314  }
315  
316  .`).concat(nm," .").concat(nm,` {
317    right: 0 `).concat(s,`;
318  }
319  
320  .`).concat(im," .").concat(im,` {
321    margin-right: 0 `).concat(s,`;
322  }
323  
324  body[`).concat(kl,`] {
325    `).concat(rF,": ").concat(m,`px;
326  }
327`)},X_=function(){var e=parseInt(document.body.getAttribute(kl)||"0",10);return isFinite(e)?e:0},NF=function(){N.useEffect(function(){return document.body.setAttribute(kl,(X_()+1).toString()),function(){var e=X_()-1;e<=0?document.body.removeAttribute(kl):document.body.setAttribute(kl,e.toString())}},[])},SF=function(e){var t=e.noRelative,n=e.noImportant,s=e.gapMode,l=s===void 0?"margin":s;NF();var c=N.useMemo(function(){return bF(l)},[l]);return N.createElement(_F,{styles:jF(c,!t,l,n?"":"!important")})},Cx=!1;if(typeof window<"u")try{var Bh=Object.defineProperty({},"passive",{get:function(){return Cx=!0,!0}});window.addEventListener("test",Bh,Bh),window.removeEventListener("test",Bh,Bh)}catch{Cx=!1}var pl=Cx?{passive:!1}:!1,kF=function(e){return e.tagName==="TEXTAREA"},NS=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!kF(e)&&n[t]==="visible")},TF=function(e){return NS(e,"overflowY")},CF=function(e){return NS(e,"overflowX")},ej=function(e,t){var n=t.ownerDocument,s=t;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var l=SS(e,s);if(l){var c=kS(e,s),d=c[1],m=c[2];if(d>m)return!0}s=s.parentNode}while(s&&s!==n.body);return!1},PF=function(e){var t=e.scrollTop,n=e.scrollHeight,s=e.clientHeight;return[t,n,s]},EF=function(e){var t=e.scrollLeft,n=e.scrollWidth,s=e.clientWidth;return[t,n,s]},SS=function(e,t){return e==="v"?TF(t):CF(t)},kS=function(e,t){return e==="v"?PF(t):EF(t)},AF=function(e,t){return e==="h"&&t==="rtl"?-1:1},RF=function(e,t,n,s,l){var c=AF(e,window.getComputedStyle(t).direction),d=c*s,m=n.target,f=t.contains(m),x=!1,y=d>0,v=0,_=0;do{if(!m)break;var S=kS(e,m),E=S[0],k=S[1],P=S[2],T=k-P-c*E;(E||T)&&SS(e,m)&&(v+=T,_+=E);var A=m.parentNode;m=A&&A.nodeType===Node.DOCUMENT_FRAGMENT_NODE?A.host:A}while(!f&&m!==document.body||f&&(t.contains(m)||t===m));return(y&&Math.abs(v)<1||!y&&Math.abs(_)<1)&&(x=!0),x},Vh=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tj=function(e){return[e.deltaX,e.deltaY]},nj=function(e){return e&&"current"in e?e.current:e},LF=function(e,t){return e[0]===t[0]&&e[1]===t[1]},IF=function(e){return`
328  .block-interactivity-`.concat(e,` {pointer-events: none;}
329  .allow-interactivity-`).concat(e,` {pointer-events: all;}
330`)},MF=0,gl=[];function OF(e){var t=N.useRef([]),n=N.useRef([0,0]),s=N.useRef(),l=N.useState(MF++)[0],c=N.useState(jS)[0],d=N.useRef(e);N.useEffect(function(){d.current=e},[e]),N.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(l));var k=iF([e.lockRef.current],(e.shards||[]).map(nj),!0).filter(Boolean);return k.forEach(function(P){return P.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),k.forEach(function(P){return P.classList.remove("allow-interactivity-".concat(l))})}}},[e.inert,e.lockRef.current,e.shards]);var m=N.useCallback(function(k,P){if("touches"in k&&k.touches.length===2||k.type==="wheel"&&k.ctrlKey)return!d.current.allowPinchZoom;var T=Vh(k),A=n.current,I="deltaX"in k?k.deltaX:A[0]-T[0],D="deltaY"in k?k.deltaY:A[1]-T[1],B,G=k.target,K=Math.abs(I)>Math.abs(D)?"h":"v";if("touches"in k&&K==="h"&&G.type==="range")return!1;var W=window.getSelection(),se=W&&W.anchorNode,de=se?se===G||se.contains(G):!1;if(de)return!1;var fe=ej(K,G);if(!fe)return!0;if(fe?B=K:(B=K==="v"?"h":"v",fe=ej(K,G)),!fe)return!1;if(!s.current&&"changedTouches"in k&&(I||D)&&(s.current=B),!B)return!0;var ve=s.current||B;return RF(ve,P,k,ve==="h"?I:D)},[]),f=N.useCallback(function(k){var P=k;if(!(!gl.length||gl[gl.length-1]!==c)){var T="deltaY"in P?tj(P):Vh(P),A=t.current.filter(function(B){return B.name===P.type&&(B.target===P.target||P.target===B.shadowParent)&&LF(B.delta,T)})[0];if(A&&A.should){P.cancelable&&P.preventDefault();return}if(!A){var I=(d.current.shards||[]).map(nj).filter(Boolean).filter(function(B){return B.contains(P.target)}),D=I.length>0?m(P,I[0]):!d.current.noIsolation;D&&P.cancelable&&P.preventDefault()}}},[]),x=N.useCallback(function(k,P,T,A){var I={name:k,delta:P,target:T,should:A,shadowParent:DF(T)};t.current.push(I),setTimeout(function(){t.current=t.current.filter(function(D){return D!==I})},1)},[]),y=N.useCallback(function(k){n.current=Vh(k),s.current=void 0},[]),v=N.useCallback(function(k){x(k.type,tj(k),k.target,m(k,e.lockRef.current))},[]),_=N.useCallback(function(k){x(k.type,Vh(k),k.target,m(k,e.lockRef.current))},[]);N.useEffect(function(){return gl.push(c),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:_}),document.addEventListener("wheel",f,pl),document.addEventListener("touchmove",f,pl),document.addEventListener("touchstart",y,pl),function(){gl=gl.filter(function(k){return k!==c}),document.removeEventListener("wheel",f,pl),document.removeEventListener("touchmove",f,pl),document.removeEventListener("touchstart",y,pl)}},[]);var S=e.removeScrollBar,E=e.inert;return N.createElement(N.Fragment,null,E?N.createElement(c,{styles:IF(l)}):null,S?N.createElement(SF,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function DF(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const FF=hF(_S,OF);var TS=N.forwardRef(function(e,t){return N.createElement(Jm,us({},e,{ref:t,sideCar:FF}))});TS.classNames=Jm.classNames;var BF=[" ","Enter","ArrowUp","ArrowDown"],VF=[" ","Enter"],fo="Select",[Qm,Xm,zF]=V2(fo),[tc]=Ql(fo,[zF,oS]),ef=oS(),[UF,da]=tc(fo),[$F,WF]=tc(fo),CS=e=>{const{__scopeSelect:t,children:n,open:s,defaultOpen:l,onOpenChange:c,value:d,defaultValue:m,onValueChange:f,dir:x,name:y,autoComplete:v,disabled:_,required:S,form:E}=e,k=ef(t),[P,T]=N.useState(null),[A,I]=N.useState(null),[D,B]=N.useState(!1),G=z2(x),[K,W]=Hl({prop:s,defaultProp:l??!1,onChange:c,caller:fo}),[se,de]=Hl({prop:d,defaultProp:m,onChange:f,caller:fo}),fe=N.useRef(null),ve=P?E||!!P.closest("form"):!0,[Ae,xe]=N.useState(new Set),Oe=Array.from(Ae).map(le=>le.props.value).join(";");return i.jsx(DD,{...k,children:i.jsxs(UF,{required:S,scope:t,trigger:P,onTriggerChange:T,valueNode:A,onValueNodeChange:I,valueNodeHasChildren:D,onValueNodeHasChildrenChange:B,contentId:Ju(),value:se,onValueChange:de,open:K,onOpenChange:W,dir:G,triggerPointerDownPosRef:fe,disabled:_,children:[i.jsx(Qm.Provider,{scope:t,children:i.jsx($F,{scope:e.__scopeSelect,onNativeOptionAdd:N.useCallback(le=>{xe(he=>new Set(he).add(le))},[]),onNativeOptionRemove:N.useCallback(le=>{xe(he=>{const Y=new Set(he);return Y.delete(le),Y})},[]),children:n})}),ve?i.jsxs(QS,{"aria-hidden":!0,required:S,tabIndex:-1,name:y,autoComplete:v,value:se,onChange:le=>de(le.target.value),disabled:_,form:E,children:[se===void 0?i.jsx("option",{value:""}):null,Array.from(Ae)]},Oe):null]})})};CS.displayName=fo;var PS="SelectTrigger",ES=N.forwardRef((e,t)=>
vendor: 17,704 bytes, line 330
330{const{__scopeSelect:n,disabled:s=!1,...l}=e,c=ef(n),d=da(PS,n),m=d.disabled||s,f=Ft(t,d.onTriggerChange),x=Xm(n),y=N.useRef("touch"),[v,_,S]=ek(k=>{const P=x().filter(I=>!I.disabled),T=P.find(I=>I.value===d.value),A=tk(P,k,T);A!==void 0&&d.onValueChange(A.value)}),E=k=>{m||(d.onOpenChange(!0),S()),k&&(d.triggerPointerDownPosRef.current={x:Math.round(k.pageX),y:Math.round(k.pageY)})};return i.jsx(FD,{asChild:!0,...c,children:i.jsx(mt.button,{type:"button",role:"combobox","aria-controls":d.contentId,"aria-expanded":d.open,"aria-required":d.required,"aria-autocomplete":"none",dir:d.dir,"data-state":d.open?"open":"closed",disabled:m,"data-disabled":m?"":void 0,"data-placeholder":XS(d.value)?"":void 0,...l,ref:f,onClick:kt(l.onClick,k=>{k.currentTarget.focus(),y.current!=="mouse"&&E(k)}),onPointerDown:kt(l.onPointerDown,k=>{y.current=k.pointerType;const P=k.target;P.hasPointerCapture(k.pointerId)&&P.releasePointerCapture(k.pointerId),k.button===0&&k.ctrlKey===!1&&k.pointerType==="mouse"&&(E(k),k.preventDefault())}),onKeyDown:kt(l.onKeyDown,k=>{const P=v.current!=="";!(k.ctrlKey||k.altKey||k.metaKey)&&k.key.length===1&&_(k.key),!(P&&k.key===" ")&&BF.includes(k.key)&&(E(),k.preventDefault())})})})});ES.displayName=PS;var AS="SelectValue",RS=N.forwardRef((e,t)=>{const{__scopeSelect:n,className:s,style:l,children:c,placeholder:d="",...m}=e,f=da(AS,n),{onValueNodeHasChildrenChange:x}=f,y=c!==void 0,v=Ft(t,f.onValueNodeChange);return hn(()=>{x(y)},[x,y]),i.jsx(mt.span,{...m,ref:v,style:{pointerEvents:"none"},children:XS(f.value)?i.jsx(i.Fragment,{children:d}):c})});RS.displayName=AS;var HF="SelectIcon",LS=N.forwardRef((e,t)=>{const{__scopeSelect:n,children:s,...l}=e;return i.jsx(mt.span,{"aria-hidden":!0,...l,ref:t,children:s||"▼"})});LS.displayName=HF;var qF="SelectPortal",IS=e=>i.jsx(gS,{asChild:!0,...e});IS.displayName=qF;var po="SelectContent",MS=N.forwardRef((e,t)=>{const n=da(po,e.__scopeSelect),[s,l]=N.useState();if(hn(()=>{l(new DocumentFragment)},[]),!n.open){const c=s;return c?Wu.createPortal(i.jsx(OS,{scope:e.__scopeSelect,children:i.jsx(Qm.Slot,{scope:e.__scopeSelect,children:i.jsx("div",{children:e.children})})}),c):null}return i.jsx(DS,{...e,ref:t})});MS.displayName=po;var Bi=10,[OS,ha]=tc(po),ZF="SelectContentImpl",GF=UD("SelectContent.RemoveScroll"),DS=N.forwardRef((e,t)=>{const{__scopeSelect:n,position:s="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:c,onPointerDownOutside:d,side:m,sideOffset:f,align:x,alignOffset:y,arrowPadding:v,collisionBoundary:_,collisionPadding:S,sticky:E,hideWhenDetached:k,avoidCollisions:P,...T}=e,A=da(po,n),[I,D]=N.useState(null),[B,G]=N.useState(null),K=Ft(t,ce=>D(ce)),[W,se]=N.useState(null),[de,fe]=N.useState(null),ve=Xm(n),[Ae,xe]=N.useState(!1),Oe=N.useRef(!1);N.useEffect(()=>{if(I)return nF(I)},[I]),l8();const le=N.useCallback(ce=>{const[_e,...ke]=ve().map(Be=>Be.ref.current),[We]=ke.slice(-1),Ge=document.activeElement;for(const Be of ce)if(Be===Ge||(Be==null||Be.scrollIntoView({block:"nearest"}),Be===_e&&B&&(B.scrollTop=0),Be===We&&B&&(B.scrollTop=B.scrollHeight),Be==null||Be.focus(),document.activeElement!==Ge))return},[ve,B]),he=N.useCallback(()=>le([W,I]),[le,W,I]);N.useEffect(()=>{Ae&&he()},[Ae,he]);const{onOpenChange:Y,triggerPointerDownPosRef:me}=A;N.useEffect(()=>{if(I){let ce={x:0,y:0};const _e=We=>{var Ge,Be;ce={x:Math.abs(Math.round(We.pageX)-(((Ge=me.current)==null?void 0:Ge.x)??0)),y:Math.abs(Math.round(We.pageY)-(((Be=me.current)==null?void 0:Be.y)??0))}},ke=We=>{ce.x<=10&&ce.y<=10?We.preventDefault():I.contains(We.target)||Y(!1),document.removeEventListener("pointermove",_e),me.current=null};return me.current!==null&&(document.addEventListener("pointermove",_e),document.addEventListener("pointerup",ke,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",_e),document.removeEventListener("pointerup",ke,{capture:!0})}}},[I,Y,me]),N.useEffect(()=>{const ce=()=>Y(!1);return window.addEventListener("blur",ce),window.addEventListener("resize",ce),()=>{window.removeEventListener("blur",ce),window.removeEventListener("resize",ce)}},[Y]);const[Z,z]=ek(ce=>{const _e=ve().filter(Ge=>!Ge.disabled),ke=_e.find(Ge=>Ge.ref.current===document.activeElement),We=tk(_e,ce,ke);We&&setTimeout(()=>We.ref.current.focus())}),ne=N.useCallback((ce,_e,ke)=>{const We=!Oe.current&&!ke;(A.value!==void 0&&A.value===_e||We)&&(se(ce),We&&(Oe.current=!0))},[A.value]),je=N.useCallback(()=>I==null?void 0:I.focus(),[I]),ye=N.useCallback((ce,_e,ke)=>{const We=!Oe.current&&!ke;(A.value!==void 0&&A.value===_e||We)&&fe(ce)},[A.value]),ge=s==="popper"?Px:FS,ie=ge===Px?{side:m,sideOffset:f,align:x,alignOffset:y,arrowPadding:v,collisionBoundary:_,collisionPadding:S,sticky:E,hideWhenDetached:k,avoidCollisions:P}:{};return i.jsx(OS,{scope:n,content:I,viewport:B,onViewportChange:G,itemRefCallback:ne,selectedItem:W,onItemLeave:je,itemTextRefCallback:ye,focusSelectedItem:he,selectedItemText:de,position:s,isPositioned:Ae,searchRef:Z,children:i.jsx(TS,{as:GF,allowPinchZoom:!0,children:i.jsx(H2,{asChild:!0,trapped:A.open,onMountAutoFocus:ce=>{ce.preventDefault()},onUnmountAutoFocus:kt(l,ce=>{var _e;(_e=A.trigger)==null||_e.focus({preventScroll:!0}),ce.preventDefault()}),children:i.jsx($2,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:ce=>ce.preventDefault(),onDismiss:()=>A.onOpenChange(!1),children:i.jsx(ge,{role:"listbox",id:A.contentId,"data-state":A.open?"open":"closed",dir:A.dir,onContextMenu:ce=>ce.preventDefault(),...T,...ie,onPlaced:()=>xe(!0),ref:K,style:{display:"flex",flexDirection:"column",outline:"none",...T.style},onKeyDown:kt(T.onKeyDown,ce=>{const _e=ce.ctrlKey||ce.altKey||ce.metaKey;if(ce.key==="Tab"&&ce.preventDefault(),!_e&&ce.key.length===1&&z(ce.key),["ArrowUp","ArrowDown","Home","End"].includes(ce.key)){let We=ve().filter(Ge=>!Ge.disabled).map(Ge=>Ge.ref.current);if(["ArrowUp","End"].includes(ce.key)&&(We=We.slice().reverse()),["ArrowUp","ArrowDown"].includes(ce.key)){const Ge=ce.target,Be=We.indexOf(Ge);We=We.slice(Be+1)}setTimeout(()=>le(We)),ce.preventDefault()}})})})})})})});DS.displayName=ZF;var YF="SelectItemAlignedPosition",FS=N.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:s,...l}=e,c=da(po,n),d=ha(po,n),[m,f]=N.useState(null),[x,y]=N.useState(null),v=Ft(t,K=>y(K)),_=Xm(n),S=N.useRef(!1),E=N.useRef(!0),{viewport:k,selectedItem:P,selectedItemText:T,focusSelectedItem:A}=d,I=N.useCallback(()=>{if(c.trigger&&c.valueNode&&m&&x&&k&&P&&T){const K=c.trigger.getBoundingClientRect(),W=x.getBoundingClientRect(),se=c.valueNode.getBoundingClientRect(),de=T.getBoundingClientRect();if(c.dir!=="rtl"){const Ge=de.left-W.left,Be=se.left-Ge,dt=K.left-Be,bt=K.width+dt,Bt=Math.max(bt,W.width),De=window.innerWidth-Bi,gt=R_(Be,[Bi,Math.max(Bi,De-Bt)]);m.style.minWidth=bt+"px",m.style.left=gt+"px"}else{const Ge=W.right-de.right,Be=window.innerWidth-se.right-Ge,dt=window.innerWidth-K.right-Be,bt=K.width+dt,Bt=Math.max(bt,W.width),De=window.innerWidth-Bi,gt=R_(Be,[Bi,Math.max(Bi,De-Bt)]);m.style.minWidth=bt+"px",m.style.right=gt+"px"}const fe=_(),ve=window.innerHeight-Bi*2,Ae=k.scrollHeight,xe=window.getComputedStyle(x),Oe=parseInt(xe.borderTopWidth,10),le=parseInt(xe.paddingTop,10),he=parseInt(xe.borderBottomWidth,10),Y=parseInt(xe.paddingBottom,10),me=Oe+le+Ae+Y+he,Z=Math.min(P.offsetHeight*5,me),z=window.getComputedStyle(k),ne=parseInt(z.paddingTop,10),je=parseInt(z.paddingBottom,10),ye=K.top+K.height/2-Bi,ge=ve-ye,ie=P.offsetHeight/2,ce=P.offsetTop+ie,_e=Oe+le+ce,ke=me-_e;if(_e<=ye){const Ge=fe.length>0&&P===fe[fe.length-1].ref.current;m.style.bottom="0px";const Be=x.clientHeight-k.offsetTop-k.offsetHeight,dt=Math.max(ge,ie+(Ge?je:0)+Be+he),bt=_e+dt;m.style.height=bt+"px"}else{const Ge=fe.length>0&&P===fe[0].ref.current;m.style.top="0px";const dt=Math.max(ye,Oe+k.offsetTop+(Ge?ne:0)+ie)+ke;m.style.height=dt+"px",k.scrollTop=_e-ye+k.offsetTop}m.style.margin=`${Bi}px 0`,m.style.minHeight=Z+"px",m.style.maxHeight=ve+"px",s==null||s(),requestAnimationFrame(()=>S.current=!0)}},[_,c.trigger,c.valueNode,m,x,k,P,T,c.dir,s]);hn(()=>I(),[I]);const[D,B]=N.useState();hn(()=>{x&&B(window.getComputedStyle(x).zIndex)},[x]);const G=N.useCallback(K=>{K&&E.current===!0&&(I(),A==null||A(),E.current=!1)},[I,A]);return i.jsx(JF,{scope:n,contentWrapper:m,shouldExpandOnScrollRef:S,onScrollButtonChange:G,children:i.jsx("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:D},children:i.jsx(mt.div,{...l,ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})});FS.displayName=YF;var KF="SelectPopperPosition",Px=N.forwardRef((e,t)=>{const{__scopeSelect:n,align:s="start",collisionPadding:l=Bi,...c}=e,d=ef(n);return i.jsx(BD,{...d,...c,ref:t,align:s,collisionPadding:l,style:{boxSizing:"border-box",...c.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Px.displayName=KF;var[JF,Q0]=tc(po,{}),Ex="SelectViewport",BS=N.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:s,...l}=e,c=ha(Ex,n),d=Q0(Ex,n),m=Ft(t,c.onViewportChange),f=N.useRef(0);return i.jsxs(i.Fragment,{children:[i.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),i.jsx(Qm.Slot,{scope:n,children:i.jsx(mt.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:m,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:kt(l.onScroll,x=>{const y=x.currentTarget,{contentWrapper:v,shouldExpandOnScrollRef:_}=d;if(_!=null&&_.current&&v){const S=Math.abs(f.current-y.scrollTop);if(S>0){const E=window.innerHeight-Bi*2,k=parseFloat(v.style.minHeight),P=parseFloat(v.style.height),T=Math.max(k,P);if(T<E){const A=T+S,I=Math.min(E,A),D=A-I;v.style.height=I+"px",v.style.bottom==="0px"&&(y.scrollTop=D>0?D:0,v.style.justifyContent="flex-end")}}}f.current=y.scrollTop})})})]})});BS.displayName=Ex;var VS="SelectGroup",[QF,XF]=tc(VS),eB=N.forwardRef((e,t)=>{const{__scopeSelect:n,...s}=e,l=Ju();return i.jsx(QF,{scope:n,id:l,children:i.jsx(mt.div,{role:"group","aria-labelledby":l,...s,ref:t})})});eB.displayName=VS;var zS="SelectLabel",US=N.forwardRef((e,t)=>{const{__scopeSelect:n,...s}=e,l=XF(zS,n);return i.jsx(mt.div,{id:l.id,...s,ref:t})});US.displayName=zS;var Nm="SelectItem",[tB,$S]=tc(Nm),WS=N.forwardRef((e,t)=>{const{__scopeSelect:n,value:s,disabled:l=!1,textValue:c,...d}=e,m=da(Nm,n),f=ha(Nm,n),x=m.value===s,[y,v]=N.useState(c??""),[_,S]=N.useState(!1),E=Ft(t,A=>{var I;return(I=f.itemRefCallback)==null?void 0:I.call(f,A,s,l)}),k=Ju(),P=N.useRef("touch"),T=()=>{l||(m.onValueChange(s),m.onOpenChange(!1))};if(s==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return i.jsx(tB,{scope:n,value:s,disabled:l,textId:k,isSelected:x,onItemTextChange:N.useCallback(A=>{v(I=>I||((A==null?void 0:A.textContent)??"").trim())},[]),children:i.jsx(Qm.ItemSlot,{scope:n,value:s,disabled:l,textValue:y,children:i.jsx(mt.div,{role:"option","aria-labelledby":k,"data-highlighted":_?"":void 0,"aria-selected":x&&_,"data-state":x?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...d,ref:E,onFocus:kt(d.onFocus,()=>S(!0)),onBlur:kt(d.onBlur,()=>S(!1)),onClick:kt(d.onClick,()=>{P.current!=="mouse"&&T()}),onPointerUp:kt(d.onPointerUp,()=>{P.current==="mouse"&&T()}),onPointerDown:kt(d.onPointerDown,A=>{P.current=A.pointerType}),onPointerMove:kt(d.onPointerMove,A=>{var I;P.current=A.pointerType,l?(I=f.onItemLeave)==null||I.call(f):P.current==="mouse"&&A.currentTarget.focus({preventScroll:!0})}),onPointerLeave:kt(d.onPointerLeave,A=>{var I;A.currentTarget===document.activeElement&&((I=f.onItemLeave)==null||I.call(f))}),onKeyDown:kt(d.onKeyDown,A=>{var D;((D=f.searchRef)==null?void 0:D.current)!==""&&A.key===" "||(VF.includes(A.key)&&T(),A.key===" "&&A.preventDefault())})})})})});WS.displayName=Nm;var hu="SelectItemText",HS=N.forwardRef((e,t)=>{const{__scopeSelect:n,className:s,style:l,...c}=e,d=da(hu,n),m=ha(hu,n),f=$S(hu,n),x=WF(hu,n),[y,v]=N.useState(null),_=Ft(t,T=>v(T),f.onItemTextChange,T=>{var A;return(A=m.itemTextRefCallback)==null?void 0:A.call(m,T,f.value,f.disabled)}),S=y==null?void 0:y.textContent,E=N.useMemo(()=>i.jsx("option",{value:f.value,disabled:f.disabled,children:S},f.value),[f.disabled,f.value,S]),{onNativeOptionAdd:k,onNativeOptionRemove:P}=x;return hn(()=>(k(E),()=>P(E)),[k,P,E]),i.jsxs(i.Fragment,{children:[i.jsx(mt.span,{id:f.textId,...c,ref:_}),f.isSelected&&d.valueNode&&!d.valueNodeHasChildren?Wu.createPortal(c.children,d.valueNode):null]})});HS.displayName=hu;var qS="SelectItemIndicator",ZS=N.forwardRef((e,t)=>{const{__scopeSelect:n,...s}=e;return $S(qS,n).isSelected?i.jsx(mt.span,{"aria-hidden":!0,...s,ref:t}):null});ZS.displayName=qS;var Ax="SelectScrollUpButton",GS=N.forwardRef((e,t)=>{const n=ha(Ax,e.__scopeSelect),s=Q0(Ax,e.__scopeSelect),[l,c]=N.useState(!1),d=Ft(t,s.onScrollButtonChange);return hn(()=>{if(n.viewport&&n.isPositioned){let m=function(){const x=f.scrollTop>0;c(x)};const f=n.viewport;return m(),f.addEventListener("scroll",m),()=>f.removeEventListener("scroll",m)}},[n.viewport,n.isPositioned]),l?i.jsx(KS,{...e,ref:d,onAutoScroll:()=>{const{viewport:m,selectedItem:f}=n;m&&f&&(m.scrollTop=m.scrollTop-f.offsetHeight)}}):null});GS.displayName=Ax;var Rx="SelectScrollDownButton",YS=N.forwardRef((e,t)=>{const n=ha(Rx,e.__scopeSelect),s=Q0(Rx,e.__scopeSelect),[l,c]=N.useState(!1),d=Ft(t,s.onScrollButtonChange);return hn(()=>{if(n.viewport&&n.isPositioned){let m=function(){const x=f.scrollHeight-f.clientHeight,y=Math.ceil(f.scrollTop)<x;c(y)};const f=n.viewport;return m(),f.addEventListener("scroll",m),()=>f.removeEventListener("scroll",m)}},[n.viewport,n.isPositioned]),l?i.jsx(KS,{...e,ref:d,onAutoScroll:()=>{const{viewport:m,selectedItem:f}=n;m&&f&&(m.scrollTop=m.scrollTop+f.offsetHeight)}}):null});YS.displayName=Rx;var KS=N.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:s,...l}=e,c=ha("SelectScrollButton",n),d=N.useRef(null),m=Xm(n),f=N.useCallback(()=>{d.current!==null&&(window.clearInterval(d.current),d.current=null)},[]);return N.useEffect(()=>()=>f(),[f]),hn(()=>{var y;const x=m().find(v=>v.ref.current===document.activeElement);(y=x==null?void 0:x.ref.current)==null||y.scrollIntoView({block:"nearest"})},[m]),i.jsx(mt.div,{"aria-hidden":!0,...l,ref:t,style:{flexShrink:0,...l.style},onPointerDown:kt(l.onPointerDown,()=>{d.current===null&&(d.current=window.setInterval(s,50))}),onPointerMove:kt(l.onPointerMove,()=>{var x;(x=c.onItemLeave)==null||x.call(c),d.current===null&&(d.current=window.setInterval(s,50))}),onPointerLeave:kt(l.onPointerLeave,()=>{f()})})}),nB="SelectSeparator",JS=N.forwardRef((e,t)=>{const{__scopeSelect:n,...s}=e;return i.jsx(mt.div,{"aria-hidden":!0,...s,ref:t})});JS.displayName=nB;var Lx="SelectArrow",iB=N.forwardRef((e,t)=>{const{__scopeSelect:n,...s}=e,l=ef(n),c=da(Lx,n),d=ha(Lx,n);return c.open&&d.position==="popper"?i.jsx(VD,{...l,...s,ref:t}):null});iB.displayName=Lx;var sB="SelectBubbleInput",QS=N.forwardRef(({__scopeSelect:e,value:t,...n},s)=>{const l=N.useRef(null),c=Ft(s,l),d=xS(t);return N.useEffect(()=>{const m=l.current;if(!m)return;const f=window.HTMLSelectElement.prototype,y=Object.getOwnPropertyDescriptor(f,"value").set;if(d!==t&&y){const v=new Event("change",{bubbles:!0});y.call(m,t),m.dispatchEvent(v)}},[d,t]),i.jsx(mt.select,{...n,style:{...yS,...n.style},ref:c,defaultValue:t})});QS.displayName=sB;function XS(e){return e===""||e===void 0}function ek(e){const t=ho(e),n=N.useRef(""),s=N.useRef(0),l=N.useCallback(d=>{const m=n.current+d;t(m),(function f(x){n.current=x,window.clearTimeout(s.current),x!==""&&(s.current=window.setTimeout(()=>f(""),1e3))})(m)},[t]),c=N.useCallback(()=>{n.current="",window.clearTimeout(s.current)},[]);return N.useEffect(()=>()=>window.clearTimeout(s.current),[]),[n,l,c]}function tk(e,t,n){const l=t.length>1&&Array.from(t).every(x=>x===t[0])?t[0]:t,c=n?e.indexOf(n):-1;let d=rB(e,Math.max(c,0));l.length===1&&(d=d.filter(x=>x!==n));const f=d.find(x=>x.textValue.toLowerCase().startsWith(l.toLowerCase()));return f!==n?f:void 0}function rB(e,t){return e.map((n,s)=>e[(t+s)%e.length])}var aB=CS,nk=ES,oB=RS,lB=LS,cB=IS,ik=MS,uB=BS,sk=US,rk=WS,dB=HS,hB=ZS,ak=GS,ok=YS,lk=JS;const Ix=aB,Mx=oB,Sm=N.forwardRef(({className:e,children:t,...n},s)=>i.jsxs(nk,{ref:s,className:Dt("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,i.jsx(lB,{asChild:!0,children:i.jsx($i,{className:"h-4 w-4 opacity-50"})})]}));Sm.displayName=nk.displayName;const ck=N.forwardRef(({className:e,...t},n)=>i.jsx(ak,{ref:n,className:Dt("flex cursor-default items-center justify-center py-1",e),...t,children:i.jsx(o4,{className:"h-4 w-4"})}));ck.displayName=ak.displayName;const uk=N.forwardRef(({className:e,...t},n)=>i.jsx(ok,{ref:n,className:Dt("flex cursor-default items-center justify-center py-1",e),...t,children:i.jsx($i,{className:"h-4 w-4"})}));uk.displayName=ok.displayName;
330const km=N.forwardRef(({className:e,children:t,position:n="popper",...s},l)=>i.jsx(cB,{children:i.jsxs(ik,{ref:l,className:Dt("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...s,children:[i.jsx(ck,{}),i.jsx(uB,{className:Dt("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),i.jsx(uk,{})]})}));km.displayName=ik.displayName;const mB=N.forwardRef(({className:e,...t},n)=>i.jsx(sk,{ref:n,className:Dt("px-2 py-1.5 text-sm font-semibold",e),...t}));mB.displayName=sk.displayName;const zr=N.forwardRef(({className:e,children:t,...n},s)=>i.jsxs(rk,{ref:s,className:Dt("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[i.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:i.jsx(hB,{children:i.jsx(Am,{className:"h-4 w-4"})})}),i.jsx(dB,{children:t})]}));zr.displayName=rk.displayName;const fB=N.forwardRef(({className:e,...t},n)=>i.jsx(lk,{ref:n,className:Dt("-mx-1 my-1 h-px bg-muted",e),...t}));fB.displayName=lk.displayName;function pB({open:e,onClose:t}){const[n,s]=N.useState(1),[l,c]=N.useState(!1),[d,m]=N.useState(!1),[f,x]=N.useState({full_name:"",email:"",phone:"",investment_tier:"",payment_plan:"",intention:"",experience_level:""}),y=(S,E)=>x(k=>({...k,[S]:E})),v=async()=>{c(!0);const S=await Ke.entities.Registration.create(f);Ke.functions.invoke("sendRegistrationEmails",{registration:S}).catch(console.error),c(!1),m(!0)},_=()=>{s(1),m(!1),x({full_name:"",email:"",phone:"",investment_tier:"",payment_plan:"",intention:"",experience_level:""}),t()};return e?i.jsx(Wi,{children:i.jsxs(O.div,{initial:{opacity:0}
330,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center p-4",onClick:_,children:[i.jsx("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm"}),i.jsxs(O.div,{initial:{opacity:0,y:20,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.98},onClick:S=>S.stopPropagation(),className:"relative bg-[#FAF8F5] w-full max-w-lg max-h-[90vh] overflow-y-auto",children:[i.jsx("button",{onClick:_,className:"absolute top-4 right-4 text-stone-400 hover:text-stone-600 z-10",children:i.jsx(er,{className:"w-5 h-5"})}),d?i.jsxs("div",{className:"p-10 md:p-14 text-center",children:[i.jsx(Rm,{className:"w-12 h-12 text-green-600/70 mx-auto mb-6"}),i.jsx("h3",{className:"text-2xl font-light text-stone-800 mb-3",children:"Application Received"}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed",children:"Thank you for your interest in The Becoming. We'll review your application and reach out soon to schedule your alignment call."}),i.jsx("button",{onClick:_,className:"mt-8 text-amber-700 text-sm tracking-[0.15em] uppercase font-light hover:text-amber-900 transition-colors",children:"Close"})]}):i.jsxs("div",{className:"p-8 md:p-12",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-2",children:"Apply"}),i.jsx("h3",{className:"text-2xl font-light text-stone-800 mb-8",children:"Reserve Your Spot"}),i.jsx("div",{className:"flex items-center gap-3 mb-8",children:[1,2].map(S=>i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:`w-8 h-8 rounded-full flex items-center justify-center text-xs ${n>=S?"bg-stone-800 text-white":"bg-stone-200 text-stone-400"}`,children:S}),S<2&&i.jsx("div",{className:`w-12 h-[1px] ${n>1?"bg-stone-800":"bg-stone-200"}`})]},S))}),n===1&&i.jsxs("div",{className:"space-y-5",children:[i.jsxs("div",{children:[i.jsx(Xe,{className:"text-stone-600 text-xs tracking-wider uppercase mb-2 block",children:"Full Name *"}),i.jsx(Qt,{value:f.full_name,onChange:S=>y("full_name",S.target.value),className:"bg-white border-stone-200 focus:border-amber-500 rounded-none h-12",placeholder:"Your full name"})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:"text-stone-600 text-xs tracking-wider uppercase mb-2 block",children:"Email *"}),i.jsx(Qt,{type:"email",value:f.email,onChange:S=>y("email",S.target.value),className:"bg-white border-stone-200 focus:border-amber-500 rounded-none h-12",placeholder:"[email protected]"})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:"text-stone-600 text-xs tracking-wider uppercase mb-2 block",children:"Phone"}),i.jsx(Qt,{value:f.phone,onChange:S=>y("phone",S.target.value),className:"bg-white border-stone-200 focus:border-amber-500 rounded-none h-12",placeholder:"+1 (555) 000-0000"})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:"text-stone-600 text-xs tracking-wider uppercase mb-2 block",children:"Investment Tier *"}),i.jsxs(Ix,{value:f.investment_tier,onValueChange:S=>y("investment_tier",S),children:[i.jsx(Sm,{className:"bg-white border-stone-200 rounded-none h-12",children:i.jsx(Mx,{placeholder:"Select a tier"})}),i.jsxs(km,{children:[i.jsx(zr,{value:"early_bird",children:"Early Bird — $2,950"}),i.jsx(zr,{value:"standard",children:"Standard — $3,300"}),i.jsx(zr,{value:"premium",children:"Premium — $3,750"})]})]})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:"text-stone-600 text-xs tracking-wider uppercase mb-2 block",children:"Payment Plan"}),i.jsxs(Ix,{value:f.payment_plan,onValueChange:S=>y("payment_plan",S),children:[i.jsx(Sm,{className:"bg-white border-stone-200 rounded-none h-12",children:i.jsx(Mx,{placeholder:"Select a plan"})}),i.jsxs(km,{children:[i.jsx(zr,{value:"full",children:"Paid in Full"}),i.jsx(zr,{value:"3_payments",children:"3-Payment Plan"}),i.jsx(zr,{value:"5_payments",children:"5-Payment Plan"})]})]})]}),i.jsx(ta,{onClick:()=>s(2),disabled:!f.full_name||!f.email||!f.investment_tier,className:"w-full h-12 bg-stone-800 hover:bg-stone-900 text-white rounded-none tracking-[0.15em] uppercase text-xs mt-4",children:"Continue"})]}),n===2&&i.jsxs("div",{className:"space-y-5",children:[i.jsxs("div",{children:[i.jsx(Xe,{className:"text-stone-600 text-xs tracking-wider up
330percase mb-2 block",children:"What draws you to this retreat?"}),i.jsx(Rn,{value:f.intention,onChange:S=>y("intention",S.target.value),className:"bg-white border-stone-200 focus:border-amber-500 rounded-none min-h-[120px] resize-none",placeholder:"Share what's calling you to this experience..."})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:"text-stone-600 text-xs tracking-wider uppercase mb-2 block",children:"Prior retreat or healing experience"}),i.jsx(Rn,{value:f.experience_level,onChange:S=>y("experience_level",S.target.value),className:"bg-white border-stone-200 focus:border-amber-500 rounded-none min-h-[100px] resize-none",placeholder:"Brief overview of any relevant experience (optional)"})]}),i.jsxs("div",{className:"flex gap-3 mt-4",children:[i.jsx(ta,{onClick:()=>s(1),variant:"outline",className:"flex-1 h-12 rounded-none border-stone-300 text-stone-600 tracking-[0.1em] uppercase text-xs",children:"Back"}),i.jsx(ta,{onClick:v,disabled:l,className:"flex-1 h-12 bg-stone-800 hover:bg-stone-900 text-white rounded-none tracking-[0.15em] uppercase text-xs",children:l?i.jsx(Wn,{className:"w-4 h-4 animate-spin"}):"Submit Application"})]})]})]})]})]})}):null}const gB=[{name:"Alejandro Salomone",role:"Founder, The Becoming",email:"[email protected]"}];function vs(){return i.jsx("section",{className:"py-20 md:py-28 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-12",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Get In Touch"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Have Questions?"}),i.jsx("p",{className:"text-stone-500 font-light mt-4 max-w-lg mx-auto text-sm leading-relaxed",children:"We're here to help. Reach out to our team directly and we'll get back to you as soon as possible."})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-4",children:gB.map((e,t)=>i.jsxs(O.a,{href:`mailto:${e.email}`,initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:"group flex items-start gap-5 p-7 bg-white border border-stone-200 hover:border-amber-400/40 transition-all duration-300",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-amber-700/5 flex items-center justify-center shrink-0 group-hover:bg-amber-700/10 transition-colors duration-300",children:i.jsx(kj,{className:"w-4 h-4 text-amber-700/50"})}),i.jsxs("div",{children:[i.jsx("p",{className:"text-stone-800 font-light text-base",children:e.name}),i.jsx("p",{className:"text-amber-700/60 text-xs tracking-wider uppercase mt-0.5 mb-2",children:e.role}),i.jsx("p",{className:"text-stone-500 text-sm font-light group-hover:text-amber-700 transition-colors duration-300",children:e.email})]})]},t))})]})})}function xB(){const[e,t]=N.useState(!1),n=()=>t(!0);return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsx(tL,{onApply:n}),i.jsx(nL,{}),i.jsx(sL,{}),i.jsx(oL,{}),i.jsx(cL,{}),i.jsx(dL,{}),i.jsx(mL,{}),i.jsx(wO,{onApply:n}),i.jsx(_O,{}),i.jsx(NO,{}),i.jsx(vs,{}),i.jsx(SO,{onApply:n}),i.jsx("footer",{className:"py-8 px-6 bg-stone-950 text-center",children:i.jsx("p",{className:"text-white/20 text-xs tracking-[0.2em] uppercase",children:"© 2026 The Becoming · All Rights Reserved"})}),i.jsx(pB,{open:e,onClose:()=>t(!1)})]})}const yB={EventDetails:eL,Home:xB},vB={Pages:yB};function wB({}){var l;const t=vo().pathname.substring(1),{data:n,isFetched:s}=xP({queryKey:["user"],queryFn:async()=>{try{return{user:await Ke.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return i.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:i.jsx("div",{className:"max-w-md w-full",children:i.jsxs("div",{className:"text-center space-y-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),i.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),i.jsxs("div",{className:"space-y-3",children:[i.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),i.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",i.jsxs("span",{className:"font-medium text-slate-700",children:['"',t,'"']})," could not be found in this application."]})]}),s&&n.isAuthenticated&&((l=n.user)==null?void 0:l.role)==="admin"&&i.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:i.jsxs("div",{className:"flex items-start space-x-3",children:[i.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:i.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),i.jsxs("div",{className:"text-left space-y-1",children:[i.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),i.jsx("p",{className:"text-sm text-slate-600 leading-relaxed",children:"This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat."})]})]})}),i.jsx("div",{className:"pt-6",children:i.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-lg hover:bg-slate-50 hover:border-slate-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500",children:[i.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})})}const dk=N.createContext(),bB=({children:e})=>{const[t,n]=N.useState(null),[s,l]=N.useState(!1),[c,d]=N.useState(!0),[m,f]=N.useState(!0),[x,y]=N.useState(null),[v,_]=N.useState(null);N.useEffect(()=>{S()},[]);const S=async()=>{var T,A;try{f(!0),y(null);const I=vl({baseURL:"/api/apps/public",headers:{"X-App-Id":du.appId},token:du.token,interceptResponses:!0});try{const D=await I.get(`/prod/public-settings/by-id/${du.appId}`);_(D),du.token?await E():(d(!1),l(!1)),f(!1)}catch(D){if(console.error("App state check failed:",D),D.status===403&&((A=(T=D.data)==null?void 0:T.extra_data)!=null&&A.reason)){const B=D.data.extra_data.reason;y(B==="auth_required"?{type:"auth_required",message:"Authentication required"}:B==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:B,message:D.message})}else y({type:"unknown",message:D.message||"Failed to load app"});f(!1),d(!1)}}catch(I){console.error("Unexpected error:",I),y({type:"unknown",message:I.message||"An unexpected error occurred"}),f(!1),d(!1)}},E=async()=>{try{d(!0);const T=await Ke.auth.me();n(T),l(!0),d(!1)}catch(T){console.error("User auth check failed:",T),d(!1),l(!1),(T.status===401||T.status===403)&&y({type:"auth_required",message:"Authentication required"})}},k=(T=!0)=>{n(null),l(!1),T?Ke.auth.logout(window.location.href):Ke.auth.logout()},P=()=>{Ke.auth.redirectToLogin(window.location.href)};return i.jsx(dk.Provider,{value:{user:t,isAuthenticated:s,isLoadingAuth:c,isLoadingPublicSettings:m,authError:x,appPublicSettings:v,logout:k,navigateToLogin:P,checkAppState:S},children:e})},wo=()=>{const e=N.useContext(dk);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e},_B=()=>i.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:i.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:i.jsxs("div",{className:"text-center",children:[i.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:i.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),i.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),i.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),i.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[i.jsx("p",{children:"If you believe this is an error, you can:"}),i.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[i.jsx("li",{children:"Verify you are logged in with the correct account"}),i.jsx("li",{children:"Contact the app administrator for access"}),i.jsx("li",{children:"Try logging out and back in again"})]})]})]})})});function jB(){const e=N.useRef(!1),t=new URLSearchParams(window.location.search),n=t.get("retreat"),s=t.get("tier"),l=t.get("option"),c=t.get("email"),d=t.get("code");return N.useEffect(()=>{e.current||(e.current=!0,n&&s&&Ke.functions.invoke("confirmRetreatRegistration",{retreat_name:n,tier:s,payment_option:l,email:c,confirmation_code:d}).catch(console.error))},[]),i.jsx("div",{className:"min-h-screen bg-[#FAF8F5] flex items-center justify-center px-6",children:i.jsxs(O.div,{initial:{opacity:0,y:30}
330,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center max-w-xl mx-auto",children:[i.jsx("div",{className:"flex justify-center mb-8",children:i.jsx(c4,{className:"w-14 h-14 text-amber-600/60",strokeWidth:1})}),i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Payment Received"}),i.jsx("h1",{className:"text-4xl md:text-5xl font-light text-stone-800 tracking-tight mb-6",children:"You're On Your Way"}),i.jsxs("p",{className:"text-stone-500 font-light leading-relaxed text-base mb-4",children:["Thank you for reserving your place in ",i.jsx("em",{children:n||"The Becoming"}),". Your payment has been received and a confirmation will be sent to your email."]}),i.jsx("p",{className:"text-stone-400 font-light text-sm leading-relaxed mb-12",children:"Alejandro will reach out within 48 hours to schedule your alignment call and share next steps."}),i.jsx(Me,{to:"/",className:"inline-block px-10 py-4 border border-amber-400/40 text-amber-700 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Return Home"})]})})}const NB={"The Becoming: Byron Bay":{total:15,early_bird:5},"The Becoming: Portugal":{total:15,early_bird:5,closed:!0},"The Becoming: Bali":{total:12,early_bird:5},"The Becoming: Hawaii":{total:12,early_bird:5,closed:!0},"The Remembrance Journey":{total:6}};function tf(e){const[t,n]=N.useState(null),[s,l]=N.useState(!0);N.useEffect(()=>{Ke.functions.invoke("getSpotAvailability",{retreat_name:e}).then(x=>{var y;return n(((y=x.data)==null?void 0:y.counts)||{early_bird:0,standard:0,premium:0,total:0})}).catch(()=>n({early_bird:0,standard:0,premium:0,total:0})).finally(()=>l(!1))},[e]);const c=NB[e]||{total:15,early_bird:5},d=!!c.closed;return{counts:t,loading:s,isTierSoldOut:x=>d?!0:t?t.total>=c.total||x==="early_bird"&&t.early_bird>=c.early_bird:!1,isClosed:d,cap:c,spotsLeft:x=>{if(d)return 0;if(!t)return null;const y=c.total-t.total;return x==="early_bird"?Math.max(0,Math.min(c.early_bird-t.early_bird,y)):Math.max(0,y)}}}const wg="bg-white border-stone-200 focus:border-amber-500 rounded-none h-12",bg="bg-white border-stone-200 focus:border-amber-500 rounded-none min-h-[100px] resize-none",xl="text-stone-600 text-xs tracking-wider uppercase mb-2 block";function nf({onSubmit:e,submitting:t,submitLabel:n="Submit & Continue to Payment"}){const[s,l]=N.useState({full_name:"",email:"",phone:"",intention:"",experience_level:"",notes:""}),c=(m,f)=>l(x=>({...x,[m]:f})),d=m=>{m.preventDefault(),e(s)};return i.jsxs("form",{onSubmit:d,className:"space-y-5 text-left",children:[i.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[i.jsxs("div",{children:[i.jsx(Xe,{className:xl,children:"Full Name *"}),i.jsx(Qt,{value:s.full_name,onChange:m=>c("full_name",m.target.value),className:wg,placeholder:"Your full name",required:!0})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:xl,children:"Email *"}),i.jsx(Qt,{type:"email",value:s.email,onChange:m=>c("email",m.target.value),className:wg,placeholder:"[email protected]",required:!0})]})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:xl,children:"Phone (optional)"}),i.jsx(Qt,{value:s.phone,onChange:m=>c("phone",m.target.value),className:wg,placeholder:"+1 (555) 000-0000"})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:xl,children:"What draws you to this retreat? *"}),i.jsx(Rn,{value:s.intention,onChange:m=>c("intention",m.target.value),className:bg,placeholder:"What is calling you to this experience…",required:!0})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:xl,children:"Prior retreat or healing experience *"}),i.jsx(Rn,{value:s.experience_level,onChange:m=>c("experience_level",m.target.value),className:bg,placeholder:"Any previous retreats, healing work, or immersive experiences…",required:!0})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:xl,children:"Anything else you'd like to share? (optional)"}),i.jsx(Rn,{value:s.notes,onChange:m=>c("notes",m.target.value),className:bg,placeholder:"Anything else on your heart…"})]}),i.jsx(ta,{type:"submit",disabled:t,className:"w-full h-14 bg-stone-900 hover:bg-stone-800 text-amber-200 rounded-none tracking-[0.2em] uppercase text-xs font-light flex items-center justify-center gap-3 disabled:opacity-60",children:t?i.jsxs(i.Fragment,{children:[i.jsx(Wn,{className:"w-4 h-4 animate-spin"}),"Preparing Checkout…"]}):n})]})}const hk=[{id:"early_bird",label:"Early Bird",sublabel:"First 5 Spots",price:2950,highlight:!0},{id:"standard",label:"Standard",sublabel:"Investment",price:3333,highlight:!1},{id:"premium",label:"Premium",sublabel:"Tier",price:3755,highlight:!1,extras:["Private 1:1 post-retreat integration session","Extended energetic support"]}],_g=.05,jg=.08,SB=[{id:"deposit",label:"Deposit to Reserve",desc:"$750 non-refundable deposit secures your spot. Balance due 60 days prior.",getAmount:()=>750,getTotal:()=>null},{id:"full",label:"Pay in Full",desc:"One-time payment. Best value — no added fees.",getAmount:e=>e,getTotal:()=>null},{id:"3_payments",label:"3-Payment Plan",desc:"$750 deposit + first installment today, then 2 monthly installments (5% processing fee).",getAmount:e=>{const t=Math.ceil(e*(1+_g));return 750+Math.ceil((t-750)/3)},getTotal:e=>Math.ceil(e*(1+_g)),getInstallment:e=>Math.ceil((Math.ceil(e*(1+_g))-750)/3)},{id:"5_payments",label:"5-Payment Plan",desc:"$750 deposit + first month today, then 4 monthly payments (8% processing fee).",getAmount:e=>{const t=Math.ceil(e*(1+jg));return 750+Math.ceil((t-750)/5)},getTotal:e=>Math.ceil(e*(1+jg)),getInstallment:e=>Math.ceil((Math.ceil(e*(1+jg))-750)/5)}
330],kB={early_bird:["full"],standard:["deposit","full","3_payments","5_payments"],premium:["deposit","full","3_payments","5_payments"]},TB=[{phase:"Day 1",label:"Arrival & Opening the Threshold"},{phase:"Day 2",label:"Shedding & Energetic Recalibration"},{phase:"Day 3",label:"Nervous System Grounding & Nature Immersion"},{phase:"Day 4",label:"Embodiment, Clarity & Integration"},{phase:"Day 5",label:"Closing Ceremony & Return"}],CB=["You feel a deeper version of yourself wanting to emerge","You are ready to move through internal resistance","You desire clarity, grounding, and embodiment","You are open to both inner work and real transformation"],PB=["Those looking for a casual or purely relaxing getaway","Those unwilling to be present with themselves","Those seeking surface-level change"],EB=[{q:"Are flights included?",a:"No. Participants are responsible for travel to Byron Bay, Australia."},{q:"Is this plant-medicine based?",a:"No. This immersion focuses on embodiment, somatic practices, and energetic grounding within a structured framework."},{q:"Do I need prior retreat experience?",a:"Not necessarily. Openness and emotional readiness matter more than experience."},{q:"What if I cancel?",a:"Deposits are non-refundable. Full cancellation policy is outlined in the participant agreement."},{q:"How is this different from the 7-night Bali retreat?",a:"This is a more concentrated, high-intensity container. Fewer days, deeper focus — designed for those ready to go all in within a shorter window."}];function AB({open:e,onClose:t,defaultTier:n}){const[s,l]=N.useState("deposit"),[c,d]=N.useState("payment"),[m,f]=N.useState(!1),[x,y]=N.useState(null),v=n||"early_bird",_=hk.find(T=>T.id===v),S=SB.filter(T=>kB[v].includes(T.id)),E=S.find(T=>T.id===s)||S[0],k=E?E.getAmount(_.price):0,P=async T=>{var A;f(!0),y(null);try{const I="BC-"+Math.random().toString(36).substring(2,8).toUpperCase();await Ke.entities.Registration.create({...T,retreat_name:"The Becoming: Byron Bay",investment_tier:v,payment_plan:E.id,confirmation_code:I,status:"pending"});const D=await Ke.functions.invoke("createStripeCheckout",{tier:v,paymentOption:E.id,retreatName:"The Becoming: Byron Bay",amount:_.price,registrationEmail:T.email,confirmationCode:I});(A=D.data)!=null&&A.redirectUrl?window.location.href=D.data.redirectUrl:y("Something went wrong. Please try again.")}catch(I){console.error(I),y("Unable to initiate checkout. Please try again.")}finally{f(!1)}};return i.jsx(Wi,{children:e&&i.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[i.jsx(O.div,{initial:{opacity:0}
330,animate:{opacity:1},exit:{opacity:0},className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:t}),i.jsxs(O.div,{initial:{opacity:0,y:30,scale:.97},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.97},transition:{duration:.35},className:"relative bg-[#FAF8F5] w-full max-w-lg max-h-[90vh] overflow-y-auto shadow-2xl",children:[i.jsxs("div",{className:"flex items-center justify-between px-8 py-6 border-b border-stone-200",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.25em] uppercase text-xs mb-1",children:"Reserve Your Spot"}),i.jsx("h2",{className:"text-stone-800 font-light text-xl tracking-tight",children:"The Becoming: Byron Bay"})]}),i.jsx("button",{onClick:t,className:"text-stone-400 hover:text-stone-700 transition-colors",children:i.jsx(er,{className:"w-5 h-5"})})]}),i.jsxs("div",{className:"px-8 py-6 space-y-8",children:[i.jsxs("div",{className:"flex items-center justify-between px-5 py-4 border border-amber-500/50 bg-amber-50/60",children:[i.jsxs("div",{children:[i.jsx("span",{className:"text-stone-800 font-light text-sm",children:_.label}),i.jsxs("span",{className:"text-stone-400 text-xs ml-2",children:["— ",_.sublabel]})]}),i.jsxs("span",{className:"text-stone-700 font-light text-base",children:["$",_.price.toLocaleString()]})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-stone-500 text-xs tracking-[0.2em] uppercase mb-4",children:"Choose Payment Option"}),i.jsx("div",{className:"space-y-2",children:S.map(T=>{const A=T.getAmount(_.price),I=T.getTotal?T.getTotal(_.price):null,D=T.getInstallment?T.getInstallment(_.price):null;return i.jsxs("button",{onClick:()=>l(T.id),className:`w-full flex items-start justify-between px-5 py-4 border transition-all duration-200 text-left ${s===T.id?"border-amber-500/50 bg-amber-50/60":"border-stone-200 bg-white hover:border-amber-300/40"}`,children:[i.jsxs("div",{className:"flex-1 pr-4",children:[i.jsx("p",{className:"text-stone-800 font-light text-sm",children:T.label}),i.jsx("p",{className:"text-stone-400 text-xs mt-0.5 font-light",children:T.desc})]}),i.jsxs("div",{className:"text-right shrink-0",children:[i.jsxs("p",{className:"text-stone-700 font-light text-base",children:["$",A.toLocaleString()," today"]}),D&&i.jsxs("p",{className:"text-stone-500 text-xs",children:["then $",D.toLocaleString(),"/installment"]}),I&&i.jsxs("p",{className:"text-stone-400 text-xs",children:["Total: $",I.toLocaleString()]})]})]},T.id)})})]}),i.jsxs("div",{className:"border-t border-stone-200 pt-6",children:[i.jsxs("div",{className:"flex items-baseline justify-between mb-6",children:[i.jsx("p",{className:"text-stone-500 font-light text-sm",children:"Due today"}),i.jsxs("p",{className:"text-stone-800 text-2xl font-light",children:["$",k.toLocaleString()]})]}),x&&i.jsx("p",{className:"text-red-500 text-xs mb-4 text-center",children:x}),i.jsx("button",{onClick:()=>d("registration"),className:"w-full py-4 bg-stone-900 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-300 flex items-center justify-center gap-3 disabled:opacity-60",children:"Continue to Registration"}),i.jsx("p",{className:"text-center text-stone-400 text-xs mt-4 font-light",children:"Secure payment via Stripe. Your spot is not confirmed until payment is received."})]}),c==="registration"&&i.jsxs("div",{className:"border-t border-stone-200 pt-6 space-y-5",children:[i.jsx("button",{onClick:()=>d("payment"),className:"text-stone-400 hover:text-stone-700 text-xs tracking-wider uppercase",children:"← Back to payment options"}),i.jsxs("div",{className:"flex items-baseline justify-between px-5 py-4 border border-stone-200 bg-white",children:[i.jsxs("p",{className:"text-stone-500 font-light text-sm",children:[E.label," · Due today"]}),i.jsxs("p",{className:"text-stone-800 text-lg font-light",children:["$",k.toLocaleString()]})]}),x&&i.jsx("p",{className:"text-red-500 text-xs text-center",children:x}),i.jsx(nf,{onSubmit:P,submitting:m})]})]})]})]})})}function RB(){const{isTierSoldOut:e,spotsLeft:t}=tf("The Becoming: Byron Bay"),[n,s]=N.useState(!1),[l,c]=N.useState("early_bird"),[d,m]=N.useState(null),f=()=>{var y;(y=document.getElementById("investment"))==null||y.scrollIntoView({behavior:"smooth"})},x=(y="early_bird")=>{c(y),s(!0)};return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&q=80",alt:"Byron Bay ocean",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/50 via-black/30 to-black/60"})]}),i.jsx("div",{className:"absolute top-6 left-6 z-20",children:i.jsxs(Me,{to:"/RetreatSeries",className:"flex items-center gap-2 text-amber-400 hover:text-amber-300 transition-colors text-xs tracking-[0.15em] uppercase font-bold",children:[i.jsx(oa,{className:"w-3 h-3"}),"All Retreats"]})}),i.jsx("div",{className:"relative z-10 text-center px-6 max-w-4xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:30}
330,animate:{opacity:1,y:0},transition:{duration:1},children:[i.jsx("p",{className:"text-amber-300/90 tracking-[0.35em] uppercase text-xs md:text-sm font-light mb-6",children:"Byron Bay, Australia · July 19–23, 2027"}),i.jsxs("h1",{className:"text-5xl md:text-7xl lg:text-8xl font-light text-white tracking-tight leading-[0.9]",children:["The Becoming:",i.jsx("br",{}),i.jsx("span",{className:"italic",children:"Byron Bay"}),i.jsx("br",{}),i.jsx("span",{className:"text-3xl md:text-4xl lg:text-5xl tracking-widest text-amber-300/80 not-italic",children:"— Immersion"})]}),i.jsx("p",{className:"text-white/60 mt-6 text-base md:text-lg font-light max-w-xl mx-auto leading-relaxed tracking-wide",children:"A 4-Night High-Intensity Immersion"}),i.jsxs("div",{className:"flex items-center justify-center gap-4 mt-8 text-white/50 text-sm tracking-[0.2em] uppercase font-light",children:[i.jsx("span",{children:"Activation"}),i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-400/60"}),i.jsx("span",{children:"Grounding"}),i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-400/60"}),i.jsx("span",{children:"Realignment"})]}),i.jsx("p",{className:"text-white/50 mt-6 text-sm font-light",children:i.jsx("span",{className:"text-amber-300/70",children:"Condensed. Concentrated. Catalytic."})}),i.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 mt-10 text-white/60 text-sm",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Fu,{className:"w-4 h-4 text-amber-400/70"}),i.jsx("span",{children:"Byron Bay, Australia"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Em,{className:"w-4 h-4 text-amber-400/70"}),i.jsx("span",{children:"July 19–23 · 4 Nights"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Du,{className:"w-4 h-4 text-amber-400/70"}),i.jsx("span",{children:"All Inclusive"})]})]}),i.jsxs("div",{className:"mt-12 flex flex-wrap items-center justify-center gap-4",children:[i.jsx(O.button,{onClick:f,whileHover:{scale:1.03},whileTap:{scale:.98},className:"px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Reserve Your Spot"}),i.jsx("a",{href:"/ByronBayDetails",className:"px-8 py-4 border border-white/20 text-white/60 text-sm tracking-[0.2em] uppercase font-light hover:bg-white/5 transition-all duration-500",children:"View Event Details"})]})]})}),i.jsx(O.div,{className:"absolute bottom-8 left-1/2 -translate-x-1/2",animate:{y:[0,8,0]},transition:{repeat:1/0,duration:2},children:i.jsx("div",{className:"w-[1px] h-12 bg-gradient-to-b from-transparent to-white/30"})})]}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-8",children:"The Immersion"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsx("p",{className:"text-stone-800 text-xl md:text-2xl font-light leading-relaxed italic",children:"This is not about doing more — it's about going deeper."}),i.jsxs("div",{className:"mt-12 space-y-6 text-stone-600 text-base md:text-lg font-light leading-relaxed",children:[i.jsx("p",{children:"The Becoming: Byron Bay is a condensed, high-intensity experience designed to activate, ground, and realign you with your truest self."}),i.jsx("p",{children:"Set in the powerful natural energy of Byron Bay, this 4-day container offers deep energetic recalibration, nervous system grounding through nature, and embodied presence."}),i.jsx("p",{className:"text-stone-500 text-sm md:text-base italic",children:"This is not less than a longer retreat — it is more concentrated, more intentional, and more activating."})]})]})})}),i.jsx("section",{className:"py-20 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Land"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Why Byron Bay"}),i.jsx("p",{className:"text-white/50 font-light mt-6 max-w-xl mx-auto leading-relaxed",children:"Byron Bay carries a unique frequency — raw, grounding, and deeply connected to the Earth. This land supports nervous system regulation, emotional release, reconnection to the body, and inner stillness and clarity."}),i.jsx("p",{className:"text-white/30 font-light mt-4 text-sm italic",children:"It is the perfect environment to slow down, tune in, and realign."})]}),i.jsx("div",{className:"grid md:grid-cols-3 gap-px bg-white/5",children:["Nervous System Regulation","Emotional Release","Reconnection to Body"].map((y,v)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:v*.1},className:"bg-stone-900 px-8 py-10 text-center",children:[i.jsx("div",{className:"w-8 h-px bg-amber-400/30 mx-auto mb-5"}),i.jsx("p",{className:"text-white/70 font-light",children:y})]},v))})]})}),i.jsxs("section",{className:"py-24 md:py-36 px-6 bg-stone-900 text-white relative overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 opacity-5",children:i.jsx("img",{src:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&q=60",alt:"",className:"w-full h-full object-cover"})}),i.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-20",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Structure"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Fewer days. Deeper work."})]}),i.jsxs("div",{className:"relative",children:[i.jsx("div",{className:"absolute left-6 md:left-1/2 top-0 bottom-0 w-[1px] bg-white/10 -translate-x-1/2"}),TB.map((y,v)=>i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:v*.1},className:`relative flex items-start gap-8 mb-12 last:mb-0 ${v%2===0?"md:flex-row":"md:flex-row-reverse"}`,children:[i.jsx("div",{className:"absolute left-6 md:left-1/2 -translate-x-1/2 w-3 h-3 rounded-full bg-amber-500/40 border border-amber-400/30 z-10"}),i.jsxs("div",{className:`ml-14 md:ml-0 md:w-1/2 ${v%2===0?"md:pr-16 md:text-right":"md:pl-16"}`,children:[i.jsx("p",{className:"text-amber-400/70 text-sm tracking-wider mb-1",children:y.phase}),i.jsx("p",{className:"text-white/70 font-light text-lg",children:y.label})]})]},v))]}),i.jsx(O.p,{initial:{opacity:0}
330,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.6},className:"text-center text-white/40 font-light mt-16 text-sm italic",children:"1:1 sessions are woven throughout the immersion."})]})]}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Alignment"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Is This For You?"})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-10",children:[i.jsxs(O.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[i.jsx("p",{className:"text-amber-700/70 tracking-[0.2em] uppercase text-xs mb-5",children:"This Is For You If"}),i.jsx("ul",{className:"space-y-4",children:CB.map((y,v)=>i.jsxs("li",{className:"flex items-start gap-3 text-stone-600 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),y]},v))})]}),i.jsxs(O.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.15},children:[i.jsx("p",{className:"text-rose-600/70 tracking-[0.2em] uppercase text-xs mb-5",children:"This Is Not For You If"}),i.jsx("ul",{className:"space-y-4",children:PB.map((y,v)=>i.jsxs("li",{className:"flex items-start gap-3 text-stone-400 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-rose-400/40 shrink-0"}),y]},v))})]})]}),i.jsx(O.div,{initial:{opacity:0}
330,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.4},className:"mt-14 py-6 px-8 border border-amber-700/10 bg-amber-50/50 text-center",children:i.jsxs("p",{className:"text-stone-600 font-light text-sm",children:["Limited to ",i.jsx("span",{className:"text-amber-800 font-medium",children:"12 participants"})," to preserve depth and personalized access."]})})]})}),i.jsx("section",{id:"investment",className:"py-24 md:py-36 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Investment"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Choose Your Path"})]}),i.jsx("div",{className:"grid md:grid-cols-3 gap-6 lg:gap-8",children:hk.map((y,v)=>i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:v*.15},onClick:()=>!e(y.id)&&x(y.id),className:`relative p-8 md:p-10 transition-all duration-500 ${e(y.id)?"opacity-60 cursor-not-allowed":"cursor-pointer group hover:-translate-y-1"} ${y.highlight?"bg-stone-900 text-white":"bg-white border border-stone-200 hover:border-amber-300/50"}`,children:[e(y.id)&&i.jsx("div",{className:"absolute top-4 right-4 px-2 py-0.5 bg-red-500/20 border border-red-400/30 text-red-400 text-xs tracking-widest uppercase",children:"Sold Out"}),!e(y.id)&&y.highlight&&i.jsx("div",{className:"absolute top-4 right-4",children:i.jsx(Lm,{className:"w-4 h-4 text-amber-400/60"})}),i.jsx("p",{className:`text-xs tracking-[0.2em] uppercase ${y.highlight?"text-amber-400/70":"text-amber-700/50"}`,children:y.label}),i.jsx("p",{className:`text-xs mt-1 ${y.highlight?"text-white/40":"text-stone-400"}`,children:y.sublabel}),!e(y.id)&&t(y.id)!=null&&i.jsxs("p",{className:`text-xs mt-2 ${y.highlight?"text-amber-300/70":"text-amber-600/70"}`,children:["Only ",t(y.id)," ",t(y.id)===1?"spot":"spots"," left"]}),i.jsxs("p",{className:`text-4xl font-light mt-6 ${y.highlight?"text-white":"text-stone-800"}`,children:["$",y.price.toLocaleString()]}),y.extras&&i.jsxs("div",{className:"mt-6 pt-6 border-t border-stone-200/20 space-y-3",children:[i.jsx("p",{className:"text-xs tracking-wider uppercase text-amber-700/50",children:"Includes:"}),y.extras.map((_,S)=>i.jsxs("div",{className:"flex items-start gap-2",children:[i.jsx(Im,{className:"w-3 h-3 text-amber-600/40 mt-1 shrink-0"}),i.jsx("p",{className:"text-stone-500 text-sm font-light",children:_})]},S))]}),i.jsx("div",{className:`mt-8 text-center text-xs tracking-[0.15em] uppercase py-3 border transition-all duration-300 ${y.highlight?"border-amber-400/30 text-amber-300 group-hover:bg-amber-400/10":"border-stone-300 text-stone-500 group-hover:border-amber-500/40 group-hover:text-amber-700"}`,children:"Select"})]},v))}),i.jsx(O.div,{initial:{opacity:0}
330,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.4},className:"mt-12 text-center",children:i.jsx("p",{className:"text-stone-400 font-light text-xs italic",children:"Spots are confirmed upon deposit and alignment call."})})]})}),i.jsx("section",{className:"py-24 md:py-32 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Screening & Alignment"}),i.jsx("p",{className:"text-stone-700 font-light text-lg md:text-xl leading-relaxed mt-8",children:"After submitting your deposit, you'll schedule a short alignment call."}),i.jsxs("div",{className:"mt-10 space-y-4",children:[i.jsx("p",{className:"text-stone-500 text-sm tracking-wider uppercase",children:"This ensures:"}),["Energetic fit","Clarity of expectations","Readiness for group immersion"].map((y,v)=>i.jsx(O.p,{initial:{opacity:0}
330,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.2+v*.1},className:"text-stone-600 font-light",children:y},v))]}),i.jsx("div",{className:"mt-12 w-12 h-[1px] bg-amber-700/20 mx-auto"}),i.jsx("p",{className:"text-stone-500 font-light italic text-sm mt-8",children:"The integrity of the container matters."})]})})}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"FAQ"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Common Questions"})]}),i.jsx("div",{className:"space-y-0",children:EB.map((y,v)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:v*.1},className:"border-b border-white/10",children:[i.jsxs("button",{onClick:()=>m(d===v?null:v),className:"w-full flex items-center justify-between py-6 text-left group",children:[i.jsx("span",{className:"text-white/80 font-light text-base md:text-lg group-hover:text-amber-300/80 transition-colors",children:y.q}),i.jsx($i,{className:`w-4 h-4 text-white/30 transition-transform duration-300 shrink-0 ml-4 ${d===v?"rotate-180":""}`})]}),i.jsx(Wi,{children:d===v&&i.jsx(O.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden",children:i.jsx("p",{className:"text-white/50 font-light pb-6 leading-relaxed",children:y.a})})})]},v))})]})}),i.jsx(vs,{}),i.jsxs("section",{className:"relative py-32 md:py-44 px-6 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&q=80",alt:"Byron Bay",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/50"})]}),i.jsx("div",{className:"relative z-10 max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-300/80 text-xl md:text-2xl font-light italic mb-6",children:"If you feel the call, trust it."}),i.jsx("p",{className:"text-white/60 font-light leading-relaxed max-w-xl mx-auto",children:"Join us in Byron Bay for a 4-night concentrated immersion designed to activate, ground, and realign you with your truest self."}),i.jsx(O.button,{onClick:f,whileHover:{scale:1.03},whileTap:{scale:.98},className:"mt-12 px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Reserve Your Spot"}),i.jsx("p",{className:"text-white/20 text-xs mt-8 tracking-wider",children:"BYRON BAY, AUSTRALIA · JULY 19–23, 2027"})]})})]}),i.jsx("footer",{className:"py-8 px-6 bg-stone-950 text-center",children:i.jsx("p",{className:"text-white/20 text-xs tracking-[0.2em] uppercase",children:"© 2026 The Becoming · All Rights Reserved"})}),i.jsx(AB,{open:n,onClose:()=>s(!1),defaultTier:l})]})}const mk=[{id:"early_bird",label:"Early Bird",sublabel:"Limited Spots",price:2950,highlight:!0},{id:"standard",label:"Standard",sublabel:"Investment",price:3333,highlight:!1},{id:"premium",label:"Premium",sublabel:"Tier",price:3755,highlight:!1,extras:["Private 1:1 post-retreat integration session","Extended energetic support"]}],Ng=.05,Sg=.08,LB=[{id:"deposit",label:"Deposit to Reserve",desc:"$750 non-refundable deposit secures your spot. Balance due 60 days prior.",getAmount:()=>750,getTotal:()=>null},{id:"full",label:"Pay in Full",desc:"One-time payment. Best value — no added fees.",getAmount:e=>e,getTotal:()=>null},{id:"3_payments",label:"3-Payment Plan",desc:"$750 deposit + first installment today, then 2 monthly installments (5% processing fee).",getAmount:e=>{const t=Math.ceil(e*(1+Ng));return 750+Math.ceil((t-750)/3)},getTotal:e=>Math.ceil(e*(1+Ng)),getInstallment:e=>Math.ceil((Math.ceil(e*(1+Ng))-750)/3)},{id:"5_payments",label:"5-Payment Plan",desc:"$750 deposit + first month today, then 4 monthly payments (8% processing fee).",getAmount:e=>{const t=Math.ceil(e*(1+Sg));return 750+Math.ceil((t-750)/5)},getTotal:e=>Math.ceil(e*(1+Sg)),getInstallment:e=>Math.ceil((Math.ceil(e*(1+Sg))-750)/5)}],IB={early_bird:["full"],standard:["deposit","full","3_payments","5_payments"],premium:["deposit","full","3_payments","5_payments"]},MB=[{phase:"Day 1",label:"Arrival & Heart Opening"},{phase:"Day 2",label:"Anchoring Awareness & Emotional Integration"},{phase:"Day 3",label:"Expression, Authenticity & Connection"},{phase:"Day 4",label:"Living in Alignment & Vision"},{phase:"Day 5",label:"Closing Ceremony & Embodied Return"}],OB=["You've been doing inner work and are ready to embody it","You want to feel more aligned, open, and expressed","You are ready to integrate change into your life","You desire both depth and spaciousness"],DB=["Those looking for quick fixes","Those avoiding integration of their work","Those unwilling to be present with their process"],FB=[{q:"Are flights included?",a:"No. Participants are responsible for travel to Portugal."},{q:"Is this plant-medicine based?",a:"No. This retreat focuses on integration, expression, and embodied alignment within a grounded framework."},{q:"Do I need prior retreat experience?",a:"This container is especially powerful for those who have done some inner work. Openness to integration is essential."},{q:"What if I cancel?",a:"Deposits are non-refundable. Full cancellation policy is outlined in the participant agreement."},{q:"How is this different from the other retreats?",a:"This is an integration container. Where other experiences focus on activation, this one is about landing, embodying, and living what you've learned."}];function BB({open:e,onClose:t,defaultTier:n}){const[s,l]=N.useState("deposit"),[c,d]=N.useState("payment"),[m,f]=N.useState(!1),[x,y]=N.useState(null),v=n||"early_bird",_=mk.find(T=>T.id===v),S=LB.filter(T=>IB[v].includes(T.id)),E=S.find(T=>T.id===s)||S[0],k=E?E.getAmount(_.price):0,P=async T=>{var A;f(!0),y(null);try{const I="BC-"+Math.random().toString(36).substring(2,8).toUpperCase();await Ke.entities.Registration.create({...T,retreat_name:"The Becoming: Portugal",investment_tier:v,payment_plan:E.id,c
330onfirmation_code:I,status:"pending"});const D=await Ke.functions.invoke("createStripeCheckout",{tier:v,paymentOption:E.id,retreatName:"The Becoming: Portugal",amount:_.price,registrationEmail:T.email,confirmationCode:I});(A=D.data)!=null&&A.redirectUrl?window.location.href=D.data.redirectUrl:y("Something went wrong. Please try again.")}catch(I){console.error(I),y("Unable to initiate checkout. Please try again.")}finally{f(!1)}};return i.jsx(Wi,{children:e&&i.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[i.jsx(O.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:t}),i.jsxs(O.div,{initial:{opacity:0,y:30,scale:.97},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.97},transition:{duration:.35},className:"relative bg-[#FAF8F5] w-full max-w-lg max-h-[90vh] overflow-y-auto shadow-2xl",children:[i.jsxs("div",{className:"flex items-center justify-between px-8 py-6 border-b border-stone-200",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.25em] uppercase text-xs mb-1",children:"Reserve Your Spot"}),i.jsx("h2",{className:"text-stone-800 font-light text-xl tracking-tight",children:"The Becoming: Portugal"})]}),i.jsx("button",{onClick:t,className:"text-stone-400 hover:text-stone-700 transition-colors",children:i.jsx(er,{className:"w-5 h-5"})})]}),i.jsxs("div",{className:"px-8 py-6 space-y-8",children:[i.jsxs("div",{className:"flex items-center justify-between px-5 py-4 border border-amber-500/50 bg-amber-50/60",children:[i.jsxs("div",{children:[i.jsx("span",{className:"text-stone-800 font-light text-sm",children:_.label}),i.jsxs("span",{className:"text-stone-400 text-xs ml-2",children:["— ",_.sublabel]})]}),i.jsxs("span",{className:"text-stone-700 font-light text-base",children:["$",_.price.toLocaleString()]})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-stone-500 text-xs tracking-[0.2em] uppercase mb-4",children:"Choose Payment Option"}),i.jsx("div",{className:"space-y-2",children:S.map(T=>{const A=T.getAmount(_.price),I=T.getTotal?T.getTotal(_.price):null,D=T.getInstallment?T.getInstallment(_.price):null;return i.jsxs("button",{onClick:()=>l(T.id),className:`w-full flex items-start justify-between px-5 py-4 border transition-all duration-200 text-left ${s===T.id?"border-amber-500/50 bg-amber-50/60":"border-stone-200 bg-white hover:border-amber-300/40"}`,children:[i.jsxs("div",{className:"flex-1 pr-4",children:[i.jsx("p",{className:"text-stone-800 font-light text-sm",children:T.label}),i.jsx("p",{className:"text-stone-400 text-xs mt-0.5 font-light",children:T.desc})]}),i.jsxs("div",{className:"text-right shrink-0",children:[i.jsxs("p",{className:"text-stone-700 font-light text-base",children:["$",A.toLocaleString()," today"]}),D&&i.jsxs("p",{className:"text-stone-500 text-xs",children:["then $",D.toLocaleString(),"/installment"]}),I&&i.jsxs("p",{className:"text-stone-400 text-xs",children:["Total: $",I.toLocaleString()]})]})]},T.id)})})]}),i.jsxs("div",{className:"border-t border-stone-200 pt-6",children:[i.jsxs("div",{className:"flex items-baseline justify-between mb-6",children:[i.jsx("p",{className:"text-stone-500 font-light text-sm",children:"Due today"}),i.jsxs("p",{className:"text-stone-800 text-2xl font-light",children:["$",k.toLocaleString()]})]}),x&&i.jsx("p",{className:"text-red-500 text-xs mb-4 text-center",children:x}),i.jsx("button",{onClick:()=>d("registration"),className:"w-full py-4 bg-stone-900 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-300 flex items-center justify-center gap-3 disabled:opacity-60",children:"Continue to Registration"}),i.jsx("p",{className:"text-center text-stone-400 text-xs mt-4 font-light",children:"Secure payment via Stripe. Your spot is not confirmed until payment is received."})]}),c==="registration"&&i.jsxs("div",{className:"border-t border-stone-200 pt-6 space-y-5",children:[i.jsx("button",{onClick:()=>d("payment"),className:"text-stone-400 hover:text-stone-700 text-xs tracking-wider up
330percase",children:"← Back to payment options"}),i.jsxs("div",{className:"flex items-baseline justify-between px-5 py-4 border border-stone-200 bg-white",children:[i.jsxs("p",{className:"text-stone-500 font-light text-sm",children:[E.label," · Due today"]}),i.jsxs("p",{className:"text-stone-800 text-lg font-light",children:["$",k.toLocaleString()]})]}),x&&i.jsx("p",{className:"text-red-500 text-xs text-center",children:x}),i.jsx(nf,{onSubmit:P,submitting:m})]})]})]})]})})}function VB(){const{isTierSoldOut:e,isClosed:t,spotsLeft:n}=tf("The Becoming: Portugal"),[s,l]=N.useState(!1),[c,d]=N.useState("early_bird"),[m,f]=N.useState(null),x=()=>{var v;(v=document.getElementById("investment"))==null||v.scrollIntoView({behavior:"smooth"})},y=(v="early_bird")=>{d(v),l(!0)};return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1559827291-72ee739d0d9a?w=1920&q=80",alt:"São Miguel, Azores",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/60 via-black/40 to-black/70"})]}),i.jsx("div",{className:"absolute top-6 left-6 z-20",children:i.jsxs(Me,{to:"/RetreatSeries",className:"flex items-center gap-2 text-amber-400 hover:text-amber-300 transition-colors text-xs tracking-[0.15em] uppercase font-bold",children:[i.jsx(oa,{className:"w-3 h-3"}),"All Retreats"]})}),i.jsx("div",{className:"relative z-10 text-center px-6 max-w-4xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1},children:[i.jsx("p",{className:"text-amber-300/90 tracking-[0.35em] uppercase text-xs md:text-sm font-light mb-6",children:"Portugal · August 3–7, 2026"}),i.jsxs("h1",{className:"text-5xl md:text-7xl lg:text-8xl font-light text-white tracking-tight leading-[0.9]",children:["The Becoming:",i.jsx("br",{}),i.jsx("span",{className:"italic",children:"Portugal"}),i.jsx("br",{}),i.jsx("span",{className:"text-3xl md:text-4xl lg:text-5xl tracking-widest text-amber-300/80 not-italic",children:"— Integration"})]}),i.jsx("p",{className:"text-white/60 mt-6 text-base md:text-lg font-light max-w-xl mx-auto leading-relaxed tracking-wide",children:"A 4-Night Integration & Embodiment Retreat"}),i.jsxs("div",{className:"flex items-center justify-center gap-4 mt-8 text-white/50 text-sm tracking-[0.2em] uppercase font-light",children:[i.jsx("span",{children:"Integration"}),i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-400/60"}),i.jsx("span",{children:"Embodiment"}),i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-400/60"}),i.jsx("span",{children:"Expression"})]}),i.jsx("p",{className:"text-white/50 mt-6 text-sm font-light",children:i.jsx("span",{className:"text-amber-300/70",children:"This is where transformation becomes real, lived, and embodied."})}),i.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 mt-10 text-white/60 text-sm",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Fu,{className:"w-4 h-4 text-amber-400/70"}),i.jsx("span",{children:"Portugal"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Em,{className:"w-4 h-4 text-amber-400/70"}),i.jsx("span",{children:"August 3–7 · 4 Nights"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Du,{className:"w-4 h-4 text-amber-400/70"}),i.jsx("span",{children:"All Inclusive"})]})]}),i.jsxs("div",{className:"mt-12 flex flex-wrap items-center justify-center gap-4",children:[t?i.jsx("div",{className:"px-10 py-4 border border-stone-400/30 text-stone-400/60 text-sm tracking-[0.2em] uppercase font-light cursor-not-allowed",children:"Reservations Closed"}):i.jsx(O.button,{onClick:x,whileHover:{scale:1.03},whileTap:{scale:.98},className:"px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Reserve Your Spot"}),i.jsx("a",{href:"/PortugalDetails",className:"px-8 py-4 border border-white/20 text-white/60 text-sm tracking-[0.2em] uppercase font-light hover:bg-white/5 transition-all duration-500",children:"View Event Details"})]})]})}),i.jsx(O.div,{className:"absolute bottom-8 left-1/2 -translate-x-1/2",animate:{y:[0,8,0]},transition:{repeat:1/0,duration:2},children:i.jsx("div",{className:"w-[1px] h-12 bg-gradient-to-b from-transparent to-white/30"})})]}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-8",children:"The Integration"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsx("p",{className:"text-stone-800 text-xl md:text-2xl font-light leading-relaxed italic",children:"This is where everything begins to land."}),i.jsxs("div",{className:"mt-12 space-y-6 text-stone-600 text-base md:text-lg font-light leading-relaxed",children:[i.jsx("p",{children:"The Becoming: Portugal is a deeply intentional container designed to help you anchor, embody, and integrate the transformation you are stepping into."}),i.jsx("p",{children:"Held at Cara Creek Eco Lodge — a minimal, off-grid sanctuary tucked into the Portuguese countryside — this experience strips away everything unnecessary so that what is real can finally be felt. Rivers, forests, open skie
330s, and fire circles form the backdrop of your integration."}),i.jsx("p",{className:"text-stone-500 text-sm md:text-base italic",children:"You are not here to chase transformation — you are here to become it."})]})]})})}),i.jsx("section",{className:"py-20 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Land"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Why Portugal"}),i.jsx("p",{className:"text-white/50 font-light mt-6 max-w-xl mx-auto leading-relaxed",children:"Cara Creek sits within the wild, quiet interior of Portugal — far from distraction, close to what is essential. Rivers, old-growth forest, fire, and sky hold the container. The minimal setting is not a compromise — it is the point."}),i.jsx("p",{className:"text-white/30 font-light mt-4 text-sm italic",children:"When there is nothing to escape to, presence becomes natural."})]}),i.jsx("div",{className:"grid md:grid-cols-3 gap-px bg-white/5",children:["Deep Nature Immersion","Stillness & Presence","Grounded Integration"].map((v,_)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:_*.1},className:"bg-stone-900 px-8 py-10 text-center",children:[i.jsx("div",{className:"w-8 h-px bg-amber-400/30 mx-auto mb-5"}),i.jsx("p",{className:"text-white/70 font-light",children:v})]},_))})]})}),i.jsxs("section",{className:"py-24 md:py-36 px-6 bg-stone-900 text-white relative overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 opacity-5",children:i.jsx("img",{src:"https://images.unsplash.com/photo-1504280390367-361c6d9f38f4?w=1920&q=60",alt:"",className:"w-full h-full object-cover"})}),i.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-20",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Structure"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Intentional pacing. Depth with spaciousness."})]}),i.jsxs("div",{className:"relative",children:[i.jsx("div",{className:"absolute left-6 md:left-1/2 top-0 bottom-0 w-[1px] bg-white/10 -translate-x-1/2"}),MB.map((v,_)=>i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:_*.1},className:`relative flex items-start gap-8 mb-12 last:mb-0 ${_%2===0?"md:flex-row":"md:flex-row-reverse"}`,children:[i.jsx("div",{className:"absolute left-6 md:left-1/2 -translate-x-1/2 w-3 h-3 rounded-full bg-amber-500/40 border border-amber-400/30 z-10"}),i.jsxs("div",{className:`ml-14 md:ml-0 md:w-1/2 ${_%2===0?"md:pr-16 md:text-right":"md:pl-16"}`,children:[i.jsx("p",{className:"text-amber-400/70 text-sm tracking-wider mb-1",children:v.phase}),i.jsx("p",{className:"text-white/70 font-light text-lg",children:v.label})]})]},_))]}),i.jsx(O.p,{initial:{opacity:0}
330,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.6},className:"text-center text-white/40 font-light mt-16 text-sm italic",children:"Spaciousness to integrate is woven throughout."})]})]}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Alignment"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Is This For You?"})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-10",children:[i.jsxs(O.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[i.jsx("p",{className:"text-amber-700/70 tracking-[0.2em] uppercase text-xs mb-5",children:"This Is For You If"}),i.jsx("ul",{className:"space-y-4",children:OB.map((v,_)=>i.jsxs("li",{className:"flex items-start gap-3 text-stone-600 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),v]},_))})]}),i.jsxs(O.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.15},children:[i.jsx("p",{className:"text-rose-600/70 tracking-[0.2em] uppercase text-xs mb-5",children:"This Is Not For You If"}),i.jsx("ul",{className:"space-y-4",children:DB.map((v,_)=>i.jsxs("li",{className:"flex items-start gap-3 text-stone-400 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-rose-400/40 shrink-0"}),v]},_))})]})]}),i.jsx(O.div,{initial:{opacity:0}
330,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.4},className:"mt-14 py-6 px-8 border border-amber-700/10 bg-amber-50/50 text-center",children:i.jsxs("p",{className:"text-stone-600 font-light text-sm",children:["Limited to ",i.jsx("span",{className:"text-amber-800 font-medium",children:"15 participants"})," to preserve depth and spaciousness."]})})]})}),i.jsx("section",{id:"investment",className:"py-24 md:py-36 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Investment"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Choose Your Path"})]}),i.jsx("div",{className:"grid md:grid-cols-3 gap-6 lg:gap-8",children:mk.map((v,_)=>i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:_*.15},onClick:()=>!t&&!e(v.id)&&y(v.id),className:`relative p-8 md:p-10 transition-all duration-500 ${t||e(v.id)?"opacity-60 cursor-not-allowed":"cursor-pointer group hover:-translate-y-1"} ${v.highlight?"bg-stone-900 text-white":"bg-white border border-stone-200 hover:border-amber-300/50"}`,children:[(t||e(v.id))&&i.jsx("div",{className:"absolute top-4 right-4 px-2 py-0.5 bg-stone-500/20 border border-stone-400/30 text-stone-400 text-xs tracking-widest uppercase",children:t?"Closed":"Sold Out"}),!e(v.id)&&v.highlight&&i.jsx("div",{className:"absolute top-4 right-4",children:i.jsx(Lm,{className:"w-4 h-4 text-amber-400/60"})}),i.jsx("p",{className:`text-xs tracking-[0.2em] uppercase ${v.highlight?"text-amber-400/70":"text-amber-700/50"}`,children:v.label}),i.jsx("p",{className:`text-xs mt-1 ${v.highlight?"text-white/40":"text-stone-400"}`,children:v.sublabel}),!t&&!e(v.id)&&n(v.id)!=null&&i.jsxs("p",{className:`text-xs mt-2 ${v.highlight?"text-amber-300/70":"text-amber-600/70"}`,children:["Only ",n(v.id)," ",n(v.id)===1?"spot":"spots"," left"]}),i.jsxs("p",{className:`text-4xl font-light mt-6 ${v.highlight?"text-white":"text-stone-800"}`,children:["$",v.price.toLocaleString()]}),v.extras&&i.jsxs("div",{className:"mt-6 pt-6 border-t border-stone-200/20 space-y-3",children:[i.jsx("p",{className:"text-xs tracking-wider uppercase text-amber-700/50",children:"Includes:"}),v.extras.map((S,E)=>i.jsxs("div",{className:"flex items-start gap-2",children:[i.jsx(Im,{className:"w-3 h-3 text-amber-600/40 mt-1 shrink-0"}),i.jsx("p",{className:"text-stone-500 text-sm font-light",children:S})]},E))]}),i.jsx("div",{className:`mt-8 text-center text-xs tracking-[0.15em] uppercase py-3 border transition-all duration-300 ${v.highlight?"border-amber-400/30 text-amber-300 group-hover:bg-amber-400/10":"border-stone-300 text-stone-500 group-hover:border-amber-500/40 group-hover:text-amber-700"}`,children:t?"Closed":"Select"})]},_))}),i.jsx(O.div,{initial:{opacity:0}
330,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.4},className:"mt-12 text-center",children:i.jsx("p",{className:"text-stone-400 font-light text-xs italic",children:t?"Reservations for this experience are currently closed.":"Spots are confirmed upon deposit and alignment call."})})]})}),i.jsx("section",{className:"py-24 md:py-32 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Screening & Alignment"}),i.jsx("p",{className:"text-stone-700 font-light text-lg md:text-xl leading-relaxed mt-8",children:"After submitting your deposit, you'll schedule a short alignment call."}),i.jsxs("div",{className:"mt-10 space-y-4",children:[i.jsx("p",{className:"text-stone-500 text-sm tracking-wider uppercase",children:"This ensures:"}),["Energetic fit","Clarity of expectations","Readiness for integration work"].map((v,_)=>i.jsx(O.p,{initial:{opacity:0}
330,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.2+_*.1},className:"text-stone-600 font-light",children:v},_))]}),i.jsx("div",{className:"mt-12 w-12 h-[1px] bg-amber-700/20 mx-auto"}),i.jsx("p",{className:"text-stone-500 font-light italic text-sm mt-8",children:"The integrity of the container matters."})]})})}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"FAQ"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Common Questions"})]}),i.jsx("div",{className:"space-y-0",children:FB.map((v,_)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:_*.1},className:"border-b border-white/10",children:[i.jsxs("button",{onClick:()=>f(m===_?null:_),className:"w-full flex items-center justify-between py-6 text-left group",children:[i.jsx("span",{className:"text-white/80 font-light text-base md:text-lg group-hover:text-amber-300/80 transition-colors",children:v.q}),i.jsx($i,{className:`w-4 h-4 text-white/30 transition-transform duration-300 shrink-0 ml-4 ${m===_?"rotate-180":""}`})]}),i.jsx(Wi,{children:m===_&&i.jsx(O.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden",children:i.jsx("p",{className:"text-white/50 font-light pb-6 leading-relaxed",children:v.a})})})]},_))})]})}),i.jsx(vs,{}),i.jsxs("section",{className:"relative py-32 md:py-44 px-6 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1555881400-74d7acaacd8b?w=1920&q=80",alt:"Portugal",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/50"})]}),i.jsx("div",{className:"relative z-10 max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-300/80 text-xl md:text-2xl font-light italic mb-6",children:"If you feel the call, trust it."}),i.jsx("p",{className:"text-white/60 font-light leading-relaxed max-w-xl mx-auto",children:"Join us in Portugal for a 4-night integration experience designed to anchor, embody, and express who you are truly becoming."}),t?i.jsx("div",{className:"mt-12 px-10 py-4 border border-stone-400/30 text-stone-400/60 text-sm tracking-[0.2em] uppercase font-light cursor-not-allowed",children:"Reservations Closed"}):i.jsx(O.button,{onClick:x,whileHover:{scale:1.03},whileTap:{scale:.98},className:"mt-12 px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Reserve Your Spot"}),i.jsx("p",{className:"text-white/20 text-xs mt-8 tracking-wider",children:"PORTUGAL · AUGUST 3–7, 2026"})]})})]}),i.jsx("footer",{className:"py-8 px-6 bg-stone-950 text-center",children:i.jsx("p",{className:"text-white/20 text-xs tracking-[0.2em] uppercase",children:"© 2026 The Becoming · All Rights Reserved"})}),i.jsx(BB,{open:s,onClose:()=>l(!1),defaultTier:c})]})}const zB=[{day:"Day 1 – Arrival & Opening",date:"Arrival Window: 12:00 PM – 4:00 PM",theme:"Arrival & Intention",color:"amber",sessions:[{time:"5:30 PM",title:"Welcome & Grounding",desc:""},{time:"6:30 PM",title:"Dinner",desc:""},{time:"8:00 PM",title:"Opening Circle",desc:""}]},{day:"Day 2 – Activation & Identity Shift",date:"Full Day",theme:"Breaking Through Limitation",color:"rose",sessions:[{time:"6:00 AM",title:"Oceanfront Movement",desc:""},{time:"6:45 AM",title:"Breathwork",desc:""},{time:"7:30 AM",title:"Breakfast",desc:""},{time:"9:00 AM",title:"Workshop: Releasing the Mask",desc:""},{time:"12:30 PM",title:"Lunch",desc:""},{time:"1:30 PM",title:"Integration / Ocean Time",desc:"Until 3:30 PM"},{time:"3:30 PM",title:"Somatic Activation Session",desc:""},{time:"6:30 PM",title:"Dinner",desc:""},{time:"8:00 PM",title:"Emotional Release & Expression",desc:""}]},{day:"Day 3 – Sacred Silence & Power",date:"Container Commitment Morning",theme:"Reclaiming Personal Power",color:"purple",note:"This morning will be held in sacred silence until lunch. This is a container commitment.",sessions:[{time:"6:00 AM",title:"Silent Movement Practice",desc:""},{time:"6:45 AM",title:"Silent Meditation",desc:""},{time:"7:30 AM",title:"Breakfast in Silence",desc:""},{time:"9:00 AM",title:"Guided Shadow Inquiry",desc:""},{time:"11:30 AM",title:"Solo Nature Integration",desc:""},{time:"12:30 PM",title:"Lunch",desc:"Silence Ends"},{time:"2:30 PM",title:"Group Integration Circle",desc:""},{time:"6:30 PM",title:"Dinner",desc:""}
330,{time:"8:00 PM",title:"Fire / Power Activation Ceremony",desc:""}]},{day:"Day 4 – Vision & Expansion",date:"Full Day",theme:"Embodied Expansion",color:"green",sessions:[{time:"6:00 AM",title:"Movement + Breath Activation",desc:""},{time:"6:45 AM",title:"Meditation",desc:""},{time:"7:30 AM",title:"Breakfast",desc:""},{time:"9:00 AM",title:"Vision Architecture Workshop",desc:""},{time:"12:30 PM",title:"Lunch",desc:""},{time:"2:00 PM",title:"Afternoon Free Time",desc:"Beach / Integration"},{time:"6:30 PM",title:"Dinner",desc:""},{time:"8:00 PM",title:"Closing Ceremony",desc:""}]},{day:"Day 5 – Integration & Departure",date:"Morning",theme:"Carrying It Forward",color:"amber",sessions:[{time:"6:30 AM",title:"Final Movement & Meditation",desc:""},{time:"7:30 AM",title:"Breakfast",desc:""},{time:"9:00 AM",title:"Departures Begin",desc:""}]}],UB=[{title:"Releasing the Mask",desc:"Dismantle unconscious identity patterns and societal conditioning. Step beyond roles and reconnect with your authentic self.",image:"https://images.unsplash.com/photo-1537996194471-e657df975ab4?w=800&q=80"},{title:"Emotional Alchemy & Somatic Clearing",desc:"Release stored emotional energy through guided breath, sound, and embodied processing. Reset your nervous system.",image:"https://images.unsplash.com/photo-1518241353330-0f7941c2d9b5?w=800&q=80"},{title:"Shadow & Power Integration",desc:"Meet the hidden aspects of self without judgment and reclaim suppressed strength.",image:"https://images.unsplash.com/photo-1475924156734-496f6cac6ec1?w=800&q=80"},{title:"Vision Architecture",desc:"Design your next chapter from alignment rather than fear. Leave with a tangible integration blueprint.",image:"https://images.unsplash.com/photo-1518495973542-4542c06a5843?w=800&q=80"}],$B=[{name:"Alejandro Salomone",role:"Spiritual Guide & Vision Architect",bio:`Alejandro Salomone guides individuals through profound identity transformation by bridging grounded psychological awareness with embodied spiritual practice.
331
332His work is rooted in lived experience. Over the years, he has walked a path of deep spiritual exploration, studying across traditions, immersing himself in indigenous cultures of the Amazon, and working directly with practices centered on healing, consciousness, and the unseen dimensions of human experience.
333
334Rather than adhering to a single modality, Alejandro's approach integrates multiple lineages and energetic frameworks, blending somatic awareness, subtle energy work, and shadow integration into a process that is both intuitive and grounded.
335
336This allows him to meet each individual where they are, guiding them through the unraveling of conditioned identity, the release of stored emotional patterns, and the embodiment of a more al
336igned way of being.
337
338His work is not about transcendence or escape, it is about presence, responsibility, and embodiment.
339
340Alejandro leads intentionally curated, small-group containers designed for depth, safety, and real transformation. Spaces where individuals are not guided around their patterns, but through them.`,image:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/efb4eb4a6_alejandro_retreat_photo.jpg"},{name:"Jacyn Fain",role:"Co-Facilitator · Creative Director & Healer",bio:`Jacyn is a creative director, performer, and facilitator weaving together creativity and transformational work. With a background in theater performance and production, along with years of intentional retreat building, facilitation, and organization, she brings a grounded, artful approach to creating immersive and meaningful experiences.
341
342Her work blends creativity with practices rooted in presence, healing, and inner awakening. With over 16 years of experience in the healing space, she is certified in yoga, integrative life coaching, hypnotherapy, sound healing, and Reiki.
343
344Jacyn is devoted to creating spaces where expression and transformation meet — inviting others into deeper authenticity and connection.`,image:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/0471a434b_A9151DCF-1DF9-425B-8A26-0B6FA70A036F.jpg"}],WB={"Daily Essentials":["Lightweight clothing","Swimsuit","Comfortable sandals + sneakers","Refillable water bottle"],"Practice & Ceremony":["Journal & pen","Yoga/activewear","Light layer for mornings"],"Beach & Nature":["Sunscreen","Hat","Small backpack","Towel"]},HB={amber:"border-amber-400/30 bg-amber-400/5",rose:"border-rose-400/30 bg-rose-400/5",green:"border-green-400/30 bg-green-400/5",purple:"border-purple-400/30 bg-purple-400/5",sky:"border-sky-400/30 bg-sky-400/5"},qB={amber:"bg-amber-400/60",rose:"bg-rose-400/60",green:"bg-green-400/60",purple:"bg-purple-400/60",sky:"bg-sky-400/60"};function ZB(){const[e,t]=N.useState(0);return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsx("div",{className:"sticky top-0 z-50 bg-[#FAF8F5]/95 backdrop-blur-sm border-b border-stone-200/60 px-6 py-4",children:i.jsxs("div",{className:"max-w-5xl mx-auto flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs(Me,{to:"/RetreatSeries",className:"flex items-center gap-1.5 text-amber-600 hover:text-amber-500 transition-colors text-xs font-bold tracking-[0.1em] uppercase",children:[i.jsx(oa,{className:"w-3 h-3"}),"All Retreats"]}),i.jsx("span",{className:"text-stone-200",children:"·"}),i.jsx(Me,{to:"/ByronBay",className:"flex items-center gap-1.5 text-stone-500 hover:text-stone-800 transition-colors text-sm font-light",children:"Back to Byron Bay"})]}),i.jsx("p",{className:"text-stone-400 tracking-[0.25em] uppercase text-xs",children:"The Becoming: Byron Bay"})]})}),i.jsxs("div",{className:"relative py-24 md:py-32 px-6 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&q=80",alt:"Byron Bay",className:"w-full h-full object-cover opacity-20"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#FAF8F5]/60 to-[#FAF8F5]"})]}),i.jsxs(O.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10 max-w-3xl mx-auto text-center",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"July 19–23, 2026 · Byron Bay, Australia"}),i.jsx("h1",{className:"text-4xl md:text-6xl font-light text-stone-800 tracking-tight leading-tight mb-6",children:"Event Details"}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed max-w-xl mx-auto",children:"Everything you need to know about your 4-night activation — the daily rhythm, workshops, nature immersion, and how to prepare for this accelerated experience."})]})]}),i.jsx("div",{className:"px-6 pb-4",children:i.jsx(O.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3},className:"max-w-3xl mx-auto",children:i.jsxs("div",{className:"border border-stone-200 bg-white/60 px-8 py-7",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-5 text-center",children:"Container Overview"}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-x-8 gap-y-4",children:["4 Nights in Byron Bay, Australia","Limited to 15 Participants","Daily 6:00 AM Start","Ocean & Nature Immersion","One Sacred Silence Commitment Morning","Structured Transformational Arc","All Meals Included"].map((n,s)=>i.jsxs("div",{className:"flex items-start gap-2",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/70 shrink-0"}),i.jsx("span",{className:"text-stone-600 font-light text-sm leading-snug",children:n})]},s))})]})})}),i.jsx("div",{className:"px-6 pb-12",children:i.jsx("div",{className:"max-w-5xl mx-auto flex flex-wrap gap-3 justify-center",children:["Daily Schedule","Nature Immersion","Workshops","Facilitators","Packing List"].map((n,s)=>i.jsx("a",{href:`#${n.toLowerCase().replace(/ /g,"-")}`,className:"px-5 py-2 border border-stone-300 text-stone-600 text-sm tracking-wider hover:bg-stone-100 transition-colors font-light",children:n},s))})}),i.jsx("section",{className:"py-12 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-10",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Rhythm"}),i.jsx("h2",{className:"text-2xl md:text-3xl font-light text-stone-800 tracking-tight",children:"Daily Flow"}),i.jsx("p",{className:"text-stone-400 font-light mt-3 text-xs italic max-w-lg mx-auto",children:"Daily flow may adjust slightly based on weather, ocean conditions, and group needs. The 6:00 AM start time sets the energetic rhythm of the container."})]}),i.jsx("div",{className:"space-y-3",children:[{time:"6:00 AM",label:"Morning Movement Practice",note:"Oceanfront embodiment, somatic activation, or strength-based flow"},{time:"6:45 AM",label:"Meditation / Breath Practice"},{time:"7:30 AM",label:"Breakfast"},{time:"9:00 AM",label:"Morning Workshop Session"},{time:"12:30 PM",label:"Lunch"},{time:"1:30–3:30 PM",label:"Integration / Rest / Ocean / 1:1 Sessions"},{time:"3:30 PM",label:"Afternoon Workshop or Activation"},{time:"6:30 PM",label:"Dinner"},{time:"8:00 PM",label:"Evening Circle / Integration / Ceremony"}].map((n,s)=>i.jsxs("div",{className:"flex gap-5 py-3 border-b border-stone-200/60 last:border-0",children:[i.jsx("span",{className:"text-amber-700/50 text-xs font-mono tracking-widest shrink-0 w-24",children:n.time}),i.jsxs("div",{children:[i.jsx("span",{className:"text-stone-700 font-light text-sm",children:n.label}),n.note&&i.jsx("p",{className:"text-stone-400 text-xs font-light mt-0.5 italic",children:n.note})]})]},s))})]})}),i.jsx("section",{id:"daily-schedule",className:"py-16 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Day by Day"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Daily Schedule"})]}),i.jsx("div",{className:"space-y-3",children:zB.map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:s*.05},className:`border rounded-sm overflow-hidden ${HB[n.color]}`,children:[i.jsxs("button",{onClick:()=>
344t(e===s?null:s),className:"w-full flex items-center justify-between px-6 py-5 text-left group",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-light text-base md:text-lg",children:n.day}),i.jsx("p",{className:"text-white/40 text-xs mt-0.5 tracking-wider uppercase",children:n.date})]}),i.jsx($i,{className:`w-4 h-4 text-white/30 transition-transform duration-300 shrink-0 ${e===s?"rotate-180":""}`})]}),e===s&&i.jsxs("div",{className:"px-6 pb-6 space-y-4 border-t border-white/10 pt-4",children:[n.note&&i.jsx("p",{className:"text-amber-300/60 text-xs font-light italic pb-2",children:n.note}),n.sessions.map((l,c)=>i.jsxs("div",{className:"flex gap-4",children:[i.jsx("div",{className:`mt-1.5 w-1.5 h-1.5 rounded-full shrink-0 ${qB[n.color]}`}),i.jsx("div",{children:i.jsxs("div",{className:"flex items-baseline gap-3 flex-wrap",children:[i.jsx("span",{className:"text-white/40 text-xs font-mono tracking-widest",children:l.time}),i.jsx("span",{className:"text-white/80 font-light",children:l.title}),l.desc&&i.jsxs("span",{className:"text-white/30 text-xs font-light",children:["— ",l.desc]})]})})]},c)),n.theme&&i.jsxs("p",{className:"text-white/20 text-xs tracking-[0.2em] uppercase pt-3 border-t border-white/5",children:["Theme: ",n.theme]})]})]},s))})]})}),i.jsx("section",{id:"nature-immersion",className:"py-20 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Land"}),i.jsx("h2",{className:"text-3xl font-light text-stone-800 tracking-tight mb-8",children:"Nature Immersion"}),i.jsx("p",{className:"text-stone-500 font-light mb-8 leading-relaxed",children:"This retreat integrates the natural energy of Byron Bay through:"}),i.jsx("div",{className:"space-y-3 mb-8",children:["Ocean immersion and grounding practices","Coastal walks and sunrise sessions","Outdoor integration time in nature"].map((n,s)=>i.jsxs("div",{className:"flex items-center gap-3 justify-center",children:[i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),i.jsx("span",{className:"text-stone-600 font-light text-sm",children:n})]},s))}),i.jsx("p",{className:"text-stone-400 font-light italic text-sm",children:"Nature is not an activity here — it is part of the transformation."})]})})}),i.jsx("section",{id:"workshops",className:"py-20 md:py-28 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Work"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Workshops & Experiences"})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-px bg-stone-200",children:UB.map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:s*.06},className:"relative overflow-hidden bg-white px-8 py-10 min-h-[220px]",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:n.image,alt:"",className:"w-full h-full object-cover opacity-[0.08] grayscale"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-white/80 via-white/60 to-white/30"})]}),i.jsxs("div",{className:"relative z-10",children:[i.jsxs("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-3",children:["0",s+1]}),i.jsx("h3",{className:"text-stone-800 font-light text-lg mb-3 tracking-tight",children:n.title}),i.jsx("div",{className:"w-8 h-px bg-amber-600/30 mb-4"}),i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed",children:n.desc})]})]},s))})]})}),i.jsx("section",{id:"facilitators",className:"py-20 md:py-28 px-6 bg-stone-100",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Team"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Your Facilitators"})]}),i.jsx("div",{className:"space-y-6",children:$B.map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"bg-white overflow-hidden max-w-2xl mx-auto w-full md:flex",children:[n.image?i.jsx("img",{src:n.image,alt:n.name,className:"w-full md:w-56 h-64 md:h-auto object-cover object-top grayscale shrink-0"}):i.jsx("div",{className:"w-full md:w-56 h-64 md:h-auto bg-stone-200 shrink-0 flex items-center justify-center",children:i.jsx("span",{className:"text-stone-400 text-sm font-light",children:"Photo Coming Soon"})}),i.jsxs("div",{className:"p-7",children:[i.jsx("p",{className:"text-stone-800 font-light text-xl",children:n.name}),i.jsx("p",{className:"text-amber-700/70 text-xs tracking-wider up
344percase mt-1 mb-4",children:n.role}),n.bio.split(`
345
346`).map((l,c)=>i.jsx("p",{className:"text-stone-500 text-sm font-light leading-relaxed mb-3 last:mb-0",children:l},c))]})]},s))})]})}),i.jsx("section",{id:"packing-list",className:"py-20 md:py-28 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Preparation"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Packing List"}),i.jsx("p",{className:"text-stone-500 font-light mt-4 text-sm",children:"Byron Bay is warm and coastal. Pack light, pack intentionally."})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:Object.entries(WB).map(([n,s],l)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:l*.1},children:[i.jsx("h3",{className:"text-stone-700 font-light text-base tracking-wide mb-4 pb-2 border-b border-stone-200",children:n}),i.jsx("ul",{className:"space-y-2",children:s.map((c,d)=>i.jsxs("li",{className:"flex items-start gap-3 text-stone-500 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),c]},d))})]},l))})]})}),i.jsx("section",{className:"py-20 md:py-28 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Alignment"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Is This For You?"})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-10",children:[i.jsxs(O.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[i.jsx("p",{className:"text-amber-400/80 tracking-[0.2em] uppercase text-xs mb-5",children:"🌿 Who This Is For"}),i.jsx("ul",{className:"space-y-3",children:["Individuals ready for rapid internal shift","Those open to embodied practice and emotional depth","People willing to engage fully in a structured container","Those ready to step into greater personal power","Participants willing to honor sacred silence"].map((n,s)=>i.jsxs("li",{className:"flex items-start gap-3 text-white/60 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-400/60 shrink-0"}),n]},s))})]}),i.jsxs(O.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.15},children:[i.jsx("p",{className:"text-rose-400/80 tracking-[0.2em] uppercase text-xs mb-5",children:"🌿 Who This Is Not For"}),i.jsx("ul",{className:"space-y-3",children:["Those seeking a casual or passive retreat experience","Individuals resistant to early mornings","Anyone unwilling to engage in self-inquiry","Those looking for entertainment over transformation"].map((n,s)=>i.jsxs("li",{className:"flex items-start gap-3 text-white/40 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-rose-400/40 shrink-0"}),n]},s))})]})]})]})}),i.jsx(vs,{}),i.jsxs("div",{className:"py-16 px-6 bg-stone-900 text-center",children:[i.jsx("p",{className:"text-white/50 font-light text-sm mb-6",children:"Ready to reserve your place?"}),i.jsx(Me,{to:"/ByronBay",className:"inline-block px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Return to Byron Bay"}),i.jsx("p",{className:"text-white/20 text-xs mt-8 tracking-wider",children:"BYRON BAY, AUSTRALIA · JULY 19–23, 2026"})]})]})}const GB=[{day:"Day 1 – Arrival & Grounding",date:"Arrival Window: 12:00 PM – 4:00 PM",theme:"Settling Into the Space",color:"amber",sessions:[{time:"5:30 PM",title:"Welcome & Grounding",desc:""},{time:"6:30 PM",title:"Dinner",desc:""},{time:"8:00 PM",title:"Opening Circle",desc:""}]},{day:"Day 2 – Emotional Clarity & Regulation",date:"Full Day",theme:"Clarity & Release",color:"rose",sessions:[{time:"6:00 AM",title:"Gentle Movement Practice",desc:""},{time:"6:45 AM",title:"Meditation",desc:""},{time:"7:30 AM",title:"Breakfast",desc:""},{time:"9:00 AM",title:"Emotional Integration Workshop",desc:""},{time:"12:30 PM",title:"Lunch",desc:""},{time:"1:30 PM",title:"Integration Time",desc:"Nature / Reflection — Until 3:30 PM"},{time:"3:30 PM",title:"Somatic Processing Session",desc:""},{time:"6:30 PM",title:"Dinner",desc:""},{time:"8:00 PM",title:"Reflection Circle",desc:""}]},{day:"Day 3 – Sacred Silence & Inner Alignment",date:"Container Commitment Morning",theme:"Listening Within",color:"purple",note:"This morning will be held in sacred silence until lunch. This is a container commitment.",sessions:[{time:"6:00 AM",title:"Silent Movement Practice",desc:""},{time:"6:45 AM",title:"Silent Meditation",desc:""},{time:"7:30 AM",title:"Breakfast in Silence",desc:""},{time:"9:00 AM",title:"Guided Self-Inquiry",desc:""},{time:"11:30 AM",title:"Solo Nature Integration",desc:""},{time:"12:30 PM",title:"Lunch",desc:"Silence Ends"},{time:"2:30 PM",title:"Group Integration Circle",desc:""},{time:"6:30 PM",title:"Dinner",desc:""},{time:"8:00 PM",title:"Evening Alignment Session",desc:""}]},{day:"Day 4 – Vision & Life Alignment",date:"Full Day",theme:"Aligned Living",color:"green",sessions:[{time:"6:00 AM",title:"Grounded Movement + Breath",desc:""},{time:"6:45 AM",title:"Meditation",desc:""},{time:"7:30 AM",title:"Breakfast",desc:""},{time:"9:00 AM",title:"Vision Architecture Workshop",desc:""},{time:"12:30 PM",title:"Lunch",desc:""},{time:"2:00 PM",title:"Afternoon Free Integration Time",desc:""},{time:"6:30 PM",title:"Dinner",desc:""}
346,{time:"8:00 PM",title:"Closing Ceremony",desc:""}]},{day:"Day 5 – Integration & Departure",date:"Morning",theme:"Carrying the Work Forward",color:"amber",sessions:[{time:"6:30 AM",title:"Final Movement & Meditation",desc:""},{time:"7:30 AM",title:"Breakfast",desc:""},{time:"9:00 AM",title:"Departures Begin",desc:""}]}],YB=[{title:"Releasing the Mask",desc:"Dismantle unconscious identity patterns and societal conditioning. Step beyond roles and reconnect with your authentic self.",image:"https://images.unsplash.com/photo-1537996194471-e657df975ab4?w=800&q=80"},{title:"Emotional Alchemy & Somatic Clearing",desc:"Release stored emotional energy through guided breath, sound, and embodied processing. Reset your nervous system.",image:"https://images.unsplash.com/photo-1518241353330-0f7941c2d9b5?w=800&q=80"},{title:"Shadow & Power Integration",desc:"Meet the hidden aspects of self without judgment and reclaim suppressed strength.",image:"https://images.unsplash.com/photo-1475924156734-496f6cac6ec1?w=800&q=80"},{title:"Vision Architecture",desc:"Design your next chapter from alignment rather than fear. Leave with a tangible integration blueprint.",image:"https://images.unsplash.com/photo-1518495973542-4542c06a5843?w=800&q=80"}],KB=[{name:"Alejandro Salomone",role:"Spiritual Guide & Vision Architect",bio:`Alejandro Salomone guides individuals through profound identity transformation by bridging grounded psychological awareness with embodied spiritual practice.
347
348His work is rooted in lived experience. Over the years, he has walked a path of deep spiritual exploration, studying across traditions, immersing himself in indigenous cultures of the Amazon, and working directly with practices centered on healing, consciousness, and the unseen dimensions of human experience.
349
350Rather than adhering to a single modality, Alejandro's approach integrates multiple lineages and energetic frameworks, blending somatic awareness, subtle energy work, and shadow integration into a process that is both intuitive and grounded.
351
352This allows him to meet each individual where they are, guiding them through the unraveling of conditioned identity, the release of stored emotional patterns, and the embodiment of a more al
352igned way of being.
353
354His work is not about transcendence or escape, it is about presence, responsibility, and embodiment.
355
356Alejandro leads intentionally curated, small-group containers designed for depth, safety, and real transformation. Spaces where individuals are not guided around their patterns, but through them.`,image:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/efb4eb4a6_alejandro_retreat_photo.jpg"},{name:"Jacyn Fain",role:"Co-Facilitator · Creative Director & Healer",bio:`Jacyn is a creative director, performer, and facilitator weaving together creativity and transformational work. With a background in theater performance and production, along with years of intentional retreat building, facilitation, and organization, she brings a grounded, artful approach to creating immersive and meaningful experiences.
357
358Her work blends creativity with practices rooted in presence, healing, and inner awakening. With over 16 years of experience in the healing space, she is certified in yoga, integrative life coaching, hypnotherapy, sound healing, and Reiki.
359
360Jacyn is devoted to creating spaces where expression and transformation meet — inviting others into deeper authenticity and connection.`,image:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/0471a434b_A9151DCF-1DF9-425B-8A26-0B6FA70A036F.jpg"}],JB={"Daily Essentials":["Comfortable, breathable clothing","Walking shoes + sandals","Refillable water bottle"],"Practice & Ceremony":["Yoga/comfortable clothing","Light layer for mornings/evenings","Swimming suit"],"Travel & Environment":["Light jacket","Small backpack","Eco-friendly sunscreen"]},QB={amber:"border-amber-400/30 bg-amber-400/5",rose:"border-rose-400/30 bg-rose-400/5",green:"border-green-400/30 bg-green-400/5",purple:"border-purple-400/30 bg-purple-400/5",sky:"border-sky-400/30 bg-sky-400/5"},XB={amber:"bg-amber-400/60",rose:"bg-rose-400/60",green:"bg-green-400/60",purple:"bg-purple-400/60",sky:"bg-sky-400/60"};function e7(){const[e,t]=N.useState(0);return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsx("div",{className:"sticky top-0 z-50 bg-[#FAF8F5]/95 backdrop-blur-sm border-b border-stone-200/60 px-6 py-4",children:i.jsxs("div",{className:"max-w-5xl mx-auto flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs(Me,{to:"/RetreatSeries",className:"flex items-center gap-1.5 text-amber-600 hover:text-amber-500 transition-colors text-xs font-bold tracking-[0.1em] uppercase",children:[i.jsx(oa,{className:"w-3 h-3"}),"All Retreats"]}),i.jsx("span",{className:"text-stone-200",children:"·"}),i.jsx(Me,{to:"/Portugal",className:"flex items-center gap-1.5 text-stone-500 hover:text-stone-800 transition-colors text-sm font-light",children:"Back to Portugal"})]}),i.jsx("p",{className:"text-stone-400 tracking-[0.25em] uppercase text-xs",children:"The Becoming: Portugal"})]})}),i.jsxs("div",{className:"relative py-24 md:py-32 px-6 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1559827291-72ee739d0d9a?w=1920&q=80",alt:"Portugal",className:"w-full h-full object-cover opacity-20"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#FAF8F5]/60 to-[#FAF8F5]"})]}),i.jsxs(O.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10 max-w-3xl mx-auto text-center",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"August 3–7, 2026 · Portugal"}),i.jsx("h1",{className:"text-4xl md:text-6xl font-light text-stone-800 tracking-tight leading-tight mb-6",children:"Event Details"}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed max-w-xl mx-auto",children:"Everything you need to know about your 4-night integration journey — the daily rhythm, workshops, nature immersion, and how to prepare for this refined and grounding experience."})]})]}),i.jsx("div",{className:"px-6 pb-4",children:i.jsx(O.div,{initial:{opacity:0,y:20}
360,animate:{opacity:1,y:0},transition:{duration:.7,delay:.3},className:"max-w-3xl mx-auto",children:i.jsxs("div",{className:"border border-stone-200 bg-white/60 px-8 py-7",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-5 text-center",children:"Container Overview"}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-x-8 gap-y-4",children:["4 Nights in Portugal","Limited to 15 Participants","Daily 6:00 AM Start","Deep Nature Immersion","One Sacred Silence Commitment Morning","Structured Transformational Arc","All Meals Included"].map((n,s)=>i.jsxs("div",{className:"flex items-start gap-2",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/70 shrink-0"}),i.jsx("span",{className:"text-stone-600 font-light text-sm leading-snug",children:n})]},s))})]})})}),i.jsx("div",{className:"px-6 pb-12",children:i.jsx("div",{className:"max-w-5xl mx-auto flex flex-wrap gap-3 justify-center",children:["Daily Schedule","Nature Immersion","Workshops","Facilitators","Packing List"].map((n,s)=>i.jsx("a",{href:`#${n.toLowerCase().replace(/ /g,"-")}`,className:"px-5 py-2 border border-stone-300 text-stone-600 text-sm tracking-wider hover:bg-stone-100 transition-colors font-light",children:n},s))})}),i.jsx("section",{className:"py-12 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-10",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Rhythm"}),i.jsx("h2",{className:"text-2xl md:text-3xl font-light text-stone-800 tracking-tight",children:"Daily Flow"}),i.jsx("p",{className:"text-stone-400 font-light mt-3 text-xs italic max-w-lg mx-auto",children:"Daily flow may adjust slightly based on weather, location flow, and group needs. The 6:00 AM start time sets the energetic rhythm of the container."})]}),i.jsx("div",{className:"space-y-3",children:[{time:"6:00 AM",label:"Morning Movement Practice",note:"Gentle embodiment, nervous system regulation, and grounding flow"},{time:"6:45 AM",label:"Meditation / Breath Practice"},{time:"7:30 AM",label:"Breakfast"},{time:"9:00 AM",label:"Morning Workshop Session"},{time:"12:30 PM",label:"Lunch"},{time:"1:30–3:30 PM",label:"Integration / Rest / Nature Time / 1:1 Sessions"},{time:"3:30 PM",label:"Afternoon Workshop or Process"},{time:"6:30 PM",label:"Dinner"},{time:"8:00 PM",label:"Evening Integration Circle / Ceremony"}].map((n,s)=>i.jsxs("div",{className:"flex gap-5 py-3 border-b border-stone-200/60 last:border-0",children:[i.jsx("span",{className:"text-amber-700/50 text-xs font-mono tracking-widest shrink-0 w-24",children:n.time}),i.jsxs("div",{children:[i.jsx("span",{className:"text-stone-700 font-light text-sm",children:n.label}),n.note&&i.jsx("p",{className:"text-stone-400 text-xs font-light mt-0.5 italic",children:n.note})]})]},s))})]})}),i.jsx("section",{id:"daily-schedule",className:"py-16 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Day by Day"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Daily Schedule"})]}),i.jsx("div",{className:"space-y-3",children:GB.map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:s*.05},className:`border rounded-sm overflow-hidden ${QB[n.color]}`,children:[i.jsxs("button",{onClick:()=>t(e===s?null:s),className:"w-full flex items-center justify-between px-6 py-5 text-left group",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-light text-base md:text-lg",children:n.day}),i.jsx("p",{className:"text-white/40 text-xs mt-0.5 tracking-wider uppercase",children:n.date})]}),i.jsx($i,{className:`w-4 h-4 text-white/30 transition-transform duration-300 shrink-0 ${e===s?"rotate-180":""}`})]}),e===s&&i.jsxs("div",{className:"px-6 pb-6 space-y-4 border-t border-white/10 pt-4",children:[n.note&&i.jsx("p",{className:"text-amber-300/60 text-xs font-light italic pb-2",children:n.note}),n.sessions.map((l,c)=>i.jsxs("div",{className:"flex gap-4",children:[i.jsx("div",{className:`mt-1.5 w-1.5 h-1.5 rounded-full shrink-0 ${XB[n.color]}`}),i.jsx("div",{children:i.jsxs("div",{className:"flex items-baseline gap-3 flex-wrap",children:[i.jsx("span",{className:"text-white/40 text-xs font-mono tracking-widest",children:l.time}),i.jsx("span",{className:"text-white/80 font-light",children:l.title}),l.desc&&i.jsxs("span",{className:"text-white/30 text-xs font-light",children:["— ",l.de
360sc]})]})})]},c)),n.theme&&i.jsxs("p",{className:"text-white/20 text-xs tracking-[0.2em] uppercase pt-3 border-t border-white/5",children:["Theme: ",n.theme]})]})]},s))})]})}),i.jsx("section",{id:"nature-immersion",className:"py-20 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Land"}),i.jsx("h2",{className:"text-3xl font-light text-stone-800 tracking-tight mb-8",children:"Nature & Cultural Immersion"}),i.jsx("p",{className:"text-stone-500 font-light mb-8 leading-relaxed",children:"Cara Creek Eco Lodge is an intentionally minimal eco-space — stripped of distraction and held by the land. There are no luxuries here beyond what matters most: clean air, running water, wild nature, and genuine connection. This simplicity is part of the medicine."}),i.jsx("div",{className:"space-y-3 mb-8",children:["River swims and forest walks","Natural swimming pool surrounded by trees","Fire circle ceremonies under open skies","Tipi accommodations nestled in the land","Farm-to-table nourishing meals, prepared with care"].map((n,s)=>i.jsxs("div",{className:"flex items-center gap-3 justify-center",children:[i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),i.jsx("span",{className:"text-stone-600 font-light text-sm",children:n})]},s))}),i.jsx("p",{className:"text-stone-400 font-light italic text-sm",children:"The less there is to escape to, the deeper you can go."})]})})}),i.jsx("section",{className:"py-20 md:py-28 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-6xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-12",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Cara Creek Eco Lodge"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"The Space"}),i.jsx("p",{className:"text-stone-500 font-light mt-4 text-sm max-w-lg mx-auto leading-relaxed",children:"An intentionally minimal eco-sanctuary nestled in the Portuguese countryside — where nature, simplicity, and depth meet."})]}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-2 md:gap-3",children:[{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/1a0afbb9d_studio02.jpg",label:"Practice Studio",tall:!0},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/8fccbef4c_PoolShadeandTetrapod.jpg",label:"Natural Pool"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/7e3055964_Cafe03web.jpg",label:"Dining Space"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/671b58051_MayatCC31web.jpg",label:"The Land",tall:!0},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/1be8fdc9b_PHOTO-2022-07-30-22-13-25.jpg",label:"Fire Circle"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/5dd912b79_PHOTO-2023-08-06-19-30-39.jpg",label:"Sacred Space"}].map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:s*.06},className:`relative overflow-hidden group ${n.tall?"row-span-2":""}`,children:[i.jsx("img",{src:n.url,alt:n.label,className:`w-full object-cover grayscale-[20%] group-hover:grayscale-0 transition-all duration-700 group-hover:scale-105 ${n.tall?"h-full min-h-[400px]":"h-48 md:h-56"}`}),i.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/0 transition-all duration-500"}),i.jsx("p",{className:"absolute bottom-3 left-3 text-white/70 text-xs tracking-[0.15em] uppercase font-light opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:n.label})]},s))})]})}),i.jsx("section",{className:"py-16 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-6xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-10",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-3",children:"Where You'll Rest"}),i.jsx("h3",{className:"text-2xl font-light text-stone-800 tracking-tight",children:"Accommodation"}),i.jsx("p",{className:"text-stone-400 font-light mt-3 text-sm italic",children:"Tipis, eco-cabins, and stone rooms — simple, intentional, and held by nature."})]}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-2 md:gap-3",children:[{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/50a618490_CcAccom2506.jpg",label:"Tipi Tents",tall:!0},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/1c67988d1_CcAccom2502.jpg",label:"Accommodation"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/30e58e70c_CcAccom2532.jpg",label:"Room Interior"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/4d47b2fab_CcAccom2539.jpg",label:"Bell Tent",tall:!0},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/61004c17a_CcAccom2550.jpg",label:"Stone Room"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/bcf972e0e_CcAccom2552.jpg",label:"Shared Facilities"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/45107854f_CcAccom2565.jpg",label:"Tipi Interior"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/e7dff3983_Cabana08web.jpg",label:"Eco Cabin"}].map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:s*.05},className:`relative overflow-hidden group ${n.tall?"row-span-2":""}`,children:[i.jsx("img",{src:n.url,alt:n.label,className:`w-full object-cover grayscale-[20%] group-hover:grayscale-0 transition-all duration-700 group-hover:scale-105 ${n.tall?"h-full min-h-[360px]":"h-44 md:h-52"}`}),i.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/0 transition-all duration-500"}),i.jsx("p",{className:"absolute bottom-3 left-3 text-white/70 text-xs tracking-[0.15em] uppercase font-light opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:n.label})]},s))})]})}),i.jsx("section",{className:"py-16 px-6 bg-stone-900",children:i.jsxs("div",{className:"max-w-6xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-10",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-3",children:"The Surrounding Land"}),i.jsx("h3",{className:"text-2xl font-light text-white tracking-tight",children:"Nature & Immersion"}),i.jsx("p",{className:"text-white/40 font-light mt-3 text-sm italic",children:"Rivers, waterfalls, and ancient forest — your integration space extends far beyond the lodge."})]}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-2 md:gap-3",children:[{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/02ef6a67e_localwaterfallhike1.jpg",label:"Local Waterfall",tall:!0},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/d73ac2980_localwaterfallhike2.jpg",label:"River Hike"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/2f93086bd_Landscape31web.jpg",label:"The Landscape"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/059bd4a7f_PHOTO-2023-08-30-15-42-254.jpg",label:"Sacred Site",tall:!0},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/2539b37de_CcAccom2593.jpg",label:"Forest Path"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/7b942f855_Relaxationspaces2.jpg",label:"Relaxation Spaces"}].map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:s*.06},className:`relative overflow-hidden group ${n.tall?"row-span-2":""}`,children:[i.jsx("img",{src:n.url,alt:n.label,className:`w-full object-cover grayscale-[20%] group-hover:grayscale-0 transition-all duration-700 group-hover:scale-105 ${n.tall?"h-full min-h-[400px]":"h-48 md:h-56"}`}),i.jsx("div",{className:"absolute inset-0 bg-black/30 group-hover:bg-black/0 transition-all duration-500"}),i.jsx("p",{className:"absolute bottom-3 left-3 text-white/70 text-xs tracking-[0.15em] uppercase font-light opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:n.label})]},s))})]})}),i.jsx("section",{className:"py-16 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-6xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-10",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-3",children:"All Meals Included"}),i.jsx("h3",{className:"text-2xl font-light text-stone-800 tracking-tight",children:"Food & Nourishment"}),i.jsx("p",{className:"text-stone-400 font-light mt-3 text-sm italic",children:"Wholesome, lovingly prepared meals made from local and seasonal ingredients."})]}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-2 md:gap-3",children:[{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/04e622991_ndiannightatCC04.
360jpg",label:"Feast",tall:!0},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/4bc9d2867_FoodCCJune8.jpg",label:"Fresh Dishes"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/43869550d_FoodCCJune9.jpg",label:"Salads"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/fff66cf89_CcAccom25121.jpg",label:"Dessert",tall:!0},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/0f88dbc73_YTT23Week0213.jpg",label:"Breakfast Plates"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/4004e12ad_YTT23Graduation03.jpg",label:"Celebration Meal"}].map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:s*.05},className:`relative overflow-hidden group ${n.tall?"row-span-2":""}`,children:[i.jsx("img",{src:n.url,alt:n.label,className:`w-full object-cover grayscale-[20%] group-hover:grayscale-0 transition-all duration-700 group-hover:scale-105 ${n.tall?"h-full min-h-[360px]":"h-44 md:h-52"}`}),i.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/0 transition-all duration-500"}),i.jsx("p",{className:"absolute bottom-3 left-3 text-white/70 text-xs tracking-[0.15em] uppercase font-light opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:n.label})]},s))})]})}),i.jsx("section",{id:"workshops",className:"py-20 md:py-28 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Work"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Workshops & Experiences"})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-px bg-stone-200",children:YB.map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:s*.06},className:"relative overflow-hidden bg-white px-8 py-10 min-h-[220px]",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:n.image,alt:"",className:"w-full h-full object-cover opacity-[0.08] grayscale"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-white/80 via-white/60 to-white/30"})]}),i.jsxs("div",{className:"relative z-10",children:[i.jsxs("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-3",children:["0",s+1]}),i.jsx("h3",{className:"text-stone-800 font-light text-lg mb-3 tracking-tight",children:n.title}),i.jsx("div",{className:"w-8 h-px bg-amber-600/30 mb-4"}),i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed",children:n.desc})]})]},s))})]})}),i.jsx("section",{id:"facilitators",className:"py-20 md:py-28 px-6 bg-stone-100",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Team"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Your Facilitators"})]}),i.jsx("div",{className:"space-y-6",children:KB.map((n,s)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"bg-white overflow-hidden max-w-2xl mx-auto w-full md:flex",children:[n.image?i.jsx("img",{src:n.image,alt:n.name,className:"w-full md:w-56 h-64 md:h-auto object-cover object-top grayscale shrink-0"}):i.jsx("div",{className:"w-full md:w-56 h-64 md:h-auto bg-stone-200 shrink-0 flex items-center justify-center",children:i.jsx("span",{className:"text-stone-400 text-sm font-light",children:"Photo Coming Soon"})}),i.jsxs("div",{className:"p-7",children:[i.jsx("p",{className:"text-stone-800 font-light text-xl",children:n.name}),i.jsx("p",{className:"text-amber-700/70 text-xs tracking-wider up
360percase mt-1 mb-4",children:n.role}),n.bio.split(`
361
362`).map((l,c)=>i.jsx("p",{className:"text-stone-500 text-sm font-light leading-relaxed mb-3 last:mb-0",children:l},c))]})]},s))})]})}),i.jsx("section",{id:"packing-list",className:"py-20 md:py-28 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Preparation"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Packing List"}),i.jsx("p",{className:"text-stone-500 font-light mt-4 text-sm",children:"Portugal is mild and coastal. Pack light, pack intentionally."})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:Object.entries(JB).map(([n,s],l)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:l*.1},children:[i.jsx("h3",{className:"text-stone-700 font-light text-base tracking-wide mb-4 pb-2 border-b border-stone-200",children:n}),i.jsx("ul",{className:"space-y-2",children:s.map((c,d)=>i.jsxs("li",{className:"flex items-start gap-3 text-stone-500 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),c]},d))})]},l))})]})}),i.jsx("section",{className:"py-20 md:py-28 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Alignment"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Is This For You?"})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-10",children:[i.jsxs(O.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[i.jsx("p",{className:"text-amber-400/80 tracking-[0.2em] uppercase text-xs mb-5",children:"Who This Is For"}),i.jsx("ul",{className:"space-y-3",children:["Individuals seeking clarity and grounded alignment","Those ready to integrate previous growth or transitions","People open to slower, deeper embodiment","Those willing to engage in structured daily practice","Participants willing to honor sacred silence"].map((n,s)=>i.jsxs("li",{className:"flex items-start gap-3 text-white/60 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-400/60 shrink-0"}),n]},s))})]}),i.jsxs(O.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.15},children:[i.jsx("p",{className:"text-rose-400/80 tracking-[0.2em] uppercase text-xs mb-5",children:"Who This Is Not For"}),i.jsx("ul",{className:"space-y-3",children:["Those seeking high-intensity or fast-paced experiences","Individuals resistant to stillness or reflection","Anyone unwilling to engage in self-inquiry","Those looking for entertainment over transformation"].map((n,s)=>i.jsxs("li",{className:"flex items-start gap-3 text-white/40 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-rose-400/40 shrink-0"}),n]},s))})]})]})]})}),i.jsx(vs,{}),i.jsxs("div",{className:"py-16 px-6 bg-stone-900 text-center",children:[i.jsx("p",{className:"text-white/50 font-light text-sm mb-6",children:"Ready to reserve your place?"}),i.jsx(Me,{to:"/Portugal",className:"inline-block px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Return to Portugal"}),i.jsx("p",{className:"text-white/20 text-xs mt-8 tracking-wider",children:"PORTUGAL · AUGUST 3–7, 2026"})]})]})}const t7=[{location:"Portugal",flag:"🌿",tagline:"Integration · Clarity · Alignment",dates:"August 3–7, 2026 · 4 Nights",year:"2026",desc:"A 4-night refined experience designed to ground, stabilize, and integrate transformation into daily life.",mantra:"This is where you become.",closed:!0,href:"/Portugal",image:"https://images.unsplash.com/photo-1559827291-72ee739d0d9a?w=900&q=80"},{location:"Hawaii",flag:"🌺",tagline:"Heart · Remembrance · Sacred Return",dates:"August 23–28, 2026 · 5 Nights / 6 Days",year:"2026",desc:"A 5-night sacred immer
362sive journey into the heart, held in Maui. A land of remembrance, healing, and the spirit of Aloha. This is not an escape. It is a return.",mantra:"There is a remembrance here. A softness. A deep invitation back into the heart.",closed:!0,href:"/Hawaii",image:"https://images.unsplash.com/photo-1505852679233-d9fd70aff56d?w=900&q=80"},{location:"Bali",flag:"🌺",tagline:"Transformation · Initiation · Depth",dates:"July 5–12, 2027 · 7 Nights",year:"2027",earlyReg:!0,desc:"A 7-night immersive experience in the jungles of Bali designed to dissolve outdated identities and create deep internal recalibration.",mantra:"This is where you shed who you've been.",href:"/Home",image:"https://images.unsplash.com/photo-1518241353330-0f7941c2d9b5?w=900&q=80"},{location:"Australia",flag:"🌊",tagline:"Activation · Power · Expansion",dates:"July 19–23, 2027 · 4 Nights",year:"2027",earlyReg:!0,desc:"A 4-night ocean-based experience in Byron Bay focused on movement, expression, and stepping into embodied power.",mantra:"This is where you step forward.",href:"/ByronBay",image:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=900&q=80"}],n7=[{location:"Portugal",label:"Integration & Alignment",year:"2026"},{location:"Hawaii",label:"Depth · Sacred Immersion · Becoming",year:"2026"},{location:"Bali",label:"Release & Transformation",year:"2027"},{location:"Australia",label:"Activation & Expression",year:"2027"}],i7=["Structured daily rhythm (6:00 AM start)","Embodied movement practices","Shadow integration & emotional processing","Vision and life alignment work","One sacred silence commitment morning","Small group container (limited to 15 participants)"],s7=["Individuals ready for meaningful internal change","Those open to structure, discipline, and embodiment","People willing to engage in self-inquiry","Those seeking depth over comfort"],r7=["Those seeking a casual retreat or vacation","Individuals resistant to structured practice","Anyone unwilling to engage in inner work"];function ij(){return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsxs("section",{className:"relative min-h-screen flex items-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/0dea3392b_generated_image.png",alt:"The Becoming Retreats",className:"w-full h-full object-cover object-center"}),i.jsx("div",{className:"absolute inset-0 bg-black/30"})]}),i.jsx("div",{className:"relative z-10 w-full px-6 flex items-center justify-center",children:i.jsxs(O.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1.2},className:"text-center max-w-3xl",children:[i.jsx("p",{className:"text-white/70 tracking-[0.3em] uppercase text-sm font-light mb-6",children:"A Global Retreat Series"}),i.jsx("h1",{className:"text-7xl md:text-9xl lg:text-[8rem] font-light text-white tracking-tight leading-[0.9] mb-8",children:"The Becoming"}),i.jsx("p",{className:"text-white/80 font-light text-base md:text-lg leading-relaxed mb-3",children:"Three destinations. Three distinct experiences. One transformational journey."}),i.jsx("p",{className:"text-white/70 font-light text-base md:text-lg leading-relaxed mb-10",children:"Move through one experience — or step into the full arc."}),i.jsx("p",{className:"text-white/60 font-light text-base tracking-wide",children:"Portugal · Hawaii · Bali · Australia"})]})}),i.jsx(O.div,{className:"absolute bottom-8 left-1/2 -translate-x-1/2",animate:{y:[0,8,0]},transition:{repeat:1/0,duration:2},children:i.jsx("div",{className:"w-[1px] h-12 bg-gradient-to-b from-transparent to-white/30"})})]}),i.jsx("section",{className:"py-28 md:py-40 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-8",children:"The Series"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsx("p",{className:"text-stone-700 text-xl md:text-2xl font-light leading-relaxed mb-10",children:"The Becoming is a series of immersive retreats designed to guide individuals through transformation, activation, and integration."}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed text-base md:text-lg mb-6",children:"Each location carries a unique energetic intention, while maintaining a consistent structure grounded in discipline, embodiment, and self-inquiry."}),i.jsx("p",{className:"text-stone-400 font-light text-sm italic",children:"You can attend one retreat… or move through all three as a complete journey."})]})})}),i.jsx("section",{className:"py-4 pb-28 md:pb-40 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-6xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"The Pathways"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Four Destinations"})]}),i.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 lg:gap-8",children:t7.map((e,t)=>i.jsx(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.15},className:"group",children:i.jsxs(Me,{to:e.href,className:"block",children:[i.jsxs("div",{className:"overflow-hidden mb-6 relative",children:[i.jsx("img",{src:e.image,alt:e.location,className:"w-full h-56 object-cover grayscale group-hover:grayscale-0 transition-all duration-700 group-hover:scale-105"}),i.jsx("div",{className:`absolute top-3 left-3 px-2 py-1 text-xs tracking-[0.15em] uppercase font-light ${e.year==="2026"?"bg-amber-700/80 text-white":"bg-stone-800/80 text-white/70"}`,children:e.year}),e.earlyReg&&i.jsx("div",{className:"absolute top-3 right-3 px-2 py-1 bg-stone-900/80 text-amber-300/90 text-xs tracking-[0.1em] uppercase font-light",children:"Early Reg Open"}),e.closed&&i.jsx("div",{className:"absolute top-3 right-3 px-2 py-1 bg-stone-900/80 text-stone-300 text-xs tracking-[0.1em] uppercase font-light",children:"Closed"})]}),i.jsxs("div",{className:"px-1",children:[i.jsx("span",{className:"text-amber-700/50 tracking-[0.2em] uppercase text-xs",children:"The Becoming"}),i.jsx("h3",{className:"text-stone-800 font-light text-2xl mt-1 mb-1 tracking-tight",children:e.location}),i.jsx("p",{className:"text-stone-400 text-xs tracking-wider mb-3",children:e.dates}),e.earlyReg&&i.jsx("p",{className:"text-amber-700/70 text-xs tracking-[0.1em] uppercase mb-2 font-light",children:"Accepting Early Registration"}),i.jsx("p",{className:"text-amber-700/60 text-xs tracking-[0.15em] uppercase mb-4",children:e.tagline}),i.jsx("p",{className:"text-stone-600 font-light text-sm leading-relaxed mb-4",children:e.desc}),i.jsx("p",{className:"text-stone-400 font-light text-sm italic mb-5",children:e.mantra}),i.jsxs("div",{className:"flex items-center gap-2 text-stone-500 text-xs tracking-[0.2em] uppercase font-light group-hover:text-amber-700 transition-colors",children:[i.jsx("span",{children:"Explore"}),i.jsx("span",{className:"w-4 h-[1px] bg-current"}),i.jsx("span",{children:"→"})]}),i.jsx("p",{className:"text-stone-400 text-xs font-light mt-1 italic group-hover:text-amber-600/60 transition-colors",children:e.closed?"Click to learn more":"Click to learn more & reserve"})]})]})},t))})]})}),i.jsx("section",{className:"py-28 md:py-36 px-6 bg-stone-900 text-white",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Full Experience"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight mb-6",children:"The Journey Arc"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/20 mx-auto mb-12"}),i.jsx("p",{className:"text-white/50 font-light mb-14 leading-relaxed",children:"While each experience stands on its own, together they form a complete arc:"}),i.jsx("div",{className:"space-y-0",children:n7.map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:t*.15},className:"flex items-center gap-6 py-6 border-b border-white/10 last:border-0",children:[i.jsx("span",{className:"text-amber-400/30 text-xs font-mono tracking-widest shrink-0 w-6 text-right",children:String(t+1).padStart(2,"0")}),i.jsxs("div",{className:"text-left",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[i.jsx("p",{className:"text-white/40 text-xs tracking-wider up
362percase",children:e.location}),i.jsx("span",{className:`text-xs px-1.5 py-0.5 tracking-wider ${e.year==="2026"?"bg-amber-700/40 text-amber-200/80":"bg-stone-700/50 text-white/40"}`,children:e.year})]}),i.jsx("p",{className:"text-white/70 font-light text-lg",children:e.label})]})]},t))}),i.jsx("p",{className:"text-white/30 font-light mt-12 text-sm italic",children:"This progression allows for deeper, more sustainable change."})]})})}),i.jsx("section",{className:"py-28 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"Choose Your Path"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight mb-10",children:"How to Approach This"}),i.jsxs("div",{className:"space-y-5 text-stone-600 font-light text-base md:text-lg leading-relaxed mb-10",children:[i.jsxs("p",{children:["You may feel called to one location…",i.jsx("br",{}),"or to the full journey."]}),i.jsx("p",{children:'There is no "right" entry point — only alignment.'}),i.jsx("p",{className:"text-stone-400 text-sm font-light italic",children:"These are not retreats. They are experiences — active, intentional, and transformational."})]}),i.jsx("div",{className:"grid grid-cols-3 gap-4 my-12 max-w-lg mx-auto",children:["Some begin with transformation.","Others with activation.","Others with integration."].map((e,t)=>i.jsx("div",{className:"py-5 px-3 border border-stone-200 text-stone-500 font-light text-xs leading-relaxed text-center",children:e},t))}),i.jsx("p",{className:"text-stone-400 font-light italic",children:"Trust where you are."})]})})}),i.jsx("section",{className:"py-28 md:py-36 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"The Foundation"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Shared Container Elements"}),i.jsx("p",{className:"text-stone-500 font-light mt-5 max-w-xl mx-auto text-sm leading-relaxed",children:"Across all retreats, the foundation remains consistent:"})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-4 max-w-2xl mx-auto",children:i7.map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.07},className:"flex items-start gap-3 py-4 border-b border-stone-200/80 last:border-0",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),i.jsx("span",{className:"text-stone-600 font-light text-sm leading-relaxed",children:e})]},t))}),i.jsx(O.p,{initial:{opacity:0}
362,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.5},className:"text-center text-stone-400 font-light mt-10 text-xs italic",children:"This ensures depth, safety, and continuity across all locations."})]})}),i.jsx("section",{className:"py-28 md:py-36 px-6 bg-stone-900 text-white",children:i.jsx("div",{className:"max-w-3xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-10 text-center",children:"Facilitation"}),i.jsxs("div",{className:"space-y-12",children:[i.jsxs("div",{className:"md:flex gap-12 items-start",children:[i.jsx("div",{className:"shrink-0 mb-8 md:mb-0",children:i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/d36ba8d36_ScreenShot2026-05-18at10453PM.png",alt:"Alejandro Salomone",className:"w-48 h-56 object-cover object-top grayscale"})}),i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-light text-2xl mb-1",children:"Alejandro Salomone"}),i.jsx("p",{className:"text-amber-400/60 text-xs tracking-wider uppercase mb-6",children:"Spiritual Guide & Vision Architect"}),i.jsx("div",{className:"w-8 h-[1px] bg-amber-400/20 mb-6"}),i.jsx("p",{className:"text-white/50 font-light leading-relaxed text-sm mb-4",children:"Alejandro creates structured, grounded containers for individuals ready to move through real transformation — not conceptual growth."}),i.jsx("p",{className:"text-white/40 font-light leading-relaxed text-sm",children:"His work bridges embodiment, psychology, and spiritual awareness."}),i.jsx(Me,{to:"/MeetAlejandro",className:"inline-block mt-6 text-xs tracking-[0.2em] uppercase text-amber-300/60 border border-amber-400/20 px-5 py-2 hover:bg-amber-400/10 transition-all duration-300",children:"Read More"})]})]}),i.jsx("div",{className:"w-full h-[1px] bg-white/10"}),i.jsxs("div",{className:"md:flex gap-12 items-start",children:[i.jsx("div",{className:"shrink-0 mb-8 md:mb-0",children:i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/0471a434b_A9151DCF-1DF9-425B-8A26-0B6FA70A036F.jpg",alt:"Jacyn Fain",className:"w-48 h-56 object-cover object-top grayscale"})}),i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-light text-2xl mb-1",children:"Jacyn Fain"}),i.jsx("p",{className:"text-amber-400/60 text-xs tracking-wider uppercase mb-6",children:"Co-Facilitator · Creative Director & Healer"}),i.jsx("div",{className:"w-8 h-[1px] bg-amber-400/20 mb-6"}),i.jsx("p",{className:"text-white/50 font-light leading-relaxed text-sm mb-4",children:"Jacyn weaves creativity and transformational work into immersive, meaningful experiences grounded in presence and healing."}),i.jsx("p",{className:"text-white/40 font-light leading-relaxed text-sm",children:"With over 16 years in the healing space, her work blends creative expression with yoga, sound healing, hypnotherapy, and Reiki."})]})]})]})]})})}),i.jsx("section",{className:"py-28 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"Alignment"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Is This For You?"})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-10 max-w-2xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[i.jsx("p",{className:"text-amber-700/70 tracking-[0.2em] uppercase text-xs mb-5",children:"This Is For You If"}),i.jsx("ul",{className:"space-y-4",children:s7.map((e,t)=>i.jsxs("li",{className:"flex items-start gap-3 text-stone-600 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),e]},t))})]}),i.jsxs(O.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.15},children:[i.jsx("p",{className:"text-rose-600/70 tracking-[0.2em] uppercase text-xs mb-5",children:"This Is Not For You If"}),i.jsx("ul",{className:"space-y-4",children:r7.map((e,t)=>i.jsxs("li",{className:"flex items-start gap-3 text-stone-400 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-rose-400/40 shrink-0"}),e]},t))})]})]})]})}),i.jsx("section",{className:"py-28 md:py-40 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"Beyond The Experience"}),i.jsx("h2",{className:"text-3xl md:text-5xl font-light text-stone-800 tracking-tight mb-6",children:"A Greater Vision"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsx("p",{className:"text-stone-700 text-lg md:text-xl font-light leading-relaxed mb-6",children:"The Becoming was never created to simply host retreats."}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed text-base md:text-lg mb-6 max-w-2xl mx-auto",children:"It was born from a much b
362igger vision — one centered around healing, reconnection, sustainability, and the evolution of human consciousness."}),i.jsxs("p",{className:"text-stone-500 font-light leading-relaxed text-base mb-10 max-w-2xl mx-auto",children:["A portion of the funds generated through these experiences goes toward the long-term mission of building ",i.jsx("span",{className:"text-amber-700/80",children:"eco-friendly, self-sustained sanctuaries and retreat spaces around the world"})," — spaces intentionally designed to bring people back into connection with nature, community, spirit, and a more harmonious way of living."]})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-px bg-stone-200 mb-20",children:[{image:"https://images.unsplash.com/photo-1501854140801-50d01698950b?w=600&q=80",title:"Regenerative Living",desc:"Self-sustained systems rooted in ecological responsibility — food, energy, water, and land working in harmony."},{image:"https://images.unsplash.com/photo-1448375240586-882707db888b?w=600&q=80",title:"Nature-Integrated Architecture",desc:"Spaces built with and for the Earth — structures that breathe with the land rather than stand against it."},{image:"https://images.unsplash.com/photo-1545389336-cf090694435e?w=600&q=80",title:"Healing & Education Centers",desc:"Permanent spaces dedicated to inner work, somatic healing, and the wisdom traditions that serve human awakening."},{image:"https://images.unsplash.com/photo-1425913397330-cf8af2ff40a1?w=600&q=80",title:"Indigenous Collaboration",desc:"Deep reverence and active partnership with the indigenous cultures and wisdom keepers of each land we inhabit."},{image:"https://images.unsplash.com/photo-1464226184884-fa280b87c399?w=600&q=80",title:"Food & Land Sustainability",desc:"Initiatives that restore the relationship between people and the land — growing, tending, and living with intention."},{image:"https://images.unsplash.com/photo-1510797215324-95aa89f43c33?w=600&q=80",title:"Community Gathering Spaces",desc:"Places where people remember how to gather with depth — circles, ceremonies, and shared presence at the center."}].map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.07},className:"bg-white overflow-hidden",children:[i.jsx("div",{className:"h-44 overflow-hidden",children:i.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover transition-all duration-700 hover:scale-105"})}),i.jsxs("div",{className:"px-8 py-7",children:[i.jsx("h3",{className:"text-stone-800 font-light text-base tracking-wide mb-3",children:e.title}),i.jsx("div",{className:"w-6 h-px bg-amber-600/30 mb-3"}),i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed",children:e.desc})]})]},t))}),i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center max-w-2xl mx-auto",children:[i.jsxs("p",{className:"text-stone-600 font-light text-base md:text-lg leading-relaxed mb-6",children:["These spaces are envisioned not as luxury escapes — but as ",i.jsx("em",{children:"living examples"})," of what becomes possible when humans choose to live in alignment with the Earth, with each other, and with themselves."]}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed mb-10",children:"The Becoming is not just a retreat series. It is the beginning of something much larger. Every person who joins these experiences becomes part of that vision. Together, we are planting seeds for a different future."}),i.jsx("div",{className:"border border-amber-700/15 bg-amber-50/60 px-8 py-8",children:i.jsx("p",{className:"text-stone-700 font-light text-lg md:text-xl italic leading-relaxed",children:'"The future we seek to create begins with the spaces we choose to build today."'})}),i.jsx("div",{className:"mt-10 flex flex-wrap items-center justify-center gap-4",children:i.jsx(Me,{to:"/TheVision",className:"px-10 py-4 bg-stone-900 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-300",children:"Learn More & Support"})})]})]})}),i.jsxs("section",{className:"h-[60vh] md:h-[70vh] relative overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0",children:i.jsx("img",{src:"https://images.unsplash.com/photo-1505118380757-91f5f5632de0?w=1920&q=80",alt:"Ocean",className:"w-full h-full object-cover"})}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#FAF8F5]/40 via-trans
362parent to-stone-900/70"}),i.jsx("div",{className:"absolute inset-0 flex items-end justify-center pb-14 px-6",children:i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.9},className:"text-center",children:[i.jsx("p",{className:"text-white/50 font-light text-xs tracking-[0.4em] uppercase mb-3",children:"The Earth Is Waiting"}),i.jsx("p",{className:"text-white/30 font-light text-sm italic",children:"Bali · Australia · Portugal · Hawaii · and beyond"})]})})]}),i.jsx(vs,{}),i.jsxs("section",{className:"relative py-36 md:py-48 px-6 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/0dea3392b_generated_image.png",alt:"",className:"w-full h-full object-cover object-center"}),i.jsx("div",{className:"absolute inset-0 bg-black/65"})]}),i.jsx("div",{className:"relative z-10 max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-white/50 font-light text-lg md:text-xl leading-relaxed italic mb-3",children:"This work is not about becoming someone new."}),i.jsx("p",{className:"text-white/50 font-light text-lg md:text-xl leading-relaxed italic mb-3",children:"It is about removing what no longer aligns."}),i.jsx("p",{className:"text-amber-300/80 font-light text-lg md:text-xl leading-relaxed italic",children:"And stepping fully into who you already are."}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/30 mx-auto my-14"}),i.jsx("p",{className:"text-amber-300/70 tracking-[0.3em] uppercase text-xs mb-3",children:"Step Into The Becoming"}),i.jsx("p",{className:"text-white/40 font-light text-sm mb-10",children:"Choose your location. Begin your journey."}),i.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4",children:[i.jsx(Me,{to:"/Portugal",className:"px-8 py-4 border border-amber-400/40 text-amber-200 text-xs tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Explore Portugal · 2026"}),i.jsx(Me,{to:"/Hawaii",className:"px-8 py-4 border border-amber-400/30 text-amber-200/70 text-xs tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Explore Hawaii · 2026"}),i.jsx(Me,{to:"/Home",className:"px-8 py-4 border border-white/20 text-white/60 text-xs tracking-[0.2em] uppercase font-light hover:bg-white/5 transition-all duration-500",children:"Explore Bali · 2027"}),i.jsx(Me,{to:"/ByronBay",className:"px-8 py-4 border border-white/20 text-white/60 text-xs tracking-[0.2em] uppercase font-light hover:bg-white/5 transition-all duration-500",children:"Explore Australia · 2027"})]})]})})]}),i.jsx("footer",{className:"py-8 px-6 bg-stone-950 text-center",children:i.jsx("p",{className:"text-white/20 text-xs tracking-[0.2em] uppercase",children:"© 2026 The Becoming · All Rights Reserved"})})]})}function a7(){const{pathname:e}=vo();return N.useEffect(()=>{window.scrollTo(0,0)},[e]),null}function o7(){const{isAuthenticated:e,logout:t,navigateToLogin:n}=wo(),[s,l]=N.useState(!1),[c,d]=N.useState(!1),m=vo(),f=zN(),x=N.useRef(null),y=[{label:"Home",href:"/"},{label:"Work With Me",href:"/WorkWithMe"},{label:"The Library",href:"/Library"},{label:"Journeys",href:"/Journeys"},{label:"Gatherings",href:"/Gatherings"},{label:"About",href:"/About"},...e?[{label:"My Library",href:"/MyLibrary"}]:[]];N.useEffect(()=>{const _=()=>l(window.scrollY>40);return window.addEventListener("scroll",_,{passive:!0}),()=>window.removeEventListener("scroll",_)},[]),N.useEffect(()=>{d(!1)},[m.pathname]),N.useEffect(()=>{const _=S=>{x.current&&!x.current.contains(S.target)&&d(!1)};return document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[]);const v=()=>{var _;d(!1),m.pathname==="/"?(_=document.getElementById("pathways"))==null||_.scrollIntoView({behavior:"smooth"}):f("/")};return i.jsx("div",{ref:x,className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${s?"bg-white/90 backdrop-blur-md shadow-sm":"bg-transparent"}`,children:i.jsxs("div",{className:"flex items-center justify-between px-6 md:px-10 py-4",children:[i.jsx(Me,{to:"/",className:`text-xs md:text-sm tracking-[0.25em] md:tracking-[0.3em] uppercase font-light transition-colors duration-300 ${s?"text-stone-900":"text-white"}`,children:"The Becoming"}),i.jsxs("div",{className:"relative",children:[i.jsx("button",{onClick:()=>d(_=>!_),className:`w-11 h-11 flex items-center justify-center transition-all duration-300 ${s?"text-stone-900 hover:text-amber-700":"text-white hover:text-amber-300"}`,"aria-label":"Toggle menu",children:c?i.jsx(er,{className:"w-5 h-5"}):i.jsx(C4,{className:"w-5 h-5"})}),c&&i.jsxs("div",{className:"absolute top-12 right-0 w-64 bg-stone-950/95 backdrop-blur-md border border-white/10 py-2",children:[y.map(_=>{const S=m.pathname===_.href;return i.jsx(Me,{to:_.href,className:`block px-6 py-3.5 text-xs tracking-[0.15em] uppercase font-semibold transition-colors duration-200 ${S?"text-amber-300 bg-white/5":"text-white/70 hover:text-white hover:bg-white/5"}`,children:_.label},_.href)}),i.jsx("div",{className:"my-2 mx-6 h-px bg-white/10"}),e?i.jsx("button",{onClick:()=>{d(!1),t()},className:"block mx-4 px-6 py-3.5 text-xs tracking-[0.15em] uppercase font-semibold text-white/50 hover:text-white hover:bg-white/5 transition-colors duration-200 text-center w-56",children:"Log Out"}):i.jsx("button",{onClick:()=>{d(!1),n()},className:"block mx-4 px-6 py-3.5 text-xs tracking-[0.15em] uppercase font-semibold text-white/70 hover:text-white hover:bg-white/5 transition-colors duration-200 text-center w-56",children:"Log In"}),i.jsx("button",{onClick:v,className:"block mx-4 px-6 py-3.5 text-xs tracking-[0.15em] uppercase font-semibold text-amber-300 border border-amber-400/30 hover:bg-amber-400/10 transition-all duration-200 text-center w-56",children:"Begin Your Journey"})]})]})]})})}const fk=[{id:"early_bird",label:"Early Bird",sublabel:"Limited to 5 Participants",price:2950,highlight:!0,includes:["Full experience","Shared island accommodation","All meals and excursions","Group integration support","Experience welcome gift"]},{id:"standard",label:"Standard",sublabel:"Investment",price:3333,highlight:!1,includes:["Full experience","Shared island accommodation","All meals and excursions","Group integration support","Experience welcome gift"]},{id:"premium",label:"Premium",sublabel:"Tier",price:3755,highlight:!1,includes:["Everything in Standard","Private 1:1 integration session with Alejandro","Extended energetic support post-experience","Personalized guidance and integration recommendations","Premium experience gift package"]}],kg=.05,Tg=.08,l7=[{id:"deposit",label:"Deposit to Reserve",desc:"$750 non-refundable deposit secures your spot. Balance due 60 days prior.",getAmount:()=>750,getTotal:()=>null},{id:"full",label:"Pay in Full",desc:"One-time payment. Best value — no added fees.",getAmount:e=>e,getTotal:()=>null},{id:"3_payments",label:"3-Payment Plan",desc:"$750 deposit + first installment today, then 2 monthly installments (5% processing fee).",getAmount:e=>{const t=Math.ceil(e*(1+kg));return 750+Math.ceil((t-750)/3)},getTotal:e=>Math.ceil(e*(1+kg)),getInstallment:e=>Math.ceil((Math.ceil(e*(1+kg))-750)/3)},{id:"5_payments",label:"5-Payment Plan",desc:"$750 deposit + first month today, then 4 monthly payments (8% processing fee).",getAmount:e=>{const t=Math.ceil(e*(1+Tg));return 750+Math.ceil((t-750)/5)},getTotal:e=>Math.ceil(e*(1+Tg)),getInstallment:e=>Math.ceil((Math.ceil(e*(1+Tg))-750)/5)}],c7={early_bird:["full"],standard:["deposit","full","3_payments","5_payments"],premium:["deposit","full","3_payments","5_payments"]},u7=["Guided transformational workshops","Sacred site excursions across Maui","Waterfall and ocean cleansing ceremonies","Heart-opening practices and meditations","Nervous system regulation and grounding","Energetic activation work","Integration circles and group sharing","Breathwork and movement sessions","Sound, silence, nature, and restoration","Deep connection with the land and spirit of Hawaii"],d7=["Beautiful island accommodation intentionally selected to support rest, connection, and immersion","Daily meals","All workshops and sessions","Sacred site excursions","Group integration circles","Guided meditations and activations","Waterfall and ocean experiences","Surprise experiences unique to Hawaii"],h7=[{day:"Day 1",title:"Arrival & Opening the Heart",theme:"Arrival · Intention · Presence",sessions:["Guest arrivals & grounding","Opening circle","Intention setting ceremony","Sunset connection gathering","Gentle heart activation meditation"]},{day:"Day 2",title:"Remembering the Heart",theme:"Emotional Release · Softening · Safety",sessions:["Morning movement & breathwork","Workshop: Releasing the Protective Armor","Sacred waterfall cleansing experience","Group integration circle","Sunset reflection practice"]},{day:"Day 3",title:"Sacred Waters & Emotional Cleansing",theme:"Purification · Flow · Surrender",sessions:["Ocean connection ceremony","Breath and nervous system regulation","Sacred water rituals","Silent integration period","Evening sharing circle"]},{day:"Day 4",title:"Lemurian Remembrance",theme:"Intuition · Activation · Ancient Memory",sessions:["Sunrise meditation","Workshop: Remembering Your Inner Wisdom","Visit to sacred energetic locations","Energetic activation practices","Sound healing and deep integration"]},{day:"Day 5",title:"Embodying The Becoming",theme:"Embodiment · Vision · Alignment",sessions:["Morning movement","Workshop: Anchoring Your New Reality","Nature immersion experience","Closing integration ceremony","Celebration dinner"]},{day:"Day 6",title:"Departure",theme:"Integration · Gratitude · Continuation",sessions:["Final reflection practice","Closing circle","Departures"]}],m7=["Feel disconnected from themselves","Are navigating transition or awakening","Desire emotional healing and reconnection","
362Long for deeper purpose and clarity","Want to reconnect with nature and spirit","Feel called to Hawaii for reasons they cannot fully explain","Are ready for profound inner transformation"],f7=["A party-focused vacation experience","Constant stimulation or nightlife","Surface-level wellness experiences","Spiritual bypassing or escapism","Passive participation"],p7=[{q:"Are flights included?",a:"No. Participants are responsible for travel to Maui, Hawaii."},{q:"Where exactly is the venue?",a:"Final venue details are released upon acceptance into the container. The venue is selected to support depth, privacy, and natural immersion in Maui."},{q:"Is this plant-medicine based?",a:"No. This experience focuses on somatic practices, embodiment, heart activation, and energetic alignment within a grounded, structured framework."},{q:"Do I need prior experience?",a:"Openness and emotional readiness matter more than experience. If you feel the call, that is enough."},{q:"What if I cancel?",a:"Deposits are non-refundable. Full cancellation policy is outlined in the participant agreement."},{q:"What is the Lemurian energy you mention?",a:"Many people feel that Hawaii — particularly Maui — carries an ancient frequency connected to harmony, intuition, divine remembrance, and heart-centered consciousness. We gently weave in awareness of this energy as part of the experience, not as doctrine, but as an invitation to feel into what the land holds."},{q:"Why is this called an experience, not a retreat?",a:"Because a retreat implies stepping away. This is something you step into. It is not an escape — it is a becoming. You are not retreating from your life. You are returning to yourself."}];function g7({open:e,onClose:t,defaultTier:n}){const[s,l]=N.useState("deposit"),[c,d]=N.useState("payment"),[m,f]=N.useState(!1),[x,y]=N.useState(null),v=n||"early_bird",_=fk.find(T=>T.id===v),S=l7.filter(T=>c7[v].includes(T.id)),E=S.find(T=>T.id===s)||S[0],k=E?E.getAmount(_.price):0,P=async T=>{var A;f(!0),y(null);try{const I="BC-"+Math.random().toString(36).substring(2,8).toUpperCase();await Ke.entities.Registration.create({...T,retreat_name:"The Becoming: Hawaii",investment_tier:v,payment_plan:E.id,confirmation_code:I,status:"pending"});const D=await Ke.functions.invoke("createStripeCheckout",{tier:v,paymentOption:E.id,retreatName:"The Becoming: Hawaii",amount:_.price,registrationEmail:T.email,confirmationCode:I});(A=D.data)!=null&&A.redirectUrl?window.location.href=D.data.redirectUrl:y("Something went wrong. Please try again.")}catch(I){console.error(I),y("Unable to initiate checkout. Please try again.")}finally{f(!1)}};return i.jsx(Wi,{children:e&&i.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[i.jsx(O.div,{initial:{opacity:0}
362,animate:{opacity:1},exit:{opacity:0},className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:t}),i.jsxs(O.div,{initial:{opacity:0,y:30,scale:.97},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.97},transition:{duration:.35},className:"relative bg-[#FAF8F5] w-full max-w-lg max-h-[90vh] overflow-y-auto shadow-2xl",children:[i.jsxs("div",{className:"flex items-center justify-between px-8 py-6 border-b border-stone-200",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.25em] uppercase text-xs mb-1",children:"Reserve Your Spot"}),i.jsx("h2",{className:"text-stone-800 font-light text-xl tracking-tight",children:"The Becoming: Hawaii"})]}),i.jsx("button",{onClick:t,className:"text-stone-400 hover:text-stone-700 transition-colors",children:i.jsx(er,{className:"w-5 h-5"})})]}),i.jsxs("div",{className:"px-8 py-6 space-y-8",children:[i.jsxs("div",{className:"flex items-center justify-between px-5 py-4 border border-amber-500/50 bg-amber-50/60",children:[i.jsxs("div",{children:[i.jsx("span",{className:"text-stone-800 font-light text-sm",children:_.label}),i.jsxs("span",{className:"text-stone-400 text-xs ml-2",children:["— ",_.sublabel]})]}),i.jsxs("span",{className:"text-stone-700 font-light text-base",children:["$",_.price.toLocaleString()]})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-stone-500 text-xs tracking-[0.2em] uppercase mb-4",children:"Choose Payment Option"}),i.jsx("div",{className:"space-y-2",children:S.map(T=>{const A=T.getAmount(_.price),I=T.getTotal?T.getTotal(_.price):null,D=T.getInstallment?T.getInstallment(_.price):null;return i.jsxs("button",{onClick:()=>l(T.id),className:`w-full flex items-start justify-between px-5 py-4 border transition-all duration-200 text-left ${s===T.id?"border-amber-500/50 bg-amber-50/60":"border-stone-200 bg-white hover:border-amber-300/40"}`,children:[i.jsxs("div",{className:"flex-1 pr-4",children:[i.jsx("p",{className:"text-stone-800 font-light text-sm",children:T.label}),i.jsx("p",{className:"text-stone-400 text-xs mt-0.5 font-light",children:T.desc})]}),i.jsxs("div",{className:"text-right shrink-0",children:[i.jsxs("p",{className:"text-stone-700 font-light text-base",children:["$",A.toLocaleString()," today"]}),D&&i.jsxs("p",{className:"text-stone-500 text-xs",children:["then $",D.toLocaleString(),"/installment"]}),I&&i.jsxs("p",{className:"text-stone-400 text-xs",children:["Total: $",I.toLocaleString()]})]})]},T.id)})})]}),i.jsxs("div",{className:"border-t border-stone-200 pt-6",children:[i.jsxs("div",{className:"flex items-baseline justify-between mb-6",children:[i.jsx("p",{className:"text-stone-500 font-light text-sm",children:"Due today"}),i.jsxs("p",{className:"text-stone-800 text-2xl font-light",children:["$",k.toLocaleString()]})]}),x&&i.jsx("p",{className:"text-red-500 text-xs mb-4 text-center",children:x}),i.jsx("button",{onClick:()=>d("registration"),className:"w-full py-4 bg-stone-900 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-300 flex items-center justify-center gap-3 disabled:opacity-60",children:"Continue to Registration"}),i.jsx("p",{className:"text-center text-stone-400 text-xs mt-4 font-light",children:"Secure payment via Stripe. Your spot is not confirmed until payment is received."})]}),c==="registration"&&i.jsxs("div",{className:"border-t border-stone-200 pt-6 space-y-5",children:[i.jsx("button",{onClick:()=>d("payment"),className:"text-stone-400 hover:text-stone-700 text-xs tracking-wider uppercase",children:"← Back to payment options"}),i.jsxs("div",{className:"flex items-baseline justify-between px-5 py-4 border border-stone-200 bg-white",children:[i.jsxs("p",{className:"text-stone-500 font-light text-sm",children:[E.label," · Due today"]}),i.jsxs("p",{className:"text-stone-800 text-lg font-light",children:["$",k.toLocaleString()]})]}),x&&i.jsx("p",{className:"text-red-500 text-xs text-center",children:x}),i.jsx(nf,{onSubmit:P,submitting:m})]})]})]})]})})}function x7(){const{isTierSoldOut:e,isClosed:t,spotsLeft:n}=tf("The Becoming: Hawaii"),[s,l]=N.useState(!1),[c,d]=N.useState("early_bird"),[m,f]=N.useState(null),[x,y]=N.useState(null),v=()=>{var S;(S=document.getElementById("investment"))==null||S.scrollIntoView({behavior:"smooth"})},_=(S="early_bird")=>{d(S),l(!0)};return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1505852679233-d9fd70aff56d?w=1920&q=80",alt:"Maui, Hawaii",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/60 via-black/40 to-black/70"})]}),i.jsx("div",{className:"absolute top-6 left-6 z-20",children:i.jsxs(Me,{to:"/RetreatSeries",className:"flex items-center gap-2 text-amber-400 hover:text-amber-300 transition-colors text-xs tracking-[0.15em] uppercase font-bold",children:[i.jsx(oa,{className:"w-3 h-3"}),"All Retreats"]})}),i.jsx("div",{className:"relative z-10 text-center px-6 max-w-4xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:30}
362,animate:{opacity:1,y:0},transition:{duration:1},children:[i.jsx("p",{className:"text-amber-300/90 tracking-[0.35em] uppercase text-xs md:text-sm font-light mb-6",children:"Maui, Hawaii · August 23–28, 2026"}),i.jsxs("h1",{className:"text-5xl md:text-7xl lg:text-8xl font-light text-white tracking-tight leading-[0.9]",children:["The Becoming:",i.jsx("br",{}),i.jsx("span",{className:"italic",children:"Hawaii"}),i.jsx("br",{}),i.jsx("span",{className:"text-3xl md:text-4xl lg:text-5xl tracking-widest text-amber-300/80 not-italic",children:"— Remembrance"})]}),i.jsx("p",{className:"text-white/60 mt-8 text-base md:text-lg font-light max-w-2xl mx-auto leading-relaxed",children:"A 5-Night Immersive Journey Into the Heart"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/30 mx-auto my-8"}),i.jsx("p",{className:"text-white/50 font-light text-base md:text-lg leading-relaxed max-w-xl mx-auto italic",children:"This is an invitation to soften. To reconnect with your heart. To listen again. To remember."}),i.jsxs("div",{className:"flex items-center justify-center gap-4 mt-10 text-white/40 text-xs tracking-[0.2em] uppercase font-light",children:[i.jsx("span",{children:"Heart"}),i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-400/60"}),i.jsx("span",{children:"Remembrance"}),i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-400/60"}),i.jsx("span",{children:"Transformation"})]}),i.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 mt-8 text-white/50 text-sm",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Fu,{className:"w-4 h-4 text-amber-400/70"}),i.jsx("span",{children:"Maui, Hawaii"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Em,{className:"w-4 h-4 text-amber-400/70"}),i.jsx("span",{children:"Aug 23–28 · 5 Nights / 6 Days"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Du,{className:"w-4 h-4 text-amber-400/70"}),i.jsx("span",{children:"All Inclusive"})]})]}),i.jsx("div",{className:"mt-12 flex flex-wrap items-center justify-center gap-4",children:t?i.jsx("div",{className:"px-10 py-4 border border-stone-400/30 text-stone-400/60 text-sm tracking-[0.2em] uppercase font-light cursor-not-allowed",children:"Reservations Closed"}):i.jsx(O.button,{onClick:v,whileHover:{scale:1.03},whileTap:{scale:.98},className:"px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Reserve Your Spot"})})]})}),i.jsx(O.div,{className:"absolute bottom-8 left-1/2 -translate-x-1/2",animate:{y:[0,8,0]},transition:{repeat:1/0,duration:2},children:i.jsx("div",{className:"w-[1px] h-12 bg-gradient-to-b from-transparent to-white/30"})})]}),i.jsx("section",{className:"py-28 md:py-40 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-8",children:"A Sacred Return"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsxs("p",{className:"text-stone-800 text-xl md:text-2xl font-light leading-relaxed mb-10",children:["The Becoming: Hawaii is not simply a retreat.",i.jsx("br",{}),"It is a sacred return to the heart."]}),i.jsxs("div",{className:"space-y-6 text-stone-600 text-base md:text-lg font-light leading-relaxed",children:[i.jsx("p",{children:"Held on the island of Maui — a land deeply connected to remembrance, healing, nature, and the spirit of Aloha — this experience is designed to reconnect you with the essence of who you truly are beneath the noise, pressure, and conditioning of modern life."}),i.jsx("p",{children:"Maui has long been regarded by many as one of the energetic heart centers of the Earth. The island carries a frequency that naturally opens the emotional body, amplifies intuition, and reconnects people to the sacredness of life itself."}),i.jsx("p",{children:"Throughout this experience, we will journey through sacred lands, waterfalls, oceans, volcanic landscapes, and powerful energetic vortexes while working deeply with the themes of emotional healing, heart activation, remembrance, and inner transformation."})]}),i.jsxs("div",{className:"mt-14 space-y-3 text-stone-500 font-light text-base italic",children:[i.jsx("p",{children:"This is not about escaping your life."}),i.jsx("p",{className:"text-amber-700/70 font-light",children:"It is about returning to yourself."})]})]})})}),i.jsx("section",{className:"py-20 px-6 bg-stone-900 text-white",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-8",children:"The Ancient Energy"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/20 mx-auto mb-12"}),i.jsx("p",{className:"text-white/70 font-light text-lg leading-relaxed mb-8",children:"This experience will also gently weave in the ancient Lemurian energy that many feel is still deeply alive within Hawaii — a frequency connected to harmony, intuition, divine remembrance, and heart-centered consciousness."}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 mt-12",children:["Harmony","Intuition","Divine Remembrance","Heart Consciousness"].map((S,E)=>i.jsx(O.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:E*.08},className:"border border-white/10 py-5 px-3 text-center",children:i.jsx("p",{className:"text-white/50 font-light text-xs tracking-wider",children:S})},E))})]})})}),i.jsx("section",{className:"py-28 md:py-36 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Experience"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"During Our Time Together"}),i.jsx("p",{className:"text-stone-500 font-light mt-5 max-w-xl mx-auto text-sm leading-relaxed",children:"This experience is intentionally designed to balance transformation with softness, adventure with stillness, and depth with 
362joy."})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-3",children:u7.map((S,E)=>i.jsxs(O.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:E*.05},className:"flex items-start gap-3 py-3 border-b border-stone-200/60",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),i.jsx("span",{className:"text-stone-600 font-light text-sm leading-relaxed",children:S})]},E))})]})}),i.jsx("section",{className:"py-28 md:py-36 px-6 bg-stone-900 text-white",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-8",children:"What Makes Hawaii Different"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/20 mx-auto mb-12"}),i.jsxs("div",{className:"space-y-7 text-white/60 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"Maui is home for Alejandro, and this experience carries a deeply personal connection to the island, its people, and its spirit."}),i.jsx("p",{className:"text-white/40 italic",children:"This is not a commercialized tourist experience. You will be guided through Maui with reverence, intention, and deep respect for the land."}),i.jsx("p",{children:"The experience will include sacred spaces that have profoundly impacted Alejandro's own journey and awakening — spaces chosen not for aesthetics alone, but for their energetic significance and ability to facilitate transformation."})]}),i.jsxs("div",{className:"mt-14 space-y-4 text-white/40 font-light italic",children:[i.jsx("p",{children:"There is something ancient here."}),i.jsx("p",{children:"Something difficult to explain with words."}),i.jsx("p",{children:"Many describe Hawaii as a place that mirrors the soul back to itself."})]}),i.jsxs("div",{className:"mt-14 border-t border-white/10 pt-10 space-y-4 text-white/50 font-light",children:[i.jsx("p",{children:"Maui teaches people how to slow down enough to feel again."}),i.jsx("p",{className:"text-amber-300/60 italic",children:"The land, the ocean, the winds, and the stillness have a way of bringing people back into connection with what truly matters."})]})]})})}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Journey"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Daily Flow"}),i.jsx("p",{className:"text-stone-400 font-light mt-3 text-xs italic",children:"Six days. One unfolding."})]}),i.jsx("div",{className:"space-y-3",children:h7.map((S,E)=>i.jsxs(O.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:E*.05},className:"border border-stone-200 bg-white overflow-hidden",children:[i.jsxs("button",{onClick:()=>f(m===E?null:E),className:"w-full flex items-center justify-between px-6 py-5 text-left group",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-amber-700/50 text-xs tracking-wider uppercase mb-0.5",children:S.day}),i.jsx("p",{className:"text-stone-800 font-light text-base md:text-lg",children:S.title}),i.jsx("p",{className:"text-stone-400 text-xs mt-0.5 font-light italic",children:S.theme})]}),i.jsx($i,{className:`w-4 h-4 text-stone-300 transition-transform duration-300 shrink-0 ${m===E?"rotate-180":""}`})]}),i.jsx(Wi,{children:m===E&&i.jsx(O.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden",children:i.jsx("div",{className:"px-6 pb-6 border-t border-stone-100 pt-4 space-y-2",children:S.sessions.map((k,P)=>i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/50 shrink-0"}),i.jsx("span",{className:"text-stone-500 font-light text-sm",children:k})]},P))})})})]},E))})]})}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Container"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"What's Included"})]}),i.jsx("div",{className:"space-y-3",children:d7.map((S,E)=>i.jsxs(O.div,{initial:{opacity:0,x:-10},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.4,delay:E*.06},className:"flex items-start gap-4 py-3 border-b border-stone-200/60 last:border-0",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),i.jsx("span",{className:"text-stone-600 font-light text-sm leading-relaxed",children:S})]},E))}),i.jsx(O.p,{initial:{opacity:0}
362,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.5},className:"text-center text-stone-400 font-light mt-10 text-xs italic",children:"Group size is intentionally limited to maintain intimacy and depth."})]})}),i.jsx("section",{id:"investment",className:"py-24 md:py-36 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Investment"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Choose Your Path"})]}),i.jsx("div",{className:"grid md:grid-cols-3 gap-6 lg:gap-8",children:fk.map((S,E)=>i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:E*.15},onClick:()=>!t&&!e(S.id)&&_(S.id),className:`relative p-8 md:p-10 transition-all duration-500 ${t||e(S.id)?"opacity-60 cursor-not-allowed":"cursor-pointer group hover:-translate-y-1"} ${S.highlight?"bg-stone-800 border border-amber-400/20":"bg-stone-800/50 border border-white/10 hover:border-amber-400/20"}`,children:[(t||e(S.id))&&i.jsx("div",{className:"absolute top-4 right-4 px-2 py-0.5 bg-stone-500/20 border border-stone-400/30 text-stone-400 text-xs tracking-widest uppercase",children:t?"Closed":"Sold Out"}),!e(S.id)&&S.highlight&&i.jsx("div",{className:"absolute top-4 right-4",children:i.jsx(Lm,{className:"w-4 h-4 text-amber-400/60"})}),i.jsx("p",{className:"text-amber-400/70 text-xs tracking-[0.2em] uppercase",children:S.label}),i.jsx("p",{className:"text-white/30 text-xs mt-1",children:S.sublabel}),!t&&!e(S.id)&&n(S.id)!=null&&i.jsxs("p",{className:"text-amber-300/70 text-xs mt-2",children:["Only ",n(S.id)," ",n(S.id)===1?"spot":"spots"," left"]}),i.jsxs("p",{className:"text-white text-4xl font-light mt-6",children:["$",S.price.toLocaleString()]}),i.jsx("div",{className:"mt-6 pt-6 border-t border-white/10 space-y-2",children:S.includes.map((k,P)=>i.jsxs("div",{className:"flex items-start gap-2",children:[i.jsx(Im,{className:"w-3 h-3 text-amber-400/40 mt-1 shrink-0"}),i.jsx("p",{className:"text-white/50 text-xs font-light",children:k})]},P))}),i.jsx("div",{className:"mt-8 text-center text-xs tracking-[0.15em] uppercase py-3 border border-amber-400/20 text-amber-300/60 group-hover:bg-amber-400/10 transition-all duration-300",children:t?"Closed":"Select"})]},E))}),i.jsx(O.div,{initial:{opacity:0}
362,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.4},className:"mt-12 text-center",children:i.jsx("p",{className:"text-white/30 font-light text-xs italic",children:t?"Reservations for this experience are currently closed.":"Spots are confirmed upon deposit and alignment call."})})]})}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Alignment"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Is This For You?"})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-10",children:[i.jsxs(O.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[i.jsx("p",{className:"text-amber-700/70 tracking-[0.2em] uppercase text-xs mb-5",children:"This Is For Those Who"}),i.jsx("ul",{className:"space-y-4",children:m7.map((S,E)=>i.jsxs("li",{className:"flex items-start gap-3 text-stone-600 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),S]},E))})]}),i.jsxs(O.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.15},children:[i.jsx("p",{className:"text-rose-600/70 tracking-[0.2em] uppercase text-xs mb-5",children:"This May Not Be Aligned For Those Looking For"}),i.jsx("ul",{className:"space-y-4",children:f7.map((S,E)=>i.jsxs("li",{className:"flex items-start gap-3 text-stone-400 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-rose-400/40 shrink-0"}),S]},E))}),i.jsx("p",{className:"text-stone-400 font-light text-xs italic mt-8",children:"This experience asks for presence, openness, honesty, and willingness to do inner work."})]})]})]})}),i.jsx("section",{className:"py-24 md:py-32 px-6 bg-[#F5F2EE]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Screening & Alignment"}),i.jsx("p",{className:"text-stone-700 font-light text-lg md:text-xl leading-relaxed mt-8",children:"After submitting your deposit, you'll schedule a short alignment call."}),i.jsxs("div",{className:"mt-10 space-y-4",children:[i.jsx("p",{className:"text-stone-500 text-sm tracking-wider uppercase",children:"This ensures:"}),["Energetic fit","Clarity of expectations","Readiness for heart-centered immersion work"].map((S,E)=>i.jsx(O.p,{initial:{opacity:0}
362,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.2+E*.1},className:"text-stone-600 font-light",children:S},E))]}),i.jsx("div",{className:"mt-12 w-12 h-[1px] bg-amber-700/20 mx-auto"}),i.jsx("p",{className:"text-stone-500 font-light italic text-sm mt-8",children:"The integrity of the container matters."})]})})}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"FAQ"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Common Questions"})]}),i.jsx("div",{className:"space-y-0",children:p7.map((S,E)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:E*.08},className:"border-b border-white/10",children:[i.jsxs("button",{onClick:()=>y(x===E?null:E),className:"w-full flex items-center justify-between py-6 text-left group",children:[i.jsx("span",{className:"text-white/80 font-light text-base md:text-lg group-hover:text-amber-300/80 transition-colors",children:S.q}),i.jsx($i,{className:`w-4 h-4 text-white/30 transition-transform duration-300 shrink-0 ml-4 ${x===E?"rotate-180":""}`})]}),i.jsx(Wi,{children:x===E&&i.jsx(O.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden",children:i.jsx("p",{className:"text-white/50 font-light pb-6 leading-relaxed",children:S.a})})})]},E))})]})}),i.jsx(vs,{}),i.jsxs("section",{className:"relative py-40 md:py-56 px-6 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1542259009477-d625272157b7?w=1920&q=80",alt:"Maui Hawaii",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),i.jsx("div",{className:"relative z-10 max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsxs("div",{className:"space-y-4 text-white/50 font-light text-lg md:text-xl leading-relaxed italic mb-10",children:[i.jsx("p",{children:"Sometimes the soul calls us to certain places for reasons the mind cannot yet understand."}),i.jsx("p",{children:"Hawaii is one of those places."})]}),i.jsxs("div",{className:"space-y-3 text-white/40 font-light mb-10",children:[i.jsx("p",{children:"There is a remembrance here."}),i.jsx("p",{children:"A softness."}),i.jsx("p",{children:"A deep invitation back into the heart."})]}),i.jsxs("p",{className:"text-amber-300/80 font-light text-lg md:text-xl italic mb-14",children:["If you feel called to this experience, trust that feeling.",i.jsx("br",{}),"Your becoming is already unfolding."]}),t?i.jsx("div",{className:"px-10 py-4 border border-stone-400/30 text-stone-400/60 text-sm tracking-[0.2em] uppercase font-light cursor-not-allowed",children:"Reservations Closed"}):i.jsx(O.button,{onClick:v,whileHover:{scale:1.03},whileTap:{scale:.98},className:"px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Reserve Your Spot"}),i.jsx("p",{className:"text-white/20 text-xs mt-8 tracking-wider",children:"MAUI, HAWAII · AUGUST 23–28, 2026"})]})})]}),i.jsx("footer",{className:"py-8 px-6 bg-stone-950 text-center",children:i.jsx("p",{className:"text-white/20 text-xs tracking-[0.2em] uppercase",children:"© 2026 The Becoming · All Rights Reserved"})}),i.jsx(g7,{open:s,onClose:()=>l(!1),defaultTier:c})]})}const y7=["Before dedicating his life to this work, Alejandro lived a very different reality.",'He spent years chasing success through external achievement, living in fast-moving cities, pursuing the traditional version of fulfillment many are taught to seek — status, recognition, material success, validation, and the pressure to constantly perform. He experienced life in different parts of the world, including highly populated cities and environments that demanded disconnection from self in order to "keep up."',"From the outside, much of it appeared successful.","Yet internally, something felt missing.","The deeper he went into those environments, the more he realized that external success means very little when there is disconnection within. Beneath the accomplishments existed unresolved pain, emotional suppression, fear, anxiety, overthinking, self-doubt, and the lingering effects of trauma and conditioning accumulated throughout life.","That realization became the beginning of a profou
362nd transformation.","Rather than continuing to numb, distract, or avoid what was surfacing internally, Alejandro chose to face it directly. What followed was years of deep inner work, healing, study, spiritual exploration, and radical self-inquiry.","His path eventually led him across different parts of the world, immersing himself in ancient wisdom traditions, indigenous teachings, energetic practices, meditation, plant medicine work, consciousness studies, and healing modalities devoted to helping humanity reconnect with a more authentic way of living.","Over the years, Alejandro has studied and worked alongside indigenous communities from South America — particularly within the Amazon rainforest of Brazil — where he developed deep relationships rooted in respect, reciprocity, cultural preservation, and spiritual learning. These experiences profoundly shaped his understanding of life, nature, healing, and the sacred relationship between humanity and the Earth.",'His work today is deeply influenced by those experiences and by the understanding that true healing is not simply about "fixing" ourselves — but remembering who we are beneath conditioning, fear, and separation.',"Alejandro is also certified in Reiki and Magnified Healing and has spent years studying various spiritual traditions and philosophies, including teachings connected to Tibetan practices, Hindu philosophy, energetic healing, meditation, and esoteric wisdom traditions. His approach, however, is intentionally grounded and integrative.","Rather than promoting escapism or spiritual superiority, his work focuses on embodiment, emotional honesty, nervous system awareness, self-responsibility, connection to nature, and creating real transformation that can be lived and integrated into everyday life.","Many people are drawn to Alejandro because of his ability to bridge worlds that are often separated — spirituality and groundedness, science and intuition, healing and accountability, expansion and practicality.","His work invites people to move beyond surface-level self-development and into deeper remembrance."],v7=["Through his retreats and immersive experiences, Alejandro creates spaces where people can safely explore transformation while reconnecting with the natural intelligence of the body, the heart, and the soul.","His retreat series, The Becoming, was born from this intention.","More than simply wellness retreats, these experiences are designed as transformational containers that combine nature immersion, emotional healing, energetic activation, nervous system regulation, sacred site exploration, group integration, and deep self-inquiry.","Each location is intentionally chosen for its energetic qualities and ability to support a different aspect of transformation.","From the lush spiritual landscapes of Bali, to the grounding coastal energies of Australia, to the ancient heart-centered frequencies of Hawaii, every experience is crafted with intention, depth, and reverence.","At the core of Alejandro's vision is something much bigger than retreats themselves.","He is actively working toward creating eco-friendly, self-sustained sanctuary spaces around the world — spaces where healing, education, sustainability, culture, nature, and conscious community can coexist in harmony. Spaces designed not only for personal transformation, but for collective evolution and reconnection with a more sustainable way of living.","This vision includes regenerative land projects, cultural preservation initiatives, educational experiences, nature-integrated architecture, and collaborations that honor indigenous wisdom and the Earth itself."],w7=[{left:"Spirituality",right:"Groundedness"},{left:"Science",right:"Intuition"},{left:"Healing",right:"Accountability"},{left:"Expansion",right:"Practicality"}];function b7(){return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/d36ba8d36_ScreenShot2026-05-18at10453PM.png",alt:"Alejandro Salomone",className:"w-full h-full object-cover object-top"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/50 via-black/30 to-black/80"})]}),i.jsx("div",{className:"relative z-10 text-center px-6 max-w-3xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:30}
362,animate:{opacity:1,y:0},transition:{duration:1},children:[i.jsx("p",{className:"text-amber-300/80 tracking-[0.4em] uppercase text-xs font-light mb-6",children:"Bravery Living"}),i.jsxs("h1",{className:"text-5xl md:text-7xl font-light text-white tracking-tight leading-[0.9]",children:["Meet",i.jsx("br",{}),i.jsx("span",{className:"italic",children:"Alejandro"})]}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/40 mx-auto my-8"}),i.jsx("p",{className:"text-white/60 font-light text-base md:text-lg leading-relaxed max-w-md mx-auto",children:"Spiritual Guide · Vision Architect · Founder of Bravery Living"})]})}),i.jsx(O.div,{className:"absolute bottom-8 left-1/2 -translate-x-1/2",animate:{y:[0,8,0]},transition:{repeat:1/0,duration:2},children:i.jsx("div",{className:"w-[1px] h-12 bg-gradient-to-b from-transparent to-white/30"})})]}),i.jsx("section",{className:"py-28 md:py-40 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-8 text-center",children:"His Work"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsx("p",{className:"text-stone-700 text-xl md:text-2xl font-light leading-relaxed mb-8 text-center",children:"Alejandro is a Spiritual Guide, Vision Architect, and the founder of Bravery Living — a platform devoted to helping individuals reconnect with themselves, deepen their awareness, and move through life with greater clarity, alignment, and purpose."}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed text-base md:text-lg text-center",children:"His work bridges spirituality, emotional healing, consciousness, energetic awareness, human potential, and grounded transformation. Through retreats, private mentorship, energy work, public speaking, and immersive experiences around the world, Alejandro guides people back into deeper relationship with themselves, nature, spirit, and the intelligence of the heart."})]})})}),i.jsx("section",{className:"py-20 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Path"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"But this path was not built overnight."})]}),i.jsx("div",{className:"space-y-7",children:y7.map((e,t)=>i.jsx(O.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.04},className:`font-light leading-relaxed ${e.startsWith("From the outside")||e.startsWith("Yet internally")||e.startsWith("That realization")||e.startsWith("To slow down")||e.startsWith("To feel")||e.startsWith("To reconnect")||e.startsWith("To listen")?"text-white/40 italic text-base md:text-lg text-center":"text-white/60 text-base md:text-lg"}`,children:e},t))})]})}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"His Approach"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Bridging Worlds Often Kept Separate"})]}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-px bg-stone-200",children:w7.map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.08},className:"bg-white px-6 py-8 text-center",children:[i.jsx("p",{className:"text-stone-800 font-light text-sm mb-2",children:e.left}),i.jsx("div",{className:"w-4 h-px bg-amber-500/40 mx-auto mb-2"}),i.jsx("p",{className:"text-stone-500 font-light text-sm",children:e.right})]},t))})]})}),i.jsxs("section",{className:"grid grid-cols-2 gap-1 bg-stone-900",children:[i.jsx("div",{className:"overflow-hidden h-[50vh] md:h-[65vh]",children:i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/7a7f495e9_ChatGPT_Image_May_18__2026__01_11_28_PM.png",alt:"Alejandro at sunset",className:"w-full h-full object-cover object-center hover:scale-105 transition-transform duration-700"})}),i.jsx("div",{className:"overflow-hidden h-[50vh] md:h-[65vh]",children:i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/593a2faed_ScreenShot2026-05-18at10504PM.png",alt:"Alejandro portrait",className:"w-full h-full object-cover object-top hover:scale-105 transition-transform duration-700"})})]}),i.jsxs("section",{className:"h-[60vh] relative overflow-hidden",children:[i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/6d12f66aa_generated_image.png",alt:"Nature",className:"w-full h-full object-cover object-center"}),i.jsx("div",{className:"absolute inset-0 bg-black/30"}),i.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:i.jsx(O.div,{initial:{opacity:0}
362,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1},className:"text-center px-6",children:i.jsx("p",{className:"text-white/60 font-light text-lg md:text-xl italic",children:"To slow down. To feel. To reconnect. To listen."})})})]}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-3xl mx-auto space-y-7",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-10",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"The Becoming & The Vision"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Something Much Bigger Than Retreats"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mt-8"})]}),v7.map((e,t)=>i.jsx(O.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.04},className:"text-stone-600 font-light leading-relaxed text-base md:text-lg",children:e},t))]})}),i.jsx("section",{className:"py-24 md:py-36 px-6 bg-stone-900 text-white",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-10",children:"For Alejandro, this work is ultimately about"}),i.jsxs("div",{className:"space-y-5 text-white/60 font-light text-lg md:text-xl leading-relaxed",children:[i.jsx("p",{children:"Remembering our connection to ourselves."}),i.jsx("p",{children:"Remembering our connection to one another."}),i.jsx("p",{children:"Remembering our connection to nature & source."})]}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/20 mx-auto my-12"}),i.jsx("p",{className:"text-white/40 font-light leading-relaxed max-w-xl mx-auto text-base md:text-lg italic mb-4",children:"And remembering that beneath all conditioning, fear, and separation, there is something deeply sacred within every human being waiting to be rediscovered."}),i.jsx("div",{className:"mt-14 border border-amber-400/20 bg-stone-800/60 px-8 py-8 max-w-xl mx-auto",children:i.jsx("p",{className:"text-amber-300/80 font-light text-lg md:text-xl italic leading-relaxed",children:'"His mission is not to position himself as someone people should follow. It is to help people remember how to trust themselves again."'})})]})})}),i.jsx(vs,{}),i.jsxs("section",{className:"relative py-32 px-6 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/fcb138fe9_generated_image.png",alt:"",className:"w-full h-full object-cover object-center"}),i.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),i.jsx("div",{className:"relative z-10 max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-300/80 font-light text-lg md:text-xl italic mb-10",children:"If you feel called to this work, the door is open."}),i.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4",children:[i.jsx(Me,{to:"/RetreatSeries",className:"px-10 py-4 border border-amber-400/40 text-amber-200 text-xs tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Explore The Becoming"}),i.jsx(Me,{to:"/",className:"px-10 py-4 border border-white/20 text-white/60 text-xs tracking-[0.2em] uppercase font-light hover:bg-white/5 transition-all duration-500",children:"View Bali Experience"})]})]})})]}),i.jsx("footer",{className:"py-8 px-6 bg-stone-950 text-center",children:i.jsx("p",{className:"text-white/20 text-xs tracking-[0.2em] uppercase",children:"© 2026 The Becoming · All Rights Reserved"})})]})}const _7="https://www.gofundme.com/f/help-build-selfsustaining-healing-spaces",j7=[{image:"https://images.unsplash.com/photo-1501854140801-50d01698950b?w=600&q=80",title:"Regenerative Living",desc:"Self-sustained systems rooted in ecological responsibility — food, energy, water, and land working in harmony."},{image:"https://images.unsplash.com/photo-1448375240586-882707db888b?w=600&q=80",title:"Nature-Integrated Architecture",desc:"Spaces built with and for the Earth — structures that breathe with the land rather than stand against it."},{image:"https://images.unsplash.com/photo-1545389336-cf090694435e?w=600&q=80",title:"Healing & Education Centers",desc:"Permanent spaces dedicated to inner work, somatic healing, and the wisdom traditions that serve human awakening."},{image:"https://images.unsplash.com/photo-1425913397330-cf8af2ff40a1?w=600&q=80",title:"Indigenous Collaboration",desc:"Deep reverence and active partnership with the indigenous cultures and wisdom keepers of each land we inhabit."},{image:"https://images.unsplash.com/photo-1464226184884-fa280b87c399?w=600&q=80",title:"Food & Land Sustainability",desc:"Initiatives that restore the relationship between people and the land — growing, tending, and living with intention."},{image:"https://images.unsplash.com/photo-1510797215324-95aa89f43c33?w=600&q=80",title:"Community Gathering Spaces",desc:"Places where people remember how to gather with depth — circles, ceremonies, and shared presence at the center."}],N7=[25,50,100,250,500];function S7(){const[e,t]=N.useState(100),[n,s]=N.useState(""),[l,c]=N.useState(!1),[d,m]=N.useState(!1),[f,x]=N.useState(null),y=l?parseFloat(n):e,v=async()=>{var _;if(!y||y<1){x("Please enter a valid amount (minimum $1).");return}m(!0),x(null);try{const S=await Ke.functions.invoke("createDonationCheckout",{amount:y});(_=S.data)!=null&&_.redirectUrl?window.location.href=S.data.redirectUrl:x("Something went wrong. Please try again.")}catch{x("Unable to initiate checkout. Please try again.")}finally{m(!1)}};return i.jsx("section",{id:"donate",className:"py-28 md:py-36 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"Support The Mission"}),i.jsx("h2",{className:"text-3xl md:text-5xl font-light text-stone-800 tracking-tight mb-6",children:"Become a Contributor"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-10"}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed text-base md:text-lg max-w-2xl mx-auto",children:"Every contribution — large or small — goes directly toward building the sanctuaries, funding the land, and sustaining the infrastru
362cture of this vision. You don't need to attend a retreat to be part of this work."})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-8 lg:gap-12",children:[i.jsxs(O.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},className:"bg-white border border-stone-200 p-8 md:p-10 flex flex-col",children:[i.jsxs("div",{className:"mb-6",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.2em] uppercase text-xs mb-3",children:"Campaign"}),i.jsx("h3",{className:"text-stone-800 font-light text-2xl mb-4",children:"GoFundMe"}),i.jsx("div",{className:"w-8 h-px bg-amber-600/30 mb-5"}),i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed",children:"Join our community campaign on GoFundMe. Share it with your network, contribute what feels right, and help spread this vision to those who feel called to be part of it."})]}),i.jsx("ul",{className:"space-y-3 mb-8 mt-auto",children:["Public campaign page with progress updates","Easy sharing with friends & community","Transparent fund tracking"].map((_,S)=>i.jsxs("li",{className:"flex items-start gap-2 text-stone-500 font-light text-sm",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),_]},S))}),i.jsxs("a",{href:_7,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 w-full py-4 border border-amber-600/40 text-amber-700 text-sm tracking-[0.15em] uppercase font-light hover:bg-amber-50 transition-all duration-300",children:[i.jsx(f4,{className:"w-4 h-4"}),"Visit GoFundMe Campaign"]})]}),i.jsxs(O.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"bg-stone-900 p-8 md:p-10 flex flex-col",children:[i.jsxs("div",{className:"mb-6",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.2em] uppercase text-xs mb-3",children:"Direct Contribution"}),i.jsx("h3",{className:"text-white font-light text-2xl mb-4",children:"Donate Directly"}),i.jsx("div",{className:"w-8 h-px bg-amber-400/20 mb-5"}),i.jsx("p",{className:"text-white/50 font-light text-sm leading-relaxed",children:"Make a one-time contribution directly through secure checkout. 100% goes toward the vision."})]}),i.jsxs("div",{className:"mb-6",children:[i.jsx("p",{className:"text-white/40 text-xs tracking-[0.15em] uppercase mb-3",children:"Select Amount"}),i.jsx("div",{className:"grid grid-cols-5 gap-2 mb-3",children:N7.map(_=>i.jsxs("button",{onClick:()=>{t(_),c(!1),x(null)},className:`py-2 text-sm font-light transition-all duration-200 ${!l&&e===_?"bg-amber-500/30 text-amber-200 border border-amber-400/40":"border border-white/10 text-white/50 hover:border-amber-400/30 hover:text-white/70"}`,children:["$",_]},_))}),i.jsxs("div",{className:"relative",children:[i.jsx("span",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-white/30 text-sm",children:"$"}),i.jsx("input",{type:"number",placeholder:"Custom amount",value:n,onChange:_=>{s(_.target.value),c(!0),x(null)},onFocus:()=>c(!0),className:`w-full pl-7 pr-4 py-2.5 bg-transparent border text-white/70 font-light text-sm placeholder-white/20 focus:outline-none transition-colors ${l?"border-amber-400/40":"border-white/10"}`})]})]}),f&&i.jsx("p",{className:"text-red-400 text-xs mb-4",children:f}),i.jsx("button",{onClick:v,disabled:d||!y,className:"mt-auto flex items-center justify-center gap-2 w-full py-4 bg-amber-700/80 text-white text-sm tracking-[0.15em] uppercase font-light hover:bg-amber-700 transition-all duration-300 disabled:opacity-50",children:d?i.jsxs(i.Fragment,{children:[i.jsx(Wn,{className:"w-4 h-4 animate-spin"}),"Processing…"]}):i.jsxs(i.Fragment,{children:[i.jsx(Sj,{className:"w-4 h-4"}),"Donate ",y?`$${y}`:""]})}),i.jsx("p",{className:"text-white/20 text-xs text-center mt-3 font-light",children:"Secure checkout via Base44 Payments"})]})]})]})})}function k7(){return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsxs("section",{className:"relative min-h-[70vh] flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1550542442-d5c354329585?w=1920&q=80",alt:"Vision",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/30 via-black/20 to-black/40"})]}),i.jsx("div",{className:"absolute top-6 left-6 z-20"}),i.jsx("div",{className:"relative z-10 text-center px-6 max-w-4xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:30}
362,animate:{opacity:1,y:0},transition:{duration:1},children:[i.jsx("p",{className:"text-amber-300/90 tracking-[0.35em] uppercase text-xs md:text-sm font-light mb-6",children:"Beyond The Retreats"}),i.jsxs("h1",{className:"text-5xl md:text-7xl lg:text-8xl font-light text-white tracking-tight leading-[0.9]",children:["A Greater",i.jsx("br",{}),i.jsx("span",{className:"italic",children:"Vision"})]}),i.jsx("p",{className:"text-white/60 mt-8 text-base md:text-lg font-light max-w-xl mx-auto leading-relaxed",children:"The Becoming was never created to simply host retreats. It was born from a much bigger calling."}),i.jsx("a",{href:"#donate",className:"inline-block mt-10 px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Support This Mission"})]})})]}),i.jsx("section",{className:"py-28 md:py-40 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-8",children:"The Mission"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsx("p",{className:"text-stone-700 text-xl md:text-2xl font-light leading-relaxed mb-8 italic",children:"This is where transformation becomes permanent."}),i.jsxs("div",{className:"space-y-6 text-stone-500 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"The Becoming was born from a much b
362igger vision — one centered around healing, reconnection, sustainability, and the evolution of human consciousness."}),i.jsxs("p",{children:["A portion of the funds generated through these experiences goes toward the long-term mission of building ",i.jsx("span",{className:"text-amber-700/80",children:"eco-friendly, self-sustained sanctuaries and retreat spaces around the world"})," — spaces intentionally designed to bring people back into connection with nature, community, spirit, and a more harmonious way of living."]}),i.jsxs("p",{children:["These spaces are envisioned not as luxury escapes — but as ",i.jsx("em",{children:"living examples"})," of what becomes possible when humans choose to live in alignment with the Earth, with each other, and with themselves."]}),i.jsx("p",{className:"text-stone-400 text-sm italic",children:"Every person who joins these experiences becomes part of that vision. Together, we are planting seeds for a different future."})]})]})})}),i.jsx("section",{className:"py-20 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Pillars"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"What We Are Building"})]}),i.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-px bg-white/5",children:j7.map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.07},className:"bg-stone-900 overflow-hidden group",children:[i.jsx("div",{className:"h-44 overflow-hidden",children:i.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover transition-all duration-700 group-hover:scale-105 opacity-70 group-hover:opacity-90"})}),i.jsxs("div",{className:"px-8 py-7",children:[i.jsx("h3",{className:"text-white/80 font-light text-base tracking-wide mb-3",children:e.title}),i.jsx("div",{className:"w-6 h-px bg-amber-400/20 mb-3"}),i.jsx("p",{className:"text-white/40 font-light text-sm leading-relaxed",children:e.desc})]})]},t))})]})}),i.jsx("section",{className:"py-28 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"The Urgency"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Why Now"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mt-8 mb-12"})]}),i.jsx("div",{className:"space-y-8 text-stone-500 font-light text-base md:text-lg leading-relaxed",children:["We are living in a pivotal moment. The old systems — built on separation, extraction, and disconnection — are visibly breaking down. What comes next is not yet written.","The sanctuaries we are building are meant to be living models of a new way — places where people can come to remember who they are, reconnect with the Earth, and return to their communities transformed.","This is not a philanthropic side project. It is the core of why The Becoming exists. The retreats fund the mission. The mission creates the sanctuaries. The sanctuaries carry the work forward — permanently."].map((e,t)=>i.jsx(O.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.1},children:e},t))}),i.jsx(O.div,{initial:{opacity:0}
vendor: 7,899 bytes, line 362
362,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.5},className:"mt-14 border border-amber-700/15 bg-amber-50/60 px-8 py-8 text-center",children:i.jsx("p",{className:"text-stone-700 font-light text-lg md:text-xl italic leading-relaxed",children:'"The future we seek to create begins with the spaces we choose to build today."'})})]})}),i.jsx(S7,{}),i.jsxs("section",{className:"h-[50vh] relative overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1501854140801-50d01698950b?w=1920&q=80",alt:"Nature",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/40"})]}),i.jsx("div",{className:"absolute inset-0 flex items-center justify-center px-6",children:i.jsx(O.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1},className:"text-center",children:i.jsx("p",{className:"text-white/60 font-light text-xs tracking-[0.4em] uppercase",children:"The Earth Is Waiting"})})})]}),i.jsxs("section",{className:"py-20 px-6 bg-stone-950 text-center",children:[i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},children:[i.jsx("p",{className:"text-white/30 font-light text-sm mb-6",children:"Ready to be part of the journey?"}),i.jsx(Me,{to:"/Journeys",className:"inline-block px-10 py-4 border border-amber-400/30 text-amber-200/70 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Explore Journeys"})]}),i.jsx("p",{className:"text-white/10 text-xs tracking-[0.2em] uppercase mt-12",children:"© 2026 The Becoming · All Rights Reserved"})]})]})}function T7(e,t){return N.useReducer((n,s)=>t[n][s]??n,e)}var X0=e=>{const{present:t,children:n}=e,s=C7(t),l=typeof n=="function"?n({present:s.isPresent}):N.Children.only(n),c=Ft(s.ref,P7(l));return typeof n=="function"||s.isPresent?N.cloneElement(l,{ref:c}):null};X0.displayName="Presence";function C7(e){const[t,n]=N.useState(),s=N.useRef(null),l=N.useRef(e),c=N.useRef("none"),d=e?"mounted":"unmounted",[m,f]=T7(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return N.useEffect(()=>{const x=zh(s.current);c.current=m==="mounted"?x:"none"},[m]),hn(()=>{const x=s.current,y=l.current;if(y!==e){const _=c.current,S=zh(x);e?f("MOUNT"):S==="none"||(x==null?void 0:x.display)==="none"?f("UNMOUNT"):f(y&&_!==S?"ANIMATION_OUT":"UNMOUNT"),l.current=e}},[e,f]),hn(()=>{if(t){let x;const y=t.ownerDocument.defaultView??window,v=S=>{const k=zh(s.current).includes(CSS.escape(S.animationName));if(S.target===t&&k&&(f("ANIMATION_END"),!l.current)){const P=t.style.animationFillMode;t.style.animationFillMode="forwards",x=y.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=P)})}},_=S=>{S.target===t&&(c.current=zh(s.current))};return t.addEventListener("animationstart",_),t.addEventListener("animationcancel",v),t.addEventListener("animationend",v),()=>{y.clearTimeout(x),t.removeEventListener("animationstart",_),t.removeEventListener("animationcancel",v),t.removeEventListener("animationend",v)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:N.useCallback(x=>{s.current=x?getComputedStyle(x):null,n(x)},[])}}function zh(e){return(e==null?void 0:e.animationName)||"none"}function P7(e){var s,l;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(l=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:l.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var sf="Checkbox",[E7]=Ql(sf),[A7,ey]=E7(sf);function R7(e){const{__scopeCheckbox:t,checked:n,children:s,defaultChecked:l,disabled:c,form:d,name:m,onCheckedChange:f,required:x,value:y="on",internal_do_not_use_render:v}=e,[_,S]=Hl({prop:n,defaultProp:l??!1,onChange:f,caller:sf}),[E,k]=N.useState(null),[P,T]=N.useState(null),A=N.useRef(!1),I=E?!!d||!!E.closest("form"):!0,D={checked:_,disabled:c,setChecked:S,control:E,setControl:k,name:m,form:d,value:y,hasConsumerStoppedPropagationRef:A,required:x,defaultChecked:na(l)?!1:l,isFormControl:I,bubbleInput:P,setBubbleInput:T};return i.jsx(A7,{scope:t,...D,children:L7(v)?v(D):s})}var pk="CheckboxTrigger",gk=N.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...s},l)=>{const{control:c,value:d,disabled:m,checked:f,required:x,setControl:y,setChecked:v,hasConsumerStoppedPropagationRef:_,isFormControl:S,bubbleInput:E}=ey(pk,e),k=Ft(l,y),P=N.useRef(f);return N.useEffect(()=>{const T=c==null?void 0:c.form;if(T){const A=()=>v(P.current);return T.addEventListener("reset",A),()=>T.removeEventListener("reset",A)}},[c,v]),i.jsx(mt.button,{type:"button",role:"checkbox","aria-checked":na(f)?"mixed":f,"aria-required":x,"data-state":bk(f),"data-disabled":m?"":void 0,disabled:m,value:d,...s,ref:k,onKeyDown:kt(t,T=>{T.key==="Enter"&&T.preventDefault()}),onClick:kt(n,T=>{v(A=>na(A)?!0:!A),E&&S&&(_.current=T.isPropagationStopped(),_.current||T.stopPropagation())})})});gk.displayName=pk;var ty=N.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:s,checked:l,defaultChecked:c,required:d,disabled:m,value:f,onCheckedChange:x,form:y,...v}=e;return i.jsx(R7,{__scopeCheckbox:n,checked:l,defaultChecked:c,disabled:m,required:d,onCheckedChange:x,name:s,form:y,value:f,internal_do_not_use_render:({isFormControl:_})=>i.jsxs(i.Fragment,{children:[i.jsx(gk,{...v,ref:t,__scopeCheckbox:n}),_&&i.jsx(wk,{__scopeCheckbox:n})]})})});ty.displayName=sf;var xk="CheckboxIndicator",yk=N.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:s,...l}=e,c=ey(xk,n);return i.jsx(X0,{present:s||na(c.checked)||c.checked===!0,children:i.jsx(mt.span,{"data-state":bk(c.checked),"data-disabled":c.disabled?"":void 0,...l,ref:t,style:{pointerEvents:"none",...e.style}})})});yk.displayName=xk;var vk="CheckboxBubbleInput",wk=N.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:s,hasConsumerStoppedPropagationRef:l,checked:c,defaultChecked:d,required:m,disabled:f,name:x,value:y,form:v,bubbleInput:_,setBubbleInput:S}=ey(vk,e),E=Ft(n,S),k=xS(c),P=rS(s);N.useEffect(()=>{const A=_;if(!A)return;const I=window.HTMLInputElement.prototype,B=Object.getOwnPropertyDescriptor(I,"checked").set,G=!l.current;if(k!==c&&B){const K=new Event("click",{bubbles:G});A.indeterminate=na(c),B.call(A,na(c)?!1:c),A.dispatchEvent(K)}},[_,k,c,l]);const T=N.useRef(na(c)?!1:c);return i.jsx(mt.input,{type:"checkbox","aria-hidden":!0,defaultChecked:d??T.current,required:m,disabled:f,name:x,value:y,form:v,...t,tabIndex:-1,ref:E,style:{...t.style,...P,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});wk.displayName=vk;function L7(e){return typeof e=="function"}function na(e){return e==="indeterminate"}function bk(e){return na(e)?"indeterminate":e?"checked":"unchecked"}const _k=N.forwardRef(({className:e,...t},n)=>i.jsx(ty,{ref:n,className:Dt("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t,children:i.jsx(yk,{className:Dt("flex items-center justify-center text-current"),children:i.jsx(Am,{className:"h-4 w-4"})})}));_k.displayName=ty.displayName;const I7=["Attend a gathering","Host a gathering","Offer my home for accommodation","Help organize a local event","Volunteer","Stay updated"],M7=["5-10","10-20","20-40","40+"],O7=["Yes","Maybe","No"],yl="bg-white border-stone-200 focus:border-amber-500 rounded-none h-12",Cg="bg-white border-stone-200 focus:border-amber-500 rounded-none min-h-[120px] resize-none",bi="text-stone-600 text-xs tracking-wider up
362percase mb-2 block";function D7(){const[e,t]=N.useState({name:"",email:"",phone:"",city:"",country:"",referral:"",interests:[],space_type:"",gathering_capacity:"",accommodation_available:"",about_you:"",anything_else:""}),[n,s]=N.useState(!1),[l,c]=N.useState(!1),d=(x,y)=>t(v=>({...v,[x]:y})),m=x=>{t(y=>({...y,interests:y.interests.includes(x)?y.interests.filter(v=>v!==x):[...y.interests,x]}))},f=async x=>{x.preventDefault(),s(!0);try{const y=await Ke.entities.PilgrimageRegistration.create({...e,accommodation_available:e.accommodation_available?e.accommodation_available.toLowerCase():""});Ke.functions.invoke("sendPilgrimageEmails",{registration:y}).catch(console.error),c(!0)}catch(y){console.error(y)}finally{s(!1)}};return l?i.jsxs(O.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center py-16",children:[i.jsx(Rm,{className:"w-12 h-12 text-amber-600/70 mx-auto mb-6"}),i.jsx("h3",{className:"text-2xl font-light text-stone-800 mb-3",children:"You're On The Journey"}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed max-w-md mx-auto",children:"Thank you for joining The Becoming Pilgrimage. We'll be in touch as the journey unfolds and when gatherings are planned near you."})]}):i.jsxs("form",{onSubmit:f,className:"space-y-8",children:[i.jsxs("div",{className:"grid md:grid-cols-2 gap-5",children:[i.jsxs("div",{children:[i.jsx(Xe,{className:bi,children:"Name *"}),i.jsx(Qt,{value:e.name,onChange:x=>d("name",x.target.value),className:yl,placeholder:"Your full name",required:!0})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:bi,children:"Email *"}),i.jsx(Qt,{type:"email",value:e.email,onChange:x=>d("email",x.target.value),className:yl,placeholder:"[email protected]",required:!0})]})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-5",children:[i.jsxs("div",{children:[i.jsx(Xe,{className:bi,children:"Phone (optional)"}),i.jsx(Qt,{value:e.phone,onChange:x=>d("phone",x.target.value),className:yl,placeholder:"+1 (555) 000-0000"})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:bi,children:"City *"}),i.jsx(Qt,{value:e.city,onChange:x=>d("city",x.target.value),className:yl,placeholder:"Your city",required:!0})]})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:bi,children:"Country *"}),i.jsx(Qt,{value:e.country,onChange:x=>d("country",x.target.value),className:yl,placeholder:"Your country",required:!0})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:bi,children:"How did you hear about this journey?"}),i.jsx(Qt,{value:e.referral,onChange:x=>d("referral",x.target.value),className:yl,placeholder:"Where did you first hear about it?"})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:bi,children:"I'd love to…"}),i.jsx("div",{className:"grid sm:grid-cols-2 gap-3 mt-2",children:I7.map(x=>i.jsxs("div",{className:"flex items-center gap-3 py-2",children:[i.jsx(_k,{id:`interest-${x}`,checked:e.interests.includes(x),onCheckedChange:()=>m(x)}),i.jsx(Xe,{htmlFor:`interest-${x}`,className:"text-stone-600 font-light text-sm cursor-pointer",children:x})]},x))})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:bi,children:"Tell me about your space"}),i.jsx(Rn,{value:e.space_type,onChange:x=>d("space_type",x.target.value),className:Cg,placeholder:"Type of home, garden, studio, retreat center, apartment, etc."})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:bi,children:"Approximately how many people could comfortably gather?"}),i.jsxs(Ix,{value:e.gathering_capacity,onValueChange:x=>d("gathering_capacity",x),children:[i.jsx(Sm,{className:"bg-white border-stone-200 rounded-none h-12",children:i.jsx(Mx,{placeholder:"Select a range"})}),i.jsx(km,{children:M7.map(x=>i.jsx(zr,{value:x,children:x},x))})]})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:bi,children:"Do you have accommodation available?"}),i.jsx("div",{className:"flex flex-wrap gap-3 mt-2",children:O7.map(x=>i.jsx("button",{type:"button",onClick:()=>d("accommodation_available",x),className:`px-6 py-3 border text-sm font-light tracking-wider transition-all ${e.accommodation_available===x?"border-amber-500/50 bg-amber-50/60 text-stone-800":"border-stone-200 bg-white text-stone-500 hover:border-amber-300/40"}`,children:x},x))})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:bi,children:"Tell me a little about yourself and what inspired you to reach out."}
362),i.jsx(Rn,{value:e.about_you,onChange:x=>d("about_you",x.target.value),className:Cg,placeholder:"Share a little about you and what drew you here…"})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:bi,children:"Anything else you'd like me to know?"}),i.jsx(Rn,{value:e.anything_else,onChange:x=>d("anything_else",x.target.value),className:Cg,placeholder:"Anything else on your heart…"})]}),i.jsx(ta,{type:"submit",disabled:n,className:"w-full h-14 bg-stone-900 hover:bg-stone-800 text-amber-200 rounded-none tracking-[0.2em] uppercase text-xs font-light",children:n?i.jsx(Wn,{className:"w-4 h-4 animate-spin"}):"Join The Pilgrimage"})]})}function F7(e,t){const n=N.useRef(t);N.useEffect(function(){t!==n.current&&e.attributionControl!=null&&(n.current!=null&&e.attributionControl.removeAttribution(n.current),t!=null&&e.attributionControl.addAttribution(t)),n.current=t},[e,t])}const B7=1;function V7(e){return Object.freeze({__version:B7,map:e})}function jk(e,t){return Object.freeze({...e,...t})}const Nk=N.createContext(null),Sk=Nk.Provider;function kk(){const e=N.useContext(Nk);if(e==null)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return e}function Tk(e){function t(n,s){const{instance:l,context:c}=e(n).current;return N.useImperativeHandle(s,()=>l),n.children==null?null:Tt.createElement(Sk,{value:c},n.children)}return N.forwardRef(t)}function z7(e){function t(n,s){const{instance:l}=e(n).current;return N.useImperativeHandle(s,()=>l),null}return N.forwardRef(t)}function Ck(e,t){const n=N.useRef();N.useEffect(function(){return t!=null&&e.instance.on(t),n.current=t,function(){n.current!=null&&e.instance.off(n.current),n.current=null}},[e,t])}function ny(e,t){const n=e.pane??t.pane;return n?{...e,pane:n}:e}var mu={exports:{}};/* @preserve
363 * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
364 * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
365 */var U7=mu.exports,sj;function $7(){return sj||(sj=1,(function(e,t){(function(n,s){s(t)})(U7,(function(n){var s="1.9.4";function l(a){var u,p,w,C;for(p=1,w=arguments.length;p<w;p++){C=arguments[p];for(u in C)a[u]=C[u]}return a}var c=Object.create||(function(){function a(){}return function(u){return a.prototype=u,new a}})();function d(a,u){var p=Array.prototype.slice;if(a.bind)return a.bind.apply(a,p.call(arguments,1));var w=p.call(arguments,2);return function(){return a.apply(u,w.length?w.concat(p.call(arguments)):arguments)}}var m=0;function f(a){return"_leaflet_id"in a||(a._leaflet_id=++m),a._leaflet_id}function x(a,u,p){var w,C,M,V;return V=function(){w=!1,C&&(M.apply(p,C),C=!1)},M=function(){w?C=arguments:(a.apply(p,arguments),setTimeout(V,u),w=!0)},M}function y(a,u,p){var w=u[1],C=u[0],M=w-C;return a===w&&p?a:((a-C)%M+M)%M+C}function v(){return!1}function _(a,u){if(u===!1)return a;var p=Math.pow(10,u===void 0?6:u);return Math.round(a*p)/p}function S(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function E(a){return S(a).split(/\s+/)}function k(a,u){Object.prototype.hasOwnProperty.call(a,"options")||(a.options=a.options?c(a.options):{});for(var p in u)a.options[p]=u[p];return a.options}function P(a,u,p){var w=[];for(var C in a)w.push(encodeURIComponent(p?C.toUpperCase():C)+"="+encodeURIComponent(a[C]));return(!u||u.indexOf("?")===-1?"?":"&")+w.join("&")}var T=/\{ *([\w_ -]+) *\}/g;function A(a,u){return a.replace(T,function(p,w){var C=u[w];if(C===void 0)throw new Error("No value provided for variable "+p);return typeof C=="function"&&(C=C(u)),C})}var I=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function D(a,u){for(var p=0;p<a.length;p++)if(a[p]===u)return p;return-1}var B="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function G(a){return window["webkit"+a]||window["moz"+a]||window["ms"+a]}var K=0;function W(a){var u=+new Date,p=Math.max(0,16-(u-K));return K=u+p,window.setTimeout(a,p)}var se=window.requestAnimationFrame||G("RequestAnimationFrame")||W,de=window.cancelAnimationFrame||G("CancelAnimationFrame")||G("CancelRequestAnimationFrame")||function(a){window.clearTimeout(a)};function fe(a,u,p){if(p&&se===W)a.call(u);else return se.call(window,d(a,u))}function ve(a){a&&de.call(window,a)}var Ae={__proto__:null,extend:l,create:c,bind:d,get lastId(){return m},stamp:f,throttle:x,wrapNum:y,falseFn:v,formatNum:_,trim:S,splitWords:E,setOptions:k,getParamString:P,template:A,isArray:I,indexOf:D,emptyImageUrl:B,requestFn:se,cancelFn:de,requestAnimFrame:fe,cancelAnimFrame:ve};function xe(){}xe.extend=function(a){var u=function(){k(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},p=u.__super__=this.prototype,w=c(p);w.constructor=u,u.prototype=w;for(var C in this)Object.prototype.hasOwnProperty.call(this,C)&&C!=="prototype"&&C!=="__super__"&&(u[C]=this[C]);return a.statics&&l(u,a.statics),a.includes&&(Oe(a.includes),l.apply(null,[w].concat(a.includes))),l(w,a),delete w.statics,delete w.includes,w.options&&(w.options=p.options?c(p.options):{},l(w.options,a.options)),w._initHooks=[],w.callInitHooks=function(){if(!this._initHooksCalled){p.callInitHooks&&p.callInitHooks.call(this),this._initHooksCalled=!0;for(var M=0,V=w._initHooks.length;M<V;M++)w._initHooks[M].call(this)}},u},xe.include=function(a){var u=this.prototype.options;return l(this.prototype,a),a.options&&(this.prototype.options=u,this.mergeOptions(a.options)),this},xe.mergeOptions=function(a){return l(this.prototype.options,a),this},xe.addInitHook=function(a){var u=Array.prototype.slice.call(arguments,1
365),p=typeof a=="function"?a:function(){this[a].apply(this,u)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(p),this};function Oe(a){if(!(typeof L>"u"||!L||!L.Mixin)){a=I(a)?a:[a];for(var u=0;u<a.length;u++)a[u]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var le={on:function(a,u,p){if(typeof a=="object")for(var w in a)this._on(w,a[w],u);else{a=E(a);for(var C=0,M=a.length;C<M;C++)this._on(a[C],u,p)}return this},off:function(a,u,p){if(!arguments.length)delete this._events;else if(typeof a=="object")for(var w in a)this._off(w,a[w],u);else{a=E(a);for(var C=arguments.length===1,M=0,V=a.length;M<V;M++)C?this._off(a[M]):this._off(a[M],u,p)}return this},_on:function(a,u,p,w){if(typeof u!="function"){console.warn("wrong listener type: "+typeof u);return}if(this._listens(a,u,p)===!1){p===this&&(p=void 0);var C={fn:u,ctx:p};w&&(C.once=!0),this._events=this._events||{},this._events[a]=this._events[a]||[],this._events[a].push(C)}},_off:function(a,u,p){var w,C,M;if(this._events&&(w=this._events[a],!!w)){if(arguments.length===1){if(this._firingCount)for(C=0,M=w.length;C<M;C++)w[C].fn=v;delete this._events[a];return}if(typeof u!="function"){console.warn("wrong listener type: "+typeof u);return}var V=this._listens(a,u,p);if(V!==!1){var J=w[V];this._firingCount&&(J.fn=v,this._events[a]=w=w.slice()),w.splice(V,1)}}},fire:function(a,u,p){if(!this.listens(a,p))return this;var w=l({},u,{type:a,target:this,sourceTarget:u&&u.sourceTarget||this});if(this._events){var C=this._events[a];if(C){this._firingCount=this._firingCount+1||1;for(var M=0,V=C.length;M<V;M++){var J=C[M],ee=J.fn;J.once&&this.off(a,ee,J.ctx),ee.call(J.ctx||this,w)}this._firingCount--}}return p&&this._propagateEvent(w),this},listens:function(a,u,p,w){typeof a!="string"&&console.warn('"string" type argument expected');var C=u;typeof u!="function"&&(w=!!u,C=void 0,p=void 0);var M=this._events&&this._events[a];if(M&&M.length&&this._listens(a,C,p)!==!1)return!0;if(w){for(var V in this._eventParents)if(this._eventParents[V].listens(a,u,p,w))return!0}return!1},_listens:function(a,u,p){if(!this._events)return!1;var w=this._events[a]||[];if(!u)return!!w.length;p===this&&(p=void 0);for(var C=0,M=w.length;C<M;C++)if(w[C].fn===u&&w[C].ctx===p)return C;return!1},once:function(a,u,p){if(typeof a=="object")for(var w in a)this._on(w,a[w],u,!0);else{a=E(a);for(var C=0,M=a.length;C<M;C++)this._on(a[C],u,p,!0)}return this},addEventParent:function(a){return this._eventParents=this._eventParents||{},this._eventParents[f(a)]=a,this},removeEventParent:function(a){return this._eventParents&&delete this._eventParents[f(a)],this},_propagateEvent:function(a){for(var u in this._eventParents)this._eventParents[u].fire(a.type,l({layer:a.target,propagatedFrom:a.target},a),!0)}};le.addEventListener=le.on,le.removeEventListener=le.clearAllEventListeners=le.off,le.addOneTimeEventListener=le.once,le.fireEvent=le.fire,le.hasEventListeners=le.listens;var he=xe.extend(le);function Y(a,u,p){this.x=p?Math.round(a):a,this.y=p?Math.round(u):u}var me=Math.trunc||function(a){return a>0?Math.floor(a):Math.ceil(a)};Y.prototype={clone:function(){return new Y(this.x,this.y)},add:function(a){return this.clone()._add(Z(a))},_add:function(a){return this.x+=a.x,this.y+=a.y,this},subtract:function(a){return this.clone()._subtract(Z(a))},_subtract:function(a){return this.x-=a.x,this.y-=a.y,this},divideBy:function(a){return this.clone()._divideBy(a)},_divideBy:function(a){return this.x/=a,this.y/=a,this},multiplyBy:function(a){return this.clone()._multiplyBy(a)},_multiplyBy:function(a){return this.x*=a,this.y*=a,this},scaleBy:function(a){return new Y(this.x*a.x,this.y*a.y)},unscaleBy:function(a){return new Y(this.x/a.x,this.y/a.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=me(this.x),this.y=me(this.y),this},distanceTo:function(a){a=Z(a);var u=a.x-this.x,p=a.y-this.y;return Math.sqrt(u*u+p*p)},equals:function(a){return a=Z(a),a.x===this.x&&a.y===this.y},contains:function(a){return a=Z(a),Math.abs(a.x)<=Math.abs(this.x)&&Math.abs(a.y)<=Math.abs(this.y)},toString:function(){return"Point("+_(this.x)+", "+_(this.y)+")"}};function Z(a,u,p){return a instanceof Y?a:I(a)?new Y(a[0],a[1]):a==null?a:typeof a=="object"&&"x"in a&&"y"in a?new Y(a.x,a.y):new Y(a,u,p)}function z(a,u){if(a)for(var p=u?[a,u]:a,w=0,C=p.length;w<C;w++)this.extend(p[w])}z.prototype={extend:function(a){var u,p;if(!a)return this;if(a instanceof Y||typeof a[0]=="number"||"x"in a)u=p=Z(a);else if(a=ne(a),u=a.min,p=a.max,!u||!p)return this;return!this.min&&!this.max?(this.min=u.clone(),this.max=p.clone()):(this.min.x=Math.min(u.x,this.min.x),this.max.x=Math.max(p.x,this.max.x),this.min.y=Math.min(u.y,this.min.y),this.max.y=Math.max(p.y,this.max.y)),this},getCenter:function(a){return Z((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,a)},getBottomLeft:function(){return Z(this.min.x,this.max.y)},getTopRight:function(){return Z(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(a){var u,p;return typeof a[0]=="number"||a instanceof Y?a=Z(a):a=ne(a),a instanceof z?(u=a.min,p=a.max):u=p=a,u.x>=this.min.x&&p.x<=this.max.x&&u.y>=this.min.y&&p.y<=this.max.y},intersects:function(a){a=ne(a);var u=this.min,p=this.max,w=a.min,C=a.max,M=C.x>=u.x&&w.x<=p.x,V=C.y>=u.y&&w.y<=p.y;return M&&V},overlaps:function(a){a=ne(a);var u=this.min,p=this.max,w=a.min,C=a.max,M=C.x>u.x&&w.x<p.x,V=C.y>u.y&&w.y<p.y;return M&&V},isValid:function(){return!!(this.min&&this.max)},pad:function(a){var u=this.min,p=this.max,w=Math.abs(u.x-p.x)*a,C=Math.abs(u.y-p.y)*a;return ne(Z(u.x-w,u.y-C),Z(p.x+w,p.y+C))}
365,equals:function(a){return a?(a=ne(a),this.min.equals(a.getTopLeft())&&this.max.equals(a.getBottomRight())):!1}};function ne(a,u){return!a||a instanceof z?a:new z(a,u)}function je(a,u){if(a)for(var p=u?[a,u]:a,w=0,C=p.length;w<C;w++)this.extend(p[w])}je.prototype={extend:function(a){var u=this._southWest,p=this._northEast,w,C;if(a instanceof ge)w=a,C=a;else if(a instanceof je){if(w=a._southWest,C=a._northEast,!w||!C)return this}else return a?this.extend(ie(a)||ye(a)):this;return!u&&!p?(this._southWest=new ge(w.lat,w.lng),this._northEast=new ge(C.lat,C.lng)):(u.lat=Math.min(w.lat,u.lat),u.lng=Math.min(w.lng,u.lng),p.lat=Math.max(C.lat,p.lat),p.lng=Math.max(C.lng,p.lng)),this},pad:function(a){var u=this._southWest,p=this._northEast,w=Math.abs(u.lat-p.lat)*a,C=Math.abs(u.lng-p.lng)*a;return new je(new ge(u.lat-w,u.lng-C),new ge(p.lat+w,p.lng+C))},getCenter:function(){return new ge((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new ge(this.getNorth(),this.getWest())},getSouthEast:function(){return new ge(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(a){typeof a[0]=="number"||a instanceof ge||"lat"in a?a=ie(a):a=ye(a);var u=this._southWest,p=this._northEast,w,C;
365return a instanceof je?(w=a.getSouthWest(),C=a.getNorthEast()):w=C=a,w.lat>=u.lat&&C.lat<=p.lat&&w.lng>=u.lng&&C.lng<=p.lng},intersects:function(a){a=ye(a);var u=this._southWest,p=this._northEast,w=a.getSouthWest(),C=a.getNorthEast(),M=C.lat>=u.lat&&w.lat<=p.lat,V=C.lng>=u.lng&&w.lng<=p.lng;return M&&V},overlaps:function(a){a=ye(a);var u=this._southWest,p=this._northEast,w=a.getSouthWest(),C=a.getNorthEast(),M=C.lat>u.lat&&w.lat<p.lat,V=C.lng>u.lng&&w.lng<p.lng;return M&&V},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(a,u){return a?(a=ye(a),this._southWest.equals(a.getSouthWest(),u)&&this._northEast.equals(a.getNorthEast(),u)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function ye(a,u){return a instanceof je?a:new je(a,u)}function ge(a,u,p){if(isNaN(a)||isNaN(u))throw new Error("Invalid LatLng object: ("+a+", "+u+")");this.lat=+a,this.lng=+u,p!==void 0&&(this.alt=+p)}ge.prototype={equals:function(a,u){if(!a)return!1;a=ie(a);var p=Math.max(Math.abs(this.lat-a.lat),Math.abs(this.lng-a.lng));return p<=(u===void 0?1e-9:u)},toString:function(a){return"LatLng("+_(this.lat,a)+", "+_(this.lng,a)+")"},distanceTo:function(a){return _e.distance(this,ie(a))},wrap:function(){return _e.wrapLatLng(this)},toBounds:function(a){var u=180*a/40075017,p=u/Math.cos(Math.PI/180*this.lat);return ye([this.lat-u,this.lng-p],[this.lat+u,this.lng+p])},clone:function(){return new ge(this.lat,this.lng,this.alt)}};function ie(a,u,p){return a instanceof ge?a:I(a)&&typeof a[0]!="object"?a.length===3?new ge(a[0],a[1],a[2]):a.length===2?new ge(a[0],a[1]):null:a==null?a:typeof a=="object"&&"lat"in a?new ge(a.lat,"lng"in a?a.lng:a.lon,a.alt):u===void 0?null:new ge(a,u,p)}var ce={latLngToPoint:function(a,u){var p=this.projection.project(a),w=this.scale(u);return this.transformation._transform(p,w)},pointToLatLng:function(a,u){var p=this.scale(u),w=this.transformation.untransform(a,p);return this.projection.unproject(w)},project:function(a){return this.projection.project(a)},unproject:function(a){return this.projection.unproject(a)},scale:function(a){return 256*Math.pow(2,a)},zoom:function(a){return Math.log(a/256)/Math.LN2},getProjectedBounds:function(a){if(this.infinite)return null;var u=this.projection.bounds,p=this.scale(a),w=this.transformation.transform(u.min,p),C=this.transformation.transform(u.max,p);return new z(w,C)},infinite:!1,wrapLatLng:function(a){var u=this.wrapLng?y(a.lng,this.wrapLng,!0):a.lng,p=this.wrapLat?y(a.lat,this.wrapLat,!0):a.lat,w=a.alt;return new ge(p,u,w)},wrapLatLngBounds:function(a){var u=a.getCenter(),p=this.wrapLatLng(u),w=u.lat-p.lat,C=u.lng-p.lng;if(w===0&&C===0)return a;
365var M=a.getSouthWest(),V=a.getNorthEast(),J=new ge(M.lat-w,M.lng-C),ee=new ge(V.lat-w,V.lng-C);return new je(J,ee)}},_e=l({},ce,{wrapLng:[-180,180],R:6371e3,distance:function(a,u){var p=Math.PI/180,w=a.lat*p,C=u.lat*p,M=Math.sin((u.lat-a.lat)*p/2),V=Math.sin((u.lng-a.lng)*p/2),J=M*M+Math.cos(w)*Math.cos(C)*V*V,ee=2*Math.atan2(Math.sqrt(J),Math.sqrt(1-J));return this.R*ee}}),ke=6378137,We={R:ke,MAX_LATITUDE:85.0511287798,project:function(a){var u=Math.PI/180,p=this.MAX_LATITUDE,w=Math.max(Math.min(p,a.lat),-p),C=Math.sin(w*u);return new Y(this.R*a.lng*u,this.R*Math.log((1+C)/(1-C))/2)},unproject:function(a){var u=180/Math.PI;return new ge((2*Math.atan(Math.exp(a.y/this.R))-Math.PI/2)*u,a.x*u/this.R)},bounds:(function(){var a=ke*Math.PI;return new z([-a,-a],[a,a])})()};function Ge(a,u,p,w){if(I(a)){this._a=a[0],this._b=a[1],this._c=a[2],this._d=a[3];return}this._a=a,this._b=u,this._c=p,this._d=w}Ge.prototype={transform:function(a,u){return this._transform(a.clone(),u)},_transform:function(a,u){return u=u||1,a.x=u*(this._a*a.x+this._b),a.y=u*(this._c*a.y+this._d),a},untransform:function(a,u){return u=u||1,new Y((a.x/u-this._b)/this._a,(a.y/u-this._d)/this._c)}};function Be(a,u,p,w){return new Ge(a,u,p,w)}var dt=l({},_e,{code:"EPSG:3857",projection:We,transformation:(function(){var a=.5/(Math.PI*We.R);return Be(a,.5,-a,.5)})()}),bt=l({},dt,{code:"EPSG:900913"});function Bt(a){return document.createElementNS("http://www.w3.org/2000/svg",a)}function De(a,u){var p="",w,C,M,V,J,ee;for(w=0,M=a.length;w<M;w++){for(J=a[w],C=0,V=J.length;C<V;C++)ee=J[C],p+=(C?"L":"M")+ee.x+" "+ee.y;p+=u?Le.svg?"z":"x":""}return p||"M0 0"}var gt=document.documentElement.style,Xt="ActiveXObject"in window,en=Xt&&!document.addEventListener,ki="msLaunchUri"in navigator&&!("documentMode"in document),ai=mn("webkit"),oi=mn("android"),nc=mn("android 2")||mn("android 3"),td=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),nd=oi&&mn("Google")&&td<537&&!("AudioNode"in window),bo=!!window.opera,_o=!ki&&mn("chrome"),ma=mn("gecko")&&!ai&&!bo&&!Xt,id=!_o&&mn("safari"),tr=mn("phantom"),nr="OTransition"in gt,cf=navigator.platform.indexOf("Win")===0,ic=Xt&&"transition"in gt,jo="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!nc,sd="MozPerspective"in gt,sc=!window.L_DISABLE_3D&&(ic||jo||sd)&&!nr&&!tr,ws=typeof orientation<"u"||mn("mobile"),rc=ws&&ai,ac=ws&&jo,No=!window.PointerEvent&&window.MSPointerEvent,bs=!!(window.PointerEvent||No),_s="ontouchstart"in window||!!window.TouchEvent,rd=!window.L_NO_TOUCH&&(_s||bs),ad=ws&&bo,od=ws&&ma,ld=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,cd=(function(){var a=!1;try{var u=Object.defineProperty({},"passive",{get:function(){a=!0}});window.addEventListener("testPassiveEventSupport",v,u),window.removeEventListener("testPassiveEventSupport",v,u)}catch{}return a})(),oc=(function(){return!!document.createElement("canvas").getContext})(),So=!!(document.createElementNS&&Bt("svg").createSVGRect),fa=!!So&&(function(){var a=document.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"})(),lc=!So&&(function(){try{var a=document.createElement("div");a.innerHTML='<v:shape adj="1"/>';var u=a.firstChild;return u.style.behavior="url(#default#VML)",u&&typeof u.adj=="object"}catch{return!1}})(),pa=navigator.platform.indexOf("Mac")===0,uf=navigator.platform.indexOf("Linux")===0;function mn(a){return navigator.userAgent.toLowerCase().indexOf(a)>=0}var Le={ie:Xt,ielt9:en,edge:ki,webkit:ai,android:oi,android23:nc,androidStock:nd,opera:bo,chrome:_o,gecko:ma,safari:id,phantom:tr,opera12:nr,win:cf,ie3d:ic,webkit3d:jo,gecko3d:sd,any3d:sc,mobile:ws,mobileWebkit:rc,mobileWebkit3d:ac,msPointer:No,pointer:bs,touch:rd,touchNative:_s,mobileOpera:ad,mobileGecko:od,retina:ld,passiveEvents:cd,canvas:oc,svg:So,vml:lc,inlineSvg:fa,mac:pa,linux:uf},ga=Le.msPointer?"MSPointerDown":"pointerdown",ko=Le.msPointer?"MSPointerMove":"pointermove",ud=Le.msPointer?"MSPointerUp":"pointerup",dd=Le.msPointer?"MSPointerCancel":"pointercancel",cc={touchstart:ga,touchmove:ko,touchend:ud,touchcancel:dd},Yi={touchstart:Ct,touchmove:To,touchend:To,touchcancel:To},js={},uc=!1;function df(a,u,p){return u==="touchstart"&&hf(),Yi[u]?(p=Yi[u].bind(this,p),a.addEventListener(cc[u],p,!1),p):(console.warn("wrong event specified:",u),v)}function hd(a,u,p){if(!cc[u]){console.warn("wrong event specified:",u);return}a.removeEventListener(cc[u],p,!1)}function md(a){js[a.pointerId]=a}function fd(a){js[a.pointerId]&&(js[a.pointerId]=a)}function dc(a){delete js[a.pointerId]}function hf(){uc||(document.addEventListener(ga,md,!0),document.addEventListener(ko,fd,!0),document.addEventListener(ud,dc,!0),document.addEventListener(dd,dc,!0),uc=!0)}function To(a,u){if(u.pointerType!==(u.MSPOINTER_TYPE_MOUSE||"mouse")){u.touches=[];for(var p in js)u.touches.push(js[p]);u.changedTouches=[u],a(u)}}function Ct(a,u){u.MSPOINTER_TYPE_TOUCH&&u.pointerType===u.MSPOINTER_TYPE_TOUCH&&Pt(u),To(a,u)}function mf(a){var u={},p,w;for(w in a)p=a[w],u[w]=p&&p.bind?p.bind(a):p;return a=u,u.type="dblclick",u.detail=2,u.isTrusted=!1,u._simulated=!0,u}var hc=200;function pd(a,u){a.addEventListener("dblclick",u);var p=0,w;
365function C(M){if(M.detail!==1){w=M.detail;return}if(!(M.pointerType==="mouse"||M.sourceCapabilities&&!M.sourceCapabilities.firesTouchEvents)){var V=ks(M);if(!(V.some(function(ee){return ee instanceof HTMLLabelElement&&ee.attributes.for})&&!V.some(function(ee){return ee instanceof HTMLInputElement||ee instanceof HTMLSelectElement}))){var J=Date.now();J-p<=hc?(w++,w===2&&u(mf(M))):w=1,p=J}}}return a.addEventListener("click",C),{dblclick:u,simDblclick:C}}function Co(a,u){a.removeEventListener("dblclick",u.dblclick),a.removeEventListener("click",u.simDblclick)}var mc=ar(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ir=ar(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),xa=ir==="webkitTransition"||ir==="OTransition"?ir+"End":"transitionend";function Hn(a){return typeof a=="string"?document.getElementById(a):a}function ya(a,u){var p=a.style[u]||a.currentStyle&&a.currentStyle[u];if((!p||p==="auto")&&document.defaultView){var w=document.defaultView.getComputedStyle(a,null);p=w?w[u]:null}return p==="auto"?null:p}function Ye(a,u,p){var w=document.createElement(a);return w.className=u||"",p&&p.appendChild(w),w}function _t(a){var u=a.parentNode;u&&u.removeChild(a)}function Po(a){for(;a.firstChild;)a.removeChild(a.firstChild)}function sr(a){var u=a.parentNode;u&&u.lastChild!==a&&u.appendChild(a)}function Ti(a){var u=a.parentNode;
365u&&u.firstChild!==a&&u.insertBefore(a,u.firstChild)}function rr(a,u){if(a.classList!==void 0)return a.classList.contains(u);var p=Eo(a);return p.length>0&&new RegExp("(^|\\s)"+u+"(\\s|$)").test(p)}function Ze(a,u){if(a.classList!==void 0)for(var p=E(u),w=0,C=p.length;w<C;w++)a.classList.add(p[w]);else if(!rr(a,u)){var M=Eo(a);fc(a,(M?M+" ":"")+u)}}function xt(a,u){a.classList!==void 0?a.classList.remove(u):fc(a,S((" "+Eo(a)+" ").replace(" "+u+" "," ")))}function fc(a,u){a.className.baseVal===void 0?a.className=u:a.className.baseVal=u}function Eo(a){return a.correspondingElement&&(a=a.correspondingElement),a.className.baseVal===void 0?a.className:a.className.baseVal}function fn(a,u){"opacity"in a.style?a.style.opacity=u:"filter"in a.style&&gd(a,u)}function gd(a,u){var p=!1,w="DXImageTransform.Microsoft.Alpha";try{p=a.filters.item(w)}catch{if(u===1)return}u=Math.round(u*100),p?(p.Enabled=u!==100,p.Opacity=u):a.style.filter+=" progid:"+w+"(opacity="+u+")"}function ar(a){for(var u=document.documentElement.style,p=0;p<a.length;p++)if(a[p]in u)return a[p];return!1}function qn(a,u,p){var w=u||new Y(0,0);a.style[mc]=(Le.ie3d?"translate("+w.x+"px,"+w.y+"px)":"translate3d("+w.x+"px,"+w.y+"px,0)")+(p?" scale("+p+")":"")}function Lt(a,u){a._leaflet_pos=u,Le.any3d?qn(a,u):(a.style.left=u.x+"px",a.style.top=u.y+"px")}function Ci(a){return a._leaflet_pos||new Y(0,0)}var nt,or,Ao;if("onselectstart"in document)nt=function(){He(window,"selectstart",Pt)},or=function(){ft(window,"selectstart",Pt)};else{var Ns=ar(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);nt=function(){if(Ns){var a=document.documentElement.style;Ao=a[Ns],a[Ns]="none"}},or=function(){Ns&&(document.documentElement.style[Ns]=Ao,Ao=void 0)}}function Ro(){He(window,"dragstart",Pt)}function Lo(){ft(window,"dragstart",Pt)}var va,wa;function lr(a){for(;a.tabIndex===-1;)a=a.parentNode;a.style&&(Zn(),va=a,wa=a.style.outlineStyle,a.style.outlineStyle="none",He(window,"keydown",Zn))}function Zn(){va&&(va.style.outlineStyle=wa,va=void 0,wa=void 0,ft(window,"keydown",Zn))}function Pi(a){do a=a.parentNode;while((!a.offsetWidth||!a.offsetHeight)&&a!==document.body);return a}function li(a){var u=a.getBoundingClientRect();return{x:u.width/a.offsetWidth||1,y:u.height/a.offsetHeight||1,boundingClientRect:u}}var ba={__proto__:null,TRANSFORM:mc,TRANSITION:ir,TRANSITION_END:xa,get:Hn,getStyle:ya,create:Ye,remove:_t,empty:Po,toFront:sr,toBack:Ti,hasClass:rr,addClass:Ze,removeClass:xt,setClass:fc,getClass:Eo,setOpacity:fn,testProp:ar,setTransform:qn,setPosition:Lt,getPosition:Ci,get disableTextSelection(){return nt},get enableTextSelection(){return or},disableImageDrag:Ro,enableImageDrag:Lo,preventOutline:lr,restoreOutline:Zn,getSizedParentNode:Pi,getScale:li};function He(a,u,p,w){if(u&&typeof u=="object")for(var C in u)gc(a,C,u[C],p);else{u=E(u);for(var M=0,V=u.length;M<V;M++)gc(a,u[M],p,w)}return this}var Zt="_leaflet_events";function ft(a,u,p,w){if(arguments.length===1)pc(a),delete a[Zt];else if(u&&typeof u=="object")for(var C in u)Io(a,C,u[C],p);else if(u=E(u),arguments.length===2)pc(a,function(J){return D(u,J)!==-1});else for(var M=0,V=u.length;M<V;M++)Io(a,u[M],p,w);return this}function pc(a,u){for(var p in a[Zt]){var w=p.split(/\d/)[0];(!u||u(w))&&Io(a,w,null,null,p)}}
365var Ss={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function gc(a,u,p,w){var C=u+f(p)+(w?"_"+f(w):"");if(a[Zt]&&a[Zt][C])return this;var M=function(J){return p.call(w||a,J||window.event)},V=M;!Le.touchNative&&Le.pointer&&u.indexOf("touch")===0?M=df(a,u,M):Le.touch&&u==="dblclick"?M=pd(a,M):"addEventListener"in a?u==="touchstart"||u==="touchmove"||u==="wheel"||u==="mousewheel"?a.addEventListener(Ss[u]||u,M,Le.passiveEvents?{passive:!1}:!1):u==="mouseenter"||u==="mouseleave"?(M=function(J){J=J||window.event,Na(a,J)&&V(J)},a.addEventListener(Ss[u],M,!1)):a.addEventListener(u,V,!1):a.attachEvent("on"+u,M),a[Zt]=a[Zt]||{},a[Zt][C]=M}function Io(a,u,p,w,C){C=C||u+f(p)+(w?"_"+f(w):"");var M=a[Zt]&&a[Zt][C];if(!M)return this;!Le.touchNative&&Le.pointer&&u.indexOf("touch")===0?hd(a,u,M):Le.touch&&u==="dblclick"?Co(a,M):"removeEventListener"in a?a.removeEventListener(Ss[u]||u,M,!1):a.detachEvent("on"+u,M),a[Zt][C]=null}function ci(a){return a.stopPropagation?a.stopPropagation():a.originalEvent?a.originalEvent._stopped=!0:a.cancelBubble=!0,this}function Mo(a){return gc(a,"wheel",ci),this}function _a(a){return He(a,"mousedown touchstart dblclick contextmenu",ci),a._leaflet_disable_click=!0,this}function Pt(a){return a.preventDefault?a.preventDefault():a.returnValue=!1,this}function Gn(a){return Pt(a),ci(a),this}function ks(a){if(a.composedPath)return a.composedPath();for(var u=[],p=a.target;p;)u.push(p),p=p.parentNode;return u}function ja(a,u){if(!u)return new Y(a.clientX,a.clientY);var p=li(u),w=p.boundingClientRect;return new Y((a.clientX-w.left)/p.x-u.clientLeft,(a.clientY-w.top)/p.y-u.clientTop)}var ff=Le.linux&&Le.chrome?window.devicePixelRatio:Le.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function xd(a){return Le.edge?a.wheelDeltaY/2:a.deltaY&&a.deltaMode===0?-a.deltaY/ff:a.deltaY&&a.deltaMode===1?-a.deltaY*20:a.deltaY&&a.deltaMode===2?-a.deltaY*60:a.deltaX||a.deltaZ?0:a.wheelDelta?(a.wheelDeltaY||a.wheelDelta)/2:a.detail&&Math.abs(a.detail)<32765?-a.detail*20:a.detail?a.detail/-32765*60:0}function Na(a,u){var p=u.relatedTarget;if(!p)return!0;try{for(;p&&p!==a;)p=p.parentNode}catch{return!1}return p!==a}var Oo={__proto__:null,on:He,off:ft,stopPropagation:ci,disableScrollPropagation:Mo,disableClickPropagation:_a,preventDefault:Pt,stop:Gn,getPropagationPath:ks,getMousePosition:ja,getWheelDelta:xd,isExternalTarget:Na,addListener:He,removeListener:ft},Do=he.extend({run:function(a,u,p,w){this.stop(),this._el=a,this._inProgress=!0,this._duration=p||.25,this._easeOutPower=1/Math.max(w||.5,.2),this._startPos=Ci(a),this._offset=u.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=fe(this._animate,this),this._step()},_step:function(a){var u=+new Date-this._startTime,p=this._duration*1e3;u<p?this._runFrame(this._easeOut(u/p),a):(this._runFrame(1),this._complete())},_runFrame:function(a,u){var p=this._startPos.add(this._offset.multiplyBy(a));u&&p._round(),Lt(this._el,p),this.fire("step")},_complete:function(){ve(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(a){return 1-Math.pow(1-a,this._easeOutPower)}}),tt=he.extend({options:{crs:dt,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(a,u){u=k(this,u),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(a),this._initLayout(),this._onResize=d(this._onResize,this),this._initEvents(),u.maxBounds&&this.setMaxBounds(u.maxBounds),u.zoom!==void 0&&(this._zoom=this._limitZoom(u.zoom)),u.center&&u.zoom!==void 0&&this.setView(ie(u.center),u.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ir&&Le.any3d&&!Le.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),He(this._proxy,xa,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 14,919 bytes, line 365
365,setView:function(a,u,p){if(u=u===void 0?this._zoom:this._limitZoom(u),a=this._limitCenter(ie(a),u,this.options.maxBounds),p=p||{},this._stop(),this._loaded&&!p.reset&&p!==!0){p.animate!==void 0&&(p.zoom=l({animate:p.animate},p.zoom),p.pan=l({animate:p.animate,duration:p.duration},p.pan));var w=this._zoom!==u?this._tryAnimatedZoom&&this._tryAnimatedZoom(a,u,p.zoom):this._tryAnimatedPan(a,p.pan);if(w)return clearTimeout(this._sizeTimer),this}return this._resetView(a,u,p.pan&&p.pan.noMoveStart),this},setZoom:function(a,u){return this._loaded?this.setView(this.getCenter(),a,{zoom:u}):(this._zoom=a,this)},zoomIn:function(a,u){return a=a||(Le.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+a,u)},zoomOut:function(a,u){return a=a||(Le.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-a,u)},setZoomAround:function(a,u,p){var w=this.getZoomScale(u),C=this.getSize().divideBy(2),M=a instanceof Y?a:this.latLngToContainerPoint(a),V=M.subtract(C).multiplyBy(1-1/w),J=this.containerPointToLatLng(C.add(V));return this.setView(J,u,{zoom:p})},_getBoundsCenterZoom:function(a,u){u=u||{},a=a.getBounds?a.getBounds():ye(a);var p=Z(u.paddingTopLeft||u.padding||[0,0]),w=Z(u.paddingBottomRight||u.padding||[0,0]),C=this.getBoundsZoom(a,!1,p.add(w));if(C=typeof u.maxZoom=="number"?Math.min(u.maxZoom,C):C,C===1/0)return{center:a.getCenter(),zoom:C};var M=w.subtract(p).divideBy(2),V=this.project(a.getSouthWest(),C),J=this.project(a.getNorthEast(),C),ee=this.unproject(V.add(J).divideBy(2).add(M),C);return{center:ee,zoom:C}},fitBounds:function(a,u){if(a=ye(a),!a.isValid())throw new Error("Bounds are not valid.");var p=this._getBoundsCenterZoom(a,u);return this.setView(p.center,p.zoom,u)},fitWorld:function(a){return this.fitBounds([[-90,-180],[90,180]],a)},panTo:function(a,u){return this.setView(a,this._zoom,{pan:u})},panBy:function(a,u){if(a=Z(a).round(),u=u||{},!a.x&&!a.y)return this.fire("moveend");if(u.animate!==!0&&!this.getSize().contains(a))return this._resetView(this.unproject(this.project(this.getCenter()).add(a)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Do,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),u.noMoveStart||this.fire("movestart"),u.animate!==!1){Ze(this._mapPane,"leaflet-pan-anim");var p=this._getMapPanePos().subtract(a).round();this._panAnim.run(this._mapPane,p,u.duration||.25,u.easeLinearity)}else this._rawPanBy(a),this.fire("move").fire("moveend");return this},flyTo:function(a,u,p){if(p=p||{},p.animate===!1||!Le.any3d)return this.setView(a,u,p);this._stop();var w=this.project(this.getCenter()),C=this.project(a),M=this.getSize(),V=this._zoom;a=ie(a),u=u===void 0?V:u;var J=Math.max(M.x,M.y),ee=J*this.getZoomScale(V,u),re=C.distanceTo(w)||1,be=1.42,Fe=be*be;function Je(lt){var jr=lt?-1:1,Cf=lt?ee:J,Pf=ee*ee-J*J+jr*Fe*Fe*re*re,Ls=2*Cf*Fe*re,Is=Pf/Ls,Ms=Math.sqrt(Is*Is+1)-Is,Jo=Ms<1e-9?-18:Math.log(Ms);return Jo}function Gt(lt){return(Math.exp(lt)-Math.exp(-lt))/2}function $t(lt){return(Math.exp(lt)+Math.exp(-lt))/2}function Cn(lt){return Gt(lt)/$t(lt)}var gn=Je(0);function br(lt){return J*($t(gn)/$t(gn+be*lt))}function Dc(lt){return J*($t(gn)*Cn(gn+be*lt)-Gt(gn))/Fe}function is(lt){return 1-Math.pow(1-lt,1.5)}var Fd=Date.now(),Rs=(Je(1)-gn)/be,mi=p.duration?1e3*p.duration:1e3*Rs*.8;function _r(){var lt=(Date.now()-Fd)/mi,jr=is(lt)*Rs;lt<=1?(this._flyToFrame=fe(_r,this),this._move(this.unproject(w.add(C.subtract(w).multiplyBy(Dc(jr)/re)),V),this.getScaleZoom(J/br(jr),V),{flyTo:!0})):this._move(a,u)._moveEnd(!0)}return this._moveStart(!0,p.noMoveStart),_r.call(this),this},flyToBounds:function(a,u){var p=this._getBoundsCenterZoom(a,u);return this.flyTo(p.center,p.zoom,u)},setMaxBounds:function(a){return a=ye(a),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),a.isValid()?(this.options.maxBounds=a,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(a){var u=this.options.minZoom;return this.options.minZoom=a,this._loaded&&u!==a&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(a):this},setMaxZoom:function(a){var u=this.options.maxZoom;return this.options.maxZoom=a,this._loaded&&u!==a&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(a):this},panInsideBounds:function(a,u){this._enforcingBounds=!0;var p=this.getCenter(),w=this._limitCenter(p,this._zoom,ye(a));return p.equals(w)||this.panTo(w,u),this._enforcingBounds=!1,this},panInside:function(a,u){u=u||{};var p=Z(u.paddingTopLeft||u.padding||[0,0]),w=Z(u.paddingBottomRight||u.padding||[0,0]),C=this.project(this.getCenter()),M=this.project(a),V=this.getPixelBounds(),J=ne([V.min.add(p),V.max.subtract(w)]),ee=J.getSize();if(!J.contains(M)){this._enforcingBounds=!0;var re=M.subtract(J.getCenter()),be=J.extend(M).getSize().subtract(ee);C.x+=re.x<0?-be.x:be.x,C.y+=re.y<0?-be.y:be.y,this.panTo(this.unproject(C),u),this._enforcingBounds=!1}return this},invalidateSize:function(a){if(!this._loaded)return this;a=l({animate:!1,pan:!0},a===!0?{animate:!0}:a);var u=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var p=this.getSize(),w=u.divideBy(2).round(),C=p.divideBy(2).round(),M=w.subtract(C);return!M.x&&!M.y?this:(a.animate&&a.pan?this.panBy(M):(a.pan&&this._rawPanBy(M),this.fire("move"),a.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(d(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:u,newSize:p}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(a){if(a=this._locateOptions=l({timeout:1e4,watch:!1},a),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var u=d(this._handleGeolocationResponse,this),p=d(this._handleGeolocationError,this);return a.watch?this._locationWatchId=navigator.geolocation.watchPosition(u,p,a):navigator.geolocation.getCurrentPosition(u,p,a),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(a){if(this._container._leaflet_id){var u=a.code,p=a.message||(u===1?"permission denied":u===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:u,message:"Geolocation error: "+p+"."})}},_handleGeolocationResponse:function(a){if(this._container._leaflet_id){var u=a.coords.latitude,p=a.coords.longitude,w=new ge(u,p),C=w.toBounds(a.coords.accuracy*2),M=this._locateOptions;if(M.setView){var V=this.getBoundsZoom(C);this.setView(w,M.maxZoom?Math.min(V,M.maxZoom):V)}var J={latlng:w,bounds:C,timestamp:a.timestamp};for(var ee in a.coords)typeof a.coords[ee]=="number"&&(J[ee]=a.coords[ee]);this.fire("locationfound",J)}},addHandler:function(a,u){if(!u)return this;var p=this[a]=new u(this);return this._handlers.push(p),this.options[a]&&p.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),_t(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(ve(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var a;for(a in this._layers)this._layers[a].remove();for(a in this._panes)_t(this._panes[a]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(a,u){var p="leaflet-pane"+(a?" leaflet-"+a.replace("Pane","")+"-pane":""),w=Ye("div",p,u||this._mapPane);return a&&(this._panes[a]=w),w},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var a=this.getPixelBounds(),u=this.unproject(a.getBottomLeft()),p=this.unproject(a.getTopRight());return new je(u,p)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(a,u,p){a=ye(a),p=Z(p||[0,0]);var w=this.getZoom()||0,C=this.getMinZoom(),M=this.getMaxZoom(),V=a.getNorthWest(),J=a.getSouthEast(),ee=this.getSize().subtract(p),re=ne(this.project(J,w),this.project(V,w)).getSize(),be=Le.any3d?this.options.zoomSnap:1,Fe=ee.x/re.x,Je=ee.y/re.y,Gt=u?Math.max(Fe,Je):Math.min(Fe,Je);return w=this.getScaleZoom(Gt,w),be&&(w=Math.round(w/(be/100))*(be/100),w=u?Math.ceil(w/be)*be:Math.floor(w/be)*be),Math.max(C,Math.min(M,w))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new Y(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(a,u){var p=this._getTopLeftPoint(a,u);return new z(p,p.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(a){return this.options.crs.getProjectedBounds(a===void 0?this.getZoom():a)},getPane:function(a){return typeof a=="string"?this._panes[a]:a},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(a,u){var p=this.options.crs;return u=u===void 0?this._zoom:u,p.scale(a)/p.scale(u)},getScaleZoom:function(a,u){var p=this.options.crs;u=u===void 0?this._zoom:u;var w=p.zoom(a*p.scale(u));return isNaN(w)?1/0:w},project:function(a,u){return u=u===void 0?this._zoom:u,this.options.crs.latLngToPoint(ie(a),u)},unproject:function(a,u){return u=u===void 0?this._zoom:u,this.options.crs.pointToLatLng(Z(a),u)},layerPointToLatLng:function(a){var u=Z(a).add(this.getPixelOrigin());return this.unproject(u)},latLngToLayerPoint:function(a){var u=this.project(ie(a))._round();return u._subtract(this.getPixelOrigin())},wrapLatLng:function(a){return this.options.crs.wrapLatLng(ie(a))},wrapLatLngBounds:function(a){return this.options.crs.wrapLatLngBounds(ye(a))},distance:function(a,u){return this.options.crs.distance(ie(a),ie(u))},containerPointToLayerPoint:function(a){return Z(a).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(a){return Z(a).add(this._getMapPanePos())},containerPointToLatLng:function(a){var u=this.containerPointToLayerPoint(Z(a));return this.layerPointToLatLng(u)},latLngToContainerPoint:function(a){return this.layerPointToContainerPoint(this.latLngToLayerPoint(ie(a)))},mouseEventToContainerPoint:function(a){return ja(a,this._container)},mouseEventToLayerPoint:function(a){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(a))},mouseEventToLatLng:function(a){return this.layerPointToLatLng(this.mouseEventToLayerPoint(a))},_initContainer:function(a){var u=this._container=Hn(a);if(u){if(u._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");He(u,"scroll",this._onScroll,this),this._containerId=f(u)},_initLayout:function(){var a=this._container;this._fadeAnimated=this.options.fadeAnimation&&Le.any3d,Ze(a,"leaflet-container"+(Le.touch?" leaflet-touch":"")+(Le.retina?" leaflet-retina":"")+(Le.ielt9?" leaflet-oldie":"")+(Le.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var u=ya(a,"position");u!=="absolute"&&u!=="relative"&&u!=="fixed"&&u!=="sticky"&&(a.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var a=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Lt(this._mapPane,new Y(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Ze(a.markerPane,"leaflet-zoom-hide"),Ze(a.shadowPane,"leaflet-zoom-hide"))},_resetView:function(a,u,p){Lt(this._mapPane,new Y(0,0));var w=!this._loaded;this._loaded=!0,u=this._limitZoom(u),this.fire("viewprereset");var C=this._zoom!==u;this._moveStart(C,p)._move(a,u)._moveEnd(C),this.fire("viewreset"),w&&this.fire("load")},_moveStart:function(a,u){return a&&this.fire("zoomstart"),u||this.fire("movestart"),this},_move:function(a,u,p,w){u===void 0&&(u=this._zoom);var C=this._zoom!==u;return this._zoom=u,this._lastCenter=a,this._pixelOrigin=this._getNewPixelOrigin(a),w?p&&p.pinch&&this.fire("zoom",p):((C||p&&p.pinch)&&this.fire("zoom",p),this.fire("move",p)),this},_moveEnd:function(a){return a&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return ve(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(a){Lt(this._mapPane,this._getMapPanePos().subtract(a))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(a){this._targets={},this._targets[f(this._container)]=this;var u=a?ft:He;u(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&u(window,"resize",this._onResize,this),Le.any3d&&this.options.transform3DLimit&&(a?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){ve(this._resizeRequest),this._resizeRequest=fe(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var a=this._getMapPanePos();Math.max(Math.abs(a.x),Math.abs(a.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(a,u){for(var p=[],w,C=u==="mouseout"||u==="mouseover",M=a.target||a.srcElement,V=!1;M;){if(w=this._targets[f(M)],w&&(u==="click"||u==="preclick")&&this._draggableMoved(w)){V=!0;break}if(w&&w.listens(u,!0)&&(C&&!Na(M,a)||(p.push(w),C))||M===this._container)break;M=M.parentNode}return!p.length&&!V&&!C&&this.listens(u,!0)&&(p=[this]),p},_isClickDisabled:function(a){for(;a&&a!==this._container;){if(a._leaflet_disable_click)return!0;a=a.parentNode}},_handleDOMEvent:function(a){var u=a.target||a.srcElement;if(!(!this._loaded||u._leaflet_disable_events||a.type==="click"&&this._isCl
365ickDisabled(u))){var p=a.type;p==="mousedown"&&lr(u),this._fireDOMEvent(a,p)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(a,u,p){if(a.type==="click"){var w=l({},a);w.type="preclick",this._fireDOMEvent(w,w.type,p)}var C=this._findEventTargets(a,u);if(p){for(var M=[],V=0;V<p.length;V++)p[V].listens(u,!0)&&M.push(p[V]);C=M.concat(C)}if(C.length){u==="contextmenu"&&Pt(a);var J=C[0],ee={originalEvent:a};if(a.type!=="keypress"&&a.type!=="keydown"&&a.type!=="keyup"){var re=J.getLatLng&&(!J._radius||J._radius<=10);ee.containerPoint=re?this.latLngToContainerPoint(J.getLatLng()):this.mouseEventToContainerPoint(a),ee.layerPoint=this.containerPointToLayerPoint(ee.containerPoint),ee.latlng=re?J.getLatLng():this.layerPointToLatLng(ee.layerPoint)}for(V=0;V<C.length;V++)if(C[V].fire(u,ee,!0),ee.originalEvent._stopped||C[V].options.bubblingMouseEvents===!1&&D(this._mouseEvents,u)!==-1)return}},_draggableMoved:function(a){return a=a.dragging&&a.dragging.enabled()?a:this,a.dragging&&a.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var a=0,u=this._handlers.length;a<u;a++)this._handlers[a].disable()},whenReady:function(a,u){return this._loaded?a.call(u||this,{target:this}):this.on("load",a,u),this},_getMapPanePos:function(){return Ci(this._mapPane)||new Y(0,0)},_moved:function(){var a=this._getMapPanePos();return a&&!a.equals([0,0])},_getTopLeftPoint:function(a,u){var p=a&&u!==void 0?this._getNewPixelOrigin(a,u):this.getPixelOrigin();return p.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(a,u){var p=this.getSize()._divideBy(2);return this.project(a,u)._subtract(p)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(a,u,p){var w=this._getNewPixelOrigin(p,u);return this.project(a,u)._subtract(w)},_latLngBoundsToNewLayerBounds:function(a,u,p){var w=this._getNewPixelOrigin(p,u);
vendor: 14,317 bytes, line 365
365return ne([this.project(a.getSouthWest(),u)._subtract(w),this.project(a.getNorthWest(),u)._subtract(w),this.project(a.getSouthEast(),u)._subtract(w),this.project(a.getNorthEast(),u)._subtract(w)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(a){return this.latLngToLayerPoint(a).subtract(this._getCenterLayerPoint())},_limitCenter:function(a,u,p){if(!p)return a;var w=this.project(a,u),C=this.getSize().divideBy(2),M=new z(w.subtract(C),w.add(C)),V=this._getBoundsOffset(M,p,u);return Math.abs(V.x)<=1&&Math.abs(V.y)<=1?a:this.unproject(w.add(V),u)},_limitOffset:function(a,u){if(!u)return a;var p=this.getPixelBounds(),w=new z(p.min.add(a),p.max.add(a));return a.add(this._getBoundsOffset(w,u))},_getBoundsOffset:function(a,u,p){var w=ne(this.project(u.getNorthEast(),p),this.project(u.getSouthWest(),p)),C=w.min.subtract(a.min),M=w.max.subtract(a.max),V=this._rebound(C.x,-M.x),J=this._rebound(C.y,-M.y);return new Y(V,J)},_rebound:function(a,u){return a+u>0?Math.round(a-u)/2:Math.max(0,Math.ceil(a))-Math.max(0,Math.floor(u))},_limitZoom:function(a){var u=this.getMinZoom(),p=this.getMaxZoom(),w=Le.any3d?this.options.zoomSnap:1;return w&&(a=Math.round(a/w)*w),Math.max(u,Math.min(p,a))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){xt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(a,u){var p=this._getCenterOffset(a)._trunc();return(u&&u.animate)!==!0&&!this.getSize().contains(p)?!1:(this.panBy(p,u),!0)},_createAnimProxy:function(){var a=this._proxy=Ye("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(a),this.on("zoomanim",function(u){var p=mc,w=this._proxy.style[p];qn(this._proxy,this.project(u.center,u.zoom),this.getZoomScale(u.zoom,1)),w===this._proxy.style[p]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){_t(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var a=this.getCenter(),u=this.getZoom();qn(this._proxy,this.project(a,u),this.getZoomScale(u,1))},_catchTransitionEnd:function(a){this._animatingZoom&&a.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(a,u,p){if(this._animatingZoom)return!0;if(p=p||{},!this._zoomAnimated||p.animate===!1||this._nothingToAnimate()||Math.abs(u-this._zoom)>this.options.zoomAnimationThreshold)return!1;var w=this.getZoomScale(u),C=this._getCenterOffset(a)._divideBy(1-1/w);return p.animate!==!0&&!this.getSize().contains(C)?!1:(fe(function(){this._moveStart(!0,p.noMoveStart||!1)._animateZoom(a,u,!0)},this),!0)},_animateZoom:function(a,u,p,w){this._mapPane&&(p&&(this._animatingZoom=!0,this._animateToCenter=a,this._animateToZoom=u,Ze(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:a,zoom:u,noUpdate:w}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(d(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&xt(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function Ki(a,u){return new tt(a,u)}var kn=xe.extend({options:{position:"topright"},initialize:function(a){k(this,a)},getPosition:function(){return this.options.position},setPosition:function(a){var u=this._map;return u&&u.removeControl(this),this.options.position=a,u&&u.addControl(this),this},getContainer:function(){return this._container},addTo:function(a){this.remove(),this._map=a;var u=this._container=this.onAdd(a),p=this.getPosition(),w=a._controlCorners[p];return Ze(u,"leaflet-control"),p.indexOf("bottom")!==-1?w.insertBefore(u,w.firstChild):w.appendChild(u),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(_t(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(a){this._map&&a&&a.screenX>0&&a.screenY>0&&this._map.getContainer().focus()}}),Ji=function(a){return new kn(a)};tt.include({addControl:function(a){return a.addTo(this),this},removeControl:function(a){return a.remove(),this},_initControlPos:function(){var a=this._controlCorners={},u="leaflet-",p=this._controlContainer=Ye("div",u+"control-container",this._container);function w(C,M){var V=u+C+" "+u+M;a[C+M]=Ye("div",V,p)}w("top","left"),w("top","right"),w("bottom","left"),w("bottom","right")},_clearControlPos:function(){for(var a in this._controlCorners)_t(this._controlCorners[a]);_t(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var xc=kn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(a,u,p,w){return p<w?-1:w<p?1:0}},initialize:function(a,u,p){k(this,p),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1;for(var w in a)this._addLayer(a[w],w);for(w in u)this._addLayer(u[w],w,!0)},onAdd:function(a){this._initLayout(),this._update(),this._map=a,a.on("zoomend",this._checkDisabledLayers,this);for(var u=0;u<this._layers.length;u++)this._layers[u].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(a){return kn.prototype.addTo.call(this,a),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var a=0;a<this._layers.length;a++)this._layers[a].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(a,u){return this._addLayer(a,u),this._map?this._update():this},addOverlay:function(a,u){return this._addLayer(a,u,!0),this._map?this._update():this},removeLayer:function(a){a.off("add remove",this._onLayerChange,this);var u=this._getLayer(f(a));return u&&this._layers.splice(this._layers.indexOf(u),1),this._map?this._update():this},expand:function(){Ze(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var a=this._map.getSize().y-(this._container.offsetTop+50);return a<this._section.clientHeight?(Ze(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=a+"px"):xt(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return xt(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var a="leaflet-control-layers",u=this._container=Ye("div",a),p=this.options.collapsed;u.setAttribute("aria-haspopup",!0),_a(u),Mo(u);var w=this._section=Ye("section",a+"-list");p&&(this._map.on("click",this.collapse,this),He(u,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var C=this._layersLink=Ye("a",a+"-toggle",u);C.href="#",C.title="Layers",C.setAttribute("role","button"),He(C,{keydown:function(M){M.keyCode===13&&this._expandSafely()},click:function(M){Pt(M),this._expandSafely()}},this),p||this.expand(),this._baseLayersList=Ye("div",a+"-base",w),this._separator=Ye("div",a+"-separator",w),this._overlaysList=Ye("div",a+"-overlays",w),u.appendChild(w)},_getLayer:function(a){for(var u=0;u<this._layers.length;u++)if(this._layers[u]&&f(this._layers[u].layer)===a)return this._layers[u]},_addLayer:function(a,u,p){this._map&&a.on("add remove",this._onLayerChange,this),this._layers.push({layer:a,name:u,overlay:p}),this.options.sortLayers&&this._layers.sort(d(function(w,C){return this.options.sortFunction(w.layer,C.layer,w.name,C.name)},this)),this.options.autoZIndex&&a.setZIndex&&(this._lastZIndex++,a.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;Po(this._baseLayersList),Po(this._overlaysList),this._layerControlInputs=[];var a,u,p,w,C=0;for(p=0;p<this._layers.length;p++)w=this._layers[p],this._addItem(w),u=u||w.overlay,a=a||!w.overlay,C+=w.overlay?0:1;return this.options.hideSingleBase&&(a=a&&C>1,this._baseLayersList.style.display=a?"":"none"),this._separator.style.display=u&&a?"":"none",this},_onLayerChange:function(a){this._handlingClick||this._update();var u=this._getLayer(f(a.target)),p=u.overlay?a.type==="add"?"overlayadd":"overlayremove":a.type==="add"?"baselayerchange":null;p&&this._map.fire(p,u)},_createRadioElement:function(a,u){var p='<input type="radio" class="leaflet-control-layers-selector" name="'+a+'"'+(u?' checked="checked"':"")+"/>",w=document.createElement("div");return w.innerHTML=p,w.firstChild},_addItem:function(a){var u=document.createElement("label"),p=this._map.hasLayer(a.layer),w;a.overlay?(w=document.createElement("input"),w.type="checkbox",w.className="leaflet-control-layers-selector",w.defaultChecked=p):w=this._createRadioElement("leaflet-base-layers_"+f(this),p),this._layerControlInputs.push(w),w.layerId=f(a.layer),He(w,"click",this._onInputClick,this);var C=document.createElement("span");C.innerHTML=" "+a.name;var M=document.createElement("span");u.appendChild(M),M.appendChild(w),M.appendChild(C);var V=a.overlay?this._overlaysList:this._baseLayersList;return V.appendChild(u),this._checkDisabledLayers(),u},_onInputClick:function(){if(!this._preventClick){var a=this._layerControlInputs,u,p,w=[],C=[];this._handlingClick=!0;for(var M=a.length-1;M>=0;M--)u=a[M],p=this._getLayer(u.layerId).layer,u.checked?w.push(p):u.checked||C.push(p);for(M=0;M<C.length;M++)this._map.hasLayer(C[M])&&this._map.removeLayer(C[M]);for(M=0;M<w.length;M++)this._map.hasLayer(w[M])||this._map.addLayer(w[M]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var a=this._layerControlInputs,u,p,w=this._map.getZoom(),C=a.length-1;C>=0;C--)u=a[C],p=this._getLayer(u.layerId).layer,u.disabled=p.options.minZoom!==void 0&&w<p.options.minZoom||p.options.maxZoom!==void 0&&w>p.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var a=this._section;this._preventClick=!0,He(a,"click",Pt),this.expand();var u=this;setTimeout(function(){ft(a,"click",Pt),u._preventClick=!1})}}),Fo=function(a,u,p){return new xc(a,u,p)},cr=kn.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(a){var u="leaflet-control-zoom",p=Ye("div",u+" leaflet-bar"),w=this.options;return this._zoomInButton=this._createButton(w.zoomInText,w.zoomInTitle,u+"-in",p,this._zoomIn),this._zoomOutButton=this._createButton(w.zoomOutText,w.zoomOutTitle,u+"-out",p,this._zoomOut),this._updateDisabled(),a.on("zoomend zoomlevelschange",this._updateDisabled,this),p},onRemove:function(a){a.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(a){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(a.shiftKey?3:1))},_zoomOut:function(a){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(a.shiftKey?3:1))},_createButton:function(a,u,p,w,C){var M=Ye("a",p,w);return M.innerHTML=a,M.href="#",M.title=u,M.setAttribute("role","button"),M.setAttribute("aria-label",u),_a(M),He(M,"click",Gn),He(M,"click",C,this),He(M,"click",this._refocusOnMap,this),M},_updateDisabled:function(){var a=this._map,u="leaflet-disabled";xt(this._zoomInButton,u),xt(this._zoomOutButton,u),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||a._zoom===a.getMinZoom())&&(Ze(this._zoomOutButton,u),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||a._zoom===a.getMaxZoom())&&(Ze(this._zoomInButton,u),this._zoomInButton.setAttribute("aria-disabled","true"))}});tt.mergeOptions({zoomControl:!0}),tt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new cr,this.addControl(this.zoomControl))});var yd=function(a){return new cr(a)},pn=kn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(a){var u="leaflet-control-scale",p=Ye("div",u),w=this.options;return this._addScales(w,u+"-line",p),a.on(w.updateWhenIdle?"moveend":"move",this._update,this),a.whenReady(this._update,this),p},onRemove:function(a){a.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(a,u,p){a.metric&&(this._mScale=Ye("div",u,p)),a.imperial&&(this._iScale=Ye("div",u,p))},_update:function(){var a=this._map,u=a.getSize().y/2,p=a.distance(a.containerPointToLatLng([0,u]),a.containerPointToLatLng([this.options.maxWidth,u]));this._updateScales(p)},_updateScales:function(a){this.options.metric&&a&&this._updateMetric(a),this.options.imperial&&a&&this._updateImperial(a)},_updateMetric:function(a){var u=this._getRoundNum(a),p=u<1e3?u+" m":u/1e3+" km";this._updateScale(this._mScale,p,u/a)},_updateImperial:function(a){var u=a*3.2808399,p,w,C;u>5280?(p=u/5280,w=this._getRoundNum(p),this._updateScale(this._iScale,w+" mi",w/p)):(C=this._getRoundNum(u),this._updateScale(this._iScale,C+" ft",C/u))},_updateScale:function(a,u,p){a.style.width=Math.round(this.options.maxWidth*p)+"px",a.innerHTML=u},_getRoundNum:function(a){var u=Math.pow(10,(Math.floor(a)+"").length-1),p=a/u;return p=p>=10?10:p>=5?5:p>=3?3:p>=2?2:1,u*p}}),ur=function(a){return new pn(a)},yc='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',Ts=kn.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Le.inlineSvg?yc+" ":"")+"Leaflet</a>"},initialize:function(a){k(this,a),this._attributions={}}
365,onAdd:function(a){a.attributionControl=this,this._container=Ye("div","leaflet-control-attribution"),_a(this._container);for(var u in a._layers)a._layers[u].getAttribution&&this.addAttribution(a._layers[u].getAttribution());return this._update(),a.on("layeradd",this._addAttribution,this),this._container},onRemove:function(a){a.off("layeradd",this._addAttribution,this)},_addAttribution:function(a){a.layer.getAttribution&&(this.addAttribution(a.layer.getAttribution()),a.layer.once("remove",function(){this.removeAttribution(a.layer.getAttribution())},this))},setPrefix:function(a){return this.options.prefix=a,this._update(),this},addAttribution:function(a){return a?(this._attributions[a]||(this._attributions[a]=0),this._attributions[a]++,this._update(),this):this},removeAttribution:function(a){return a?(this._attributions[a]&&(this._attributions[a]--,this._update()),this):this},_update:function(){if(this._map){var a=[];for(var u in this._attributions)this._attributions[u]&&a.push(u);var p=[];this.options.prefix&&p.push(this.options.prefix),a.length&&p.push(a.join(", ")),this._container.innerHTML=p.join(' <span aria-hidden="true">|</span> ')}}});tt.mergeOptions({attributionControl:!0}),tt.addInitHook(function(){this.options.attributionControl&&new Ts().addTo(this)});var pf=function(a){return new Ts(a)};kn.Layers=xc,kn.Zoom=cr,kn.Scale=pn,kn.Attribution=Ts,Ji.layers=Fo,Ji.zoom=yd,Ji.scale=ur,Ji.attribution=pf;var Ln=xe.extend({initialize:function(a){this._map=a},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ln.addTo=function(a,u){return a.addHandler(u,this),this};var vc={Events:le},dr=Le.touch?"touchstart mousedown":"mousedown",Yn=he.extend({options:{clickTolerance:3},initialize:function(a,u,p,w){k(this,w),this._element=a,this._dragStartTarget=u||a,this._preventOutline=p},enable:function(){this._enabled||(He(this._dragStartTarget,dr,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Yn._dragging===this&&this.finishDrag(!0),ft(this._dragStartTarget,dr,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(a){if(this._enabled&&(this._moved=!1,!rr(this._element,"leaflet-zoom-anim"))){if(a.touches&&a.touches.length!==1){Yn._dragging===this&&this.finishDrag();return}if(!(Yn._dragging||a.shiftKey||a.which!==1&&a.button!==1&&!a.touches)&&(Yn._dragging=this,this._preventOutline&&lr(this._element),Ro(),nt(),!this._moving)){this.fire("down");var u=a.touches?a.touches[0]:a,p=Pi(this._element);this._startPoint=new Y(u.clientX,u.clientY),this._startPos=Ci(this._element),this._parentScale=li(p);var w=a.type==="mousedown";He(document,w?"mousemove":"touchmove",this._onMove,this),He(document,w?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(a){if(this._enabled){if(a.touches&&a.touches.length>1){this._moved=!0;return}var u=a.touches&&a.touches.length===1?a.touches[0]:a,p=new Y(u.clientX,u.clientY)._subtract(this._startPoint);!p.x&&!p.y||Math.abs(p.x)+Math.abs(p.y)<this.options.clickTolerance||(p.x/=this._parentScale.x,p.y/=this._parentScale.y,Pt(a),this._moved||(this.fire("dragstart"),this._moved=!0,Ze(document.body,"leaflet-dragging"),this._lastTarget=a.target||a.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),Ze(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(p),this._moving=!0,this._lastEvent=a,this._updatePosition())}},_updatePosition:function(){var a={originalEvent:this._lastEvent};this.fire("predrag",a),Lt(this._element,this._newPos),this.fire("drag",a)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(a){xt(document.body,"leaflet-dragging"),this._lastTarget&&(xt(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),ft(document,"mousemove touchmove",this._onMove,this),ft(document,"mouseup touchend touchcancel",this._onUp,this),Lo(),or();var u=this._moved&&this._moving;this._moving=!1,Yn._dragging=!1,u&&this.fire("dragend",{noInertia:a,distance:this._newPos.distanceTo(this._startPos)})}});function wc(a,u,p){var w,C=[1,4,2,8],M,V,J,ee,re,be,Fe,Je;for(M=0,be=a.length;M<be;M++)a[M]._code=Cs(a[M],u);for(J=0;J<4;J++){for(Fe=C[J],w=[],M=0,be=a.length,V=be-1;M<be;V=M++)ee=a[M],re=a[V],ee._code&Fe?re._code&Fe||(Je=Vo(re,ee,Fe,u,p),Je._code=Cs(Je,u),w.push(Je)):(re._code&Fe&&(Je=Vo(re,ee,Fe,u,p),Je._code=Cs(Je,u),w.push(Je)),w.push(ee));a=w}return a}function vd(a,u){var p,w,C,M,V,J,ee,re,be;if(!a||a.length===0)throw new Error("latlngs not passed");In(a)||(console.warn("latlngs are not flat! Only the first ring will be used"),a=a[0]);var Fe=ie([0,0]),Je=ye(a),Gt=Je.getNorthWest().distanceTo(Je.getSouthWest
365())*Je.getNorthEast().distanceTo(Je.getNorthWest());Gt<1700&&(Fe=bc(a));var $t=a.length,Cn=[];for(p=0;p<$t;p++){var gn=ie(a[p]);Cn.push(u.project(ie([gn.lat-Fe.lat,gn.lng-Fe.lng])))}for(J=ee=re=0,p=0,w=$t-1;p<$t;w=p++)C=Cn[p],M=Cn[w],V=C.y*M.x-M.y*C.x,ee+=(C.x+M.x)*V,re+=(C.y+M.y)*V,J+=V*3;J===0?be=Cn[0]:be=[ee/J,re/J];var br=u.unproject(Z(be));return ie([br.lat+Fe.lat,br.lng+Fe.lng])}function bc(a){for(var u=0,p=0,w=0,C=0;C<a.length;C++){var M=ie(a[C]);u+=M.lat,p+=M.lng,w++}return ie([u/w,p/w])}var gf={__proto__:null,clipPolygon:wc,polygonCenter:vd,centroid:bc};function Bo(a,u){if(!u||!a.length)return a.slice();var p=u*u;return a=vf(a,p),a=yf(a,p),a}function wd(a,u,p){return Math.sqrt(Ps(a,u,p,!0))}function xf(a,u,p){return Ps(a,u,p)}function yf(a,u){var p=a.length,w=typeof Uint8Array<"u"?Uint8Array:Array,C=new w(p);C[0]=C[p-1]=1,_c(a,C,u,0,p-1);var M,V=[];for(M=0;M<p;M++)C[M]&&V.push(a[M]);return V}function _c(a,u,p,w,C){var M=0,V,J,ee;for(J=w+1;J<=C-1;J++)ee=Ps(a[J],a[w],a[C],!0),ee>M&&(V=J,M=ee);M>p&&(u[V]=1,_c(a,u,p,w,V),_c(a,u,p,V,C))}function vf(a,u){for(var p=[a[0]],w=1,C=0,M=a.length;w<M;w++)wf(a[w],a[C])>u&&(p.push(a[w]),C=w);return C<M-1&&p.push(a[M-1]),p}var jc;function bd(a,u,p,w,C){var M=w?jc:Cs(a,p),V=Cs(u,p),J,ee,re;for(jc=V;;){if(!(M|V))return[a,u];if(M&V)return!1;J=M||V,ee=Vo(a,u,J,p,C),re=Cs(ee,p),J===M?(a=ee,M=re):(u=ee,V=re)}}function Vo(a,u,p,w,C){var M=u.x-a.x,V=u.y-a.y,J=w.min,ee=w.max,re,be;return p&8?(re=a.x+M*(ee.y-a.y)/V,be=ee.y):p&4?(re=a.x+M*(J.y-a.y)/V,be=J.y):p&2?(re=ee.x,be=a.y+V*(ee.x-a.x)/M):p&1&&(re=J.x,be=a.y+V*(J.x-a.x)/M),new Y(re,be,C)}function Cs(a,u){var p=0;return a.x<u.min.x?p|=1:a.x>u.max.x&&(p|=2),a.y<u.min.y?p|=4:a.y>u.max.y&&(p|=8),p}function wf(a,u){var p=u.x-a.x,w=u.y-a.y;return p*p+w*w}function Ps(a,u,p,w){var C=u.x,M=u.y,V=p.x-C,J=p.y-M,ee=V*V+J*J,re;return ee>0&&(re=((a.x-C)*V+(a.y-M)*J)/ee,re>1?(C=p.x,M=p.y):re>0&&(C+=V*re,M+=J*re)),V=a.x-C,J=a.y-M,w?V*V+J*J:new Y(C,M)}function In(a){return!I(a[0])||typeof a[0][0]!="object"&&typeof a[0][0]<"u"}function _d(a){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),In(a)}function jd(a,u){var p,w,C,M,V,J,ee,re;if(!a||a.length===0)throw new Error("latlngs not passed");In(a)||(console.warn("latlngs are not flat! Only the first ring will be used"),a=a[0]);var be=ie([0,0]),Fe=ye(a),Je=Fe.getNorthWest().distanceTo(Fe.getSouthWest
365())*Fe.getNorthEast().distanceTo(Fe.getNorthWest());Je<1700&&(be=bc(a));var Gt=a.length,$t=[];for(p=0;p<Gt;p++){var Cn=ie(a[p]);$t.push(u.project(ie([Cn.lat-be.lat,Cn.lng-be.lng])))}for(p=0,w=0;p<Gt-1;p++)w+=$t[p].distanceTo($t[p+1])/2;if(w===0)re=$t[0];else for(p=0,M=0;p<Gt-1;p++)if(V=$t[p],J=$t[p+1],C=V.distanceTo(J),M+=C,M>w){ee=(M-w)/C,re=[J.x-ee*(J.x-V.x),J.y-ee*(J.y-V.y)];break}var gn=u.unproject(Z(re));return ie([gn.lat+be.lat,gn.lng+be.lng])}var Nd={__proto__:null,simplify:Bo,pointToSegmentDistance:wd,closestPointOnSegment:xf,clipSegment:bd,_getEdgeIntersection:Vo,_getBitCode:Cs,_sqClosestPointOnSegment:Ps,isFlat:In,_flat:_d,polylineCenter:jd},Nc={project:function(a){return new Y(a.lng,a.lat)},unproject:function(a){return new ge(a.y,a.x)},bounds:new z([-180,-90],[180,90])},Sc={R:6378137,R_MINOR:6356752314245179e-9,bounds:new z([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(a){var u=Math.PI/180,p=this.R,w=a.lat*u,C=this.R_MINOR/p,M=Math.sqrt(1-C*C),V=M*Math.sin(w),J=Math.tan(Math.PI/4-w/2)/Math.pow((1-V)/(1+V),M/2);return w=-p*Math.log(Math.max(J,1e-10)),new Y(a.lng*u*p,w)},unproject:function(a){for(var u=180/Math.PI,p=this.R,w=this.R_MINOR/p,C=Math.sqrt(1-w*w),M=Math.exp(-a.y/p),V=Math.PI/2-2*Math.atan(M),J=0,ee=.1,re;J<15&&Math.abs(ee)>1e-7;J++)re=C*Math.sin(V),re=Math.pow((1-re)/(1+re),C/2),ee=Math.PI/2-2*Math.atan(M*re)-V,V+=ee;return new ge(V*u,a.x*u/p)}},bf={__proto__:null,LonLat:Nc,Mercator:Sc,SphericalMercator:We},_f=l({},_e,{code:"EPSG:3395",projection:Sc,transformation:(function(){var a=.5/(Math.PI*Sc.R);return Be(a,.5,-a,.5)})()}),Sd=l({},_e,{code:"EPSG:4326",projection:Nc,transformation:Be(1/180,1,-1/180,.5)}),jf=l({},ce,{projection:Nc,transformation:Be(1,0,-1,0),scale:function(a){return Math.pow(2,a)},zoom:function(a){return Math.log(a)/Math.LN2},distance:function(a,u){var p=u.lng-a.lng,w=u.lat-a.lat;return Math.sqrt(p*p+w*w)},infinite:!0});ce.Earth=_e,ce.EPSG3395=_f,ce.EPSG3857=dt,ce.EPSG900913=bt,ce.EPSG4326=Sd,ce.Simple=jf;var Kn=he.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(a){return a.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(a){return a&&a.removeLayer(this),this},getPane:function(a){return this._map.getPane(a?this.options[a]||a:this.options.pane)},addInteractiveTarget:function(a){return this._map._targets[f(a)]=this,this},removeInteractiveTarget:function(a){return delete this._map._targets[f(a)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(a){var u=a.target;if(u.hasLayer(this)){if(this._map=u,this._zoomAnimated=u._zoomAnimated,this.getEvents){var p=this.getEvents();u.on(p,this),this.once("remove",function(){u.off(p,this)},this)}this.onAdd(u),this.fire("add"),u.fire("layeradd",{layer:this})}}});tt.include({addLayer:function(a){if(!a._layerAdd)throw new Error("The provided object is not a Layer.");var u=f(a);return this._layers[u]?this:(this._layers[u]=a,a._mapToAdd=this,a.beforeAdd&&a.beforeAdd(this),this.whenReady(a._layerAdd,a),this)},removeLayer:function(a){var u=f(a);return this._layers[u]?(this._loaded&&a.onRemove(this),delete this._layers[u],this._loaded&&(this.fire("layerremove",{layer:a}),a.fire("remove")),a._map=a._mapToAdd=null,this):this},hasLayer:function(a){return f(a)in this._layers},eachLayer:function(a,u){for(var p in this._layers)a.call(u,this._layers[p]);return this},_addLayers:function(a){a=a?I(a)?a:[a]:[];for(var u=0,p=a.length;u<p;u++)this.addLayer(a[u])},_addZoomLimit:function(a){(!isNaN(a.options.maxZoom)||!isNaN(a.options.minZoom))&&(this._zoomBoundLayers[f(a)]=a,this._updateZoomLevels())},_removeZoomLimit:function(a){var u=f(a);this._zoomBoundLayers[u]&&(delete this._zoomBoundLayers[u],this._updateZoomLevels())},_updateZoomLevels:function(){var a=1/0,u=-1/0,p=this._getZoomSpan();for(var w in this._zoomBoundLayers){var C=this._zoomBoundLayers[w].options;a=C.minZoom===void 0?a:Math.min(a,C.minZoom),u=C.maxZoom===void 0?u:Math.max(u,C.maxZoom)}this._layersMaxZoom=u===-1/0?void 0:u,this._layersMinZoom=a===1/0?void 0:a,p!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===void 0&&this._layersMaxZo
365om&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Qi=Kn.extend({initialize:function(a,u){k(this,u),this._layers={};var p,w;if(a)for(p=0,w=a.length;p<w;p++)this.addLayer(a[p])},addLayer:function(a){var u=this.getLayerId(a);return this._layers[u]=a,this._map&&this._map.addLayer(a),this},removeLayer:function(a){var u=a in this._layers?a:this.getLayerId(a);return this._map&&this._layers[u]&&this._map.removeLayer(this._layers[u]),delete this._layers[u],this},hasLayer:function(a){var u=typeof a=="number"?a:this.getLayerId(a);return u in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(a){var u=Array.prototype.slice.call(arguments,1),p,w;for(p in this._layers)w=this._layers[p],w[a]&&w[a].apply(w,u);return this},onAdd:function(a){this.eachLayer(a.addLayer,a)},onRemove:function(a){this.eachLayer(a.removeLayer,a)},eachLayer:function(a,u){for(var p in this._layers)a.call(u,this._layers[p]);return this},getLayer:function(a){return this._layers[a]},getLayers:function(){var a=[];return this.eachLayer(a.push,a),a},setZIndex:function(a){return this.invoke("setZIndex",a)},getLayerId:function(a){return f(a)}}),Sa=function(a,u){return new Qi(a,u)},Ei=Qi.extend({addLayer:function(a){return this.hasLayer(a)?this:(a.addEventParent(this),Qi.prototype.addLayer.call(this,a),this.fire("layeradd",{layer:a}))},removeLayer:function(a){return this.hasLayer(a)?(a in this._layers&&(a=this._layers[a]),a.removeEventParent(this),Qi.prototype.removeLayer.call(this,a),this.fire("layerremove",{layer:a})):this},setStyle:function(a){return this.invoke("setStyle",a)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var a=new je;for(var u in this._layers){var p=this._layers[u];a.extend(p.getBounds?p.getBounds():p.getLatLng())}return a}}),kd=function(a,u){return new Ei(a,u)},Es=xe.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(a){k(this,a)},createIcon:function(a){return this._createIcon("icon",a)},createShadow:function(a){return this._createIcon("shadow",a)},_createIcon:function(a,u){var p=this._getIconUrl(a);if(!p){if(a==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var w=this._createImg(p,u&&u.tagName==="IMG"?u:null);return this._setIconStyles(w,a),(this.options.crossOrigin||this.options.crossOrigin==="")&&(w.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),w},_setIconStyles:function(a,u){var p=this.options,w=p[u+"Size"];typeof w=="number"&&(w=[w,w]);var C=Z(w),M=Z(u==="shadow"&&p.shadowAnchor||p.iconAnchor||C&&C.divideBy(2,!0));a.className="leaflet-marker-"+u+" "+(p.className||""),M&&(a.style.marginLeft=-M.x+"px",a.style.marginTop=-M.y+"px"),C&&(a.style.width=C.x+"px",a.style.height=C.y+"px")},_createImg:function(a,u){return u=u||document.createElement("img"),u.src=a,u},_getIconUrl:function(a){return Le.retina&&this.options[a+"RetinaUrl"]||this.options[a+"Url"]}});function Td(a){return new Es(a)}var hr=Es.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(a){return typeof hr.imagePath!="string"&&(hr.imagePath=this._detectIconPath()),(this.options.imagePath||hr.imagePath)+Es.prototype._getIconUrl.call(this,a)},_stripUrl:function(a){var u=function(p,w,C){var M=w.exec(p);return M&&M[C]};return a=u(a,/^url\((['"])?(.+)\1\)$/,2),a&&u(a,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var a=Ye("div","leaflet-default-icon-path",document.body),u=ya(a,"background-image")||ya(a,"backgroundImage");if(document.body.removeChild(a),u=this._stripUrl(u),u)return u;var p=document.querySelector('link[href$="leaflet.css"]');return p?p.href.substring(0,p.href.length-11-1):""}}),kc=Ln.extend({initialize:function(a){this._marker=a},addHooks:function(){var a=this._marker._icon;this._draggable||(this._draggable=new Yn(a,a,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),Ze(a,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&xt(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(a){var u=this._marker,p=u._map,w=this._marker.options.autoPanSpeed,C=this._marker.options.autoPanPadding,M=Ci(u._icon),V=p.getPixelBounds(),J=p.getPixelOrigin(),ee=ne(V.min._subtract(J).add(C),V.max._subtract(J).subtract(C));
vendor: 9,052 bytes, line 365
365if(!ee.contains(M)){var re=Z((Math.max(ee.max.x,M.x)-ee.max.x)/(V.max.x-ee.max.x)-(Math.min(ee.min.x,M.x)-ee.min.x)/(V.min.x-ee.min.x),(Math.max(ee.max.y,M.y)-ee.max.y)/(V.max.y-ee.max.y)-(Math.min(ee.min.y,M.y)-ee.min.y)/(V.min.y-ee.min.y)).multiplyBy(w);p.panBy(re,{animate:!1}),this._draggable._newPos._add(re),this._draggable._startPos._add(re),Lt(u._icon,this._draggable._newPos),this._onDrag(a),this._panRequest=fe(this._adjustPan.bind(this,a))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(a){this._marker.options.autoPan&&(ve(this._panRequest),this._panRequest=fe(this._adjustPan.bind(this,a)))},_onDrag:function(a){var u=this._marker,p=u._shadow,w=Ci(u._icon),C=u._map.layerPointToLatLng(w);p&&Lt(p,w),u._latlng=C,a.latlng=C,a.oldLatLng=this._oldLatLng,u.fire("move",a).fire("drag",a)},_onDragEnd:function(a){ve(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",a)}}),Ai=Kn.extend({options:{icon:new hr,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(a,u){k(this,u),this._latlng=ie(a)},onAdd:function(a){this._zoomAnimated=this._zoomAnimated&&a.options.markerZoomAnimation,this._zoomAnimated&&a.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(a){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&a.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(a){var u=this._latlng;return this._latlng=ie(a),this.update(),this.fire("move",{oldLatLng:u,latlng:this._latlng})},setZIndexOffset:function(a){return this.options.zIndexOffset=a,this.update()},getIcon:function(){return this.options.icon},setIcon:function(a){return this.options.icon=a,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var a=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(a)}return this},_initIcon:function(){var a=this.options,u="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),p=a.icon.createIcon(this._icon),w=!1;p!==this._icon&&(this._icon&&this._removeIcon(),w=!0,a.title&&(p.title=a.title),p.tagName==="IMG"&&(p.alt=a.alt||"")),Ze(p,u),a.keyboard&&(p.tabIndex="0",p.setAttribute("role","button")),this._icon=p,a.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&He(p,"focus",this._panOnFocus,this);var C=a.icon.createShadow(this._shadow),M=!1;C!==this._shadow&&(this._removeShadow(),M=!0),C&&(Ze(C,u),C.alt=""),this._shadow=C,a.opacity<1&&this._updateOpacity(),w&&this.getPane().appendChild(this._icon),this._initInteraction(),C&&M&&this.getPane(a.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&ft(this._icon,"focus",this._panOnFocus,this),_t(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&_t(this._shadow),this._shadow=null},_setPos:function(a){this._icon&&Lt(this._icon,a),this._shadow&&Lt(this._shadow,a),this._zIndex=a.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(a){this._icon&&(this._icon.style.zIndex=this._zIndex+a)},_animateZoom:function(a){var u=this._map._latLngToNewLayerPoint(this._latlng,a.zoom,a.center).round();this._setPos(u)},_initInteraction:function(){if(this.options.interactive&&(Ze(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),kc)){var a=this.options.draggable;this.dragging&&(a=this.dragging.enabled(),this.dragging.disable()),this.dragging=new kc(this),a&&this.dragging.enable()}},setOpacity:function(a){return this.options.opacity=a,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var a=this.options.opacity;this._icon&&fn(this._icon,a),this._shadow&&fn(this._shadow,a)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var a=this._map;if(a){var u=this.options.icon.options,p=u.iconSize?Z(u.iconSize):Z(0,0),w=u.iconAnchor?Z(u.iconAnchor):Z(0,0);a.panInside(this._latlng,{paddingTopLeft:w,paddingBottomRight:p.subtract(w)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function Nf(a,u){return new Ai(a,u)}var Xi=Kn.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(a){this._renderer=a.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(a){return k(this,a),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&a&&Object.prototype.hasOwnProperty.call(a,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),zo=Xi.extend({options:{fill:!0,radius:10},initialize:function(a,u){k(this,u),this._latlng=ie(a),this._radius=this.options.radius},setLatLng:function(a){var u=this._latlng;return this._latlng=ie(a),this.redraw(),this.fire("move",{oldLatLng:u,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(a){return this.options.radius=this._radius=a,this.redraw()},getRadius:function(){return this._radius},setStyle:function(a){var u=a&&a.radius||this._radius;return Xi.prototype.setStyle.call(this,a),this.setRadius(u),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var a=this._radius,u=this._radiusY||a,p=this._clickTolerance(),w=[a+p,u+p];this._pxBounds=new z(this._point.subtract(w),this._point.add(w))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(a){return a.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function Cd(a,u){return new zo(a,u)}var Uo=zo.extend({initialize:function(a,u,p){if(typeof u=="number"&&(u=l({},p,{radius:u})),k(this,u),this._latlng=ie(a),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(a){return this._mRadius=a,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var a=[this._radius,this._radiusY||this._radius];return new je(this._map.layerPointToLatLng(this._point.subtract(a)),this._map.layerPointToLatLng(this._point.add(a)))},setStyle:Xi.prototype.setStyle,_project:function(){var a=this._latlng.lng,u=this._latlng.lat,p=this._map,w=p.options.crs;if(w.distance===_e.distance){var C=Math.PI/180,M=this._mRadius/_e.R/C,V=p.project([u+M,a]),J=p.project([u-M,a]),ee=V.add(J).divideBy(2),re=p.unproject(ee).lat,be=Math.acos((Math.cos(M*C)-Math.sin(u*C)*Math.sin(re*C))/(Math.cos(u*C)*Math.cos(re*C)))/C;(isNaN(be)||be===0)&&(be=M/Math.cos(Math.PI/180*u)),this._point=ee.subtract(p.getPixelOrigin()),this._radius=isNaN(be)?0:ee.x-p.project([re,a-be]).x,this._radiusY=ee.y-V.y}else{var Fe=w.unproject(w.project(this._latlng).subtract([this._mRadius,0]));this._point=p.latLngToLayerPoint(this._latlng),this._radius=this._point.x-p.latLngToLayerPoint(Fe).x}this._updateBounds()}});function ka(a,u,p){return new Uo(a,u,p)}var Tn=Xi.extend({options:{smoothFactor:1,noClip:!1},initialize:function(a,u){k(this,u),this._setLatLngs(a)},getLatLngs:function(){return this._latlngs},setLatLngs:function(a){return this._setLatLngs(a),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(a){for(var u=1/0,p=null,w=Ps,C,M,V=0,J=this._parts.length;V<J;V++)for(var ee=this._parts[V],re=1,be=ee.length;re<be;re++){C=ee[re-1],M=ee[re];var Fe=w(a,C,M,!0);Fe<u&&(u=Fe,p=w(a,C,M))}return p&&(p.distance=Math.sqrt(u)),p}
365,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return jd(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(a,u){return u=u||this._defaultShape(),a=ie(a),u.push(a),this._bounds.extend(a),this.redraw()},_setLatLngs:function(a){this._bounds=new je,this._latlngs=this._convertLatLngs(a)},_defaultShape:function(){return In(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(a){for(var u=[],p=In(a),w=0,C=a.length;w<C;w++)p?(u[w]=ie(a[w]),this._bounds.extend(u[w])):u[w]=this._convertLatLngs(a[w]);return u},_project:function(){var a=new z;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,a),this._bounds.isValid()&&a.isValid()&&(this._rawPxBounds=a,this._updateBounds())},_updateBounds:function(){var a=this._clickTolerance(),u=new Y(a,a);this._rawPxBounds&&(this._pxBounds=new z([this._rawPxBounds.min.subtract(u),this._rawPxBounds.max.add(u)]))},_projectLatlngs:function(a,u,p){var w=a[0]instanceof ge,C=a.length,M,V;if(w){for(V=[],M=0;M<C;M++)V[M]=this._map.latLngToLayerPoint(a[M]),p.extend(V[M]);u.push(V)}else for(M=0;M<C;M++)this._projectLatlngs(a[M],u,p)},_clipPoints:function(){var a=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(a))){if(this.options.noClip){this._parts=this._rings;return}var u=this._parts,p,w,C,M,V,J,ee;for(p=0,C=0,M=this._rings.length;p<M;p++)for(ee=this._rings[p],w=0,V=ee.length;w<V-1;w++)J=bd(ee[w],ee[w+1],a,w,!0),J&&(u[C]=u[C]||[],u[C].push(J[0]),(J[1]!==ee[w+1]||w===V-2)&&(u[C].push(J[1]),C++))}},_simplifyPoints:function(){for(var a=this._parts,u=this.options.smoothFactor,p=0,w=a.length;p<w;p++)a[p]=Bo(a[p],u)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(a,u){var p,w,C,M,V,J,ee=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(a))return!1;for(p=0,M=this._parts.length;p<M;p++)for(J=this._parts[p],w=0,V=J.length,C=V-1;w<V;C=w++)if(!(!u&&w===0)&&wd(a,J[C],J[w])<=ee)return!0;return!1}});function Sf(a,u){return new Tn(a,u)}Tn._flat=_d;var Ri=Tn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
365,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return vd(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(a){var u=Tn.prototype._convertLatLngs.call(this,a),p=u.length;return p>=2&&u[0]instanceof ge&&u[0].equals(u[p-1])&&u.pop(),u},_setLatLngs:function(a){Tn.prototype._setLatLngs.call(this,a),In(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return In(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var a=this._renderer._bounds,u=this.options.weight,p=new Y(u,u);if(a=new z(a.min.subtract(p),a.max.add(p)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(a))){if(this.options.noClip){this._parts=this._rings;return}for(var w=0,C=this._rings.length,M;w<C;w++)M=wc(this._rings[w],a,!0),M.length&&this._parts.push(M)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(a){var u=!1,p,w,C,M,V,J,ee,re;if(!this._pxBounds||!this._pxBounds.contains(a))return!1;for(M=0,ee=this._parts.length;M<ee;M++)for(p=this._parts[M],V=0,re=p.length,J=re-1;V<re;J=V++)w=p[V],C=p[J],w.y>a.y!=C.y>a.y&&a.x<(C.x-w.x)*(a.y-w.y)/(C.y-w.y)+w.x&&(u=!u);return u||Tn.prototype._containsPoint.call(this,a,!0)}});function kf(a,u){return new Ri(a,u)}var ui=Ei.extend({initialize:function(a,u){k(this,u),this._layers={},a&&this.addData(a)},addData:function(a){var u=I(a)?a:a.features,p,w,C;if(u){for(p=0,w=u.length;p<w;p++)C=u[p],(C.geometries||C.geometry||C.features||C.coordinates)&&this.addData(C);return this}var M=this.options;if(M.filter&&!M.filter(a))return this;var V=mr(a,M);return V?(V.feature=Zo(a),V.defaultOptions=V.options,this.resetStyle(V),M.onEachFeature&&M.onEachFeature(a,V),this.addLayer(V)):this},resetStyle:function(a){return a===void 0?this.eachLayer(this.resetStyle,this):(a.options=l({},a.defaultOptions),this._setLayerStyle(a,this.options.style),this)},setStyle:function(a){return this.eachLayer(function(u){this._setLayerStyle(u,a)},this)},_setLayerStyle:function(a,u){a.setStyle&&(typeof u=="function"&&(u=u(a.feature)),a.setStyle(u))}});function mr(a,u){var p=a.type==="Feature"?a.geometry:a,w=p?p.coordinates:null,C=[],M=u&&u.pointToLayer,V=u&&u.coordsToLatLng||Wo,J,ee,re,be;if(!w&&!p)return null;switch(p.type){case"Point":return J=V(w),$o(M,a,J,u);case"MultiPoint":for(re=0,be=w.length;re<be;re++)J=V(w[re]),C.push($o(M,a,J,u));return new Ei(C);case"LineString":case"MultiLineString":return ee=Ta(w,p.type==="LineString"?0:1,V),new Tn(ee,u);case"Polygon":case"MultiPolygon":return ee=Ta(w,p.type==="Polygon"?1:2,V),new Ri(ee,u);case"GeometryCollection":for(re=0,be=p.geometries.length;re<be;re++){var Fe=mr({geometry:p.geometries[re],type:"Feature",properties:a.properties},u);Fe&&C.push(Fe)}return new Ei(C);case"FeatureCollection":for(re=0,be=p.features.length;re<be;re++){var Je=mr(p.features[re],u);Je&&C.push(Je)}return new Ei(C);default:throw new Error("Invalid GeoJSON object.")}}function $o(a,u,p,w){return a?a(u,p):new Ai(p,w&&w.markersInheritOptions&&w)}function Wo(a){return new ge(a[1],a[0],a[2])}function Ta(a,u,p){for(var w=[],C=0,M=a.length,V;C<M;C++)V=u?Ta(a[C],u-1,p):(p||Wo)(a[C]),w.push(V);return w}function Ho(a,u){return a=ie(a),a.alt!==void 0?[_(a.lng,u),_(a.lat,u),_(a.alt,u)]:[_(a.lng,u),_(a.lat,u)]}function qo(a,u,p,w){for(var C=[],M=0,V=a.length;M<V;M++)C.push(u?qo(a[M],In(a[M])?0:u-1,p,w):Ho(a[M],w));return!u&&p&&C.length>0&&C.push(C[0].slice()),C}function fr(a,u){return a.feature?l({},a.feature,{geometry:u}):Zo(u)}function Zo(a){return a.type==="Feature"||a.type==="FeatureCollection"?a:{type:"Feature",properties:{},geometry:a}}var Tc={toGeoJSON:function(a){return fr(this,{type:"Point",coordinates:Ho(this.getLatLng(),a)})}};Ai.include(Tc),Uo.include(Tc),zo.include(Tc),Tn.include({toGeoJSON:function(a){var u=!In(this._latlngs),p=qo(this._latlngs,u?1:0,!1,a);return fr(this,{type:(u?"Multi":"")+"LineString",coordinates:p})}}),Ri.include({toGeoJSON:function(a){var u=!In(this._latlngs),p=u&&!In(this._latlngs[0]),w=qo(this._latlngs,p?2:u?1:0,!0,a);return u||(w=[w]),fr(this,{type:(p?"Multi":"")+"Polygon",coordinates:w})}}),Qi.include({toMultiPoint:function(a){var u=[];return this.eachLayer(function(p){u.push(p.toGeoJSON(a).geometry.coordinates)}),fr(this,{type:"MultiPoint",coordinates:u})},toGeoJSON:function(a){var u=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(u==="MultiPoint")return this.toMultiPoint(a);var p=u==="GeometryCollection",w=[];return this.eachLayer(function(C){if(C.toGeoJSON){var M=C.toGeoJSON(a);if(p)w.push(M.geometry);else{var V=Zo(M);V.type==="FeatureCollection"?w.push.apply(w,V.features):w.push(V)}}}),p?fr(this,{geometries:w,type:"GeometryCollection"}):{type:"FeatureCollection",features:w}}});function Pd(a,u){return new ui(a,u)}var Jn=Pd,es=Kn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(a,u,p){this._url=a,this._bounds=ye(u),k(this,p)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Ze(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){_t(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(a){return this.options.opacity=a,this._image&&this._updateOpacity(),this},setStyle:function(a){return a.opacity&&this.setOpacity(a.opacity),this},bringToFront:function(){return this._map&&sr(this._image),this},bringToBack:function(){return this._map&&Ti(this._image),this},setUrl:function(a){return this._url=a,this._image&&(this._image.src=a),this},setBounds:function(a){return this._bounds=ye(a),this._map&&this._reset(),this},getEvents:function(){var a={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(a.zoomanim=this._animateZoom),a},setZIndex:function(a){return this.options.zIndex=a,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var a=this._url.tagName==="IMG",u=this._image=a?this._url:Ye("img");if(Ze(u,"leaflet-image-layer"),this._zoomAnimated&&Ze(u,"leaflet-zoom-animated"),this.options.className&&Ze(u,this.options.className),u.onselectstart=v,u.onmousemove=v,u.onload=d(this.fire,this,"load"),u.onerror=d(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(u.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),a){this._url=u.src;return}u.src=this._url,u.alt=this.options.alt},_animateZoom:function(a){var u=this._map.getZoomScale(a.zoom),p=this._map._latLngBoundsToNewLayerBounds(this._bounds,a.zoom,a.center).min;qn(this._image,p,u)},_reset:function(){var a=this._image,u=new z(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),p=u.getSize();Lt(a,u.min),a.style.width=p.x+"px",a.style.height=p.y+"px"},_updateOpacity:function(){fn(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var a=this.options.errorOverlayUrl;a&&this._url!==a&&(this._url=a,this._image.src=a)},getCenter:function(){return this._bounds.getCenter()}}),Ed=function(a,u,p){return new es(a,u,p)},Cc=es.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInl
vendor: 5,696 bytes, line 365
365ine:!0},_initImage:function(){var a=this._url.tagName==="VIDEO",u=this._image=a?this._url:Ye("video");if(Ze(u,"leaflet-image-layer"),this._zoomAnimated&&Ze(u,"leaflet-zoom-animated"),this.options.className&&Ze(u,this.options.className),u.onselectstart=v,u.onmousemove=v,u.onloadeddata=d(this.fire,this,"load"),a){for(var p=u.getElementsByTagName("source"),w=[],C=0;C<p.length;C++)w.push(p[C].src);this._url=p.length>0?w:[u.src];return}I(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(u.style,"objectFit")&&(u.style.objectFit="fill"),u.autoplay=!!this.options.autoplay,u.loop=!!this.options.loop,u.muted=!!this.options.muted,u.playsInline=!!this.options.playsInline;for(var M=0;M<this._url.length;M++){var V=Ye("source");V.src=this._url[M],u.appendChild(V)}}});function Ad(a,u,p){return new Cc(a,u,p)}var Pc=es.extend({_initImage:function(){var a=this._image=this._url;Ze(a,"leaflet-image-layer"),this._zoomAnimated&&Ze(a,"leaflet-zoom-animated"),this.options.className&&Ze(a,this.options.className),a.onselectstart=v,a.onmousemove=v}});function Ec(a,u,p){return new Pc(a,u,p)}var di=Kn.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(a,u){a&&(a instanceof ge||I(a))?(this._latlng=ie(a),k(this,u)):(k(this,a),this._source=u),this.options.content&&(this._content=this.options.content)},openOn:function(a){return a=arguments.length?a:this._source._map,a.hasLayer(this)||a.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(a){return this._map?this.close():(arguments.length?this._source=a:a=this._source,this._prepareOpen(),this.openOn(a._map)),this},onAdd:function(a){this._zoomAnimated=a._zoomAnimated,this._container||this._initLayout(),a._fadeAnimated&&fn(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),a._fadeAnimated&&fn(this._container,1),this.bringToFront(),this.options.interactive&&(Ze(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(a){a._fadeAnimated?(fn(this._container,0),this._removeTimeout=setTimeout(d(_t,void 0,this._container),200)):_t(this._container),this.options.interactive&&(xt(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(a){return this._latlng=ie(a),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(a){return this._content=a,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var a={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(a.zoomanim=this._animateZoom),a},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&sr(this._container),this},bringToBack:function(){return this._map&&Ti(this._container),this},_prepareOpen:function(a){var u=this._source;if(!u._map)return!1;if(u instanceof Ei){u=null;var p=this._source._layers;for(var w in p)if(p[w]._map){u=p[w];break}if(!u)return!1;this._source=u}if(!a)if(u.getCenter)a=u.getCenter();else if(u.getLatLng)a=u.getLatLng();else if(u.getBounds)a=u.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(a),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var a=this._contentNode,u=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof u=="string")a.innerHTML=u;else{for(;a.hasChildNodes();)a.removeChild(a.firstChild);a.appendChild(u)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var a=this._map.latLngToLayerPoint(this._latlng),u=Z(this.options.offset),p=this._getAnchor();this._zoomAnimated?Lt(this._container,a.add(p)):u=u.add(a).add(p);var w=this._containerBottom=-u.y,C=this._containerLeft=-Math.round(this._containerWidth/2)+u.x;this._container.style.bottom=w+"px",this._container.style.left=C+"px"}},_getAnchor:function(){return[0,0]}});tt.include({_initOverlay:function(a,u,p,w){var C=u;return C instanceof a||(C=new a(w).setContent(u)),p&&C.setLatLng(p),C}}),Kn.include({_initOverlay:function(a,u,p,w){var C=p;return C instanceof a?(k(C,w),C._source=this):(C=u&&!w?u:new a(w,this),C.setContent(p)),C}});var Go=di.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(a){return a=arguments.length?a:this._source._map,!a.hasLayer(this)&&a._popup&&a._popup.options.autoClose&&a.removeLayer(a._popup),a._popup=this,di.prototype.openOn.call(this,a)},onAdd:function(a){di.prototype.onAdd.call(this,a),a.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Xi||this._source.on("preclick",ci))},onRemove:function(a){di.prototype.onRemove.call(this,a),a.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Xi||this._source.off("preclick",ci))},getEvents:function(){var a=di.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(a.preclick=this.close),this.options.keepInView&&
365(a.moveend=this._adjustPan),a},_initLayout:function(){var a="leaflet-popup",u=this._container=Ye("div",a+" "+(this.options.className||"")+" leaflet-zoom-animated"),p=this._wrapper=Ye("div",a+"-content-wrapper",u);if(this._contentNode=Ye("div",a+"-content",p),_a(u),Mo(this._contentNode),He(u,"contextmenu",ci),this._tipContainer=Ye("div",a+"-tip-container",u),this._tip=Ye("div",a+"-tip",this._tipContainer),this.options.closeButton){var w=this._closeButton=Ye("a",a+"-close-button",u);w.setAttribute("role","button"),w.setAttribute("aria-label","Close popup"),w.href="#close",w.innerHTML='<span aria-hidden="true">&#215;</span>',He(w,"click",function(C){Pt(C),this.close()},this)}},_updateLayout:function(){var a=this._contentNode,u=a.style;u.width="",u.whiteSpace="nowrap";var p=a.offsetWidth;p=Math.min(p,this.options.maxWidth),p=Math.max(p,this.options.minWidth),u.width=p+1+"px",u.whiteSpace="",u.height="";var w=a.offsetHeight,C=this.options.maxHeight,M="leaflet-popup-scrolled";C&&w>C?(u.height=C+"px",Ze(a,M)):xt(a,M),this._containerWidth=this._container.offsetWidth},_animateZoom:function(a){var u=this._map._latLngToNewLayerPoint(this._latlng,a.zoom,a.center),p=this._getAnchor();Lt(this._container,u.add(p))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var a=this._map,u=parseInt(ya(this._container,"marginBottom"),10)||0,p=this._container.offsetHeight+u,w=this._containerWidth,C=new Y(this._containerLeft,-p-this._containerBottom);C._add(Ci(this._container));var M=a.layerPointToContainerPoint(C),V=Z(this.options.autoPanPadding),J=Z(this.options.autoPanPaddingTopLeft||V),ee=Z(this.options.autoPanPaddingBottomRight||V),re=a.getSize(),be=0,Fe=0;M.x+w+ee.x>re.x&&(be=M.x+w-re.x+ee.x),M.x-be-J.x<0&&(be=M.x-J.x),M.y+p+ee.y>re.y&&(Fe=M.y+p-re.y+ee.y),M.y-Fe-J.y<0&&(Fe=M.y-J.y),(be||Fe)&&(this.options.keepInView&&(this._autopanning=!0),a.fire("autopanstart").panBy([be,Fe]))}},_getAnchor:function(){return Z(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),pr=function(a,u){return new Go(a,u)};tt.mergeOptions({closePopupOnClick:!0}),tt.include({openPopup:function(a,u,p){return this._initOverlay(Go,a,u,p).openOn(this),this},closePopup:function(a){return a=arguments.length?a:this._popup,a&&a.close(),this}}),Kn.include({bindPopup:function(a,u){return this._popup=this._initOverlay(Go,this._popup,a,u),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(a){return this._popup&&(this instanceof Ei||(this._popup._source=this),this._popup._prepareOpen(a||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(a){return this._popup&&this._popup.setContent(a),this},getPopup:function(){return this._popup},_openPopup:function(a){if(!(!this._popup||!this._map)){Gn(a);var u=a.layer||a.target;if(this._popup._source===u&&!(u instanceof Xi)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(a.latlng);return}this._popup._source=u,this.openPopup(a.latlng)}},_movePopup:function(a){this._popup.setLatLng(a.latlng)},_onKeyPress:function(a){a.originalEvent.keyCode===13&&this._openPopup(a)}});var gr=di.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(a){di.prototype.onAdd.call(this,a),this.setOpacity(this.options.opacity),a.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(a){di.prototype.onRemove.call(this,a),a.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var a=di.prototype.getEvents.call(this);return this.options.permanent||(a.preclick=this.close),a},_initLayout:function(){var a="leaflet-tooltip",u=a+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=Ye("div",u),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+f(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(a){var u,p,w=this._map,C=this._container,M=w.latLngToContainerPoint(w.getCenter()),V=w.layerPointToContainerPoint(a),J=this.options.direction,ee=C.offsetWidth,re=C.offsetHeight,be=Z(this.options.offset),Fe=this._getAnchor();J==="top"?(u=ee/2,p=re):J==="bottom"?(u=ee/2,p=0):J==="center"?(u=ee/2,p=re/2):J==="right"?(u=0,p=re/2):J==="left"?
vendor: 7,263 bytes, line 365
365(u=ee,p=re/2):V.x<M.x?(J="right",u=0,p=re/2):(J="left",u=ee+(be.x+Fe.x)*2,p=re/2),a=a.subtract(Z(u,p,!0)).add(be).add(Fe),xt(C,"leaflet-tooltip-right"),xt(C,"leaflet-tooltip-left"),xt(C,"leaflet-tooltip-top"),xt(C,"leaflet-tooltip-bottom"),Ze(C,"leaflet-tooltip-"+J),Lt(C,a)},_updatePosition:function(){var a=this._map.latLngToLayerPoint(this._latlng);this._setPosition(a)},setOpacity:function(a){this.options.opacity=a,this._container&&fn(this._container,a)},_animateZoom:function(a){var u=this._map._latLngToNewLayerPoint(this._latlng,a.zoom,a.center);this._setPosition(u)},_getAnchor:function(){return Z(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),Ca=function(a,u){return new gr(a,u)};tt.include({openTooltip:function(a,u,p){return this._initOverlay(gr,a,u,p).openOn(this),this},closeTooltip:function(a){return a.close(),this}}),Kn.include({bindTooltip:function(a,u){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(gr,this._tooltip,a,u),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(a){if(!(!a&&this._tooltipHandlersAdded)){var u=a?"off":"on",p={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?p.add=this._openTooltip:(p.mouseover=this._openTooltip,p.mouseout=this.closeTooltip,p.click=this._openTooltip,this._map?this._addFocusListeners():p.add=this._addFocusListeners),this._tooltip.options.sticky&&(p.mousemove=this._moveTooltip),this[u](p),this._tooltipHandlersAdded=!a}},openTooltip:function(a){return this._tooltip&&(this instanceof Ei||(this._tooltip._source=this),this._tooltip._prepareOpen(a)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(a){return this._tooltip&&this._tooltip.setContent(a),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(a){var u=typeof a.getElement=="function"&&a.getElement();u&&(He(u,"focus",function(){this._tooltip._source=a,this.openTooltip()},this),He(u,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(a){var u=typeof a.getElement=="function"&&a.getElement();u&&u.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(a){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var u=this;this._map.once("moveend",function(){u._openOnceFlag=!1,u._openTooltip(a)});return}this._tooltip._source=a.layer||a.target,this.openTooltip(this._tooltip.options.sticky?a.latlng:void 0)}},_moveTooltip:function(a){var u=a.latlng,p,w;this._tooltip.options.sticky&&a.originalEvent&&(p=this._map.mouseEventToContainerPoint(a.originalEvent),w=this._map.containerPointToLayerPoint(p),u=this._map.layerPointToLatLng(w)),this._tooltip.setLatLng(u)}});var Yo=Es.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(a){var u=a&&a.tagName==="DIV"?a:document.createElement("div"),p=this.options;if(p.html instanceof Element?(Po(u),u.appendChild(p.html)):u.innerHTML=p.html!==!1?p.html:"",p.bgPos){var w=Z(p.bgPos);u.style.backgroundPosition=-w.x+"px "+-w.y+"px"}return this._setIconStyles(u,"icon"),u},createShadow:function(){return null}});function Rd(a){return new Yo(a)}Es.Default=hr;var ts=Kn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Le.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(a){k(this,a)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(a){a._addZoomLimit(this)},onRemove:function(a){this._removeAllTiles(),_t(this._container),a._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(sr(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(Ti(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(a){return this.options.opacity=a,this._updateOpacity(),this},setZIndex:function(a){return this.options.zIndex=a,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var a=this._clampZoom(this._map.getZoom());a!==this._tileZoom&&(this._tileZoom=a,this._updateLevels()),this._update()}return this},getEvents:function(){var a={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=x(this._onMoveEnd,this.options.updateInterval,this)),a.move=this._onMove),this._zoomAnimated&&(a.zoomanim=this._animateZoom),a},createTile:function(){return document.createElement("div")},getTileSize:function(){var a=this.options.tileSize;return a instanceof Y?a:new Y(a,a)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(a){for(var u=this.getPane().children,p=-a(-1/0,1/0),w=0,C=u.length,M;w<C;w++)M=u[w].style.zIndex,u[w]!==this._container&&M&&(p=a(p,+M));isFinite(p)&&(this.options.zIndex=p+a(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Le.ielt9){fn(this._container,this.options.opacity);var a=+new Date,u=!1,p=!1;for(var w in this._tiles){var C=this._tiles[w];if(!(!C.current||!C.loaded)){var M=Math.min(1,(a-C.loaded)/200);fn(C.el,M),M<1?u=!0:(C.active?p=!0:this._onOpaqueTile(C),C.active=!0)}}p&&!this._noPrune&&this._pruneTiles(),u&&(ve(this._fadeFrame),this._fadeFrame=fe(this._updateOpacity,this))}},_onOpaqueTile:v,_initContainer:function(){this._container||(this._container=Ye("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var a=this._tileZoom,u=this.options.maxZoom;if(a!==void 0){for(var p in this._levels)p=Number(p),this._levels[p].el.children.length||p===a?(this._levels[p].el.style.zIndex=u-Math.abs(a-p),this._onUpdateLevel(p)):(_t(this._levels[p].el),this._removeTilesAtZoom(p),this._onRemoveLevel(p),delete this._levels[p]);var w=this._levels[a],C=this._map;return w||(w=this._levels[a]={},w.el=Ye("div","leaflet-tile-container leaflet-zoom-animated",this._container),w.el.style.zIndex=u,w.origin=C.project(C.unproject(C.getPixelOrigin()),a).roun
vendor: 4,441 bytes, line 365
365d(),w.zoom=a,this._setZoomTransform(w,C.getCenter(),C.getZoom()),v(w.el.offsetWidth),this._onCreateLevel(w)),this._level=w,w}},_onUpdateLevel:v,_onRemoveLevel:v,_onCreateLevel:v,_pruneTiles:function(){if(this._map){var a,u,p=this._map.getZoom();if(p>this.options.maxZoom||p<this.options.minZoom){this._removeAllTiles();return}for(a in this._tiles)u=this._tiles[a],u.retain=u.current;for(a in this._tiles)if(u=this._tiles[a],u.current&&!u.active){var w=u.coords;this._retainParent(w.x,w.y,w.z,w.z-5)||this._retainChildren(w.x,w.y,w.z,w.z+2)}for(a in this._tiles)this._tiles[a].retain||this._removeTile(a)}},_removeTilesAtZoom:function(a){for(var u in this._tiles)this._tiles[u].coords.z===a&&this._removeTile(u)},_removeAllTiles:function(){for(var a in this._tiles)this._removeTile(a)},_invalidateAll:function(){for(var a in this._levels)_t(this._levels[a].el),this._onRemoveLevel(Number(a)),delete this._levels[a];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(a,u,p,w){var C=Math.floor(a/2),M=Math.floor(u/2),V=p-1,J=new Y(+C,+M);J.z=+V;var ee=this._tileCoordsToKey(J),re=this._tiles[ee];return re&&re.active?(re.retain=!0,!0):(re&&re.loaded&&(re.retain=!0),V>w?this._retainParent(C,M,V,w):!1)},_retainChildren:function(a,u,p,w){for(var C=2*a;C<2*a+2;C++)for(var M=2*u;M<2*u+2;M++){var V=new Y(C,M);V.z=p+1;var J=this._tileCoordsToKey(V),ee=this._tiles[J];if(ee&&ee.active){ee.retain=!0;continue}else ee&&ee.loaded&&(ee.retain=!0);p+1<w&&this._retainChildren(C,M,p+1,w)}},_resetView:function(a){var u=a&&(a.pinch||a.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),u,u)},_animateZoom:function(a){this._setView(a.center,a.zoom,!0,a.noUpdate)},_clampZoom:function(a){var u=this.options;return u.minNativeZoom!==void 0&&a<u.minNativeZoom?u.minNativeZoom:u.maxNativeZoom!==void 0&&u.maxNativeZoom<a?u.maxNativeZoom:a},_setView:function(a,u,p,w){var C=Math.round(u);this.options.maxZoom!==void 0&&C>this.options.maxZoom||this.options.minZoom!==void 0&&C<this.options.minZoom?C=void 0:C=this._clampZoom(C);var M=this.options.updateWhenZooming&&C!==this._tileZoom;(!w||M)&&(this._tileZoom=C,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),C!==void 0&&this._update(a),p||this._pruneTiles(),this._noPrune=!!p),this._setZoomTransforms(a,u)},_setZoomTransforms:function(a,u){for(var p in this._levels)this._setZoomTransform(this._levels[p],a,u)},_setZoomTransform:function(a,u,p){var w=this._map.getZoomScale(p,a.zoom),C=a.origin.multiplyBy(w).subtract(this._map._getNewPixelOrigin(u,p)).round();Le.any3d?qn(a.el,C,w):Lt(a.el,C)},_resetGrid:function(){var a=this._map,u=a.options.crs,p=this._tileSize=this.getTileSize(),w=this._tileZoom,C=this._map.getPixelWorldBounds(this._tileZoom);C&&(this._globalTileRange=this._pxBoundsToTileRange(C)),this._wrapX=u.wrapLng&&!this.options.noWrap&&[Math.floor(a.project([0,u.wrapLng[0]],w).x/p.x),Math.ceil(a.project([0,u.wrapLng[1]],w).x/p.y)],this._wrapY=u.wrapLat&&!this.options.noWrap&&[Math.floor(a.project([u.wrapLat[0],0],w).y/p.x),Math.ceil(a.project([u.wrapLat[1],0],w).y/p.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(a){var u=this._map,p=u._animatingZoom?Math.max(u._animateToZoom,u.getZoom()):u.getZoom(),w=u.getZoomScale(p,this._tileZoom),C=u.project(a,this._tileZoom).floor(),M=u.getSize().divideBy(w*2);return new z(C.subtract(M),C.add(M))},_update:function(a){var u=this._map;if(u){var p=this._clampZoom(u.getZoom());if(a===void 0&&(a=u.getCenter()),this._tileZoom!==void 0){var w=this._getTiledPixelBounds(a),C=this._pxBoundsToTileRange(w),M=C.getCenter(),V=[],J=this.options.keepBuffer,ee=new z(C.getBottomLeft().subtract([J,-J]),C.getTopRight().add([J,-J]));if(!(isFinite(C.min.x)&&isFinite(C.min.y)&&isFinite(C.max.x)&&isFinite(C.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var re in this._tiles){var be=this._tiles[re].coords;(be.z!==this._tileZoom||!ee.contains(new Y(be.x,be.y)))&&(this._tiles[re].current=!1)}if(Math.abs(p-this._tileZoom)>1){this._setView(a,p);return}for(var Fe=C.min.y;Fe<=C.max.y;Fe++)for(var Je=C.min.x;Je<=C.max.x;Je++){var Gt=new Y(Je,Fe);if(Gt.z=this._tileZoom,!!this._isValidTile(Gt)){var $t=this._tiles[this._tileCoordsToKey(Gt)];$t?$t.current=!0:V.push(Gt)}}if(V.sort(function(gn,br){return gn.distanceTo(M)-br.distanceTo(M)}),V.length!==0){this._loading||(this._loading=!0,this.fire("loading"));
vendor: 7,690 bytes, line 365
365var Cn=document.createDocumentFragment();for(Je=0;Je<V.length;Je++)this._addTile(V[Je],Cn);this._level.el.appendChild(Cn)}}}},_isValidTile:function(a){var u=this._map.options.crs;if(!u.infinite){var p=this._globalTileRange;if(!u.wrapLng&&(a.x<p.min.x||a.x>p.max.x)||!u.wrapLat&&(a.y<p.min.y||a.y>p.max.y))return!1}if(!this.options.bounds)return!0;var w=this._tileCoordsToBounds(a);return ye(this.options.bounds).overlaps(w)},_keyToBounds:function(a){return this._tileCoordsToBounds(this._keyToTileCoords(a))},_tileCoordsToNwSe:function(a){var u=this._map,p=this.getTileSize(),w=a.scaleBy(p),C=w.add(p),M=u.unproject(w,a.z),V=u.unproject(C,a.z);return[M,V]},_tileCoordsToBounds:function(a){var u=this._tileCoordsToNwSe(a),p=new je(u[0],u[1]);return this.options.noWrap||(p=this._map.wrapLatLngBounds(p)),p},_tileCoordsToKey:function(a){return a.x+":"+a.y+":"+a.z},_keyToTileCoords:function(a){var u=a.split(":"),p=new Y(+u[0],+u[1]);return p.z=+u[2],p},_removeTile:function(a){var u=this._tiles[a];u&&(_t(u.el),delete this._tiles[a],this.fire("tileunload",{tile:u.el,coords:this._keyToTileCoords(a)}))},_initTile:function(a){Ze(a,"leaflet-tile");var u=this.getTileSize();a.style.width=u.x+"px",a.style.height=u.y+"px",a.onselectstart=v,a.onmousemove=v,Le.ielt9&&this.options.opacity<1&&fn(a,this.options.opacity)},_addTile:function(a,u){var p=this._getTilePos(a),w=this._tileCoordsToKey(a),C=this.createTile(this._wrapCoords(a),d(this._tileReady,this,a));this._initTile(C),this.createTile.length<2&&fe(d(this._tileReady,this,a,null,C)),Lt(C,p),this._tiles[w]={el:C,coords:a,current:!0},u.appendChild(C),this.fire("tileloadstart",{tile:C,coords:a})},_tileReady:function(a,u,p){u&&this.fire("tileerror",{error:u,tile:p,coords:a});var w=this._tileCoordsToKey(a);p=this._tiles[w],p&&(p.loaded=+new Date,this._map._fadeAnimated?(fn(p.el,0),ve(this._fadeFrame),this._fadeFrame=fe(this._updateOpacity,this)):(p.active=!0,this._pruneTiles()),u||(Ze(p.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:p.el,coords:a})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Le.ielt9||!this._map._fadeAnimated?fe(this._pruneTiles,this):setTimeout(d(this._pruneTiles,this),250)))},_getTilePos:function(a){return a.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(a){var u=new Y(this._wrapX?y(a.x,this._wrapX):a.x,this._wrapY?y(a.y,this._wrapY):a.y);return u.z=a.z,u},_pxBoundsToTileRange:function(a){var u=this.getTileSize();return new z(a.min.unscaleBy(u).floor(),a.max.unscaleBy(u).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var a in this._tiles)if(!this._tiles[a].loaded)return!1;return!0}});function xr(a){return new ts(a)}var ns=ts.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(a,u){this._url=a,u=k(this,u),u.detectRetina&&Le.retina&&u.maxZoom>0?(u.tileSize=Math.floor(u.tileSize/2),u.zoomReverse?(u.zoomOffset--,u.minZoom=Math.min(u.maxZoom,u.minZoom+1)):(u.zoomOffset++,u.maxZoom=Math.max(u.minZoom,u.maxZoom-1)),u.minZoom=Math.max(0,u.minZoom)):u.zoomReverse?u.minZoom=Math.min(u.maxZoom,u.minZoom):u.maxZoom=Math.max(u.minZoom,u.maxZoom),typeof u.subdomains=="string"&&(u.subdomains=u.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(a,u){return this._url===a&&u===void 0&&(u=!0),this._url=a,u||this.redraw(),this},createTile:function(a,u){var p=document.createElement("img");return He(p,"load",d(this._tileOnLoad,this,u,p)),He(p,"error",d(this._tileOnError,this,u,p)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(p.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(p.referrerPolicy=this.options.referrerPolicy),p.alt="",p.src=this.getTileUrl(a),p},getTileUrl:function(a){var u={r:Le.retina?"@2x":"",s:this._getSubdomain(a),x:a.x,y:a.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var p=this._globalTileRange.max.y-a.y;this.options.tms&&(u.y=p),u["-y"]=p}return A(this._url,l(u,this.options))},_tileOnLoad:function(a,u){Le.ielt9?setTimeout(d(a,this,null,u),0):a(null,u)},_tileOnError:function(a,u,p){var w=this.options.errorTileUrl;w&&u.getAttribute("src")!==w&&(u.src=w),a(p,u)},_onTileRemove:function(a){a.tile.onload=null},_getZoomForUrl:function(){var a=this._tileZoom,u=this.options.maxZoom,p=this.options.zoomReverse,w=this.options.zoomOffset;return p&&(a=u-a),a+w},_getSubdomain:function(a){var u=Math.abs(a.x+a.y)%this.options.subdomains.length;return this.options.subdomains[u]},_abortLoading:function(){var a,u;for(a in this._tiles)if(this._tiles[a].coords.z!==this._tileZoom&&(u=this._tiles[a].el,u.onload=v,u.onerror=v,!u.complete)){u.src=B;var p=this._tiles[a].coords;_t(u),delete this._tiles[a],this.fire("tileabort",{tile:u,coords:p})}},_removeTile:function(a){var u=this._tiles[a];if(u)return u.el.setAttribute("src",B),ts.prototype._removeTile.call(this,a)},_tileReady:function(a,u,p){if(!(!this._map||p&&p.getAttribute("src")===B))return ts.prototype._tileReady.call(this,a,u,p)}});function Ac(a,u){return new ns(a,u)}var Pa=ns.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(a,u){this._url=a;var p=l({},this.defaultWmsParams);for(var w in u)w in this.options||(p[w]=u[w]);u=k(this,u);var C=u.detectRetina&&Le.retina?2:1,M=this.getTileSize();p.width=M.x*C,p.height=M.y*C,this.wmsParams=p},onAdd:function(a){this._crs=this.options.crs||a.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var u=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[u]=this._crs.code,ns.prototype.onAdd.call(this,a)},getTileUrl:function(a){var u=this._tileCoordsToNwSe(a),p=this._crs,w=ne(p.project(u[0]),p.project(u[1])),C=w.min,M=w.max,V=(this._wmsVersion>=1.3&&this._crs===Sd?[C.y,C.x,M.y,M.x]:[C.x,C.y,M.x,M.y]).join(","),J=ns.prototype.getTileUrl.call(this,a);return J+P(this.wmsParams,J,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+V},setParams:function(a,u){return l(this.wmsParams,a),u||this.redraw(),this}});function Ld(a,u){return new Pa(a,u)}ns.WMS=Pa,Ac.wms=Ld;var hi=Kn.extend({options:{padding:.1},initialize:function(a){k(this,a),f(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Ze(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var a={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(a.zoomanim=this._onAnimZoom),a},_onAnimZoom:function(a){this._updateTransform(a.center,a.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(a,u){var p=this._map.getZoomScale(u,this._zoom),w=this._map.getSize().multiplyBy(.5+this.options.padding),C=this._map.project(this._center,u),M=w.multiplyBy(-p).add(C).subtract(this._map._getNewPixelOrigin(a,u));Le.any3d?qn(this._container,M,p):Lt(this._container,M)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var a in this._layers)this._layers[a]._reset()},_onZoomEnd:function(){for(var a in this._layers)this._layers[a]._project()},_updatePaths:function(){for(var a in this._layers)this._layers[a]._update()},_update:function(){var a=this.options.padding,u=this._map.getSize(),p=this._map.containerPointToLayerPoint(u.multiplyBy(-a)).round();
vendor: 3,984 bytes, line 365
365this._bounds=new z(p,p.add(u.multiplyBy(1+a*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Rc=hi.extend({options:{tolerance:0},getEvents:function(){var a=hi.prototype.getEvents.call(this);return a.viewprereset=this._onViewPreReset,a},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){hi.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var a=this._container=document.createElement("canvas");He(a,"mousemove",this._onMouseMove,this),He(a,"click dblclick mousedown mouseup contextmenu",this._onClick,this),He(a,"mouseout",this._handleMouseOut,this),a._leaflet_disable_events=!0,this._ctx=a.getContext("2d")},_destroyContainer:function(){ve(this._redrawRequest),delete this._ctx,_t(this._container),ft(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var a;this._redrawBounds=null;for(var u in this._layers)a=this._layers[u],a._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){hi.prototype._update.call(this);var a=this._bounds,u=this._container,p=a.getSize(),w=Le.retina?2:1;Lt(u,a.min),u.width=w*p.x,u.height=w*p.y,u.style.width=p.x+"px",u.style.height=p.y+"px",Le.retina&&this._ctx.scale(2,2),this._ctx.translate(-a.min.x,-a.min.y),this.fire("update")}},_reset:function(){hi.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(a){this._updateDashArray(a),this._layers[f(a)]=a;var u=a._order={layer:a,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=u),this._drawLast=u,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(a){this._requestRedraw(a)},_removePath:function(a){var u=a._order,p=u.next,w=u.prev;p?p.prev=w:this._drawLast=w,w?w.next=p:this._drawFirst=p,delete a._order,delete this._layers[f(a)],this._requestRedraw(a)},_updatePath:function(a){this._extendRedrawBounds(a),a._project(),a._update(),this._requestRedraw(a)},_updateStyle:function(a){this._updateDashArray(a),this._requestRedraw(a)},_updateDashArray:function(a){if(typeof a.options.dashArray=="string"){var u=a.options.dashArray.split(/[, ]+/),p=[],w,C;for(C=0;C<u.length;C++){if(w=Number(u[C]),isNaN(w))return;p.push(w)}a.options._dashArray=p}else a.options._dashArray=a.options.dashArray},_requestRedraw:function(a){this._map&&(this._extendRedrawBounds(a),this._redrawRequest=this._redrawRequest||fe(this._redraw,this))},_extendRedrawBounds:function(a){if(a._pxBounds){var u=(a.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new z,this._redrawBounds.extend(a._pxBounds.min.subtract([u,u])),this._redrawBounds.extend(a._pxBounds.max.add([u,u]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var a=this._redrawBounds;if(a){var u=a.getSize();this._ctx.clearRect(a.min.x,a.min.y,u.x,u.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var a,u=this._redrawBounds;if(this._ctx.save(),u){var p=u.getSize();this._ctx.beginPath(),this._ctx.rect(u.min.x,u.min.y,p.x,p.y),this._ctx.clip()}this._drawing=!0;for(var w=this._drawFirst;w;w=w.next)a=w.layer,(!u||a._pxBounds&&a._pxBounds.intersects(u))&&a._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(a,u){if(this._drawing){var p,w,C,M,V=a._parts,J=V.length,ee=this._ctx;if(J){for(ee.beginPath(),p=0;p<J;p++){for(w=0,C=V[p].length;w<C;w++)M=V[p][w],ee[w?"lineTo":"moveTo"](M.x,M.y);u&&ee.closePath()}this._fillStroke(ee,a)}}},_updateCircle:function(a){if(!(!this._drawing||a._empty())){var u=a._point,p=this._ctx,w=Math.max(Math.round(a._radius),1),C=(Math.max(Math.round(a._radiusY),1)||w)/w;C!==1&&(p.save(),p.scale(1,C)),p.beginPath(),p.arc(u.x,u.y/C,w,0,Math.PI*2,!1),C!==1&&p.restore(
vendor: 6,424 bytes, line 365
365),this._fillStroke(p,a)}},_fillStroke:function(a,u){var p=u.options;p.fill&&(a.globalAlpha=p.fillOpacity,a.fillStyle=p.fillColor||p.color,a.fill(p.fillRule||"evenodd")),p.stroke&&p.weight!==0&&(a.setLineDash&&a.setLineDash(u.options&&u.options._dashArray||[]),a.globalAlpha=p.opacity,a.lineWidth=p.weight,a.strokeStyle=p.color,a.lineCap=p.lineCap,a.lineJoin=p.lineJoin,a.stroke())},_onClick:function(a){for(var u=this._map.mouseEventToLayerPoint(a),p,w,C=this._drawFirst;C;C=C.next)p=C.layer,p.options.interactive&&p._containsPoint(u)&&(!(a.type==="click"||a.type==="preclick")||!this._map._draggableMoved(p))&&(w=p);this._fireEvent(w?[w]:!1,a)},_onMouseMove:function(a){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var u=this._map.mouseEventToLayerPoint(a);this._handleMouseHover(a,u)}},_handleMouseOut:function(a){var u=this._hoveredLayer;u&&(xt(this._container,"leaflet-interactive"),this._fireEvent([u],a,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(a,u){if(!this._mouseHoverThrottled){for(var p,w,C=this._drawFirst;C;C=C.next)p=C.layer,p.options.interactive&&p._containsPoint(u)&&(w=p);w!==this._hoveredLayer&&(this._handleMouseOut(a),w&&(Ze(this._container,"leaflet-interactive"),this._fireEvent([w],a,"mouseover"),this._hoveredLayer=w)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,a),this._mouseHoverThrottled=!0,setTimeout(d(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(a,u,p){this._map._fireDOMEvent(u,p||u.type,a)},_bringToFront:function(a){var u=a._order;if(u){var p=u.next,w=u.prev;if(p)p.prev=w;else return;w?w.next=p:p&&(this._drawFirst=p),u.prev=this._drawLast,this._drawLast.next=u,u.next=null,this._drawLast=u,this._requestRedraw(a)}},_bringToBack:function(a){var u=a._order;if(u){var p=u.next,w=u.prev;if(w)w.next=p;else return;p?p.prev=w:w&&(this._drawLast=w),u.prev=null,u.next=this._drawFirst,this._drawFirst.prev=u,this._drawFirst=u,this._requestRedraw(a)}}});function Lc(a){return Le.canvas?new Rc(a):null}var yr=(function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(a){return document.createElement("<lvml:"+a+' class="lvml">')}}catch{}return function(a){return document.createElement("<"+a+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}})(),Id={_initContainer:function(){this._container=Ye("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(hi.prototype._update.call(this),this.fire("update"))},_initPath:function(a){var u=a._container=yr("shape");Ze(u,"leaflet-vml-shape "+(this.options.className||"")),u.coordsize="1 1",a._path=yr("path"),u.appendChild(a._path),this._updateStyle(a),this._layers[f(a)]=a},_addPath:function(a){var u=a._container;this._container.appendChild(u),a.options.interactive&&a.addInteractiveTarget(u)},_removePath:function(a){var u=a._container;_t(u),a.removeInteractiveTarget(u),delete this._layers[f(a)]},_updateStyle:function(a){var u=a._stroke,p=a._fill,w=a.options,C=a._container;C.stroked=!!w.stroke,C.filled=!!w.fill,w.stroke?(u||(u=a._stroke=yr("stroke")),C.appendChild(u),u.weight=w.weight+"px",u.color=w.color,u.opacity=w.opacity,w.dashArray?u.dashStyle=I(w.dashArray)?w.dashArray.join(" "):w.dashArray.replace(/( *, *)/g," "):u.dashStyle="",u.endcap=w.lineCap.replace("butt","flat"),u.joinstyle=w.lineJoin):u&&(C.removeChild(u),a._stroke=null),w.fill?(p||(p=a._fill=yr("fill")),C.appendChild(p),p.color=w.fillColor||w.color,p.opacity=w.fillOpacity):p&&(C.removeChild(p),a._fill=null)},_updateCircle:function(a){var u=a._point.round(),p=Math.round(a._radius),w=Math.round(a._radiusY||p);this._setPath(a,a._empty()?"M0 0":"AL "+u.x+","+u.y+" "+p+","+w+" 0,"+65535*360)},_setPath:function(a,u){a._path.v=u},_bringToFront:function(a){sr(a._container)},_bringToBack:function(a){Ti(a._container)}},Qn=Le.vml?yr:Bt,As=hi.extend({_initContainer:function(){this._container=Qn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Qn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){_t(this._container),ft(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){hi.prototype._update.call(this);var a=this._bounds,u=a.getSize(),p=this._container;(!this._svgSize||!this._svgSize.equals(u))&&(this._svgSize=u,p.setAttribute("width",u.x),p.setAttribute("height",u.y)),Lt(p,a.min),p.setAttribute("viewBox",[a.min.x,a.min.y,u.x,u.y].join(" ")),this.fire("update")}},_initPath:function(a){var u=a._path=Qn("path");a.options.className&&Ze(u,a.options.className),a.options.interactive&&Ze(u,"leaflet-interactive"),this._updateStyle(a),this._layers[f(a)]=a},_addPath:function(a){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(a._path),a.addInteractiveTarget(a._path)},_removePath:function(a){_t(a._path),a.removeInteractiveTarget(a._path),delete this._layers[f(a)]},_updatePath:function(a){a._project(),a._update()},_updateStyle:function(a){var u=a._path,p=a.options;u&&(p.stroke?(u.setAttribute("stroke",p.color),u.setAttribute("stroke-opacity",p.opacity),u.setAttribute("stroke-width",p.weight),u.setAttribute("stroke-linecap",p.lineCap),u.setAttribute("stroke-linejoin",p.lineJoin),p.dashArray?u.setAttribute("stroke-dasharray",p.dashArray):u.removeAttribute("stroke-dasharray"),p.dashOffset?u.setAttribute("stroke-dashoffset",p.dashOffset):u.removeAttribute("stroke-dashoffset")):u.setAttribute("stroke","none"),p.fill?(u.setAttribute("fill",p.fillColor||p.color),u.setAttribute("fill-opacity",p.fillOpacity),u.setAttribute("fill-rule",p.fillRule||"evenodd")):u.setAttribute("fill","none"))},_updatePoly:function(a,u){this._setPath(a,De(a._parts,u))},_updateCircle:function(a){var u=a._point,p=Math.max(Math.round(a._radius),1),w=Math.max(Math.round(a._radiusY),1)||p,C="a"+p+","+w+" 0 1,0 ",M=a._empty()?"M0 0":"M"+(u.x-p)+","+u.y+C+p*2+",0 "+C+-p*2+",0 ";this._setPath(a,M)},_setPath:function(a,u){a._path.setAttribute("d",u)},_bringToFront:function(a){sr(a._path)},_bringToBack:function(a){Ti(a._path)}});Le.vml&&As.include(Id);function Ko(a){return Le.svg||Le.vml?new As(a):null}tt.include({getRenderer:function(a){var u=a.options.renderer||this._getPaneRenderer(a.options.pane)||this.options.renderer||this._renderer;return u||(u=this._renderer=this._createRenderer()),this.hasLayer(u)||this.addLayer(u),u}
365,_getPaneRenderer:function(a){if(a==="overlayPane"||a===void 0)return!1;var u=this._paneRenderers[a];return u===void 0&&(u=this._createRenderer({pane:a}),this._paneRenderers[a]=u),u},_createRenderer:function(a){return this.options.preferCanvas&&Lc(a)||Ko(a)}});var Md=Ri.extend({initialize:function(a,u){Ri.prototype.initialize.call(this,this._boundsToLatLngs(a),u)},setBounds:function(a){return this.setLatLngs(this._boundsToLatLngs(a))},_boundsToLatLngs:function(a){return a=ye(a),[a.getSouthWest(),a.getNorthWest(),a.getNorthEast(),a.getSouthEast()]}});function Tf(a,u){return new Md(a,u)}As.create=Qn,As.pointsToPath=De,ui.geometryToLayer=mr,ui.coordsToLatLng=Wo,ui.coordsToLatLngs=Ta,ui.latLngToCoords=Ho,ui.latLngsToCoords=qo,ui.getFeature=fr,ui.asFeature=Zo,tt.mergeOptions({boxZoom:!0});var vr=Ln.extend({initialize:function(a){this._map=a,this._container=a._container,this._pane=a._panes.overlayPane,this._resetStateTimeout=0,a.on("unload",this._destroy,this)},addHooks:function(){He(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){ft(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){_t(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(a){if(!a.shiftKey||a.which!==1&&a.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),nt(),Ro(),this._startPoint=this._map.mouseEventToContainerPoint(a),He(document,{contextmenu:Gn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(a){this._moved||(this._moved=!0,this._box=Ye("div","leaflet-zoom-box",this._container),Ze(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(a);var u=new z(this._point,this._startPoint),p=u.getSize();Lt(this._box,u.min),this._box.style.width=p.x+"px",this._box.style.height=p.y+"px"},_finish:function(){this._moved&&(_t(this._box),xt(this._container,"leaflet-crosshair")),or(),Lo(),ft(document,{contextmenu:Gn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(a){if(!(a.which!==1&&a.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(d(this._resetState,this),0);var u=new je(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(u).fire("boxzoomend",{boxZoomBounds:u})}},_onKeyDown:function(a){a.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});tt.addInitHook("addHandler","boxZoom",vr),tt.mergeOptions({doubleClickZoom:!0});var Od=Ln.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(a){var u=this._map,p=u.getZoom(),w=u.options.zoomDelta,C=a.originalEvent.shiftKey?p-w:p+w;u.options.doubleClickZoom==="center"?u.setZoom(C):u.setZoomAround(a.containerPoint,C)}});tt.addInitHook("addHandler","doubleClickZoom",Od),tt.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Ic=Ln.extend({addHooks:function(){if(!this._draggable){var a=this._map;this._draggable=new Yn(a._mapPane,a._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),a.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),a.on("zoomend",this._onZoomEnd,this),a.whenReady(this._onZoomEnd,this))}Ze(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){xt(this._map._container,"leaflet-grab"),xt(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved}
vendor: 4,221 bytes, line 365
365,moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var a=this._map;if(a._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var u=ye(this._map.options.maxBounds);this._offsetLimit=ne(this._map.latLngToContainerPoint(u.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(u.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;a.fire("movestart").fire("dragstart"),a.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(a){if(this._map.options.inertia){var u=this._lastTime=+new Date,p=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(p),this._times.push(u),this._prunePositions(u)}this._map.fire("move",a).fire("drag",a)},_prunePositions:function(a){for(;this._positions.length>1&&a-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var a=this._map.getSize().divideBy(2),u=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=u.subtract(a).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(a,u){return a-(a-u)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var a=this._draggable._newPos.subtract(this._draggable._startPos),u=this._offsetLimit;a.x<u.min.x&&(a.x=this._viscousLimit(a.x,u.min.x)),a.y<u.min.y&&(a.y=this._viscousLimit(a.y,u.min.y)),a.x>u.max.x&&(a.x=this._viscousLimit(a.x,u.max.x)),a.y>u.max.y&&(a.y=this._viscousLimit(a.y,u.max.y)),this._draggable._newPos=this._draggable._startPos.add(a)}},_onPreDragWrap:function(){var a=this._worldWidth,u=Math.round(a/2),p=this._initialWorldOffset,w=this._draggable._newPos.x,C=(w-u+p)%a+u-p,M=(w+u+p)%a-u-p,V=Math.abs(C+p)<Math.abs(M+p)?C:M;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=V},_onDragEnd:function(a){var u=this._map,p=u.options,w=!p.inertia||a.noInertia||this._times.length<2;if(u.fire("dragend",a),w)u.fire("moveend");else{this._prunePositions(+new Date);var C=this._lastPos.subtract(this._positions[0]),M=(this._lastTime-this._times[0])/1e3,V=p.easeLinearity,J=C.multiplyBy(V/M),ee=J.distanceTo([0,0]),re=Math.min(p.inertiaMaxSpeed,ee),be=J.multiplyBy(re/ee),Fe=re/(p.inertiaDeceleration*V),Je=be.multiplyBy(-Fe/2).round();!Je.x&&!Je.y?u.fire("moveend"):(Je=u._limitOffset(Je,u.options.maxBounds),fe(function(){u.panBy(Je,{duration:Fe,easeLinearity:V,noMoveStart:!0,animate:!0})}))}}});tt.addInitHook("addHandler","dragging",Ic),tt.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Mc=Ln.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(a){this._map=a,this._setPanDelta(a.options.keyboardPanDelta),this._setZoomDelta(a.options.zoomDelta)},addHooks:function(){var a=this._map._container;a.tabIndex<=0&&(a.tabIndex="0"),He(a,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),ft(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var a=document.body,u=document.documentElement,p=a.scrollTop||u.scrollTop,w=a.scrollLeft||u.scrollLeft;this._map._container.focus(),window.scrollTo(w,p)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(a){var u=this._panKeys={},p=this.keyCodes,w,C;for(w=0,C=p.left.length;w<C;w++)u[p.left[w]]=[-1*a,0];for(w=0,C=p.right.length;w<C;w++)u[p.right[w]]=[a,0];for(w=0,C=p.down.length;w<C;w++)u[p.down[w]]=[0,a];for(w=0,C=p.up.length;w<C;w++)u[p.up[w]]=[0,-1*a]},_setZoomDelta:function(a){var u=this._zoomKeys={},p=this.keyCodes,w,C;for(w=0,C=p.zoomIn.length;w<C;w++)u[p.zoomIn[w]]=a;for(w=0,C=p.zoomOut.length;w<C;w++)u[p.zoomOut[w]]=-a},_addHooks:function(){He(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){ft(document,"keydown",this._onKeyDown,this)}
365,_onKeyDown:function(a){if(!(a.altKey||a.ctrlKey||a.metaKey)){var u=a.keyCode,p=this._map,w;if(u in this._panKeys){if(!p._panAnim||!p._panAnim._inProgress)if(w=this._panKeys[u],a.shiftKey&&(w=Z(w).multiplyBy(3)),p.options.maxBounds&&(w=p._limitOffset(Z(w),p.options.maxBounds)),p.options.worldCopyJump){var C=p.wrapLatLng(p.unproject(p.project(p.getCenter()).add(w)));p.panTo(C)}else p.panBy(w)}else if(u in this._zoomKeys)p.setZoom(p.getZoom()+(a.shiftKey?3:1)*this._zoomKeys[u]);else if(u===27&&p._popup&&p._popup.options.closeOnEscapeKey)p.closePopup();else return;Gn(a)}}});tt.addInitHook("addHandler","keyboard",Mc),tt.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var pt=Ln.extend({addHooks:function(){He(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){ft(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(a){var u=xd(a),p=this._map.options.wheelDebounceTime;this._delta+=u,this._lastMousePos=this._map.mouseEventToContainerPoint(a),this._startTime||(this._startTime=+new Date);var w=Math.max(p-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(d(this._performZoom,this),w),Gn(a)},_performZoom:function(){var a=this._map,u=a.getZoom(),p=this._map.options.zoomSnap||0;a._stop();var w=this._delta/(this._map.options.wheelPxPerZoomLevel*4),C=4*Math.log(2/(1+Math.exp(-Math.abs(w))))/Math.LN2,M=p?Math.ceil(C/p)*p:C,V=a._limitZoom(u+(this._delta>0?M:-M))-u;this._delta=0,this._startTime=null,V&&(a.options.scrollWheelZoom==="center"?a.setZoom(u+V):a.setZoomAround(this._lastMousePos,u+V))}});tt.addInitHook("addHandler","scrollWheelZoom",pt);var Oc=600;tt.mergeOptions({tapHold:Le.touchNative&&Le.safari&&Le.mobile,tapTolerance:15});var Ea=Ln.extend({addHooks:function(){He(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){ft(this._map._container,"touchstart",this._onDown,this)},_onDown:function(a){if(clearTimeout(this._holdTimeout),a.touches.length===1){var u=a.touches[0];this._startPos=this._newPos=new Y(u.clientX,u.clientY),this._holdTimeout=setTimeout(d(function(){this._cancel(),this._isTapValid()&&(He(document,"touchend",Pt),He(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",u))},this),Oc),He(document,"touchend touchcancel contextmenu",this._cancel,this),He(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function a(){ft(document,"touchend",Pt),ft(document,"touchend touchcancel",a)},_cancel:function(){clearTimeout(this._holdTimeout),ft(document,"touchend touchcancel contextmenu",this._cancel,this),ft(document,"touchmove",this._onMove,this)},_onMove:function(a){var u=a.touches[0];this._newPos=new Y(u.clientX,u.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(a,u){var p=new MouseEvent(a,{bubbles:!0,cancelable:!0,view:window,screenX:u.screenX,screenY:u.screenY,clientX:u.clientX,clientY:u.clientY});p._simulated=!0,u.target.dispatchEvent(p)}});tt.addInitHook("addHandler","tapHold",Ea),tt.mergeOptions({touchZoom:Le.touch,bounceAtZoomLimits:!0});var wr=Ln.extend({addHooks:function(){Ze(this._map._container,"leaflet-touch-zoom"),He(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){xt(this._map._container,"leaflet-touch-zoom"),ft(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(a){var u=this._map;if(!(!a.touches||a.touches.length!==2||u._animatingZoom||this._zooming)){var p=u.mouseEventToContainerPoint(a.touches[0]),w=u.mouseEventToContainerPoint(a.touches[1]);this._centerPoint=u.getSize()._divideBy(2),this._startLatLng=u.containerPointToLatLng(this._centerPoint),u.options.touchZoom!=="center"&&(this._pinchStartLatLng=u.containerPointToLatLng(p.add(w)._divideBy(2))),this._startDist=p.distanceTo(w),this._startZoom=u.getZoom(),this._moved=!1,this._zooming=!0,u._stop(),He(document,"touchmove",this._onTouchMove,this),He(document,"touchend touchcancel",this._onTouchEnd,this),Pt(a)}}
365,_onTouchMove:function(a){if(!(!a.touches||a.touches.length!==2||!this._zooming)){var u=this._map,p=u.mouseEventToContainerPoint(a.touches[0]),w=u.mouseEventToContainerPoint(a.touches[1]),C=p.distanceTo(w)/this._startDist;if(this._zoom=u.getScaleZoom(C,this._startZoom),!u.options.bounceAtZoomLimits&&(this._zoom<u.getMinZoom()&&C<1||this._zoom>u.getMaxZoom()&&C>1)&&(this._zoom=u._limitZoom(this._zoom)),u.options.touchZoom==="center"){if(this._center=this._startLatLng,C===1)return}else{var M=p._add(w)._divideBy(2)._subtract(this._centerPoint);if(C===1&&M.x===0&&M.y===0)return;this._center=u.unproject(u.project(this._pinchStartLatLng,this._zoom).subtract(M),this._zoom)}this._moved||(u._moveStart(!0,!1),this._moved=!0),ve(this._animRequest);var V=d(u._move,u,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=fe(V,this,!0),Pt(a)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,ve(this._animRequest),ft(document,"touchmove",this._onTouchMove,this),ft(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});tt.addInitHook("addHandler","touchZoom",wr),tt.BoxZoom=vr,tt.DoubleClickZoom=Od,tt.Drag=Ic,tt.Keyboard=Mc,tt.ScrollWheelZoom=pt,tt.TapHold=Ea,tt.TouchZoom=wr,n.Bounds=z,n.Browser=Le,n.CRS=ce,n.Canvas=Rc,n.Circle=Uo,n.CircleMarker=zo,n.Class=xe,n.Control=kn,n.DivIcon=Yo,n.DivOverlay=di,n.DomEvent=Oo,n.DomUtil=ba,n.Draggable=Yn,n.Evented=he,n.FeatureGroup=Ei,n.GeoJSON=ui,n.GridLayer=ts,n.Handler=Ln,n.Icon=Es,n.ImageOverlay=es,n.LatLng=ge,n.LatLngBounds=je,n.Layer=Kn,n.LayerGroup=Qi,n.LineUtil=Nd,n.Map=tt,n.Marker=Ai,n.Mixin=vc,n.Path=Xi,n.Point=Y,n.PolyUtil=gf,n.Polygon=Ri,n.Polyline=Tn,n.Popup=Go,n.PosAnimation=Do,n.Projection=bf,n.Rectangle=Md,n.Renderer=hi,n.SVG=As,n.SVGOverlay=Pc,n.TileLayer=ns,n.Tooltip=gr,n.Transformation=Ge,n.Util=Ae,n.VideoOverlay=Cc,n.bind=d,n.bounds=ne,n.canvas=Lc,n.circle=ka,n.circleMarker=Cd,n.control=Ji,n.divIcon=Rd,n.extend=l,n.featureGroup=kd,n.geoJSON=Pd,n.geoJson=Jn,n.gridLayer=xr,n.icon=Td,n.imageOverlay=Ed,n.latLng=ie,n.latLngBounds=ye,n.layerGroup=Sa,n.map=Ki,n.marker=Nf,n.point=Z,n.polygon=kf,n.polyline=Sf,n.popup=pr,n.rectangle=Tf,n.setOptions=k,n.stamp=f,n.svg=Ko,n.svgOverlay=Ec,n.tileLayer=Ac,n.tooltip=Ca,n.transformation=Be,n.version=s,n.videoOverlay=Ad;var Dd=window.L;n.noConflict=function(){return window.L=Dd,this},window.L=n}))})(mu,mu.exports)),mu.exports}var Xu=$7();const W7=Cm(Xu);function iy(e,t,n){return Object.freeze({instance:e,context:t,container:n})}function sy(e,t){return t==null?function(s,l){const c=N.useRef();return c.current||(c.current=e(s,l)),c}:function(s,l){const c=N.useRef();c.current||(c.current=e(s,l));const d=N.useRef(s),{instance:m}=c.current;return N.useEffect(function(){d.current!==s&&(t(m,s,d.current),d.current=s)},[m,s,l]),c}}function Pk(e,t){N.useEffect(function(){return(t.layerContainer??t.map).addLayer(e.instance),function(){var c;(c=t.layerContainer)==null||c.removeLayer(e.instance),t.map.removeLayer(e.instance)}},[t,e])}function Ek(e){return function(n){const s=kk(),l=e(ny(n,s),s);return F7(s.map,n.attribution),Ck(l.current,n.eventHandlers),Pk(l.current,s),l}}function H7(e,t){const n=N.useRef();N.useEffect(function(){if(t.pathOptions!==n.current){const l=t.pathOptions??{};e.instance.setStyle(l),n.current=l}},[e,t])}function q7(e){return function(n){const s=kk(),l=e(ny(n,s),s);return Ck(l.current,n.eventHandlers),Pk(l.current,s),H7(l.current,n),l}}function Z7(e,t){const n=sy(e,t),s=Ek(n);return Tk(s)}function G7(e,t){const n=sy(e,t),s=q7(n);return Tk(s)}function Y7(e,t){const n=sy(e,t),s=Ek(n);return z7(s)}function K7(e,t,n){const{opacity:s,zIndex:l}=t;s!=null&&s!==n.opacity&&e.setOpacity(s),l!=null&&l!==n.zIndex&&e.setZIndex(l)}function Ox(){return Ox=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Ox.apply(this,arguments)}function J7({bounds:e,boundsOptions:t,center:n,children:s,className:l,id:c,placeholder:d,style:m,whenReady:f,zoom:x,...y},v){const[_]=N.useState({className:l,id:c,style:m}),[S,E]=N.useState(null);N.useImperativeHandle(v,()=>(S==null?void 0:S.map)??null,[S]);const k=N.useCallback(T=>{if(T!==null&&S===null){const A=new Xu.Map(T,y);n!=null&&x!=null?A.setView(n,x):e!=null&&A.fitBounds(e,t),f!=null&&A.whenReady(f),E(V7(A))}},[]);N.useEffect(()=>()=>{S==null||S.map.remove()},[S]);const P=S?Tt.createElement(Sk,{value:S},s):d??null;return Tt.createElement("div",Ox({},_,{ref:k}),P)}const Q7=N.forwardRef(J7),X7=Z7(function({position:t,...n},s){const l=new Xu.Marker(t,n);return iy(l,jk(s,{overlayContainer:l}))},function(t,n,s){n.position!==s.position&&t.setLatLng(n.position),n.icon!=null&&n.icon!==s.icon&&t.setIcon(n.icon),n.zIndexOffset!=null&&n.zIndexOffset!==s.zIndexOffset&&t.setZIndexOffset(n.zIndexOffset),n.opacity!=null&&n.opacity!==s.opacity&&t.setOpacity(n.opacity),t.dragging!=null&&n.draggable!==s.draggable&&(n.draggable===!0?t.dragging.enable():t.dragging.disable())}),e9=G7(function({positions:t,...n},s){const l=new Xu.Polyline(t,n);return iy(l,jk(s,{overlayContainer:l}))},function(t,n,s){n.positions!==s.positions&&t.setLatLngs(n.positions)}),t9=Y7(function({url:t,...n},s){const l=new Xu.TileLayer(t,ny(n,s));return iy(l,s)},function(t,n,s){K7(t,n,s);const{url:l}=n;l!=null&&l!==s.url&&t.setUrl(l)}),rj=[{name:"Portugal",flag:"🇵🇹",coords:[38.7,-9.1]},{name:"Spain",flag:"🇪🇸",coords:[40.4,-3.7]},{name:"France",flag:"🇫🇷",coords:[48.6,2.3]},{name:"Italy",flag:"🇮🇹",coords:[42.4,12.2]}],n9=e=>W7.divIcon({className:"pilgrimage-marker",html:`<div style="font-size: 26px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));">${e}</div>`,iconSize:[30,30],iconAnchor:[15,15]});function i9(){const e=rj.map(t=>t.coords);return i.jsx("section",{className:"py-28 md:py-36 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"The Path"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"The Journey Map"}),i.jsx("p",{className:"text-stone-500 font-light mt-5 max-w-xl mx-auto text-sm leading-relaxed",children:"More destinations may emerge as the journey unfolds."})]}),i.jsx(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"overflow-hidden border border-stone-200 shadow-sm h-[400px]",children:i.jsxs(Q7,{center:[44,1],zoom:4,scrollWheelZoom:!1,style:{height:"100%",width:"100%",background:"#F5F2EE"},children:[i.jsx(t9,{url:"https://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}{r}.png",attribution:"© OpenStreetMap © CARTO"}),i.jsx(e9,{positions:e,pathOptions:{color:"#b45309",weight:2,dashArray:"6 8",opacity:.7}}),rj.map((t,n)=>i.jsx(X7,{position:t.coords,icon:n9(t.flag)},n))]})}),i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.2},className:"text-center mt-14 max-w-2xl mx-auto",children:[i.jsx("p",{className:"text-stone-600 font-light text-lg md:text-xl leading-relaxed italic",children:"This pilgrimage isn't built around an itinerary."}),i.jsx("p",{className:"text-stone-600 font-light text-lg md:text-xl leading-relaxed italic",children:"It is built around peo
365ple."}),i.jsx("p",{className:"text-amber-700/70 font-light text-lg md:text-xl leading-relaxed italic mt-4",children:"The next destination may very well be yours."})]})]})})}const s9=[{label:"Currently planning",place:"Portugal",status:"active"},{label:"Next",place:"France",status:"next"},{label:"Then",place:"Spain",status:"planned"},{label:"Possible",place:"Italy",status:"possible"}];function r9(){return i.jsx("section",{className:"py-24 md:py-32 px-6 bg-stone-900 text-white",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"A Live Journey"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight mb-6",children:"Where The Path Stands Now"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/20 mx-auto mb-14"}),i.jsx("div",{className:"space-y-5",children:s9.map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:t*.12},className:`flex items-center justify-center gap-4 ${e.status==="active"?"text-amber-300":"text-white/50"}`,children:[i.jsx("span",{className:"text-xs tracking-[0.2em] uppercase w-32 text-right",children:e.label}),i.jsx(Fu,{className:`w-4 h-4 shrink-0 ${e.status==="active"?"fill-amber-300/20":""}`}),i.jsx("span",{className:`text-lg font-light tracking-wide w-32 text-left ${e.status==="possible"?"italic":""}`,children:e.place})]},t))}),i.jsx(O.p,{initial:{opacity:0}
365,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.6},className:"text-white/40 font-light text-sm italic mt-12 max-w-lg mx-auto",children:"Even if nothing is scheduled yet, this journey is alive — and you are following it in real time."})]})})})}function a9(){return i.jsx("section",{className:"py-28 md:py-40 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"The Philosophy"}),i.jsx("h2",{className:"text-3xl md:text-5xl font-light text-stone-800 tracking-tight mb-6",children:"This Is Not A Retreat"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsxs("div",{className:"space-y-5 text-stone-600 font-light text-lg md:text-xl leading-relaxed",children:[i.jsx("p",{children:"It is not a performance."}),i.jsx("p",{children:"It is not a workshop."}),i.jsx("p",{children:"It is not about me."})]}),i.jsx("p",{className:"text-stone-600 font-light text-lg md:text-xl leading-relaxed mt-8 max-w-2xl mx-auto",children:"It is about remembering what happens when people slow down enough to truly see one another."}),i.jsxs("div",{className:"mt-12 space-y-3 text-amber-700/70 font-light text-xl md:text-2xl italic",children:[i.jsx("p",{children:"No stage."}),i.jsx("p",{children:"No hierarchy."}),i.jsx("p",{children:"Just human beings coming together."})]})]})})})}function o9(){return i.jsx("section",{className:"py-28 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsxs("div",{className:"flex items-center justify-center gap-3 mb-6",children:[i.jsx(zx,{className:"w-5 h-5 text-amber-700/50"}),i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs",children:"A Return To Simplicity"})]}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight mb-6",children:"Why Stay In People's Homes?"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsxs("div",{className:"space-y-6 text-stone-600 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"Rather than hotels and conference centers, I'm choosing to return to something beautifully simple."}),i.jsx("p",{children:"To stay in homes. To share meals around kitchen tables. To gather in gardens. To walk forests together. To remember what genuine community feels like."}),i.jsx("p",{children:"Throughout history, wisdom has often traveled from home to home. This journey is an invitation to return to that spirit."})]}),i.jsxs("div",{className:"mt-12 border border-amber-700/15 bg-amber-700/5 px-8 py-8",children:[i.jsx("p",{className:"text-stone-700 font-light text-base md:text-lg leading-relaxed italic",children:"If you choose to open your home, you become part of the story."}),i.jsx("p",{className:"text-amber-700/70 font-light text-base md:text-lg leading-relaxed italic mt-3",children:"Not as a client. As family."})]})]})})})}const l9=["Guided meditation","Breathwork","Tea ceremony","Conscious conversation","Journaling","Music","Nature walks","Silent reflection","Shared meals","Community fires","Q&A","Integration circles"];function c9(){return i.jsx("section",{className:"py-28 md:py-36 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"No Two Alike"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"What A Gathering Might Look Like"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-10 mt-6"}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed text-base max-w-xl mx-auto",children:"No gathering will ever be exactly the same. Some evenings may include..."})]}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-8 gap-y-3 max-w-2xl mx-auto",children:l9.map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.05},className:"flex items-center gap-3 py-2.5 border-b border-stone-200/70",children:[i.jsx(Du,{className:"w-3.5 h-3.5 text-amber-700/40 shrink-0"}),i.jsx("span",{className:"text-stone-600 font-light text-sm leading-relaxed",children:e})]},t))}),i.jsx(O.p,{initial:{opacity:0}
vendor: 4,282 bytes, line 365
365,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.4},className:"text-center text-amber-700/60 font-light text-lg italic mt-12",children:"Let the people shape the experience."})]})})}function u9(){return i.jsx("section",{className:"py-28 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx(w4,{className:"w-6 h-6 text-amber-700/40 mx-auto mb-6"}),i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"A Tradition In The Making"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight mb-6",children:"A Token That Stays Behind"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsxs("div",{className:"space-y-6 text-stone-600 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"Every host receives a small handcrafted token — a simple wooden piece, stone, or shell — that stays in their home after the journey moves on."}),i.jsx("p",{children:"A quiet reminder that their door was opened, their table was shared, and their home became part of something larger."})]}),i.jsxs("div",{className:"mt-12 border border-amber-700/15 bg-amber-700/5 px-8 py-10",children:[i.jsx("p",{className:"text-stone-700 font-light text-base md:text-lg leading-relaxed italic mb-4",children:"One day, a digital map will show every home that has become part of The Becoming Pilgrimage."}),i.jsx("p",{className:"text-amber-700/70 font-light text-base md:text-lg leading-relaxed italic",children:"Over the years, that map will slowly fill with little lights across the world — not representing customers, but relationships."})]})]})})})}var rf="Collapsible",[d9,Ak]=Ql(rf),[h9,ry]=d9(rf),Rk=N.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:s,defaultOpen:l,disabled:c,onOpenChange:d,...m}=e,[f,x]=Hl({prop:s,defaultProp:l??!1,onChange:d,caller:rf});return i.jsx(h9,{scope:n,disabled:c,contentId:Ju(),open:f,onOpenToggle:N.useCallback(()=>x(y=>!y),[x]),children:i.jsx(mt.div,{"data-state":oy(f),"data-disabled":c?"":void 0,...m,ref:t})})});Rk.displayName=rf;var Lk="CollapsibleTrigger",Ik=N.forwardRef((e,t)=>{const{__scopeCollapsible:n,...s}=e,l=ry(Lk,n);return i.jsx(mt.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":oy(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...s,ref:t,onClick:kt(e.onClick,l.onOpenToggle)})});Ik.displayName=Lk;var ay="CollapsibleContent",Mk=N.forwardRef((e,t)=>{const{forceMount:n,...s}=e,l=ry(ay,e.__scopeCollapsible);return i.jsx(X0,{present:n||l.open,children:({present:c})=>i.jsx(m9,{...s,ref:t,present:c})})});Mk.displayName=ay;var m9=N.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:s,children:l,...c}=e,d=ry(ay,n),[m,f]=N.useState(s),x=N.useRef(null),y=Ft(t,x),v=N.useRef(0),_=v.current,S=N.useRef(0),E=S.current,k=d.open||m,P=N.useRef(k),T=N.useRef(void 0);return N.useEffect(()=>{const A=requestAnimationFrame(()=>P.current=!1);return()=>cancelAnimationFrame(A)},[]),hn(()=>{const A=x.current;if(A){T.current=T.current||{transitionDuration:A.style.transitionDuration,animationName:A.style.animationName},A.style.transitionDuration="0s",A.style.animationName="none";const I=A.getBoundingClientRect();v.current=I.height,S.current=I.width,P.current||(A.style.transitionDuration=T.current.transitionDuration,A.style.animationName=T.current.animationName),f(s)}},[d.open,s]),i.jsx(mt.div,{"data-state":oy(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!k,...c,ref:y,style:{"--radix-collapsible-content-height":_?`${_}px`:void 0,"--radix-collapsible-content-width":E?`${E}px`:void 0,...e.style},children:k&&l})});function oy(e){return e?"open":"closed"}var f9=Rk,p9=Ik,g9=Mk,Gi="Accordion",x9=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[ly,y9,v9]=V2(Gi),[af]=Ql(Gi,[v9,Ak]),cy=Ak(),Ok=Tt.forwardRef((e,t)=>{const{type:n,...s}=e,l=s,c=s;return i.jsx(ly.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?i.jsx(j9,{...c,ref:t}):i.jsx(_9,{...l,ref:t})})});Ok.displayName=Gi;var[Dk,w9]=af(Gi),[Fk,b9]=af(Gi,{collapsible:!1}),_9=Tt.forwardRef((e,t)=>
365{const{value:n,defaultValue:s,onValueChange:l=()=>{},collapsible:c=!1,...d}=e,[m,f]=Hl({prop:n,defaultProp:s??"",onChange:l,caller:Gi});return i.jsx(Dk,{scope:e.__scopeAccordion,value:Tt.useMemo(()=>m?[m]:[],[m]),onItemOpen:f,onItemClose:Tt.useCallback(()=>c&&f(""),[c,f]),children:i.jsx(Fk,{scope:e.__scopeAccordion,collapsible:c,children:i.jsx(Bk,{...d,ref:t})})})}),j9=Tt.forwardRef((e,t)=>{const{value:n,defaultValue:s,onValueChange:l=()=>{},...c}=e,[d,m]=Hl({prop:n,defaultProp:s??[],onChange:l,caller:Gi}),f=Tt.useCallback(y=>m((v=[])=>[...v,y]),[m]),x=Tt.useCallback(y=>m((v=[])=>v.filter(_=>_!==y)),[m]);return i.jsx(Dk,{scope:e.__scopeAccordion,value:d,onItemOpen:f,onItemClose:x,children:i.jsx(Fk,{scope:e.__scopeAccordion,collapsible:!0,children:i.jsx(Bk,{...c,ref:t})})})}),[N9,of]=af(Gi),Bk=Tt.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:s,dir:l,orientation:c="vertical",...d}=e,m=Tt.useRef(null),f=Ft(m,t),x=y9(n),v=z2(l)==="ltr",_=kt(e.onKeyDown,S=>{var W;if(!x9.includes(S.key))return;const E=S.target,k=x().filter(se=>{var de;return!((de=se.ref.current)!=null&&de.disabled)}),P=k.findIndex(se=>se.ref.current===E),T=k.length;if(P===-1)return;S.preventDefault();let A=P;const I=0,D=T-1,B=()=>{A=P+1,A>D&&(A=I)},G=()=>{A=P-1,A<I&&(A=D)};switch(S.key){case"Home":A=I;break;case"End":A=D;break;case"ArrowRight":c==="horizontal"&&(v?B():G());break;case"ArrowDown":c==="vertical"&&B();break;case"ArrowLeft":c==="horizontal"&&(v?G():B());break;case"ArrowUp":c==="vertical"&&G();break}const K=A%T;(W=k[K].ref.current)==null||W.focus()});return i.jsx(N9,{scope:n,disabled:s,direction:l,orientation:c,children:i.jsx(ly.Slot,{scope:n,children:i.jsx(mt.div,{...d,"data-orientation":c,ref:f,onKeyDown:s?void 0:_})})})}),Tm="AccordionItem",[S9,uy]=af(Tm),Vk=Tt.forwardRef((e,t)=>{const{__scopeAccordion:n,value:s,...l}=e,c=of(Tm,n),d=w9(Tm,n),m=cy(n),f=Ju(),x=s&&d.value.includes(s)||!1,y=c.disabled||e.disabled;return i.jsx(S9,{scope:n,open:x,disabled:y,triggerId:f,children:i.jsx(f9,{"data-orientation":c.orientation,"data-state":qk(x),...m,...l,ref:t,disabled:y,open:x,onOpenChange:v=>{v?d.onItemOpen(s):d.onItemClose(s)}})})});Vk.displayName=Tm;var zk="AccordionHeader",Uk=Tt.forwardRef((e,t)=>{const{__scopeAccordion:n,...s}=e,l=of(Gi,n),c=uy(zk,n);return i.jsx(mt.h3,{"data-orientation":l.orientation,"data-state":qk(c.open),"data-disabled":c.disabled?"":void 0,...s,ref:t})});Uk.displayName=zk;var Dx="AccordionTrigger",$k=Tt.forwardRef((e,t)=>{const{__scopeAccordion:n,...s}=e,l=of(Gi,n),c=uy(Dx,n),d=b9(Dx,n),m=cy(n);return i.jsx(ly.ItemSlot,{scope:n,children:i.jsx(p9,{"aria-disabled":c.open&&!d.collapsible||void 0,"data-orientation":l.orientation,id:c.triggerId,...m,...s,ref:t})})});$k.displayName=Dx;var Wk="AccordionContent",Hk=Tt.forwardRef((e,t)=>{const{__scopeAccordion:n,...s}=e,l=of(Gi,n),c=uy(Wk,n),d=cy(n);return i.jsx(g9,{role:"region","aria-labelledby":c.triggerId,"data-orientation":l.orientation,...d,...s,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});Hk.displayName=Wk;function qk(e){return e?"open":"closed"}var k9=Ok,T9=Vk,C9=Uk,Zk=$k,Gk=Hk;const P9=k9,Yk=N.forwardRef(({className:e,...t},n)=>i.jsx(T9,{ref:n,className:Dt("border-b",e),...t}));Yk.displayName="AccordionItem";const Kk=N.forwardRef(({className:e,children:t,...n},s)=>i.jsx(C9,{className:"flex",children:i.jsxs(Zk,{ref:s,className:Dt("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,i.jsx($i,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));Kk.displayName=Zk.displayName;const Jk=N.forwardRef(({className:e,children:t,...n},s)=>i.jsx(Gk,{ref:s,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:i.jsx("div",{className:Dt("pb-4 pt-0",e),children:t})}));Jk.displayName=Gk.displayName;const E9=[{q:"Can I host?",a:"Yes. If you have a home, garden, studio, or any meaningful space where people could gather, I'd love to hear from you. Register below and share what you have to offer."},{q:"Do I need a large home?",a:"Not at all. Some of the most powerful evenings happen in small living rooms with just a handful of people. What matters is the intention, not the size."},{q:"Can children attend?",a:"In most cases, yes. Gatherings are shaped by the host and the community, so we can discuss what feels appropriate for your space and your people."},{q:"What does hosting involve?",a:"Hosting simply means opening your space. I'll bring the practices, the conversation, and the energy. You provide the home. We share the evening together."},{q:"Is there a cost?",a:"Some gatherings will have a contribution to support the journey and the long-term vision. Others may be freely offered. Each gathering is unique, and details will be shared in advance."},{q:"How many people?",a:"Gatherings can range from intimate circles of 5 to larger groups of 40 or more. It depends entirely on your space and what feels right."},{q:"Can I attend even if I'm not hosting?",a:"Absolutely. Register below and you'll be notified whenever a gathering is planned near your city."},{q:"Can I help organize?",a:"Yes. If you'd like to help coordinate a gathering in y
365our area, reach out through the form below. Local organizers are a vital part of this journey."},{q:"How long do you stay?",a:"The length of each stay varies. Some gatherings are a single evening, others may unfold over a few days. We'll find what feels right for your community."}];function A9(){return i.jsx("section",{className:"py-28 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-2xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"Before You Ask"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Questions"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mt-6"})]}),i.jsx(P9,{type:"single",collapsible:!0,className:"space-y-3",children:E9.map((e,t)=>i.jsxs(Yk,{value:`item-${t}`,className:"border border-stone-200 bg-white px-6",children:[i.jsx(Kk,{className:"text-left text-stone-800 font-light text-base hover:no-underline",children:e.q}),i.jsx(Jk,{className:"text-stone-500 font-light text-sm leading-relaxed",children:e.a})]},t))})]})})}const R9=["Upcoming cities","Gathering invitations","Reflections from the road","Journal entries","Videos","Stories from hosts","Behind-the-scenes moments"];function L9(){const[e,t]=N.useState(""),[n,s]=N.useState(!1),[l,c]=N.useState(!1),d=async m=>{if(m.preventDefault(),!!e){c(!0);try{await Ke.entities.NewsletterSignup.create({email:e}),s(!0)}catch{s(!0)}c(!1)}};return i.jsx("section",{className:"py-28 md:py-36 px-6 bg-stone-900 text-white",children:i.jsx("div",{className:"max-w-2xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx(kj,{className:"w-6 h-6 text-amber-400/50 mx-auto mb-6"}),i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Stay Close To The Journey"}),i.jsx("h2",{className:"text-3xl md:text-5xl font-light tracking-tight mb-4",children:"Walk With Me"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/20 mx-auto mb-10"}),i.jsx("p",{className:"text-white/50 font-light leading-relaxed text-base md:text-lg mb-10",children:"Receive the journey as it unfolds."}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-2 max-w-md mx-auto mb-12 text-left",children:R9.map((m,f)=>i.jsxs("div",{className:"flex items-center gap-2 py-1",children:[i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-400/50 shrink-0"}),i.jsx("span",{className:"text-white/50 font-light text-sm",children:m})]},f))}),n?i.jsxs("div",{className:"flex items-center justify-center gap-3 text-amber-300",children:[i.jsx(Am,{className:"w-5 h-5"}),i.jsx("p",{className:"font-light text-lg",children:"Thank you. You'll hear from the road soon."})]}):i.jsxs("form",{onSubmit:d,className:"flex flex-col sm:flex-row gap-3 max-w-md mx-auto",children:[i.jsx("input",{type:"email",required:!0,value:e,onChange:m=>t(m.target.value),placeholder:"Your email",className:"flex-1 bg-white/5 border border-white/15 px-5 py-3.5 text-white placeholder-white/30 font-light text-sm focus:outline-none focus:border-amber-400/40 transition-colors"}),i.jsx("button",{type:"submit",disabled:l,className:"px-8 py-3.5 bg-amber-400/10 border border-amber-400/30 text-amber-200 text-sm tracking-[0.15em] uppercase font-light hover:bg-amber-400/20 transition-all duration-300 disabled:opacity-50",children:l?"...":"Follow"})]})]})})})}const I9=["One Home.","One Fire.","One Conversation.","One Walk.","One Meal.","One Heart.","One Community."];function M9(){return i.jsxs("section",{className:"relative py-36 md:py-48 px-6 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/ca6fd7a5a_generated_image.png",alt:"A European hillside at dusk",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/70"})]}),i.jsx("div",{className:"relative z-10 max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-300/70 tracking-[0.3em] uppercase text-xs mb-10",children:"A Manifesto"}),i.jsx("div",{className:"space-y-3 mb-12",children:I9.map((e,t)=>i.jsx(O.p,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:"text-amber-200/90 font-light text-xl md:text-2xl italic",children:e},t))}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/30 mx-auto mb-10"}),i.jsxs("div",{className:"space-y-5 text-white/60 font-light text-base md:text-lg leading-relaxed max-w-2xl mx-auto",children:[i.jsx("p",{children:"The world doesn't change because thousands gather in one place."}),i.jsx("p",{children:"It changes because one person opens their door. One family sets another place at the table. One conversation reminds someone they are not alone."}),i.jsx("p",{className:"text-white/70 italic",children:"This pilgrimage is built on those moments."})]}),i.jsx("p",{className:"text-amber-200/80 font-light text-lg md:text-xl italic mt-10 mb-12",children:"If your heart feels called... come walk with us."}),i.jsx("a",{href:"#join",className:"inline-block px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Join The Pilgrimage"})]})})]})}const O9=["Gathering in homes","Sharing meals","Walking through nature","Holding circles","Creating meaningful conversations","Remembering what it means to be together"],D9=[{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/0683249af_ChatGPTImageJul10202603_12_20PM.png",alt:"A circle gathering at golden hour"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/4e4696bdb_generated_image.png",alt:"A shared communal table"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/be56d8ad3_generated_image.png",alt:"Walking through an olive grove"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/ca6fd7a5a_generated_image.png",alt:"A European hillside at dusk"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/8822992e8_generated_image.png",alt:"Candles and wildflowers in circle"},{url:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/6fa1a52ab_ChatGPTImageJul10202604_32_47PM.png",alt:"A stone path through the countryside"}];function F9(){return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/3a6bf1a84_ChatGPTImageJul10202604_24_01PM.png",alt:"A path across Europe",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/60 via-black/45 to-black/70"})]}),i.jsx("div",{className:"relative z-10 text-center px-6 max-w-4xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:30}
365,animate:{opacity:1,y:0},transition:{duration:1.1},children:[i.jsx("p",{className:"text-amber-300/80 tracking-[0.35em] uppercase text-xs md:text-sm font-light mb-6",children:"Summer 2026"}),i.jsxs("h1",{className:"text-5xl md:text-7xl lg:text-8xl font-light text-white tracking-tight leading-[0.95] mb-4",children:["The Becoming",i.jsx("br",{}),i.jsx("span",{className:"italic",children:"Pilgrimage"})]}),i.jsx("p",{className:"text-white/70 font-light text-base md:text-lg tracking-[0.2em] uppercase mb-10",children:"A Journey Across Europe"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/30 mx-auto mb-10"}),i.jsxs("p",{className:"text-white/60 font-light text-lg md:text-xl leading-relaxed italic max-w-2xl mx-auto",children:["This is not simply a European journey.",i.jsx("br",{}),"It is the beginning of a living community."]}),i.jsxs("div",{className:"mt-12 flex flex-wrap items-center justify-center gap-4",children:[i.jsx("a",{href:"#join",className:"px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Join The Journey"}),i.jsx(Me,{to:"/Retreats",className:"px-8 py-4 border border-white/20 text-white/60 text-sm tracking-[0.2em] uppercase font-light hover:bg-white/5 transition-all duration-500",children:"Explore The Retreats"})]})]})}),i.jsx(O.div,{className:"absolute bottom-8 left-1/2 -translate-x-1/2",animate:{y:[0,8,0]},transition:{repeat:1/0,duration:2},children:i.jsx("div",{className:"w-[1px] h-12 bg-gradient-to-b from-transparent to-white/30"})})]}),i.jsx("section",{className:"py-28 md:py-40 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-8",children:"A Change Of Direction"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsx("p",{className:"text-stone-800 text-xl md:text-2xl font-light leading-relaxed italic mb-10",children:"Sometimes the path asks us to change direction — not because the vision has changed, but because a more authentic path has revealed itself."}),i.jsx("p",{className:"text-stone-600 font-light leading-relaxed text-base md:text-lg mb-10",children:"This summer, instead of gathering in one location, I will be traveling across Europe, creating intimate spaces for connection, reflection, and community."}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed text-base md:text-lg mb-12",children:"Rather than large retreats, this journey is about returning to something beautifully simple."}),i.jsx("div",{className:"grid sm:grid-cols-2 gap-x-8 gap-y-4 max-w-xl mx-auto text-left",children:O9.map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.06},className:"flex items-start gap-3 py-2 border-b border-stone-200/70",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-amber-500/60 shrink-0"}),i.jsx("span",{className:"text-stone-600 font-light text-sm leading-relaxed",children:e})]},t))}),i.jsxs("div",{className:"mt-14 space-y-3 text-stone-400 font-light text-sm italic",children:[i.jsx("p",{children:"There is no stage."}),i.jsx("p",{children:"There is no performance."}),i.jsx("p",{className:"text-amber-700/70",children:"Only people coming together with open hearts."})]})]})})}),i.jsx("section",{className:"py-20 px-6 bg-stone-900 text-white",children:i.jsxs("div",{className:"max-w-5xl mx-auto grid md:grid-cols-2 gap-10 md:gap-16 items-center",children:[i.jsxs(O.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"relative aspect-[4/5] overflow-hidden order-2 md:order-1",children:[i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/33896a79b_20260118_124020.jpg",alt:"Sacred waters of Maui",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/20"})]}),i.jsxs(O.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"order-1 md:order-2",children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"A Different E
365xperience"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight mb-6",children:"The Remembrance Journey"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/20 mb-8"}),i.jsx("p",{className:"text-white/60 font-light text-base md:text-lg leading-relaxed mb-4",children:"An intimate five-day pilgrimage through the sacred waters of Maui — created for those who feel called to slow down, reconnect with nature, and remember the quiet wisdom within."}),i.jsx("p",{className:"text-amber-300/70 font-light text-sm tracking-[0.2em] uppercase mb-8",children:"Limited to only 6 pilgrims"}),i.jsxs(Me,{to:"/RemembranceJourney",className:"inline-flex items-center gap-2 px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:["Discover The Journey ",i.jsx(Rg,{className:"w-4 h-4"})]})]})]})}),i.jsx(i9,{}),i.jsx(r9,{}),i.jsx("section",{className:"py-24 md:py-32 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-5xl mx-auto grid md:grid-cols-2 gap-10 md:gap-16 items-center",children:[i.jsx(O.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"relative aspect-[4/5] overflow-hidden",children:i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/0683249af_ChatGPTImageJul10202603_12_20PM.png",alt:"A circle gathering at golden hour",className:"w-full h-full object-cover"})}),i.jsxs(O.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"More Than A Journey"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight mb-6",children:"What I'll Be Sharing"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mb-8"}),i.jsxs("div",{className:"space-y-5 text-stone-600 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"Throughout this journey, I'll also be sharing some of what I've learned across more than ten years of travel — the practices, reflections, and lessons that have shaped how I move through the world."}),i.jsx("p",{children:"Not as a teacher on a stage, but as a fellow traveler offering what has been gathered along the way — in conversation, in circles, and in the quiet moments between."})]})]})]})}),i.jsx("section",{className:"py-28 md:py-36 px-6 bg-stone-900 text-white",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-4",children:"The Vision"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight mb-6",children:"Why This Journey Exists"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/20 mx-auto mb-12"}),i.jsxs("div",{className:"space-y-6 text-white/60 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"For years, I have held a vision of creating self-sustaining retreat centers and communities around the world — places where healing, education, nature, and human connection coexist in harmony."}),i.jsx("p",{children:"This journey is one step toward that vision."}),i.jsx("p",{children:"Instead of waiting until everything is built, I want to begin by meeting people where they are."}),i.jsx("p",{children:"Every gathering becomes an opportunity to build genuine relationships, strengthen community, and continue laying the foundation for something much larger than any single event."})]}),i.jsx("div",{className:"mt-12 border border-amber-400/15 bg-amber-400/5 px-8 py-8",children:i.jsx("p",{className:"text-white/50 font-light text-sm leading-relaxed",children:"A significant portion of the proceeds from these gatherings will continue supporting the long-term vision of creating these future spaces for humanity."})})]})})}),i.jsx(a9,{}),i.jsx(o9,{}),i.jsx(c9,{}),i.jsx("section",{className:"py-24 md:py-32 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"From The Road"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight",children:"A Glimpse Of The Journey"})]}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-3 md:gap-4",children:D9.map((e,t)=>i.jsx(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.08},className:"relative overflow-hidden aspect-[4/5] group",children:i.jsx("img",{src:e.url,alt:e.alt,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"})},t))})]})}),i.jsx("section",{className:"py-28 md:py-36 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsxs("div",{className:"flex items-center justify-center gap-3 mb-6",children:[i.jsx(zx,{className:"w-5 h-5 text-amber-700/50"}),i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs",children:"Community-Created"})]}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight text-center mb-6",children:"Host a Gathering"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsxs("div",{className:"space-y-6 text-stone-600 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"One of the most beautiful parts of this journey is that it is community-created. If you have a home, retreat space, garden, studio, or meaningful place where people could gather, I'd love to hear from you."}),i.jsx("p",{children:"Hosting doesn't need to be extravagant."}),i.jsx("p",{className:"text-stone-500 italic",children:"Sometimes the most powerful evenings happen in a living room surrounded by tea, candles, and authentic conversation."}),i.jsx("p",{children:"Whether you can host a gathering, offer a place to stay, or simply help connect me with your local community, your support becomes part of this shared journey."})]}),i.jsxs("div",{className:"mt-12 text-center space-y-2",children:[i.jsx("p",{className:"text-stone-500 font-light text-lg italic",children:"Together, we are creating something far greater than an event."}),i.jsx("p",{className:"text-amber-700/70 font-light text-lg italic",children:"We are creating community."})]}),i.jsx("div",{className:"mt-12 text-center",children:i.jsxs("a",{href:"#join",className:"inline-flex items-center gap-2 px-10 py-4 bg-stone-900 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-300",children:["Offer Your Space ",i.jsx(Rg,{className:"w-4 h-4"})]})})]})})}),i.jsx(u9,{}),i.jsx(A9,{}),i.jsx("section",{id:"join",className:"py-28 md:py-36 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-2xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsxs("div",{className:"flex items-center justify-center gap-3 mb-6",children:[i.jsx(Tj,{className:"w-5 h-5 text-amber-700/50"}),i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs",children:"Stay Connected"})]}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight mb-6",children:"Join the Journey"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-10"}),i.jsx("p",{className:"text-stone-600 font-light leading-relaxed text-base md:text-lg mb-4",children:"I'd love to know where you are."}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed text-sm md:text-base max-w-xl mx-auto",children:"By registering below, you'll receive updates whenever I'm planning to be near your city. You'll also be the first to hear about upcoming gatherings, workshops, community dinners, and special events."}),i.jsx("p",{className:"text-stone-400 font-light italic text-sm mt-6",children:"No two gatherings will be exactly alike. Each one will be shaped by the people who come together."})]}),i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.1},className:"bg-white border border-stone-200 px-6 md:px-10 py-10 md:py-12",children:[i.jsx("p",{className:"text-amber-700/60 tracking-[0.25em] uppercase text-xs mb-2 text-center",children:"Registration Form"}),i.jsx("h3",{className:"text-stone-800 font-light text-xl tracking-tight text-center mb-10",children:"Join The Becoming Pilgrimage"}),i.jsx(D7,{})]})]})}),i.jsx(L9,{}),i.jsx(M9,{}),i.jsx(vs,{}),i.jsx("footer",{className:"py-8 px-6 bg-stone-950 text-center",children:i.jsx("p",{className:"text-white/20 text-xs tracking-[0.2em] uppercase",children:"© 2026 The Becoming · All Rights Reserved"})})]})}function B9(){return i.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/4ab51cfc1_generated_image.png",alt:"Sacred waters of Maui",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#04141f]/70 via-[#04141f]/40 to-[#04141f]/85"})]}),i.jsx("div",{className:"relative z-10 text-center px-6 max-w-4xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:30}
365,animate:{opacity:1,y:0},transition:{duration:1.1},children:[i.jsx("p",{className:"text-cyan-200/80 tracking-[0.35em] uppercase text-xs md:text-sm font-light mb-6",children:"Maui · September 27 – October 1, 2026"}),i.jsxs("h1",{className:"text-5xl md:text-7xl lg:text-8xl font-light text-white tracking-tight leading-[0.95] mb-6",children:["The Remembrance",i.jsx("br",{}),i.jsx("span",{className:"italic",children:"Journey"})]}),i.jsx("div",{className:"w-12 h-[1px] bg-cyan-300/40 mx-auto mb-8"}),i.jsx("p",{className:"text-white/70 font-light text-lg md:text-xl leading-relaxed italic max-w-2xl mx-auto mb-4",children:"An Intimate Pilgrimage Through the Sacred Waters of Maui"}),i.jsx("p",{className:"text-white/55 font-light text-base md:text-lg leading-relaxed max-w-2xl mx-auto mb-4",children:"A five-day guided pilgrimage through Maui's sacred waters, created for those who feel called to slow down, reconnect with nature, and remember the quiet wisdom that already lives within them."}),i.jsx("p",{className:"text-cyan-200/70 font-light text-sm tracking-[0.2em] uppercase mb-12",children:"Limited to only 6 pilgrims"}),i.jsx("a",{href:"#applying",className:"inline-block px-10 py-4 border border-cyan-300/40 text-cyan-100 text-sm tracking-[0.2em] uppercase font-light hover:bg-cyan-300/10 transition-all duration-500",children:"Apply for The Journey"})]})}),i.jsx(O.div,{className:"absolute bottom-8 left-1/2 -translate-x-1/2",animate:{y:[0,8,0]},transition:{repeat:1/0,duration:2},children:i.jsx("div",{className:"w-[1px] h-12 bg-gradient-to-b from-transparent to-cyan-300/40"})})]})}function V9(){return i.jsx("section",{className:"py-28 md:py-40 px-6 bg-[#0a2536]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-cyan-300/50 tracking-[0.3em] uppercase text-xs mb-8",children:"A Different Kind of Experience"}),i.jsx("div",{className:"w-12 h-[1px] bg-cyan-300/20 mx-auto mb-12"}),i.jsxs("div",{className:"space-y-5 text-white/70 font-light text-lg md:text-xl leading-relaxed",children:[i.jsx("p",{className:"italic text-white/90",children:"This is not a retreat."}),i.jsx("p",{className:"italic text-white/90",children:"It is not a tour."}),i.jsx("p",{className:"italic text-white/90",children:"It is not about rushing from one destination to the next."})]}),i.jsxs("div",{className:"mt-10 space-y-6 text-white/60 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"The Remembrance Journey is an intimate pilgrimage through the sacred waters of Maui — a gentle invitation to step away from the noise of everyday life and enter into a deeper relationship with yourself through the island's rivers, waterfalls, ocean, forests, and silence."}),i.jsx("p",{children:"Rather than seeking something outside of yourself, this journey invites you to remember what has always been within."}),i.jsx("p",{children:"Together, we will explore sacred places with reverence, move slowly, share meaningful conversations, and allow nature to become one of our greatest teachers."})]}),i.jsxs("div",{className:"mt-12 space-y-3 text-cyan-200/70 font-light text-lg md:text-xl italic",children:[i.jsx("p",{children:"No experience is required."}),i.jsx("p",{children:"Only an open heart and a willingness to listen."})]})]})})})}const z9=["Movement","Silence","Water","Reflection","Nourishment","Community"];function U9(){return i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#04141f] text-white",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-cyan-300/60 tracking-[0.3em] uppercase text-xs mb-4",children:"What Makes This Journey Different"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight mb-6",children:"Intentionally Small"}),i.jsx("div",{className:"w-12 h-[1px] bg-cyan-300/20 mx-auto mb-12"}),i.jsxs("div",{className:"space-y-6 text-white/60 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"Unlike traditional retreats, The Remembrance Journey is intentionally small."}),i.jsx("p",{children:"Each pilgrimage is limited to only six pilgrims, allowing space for genuine connection, personalized guidance, and moments of quiet that larger groups often cannot offer."})]}),i.jsx("div",{className:"mt-12 grid grid-cols-2 sm:grid-cols-3 gap-px bg-cyan-300/5",children:z9.map((e,t)=>i.jsx(O.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.06},className:"bg-[#04141f] px-6 py-8",children:i.jsx("p",{className:"text-white/70 font-light tracking-wide",children:e})},t))}),i.jsx("p",{className:"text-white/50 font-light text-base md:text-lg leading-relaxed mt-12",children:"The rhythm of our days will be simple."}),i.jsxs("div",{className:"mt-10 space-y-3 text-cyan-200/70 font-light text-lg md:text-xl italic",children:[i.jsx("p",{children:"There is no pressure to become someone new."}),i.jsx("p",{children:"Only the opportunity to reconnect with who you have always been."})]})]})})})}const $9=["Guided visits to Maui's sacred waters","Daily movement, meditation, and grounding practices","Personal guidance and group reflections","Time for silence, journaling, and integration","Teachings inspired by n
365ature, water, and the wisdom of the island","Moments of music, storytelling, and meaningful conversation","Spaciousness to simply be"];function W9(){return i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#0a2536]",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-cyan-300/50 tracking-[0.3em] uppercase text-xs mb-4",children:"What You'll Experience"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-white tracking-tight",children:"A Journey That Unfolds Organically"}),i.jsx("div",{className:"w-12 h-[1px] bg-cyan-300/20 mx-auto mt-6"})]}),i.jsx("ul",{className:"space-y-4 max-w-2xl mx-auto",children:$9.map((e,t)=>i.jsxs(O.li,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.06},className:"flex items-start gap-3 text-white/60 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("span",{className:"mt-2 w-1.5 h-1.5 rounded-full bg-cyan-400/60 shrink-0"}),i.jsx("span",{children:e})]},t))}),i.jsx(O.p,{initial:{opacity:0}
365,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.3},className:"text-center text-white/50 font-light italic text-base md:text-lg mt-12 max-w-xl mx-auto leading-relaxed",children:"Each journey unfolds organically. Rather than following a rigid itinerary, we allow the island, the group, and the present moment to guide our experience together."})]})})}const H9=[{label:"Morning",items:["Movement","Meditation","Connection","Fresh seasonal fruit and light nourishment","Journey to one of Maui's sacred waters"]},{label:"Midday",items:["Picnic-style nourishing lunch","Rest","Exploration","Reflection"]},{label:"Evening",items:["Personal time for dinner and integration","Optional sunset gathering for music, tea, meditation, and sharing"]}];function q9(){return i.jsxs("section",{className:"relative py-24 md:py-36 px-6 bg-[#04141f] text-white overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 opacity-5",children:i.jsx("img",{src:"https://images.unsplash.com/photo-1504280390367-361c6d9f38f4?w=1920&q=60",alt:"",className:"w-full h-full object-cover"})}),i.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-cyan-300/60 tracking-[0.3em] uppercase text-xs mb-4",children:"A Gentle Rhythm"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight",children:"Spaciousness Over Schedule"})]}),i.jsx("div",{className:"grid md:grid-cols-3 gap-px bg-cyan-300/5",children:H9.map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:"bg-[#04141f] px-8 py-10",children:[i.jsx("p",{className:"text-cyan-300/70 tracking-[0.2em] uppercase text-xs mb-6",children:e.label}),i.jsx("ul",{className:"space-y-3",children:e.items.map((n,s)=>i.jsxs("li",{className:"flex items-start gap-2 text-white/60 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"mt-1.5 w-1 h-1 rounded-full bg-cyan-300/50 shrink-0"}),i.jsx("span",{children:n})]},s))})]},t))}),i.jsx(O.p,{initial:{opacity:0}
365,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.4},className:"text-center text-white/40 font-light italic mt-12 text-sm md:text-base",children:"The intention is to create spaciousness rather than a packed schedule, allowing each experience to be deeply felt rather than simply completed."})]})]})}const Z9=[{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/8236fe141_image2.jpg",alt:"Pilgrims gathered on the cliffside lawn above the ocean",caption:"Gathering in stillness"},{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/e1151392f_20260405_181433.jpg",alt:"Hidden waterfall pool surrounded by tropical greenery",caption:"The sacred waters"},{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/7605ab246_lovers-paradise-kaanapali-maui-sunset.jpg",alt:"Maui sunset over the ocean with silhouetted palms",caption:"Evening reflections"}];function G9(){return i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#0a2536]",children:i.jsxs("div",{className:"max-w-6xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-cyan-300/60 tracking-[0.3em] uppercase text-xs mb-4",children:"A Glimpse"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-white tracking-tight",children:"The Land That Holds You"}),i.jsx("div",{className:"w-12 h-[1px] bg-cyan-300/20 mx-auto mt-8"})]}),i.jsx("div",{className:"grid md:grid-cols-3 gap-4 md:gap-6",children:Z9.map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.15},className:"group relative overflow-hidden",children:[i.jsx("div",{className:"aspect-[3/4] overflow-hidden",children:i.jsx("img",{src:e.src,alt:e.alt,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"})}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 via-transparent to-transparent"}),i.jsx("p",{className:"absolute bottom-5 left-0 right-0 text-center text-white/80 font-light text-sm tracking-[0.2em] uppercase",children:e.caption})]},t))})]})})}const Y9=["Five-day guided pilgrimage","Daily guidance and facilitation with Alejandro","Transportation throughout each retreat day","Fresh fruit and light morning nourishment","Nourishing picnic-style lunches","Healthy snacks and water throughout the day","Group practices and meditations"],K9=["Flights to Maui","Accommodation","Airport transportation","Personal dinners","Travel insurance","Personal purchases"];function J9(){return i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#0a2536]",children:i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-cyan-300/50 tracking-[0.3em] uppercase text-xs mb-4",children:"What's Included"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-white tracking-tight",children:"The Details"}),i.jsx("div",{className:"w-12 h-[1px] bg-cyan-300/20 mx-auto mt-6"})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[i.jsxs(O.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},className:"bg-white/5 border border-cyan-300/15 p-8 md:p-10",children:[i.jsx("p",{className:"text-cyan-300/70 tracking-[0.2em] uppercase text-xs mb-6",children:"Included"}),i.jsx("ul",{className:"space-y-4",children:Y9.map((e,t)=>i.jsxs("li",{className:"flex items-start gap-3 text-white/60 font-light text-sm leading-relaxed",children:[i.jsx(Am,{className:"w-4 h-4 text-cyan-400/70 mt-0.5 shrink-0"}),i.jsx("span",{children:e})]},t))})]}),i.jsxs(O.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"bg-white/5 border border-white/10 p-8 md:p-10",children:[i.jsx("p",{className:"text-white/40 tracking-[0.2em] uppercase text-xs mb-6",children:"Not Included"}),i.jsx("ul",{className:"space-y-4",children:K9.map((e,t)=>i.jsxs("li",{className:"flex items-start gap-3 text-white/40 font-light text-sm leading-relaxed",children:[i.jsx(er,{className:"w-4 h-4 text-white/30 mt-0.5 shrink-0"}),i.jsx("span",{children:e})]},t))})]})]}),i.jsx(O.p,{initial:{opacity:0}
365,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.3},className:"text-center text-white/50 font-light text-sm md:text-base mt-10 max-w-2xl mx-auto leading-relaxed",children:"Pilgrims are responsible for arranging their own accommodations before and after the journey. Once accepted, you'll receive a guide with recommended places to stay based on different budgets and preferred locations."})]})})}const Q9=["You feel deeply called to nature.","You long for simplicity and presence.","You are navigating change or seeking greater clarity.","You feel drawn to the healing wisdom of water.","You appreciate intimate experiences over large retreats.","You are ready to slow down and truly listen."];function X9(){return i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#0d2d42]",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:[i.jsx("p",{className:"text-cyan-300/50 tracking-[0.3em] uppercase text-xs mb-4",children:"Who This Is For"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-white tracking-tight",children:"This Journey May Be For You If…"}),i.jsx("div",{className:"w-12 h-[1px] bg-cyan-300/20 mx-auto mt-6"})]}),i.jsx("ul",{className:"space-y-5 max-w-2xl mx-auto",children:Q9.map((e,t)=>i.jsxs(O.li,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.08},className:"flex items-start gap-4 text-white/60 font-light text-base md:text-lg leading-relaxed border-b border-cyan-300/10 pb-5",children:[i.jsx("span",{className:"mt-2 w-1.5 h-1.5 rounded-full bg-cyan-400/60 shrink-0"}),i.jsx("span",{className:"italic",children:e})]},t))})]})})}const lf=1500,wu=500,sm=e=>Math.floor((lf-wu)/e),Pg=e=>lf-wu-sm(e)*(e-1),Eg=[{id:"full",label:"Pay in Full",desc:"One-time payment. No deposit necessary.",getAmount:()=>lf,getInstallment:()=>null},{id:"2_payments",label:"2-Payment Plan",desc:"$500 deposit + first installment today, then 1 monthly installment.",getAmount:()=>wu+Pg(2),getInstallment:()=>sm(2)},{id:"3_payments",label:"3-Payment Plan",desc:"$500 deposit + first installment today, then 2 monthly installments.",getAmount:()=>wu+Pg(3),getInstallment:()=>sm(3)},{id:"4_payments",label:"4-Payment Plan",desc:"$500 deposit + first installment today, then 3 monthly installments.",getAmount:()=>wu+Pg(4),getInstallment:()=>sm(4)}];function eV({open:e,onClose:t}){const[n,s]=N.useState("full"),[l,c]=N.useState("payment"),[d,m]=N.useState(!1),[f,x]=N.useState(null),y=Eg.find(S=>S.id===n)||Eg[0],v=y.getAmount(),_=async S=>{var E;m(!0),x(null);try{const k="BC-"+Math.random().toString(36).substring(2,8).toUpperCase();await Ke.entities.Registration.create({...S,retreat_name:"The Remembrance Journey",investment_tier:"remembrance",payment_plan:y.id,confirmation_code:k,status:"pending"});const P=await Ke.functions.invoke("createStripeCheckout",{tier:"remembrance",paymentOption:y.id,retreatName:"The Remembrance Journey",amount:lf,registrationEmail:S.email,confirmationCode:k});(E=P.data)!=null&&E.redirectUrl?window.location.href=P.data.redirectUrl:x("Something went wrong. Please try again.")}catch(k){console.error(k),x("Unable to initiate checkout. Please try again.")}finally{m(!1)}};return i.jsx(Wi,{children:e&&i.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[i.jsx(O.div,{initial:{opacity:0}
365,animate:{opacity:1},exit:{opacity:0},className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:t}),i.jsxs(O.div,{initial:{opacity:0,y:30,scale:.97},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.97},transition:{duration:.35},className:"relative bg-[#FAF8F5] w-full max-w-lg max-h-[90vh] overflow-y-auto shadow-2xl",children:[i.jsxs("div",{className:"flex items-center justify-between px-8 py-6 border-b border-stone-200",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-cyan-700/60 tracking-[0.25em] uppercase text-xs mb-1",children:"Reserve Your Spot"}),i.jsx("h2",{className:"text-stone-800 font-light text-xl tracking-tight",children:"The Remembrance Journey"})]}),i.jsx("button",{onClick:t,className:"text-stone-400 hover:text-stone-700 transition-colors",children:i.jsx(er,{className:"w-5 h-5"})})]}),i.jsxs("div",{className:"px-8 py-6 space-y-8",children:[i.jsxs("div",{className:"flex items-center justify-between px-5 py-4 border border-cyan-500/40 bg-cyan-50/60",children:[i.jsxs("div",{children:[i.jsx("span",{className:"text-stone-800 font-light text-sm",children:"Founding Journey"}),i.jsx("span",{className:"text-stone-400 text-xs ml-2",children:"— $1,500 USD"})]}),i.jsx("span",{className:"text-stone-700 font-light text-base",children:"$1,500"})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-stone-500 text-xs tracking-[0.2em] uppercase mb-4",children:"Choose Payment Option"}),i.jsx("div",{className:"space-y-2",children:Eg.map(S=>{const E=S.getAmount(),k=S.getInstallment();return i.jsxs("button",{onClick:()=>s(S.id),className:`w-full flex items-start justify-between px-5 py-4 border transition-all duration-200 text-left ${n===S.id?"border-cyan-500/40 bg-cyan-50/60":"border-stone-200 bg-white hover:border-cyan-400/40"}`,children:[i.jsxs("div",{className:"flex-1 pr-4",children:[i.jsx("p",{className:"text-stone-800 font-light text-sm",children:S.label}),i.jsx("p",{className:"text-stone-400 text-xs mt-0.5 font-light",children:S.desc})]}),i.jsxs("div",{className:"text-right shrink-0",children:[i.jsxs("p",{className:"text-stone-700 font-light text-base",children:["$",E.toLocaleString()," today"]}),k!=null&&i.jsxs("p",{className:"text-stone-500 text-xs",children:["then $",k.toLocaleString(),"/installment"]})]})]},S.id)})})]}),i.jsxs("div",{className:"border-t border-stone-200 pt-6",children:[i.jsxs("div",{className:"flex items-baseline justify-between mb-6",children:[i.jsx("p",{className:"text-stone-500 font-light text-sm",children:"Due today"}),i.jsxs("p",{className:"text-stone-800 text-2xl font-light",children:["$",v.toLocaleString()]})]}),f&&i.jsx("p",{className:"text-red-500 text-xs mb-4 text-center",children:f}),i.jsx("button",{onClick:()=>c("registration"),className:"w-full py-4 bg-cyan-600 text-white text-sm tracking-[0.2em] uppercase font-light hover:bg-cyan-500 transition-all duration-300 flex items-center justify-center gap-3 disabled:opacity-60",children:"Continue to Registration"}),i.jsx("p",{className:"text-center text-stone-400 text-xs mt-4 font-light",children:"Secure payment via Stripe. Your spot is not confirmed until payment is received."})]}),l==="registration"&&i.jsxs("div",{className:"border-t border-stone-200 pt-6 space-y-5",children:[i.jsx("button",{onClick:()=>c("payment"),className:"text-stone-400 hover:text-stone-700 text-xs tracking-wider uppercase",children:"← Back to payment options"}),i.jsxs("div",{className:"flex items-baseline justify-between px-5 py-4 border border-stone-200 bg-white",children:[i.jsxs("p",{className:"text-stone-500 font-light text-sm",children:[y.label," · Due today"]}),i.jsxs("p",{className:"text-stone-800 text-lg font-light",children:["$",v.toLocaleString()]})]}),f&&i.jsx("p",{className:"text-red-500 text-xs text-center",children:f}),i.jsx(nf,{onSubmit:_,submitting:d})]})]})]})]})})}const tV="2026-09-27",nV=4;function Qk(){const e=new Date(tV+"T00:00:00"),t=new Date(e);return t.setDate(t.getDate()-nV),new Date>=t}function iV(){const{isTierSoldOut:e,isClosed:t,spotsLeft:n}=tf("The Remembrance Journey"),[s,l]=N.useState(!1),c=Qk(),d=t||e("remembrance")||c,m=n("remembrance");return i.jsxs("section",{className:"py-24 md:py-36 px-6 bg-[#04141f] text-white",children:[i.jsx("div",{className:"max-w-2xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-cyan-300/60 tracking-[0.3em] uppercase text-xs mb-4",children:"Investment"}),i.jsx("h2",{className:"text-4xl md:text-5xl font-light tracking-tight mb-8",children:"$1,500 USD"}),i.jsx("div",{className:"w-12 h-[1px] bg-cyan-300/20 mx-auto mb-8"}),i.jsx("p",{className:"text-white/50 font-light text-sm md:text-base italic mb-6",children:"Early founding journey pricing"}),!d&&m!=null&&i.jsxs("p",{className:"text-cyan-200/70 font-light text-sm tracking-[0.2em] uppercase mb-8",children:["Only ",m," ",m===1?"spot":"spots"," left"]}),i.jsxs("div",{className:"border border-cyan-300/15 bg-cyan-300/5 px-8 py-8 space-y-3 mb-10",children:[i.jsx("p",{className:"text-white/70 font-light text-base md:text-lg",children:"Limited to only 6 pilgrims."}),i.jsx("p",{className:"text-white/60 font-light text-sm md:text-base",children:"A $500 deposit secures your space."}),i.jsx("p",{className:"text-white/60 font-light text-sm md:text-base",children:"Payment plans of 2, 3, or 4 installments available."})]}),d?i.jsx("div",{className:"inline-block px-10 py-4 border border-white/20 text-white/40 text-sm tracking-[0.2em] uppercase font-light",children:c?"Registration Closed":t?"Reservations Closed":"Sold Out"}):i.jsx(O.button,{onClick:()=>l(!0),whileHover:{scale:1.03},whileTap:{scale:.98},className:"inline-block px-10 py-4 bg-cyan-400/90 text-[#04141f] text-sm tracking-[0.2em] uppercase font-light hover:bg-cyan-300 transition-all duration-300",children:"Reserve Your Spot"}),i.jsx("p",{className:"text-white/30 text-xs mt-6 font-light",children:"Secure payment via Stripe."})]})}),i.jsx(eV,{open:s,onClose:()=>l(!1)})]})}function sV(){return i.jsxs("section",{className:"relative py-28 md:py-40 px-6 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&q=80",alt:"Maui",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-[#04141f]/75"})]}),i.jsx("div",{className:"relative z-10 max-w-3xl mx-auto text-center text-white",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-cyan-200/70 tracking-[0.3em] uppercase text-xs mb-4",children:"Why Maui?"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light tracking-tight mb-8",children:"The Island Becomes A Teacher"}),i.jsx("div",{className:"w-12 h-[1px] bg-cyan-300/30 mx-auto mb-10"}),i.jsxs("div",{className:"space-y-6 text-white/65 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"Maui is unlike anywhere else. Its rivers, waterfalls, coastline, volcanic landscapes, and ocean carry a rhythm that invites us to slow down, soften, and remember our connection to the natural world."}),i.jsx("p",{children:"Throughout this journey, the island becomes more than a destination. It becomes a teacher."}),i.jsx("p",{className:"text-white/55 italic",children:"With deep respect for the land and its people, we approach each place with humility, gratitude, and the intention to leave every space exactly as we found it — or even better."})]})]})})]})}function rV(){return i.jsx("section",{className:"py-24 md:py-36 px-6 bg-[#0a2536]",children:i.jsxs("div",{className:"max-w-5xl mx-auto grid md:grid-cols-2 gap-10 md:gap-16 items-center",children:[i.jsx(O.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"relative aspect-[4/5] overflow-hidden",children:i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/593a2faed_ScreenShot2026-05-18at10504PM.png",alt:"Alejandro",className:"w-full h-full object-cover object-top"})}),i.jsxs(O.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-cyan-300/50 tracking-[0.3em] uppercase text-xs mb-4",children:"Your Guide"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-white tracking-tight mb-6",children:"Meet Alejandro"}),i.jsx("div",{className:"w-12 h-[1px] bg-cyan-300/20 mb-8"}),i.jsxs("div",{className:"space-y-5 text-white/60 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"For years, I've guided individuals and small groups through experiences centered on self-discovery, healing, and reconnection with nature."}),i.jsx("p",{children:"The Remembrance Journey is an extension of my own relationship with Maui and the profound wisdom I've found through its waters, forests, and sacred places."}),i.jsx("p",{children:"Rather than offering answers, I create space for people to remember their own."}),i.jsx("p",{className:"text-cyan-200/70 italic",children:"It is an honor to walk beside you on that journey."})]})]})]})})}const Uh="bg-[#04141f] border-cyan-300/20 focus:border-cyan-400 rounded-none h-12 text-white placeholder:text-white/30",su="bg-[#04141f] border-cyan-300/20 focus:border-cyan-400 rounded-none min-h-[120px] resize-none text-white placeholder:text-white/30",Ws="text-cyan-200/60 text-xs tracking-wider up
365percase mb-2 block";function aV(){const[e,t]=N.useState({full_name:"",email:"",phone:"",why_called:"",intention:"",experience:"",mental_state:"",anything_else:"",confirm_email:""}),[n,s]=N.useState(!1),[l,c]=N.useState(!1),[d,m]=N.useState(""),f=(y,v)=>t(_=>({..._,[y]:v})),x=async y=>{if(y.preventDefault(),e.email!==e.confirm_email){m("Email addresses do not match. Please re-enter to confirm.");return}m(""),s(!0);try{const{confirm_email:v,..._}=e,S=await Ke.entities.RemembranceApplication.create(_);Ke.functions.invoke("sendRemembranceEmails",{application:S}).catch(console.error),c(!0)}catch(v){console.error(v)}finally{s(!1)}};return l?i.jsxs(O.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center py-12",children:[i.jsx(Rm,{className:"w-12 h-12 text-cyan-400/70 mx-auto mb-6"}),i.jsx("h3",{className:"text-2xl font-light text-white mb-3",children:"Thank You For Your Application"}),i.jsx("p",{className:"text-white/50 font-light leading-relaxed max-w-md mx-auto",children:"Your application has been received. Alejandro will reach out within a few days to schedule a brief conversation."})]}):i.jsxs("form",{onSubmit:x,className:"space-y-7 text-left",children:[i.jsxs("div",{className:"grid md:grid-cols-2 gap-5",children:[i.jsxs("div",{children:[i.jsx(Xe,{className:Ws,children:"Full Name *"}),i.jsx(Qt,{value:e.full_name,onChange:y=>f("full_name",y.target.value),className:Uh,placeholder:"Your full name",required:!0})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:Ws,children:"Email *"}),i.jsx(Qt,{type:"email",value:e.email,onChange:y=>{f("email",y.target.value),m("")},className:Uh,placeholder:"[email protected]",required:!0})]})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:Ws,children:"Confirm Email *"}),i.jsx(Qt,{type:"email",value:e.confirm_email,onChange:y=>{f("confirm_email",y.target.value),m("")},className:Uh,placeholder:"Re-enter your email",required:!0}),d&&i.jsx("p",{className:"text-red-400 text-xs mt-2 font-light",children:d})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:Ws,children:"Phone (optional)"}),i.jsx(Qt,{value:e.phone,onChange:y=>f("phone",y.target.value),className:Uh,placeholder:"+1 (555) 000-0000"})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:Ws,children:"What draws you to The Remembrance Journey? *"}),i.jsx(Rn,{value:e.why_called,onChange:y=>f("why_called",y.target.value),className:su,placeholder:"What is calling you to this pilgrimage…",required:!0})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:Ws,children:"What is your intention for this journey? *"}),i.jsx(Rn,{value:e.intention,onChange:y=>f("intention",y.target.value),className:su,placeholder:"What do you hope to remember, feel, or integrate…",required:!0})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:Ws,children:"Tell me about your relationship with nature and water. *"}),i.jsx(Rn,{value:e.experience,onChange:y=>f("experience",y.target.value),className:su,placeholder:"Your experiences with nature, retreats, healing, or quiet immersion…",required:!0})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:Ws,children:"How would you describe your current mental and emotional state? *"}),i.jsx(Rn,{value:e.mental_state,onChange:y=>f("mental_state",y.target.value),className:su,placeholder:"How you're feeling these days — what you're moving through…",required:!0})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:Ws,children:"Anything else you'd like me to know?"}),i.jsx(Rn,{value:e.anything_else,onChange:y=>f("anything_else",y.target.value),className:su,placeholder:"Anything else on your heart…"})]}),i.jsx(ta,{type:"submit",disabled:n,className:"w-full h-14 bg-cyan-400/90 hover:bg-cyan-300 text-[#04141f] rounded-none tracking-[0.2em] uppercase text-xs font-light",children:n?i.jsx(Wn,{className:"w-4 h-4 animate-spin"}):"Submit Application"})]})}const aj="bg-[#04141f] border-cyan-300/20 focus:border-cyan-400 rounded-none h-12 text-white placeholder:text-white/30",oV="bg-[#04141f] border-cyan-300/20 focus:border-cyan-400 rounded-none min-h-[120px] resize-none text-white placeholder:text-white/30",Ag="text-cyan-200/60 text-xs tracking-wider up
365percase mb-2 block";function lV(){const[e,t]=N.useState({full_name:"",email:"",why_interested:""}),[n,s]=N.useState(!1),[l,c]=N.useState(!1),d=(f,x)=>t(y=>({...y,[f]:x})),m=async f=>{f.preventDefault(),s(!0);try{const x=await Ke.entities.RemembranceInterest.create(e);Ke.functions.invoke("sendRemembranceInterestEmails",{interest:x}).catch(console.error),c(!0)}catch(x){console.error(x)}finally{s(!1)}};return l?i.jsxs(O.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center py-12",children:[i.jsx(Rm,{className:"w-12 h-12 text-cyan-400/70 mx-auto mb-6"}),i.jsx("h3",{className:"text-2xl font-light text-white mb-3",children:"Thank You For Your Interest"}),i.jsx("p",{className:"text-white/50 font-light leading-relaxed max-w-md mx-auto",children:"Your interest has been received. Alejandro will personally notify you when the next Remembrance Journey opens."})]}):i.jsxs("form",{onSubmit:m,className:"space-y-7 text-left",children:[i.jsxs("div",{children:[i.jsx(Xe,{className:Ag,children:"Full Name *"}),i.jsx(Qt,{value:e.full_name,onChange:f=>d("full_name",f.target.value),className:aj,placeholder:"Your full name",required:!0})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:Ag,children:"Email *"}),i.jsx(Qt,{type:"email",value:e.email,onChange:f=>d("email",f.target.value),className:aj,placeholder:"[email protected]",required:!0})]}),i.jsxs("div",{children:[i.jsx(Xe,{className:Ag,children:"Why are you interested in attending? *"}),i.jsx(Rn,{value:e.why_interested,onChange:f=>d("why_interested",f.target.value),className:oV,placeholder:"What draws you to this journey…",required:!0})]}),i.jsx(ta,{type:"submit",disabled:n,className:"w-full h-14 bg-cyan-400/90 hover:bg-cyan-300 text-[#04141f] rounded-none tracking-[0.2em] uppercase text-xs font-light",children:n?i.jsx(Wn,{className:"w-4 h-4 animate-spin"}):"Submit Interest"})]})}function cV(){const e=Qk();return i.jsx("section",{id:"applying",className:"py-28 md:py-40 px-6 bg-[#0d2d42]",children:i.jsxs("div",{className:"max-w-2xl mx-auto",children:[i.jsx(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-14",children:e?i.jsxs(i.Fragment,{children:[i.jsx("p",{className:"text-cyan-300/50 tracking-[0.3em] uppercase text-xs mb-4",children:"Next Journey"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-white tracking-tight mb-6",children:"Express Your Interest"}),i.jsx("div",{className:"w-12 h-[1px] bg-cyan-300/20 mx-auto mb-12"}),i.jsxs("div",{className:"space-y-6 text-white/60 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"Registrations for the upcoming Remembrance Journey are now closed."}),i.jsx("p",{children:"If you feel called to join a future journey, I invite you to share your interest below."}),i.jsx("p",{children:"You'll be personally notified as soon as the next journey opens."})]})]}):i.jsxs(i.Fragment,{children:[i.jsx("p",{className:"text-cyan-300/50 tracking-[0.3em] uppercase text-xs mb-4",children:"Applying"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-white tracking-tight mb-6",children:"By Application"}),i.jsx("div",{className:"w-12 h-[1px] bg-cyan-300/20 mx-auto mb-12"}),i.jsxs("div",{className:"space-y-6 text-white/60 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"Because of the intimate nature of this experience, participation is by application."}),i.jsx("p",{children:"This helps ensure that the group remains aligned and that every pilgrim receives the attention and presence this journey is designed to offer."}),i.jsx("p",{children:"If this journey resonates with you, I invite you to submit an application below."}),i.jsx("p",{children:"Once received, we'll schedule a brief conversation to explore whether this experience is the right fit for you."})]})]})}),i.jsx(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.1},className:"bg-white/5 border border-cyan-300/15 px-6 md:px-10 py-10 md:py-12",children:e?i.jsxs(i.Fragment,{children:[i.jsx("p",{className:"text-cyan-300/60 tracking-[0.25em] uppercase text-xs mb-2 text-center",children:"Interest Form"}),i.jsx("h3",{className:"text-white font-light text-xl tracking-tight text-center mb-10",children:"The Next Remembrance Journey"}),i.jsx(lV,{})]}):i.jsxs(i.Fragment,{children:[i.jsx("p",{className:"text-cyan-300/60 tracking-[0.25em] uppercase text-xs mb-2 text-center",children:"Application Form"}),i.jsx("h3",{className:"text-white font-light text-xl tracking-tight text-center mb-10",children:"The Remembrance Journey"}),i.jsx(aV,{})]})})]})})}function uV(){return i.jsxs("div",{className:"min-h-screen bg-[#04141f]",children:[i.jsx(B9,{}),i.jsx(V9,{}),i.jsx(U9,{}),i.jsx(W9,{}),i.jsx(q9,{}),i.jsx(G9,{}),i.jsx(J9,{}),i.jsx(X9,{}),i.jsx(iV,{}),i.jsx(sV,{}
365),i.jsx(rV,{}),i.jsx(cV,{}),i.jsx(vs,{}),i.jsx("footer",{className:"py-8 px-6 bg-[#020c14] text-center",children:i.jsx("p",{className:"text-white/20 text-xs tracking-[0.2em] uppercase",children:"© 2026 The Becoming · All Rights Reserved"})})]})}const dV="https://media.base44.com/videos/public/69a4f0dfd9744882d99b97c6/d7a1436ca_Hero_Background.mp4";function hV(){const e=()=>{var t;(t=document.getElementById("pathways"))==null||t.scrollIntoView({behavior:"smooth"})};return i.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,className:"w-full h-full object-cover",children:i.jsx("source",{src:dV,type:"video/mp4"})}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/40 via-black/30 to-black/60"})]}),i.jsxs("div",{className:"relative z-10 text-center px-6 max-w-3xl mx-auto",children:[i.jsx(O.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1.2,delay:.3},className:"text-white/60 tracking-[0.4em] uppercase text-xs font-light mb-8",children:"The Becoming"}),i.jsx(O.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1.4,delay:.5},className:"text-5xl md:text-7xl lg:text-8xl font-light text-white tracking-tight leading-[1.05] mb-10",children:"Remember who you are."}),i.jsx(O.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1.2,delay:.9},className:"text-white/70 font-light text-base md:text-lg leading-relaxed max-w-xl mx-auto mb-12",children:"There comes a moment when the life you have known begins to ask something more of you. The Becoming is a space for remembrance, healing, exploration, and transformation — an invitation to move beyond who you have been and listen more deeply to what is calling you forward."}),i.jsxs(O.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1,delay:1.3},className:"flex flex-col items-center gap-6",children:[i.jsx("button",{onClick:e,className:"px-10 py-4 bg-white/10 backdrop-blur-sm border border-white/30 text-white text-sm tracking-[0.2em] uppercase font-light hover:bg-white/20 transition-all duration-500",children:"Begin Your Journey"}),i.jsx("button",{onClick:e,className:"text-white/50 text-xs tracking-[0.2em] uppercase font-light hover:text-white/80 transition-colors duration-300",children:"Explore the ways to enter ↓"})]})]}),i.jsx(O.div,{className:"absolute bottom-8 left-1/2 -translate-x-1/2",animate:{y:[0,8,0]},transition:{repeat:1/0,duration:2.5},children:i.jsx("div",{className:"w-[1px] h-12 bg-gradient-to-b from-transparent to-white/30"})})]})}const mV=[{title:"Work With Me",subtitle:"Personal Guidance & Healing",description:"1:1 guidance, energetic healing, and deeper containers for those seeking personalized support.",cta:"Explore",href:"/WorkWithMe",image:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/7c8632645_generated_image.png"},{title:"The Library",subtitle:"Journeys You Can Enter Anytime",description:"Guided meditations, transmissions, practices, and self-led experiences created to support your journey wherever you are in the world.",cta:"Enter the Library",href:"/Library",image:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/f52232a99_generated_image.png"},{title:"Journeys",subtitle:"Retreats & Pilgrimages",description:"Immersive experiences in sacred places around the world designed to take us out of the familiar and deeper into ourselves.",cta:"Explore Journeys",href:"/Journeys",image:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/23231df04_generated_image.png"},{title:"Gatherings",subtitle:"Come Together",description:"Live transmissions, community gatherings, breathwork, movement, music, and spaces of shared remembrance.",cta:"Discover Gatherings",href:"/Gatherings",image:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/cd3e221e5_generated_image.png"}];function fV(){return i.jsx("section",{id:"pathways",className:"py-28 md:py-40 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-6xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-20",children:[i.jsx("h2",{className:"text-3xl md:text-5xl font-light text-stone-800 tracking-tight mb-8",children:"There are many ways to enter."}
365),i.jsxs("div",{className:"max-w-2xl mx-auto space-y-5 text-stone-500 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"Not everyone's journey asks for the same path."}),i.jsx("p",{children:"You may be seeking clarity. Healing. A deeper connection with yourself. A space to step away from the noise. Or perhaps there is simply something within you that knows it is time for change."}),i.jsx("p",{className:"text-stone-600",children:"The Becoming offers different pathways to meet you where you are."})]})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-6 lg:gap-8",children:mV.map((e,t)=>i.jsx(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:t%2*.15},children:i.jsxs(Me,{to:e.href,className:"group block relative overflow-hidden",children:[i.jsxs("div",{className:"relative h-72 md:h-80 overflow-hidden",children:[i.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover transition-transform duration-[1.5s] group-hover:scale-105"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent"})]}),i.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-8 md:p-10",children:[i.jsx("p",{className:"text-amber-300/70 tracking-[0.25em] uppercase text-xs mb-2",children:e.subt
365itle}),i.jsx("h3",{className:"text-2xl md:text-3xl font-light text-white tracking-tight mb-3",children:e.title}),i.jsx("p",{className:"text-white/60 font-light text-sm leading-relaxed mb-5 max-w-md",children:e.description}),i.jsxs("span",{className:"text-amber-200/80 text-xs tracking-[0.2em] uppercase font-light group-hover:text-amber-200 transition-colors",children:[e.cta," →"]})]})]})},t))})]})})}function pV(){return i.jsx("section",{className:"py-32 md:py-48 px-6 bg-[#F5F2EE] relative overflow-hidden",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:1},children:[i.jsx("h2",{className:"text-3xl md:text-5xl font-light text-stone-800 tracking-tight leading-[1.2] mb-6",children:"You are not here to become someone else."}),i.jsx("p",{className:"text-2xl md:text-3xl font-light text-amber-700/70 tracking-tight italic mb-16",children:"You are here to remember what has always been within you."}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-16"}),i.jsxs("div",{className:"space-y-6 text-stone-600 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"The Becoming is rooted in a simple understanding: much of what we seek outside of ourselves is already quietly speaking from within."}),i.jsx("p",{children:"Through stillness, nature, breath, movement, healing, exploration, and conscious awareness, we begin to create enough space to hear again."}),i.jsx("p",{children:"This is not about becoming a perfected version of yourself. It is about becoming more intimate with yourself. Listening more deeply. Releasing what no longer needs to be carried. Learning to trust the wisdom of your own experience."}),i.jsx("p",{children:"And remembering the relationship between who you are, the Earth beneath you, and the life moving through you."})]}),i.jsx("div",{className:"mt-16",children:i.jsx("p",{className:"text-stone-400 font-light text-sm md:text-base italic",children:"The path is not the same for everyone. The invitation is simply to enter."})})]})})})}const gV="https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/f52232a99_generated_image.png",xV=["7 Guided Experiences","Reflection & Integration Journal","Move at Your Own Pace","Lifetime Access","Begin Anywhere in the World"];function yV(){return i.jsx("section",{className:"py-28 md:py-40 px-6 bg-stone-900 text-white relative overflow-hidden",children:i.jsx("div",{className:"max-w-6xl mx-auto",children:i.jsxs("div",{className:"grid md:grid-cols-2 gap-12 lg:gap-20 items-center",children:[i.jsxs(O.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("p",{className:"text-amber-400/60 tracking-[0.3em] uppercase text-xs mb-6",children:"From the Library"}),i.jsx("h2",{className:"text-4xl md:text-5xl font-light tracking-tight mb-4",children:"Return to Self"}),i.jsx("p",{className:"text-amber-400/50 text-lg font-light italic mb-8",children:"A Guided Journey of Remembrance"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/20 mb-8"}),i.jsx("p",{className:"text-white/60 font-light text-base md:text-lg leading-relaxed mb-10",children:"A self-guided collection of practices created to help you quiet the noise, return to the body, reconnect with your inner guidance, and listen again to what has always been speaking within you."}),i.jsx("div",{className:"space-y-3 mb-12",children:xV.map((e,t)=>i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-400/60 shrink-0"}),i.jsx("span",{className:"text-white/50 font-light text-sm",children:e})]},t))}),i.jsx(Me,{to:"/Library",className:"inline-block px-10 py-4 border border-amber-400/30 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:"Begin the Journey"})]}),i.jsx(O.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8,delay:.2},className:"relative",children:i.jsxs("div",{className:"relative h-80 md:h-[28rem] overflow-hidden",children:[i.jsx("img",{src:gV,alt:"Return to Self",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-stone-900/60 to-transparent"})]})})]})})})}const vV=[{name:"The Remembrance Journey",location:"Maui, Hawaiʻi",tagline:"Sacred Waters · Deep Immersion",desc:"A 5-day intimate pilgrimage into remembrance, held by the sacred waters of Maui.",href:"/RemembranceJourney",image:"https://images.unsplash.com/photo-1505118380757-91f5f5632de0?w=900&q=80"},{name:"Portugal",location:"Portugal · 2026",tagline:"Integration · Clarity · Alignment",desc:"A 4-night refined experience designed to ground, stabilize, and integrate transformation into daily life.",href:"/Portugal",image:"https://images.unsplash.com/photo-1559827291-72ee739d0d9a?w=900&q=80"},{name:"Hawaii",location:"Maui · 2026",tagline:"Heart · Remembrance · Sacred Return",desc:"A 5-night sacred immer
365sive journey into the heart, held in Maui.",href:"/Hawaii",image:"https://images.unsplash.com/photo-1505852679233-d9fd70aff56d?w=900&q=80"},{name:"Australia",location:"Byron Bay · 2027",tagline:"Activation · Power · Expansion",desc:"A 4-night ocean-based experience in Byron Bay focused on movement, expression, and embodied power.",href:"/ByronBay",image:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=900&q=80"}];function wV(){return i.jsx("section",{className:"py-28 md:py-40 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-6xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-20",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-6",children:"Journeys"}),i.jsx("h2",{className:"text-3xl md:text-5xl font-light text-stone-800 tracking-tight mb-10",children:"The world can become the temple."}),i.jsx("p",{className:"text-stone-500 font-light text-base md:text-lg leading-relaxed max-w-2xl mx-auto",children:"From the waters of Hawaiʻi to the forests of Bali and the ancient landscapes of Portugal, The Becoming Journeys are intimate experiences of exploration, remembrance, nature, community, and transformation."})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-6 lg:gap-8 mb-16",children:vV.map((e,t)=>i.jsx(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t%2*.15},children:i.jsxs(Me,{to:e.href,className:"group block",children:[i.jsxs("div",{className:"relative h-64 md:h-72 overflow-hidden mb-5",children:[i.jsx("img",{src:e.image,alt:e.name,className:"w-full h-full object-cover transition-transform duration-[1.5s] group-hover:scale-105"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"})]}),i.jsx("p",{className:"text-amber-700/50 tracking-[0.2em] uppercase text-xs mb-1",children:e.location}),i.jsx("h3",{className:"text-xl md:text-2xl font-light text-stone-800 tracking-tight mb-1",children:e.name}),i.jsx("p",{className:"text-amber-700/50 text-xs tracking-[0.15em] uppercase mb-3",children:e.tagline}),i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed mb-3",children:e.desc}),i.jsx("span",{className:"text-stone-500 text-xs tracking-[0.2em] uppercase font-light group-hover:text-amber-700 transition-colors",children:"Explore →"})]})},t))}),i.jsx("div",{className:"text-center",children:i.jsx(Me,{to:"/Journeys",className:"inline-block px-10 py-4 bg-stone-900 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-300",children:"Explore All Journeys"})})]})})}const bV="https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/d36ba8d36_ScreenShot2026-05-18at10453PM.png";function _V(){return i.jsx("section",{className:"py-28 md:py-40 px-6 bg-[#F5F2EE]",children:i.jsx("div",{className:"max-w-5xl mx-auto",children:i.jsxs("div",{className:"grid md:grid-cols-5 gap-12 lg:gap-16 items-center",children:[i.jsx(O.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"md:col-span-2",children:i.jsx("div",{className:"relative h-80 md:h-96 overflow-hidden",children:i.jsx("img",{src:bV,alt:"Alejandro Salomone",className:"w-full h-full object-cover object-top grayscale"})})}),i.jsxs(O.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8,delay:.2},className:"md:col-span-3",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"The Guide Behind The Becoming"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight mb-2",children:"Meet Alejandro"}),i.jsx("p",{className:"text-amber-700/60 text-sm tracking-wider uppercase mb-6",children:"Spiritual Guide & Vision Architect"}),i.jsx("div",{className:"w-8 h-[1px] bg-amber-700/20 mb-6"}),i.jsxs("div",{className:"space-y-4 text-stone-600 font-light text-sm md:text-base leading-relaxed mb-8",children:[i.jsx("p",{children:"Alejandro's work is rooted in a lifelong exploration of consciousness, healing, spirituality, nature, and the deeper questions of human existence."}),i.jsx("p",{children:"His path has taken him through different cultures, traditions, landscapes, and practices — from meditation and breathwork to energy healing, plant medicine, indigenous wisdom, and immersive experiences in nature."}),i.jsx("p",{children:"Rather than offering a single path or belief system, his work creates spaces for people to explore their own inner world, reconnect with themselves, and develop a deeper relationship with the guidance already present within them."}),i.jsx("p",{children:"Through personal guidance, healing work, gatherings, retreats, and self-guided experiences, Alejandro's intention is to create space
365s where remembrance can occur naturally."})]}),i.jsx(Me,{to:"/MeetAlejandro",className:"inline-block text-xs tracking-[0.2em] uppercase text-amber-700/70 border border-amber-700/20 px-6 py-3 hover:bg-amber-700/5 transition-all duration-300",children:"My Journey →"})]})]})})})}const jV="https://images.unsplash.com/photo-1505118380757-91f5f5632de0?w=1920&q=80";function NV(){const e=()=>{var t;(t=document.getElementById("pathways"))==null||t.scrollIntoView({behavior:"smooth"})};return i.jsxs("section",{className:"relative min-h-[80vh] flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:jV,alt:"",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/50"})]}),i.jsx("div",{className:"relative z-10 text-center px-6 max-w-2xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:1},children:[i.jsx("h2",{className:"text-3xl md:text-5xl font-light text-white tracking-tight mb-10",children:"Something brought you here."}),i.jsx("p",{className:"text-white/60 font-light text-base md:text-lg leading-relaxed mb-12",children:"You don't need to know exactly where the journey leads. Sometimes the first step is simply listening to what is asking to be explored."}),i.jsx("button",{onClick:e,className:"px-10 py-4 bg-white/10 backdrop-blur-sm border border-white/30 text-white text-sm tracking-[0.2em] uppercase font-light hover:bg-white/20 transition-all duration-500",children:"Begin Your Journey"})]})})]})}const SV=[{label:"Work With Me",href:"/WorkWithMe"},{label:"The Library",href:"/Library"},{label:"Journeys",href:"/Journeys"},{label:"Gatherings",href:"/Gatherings"},{label:"About",href:"/About"}];function ed(){return i.jsx("footer",{className:"bg-stone-950 text-white py-16 px-6",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsx("div",{className:"text-center mb-12",children:i.jsx(Me,{to:"/",className:"text-sm tracking-[0.3em] uppercase font-light text-white/80 hover:text-amber-300 transition-colors",children:"The Becoming"})}),i.jsx("div",{className:"flex flex-wrap items-center justify-center gap-x-8 gap-y-3 mb-12",children:SV.map(e=>i.jsx(Me,{to:e.href,className:"text-white/40 text-xs tracking-[0.15em] uppercase font-light hover:text-white/70 transition-colors",children:e.label},e.href))}),i.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-x-6 gap-y-2 mb-10",children:[i.jsx("span",{className:"text-white/25 text-xs tracking-[0.15em] uppercase font-light",children:"Instagram"}),i.jsx("span",{className:"text-white/15",children:"·"}),i.jsx("a",{href:"mailto:[email protected]",className:"text-white/25 text-xs tracking-[0.15em] uppercase font-light hover:text-white/50 transition-colors",children:"Contact"}),i.jsx("span",{className:"text-white/15",children:"·"}),i.jsx("span",{className:"text-white/25 text-xs tracking-[0.15em] uppercase font-light",children:"Privacy"}),i.jsx("span",{className:"text-white/15",children:"·"}),i.jsx("span",{className:"text-white/25 text-xs tracking-[0.15em] uppercase font-light",children:"Terms"})]}),i.jsx("div",{className:"text-center",children:i.jsx("p",{className:"text-white/20 text-xs tracking-[0.2em] uppercase font-light",children:"© 2026 The Becoming · All Rights Reserved"})})]})})}function kV(){return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsx(hV,{}),i.jsx(fV,{}),i.jsx(pV,{}),i.jsx(yV,{}),i.jsx(wV,{}),i.jsx(_V,{}),i.jsx(NV,{}),i.jsx(ed,{})]})}const TV=[{name:"Portugal",location:"Portugal · 2026",tagline:"Integration · Clarity · Alignment",dates:"August 3–7, 2026 · 4 Nights",desc:"A 4-night refined experience designed to ground, stabilize, and integrate transformation into daily life.",href:"/Portugal",image:"https://images.unsplash.com/photo-1559827291-72ee739d0d9a?w=900&q=80"},{name:"Hawaii",location:"Maui · 2026",tagline:"Heart · Remembrance · Sacred Return",dates:"August 23–28, 2026 · 5 Nights",desc:"A 5-night sacred immersive journey into the heart, held in Maui. A land of remembrance, healing, and the spirit of Aloha.",href:"/Hawaii",image:"https://images.unsplash.com/photo-1505852679233-d9fd70aff56d?w=900&q=80"},{name:"Bali",location:"Bali · 2027",tagline:"Transformation · Initiation · Depth",dates:"July 5–12, 2027 · 7 Nights",desc:"A 7-night immersive experience in the jungles of Bali designed to dissolve outdated identities and create deep internal recalibration.",href:"/Home",image:"https://images.unsplash.com/photo-1518241353330-0f7941c2d9b5?w=900&q=80"},{name:"Australia",location:"Byron Bay · 2027",tagline:"Activation · Power · Expansion",dates:"July 19–23, 2027 · 4 Nights",desc:"A 4-night ocean-based experience in Byron Bay focused on movement, expression, and stepping into embodied power.",href:"/ByronBay",image:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=900&q=80"}],CV=[{name:"The Remembrance Journey",location:"Maui, HawaiÊ»i",tagline:"Sacred Waters · Deep Immersion",dates:"5 Days · 6 Pilgrims",desc:"A 5-day intimate pilgrimage into remembrance, held by the sacred waters of Maui.",href:"/RemembranceJourney",image:"https://images.unsplash.com/photo-1505118380757-91f5f5632de0?w=900&q=80"},{name:"The Pilgrimage",location:"A Global Journey",tagline:"Community · Nature · Shared Remembrance",dates:"Ongoing",desc:"A multi-city journey of communal gatherings, nature immersion, and shared reflection across sacred landscapes.",href:"/Pilgrimage",image:"https://images.unsplash.com/photo-1448375240586-882707db888b?w=900&q=80"}];function oj({j:e,i:t}){return i.jsx(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t%2*.15},children:i.jsxs(Me,{to:e.href,className:"group block",children:[i.jsxs("div",{className:"relative h-64 md:h-72 overflow-hidden mb-6",children:[i.jsx("img",{src:e.image,alt:e.name,className:"w-full h-full object-cover transition-transform duration-[1.5s] group-hover:scale-105"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 to-transparent"})]}),i.jsx("p",{className:"text-amber-700/50 tracking-[0.2em] uppercase text-xs mb-1",children:e.location}),i.jsx("h3",{className:"text-2xl font-light text-stone-800 tracking-tight mb-1",children:e.name}),i.jsx("p",{className:"text-stone-400 text-xs tracking-wider mb-3",children:e.dates}),i.jsx("p",{className:"text-amber-700/50 text-xs tracking-[0.15em] uppercase mb-3",children:e.tagline}),i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed mb-4",children:e.desc}),i.jsx("span",{className:"text-stone-500 text-xs tracking-[0.2em] uppercase font-light group-hover:text-amber-700 transition-colors",children:"Explore →"})]})})}function PV(){return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsxs("section",{className:"relative min-h-[60vh] flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/23231df04_generated_image.png",alt:"",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/50"})]}),i.jsx("div",{className:"relative z-10 text-center px-6",children:i.jsxs(O.div,{initial:{opacity:0,y:30}
365,animate:{opacity:1,y:0},transition:{duration:1},children:[i.jsx("p",{className:"text-white/60 tracking-[0.3em] uppercase text-xs mb-6",children:"The Becoming"}),i.jsx("h1",{className:"text-4xl md:text-6xl font-light text-white tracking-tight",children:"Journeys"})]})})]}),i.jsxs("section",{className:"py-20 md:py-28 px-6",children:[i.jsx("div",{className:"max-w-3xl mx-auto text-center mb-20",children:i.jsx(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:i.jsx("p",{className:"text-stone-600 font-light text-lg md:text-xl leading-relaxed",children:"The world can become the temple. Each journey is an invitation to step beyond the familiar and deeper into yourself."})})}),i.jsxs("div",{className:"max-w-6xl mx-auto mb-24",children:[i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-3",children:"Retreat Journeys"}),i.jsx("div",{className:"w-10 h-[1px] bg-amber-700/20 mx-auto"})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-8 lg:gap-12",children:TV.map((e,t)=>i.jsx(oj,{j:e,i:t},e.href))})]}),i.jsxs("div",{className:"max-w-6xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-14",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-3",children:"Pilgrimages"}),i.jsx("div",{className:"w-10 h-[1px] bg-amber-700/20 mx-auto"})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-8 lg:gap-12",children:CV.map((e,t)=>i.jsx(oj,{j:e,i:t},e.href))})]})]}),i.jsx("section",{className:"py-28 md:py-40 px-6 bg-[#F5F2EE]",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"Beyond The Experience"}),i.jsx("h2",{className:"text-3xl md:text-5xl font-light text-stone-800 tracking-tight mb-6",children:"A Greater Vision"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-12"}),i.jsx("p",{className:"text-stone-700 text-lg md:text-xl font-light leading-relaxed mb-6",children:"The Becoming was never created to simply host retreats."}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed text-base md:text-lg mb-6 max-w-2xl mx-auto",children:"It was born from a much b
365igger vision — one centered around healing, reconnection, sustainability, and the evolution of human consciousness."}),i.jsxs("p",{className:"text-stone-500 font-light leading-relaxed text-base mb-10 max-w-2xl mx-auto",children:["A portion of the funds generated through these experiences goes toward the long-term mission of building ",i.jsx("span",{className:"text-amber-700/80",children:"eco-friendly, self-sustained sanctuaries and retreat spaces around the world"})," — spaces intentionally designed to bring people back into connection with nature, community, spirit, and a more harmonious way of living."]})]}),i.jsx("div",{className:"grid md:grid-cols-2 gap-px bg-stone-200 mb-20",children:[{image:"https://images.unsplash.com/photo-1501854140801-50d01698950b?w=600&q=80",title:"Regenerative Living",desc:"Self-sustained systems rooted in ecological responsibility — food, energy, water, and land working in harmony."},{image:"https://images.unsplash.com/photo-1448375240586-882707db888b?w=600&q=80",title:"Nature-Integrated Architecture",desc:"Spaces built with and for the Earth — structures that breathe with the land rather than stand against it."},{image:"https://images.unsplash.com/photo-1545389336-cf090694435e?w=600&q=80",title:"Healing & Education Centers",desc:"Permanent spaces dedicated to inner work, somatic healing, and the wisdom traditions that serve human awakening."},{image:"https://images.unsplash.com/photo-1425913397330-cf8af2ff40a1?w=600&q=80",title:"Indigenous Collaboration",desc:"Deep reverence and active partnership with the indigenous cultures and wisdom keepers of each land we inhabit."},{image:"https://images.unsplash.com/photo-1464226184884-fa280b87c399?w=600&q=80",title:"Food & Land Sustainability",desc:"Initiatives that restore the relationship between people and the land — growing, tending, and living with intention."},{image:"https://images.unsplash.com/photo-1510797215324-95aa89f43c33?w=600&q=80",title:"Community Gathering Spaces",desc:"Places where people remember how to gather with depth — circles, ceremonies, and shared presence at the center."}].map((e,t)=>i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.07},className:"bg-white overflow-hidden",children:[i.jsx("div",{className:"h-44 overflow-hidden",children:i.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover transition-all duration-700 hover:scale-105"})}),i.jsxs("div",{className:"px-8 py-7",children:[i.jsx("h3",{className:"text-stone-800 font-light text-base tracking-wide mb-3",children:e.title}),i.jsx("div",{className:"w-6 h-px bg-amber-600/30 mb-3"}),i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed",children:e.desc})]})]},t))}),i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center max-w-2xl mx-auto",children:[i.jsxs("p",{className:"text-stone-600 font-light text-base md:text-lg leading-relaxed mb-6",children:["These spaces are envisioned not as luxury escapes — but as ",i.jsx("em",{children:"living examples"})," of what becomes possible when humans choose to live in alignment with the Earth, with each other, and with themselves."]}),i.jsx("p",{className:"text-stone-500 font-light leading-relaxed mb-10",children:"The Becoming is not just a retreat series. It is the beginning of something much larger. Every person who joins these experiences becomes part of that vision. Together, we are planting seeds for a different future."}),i.jsx("div",{className:"border border-amber-700/15 bg-amber-50/60 px-8 py-8",children:i.jsx("p",{className:"text-stone-700 font-light text-lg md:text-xl italic leading-relaxed",children:'"The future we seek to create begins with the spaces we choose to build today."'})}),i.jsx("div",{className:"mt-10 flex flex-wrap items-center justify-center gap-4",children:i.jsx(Me,{to:"/TheVision",className:"px-10 py-4 bg-stone-900 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-300",children:"Learn More & Support"})})]})]})}),i.jsx(ed,{})]})}const EV="https://media.base44.com/videos/public/69a4f0dfd9744882d99b97c6/9f6fe23ea_Work_With_Me_Hero.mp4";function AV(){const e=()=>{var t;(t=document.getElementById("pathways"))==null||t.scrollIntoView({behavior:"smooth"})};return i.jsxs("section",{className:"relative min-h-[90vh] flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("video",{autoPlay:!0,muted:!0,loop:!0,playsInl
365ine:!0,className:"w-full h-full object-cover",children:i.jsx("source",{src:EV,type:"video/mp4"})}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/40 via-black/30 to-black/55"})]}),i.jsxs("div",{className:"relative z-10 text-center px-6 max-w-3xl mx-auto",children:[i.jsx(O.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1.2,delay:.3},className:"text-white/60 tracking-[0.4em] uppercase text-xs font-light mb-8",children:"Work With Me"}),i.jsx(O.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1.4,delay:.5},className:"text-4xl md:text-6xl lg:text-7xl font-light text-white tracking-tight leading-[1.1] mb-10",children:"Sometimes the journey asks for a more personal space."}),i.jsxs(O.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1.2,delay:.9},className:"space-y-5 text-white/70 font-light text-base md:text-lg leading-relaxed max-w-2xl mx-auto mb-12",children:[i.jsx("p",{children:"There are moments when what we are navigating asks for more than reflection on our own."}),i.jsx("p",{children:"A space to speak. To be witnessed. To receive guidance. To explore what is moving beneath the surface."}),i.jsx("p",{children:"My 1:1 work is an invitation into that space — meeting you where you are and exploring together what is asking to be seen, understood, released, or remembered."}),i.jsx("p",{children:"There is no single way to begin."}),i.jsx("p",{children:"Explore the pathways below and notice what resonates with where you are now."})]}),i.jsx(O.button,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1,delay:1.3},onClick:e,className:"px-10 py-4 bg-white/10 backdrop-blur-sm border border-white/30 text-white text-sm tracking-[0.2em] uppercase font-light hover:bg-white/20 transition-all duration-500",children:"Explore the Ways to Work Together ↓"})]})]})}function RV({pathway:e,index:t}){return i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:t*.12},className:"flex flex-col bg-white/50 border border-stone-200/70 p-10 md:p-12",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.25em] uppercase text-xs mb-4",children:e.heading}),i.jsx("h3",{className:"text-2xl md:text-3xl font-light text-stone-800 tracking-tight mb-2 leading-snug",children:e.title}),i.jsx("p",{className:"text-amber-700/60 text-sm italic font-light mb-6",children:e.subt
365itle}),i.jsx("div",{className:"w-8 h-[1px] bg-amber-700/20 mb-6"}),i.jsx("div",{className:"space-y-4 text-stone-600 font-light text-sm md:text-base leading-relaxed mb-8",children:e.description.map((n,s)=>i.jsx("p",{children:n},s))}),i.jsxs("div",{className:"mt-auto",children:[i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed mb-4",children:e.supportingIntro}),i.jsx("ul",{className:"space-y-2.5 mb-10",children:e.points.map((n,s)=>i.jsxs("li",{className:"flex items-start gap-3 text-stone-600 font-light text-sm leading-relaxed",children:[i.jsx("span",{className:"text-amber-700/40 mt-2 shrink-0",children:"·"}),i.jsx("span",{children:n})]},s))}),i.jsxs("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center w-full px-8 py-4 bg-stone-900 text-amber-100 text-xs tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-500",children:[e.cta," →"]})]})]})}const LV=[{heading:"Ongoing 1:1 Guidance",title:"Discovery Call",subtitle:"Explore working together more deeply.",description:["This conversation is an opportunity for us to meet, explore what you are currently navigating, and understand what kind of support may serve you best.","If you are feeling called toward ongoing 1:1 guidance or a deeper container of work, this is the place to begin.","We will use this conversation to explore where you are, what is asking for attention, and whether working together feels aligned for both of us."],supportingIntro:"Begin here if you are seeking:",points:["Ongoing personal guidance","Greater clarity around a transition or chapter of life","Support navigating patterns, decisions, or inner change","A deeper relationship with yourself and your inner guidance","Longer-term 1:1 work"],cta:"Schedule a Discovery Call",url:"https://scheduler.zoom.us/alejandro-salomone/discovery-call"},{heading:"Energy Healing",title:"Energy Healing Session",subtitle:"A dedicated space for clearing, realignment, and restoration.",description:["Energy healing works with the subtler layers of our experience — creating space for clearing, realignment, restoration, and greater awareness of what may be moving energetically.","This session offers an opportunity to share what you are experiencing and receive the form of energetic support that is most appropriate for you."],supportingIntro:"Begin here if you are interested in:",points:["Energy clearing and realignment","Chakra and energetic balancing","Releasing energetic heaviness or stagnation","Supporting greater clarity and groundedness","Exploring which healing modality may best support you"],cta:"Schedule an Energy Healing Session",url:"https://scheduler.zoom.us/alejandro-salomone/energy-healing-discovery-call"},{heading:"90-Minute 1:1 Experience",title:"Soul Clarity & Energetic Healing Session",subtitle:"A focused space for clarity, healing, and reconnection.",description:["This 90-minute private session brings together personal guidance, intuitive exploration, and energetic healing within one focused experience.","Rather than beginning with a discovery call, this is an opportunity to enter directly into the work.","We begin with what is present for you — whether that is a question, transition, pattern, emotional experience, feeling of disconnection, or something more difficult to name.","From there, the session unfolds intuitively, creating space for clarity, energetic work, reflection, and integration according to what is most relevant in the moment."],supportingIntro:"This experience may be supportive when you are seeking:",points:["Clarity around something you are navigating","A deeper understanding of what is occurring within you","Energetic clearing and realignment","Connection with your intuition and inner guidance","Space to pause, reflect, and reconnect with yourself"],cta:"Book a 1:1 Session",url:"https://scheduler.zoom.us/alejandro-salomone/soul-clarity-energetic-healing-session"}];function IV(){return i.jsx("section",{id:"pathways",className:"py-28 md:py-40 px-6 bg-[#FAF8F5]",children:i.jsxs("div",{className:"max-w-7xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-20 max-w-2xl mx-auto",children:[i.jsx("h2",{className:"text-3xl md:text-5xl font-light text-stone-800 tracking-tight mb-8",children:"Choose the space that meets you where you are."}),i.jsxs("div",{className:"space-y-5 text-stone-500 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"Each experience serves a different intention."}),i.jsx("p",{children:"If you are unsure which direction is right for you, begin with the pathway that most closely reflects what you are currently seeking."})]})]}),i.jsx("div",{className:"grid lg:grid-cols-3 gap-8 lg:gap-10 items-stretch",children:LV.map((e,t)=>i.jsx(RV,{pathway:e,index:t},t))})]})})}const MV=[{label:"Explore 1:1 Guidance →",url:"https://scheduler.zoom.us/alejandro-salomone/discovery-call"},{label:"Explore Energy Healing →",url:"https://scheduler.zoom.us/alejandro-salomone/energy-healing-discovery-call"},{label:"Book a Soul Clarity Session →",url:"https://scheduler.zoom.us/alejandro-salomone/soul-clarity-energetic-healing-session"}];function OV(){return i.jsx("section",{className:"py-28 md:py-36 px-6 bg-[#F5F2EE]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-light text-stone-800 tracking-tight mb-10",children:"Not sure where to begin?"}),i.jsxs("div",{className:"space-y-5 text-stone-600 font-light text-base md:text-lg leading-relaxed mb-14",children:[i.jsx("p",{children:"You do not need to have everything figured out before reaching out."}),i.jsx("p",{children:"If you feel called to explore ongoing work together but are unsure what that might look like, begin with a Discovery Call."}),i.jsx("p",{children:"If what you are experiencing feels specifically connected to energetic healing or clearing, begin with the Energy Healing."}),i.jsx("p",{children:"If you already feel ready for a focused private experience combining guidance and energetic healing, you can book the Soul Clarity & Energetic Healing Session directly."})]}),i.jsx("div",{className:"flex flex-col md:flex-row items-center justify-center gap-6 md:gap-10",children:MV.map((e,t)=>i.jsx("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"text-amber-700/70 text-sm tracking-[0.15em] uppercase font-light hover:text-amber-700 transition-colors duration-300",children:e.label},t))})]})})})}function DV(){return i.jsx("section",{className:"py-32 md:py-48 px-6 bg-[#FAF8F5]",children:i.jsx("div",{className:"max-w-3xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:1},children:[i.jsx("h2",{className:"text-3xl md:text-5xl font-light text-stone-800 tracking-tight leading-[1.2] mb-16",children:"The space begins with you."}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-700/20 mx-auto mb-16"}),i.jsxs("div",{className:"space-y-6 text-stone-600 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"My work is not rooted in telling you who to become or giving you a predetermined path to follow."}),i.jsx("p",{children:"It begins by listening."}),i.jsx("p",{children:"Listening to what you are experiencing."}),i.jsx("p",{children:"Listening to what may be beneath the surface."}),i.jsx("p",{children:"Listening to what your body, heart, intuition, and life may already be revealing."}),i.jsx("p",{children:"Different sessions may include conversation, reflection, intuitive guidance, meditation, breath, grounding practices, or energetic healing depending on the nature of our work together."}),i.jsx("p",{children:"The intention is not to create dependency on guid
365ance outside of yourself."}),i.jsx("p",{children:"It is to create a space where you can hear yourself more clearly."})]})]})})})}const FV="https://images.unsplash.com/photo-1418065460487-3e41a6c84dc5?w=1920&q=80";function BV(){const e=()=>{var t;(t=document.getElementById("pathways"))==null||t.scrollIntoView({behavior:"smooth"})};return i.jsxs("section",{className:"relative min-h-[80vh] flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:FV,alt:"",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/50"})]}),i.jsx("div",{className:"relative z-10 text-center px-6 max-w-2xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:1},children:[i.jsx("h2",{className:"text-3xl md:text-5xl font-light text-white tracking-tight mb-10",children:"Begin where you are."}),i.jsxs("div",{className:"space-y-5 text-white/60 font-light text-base md:text-lg leading-relaxed mb-12",children:[i.jsx("p",{children:"You don't need to know exactly where the path leads."}),i.jsx("p",{children:"Sometimes it begins with a conversation."}),i.jsx("p",{children:"Sometimes with healing."}),i.jsx("p",{children:"Sometimes simply with creating enough space to listen."})]}),i.jsx("button",{onClick:e,className:"px-10 py-4 bg-white/10 backdrop-blur-sm border border-white/30 text-white text-sm tracking-[0.2em] uppercase font-light hover:bg-white/20 transition-all duration-500",children:"Explore Your Path"})]})})]})}function VV(){return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsx(AV,{}),i.jsx(IV,{}),i.jsx(OV,{}),i.jsx(DV,{}),i.jsx(BV,{}),i.jsx(ed,{})]})}function zV(){const[e,t]=N.useState([]),[n,s]=N.useState(!0);return N.useEffect(()=>{(async()=>{try{const l=await Ke.entities.LibraryProduct.filter({active:!0});t(l)}catch(l){console.error("Failed to load library:",l)}finally{s(!1)}})()},[]),i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsx("section",{className:"relative min-h-[65vh] flex items-center justify-center px-6 pt-24",children:i.jsx("div",{className:"max-w-2xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1},children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.35em] uppercase text-xs mb-6",children:"The Library"}),i.jsx("h1",{className:"text-4xl md:text-6xl font-light text-stone-800 tracking-tight leading-[1.1] mb-10",children:"A space to return to."}),i.jsxs("div",{className:"space-y-5 text-stone-500 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"The Library is a growing collection of guided journeys, meditations, transmissions, practices, and reflections created to support the relationship between you and your inner world."}),i.jsx("p",{children:"There is nothing here to complete. Nothing to keep up with. Enter what calls you. Return when you need it. Allow each experience to meet you differently as you change."})]}),i.jsx("p",{className:"text-amber-700/40 text-sm tracking-[0.2em] uppercase mt-12 font-light",children:"Practices for the journey within."})]})})}),i.jsx("section",{className:"py-20 md:py-28 px-6",children:i.jsx("div",{className:"max-w-5xl mx-auto",children:n?i.jsx("div",{className:"flex justify-center py-20",children:i.jsx(Wn,{className:"w-6 h-6 animate-spin text-stone-400"})}):e.length===0?i.jsx("p",{className:"text-center text-stone-400 font-light",children:"The Library is being prepared. Please check back soon."}):i.jsx("div",{className:"space-y-8",children:e.map((l,c)=>i.jsx(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:c*.1},className:"bg-white border border-stone-200 overflow-hidden",children:i.jsxs("div",{className:"grid md:grid-cols-2",children:[i.jsx("div",{className:"h-64 md:h-auto overflow-hidden",children:i.jsx("img",{src:l.cover_image,alt:l.title,className:"w-full h-full object-cover"})}),i.jsxs("div",{className:"p-10 md:p-12 flex flex-col justify-center",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.2em] uppercase text-xs mb-4",children:"Featured Experience"}),i.jsx("h2",{className:"text-2xl md:text-3xl font-light text-stone-800 tracking-tight mb-2",children:l.title}),i.jsx("p",{className:"text-stone-500 font-light text-sm italic mb-6",children:l.subt
365itle}),i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed mb-6",children:l.description}),i.jsx("div",{className:"space-y-2 mb-8",children:["7 Guided Experiences","Reflection & Integration Journal","Self-Paced","Lifetime Access","Available Anywhere"].map(d=>i.jsxs("div",{className:"flex items-center gap-3 text-stone-500 font-light text-sm",children:[i.jsx("span",{className:"w-1 h-1 rounded-full bg-amber-600/40"}),d]},d))}),i.jsxs("div",{className:"flex items-center gap-6",children:[i.jsxs("p",{className:"text-stone-800 font-light text-2xl",children:["$",l.price]}),i.jsxs(Me,{to:`/Library/${l.slug}`,className:"px-8 py-3 border border-stone-800 text-stone-800 text-xs tracking-[0.2em] uppercase font-light hover:bg-stone-800 hover:text-white transition-all duration-300",children:["Explore ",l.title]})]})]})]})},l.id))})})}),i.jsx(ed,{})]})}function UV(){const{productSlug:e}=A0(),{isAuthenticated:t}=wo(),[n,s]=N.useState(null),[l,c]=N.useState([]),[d,m]=N.useState(!1),[f,x]=N.useState(!0),[y,v]=N.useState(!1),[_,S]=N.useState(null),E=typeof window<"u"&&new URLSearchParams(window.location.search).get("cancelled")==="true";N.useEffect(()=>{(async()=>{try{const T=await Ke.entities.LibraryProduct.filter({slug:e,active:!0});if(T.length===0){x(!1);return}s(T[0]);const A=await Ke.entities.LibraryChapter.filter({product_slug:e,active:!0});A.sort((I,D)=>I.chapter_number-D.chapter_number),c(A)}catch(T){console.error(T)}finally{x(!1)}})()},[e]),N.useEffect(()=>{t&&(async()=>{var T,A;try{(A=(T=(await Ke.functions.invoke("getLibraryAccess",{})).data)==null?void 0:T.ownedSlugs)!=null&&A.includes(e)&&m(!0)}catch{}})()},[t,e]);const k=async()=>{var T;if(!t){Ke.auth.redirectToLogin(window.location.pathname+"?begin=1");return}v(!0),S(null);try{const A=await Ke.functions.invoke("createLibraryCheckout",{productSlug:e});(T=A.data)!=null&&T.redirectUrl?window.location.href=A.data.redirectUrl:S("Unable to start checkout.")}catch{S("Unable to start checkout. Please try again.")}finally{v(!1)}};if(N.useEffect(()=>{new URLSearchParams(window.location.search).get("begin")==="1"&&t&&n&&!d&&!y&&k()},[t,n,d]),f)return i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-[#FAF8F5]",children:i.jsx(Wn,{className:"w-6 h-6 animate-spin text-stone-400"})});if(!n)return i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-[#FAF8F5]",children:i.jsxs("div",{className:"text-center",children:[i.jsx("p",{className:"text-stone-400 font-light mb-4",children:"This experience could not be found."}),i.jsx(Me,{to:"/Library",className:"text-amber-700/60 text-sm tracking-wider uppercase font-light hover:text-amber-700",children:"Return to The Library"})]})});const P=[{title:"7 Guided Audio Experiences",desc:"Each chapter includes an original guided audio experience with Alejandro."},{title:"Reflection & Integration Journal",desc:"A companion journal with prompts and space for personal reflection."},{title:"Lifetime Access",desc:"Return to the journey whenever you feel called."},{title:"Move at Your Own Pace",desc:"No schedule. No deadlines. No required progression."},{title:"Available Anywhere",desc:"The experience is designed to travel with you."}];return i.jsxs("div",{className:"min-h-screen bg-[#FAF8F5]",children:[i.jsxs("section",{className:"relative min-h-[80vh] flex items-center justify-center px-6 pt-24 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:n.cover_image,alt:"",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/50 via-black/40 to-black/60"})]}),i.jsx("div",{className:"relative z-10 text-center max-w-2xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1},children:[i.jsx("p",{className:"text-amber-300/80 tracking-[0.35em] uppercase text-xs mb-6",children:"From The Library"}),i.jsx("h1",{className:"text-5xl md:text-7xl font-light text-white tracking-tight leading-[0.95] mb-4",children:n.title}),i.jsx("p",{className:"text-white/50 font-light text-lg italic mb-10",children:n.subtitle}),i.jsxs("div",{className:"space-y-5 text-white/60 font-light text-base md:text-lg leading-relaxed mb-12",children:[i.jsx("p",{children:"There are moments when the world becomes loud enough that we can no longer hear what is quietly moving within us."}),i.jsx("p",{children:"Thoughts accumulate. Responsibilities pull our attention outward. Questions become louder than answers."}),i.jsx("p",{className:"text-white/70",children:"Return to Self is an invitation to create space again. Not to find a new version of yourself. Not to become something more. But to become quiet enough to notice what is already here."})]}),E&&i.jsx("p",{className:"text-white/40 font-light text-sm italic mb-6",children:"Your journey is still here whenever you're ready."}),_&&i.jsx("p",{className:"text-red-400/70 text-sm mb-4",children:_}),d?i.jsxs(Me,{to:`/MyLibrary/${e}`,className:"inline-block px-10 py-4 border border-amber-400/40 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:["Enter ",n.title]}):i.jsx("p",{className:"text-amber-200/70 text-sm tracking-[0.2em] uppercase font-light",children:"Coming Soon"}),i.jsx("p",{className:"text-white/30 text-xs tracking-wider mt-6 font-light",children:"7 Guided Experiences · Reflection Journal · Lifetime Access"})]})})]}),i.jsx("section",{className:"py-28 md:py-36 px-6",children:i.jsx("div",{className:"max-w-2xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("h2",{className:"text-2xl md:text-4xl font-light text-stone-800 tracking-tight mb-10",children:"This is not something to complete."}),i.jsxs("div",{className:"space-y-6 text-stone-500 font-light text-base md:text-lg leading-relaxed",children:[i.jsx("p",{children:"Return to Self is a collection of seven guided experiences designed to be entered slowly and revisited over time."}),i.jsx("p",{children:"You may move through the journey from beginning to end. You may spend several days with one experience. You may return months later to a chapter that suddenly speaks differently."}),i.jsx("p",{children:"There is no correct pace. There is no progress to measure."}),i.jsx("p",{className:"text-stone-600 italic",children:"The invitation is simply to listen."})]})]})})}),i.jsx("section",{className:"py-20 px-6 bg-white",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"The Seven Chapters"}),i.jsx("h2",{className:"text-2xl md:text-4xl font-light text-stone-800 tracking-tight",children:"Seven Spaces"})]}),i.jsx("div",{className:"space-y-px bg-stone-100",children:l.map((T,A)=>i.jsxs(O.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:A*.05},className:"bg-white px-6 md:px-10 py-8 flex items-start gap-6 md:gap-10",children:[i.jsx("span",{className:"text-amber-700/30 font-light text-2xl md:text-3xl tabular-nums shrink-0 w-12",children:String(T.chapter_number).padStart(2,"0")}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-stone-800 font-light text-lg md:text-xl tracking-wide mb-2",children:T.title}),i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed",children:T.short_description})]})]},T.id))})]})}),i.jsx("section",{className:"py-28 md:py-36 px-6",children:i.jsxs("div",{className:"max-w-3xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-700/50 tracking-[0.3em] uppercase text-xs mb-4",children:"What You Receive"}),i.jsx("h2",{className:"text-2xl md:text-4xl font-light text-stone-800 tracking-tight",children:"A complete experience"})]}),i.jsx("div",{className:"space-y-10",children:P.map((T,A)=>i.jsxs(O.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:A*.08},className:"flex items-start gap-6",children:[i.jsx("span",{className:"mt-1.5 w-2 h-2 rounded-full bg-amber-600/30 shrink-0"}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-stone-800 font-light text-base md:text-lg mb-1",children:T.title}),i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed",children:T.desc})]})]},A))})]})}),i.jsx("section",{className:"py-20 px-6 bg-stone-900 text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-xl mx-auto",children:[i.jsx("p",{className:"text-amber-400/50 tracking-[0.3em] uppercase text-xs mb-6",children:"One-Time Purchase"}),i.jsxs("p",{className:"text-white font-light text-5xl md:text-6xl mb-4",children:["$55 ",i.jsx("span",{className:"text-white/30 text-2xl",children:"USD"})]}),i.jsx("p",{className:"text-white/40 font-light text-sm mb-10",children:"No subscription. No recurring billing. No hidden recurring charge."}),d?i.jsxs(Me,{to:`/MyLibrary/${e}`,className:"inline-block px-10 py-4 border border-amber-400/30 text-amber-200 text-sm tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-500",children:["Enter ",n.title]}):i.jsx("p",{className:"text-amber-200/70 text-sm tracking-[0.2em] uppercase font-light",children:"Coming Soon"})]})}),i.jsx("section",{className:"py-28 md:py-40 px-6",children:i.jsx("div",{className:"max-w-2xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[i.jsx("h2",{className:"text-2xl md:text-4xl font-light text-stone-800 tracking-tight mb-8 leading-tight",children:"Perhaps returning does not require going anywhere."}),i.jsx("p",{className:"text-stone-500 font-light text-base md:text-lg leading-relaxed mb-12",children:"Sometimes it begins with becoming still enough to hear what has been there all along."}),d?i.jsxs(Me,{to:`/MyLibrary/${e}`,className:"inline-block px-10 py-4 border border-stone-800 text-stone-800 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 hover:text-white transition-all duration-500",children:["Enter ",n.title]}):i.jsx("p",{className:"text-stone-500 text-sm tracking-[0.2em] uppercase font-light",children:"Coming Soon"})]})})}),i.jsx(ed,{})]})}function $V(){const{isAuthenticated:e,navigateToLogin:t}=wo(),n=typeof window<"u"?new URLSearchParams(window.location.search).get("product"):null,[s,l]=N.useState(!1),[c,d]=N.useState(!1),m=N.useRef(0);return N.useEffect(()=>{if(!e||!n)return;const f=setInterval(async()=>{var x,y;m.current++;try{if((y=(x=(await Ke.functions.invoke("getLibraryAccess",{})).data)==null?void 0:x.ownedSlugs)!=null&&y.includes(n)){l(!0),clearInterval(f);return}}catch{}m.current>=15&&(clearInterval(f),d(!0))},2e3);return()=>clearInterval(f)},[e,n]),e?i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-[#FAF8F5] px-6",children:i.jsx("div",{className:"max-w-xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:20}
365,animate:{opacity:1,y:0},transition:{duration:1},children:[i.jsx("p",{className:"text-amber-700/40 tracking-[0.3em] uppercase text-xs mb-8",children:"Welcome"}),i.jsx("h1",{className:"text-3xl md:text-5xl font-light text-stone-800 tracking-tight mb-8",children:"Your journey is ready."}),i.jsxs("div",{className:"space-y-5 text-stone-500 font-light text-base md:text-lg leading-relaxed mb-12",children:[i.jsx("p",{children:"Welcome to Return to Self."}),i.jsx("p",{children:"There is nothing you need to prepare and nowhere you need to rush."}),i.jsx("p",{children:"When you feel ready, enter the journey."})]}),!s&&!c&&i.jsxs("div",{className:"flex items-center justify-center gap-3 text-stone-400 font-light text-sm mb-8",children:[i.jsx(Wn,{className:"w-4 h-4 animate-spin"}),i.jsx("span",{children:"Confirming your access…"})]}),c&&!s&&i.jsx("p",{className:"text-stone-400 font-light text-sm italic mb-8",children:"Your access is being confirmed. This may take a moment — please check your Library shortly."}),s&&n&&i.jsxs("div",{className:"space-y-4",children:[i.jsx(Me,{to:`/MyLibrary/${n}`,className:"inline-block px-10 py-4 border border-stone-800 text-stone-800 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 hover:text-white transition-all duration-300",children:"Enter Return to Self"}),i.jsx("div",{children:i.jsx(Me,{to:"/MyLibrary",className:"text-stone-400 hover:text-stone-600 text-sm font-light tracking-wider transition-colors",children:"Go to My Library"})})]}),!s&&c&&i.jsx(Me,{to:"/MyLibrary",className:"inline-block px-10 py-4 border border-stone-300 text-stone-600 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-100 transition-all duration-300",children:"Go to My Library"})]})})}):i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-[#FAF8F5] px-6",children:i.jsxs("div",{className:"text-center max-w-md",children:[i.jsx("p",{className:"text-stone-500 font-light text-lg leading-relaxed mb-8",children:"Please log in to access your journey."}),i.jsx("button",{onClick:t,className:"px-10 py-4 border border-stone-800 text-stone-800 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 hover:text-white transition-all duration-300",children:"Log In"})]})})}function WV(){const{isAuthenticated:e,navigateToLogin:t,user:n}=wo(),[s,l]=N.useState([]),[c,d]=N.useState(!0);return N.useEffect(()=>{if(!e){d(!1);return}(async()=>{var m;try{const x=((m=(await Ke.functions.invoke("getLibraryAccess",{})).data)==null?void 0:m.ownedSlugs)||[];if(x.length===0){l([]),d(!1);return}const v=(await Ke.entities.LibraryProduct.filter({active:!0})).filter(_=>x.includes(_.slug));l(v)}catch(f){console.error(f)}finally{d(!1)}})()},[e]),e?i.jsx("div",{className:"min-h-screen bg-[#FAF8F5] pt-24",children:i.jsx("section",{className:"py-16 md:py-24 px-6",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center mb-16",children:[i.jsx("p",{className:"text-amber-700/40 tracking-[0.3em] uppercase text-xs mb-6",children:"My Library"}),i.jsxs("h1",{className:"text-3xl md:text-5xl font-light text-stone-800 tracking-tight mb-6",children:["Welcome back",n!=null&&n.full_name?`, ${n.full_name.split(" ")[0]}`:"","."]}),i.jsx("p",{className:"text-stone-500 font-light text-base md:text-lg",children:"Return to what is calling you."})]}),c?i.jsx("div",{className:"flex justify-center py-20",children:i.jsx(Wn,{className:"w-6 h-6 animate-spin text-stone-400"})}):s.length===0?i.jsxs("div",{className:"text-center py-20",children:[i.jsx("p",{className:"text-stone-400 font-light text-sm mb-6",children:"You don't have any experiences in your Library yet."}),i.jsx(Me,{to:"/Library",className:"text-amber-700/60 text-sm tracking-wider uppercase font-light hover:text-amber-700",children:"Explore The Library"})]}):i.jsx("div",{className:"space-y-6",children:s.map((m,f)=>i.jsx(O.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:f*.1},className:"bg-white border border-stone-200 overflow-hidden",children:i.jsxs("div",{className:"grid md:grid-cols-3",children:[i.jsx("div",{className:"h-48 md:h-auto overflow-hidden",children:i.jsx("img",{src:m.cover_image,alt:m.title,className:"w-full h-full object-cover"})}),i.jsxs("div",{className:"md:col-span-2 p-8 md:p-10 flex flex-col justify-center",children:[i.jsx("h2",{className:"text-xl md:text-2xl font-light text-stone-800 tracking-tight mb-2",children:m.title}),i.jsx("p",{className:"text-stone-500 font-light text-sm italic mb-6",children:m.subtitle}),i.jsx(Me,{to:`/MyLibrary/${m.slug}`,className:"inline-block self-start px-8 py-3 border border-stone-800 text-stone-800 text-xs tracking-[0.2em] uppercase font-light hover:bg-stone-800 hover:text-white transition-all duration-300",children:"Enter the Journey"})]})]})},m.id))})]})})}):i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-[#FAF8F5] px-6",children:i.jsxs("div",{className:"text-center max-w-md",children:[i.jsx("p",{className:"text-stone-500 font-light text-lg leading-relaxed mb-8",children:"Please log in to access your Library."}),i.jsx("button",{onClick:t,className:"px-10 py-4 border border-stone-800 text-stone-800 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 hover:text-white transition-all duration-300",children:"Log In"})]})})}function HV(){const{productSlug:e}
365=A0(),{isAuthenticated:t,navigateToLogin:n}=wo(),[s,l]=N.useState(null),[c,d]=N.useState([]),[m,f]=N.useState([]),[x,y]=N.useState(!1),[v,_]=N.useState(!0);return N.useEffect(()=>{if(!t){_(!1);return}(async()=>{var S;try{const[E,k,P,T]=await Promise.all([Ke.entities.LibraryProduct.filter({slug:e,active:!0}),Ke.entities.LibraryChapter.filter({product_slug:e,active:!0}),Ke.entities.LibraryResource.filter({product_slug:e,active:!0}),Ke.functions.invoke("getLibraryAccess",{})]);l(E[0]||null),k.sort((A,I)=>A.chapter_number-I.chapter_number),d(k),f(P),y((((S=T.data)==null?void 0:S.ownedSlugs)||[]).includes(e))}catch(E){console.error(E)}finally{_(!1)}})()},[t,e]),t?v?i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-stone-950",children:i.jsx(Wn,{className:"w-6 h-6 animate-spin text-stone-600"})}):x?s?i.jsxs("div",{className:"min-h-screen bg-stone-950 text-stone-200",children:[i.jsxs("section",{className:"relative min-h-[60vh] flex items-center justify-center px-6 pt-24 overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:s.cover_image,alt:"",className:"w-full h-full object-cover opacity-30"}),i.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-stone-950/80 via-stone-950/70 to-stone-950"})]}),i.jsx("div",{className:"relative z-10 text-center max-w-2xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1},children:[i.jsx("p",{className:"text-amber-500/40 tracking-[0.35em] uppercase text-xs mb-6",children:s.title}),i.jsx("h1",{className:"text-4xl md:text-6xl font-light text-stone-100 tracking-tight leading-[1.05] mb-6",children:s.title}),i.jsx("p",{className:"text-stone-400 font-light text-lg italic mb-10",children:s.subtitle}),i.jsxs("div",{className:"space-y-5 text-stone-400 font-light text-base leading-relaxed",children:[i.jsx("p",{children:"There is nowhere you need to arrive."}),i.jsx("p",{children:"This journey is simply an invitation to come closer to what is already here."}),i.jsx("p",{className:"text-stone-300",children:"Move slowly. Return often. Allow the experience to meet you differently each time."})]})]})})]}),i.jsx("section",{className:"py-20 md:py-28 px-6",children:i.jsxs("div",{className:"max-w-2xl mx-auto",children:[i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"mb-12 text-center",children:[i.jsx("p",{className:"text-amber-500/30 tracking-[0.3em] uppercase text-xs mb-4",children:"The Journey"}),i.jsx("h2",{className:"text-2xl md:text-3xl font-light text-stone-200 tracking-tight",children:"Seven Experiences"})]}),i.jsx("div",{className:"space-y-px",children:c.map((S,E)=>i.jsx(O.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:E*.06},children:i.jsx(Me,{to:`/MyLibrary/${e}/${S.chapter_number}`,className:"group block border-t border-white/5 px-2 py-7 hover:bg-white/[0.02] transition-colors duration-300",children:i.jsxs("div",{className:"flex items-center gap-6 md:gap-8",children:[i.jsx("span",{className:"text-amber-500/20 font-light text-xl md:text-2xl tabular-nums shrink-0 w-10",children:String(S.chapter_number).padStart(2,"0")}),i.jsxs("div",{className:"flex-1",children:[i.jsx("h3",{className:"text-stone-200 font-light text-base md:text-lg tracking-wide group-hover:text-amber-200/80 transition-colors duration-300",children:S.title}),i.jsx("p",{className:"text-stone-500 font-light text-sm mt-1",children:S.short_description})]}),i.jsx("span",{className:"text-stone-600 text-xs tracking-wider uppercase font-light group-hover:text-amber-500/40 transition-colors duration-300 shrink-0 hidden md:block",children:"Enter"})]})})},S.id))})]})}),m.length>0&&i.jsx("section",{className:"py-20 px-6 border-t border-white/5",children:i.jsx("div",{className:"max-w-2xl mx-auto text-center",children:i.jsxs(O.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},children:[i.jsx(g4,{className:"w-6 h-6 text-amber-500/30 mx-auto mb-6"}),i.jsx("h2",{className:"text-xl md:text-2xl font-light text-stone-200 tracking-tight mb-4",children:m[0].title}),i.jsx("p",{className:"text-stone-500 font-light text-sm leading-relaxed mb-8 max-w-md mx-auto",children:m[0].description}),i.jsx(qV,{resource:m[0],productSlug:e})]})})}),i.jsxs("footer",{className:"py-12 px-6 text-center border-t border-white/5",children:[i.jsx(Me,{to:"/MyLibrary",className:"text-stone-600 hover:text-stone-400 text-xs tracking-[0.2em] uppercase font-light transition-colors",children:"My Library"}),i.jsx("p",{className:"text-stone-700 text-xs mt-6",children:"© 2026 The Becoming"})]})]}):i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-stone-950 px-6",children:i.jsx("p",{className:"text-stone-500 font-light",children:"This experience could not be found."})}):i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-stone-950 px-6",children:i.jsxs("div",{className:"text-center max-w-md",children:[i.jsx("p",{className:"text-stone-400 font-light text-lg leading-relaxed mb-8",children:"You don't have access to this experience yet."}),i.jsxs(Me,{to:`/Library/${e}`,className:"inline-block px-10 py-4 border border-stone-600 text-stone-300 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-300",children:["Explore ",(s==null?void 0:s.title)||"This Journey"]})]})}):i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-stone-950 px-6",children:i.jsxs("div",{className:"text-center max-w-md",children:[i.jsx("p",{className:"text-stone-400 font-light text-lg leading-relaxed mb-8",children:"Please log in to access your journey."}),i.jsx("button",{onClick:n,className:"px-10 py-4 border border-stone-600 text-stone-300 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-300",children:"Log In"})]})})}function qV({resource:e,productSlug:t}){const[n,s]=N.useState(!1),[l,c]=N.useState(null),d=async()=>{var m;if(!e.file_uri||e.file_uri.startsWith("PLACEHOLDER")){c("The journal will be available here once the final version is ready.");return}s(!0);try{const f=await Ke.functions.invoke("getPrivateFileUrl",{fileUri:e.file_uri,productSlug:t});(m=f.data)!=null&&m.signedUrl?window.open(f.data.signedUrl,"_blank"):c("Unable to open journal.")}catch{c("Unable to open journal.")}finally{s(!1)}};return i.jsxs("div",{children:[i.jsx("button",{onClick:d,disabled:n,className:"inline-block px-8 py-3 border border-stone-600 text-stone-300 text-xs tracking-[0.2em] uppercase font-light hover:bg-stone-800 hover:border-stone-500 transition-all duration-300 disabled:opacity-50",children:n?"Opening…":"Open Journal"}),l&&i.jsx("p",{className:"text-stone-500 font-light text-sm italic mt-4",children:l})]})}function lj(e){if(!e||isNaN(e))return"0:00";const t=Math.floor(e/60),n=Math.floor(e%60);return`${t}:${n.toString().padStart(2,"0")}`}function ZV({fileUri:e,productSlug:t,chapterNumber:n}){const[s,l]=N.useState(null),[c,d]=N.useState(!1),[m,f]=N.useState(!0),[x,y]=N.useState(null),[v,_]=N.useState(!1),[S,E]=N.useState(0),[k,P]=N.useState(0),[T,A]=N.useState(1),I=N.useRef(null);N.useEffect(()=>{if(!e||e.startsWith("PLACEHOLDER")){d(!0),f(!1);return}let K=!1;return(async()=>{var W;try{const se=await Ke.functions.invoke("getPrivateFileUrl",{fileUri:e,productSlug:t});if(K)return;(W=se.data)!=null&&W.signedUrl?l(se.data.signedUrl):y("Audio unavailable.")}catch{y("Unable to load audio.")}finally{K||f(!1)}})(),()=>{K=!0}},[e,t]);const D=()=>{const K=I.current;K&&(v?K.pause():K.play())},B=K=>{const W=I.current;if(!W||!k)return;const se=parseFloat(K.target.value)/100*k;W.currentTime=se,E(se)},G=K=>{A(K),I.current&&(I.current.playbackRate=K)};return c?i.jsxs("div",{className:"border border-white/10 bg-white/[0.02] px-6 py-10 text-center",children:[i.jsx("p",{className:"text-stone-500 text-xs tracking-[0.2em] uppercase mb-3",children:"Audio Placeholder"}),i.jsxs("p",{className:"text-stone-400 font-light text-sm leading-relaxed max-w-md mx-auto",children:["The guided audio for Chapter ",String(n).padStart(2,"0")," will be available here once the recordings are finalized."]}),i.jsx("div",{className:"mt-6 flex items-center justify-center",children:i.jsx("div",{className:"w-12 h-12 rounded-full border border-white/10 flex items-center justify-center text-stone-600",children:i.jsx(nw,{className:"w-4 h-4"})})})]}):m?i.jsx("div",{className:"flex items-center justify-center py-10 text-stone-500",children:i.jsx(Wn,{className:"w-5 h-5 animate-spin"})}):x||!s?i.jsx("div",{className:"text-center py-10 text-stone-500 font-light text-sm",children:x||"Audio unavailable."}):i.jsxs("div",{className:"space-y-5",children:[i.jsx("audio",{ref:I,src:s,onPlay:()=>_(!0),onPause:()=>_(!1),onTimeUpdate:K=>E(K.currentTarget.currentTime),onLoadedMetadata:K=>P(K.currentTarget.duration),onEnded:()=>_(!1),className:"hidden"}),i.jsxs("div",{className:"flex items-center gap-5",children:[i.jsx("button",{onClick:D,className:"w-14 h-14 roun
365ded-full border border-white/15 flex items-center justify-center text-stone-300 hover:border-amber-500/40 hover:text-amber-300 transition-colors duration-300 shrink-0","aria-label":v?"Pause":"Play",children:v?i.jsx(E4,{className:"w-5 h-5"}):i.jsx(nw,{className:"w-5 h-5 ml-0.5"})}),i.jsxs("div",{className:"flex-1 space-y-2",children:[i.jsx("input",{type:"range",min:"0",max:"100",value:k?S/k*100:0,onChange:B,className:"w-full accent-stone-500 cursor-pointer"}),i.jsxs("div",{className:"flex items-center justify-between text-stone-500 text-xs font-light tabular-nums",children:[i.jsx("span",{children:lj(S)}),i.jsx("span",{children:lj(k)})]})]})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("span",{className:"text-stone-600 text-xs font-light tracking-wider uppercase",children:"Speed"}),[1,1.25,1.5,2].map(K=>i.jsxs("button",{onClick:()=>G(K),className:`px-2.5 py-1 text-xs font-light transition-colors duration-200 ${T===K?"text-amber-300/80 border-b border-amber-500/30":"text-stone-600 hover:text-stone-400"}`,children:[K,"×"]},K))]})]})}function GV(){const{productSlug:e,chapterNum:t}=A0(),{isAuthenticated:n,navigateToLogin:s}=wo(),[l,c]=N.useState(null),[d,m]=N.useState(null),[f,x]=N.useState(!1),[y,v]=N.useState(!0),_=parseInt(t,10);if(N.useEffect(()=>{if(!n){v(!1);return}(async()=>{var k;try{const[P,T,A]=await Promise.all([Ke.entities.LibraryChapter.filter({product_slug:e,active:!0}),Ke.entities.LibraryProduct.filter({slug:e,active:!0}),Ke.functions.invoke("getLibraryAccess",{})]),I=P.find(D=>D.chapter_number===_);c(I||null),m(T[0]||null),x((((k=A.data)==null?void 0:k.ownedSlugs)||[]).includes(e))}catch(P){console.error(P)}finally{v(!1)}})()},[n,e,_]),!n)return i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-stone-950 px-6",children:i.jsxs("div",{className:"text-center max-w-md",children:[i.jsx("p",{className:"text-stone-400 font-light text-lg leading-relaxed mb-8",children:"Please log in to access your journey."}),i.jsx("button",{onClick:s,className:"px-10 py-4 border border-stone-600 text-stone-300 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-300",children:"Log In"})]})});if(y)return i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-stone-950",children:i.jsx(Wn,{className:"w-6 h-6 animate-spin text-stone-600"})});if(!f)return i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-stone-950 px-6",children:i.jsxs("div",{className:"text-center max-w-md",children:[i.jsx("p",{className:"text-stone-400 font-light text-lg leading-relaxed mb-8",children:"You don't have access to this experience yet."}),i.jsx(Me,{to:`/Library/${e}`,className:"inline-block px-10 py-4 border border-stone-600 text-stone-300 text-sm tracking-[0.2em] uppercase font-light hover:bg-stone-800 transition-all duration-300",children:"Explore This Journey"})]})});if(!l)return i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-stone-950 px-6",children:i.jsxs("div",{className:"text-center",children:[i.jsx("p",{className:"text-stone-500 font-light mb-4",children:"This chapter could not be found."}),i.jsx(Me,{to:`/MyLibrary/${e}`,className:"text-amber-500/40 text-sm tracking-wider uppercase font-light hover:text-amber-500",children:"Return to the Journey"})]})});const S=_>1,E=_<7;return i.jsx("div",{className:"min-h-screen bg-stone-950 text-stone-200",children:i.jsx("section",{className:"pt-24 pb-16 px-6",children:i.jsx("div",{className:"max-w-2xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},children:[i.jsxs("div",{className:"text-center mb-12",children:[i.jsxs("p",{className:"text-amber-500/30 tracking-[0.3em] uppercase text-xs mb-6",children:["Chapter ",String(_).padStart(2,"0")]}),i.jsx("h1",{className:"text-3xl md:text-5xl font-light text-stone-100 tracking-tight mb-8",children:l.title}),l.introduction&&i.jsx("p",{className:"text-stone-400 font-light text-base md:text-lg leading-relaxed max-w-xl mx-auto",children:l.introduction})]}),i.jsx("div",{className:"mb-16",children:i.jsx(ZV,{fileUri:l.audio_file_uri,productSlug:e,chapterNumber:_})}),l.reflection_prompts&&l.reflection_prompts.length>0&&i.jsxs("div",{className:"border-t border-white/5 pt-12 mb-16",children:[i.jsx("p",{className:"text-amber-500/20 tracking-[0.2em] uppercase text-xs mb-8 text-center",children:"Reflections"}),i.jsx("div",{className:"space-y-6",children:l.reflection_prompts.map((k,P)=>i.jsx(O.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:P*.1},className:"text-center",children:i.jsxs("p",{className:"text-stone-400 font-light text-base md:text-lg leading-relaxed italic",children:['"',k,'"']})},P))}),i.jsx("p",{className:"text-stone-600 font-light text-xs text-center mt-8",children:"These prompts are for contemplation. There is nothing to answer or complete."})]}),i.jsx("div",{className:"border-t border-white/5 pt-12",children:i.jsxs("div",{className:"flex items-center justify-between gap-4",children:[S?i.jsxs(Me,{to:`/MyLibrary/${e}/${_-1}`,className:"flex items-center gap-3 text-stone-500 hover:text-amber-300/60 transition-colors duration-300 group",children:[i.jsx(oa,{className:"w-4 h-4 group-hover:-translate-x-1 transition-transform duration-300"}),i.jsx("span",{className:"text-xs tracking-[0.15em] uppercase font-light",children:"Previous"})]}):i.jsx("div",{}),i.jsx(Me,{to:`/MyLibrary/${e}`,className:"text-stone-500 hover:text-stone-300 text-xs tracking-[0.15em] uppercase font-light transition-colors duration-300",children:"Return to Journey"}),E?i.jsxs(Me,{to:`/MyLibrary/${e}/${_+1}`,className:"flex items-center gap-3 text-stone-500 hover:text-amber-300/60 transition-colors duration-300 group",children:[i.jsx("span",{className:"text-xs tracking-[0.15em] uppercase font-light",children:"Next"}),i.jsx(Rg,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform duration-300"})]}):i.jsx("div",{})]})})]})})})})}
365function YV({title:e,subtitle:t,description:n,image:s}){return i.jsxs("div",{className:"min-h-screen relative flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:s,alt:"",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),i.jsx("div",{className:"relative z-10 text-center px-6 max-w-2xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1},children:[i.jsx("p",{className:"text-amber-300/60 tracking-[0.3em] uppercase text-xs mb-6",children:t}),i.jsx("h1",{className:"text-4xl md:text-6xl font-light text-white tracking-tight mb-6",children:e}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/30 mx-auto mb-8"}),i.jsx("p",{className:"text-white/60 font-light text-base md:text-lg leading-relaxed mb-10",children:n}),i.jsx(Me,{to:"/",className:"inline-block px-8 py-4 border border-white/20 text-white/70 text-xs tracking-[0.2em] uppercase font-light hover:bg-white/5 transition-all duration-300",children:"Return Home"})]})})]})}function KV(){return i.jsx(YV,{title:"Gatherings",subtitle:"The Becoming",description:"Live transmissions, community gatherings, breathwork, movement, music, and spaces of shared remembrance. This space is being prepared.",image:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/cd3e221e5_generated_image.png"})}function JV(){return i.jsxs("div",{className:"min-h-screen relative flex items-center justify-center overflow-hidden",children:[i.jsxs("div",{className:"absolute inset-0",children:[i.jsx("img",{src:"https://media.base44.com/images/public/69a4f0dfd9744882d99b97c6/23231df04_generated_image.png",alt:"",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),i.jsx("div",{className:"relative z-10 text-center px-6 max-w-2xl mx-auto",children:i.jsxs(O.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1},children:[i.jsx("p",{className:"text-amber-300/60 tracking-[0.3em] uppercase text-xs mb-6",children:"The Becoming"}),i.jsx("h1",{className:"text-4xl md:text-6xl font-light text-white tracking-tight mb-6",children:"About"}),i.jsx("div",{className:"w-12 h-[1px] bg-amber-400/30 mx-auto mb-8"}),i.jsx("p",{className:"text-white/60 font-light text-base md:text-lg leading-relaxed mb-10",children:"The story, the vision, and the guide behind The Becoming. This space is being prepared."}),i.jsxs("div",{className:"flex flex-col items-center gap-4",children:[i.jsx(Me,{to:"/MeetAlejandro",className:"inline-block px-8 py-4 border border-amber-400/30 text-amber-200 text-xs tracking-[0.2em] uppercase font-light hover:bg-amber-400/10 transition-all duration-300",children:"Meet Alejandro →"}),i.jsx(Me,{to:"/",className:"text-white/40 text-xs tracking-[0.2em] uppercase font-light hover:text-white/70 transition-colors",children:"Return Home"})]})]})})]})}const{Pages:QV,Layout:cj}=vB,XV=({children:e,currentPageName:t})=>cj?i.jsx(cj,{currentPageName:t,children:e}):i.jsx(i.Fragment,{children:e}),ez=()=>{const{isLoadingAuth:e,isLoadingPublicSettings:t,authError:n,navigateToLogin:s}=wo();if(t||e)return i.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:i.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});if(n){if(n.type==="user_not_registered")return i.jsx(_B,{});if(n.type==="auth_required")return s(),null}return i.jsxs(i.Fragment,{children:[i.jsx(a7,{}),i.jsx(o7,{}),i.jsxs(D5,{children:[i.jsx(wt,{path:"/",element:i.jsx(kV,{})}),i.jsx(wt,{path:"/Pilgrimage",element:i.jsx(F9,{})}),Object.entries(QV).map(([l,c])=>i.jsx(wt,{path:`/${l}`,element:i.jsx(XV,{currentPageName:l,children:i.jsx(c,{})})},l)),i.jsx(wt,{path:"/ThankYou",element:i.jsx(jB,{})}),i.jsx(wt,{path:"/ByronBay",element:i.jsx(RB,{})}),i.jsx(wt,{path:"/ByronBayDetails",element:i.jsx(ZB,{})}),i.jsx(wt,{path:"/Portugal",element:i.jsx(VB,{})}),i.jsx(wt,{path:"/PortugalDetails",element:i.jsx(e7,{})}),i.jsx(wt,{path:"/Retreats",element:i.jsx(ij,{})}),i.jsx(wt,{path:"/RetreatSeries",element:i.jsx(ij,{})}),i.jsx(wt,{path:"/Hawaii",element:i.jsx(x7,{})}),i.jsx(wt,{path:"/RemembranceJourney",element:i.jsx(uV,{})}),i.jsx(wt,{path:"/Journeys",element:i.jsx(PV,{})}),i.jsx(wt,{path:"/WorkWithMe",element:i.jsx(VV,{})}),i.jsx(wt,{path:"/Library",element:i.jsx(zV,{})}),i.jsx(wt,{path:"/Library/Welcome",element:i.jsx($V,{})}),i.jsx(wt,{path:"/Library/:productSlug",element:i.jsx(UV,{})}),i.jsx(wt,{path:"/MyLibrary",element:i.jsx(WV,{})}),i.jsx(wt,{path:"/MyLibrary/:productSlug",element:i.jsx(HV,{})}),i.jsx(wt,{path:"/MyLibrary/:productSlug/:chapterNum",element:i.jsx(GV,{})}),i.jsx(wt,{path:"/Gatherings",element:i.jsx(KV,{})}),i.jsx(wt,{path:"/About",element:i.jsx(JV,{})}),i.jsx(wt,{path:"/MeetAlejandro",element:i.jsx(b7,{})}),i.jsx(wt,{path:"/TheVision",element:i.jsx(k7,{})}),i.jsx(wt,{path:"*",element:i.jsx(wB,{})})]})]})};function tz(){return i.jsx(bB,{children:i.jsxs(rP,{client:yP,children:[i.jsx(W5,{children:i.jsx(ez,{})}),i.jsx(LC,{})]})})}HT.createRoot(document.getElementById("root")).render(i.jsx(tz,{}));

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.