PageSourceSearch

https://womackrealestate.com/assets/index-CyAgFUYs.js

js womackrealestate.com collected 2026-10-04 06:28:11 UTC 996,208 bytes, 621 lines download raw bytes

vendor: 4,302 bytes, lines 1-9
1var fE=Object.defineProperty;var tv=e=>{throw TypeError(e)};var pE=(e,t,n)=>t in e?fE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Wn=(e,t,n)=>pE(e,typeof t!="symbol"?t+"":t,n),zd=(e,t,n)=>t.has(e)||tv("Cannot "+n);var T=(e,t,n)=>(zd(e,t,"read from private field"),n?n.call(e):t.get(e)),q=(e,t,n)=>t.has(e)?tv("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),W=(e,t,n,r)=>(zd(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),re=(e,t,n)=>(zd(e,t,"access private method"),n);var zl=(e,t,n,r)=>({set _(s){W(e,t,s,n)},get _(){return T(e,t,r)}});function mE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function Io(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Eb={exports:{}},Yu={},Ab={exports:{}},ae={};/**
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 jl=Symbol.for("react.element"),gE=Symbol.for("react.portal"),yE=Symbol.for("react.fragment"),vE=Symbol.for("react.strict_mode"),wE=Symbol.for("react.profiler"),xE=Symbol.for("react.provider"),bE=Symbol.for("react.context"),kE=Symbol.for("react.forward_ref"),SE=Symbol.for("react.suspense"),jE=Symbol.for("react.memo"),TE=Symbol.for("react.lazy"),nv=Symbol.iterator;function CE(e){return e===null||typeof e!="object"?null:(e=nv&&e[nv]||e["@@iterator"],typeof e=="function"?e:null)}var Nb={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Pb=Object.assign,Rb={};function Oo(e,t,n){this.props=e,this.context=t,this.refs=Rb,this.updater=n||Nb}Oo.prototype.isReactComponent={};Oo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Oo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ib(){}Ib.prototype=Oo.prototype;function km(e,t,n){this.props=e,this.context=t,this.refs=Rb,this.updater=n||Nb}var Sm=km.prototype=new Ib;Sm.constructor=km;Pb(Sm,Oo.prototype);Sm.isPureReactComponent=!0;var rv=Array.isArray,Ob=Object.prototype.hasOwnProperty,jm={current:null},Db={key:!0,ref:!0,__self:!0,__source:!0};function Mb(e,t,n){var r,s={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Ob.call(t,r)&&!Db.hasOwnProperty(r)&&(s[r]=t[r]);var l=arguments.length-2;if(l===1)s.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];s.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)s[r]===void 0&&(s[r]=l[r]);return{$$typeof:jl,type:e,key:i,ref:o,props:s,_owner:jm.current}}function _E(e,t){return{$$typeof:jl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Tm(e){return typeof e=="object"&&e!==null&&e.$$typeof===jl}function EE(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var sv=/\/+/g;function qd(e,t){return typeof e=="object"&&e!==null&&e.key!=null?EE(""+e.key):t.toString(36)}
vendor: 1,468 bytes, line 9
9function Nc(e,t,n,r,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case jl:case gE:o=!0}}if(o)return o=e,s=s(o),e=r===""?"."+qd(o,0):r,rv(s)?(n="",e!=null&&(n=e.replace(sv,"$&/")+"/"),Nc(s,t,n,"",function(u){return u})):s!=null&&(Tm(s)&&(s=_E(s,n+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(sv,"$&/")+"/")+e)),t.push(s)),1;if(o=0,r=r===""?".":r+":",rv(e))for(var l=0;l<e.length;l++){i=e[l];var c=r+qd(i,l);o+=Nc(i,t,n,c,s)}else if(c=CE(e),typeof c=="function")for(e=c.call(e),l=0;!(i=e.next()).done;)i=i.value,c=r+qd(i,l++),o+=Nc(i,t,n,c,s);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function ql(e,t,n){if(e==null)return e;var r=[],s=0;return Nc(e,r,"","",function(i){return t.call(n,i,s++)}),r}function AE(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var xt={current:null},Pc={transition:null},NE={ReactCurrentDispatcher:xt,ReactCurrentBatchConfig:Pc,ReactCurrentOwner:jm};
vendor: 4,504 bytes, lines 9-25
9function Lb(){throw Error("act(...) is not supported in production builds of React.")}ae.Children={map:ql,forEach:function(e,t,n){ql(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ql(e,function(){t++}),t},toArray:function(e){return ql(e,function(t){return t})||[]},only:function(e){if(!Tm(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ae.Component=Oo;ae.Fragment=yE;ae.Profiler=wE;ae.PureComponent=km;ae.StrictMode=vE;ae.Suspense=SE;ae.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=NE;ae.act=Lb;ae.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Pb({},e.props),s=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=jm.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)Ob.call(t,c)&&!Db.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:jl,type:e.type,key:s,ref:i,props:r,_owner:o}};ae.createContext=function(e){return e={$$typeof:bE,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:xE,_context:e},e.Consumer=e};ae.createElement=Mb;ae.createFactory=function(e){var t=Mb.bind(null,e);return t.type=e,t};ae.createRef=function(){return{current:null}};ae.forwardRef=function(e){return{$$typeof:kE,render:e}};ae.isValidElement=Tm;ae.lazy=function(e){return{$$typeof:TE,_payload:{_status:-1,_result:e},_init:AE}};ae.memo=function(e,t){return{$$typeof:jE,type:e,compare:t===void 0?null:t}};ae.startTransition=function(e){var t=Pc.transition;Pc.transition={};try{e()}finally{Pc.transition=t}};ae.unstable_act=Lb;ae.useCallback=function(e,t){return xt.current.useCallback(e,t)};ae.useContext=function(e){return xt.current.useContext(e)};ae.useDebugValue=function(){};ae.useDeferredValue=function(e){return xt.current.useDeferredValue(e)};ae.useEffect=function(e,t){return xt.current.useEffect(e,t)};ae.useId=function(){return xt.current.useId()};ae.useImperativeHandle=function(e,t,n){return xt.current.useImperativeHandle(e,t,n)};ae.useInsertionEffect=function(e,t){return xt.current.useInsertionEffect(e,t)};ae.useLayoutEffect=function(e,t){return xt.current.useLayoutEffect(e,t)};ae.useMemo=function(e,t){return xt.current.useMemo(e,t)};ae.useReducer=function(e,t,n){return xt.current.useReducer(e,t,n)};ae.useRef=function(e){return xt.current.useRef(e)};ae.useState=function(e){return xt.current.useState(e)};ae.useSyncExternalStore=function(e,t,n){return xt.current.useSyncExternalStore(e,t,n)};ae.useTransition=function(){return xt.current.useTransition()};ae.version="18.3.1";Ab.exports=ae;var w=Ab.exports;const O=Io(w),Cm=mE({__proto__:null,default:O},[w]);/**
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 PE=w,RE=Symbol.for("react.element"),IE=Symbol.for("react.fragment"),OE=Object.prototype.hasOwnProperty,DE=PE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ME={key:!0,ref:!0,__self:!0,__source:!0};function $b(e,t,n){var r,s={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)OE.call(t,r)&&!ME.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:RE,type:e,key:i,ref:o,props:s,_owner:DE.current}}Yu.Fragment=IE;Yu.jsx=$b;Yu.jsxs=$b;Eb.exports=Yu;var a=Eb.exports,Fb={exports:{}},Lt={},Bb={exports:{}},Wb={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(N,I){var $=N.length;N.push(I);e:for(;0<$;){var X=$-1>>>1,K=N[X];if(0<s(K,I))N[X]=I,N[$]=K,$=X;else break e}}function n(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var I=N[0],$=N.pop();if($!==I){N[0]=$;e:for(var X=0,K=N.length,oe=K>>>1;X<oe;){var ce=2*(X+1)-1,Ve=N[ce],ot=ce+1,pe=N[ot];if(0>s(Ve,$))ot<K&&0>s(pe,Ve)?(N[X]=pe,N[ot]=$,X=ot):(N[X]=Ve,N[ce]=$,X=ce);
vendor: 10,234 bytes, lines 25-34
25else if(ot<K&&0>s(pe,$))N[X]=pe,N[ot]=$,X=ot;else break e}}return I}function s(N,I){var $=N.sortIndex-I.sortIndex;return $!==0?$:N.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var c=[],u=[],d=1,h=null,f=3,p=!1,x=!1,m=!1,v=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(N){for(var I=n(u);I!==null;){if(I.callback===null)r(u);else if(I.startTime<=N)r(u),I.sortIndex=I.expirationTime,t(c,I);else break;I=n(u)}}function k(N){if(m=!1,b(N),!x)if(n(c)!==null)x=!0,R(S);else{var I=n(u);I!==null&&B(k,I.startTime-N)}}function S(N,I){x=!1,m&&(m=!1,g(_),_=-1),p=!0;var $=f;try{for(b(I),h=n(c);h!==null&&(!(h.expirationTime>I)||N&&!F());){var X=h.callback;if(typeof X=="function"){h.callback=null,f=h.priorityLevel;var K=X(h.expirationTime<=I);I=e.unstable_now(),typeof K=="function"?h.callback=K:h===n(c)&&r(c),b(I)}else r(c);h=n(c)}if(h!==null)var oe=!0;else{var ce=n(u);ce!==null&&B(k,ce.startTime-I),oe=!1}return oe}finally{h=null,f=$,p=!1}}var j=!1,C=null,_=-1,A=5,P=-1;function F(){return!(e.unstable_now()-P<A)}function M(){if(C!==null){var N=e.unstable_now();P=N;var I=!0;try{I=C(!0,N)}finally{I?z():(j=!1,C=null)}}else j=!1}var z;if(typeof y=="function")z=function(){y(M)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,ee=L.port2;L.port1.onmessage=M,z=function(){ee.postMessage(null)}}else z=function(){v(M,0)};function R(N){C=N,j||(j=!0,z())}function B(N,I){_=v(function(){N(e.unstable_now())},I)}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(N){N.callback=null},e.unstable_continueExecution=function(){x||p||(x=!0,R(S))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(N){switch(f){case 1:case 2:case 3:var I=3;break;default:I=f}var $=f;f=I;try{return N()}finally{f=$}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,I){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var $=f;f=N;try{return I()}finally{f=$}},e.unstable_scheduleCallback=function(N,I,$){var X=e.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?X+$:X):$=X,N){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=$+K,N={id:d++,callback:I,priorityLevel:N,startTime:$,expirationTime:K,sortIndex:-1},$>X?(N.sortIndex=$,t(u,N),n(c)===null&&N===n(u)&&(m?(g(_),_=-1):m=!0,B(k,$-X))):(N.sortIndex=K,t(c,N),x||p||(x=!0,R(S))),N},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(N){var I=f;return function(){var $=f;f=I;try{return N.apply(this,arguments)}finally{f=$}}}})(Wb);Bb.exports=Wb;var LE=Bb.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 $E=w,Mt=LE;function D(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ub=new Set,La={};function oi(e,t){bo(e,t),bo(e+"Capture",t)}function bo(e,t){for(La[e]=t,e=0;e<t.length;e++)Ub.add(t[e])}var Zn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mf=Object.prototype.hasOwnProperty,FE=/^[: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]*$/,iv={},ov={};function BE(e){return mf.call(ov,e)?!0:mf.call(iv,e)?!1:FE.test(e)?ov[e]=!0:(iv[e]=!0,!1)}function WE(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function UE(e,t,n,r){if(t===null||typeof t>"u"||WE(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function bt(e,t,n,r,s,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var it={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){it[e]=new bt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];it[t]=new bt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){it[e]=new bt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){it[e]=new bt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){it[e]=new bt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){it[e]=new bt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){it[e]=new bt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){it[e]=new bt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){it[e]=new bt(e,5,!1,e.toLowerCase(),null,!1,!1)});var _m=/[\-:]([a-z])/g;function Em(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_m,Em);it[t]=new bt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_m,Em);it[t]=new bt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_m,Em);it[t]=new bt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){it[e]=new bt(e,1,!1,e.toLowerCase(),null,!1,!1)});it.xlinkHref=new bt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){it[e]=new bt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Am(e,t,n,r){var s=it.hasOwnProperty(t)?it[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(UE(t,n,s,r)&&(n=null),r||s===null?BE(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var or=$E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Kl=Symbol.for("react.element"),Ni=Symbol.for("react.portal"),Pi=Symbol.for("react.fragment"),Nm=Symbol.for("react.strict_mode"),gf=Symbol.for("react.profiler"),Vb=Symbol.for("react.provider"),Hb=Symbol.for("react.context"),Pm=Symbol.for("react.forward_ref"),yf=Symbol.for("react.suspense"),vf=Symbol.for("react.suspense_list"),Rm=Symbol.for("react.memo"),Cr=Symbol.for("react.lazy"),zb=Symbol.for("react.offscreen"),av=Symbol.iterator;function Qo(e){return e===null||typeof e!="object"?null:(e=av&&e[av]||e["@@iterator"],typeof e=="function"?e:null)}var De=Object.assign,Kd;function da(e){if(Kd===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Kd=t&&t[1]||""}return`
34`+Kd+e}var Gd=!1;function Yd(e,t){if(!e||Gd)return"";Gd=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 15,597 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(`
35`),i=r.stack.split(`
36`),o=s.length-1,l=i.length-1;1<=o&&0<=l&&s[o]!==i[l];)l--;for(;1<=o&&0<=l;o--,l--)if(s[o]!==i[l]){if(o!==1||l!==1)do if(o--,l--,0>l||s[o]!==i[l]){var c=`
37`+s[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=l);break}}}finally{Gd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?da(e):""}function VE(e){switch(e.tag){case 5:return da(e.type);case 16:return da("Lazy");case 13:return da("Suspense");case 19:return da("SuspenseList");case 0:case 2:case 15:return e=Yd(e.type,!1),e;case 11:return e=Yd(e.type.render,!1),e;case 1:return e=Yd(e.type,!0),e;default:return""}}function wf(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Pi:return"Fragment";case Ni:return"Portal";case gf:return"Profiler";case Nm:return"StrictMode";case yf:return"Suspense";case vf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Hb:return(e.displayName||"Context")+".Consumer";case Vb:return(e._context.displayName||"Context")+".Provider";case Pm:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Rm:return t=e.displayName||null,t!==null?t:wf(e.type)||"Memo";case Cr:t=e._payload,e=e._init;try{return wf(e(t))}catch{}}return null}function HE(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return wf(t);case 8:return t===Nm?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ss(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function qb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function zE(e){var t=qb(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Gl(e){e._valueTracker||(e._valueTracker=zE(e))}function Kb(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=qb(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ru(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function xf(e,t){var n=t.checked;return De({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function lv(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ss(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Gb(e,t){t=t.checked,t!=null&&Am(e,"checked",t,!1)}function bf(e,t){Gb(e,t);var n=ss(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?kf(e,t.type,n):t.hasOwnProperty("defaultValue")&&kf(e,t.type,ss(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function cv(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function kf(e,t,n){(t!=="number"||ru(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ha=Array.isArray;function Ki(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ss(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Sf(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return De({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function uv(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(D(92));if(ha(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ss(n)}}function Yb(e,t){var n=ss(t.value),r=ss(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function dv(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Jb(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function jf(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Jb(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Yl,Qb=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Yl=Yl||document.createElement("div"),Yl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Yl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function $a(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var wa={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},qE=["Webkit","ms","Moz","O"];Object.keys(wa).forEach(function(e){qE.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),wa[t]=wa[e]})});function Xb(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||wa.hasOwnProperty(e)&&wa[e]?(""+t).trim():t+"px"}function Zb(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=Xb(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var KE=De({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 Tf(e,t){if(t){if(KE[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function Cf(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _f=null;function Im(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ef=null,Gi=null,Yi=null;function hv(e){if(e=_l(e)){if(typeof Ef!="function")throw Error(D(280));var t=e.stateNode;t&&(t=ed(t),Ef(e.stateNode,e.type,t))}}function e1(e){Gi?Yi?Yi.push(e):Yi=[e]:Gi=e}function t1(){if(Gi){var e=Gi,t=Yi;if(Yi=Gi=null,hv(e),t)for(e=0;e<t.length;e++)hv(t[e])}}function n1(e,t){return e(t)}function r1(){}var Jd=!1;function s1(e,t,n){if(Jd)return e(t,n);Jd=!0;try{return n1(e,t,n)}finally{Jd=!1,(Gi!==null||Yi!==null)&&(r1(),t1())}}function Fa(e,t){var n=e.stateNode;if(n===null)return null;var r=ed(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(D(231,t,typeof n));return n}var Af=!1;if(Zn)try{var Xo={};Object.defineProperty(Xo,"passive",{get:function(){Af=!0}}),window.addEventListener("test",Xo,Xo),window.removeEventListener("test",Xo,Xo)}catch{Af=!1}function GE(e,t,n,r,s,i,o,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var xa=!1,su=null,iu=!1,Nf=null,YE={onError:function(e){xa=!0,su=e}};function JE(e,t,n,r,s,i,o,l,c){xa=!1,su=null,GE.apply(YE,arguments)}function QE(e,t,n,r,s,i,o,l,c){if(JE.apply(this,arguments),xa){if(xa){var u=su;xa=!1,su=null}else throw Error(D(198));iu||(iu=!0,Nf=u)}}function ai(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function i1(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function fv(e){if(ai(e)!==e)throw Error(D(188))}function XE(e){var t=e.alternate;if(!t){if(t=ai(e),t===null)throw Error(D(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return fv(s),e;if(i===r)return fv(s),t;i=i.sibling}throw Error(D(188))}if(n.return!==r.return)n=s,r=i;else{for(var o=!1,l=s.child;l;){if(l===n){o=!0,n=s,r=i;break}if(l===r){o=!0,r=s,n=i;break}l=l.sibling}if(!o){for(l=i.child;l;){if(l===n){o=!0,n=i,r=s;break}if(l===r){o=!0,r=i,n=s;break}l=l.sibling}if(!o)throw Error(D(189))}}if(n.alternate!==r)throw Error(D(190))}if(n.tag!==3)throw Error(D(188));return n.stateNode.current===n?e:t}function o1(e){return e=XE(e),e!==null?a1(e):null}function a1(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=a1(e);if(t!==null)return t;e=e.sibling}return null}var l1=Mt.unstable_scheduleCallback,pv=Mt.unstable_cancelCallback,ZE=Mt.unstable_shouldYield,eA=Mt.unstable_requestPaint,We=Mt.unstable_now,tA=Mt.unstable_getCurrentPriorityLevel,Om=Mt.unstable_ImmediatePriority,c1=Mt.unstable_UserBlockingPriority,ou=Mt.unstable_NormalPriority,nA=Mt.unstable_LowPriority,u1=Mt.unstable_IdlePriority,Ju=null,Rn=null;function rA(e){if(Rn&&typeof Rn.onCommitFiberRoot=="function")try{Rn.onCommitFiberRoot(Ju,e,void 0,(e.current.flags&128)===128)}catch{}}var gn=Math.clz32?Math.clz32:oA,sA=Math.log,iA=Math.LN2;function oA(e){return e>>>=0,e===0?32:31-(sA(e)/iA|0)|0}var Jl=64,Ql=4194304;function fa(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function au(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var l=o&~s;l!==0?r=fa(l):(i&=o,i!==0&&(r=fa(i)))}else o=n&~s,o!==0?r=fa(o):i!==0&&(r=fa(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,i=t&-t,s>=i||s===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-gn(t),s=1<<n,r|=e[n],t&=~s;return r}function aA(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function lA(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-gn(i),l=1<<o,c=s[o];c===-1?(!(l&n)||l&r)&&(s[o]=aA(l,t)):c<=t&&(e.expiredLanes|=l),i&=~l}}function Pf(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function d1(){var e=Jl;return Jl<<=1,!(Jl&4194240)&&(Jl=64),e}function Qd(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Tl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-gn(t),e[t]=n}function cA(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var s=31-gn(n),i=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~i}}function Dm(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-gn(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var ye=0;function h1(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var f1,Mm,p1,m1,g1,Rf=!1,Xl=[],Kr=null,Gr=null,Yr=null,Ba=new Map,Wa=new Map,Nr=[],uA="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 mv(e,t){switch(e){case"focusin":case"focusout":Kr=null;break;case"dragenter":case"dragleave":Gr=null;break;case"mouseover":case"mouseout":Yr=null;break;case"pointerover":case"pointerout":Ba.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Wa.delete(t.pointerId)}}function Zo(e,t,n,r,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[s]},t!==null&&(t=_l(t),t!==null&&Mm(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}
vendor: 12,981 bytes, line 37
37function dA(e,t,n,r,s){switch(t){case"focusin":return Kr=Zo(Kr,e,t,n,r,s),!0;case"dragenter":return Gr=Zo(Gr,e,t,n,r,s),!0;case"mouseover":return Yr=Zo(Yr,e,t,n,r,s),!0;case"pointerover":var i=s.pointerId;return Ba.set(i,Zo(Ba.get(i)||null,e,t,n,r,s)),!0;case"gotpointercapture":return i=s.pointerId,Wa.set(i,Zo(Wa.get(i)||null,e,t,n,r,s)),!0}return!1}function y1(e){var t=Es(e.target);if(t!==null){var n=ai(t);if(n!==null){if(t=n.tag,t===13){if(t=i1(n),t!==null){e.blockedOn=t,g1(e.priority,function(){p1(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Rc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=If(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);_f=r,n.target.dispatchEvent(r),_f=null}else return t=_l(n),t!==null&&Mm(t),e.blockedOn=n,!1;t.shift()}return!0}function gv(e,t,n){Rc(e)&&n.delete(t)}function hA(){Rf=!1,Kr!==null&&Rc(Kr)&&(Kr=null),Gr!==null&&Rc(Gr)&&(Gr=null),Yr!==null&&Rc(Yr)&&(Yr=null),Ba.forEach(gv),Wa.forEach(gv)}function ea(e,t){e.blockedOn===t&&(e.blockedOn=null,Rf||(Rf=!0,Mt.unstable_scheduleCallback(Mt.unstable_NormalPriority,hA)))}function Ua(e){function t(s){return ea(s,e)}if(0<Xl.length){ea(Xl[0],e);for(var n=1;n<Xl.length;n++){var r=Xl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Kr!==null&&ea(Kr,e),Gr!==null&&ea(Gr,e),Yr!==null&&ea(Yr,e),Ba.forEach(t),Wa.forEach(t),n=0;n<Nr.length;n++)r=Nr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Nr.length&&(n=Nr[0],n.blockedOn===null);)y1(n),n.blockedOn===null&&Nr.shift()}var Ji=or.ReactCurrentBatchConfig,lu=!0;function fA(e,t,n,r){var s=ye,i=Ji.transition;Ji.transition=null;try{ye=1,Lm(e,t,n,r)}finally{ye=s,Ji.transition=i}}function pA(e,t,n,r){var s=ye,i=Ji.transition;Ji.transition=null;try{ye=4,Lm(e,t,n,r)}finally{ye=s,Ji.transition=i}}function Lm(e,t,n,r){if(lu){var s=If(e,t,n,r);if(s===null)ah(e,t,r,cu,n),mv(e,r);else if(dA(s,e,t,n,r))r.stopPropagation();else if(mv(e,r),t&4&&-1<uA.indexOf(e)){for(;s!==null;){var i=_l(s);if(i!==null&&f1(i),i=If(e,t,n,r),i===null&&ah(e,t,r,cu,n),i===s)break;s=i}s!==null&&r.stopPropagation()}else ah(e,t,r,null,n)}}var cu=null;function If(e,t,n,r){if(cu=null,e=Im(r),e=Es(e),e!==null)if(t=ai(e),t===null)e=null;else if(n=t.tag,n===13){if(e=i1(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return cu=e,null}function v1(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(tA()){case Om:return 1;case c1:return 4;case ou:case nA:return 16;case u1:return 536870912;default:return 16}default:return 16}}var Vr=null,$m=null,Ic=null;function w1(){if(Ic)return Ic;var e,t=$m,n=t.length,r,s="value"in Vr?Vr.value:Vr.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===s[i-r];r++);return Ic=s.slice(e,1<r?1-r:void 0)}function Oc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Zl(){return!0}function yv(){return!1}function $t(e){function t(n,r,s,i,o){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Zl:yv,this.isPropagationStopped=yv,this}return De(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Zl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Zl)},persist:function(){},isPersistent:Zl}),t}var Do={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fm=$t(Do),Cl=De({},Do,{view:0,detail:0}),mA=$t(Cl),Xd,Zd,ta,Qu=De({},Cl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Bm,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ta&&(ta&&e.type==="mousemove"?(Xd=e.screenX-ta.screenX,Zd=e.screenY-ta.screenY):Zd=Xd=0,ta=e),Xd)},movementY:function(e){return"movementY"in e?e.movementY:Zd}}),vv=$t(Qu),gA=De({},Qu,{dataTransfer:0}),yA=$t(gA),vA=De({},Cl,{relatedTarget:0}),eh=$t(vA),wA=De({},Do,{animationName:0,elapsedTime:0,pseudoElement:0}),xA=$t(wA),bA=De({},Do,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),kA=$t(bA),SA=De({},Do,{data:0}),wv=$t(SA),jA={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},TA={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"},CA={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _A(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=CA[e])?!!t[e]:!1}function Bm(){return _A}var EA=De({},Cl,{key:function(e){if(e.key){var t=jA[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Oc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?TA[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Bm,charCode:function(e){return e.type==="keypress"?Oc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Oc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),AA=$t(EA),NA=De({},Qu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xv=$t(NA),PA=De({},Cl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Bm}),RA=$t(PA),IA=De({},Do,{propertyName:0,elapsedTime:0,pseudoElement:0}),OA=$t(IA),DA=De({},Qu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),MA=$t(DA),LA=[9,13,27,32],Wm=Zn&&"CompositionEvent"in window,ba=null;Zn&&"documentMode"in document&&(ba=document.documentMode);var $A=Zn&&"TextEvent"in window&&!ba,x1=Zn&&(!Wm||ba&&8<ba&&11>=ba),bv=" ",kv=!1;function b1(e,t){switch(e){case"keyup":return LA.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function k1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ri=!1;function FA(e,t){switch(e){case"compositionend":return k1(t);case"keypress":return t.which!==32?null:(kv=!0,bv);case"textInput":return e=t.data,e===bv&&kv?null:e;default:return null}}function BA(e,t){if(Ri)return e==="compositionend"||!Wm&&b1(e,t)?(e=w1(),Ic=$m=Vr=null,Ri=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return x1&&t.locale!=="ko"?null:t.data;default:return null}}var WA={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 Sv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!WA[e.type]:t==="textarea"}function S1(e,t,n,r){e1(r),t=uu(t,"onChange"),0<t.length&&(n=new Fm("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ka=null,Va=null;function UA(e){O1(e,0)}function Xu(e){var t=Di(e);if(Kb(t))return e}function VA(e,t){if(e==="change")return t}var j1=!1;if(Zn){var th;if(Zn){var nh="oninput"in document;if(!nh){var jv=document.createElement("div");jv.setAttribute("oninput","return;"),nh=typeof jv.oninput=="function"}th=nh}else th=!1;j1=th&&(!document.documentMode||9<document.documentMode)}function Tv(){ka&&(ka.detachEvent("onpropertychange",T1),Va=ka=null)}function T1(e){if(e.propertyName==="value"&&Xu(Va)){var t=[];S1(t,Va,e,Im(e)),s1(UA,t)}}function HA(e,t,n){e==="focusin"?(Tv(),ka=t,Va=n,ka.attachEvent("onpropertychange",T1)):e==="focusout"&&Tv()}function zA(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xu(Va)}function qA(e,t){if(e==="click")return Xu(t)}function KA(e,t){if(e==="input"||e==="change")return Xu(t)}function GA(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vn=typeof Object.is=="function"?Object.is:GA;function Ha(e,t){if(vn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var s=n[r];if(!mf.call(t,s)||!vn(e[s],t[s]))return!1}return!0}function Cv(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function _v(e,t){var n=Cv(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Cv(n)}}function C1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?C1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _1(){for(var e=window,t=ru();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ru(e.document)}return t}function Um(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function YA(e){var t=_1(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&C1(n.ownerDocument.documentElement,n)){if(r!==null&&Um(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=n.textContent.length,i=Math.min(r.start,s);r=r.end===void 0?i:Math.min(r.end,s),!e.extend&&i>r&&(s=r,r=i,i=s),s=_v(n,i);var o=_v(n,r);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var JA=Zn&&"documentMode"in document&&11>=document.documentMode,Ii=null,Of=null,Sa=null,Df=!1;function Ev(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Df||Ii==null||Ii!==ru(r)||(r=Ii,"selectionStart"in r&&Um(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,352 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Sa&&Ha(Sa,r)||(Sa=r,r=uu(Of,"onSelect"),0<r.length&&(t=new Fm("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ii)))}function ec(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Oi={animationend:ec("Animation","AnimationEnd"),animationiteration:ec("Animation","AnimationIteration"),animationstart:ec("Animation","AnimationStart"),transitionend:ec("Transition","TransitionEnd")},rh={},E1={};Zn&&(E1=document.createElement("div").style,"AnimationEvent"in window||(delete Oi.animationend.animation,delete Oi.animationiteration.animation,delete Oi.animationstart.animation),"TransitionEvent"in window||delete Oi.transitionend.transition);function Zu(e){if(rh[e])return rh[e];if(!Oi[e])return e;var t=Oi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in E1)return rh[e]=t[n];return e}var A1=Zu("animationend"),N1=Zu("animationiteration"),P1=Zu("animationstart"),R1=Zu("transitionend"),I1=new Map,Av="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 us(e,t){I1.set(e,t),oi(t,[e])}for(var sh=0;sh<Av.length;sh++){var ih=Av[sh],QA=ih.toLowerCase(),XA=ih[0].toUpperCase()+ih.slice(1);us(QA,"on"+XA)}us(A1,"onAnimationEnd");us(N1,"onAnimationIteration");us(P1,"onAnimationStart");us("dblclick","onDoubleClick");us("focusin","onFocus");us("focusout","onBlur");us(R1,"onTransitionEnd");bo("onMouseEnter",["mouseout","mouseover"]);bo("onMouseLeave",["mouseout","mouseover"]);bo("onPointerEnter",["pointerout","pointerover"]);bo("onPointerLeave",["pointerout","pointerover"]);oi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));oi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));oi("onBeforeInput",["compositionend","keypress","textInput","paste"]);oi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));oi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));oi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pa="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(" "),ZA=new Set("cancel close invalid load scroll toggle".split(" ").concat(pa));function Nv(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,QE(r,t,void 0,e),e.currentTarget=null}function O1(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var l=r[o],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==i&&s.isPropagationStopped())break e;Nv(s,l,u),i=c}else for(o=0;o<r.length;o++){if(l=r[o],c=l.instance,u=l.currentTarget,l=l.listener,c!==i&&s.isPropagationStopped())break e;Nv(s,l,u),i=c}}}if(iu)throw e=Nf,iu=!1,Nf=null,e}function ke(e,t){var n=t[Bf];n===void 0&&(n=t[Bf]=new Set);var r=e+"__bubble";n.has(r)||(D1(t,e,2,!1),n.add(r))}function oh(e,t,n){var r=0;t&&(r|=4),D1(n,e,r,t)}var tc="_reactListening"+Math.random().toString(36).slice(2);function za(e){if(!e[tc]){e[tc]=!0,Ub.forEach(function(n){n!=="selectionchange"&&(ZA.has(n)||oh(n,!1,e),oh(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[tc]||(t[tc]=!0,oh("selectionchange",!1,t))}}function D1(e,t,n,r){switch(v1(t)){case 1:var s=fA;break;case 4:s=pA;break;default:s=Lm}n=s.bind(null,t,n,e),s=void 0,!Af||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}
vendor: 4,454 bytes, line 37
37function ah(e,t,n,r,s){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var l=r.stateNode.containerInfo;if(l===s||l.nodeType===8&&l.parentNode===s)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===s||c.nodeType===8&&c.parentNode===s))return;o=o.return}for(;l!==null;){if(o=Es(l),o===null)return;if(c=o.tag,c===5||c===6){r=i=o;continue e}l=l.parentNode}}r=r.return}s1(function(){var u=i,d=Im(n),h=[];e:{var f=I1.get(e);if(f!==void 0){var p=Fm,x=e;switch(e){case"keypress":if(Oc(n)===0)break e;case"keydown":case"keyup":p=AA;break;case"focusin":x="focus",p=eh;break;case"focusout":x="blur",p=eh;break;case"beforeblur":case"afterblur":p=eh;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=vv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=yA;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=RA;break;case A1:case N1:case P1:p=xA;break;case R1:p=OA;break;case"scroll":p=mA;break;case"wheel":p=MA;break;case"copy":case"cut":case"paste":p=kA;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=xv}var m=(t&4)!==0,v=!m&&e==="scroll",g=m?f!==null?f+"Capture":null:f;m=[];for(var y=u,b;y!==null;){b=y;var k=b.stateNode;if(b.tag===5&&k!==null&&(b=k,g!==null&&(k=Fa(y,g),k!=null&&m.push(qa(y,k,b)))),v)break;y=y.return}0<m.length&&(f=new p(f,x,null,n,d),h.push({event:f,listeners:m}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&n!==_f&&(x=n.relatedTarget||n.fromElement)&&(Es(x)||x[er]))break e;if((p||f)&&(f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window,p?(x=n.relatedTarget||n.toElement,p=u,x=x?Es(x):null,x!==null&&(v=ai(x),x!==v||x.tag!==5&&x.tag!==6)&&(x=null)):(p=null,x=u),p!==x)){if(m=vv,k="onMouseLeave",g="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(m=xv,k="onPointerLeave",g="onPointerEnter",y="pointer"),v=p==null?f:Di(p),b=x==null?f:Di(x),f=new m(k,y+"leave",p,n,d),f.target=v,f.relatedTarget=b,k=null,Es(d)===u&&(m=new m(g,y+"enter",x,n,d),m.target=b,m.relatedTarget=v,k=m),v=k,p&&x)t:{for(m=p,g=x,y=0,b=m;b;b=mi(b))y++;for(b=0,k=g;k;k=mi(k))b++;for(;0<y-b;)m=mi(m),y--;for(;0<b-y;)g=mi(g),b--;for(;y--;){if(m===g||g!==null&&m===g.alternate)break t;m=mi(m),g=mi(g)}m=null}else m=null;p!==null&&Pv(h,f,p,m,!1),x!==null&&v!==null&&Pv(h,v,x,m,!0)}}e:{if(f=u?Di(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var S=VA;else if(Sv(f))if(j1)S=KA;else{S=zA;var j=HA}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(S=qA);if(S&&(S=S(e,u))){S1(h,S,n,d);break e}j&&j(e,f,u),e==="focusout"&&(j=f._wrapperState)&&j.controlled&&f.type==="number"&&kf(f,"number",f.value)}switch(j=u?Di(u):window,e){case"focusin":(Sv(j)||j.contentEditable==="true")&&(Ii=j,Of=u,Sa=null);break;case"focusout":Sa=Of=Ii=null;break;case"mousedown":Df=!0;break;case"contextmenu":case"mouseup":case"dragend":Df=!1,Ev(h,n,d);break;case"selectionchange":if(JA)break;case"keydown":case"keyup":Ev(h,n,d)}var C;if(Wm)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else Ri?b1(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(x1&&n.locale!=="ko"&&(Ri||_!=="onCompositionStart"?_==="onCompositionEnd"&&Ri&&(C=w1()):(Vr=d,$m="value"in Vr?Vr.value:Vr.textContent,Ri=!0)),j=uu(u,_),0<j.length&&(_=new wv(_,e,null,n,d),h.push({event:_,listeners:j}),C?_.data=C:(C=k1(n),C!==null&&(_.data=C)))),(C=$A?FA(e,n):BA(e,n))&&(u=uu(u,"onBeforeInput"),0<u.length&&(d=new wv("onBeforeInput","beforeinput",null,n,d),h.push({event:d,listeners:u}),d.data=C))}O1(h,t)})}function qa(e,t,n){return{instance:e,listener:t,currentTarget:n}}function uu(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=Fa(e,n),i!=null&&r.unshift(qa(e,i,s)),i=Fa(e,t),i!=null&&r.push(qa(e,i,s))),e=e.return}return r}function mi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}
vendor: 4,594 bytes, lines 37-38
37function Pv(e,t,n,r,s){for(var i=t._reactName,o=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,s?(c=Fa(n,i),c!=null&&o.unshift(qa(n,c,l))):s||(c=Fa(n,i),c!=null&&o.push(qa(n,c,l)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var eN=/\r\n?/g,tN=/\u0000|\uFFFD/g;function Rv(e){return(typeof e=="string"?e:""+e).replace(eN,`
38`).replace(tN,"")}function nc(e,t,n){if(t=Rv(t),Rv(e)!==t&&n)throw Error(D(425))}function du(){}var Mf=null,Lf=null;function $f(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ff=typeof setTimeout=="function"?setTimeout:void 0,nN=typeof clearTimeout=="function"?clearTimeout:void 0,Iv=typeof Promise=="function"?Promise:void 0,rN=typeof queueMicrotask=="function"?queueMicrotask:typeof Iv<"u"?function(e){return Iv.resolve(null).then(e).catch(sN)}:Ff;function sN(e){setTimeout(function(){throw e})}function lh(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),Ua(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);Ua(t)}function Jr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Ov(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Mo=Math.random().toString(36).slice(2),An="__reactFiber$"+Mo,Ka="__reactProps$"+Mo,er="__reactContainer$"+Mo,Bf="__reactEvents$"+Mo,iN="__reactListeners$"+Mo,oN="__reactHandles$"+Mo;function Es(e){var t=e[An];if(t)return t;for(var n=e.parentNode;n;){if(t=n[er]||n[An]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ov(e);e!==null;){if(n=e[An])return n;e=Ov(e)}return t}e=n,n=e.parentNode}return null}function _l(e){return e=e[An]||e[er],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Di(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function ed(e){return e[Ka]||null}var Wf=[],Mi=-1;function ds(e){return{current:e}}function Se(e){0>Mi||(e.current=Wf[Mi],Wf[Mi]=null,Mi--)}function xe(e,t){Mi++,Wf[Mi]=e.current,e.current=t}var is={},ht=ds(is),_t=ds(!1),Qs=is;function ko(e,t){var n=e.type.contextTypes;if(!n)return is;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Et(e){return e=e.childContextTypes,e!=null}function hu(){Se(_t),Se(ht)}function Dv(e,t,n){if(ht.current!==is)throw Error(D(168));xe(ht,t),xe(_t,n)}function M1(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(D(108,HE(e)||"Unknown",s));return De({},n,r)}function fu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||is,Qs=ht.current,xe(ht,e),xe(_t,_t.current),!0}function Mv(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=M1(e,t,Qs),r.__reactInternalMemoizedMergedChildContext=e,Se(_t),Se(ht),xe(ht,e)):Se(_t),xe(_t,n)}var qn=null,td=!1,ch=!1;function L1(e){qn===null?qn=[e]:qn.push(e)}function aN(e){td=!0,L1(e)}function hs(){if(!ch&&qn!==null){ch=!0;var e=0,t=ye;try{var n=qn;for(ye=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}qn=null,td=!1}catch(s){throw qn!==null&&(qn=qn.slice(e+1)),l1(Om,hs),s}finally{ye=t,ch=!1}}return null}var Li=[],$i=0,pu=null,mu=0,Ht=[],zt=0,Xs=null,Yn=1,Jn="";function bs(e,t){Li[$i++]=mu,Li[$i++]=pu,pu=e,mu=t}function $1(e,t,n){Ht[zt++]=Yn,Ht[zt++]=Jn,Ht[zt++]=Xs,Xs=e;var r=Yn;e=Jn;var s=32-gn(r)-1;r&=~(1<<s),n+=1;var i=32-gn(t)+s;if(30<i){var o=s-s%5;i=(r&(1<<o)-1).toString(32),r>>=o,s-=o,Yn=1<<32-gn(t)+s|n<<s|r,Jn=i+e}else Yn=1<<i|n<<s|r,Jn=e}function Vm(e){e.return!==null&&(bs(e,1),$1(e,1,0))}function Hm(e){for(;e===pu;)pu=Li[--$i],Li[$i]=null,mu=Li[--$i],Li[$i]=null;for(;e===Xs;)Xs=Ht[--zt],Ht[zt]=null,Jn=Ht[--zt],Ht[zt]=null,Yn=Ht[--zt],Ht[zt]=null}var Ot=null,It=null,_e=!1,pn=null;function F1(e,t){var n=qt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Lv(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 16,309 bytes, line 38
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ot=e,It=Jr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ot=e,It=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Xs!==null?{id:Yn,overflow:Jn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=qt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ot=e,It=null,!0):!1;default:return!1}}function Uf(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Vf(e){if(_e){var t=It;if(t){var n=t;if(!Lv(e,t)){if(Uf(e))throw Error(D(418));t=Jr(n.nextSibling);var r=Ot;t&&Lv(e,t)?F1(r,n):(e.flags=e.flags&-4097|2,_e=!1,Ot=e)}}else{if(Uf(e))throw Error(D(418));e.flags=e.flags&-4097|2,_e=!1,Ot=e}}}function $v(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ot=e}function rc(e){if(e!==Ot)return!1;if(!_e)return $v(e),_e=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!$f(e.type,e.memoizedProps)),t&&(t=It)){if(Uf(e))throw B1(),Error(D(418));for(;t;)F1(e,t),t=Jr(t.nextSibling)}if($v(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){It=Jr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}It=null}}else It=Ot?Jr(e.stateNode.nextSibling):null;return!0}function B1(){for(var e=It;e;)e=Jr(e.nextSibling)}function So(){It=Ot=null,_e=!1}function zm(e){pn===null?pn=[e]:pn.push(e)}var lN=or.ReactCurrentBatchConfig;function na(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(D(309));var r=n.stateNode}if(!r)throw Error(D(147,e));var s=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var l=s.refs;o===null?delete l[i]:l[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function sc(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Fv(e){var t=e._init;return t(e._payload)}function W1(e){function t(g,y){if(e){var b=g.deletions;b===null?(g.deletions=[y],g.flags|=16):b.push(y)}}function n(g,y){if(!e)return null;for(;y!==null;)t(g,y),y=y.sibling;return null}function r(g,y){for(g=new Map;y!==null;)y.key!==null?g.set(y.key,y):g.set(y.index,y),y=y.sibling;return g}function s(g,y){return g=es(g,y),g.index=0,g.sibling=null,g}function i(g,y,b){return g.index=b,e?(b=g.alternate,b!==null?(b=b.index,b<y?(g.flags|=2,y):b):(g.flags|=2,y)):(g.flags|=1048576,y)}function o(g){return e&&g.alternate===null&&(g.flags|=2),g}function l(g,y,b,k){return y===null||y.tag!==6?(y=gh(b,g.mode,k),y.return=g,y):(y=s(y,b),y.return=g,y)}function c(g,y,b,k){var S=b.type;return S===Pi?d(g,y,b.props.children,k,b.key):y!==null&&(y.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Cr&&Fv(S)===y.type)?(k=s(y,b.props),k.ref=na(g,y,b),k.return=g,k):(k=Wc(b.type,b.key,b.props,null,g.mode,k),k.ref=na(g,y,b),k.return=g,k)}function u(g,y,b,k){return y===null||y.tag!==4||y.stateNode.containerInfo!==b.containerInfo||y.stateNode.implementation!==b.implementation?(y=yh(b,g.mode,k),y.return=g,y):(y=s(y,b.children||[]),y.return=g,y)}function d(g,y,b,k,S){return y===null||y.tag!==7?(y=zs(b,g.mode,k,S),y.return=g,y):(y=s(y,b),y.return=g,y)}function h(g,y,b){if(typeof y=="string"&&y!==""||typeof y=="number")return y=gh(""+y,g.mode,b),y.return=g,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Kl:return b=Wc(y.type,y.key,y.props,null,g.mode,b),b.ref=na(g,null,y),b.return=g,b;case Ni:return y=yh(y,g.mode,b),y.return=g,y;case Cr:var k=y._init;return h(g,k(y._payload),b)}if(ha(y)||Qo(y))return y=zs(y,g.mode,b,null),y.return=g,y;sc(g,y)}return null}function f(g,y,b,k){var S=y!==null?y.key:null;if(typeof b=="string"&&b!==""||typeof b=="number")return S!==null?null:l(g,y,""+b,k);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Kl:return b.key===S?c(g,y,b,k):null;case Ni:return b.key===S?u(g,y,b,k):null;case Cr:return S=b._init,f(g,y,S(b._payload),k)}if(ha(b)||Qo(b))return S!==null?null:d(g,y,b,k,null);sc(g,b)}return null}function p(g,y,b,k,S){if(typeof k=="string"&&k!==""||typeof k=="number")return g=g.get(b)||null,l(y,g,""+k,S);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Kl:return g=g.get(k.key===null?b:k.key)||null,c(y,g,k,S);case Ni:return g=g.get(k.key===null?b:k.key)||null,u(y,g,k,S);case Cr:var j=k._init;return p(g,y,b,j(k._payload),S)}if(ha(k)||Qo(k))return g=g.get(b)||null,d(y,g,k,S,null);sc(y,k)}return null}function x(g,y,b,k){for(var S=null,j=null,C=y,_=y=0,A=null;C!==null&&_<b.length;_++){C.index>_?(A=C,C=null):A=C.sibling;var P=f(g,C,b[_],k);if(P===null){C===null&&(C=A);break}e&&C&&P.alternate===null&&t(g,C),y=i(P,y,_),j===null?S=P:j.sibling=P,j=P,C=A}if(_===b.length)return n(g,C),_e&&bs(g,_),S;if(C===null){for(;_<b.length;_++)C=h(g,b[_],k),C!==null&&(y=i(C,y,_),j===null?S=C:j.sibling=C,j=C);return _e&&bs(g,_),S}for(C=r(g,C);_<b.length;_++)A=p(C,g,_,b[_],k),A!==null&&(e&&A.alternate!==null&&C.delete(A.key===null?_:A.key),y=i(A,y,_),j===null?S=A:j.sibling=A,j=A);return e&&C.forEach(function(F){return t(g,F)}),_e&&bs(g,_),S}function m(g,y,b,k){var S=Qo(b);if(typeof S!="function")throw Error(D(150));if(b=S.call(b),b==null)throw Error(D(151));for(var j=S=null,C=y,_=y=0,A=null,P=b.next();C!==null&&!P.done;_++,P=b.next()){C.index>_?(A=C,C=null):A=C.sibling;var F=f(g,C,P.value,k);if(F===null){C===null&&(C=A);break}e&&C&&F.alternate===null&&t(g,C),y=i(F,y,_),j===null?S=F:j.sibling=F,j=F,C=A}if(P.done)return n(g,C),_e&&bs(g,_),S;if(C===null){for(;!P.done;_++,P=b.next())P=h(g,P.value,k),P!==null&&(y=i(P,y,_),j===null?S=P:j.sibling=P,j=P);return _e&&bs(g,_),S}for(C=r(g,C);!P.done;_++,P=b.next())P=p(C,g,_,P.value,k),P!==null&&(e&&P.alternate!==null&&C.delete(P.key===null?_:P.key),y=i(P,y,_),j===null?S=P:j.sibling=P,j=P);return e&&C.forEach(function(M){return t(g,M)}),_e&&bs(g,_),S}function v(g,y,b,k){if(typeof b=="object"&&b!==null&&b.type===Pi&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Kl:e:{for(var S=b.key,j=y;j!==null;){if(j.key===S){if(S=b.type,S===Pi){if(j.tag===7){n(g,j.sibling),y=s(j,b.props.children),y.return=g,g=y;break e}}else if(j.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Cr&&Fv(S)===j.type){n(g,j.sibling),y=s(j,b.props),y.ref=na(g,j,b),y.return=g,g=y;break e}n(g,j);break}else t(g,j);j=j.sibling}b.type===Pi?(y=zs(b.props.children,g.mode,k,b.key),y.return=g,g=y):(k=Wc(b.type,b.key,b.props,null,g.mode,k),k.ref=na(g,y,b),k.return=g,g=k)}return o(g);case Ni:e:{for(j=b.key;y!==null;){if(y.key===j)if(y.tag===4&&y.stateNode.containerInfo===b.containerInfo&&y.stateNode.implementation===b.implementation){n(g,y.sibling),y=s(y,b.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=yh(b,g.mode,k),y.return=g,g=y}return o(g);case Cr:return j=b._init,v(g,y,j(b._payload),k)}if(ha(b))return x(g,y,b,k);if(Qo(b))return m(g,y,b,k);sc(g,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,y!==null&&y.tag===6?(n(g,y.sibling),y=s(y,b),y.return=g,g=y):(n(g,y),y=gh(b,g.mode,k),y.return=g,g=y),o(g)):n(g,y)}return v}var jo=W1(!0),U1=W1(!1),gu=ds(null),yu=null,Fi=null,qm=null;function Km(){qm=Fi=yu=null}function Gm(e){var t=gu.current;Se(gu),e._currentValue=t}function Hf(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qi(e,t){yu=e,qm=Fi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ct=!0),e.firstContext=null)}function Jt(e){var t=e._currentValue;if(qm!==e)if(e={context:e,memoizedValue:t,next:null},Fi===null){if(yu===null)throw Error(D(308));Fi=e,yu.dependencies={lanes:0,firstContext:e}}else Fi=Fi.next=e;return t}var As=null;function Ym(e){As===null?As=[e]:As.push(e)}function V1(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,Ym(t)):(n.next=s.next,s.next=n),t.interleaved=n,tr(e,r)}function tr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var _r=!1;function Jm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function H1(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Qn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,he&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,tr(e,n)}return s=r.interleaved,s===null?(t.next=t,Ym(r)):(t.next=s.next,s.next=t),r.interleaved=t,tr(e,n)}function Dc(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Dm(e,n)}}function Bv(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?s=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function vu(e,t,n,r){var s=e.updateQueue;_r=!1;var i=s.firstBaseUpdate,o=s.lastBaseUpdate,l=s.shared.pending;if(l!==null){s.shared.pending=null;var c=l,u=c.next;c.next=null,o===null?i=u:o.next=u,o=c;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==o&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=c))}if(i!==null){var h=s.baseState;o=0,d=u=c=null,l=i;do{var f=l.lane,p=l.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var x=e,m=l;switch(f=t,p=n,m.tag){case 1:if(x=m.payload,typeof x=="function"){h=x.call(p,h,f);break e}h=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=m.payload,f=typeof x=="function"?x.call(p,h,f):x,f==null)break e;h=De({},h,f);break e;case 2:_r=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,f=s.effects,f===null?s.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=p,c=h):d=d.next=p,o|=f;if(l=l.next,l===null){if(l=s.shared.pending,l===null)break;f=l,l=f.next,f.next=null,s.lastBaseUpdate=f,s.shared.pending=null}}while(!0);if(d===null&&(c=h),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);ei|=o,e.lanes=o,e.memoizedState=h}}function Wv(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(D(191,s));s.call(r)}}}var El={},In=ds(El),Ga=ds(El),Ya=ds(El);function Ns(e){if(e===El)throw Error(D(174));return e}function Qm(e,t){switch(xe(Ya,t),xe(Ga,e),xe(In,El),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:jf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=jf(t,e)}Se(In),xe(In,t)}function To(){Se(In),Se(Ga),Se(Ya)}function z1(e){Ns(Ya.current);var t=Ns(In.current),n=jf(t,e.type);t!==n&&(xe(Ga,e),xe(In,n))}function Xm(e){Ga.current===e&&(Se(In),Se(Ga))}var Re=ds(0);function wu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var uh=[];function Zm(){for(var e=0;e<uh.length;e++)uh[e]._workInProgressVersionPrimary=null;uh.length=0}var Mc=or.ReactCurrentDispatcher,dh=or.ReactCurrentBatchConfig,Zs=0,Oe=null,Ye=null,Xe=null,xu=!1,ja=!1,Ja=0,cN=0;function at(){throw Error(D(321))}function eg(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!vn(e[n],t[n]))return!1;return!0}function tg(e,t,n,r,s,i){if(Zs=i,Oe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Mc.current=e===null||e.memoizedState===null?fN:pN,e=n(r,s),ja){i=0;do{if(ja=!1,Ja=0,25<=i)throw Error(D(301));i+=1,Xe=Ye=null,t.updateQueue=null,Mc.current=mN,e=n(r,s)}while(ja)}if(Mc.current=bu,t=Ye!==null&&Ye.next!==null,Zs=0,Xe=Ye=Oe=null,xu=!1,t)throw Error(D(300));return e}function ng(){var e=Ja!==0;return Ja=0,e}function Tn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xe===null?Oe.memoizedState=Xe=e:Xe=Xe.next=e,Xe}function Qt(){if(Ye===null){var e=Oe.alternate;e=e!==null?e.memoizedState:null}else e=Ye.next;var t=Xe===null?Oe.memoizedState:Xe.next;if(t!==null)Xe=t,Ye=e;else{if(e===null)throw Error(D(310));Ye=e,e={memoizedState:Ye.memoizedState,baseState:Ye.baseState,baseQueue:Ye.baseQueue,queue:Ye.queue,next:null},Xe===null?Oe.memoizedState=Xe=e:Xe=Xe.next=e}return Xe}function Qa(e,t){return typeof t=="function"?t(e):t}function hh(e){var t=Qt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=Ye,s=r.baseQueue,i=n.pending;if(i!==null){if(s!==null){var o=s.next;s.next=i.next,i.next=o}r.baseQueue=s=i,n.pending=null}if(s!==null){i=s.next,r=r.baseState;var l=o=null,c=null,u=i;do{var d=u.lane;if((Zs&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=h,o=r):c=c.next=h,Oe.lanes|=d,ei|=d}u=u.next}while(u!==null&&u!==i);c===null?o=r:c.next=l,vn(r,t.memoizedState)||(Ct=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do i=s.lane,Oe.lanes|=i,ei|=i,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function fh(e){var t=Qt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var o=s=s.next;do i=e(i,o.action),o=o.next;while(o!==s);vn(i,t.memoizedState)||(Ct=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function q1(){}function K1(e,t){var n=Oe,r=Qt(),s=t(),i=!vn(r.memoizedState,s);if(i&&(r.memoizedState=s,Ct=!0),r=r.queue,rg(J1.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Xe!==null&&Xe.memoizedState.tag&1){if(n.flags|=2048,Xa(9,Y1.bind(null,n,r,s,t),void 0,null),Ze===null)throw Error(D(349));Zs&30||G1(n,t,s)}return s}function G1(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Oe.updateQueue,t===null?(t={lastEffect:null,stores:null},Oe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Y1(e,t,n,r){t.value=n,t.getSnapshot=r,Q1(t)&&X1(e)}function J1(e,t,n){return n(function(){Q1(t)&&X1(e)})}function Q1(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!vn(e,n)}catch{return!0}}function X1(e){var t=tr(e,1);t!==null&&yn(t,e,1,-1)}function Uv(e){var t=Tn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qa,lastRenderedState:e},t.queue=e,e=e.dispatch=hN.bind(null,Oe,e),[t.memoizedState,e]}function Xa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Oe.updateQueue,t===null?(t={lastEffect:null,stores:null},Oe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Z1(){return Qt().memoizedState}function Lc(e,t,n,r){var s=Tn();Oe.flags|=e,s.memoizedState=Xa(1|t,n,void 0,r===void 0?null:r)}
vendor: 4,117 bytes, line 38
38function nd(e,t,n,r){var s=Qt();r=r===void 0?null:r;var i=void 0;if(Ye!==null){var o=Ye.memoizedState;if(i=o.destroy,r!==null&&eg(r,o.deps)){s.memoizedState=Xa(t,n,i,r);return}}Oe.flags|=e,s.memoizedState=Xa(1|t,n,i,r)}function Vv(e,t){return Lc(8390656,8,e,t)}function rg(e,t){return nd(2048,8,e,t)}function ek(e,t){return nd(4,2,e,t)}function tk(e,t){return nd(4,4,e,t)}function nk(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function rk(e,t,n){return n=n!=null?n.concat([e]):null,nd(4,4,nk.bind(null,t,e),n)}function sg(){}function sk(e,t){var n=Qt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&eg(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ik(e,t){var n=Qt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&eg(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ok(e,t,n){return Zs&21?(vn(n,t)||(n=d1(),Oe.lanes|=n,ei|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ct=!0),e.memoizedState=n)}function uN(e,t){var n=ye;ye=n!==0&&4>n?n:4,e(!0);var r=dh.transition;dh.transition={};try{e(!1),t()}finally{ye=n,dh.transition=r}}function ak(){return Qt().memoizedState}function dN(e,t,n){var r=Zr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lk(e))ck(t,n);else if(n=V1(e,t,n,r),n!==null){var s=wt();yn(n,e,r,s),uk(n,t,r)}}function hN(e,t,n){var r=Zr(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lk(e))ck(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,l=i(o,n);if(s.hasEagerState=!0,s.eagerState=l,vn(l,o)){var c=t.interleaved;c===null?(s.next=s,Ym(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=V1(e,t,s,r),n!==null&&(s=wt(),yn(n,e,r,s),uk(n,t,r))}}function lk(e){var t=e.alternate;return e===Oe||t!==null&&t===Oe}function ck(e,t){ja=xu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function uk(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Dm(e,n)}}var bu={readContext:Jt,useCallback:at,useContext:at,useEffect:at,useImperativeHandle:at,useInsertionEffect:at,useLayoutEffect:at,useMemo:at,useReducer:at,useRef:at,useState:at,useDebugValue:at,useDeferredValue:at,useTransition:at,useMutableSource:at,useSyncExternalStore:at,useId:at,unstable_isNewReconciler:!1},fN={readContext:Jt,useCallback:function(e,t){return Tn().memoizedState=[e,t===void 0?null:t],e},useContext:Jt,useEffect:Vv,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Lc(4194308,4,nk.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Lc(4194308,4,e,t)},useInsertionEffect:function(e,t){return Lc(4,2,e,t)},useMemo:function(e,t){var n=Tn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Tn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=dN.bind(null,Oe,e),[r.memoizedState,e]},useRef:function(e){var t=Tn();return e={current:e},t.memoizedState=e},useState:Uv,useDebugValue:sg,useDeferredValue:function(e){return Tn().memoizedState=e},useTransition:function(){var e=Uv(!1),t=e[0];return e=uN.bind(null,e[1]),Tn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Oe,s=Tn();if(_e){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),Ze===null)throw Error(D(349));Zs&30||G1(r,t,n)}s.memoizedState=n;var i={value:n,getSnapshot:t};return s.queue=i,Vv(J1.bind(null,r,i,e),[e]),r.flags|=2048,Xa(9,Y1.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Tn(),t=Ze.identifierPrefix;if(_e){var n=Jn,r=Yn;n=(r&~(1<<32-gn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ja++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=cN++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},pN={readContext:Jt,useCallback:sk,useContext:Jt,useEffect:rg,useImperativeHandle:rk,useInsertionEffect:ek,useLayoutEffect:tk,useMemo:ik,useReducer:hh,useRef
vendor: 4,528 bytes, lines 38-40
38:Z1,useState:function(){return hh(Qa)},useDebugValue:sg,useDeferredValue:function(e){var t=Qt();return ok(t,Ye.memoizedState,e)},useTransition:function(){var e=hh(Qa)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:q1,useSyncExternalStore:K1,useId:ak,unstable_isNewReconciler:!1},mN={readContext:Jt,useCallback:sk,useContext:Jt,useEffect:rg,useImperativeHandle:rk,useInsertionEffect:ek,useLayoutEffect:tk,useMemo:ik,useReducer:fh,useRef:Z1,useState:function(){return fh(Qa)},useDebugValue:sg,useDeferredValue:function(e){var t=Qt();return Ye===null?t.memoizedState=e:ok(t,Ye.memoizedState,e)},useTransition:function(){var e=fh(Qa)[0],t=Qt().memoizedState;return[e,t]},useMutableSource:q1,useSyncExternalStore:K1,useId:ak,unstable_isNewReconciler:!1};function ln(e,t){if(e&&e.defaultProps){t=De({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function zf(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:De({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var rd={isMounted:function(e){return(e=e._reactInternals)?ai(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=wt(),s=Zr(e),i=Qn(r,s);i.payload=t,n!=null&&(i.callback=n),t=Qr(e,i,s),t!==null&&(yn(t,e,s,r),Dc(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=wt(),s=Zr(e),i=Qn(r,s);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Qr(e,i,s),t!==null&&(yn(t,e,s,r),Dc(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=wt(),r=Zr(e),s=Qn(n,r);s.tag=2,t!=null&&(s.callback=t),t=Qr(e,s,r),t!==null&&(yn(t,e,r,n),Dc(t,e,r))}};function Hv(e,t,n,r,s,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!Ha(n,r)||!Ha(s,i):!0}function dk(e,t,n){var r=!1,s=is,i=t.contextType;return typeof i=="object"&&i!==null?i=Jt(i):(s=Et(t)?Qs:ht.current,r=t.contextTypes,i=(r=r!=null)?ko(e,s):is),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=rd,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=i),t}function zv(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&rd.enqueueReplaceState(t,t.state,null)}function qf(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},Jm(e);var i=t.contextType;typeof i=="object"&&i!==null?s.context=Jt(i):(i=Et(t)?Qs:ht.current,s.context=ko(e,i)),s.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(zf(e,t,i,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&rd.enqueueReplaceState(s,s.state,null),vu(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Co(e,t){try{var n="",r=t;do n+=VE(r),r=r.return;while(r);var s=n}catch(i){s=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:s,digest:null}}function ph(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Kf(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var gN=typeof WeakMap=="function"?WeakMap:Map;function hk(e,t,n){n=Qn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Su||(Su=!0,rp=r),Kf(e,t)},n}function fk(e,t,n){n=Qn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){Kf(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Kf(e,t),typeof r!="function"&&(Xr===null?Xr=new Set([this]):Xr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function qv(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new gN;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=NN.bind(null,e,t,n),t.then(e,e))}function Kv(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}
vendor: 10,915 bytes, line 40
40function Gv(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Qn(-1,1),t.tag=2,Qr(n,t,1))),n.lanes|=1),e)}var yN=or.ReactCurrentOwner,Ct=!1;function mt(e,t,n,r){t.child=e===null?U1(t,null,n,r):jo(t,e.child,n,r)}function Yv(e,t,n,r,s){n=n.render;var i=t.ref;return Qi(t,s),r=tg(e,t,n,r,i,s),n=ng(),e!==null&&!Ct?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,nr(e,t,s)):(_e&&n&&Vm(t),t.flags|=1,mt(e,t,r,s),t.child)}function Jv(e,t,n,r,s){if(e===null){var i=n.type;return typeof i=="function"&&!hg(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,pk(e,t,i,r,s)):(e=Wc(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Ha,n(o,r)&&e.ref===t.ref)return nr(e,t,s)}return t.flags|=1,e=es(i,r),e.ref=t.ref,e.return=t,t.child=e}function pk(e,t,n,r,s){if(e!==null){var i=e.memoizedProps;if(Ha(i,r)&&e.ref===t.ref)if(Ct=!1,t.pendingProps=r=i,(e.lanes&s)!==0)e.flags&131072&&(Ct=!0);else return t.lanes=e.lanes,nr(e,t,s)}return Gf(e,t,n,r,s)}function mk(e,t,n){var r=t.pendingProps,s=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},xe(Wi,Pt),Pt|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,xe(Wi,Pt),Pt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,xe(Wi,Pt),Pt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,xe(Wi,Pt),Pt|=r;return mt(e,t,s,n),t.child}function gk(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Gf(e,t,n,r,s){var i=Et(n)?Qs:ht.current;return i=ko(t,i),Qi(t,s),n=tg(e,t,n,r,i,s),r=ng(),e!==null&&!Ct?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,nr(e,t,s)):(_e&&r&&Vm(t),t.flags|=1,mt(e,t,n,s),t.child)}function Qv(e,t,n,r,s){if(Et(n)){var i=!0;fu(t)}else i=!1;if(Qi(t,s),t.stateNode===null)$c(e,t),dk(t,n,r),qf(t,n,r,s),r=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var c=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Jt(u):(u=Et(n)?Qs:ht.current,u=ko(t,u));var d=n.getDerivedStateFromProps,h=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";h||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==r||c!==u)&&zv(t,o,r,u),_r=!1;var f=t.memoizedState;o.state=f,vu(t,r,o,s),c=t.memoizedState,l!==r||f!==c||_t.current||_r?(typeof d=="function"&&(zf(t,n,d,r),c=t.memoizedState),(l=_r||Hv(t,n,l,r,f,c,u))?(h||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=u,r=l):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,H1(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ln(t.type,l),o.props=u,h=t.pendingProps,f=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=Jt(c):(c=Et(n)?Qs:ht.current,c=ko(t,c));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==h||f!==c)&&zv(t,o,r,c),_r=!1,f=t.memoizedState,o.state=f,vu(t,r,o,s);var x=t.memoizedState;l!==h||f!==x||_t.current||_r?(typeof p=="function"&&(zf(t,n,p,r),x=t.memoizedState),(u=_r||Hv(t,n,u,r,f,x,c)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,x,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,x,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),o.props=r,o.state=x,o.context=c,r=u):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Yf(e,t,n,r,i,s)}function Yf(e,t,n,r,s,i){gk(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return s&&Mv(t,n,!1),nr(e,t,i);r=t.stateNode,yN.current=t;var l=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=jo(t,e.child,null,i),t.child=jo(t,null,l,i)):mt(e,t,l,i),t.memoizedState=r.state,s&&Mv(t,n,!0),t.child}function yk(e){var t=e.stateNode;t.pendingContext?Dv(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Dv(e,t.context,!1),Qm(e,t.containerInfo)}function Xv(e,t,n,r,s){return So(),zm(s),t.flags|=256,mt(e,t,n,r),t.child}var Jf={dehydrated:null,treeContext:null,retryLane:0};function Qf(e){return{baseLanes:e,cachePool:null,transitions:null}}function vk(e,t,n){var r=t.pendingProps,s=Re.current,i=!1,o=(t.flags&128)!==0,l;if((l=o)||(l=e!==null&&e.memoizedState===null?!1:(s&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),xe(Re,s&1),e===null)return Vf(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=od(o,r,0,null),e=zs(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Qf(n),t.memoizedState=Jf,e):ig(t,o));if(s=e.memoizedState,s!==null&&(l=s.dehydrated,l!==null))return vN(e,t,o,r,l,s,n);if(i){i=r.fallback,o=t.mode,s=e.child,l=s.sibling;var c={mode:"hidden",children:r.children};return!(o&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=es(s,c),r.subtreeFlags=s.subtreeFlags&14680064),l!==null?i=es(l,i):(i=zs(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?Qf(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Jf,r}return i=e.child,e=i.sibling,r=es(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ig(e,t){return t=od({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ic(e,t,n,r){return r!==null&&zm(r),jo(t,e.child,null,n),e=ig(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function vN(e,t,n,r,s,i,o){if(n)return t.flags&256?(t.flags&=-257,r=ph(Error(D(422))),ic(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,s=t.mode,r=od({mode:"visible",children:r.children},s,0,null),i=zs(i,s,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&jo(t,e.child,null,o),t.child.memoizedState=Qf(o),t.memoizedState=Jf,i);if(!(t.mode&1))return ic(e,t,o,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(D(419)),r=ph(i,r,void 0),ic(e,t,o,r)}if(l=(o&e.childLanes)!==0,Ct||l){if(r=Ze,r!==null){switch(o&-o){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|o)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,tr(e,s),yn(r,e,s,-1))}return dg(),r=ph(Error(D(421))),ic(e,t,o,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=PN.bind(null,e),s._reactRetry=t,null):(e=i.treeContext,It=Jr(s.nextSibling),Ot=t,_e=!0,pn=null,e!==null&&(Ht[zt++]=Yn,Ht[zt++]=Jn,Ht[zt++]=Xs,Yn=e.id,Jn=e.overflow,Xs=t),t=ig(t,r.children),t.flags|=4096,t)}function Zv(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Hf(e.return,t,n)}function mh(e,t,n,r,s){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=s)}function wk(e,t,n){var r=t.pendingProps,s=r.revealOrder,i=r.tail;if(mt(e,t,r.children,n),r=Re.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Zv(e,n,t);else if(e.tag===19)Zv(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(xe(Re,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&wu(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),mh(t,!1,s,n,i);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&wu(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}mh(t,!0,n,null,i);break;case"together":mh(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function $c(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function nr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ei|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(D(153));if(t.child!==null){for(e=t.child,n=es(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=es(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function wN(e,t,n){switch(t.tag){case 3:yk(t),So();break;case 5:z1(t);break;case 1:Et(t.type)&&fu(t);break;case 4:Qm(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;xe(gu,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(xe(Re,Re.current&1),t.flags|=128,null):n&t.child.childLanes?vk(e,t,n):(xe(Re,Re.current&1),e=nr(e,t,n),e!==null?e.sibling:null);xe(Re,Re.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return wk(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),xe(Re,Re.current),r)break;return null;
vendor: 4,597 bytes, line 40
40case 22:case 23:return t.lanes=0,mk(e,t,n)}return nr(e,t,n)}var xk,Xf,bk,kk;xk=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Xf=function(){};bk=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,Ns(In.current);var i=null;switch(n){case"input":s=xf(e,s),r=xf(e,r),i=[];break;case"select":s=De({},s,{value:void 0}),r=De({},r,{value:void 0}),i=[];break;case"textarea":s=Sf(e,s),r=Sf(e,r),i=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=du)}Tf(n,r);var o;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var l=s[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(La.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(l=s!=null?s[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(i=i||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(La.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&ke("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};kk=function(e,t,n,r){n!==r&&(t.flags|=4)};function ra(e,t){if(!_e)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function lt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function xN(e,t,n){var r=t.pendingProps;switch(Hm(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lt(t),null;case 1:return Et(t.type)&&hu(),lt(t),null;case 3:return r=t.stateNode,To(),Se(_t),Se(ht),Zm(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(rc(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,pn!==null&&(op(pn),pn=null))),Xf(e,t),lt(t),null;case 5:Xm(t);var s=Ns(Ya.current);if(n=t.type,e!==null&&t.stateNode!=null)bk(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return lt(t),null}if(e=Ns(In.current),rc(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[An]=t,r[Ka]=i,e=(t.mode&1)!==0,n){case"dialog":ke("cancel",r),ke("close",r);break;case"iframe":case"object":case"embed":ke("load",r);break;case"video":case"audio":for(s=0;s<pa.length;s++)ke(pa[s],r);break;case"source":ke("error",r);break;case"img":case"image":case"link":ke("error",r),ke("load",r);break;case"details":ke("toggle",r);break;case"input":lv(r,i),ke("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ke("invalid",r);break;case"textarea":uv(r,i),ke("invalid",r)}Tf(n,i),s=null;for(var o in i)if(i.hasOwnProperty(o)){var l=i[o];o==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&nc(r.textContent,l,e),s=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&nc(r.textContent,l,e),s=["children",""+l]):La.hasOwnProperty(o)&&l!=null&&o==="onScroll"&&ke("scroll",r)}switch(n){case"input":Gl(r),cv(r,i,!0);break;case"textarea":Gl(r),dv(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=du)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Jb(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[An]=t,e[Ka]=r,xk(e,t,!1,!1),t.stateNode=e;e:{switch(o=Cf(n,r),n){case"dialog":ke("cancel",e),ke("close",e),s=r;break;case"iframe":case"object":case"embed":ke("load",e),s=r;break;case"video":case"audio":for(s=0;s<pa.length;s++)ke(pa[s],e);s=r;break;case"source":ke("error",e),s=r;break;case"img":case"image":case"link":ke("error",e),ke("load",e),s=r;break;case"details":ke("toggle",e),s=r;break;case"input":lv(e,r),s=xf(e,r),ke("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=De({},r,{value:void 0}),ke("invalid",e);break;case"textarea":uv(e,r),s=Sf(e,r),ke("invalid",e);break;default:s=r}Tf(n,s),l=s;for(i in l)if(l.hasOwnProperty(i)){var c=l[i];i==="style"?Zb(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Qb(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&$a(e,c):typeof c=="number"&&$a(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(La.hasOwnProperty(i)?c!=null&&i==="onScroll"&&ke("scroll",e):c!=null&&Am(e,i,c,o))}switch(n){case"input":Gl(e),cv(e,r,!1);break;case"textarea":Gl(e),dv(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ss(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Ki(e,!!r.multiple,i,!1):r.defaultValue!=null&&Ki(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=du)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return lt(t),null;case 6:if(e&&t.stateNode!=null)kk(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=Ns(Ya.current),Ns(In.current),rc(t)){if(r=t.stateNode,n=t.memoizedProps,r[An]=t,(i=r.nodeValue!==n)&&(e=Ot,e!==null))switch(e.tag){case 3:nc(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&nc(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[An]=t,t.stateNode=r}return lt(t),null;case 13:if(Se(Re),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(_e&&It!==null&&t.mode&1&&!(t.flags&128))B1(),So(),t.flags|=98560,i=!1;else if(i=rc(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(D(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(D(317));i[An]=t}else So(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;lt(t),i=!1}else pn!==null&&(op(pn),pn=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Re.current&1?Qe===0&&(Qe=3):dg())),t.updateQueue!==null&&(t.flags|=4),lt(t),null);case 4:return To(),Xf(e,t),e===null&&za(t.stateNode.containerInfo),lt(t),null;case 10:return Gm(t.type._context),lt(t),null;case 17:return Et(t.type)&&hu(),lt(t),null;case 19:if(Se(Re),i=t.memoizedState,i===null)return lt(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)ra(i,!1);else{if(Qe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=wu(e),o!==null){for(t.flags|=128,ra(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return xe(Re,Re.current&1|2),t.child}e=e.sibling}i.tail!==null&&We()>_o&&(t.flags|=128,r=!0,ra(i,!1),t.lanes=4194304)}else{if(!r)if(e=wu(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ra(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!_e)return lt(t),null}else 2*We()-i.renderingStartTime>_o&&n!==1073741824&&(t.flags|=128,r=!0,ra(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=We(),t.sibling=null,n=Re.current,xe(Re,r?n&1|2:n&1),t):(lt(t),null);case 22:case 23:return ug(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Pt&1073741824&&(lt(t),t.subtreeFlags&6&&(t.flags|=8192)):lt(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function bN(e,t){switch(Hm(t),t.tag){case 1:return Et(t.type)&&hu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 26,684 bytes, line 40
40case 3:return To(),Se(_t),Se(ht),Zm(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Xm(t),null;case 13:if(Se(Re),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));So()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Se(Re),null;case 4:return To(),null;case 10:return Gm(t.type._context),null;case 22:case 23:return ug(),null;case 24:return null;default:return null}}var oc=!1,ut=!1,kN=typeof WeakSet=="function"?WeakSet:Set,U=null;function Bi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Fe(e,t,r)}else n.current=null}function Zf(e,t,n){try{n()}catch(r){Fe(e,t,r)}}var ew=!1;function SN(e,t){if(Mf=lu,e=_1(),Um(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,l=-1,c=-1,u=0,d=0,h=e,f=null;t:for(;;){for(var p;h!==n||s!==0&&h.nodeType!==3||(l=o+s),h!==i||r!==0&&h.nodeType!==3||(c=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(p=h.firstChild)!==null;)f=h,h=p;for(;;){if(h===e)break t;if(f===n&&++u===s&&(l=o),f===i&&++d===r&&(c=o),(p=h.nextSibling)!==null)break;h=f,f=h.parentNode}h=p}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Lf={focusedElem:e,selectionRange:n},lu=!1,U=t;U!==null;)if(t=U,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,U=e;else for(;U!==null;){t=U;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var m=x.memoizedProps,v=x.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:ln(t.type,m),v);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(k){Fe(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,U=e;break}U=t.return}return x=ew,ew=!1,x}function Ta(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&Zf(t,n,i)}s=s.next}while(s!==r)}}function sd(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ep(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Sk(e){var t=e.alternate;t!==null&&(e.alternate=null,Sk(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[An],delete t[Ka],delete t[Bf],delete t[iN],delete t[oN])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function jk(e){return e.tag===5||e.tag===3||e.tag===4}function tw(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jk(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function tp(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=du));else if(r!==4&&(e=e.child,e!==null))for(tp(e,t,n),e=e.sibling;e!==null;)tp(e,t,n),e=e.sibling}function np(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(np(e,t,n),e=e.sibling;e!==null;)np(e,t,n),e=e.sibling}var nt=null,dn=!1;function wr(e,t,n){for(n=n.child;n!==null;)Tk(e,t,n),n=n.sibling}function Tk(e,t,n){if(Rn&&typeof Rn.onCommitFiberUnmount=="function")try{Rn.onCommitFiberUnmount(Ju,n)}catch{}switch(n.tag){case 5:ut||Bi(n,t);case 6:var r=nt,s=dn;nt=null,wr(e,t,n),nt=r,dn=s,nt!==null&&(dn?(e=nt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):nt.removeChild(n.stateNode));break;case 18:nt!==null&&(dn?(e=nt,n=n.stateNode,e.nodeType===8?lh(e.parentNode,n):e.nodeType===1&&lh(e,n),Ua(e)):lh(nt,n.stateNode));break;case 4:r=nt,s=dn,nt=n.stateNode.containerInfo,dn=!0,wr(e,t,n),nt=r,dn=s;break;case 0:case 11:case 14:case 15:if(!ut&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var i=s,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Zf(n,t,o),s=s.next}while(s!==r)}wr(e,t,n);break;case 1:if(!ut&&(Bi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Fe(n,t,l)}wr(e,t,n);break;case 21:wr(e,t,n);break;case 22:n.mode&1?(ut=(r=ut)||n.memoizedState!==null,wr(e,t,n),ut=r):wr(e,t,n);break;default:wr(e,t,n)}}function nw(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new kN),t.forEach(function(r){var s=RN.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function nn(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var i=e,o=t,l=o;e:for(;l!==null;){switch(l.tag){case 5:nt=l.stateNode,dn=!1;break e;case 3:nt=l.stateNode.containerInfo,dn=!0;break e;case 4:nt=l.stateNode.containerInfo,dn=!0;break e}l=l.return}if(nt===null)throw Error(D(160));Tk(i,o,s),nt=null,dn=!1;var c=s.alternate;c!==null&&(c.return=null),s.return=null}catch(u){Fe(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ck(t,e),t=t.sibling}function Ck(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(nn(t,e),jn(e),r&4){try{Ta(3,e,e.return),sd(3,e)}catch(m){Fe(e,e.return,m)}try{Ta(5,e,e.return)}catch(m){Fe(e,e.return,m)}}break;case 1:nn(t,e),jn(e),r&512&&n!==null&&Bi(n,n.return);break;case 5:if(nn(t,e),jn(e),r&512&&n!==null&&Bi(n,n.return),e.flags&32){var s=e.stateNode;try{$a(s,"")}catch(m){Fe(e,e.return,m)}}if(r&4&&(s=e.stateNode,s!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&Gb(s,i),Cf(l,o);var u=Cf(l,i);for(o=0;o<c.length;o+=2){var d=c[o],h=c[o+1];d==="style"?Zb(s,h):d==="dangerouslySetInnerHTML"?Qb(s,h):d==="children"?$a(s,h):Am(s,d,h,u)}switch(l){case"input":bf(s,i);break;case"textarea":Yb(s,i);break;case"select":var f=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?Ki(s,!!i.multiple,p,!1):f!==!!i.multiple&&(i.defaultValue!=null?Ki(s,!!i.multiple,i.defaultValue,!0):Ki(s,!!i.multiple,i.multiple?[]:"",!1))}s[Ka]=i}catch(m){Fe(e,e.return,m)}}break;case 6:if(nn(t,e),jn(e),r&4){if(e.stateNode===null)throw Error(D(162));s=e.stateNode,i=e.memoizedProps;try{s.nodeValue=i}catch(m){Fe(e,e.return,m)}}break;case 3:if(nn(t,e),jn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ua(t.containerInfo)}catch(m){Fe(e,e.return,m)}break;case 4:nn(t,e),jn(e);break;case 13:nn(t,e),jn(e),s=e.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(lg=We())),r&4&&nw(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(ut=(u=ut)||d,nn(t,e),ut=u):nn(t,e),jn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(U=e,d=e.child;d!==null;){for(h=U=d;U!==null;){switch(f=U,p=f.child,f.tag){case 0:case 11:case 14:case 15:Ta(4,f,f.return);break;case 1:Bi(f,f.return);var x=f.stateNode;if(typeof x.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(m){Fe(r,n,m)}}break;case 5:Bi(f,f.return);break;case 22:if(f.memoizedState!==null){sw(h);continue}}p!==null?(p.return=f,U=p):sw(h)}d=d.sibling}e:for(d=null,h=e;;){if(h.tag===5){if(d===null){d=h;try{s=h.stateNode,u?(i=s.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=h.stateNode,c=h.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=Xb("display",o))}catch(m){Fe(e,e.return,m)}}}else if(h.tag===6){if(d===null)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(m){Fe(e,e.return,m)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:nn(t,e),jn(e),r&4&&nw(e);break;case 21:break;default:nn(t,e),jn(e)}}function jn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(jk(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&($a(s,""),r.flags&=-33);var i=tw(e);np(e,i,s);break;case 3:case 4:var o=r.stateNode.containerInfo,l=tw(e);tp(e,l,o);break;default:throw Error(D(161))}}catch(c){Fe(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function jN(e,t,n){U=e,_k(e)}function _k(e,t,n){for(var r=(e.mode&1)!==0;U!==null;){var s=U,i=s.child;if(s.tag===22&&r){var o=s.memoizedState!==null||oc;if(!o){var l=s.alternate,c=l!==null&&l.memoizedState!==null||ut;l=oc;var u=ut;if(oc=o,(ut=c)&&!u)for(U=s;U!==null;)o=U,c=o.child,o.tag===22&&o.memoizedState!==null?iw(s):c!==null?(c.return=o,U=c):iw(s);for(;i!==null;)U=i,_k(i),i=i.sibling;U=s,oc=l,ut=u}rw(e)}else s.subtreeFlags&8772&&i!==null?(i.return=s,U=i):rw(e)}}function rw(e){for(;U!==null;){var t=U;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ut||sd(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ut)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:ln(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Wv(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Wv(t,o,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var h=d.dehydrated;h!==null&&Ua(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}ut||t.flags&512&&ep(t)}catch(f){Fe(t,t.return,f)}}if(t===e){U=null;break}if(n=t.sibling,n!==null){n.return=t.return,U=n;break}U=t.return}}function sw(e){for(;U!==null;){var t=U;if(t===e){U=null;break}var n=t.sibling;if(n!==null){n.return=t.return,U=n;break}U=t.return}}function iw(e){for(;U!==null;){var t=U;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{sd(4,t)}catch(c){Fe(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(c){Fe(t,s,c)}}var i=t.return;try{ep(t)}catch(c){Fe(t,i,c)}break;case 5:var o=t.return;try{ep(t)}catch(c){Fe(t,o,c)}}}catch(c){Fe(t,t.return,c)}if(t===e){U=null;break}var l=t.sibling;if(l!==null){l.return=t.return,U=l;break}U=t.return}}var TN=Math.ceil,ku=or.ReactCurrentDispatcher,og=or.ReactCurrentOwner,Gt=or.ReactCurrentBatchConfig,he=0,Ze=null,qe=null,st=0,Pt=0,Wi=ds(0),Qe=0,Za=null,ei=0,id=0,ag=0,Ca=null,Tt=null,lg=0,_o=1/0,Hn=null,Su=!1,rp=null,Xr=null,ac=!1,Hr=null,ju=0,_a=0,sp=null,Fc=-1,Bc=0;function wt(){return he&6?We():Fc!==-1?Fc:Fc=We()}function Zr(e){return e.mode&1?he&2&&st!==0?st&-st:lN.transition!==null?(Bc===0&&(Bc=d1()),Bc):(e=ye,e!==0||(e=window.event,e=e===void 0?16:v1(e.type)),e):1}function yn(e,t,n,r){if(50<_a)throw _a=0,sp=null,Error(D(185));Tl(e,n,r),(!(he&2)||e!==Ze)&&(e===Ze&&(!(he&2)&&(id|=n),Qe===4&&Pr(e,st)),At(e,r),n===1&&he===0&&!(t.mode&1)&&(_o=We()+500,td&&hs()))}function At(e,t){var n=e.callbackNode;lA(e,t);var r=au(e,e===Ze?st:0);if(r===0)n!==null&&pv(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&pv(n),t===1)e.tag===0?aN(ow.bind(null,e)):L1(ow.bind(null,e)),rN(function(){!(he&6)&&hs()}),n=null;else{switch(h1(r)){case 1:n=Om;break;case 4:n=c1;break;case 16:n=ou;break;case 536870912:n=u1;break;default:n=ou}n=Dk(n,Ek.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ek(e,t){if(Fc=-1,Bc=0,he&6)throw Error(D(327));var n=e.callbackNode;if(Xi()&&e.callbackNode!==n)return null;var r=au(e,e===Ze?st:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Tu(e,r);else{t=r;var s=he;he|=2;var i=Nk();(Ze!==e||st!==t)&&(Hn=null,_o=We()+500,Hs(e,t));do try{EN();break}catch(l){Ak(e,l)}while(!0);Km(),ku.current=i,he=s,qe!==null?t=0:(Ze=null,st=0,t=Qe)}if(t!==0){if(t===2&&(s=Pf(e),s!==0&&(r=s,t=ip(e,s))),t===1)throw n=Za,Hs(e,0),Pr(e,r),At(e,We()),n;if(t===6)Pr(e,r);else{if(s=e.current.alternate,!(r&30)&&!CN(s)&&(t=Tu(e,r),t===2&&(i=Pf(e),i!==0&&(r=i,t=ip(e,i))),t===1))throw n=Za,Hs(e,0),Pr(e,r),At(e,We()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:ks(e,Tt,Hn);break;case 3:if(Pr(e,r),(r&130023424)===r&&(t=lg+500-We(),10<t)){if(au(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){wt(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=Ff(ks.bind(null,e,Tt,Hn),t);break}ks(e,Tt,Hn);break;case 4:if(Pr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var o=31-gn(r);i=1<<o,o=t[o],o>s&&(s=o),r&=~i}if(r=s,r=We()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*TN(r/1960))-r,10<r){e.timeoutHandle=Ff(ks.bind(null,e,Tt,Hn),r);break}ks(e,Tt,Hn);break;case 5:ks(e,Tt,Hn);break;default:throw Error(D(329))}}}return At(e,We()),e.callbackNode===n?Ek.bind(null,e):null}function ip(e,t){var n=Ca;return e.current.memoizedState.isDehydrated&&(Hs(e,t).flags|=256),e=Tu(e,t),e!==2&&(t=Tt,Tt=n,t!==null&&op(t)),e}function op(e){Tt===null?Tt=e:Tt.push.apply(Tt,e)}function CN(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var s=n[r],i=s.getSnapshot;s=s.value;try{if(!vn(i(),s))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Pr(e,t){for(t&=~ag,t&=~id,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-gn(t),r=1<<n;e[n]=-1,t&=~r}}function ow(e){if(he&6)throw Error(D(327));Xi();var t=au(e,0);if(!(t&1))return At(e,We()),null;var n=Tu(e,t);if(e.tag!==0&&n===2){var r=Pf(e);r!==0&&(t=r,n=ip(e,r))}if(n===1)throw n=Za,Hs(e,0),Pr(e,t),At(e,We()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ks(e,Tt,Hn),At(e,We()),null}function cg(e,t){var n=he;he|=1;try{return e(t)}finally{he=n,he===0&&(_o=We()+500,td&&hs())}}function ti(e){Hr!==null&&Hr.tag===0&&!(he&6)&&Xi();var t=he;he|=1;var n=Gt.transition,r=ye;try{if(Gt.transition=null,ye=1,e)return e()}finally{ye=r,Gt.transition=n,he=t,!(he&6)&&hs()}}function ug(){Pt=Wi.current,Se(Wi)}function Hs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,nN(n)),qe!==null)for(n=qe.return;n!==null;){var r=n;switch(Hm(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&hu();break;case 3:To(),Se(_t),Se(ht),Zm();break;case 5:Xm(r);break;case 4:To();break;case 13:Se(Re);break;case 19:Se(Re);break;case 10:Gm(r.type._context);break;case 22:case 23:ug()}n=n.return}if(Ze=e,qe=e=es(e.current,null),st=Pt=t,Qe=0,Za=null,ag=id=ei=0,Tt=Ca=null,As!==null){for(t=0;t<As.length;t++)if(n=As[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=s,r.next=o}n.pending=r}As=null}return e}function Ak(e,t){do{var n=qe;try{if(Km(),Mc.current=bu,xu){for(var r=Oe.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}xu=!1}if(Zs=0,Xe=Ye=Oe=null,ja=!1,Ja=0,og.current=null,n===null||n.return===null){Qe=1,Za=t,qe=null;break}e:{var i=e,o=n.return,l=n,c=t;if(t=st,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=l,h=d.tag;if(!(d.mode&1)&&(h===0||h===11||h===15)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=Kv(o);if(p!==null){p.flags&=-257,Gv(p,o,l,i,t),p.mode&1&&qv(i,u,t),t=p,c=u;var x=t.updateQueue;if(x===null){var m=new Set;m.add(c),t.updateQueue=m}else x.add(c);break e}else{if(!(t&1)){qv(i,u,t),dg();break e}c=Error(D(426))}}else if(_e&&l.mode&1){var v=Kv(o);if(v!==null){!(v.flags&65536)&&(v.flags|=256),Gv(v,o,l,i,t),zm(Co(c,l));break e}}i=c=Co(c,l),Qe!==4&&(Qe=2),Ca===null?Ca=[i]:Ca.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=hk(i,c,t);Bv(i,g);break e;case 1:l=c;var y=i.type,b=i.stateNode;if(!(i.flags&128)&&(typeof y.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(Xr===null||!Xr.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t;var k=fk(i,l,t);Bv(i,k);break e}}i=i.return}while(i!==null)}Rk(n)}catch(S){t=S,qe===n&&n!==null&&(qe=n=n.return);continue}break}while(!0)}function Nk(){var e=ku.current;return ku.current=bu,e===null?bu:e}function dg(){(Qe===0||Qe===3||Qe===2)&&(Qe=4),Ze===null||!(ei&268435455)&&!(id&268435455)||Pr(Ze,st)}function Tu(e,t){var n=he;he|=2;var r=Nk();(Ze!==e||st!==t)&&(Hn=null,Hs(e,t));do try{_N();break}catch(s){Ak(e,s)}while(!0);if(Km(),he=n,ku.current=r,qe!==null)throw Error(D(261));return Ze=null,st=0,Qe}function _N(){for(;qe!==null;)Pk(qe)}function EN(){for(;qe!==null&&!ZE();)Pk(qe)}function Pk(e){var t=Ok(e.alternate,e,Pt);e.memoizedProps=e.pendingProps,t===null?Rk(e):qe=t,og.current=null}function Rk(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=bN(n,t),n!==null){n.flags&=32767,qe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Qe=6,qe=null;return}}else if(n=xN(n,t,Pt),n!==null){qe=n;return}if(t=t.sibling,t!==null){qe=t;return}qe=t=e}while(t!==null);Qe===0&&(Qe=5)}function ks(e,t,n){var r=ye,s=Gt.transition;try{Gt.transition=null,ye=1,AN(e,t,n,r)}finally{Gt.transition=s,ye=r}return null}function AN(e,t,n,r){do Xi();while(Hr!==null);if(he&6)throw Error(D(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(D(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(cA(e,i),e===Ze&&(qe=Ze=null,st=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ac||(ac=!0,Dk(ou,function(){return Xi(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Gt.transition,Gt.transition=null;var o=ye;ye=1;var l=he;he|=4,og.current=null,SN(e,n),Ck(n,e),YA(Lf),lu=!!Mf,Lf=Mf=null,e.current=n,jN(n),eA(),he=l,ye=o,Gt.transition=i}else e.current=n;if(ac&&(ac=!1,Hr=e,ju=s),i=e.pendingLanes,i===0&&(Xr=null),rA(n.stateNode),At(e,We()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(Su)throw Su=!1,e=rp,rp=null,e;return ju&1&&e.tag!==0&&Xi(),i=e.pendingLanes,i&1?e===sp?_a++:(_a=0,sp=e):_a=0,hs(),null}function Xi(){if(Hr!==null){var e=h1(ju),t=Gt.transition,n=ye;try{if(Gt.transition=null,ye=16>e?16:e,Hr===null)var r=!1;else{if(e=Hr,Hr=null,ju=0,he&6)throw Error(D(331));var s=he;for(he|=4,U=e.current;U!==null;){var i=U,o=i.child;if(U.flags&16){var l=i.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(U=u;U!==null;){var d=U;switch(d.tag){case 0:case 11:case 15:Ta(8,d,i)}var h=d.child;if(h!==null)h.return=d,U=h;else for(;U!==null;){d=U;var f=d.sibling,p=d.return;if(Sk(d),d===u){U=null;break}if(f!==null){f.return=p,U=f;break}U=p}}}var x=i.alternate;if(x!==null){var m=x.child;if(m!==null){x.child=null;do{var v=m.sibling;m.sibling=null,m=v}while(m!==null)}}U=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,U=o;else e:for(;U!==null;){if(i=U,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Ta(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,U=g;break e}U=i.return}}var y=e.current;for(U=y;U!==null;){o=U;var b=o.child;if(o.subtreeFlags&2064&&b!==null)b.return=o,U=b;else e:for(o=y;U!==null;){if(l=U,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:sd(9,l)}}catch(S){Fe(l,l.return,S)}if(l===o){U=null;break e}var k=l.sibling;if(k!==null){k.return=l.return,U=k;break e}U=l.return}}if(he=s,hs(),Rn&&typeof Rn.onPostCommitFiberRoot=="function")try{Rn.onPostCommitFiberRoot(Ju,e)}catch{}r=!0}return r}finally{ye=n,Gt.transition=t}}return!1}function aw(e,t,n){t=Co(n,t),t=hk(e,t,1),e=Qr(e,t,1),t=wt(),e!==null&&(Tl(e,1,t),At(e,t))}function Fe(e,t,n){if(e.tag===3)aw(e,e,n);else for(;t!==null;){if(t.tag===3){aw(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Xr===null||!Xr.has(r))){e=Co(n,e),e=fk(t,e,1),t=Qr(t,e,1),e=wt(),t!==null&&(Tl(t,1,e),At(t,e));break}}t=t.return}}function NN(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=wt(),e.pingedLanes|=e.suspendedLanes&n,Ze===e&&(st&n)===n&&(Qe===4||Qe===3&&(st&130023424)===st&&500>We()-lg?Hs(e,0):ag|=n),At(e,t)}function Ik(e,t){t===0&&(e.mode&1?(t=Ql,Ql<<=1,!(Ql&130023424)&&(Ql=4194304)):t=1);var n=wt();e=tr(e,t),e!==null&&(Tl(e,t,n),At(e,n))}function PN(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ik(e,n)}function RN(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(D(314))}r!==null&&r.delete(t),Ik(e,n)}var Ok;Ok=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||_t.current)Ct=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ct=!1,wN(e,t,n);Ct=!!(e.flags&131072)}else Ct=!1,_e&&t.flags&1048576&&$1(t,mu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$c(e,t),e=t.pendingProps;var s=ko(t,ht.current);Qi(t,n),s=tg(null,t,r,e,s,n);var i=ng();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Et(r)?(i=!0,fu(t)):i=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Jm(t),s.updater=rd,t.stateNode=s,s._reactInternals=t,qf(t,r,e,n),t=Yf(null,t,r,!0,i,n)):(t.tag=0,_e&&i&&Vm(t),mt(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch($c(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=ON(r),e=ln(r,e),s){case 0:t=Gf(null,t,r,e,n);break e;case 1:t=Qv(null,t,r,e,n);break e;case 11:t=Yv(null,t,r,e,n);break e;case 14:t=Jv(null,t,r,ln(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:ln(r,s),Gf(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:ln(r,s),Qv(e,t,r,s,n);case 3:e:{if(yk(t),e===null)throw Error(D(387));r=t.pendingProps,i=t.memoizedState,s=i.element,H1(e,t),vu(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){s=Co(Error(D(423)),t),t=Xv(e,t,r,n,s);break e}else if(r!==s){s=Co(Error(D(424)),t),t=Xv(e,t,r,n,s);break e}else for(It=Jr(t.stateNode.containerInfo.firstChild),Ot=t,_e=!0,pn=null,n=U1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(So(),r===s){t=nr(e,t,n);break e}mt(e,t,r,n)}t=t.child}return t;case 5:return z1(t),e===null&&Vf(t),r=t.type,s=t.pendingProps,i=e!==null?e.memoizedProps:null,o=s.children,$f(r,s)?o=null:i!==null&&$f(r,i)&&(t.flags|=32),gk(e,t),mt(e,t,o,n),t.child;case 6:return e===null&&Vf(t),null;case 13:return vk(e,t,n);case 4:return Qm(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=jo(t,null,r,n):mt(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:ln(r,s),Yv(e,t,r,s,n);case 7:return mt(e,t,t.pendingProps,n),t.child;case 8:return mt(e,t,t.pendingProps.children,n),t.child;case 12:return mt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,i=t.memoizedProps,o=s.value,xe(gu,r._currentValue),r._currentValue=o,i!==null)if(vn(i.value,o)){if(i.children===s.children&&!_t.current){t=nr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){o=i.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Qn(-1,n&-n),c.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),Hf(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(D(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Hf(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}mt(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,Qi(t,n),s=Jt(s),r=r(s),t.flags|=1,mt(e,t,r,n),t.child;case 14:return r=t.type,s=ln(r,t.pendingProps),s=ln(r.type,s),Jv(e,t,r,s,n);case 15:return pk(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:ln(r,s),$c(e,t),t.tag=1,Et(r)?(e=!0,fu(t)):e=!1,Qi(t,n),dk(t,r,s),qf(t,r,s,n),Yf(null,t,r,!0,e,n);case 19:return wk(e,t,n);case 22:return mk(e,t,n)}throw Error(D(156,t.tag))};function Dk(e,t){return l1(e,t)}function IN(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qt(e,t,n,r){return new IN(e,t,n,r)}function hg(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ON(e){if(typeof e=="function")return hg(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Pm)return 11;if(e===Rm)return 14}return 2}function es(e,t){var n=e.alternate;return n===null?(n=qt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deleti
vendor: 4,322 bytes, line 40
40ons=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wc(e,t,n,r,s,i){var o=2;if(r=e,typeof e=="function")hg(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Pi:return zs(n.children,s,i,t);case Nm:o=8,s|=8;break;case gf:return e=qt(12,n,t,s|2),e.elementType=gf,e.lanes=i,e;case yf:return e=qt(13,n,t,s),e.elementType=yf,e.lanes=i,e;case vf:return e=qt(19,n,t,s),e.elementType=vf,e.lanes=i,e;case zb:return od(n,s,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Vb:o=10;break e;case Hb:o=9;break e;case Pm:o=11;break e;case Rm:o=14;break e;case Cr:o=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=qt(o,n,t,s),t.elementType=e,t.type=r,t.lanes=i,t}function zs(e,t,n,r){return e=qt(7,e,r,t),e.lanes=n,e}function od(e,t,n,r){return e=qt(22,e,r,t),e.elementType=zb,e.lanes=n,e.stateNode={isHidden:!1},e}function gh(e,t,n){return e=qt(6,e,null,t),e.lanes=n,e}function yh(e,t,n){return t=qt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function DN(e,t,n,r,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Qd(0),this.expirationTimes=Qd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qd(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function fg(e,t,n,r,s,i,o,l,c){return e=new DN(e,t,n,l,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=qt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Jm(i),e}function MN(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ni,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Mk(e){if(!e)return is;e=e._reactInternals;e:{if(ai(e)!==e||e.tag!==1)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Et(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(D(171))}if(e.tag===1){var n=e.type;if(Et(n))return M1(e,n,t)}return t}function Lk(e,t,n,r,s,i,o,l,c){return e=fg(n,r,!0,e,s,i,o,l,c),e.context=Mk(null),n=e.current,r=wt(),s=Zr(n),i=Qn(r,s),i.callback=t??null,Qr(n,i,s),e.current.lanes=s,Tl(e,s,r),At(e,r),e}function ad(e,t,n,r){var s=t.current,i=wt(),o=Zr(s);return n=Mk(n),t.context===null?t.context=n:t.pendingContext=n,t=Qn(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Qr(s,t,o),e!==null&&(yn(e,s,o,i),Dc(e,s,o)),o}function Cu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function lw(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function pg(e,t){lw(e,t),(e=e.alternate)&&lw(e,t)}function LN(){return null}var $k=typeof reportError=="function"?reportError:function(e){console.error(e)};function mg(e){this._internalRoot=e}ld.prototype.render=mg.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));ad(e,t,null,null)};ld.prototype.unmount=mg.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ti(function(){ad(null,e,null,null)}),t[er]=null}};function ld(e){this._internalRoot=e}ld.prototype.unstable_scheduleHydration=function(e){if(e){var t=m1();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nr.length&&t!==0&&t<Nr[n].priority;n++);Nr.splice(n,0,e),n===0&&y1(e)}};function gg(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function cd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function cw(){}
vendor: 5,375 bytes, line 40
40function $N(e,t,n,r,s){if(s){if(typeof r=="function"){var i=r;r=function(){var u=Cu(o);i.call(u)}}var o=Lk(t,r,e,0,null,!1,!1,"",cw);return e._reactRootContainer=o,e[er]=o.current,za(e.nodeType===8?e.parentNode:e),ti(),o}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var l=r;r=function(){var u=Cu(c);l.call(u)}}var c=fg(e,0,!1,null,null,!1,!1,"",cw);return e._reactRootContainer=c,e[er]=c.current,za(e.nodeType===8?e.parentNode:e),ti(function(){ad(t,c,n,r)}),c}function ud(e,t,n,r,s){var i=n._reactRootContainer;if(i){var o=i;if(typeof s=="function"){var l=s;s=function(){var c=Cu(o);l.call(c)}}ad(t,o,e,s)}else o=$N(n,t,e,s,r);return Cu(o)}f1=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=fa(t.pendingLanes);n!==0&&(Dm(t,n|1),At(t,We()),!(he&6)&&(_o=We()+500,hs()))}break;case 13:ti(function(){var r=tr(e,1);if(r!==null){var s=wt();yn(r,e,1,s)}}),pg(e,1)}};Mm=function(e){if(e.tag===13){var t=tr(e,134217728);if(t!==null){var n=wt();yn(t,e,134217728,n)}pg(e,134217728)}};p1=function(e){if(e.tag===13){var t=Zr(e),n=tr(e,t);if(n!==null){var r=wt();yn(n,e,t,r)}pg(e,t)}};m1=function(){return ye};g1=function(e,t){var n=ye;try{return ye=e,t()}finally{ye=n}};Ef=function(e,t,n){switch(t){case"input":if(bf(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var s=ed(r);if(!s)throw Error(D(90));Kb(r),bf(r,s)}}}break;case"textarea":Yb(e,n);break;case"select":t=n.value,t!=null&&Ki(e,!!n.multiple,t,!1)}};n1=cg;r1=ti;var FN={usingClientEntryPoint:!1,Events:[_l,Di,ed,e1,t1,cg]},sa={findFiberByHostInstance:Es,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},BN={bundleType:sa.bundleType,version:sa.version,rendererPackageName:sa.rendererPackageName,rendererConfig:sa.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:or.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=o1(e),e===null?null:e.stateNode},findFiberByHostInstance:sa.findFiberByHostInstance||LN,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var lc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lc.isDisabled&&lc.supportsFiber)try{Ju=lc.inject(BN),Rn=lc}catch{}}Lt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=FN;Lt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!gg(t))throw Error(D(200));return MN(e,t,null,n)};Lt.createRoot=function(e,t){if(!gg(e))throw Error(D(299));var n=!1,r="",s=$k;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=fg(e,1,!1,null,null,n,!1,r,s),e[er]=t.current,za(e.nodeType===8?e.parentNode:e),new mg(t)};Lt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=o1(t),e=e===null?null:e.stateNode,e};Lt.flushSync=function(e){return ti(e)};Lt.hydrate=function(e,t,n){if(!cd(t))throw Error(D(200));return ud(null,e,t,!0,n)};Lt.hydrateRoot=function(e,t,n){if(!gg(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,s=!1,i="",o=$k;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Lk(t,null,e,1,n??null,s,!1,i,o),e[er]=t.current,za(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new ld(t)};Lt.render=function(e,t,n){if(!cd(t))throw Error(D(200));return ud(null,e,t,!1,n)};Lt.unmountComponentAtNode=function(e){if(!cd(e))throw Error(D(40));return e._reactRootContainer?(ti(function(){ud(null,null,e,!1,function(){e._reactRootContainer=null,e[er]=null})}),!0):!1};Lt.unstable_batchedUpdates=cg;Lt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!cd(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return ud(e,t,n,!1,r)};Lt.version="18.3.1-next-f1338f8080-20240426";function Fk(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Fk)}catch(e){console.error(e)}}Fk(),Fb.exports=Lt;var Al=Fb.exports;const Bk=Io(Al);var Wk,uw=Al;Wk=uw.createRoot,uw.hydrateRoot;const WN=1,UN=1e6;let vh=0;function VN(){return vh=(vh+1)%Number.MAX_SAFE_INTEGER,vh.toString()}const wh=new Map,dw=e=>{if(wh.has(e))return;const t=setTimeout(()=>{wh.delete(e),Ea({type:"REMOVE_TOAST",toastId:e})},UN);wh.set(e,t)},HN=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,WN)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
40return n?dw(n):e.toasts.forEach(r=>{dw(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Uc=[];let Vc={toasts:[]};function Ea(e){Vc=HN(Vc,e),Uc.forEach(t=>{t(Vc)})}function zN({...e}){const t=VN(),n=s=>Ea({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>Ea({type:"DISMISS_TOAST",toastId:t});return Ea({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function Lo(){const[e,t]=w.useState(Vc);return w.useEffect(()=>(Uc.push(t),()=>{const n=Uc.indexOf(t);n>-1&&Uc.splice(n,1)}),[e]),{...e,toast:zN,dismiss:n=>Ea({type:"DISMISS_TOAST",toastId:n})}}function ie(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function hw(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Uk(...e){return t=>{let n=!1;const r=e.map(s=>{const i=hw(s,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let s=0;s<r.length;s++){const i=r[s];typeof i=="function"?i():hw(e[s],null)}}}}function Ee(...e){return w.useCallback(Uk(...e),e)}function qN(e,t){const n=w.createContext(t),r=i=>{const{children:o,...l}=i,c=w.useMemo(()=>l,Object.values(l));return a.jsx(n.Provider,{value:c,children:o})};r.displayName=e+"Provider";function s(i){const o=w.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,s]}function Xt(e,t=[]){let n=[];function r(i,o){const l=w.createContext(o),c=n.length;n=[...n,o];const u=h=>{var g;const{scope:f,children:p,...x}=h,m=((g=f==null?void 0:f[e])==null?void 0:g[c])||l,v=w.useMemo(()=>x,Object.values(x));return a.jsx(m.Provider,{value:v,children:p})};u.displayName=i+"Provider";function d(h,f){var m;const p=((m=f==null?void 0:f[e])==null?void 0:m[c])||l,x=w.useContext(p);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${h}\` must be used within \`${i}\``)}return[u,d]}const s=()=>{const i=n.map(o=>w.createContext(o));return function(l){const c=(l==null?void 0:l[e])||i;return w.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return s.scopeName=e,[r,KN(s,...t)]}function KN(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const o=r.reduce((l,{useScope:c,scopeName:u})=>{const h=c(i)[`__scope${u}`];return{...l,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function el(e){const t=YN(e),n=w.forwardRef((r,s)=>{const{children:i,...o}=r,l=w.Children.toArray(i),c=l.find(JN);if(c){const u=c.props.children,d=l.map(h=>h===c?w.Children.count(u)>1?w.Children.only(null):w.isValidElement(u)?u.props.children:null:h);return a.jsx(t,{...o,ref:s,children:w.isValidElement(u)?w.cloneElement(u,void 0,d):null})}return a.jsx(t,{...o,ref:s,children:i})});return n.displayName=`${e}.Slot`,n}var GN=el("Slot");function YN(e){const t=w.forwardRef((n,r)=>{const{children:s,...i}=n;if(w.isValidElement(s)){const o=XN(s),l=QN(i,s.props);return s.type!==w.Fragment&&(l.ref=r?Uk(r,o):o),w.cloneElement(s,l)}return w.Children.count(s)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Vk=Symbol("radix.slottable");function Hk(e){const t=({children:n})=>a.jsx(a.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Vk,t}function JN(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Vk}function QN(e,t){const n={...t};for(const r in t){const s=e[r],i=t[r];/^on[A-Z]/.test(r)?s&&i?n[r]=(...l)=>{const c=i(...l);return s(...l),c}:s&&(n[r]=s):r==="style"?n[r]={...s,...i}:r==="className"&&(n[r]=[s,i].filter(Boolean).join(" "))}return{...e,...n}}function XN(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function yg(e){const t=e+"CollectionProvider",[n,r]=Xt(t),[s,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=m=>{const{scope:v,children:g}=m,y=O.useRef(null),b=O.useRef(new Map).current;return a.jsx(s,{scope:v,itemMap:b,collectionRef:y,children:g})};o.displayName=t;const l=e+"CollectionSlot",c=el(l),u=O.forwardRef((m,v)=>{const{scope:g,children:y}=m,b=i(l,g),k=Ee(v,b.collectionRef);return a.jsx(c,{ref:k,children:y})});u.displayName=l;const d=e+"CollectionItemSlot",h="data-radix-collection-item",f=el(d),p=O.forwardRef((m,v)=>{const{scope:g,children:y,...b}=m,k=O.useRef(null),S=Ee(v,k),j=i(d,g);return O.useEffect(()=>(j.itemMap.set(k,{ref:k,...b}),()=>
vendor: 9,168 bytes, line 40
40void j.itemMap.delete(k))),a.jsx(f,{[h]:"",ref:S,children:y})});p.displayName=d;function x(m){const v=i(e+"CollectionConsumer",m);return O.useCallback(()=>{const y=v.collectionRef.current;if(!y)return[];const b=Array.from(y.querySelectorAll(`[${h}]`));return Array.from(v.itemMap.values()).sort((j,C)=>b.indexOf(j.ref.current)-b.indexOf(C.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:o,Slot:u,ItemSlot:p},x,r]}var ZN=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],le=ZN.reduce((e,t)=>{const n=el(`Primitive.${t}`),r=w.forwardRef((s,i)=>{const{asChild:o,...l}=s,c=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(c,{...l,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function zk(e,t){e&&Al.flushSync(()=>e.dispatchEvent(t))}function wn(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function eP(e,t=globalThis==null?void 0:globalThis.document){const n=wn(e);w.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var tP="DismissableLayer",ap="dismissableLayer.update",nP="dismissableLayer.pointerDownOutside",rP="dismissableLayer.focusOutside",fw,qk=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),dd=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:o,onDismiss:l,...c}=e,u=w.useContext(qk),[d,h]=w.useState(null),f=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=w.useState({}),x=Ee(t,C=>h(C)),m=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=m.indexOf(v),y=d?m.indexOf(d):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=g,S=iP(C=>{const _=C.target,A=[...u.branches].some(P=>P.contains(_));!k||A||(s==null||s(C),o==null||o(C),C.defaultPrevented||l==null||l())},f),j=oP(C=>{const _=C.target;[...u.branches].some(P=>P.contains(_))||(i==null||i(C),o==null||o(C),C.defaultPrevented||l==null||l())},f);return eP(C=>{y===u.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&l&&(C.preventDefault(),l()))},f),w.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(fw=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),pw(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=fw)}},[d,f,n,u]),w.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),pw())},[d,u]),w.useEffect(()=>{const C=()=>p({});return document.addEventListener(ap,C),()=>document.removeEventListener(ap,C)},[]),a.jsx(le.div,{...c,ref:x,style:{pointerEvents:b?k?"auto":"none":void 0,...e.style},onFocusCapture:ie(e.onFocusCapture,j.onFocusCapture),onBlurCapture:ie(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:ie(e.onPointerDownCapture,S.onPointerDownCapture)})});dd.displayName=tP;var sP="DismissableLayerBranch",Kk=w.forwardRef((e,t)=>{const n=w.useContext(qk),r=w.useRef(null),s=Ee(t,r);return w.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),a.jsx(le.div,{...e,ref:s})});Kk.displayName=sP;function iP(e,t=globalThis==null?void 0:globalThis.document){const n=wn(e),r=w.useRef(!1),s=w.useRef(()=>{});return w.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let c=function(){Gk(nP,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=c,t.addEventListener("click",s.current,{once:!0})):c()}else t.removeEventListener("click",s.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",i),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function oP(e,t=globalThis==null?void 0:globalThis.document){const n=wn(e),r=w.useRef(!1);return w.useEffect(()=>{const s=i=>{i.target&&!r.current&&Gk(rP,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function pw(){const e=new CustomEvent(ap);document.dispatchEvent(e)}function Gk(e,t,n,{discrete:r}){const s=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?zk(s,i):s.dispatchEvent(i)}var aP=dd,lP=Kk,Ln=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},cP="Portal",vg=w.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[s,i]=w.useState(!1);Ln(()=>i(!0),[]);const o=n||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return o?Bk.createPortal(a.jsx(le.div,{...r,ref:t}),o):null});vg.displayName=cP;function uP(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var ar=e=>{const{present:t,children:n}=e,r=dP(t),s=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),i=Ee(r.ref,hP(s));return typeof n=="function"||r.isPresent?w.cloneElement(s,{ref:i}):null};ar.displayName="Presence";function dP(e){const[t,n]=w.useState(),r=w.useRef(null),s=w.useRef(e),i=w.useRef("none"),o=e?"mounted":"unmounted",[l,c]=uP(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=cc(r.current);i.current=l==="mounted"?u:"none"},[l]),Ln(()=>{const u=r.current,d=s.current;if(d!==e){const f=i.current,p=cc(u);e?c("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&f!==p?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),Ln(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,h=p=>{const m=cc(r.current).includes(p.animationName);if(p.target===t&&m&&(c("ANIMATION_END"),!s.current)){const v=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=v)})}},f=p=>{p.target===t&&(i.current=cc(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:w.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function cc(e){return(e==null?void 0:e.animationName)||"none"}function hP(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var fP=Cm[" useInsertionEffect ".trim().toString()]||Ln;function lr({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,i,o]=pP({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:s;{const d=w.useRef(e!==void 0);w.useEffect(()=>{const h=d.current;h!==l&&console.warn(`${r} is changing from ${h?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=l},[l,r])}const u=w.useCallback(d=>{var h;if(l){const f=mP(d)?d(e):d;f!==e&&((h=o.current)==null||h.call(o,f))}else i(d)},[l,e,i,o]);return[c,u]}function pP({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),s=w.useRef(n),i=w.useRef(t);return fP(()=>{i.current=t},[t]),w.useEffect(()=>{var o;s.current!==n&&((o=i.current)==null||o.call(i,n),s.current=n)},[n,s]),[n,r,i]}function mP(e){return typeof e=="function"}var gP=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"}),yP="VisuallyHidden",hd=w.forwardRef((e,t)=>a.jsx(le.span,{...e,ref:t,style:{...gP,...e.style}}));hd.displayName=yP;var vP=hd,wg="ToastProvider",[xg,wP,xP]=yg("Toast"),[Yk,pV]=Xt("Toast",[xP]),[bP,fd]=Yk(wg),Jk=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:i=50,children:o}=e,[l,c]=w.useState(null),[u,d]=w.useState(0),h=w.useRef(!1),f=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${wg}\`. Expected non-empty \`string\`.`),a.jsx(xg.Provider,{scope:t,children:a.jsx(bP,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:i,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:w.useCallback(()=>d(p=>p+1),[]),onToastRemove:w.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:f,children:o})})};Jk.displayName=wg;var Qk="ToastViewport",kP=["F8"],lp="toast.viewportPause",cp="toast.viewportResume",Xk=w.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=kP,label:s="Notifications ({hotkey})",...i}=e,o=fd(Qk,n),l=wP(n),c=w.useRef(null),u=w.useRef(null),d=w.useRef(null),h=w.useRef(null),f=Ee(t,h,o.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=o.toastCount>0;w.useEffect(()=>{const v=g=>{var b;r.length!==0&&r.every(k=>g[k]||g.code===k)&&((b=h.current)==null||b.focus())};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[r]),w.useEffect(()=>{const v=c.current,g=h.current;if(x&&v&&g){const y=()=>{if(!o.isClosePausedRef.current){const j=new CustomEvent(lp);g.dispatchEvent(j),o.isClosePausedRef.current=!0}},b=()=>{if(o.isClosePausedRef.current){const j=new CustomEvent(cp);g.dispatchEvent(j),o.isClosePausedRef.current=!1}},k=j=>{!v.contains(j.relatedTarget)&&b()},S=()=>{v.contains(document.activeElement)||b()};return v.addEventListener("focusin",y),v.addEventListener("focusout",k),v.addEventListener("pointermove",y),v.addEventListener("pointerleave",S),window.addEventListener("blur",y),window.addEventListener("focus",b),()=>{v.removeEventListener("focusin",y),v.removeEventListener("focusout",k),v.removeEventListener("pointermove",y),v.removeEventListener("pointerleave",S),window.removeEventListener("blur",y),window.removeEventListener("focus",b)}}},[x,o.isClosePausedRef]);const m=w.useCallback(({tabbingDirection:v})=>{const y=l().map(b=>{const k=b.ref.current,S=[k,...DP(k)];return v==="forwards"?S:S.reverse()});return(v==="forwards"?y.reverse():y).flat()},[l]);return w.useEffect(()=>{const v=h.current;if(v){const g=y=>{var S,j,C;const b=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!b){const _=document.activeElement,A=y.shiftKey;if(y.target===v&&A){(S=u.current)==null||S.focus();return}const M=m({tabbingDirection:A?"backwards":"forwards"}),z=M.findIndex(L=>L===_);xh(M.slice(z+1))?y.preventDefault():A?(j=u.current)==null||j.focus():(C=d.current)==null||C.focus()}};return v.addEventListener("keydown",g),()=>v.removeEventListener("keydown",g)}},[l,m]),a.jsxs(lP,{ref:c,role:"region","aria-label":s.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&a.jsx(up,{ref:u,onFocusFromOutsideViewport:()=>{const v=m({tabbingDirection:"forwards"});xh(v)}}),a.jsx(xg.Slot,{scope:n,children:a.jsx(le.ol,{tabIndex:-1,...i,ref:f})}),x&&a.jsx(up,{ref:d,onFocusFromOutsideViewport:()=>{const v=m({tabbingDirection:"backwards"});xh(v)}})]})});Xk.displayName=Qk;var Zk="ToastFocusProxy",up=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,i=fd(Zk,n);return a.jsx(hd,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const l=o.relatedTarget;!((u=i.viewport)!=null&&u.contains(l))&&r()}})});up.displayName=Zk;var Nl="Toast",SP="toast.swipeStart",jP="toast.swipeMove",TP="toast.swipeCancel",CP="toast.swipeEnd",eS=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:i,...o}=e,[l,c]=lr({prop:r,defaultProp:s??!0,onChange:i,caller:Nl});return a.jsx(ar,{present:n||l,children:a.jsx(AP,{open:l,...o,ref:t,onClose:()=>c(!1),onPause:wn(e.onPause),onResume:wn(e.onResume),onSwipeStart:ie(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ie(e.onSwipeMove,u=>{const{x:d,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:ie(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ie(e.onSwipeEnd,u=>{const{x:d,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),c(!1)})})})});eS.displayName=Nl;var[_P,EP]=Yk(Nl,{onClose(){}}),AP=w.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:s,open:i,onClose:o,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:h,onSwipeCancel:f,onSwipeEnd:p,...x}=e,m=fd(Nl,n),[v,g]=w.useState(null),y=Ee(t,L=>g(L)),b=w.useRef(null),k=w.useRef(null),S=s||m.duration,j=w.useRef(0),C=w.useRef(S),_=w.useRef(0),{onToastAdd:A,onToastRemove:P}=m,F=wn(()=>{var ee;(v==null?void 0:v.contains(document.activeElement))&&((ee=m.viewport)==null||ee.focus()),o()}),M=w.useCallback(L=>{!L||L===1/0||(window.clearTimeout(_.current),j.current=new Date().getTime(),_.current=window.setTimeout(F,L))},[F]);w.useEffect(()=>{const L=m.viewport;if(L){const ee=()=>{M(C.current),u==null||u()},R=()=>{const B=new Date().getTime()-j.current;C.current=C.current-B,window.clearTimeout(_.current),c==null||c()};return L.addEventListener(lp,R),L.addEventListener(cp,ee),()=>{L.removeEventListener(lp,R),L.removeEventListener(cp,ee)}}},[m.viewport,S,c,u,M]),w.useEffect(()=>{i&&!m.isClosePausedRef.current&&M(S)},[i,S,m.isClosePausedRef,M]),w.useEffect(()=>(A(),()=>P()),[A,P]);const z=w.useMemo(()=>v?aS(v):null,[v]);return m.viewport?a.jsxs(a.Fragment,{children:[z&&a.jsx(NP,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:z}),a.jsx(_P,{scope:n,onClose:F,children:Al.createPortal(a.jsx(xg.ItemSlot,{scope:n,children:a.jsx(aP,{asChild:!0,onEscapeKeyDown:ie(l,()=>{m.isFocusedToastEscapeKeyDownRef.current||F(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:a.jsx(le.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":m.swipeDirection,...x,ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ie(e.onKeyDown,L=>{L.key==="Escape"&&(l==null||l(L.nativeEvent),L.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,F()))}),onPointerDown:ie(e.onPointerDown,L=>{L.button===0&&(b.current={x:L.clientX,y:L.clientY})}),onPointerMove:ie(e.onPointerMove,L=>{if(!b.current)return;const ee=L.clientX-b.current.x,R=L.clientY-b.current.y,B=!!k.current,N=["left","right"].includes(m.swipeDirection),I=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,$=N?I(0,ee):0,X=N?0:I(0,R),K=L.pointerType==="touch"?10:2,oe={x:$,y:X},ce={originalEvent:L,delta:oe};B?(k.current=oe,uc(jP,h,ce,{discrete:!1})):mw(oe,m.swipeDirection,K)?(k.current=oe,uc(SP,d,ce,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(ee)>K||Math.abs(R)>K)&&(b.current=null)}),onPointerUp:ie(e.onPointerUp,L=>{const ee=k.current,R=L.target;if(R.hasPointerCapture(L.pointerId)&&R.releasePointerCapture(L.pointerId),k.current=null,b.current=null,ee){const B=L.currentTarget,N={originalEvent:L,delta:ee};mw(ee,m.swipeDirection,m.swipeThreshold)?uc(CP,p,N,{discrete:!0}):uc(TP,f,N,{discrete:!0}),B.addEventListener("click",I=>I.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),NP=e=>{const{__scopeToast:t,children:n,...r}=e,s=fd(Nl,t),[i,o]=w.useState(!1),[l,c]=w.useState(!1);return IP(()=>o(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:a.jsx(vg,{asChild:!0,children:a.jsx(hd,{...r,children:i&&a.jsxs(a.Fragment,{children:[s.label," ",n]})})})},PP="ToastTitle",tS=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(le.div,{...r,ref:t})});tS.displayName=PP;var RP="ToastDescription",nS=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(le.div,{...r,ref:t})});nS.displayName=RP;var rS="ToastAction",sS=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?a.jsx(oS,{altText:n,asChild:!0,children:a.jsx(bg,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${rS}\`. Expected non-empty \`string\`.`),null)});sS.displayName=rS;var iS="ToastClose",bg=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=EP(iS,n);return a.jsx(oS,{asChild:!0,children:a.jsx(le.button,{type:"button",...r,ref:t,onClick:ie(e.onClick,s.onClose)})})});bg.displayName=iS;var oS=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return a.jsx(le.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function aS(e){const t=[];
vendor: 15,018 bytes, lines 40-209
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),OP(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!s)if(i){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...aS(r))}}),t}function uc(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?zk(s,i):s.dispatchEvent(i)}var mw=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),i=r>s;return t==="left"||t==="right"?i&&r>n:!i&&s>n};function IP(e=()=>{}){const t=wn(e);Ln(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function OP(e){return e.nodeType===e.ELEMENT_NODE}function DP(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function xh(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var MP=Jk,lS=Xk,cS=eS,uS=tS,dS=nS,hS=sS,fS=bg;function pS(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=pS(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function mS(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=pS(e))&&(r&&(r+=" "),r+=t);return r}const gw=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,yw=mS,kg=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return yw(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:i}=t,o=Object.keys(s).map(u=>{const d=n==null?void 0:n[u],h=i==null?void 0:i[u];if(d===null)return null;const f=gw(d)||gw(h);return s[u][f]}),l=n&&Object.entries(n).reduce((u,d)=>{let[h,f]=d;return f===void 0||(u[h]=f),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:h,className:f,...p}=d;return Object.entries(p).every(x=>{let[m,v]=x;return Array.isArray(v)?v.includes({...i,...l}[m]):{...i,...l}[m]===v})?[...u,h,f]:u},[]);return yw(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const LP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),gS=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var $P={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const FP=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:o,...l},c)=>w.createElement("svg",{ref:c,...$P,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:gS("lucide",s),...l},[...o.map(([u,d])=>w.createElement(u,d)),...Array.isArray(i)?i:[i]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const de=(e,t)=>{const n=w.forwardRef(({className:r,...s},i)=>w.createElement(FP,{ref:i,iconNode:t,className:gS(`lucide-${LP(e)}`,r),...s}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const pd=de("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const _u=de("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const tl=de("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const yS=de("Bath",[["path",{d:"M10 4 8 6",key:"1rru8s"}],["path",{d:"M17 19v2",key:"ts1sot"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M7 19v2",key:"12npes"}],["path",{d:"M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",key:"14ym8i"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const vS=de("BedDouble",[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const Sg=de("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const Hc=de("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const dp=de("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const vw=de("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const ww=de("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const BP=de("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const WP=de("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const UP=de("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const hp=de("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const VP=de("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const HP=de("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const zP=de("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const qP=de("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const wS=de("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const KP=de("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const GP=de("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const YP=de("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const JP=de("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const QP=de("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
181 * @license lucide-react v0.462.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const xw=de("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/**
186 * @license lucide-react v0.462.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const XP=de("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
191 * @license lucide-react v0.462.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const ZP=de("Settings",[["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"}]]);/**
196 * @license lucide-react v0.462.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const eR=de("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/**
201 * @license lucide-react v0.462.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const xS=de("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
206 * @license lucide-react v0.462.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
vendor: 9,133 bytes, lines 210-230
210 */const bS=de("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
211 * @license lucide-react v0.462.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const tR=de("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
216 * @license lucide-react v0.462.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const nR=de("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/**
221 * @license lucide-react v0.462.0 - ISC
222 *
223 * This source code is licensed under the ISC license.
224 * See the LICENSE file in the root directory of this source tree.
225 */const jg=de("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
226 * @license lucide-react v0.462.0 - ISC
227 *
228 * This source code is licensed under the ISC license.
229 * See the LICENSE file in the root directory of this source tree.
230 */const Tg=de("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Cg="-",rR=e=>{const t=iR(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const l=o.split(Cg);return l[0]===""&&l.length!==1&&l.shift(),kS(l,t)||sR(o)},getConflictingClassGroupIds:(o,l)=>{const c=n[o]||[];return l&&r[o]?[...c,...r[o]]:c}}},kS=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?kS(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(Cg);return(o=t.validators.find(({validator:l})=>l(i)))==null?void 0:o.classGroupId},bw=/^\[(.+)\]$/,sR=e=>{if(bw.test(e)){const t=bw.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},iR=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return aR(Object.entries(e.classGroups),n).forEach(([i,o])=>{fp(o,r,i,t)}),r},fp=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:kw(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(oR(s)){fp(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,o])=>{fp(o,kw(t,i),n,r)})})},kw=(e,t)=>{let n=e;return t.split(Cg).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},oR=e=>e.isThemeGetter,aR=(e,t)=>t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,l])=>[t+o,l])):i);return[n,s]}):e,lR=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return s(i,o),o},set(i,o){n.has(i)?n.set(i,o):s(i,o)}}},SS="!",cR=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],i=t.length,o=l=>{const c=[];let u=0,d=0,h;for(let v=0;v<l.length;v++){let g=l[v];if(u===0){if(g===s&&(r||l.slice(v,v+i)===t)){c.push(l.slice(d,v)),d=v+i;continue}if(g==="/"){h=v;continue}}g==="["?u++:g==="]"&&u--}const f=c.length===0?l:l.substring(d),p=f.startsWith(SS),x=p?f.substring(1):f,m=h&&h>d?h-d:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:x,maybePostfixModifierPosition:m}};return n?l=>n({className:l,parseClassName:o}):o},uR=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},dR=e=>({cache:lR(e.cacheSize),parseClassName:cR(e),...rR(e)}),hR=/\s+/,fR=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=[],o=e.trim().split(hR);let l="";for(let c=o.length-1;c>=0;c-=1){const u=o[c],{modifiers:d,hasImportantModifier:h,baseClassName:f,maybePostfixModifierPosition:p}=n(u);let x=!!p,m=r(x?f.substring(0,p):f);if(!m){if(!x){l=u+(l.length>0?" "+l:l);continue}if(m=r(f),!m){l=u+(l.length>0?" "+l:l);continue}x=!1}const v=uR(d).join(":"),g=h?v+SS:v,y=g+m;if(i.includes(y))continue;i.push(y);const b=s(m,x);for(let k=0;k<b.length;++k){const S=b[k];i.push(g+S)}l=u+(l.length>0?" "+l:l)}return l};function pR(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=jS(t))&&(r&&(r+=" "),r+=n);return r}const jS=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=jS(e[r]))&&(n&&(n+=" "),n+=t);return n};function mR(e,...t){let n,r,s,i=o;function o(c){const u=t.reduce((d,h)=>h(d),e());return n=dR(u),r=n.cache.get,s=n.cache.set,i=l,l(c)}function l(c){const u=r(c);if(u)return u;const d=fR(c,n);return s(c,d),d}return function(){return i(pR.apply(null,arguments))}}const be=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},TS=/^\[(?:([a-z-]+):)?(.+)\]$/i,gR=/^\d+\/\d+$/,yR=new Set(["px","full","screen"]),vR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,wR=/\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$/,xR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,bR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,kR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Un=e=>Zi(e)||yR.has(e)||gR.test(e),xr=e=>$o(e,"length",NR),Zi=e=>!!e&&!Number.isNaN(Number(e)),bh=e=>$o(e,"number",Zi),ia=e=>!!e&&Number.isInteger(Number(e)),SR=e=>e.endsWith("%")&&Zi(e.slice(0,-1)),ne=e=>TS.test(e),br=e=>vR.test(e),jR=new Set(["length","size","percentage"]),TR=e=>$o(e,jR,CS),CR=e=>$o(e,"position",CS),_R=new Set(["image","url"]),ER=e=>$o(e,_R,RR),AR=e=>$o(e,"",PR),oa=()=>!0,$o=(e,t,n)=>{const r=TS.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},NR=e=>wR.test(e)&&!xR.test(e),CS=()=>!1,PR=e=>bR.test(e),RR=e=>kR.test(e),IR=()=>{const e=be("colors"),t=be("spacing"),n=be("blur"),r=be("brightness"),s=be("borderColor"),i=be("borderRadius"),o=be("borderSpacing"),l=be("borderWidth"),c=be("contrast"),u=be("grayscale"),d=be("hueRotate"),h=be("invert"),f=be("gap"),p=be("gradientColorStops"),x=be("gradientColorStopPositions"),m=be("inset"),v=be("margin"),g=be("opacity"),y=be("padding"),b=be("saturate"),k=be("scale"),S=be("sepia"),j=be("skew"),C=be("space"),_=be("translate"),A=()=>["auto","contain","none"],P=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",ne,t],M=()=>[ne,t],z=()=>["",Un,xr],L=()=>["auto",Zi,ne],ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],R=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",ne],$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>[Zi,ne];return{cacheSize:500,separator:":",theme:{colors:[oa],spacing:[Un,xr],blur:["none","",br,ne],brightness:X(),borderColor:[e],borderRadius:["none","","full",br,ne],borderSpacing:M(),borderWidth:z(),contrast:X(),grayscale:I(),hueRotate:X(),invert:I(),gap:M(),gradientColorStops:[e],gradientColorStopPositions:[SR,xr],inset:F(),margin:F(),opacity:X(),padding:M(),saturate:X(),scale:X(),sepia:I(),skew:X(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",ne]}],container:["container"],columns:[{columns:[br]}],"break-after":[{"break-after":$()}],"break-before":[{"break-before":$()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ee(),ne]}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}
vendor: 9,948 bytes, line 230
230],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ia,ne]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ne]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",ia,ne]}],"grid-cols":[{"grid-cols":[oa]}],"col-start-end":[{col:["auto",{span:["full",ia,ne]},ne]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[oa]}],"row-start-end":[{row:["auto",{span:[ia,ne]},ne]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ne]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ne]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ne,t]}],"min-w":[{"min-w":[ne,t,"min","max","fit"]}],"max-w":[{"max-w":[ne,t,"none","full","min","max","fit","prose",{screen:[br]},br]}],h:[{h:[ne,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ne,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ne,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ne,t,"auto","min","max","fit"]}],"font-size":[{text:["base",br,xr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",bh]}],"font-family":[{font:[oa]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ne]}],"line-clamp":[{"line-clamp":["none",Zi,bh]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Un,ne]}],"list-image":[{"list-image":["none",ne]}],"list-style-type":[{list:["none","disc","decimal",ne]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...R(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Un,xr]}],"underline-offset":[{"underline-offset":["auto",Un,ne]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ne]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ee(),CR]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",TR]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ER]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...R(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:R()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...R()]}],"outline-offset":[{"outline-offset":[Un,ne]}],"outline-w":[{outline:[Un,xr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Un,xr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",br,AR]}],"shadow-color":[{shadow:[oa]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",br,ne]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[h]}],saturate:[{saturate:[b]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ne]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",ne]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",ne]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[ia,ne]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ne]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ne]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,642 bytes, line 230
230],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",ne]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Un,xr,bh]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},OR=mR(IR);function Q(...e){return OR(mS(e))}const DR=MP,_S=w.forwardRef(({className:e,...t},n)=>a.jsx(lS,{ref:n,className:Q("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));_S.displayName=lS.displayName;const MR=kg("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"}}),ES=w.forwardRef(({className:e,variant:t,...n},r)=>a.jsx(cS,{ref:r,className:Q(MR({variant:t}),e),...n}));ES.displayName=cS.displayName;const LR=w.forwardRef(({className:e,...t},n)=>a.jsx(hS,{ref:n,className:Q("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));LR.displayName=hS.displayName;const AS=w.forwardRef(({className:e,...t},n)=>a.jsx(fS,{ref:n,className:Q("absolute right-2 top-2 rounded-md p-1 text-foreground
230/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:a.jsx(Tg,{className:"h-4 w-4"})}));AS.displayName=fS.displayName;const NS=w.forwardRef(({className:e,...t},n)=>a.jsx(uS,{ref:n,className:Q("text-sm font-semibold",e),...t}));NS.displayName=uS.displayName;const PS=w.forwardRef(({className:e,...t},n)=>a.jsx(dS,{ref:n,className:Q("text-sm opacity-90",e),...t}));PS.displayName=dS.displayName;function $R(){const{toasts:e}=Lo();return a.jsxs(DR,{children:[e.map(function({id:t,title:n,description:r,action:s,...i}){return a.jsxs(ES,{...i,children:[a.jsxs("div",{className:"grid gap-1",children:[n&&a.jsx(NS,{children:n}),r&&a.jsx(PS,{children:r})]}),s,a.jsx(AS,{})]},t)}),a.jsx(_S,{})]})}var Sw=["light","dark"],FR="(prefers-color-scheme: dark)",BR=w.createContext(void 0),WR={setTheme:e=>{},themes:[]},UR=()=>{var e;return(e=w.useContext(BR))!=null?e:WR};w.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:s,defaultTheme:i,value:o,attrs:l,nonce:c})=>{let u=i==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=s?Sw.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(x,m=!1,v=!0)=>{let g=o?o[x]:x,y=m?x+"|| ''":`'${g}'`,b="";return s&&v&&!m&&Sw.includes(x)&&(b+=`d.style.colorScheme = '${x}';`),n==="class"?m||g?b+=`c.add(${y})`:b+="null":g&&(b+=`d[s](n,${y})`),b},p=e?`!function(){${d}${f(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${FR}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}${u?"":"else{"+f(i,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}else{${f(i,!1,!1)};}${h}}catch(t){}}();`;return w.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:p}})});var VR=e=>{switch(e){case"success":return qR;case"info":return GR;case"warning":return KR;case"error":return YR;default:return null}},HR=Array(12).fill(0),zR=({visible:e,className:t})=>O.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},O.createElement("div",{className:"sonner-spinner"},HR.map((n,r)=>O.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),qR=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),KR=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),GR=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),YR=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),JR=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},O.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),O.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),QR=()=>{let[e,t]=O.useState(document.hidden);return O.useEffect(()=>{let n=()=>{t(document.hidden)};
230return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},pp=1,XR=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,s=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:pp++,i=this.toasts.find(l=>l.id===s),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),i?this.toasts=this.toasts.map(l=>l.id===s?(this.publish({...l,...e,id:s,title:n}),{...l,...e,id:s,dismissible:o,title:n}):l):this.addToast({title:n,...r,dismissible:o,id:s}),s},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
230this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),s=n!==void 0,i,o=r.then(async c=>{if(i=["resolve",c],O.isValidElement(c))s=!1,this.create({id:n,type:"default",message:c});else if(eI(c)&&!c.ok){s=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){s=!1;let u=typeof t.success=="function"?await t.success(c):t.success,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async c=>{if(i=["reject",c],t.error!==void 0){s=!1;let u=typeof t.error=="function"?await t.error(c):t.error,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var c;s&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,u)=>o.then(()=>i[0]==="reject"?u(i[1]):c(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||pp++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},jt=new XR,ZR=(e,t)=>{let n=(t==null?void 0:t.id)||pp++;return jt.addToast({title:e,...t,id:n}),n},eI=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",tI=ZR,nI=()=>jt.toasts,rI=()=>jt.getActiveToasts();Object.assign(tI,{success:jt.success,info:jt.info,warning:jt.warning,error:jt.error,custom:jt.custom,message:jt.message,promise:jt.promise,dismiss:jt.dismiss,loading:jt.loading},{getHistory:nI,getToasts:rI});function sI(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}sI(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
230left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
230:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
230--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
231`);function dc(e){return e.label!==void 0}var iI=3,oI="32px",aI="16px",jw=4e3,lI=356,cI=14,uI=20,dI=200;function rn(...e){return e.filter(Boolean).join(" ")}function hI(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var fI=e=>{var t,n,r,s,i,o,l,c,u,d,h;let{invert:f,toast:p,unstyled:x,interacting:m,setHeights:v,visibleToasts:g,heights:y,index:b,toasts:k,expanded:S,removeToast:j,defaultRichColors:C,closeButton:_,style:A,cancelButtonStyle:P,actionButtonStyle:F,className:M="",descriptionClassName:z="",duration:L,position:ee,gap:R,loadingIcon:B,expandByDefault:N,classNames:I,icons:$,closeButtonAriaLabel:X="Close toast",pauseWhenPageIsHidden:K}=e,[oe,ce]=O.useState(null),[Ve,ot]=O.useState(null),[pe,ci]=O.useState(!1),[fr,ms]=O.useState(!1),[pr,ui]=O.useState(!1),[mr,Ul]=O.useState(!1),[Wd,Vl]=O.useState(!1),[Ud,Yo]=O.useState(0),[di,Yy]=O.useState(0),Jo=O.useRef(p.duration||L||jw),Jy=O.useRef(null),gs=O.useRef(null),sE=b===0,iE=b+1<=g,Ft=p.type,hi=p.dism
231issible!==!1,oE=p.className||"",aE=p.descriptionClassName||"",Hl=O.useMemo(()=>y.findIndex(te=>te.toastId===p.id)||0,[y,p.id]),lE=O.useMemo(()=>{var te;return(te=p.closeButton)!=null?te:_},[p.closeButton,_]),Qy=O.useMemo(()=>p.duration||L||jw,[p.duration,L]),Vd=O.useRef(0),fi=O.useRef(0),Xy=O.useRef(0),pi=O.useRef(null),[cE,uE]=ee.split("-"),Zy=O.useMemo(()=>y.reduce((te,ve,Te)=>Te>=Hl?te:te+ve.height,0),[y,Hl]),ev=QR(),dE=p.invert||f,Hd=Ft==="loading";fi.current=O.useMemo(()=>Hl*R+Zy,[Hl,Zy]),O.useEffect(()=>{Jo.current=Qy},[Qy]),O.useEffect(()=>{ci(!0)},[]),O.useEffect(()=>{let te=gs.current;if(te){let ve=te.getBoundingClientRect().height;return Yy(ve),v(Te=>[{toastId:p.id,height:ve,position:p.position},...Te]),()=>v(Te=>Te.filter(Zt=>Zt.toastId!==p.id))}},[v,p.id]),O.useLayoutEffect(()=>{if(!pe)return;let te=gs.current,ve=te.style.height;te.style.height="auto";let Te=te.getBoundingClientRect().height;te.style.height=ve,Yy(Te),v(Zt=>Zt.find(en=>en.toastId===p.id)?Zt.map(en=>en.toastId===p.id?{...en,height:Te}:en):[{toastId:p.id,height:Te,position:p.position},...Zt])},[pe,p.title,p.description,v,p.id]);let gr=O.useCallback(()=>{ms(!0),Yo(fi.current),v(te=>te.filter(ve=>ve.toastId!==p.id)),setTimeout(()=>{j(p)},dI)},[p,j,v,fi]);O.useEffect(()=>{if(p.promise&&Ft==="loading"||p.duration===1/0||p.type==="loading")return;let te;return S||m||K&&ev?(()=>{if(Xy.current<Vd.current){let ve=new Date().getTime()-Vd.current;Jo.current=Jo.current-ve}Xy.current=new Date().getTime()})():Jo.current!==1/0&&(Vd.current=new Date().getTime(),te=setTimeout(()=>{var ve;(ve=p.onAutoClose)==null||ve.call(p,p),gr()},Jo.current)),()=>clearTimeout(te)},[S,m,p,Ft,K,ev,gr]),O.useEffect(()=>{p.delete&&gr()},[gr,p.delete]);function hE(){var te,ve,Te;return $!=null&&$.loading?O.createElement("div",{className:rn(I==null?void 0:I.loader,(te=p==null?void 0:p.classNames)==null?void 0:te.loader,"sonner-loader"),"data-visible":Ft==="loading"},$.loading):B?O.createElement("div",{className:rn(I==null?void 0:I.loader,(ve=p==null?void 0:p.classNames)==null?void 0:ve.loader,"sonner-loader"),"data-visible":Ft==="loading"},B):O.createElement(zR,{className:rn(I==null?void 0:I.loader,(Te=p==null?void 0:p.classNames)==null?void 0:Te.loader),visible:Ft==="loading"})}return O.createElement("li",{tabIndex:0,ref:gs,className:rn(M,oE,I==null?void 0:I.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,I==null?void 0:I.default,I==null?void 0:I[Ft],(n=p==null?void 0:p.classNames)==null?void 0:n[Ft]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:C,"data-styled":!(p.jsx||p.unstyled||x),"data-mounted":pe,"data-promise":!!p.promise,"data-swiped":Wd,"data-removed":fr,"data-visible":iE,"data-y-position":cE,"data-x-position":uE,"data-index":b,"data-front":sE,"data-swiping":pr,"data-dismissible":hi,"data-type":Ft,"data-invert":dE,"data-swipe-out":mr,"data-swipe-direction":Ve,"data-expanded":!!(S||N&&pe),style:{"--index":b,"--toasts-before":b,"--z-index":k.length-b,"--offset":`${fr?Ud:fi.current}px`,"--initial-height":N?"auto":`${di}px`,...A,...p.style},onDragEnd:()=>{ui(!1),ce(null),pi.current=null},onPointerDown:te=>{Hd||!hi||(Jy.current=new Date,Yo(fi.current),te.target.setPointerCapture(te.pointerId),te.target.tagName!=="BUTTON"&&(ui(!0),pi.current={x:te.clientX,y:te.clientY}))},onPointerUp:()=>{var te,ve,Te,Zt;if(mr||!hi)return;pi.current=null;let en=Number(((te=gs.current)==null?void 0:te.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),yr=Number(((ve=gs.current)==null?void 0:ve.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),ys=new Date().getTime()-((Te=Jy.current)==null?void 0:Te.getTime()),tn=oe==="x"?en:yr,vr=Math.abs(tn)/ys;if(Math.abs(tn)>=uI||vr>.11){Yo(fi.current),(Zt=p.onDismiss)==null||Zt.call(p,p),ot(oe==="x"?en>0?"right":"left":yr>0?"down":"up"),gr(),Ul(!0),Vl(!1);return}ui(!1),ce(null)},onPointerMove:te=>{var ve,Te,Zt,en;if(!pi.current||!hi||((ve=window.getSelection())==null?void 0:ve.toString().length)>0)return;let yr=te.clientY-pi.current.y,ys=te.clientX-pi.current.x,tn=(Te=e.swipeDirections)!=null?Te:hI(ee);!oe&&(Math.abs(ys)>1||Math.abs(yr)>1)&&ce(Math.abs(ys)>Math.abs(yr)?"x":"y");let vr={x:0,y:0};oe==="y"?(tn.includes("top")||tn.includes("bottom"))&&(tn.includes("top")&&yr<0||tn.includes("bottom")&&yr>0)&&(vr.y=yr):oe==="x"&&(tn.includes("left")||tn.includes("right"))&&(tn.includes("left")&&ys<0||tn.includes("right")&&ys>0)&&(vr.x=ys),(Math.abs(vr.x)>0||Math.abs(vr.y)>0)&&Vl(!0),(Zt=gs.current)==null||Zt.style.setProperty("--swipe-amount-x",`${vr.x}px`),(en=gs.current)==null||en.style.setProperty("--swipe-amount-y",`${vr.y}px`)}},lE&&!p.jsx?O.createElement("button",{"aria-label":X,"data-disabled":Hd,"data-close-button":!0,onClick:Hd||!hi?()=>{}:()=>{var te;gr(),(te=p.onDismiss)==null||te.call(p,p)},className:rn(I==null?void 0:I.closeButton,(s=p==null?void 0:p.classNames)==null?void 0:s.closeButton)},(i=$==null?void 0:$.close)!=null?i:JR):null,p.jsx||w.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:O.createElement(O.Fragment,null,Ft||p.icon||p.promise?O.createElement("div",{"data-icon":"",className:rn(I==null?void 0:I.icon,(o=p==null?void 0:p.classNames)==null?void 0:o.icon)}
vendor: 6,780 bytes, line 231
231,p.promise||p.type==="loading"&&!p.icon?p.icon||hE():null,p.type!=="loading"?p.icon||($==null?void 0:$[Ft])||VR(Ft):null):null,O.createElement("div",{"data-content":"",className:rn(I==null?void 0:I.content,(l=p==null?void 0:p.classNames)==null?void 0:l.content)},O.createElement("div",{"data-title":"",className:rn(I==null?void 0:I.title,(c=p==null?void 0:p.classNames)==null?void 0:c.title)},typeof p.title=="function"?p.title():p.title),p.description?O.createElement("div",{"data-description":"",className:rn(z,aE,I==null?void 0:I.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),w.isValidElement(p.cancel)?p.cancel:p.cancel&&dc(p.cancel)?O.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||P,onClick:te=>{var ve,Te;dc(p.cancel)&&hi&&((Te=(ve=p.cancel).onClick)==null||Te.call(ve,te),gr())},className:rn(I==null?void 0:I.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,w.isValidElement(p.action)?p.action:p.action&&dc(p.action)?O.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||F,onClick:te=>{var ve,Te;dc(p.action)&&((Te=(ve=p.action).onClick)==null||Te.call(ve,te),!te.defaultPrevented&&gr())},className:rn(I==null?void 0:I.actionButton,(h=p==null?void 0:p.classNames)==null?void 0:h.actionButton)},p.action.label):null))};function Tw(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function pI(e,t){let n={};return[e,t].forEach((r,s)=>{let i=s===1,o=i?"--mobile-offset":"--offset",l=i?aI:oI;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${o}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${o}-${u}`]=l:n[`${o}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}var mI=w.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:i,closeButton:o,className:l,offset:c,mobileOffset:u,theme:d="light",richColors:h,duration:f,style:p,visibleToasts:x=iI,toastOptions:m,dir:v=Tw(),gap:g=cI,loadingIcon:y,icons:b,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:S}=e,[j,C]=O.useState([]),_=O.useMemo(()=>Array.from(new Set([r].concat(j.filter(K=>K.position).map(K=>K.position)))),[j,r]),[A,P]=O.useState([]),[F,M]=O.useState(!1),[z,L]=O.useState(!1),[ee,R]=O.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=O.useRef(null),N=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),I=O.useRef(null),$=O.useRef(!1),X=O.useCallback(K=>{C(oe=>{var ce;return(ce=oe.find(Ve=>Ve.id===K.id))!=null&&ce.delete||jt.dismiss(K.id),oe.filter(({id:Ve})=>Ve!==K.id)})},[]);return O.useEffect(()=>jt.subscribe(K=>{if(K.dismiss){C(oe=>oe.map(ce=>ce.id===K.id?{...ce,delete:!0}:ce));return}setTimeout(()=>{Bk.flushSync(()=>{C(oe=>{let ce=oe.findIndex(Ve=>Ve.id===K.id);return ce!==-1?[...oe.slice(0,ce),{...oe[ce],...K},...oe.slice(ce+1)]:[K,...oe]})})})}),[]),O.useEffect(()=>{if(d!=="system"){R(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?R("dark"):R("light")),typeof window>"u")return;let K=window.matchMedia("(prefers-color-scheme: dark)");try{K.addEventListener("change",({matches:oe})=>{R(oe?"dark":"light")})}catch{K.addListener(({matches:ce})=>{try{R(ce?"dark":"light")}catch(Ve){console.error(Ve)}})}},[d]),O.useEffect(()=>{j.length<=1&&M(!1)},[j]),O.useEffect(()=>{let K=oe=>{var ce,Ve;s.every(ot=>oe[ot]||oe.code===ot)&&(M(!0),(ce=B.current)==null||ce.focus()),oe.code==="Escape"&&(document.activeElement===B.current||(Ve=B.current)!=null&&Ve.contains(document.activeElement))&&M(!1)};return document.addEventListener("keydown",K),()=>document.removeEventListener("keydown",K)},[s]),O.useEffect(()=>{if(B.current)return()=>{I.current&&(I.current.focus({preventScroll:!0}),I.current=null,$.current=!1)}},[B.current]),O.createElement("section",{ref:t,"aria-label":`${k} ${N}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},_.map((K,oe)=>{var ce;let[Ve,ot]=K.split("-");return j.length?O.createElement("ol",{key:K,dir:v==="auto"?Tw():v,tabIndex:-1,ref:B,className:l,"data-sonner-toaster":!0,"data-theme":ee,"data-y-position":Ve,"data-lifted":F&&j.length>1&&!i,"data-x-position":ot,style:{"--front-toast-height":`${((ce=A[0])==null?void 0:ce.height)||0}px`,"--width":`${lI}px`,"--gap":`${g}px`,...p,...pI(c,u)},onBlur:pe=>{$.current&&!pe.currentTarget.contains(pe.relatedTarget)&&($.current=!1,I.current&&(I.current.focus({preventScroll:!0}),I.current=null))},onFocus:pe=>{pe.target instanceof HTMLElement&&pe.target.dataset.dismissible==="false"||$.current||($.current=!0,I.current=pe.relatedTarget)},onMouseEnter:()=>M(!0),onMouseMove:()=>M(!0),onMouseLeave:()=>{z||M(!1)},onDragEnd:()=>M(!1),onPointerDown:pe=>{pe.target instanceof HTMLElement&&pe.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},j.filter(pe=>!pe.position&&oe===0||pe.position===K).map((pe,ci)=>{var fr,ms;return O.createElement(fI,{key:pe.id,icons:b,index:ci,toast:pe,defaultRichColors:h,duration:(fr=m==null?void 0:m.duration)!=null?fr:f,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:n,visibleToasts:x,closeButton:(ms=m==null?void 0:m.closeButton)!=null?ms:o,interacting:z,position:K,style:m==null?void 0:m.style,unstyled:m==null?void 0:m.unstyled,classNames:m==null?void 0:m.classNames,cancelButtonStyle:m==null?void 0:m.cancelButtonStyle,actionButtonStyle:m==null?void 0:m.actionButtonStyle,removeToast:X,toasts:j.filter(pr=>pr.position==pe.position),heights:A.filter(pr=>pr.position==pe.position),setHeights:P,expandByDefault:i,gap:g,loadingIcon:y,expanded:F,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const gI=({...e})=>{const{theme:t="system"}=UR();return a.jsx(mI,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var yI=Cm[" useId ".trim().toString()]||(()=>{}),vI=0;function qs(e){const[t,n]=w.useState(yI());return Ln(()=>{e||n(r=>r??String(vI++))},[e]),e||(t?`radix-${t}`:"")}
vendor: 10,459 bytes, line 231
231const wI=["top","right","bottom","left"],os=Math.min,Rt=Math.max,Eu=Math.round,hc=Math.floor,On=e=>({x:e,y:e}),xI={left:"right",right:"left",bottom:"top",top:"bottom"},bI={start:"end",end:"start"};function mp(e,t,n){return Rt(e,os(t,n))}function rr(e,t){return typeof e=="function"?e(t):e}function sr(e){return e.split("-")[0]}function Fo(e){return e.split("-")[1]}function _g(e){return e==="x"?"y":"x"}function Eg(e){return e==="y"?"height":"width"}const kI=new Set(["top","bottom"]);function Pn(e){return kI.has(sr(e))?"y":"x"}function Ag(e){return _g(Pn(e))}function SI(e,t,n){n===void 0&&(n=!1);const r=Fo(e),s=Ag(e),i=Eg(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=Au(o)),[o,Au(o)]}function jI(e){const t=Au(e);return[gp(e),t,gp(t)]}function gp(e){return e.replace(/start|end/g,t=>bI[t])}const Cw=["left","right"],_w=["right","left"],TI=["top","bottom"],CI=["bottom","top"];function _I(e,t,n){switch(e){case"top":case"bottom":return n?t?_w:Cw:t?Cw:_w;case"left":case"right":return t?TI:CI;default:return[]}}function EI(e,t,n,r){const s=Fo(e);let i=_I(sr(e),n==="start",r);return s&&(i=i.map(o=>o+"-"+s),t&&(i=i.concat(i.map(gp)))),i}function Au(e){return e.replace(/left|right|bottom|top/g,t=>xI[t])}function AI(e){return{top:0,right:0,bottom:0,left:0,...e}}function RS(e){return typeof e!="number"?AI(e):{top:e,right:e,bottom:e,left:e}}function Nu(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function Ew(e,t,n){let{reference:r,floating:s}=e;const i=Pn(t),o=Ag(t),l=Eg(o),c=sr(t),u=i==="y",d=r.x+r.width/2-s.width/2,h=r.y+r.height/2-s.height/2,f=r[l]/2-s[l]/2;let p;switch(c){case"top":p={x:d,y:r.y-s.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:h};break;case"left":p={x:r.x-s.width,y:h};break;default:p={x:r.x,y:r.y}}switch(Fo(t)){case"start":p[o]-=f*(n&&u?-1:1);break;case"end":p[o]+=f*(n&&u?-1:1);break}return p}const NI=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:o}=n,l=i.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:h}=Ew(u,r,c),f=r,p={},x=0;for(let m=0;m<l.length;m++){const{name:v,fn:g}=l[m],{x:y,y:b,data:k,reset:S}=await g({x:d,y:h,initialPlacement:r,placement:f,strategy:s,middlewareData:p,rects:u,platform:o,elements:{reference:e,floating:t}});d=y??d,h=b??h,p={...p,[v]:{...p[v],...k}},S&&x<=50&&(x++,typeof S=="object"&&(S.placement&&(f=S.placement),S.rects&&(u=S.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:d,y:h}=Ew(u,f,c)),m=-1)}return{x:d,y:h,placement:f,strategy:s,middlewareData:p}};async function nl(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:i,rects:o,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:f=!1,padding:p=0}=rr(t,e),x=RS(p),v=l[f?h==="floating"?"reference":"floating":h],g=Nu(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),y=h==="floating"?{x:r,y:s,width:o.floating.width,height:o.floating.height}:o.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),k=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},S=Nu(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:c}):y);return{top:(g.top-S.top+x.top)/k.y,bottom:(S.bottom-g.bottom+x.bottom)/k.y,left:(g.left-S.left+x.left)/k.x,right:(S.right-g.right+x.right)/k.x}}const PI=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:i,platform:o,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=rr(e,t)||{};if(u==null)return{};const h=RS(d),f={x:n,y:r},p=Ag(s),x=Eg(p),m=await o.getDimensions(u),v=p==="y",g=v?"top":"left",y=v?"bottom":"right",b=v?"clientHeight":"clientWidth",k=i.reference[x]+i.reference[p]-f[p]-i.floating[x],S=f[p]-i.reference[p],j=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let C=j?j[b]:0;(!C||!await(o.isElement==null?void 0:o.isElement(j)))&&(C=l.floating[b]||i.floating[x]);const _=k/2-S/2,A=C/2-m[x]/2-1,P=os(h[g],A),F=os(h[y],A),M=P,z=C-m[x]-F,L=C/2-m[x]/2+_,ee=mp(M,L,z),R=!c.arrow&&Fo(s)!=null&&L!==ee&&i.reference[x]/2-(L<M?P:F)-m[x]/2<0,B=R?L<M?L-M:L-z:0;return{[p]:f[p]+B,data:{[p]:ee,centerOffset:L-ee-B,...R&&{alignmentOffset:B}},reset:R}}}),RI=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:i,rects:o,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:m=!0,...v}=rr(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=sr(s),y=Pn(l),b=sr(l)===l,k=await(c.isRTL==null?void 0:c.isRTL(u.floating)),S=f||(b||!m?[Au(l)]:jI(l)),j=x!=="none";!f&&j&&S.push(...EI(l,m,x,k));const C=[l,...S],_=await nl(t,v),A=[];let P=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&A.push(_[g]),h){const L=SI(s,o,k);A.push(_[L[0]],_[L[1]])}if(P=[...P,{placement:s,overflows:A}],!A.every(L=>L<=0)){var F,M;const L=(((F=i.flip)==null?void 0:F.index)||0)+1,ee=C[L];if(ee&&(!(h==="alignment"?y!==Pn(ee):!1)||P.every(N=>N.overflows[0]>0&&Pn(N.placement)===y)))return{data:{index:L,overflows:P},reset:{placement:ee}};let R=(M=P.filter(B=>B.overflows[0]<=0).sort((B,N)=>B.overflows[1]-N.overflows[1])[0])==null?void 0:M.placement;if(!R)switch(p){case"bestFit":{var z;const B=(z=P.filter(N=>{if(j){const I=Pn(N.placement);return I===y||I==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(I=>I>0).reduce((I,$)=>I+$,0)]).sort((N,I)=>N[1]-I[1])[0])==null?void 0:z[0];B&&(R=B);break}case"initialPlacement":R=l;break}if(s!==R)return{reset:{placement:R}}}return{}}}};function Aw(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Nw(e){return wI.some(t=>e[t]>=0)}const II=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=rr(e,t);switch(r){case"referenceHidden":{const i=await nl(t,{...s,elementContext:"reference"}),o=Aw(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Nw(o)}}}case"escaped":{const i=await nl(t,{...s,altBoundary:!0}),o=Aw(i,n.floating);return{data:{escapedOffsets:o,escaped:Nw(o)}}}default:return{}}}}},IS=new Set(["left","top"]);async function OI(e,t){const{placement:n,platform:r,elements:s}=e,i=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=sr(n),l=Fo(n),c=Pn(n)==="y",u=IS.has(o)?-1:1,d=i&&c?-1:1,h=rr(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:x}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof x=="number"&&(p=l==="end"?x*-1:x),c?{x:p*d,y:f*u}:{x:f*u,y:p*d}}const DI=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:i,placement:o,middlewareData:l}=t,c=await OI(t,e);return o===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:i+c.y,data:{...c,placement:o}}}}},MI=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:l={fn:v=>{let{x:g,y}=v;return{x:g,y}}},...c}=rr(e,t),u={x:n,y:r},d=await nl(t,c),h=Pn(sr(s)),f=_g(h);let p=u[f],x=u[h];if(i){const v=f==="y"?"top":"left",g=f==="y"?"bottom":"right",y=p+d[v],b=p-d[g];p=mp(y,p,b)}if(o){const v=h==="y"?"top":"left",g=h==="y"?"bottom":"right",y=x+d[v],b=x-d[g];x=mp(y,x,b)}const m=l.fn({...t,[f]:p,[h]:x});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:i,[h]:o}}}}}},LI=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:i,middlewareData:o}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=rr(e,t),d={x:n,y:r},h=Pn(s),f=_g(h);let p=d[f],x=d[h];const m=rr(l,t),v=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const b=f==="y"?"height":"width",k=i.reference[f]-i.floating[b]+v.mainAxis,S=i.reference[f]+i.reference[b]-v.mainAxis;p<k?p=k:p>S&&(p=S)}if(u){var g,y;const b=f==="y"?"width":"height",k=IS.has(sr(s)),S=i.reference[h]-i.floating[b]+(k&&((g=o.offset)==null?void 0:g[h])||0)+(k?0:v.crossAxis),j=i.reference[h]+i.reference[b]+(k?0:((y=o.offset)==null?void 0:y[h])||0)-(k?v.crossAxis:0);x<S?x=S:x>j&&(x=j)}return{[f]:p,[h]:x}}}},$I=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:i,platform:o,elements:l}=t,{apply:c=()=>{},...u}=rr(e,t),d=await nl(t,u),h=sr(s),f=Fo(s),p=Pn(s)==="y",{width:x,height:m}=i.floating;let v,g;h==="top"||h==="bottom"?(v=h,g=f===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(g=h,v=f==="end"?"top":"bottom");const y=m-d.top-d.bottom,b=x-d.left-d.right,k=os(m-d[v],y),S=os(x-d[g],b),j=!t.middlewareData.shift;let C=k,_=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(_=b),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=y),j&&!f){const P=Rt(d.left,0),F=Rt(d.right,0),M=Rt(d.top,0),z=Rt(d.bottom,0);p?_=x-2*(P!==0||F!==0?P+F:Rt(d.left,d.right)):C=m-2*(M!==0||z!==0?M+z:Rt(d.top,d.bottom))}await c({...t,availableWidth:_,availableHeight:C});const A=await o.getDimensions(l.floating);return x!==A.width||m!==A.height?{reset:{rects:!0}}:{}}}};function md(){return typeof window<"u"}function Bo(e){return OS(e)?(e.nodeName||"").toLowerCase():"#document"}function Dt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Bn(e){var t;return(t=(OS(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function OS(e){return md()?e instanceof Node||e instanceof Dt(e).Node:!1}function xn(e){return md()?e instanceof Element||e instanceof Dt(e).Element:!1}function $n(e){return md()?e instanceof HTMLElement||e instanceof Dt(e).HTMLElement:!1}function Pw(e){return!md()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Dt(e).ShadowRoot}const FI=new Set(["inline","contents"]);function Pl(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=bn(e);
vendor: 4,121 bytes, line 231
231return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!FI.has(s)}const BI=new Set(["table","td","th"]);function WI(e){return BI.has(Bo(e))}const UI=[":popover-open",":modal"];function gd(e){return UI.some(t=>{try{return e.matches(t)}catch{return!1}})}const VI=["transform","translate","scale","rotate","perspective"],HI=["transform","translate","scale","rotate","perspective","filter"],zI=["paint","layout","strict","content"];function Ng(e){const t=Pg(),n=xn(e)?bn(e):e;return VI.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||HI.some(r=>(n.willChange||"").includes(r))||zI.some(r=>(n.contain||"").includes(r))}function qI(e){let t=as(e);for(;$n(t)&&!Eo(t);){if(Ng(t))return t;if(gd(t))return null;t=as(t)}return null}function Pg(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const KI=new Set(["html","body","#document"]);function Eo(e){return KI.has(Bo(e))}function bn(e){return Dt(e).getComputedStyle(e)}function yd(e){return xn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function as(e){if(Bo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Pw(e)&&e.host||Bn(e);return Pw(t)?t.host:t}function DS(e){const t=as(e);return Eo(t)?e.ownerDocument?e.ownerDocument.body:e.body:$n(t)&&Pl(t)?t:DS(t)}function rl(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=DS(e),i=s===((r=e.ownerDocument)==null?void 0:r.body),o=Dt(s);if(i){const l=yp(o);return t.concat(o,o.visualViewport||[],Pl(s)?s:[],l&&n?rl(l):[])}return t.concat(s,rl(s,[],n))}function yp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function MS(e){const t=bn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=$n(e),i=s?e.offsetWidth:n,o=s?e.offsetHeight:r,l=Eu(n)!==i||Eu(r)!==o;return l&&(n=i,r=o),{width:n,height:r,$:l}}function Rg(e){return xn(e)?e:e.contextElement}function eo(e){const t=Rg(e);if(!$n(t))return On(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:i}=MS(t);let o=(i?Eu(n.width):n.width)/r,l=(i?Eu(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const GI=On(0);function LS(e){const t=Dt(e);return!Pg()||!t.visualViewport?GI:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function YI(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Dt(e)?!1:t}function ni(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),i=Rg(e);let o=On(1);t&&(r?xn(r)&&(o=eo(r)):o=eo(e));const l=YI(i,n,r)?LS(i):On(0);let c=(s.left+l.x)/o.x,u=(s.top+l.y)/o.y,d=s.width/o.x,h=s.height/o.y;if(i){const f=Dt(i),p=r&&xn(r)?Dt(r):r;let x=f,m=yp(x);for(;m&&r&&p!==x;){const v=eo(m),g=m.getBoundingClientRect(),y=bn(m),b=g.left+(m.clientLeft+parseFloat(y.paddingLeft))*v.x,k=g.top+(m.clientTop+parseFloat(y.paddingTop))*v.y;c*=v.x,u*=v.y,d*=v.x,h*=v.y,c+=b,u+=k,x=Dt(m),m=yp(x)}}return Nu({width:d,height:h,x:c,y:u})}function Ig(e,t){const n=yd(e).scrollLeft;return t?t.left+n:ni(Bn(e)).left+n}function $S(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=r.left+t.scrollLeft-(n?0:Ig(e,r)),i=r.top+t.scrollTop;return{x:s,y:i}}function JI(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const i=s==="fixed",o=Bn(r),l=t?gd(t.floating):!1;if(r===o||l&&i)return n;let c={scrollLeft:0,scrollTop:0},u=On(1);const d=On(0),h=$n(r);if((h||!h&&!i)&&((Bo(r)!=="body"||Pl(o))&&(c=yd(r)),$n(r))){const p=ni(r);u=eo(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const f=o&&!h&&!i?$S(o,c,!0):On(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+f.x,y:n.y*u.y-c.scrollTop*u.y+d.y+f.y}}function QI(e){return Array.from(e.getClientRects())}function XI(e){const t=Bn(e),n=yd(e),r=e.ownerDocument.body,s=Rt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Rt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Ig(e);const l=-n.scrollTop;return bn(r).direction==="rtl"&&(o+=Rt(t.clientWidth,r.clientWidth)-s),{width:s,height:i,x:o,y:l}}
vendor: 4,590 bytes, line 231
231function ZI(e,t){const n=Dt(e),r=Bn(e),s=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,l=0,c=0;if(s){i=s.width,o=s.height;const u=Pg();(!u||u&&t==="fixed")&&(l=s.offsetLeft,c=s.offsetTop)}return{width:i,height:o,x:l,y:c}}const eO=new Set(["absolute","fixed"]);function tO(e,t){const n=ni(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,i=$n(e)?eo(e):On(1),o=e.clientWidth*i.x,l=e.clientHeight*i.y,c=s*i.x,u=r*i.y;return{width:o,height:l,x:c,y:u}}function Rw(e,t,n){let r;if(t==="viewport")r=ZI(e,n);else if(t==="document")r=XI(Bn(e));else if(xn(t))r=tO(t,n);else{const s=LS(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Nu(r)}function FS(e,t){const n=as(e);return n===t||!xn(n)||Eo(n)?!1:bn(n).position==="fixed"||FS(n,t)}function nO(e,t){const n=t.get(e);if(n)return n;let r=rl(e,[],!1).filter(l=>xn(l)&&Bo(l)!=="body"),s=null;const i=bn(e).position==="fixed";let o=i?as(e):e;for(;xn(o)&&!Eo(o);){const l=bn(o),c=Ng(o);!c&&l.position==="fixed"&&(s=null),(i?!c&&!s:!c&&l.position==="static"&&!!s&&eO.has(s.position)||Pl(o)&&!c&&FS(e,o))?r=r.filter(d=>d!==o):s=l,o=as(o)}return t.set(e,r),r}function rO(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=[...n==="clippingAncestors"?gd(t)?[]:nO(t,this._c):[].concat(n),r],l=o[0],c=o.reduce((u,d)=>{const h=Rw(t,d,s);return u.top=Rt(h.top,u.top),u.right=os(h.right,u.right),u.bottom=os(h.bottom,u.bottom),u.left=Rt(h.left,u.left),u},Rw(t,l,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function sO(e){const{width:t,height:n}=MS(e);return{width:t,height:n}}function iO(e,t,n){const r=$n(t),s=Bn(t),i=n==="fixed",o=ni(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=On(0);function u(){c.x=Ig(s)}if(r||!r&&!i)if((Bo(t)!=="body"||Pl(s))&&(l=yd(t)),r){const p=ni(t,!0,i,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else s&&u();i&&!r&&s&&u();const d=s&&!r&&!i?$S(s,l):On(0),h=o.left+l.scrollLeft-c.x-d.x,f=o.top+l.scrollTop-c.y-d.y;return{x:h,y:f,width:o.width,height:o.height}}function kh(e){return bn(e).position==="static"}function Iw(e,t){if(!$n(e)||bn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Bn(e)===n&&(n=n.ownerDocument.body),n}function BS(e,t){const n=Dt(e);if(gd(e))return n;if(!$n(e)){let s=as(e);for(;s&&!Eo(s);){if(xn(s)&&!kh(s))return s;s=as(s)}return n}let r=Iw(e,t);for(;r&&WI(r)&&kh(r);)r=Iw(r,t);return r&&Eo(r)&&kh(r)&&!Ng(r)?n:r||qI(e)||n}const oO=async function(e){const t=this.getOffsetParent||BS,n=this.getDimensions,r=await n(e.floating);return{reference:iO(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function aO(e){return bn(e).direction==="rtl"}const lO={convertOffsetParentRelativeRectToViewportRelativeRect:JI,getDocumentElement:Bn,getClippingRect:rO,getOffsetParent:BS,getElementRects:oO,getClientRects:QI,getDimensions:sO,getScale:eo,isElement:xn,isRTL:aO};function WS(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function cO(e,t){let n=null,r;const s=Bn(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function o(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const u=e.getBoundingClientRect(),{left:d,top:h,width:f,height:p}=u;if(l||t(),!f||!p)return;const x=hc(h),m=hc(s.clientWidth-(d+f)),v=hc(s.clientHeight-(h+p)),g=hc(d),b={rootMargin:-x+"px "+-m+"px "+-v+"px "+-g+"px",threshold:Rt(0,os(1,c))||1};let k=!0;function S(j){const C=j[0].intersectionRatio;if(C!==c){if(!k)return o();C?o(!1,C):r=setTimeout(()=>{o(!1,1e-7)},1e3)}C===1&&!WS(u,e.getBoundingClientRect())&&o(),k=!1}try{n=new IntersectionObserver(S,{...b,root:s.ownerDocument})}catch{n=new IntersectionObserver(S,b)}n.observe(e)}return o(!0),i}function uO(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Rg(e),d=s||i?[...u?rl(u):[],...rl(t)]:[];d.forEach(g=>{s&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const h=u&&l?cO(u,n):null;let f=-1,p=null;o&&(p=new ResizeObserver(g=>{let[y]=g;y&&y.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(t)})),n()}),u&&!c&&p.observe(u),p.observe(t));let x,m=c?ni(e):null;c&&v();function v(){const g=ni(e);m&&!WS(m,g)&&n(),m=g,x=requestAnimationFrame(v)}return n(),()=>{var g;d.forEach(y=>{s&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),h==null||h(),(g=p)==null||g.disconnect(),p=null,c&&cancelAnimationFrame(x)}}
vendor: 4,253 bytes, line 231
231const dO=DI,hO=MI,fO=RI,pO=$I,mO=II,Ow=PI,gO=LI,yO=(e,t,n)=>{const r=new Map,s={platform:lO,...n},i={...s.platform,_c:r};return NI(e,t,{...s,platform:i})};var vO=typeof document<"u",wO=function(){},zc=vO?w.useLayoutEffect:wO;function Pu(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Pu(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const i=s[r];if(!(i==="_owner"&&e.$$typeof)&&!Pu(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function US(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Dw(e,t){const n=US(e);return Math.round(t*n)/n}function Sh(e){const t=w.useRef(e);return zc(()=>{t.current=e}),t}function xO(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:i,floating:o}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,h]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=w.useState(r);Pu(f,r)||p(r);const[x,m]=w.useState(null),[v,g]=w.useState(null),y=w.useCallback(N=>{N!==j.current&&(j.current=N,m(N))},[]),b=w.useCallback(N=>{N!==C.current&&(C.current=N,g(N))},[]),k=i||x,S=o||v,j=w.useRef(null),C=w.useRef(null),_=w.useRef(d),A=c!=null,P=Sh(c),F=Sh(s),M=Sh(u),z=w.useCallback(()=>{if(!j.current||!C.current)return;const N={placement:t,strategy:n,middleware:f};F.current&&(N.platform=F.current),yO(j.current,C.current,N).then(I=>{const $={...I,isPositioned:M.current!==!1};L.current&&!Pu(_.current,$)&&(_.current=$,Al.flushSync(()=>{h($)}))})},[f,t,n,F,M]);zc(()=>{u===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,h(N=>({...N,isPositioned:!1})))},[u]);const L=w.useRef(!1);zc(()=>(L.current=!0,()=>{L.current=!1}),[]),zc(()=>{if(k&&(j.current=k),S&&(C.current=S),k&&S){if(P.current)return P.current(k,S,z);z()}},[k,S,z,P,A]);const ee=w.useMemo(()=>({reference:j,floating:C,setReference:y,setFloating:b}),[y,b]),R=w.useMemo(()=>({reference:k,floating:S}),[k,S]),B=w.useMemo(()=>{const N={position:n,left:0,top:0};if(!R.floating)return N;const I=Dw(R.floating,d.x),$=Dw(R.floating,d.y);return l?{...N,transform:"translate("+I+"px, "+$+"px)",...US(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:I,top:$}},[n,l,R.floating,d.x,d.y]);return w.useMemo(()=>({...d,update:z,refs:ee,elements:R,floatingStyles:B}),[d,z,ee,R,B])}const bO=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Ow({element:r.current,padding:s}).fn(n):{}:r?Ow({element:r,padding:s}).fn(n):{}}}},kO=(e,t)=>({...dO(e),options:[e,t]}),SO=(e,t)=>({...hO(e),options:[e,t]}),jO=(e,t)=>({...gO(e),options:[e,t]}),TO=(e,t)=>({...fO(e),options:[e,t]}),CO=(e,t)=>({...pO(e),options:[e,t]}),_O=(e,t)=>({...mO(e),options:[e,t]}),EO=(e,t)=>({...bO(e),options:[e,t]});var AO="Arrow",VS=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...i}=e;return a.jsx(le.svg,{...i,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});VS.displayName=AO;var NO=VS;function Og(e){const[t,n]=w.useState(void 0);return Ln(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let o,l;if("borderBoxSize"in i){const c=i.borderBoxSize,u=Array.isArray(c)?c[0]:c;o=u.inlineSize,l=u.blockSize}else o=e.offsetWidth,l=e.offsetHeight;n({width:o,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var HS="Popper",[zS,qS]=Xt(HS),[mV,KS]=zS(HS),GS="PopperAnchor",YS=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,i=KS(GS,n),o=w.useRef(null),l=Ee(t,o);return w.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:a.jsx(le.div,{...s,ref:l})});YS.displayName=GS;var Dg="PopperContent",[PO,RO]=zS(Dg),JS=w.forwardRef((e,t)=>
vendor: 4,213 bytes, line 231
231{var pe,ci,fr,ms,pr,ui;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:i="center",alignOffset:o=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:x,...m}=e,v=KS(Dg,n),[g,y]=w.useState(null),b=Ee(t,mr=>y(mr)),[k,S]=w.useState(null),j=Og(k),C=(j==null?void 0:j.width)??0,_=(j==null?void 0:j.height)??0,A=r+(i!=="center"?"-"+i:""),P=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},F=Array.isArray(u)?u:[u],M=F.length>0,z={padding:P,boundary:F.filter(OO),altBoundary:M},{refs:L,floatingStyles:ee,placement:R,isPositioned:B,middlewareData:N}=xO({strategy:"fixed",placement:A,whileElementsMounted:(...mr)=>uO(...mr,{animationFrame:p==="always"}),elements:{reference:v.anchor},middleware:[kO({mainAxis:s+_,alignmentAxis:o}),c&&SO({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?jO():void 0,...z}),c&&TO({...z}),CO({...z,apply:({elements:mr,rects:Ul,availableWidth:Wd,availableHeight:Vl})=>{const{width:Ud,height:Yo}=Ul.reference,di=mr.floating.style;di.setProperty("--radix-popper-available-width",`${Wd}px`),di.setProperty("--radix-popper-available-height",`${Vl}px`),di.setProperty("--radix-popper-anchor-width",`${Ud}px`),di.setProperty("--radix-popper-anchor-height",`${Yo}px`)}}),k&&EO({element:k,padding:l}),DO({arrowWidth:C,arrowHeight:_}),f&&_O({strategy:"referenceHidden",...z})]}),[I,$]=ZS(R),X=wn(x);Ln(()=>{B&&(X==null||X())},[B,X]);const K=(pe=N.arrow)==null?void 0:pe.x,oe=(ci=N.arrow)==null?void 0:ci.y,ce=((fr=N.arrow)==null?void 0:fr.centerOffset)!==0,[Ve,ot]=w.useState();return Ln(()=>{g&&ot(window.getComputedStyle(g).zIndex)},[g]),a.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...ee,transform:B?ee.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ve,"--radix-popper-transform-origin":[(ms=N.transformOrigin)==null?void 0:ms.x,(pr=N.transformOrigin)==null?void 0:pr.y].join(" "),...((ui=N.hide)==null?void 0:ui.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(PO,{scope:n,placedSide:I,onArrowChange:S,arrowX:K,arrowY:oe,shouldHideArrow:ce,children:a.jsx(le.div,{"data-side":I,"data-align":$,...m,ref:b,style:{...m.style,animation:B?void 0:"none"}})})})});JS.displayName=Dg;var QS="PopperArrow",IO={top:"bottom",right:"left",bottom:"top",left:"right"},XS=w.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,i=RO(QS,r),o=IO[i.placedSide];return a.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:a.jsx(NO,{...s,ref:n,style:{...s.style,display:"block"}})})});XS.displayName=QS;function OO(e){return e!==null}var DO=e=>({name:"transformOrigin",options:e,fn(t){var v,g,y;const{placement:n,rects:r,middlewareData:s}=t,o=((v=s.arrow)==null?void 0:v.centerOffset)!==0,l=o?0:e.arrowWidth,c=o?0:e.arrowHeight,[u,d]=ZS(n),h={start:"0%",center:"50%",end:"100%"}[d],f=(((g=s.arrow)==null?void 0:g.x)??0)+l/2,p=(((y=s.arrow)==null?void 0:y.y)??0)+c/2;let x="",m="";return u==="bottom"?(x=o?h:`${f}px`,m=`${-c}px`):u==="top"?(x=o?h:`${f}px`,m=`${r.floating.height+c}px`):u==="right"?(x=`${-c}px`,m=o?h:`${p}px`):u==="left"&&(x=`${r.floating.width+c}px`,m=o?h:`${p}px`),{data:{x,y:m}}}});function ZS(e){const[t,n="center"]=e.split("-");return[t,n]}var MO=YS,LO=JS,$O=XS,[vd,gV]=Xt("Tooltip",[qS]),Mg=qS(),ej="TooltipProvider",FO=700,Mw="tooltip.open",[BO,tj]=vd(ej),nj=e=>{const{__scopeTooltip:t,delayDuration:n=FO,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:i}=e,o=w.useRef(!0),l=w.useRef(!1),c=w.useRef(0);return w.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),a.jsx(BO,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>
vendor: 4,665 bytes, line 231
231o.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:w.useCallback(u=>{l.current=u},[]),disableHoverableContent:s,children:i})};nj.displayName=ej;var rj="Tooltip",[yV,wd]=vd(rj),vp="TooltipTrigger",WO=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=wd(vp,n),i=tj(vp,n),o=Mg(n),l=w.useRef(null),c=Ee(t,l,s.onTriggerChange),u=w.useRef(!1),d=w.useRef(!1),h=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),a.jsx(MO,{asChild:!0,...o,children:a.jsx(le.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:c,onPointerMove:ie(e.onPointerMove,f=>{f.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:ie(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:ie(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:ie(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:ie(e.onBlur,s.onClose),onClick:ie(e.onClick,s.onClose)})})});WO.displayName=vp;var UO="TooltipPortal",[vV,VO]=vd(UO,{forceMount:void 0}),Ao="TooltipContent",sj=w.forwardRef((e,t)=>{const n=VO(Ao,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...i}=e,o=wd(Ao,e.__scopeTooltip);return a.jsx(ar,{present:r||o.open,children:o.disableHoverableContent?a.jsx(ij,{side:s,...i,ref:t}):a.jsx(HO,{side:s,...i,ref:t})})}),HO=w.forwardRef((e,t)=>{const n=wd(Ao,e.__scopeTooltip),r=tj(Ao,e.__scopeTooltip),s=w.useRef(null),i=Ee(t,s),[o,l]=w.useState(null),{trigger:c,onClose:u}=n,d=s.current,{onPointerInTransitChange:h}=r,f=w.useCallback(()=>{l(null),h(!1)},[h]),p=w.useCallback((x,m)=>{const v=x.currentTarget,g={x:x.clientX,y:x.clientY},y=YO(g,v.getBoundingClientRect()),b=JO(g,y),k=QO(m.getBoundingClientRect()),S=ZO([...b,...k]);l(S),h(!0)},[h]);return w.useEffect(()=>()=>f(),[f]),w.useEffect(()=>{if(c&&d){const x=v=>p(v,d),m=v=>p(v,c);return c.addEventListener("pointerleave",x),d.addEventListener("pointerleave",m),()=>{c.removeEventListener("pointerleave",x),d.removeEventListener("pointerleave",m)}}},[c,d,p,f]),w.useEffect(()=>{if(o){const x=m=>{const v=m.target,g={x:m.clientX,y:m.clientY},y=(c==null?void 0:c.contains(v))||(d==null?void 0:d.contains(v)),b=!XO(g,o);y?f():b&&(f(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[c,d,o,u,f]),a.jsx(ij,{...e,ref:i})}),[zO,qO]=vd(rj,{isInside:!1}),KO=Hk("TooltipContent"),ij=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:i,onPointerDownOutside:o,...l}=e,c=wd(Ao,n),u=Mg(n),{onClose:d}=c;return w.useEffect(()=>(document.addEventListener(Mw,d),()=>document.removeEventListener(Mw,d)),[d]),w.useEffect(()=>{if(c.trigger){const h=f=>{const p=f.target;p!=null&&p.contains(c.trigger)&&d()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[c.trigger,d]),a.jsx(dd,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:h=>h.preventDefault(),onDismiss:d,children:a.jsxs(LO,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[a.jsx(KO,{children:r}),a.jsx(zO,{scope:n,isInside:!0,children:a.jsx(vP,{id:c.contentId,role:"tooltip",children:s||r})})]})})});sj.displayName=Ao;var oj="TooltipArrow",GO=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Mg(n);return qO(oj,n).isInside?null:a.jsx($O,{...s,...r,ref:t})});GO.displayName=oj;function YO(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,s,i)){case i:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function JO(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function QO(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function XO(e,t){const{x:n,y:r}=e;let s=!1;for(let i=0,o=t.length-1;i<t.length;
231o=i++){const l=t[i],c=t[o],u=l.x,d=l.y,h=c.x,f=c.y;d>r!=f>r&&n<(h-u)*(r-d)/(f-d)+u&&(s=!s)}return s}function ZO(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),e5(t)}function e5(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const i=t[t.length-1],o=t[t.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const i=n[n.length-1],o=n[n.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))n.pop();else break}n.push(s)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var t5=nj,aj=sj;const n5=t5,r5=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>a.jsx(aj,{ref:r,sideOffset:t,className:Q("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));r5.displayName=aj.displayName;var Wo=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(){}},ri=typeof window>"u"||"Deno"in globalThis;function gt(){}function s5(e,t){return typeof e=="function"?e(t):e}function wp(e){return typeof e=="number"&&e>=0&&e!==1/0}function lj(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ts(e,t){return typeof e=="function"?e(t):e}function Vt(e,t){return typeof e=="function"?e(t):e}function Lw(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:i,queryKey:o,stale:l}=e;if(o){if(r){if(t.queryHash!==Lg(o,t.options))return!1}else if(!sl(t.queryKey,o))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||s&&s!==t.state.fetchStatus||i&&!i(t))}function $w(e,t){const{exact:n,status:r,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(si(t.options.mutationKey)!==si(i))return!1}else if(!sl(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Lg(e,t){return((t==null?void 0:t.queryKeyHashFn)||si)(e)}function si(e){return JSON.stringify(e,(t,n)=>xp(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function sl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>sl(e[n],t[n])):!1}function cj(e,t){if(e===t)return e;const n=Fw(e)&&Fw(t);if(n||xp(e)&&xp(t)){const r=n?e:Object.keys(e),s=r.length,i=n?t:Object.keys(t),o=i.length,l=n?[]:{},c=new Set(r);let u=0;for(let d=0;d<o;d++){const h=n?d:i[d];(!n&&c.has(h)||n)&&e[h]===void 0&&t[h]===void 0?(l[h]=void 0,u++):(l[h]=cj(e[h],t[h]),l[h]===e[h]&&e[h]!==void 0&&u++)}return s===o&&u===s?e:l}return t}function Ru(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 Fw(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function xp(e){if(!Bw(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Bw(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Bw(e){return Object.prototype.toString.call(e)==="[object Object]"}function i5(e){return new Promise(t=>{setTimeout(t,e)})}function bp(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?cj(e,t):t}function o5(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function a5(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var $g=Symbol();function uj(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===$g?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function dj(e,t){return typeof e=="function"?e(...t):!!e}var Os,Ir,lo,vb,l5=(vb=class extends Wo{constructor(){super();q(this,Os);q(this,Ir);q(this,lo);W(this,lo,t=>{if(!ri&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){T(this,Ir)||this.setEventListener(T(this,lo))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,Ir))==null||t.call(this),W(this,Ir,void 0))}setEventListener(t){var n;
vendor: 4,853 bytes, line 231
231W(this,lo,t),(n=T(this,Ir))==null||n.call(this),W(this,Ir,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){T(this,Os)!==t&&(W(this,Os,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof T(this,Os)=="boolean"?T(this,Os):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Os=new WeakMap,Ir=new WeakMap,lo=new WeakMap,vb),Fg=new l5,co,Or,uo,wb,c5=(wb=class extends Wo{constructor(){super();q(this,co,!0);q(this,Or);q(this,uo);W(this,uo,t=>{if(!ri&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){T(this,Or)||this.setEventListener(T(this,uo))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,Or))==null||t.call(this),W(this,Or,void 0))}setEventListener(t){var n;W(this,uo,t),(n=T(this,Or))==null||n.call(this),W(this,Or,t(this.setOnline.bind(this)))}setOnline(t){T(this,co)!==t&&(W(this,co,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return T(this,co)}},co=new WeakMap,Or=new WeakMap,uo=new WeakMap,wb),Iu=new c5;function kp(){let e,t;const n=new Promise((s,i)=>{e=s,t=i});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function u5(e){return Math.min(1e3*2**e,3e4)}function hj(e){return(e??"online")==="online"?Iu.isOnline():!0}var fj=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function jh(e){return e instanceof fj}function pj(e){let t=!1,n=0,r=!1,s;const i=kp(),o=m=>{var v;r||(f(new fj(m)),(v=e.abort)==null||v.call(e))},l=()=>{t=!0},c=()=>{t=!1},u=()=>Fg.isFocused()&&(e.networkMode==="always"||Iu.isOnline())&&e.canRun(),d=()=>hj(e.networkMode)&&e.canRun(),h=m=>{var v;r||(r=!0,(v=e.onSuccess)==null||v.call(e,m),s==null||s(),i.resolve(m))},f=m=>{var v;r||(r=!0,(v=e.onError)==null||v.call(e,m),s==null||s(),i.reject(m))},p=()=>new Promise(m=>{var v;s=g=>{(r||u())&&m(g)},(v=e.onPause)==null||v.call(e)}).then(()=>{var m;s=void 0,r||(m=e.onContinue)==null||m.call(e)}),x=()=>{if(r)return;let m;const v=n===0?e.initialPromise:void 0;try{m=v??e.fn()}catch(g){m=Promise.reject(g)}Promise.resolve(m).then(h).catch(g=>{var j;if(r)return;const y=e.retry??(ri?0:3),b=e.retryDelay??u5,k=typeof b=="function"?b(n,g):b,S=y===!0||typeof y=="number"&&n<y||typeof y=="function"&&y(n,g);if(t||!S){f(g);return}n++,(j=e.onFail)==null||j.call(e,n,g),i5(k).then(()=>u()?void 0:p()).then(()=>{t?f(g):x()})})};return{promise:i,cancel:o,continue:()=>(s==null||s(),i),cancelRetry:l,continueRetry:c,canStart:d,start:()=>(d()?x():p().then(x),i)}}var d5=e=>setTimeout(e,0);function h5(){let e=[],t=0,n=l=>{l()},r=l=>{l()},s=d5;const i=l=>{t?e.push(l):s(()=>{n(l)})},o=()=>{const l=e;e=[],l.length&&s(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||o()}return c},batchCalls:l=>(...c)=>{i(()=>{l(...c)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{s=l}}}var Je=h5(),Ds,xb,mj=(xb=class{constructor(){q(this,Ds)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),wp(this.gcTime)&&W(this,Ds,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ri?1/0:5*60*1e3))}clearGcTimeout(){T(this,Ds)&&(clearTimeout(T(this,Ds)),W(this,Ds,void 0))}},Ds=new WeakMap,xb),ho,Ms,Ut,Ls,ct,xl,$s,cn,Vn,bb,f5=(bb=class extends mj{constructor(t){super();q(this,cn);q(this,ho);q(this,Ms);q(this,Ut);q(this,Ls);q(this,ct);q(this,xl);q(this,$s);W(this,$s,!1),W(this,xl,t.defaultOptions),this.setOptions(t.options),this.observers=[],W(this,Ls,t.client),W(this,Ut,T(this,Ls).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,W(this,ho,p5(this.options)),this.state=t.state??T(this,ho),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=T(this,ct))==null?void 0:t.promise}setOptions(t){this.options={...T(this,xl),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&T(this,Ut).remove(this)}setData(t,n){const r=bp(this.state.data,t,this.options);return re(this,cn,Vn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){re(this,cn,Vn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=T(this,ct))==null?void 0:r.promise;return(s=T(this,ct))==null||s.cancel(t),n?n.then(gt).catch(gt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}
vendor: 1,537 bytes, line 231
231reset(){this.destroy(),this.setState(T(this,ho))}isActive(){return this.observers.some(t=>Vt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===$g||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ts(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:!lj(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=T(this,ct))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=T(this,ct))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),T(this,Ut).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(T(this,ct)&&(T(this,$s)?T(this,ct).cancel({revert:!0}):T(this,ct).cancelRetry()),this.scheduleGc()),T(this,Ut).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||re(this,cn,Vn).call(this,{type:"invalidate"})}
vendor: 26,461 bytes, line 231
231fetch(t,n){var u,d,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(T(this,ct))return T(this,ct).continueRetry(),T(this,ct).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,s=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(W(this,$s,!0),r.signal)})},i=()=>{const f=uj(this.options,n),x=(()=>{const m={client:T(this,Ls),queryKey:this.queryKey,meta:this.meta};return s(m),m})();return W(this,$s,!1),this.options.persister?this.options.persister(f,x,this):f(x)},l=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:T(this,Ls),state:this.state,fetchFn:i};return s(f),f})();(u=this.options.behavior)==null||u.onFetch(l,this),W(this,Ms,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=l.fetchOptions)==null?void 0:d.meta))&&re(this,cn,Vn).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta});const c=f=>{var p,x,m,v;jh(f)&&f.silent||re(this,cn,Vn).call(this,{type:"error",error:f}),jh(f)||((x=(p=T(this,Ut).config).onError)==null||x.call(p,f,this),(v=(m=T(this,Ut).config).onSettled)==null||v.call(m,this.state.data,f,this)),this.scheduleGc()};return W(this,ct,pj({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,x,m,v;if(f===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(g){c(g);return}(x=(p=T(this,Ut).config).onSuccess)==null||x.call(p,f,this),(v=(m=T(this,Ut).config).onSettled)==null||v.call(m,f,this.state.error,this),this.scheduleGc()},onError:c,onFail:(f,p)=>{re(this,cn,Vn).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{re(this,cn,Vn).call(this,{type:"pause"})},onContinue:()=>{re(this,cn,Vn).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),T(this,ct).start()}},ho=new WeakMap,Ms=new WeakMap,Ut=new WeakMap,Ls=new WeakMap,ct=new WeakMap,xl=new WeakMap,$s=new WeakMap,cn=new WeakSet,Vn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...gj(r.data,this.options),fetchMeta:t.meta??null};case"success":return W(this,Ms,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return jh(s)&&s.revert&&T(this,Ms)?{...T(this,Ms),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Je.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),T(this,Ut).notify({query:this,type:"updated",action:t})})},bb);function gj(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:hj(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function p5(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Cn,kb,m5=(kb=class extends Wo{constructor(t={}){super();q(this,Cn);this.config=t,W(this,Cn,new Map)}build(t,n,r){const s=n.queryKey,i=n.queryHash??Lg(s,n);let o=this.get(i);return o||(o=new f5({client:t,queryKey:s,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(o)),o}add(t){T(this,Cn).has(t.queryHash)||(T(this,Cn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=T(this,Cn).get(t.queryHash);n&&(t.destroy(),n===t&&T(this,Cn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Je.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return T(this,Cn).get(t)}getAll(){return[...T(this,Cn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Lw(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Lw(t,r)):n}notify(t){Je.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Je.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Je.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Cn=new WeakMap,kb),_n,ft,Fs,En,Sr,Sb,g5=(Sb=class extends mj{constructor(t){super();q(this,En);q(this,_n);q(this,ft);q(this,Fs);this.mutationId=t.mutationId,W(this,ft,t.mutationCache),W(this,_n,[]),this.state=t.state||yj(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){T(this,_n).includes(t)||(T(this,_n).push(t),this.clearGcTimeout(),T(this,ft).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){W(this,_n,T(this,_n).filter(n=>n!==t)),this.scheduleGc(),T(this,ft).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){T(this,_n).length||(this.state.status==="pending"?this.scheduleGc():T(this,ft).remove(this))}continue(){var t;return((t=T(this,Fs))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,l,c,u,d,h,f,p,x,m,v,g,y,b,k,S,j,C,_;const n=()=>{re(this,En,Sr).call(this,{type:"continue"})};W(this,Fs,pj({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,P)=>{re(this,En,Sr).call(this,{type:"failed",failureCount:A,error:P})},onPause:()=>{re(this,En,Sr).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>T(this,ft).canRun(this)}));const r=this.state.status==="pending",s=!T(this,Fs).canStart();try{if(r)n();else{re(this,En,Sr).call(this,{type:"pending",variables:t,isPaused:s}),await((o=(i=T(this,ft).config).onMutate)==null?void 0:o.call(i,t,this));const P=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t));P!==this.state.context&&re(this,En,Sr).call(this,{type:"pending",context:P,variables:t,isPaused:s})}const A=await T(this,Fs).start();return await((d=(u=T(this,ft).config).onSuccess)==null?void 0:d.call(u,A,t,this.state.context,this)),await((f=(h=this.options).onSuccess)==null?void 0:f.call(h,A,t,this.state.context)),await((x=(p=T(this,ft).config).onSettled)==null?void 0:x.call(p,A,null,this.state.variables,this.state.context,this)),await((v=(m=this.options).onSettled)==null?void 0:v.call(m,A,null,t,this.state.context)),re(this,En,Sr).call(this,{type:"success",data:A}),A}catch(A){try{throw await((y=(g=T(this,ft).config).onError)==null?void 0:y.call(g,A,t,this.state.context,this)),await((k=(b=this.options).onError)==null?void 0:k.call(b,A,t,this.state.context)),await((j=(S=T(this,ft).config).onSettled)==null?void 0:j.call(S,void 0,A,this.state.variables,this.state.context,this)),await((_=(C=this.options).onSettled)==null?void 0:_.call(C,void 0,A,t,this.state.context)),A}finally{re(this,En,Sr).call(this,{type:"error",error:A})}}finally{T(this,ft).runNext(this)}}},_n=new WeakMap,ft=new WeakMap,Fs=new WeakMap,En=new WeakSet,Sr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Je.batch(()=>{T(this,_n).forEach(r=>{r.onMutationUpdate(t)}),T(this,ft).notify({mutation:this,type:"updated",action:t})})},Sb);function yj(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Kn,un,bl,jb,y5=(jb=class extends Wo{constructor(t={}){super();q(this,Kn);q(this,un);q(this,bl);this.config=t,W(this,Kn,new Set),W(this,un,new Map),W(this,bl,0)}build(t,n,r){const s=new g5({mutationCache:this,mutationId:++zl(this,bl)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){T(this,Kn).add(t);const n=fc(t);if(typeof n=="string"){const r=T(this,un).get(n);r?r.push(t):T(this,un).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(T(this,Kn).delete(t)){const n=fc(t);if(typeof n=="string"){const r=T(this,un).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&T(this,un).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=fc(t);if(typeof n=="string"){const r=T(this,un).get(n),s=r==null?void 0:r.find(i=>i.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=fc(t);if(typeof n=="string"){const s=(r=T(this,un).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Je.batch(()=>{T(this,Kn).forEach(t=>{this.notify({type:"removed",mutation:t})}),T(this,Kn).clear(),T(this,un).clear()})}getAll(){return Array.from(T(this,Kn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>$w(n,r))}findAll(t={}){return this.getAll().filter(n=>$w(t,n))}notify(t){Je.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Je.batch(()=>Promise.all(t.map(n=>n.continue().catch(gt))))}},Kn=new WeakMap,un=new WeakMap,bl=new WeakMap,jb);function fc(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Ww(e){return{onFetch:(t,n)=>{var d,h,f,p,x;const r=t.options,s=(f=(h=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:h.fetchMore)==null?void 0:f.direction,i=((p=t.state.data)==null?void 0:p.pages)||[],o=((x=t.state.data)==null?void 0:x.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let m=!1;const v=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},g=uj(t.options,t.fetchOptions),y=async(b,k,S)=>{if(m)return Promise.reject();if(k==null&&b.pages.length)return Promise.resolve(b);const C=(()=>{const F={client:t.client,queryKey:t.queryKey,pageParam:k,direction:S?"backward":"forward",meta:t.options.meta};return v(F),F})(),_=await g(C),{maxPages:A}=t.options,P=S?a5:o5;return{pages:P(b.pages,_,A),pageParams:P(b.pageParams,k,A)}};if(s&&i.length){const b=s==="backward",k=b?v5:Uw,S={pages:i,pageParams:o},j=k(r,S);l=await y(S,j,b)}else{const b=e??i.length;do{const k=c===0?o[0]??r.initialPageParam:Uw(r,l);if(c>0&&k==null)break;l=await y(l,k),c++}while(c<b)}return l};t.options.persister?t.fetchFn=()=>{var m,v;return(v=(m=t.options).persister)==null?void 0:v.call(m,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Uw(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function v5(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Me,Dr,Mr,fo,po,Lr,mo,go,Tb,w5=(Tb=class{constructor(e={}){q(this,Me);q(this,Dr);q(this,Mr);q(this,fo);q(this,po);q(this,Lr);q(this,mo);q(this,go);W(this,Me,e.queryCache||new m5),W(this,Dr,e.mutationCache||new y5),W(this,Mr,e.defaultOptions||{}),W(this,fo,new Map),W(this,po,new Map),W(this,Lr,0)}mount(){zl(this,Lr)._++,T(this,Lr)===1&&(W(this,mo,Fg.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,Me).onFocus())})),W(this,go,Iu.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,Me).onOnline())})))}unmount(){var e,t;zl(this,Lr)._--,T(this,Lr)===0&&((e=T(this,mo))==null||e.call(this),W(this,mo,void 0),(t=T(this,go))==null||t.call(this),W(this,go,void 0))}isFetching(e){return T(this,Me).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return T(this,Dr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=T(this,Me).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=T(this,Me).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(ts(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return T(this,Me).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=T(this,Me).get(r.queryHash),i=s==null?void 0:s.state.data,o=s5(t,i);if(o!==void 0)return T(this,Me).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return Je.batch(()=>T(this,Me).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=T(this,Me).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=T(this,Me);Je.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=T(this,Me);return Je.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Je.batch(()=>T(this,Me).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(gt).catch(gt)}invalidateQueries(e,t={}){return Je.batch(()=>(T(this,Me).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Je.batch(()=>T(this,Me).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let i=s.fetch(void 0,n);return n.throwOnError||(i=i.catch(gt)),s.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(gt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=T(this,Me).build(this,t);return n.isStaleByTime(ts(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(gt).catch(gt)}fetchInfiniteQuery(e){return e.behavior=Ww(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(gt).catch(gt)}ensureInfiniteQueryData(e){return e.behavior=Ww(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Iu.isOnline()?T(this,Dr).resumePausedMutations():Promise.resolve()}getQueryCache(){return T(this,Me)}getMutationCache(){return T(this,Dr)}getDefaultOptions(){return T(this,Mr)}setDefaultOptions(e){W(this,Mr,e)}setQueryDefaults(e,t){T(this,fo).set(si(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...T(this,fo).values()],n={};return t.forEach(r=>{sl(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){T(this,po).set(si(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...T(this,po).values()],n={};return t.forEach(r=>{sl(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...T(this,Mr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Lg(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===$g&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...T(this,Mr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){T(this,Me).clear(),T(this,Dr).clear()}},Me=new WeakMap,Dr=new WeakMap,Mr=new WeakMap,fo=new WeakMap,po=new WeakMap,Lr=new WeakMap,mo=new WeakMap,go=new WeakMap,Tb),kt,ue,kl,pt,Bs,yo,$r,Fr,Sl,vo,wo,Ws,Us,Br,xo,me,ma,Sp,jp,Tp,Cp,_p,Ep,Ap,vj,Cb,x5=(Cb=class extends Wo{constructor(t,n){super();q(this,me);q(this,kt);q(this,ue);q(this,kl);q(this,pt);q(this,Bs);q(this,yo);q(this,$r);q(this,Fr);q(this,Sl);q(this,vo);q(this,wo);q(this,Ws);q(this,Us);q(this,Br);q(this,xo,new Set);this.options=n,W(this,kt,t),W(this,Fr,null),W(this,$r,kp()),this.options.experimental_prefetchInRender||T(this,$r).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(T(this,ue).addObserver(this),Vw(T(this,ue),this.options)?re(this,me,ma).call(this):this.updateResult(),re(this,me,Cp).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Np(T(this,ue),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Np(T(this,ue),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,re(this,me,_p).call(this),re(this,me,Ep).call(this),T(this,ue).removeObserver(this)}setOptions(t){const n=this.options,r=T(this,ue);if(this.options=T(this,kt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Vt(this.options.enabled,T(this,ue))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");re(this,me,Ap).call(this),T(this,ue).setOptions(this.options),n._defaulted&&!Ru(this.options,n)&&T(this,kt).getQueryCache().notify({type:"observerOptionsUpdated",query:T(this,ue),observer:this});const s=this.hasListeners();s&&Hw(T(this,ue),r,this.options,n)&&re(this,me,ma).call(this),this.updateResult(),s&&(T(this,ue)!==r||Vt(this.options.enabled,T(this,ue))!==Vt(n.enabled,T(this,ue))||ts(this.options.staleTime,T(this,ue))!==ts(n.staleTime,T(this,ue)))&&re(this,me,Sp).call(this);const i=re(this,me,jp).call(this);s&&(T(this,ue)!==r||Vt(this.options.enabled,T(this,ue))!==Vt(n.enabled,T(this,ue))||i!==T(this,Br))&&re(this,me,Tp).call(this,i)}getOptimisticResult(t){const n=T(this,kt).getQueryCache().build(T(this,kt),t),r=this.createResult(n,t);return k5(this,r)&&(W(this,pt,r),W(this,yo,this.options),W(this,Bs,T(this,ue).state)),r}getCurrentResult(){return T(this,pt)}trackResult(t,n){return new Proxy(t,{get:(r,s)=>(this.trackProp(s),n==null||n(s),Reflect.get(r,s))})}trackProp(t){T(this,xo).add(t)}getCurrentQuery(){return T(this,ue)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=T(this,kt).defaultQueryOptions(t),r=T(this,kt).getQueryCache().build(T(this,kt),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return re(this,me,ma).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),T(this,pt)))}createResult(t,n){var A;const r=T(this,ue),s=this.options,i=T(this,pt),o=T(this,Bs),l=T(this,yo),u=t!==r?t.state:T(this,kl),{state:d}=t;let h={...d},f=!1,p;if(n._optimisticResults){const P=this.hasListeners(),F=!P&&Vw(t,n),M=P&&Hw(t,r,n,s);(F||M)&&(h={...h,...gj(d.data,t.options)}),n._optimisticResults==="isRestoring"&&(h.fetchStatus="idle")}let{error:x,errorUpdatedAt:m,status:v}=h;p=h.data;let g=!1;if(n.placeholderData!==void 0&&p===void 0&&v==="pending"){let P;i!=null&&i.isPlaceholderData&&n.placeholderData===(l==null?void 0:l.placeholderData)?(P=i.data,g=!0):P=typeof n.placeholderData=="function"?n.placeholderData((A=T(this,wo))==null?void 0:A.state.data,T(this,wo)):n.placeholderData,P!==void 0&&(v="success",p=bp(i==null?void 0:i.data,P,n),f=!0)}if(n.select&&p!==void 0&&!g)if(i&&p===(o==null?void 0:o.data)&&n.select===T(this,Sl))p=T(this,vo);else try{W(this,Sl,n.select),p=n.select(p),p=bp(i==null?void 0:i.data,p,n),W(this,vo,p),W(this,Fr,null)}catch(P){W(this,Fr,P)}T(this,Fr)&&(x=T(this,Fr),p=T(this,vo),m=Date.now(),v="error");const y=h.fetchStatus==="fetching",b=v==="pending",k=v==="error",S=b&&y,j=p!==void 0,_={status:v,fetchStatus:h.fetchStatus,isPending:b,isSuccess:v==="success",isError:k,isInitialLoading:S,isLoading:S,data:p,dataUpdatedAt:h.dataUpdatedAt,error:x,errorUpdatedAt:m,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>u.dataUpdateCount||h.errorUpdateCount>u.errorUpdateCount,isFetching:y,isRefetching:y&&!b,isLoadingError:k&&!j,isPaused:h.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:k&&j,isStale:Bg(t,n),refetch:this.refetch,promise:T(this,$r),isEnabled:Vt(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const P=z=>{_.status==="error"?z.reject(_.error):_.data!==void 0&&z.resolve(_.data)},F=()=>{const z=W(this,$r,_.promise=kp());P(z)},M=T(this,$r);switch(M.status){case"pending":t.queryHash===r.queryHash&&P(M);break;case"fulfilled":(_.status==="error"||_.data!==M.value)&&F();break;case"rejected":(_.status!=="error"||_.error!==M.reason)&&F();break}}return _}updateResult(){const t=T(this,pt),n=this.createResult(T(this,ue),this.options);if(W(this,Bs,T(this,ue).state),W(this,yo,this.options),T(this,Bs).data!==void 0&&W(this,wo,T(this,ue)),Ru(n,t))return;W(this,pt,n);const r=()=>{if(!t)return!0;const{notifyOnChangeProps:s}=this.options,i=typeof s=="function"?s():s;if(i==="all"||!i&&!T(this,xo).size)return!0;const o=new Set(i??T(this,xo));return this.options.throwOnError&&o.add("error"),Object.keys(T(this,pt)).some(l=>{const c=l;return T(this,pt)[c]!==t[c]&&o.has(c)})};re(this,me,vj).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&re(this,me,Cp).call(this)}},kt=new WeakMap,ue=new WeakMap,kl=new WeakMap,pt=new WeakMap,Bs=new WeakMap,yo=new WeakMap,$r=new WeakMap,Fr=new WeakMap,Sl=new WeakMap,vo=new WeakMap,wo=new WeakMap,Ws=new WeakMap,Us=new WeakMap,Br=new WeakMap,xo=new WeakMap,me=new WeakSet,ma=function(t){re(this,me,Ap).call(this);let n=T(this,ue).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(gt)),n},Sp=function(){re(this,me,_p).call(this);const t=ts(this.options.staleTime,T(this,ue));if(ri||T(this,pt).isStale||!wp(t))return;const r=lj(T(this,pt).dataUpdatedAt,t)+1;W(this,Ws,setTimeout(()=>{T(this,pt).isStale||this.updateResult()},r))},jp=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(T(this,ue)):this.options.refetchInterval)??!1},Tp=function(t){re(this,me,Ep).call(this),W(this,Br,t),!(ri||Vt(this.options.enabled,T(this,ue))===!1||!wp(T(this,Br))||T(this,Br)===0)&&W(this,Us,setInterval(()=>{(this.options.refetchIntervalInBackground||Fg.isFocused())&&re(this,me,ma).call(this)},T(this,Br)))},Cp=function(){re(this,me,Sp).call(this),re(this,me,Tp).call(this,re(this,me,jp).call(this))},_p=function(){T(this,Ws)&&(clearTimeout(T(this,Ws)),W(this,Ws,void 0))},Ep=function(){T(this,Us)&&(clearInterval(T(this,Us)),W(this,Us,void 0))},Ap=function(){const t=T(this,kt).getQueryCache().build(T(this,kt),this.options);if(t===T(this,ue))return;const n=T(this,ue);W(this,ue,t),W(this,kl,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},vj=function(t){Je.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(T(this,pt))}),T(this,kt).getQueryCache().notify({query:T(this,ue),type:"observerResultsUpdated"})})},Cb);function b5(e,t){return Vt(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Vw(e,t){return b5(e,t)||e.state.data!==void 0&&Np(e,t,t.refetchOnMount)}function Np(e,t,n){if(Vt(t.enabled,e)!==!1&&ts(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Bg(e,t)}return!1}function Hw(e,t,n,r){return(e!==t||Vt(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Bg(e,n)}function Bg(e,t){return Vt(t.enabled,e)!==!1&&e.isStaleByTime(ts(t.staleTime,e))}function k5(e,t){return!Ru(e.getCurrentResult(),t)}var Wr,Ur,St,Gn,Xn,qc,Pp,_b,S5=(_b=class extends Wo{constructor(n,r){super();q(this,Xn);q(this,Wr);q(this,Ur);q(this,St);q(this,Gn);W(this,Wr,n),this.setOptions(r),this.bindMethods(),re(this,Xn,qc).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var s;const r=this.options;this.options=T(this,Wr).defaultMutationOptions(n),Ru(this.options,r)||T(this,Wr).getMutationCache().notify({type:"observerOptionsUpdated",mutation:T(this,St),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&si(r.mutationKey)!==si(this.options.mutationKey)?this.reset():((s=T(this,St))==null?void 0:s.state.status)==="pending"&&T(this,St).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=T(this,St))==null||n.removeObserver(this)}onMutationUpdate(n){re(this,Xn,qc).call(this),re(this,Xn,Pp).call(this,n)}getCurrentResult(){return T(this,Ur)}reset(){var n;(n=T(this,St))==null||n.removeObserver(this),W(this,St,void 0),re(this,Xn,qc).call(this),re(this,Xn,Pp).call(this)}mutate(n,r){var s;return W(this,Gn,r),(s=T(this,St))==null||s.removeObserver(this),W(this,St,T(this,Wr).getMutationCache().build(T(this,Wr),this.options)),T(this,St).addObserver(this),T(this,St).execute(n)}},Wr=new WeakMap,Ur=new WeakMap,St=new WeakMap,Gn=new WeakMap,Xn=new WeakSet,qc=function(){var r;const n=((r=T(this,St))==null?void 0:r.state)??yj();W(this,Ur,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},Pp=function(n){Je.batch(()=>{var r,s,i,o,l,c,u,d;if(T(this,Gn)&&this.hasListeners()){const h=T(this,Ur).variables,f=T(this,Ur).context;(n==null?void 0:n.type)==="success"?((s=(r=T(this,Gn)).onSuccess)==null||s.call(r,n.data,h,f),(o=(i=T(this,Gn)).onSettled)==null||o.call(i,n.data,null,h,f)):(n==null?void 0:n.type)==="error"&&((c=(l=T(this,Gn)).onError)==null||c.call(l,n.error,h,f),(d=(u=T(this,Gn)).onSettled)==null||d.call(u,void 0,n.error,h,f))}
231this.listeners.forEach(h=>{h(T(this,Ur))})})},_b),wj=w.createContext(void 0),Rl=e=>{const t=w.useContext(wj);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},j5=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),a.jsx(wj.Provider,{value:e,children:t})),xj=w.createContext(!1),T5=()=>w.useContext(xj);xj.Provider;function C5(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var _5=w.createContext(C5()),E5=()=>w.useContext(_5),A5=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},N5=e=>{w.useEffect(()=>{e.clearReset()},[e])},P5=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(s&&e.data===void 0||dj(n,[e.error,r])),R5=e=>{if(e.suspense){const t=r=>r==="static"?r:Math.max(r??1e3,1e3),n=e.staleTime;e.staleTime=typeof n=="function"?(...r)=>t(n(...r)):t(n),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},I5=(e,t)=>e.isLoading&&e.isFetching&&!t,O5=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,zw=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function D5(e,t,n){var h,f,p,x,m;const r=T5(),s=E5(),i=Rl(),o=i.defaultQueryOptions(e);(f=(h=i.getDefaultOptions().queries)==null?void 0:h._experimental_beforeQuery)==null||f.call(h,o),o._optimisticResults=r?"isRestoring":"optimistic",R5(o),A5(o,s),N5(s);const l=!i.getQueryCache().get(o.queryHash),[c]=w.useState(()=>new t(i,o)),u=c.getOptimisticResult(o),d=!r&&e.subscribed!==!1;if(w.useSyncExternalStore(w.useCallback(v=>{const g=d?c.subscribe(Je.batchCalls(v)):gt;return c.updateResult(),g},[c,d]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),w.useEffect(()=>{c.setOptions(o)},[o,c]),O5(o,u))throw zw(o,c,s);if(P5({result:u,errorResetBoundary:s,throwOnError:o.throwOnError,query:i.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw u.error;if((x=(p=i.getDefaultOptions().queries)==null?void 0:p._experimental_afterQuery)==null||x.call(p,o,u),o.experimental_prefetchInRender&&!ri&&I5(u,r)){const v=l?zw(o,c,s):(m=i.getQueryCache().get(o.queryHash))==null?void 0:m.promise;v==null||v.catch(gt).finally(()=>{c.updateResult()})}return o.notifyOnChangeProps?u:c.trackResult(u)}function li(e,t){return D5(e,x5)}function Wg(e,t){const n=Rl(),[r]=w.useState(()=>new S5(n,e));w.useEffect(()=>{r.setOptions(e)},[r,e]);const s=w.useSyncExternalStore(w.useCallback(o=>r.subscribe(Je.batchCalls(o)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),i=w.useCallback((o,l)=>{r.mutate(o,l).catch(gt)},[r]);if(s.error&&dj(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:i,mutateAsync:s.mutate}}/**
232 * @remix-run/router v1.23.0
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 il(){return il=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},il.apply(this,arguments)}var zr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(zr||(zr={}));const qw="popstate";function M5(e){e===void 0&&(e={});function t(r,s){let{pathname:i,search:o,hash:l}=r.location;return Rp("",{pathname:i,search:o,hash:l},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:Ou(s)}return $5(t,n,null,e)}function Ue(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function bj(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function L5(){return Math.random().toString(36).substr(2,8)}function Kw(e,t){return{usr:e.state,key:e.key,idx:t}}function Rp(e,t,n,r){return n===void 0&&(n=null),il({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Uo(t):t,{state:n,key:t&&t.key||r||L5()})}function Ou(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Uo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function $5(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,o=s.history,l=zr.Pop,c=null,u=d();u==null&&(u=0,o.replaceState(il({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function h(){l=zr.Pop;let v=d(),g=v==null?null:v-u;u=v,c&&c({action:l,location:m.location,delta:g})}function f(v,g){l=zr.Push;let y=Rp(m.location,v,g);u=d()+1;let b=Kw(y,u),k=m.createHref(y);try{o.pushState(b,"",k)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;s.location.assign(k)}i&&c&&c({action:l,location:m.location,delta:1})}function p(v,g){l=zr.Replace;let y=Rp(m.location,v,g);u=d();let b=Kw(y,u),k=m.createHref(y);o.replaceState(b,"",k),i&&c&&c({action:l,location:m.location,delta:0})}function x(v){let g=s.location.origin!=="null"?s.location.origin:s.location.href,y=typeof v=="string"?v:Ou(v);return y=y.replace(/ $/,"%20"),Ue(g,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,g)}let m={get action(){return l},get location(){return e(s,o)},listen(v){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(qw,h),c=v,()=>{s.removeEventListener(qw,h),c=null}},createHref(v){return t(s,v)},createURL:x,encodeLocation(v){let g=x(v);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:p,go(v){return o.go(v)}};return m}var Gw;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Gw||(Gw={}));function F5(e,t,n){return n===void 0&&(n="/"),B5(e,t,n,!1)}function B5(e,t,n,r){let s=typeof t=="string"?Uo(t):t,i=Ug(s.pathname||"/",n);if(i==null)return null;let o=kj(e);W5(o);let l=null;for(let c=0;l==null&&c<o.length;++c){let u=X5(i);l=J5(o[c],u,r)}return l}function kj(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(i,o,l)=>{let c={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};c.relativePath.startsWith("/")&&(Ue(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not val
240id. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=ns([r,c.relativePath]),d=n.concat(c);i.children&&i.children.length>0&&(Ue(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),kj(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:G5(u,i.index),routesMeta:d})};return e.forEach((i,o)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))s(i,o);else for(let c of Sj(i.path))s(i,o,c)}),t}function Sj(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return s?[i,""]:[i];let o=Sj(r.join("/")),l=[];return l.push(...o.map(c=>c===""?i:[i,c].join("/"))),s&&l.push(...o),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function W5(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Y5(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const U5=/^:[\w-]+$/,V5=3,H5=2,z5=1,q5=10,K5=-2,Yw=e=>e==="*";function G5(e,t){let n=e.split("/"),r=n.length;return n.some(Yw)&&(r+=K5),t&&(r+=H5),n.filter(s=>!Yw(s)).reduce((s,i)=>s+(U5.test(i)?V5:i===""?z5:q5),r)}function Y5(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function J5(e,t,n){let{routesMeta:r}=e,s={},i="/",o=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,d=i==="/"?t:t.slice(i.length)||"/",h=Jw({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),f=c.route;if(!h&&u&&n&&!r[r.length-1].route.index&&(h=Jw({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},d)),!h)return null;
vendor: 9,263 bytes, lines 240-249
240Object.assign(s,h.params),o.push({params:s,pathname:ns([i,h.pathname]),pathnameBase:n4(ns([i,h.pathnameBase])),route:f}),h.pathnameBase!=="/"&&(i=ns([i,h.pathnameBase]))}return o}function Jw(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Q5(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),l=s.slice(1);return{params:r.reduce((u,d,h)=>{let{paramName:f,isOptional:p}=d;if(f==="*"){let m=l[h]||"";o=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}const x=l[h];return p&&!x?u[f]=void 0:u[f]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function Q5(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),bj(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function X5(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return bj(!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 Ug(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Z5(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Uo(e):e;return{pathname:n?n.startsWith("/")?n:e4(n,t):t,search:r4(r),hash:s4(s)}}function e4(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Th(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function t4(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Vg(e,t){let n=t4(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Hg(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=Uo(e):(s=il({},e),Ue(!s.pathname||!s.pathname.includes("?"),Th("?","pathname","search",s)),Ue(!s.pathname||!s.pathname.includes("#"),Th("#","pathname","hash",s)),Ue(!s.search||!s.search.includes("#"),Th("#","search","hash",s)));let i=e===""||s.pathname==="",o=i?"/":s.pathname,l;if(o==null)l=n;else{let h=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),h-=1;s.pathname=f.join("/")}l=h>=0?t[h]:"/"}let c=Z5(s,l),u=o&&o!=="/"&&o.endsWith("/"),d=(i||o===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const ns=e=>e.join("/").replace(/\/\/+/g,"/"),n4=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),r4=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,s4=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function i4(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const jj=["post","put","patch","delete"];new Set(jj);const o4=["get",...jj];new Set(o4);/**
241 * React Router v6.30.1
242 *
243 * Copyright (c) Remix Software Inc.
244 *
245 * This source code is licensed under the MIT license found in the
246 * LICENSE.md file in the root directory of this source tree.
247 *
248 * @license MIT
249 */function ol(){return ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ol.apply(this,arguments)}const zg=w.createContext(null),a4=w.createContext(null),fs=w.createContext(null),xd=w.createContext(null),cr=w.createContext({outlet:null,matches:[],isDataRoute:!1}),Tj=w.createContext(null);function l4(e,t){let{relative:n}=t===void 0?{}:t;Vo()||Ue(!1);let{basename:r,navigator:s}=w.useContext(fs),{hash:i,pathname:o,search:l}=_j(e,{relative:n}),c=o;return r!=="/"&&(c=o==="/"?r:ns([r,o])),s.createHref({pathname:c,search:l,hash:i})}function Vo(){return w.useContext(xd)!=null}function ur(){return Vo()||Ue(!1),w.useContext(xd).location}function Cj(e){w.useContext(fs).static||w.useLayoutEffect(e)}function Il(){let{isDataRoute:e}=w.useContext(cr);return e?b4():c4()}function c4(){Vo()||Ue(!1);let e=w.useContext(zg),{basename:t,future:n,navigator:r}=w.useContext(fs),{matches:s}=w.useContext(cr),{pathname:i}=ur(),o=JSON.stringify(Vg(s,n.v7_relativeSplatPath)),l=w.useRef(!1);return Cj(()=>{l.current=!0}),w.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let h=Hg(u,JSON.parse(o),i,d.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:ns([t,h.pathname])),(d.replace?r.replace:r.push)(h,d.state,d)},[t,r,o,i,e])}function bd(){let{matches:e}=w.useContext(cr),t=e[e.length-1];return t?t.params:{}}function _j(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=w.useContext(fs),{matches:s}=w.useContext(cr),{pathname:i}=ur(),o=JSON.stringify(Vg(s,r.v7_relativeSplatPath));return w.useMemo(()=>Hg(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function u4(e,t){return d4(e,t)}function d4(e,t,n,r){Vo()||Ue(!1);let{navigator:s}=w.useContext(fs),{matches:i}=w.useContext(cr),o=i[i.length-1],l=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=ur(),d;if(t){var h;let v=typeof t=="string"?Uo(t):t;c==="/"||(h=v.pathname)!=null&&h.startsWith(c)||Ue(!1),d=v}else d=u;let f=d.pathname||"/",p=f;if(c!=="/"){let v=c.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(v.length).join("/")}let x=F5(e,{pathname:p}),m=g4(x&&x.map(v=>Object.assign({},v,{params:Object.assign({},l,v.params),pathname:ns([c,s.encodeLocation?s.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?c:ns([c,s.encodeLocation?s.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n,r);return t&&m?w.createElement(xd.Provider,{value:{location:ol({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:zr.Pop}},m):m}function h4(){let e=x4(),t=i4(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:s},n):null,null)}const f4=w.createElement(h4,null);class p4 extends w.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?w.createElement(cr.Provider,{value:this.props.routeContext},w.createElement(Tj.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function m4(e){let{routeContext:t,match:n,children:r}=e,s=w.useContext(zg);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(cr.Provider,{value:t},r)}function g4(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,l=(s=n)==null?void 0:s.errors;if(l!=null){let d=o.findIndex(h=>h.route.id&&(l==null?void 0:l[h.route.id])!==void 0);d>=0||Ue(!1),o=o.slice(0,Math.min(o.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<o.length;d++){let h=o[d];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(u=d),h.route.id){let{loaderData:f,errors:p}=n,x=h.route.loader&&f[h.route.id]===void 0&&(!p||p[h.route.id]===void 0);if(h.route.lazy||x){c=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,h,f)=>{let p,x=!1,m=null,v=null;n&&(p=l&&h.route.id?l[h.route.id]:void 0,m=h.route.errorElement||f4,c&&(u<0&&f===0?(x=!0,v=null):u===f&&(x=!0,v=h.route.hydrateFallbackElement||null)));let g=t.concat(o.slice(0,f+1)),y=()=>{let b;return p?b=m:x?b=v:h.route.Component?b=w.createElement(h.route.Component,null):h.route.element?b=h.route.element:b=d,w.createElement(m4,{match:h,routeC
249ontext:{outlet:d,matches:g,isDataRoute:n!=null},children:b})};return n&&(h.route.ErrorBoundary||h.route.errorElement||f===0)?w.createElement(p4,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:y(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var Ej=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ej||{}),Du=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}(Du||{});function y4(e){let t=w.useContext(zg);return t||Ue(!1),t}function v4(e){let t=w.useContext(a4);return t||Ue(!1),t}function w4(e){let t=w.useContext(cr);return t||Ue(!1),t}function Aj(e){let t=w4(),n=t.matches[t.matches.length-1];return n.route.id||Ue(!1),n.route.id}function x4(){var e;let t=w.useContext(Tj),n=v4(Du.UseRouteError),r=Aj(Du.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function b4(){let{router:e}=y4(Ej.UseNavigateStable),t=Aj(Du.UseNavigateStable),n=w.useRef(!1);return Cj(()=>{n.current=!0}),w.useCallback(function(s,i){i===void 0&&(i={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,ol({fromRouteId:t},i)))},[e,t])}function k4(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Er(e){let{to:t,replace:n,state:r,relative:s}=e;Vo()||Ue(!1);let{future:i,static:o}=w.useContext(fs),{matches:l}=w.useContext(cr),{pathname:c}=ur(),u=Il(),d=Hg(t,Vg(l,i.v7_relativeSplatPath),c,s==="path"),h=JSON.stringify(d);return w.useEffect(()=>u(JSON.parse(h),{replace:n,state:r,relative:s}),[u,h,s,n,r]),null}function se(e){Ue(!1)}function S4(e){let{basename:t="/",children:n=null,location:r,navigationType:s=zr.Pop,navigator:i,static:o=!1,future:l}=e;Vo()&&Ue(!1);let c=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:c,navigator:i,static:o,future:ol({v7_relativeSplatPath:!1},l)}),[c,l,i,o]);typeof r=="string"&&(r=Uo(r));let{pathname:d="/",search:h="",hash:f="",state:p=null,key:x="default"}=r,m=w.useMemo(()=>{let v=Ug(d,c);return v==null?null:{location:{pathname:v,search:h,hash:f,state:p,key:x},navigationType:s}},[c,d,h,f,p,x,s]);return m==null?null:w.createElement(fs.Provider,{value:u},w.createElement(xd.Provider,{children:n,value:m}))}function j4(e){let{children:t,location:n}=e;return u4(Ip(t),n)}new Promise(()=>{});function Ip(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,s)=>{if(!w.isValidElement(r))return;let i=[...t,s];if(r.type===w.Fragment){n.push.apply(n,Ip(r.props.children,i));return}r.type!==se&&Ue(!1),!r.props.index||!r.props.children||Ue(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Ip(r.props.children,i)),n.push(o)}),n}/**
250 * React Router DOM v6.30.1
251 *
252 * Copyright (c) Remix Software Inc.
253 *
254 * This source code is licensed under the MIT license found in the
255 * LICENSE.md file in the root directory of this source tree.
256 *
257 * @license MIT
258 */function Op(){return Op=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Op.apply(this,arguments)}function T4(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,i;for(i=0;i<r.length;i++)s=r[i],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function C4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function _4(e,t){return e.button===0&&(!t||t==="_self")&&!C4(e)}const E4=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],A4="6";try{window.__reactRouterVersion=A4}catch{}const N4="startTransition",Qw=Cm[N4];function P4(e){let{basename:t,children:n,future:r,window:s}=e,i=w.useRef();i.current==null&&(i.current=M5({window:s,v5Compat:!0}));let o=i.current,[l,c]=w.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=w.useCallback(h=>{u&&Qw?Qw(()=>c(h)):c(h)},[c,u]);return w.useLayoutEffect(()=>o.listen(d),[o,d]),w.useEffect(()=>k4(r),[r]),w.createElement(S4,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o,future:r})}const R4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",I4=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,G=w.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:i,replace:o,state:l,target:c,to:u,preventScrollReset:d,viewTransition:h}
258=t,f=T4(t,E4),{basename:p}=w.useContext(fs),x,m=!1;if(typeof u=="string"&&I4.test(u)&&(x=u,R4))try{let b=new URL(window.location.href),k=u.startsWith("//")?new URL(b.protocol+u):new URL(u),S=Ug(k.pathname,p);k.origin===b.origin&&S!=null?u=S+k.search+k.hash:m=!0}catch{}let v=l4(u,{relative:s}),g=O4(u,{replace:o,state:l,target:c,preventScrollReset:d,relative:s,viewTransition:h});function y(b){r&&r(b),b.defaultPrevented||g(b)}return w.createElement("a",Op({},f,{href:x||v,onClick:m||i?r:y,ref:n,target:c}))});var Xw;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Xw||(Xw={}));var Zw;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zw||(Zw={}));function O4(e,t){let{target:n,replace:r,state:s,preventScrollReset:i,relative:o,viewTransition:l}=t===void 0?{}:t,c=Il(),u=ur(),d=_j(e,{relative:o});return w.useCallback(h=>{if(_4(h,n)){h.preventDefault();let f=r!==void 0?r:Ou(u)===Ou(d);c(e,{replace:f,state:s,preventScrollReset:i,relative:o,viewTransition:l})}},[u,c,d,r,s,n,e,i,o,l])}var D4=typeof Element<"u",M4=typeof Map=="function",L4=typeof Set=="function",$4=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Kc(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,s;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Kc(e[r],t[r]))return!1;return!0}var i;if(M4&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Kc(r.value[1],t.get(r.value[0])))return!1;return!0}if(L4&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if($4&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[r]))return!1;if(D4&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((s[r]==="_owner"||s[r]==="__v"||s[r]==="__o")&&e.$$typeof)&&!Kc(e[s[r]],t[s[r]]))return!1;return!0}return e!==e&&t!==t}var F4=function(t,n){try{return Kc(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const B4=Io(F4);var W4=function(e,t,n,r,s,i,o,l){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,s,i,o,l],d=0;c=new Error(t.replace(/%s/g,function(){return u[d++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},U4=W4;const ex=Io(U4);var V4=function(t,n,r,s){var i=r?r.call(s,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),l=Object.keys(n);if(o.length!==l.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),u=0;u<o.length;u++){var d=o[u];if(!c(d))return!1;var h=t[d],f=n[d];if(i=r?r.call(s,h,f,d):void 0,i===!1||i===void 0&&h!==f)return!1}return!0};const H4=Io(V4);var Nj=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(Nj||{}),Ch={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]}
258,meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},tx=Object.values(Nj),qg={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},z4=Object.entries(qg).reduce((e,[t,n])=>(e[n]=t,e),{}),mn="data-rh",to={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},no=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},q4=e=>{let t=no(e,"title");const n=no(e,to.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=no(e,to.DEFAULT_TITLE);return t||r||void 0},K4=e=>no(e,to.ON_CHANGE_CLIENT_STATE)||(()=>{}),_h=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),G4=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const s=Object.keys(r);for(let i=0;i<s.length;i+=1){const l=s[i].toLowerCase();if(e.indexOf(l)!==-1&&r[l])return n.concat(r)}}return n},[]),Y4=e=>console&&typeof console.warn=="function"&&console.warn(e),aa=(e,t,n)=>{const r={};return n.filter(s=>Array.isArray(s[e])?!0:(typeof s[e]<"u"&&Y4(`Helmet: ${e} should be of type "Array". Instead found type "${typeof s[e]}"`),!1)).map(s=>s[e]).reverse().reduce((s,i)=>{const o={};i.filter(c=>{let u;const d=Object.keys(c);for(let f=0;f<d.length;f+=1){const p=d[f],x=p.toLowerCase();t.indexOf(x)!==-1&&!(u==="rel"&&c[u].toLowerCase()==="canonical")&&!(x==="rel"&&c[x].toLowerCase()==="stylesheet")&&(u=x),t.indexOf(p)!==-1&&(p==="innerHTML"||p==="cssText"||p==="itemprop")&&(u=p)}if(!u||!c[u])return!1;const h=c[u].toLowerCase();return r[u]||(r[u]={}),o[u]||(o[u]={}),r[u][h]?!1:(o[u][h]=!0,!0)}).reverse().forEach(c=>s.push(c));const l=Object.keys(o);for(let c=0;c<l.length;c+=1){const u=l[c],d={...r[u],...o[u]};r[u]=d}return s},[]).reverse()},J4=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},Q4=e=>({baseTag:G4(["href"],e),bodyAttributes:_h("bodyAttributes",e),defer:no(e,to.DEFER),encode:no(e,to.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:_h("htmlAttributes",e),linkTags:aa("link",["rel","href"],e),metaTags:aa("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:aa("noscript",["innerHTML"],e),onChangeClientState:K4(e),scriptTags:aa("script",["src","innerHTML"],e),styleTags:aa("style",["cssText"],e),title:q4(e),titleAttributes:_h("titleAttributes",e),prioritizeSeoTags:J4(e,to.PRIORITIZE_SEO_TAGS)}),Pj=e=>Array.isArray(e)?e.join(""):e,X4=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},Eh=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(X4(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},nx=(e,t)=>({...e,[t]:void 0}),Z4=["noscript","script","style"],Dp=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),Rj=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),eD=(e,t,n,r)=>{const s=Rj(n),i=Pj(t);return s?`<${e} ${mn}="true" ${s}>${Dp(i,r)}</${e}>`:`<${e} ${mn}="true">${Dp(i,r)}</${e}>`},tD=(e,t,n=!0)=>t.reduce((r,s)=>{const i=s,o=Object.keys(i).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const h=typeof i[d]>"u"?d:`${d}="${Dp(i[d],n)}"`;return u?`${u} ${h}`:h},""),l=i.innerHTML||i.cssText||"",c=Z4.indexOf(e)===-1;return`${r}<${e} ${mn}="true" ${o}${c?"/>":`>${l}</${e}>`}`},""),Ij=(e,t={})=>Object.keys(e).reduce((n,r)=>{const s=qg[r];return n[s||r]=e[r],n},t),nD=(e,t,n)=>{const r={key:t,[mn]:!0},s=Ij(n,r);return[O.createElement("title",s,t)]},Gc=(e,t)=>t.map((n,r)=>{const s={key:r,[mn]:!0};
258return Object.keys(n).forEach(i=>{const l=qg[i]||i;if(l==="innerHTML"||l==="cssText"){const c=n.innerHTML||n.cssText;s.dangerouslySetInnerHTML={__html:c}}else s[l]=n[i]}),O.createElement(e,s)}),Wt=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>nD(e,t.title,t.titleAttributes),toString:()=>eD(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Ij(t),toString:()=>Rj(t)};default:return{toComponent:()=>Gc(e,t),toString:()=>tD(e,t,n)}}},rD=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const s=Eh(e,Ch.meta),i=Eh(t,Ch.link),o=Eh(n,Ch.script);return{priorityMethods:{toComponent:()=>[...Gc("meta",s.priority),...Gc("link",i.priority),...Gc("script",o.priority)],toString:()=>`${Wt("meta",s.priority,r)} ${Wt("link",i.priority,r)} ${Wt("script",o.priority,r)}`},metaTags:s.default,linkTags:i.default,scriptTags:o.default}},sD=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:s,noscriptTags:i,styleTags:o,title:l="",titleAttributes:c,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:h,scriptTags:f}=e,p={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:p,linkTags:d,metaTags:h,scriptTags:f}=rD(e)),{priority:p,base:Wt("base",t,r),bodyAttributes:Wt("bodyAttributes",n,r),htmlAttributes:Wt("htmlAttributes",s,r),link:Wt("link",d,r),meta:Wt("meta",h,r),noscript:Wt("noscript",i,r),script:Wt("script",f,r),style:Wt("style",o,r),title:Wt("title",{title:l,titleAttributes:c},r)}},Mp=sD,pc=[],Oj=!!(typeof window<"u"&&window.document&&window.document.createElement),Lp=class{constructor(e,t){Wn(this,"instances",[]);Wn(this,"canUseDOM",Oj);Wn(this,"context");Wn(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?pc:this.instances,add:e=>{(this.canUseDOM?pc:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?pc:this.instances).indexOf(e);(this.canUseDOM?pc:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Mp({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},iD={},Dj=O.createContext(iD),Vs,Mj=(Vs=class extends w.Component{constructor(n){super(n);Wn(this,"helmetData");this.helmetData=new Lp(this.props.context||{},Vs.canUseDOM)}render(){return O.createElement(Dj.Provider,{value:this.helmetData.value},this.props.children)}},Wn(Vs,"canUseDOM",Oj),Vs),gi=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${mn}]`),s=[].slice.call(r),i=[];let o;return t&&t.length&&t.forEach(l=>{const c=document.createElement(e);for(const u in l)if(Object.prototype.hasOwnProperty.call(l,u))if(u==="innerHTML")c.innerHTML=l.innerHTML;else if(u==="cssText")c.styleSheet?c.styleSheet.cssText=l.cssText:c.appendChild(document.createTextNode(l.cssText));else{const d=u,h=typeof l[d]>"u"?"":l[d];c.setAttribute(u,h)}c.setAttribute(mn,"true"),s.some((u,d)=>(o=d,c.isEqualNode(u)))?s.splice(o,1):i.push(c)}),s.forEach(l=>{var c;return(c=l.parentNode)==null?void 0:c.removeChild(l)}),i.forEach(l=>n.appendChild(l)),{oldTags:s,newTags:i}},$p=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(mn),s=r?r.split(","):[],i=[...s],o=Object.keys(t);for(const l of o){const c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),s.indexOf(l)===-1&&s.push(l);const u=i.indexOf(l);u!==-1&&i.splice(u,1)}for(let l=i.length-1;l>=0;l-=1)n.removeAttribute(i[l]);s.length===i.length?n.removeAttribute(mn):n.getAttribute(mn)!==o.join(",")&&n.setAttribute(mn,o.join(","))},oD=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=Pj(e)),$p("title",t)},rx=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:s,linkTags:i,metaTags:o,noscriptTags:l,onChangeClientState:c,scriptTags:u,styleTags:d,title:h,titleAttributes:f}=e;$p("body",r),$p("html",s),oD(h,f);const p={baseTag:gi("base",n),linkTags:gi("link",i),metaTags:gi("meta",o),noscriptTags:gi("noscript",l),scriptTags:gi("script",u),styleTags:gi("style",d)},x={},m={};Object.keys(p).forEach(v=>{const{newTags:g,oldTags:y}=p[v];g.length&&(x[v]=g),y.length&&(m[v]=p[v].oldTags)}),t&&t(),c(e,x,m)},la=null,aD=e=>{la&&cancelAnimationFrame(la),e.defer?la=requestAnimationFrame(()=>{rx(e,()=>{la=null})}):(rx(e),la=null)},lD=aD,sx=class extends w.Component{constructor(){super(...arguments);Wn(this,"rendered",!1)}shouldComponentUpdate(t){return!H4(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const s=Q4(t.get().map(i=>{const o={...i.props};return delete o.context,o}));Mj.canUseDOM?lD(s):Mp&&(r=Mp(s)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},pf,Ae=(pf=class extends w.Component{shouldComponentUpdate(e){return!B4(nx(this.props,"helmetData"),nx(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}
258warnOnInvalidChildren(e,t){return ex(tx.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${tx.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),ex(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return O.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:s,...i}=r.props,o=Object.keys(i).reduce((c,u)=>(c[z4[u]||u]=i[u],c),{});let{type:l}=r;switch(typeof l=="symbol"?l=l.toString():this.warnOnInvalidChildren(r,s),l){case"Symbol(react.fragment)":t=this.mapChildrenToProps(s,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,o,s);break;default:t=this.mapObjectTypeChildren(r,t,o,s);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof Lp)){const s=r;r=new Lp(s.context,!0),delete n.helmetData}return r?O.createElement(sx,{...n,context:r.value}):O.createElement(Dj.Consumer,null,s=>O.createElement(sx,{...n,context:s}))}},Wn(pf,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),pf);const cD=()=>{const{pathname:e,hash:t}=ur();return w.useEffect(()=>{if(t){const n=document.querySelector(t);n&&n.scrollIntoView({behavior:"smooth"})}else window.scrollTo(0,0)},[e,t]),null},Kg=w.createContext({});function Gg(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const Lj=typeof window<"u",$j=Lj?w.useLayoutEffect:w.useEffect,kd=w.createContext(null);function Yg(e,t){e.indexOf(t)===-1&&e.push(t)}function Jg(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Fn=(e,t,n)=>n>t?t:n<e?e:n;let Sd=()=>{},No=()=>{};const ir={},Fj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Bj(e){return typeof e=="object"&&e!==null}const Wj=e=>/^0[^.\s]+$/u.test(e);function Qg(e){let t;return()=>(t===void 0&&(t=e()),t)}const Yt=e=>e,uD=(e,t)=>n=>t(e(n)),Ol=(...e)=>e.reduce(uD),al=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Xg{constructor(){this.subscriptions=[]}add(t){return Yg(this.subscriptions,t),()=>Jg(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let i=0;i<s;i++){const o=this.subscriptions[i];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Dn=e=>e*1e3,Kt=e=>e/1e3;function Uj(e,t){return t?e*(1e3/t):0}const Vj=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,dD=1e-7,hD=12;function fD(e,t,n,r,s){let i,o,l=0;do o=t+(n-t)/2,i=Vj(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>dD&&++l<hD);return o}function Dl(e,t,n,r){if(e===t&&n===r)return Yt;const s=i=>fD(i,0,1,e,n);return i=>i===0||i===1?i:Vj(s(i),t,r)}const Hj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,zj=e=>t=>1-e(1-t),qj=Dl(.33,1.53,.69,.99),Zg=zj(qj),Kj=Hj(Zg),Gj=e=>(e*=2)<1?.5*Zg(e):.5*(2-Math.pow(2,-10*(e-1))),ey=e=>1-Math.sin(Math.acos(e)),Yj=zj(ey),Jj=Hj(ey),pD=Dl(.42,0,1,1),mD=Dl(0,0,.58,1),Qj=Dl(.42,0,.58,1),gD=e=>Array.isArray(e)&&typeof e[0]!="number",Xj=e=>Array.isArray(e)&&typeof e[0]=="number",ix={linear:Yt,easeIn:pD,easeInOut:Qj,easeOut:mD,circIn:ey,circInOut:Jj,circOut:Yj,backIn:Zg,backInOut:Kj,backOut:qj,anticipate:Gj},yD=e=>typeof e=="string",ox=e=>{if(Xj(e)){No(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,s]=e;return Dl(t,n,r,s)}else if(yD(e))return No(ix[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),ix[e];return e},mc=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],ax={value:null,addProjectionMetrics:null};function vD(e,t){let n=new Set,r=new Set,s=!1,i=!1;const o=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},c=0;function u(h){o.has(h)&&(d.schedule(h),e()),c++,h(l)}
vendor: 26,653 bytes, line 258
258const d={schedule:(h,f=!1,p=!1)=>{const m=p&&s?n:r;return f&&o.add(h),m.has(h)||m.add(h),h},cancel:h=>{r.delete(h),o.delete(h)},process:h=>{if(l=h,s){i=!0;return}s=!0,[n,r]=[r,n],n.forEach(u),t&&ax.value&&ax.value.frameloop[t].push(c),c=0,n.clear(),s=!1,i&&(i=!1,d.process(h))}};return d}const wD=40;function Zj(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=mc.reduce((b,k)=>(b[k]=vD(i,t?k:void 0),b),{}),{setup:l,read:c,resolveKeyframes:u,preUpdate:d,update:h,preRender:f,render:p,postRender:x}=o,m=()=>{const b=ir.useManualTiming?s.timestamp:performance.now();n=!1,ir.useManualTiming||(s.delta=r?1e3/60:Math.max(Math.min(b-s.timestamp,wD),1)),s.timestamp=b,s.isProcessing=!0,l.process(s),c.process(s),u.process(s),d.process(s),h.process(s),f.process(s),p.process(s),x.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(m))},v=()=>{n=!0,r=!0,s.isProcessing||e(m)};return{schedule:mc.reduce((b,k)=>{const S=o[k];return b[k]=(j,C=!1,_=!1)=>(n||v(),S.schedule(j,C,_)),b},{}),cancel:b=>{for(let k=0;k<mc.length;k++)o[mc[k]].cancel(b)},state:s,steps:o}}const{schedule:je,cancel:ls,state:rt,steps:Ah}=Zj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Yt,!0);let Yc;function xD(){Yc=void 0}const yt={now:()=>(Yc===void 0&&yt.set(rt.isProcessing||ir.useManualTiming?rt.timestamp:performance.now()),Yc),set:e=>{Yc=e,queueMicrotask(xD)}},e2=e=>t=>typeof t=="string"&&t.startsWith(e),t2=e2("--"),bD=e2("var(--"),ty=e=>bD(e)?kD.test(e.split("/*")[0].trim()):!1,kD=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function lx(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Ho={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ll={...Ho,transform:e=>Fn(0,1,e)},gc={...Ho,default:1},Aa=e=>Math.round(e*1e5)/1e5,ny=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function SD(e){return e==null}const jD=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ry=(e,t)=>n=>!!(typeof n=="string"&&jD.test(n)&&n.startsWith(e)||t&&!SD(n)&&Object.prototype.hasOwnProperty.call(n,t)),n2=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,i,o,l]=r.match(ny);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},TD=e=>Fn(0,255,e),Nh={...Ho,transform:e=>Math.round(TD(e))},Ps={test:ry("rgb","red"),parse:n2("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Nh.transform(e)+", "+Nh.transform(t)+", "+Nh.transform(n)+", "+Aa(ll.transform(r))+")"};function CD(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const Fp={test:ry("#"),parse:CD,transform:Ps.transform},Ml=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),jr=Ml("deg"),Mn=Ml("%"),V=Ml("px"),_D=Ml("vh"),ED=Ml("vw"),cx={...Mn,parse:e=>Mn.parse(e)/100,transform:e=>Mn.transform(e*100)},Ui={test:ry("hsl","hue"),parse:n2("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Mn.transform(Aa(t))+", "+Mn.transform(Aa(n))+", "+Aa(ll.transform(r))+")"},ze={test:e=>Ps.test(e)||Fp.test(e)||Ui.test(e),parse:e=>Ps.test(e)?Ps.parse(e):Ui.test(e)?Ui.parse(e):Fp.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Ps.transform(e):Ui.transform(e),getAnimatableNone:e=>{const t=ze.parse(e);return t.alpha=0,ze.transform(t)}},AD=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ND(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(ny))==null?void 0:t.length)||0)+(((n=e.match(AD))==null?void 0:n.length)||0)>0}const r2="number",s2="color",PD="var",RD="var(",ux="${}",ID=/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 cl(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let i=0;const l=t.replace(ID,c=>(ze.test(c)?(r.color.push(i),s.push(s2),n.push(ze.parse(c))):c.startsWith(RD)?(r.var.push(i),s.push(PD),n.push(c)):(r.number.push(i),s.push(r2),n.push(parseFloat(c))),++i,ux)).split(ux);return{values:n,split:l,indexes:r,types:s}}function i2(e){return cl(e).values}function o2(e){const{split:t,types:n}=cl(e),r=t.length;return s=>{let i="";for(let o=0;o<r;o++)if(i+=t[o],s[o]!==void 0){const l=n[o];l===r2?i+=Aa(s[o]):l===s2?i+=ze.transform(s[o]):i+=s[o]}return i}}const OD=e=>typeof e=="number"?0:ze.test(e)?ze.getAnimatableNone(e):e;function DD(e){const t=i2(e);return o2(e)(t.map(OD))}const cs={test:ND,parse:i2,createTransformer:o2,getAnimatableNone:DD};function Ph(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 MD({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,o=0;if(!t)s=i=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;s=Ph(c,l,e+1/3),i=Ph(c,l,e),o=Ph(c,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}function Mu(e,t){return n=>n>0?t:e}const Ie=(e,t,n)=>e+(t-e)*n,Rh=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},LD=[Fp,Ps,Ui],$D=e=>LD.find(t=>t.test(e));function dx(e){const t=$D(e);if(Sd(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Ui&&(n=MD(n)),n}const hx=(e,t)=>{const n=dx(e),r=dx(t);if(!n||!r)return Mu(e,t);const s={...n};return i=>(s.red=Rh(n.red,r.red,i),s.green=Rh(n.green,r.green,i),s.blue=Rh(n.blue,r.blue,i),s.alpha=Ie(n.alpha,r.alpha,i),Ps.transform(s))},Bp=new Set(["none","hidden"]);function FD(e,t){return Bp.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function BD(e,t){return n=>Ie(e,t,n)}function sy(e){return typeof e=="number"?BD:typeof e=="string"?ty(e)?Mu:ze.test(e)?hx:VD:Array.isArray(e)?a2:typeof e=="object"?ze.test(e)?hx:WD:Mu}function a2(e,t){const n=[...e],r=n.length,s=e.map((i,o)=>sy(i)(i,t[o]));return i=>{for(let o=0;o<r;o++)n[o]=s[o](i);return n}}function WD(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=sy(e[s])(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}}function UD(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const i=t.types[s],o=e.indexes[i][r[i]],l=e.values[o]??0;n[s]=l,r[i]++}return n}const VD=(e,t)=>{const n=cs.createTransformer(t),r=cl(e),s=cl(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?Bp.has(e)&&!s.values.length||Bp.has(t)&&!r.values.length?FD(e,t):Ol(a2(UD(r,s),s.values),n):(Sd(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Mu(e,t))};function l2(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Ie(e,t,n):sy(e)(e,t)}const HD=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>je.update(t,n),stop:()=>ls(t),now:()=>rt.isProcessing?rt.timestamp:yt.now()}},c2=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let i=0;i<s;i++)r+=Math.round(e(i/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Lu=2e4;function iy(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Lu;)t+=n,r=e.next(t);return t>=Lu?1/0:t}function zD(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(iy(r),Lu);return{type:"keyframes",ease:i=>r.next(s*i).value/t,duration:Kt(s)}}const qD=5;function u2(e,t,n){const r=Math.max(t-qD,0);return Uj(n-e(r),t-r)}const Ne={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},Ih=.001;function KD({duration:e=Ne.duration,bounce:t=Ne.bounce,velocity:n=Ne.velocity,mass:r=Ne.mass}){let s,i;Sd(e<=Dn(Ne.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=Fn(Ne.minDamping,Ne.maxDamping,o),e=Fn(Ne.minDuration,Ne.maxDuration,Kt(e)),o<1?(s=u=>{const d=u*o,h=d*e,f=d-n,p=Wp(u,o),x=Math.exp(-h);return Ih-f/p*x},i=u=>{const h=u*o*e,f=h*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,x=Math.exp(-h),m=Wp(Math.pow(u,2),o);return(-s(u)+Ih>0?-1:1)*((f-p)*x)/m}):(s=u=>{const d=Math.exp(-u*e),h=(u-n)*e+1;return-Ih+d*h},i=u=>{const d=Math.exp(-u*e),h=(n-u)*(e*e);return d*h});const l=5/e,c=YD(s,i,l);if(e=Dn(e),isNaN(c))return{stiffness:Ne.stiffness,damping:Ne.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const GD=12;function YD(e,t,n){let r=n;for(let s=1;s<GD;s++)r=r-e(r)/t(r);return r}function Wp(e,t){return e*Math.sqrt(1-t*t)}const JD=["duration","bounce"],QD=["stiffness","damping","mass"];function fx(e,t){return t.some(n=>e[n]!==void 0)}function XD(e){let t={velocity:Ne.velocity,stiffness:Ne.stiffness,damping:Ne.damping,mass:Ne.mass,isResolvedFromDuration:!1,...e};if(!fx(e,QD)&&fx(e,JD))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,i=2*Fn(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:Ne.mass,stiffness:s,damping:i}}else{const n=KD(e);t={...t,...n,mass:Ne.mass},t.isResolvedFromDuration=!0}return t}function $u(e=Ne.visualDuration,t=Ne.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:i},{stiffness:c,damping:u,mass:d,duration:h,velocity:f,isResolvedFromDuration:p}=XD({...n,velocity:-Kt(n.velocity||0)}),x=f||0,m=u/(2*Math.sqrt(c*d)),v=o-i,g=Kt(Math.sqrt(c/d)),y=Math.abs(v)<5;r||(r=y?Ne.restSpeed.granular:Ne.restSpeed.default),s||(s=y?Ne.restDelta.granular:Ne.restDelta.default);let b;if(m<1){const S=Wp(g,m);b=j=>{const C=Math.exp(-m*g*j);return o-C*((x+m*g*v)/S*Math.sin(S*j)+v*Math.cos(S*j))}}else if(m===1)b=S=>o-Math.exp(-g*S)*(v+(x+g*v)*S);else{const S=g*Math.sqrt(m*m-1);b=j=>{const C=Math.exp(-m*g*j),_=Math.min(S*j,300);return o-C*((x+m*g*v)*Math.sinh(_)+S*v*Math.cosh(_))/S}}const k={calculatedDuration:p&&h||null,next:S=>{const j=b(S);if(p)l.done=S>=h;else{let C=S===0?x:0;m<1&&(C=S===0?Dn(x):u2(b,S,j));const _=Math.abs(C)<=r,A=Math.abs(o-j)<=s;l.done=_&&A}return l.value=l.done?o:j,l},toString:()=>{const S=Math.min(iy(k),Lu),j=c2(C=>k.next(S*C).value,S,30);return S+"ms "+j},toTransition:()=>{}};return k}$u.applyToOptions=e=>{const t=zD(e,100,$u);return e.ease=t.ease,e.duration=Dn(t.duration),e.type="keyframes",e};function Up({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:o,min:l,max:c,restDelta:u=.5,restSpeed:d}){const h=e[0],f={done:!1,value:h},p=_=>l!==void 0&&_<l||c!==void 0&&_>c,x=_=>l===void 0?c:c===void 0||Math.abs(l-_)<Math.abs(c-_)?l:c;let m=n*t;const v=h+m,g=o===void 0?v:o(v);g!==v&&(m=g-h);const y=_=>-m*Math.exp(-_/r),b=_=>g+y(_),k=_=>{const A=y(_),P=b(_);f.done=Math.abs(A)<=u,f.value=f.done?g:P};let S,j;const C=_=>{p(f.value)&&(S=_,j=$u({keyframes:[f.value,x(f.value)],velocity:u2(b,_,f.value),damping:s,stiffness:i,restDelta:u,restSpeed:d}))};return C(0),{calculatedDuration:null,next:_=>{let A=!1;return!j&&S===void 0&&(A=!0,k(_),C(_)),S!==void 0&&_>=S?j.next(_-S):(!A&&k(_),f)}}}function ZD(e,t,n){const r=[],s=n||ir.mix||l2,i=e.length-1;for(let o=0;o<i;o++){let l=s(e[o],e[o+1]);if(t){const c=Array.isArray(t)?t[o]||Yt:t;l=Ol(c,l)}r.push(l)}return r}function eM(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;if(No(i===t.length,"Both input and output ranges must be the same length","range-length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=ZD(t,r,s),c=l.length,u=d=>{if(o&&d<e[0])return t[0];let h=0;if(c>1)for(;h<e.length-2&&!(d<e[h+1]);h++);const f=al(e[h],e[h+1],d);return l[h](f)};return n?d=>u(Fn(e[0],e[i-1],d)):u}function tM(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=al(0,t,r);e.push(Ie(n,1,s))}}function nM(e){const t=[0];return tM(t,e.length-1),t}function rM(e,t){return e.map(n=>n*t)}function sM(e,t){return e.map(()=>t||Qj).splice(0,e.length-1)}function Na({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=gD(r)?r.map(ox):ox(r),i={done:!1,value:t[0]},o=rM(n&&n.length===t.length?n:nM(t),e),l=eM(o,t,{ease:Array.isArray(s)?s:sM(t,s)});return{calculatedDuration:e,next:c=>(i.value=l(c),i.done=c>=e,i)}}const iM=e=>e!==null;function oy(e,{repeat:t,repeatType:n="loop"},r,s=1){const i=e.filter(iM),l=s<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!l||r===void 0?i[l]:r}const oM={decay:Up,inertia:Up,tween:Na,keyframes:Na,spring:$u};function d2(e){typeof e.type=="string"&&(e.type=oM[e.type])}class ay{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const aM=e=>e/100;class ly extends ay{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,s;const{motionValue:n}=this.options;n&&n.updatedAt!==yt.now()&&this.tick(yt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;d2(t);const{type:n=Na,repeat:r=0,repeatDelay:s=0,repeatType:i,velocity:o=0}=t;let{keyframes:l}=t;const c=n||Na;c!==Na&&typeof l[0]!="number"&&(this.mixKeyframes=Ol(aM,l2(l[0],l[1])),l=[0,100]);const u=c({...t,keyframes:l});i==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=iy(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:h,repeatType:f,repeatDelay:p,type:x,onUpdate:m,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let b=this.currentTime,k=r;if(h){const _=Math.min(this.currentTime,s)/l;let A=Math.floor(_),P=_%1;!P&&_>=1&&(P=1),P===1&&A--,A=Math.min(A,h+1),!!(A%2)&&(f==="reverse"?(P=1-P,p&&(P-=p/l)):f==="mirror"&&(k=o)),b=Fn(0,1,P)*l}const S=y?{done:!1,value:d[0]}:k.next(b);i&&(S.value=i(S.value));let{done:j}=S;!y&&c!==null&&(j=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&j);return C&&x!==Up&&(S.value=oy(d,this.options,v,this.speed)),m&&m(S.value),C&&this.finish(),S}then(t,n){return this.finished.then(t,n)}get duration(){return Kt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Kt(t)}get time(){return Kt(this.currentTime)}set time(t){var n;t=Dn(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(yt.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Kt(this.currentTime))}play(){var s,i;if(this.isStopped)return;const{driver:t=HD,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(i=(s=this.options).onPlay)==null||i.call(s);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(yt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function lM(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Rs=e=>e*180/Math.PI,Vp=e=>{const t=Rs(Math.atan2(e[1],e[0]));return Hp(t)},cM={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Vp,rotateZ:Vp,skewX:e=>Rs(Math.atan(e[1])),skewY:e=>Rs(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Hp=e=>(e=e%360,e<0&&(e+=360),e),px=Vp,mx=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),gx=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),uM={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:mx,scaleY:gx,scale:e=>(mx(e)+gx(e))/2,rotateX:e=>Hp(Rs(Math.atan2(e[6],e[5]))),rotateY:e=>Hp(Rs(Math.atan2(-e[2],e[0]))),rotateZ:px,rotate:px,skewX:e=>Rs(Math.atan(e[4])),skewY:e=>Rs(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function zp(e){return e.includes("scale")?1:0}function qp(e,t){if(!e||e==="none")return zp(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=uM,s=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=cM,s=l}if(!s)return zp(t);const i=r[t],o=s[1].split(",").map(hM);return typeof i=="function"?i(o):o[i]}const dM=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return qp(n,t)};function hM(e){return parseFloat(e.trim())}const zo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],qo=new Set(zo),yx=e=>e===Ho||e===V,fM=new Set(["x","y","z"]),pM=zo.filter(e=>!fM.has(e));function mM(e){const t=[];return pM.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const qr={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:(e,{transform:t})=>qp(t,"x"),y:(e,{transform:t})=>qp(t,"y")};qr.translateX=qr.x;qr.translateY=qr.y;const Ks=new Set;let Kp=!1,Gp=!1,Yp=!1;function h2(){if(Gp){const e=Array.from(Ks).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=mM(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([i,o])=>{var l;(l=r.getValue(i))==null||l.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Gp=!1,Kp=!1,Ks.forEach(e=>e.complete(Yp)),Ks.clear()}function f2(){Ks.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Gp=!0)})}function gM(){Yp=!0,f2(),h2(),Yp=!1}class cy{constructor(t,n,r,s,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Ks.add(this),Kp||(Kp=!0,je.read(f2),je.resolveKeyframes(h2))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const i=s==null?void 0:s.get(),o=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const l=r.readValue(n,o);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=o),s&&i===void 0&&s.set(t[0])}lM(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Ks.delete(this)}cancel(){this.state==="scheduled"&&(Ks.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const yM=e=>e.startsWith("--");function vM(e,t,n){yM(t)?e.style.setProperty(t,n):e.style[t]=n}const wM=Qg(()=>window.ScrollTimeline!==void 0),xM={};function bM(e,t){const n=Qg(e);return()=>xM[t]??n()}const p2=bM(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ga=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,vx={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ga([0,.65,.55,1]),circOut:ga([.55,0,1,.45]),backIn:ga([.31,.01,.66,-.59]),backOut:ga([.33,1.53,.69,.99])};function m2(e,t){if(e)return typeof e=="function"?p2()?c2(e,t):"ease-out":Xj(e)?ga(e):Array.isArray(e)?e.map(n=>m2(n,t)||vx.easeOut):vx[e]}function kM(e,t,n,{delay:r=0,duration:s=300,repeat:i=0,repeatType:o="loop",ease:l="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const h=m2(l,s);Array.isArray(h)&&(d.easing=h);const f={delay:r,duration:s,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(d,f)}function g2(e){return typeof e=="function"&&"applyToOptions"in e}function SM({type:e,...t}){return g2(e)&&p2()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class jM extends ay{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:l,onComplete:c}=t;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=t,No(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=SM(t);this.animation=kM(n,r,s,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const d=oy(s,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(d):vM(n,r,d),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return Kt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Kt(t)}get time(){return Kt(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Dn(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&wM()?(this.animation.timeline=t,Yt):n(this)}}const y2={anticipate:Gj,backInOut:Kj,circInOut:Jj};function TM(e){return e in y2}function CM(e){typeof e.ease=="string"&&TM(e.ease)&&(e.ease=y2[e.ease])}const Oh=10;class _M extends jM{constructor(t){CM(t),d2(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:i,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new ly({...o,autoplay:!1}),c=Math.max(Oh,yt.now()-this.startTime),u=Fn(0,Oh,c-Oh);n.setWithVelocity(l.sample(Math.max(0,c-u)).value,l.sample(c).value,u),l.stop()}}const wx=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(cs.test(e)||e==="0")&&!e.startsWith("url("));function EM(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 AM(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],o=wx(s,t),l=wx(i,t);return Sd(o===l,`You are trying to animate ${t} from "${s}" to "${i}". "${o?i:s}" is not an animatable value.`,"value-not-animatable"),!o||!l?!1:EM(e)||(n==="spring"||g2(n))&&r}function Jp(e){e.duration=0,e.type="keyframes"}const NM=new Set(["opacity","clipPath","filter","transform"]),PM=Qg(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function RM(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:i,type:o}=e;if(!(((d=t==null?void 0:t.owner)==null?void 0:d.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return PM()&&n&&NM.has(n)&&(n!=="transform"||!u)&&!c&&!r&&s!=="mirror"&&i!==0&&o!=="inertia"}const IM=40;class OM extends ay{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:
258o="loop",keyframes:l,name:c,motionValue:u,element:d,...h}){var x;super(),this.stop=()=>{var m,v;this._animation&&(this._animation.stop(),(m=this.stopTimeline)==null||m.call(this)),(v=this.keyframeResolver)==null||v.cancel()},this.createdAt=yt.now();const f={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:i,repeatType:o,name:c,motionValue:u,element:d,...h},p=(d==null?void 0:d.KeyframeResolver)||cy;this.keyframeResolver=new p(l,(m,v,g)=>this.onKeyframesResolved(m,v,f,!g),c,u,d),(x=this.keyframeResolver)==null||x.scheduleResolve()}onKeyframesResolved(t,n,r,s){var v,g;this.keyframeResolver=void 0;const{name:i,type:o,velocity:l,delay:c,isHandoff:u,onUpdate:d}=r;this.resolvedAt=yt.now(),AM(t,i,o,l)||((ir.instantAnimations||!c)&&(d==null||d(oy(t,r,n))),t[0]=t[t.length-1],Jp(r),r.repeat=0);const f={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>IM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},p=!u&&RM(f),x=(g=(v=f.motionValue)==null?void 0:v.owner)==null?void 0:g.current,m=p?new _M({...f,element:x}):new ly(f);m.finished.then(()=>{this.notifyFinished()}).catch(Yt),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),gM()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function v2(e,t,n,r=0,s=1){const i=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),o=e.size,l=(o-1)*r;return typeof n=="function"?n(i,o):s===1?i*r:l-i*r}const DM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function MM(e){const t=DM.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}const LM=4;function w2(e,t,n=1){No(n<=LM,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,s]=MM(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const o=i.trim();return Fj(o)?parseFloat(o):o}return ty(s)?w2(s,t,n+1):s}const $M={type:"spring",stiffness:500,damping:25,restSpeed:10},FM=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),BM={type:"keyframes",duration:.8},WM={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},UM=(e,{keyframes:t})=>t.length>2?BM:qo.has(e)?e.startsWith("scale")?FM(t[1]):$M:WM,VM=e=>e!==null;function HM(e,{repeat:t,repeatType:n="loop"},r){const s=e.filter(VM),i=t&&n!=="loop"&&t%2===1?0:s.length-1;return!i||r===void 0?s[i]:r}function uy(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}function zM({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:i,repeatType:o,repeatDelay:l,from:c,elapsed:u,...d}){return!!Object.keys(d).length}const dy=(e,t,n,r={},s,i)=>o=>{const l=uy(r,e)||{},c=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Dn(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:f=>{t.set(f),l.onUpdate&&l.onUpdate(f)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:i?void 0:s};zM(l)||Object.assign(d,UM(e,d)),d.duration&&(d.duration=Dn(d.duration)),d.repeatDelay&&(d.repeatDelay=Dn(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let h=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(Jp(d),d.delay===0&&(h=!0)),(ir.instantAnimations||ir.skipAnimations)&&(h=!0,Jp(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,h&&!i&&t.get()!==void 0){const f=HM(d.keyframes,l);if(f!==void 0){je.update(()=>{d.onUpdate(f),d.onComplete()});return}}return l.isSync?new ly(d):new OM(d)};function xx(e){const t=[{},{}];
vendor: 51,029 bytes, line 258
258return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function hy(e,t,n,r){if(typeof t=="function"){const[s,i]=xx(r);t=t(n!==void 0?n:e.custom,s,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,i]=xx(r);t=t(n!==void 0?n:e.custom,s,i)}return t}function ro(e,t,n){const r=e.getProps();return hy(r,t,n!==void 0?n:r.custom,e)}const x2=new Set(["width","height","top","left","right","bottom",...zo]),bx=30,qM=e=>!isNaN(parseFloat(e));class KM{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const s=yt.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((i=this.events.change)==null||i.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=yt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=qM(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 Xg);const r=this.events[t].add(n);return t==="change"?()=>{r(),je.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=yt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>bx)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,bx);return Uj(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(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Po(e,t){return new KM(e,t)}const Qp=e=>Array.isArray(e);function GM(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Po(n))}function YM(e){return Qp(e)?e[e.length-1]||0:e}function JM(e,t){const n=ro(e,t);let{transitionEnd:r={},transition:s={},...i}=n||{};i={...i,...r};for(const o in i){const l=YM(i[o]);GM(e,o,l)}}const dt=e=>!!(e&&e.getVelocity);function QM(e){return!!(dt(e)&&e.add)}function Xp(e,t){const n=e.getValue("willChange");if(QM(n))return n.add(t);if(!n&&ir.WillChange){const r=new ir.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function fy(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const XM="framerAppearId",b2="data-"+fy(XM);function k2(e){return e.props[b2]}function ZM({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function S2(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:o,...l}=t;r&&(i=r);const c=[],u=s&&e.animationState&&e.animationState.getState()[s];for(const d in l){const h=e.getValue(d,e.latestValues[d]??null),f=l[d];if(f===void 0||u&&ZM(u,d))continue;const p={delay:n,...uy(i||{},d)},x=h.get();if(x!==void 0&&!h.isAnimating&&!Array.isArray(f)&&f===x&&!p.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const g=k2(e);if(g){const y=window.MotionHandoffAnimation(g,d,je);y!==null&&(p.startTime=y,m=!0)}}Xp(e,d),h.start(dy(d,h,f,e.shouldReduceMotion&&x2.has(d)?{type:!1}:p,e,m));const v=h.animation;v&&c.push(v)}return o&&Promise.all(c).then(()=>{je.update(()=>{o&&JM(e,o)})}),c}function Zp(e,t,n={}){var c;const r=ro(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const i=r?()=>Promise.all(S2(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:f}=s;return eL(e,t,u,d,h,f,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[u,d]=l==="beforeChildren"?[i,o]:[o,i];return u().then(()=>d())}else return Promise.all([i(),o(n.delay)])}function eL(e,t,n=0,r=0,s=0,i=1,o){const l=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),l.push(Zp(c,t,{...o,delay:n+(typeof r=="function"?0:r)+v2(e.variantChildren,c,r,s,i)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(l)}function tL(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(i=>Zp(e,i,n));r=Promise.all(s)}else if(typeof t=="string")r=Zp(e,t,n);else{const s=typeof t=="function"?ro(e,t,n.custom):t;r=Promise.all(S2(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const nL={test:e=>e==="auto",parse:e=>e},j2=e=>t=>t.test(e),T2=[Ho,V,Mn,jr,ED,_D,nL],kx=e=>T2.find(j2(e));function rL(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Wj(e):!0}const sL=new Set(["brightness","contrast","saturate","opacity"]);function iL(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(ny)||[];if(!r)return e;const s=n.replace(r,"");let i=sL.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const oL=/\b([a-z-]*)\(.*?\)/gu,em={...cs,getAnimatableNone:e=>{const t=e.match(oL);return t?t.map(iL).join(" "):e}},Sx={...Ho,transform:Math.round},aL={rotate:jr,rotateX:jr,rotateY:jr,rotateZ:jr,scale:gc,scaleX:gc,scaleY:gc,scaleZ:gc,skew:jr,skewX:jr,skewY:jr,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:ll,originX:cx,originY:cx,originZ:V},py={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,top:V,right:V,bottom:V,left:V,inset:V,insetBlock:V,insetBlockStart:V,insetBlockEnd:V,insetInline:V,insetInlineStart:V,insetInlineEnd:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,paddingBlock:V,paddingBlockStart:V,paddingBlockEnd:V,paddingInline:V,paddingInlineStart:V,paddingInlineEnd:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,marginBlock:V,marginBlockStart:V,marginBlockEnd:V,marginInline:V,marginInlineStart:V,marginInlineEnd:V,fontSize:V,backgroundPositionX:V,backgroundPositionY:V,...aL,zIndex:Sx,fillOpacity:ll,strokeOpacity:ll,numOctaves:Sx},lL={...py,color:ze,backgroundColor:ze,outlineColor:ze,fill:ze,stroke:ze,borderColor:ze,borderTopColor:ze,borderRightColor:ze,borderBottomColor:ze,borderLeftColor:ze,filter:em,WebkitFilter:em},C2=e=>lL[e];function _2(e,t){let n=C2(e);return n!==em&&(n=cs),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const cL=new Set(["auto","none","0"]);function uL(e,t,n){let r=0,s;for(;r<e.length&&!s;){const i=e[r];typeof i=="string"&&!cL.has(i)&&cl(i).values.length&&(s=e[r]),r++}if(s&&n)for(const i of t)e[i]=_2(n,s)}class dL extends cy{constructor(t,n,r,s,i){super(t,n,r,s,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let h=t[d];if(typeof h=="string"&&(h=h.trim(),ty(h))){const f=w2(h,n.current);f!==void 0&&(t[d]=f),d===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!x2.has(r)||t.length!==2)return;const[s,i]=t,o=kx(s),l=kx(i),c=lx(s),u=lx(i);if(c!==u&&qr[r]){this.needsMeasurement=!0;return}if(o!==l)if(yx(o)&&yx(l))for(let d=0;d<t.length;d++){const h=t[d];typeof h=="string"&&(t[d]=parseFloat(h))}else qr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||rL(t[s]))&&r.push(s);r.length&&uL(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=qr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var l;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const i=r.length-1,o=r[i];r[i]=qr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(l=this.removedTransforms)!=null&&l.length&&this.removedTransforms.forEach(([c,u])=>{t.getValue(c).set(u)}),this.resolveNoneKeyframes()}}function E2(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const s=document.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const A2=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function tm(e){return Bj(e)&&"offsetHeight"in e}const{schedule:my,cancel:xV}=Zj(queueMicrotask,!1),an={x:!1,y:!1};function N2(){return an.x||an.y}function hL(e){return e==="x"||e==="y"?an[e]?null:(an[e]=!0,()=>{an[e]=!1}):an.x||an.y?null:(an.x=an.y=!0,()=>{an.x=an.y=!1})}function P2(e,t){const n=E2(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function jx(e){return!(e.pointerType==="touch"||N2())}function fL(e,t,n={}){const[r,s,i]=P2(e,n),o=l=>{if(!jx(l))return;const{target:c}=l,u=t(c,l);if(typeof u!="function"||!c)return;const d=h=>{jx(h)&&(u(h),c.removeEventListener("pointerleave",d))};c.addEventListener("pointerleave",d,s)};return r.forEach(l=>{l.addEventListener("pointerenter",o,s)}),i}const R2=(e,t)=>t?e===t?!0:R2(e,t.parentElement):!1,gy=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,pL=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function I2(e){return pL.has(e.tagName)||e.isContentEditable===!0}const Jc=new WeakSet;function Tx(e){return t=>{t.key==="Enter"&&e(t)}}function Dh(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const mL=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Tx(()=>{if(Jc.has(n))return;Dh(n,"down");const s=Tx(()=>{Dh(n,"up")}),i=()=>Dh(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Cx(e){return gy(e)&&!N2()}function gL(e,t,n={}){const[r,s,i]=P2(e,n),o=l=>{const c=l.currentTarget;if(!Cx(l))return;Jc.add(c);const u=t(c,l),d=(p,x)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),Jc.has(c)&&Jc.delete(c),Cx(p)&&typeof u=="function"&&u(p,{success:x})},h=p=>{d(p,c===window||c===document||n.useGlobalTarget||R2(c,p.target))},f=p=>{d(p,!1)};window.addEventListener("pointerup",h,s),window.addEventListener("pointercancel",f,s)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",o,s),tm(l)&&(l.addEventListener("focus",u=>mL(u,s)),!I2(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),i}function O2(e){return Bj(e)&&"ownerSVGElement"in e}function yL(e){return O2(e)&&e.tagName==="svg"}const vL=[...T2,ze,cs],wL=e=>vL.find(j2(e)),_x=()=>({translate:0,scale:1,origin:0,originPoint:0}),Vi=()=>({x:_x(),y:_x()}),Ex=()=>({min:0,max:0}),Ge=()=>({x:Ex(),y:Ex()}),nm={current:null},D2={current:!1},xL=typeof window<"u";function bL(){if(D2.current=!0,!!xL)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>nm.current=e.matches;e.addEventListener("change",t),t()}else nm.current=!1}const kL=new WeakMap;function jd(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function ul(e){return typeof e=="string"||Array.isArray(e)}const yy=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],vy=["initial",...yy];function Td(e){return jd(e.animate)||vy.some(t=>ul(e[t]))}function M2(e){return!!(Td(e)||e.variants)}function SL(e,t,n){for(const r in t){const s=t[r],i=n[r];if(dt(s))e.addValue(r,s);else if(dt(i))e.addValue(r,Po(s,{owner:e}));else if(i!==s)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(s):o.hasAnimated||o.set(s)}else{const o=e.getStaticValue(r);e.addValue(r,Po(o!==void 0?o:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Ax=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Fu={};function L2(e){Fu=e}function jL(){return Fu}class TL{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,blockInitialAnimation:i,visualState:o},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=cy,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 f=yt.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,je.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=l,this.blockInitialAnimation=!!i,this.isControllingVariants=Td(n),this.isVariantNode=M2(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in h){const p=h[f];c[f]!==void 0&&dt(p)&&p.set(c[f])}}mount(t){var n;this.current=t,kL.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((r,s)=>this.bindToMotionValue(s,r)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(D2.current||bL(),this.shouldReduceMotion=nm.current),(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),ls(this.notifyUpdate),ls(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=qo.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&je.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),i&&i(),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 Fu){const n=Fu[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ge()}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 r=0;r<Ax.length;r++){const s=Ax[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const i="on"+s,o=t[i];o&&(this.propEventSubscriptions[s]=this.on(s,o))}this.prevMotionValues=SL(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&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 r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Po(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(Fj(r)||Wj(r))?r=parseFloat(r):!wL(r)&&cs.test(n)&&(r=_2(t,n)),this.setBaseTarget(t,dt(r)?r.get():r)),dt(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=hy(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!dt(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Xg),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){my.render(this.render)}}class $2 extends TL{constructor(){super(...arguments),this.KeyframeResolver=dL}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;dt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class ps{constructor(t){this.isMounted=!1,this.node=t}update(){}}function F2({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function CL({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function _L(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Mh(e){return e===void 0||e===1}function rm({scale:e,scaleX:t,scaleY:n}){return!Mh(e)||!Mh(t)||!Mh(n)}function Ss(e){return rm(e)||B2(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function B2(e){return Nx(e.x)||Nx(e.y)}function Nx(e){return e&&e!=="0%"}function Bu(e,t,n){const r=e-n,s=t*r;return n+s}function Px(e,t,n,r,s){return s!==void 0&&(e=Bu(e,s,r)),Bu(e,n,r)+t}function sm(e,t=0,n=1,r,s){e.min=Px(e.min,t,n,r,s),e.max=Px(e.max,t,n,r,s)}function W2(e,{x:t,y:n}){sm(e.x,t.translate,t.scale,t.originPoint),sm(e.y,n.translate,n.scale,n.originPoint)}const Rx=.999999999999,Ix=1.0000000000001;function EL(e,t,n,r=!1){const s=n.length;if(!s)return;t.x=t.y=1;let i,o;for(let l=0;l<s;l++){i=n[l],o=i.projectionDelta;const{visualElement:c}=i.options;c&&c.props.style&&c.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&zi(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,W2(e,o)),r&&Ss(i.latestValues)&&zi(e,i.latestValues))}t.x<Ix&&t.x>Rx&&(t.x=1),t.y<Ix&&t.y>Rx&&(t.y=1)}function Hi(e,t){e.min=e.min+t,e.max=e.max+t}function Ox(e,t,n,r,s=.5){const i=Ie(e.min,e.max,s);sm(e,t,n,i,r)}function zi(e,t){Ox(e.x,t.x,t.scaleX,t.scale,t.originX),Ox(e.y,t.y,t.scaleY,t.scale,t.originY)}function U2(e,t){return F2(_L(e.getBoundingClientRect(),t))}function AL(e,t,n){const r=U2(e,n),{scroll:s}=t;return s&&(Hi(r.x,s.offset.x),Hi(r.y,s.offset.y)),r}const NL={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},PL=zo.length;function RL(e,t,n){let r="",s=!0;for(let i=0;i<PL;i++){const o=zo[i],l=e[o];if(l===void 0)continue;let c=!0;if(typeof l=="number")c=l===(o.startsWith("scale")?1:0);else{const u=parseFloat(l);c=o.startsWith("scale")?u===1:u===0}if(!c||n){const u=A2(l,py[o]);if(!c){s=!1;const d=NL[o]||o;r+=`${d}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function wy(e,t,n){const{style:r,vars:s,transformOrigin:i}=e;let o=!1,l=!1;for(const c in t){const u=t[c];if(qo.has(c)){o=!0;continue}else if(t2(c)){s[c]=u;continue}else{const d=A2(u,py[c]);c.startsWith("origin")?(l=!0,i[c]=d):r[c]=d}}if(t.transform||(o||n?r.transform=RL(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:c="50%",originY:u="50%",originZ:d=0}=i;r.transformOrigin=`${c} ${u} ${d}`}}function V2(e,{style:t,vars:n},r,s){const i=e.style;let o;for(o in t)i[o]=t[o];s==null||s.applyProjectionStyles(i,r);for(o in n)i.setProperty(o,n[o])}function Dx(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ca={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(V.test(e))e=parseFloat(e);else return e;const n=Dx(e,t.target.x),r=Dx(e,t.target.y);return`${n}% ${r}%`}},IL={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=cs.parse(e);if(s.length>5)return r;const i=cs.createTransformer(e),o=typeof s[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;s[0+o]/=l,s[1+o]/=c;const u=Ie(l,c,.5);return typeof s[2+o]=="number"&&(s[2+o]/=u),typeof s[3+o]=="number"&&(s[3+o]/=u),i(s)}},im={borderRadius:{...ca,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ca,borderTopRightRadius:ca,borderBottomLeftRadius:ca,borderBottomRightRadius:ca,boxShadow:IL};function H2(e,{layout:t,layoutId:n}){return qo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!im[e]||e==="opacity")}function xy(e,t,n){var o;const r=e.style,s=t==null?void 0:t.style,i={};if(!r)return i;for(const l in r)(dt(r[l])||s&&dt(s[l])||H2(l,e)||((o=n==null?void 0:n.getValue(l))==null?void 0:o.liveStyle)!==void 0)&&(i[l]=r[l]);return i}function OL(e){return window.getComputedStyle(e)}class DL extends $2{constructor(){super(...arguments),this.type="html",this.renderInstance=V2}readValueFromInstance(t,n){var r;if(qo.has(n))return(r=this.projection)!=null&&r.isProjecting?zp(n):dM(t,n);{const s=OL(t),i=(t2(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return U2(t,n)}build(t,n,r){wy(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return xy(t,n,r)}}const ML={offset:"stroke-dashoffset",array:"stroke-dasharray"},LL={offset:"strokeDashoffset",array:"strokeDasharray"};function $L(e,t,n=1,r=0,s=!0){e.pathLength=1;const i=s?ML:LL;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}const FL=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function z2(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:i=1,pathOffset:o=0,...l},c,u,d){if(wy(e,l,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:f}=e;h.transform&&(f.transform=h.transform,delete h.transform),(f.transform||h.transformOrigin)&&(f.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),f.transform&&(f.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete h.transformBox);for(const p of FL)h[p]!==void 0&&(f[p]=h[p],delete h[p]);t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),r!==void 0&&(h.scale=r),s!==void 0&&$L(h,s,i,o,!1)}const q2=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"]),K2=e=>typeof e=="string"&&e.toLowerCase()==="svg";function BL(e,t,n,r){V2(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(q2.has(s)?s:fy(s),t.attrs[s])}function G2(e,t,n){const r=xy(e,t,n);for(const s in e)if(dt(e[s])||dt(t[s])){const i=zo.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[i]=e[s]}return r}class WL extends $2{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ge}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(qo.has(n)){const r=C2(n);return r&&r.default||0}return n=q2.has(n)?n:fy(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return G2(t,n,r)}build(t,n,r){z2(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){BL(t,n,r,s)}mount(t){this.isSVGTag=K2(t.tagName),super.mount(t)}}const UL=vy.length;function Y2(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Y2(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<UL;n++){const r=vy[n],s=e.props[r];(ul(s)||s===!1)&&(t[r]=s)}return t}function J2(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const VL=[...yy].reverse(),HL=yy.length;function zL(e){return t=>Promise.all(t.map(({animation:n,options:r})=>tL(e,n,r)))}function qL(e){let t=zL(e),n=Mx(),r=!0;const s=c=>(u,d)=>{var f;const h=ro(e,d,c==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(h){const{transition:p,transitionEnd:x,...m}=h;u={...u,...m,...x}}return u};function i(c){t=c(e)}function o(c){const{props:u}=e,d=Y2(e.parent)||{},h=[],f=new Set;let p={},x=1/0;for(let v=0;v<HL;v++){const g=VL[v],y=n[g],b=u[g]!==void 0?u[g]:d[g],k=ul(b),S=g===c?y.isActive:null;S===!1&&(x=v);let j=b===d[g]&&b!==u[g]&&k;if(j&&r&&e.manuallyAnimateOnMount&&(j=!1),y.protectedKeys={...p},!y.isActive&&S===null||!b&&!y.prevProp||jd(b)||typeof b=="boolean")continue;const C=KL(y.prevProp,b);let _=C||g===c&&y.isActive&&!j&&k||v>x&&k,A=!1;const P=Array.isArray(b)?b:[b];let F=P.reduce(s(g),{});S===!1&&(F={});const{prevResolvedValues:M={}}=y,z={...M,...F},L=B=>{_=!0,f.has(B)&&(A=!0,f.delete(B)),y.needsAnimating[B]=!0;const N=e.getValue(B);N&&(N.liveStyle=!1)};for(const B in z){const N=F[B],I=M[B];if(p.hasOwnProperty(B))continue;let $=!1;Qp(N)&&Qp(I)?$=!J2(N,I):$=N!==I,$?N!=null?L(B):f.add(B):N!==void 0&&f.has(B)?L(B):y.protectedKeys[B]=!0}y.prevProp=b,y.prevResolvedValues=F,y.isActive&&(p={...p,...F}),r&&e.blockInitialAnimation&&(_=!1);const ee=j&&C;_&&(!ee||A)&&h.push(...P.map(B=>{const N={type:g};if(typeof B=="string"&&r&&!ee&&e.manuallyAnimateOnMount&&e.parent){const{parent:I}=e,$=ro(I,B);if(I.enteringChildren&&$){const{delayChildren:X}=$.transition||{};N.delay=v2(I.enteringChildren,e,X)}}return{animation:B,options:N}}))}if(f.size){const v={};if(typeof u.initial!="boolean"){const g=ro(e,Array.isArray(u.initial)?u.initial[0]:u.initial);g&&g.transition&&(v.transition=g.transition)}f.forEach(g=>{const y=e.getBaseTarget(g),b=e.getValue(g);b&&(b.liveStyle=!0),v[g]=y??null}),h.push({animation:v})}let m=!!h.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(h):Promise.resolve()}function l(c,u){var h;if(n[c].isActive===u)return Promise.resolve();(h=e.variantChildren)==null||h.forEach(f=>{var p;return(p=f.animationState)==null?void 0:p.setActive(c,u)}),n[c].isActive=u;const d=o(c);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:l,setAnimateFunction:i,getState:()=>n,reset:()=>{n=Mx()}}}function KL(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!J2(t,e):!1}function vs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Mx(){return{animate:vs(!0),whileInView:vs(),whileHover:vs(),whileTap:vs(),whileDrag:vs(),whileFocus:vs(),exit:vs()}}function Lx(e,t){e.min=t.min,e.max=t.max}function sn(e,t){Lx(e.x,t.x),Lx(e.y,t.y)}function $x(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const Q2=1e-4,GL=1-Q2,YL=1+Q2,X2=.01,JL=0-X2,QL=0+X2;function vt(e){return e.max-e.min}function XL(e,t,n){return Math.abs(e-t)<=n}function Fx(e,t,n,r=.5){e.origin=r,e.originPoint=Ie(t.min,t.max,e.origin),e.scale=vt(n)/vt(t),e.translate=Ie(n.min,n.max,e.origin)-e.originPoint,(e.scale>=GL&&e.scale<=YL||isNaN(e.scale))&&(e.scale=1),(e.translate>=JL&&e.translate<=QL||isNaN(e.translate))&&(e.translate=0)}function Pa(e,t,n,r){Fx(e.x,t.x,n.x,r?r.originX:void 0),Fx(e.y,t.y,n.y,r?r.originY:void 0)}function Bx(e,t,n){e.min=n.min+t.min,e.max=e.min+vt(t)}function ZL(e,t,n){Bx(e.x,t.x,n.x),Bx(e.y,t.y,n.y)}function Wx(e,t,n){e.min=t.min-n.min,e.max=e.min+vt(t)}function Wu(e,t,n){Wx(e.x,t.x,n.x),Wx(e.y,t.y,n.y)}function Ux(e,t,n,r,s){return e-=t,e=Bu(e,1/n,r),s!==void 0&&(e=Bu(e,1/s,r)),e}function e3(e,t=0,n=1,r=.5,s,i=e,o=e){if(Mn.test(t)&&(t=parseFloat(t),t=Ie(o.min,o.max,t/100)-o.min),typeof t!="number")return;let l=Ie(i.min,i.max,r);e===i&&(l-=t),e.min=Ux(e.min,t,n,l,s),e.max=Ux(e.max,t,n,l,s)}function Vx(e,t,[n,r,s],i,o){e3(e,t[n],t[r],t[s],t.scale,i,o)}const t3=["x","scaleX","originX"],n3=["y","scaleY","originY"];function Hx(e,t,n,r){Vx(e.x,t,t3,n?n.x:void 0,r?r.x:void 0),Vx(e.y,t,n3,n?n.y:void 0,r?r.y:void 0)}function zx(e){return e.translate===0&&e.scale===1}function Z2(e){return zx(e.x)&&zx(e.y)}function qx(e,t){return e.min===t.min&&e.max===t.max}function r3(e,t){return qx(e.x,t.x)&&qx(e.y,t.y)}function Kx(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function eT(e,t){return Kx(e.x,t.x)&&Kx(e.y,t.y)}function Gx(e){return vt(e.x)/vt(e.y)}function Yx(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Bt(e){return[e("x"),e("y")]}function s3(e,t,n){let r="";const s=e.x.translate/t.x,i=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((s||i||o)&&(r=`translate3d(${s}px, ${i}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:h,rotateY:f,skewX:p,skewY:x}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),h&&(r+=`rotateX(${h}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),x&&(r+=`skewY(${x}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const tT=["TopLeft","TopRight","BottomLeft","BottomRight"],i3=tT.length,Jx=e=>typeof e=="string"?parseFloat(e):e,Qx=e=>typeof e=="number"||V.test(e);function o3(e,t,n,r,s,i){s?(e.opacity=Ie(0,n.opacity??1,a3(r)),e.opacityExit=Ie(t.opacity??1,0,l3(r))):i&&(e.opacity=Ie(t.opacity??1,n.opacity??1,r));for(let o=0;o<i3;o++){const l=`border${tT[o]}Radius`;let c=Xx(t,l),u=Xx(n,l);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||Qx(c)===Qx(u)?(e[l]=Math.max(Ie(Jx(c),Jx(u),r),0),(Mn.test(u)||Mn.test(c))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=Ie(t.rotate||0,n.rotate||0,r))}function Xx(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const a3=nT(0,.5,Yj),l3=nT(.5,.95,Yt);function nT(e,t,n){return r=>r<e?0:r>t?1:n(al(e,t,r))}function c3(e,t,n){const r=dt(e)?e:Po(e);return r.start(dy("",r,t,n)),r.animation}function dl(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const u3=(e,t)=>e.depth-t.depth;class d3{constructor(){this.children=[],this.isDirty=!1}add(t){Yg(this.children,t),this.isDirty=!0}remove(t){Jg(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(u3),this.isDirty=!1,this.children.forEach(t)}}function h3(e,t){const n=yt.now(),r=({timestamp:s})=>{const i=s-n;i>=t&&(ls(r),e(i-t))};return je.setup(r,!0),()=>ls(r)}function Qc(e){return dt(e)?e.get():e}class f3{constructor(){this.members=[]}add(t){Yg(this.members,t),t.scheduleRender()}remove(t){if(Jg(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(s=>t===s);if(n===0)return!1;let r;for(let s=n;s>=0;s--){const i=this.members[s];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender();const s=r.options.layoutDependency,i=t.options.layoutDependency;s!==void 0&&i!==void 0&&s===i||(t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0));const{crossfade:l}=t.options;l===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Xc={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Lh=["","X","Y","Z"],p3=1e3;let m3=0;function $h(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function rT(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=k2(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",je,!(s||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&rT(r)}function sT({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(o={},l=t==null?void 0:t()){this.id=m3++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(v3),this.nodes.forEach(k3),this.nodes.forEach(S3),this.nodes.forEach(w3)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new d3)}addEventListener(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Xg),this.eventHandlers.get(o).add(l)}notifyListeners(o,...l){const c=this.eventHandlers.get(o);c&&c.notify(...l)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=O2(o)&&!yL(o),this.instance=o;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||l)&&(this.isLayoutDirty=!0),e){let d,h=0;const f=()=>this.root.updateBlockedByResize=!1;je.read(()=>{h=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==h&&(h=p,this.root.updateBlockedByResize=!0,d&&d(),d=h3(f,250),Xc.hasAnimatedSinceResize&&(Xc.hasAnimatedSinceResize=!1,this.nodes.forEach(t0)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:h,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||u.getDefaultTransition()||E3,{onLayoutAnimationStart:m,onLayoutAnimationComplete:v}=u.getProps(),g=!this.targetLayout||!eT(this.targetLayout,p),y=!h&&f;if(this.options.layoutRoot||this.resumeFrom||y||h&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const b={...uy(x,"layout"),onPlay:m,onComplete:v};(u.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b),this.setAnimationOrigin(d,y)}else h||t0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ls(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(j3),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&rT(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const h=this.path[d];h.shouldResetTransform=!0,h.updateScroll("snapshot"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Zx);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(e0);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(b3),this.nodes.forEach(g3),this.nodes.forEach(y3)):this.nodes.forEach(e0),this.clearAllSnapshots();const l=yt.now();rt.delta=Fn(0,1e3/60,l-rt.timestamp),rt.timestamp=l,rt.isProcessing=!0,Ah.update.process(rt),Ah.preRender.process(rt),Ah.render.process(rt),rt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,my.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(x3),this.sharedNodes.forEach(T3)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,je.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){je.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!vt(this.snapshot.measuredBox.x)&&!vt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Ge(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(l=!1),l&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!s)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!Z2(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;o&&this.instance&&(l||Ss(this.latestValues)||d)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return o&&(c=this.removeTransform(c)),A3(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return Ge();const l=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(N3))){const{scroll:d}=this.root;d&&(Hi(l.x,d.offset.x),Hi(l.y,d.offset.y))}return l}removeElementScroll(o){var c;const l=Ge();if(sn(l,o),(c=this.scroll)!=null&&c.wasRoot)return l;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:h,options:f}=d;d!==this.root&&h&&f.layoutScroll&&(h.wasRoot&&sn(l,o),Hi(l.x,h.offset.x),Hi(l.y,h.offset.y))}return l}applyTransform(o,l=!1){const c=Ge();sn(c,o);for(let u=0;u<this.path.length;u++){const d=this.path[u];!l&&d.options.layoutScroll&&d.scroll&&d!==d.root&&zi(c,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),Ss(d.latestValues)&&zi(c,d.latestValues)}return Ss(this.latestValues)&&zi(c,this.latestValues),c}removeTransform(o){const l=Ge();sn(l,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!u.instance||!Ss(u.latestValues))continue;rm(u.latestValues)&&u.updateSnapshot();const d=Ge(),h=u.measurePageBox();sn(d,h),Hx(l,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,d)}return Ss(this.latestValues)&&Hx(l,this.latestValues),l}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==rt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(o||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:h}=this.options;if(!this.layout||!(d||h))return;this.resolvedRelativeTargetAt=rt.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ge(),this.targetWithTransforms=Ge()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ZL(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):sn(this.target,this.layout.layoutBox),W2(this.target,this.targetDelta)):sn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||rm(this.parent.latestValues)||B2(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,l,c){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ge(),this.relativeTargetOrigin=Ge(),Wu(this.relativeTargetOrigin,l,c),sn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var x;const o=this.getLead(),l=!!this.resumingFrom||this!==o;let c=!0;if((this.isProjectionDirty||(x=this.parent)!=null&&x.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===rt.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;sn(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,f=this.treeScale.y;EL(this.layoutCorrected,this.treeScale,this.path,l),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Ge());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():($x(this.prevProjectionDelta.x,this.projectionDelta.x),$x(this.prevProjectionDelta.y,this.projectionDelta.y)),Pa(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==f||!Yx(this.projectionDelta.x,this.prevProjectionDelta.x)||!Yx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var l;if((l=this.options.visualElement)==null||l.scheduleRender(),o){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Vi(),this.projectionDelta=Vi(),this.projectionDeltaWithTransform=Vi()}setAnimationOrigin(o,l=!1){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},h=Vi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const f=Ge(),p=c?c.source:void 0,x=this.layout?this.layout.source:void 0,m=p!==x,v=this.getStack(),g=!v||v.members.length<=1,y=!!(m&&!g&&this.options.crossfade===!0&&!this.path.some(_3));this.animationProgress=0;let b;this.mixTargetDelta=k=>{const S=k/1e3;n0(h.x,o.x,S),n0(h.y,o.y,S),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Wu(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),C3(this.relativeTarget,this.relativeTargetOrigin,f,S),b&&r3(this.relativeTarget,b)&&(this.isProjectionDirty=!1),b||(b=Ge()),sn(b,this.relativeTarget)),m&&(this.animationValues=d,o3(d,u,this.latestValues,S,y,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var l,c,u;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(u=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||u.stop(),this.pendingAnimation&&(ls(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=je.update(()=>{Xc.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Po(0)),this.currentAnimation=c3(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),o.onUpdate&&o.onUpdate(d)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(p3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:c,layout:u,latestValues:d}=o;if(!(!l||!c||!u)){if(this!==o&&this.layout&&u&&iT(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||Ge();const h=vt(this.layout.layoutBox.x);
vendor: 3,924 bytes, line 258
258c.x.min=o.target.x.min,c.x.max=c.x.min+h;const f=vt(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+f}sn(l,c),zi(l,d),Pa(this.projectionDeltaWithTransform,this.layoutCorrected,l,d)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new f3),this.sharedNodes.get(o).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var l;const{layoutId:o}=this.options;return o?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:o}=this.options;return o?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:l,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const u={};c.z&&$h("z",o,u,this.animationValues);for(let d=0;d<Lh.length;d++)$h(`rotate${Lh[d]}`,o,u,this.animationValues),$h(`skew${Lh[d]}`,o,u,this.animationValues);o.render();for(const d in u)o.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);o.scheduleRender()}applyProjectionStyles(o,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Qc(l==null?void 0:l.pointerEvents)||"",o.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=Qc(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!Ss(this.latestValues)&&(o.transform=c?c({},""):"none",this.hasProjected=!1);return}o.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let h=s3(this.projectionDeltaWithTransform,this.treeScale,d);c&&(h=c(d,h)),o.transform=h;const{x:f,y:p}=this.projectionDelta;o.transformOrigin=`${f.origin*100}% ${p.origin*100}% 0`,u.animationValues?o.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:o.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const x in im){if(d[x]===void 0)continue;const{correct:m,applyTo:v,isCSSVariable:g}=im[x],y=h==="none"?d[x]:m(d[x],u);if(v){const b=v.length;for(let k=0;k<b;k++)o[v[k]]=y}else g?this.options.visualElement.renderState.vars[x]=y:o[x]=y}this.options.layoutId&&(o.pointerEvents=u===this?Qc(l==null?void 0:l.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var l;return(l=o.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(Zx),this.root.sharedNodes.clear()}}}function g3(e){e.updateLayout()}function y3(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:s}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;i==="size"?Bt(h=>{const f=o?t.measuredBox[h]:t.layoutBox[h],p=vt(f);f.min=r[h].min,f.max=f.min+p}):iT(i,t.layoutBox,r)&&Bt(h=>{const f=o?t.measuredBox[h]:t.layoutBox[h],p=vt(r[h]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[h].max=e.relativeTarget[h].min+p)});const l=Vi();Pa(l,r,t.layoutBox);const c=Vi();
vendor: 35,325 bytes, lines 258-266
258o?Pa(c,e.applyTransform(s,!0),t.measuredBox):Pa(c,r,t.layoutBox);const u=!Z2(l);let d=!1;if(!e.resumeFrom){const h=e.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:f,layout:p}=h;if(f&&p){const x=Ge();Wu(x,t.layoutBox,f.layoutBox);const m=Ge();Wu(m,r,p.layoutBox),eT(x,m)||(d=!0),h.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=x,e.relativeParent=h)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:c,layoutDelta:l,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function v3(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function w3(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function x3(e){e.clearSnapshot()}function Zx(e){e.clearMeasurements()}function e0(e){e.isLayoutDirty=!1}function b3(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function t0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function k3(e){e.resolveTargetDelta()}function S3(e){e.calcProjection()}function j3(e){e.resetSkewAndRotation()}function T3(e){e.removeLeadSnapshot()}function n0(e,t,n){e.translate=Ie(t.translate,0,n),e.scale=Ie(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function r0(e,t,n,r){e.min=Ie(t.min,n.min,r),e.max=Ie(t.max,n.max,r)}function C3(e,t,n,r){r0(e.x,t.x,n.x,r),r0(e.y,t.y,n.y,r)}function _3(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const E3={duration:.45,ease:[.4,0,.1,1]},s0=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),i0=s0("applewebkit/")&&!s0("chrome/")?Math.round:Yt;function o0(e){e.min=i0(e.min),e.max=i0(e.max)}function A3(e){o0(e.x),o0(e.y)}function iT(e,t,n){return e==="position"||e==="preserve-aspect"&&!XL(Gx(t),Gx(n),.2)}function N3(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const P3=sT({attachResizeListener:(e,t)=>dl(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Fh={current:void 0},oT=sT({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Fh.current){const e=new P3({});e.mount(window),e.setOptions({layoutScroll:!0}),Fh.current=e}return Fh.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),by=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function a0(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function R3(...e){return t=>{let n=!1;const r=e.map(s=>{const i=a0(s,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let s=0;s<r.length;s++){const i=r[s];typeof i=="function"?i():a0(e[s],null)}}}}function I3(...e){return w.useCallback(R3(...e),e)}class O3 extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,s=tm(r)&&r.offsetWidth||0,i=tm(r)&&r.offsetHeight||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=s-o.width-o.left,o.bottom=i-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function D3({children:e,isPresent:t,anchorX:n,anchorY:r,root:s}){var h;const i=w.useId(),o=w.useRef(null),l=w.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:c}=w.useContext(by),u=((h=e.props)==null?void 0:h.ref)??(e==null?void 0:e.ref),d=I3(o,u);return w.useInsertionEffect(()=>{const{width:f,height:p,top:x,left:m,right:v,bottom:g}=l.current;if(t||!o.current||!f||!p)return;const y=n==="left"?`left: ${m}`:`right: ${v}`,b=r==="bottom"?`bottom: ${g}`:`top: ${x}`;o.current.dataset.motionPopId=i;const k=document.createElement("style");c&&(k.nonce=c);const S=s??document.head;return S.appendChild(k),k.sheet&&k.sheet.insertRule(`
259          [data-motion-pop-id="${i}"] {
260            position: absolute !important;
261            width: ${f}px !important;
262            height: ${p}px !important;
263            ${y}px !important;
264            ${b}px !important;
265          }
266        `),()=>{S.contains(k)&&S.removeChild(k)}},[t]),a.jsx(O3,{isPresent:t,childRef:o,sizeRef:l,children:w.cloneElement(e,{ref:d})})}const M3=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:s,presenceAffectsLayout:i,mode:o,anchorX:l,anchorY:c,root:u})=>{const d=Gg(L3),h=w.useId();let f=!0,p=w.useMemo(()=>(f=!1,{id:h,initial:t,isPresent:n,custom:s,onExitComplete:x=>{d.set(x,!0);for(const m of d.values())if(!m)return;r&&r()},register:x=>(d.set(x,!1),()=>d.delete(x))}),[n,d,r]);return i&&f&&(p={...p}),w.useMemo(()=>{d.forEach((x,m)=>d.set(m,!1))},[n]),w.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),o==="popLayout"&&(e=a.jsx(D3,{isPresent:n,anchorX:l,anchorY:c,root:u,children:e})),a.jsx(kd.Provider,{value:p,children:e})};function L3(){return new Map}function aT(e=!0){const t=w.useContext(kd);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,i=w.useId();w.useEffect(()=>{if(e)return s(i)},[e]);const o=w.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,o]:[!0]}const yc=e=>e.key||"";function l0(e){const t=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const Zc=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:s=!0,mode:i="sync",propagate:o=!1,anchorX:l="left",anchorY:c="top",root:u})=>{const[d,h]=aT(o),f=w.useMemo(()=>l0(e),[e]),p=o&&!d?[]:f.map(yc),x=w.useRef(!0),m=w.useRef(f),v=Gg(()=>new Map),g=w.useRef(new Set),[y,b]=w.useState(f),[k,S]=w.useState(f);$j(()=>{x.current=!1,m.current=f;for(let _=0;_<k.length;_++){const A=yc(k[_]);p.includes(A)?(v.delete(A),g.current.delete(A)):v.get(A)!==!0&&v.set(A,!1)}},[k,p.length,p.join("-")]);const j=[];if(f!==y){let _=[...f];for(let A=0;A<k.length;A++){const P=k[A],F=yc(P);p.includes(F)||(_.splice(A,0,P),j.push(P))}return i==="wait"&&j.length&&(_=j),S(l0(_)),b(f),null}const{forceRender:C}=w.useContext(Kg);return a.jsx(a.Fragment,{children:k.map(_=>{const A=yc(_),P=o&&!d?!1:f===k||p.includes(A),F=()=>{if(g.current.has(A))return;if(g.current.add(A),v.has(A))v.set(A,!0);else return;let M=!0;v.forEach(z=>{z||(M=!1)}),M&&(C==null||C(),S(m.current),o&&(h==null||h()),r&&r())};return a.jsx(M3,{isPresent:P,initial:!x.current||n?void 0:!1,custom:t,presenceAffectsLayout:s,mode:i,root:u,onExitComplete:P?void 0:F,anchorX:l,anchorY:c,children:_},A)})})},lT=w.createContext({strict:!1}),c0={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let u0=!1;function $3(){if(u0)return;const e={};for(const t in c0)e[t]={isEnabled:n=>c0[t].some(r=>!!n[r])};L2(e),u0=!0}function cT(){return $3(),jL()}function F3(e){const t=cT();for(const n in e)t[n]={...t[n],...e[n]};L2(t)}const B3=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 Uu(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||B3.has(e)}let uT=e=>!Uu(e);function W3(e){typeof e=="function"&&(uT=t=>t.startsWith("on")?!Uu(t):e(t))}try{W3(require("@emotion/is-prop-valid").default)}catch{}function U3(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||(uT(s)||n===!0&&Uu(s)||!t&&!Uu(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const Cd=w.createContext({});function V3(e,t){if(Td(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ul(n)?n:void 0,animate:ul(r)?r:void 0}}return e.inherit!==!1?t:{}}function H3(e){const{initial:t,animate:n}=V3(e,w.useContext(Cd));return w.useMemo(()=>({initial:t,animate:n}),[d0(t),d0(n)])}function d0(e){return Array.isArray(e)?e.join(" "):e}const ky=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function dT(e,t,n){for(const r in t)!dt(t[r])&&!H2(r,n)&&(e[r]=t[r])}function z3({transformTemplate:e},t){return w.useMemo(()=>{const n=ky();return wy(n,t,e),Object.assign({},n.vars,n.style)},[t])}function q3(e,t){const n=e.style||{},r={};return dT(r,n,e),Object.assign(r,z3(e,t)),r}function K3(e,t){const n={},r=q3(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.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=r,n}const hT=()=>({...ky(),attrs:{}});function G3(e,t,n,r){const s=w.useMemo(()=>{const i=hT();return z2(i,t,K2(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};dT(i,e.style,e),s.style={...i,...s.style}}return s}const Y3=["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 Sy(e){return typeof e!="string"||e.includes("-")?!1:!!(Y3.indexOf(e)>-1||/[A-Z]/u.test(e))}function J3(e,t,n,{latestValues:r},s,i=!1,o){const c=(o??Sy(e)?G3:K3)(t,r,s,e),u=U3(t,typeof e=="string",i),d=e!==w.Fragment?{...u,...c,ref:n}:{},{children:h}=t,f=w.useMemo(()=>dt(h)?h.get():h,[h]);return w.createElement(e,{...d,children:f})}function Q3({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:X3(n,r,s,e),renderState:t()}}function X3(e,t,n,r){const s={},i=r(e,{});for(const f in i)s[f]=Qc(i[f]);let{initial:o,animate:l}=e;const c=Td(e),u=M2(e);t&&u&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),l===void 0&&(l=t.animate));let d=n?n.initial===!1:!1;d=d||o===!1;const h=d?l:o;if(h&&typeof h!="boolean"&&!jd(h)){const f=Array.isArray(h)?h:[h];for(let p=0;p<f.length;p++){const x=hy(e,f[p]);if(x){const{transitionEnd:m,transition:v,...g}=x;for(const y in g){let b=g[y];if(Array.isArray(b)){const k=d?b.length-1:0;b=b[k]}b!==null&&(s[y]=b)}for(const y in m)s[y]=m[y]}}}return s}const fT=e=>(t,n)=>{const r=w.useContext(Cd),s=w.useContext(kd),i=()=>Q3(e,t,r,s);return n?i():Gg(i)},Z3=fT({scrapeMotionValuesFromProps:xy,createRenderState:ky}),e$=fT({scrapeMotionValuesFromProps:G2,createRenderState:hT}),t$=Symbol.for("motionComponentSymbol");function n$(e,t,n){const r=w.useRef(n);w.useInsertionEffect(()=>{r.current=n});const s=w.useRef(null);return w.useCallback(i=>{var l;i&&((l=e.onMount)==null||l.call(e,i)),t&&(i?t.mount(i):t.unmount());const o=r.current;if(typeof o=="function")if(i){const c=o(i);typeof c=="function"&&(s.current=c)}else s.current?(s.current(),s.current=null):o(i);else o&&(o.current=i)},[t])}const pT=w.createContext({});function ya(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function r$(e,t,n,r,s,i){var g,y;const{visualElement:o}=w.useContext(Cd),l=w.useContext(lT),c=w.useContext(kd),u=w.useContext(by).reducedMotion,d=w.useRef(null),h=w.useRef(!1);r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,isSVG:i}),h.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));const f=d.current,p=w.useContext(pT);f&&!f.projection&&s&&(f.type==="html"||f.type==="svg")&&s$(d.current,n,s,p);const x=w.useRef(!1);w.useInsertionEffect(()=>{f&&x.current&&f.update(n,c)});const m=n[b2],v=w.useRef(!!m&&!((g=window.MotionHandoffIsComplete)!=null&&g.call(window,m))&&((y=window.MotionHasOptimisedAnimation)==null?void 0:y.call(window,m)));return $j(()=>{h.current=!0,f&&(x.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),v.current&&f.animationState&&f.animationState.animateChanges())}),w.useEffect(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var b;(b=window.MotionHandoffMarkAsComplete)==null||b.call(window,m)}),v.current=!1),f.enteringChildren=void 0)}),f}function s$(e,t,n,r){const{layoutId:s,layout:i,drag:o,dragConstraints:l,layoutScroll:c,layoutRoot:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:mT(e.parent)),e.projection.setOptions({layoutId:s,layout:i,alwaysMeasureLayout:!!o||l&&ya(l),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:u})}function mT(e){if(e)return e.options.allowProjection!==!1?e.projection:mT(e.parent)}function Bh(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&F3(r);const i=n?n==="svg":Sy(e),o=i?e$:Z3;function l(u,d){let h;const f={...w.useContext(by),...u,layoutId:i$(u)},{isStatic:p}=f,x=H3(u),m=o(u,p);if(!p&&Lj){o$();const v=a$(f);h=v.MeasureLayout,x.visualElement=r$(e,m,f,s,v.ProjectionNode,i)}return a.jsxs(Cd.Provider,{value:x,children:[h&&x.visualElement?a.jsx(h,{visualElement:x.visualElement,...f}):null,J3(e,u,n$(m,x.visualElement,d),m,p,t,i)]})}l.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=w.forwardRef(l);return c[t$]=e,c}function i$({layoutId:e}){const t=w.useContext(Kg).id;return t&&e!==void 0?t+"-"+e:e}function o$(e,t){w.useContext(lT).strict}function a$(e){const t=cT(),{drag:n,layout:r}=t;if(!n&&!r)return{};const s={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}function l$(e,t){if(typeof Proxy>"u")return Bh;const n=new Map,r=(i,o)=>Bh(i,o,e,t),s=(i,o)=>r(i,o);return new Proxy(s,{get:(i,o)=>o==="create"?r:(n.has(o)||n.set(o,Bh(o,void 0,e,t)),n.get(o))})}const c$=(e,t)=>t.isSVG??Sy(e)?new WL(t):new DL(t,{allowProjection:e!==w.Fragment});class u$ extends ps{constructor(t){super(t),t.animationState||(t.animationState=qL(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();jd(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.call(this)}}let d$=0;class h$ extends ps{constructor(){super(...arguments),this.id=d$++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const f$={animation:{Feature:u$},exit:{Feature:h$}};function Ll(e){return{point:{x:e.pageX,y:e.pageY}}}const p$=e=>t=>gy(t)&&e(t,Ll(t));function Ra(e,t,n,r){return dl(e,t,p$(n),r)}const gT=({current:e})=>e?e.ownerDocument.defaultView:null,h0=(e,t)=>Math.abs(e-t);function m$(e,t){const n=h0(e.x,t.x),r=h0(e.y,t.y);return Math.sqrt(n**2+r**2)}const f0=new Set(["auto","scroll"]);class yT{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:l}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=Uh(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,m=m$(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!x&&!m)return;const{point:v}=p,{timestamp:g}=rt;this.history.push({...v,timestamp:g});const{onStart:y,onMove:b}=this.handlers;x||(y&&y(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,p)},this.handlePointerMove=(p,x)=>{this.lastMoveEvent=p,this.lastMoveEventInfo=Wh(x,this.transformPagePoint),je.update(this.updatePoint,!0)},this.handlePointerUp=(p,x)=>{this.end();const{onEnd:m,onSessionEnd:v,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=Uh(p.type==="pointercancel"?this.lastMoveEventInfo:Wh(x,this.transformPagePoint),this.history);this.startEvent&&m&&m(p,y),v&&v(p,y)},!gy(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=s||window;const c=Ll(t),u=Wh(c,this.transformPagePoint),{point:d}=u,{timestamp:h}=rt;this.history=[{...d,timestamp:h}];const{onSessionStart:f}=n;f&&f(t,Uh(u,this.history)),this.removeListeners=Ol(Ra(this.contextWindow,"pointermove",this.handlePointerMove),Ra(this.contextWindow,"pointerup",this.handlePointerUp),Ra(this.contextWindow,"pointercancel",this.handlePointerUp)),l&&this.startScrollTracking(l)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(f0.has(r.overflowX)||f0.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,s=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:s.x-n.x,y:s.y-n.y};i.x===0&&i.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,s),je.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ls(this.updatePoint)}}function Wh(e,t){return t?{point:t(e.point)}:e}function p0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Uh({point:e},t){return{point:e,delta:p0(e,vT(t)),offset:p0(e,g$(t)),velocity:y$(t,.1)}}function g$(e){return e[0]}function vT(e){return e[e.length-1]}function y$(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=vT(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>Dn(t)));)n--;if(!r)return{x:0,y:0};const i=Kt(s.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const o={x:(s.x-r.x)/i,y:(s.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function v$(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Ie(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Ie(n,e,r.max):Math.min(e,n)),e}function m0(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 w$(e,{top:t,left:n,bottom:r,right:s}){return{x:m0(e.x,n,s),y:m0(e.y,t,r)}}function g0(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function x$(e,t){return{x:g0(e.x,t.x),y:g0(e.y,t.y)}}function b$(e,t){let n=.5;const r=vt(e),s=vt(t);return s>r?n=al(t.min,t.max-r,e.min):r>s&&(n=al(e.min,e.max-s,t.min)),Fn(0,1,n)}function k$(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 om=.35;function S$(e=om){return e===!1?e=0:e===!0&&(e=om),{x:y0(e,"left","right"),y:y0(e,"top","bottom")}}function y0(e,t,n){return{min:v0(e,t),max:v0(e,n)}}function v0(e,t){return typeof e=="number"?e:e[t]||0}const j$=new WeakMap;class T${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=Ge(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=h=>{n?(this.stopAnimation(),this.snapToCursor(Ll(h).point)):this.pauseAnimation()},o=(h,f)=>{this.stopAnimation();const{drag:p,dragPropagation:x,onDragStart:m}=this.getProps();if(p&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=hL(p),!this.openDragLock))return;this.latestPointerEvent=h,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Bt(g=>{let y=this.getAxisMotionValue(g).get()||0;if(Mn.test(y)){const{projection:b}=this.visualElement;if(b&&b.layout){const k=b.layout.layoutBox[g];k&&(y=vt(k)*(parseFloat(y)/100))}}this.originPoint[g]=y}),m&&je.postRender(()=>m(h,f)),Xp(this.visualElement,"transform");const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},l=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f;const{dragPropagation:p,dragDirectionLock:x,onDirectionLock:m,onDrag:v}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:g}=f;if(x&&this.currentDirection===null){this.currentDirection=C$(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",f.point,g),this.updateAxis("y",f.point,g),this.visualElement.render(),v&&v(h,f)},c=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f,this.stop(h,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>Bt(h=>{var f;return this.getAnimationState(h)==="paused"&&((f=this.getAxisMotionValue(h).animation)==null?void 0:f.play())}),{dragSnapToOrigin:d}=this.getProps();this.panSession=new yT(t,{onSessionStart:i,onStart:o,onMove:l,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:gT(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!s||!r)return;const{velocity:o}=s;this.startAnimation(o);const{onDragEnd:l}=this.getProps();l&&je.postRender(()=>l(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!vc(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=v$(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var i;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)==null?void 0:i.layout,s=this.constraints;t&&ya(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=w$(r.layoutBox,t):this.constraints=!1,this.elastic=S$(n),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Bt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=k$(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ya(t))return!1;const r=t.current;No(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const i=AL(r,s.root,this.visualElement.getTransformPagePoint());let o=x$(s.layout.layoutBox,i);if(n){const l=n(CL(o));this.hasMutatedConstraints=!!l,l&&(o=F2(l))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},u=Bt(d=>{if(!vc(d,n,this.currentDirection))return;let h=c&&c[d]||{};o&&(h={min:0,max:0});const f=s?200:1e6,p=s?40:1e7,x={type:"inertia",velocity:r?t[d]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...i,...h};return this.startAxisValueAnimation(d,x)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Xp(this.visualElement,t),r.start(dy(t,r,0,n,this.visualElement,!1))}stopAnimation(){Bt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Bt(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Bt(n=>{const{drag:r}=this.getProps();if(!vc(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(n);if(s&&s.layout){const{min:o,max:l}=s.layout.layoutBox[n],c=i.get()||0;i.set(t[n]-Ie(o,l,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ya(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};Bt(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const c=l.get();s[o]=b$({min:c,max:c},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Bt(o=>{if(!vc(o,t,null))return;const l=this.getAxisMotionValue(o),{min:c,max:u}=this.constraints[o];l.set(Ie(c,u,s[o]))})}addListeners(){if(!this.visualElement.current)return;j$.set(this.visualElement,this);const t=this.visualElement.current,n=Ra(t,"pointerdown",c=>{const{drag:u,dragListener:d=!0}=this.getProps(),h=c.target,f=h!==t&&I2(h);u&&d&&!f&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();ya(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,i=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),je.read(r);const o=dl(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(Bt(d=>{const h=this.getAxisMotionValue(d);h&&(this.originPoint[d]+=c[d].translate,h.set(h.get()+c[d].translate))}),this.visualElement.render())});return()=>{o(),n(),i(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:i=!1,dragElastic:o=om,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:i,dragElastic:o,dragMomentum:l}}}function vc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function C$(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class _$ extends ps{constructor(t){super(t),this.removeGroupControls=Yt,this.removeListeners=Yt,this.controls=new T$(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Yt}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const w0=e=>(t,n)=>{e&&je.postRender(()=>e(t,n))};class E$ extends ps{constructor(){super(...arguments),this.removePointerDownListener=Yt}onPointerDown(t){this.session=new yT(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:gT(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:w0(t),onStart:w0(n),onMove:r,onEnd:(i,o)=>{delete this.session,s&&je.postRender(()=>s(i,o))}}}mount(){this.removePointerDownListener=Ra(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Vh=!1;class A$ extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&s&&r.register(i),Vh&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Xc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),Vh=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==i?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||je.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),my.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;Vh=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function wT(e){const[t,n]=aT(),r=w.useContext(Kg);return a.jsx(A$,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(pT),isPresent:t,safeToRemove:n})}const N$={pan:{Feature:E$},drag:{Feature:_$,ProjectionNode:oT,MeasureLayout:wT}};function x0(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,i=r[s];i&&je.postRender(()=>i(t,Ll(t)))}class P$ extends ps{mount(){const{current:t}=this.node;t&&(this.unmount=fL(t,(n,r)=>(x0(this.node,r,"Start"),s=>x0(this.node,s,"End"))))}unmount(){}}class R$ extends ps{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=Ol(dl(this.node.current,"focus",()=>this.onFocus()),dl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function b0(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),i=r[s];i&&je.postRender(()=>i(t,Ll(t)))}class I$ extends ps{mount(){const{current:t}=this.node;t&&(this.unmount=gL(t,(n,r)=>(b0(this.node,r,"Start"),(s,{success:i})=>b0(this.node,s,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const am=new WeakMap,Hh=new WeakMap,O$=e=>{const t=am.get(e.target);t&&t(e)},D$=e=>{e.forEach(O$)};function M$({root:e,...t}){const n=e||document;Hh.has(n)||Hh.set(n,{});const r=Hh.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(D$,{root:e,...t})),r[s]}function L$(e,t,n){const r=M$(t);return am.set(e,n),r.observe(e),()=>{am.delete(e),r.unobserve(e)}}const $$={some:0,all:1};class F$ extends ps{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:i}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:$$[s]},l=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:d,onViewportLeave:h}=this.node.getProps(),f=u?d:h;f&&f(c)};return L$(this.node.current,o,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(B$(t,n))&&this.startObserver()}unmount(){}}function B$({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const W$={inView:{Feature:F$},tap:{Feature:I$},focus:{Feature:R$},hover:{Feature:P$}},U$={layout:{ProjectionNode:oT,MeasureLayout:wT}},V$={...f$,...W$,...N$,...U$},Be=l$(V$,c$),H$={some:0,all:1};function z$(e,t,{root:n,margin:r,amount:s="some"}={}){const i=E2(e),o=new WeakMap,l=u=>{u.forEach(d=>{const h=o.get(d.target);if(d.isIntersecting!==!!h)if(d.isIntersecting){const f=t(d.target,d);typeof f=="function"?o.set(d.target,f):c.unobserve(d.target)}else typeof h=="function"&&(h(d),o.delete(d.target))})},c=new IntersectionObserver(l,{root:n,rootMargin:r,threshold:typeof s=="number"?s:H$[s]});return i.forEach(u=>c.observe(u)),()=>c.disconnect()}function q$(e,{root:t,margin:n,amount:r,once:s=!1,initial:i=!1}={}){const[o,l]=w.useState(i);return w.useEffect(()=>{if(!e.current||s&&o)return;const c=()=>(l(!0),s?void 0:()=>l(!1)),u={root:t&&t.current||void 0,margin:n,amount:r};return z$(e.current,c,u)},[t,e,n,s,r]),o}const K$="/assets/womack-logo-T6sAvHgd.png",k0=[{name:"Austin",slug:"austin"},{name:"Round Rock",slug:"round-rock"},{name:"Cedar Park",slug:"cedar-park"},{name:"Dripping Springs",slug:"dripping-springs"},{name:"Buda",slug:"buda"},{name:"Kyle",slug:"kyle"},{name:"Lakeway",slug:"lakeway"},{name:"Manor",slug:"manor"},{name:"Downtown",slug:"downtown"}],G$=()=>{const[e,t]=w.useState(!1),[n,r]=w.useState(!1),[s,i]=w.useState(!1),o=ur(),l=[{name:"Search Listings",href:"/idx"},{name:"Buying",href:"/buying"},{name:"Selling",href:"/selling"}],c=[{name:"Financing",href:"/financing"},{name:"Who We Are",href:"/who-we-are"},{name:"Vendors",href:"/preferred-vendors"}],u=h=>o.pathname===h,d=h=>`/neighborhoods/${h}`;return a.jsxs("header",{className:"fixed top-0 left-0 right-0 z-50 bg-background/90 backdrop-blur-md border-b border-foreground
266/5",children:[a.jsx("nav",{className:"container-luxury",children:a.jsxs("div",{className:"flex items-center justify-between h-20",children:[a.jsx(G,{to:"/",className:"relative z-50 shrink-0",children:a.jsx("img",{src:K$,alt:"Womack Real Estate",style:{filter:"brightness(0)"},className:"h-[2.8125rem] md:h-[3.125rem] w-auto"})}),a.jsxs("div",{className:"hidden lg:flex items-center gap-5 xl:gap-7 whitespace-nowrap",children:[l.map(h=>a.jsx(G,{to:h.href,className:`nav-link ${u(h.href)?"text-foreground":"text-foreground/70 hover:text-foreground"}`,children:h.name},h.name)),a.jsxs("div",{className:"relative",onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:[a.jsxs("button",{className:"nav-link flex items-center gap-1 text-foreground/70 hover:text-foreground py-6",children:["Our Areas",a.jsx(dp,{size:12,className:`transition-transform ${n?"rotate-180":""}`})]}),a.jsx(Zc,{children:n&&a.jsx(Be.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},exit:{opacity:0,y:4},transition:{duration:.18},className:"absolute top-full left-1/2 -translate-x-1/2 w-56 bg-background border border-foreground
266/10 shadow-2xl py-3",children:k0.map(h=>a.jsx(G,{to:d(h.slug),className:"block px-5 py-2.5 text-[11px] uppercase tracking-[0.2em] font-bold text-foreground/75 hover:text-foreground hover:bg-secondary transition-colors font-display",children:h.name},h.name))})})]}),c.map(h=>a.jsx(G,{to:h.href,className:`nav-link ${u(h.href)?"text-foreground":"text-foreground/70 hover:text-foreground"}`,children:h.name},h.name)),a.jsx(G,{to:"/connect",className:"ml-2 inline-flex items-center bg-foreground text-background px-5 py-3 text-[10px] uppercase font-bold tracking-[0.25em] hover:bg-charcoal transition-colors font-display",children:"Connect"})]}),a.jsx("button",{onClick:()=>t(!e),className:"lg:hidden relative z-50 p-2","aria-label":"Toggle menu",children:e?a.jsx(Tg,{size:22,className:"text-foreground"}):a.jsx(KP,{size:22,className:"text-foreground"})})]})}),a.jsx(Zc,{children:e&&a.jsx(Be.div,{initial:{opacity:0,y:-12},animate:{opacity:1,y:0},exit:{opacity:0,y:-12},transition:{duration:.25,ease:[.5,0,0,1]},className:"fixed inset-0 top-20 bg-background z-40 lg:hidden overflow-y-auto",children:a.jsx("div",{className:"container-luxury py-10",children:a.jsxs("div",{className:"flex flex-col gap-6",children:[l.map((h,f)=>a.jsx(Be.div,{initial:{opacity:0,x:-12},animate:{opacity:1,x:0},transition:{delay:f*.04},children:a.jsx(G,{to:h.href,onClick:()=>t(!1),className:"text-3xl font-display font-extrabold tracking-tighter text-foreground",children:h.name})},h.name)),a.jsxs(Be.div,{initial:{opacity:0,x:-12},animate:{opacity:1,x:0},transition:{delay:l.length*.04},children:[a.jsxs("button",{onClick:()=>i(!s),className:"text-3xl font-display font-extrabold tracking-tighter text-foreground flex items-center gap-2",children:["Our Areas",a.jsx(dp,{size:20,className:`transition-transform ${s?"rotate-180":""}`})]}),a.jsx(Zc,{children:s&&a.jsx(Be.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden ml-1 mt-4",children:a.jsx("div",{className:"flex flex-col gap-3 border-l border-foreground
266/15 pl-4",children:k0.map(h=>a.jsx(G,{to:d(h.slug),onClick:()=>t(!1),className:"text-sm font-display font-bold uppercase tracking-[0.2em] text-foreground/70 hover:text-foreground transition-colors",children:h.name},h.name))})})})]}),c.map((h,f)=>a.jsx(Be.div,{initial:{opacity:0,x:-12},animate:{opacity:1,x:0},transition:{delay:(l.length+1+f)*.04},children:a.jsx(G,{to:h.href,onClick:()=>t(!1),className:"text-3xl font-display font-extrabold tracking-tighter text-foreground",children:h.name})},h.name)),a.jsx(Be.div,{initial:{opacity:0,x:-12},animate:{opacity:1,x:0},transition:{delay:(l.length+c.length+2)*.04},className:"pt-4",children:a.jsx(G,{to:"/connect",onClick:()=>t(!1),className:"btn-luxury",children:"Connect"})})]})})})})]})},Y$="/assets/womack-logo-T6sAvHgd.png";var Nn=function(){return Nn=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Nn.apply(this,arguments)};function Ko(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function J$(e,t,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function l(d){try{u(r.next(d))}catch(h){o(h)}}function c(d){try{u(r.throw(d))}catch(h){o(h)}}function u(d){d.done?i(d.value):s(d.value).then(l,c)}u((r=r.apply(e,t||[])).next())})}function Q$(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,i;r<s;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}const X$=e=>e?(...t)=>e(...t):(...t)=>fetch(...t);class jy extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}}class Z$ extends jy{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class S0 extends jy{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class j0 extends jy{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var lm;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(lm||(lm={}));class e6{constructor(t,{headers:n={},customFetch:r,region:s=lm.Any}={}){this.url=t,this.headers=n,this.region=s,this.fetch=X$(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t){return J$(this,arguments,void 0,function*(n,r={}){var s;let i,o;try{const{headers:l,method:c,body:u,signal:d,timeout:h}=r;let f={},{region:p}=r;p||(p=this.region);const x=new URL(`${this.url}/${n}`);p&&p!=="any"&&(f["x-region"]=p,x.searchParams.set("forceFunctionRegion",p));let m;u&&(l&&!Object.prototype.hasOwnProperty.call(l,"Content-Type")||!l)?typeof Blob<"u"&&u instanceof Blob||u instanceof ArrayBuffer?(f["Content-Type"]="application/octet-stream",m=u):typeof u=="string"?(f["Content-Type"]="text/plain",m=u):typeof FormData<"u"&&u instanceof FormData?m=u:(f["Content-Type"]="application/json",m=JSON.stringify(u)):u&&typeof u!="string"&&!(typeof Blob<"u"&&u instanceof Blob)&&!(u instanceof ArrayBuffer)&&!(typeof FormData<"u"&&u instanceof FormData)?m=JSON.stringify(u):m=u;let v=d;h&&(o=new AbortController,i=setTimeout(()=>o.abort(),h),d?(v=o.signal,d.addEventListener("abort",()=>o.abort())):v=o.signal);const g=yield this.fetch(x.toString(),{method:c||"POST",headers:Object.assign(Object.assign(Object.assign({},f),this.headers),l),body:m,signal:v}).catch(S=>{throw new Z$(S)}),y=g.headers.get("x-relay-error");if(y&&y==="true")throw new S0(g);if(!g.ok)throw new j0(g);let b=((s=g.headers.get("Content-Type"))!==null&&s!==void 0?s:"text/plain").split(";")[0].trim(),k;return b==="application/json"?k=yield g.json():b==="application/octet-stream"||b==="application/pdf"?k=yield g.blob():b==="text/event-stream"?k=g:b==="multipart/form-data"?k=yield g.formData():k=yield g.text(),{data:k,error:null,response:g}}catch(l){return{data:null,error:l,response:l instanceof j0||l instanceof S0?l.context:void 0}}finally{i&&clearTimeout(i)}})}}
266var t6=class extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.code=e.code}},n6=class{constructor(e){var t,n;this.shouldThrowOnError=!1,this.method=e.method,this.url=e.url,this.headers=new Headers(e.headers),this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=(t=e.shouldThrowOnError)!==null&&t!==void 0?t:!1,this.signal=e.signal,this.isMaybeSingle=(n=e.isMaybeSingle)!==null&&n!==void 0?n:!1,e.fetch?this.fetch=e.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(e,t){return this.headers=new Headers(this.headers),this.headers.set(e,t),this}then(e,t){var n=this;this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json");const r=this.fetch;let s=r(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async i=>{let o=null,l=null,c=null,u=i.status,d=i.statusText;if(i.ok){var h,f;if(n.method!=="HEAD"){var p;const g=await i.text();g===""||(n.headers.get("Accept")==="text/csv"||n.headers.get("Accept")&&(!((p=n.headers.get("Accept"))===null||p===void 0)&&p.includes("application/vnd.pgrst.plan+text"))?l=g:l=JSON.parse(g))}const m=(h=n.headers.get("Prefer"))===null||h===void 0?void 0:h.match(/count=(exact|planned|estimated)/),v=(f=i.headers.get("content-range"))===null||f===void 0?void 0:f.split("/");m&&v&&v.length>1&&(c=parseInt(v[1])),n.isMaybeSingle&&n.method==="GET"&&Array.isArray(l)&&(l.length>1?(o={code:"PGRST116",details:`Results contain ${l.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},l=null,c=null,u=406,d="Not Acceptable"):l.length===1?l=l[0]:l=null)}else{var x;const m=await i.text();try{o=JSON.parse(m),Array.isArray(o)&&i.status===404&&(l=[],o=null,u=200,d="OK")}catch{i.status===404&&m===""?(u=204,d="No Content"):o={message:m}}if(o&&n.isMaybeSingle&&(!(o==null||(x=o.details)===null||x===void 0)&&x.includes("0 rows"))&&(o=null,u=200,d="OK"),o&&n.shouldThrowOnError)throw new t6(o)}return{error:o,data:l,count:c,status:u,statusText:d}});return this.shouldThrowOnError||(s=s.catch(i=>{var o;let l="";const c=i==null?void 0:i.cause;if(c){var u,d,h,f;const x=(u=c==null?void 0:c.message)!==null&&u!==void 0?u:"",m=(d=c==null?void 0:c.code)!==null&&d!==void 0?d:"";l=`${(h=i==null?void 0:i.name)!==null&&h!==void 0?h:"FetchError"}: ${i==null?void 0:i.message}`,l+=`
267
268Caused by: ${(f=c==null?void 0:c.name)!==null&&f!==void 0?f:"Error"}: ${x}`,m&&(l+=` (${m})`),c!=null&&c.stack&&(l+=`
269${c.stack}`)}else{var p;l=(p=i==null?void 0:i.stack)!==null&&p!==void 0?p:""}return{error:{message:`${(o=i==null?void 0:i.name)!==null&&o!==void 0?o:"FetchError"}: ${i==null?void 0:i.message}`,details:l,hint:"",code:""},data:null,count:null,status:0,statusText:""}})),s.then(e,t)}returns(){return this}overrideTypes(){return this}},r6=class extends n6{select(e){let t=!1;const n=(e??"*").split("").map(r=>/\s/.test(r)&&!t?"":(r==='"'&&(t=!t),r)).join("");return this.url.searchParams.set("select",n),this.headers.append("Prefer","return=representation"),this}order(e,{ascending:t=!0,nullsFirst:n,foreignTable:r,referencedTable:s=r}={}){const i=s?`${s}.order`:"order",o=this.url.searchParams.get(i);return this.url.searchParams.set(i,`${o?`${o},`:""}${e}.${t?"asc":"desc"}${n===void 0?"":n?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:t,referencedTable:n=t}={}){const r=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(r,`${e}`),this}range(e,t,{foreignTable:n,referencedTable:r=n}={}){const s=typeof r>"u"?"offset":`${r}.offset`,i=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(s,`${e}`),this.url.searchParams.set(i,`${t-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.method==="GET"?this.headers.set("Accept","application/json"):this.headers.set("Accept","application/vnd.pgrst.object+json"),this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}
269explain({analyze:e=!1,verbose:t=!1,settings:n=!1,buffers:r=!1,wal:s=!1,format:i="text"}={}){var o;const l=[e?"analyze":null,t?"verbose":null,n?"settings":null,r?"buffers":null,s?"wal":null].filter(Boolean).join("|"),c=(o=this.headers.get("Accept"))!==null&&o!==void 0?o:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${i}; for="${c}"; options=${l};`),i==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(e){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${e}`),this}};const T0=new RegExp("[,()]");var Ci=class extends r6{eq(e,t){return this.url.searchParams.append(e,`eq.${t}`),this}neq(e,t){return this.url.searchParams.append(e,`neq.${t}`),this}gt(e,t){return this.url.searchParams.append(e,`gt.${t}`),this}gte(e,t){return this.url.searchParams.append(e,`gte.${t}`),this}lt(e,t){return this.url.searchParams.append(e,`lt.${t}`),this}lte(e,t){return this.url.searchParams.append(e,`lte.${t}`),this}like(e,t){return this.url.searchParams.append(e,`like.${t}`),this}likeAllOf(e,t){return this.url.searchParams.append(e,`like(all).{${t.join(",")}}`),this}likeAnyOf(e,t){return this.url.searchParams.append(e,`like(any).{${t.join(",")}}`),this}ilike(e,t){return this.url.searchParams.append(e,`ilike.${t}`),this}ilikeAllOf(e,t){return this.url.searchParams.append(e,`ilike(all).{${t.join(",")}}`),this}ilikeAnyOf(e,t){return this.url.searchParams.append(e,`ilike(any).{${t.join(",")}}`),this}regexMatch(e,t){return this.url.searchParams.append(e,`match.${t}`),this}regexIMatch(e,t){return this.url.searchParams.append(e,`imatch.${t}`),this}is(e,t){return this.url.searchParams.append(e,`is.${t}`),this}isDistinct(e,t){return this.url.searchParams.append(e,`isdistinct.${t}`),this}in(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&T0.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`in.(${n})`),this}notIn(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&T0.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`not.in.(${n})`),this}contains(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cs.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cs.{${t.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(t)}`),this}containedBy(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cd.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cd.{${t.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(t)}`),this}rangeGt(e,t){return this.url.searchParams.append(e,`sr.${t}`),this}rangeGte(e,t){return this.url.searchParams.append(e,`nxl.${t}`),this}rangeLt(e,t){return this.url.searchParams.append(e,`sl.${t}`),this}rangeLte(e,t){return this.url.searchParams.append(e,`nxr.${t}`),this}rangeAdjacent(e,t){return this.url.searchParams.append(e,`adj.${t}`),this}overlaps(e,t){return typeof t=="string"?this.url.searchParams.append(e,`ov.${t}`):this.url.searchParams.append(e,`ov.{${t.join(",")}}`),this}textSearch(e,t,{config:n,type:r}={}){let s="";r==="plain"?s="pl":r==="phrase"?s="ph":r==="websearch"&&(s="w");const i=n===void 0?"":`(${n})`;return this.url.searchParams.append(e,`${s}fts${i}.${t}`),this}match(e){return Object.entries(e).forEach(([t,n])=>{this.url.searchParams.append(t,`eq.${n}`)}),this}not(e,t,n){return this.url.searchParams.append(e,`not.${t}.${n}`),this}or(e,{foreignTable:t,referencedTable:n=t}={}){const r=n?`${n}.or`:"or";return this.url.searchParams.append(r,`(${e})`),this}filter(e,t,n){return this.url.searchParams.append(e,`${t}.${n}`),this}},s6=class{constructor(e,{headers:t={},schema:n,fetch:r}){this.url=e,this.headers=new Headers(t),this.schema=n,this.fetch=r}cloneRequestState(){return{url:new URL(this.url.toString()),headers:new Headers(this.headers)}}select(e,t){const{head:n=!1,count:r}=t??{},s=n?"HEAD":"GET";let i=!1;const o=(e??"*").split("").map(u=>/\s/.test(u)&&!i?"":(u==='"'&&(i=!i),u)).join(""),{url:l,headers:c}=this.cloneRequestState();return l.searchParams.set("select",o),r&&c.append("Prefer",`count=${r}`),new Ci({method:s,url:l,headers:c,schema:this.schema,fetch:this.fetch})}insert(e,{count:t,defaultToNull:n=!0}={}){var r;const s="POST",{url:i,headers:o}=this.cloneRequestState();if(t&&o.append("Prefer",`count=${t}`),n||o.append("Prefer","missing=default"),Array.isArray(e)){const l=e.reduce((c,u)=>c.concat(Object.keys(u)),[]);if(l.length>0){const c=[...new Set(l)].map(u=>`"${u}"`);i.searchParams.set("columns",c.join(","))}}return new Ci({method:s,url:i,headers:o,schema:this.schema,body:e,fetch:(r=this.fetch)!==null&&r!==void 0?r:fetch})}upsert(e,{onConflict:t,ignoreDuplicates:n=!1,count:r,defaultToNull:s=!0}={}){var i;const o="POST",{url:l,headers:c}=this.cloneRequestState();if(c.append("Prefer",`resolution=${n?"ignore":"merge"}-duplicates`),t!==void 0&&l.searchParams.set("on_conflict",t),r&&c.append("Prefer",`count=${r}`),s||c.append("Prefer","missing=default"),Array.isArray(e)){const u=e.reduce((d,h)=>d.concat(Object.keys(h)),[]);if(u.length>0){const d=[...new Set(u)].map(h=>`"${h}"`);l.searchParams.set("columns",d.join(","))}}return new Ci({method:o,url:l,headers:c,schema:this.schema,body:e,fetch:(i=this.fetch)!==null&&i!==void 0?i:fetch})}update(e,{count:t}={}){var n;const r="PATCH",{url:s,headers:i}=this.cloneRequestState();return t&&i.append("Prefer",`count=${t}`),new Ci({method:r,url:s,headers:i,schema:this.schema,body:e,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch})}delete({count:e}={}){var t;const n="DELETE",{url:r,headers:s}=this.cloneRequestState();return e&&s.append("Prefer",`count=${e}`),new Ci({method:n,url:r,headers:s,schema:this.schema,fetch:(t=this.fetch)!==null&&t!==void 0?t:fetch})}},i6=class xT{constructor(t,{headers:n={},schema:r,fetch:s}={}){this.url=t,this.headers=new Headers(n),this.schemaName=r,this.fetch=s}from(t){if(!t||typeof t!="string"||t.trim()==="")throw new Error("Invalid relation name: relation must be a non-empty string.");return new s6(new URL(`${this.url}/${t}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch})}schema(t){return new xT(this.url,{headers:this.headers,schema:t,fetch:this.fetch})}rpc(t,n={},{head:r=!1,get:s=!1,count:i}={}){var o;let l;const c=new URL(`${this.url}/rpc/${t}`);let u;const d=p=>p!==null&&typeof p=="object"&&(!Array.isArray(p)||p.some(d)),h=r&&Object.values(n).some(d);h?(l="POST",u=n):r||s?(l=r?"HEAD":"GET",Object.entries(n).filter(([p,x])=>x!==void 0).map(([p,x])=>[p,Array.isArray(x)?`{${x.join(",")}}`:`${x}
269`]).forEach(([p,x])=>{c.searchParams.append(p,x)})):(l="POST",u=n);const f=new Headers(this.headers);return h?f.set("Prefer",i?`count=${i},return=minimal`:"return=minimal"):i&&f.set("Prefer",`count=${i}`),new Ci({method:l,url:c,headers:f,schema:this.schemaName,body:u,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch})}};class o6{constructor(){}static detectEnvironment(){var t;if(typeof WebSocket<"u")return{type:"native",constructor:WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocket<"u")return{type:"native",constructor:globalThis.WebSocket};if(typeof global<"u"&&typeof global.WebSocket<"u")return{type:"native",constructor:global.WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&globalThis.EdgeRuntime||typeof navigator<"u"&&(!((t=navigator.userAgent)===null||t===void 0)&&t.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};const n=globalThis.process;if(n){const r=n.versions;if(r&&r.node){const s=r.node,i=parseInt(s.replace(/^v/,"").split(".")[0]);return i>=22?typeof globalThis.WebSocket<"u"?{type:"native",constructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${i} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${i} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option:
270import ws from "ws"
271new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const t=this.detectEnvironment();if(t.constructor)return t.constructor;let n=t.error||"WebSocket not supported in this environment.";throw t.workaround&&(n+=`
272
273Suggested solution: ${t.workaround}`),new Error(n)}static createWebSocket(t,n){const r=this.getWebSocketConstructor();return new r(t,n)}static isWebSocketSupported(){try{const t=this.detectEnvironment();return t.type==="native"||t.type==="ws"}catch{return!1}}}const a6="2.93.2",l6=`realtime-js/${a6}`,c6="1.0.0",bT="2.0.0",C0=bT,cm=1e4,u6=1e3,d6=100;var Ar;(function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"})(Ar||(Ar={}));var Ke;(function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"})(Ke||(Ke={}));var hn;(function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"})(hn||(hn={}));var um;(function(e){e.websocket="websocket"})(um||(um={}));var Cs;(function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"})(Cs||(Cs={}));class h6{constructor(t){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT="broadcast",this.allowedMetadataKeys=[],this.allowedMetadataKeys=t??[]}encode(t,n){if(t.event===this.BROADCAST_EVENT&&!(t.payload instanceof ArrayBuffer)&&typeof t.payload.event=="string")return n(this._binaryEncodeUserBroadcastPush(t));let r=[t.join_ref,t.ref,t.topic,t.event,t.payload];return n(JSON.stringify(r))}_binaryEncodeUserBroadcastPush(t){var n;return this._isArrayBuffer((n=t.payload)===null||n===void 0?void 0:n.payload)?this._encodeBinaryUserBroadcastPush(t):this._encodeJsonUserBroadcastPush(t)}_encodeBinaryUserBroadcastPush(t){var n,r;const s=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:new ArrayBuffer(0);return this._encodeUserBroadcastPush(t,this.BINARY_ENCODING,s)}_encodeJsonUserBroadcastPush(t){var n,r;const s=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:{},o=new TextEncoder().encode(JSON.stringify(s)).buffer;return this._encodeUserBroadcastPush(t,this.JSON_ENCODING,o)}_encodeUserBroadcastPush(t,n,r){var s,i;const o=t.topic,l=(s=t.ref)!==null&&s!==void 0?s:"",c=(i=t.join_ref)!==null&&i!==void 0?i:"",u=t.payload.event,d=this.allowedMetadataKeys?this._pick(t.payload,this.allowedMetadataKeys):{},h=Object.keys(d).length===0?"":JSON.stringify(d);if(c.length>255)throw new Error(`joinRef length ${c.length} exceeds maximum of 255`);if(l.length>255)throw new Error(`ref length ${l.length} exceeds maximum of 255`);if(o.length>255)throw new Error(`topic length ${o.length} exceeds maximum of 255`);if(u.length>255)throw new Error(`userEvent length ${u.length} exceeds maximum of 255`);if(h.length>255)throw new Error(`metadata length ${h.length} exceeds maximum of 255`);const f=this.USER_BROADCAST_PUSH_META_LENGTH+c.length+l.length+o.length+u.length+h.length,p=new ArrayBuffer(this.HEADER_LENGTH+f);let x=new DataView(p),m=0;x.setUint8(m++,this.KINDS.userBroadcastPush),x.setUint8(m++,c.length),x.setUint8(m++,l.length),x.setUint8(m++,o.length),x.setUint8(m++,u.length),x.setUint8(m++,h.length),x.setUint8(m++,n),Array.from(c,g=>x.setUint8(m++,g.charCodeAt(0))),Array.from(l,g=>x.setUint8(m++,g.charCodeAt(0))),Array.from(o,g=>x.setUint8(m++,g.charCodeAt(0))),Array.from(u,g=>x.setUint8(m++,g.charCodeAt(0))),Array.from(h,g=>x.setUint8(m++,g.charCodeAt(0)));var v=new Uint8Array(p.byteLength+r.byteLength);return v.set(new Uint8Array(p),0),v.set(new Uint8Array(r),p.byteLength),v.buffer}decode(t,n){if(this._isArrayBuffer(t)){let r=this._binaryDecode(t);return n(r)}if(typeof t=="string"){const r=JSON.parse(t),[s,i,o,l,c]=r;
273return n({join_ref:s,ref:i,topic:o,event:l,payload:c})}return n({})}_binaryDecode(t){const n=new DataView(t),r=n.getUint8(0),s=new TextDecoder;switch(r){case this.KINDS.userBroadcast:return this._decodeUserBroadcast(t,n,s)}}_decodeUserBroadcast(t,n,r){const s=n.getUint8(1),i=n.getUint8(2),o=n.getUint8(3),l=n.getUint8(4);let c=this.HEADER_LENGTH+4;const u=r.decode(t.slice(c,c+s));c=c+s;const d=r.decode(t.slice(c,c+i));c=c+i;const h=r.decode(t.slice(c,c+o));c=c+o;const f=t.slice(c,t.byteLength),p=l===this.JSON_ENCODING?JSON.parse(r.decode(f)):f,x={type:this.BROADCAST_EVENT,event:d,payload:p};return o>0&&(x.meta=JSON.parse(h)),{join_ref:null,ref:null,topic:u,event:this.BROADCAST_EVENT,payload:x}}_isArrayBuffer(t){var n;return t instanceof ArrayBuffer||((n=t==null?void 0:t.constructor)===null||n===void 0?void 0:n.name)==="ArrayBuffer"}_pick(t,n){return!t||typeof t!="object"?{}:Object.fromEntries(Object.entries(t).filter(([r])=>n.includes(r)))}}class kT{constructor(t,n){this.callback=t,this.timerCalc=n,this.timer=void 0,this.tries=0,this.callback=t,this.timerCalc=n}reset(){this.tries=0,clearTimeout(this.timer),this.timer=void 0}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var we;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(we||(we={}));const _0=(e,t,n={})=>{var r;const s=(r=n.skipTypes)!==null&&r!==void 0?r:[];return t?Object.keys(t).reduce((i,o)=>(i[o]=f6(o,e,t,s),i),{}):{}},f6=(e,t,n,r)=>{const s=t.find(l=>
273l.name===e),i=s==null?void 0:s.type,o=n[e];return i&&!r.includes(i)?ST(i,o):dm(o)},ST=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return y6(t,n)}switch(e){case we.bool:return p6(t);case we.float4:case we.float8:case we.int2:case we.int4:case we.int8:case we.numeric:case we.oid:return m6(t);case we.json:case we.jsonb:return g6(t);case we.timestamp:return v6(t);case we.abstime:case we.date:case we.daterange:case we.int4range:case we.int8range:case we.money:case we.reltime:case we.text:case we.time:case we.timestamptz:case we.timetz:case we.tsrange:case we.tstzrange:return dm(t);default:return dm(t)}},dm=e=>e,p6=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},m6=e=>{if(typeof e=="string"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},g6=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},y6=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let i;const o=e.slice(1,n);try{i=JSON.parse("["+o+"]")}catch{i=o?o.split(","):[]}return i.map(l=>ST(t,l))}return e},v6=e=>typeof e=="string"?e.replace(" ","T"):e,jT=e=>{const t=new URL(e);return t.protocol=t.protocol.replace(/^ws/i,"http"),t.pathname=t.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),t.pathname===""||t.pathname==="/"?t.pathname="/api/broadcast":t.pathname=t.pathname+"/api/broadcast",t.href};class zh{constructor(t,n,r={},s=cm){this.channel=t,this.event=n,this.payload=r,this.timeout=s,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(t){this.timeout=t,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(t){this.payload=Object.assign(Object.assign({},this.payload),t)}receive(t,n){var r;return this._hasReceived(t)&&n((r=this.receivedResp)===null||r===void 0?void 0:r.response),this.recHooks.push({status:t,callback:n}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const t=n=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=n,this._matchReceive(n)};this.channel._on(this.refEvent,{},t),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(t,n){this.refEvent&&this.channel._trigger(this.refEvent,{status:t,response:n})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:t,response:n}){this.recHooks.filter(r=>r.status===t).forEach(r=>r.callback(n))}_hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}}var E0;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(E0||(E0={}));class Ia{constructor(t,n){this.channel=t,this.state={},this.pendingDiffs=[],this.joinRef=null,this.enabled=!1,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const r=(n==null?void 0:n.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(r.state,{},s=>{const{onJoin:i,onLeave:o,onSync:l}=this.caller;this.joinRef=this.channel._joinRef(),this.state=Ia.syncState(this.state,s,i,o),this.pendingDiffs.forEach(c=>{this.state=Ia.syncDiff(this.state,c,i,o)}),this.pendingDiffs=[],l()}),this.channel._on(r.diff,{},s=>{const{onJoin:i,onLeave:o,onSync:l}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(s):(this.state=Ia.syncDiff(this.state,s,i,o),l())}),this.onJoin((s,i,o)=>{this.channel._trigger("presence",{event:"join",key:s,currentPresences:i,newPresences:o})}),this.onLeave((s,i,o)=>{this.channel._trigger("presence",{event:"leave",key:s,currentPresences:i,leftPresences:o})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(t,n,r,s){const i=this.cloneDeep(t),o=this.transformState(n),l={},c={};return this.map(i,(u,d)=>{o[u]||(c[u]=d)}),this.map(o,(u,d)=>{const h=i[u];if(h){const f=d.map(v=>v.presence_ref),p=h.map(v=>v.presence_ref),x=d.filter(v=>p.indexOf(v.presence_ref)<0),m=h.filter(v=>f.indexOf(v.presence_ref)<0);x.length>0&&(l[u]=x),m.length>0&&(c[u]=m)}else l[u]=d}),this.syncDiff(i,{joins:l,leaves:c},r,s)}static syncDiff(t,n,r,s){const{joins:i,leaves:o}={joins:this.transformState(n.joins),leaves:this.transformState(n.leaves)};return r||(r=()=>{}),s||(s=()=>{}),this.map(i,(l,c)=>{var u;
273const d=(u=t[l])!==null&&u!==void 0?u:[];if(t[l]=this.cloneDeep(c),d.length>0){const h=t[l].map(p=>p.presence_ref),f=d.filter(p=>h.indexOf(p.presence_ref)<0);t[l].unshift(...f)}r(l,d,c)}),this.map(o,(l,c)=>{let u=t[l];if(!u)return;const d=c.map(h=>h.presence_ref);u=u.filter(h=>d.indexOf(h.presence_ref)<0),t[l]=u,s(l,u,c),u.length===0&&delete t[l]}),t}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static transformState(t){return t=this.cloneDeep(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const s=t[r];return"metas"in s?n[r]=s.metas.map(i=>(i.presence_ref=i.phx_ref,delete i.phx_ref,delete i.phx_ref_prev,i)):n[r]=s,n},{})}static cloneDeep(t){return JSON.parse(JSON.stringify(t))}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var A0;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(A0||(A0={}));var Oa;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(Oa||(Oa={}));var zn;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(zn||(zn={}));class qi{constructor(t,n={config:{}},r){var s,i;if(this.topic=t,this.params=n,this.socket=r,this.bindings={},this.state=Ke.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=t.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},n.config),this.timeout=this.socket.timeout,this.joinPush=new zh(this,hn.join,this.params,this.timeout),this.rejoinTimer=new kT(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=Ke.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(o=>o.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=Ke.closed,this.socket._remove(this)}),this._onError(o=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,o),this.state=Ke.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=Ke.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("error",o=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,o),this.state=Ke.errored,this.rejoinTimer.scheduleTimeout())}),this._on(hn.reply,{},(o,l)=>{this._trigger(this._replyEventName(l),o)}),this.presence=new Ia(this),this.broadcastEndpointURL=jT(this.socket.endPoint),this.private=this.params.config.private||!1,!this.private&&(!((i=(s=this.params.config)===null||s===void 0?void 0:s.broadcast)===null||i===void 0)&&i.replay))throw`tried to use replay on public channel '${this.topic}'. It must be a private channel.`}subscribe(t,n=this.timeout){var r,s,i;if(this.socket.isConnected()||this.socket.connect(),this.state==Ke.closed){const{config:{broadcast:o,presence:l,private:c}}=this.params,u=(s=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(p=>p.filter))!==null&&s!==void 0?s:[],d=!!this.bindings[Oa.PRESENCE]&&this.bindings[Oa.PRESENCE].length>0||((i=this.params.config.presence)===null||i===void 0?void 0:i.enabled)===!0,h={},f={broadcast:o,presence:Object.assign(Object.assign({},l),{enabled:d}),postgres_changes:u,private:c};this.socket.accessTokenValue&&(h.access_token=this.socket.accessTokenValue),this._onError(p=>t==null?void 0:t(zn.CHANNEL_ERROR,p)),this._onClose(()=>t==null?void 0:t(zn.CLOSED)),this.updateJoinPayload(Object.assign({config:f},h)),this.joinedOnce=!0,this._rejoin(n),this.joinPush.receive("ok",async({postgres_changes:p})=>{var x;if(this.socket._isManualToken()||this.socket.setAuth(),p===void 0){t==null||t(zn.SUBSCRIBED);return}else{const m=this.bindings.postgres_changes,v=(x=m==null?void 0:m.length)!==null&&x!==void 0?x:0,g=[];for(let y=0;y<v;y++){const b=m[y],{filter:{event:k,schema:S,table:j,filter:C}}=b,_=p&&p[y];if(_&&_.event===k&&qi.isFilterValueEqual(_.schema,S)&&qi.isFilterValueEqual(_.table,j)&&qi.isFilterValueEqual(_.filter,C))g.push(Object.assign(Object.assign({},b),{id:_.id}));else{this.unsubscribe(),this.state=Ke.errored,t==null||t(zn.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=g,t&&t(zn.SUBSCRIBED);return}}).receive("error",p=>{this.state=Ke.errored,t==null||t(zn.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(p).join(", ")||"error")))}).receive("timeout",()=>{t==null||t(zn.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(t,n={}){return await this.send({type:"presence",event:"track",payload:t},n.timeout||this.timeout)}async untrack(t={}){return await this.send({type:"presence",event:"untrack"},t)}on(t,n,r){return this.state===Ke.joined&&t===Oa.PRESENCE&&(this.socket.log("channel",`resubscribe to ${this.topic} due to change in presence callbacks on joined channel`),this.unsubscribe().then(async()=>await this.subscribe())),this._on(t,n,r)}async httpSend(t,n,r={}){var s;if(n==null)return Promise.reject("Payload is required for httpSend()");const i={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(i.Authorization=`Bearer ${this.socket.accessTokenValue}`);const o={method:"POST",headers:i,body:JSON.stringify({messages:[{topic:this.subTopic,event:t,payload:n,private:this.private}]})},l=await this._fetchWithTimeout(this.broadcastEndpointURL,o,(s=r.timeout)!==null&&s!==void 0?s:this.timeout);if(l.status===202)return{success:!0};let c=l.statusText;
273try{const u=await l.json();c=u.error||u.message||c}catch{}return Promise.reject(new Error(c))}async send(t,n={}){var r,s;if(!this._canPush()&&t.type==="broadcast"){console.warn("Realtime send() is automatically falling back to REST API. This behavior will be deprecated in the future. Please use httpSend() explicitly for REST delivery.");const{event:i,payload:o}=t,l={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(l.Authorization=`Bearer ${this.socket.accessTokenValue}`);const c={method:"POST",headers:l,body:JSON.stringify({messages:[{topic:this.subTopic,event:i,payload:o,private:this.private}]})};try{const u=await this._fetchWithTimeout(this.broadcastEndpointURL,c,(r=n.timeout)!==null&&r!==void 0?r:this.timeout);return await((s=u.body)===null||s===void 0?void 0:s.cancel()),u.ok?"ok":"error"}catch(u){return u.name==="AbortError"?"timed out":"error"}}else return new Promise(i=>{var o,l,c;const u=this._push(t.type,t,n.timeout||this.timeout);t.type==="broadcast"&&!(!((c=(l=(o=this.params)===null||o===void 0?void 0:o.config)===null||l===void 0?void 0:l.broadcast)===null||c===void 0)&&c.ack)&&i("ok"),u.receive("ok",()=>i("ok")),u.receive("error",()=>i("error")),u.receive("timeout",()=>i("timed out"))})}updateJoinPayload(t){this.joinPush.updatePayload(t)}unsubscribe(t=this.timeout){this.state=Ke.leaving;const n=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(hn.close,"leave",this._joinRef())};this.joinPush.destroy();let r=null;return new Promise(s=>{r=new zh(this,hn.leave,{},t),r.receive("ok",()=>{n(),s("ok")}).receive("timeout",()=>{n(),s("timed out")}).receive("error",()=>{s("error")}),r.send(),this._canPush()||r.trigger("ok",{})}).finally(()=>{r==null||r.destroy()})}teardown(){this.pushBuffer.forEach(t=>t.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=Ke.closed,this.bindings={}}async _fetchWithTimeout(t,n,r){const s=new AbortController,i=setTimeout(()=>s.abort(),r),o=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:s.signal}));return clearTimeout(i),o}_push(t,n,r=this.timeout){if(!this.joinedOnce)throw`tried to push '${t}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let s=new zh(this,t,n,r);return this._canPush()?s.send():this._addToPushBuffer(s),s}_addToPushBuffer(t){if(t.startTimeout(),this.pushBuffer.push(t),this.pushBuffer.length>d6){const n=this.pushBuffer.shift();n&&(n.destroy(),this.socket.log("channel",`discarded push due to buffer overflow: ${n.event}`,n.payload))}}_onMessage(t,n,r){return n}_isMember(t){return this.topic===t}_joinRef(){return this.joinPush.ref}_trigger(t,n,r){var s,i;const o=t.toLocaleLowerCase(),{close:l,error:c,leave:u,join:d}=hn;if(r&&[l,c,u,d].indexOf(o)>=0&&r!==this._joinRef())return;let f=this._onMessage(o,n,r);if(n&&!f)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(o)?(s=this.bindings.postgres_changes)===null||s===void 0||s.filter(p=>{var x,m,v;return((x=p.filter)===null||x===void 0?void 0:x.event)==="*"||((v=(m=p.filter)===null||m===void 0?void 0:m.event)===null||v===void 0?void 0:v.toLocaleLowerCase())===o}).map(p=>p.callback(f,r)):(i=this.bindings[o])===null||i===void 0||i.filter(p=>{var x,m,v,g,y,b;if(["broadcast","presence","postgres_changes"].includes(o))if("id"in p){const k=p.id,S=(x=p.filter)===null||x===void 0?void 0:x.event;return k&&((m=n.ids)===null||m===void 0?void 0:m.includes(k))&&(S==="*"||(S==null?void 0:S.toLocaleLowerCase())===((v=n.data)===null||v===void 0?void 0:v.type.toLocaleLowerCase()))}else{const k=(y=(g=p==null?void 0:p.filter)===null||g===void 0?void 0:g.event)===null||y===void 0?void 0:y.toLocaleLowerCase();return k==="*"||k===((b=n==null?void 0:n.event)===null||b===void 0?void 0:b.toLocaleLowerCase())}else return p.type.toLocaleLowerCase()===o}).map(p=>{if(typeof f=="object"&&"ids"in f){const x=f.data,{schema:m,table:v,commit_timestamp:g,type:y,errors:b}=x;f=Object.assign(Object.assign({},{schema:m,table:v,commit_timestamp:g,eventType:y,new:{},old:{},errors:b}),this._getPayloadRecords(x))}p.callback(f,r)}
273)}_isClosed(){return this.state===Ke.closed}_isJoined(){return this.state===Ke.joined}_isJoining(){return this.state===Ke.joining}_isLeaving(){return this.state===Ke.leaving}_replyEventName(t){return`chan_reply_${t}`}_on(t,n,r){const s=t.toLocaleLowerCase(),i={type:s,filter:n,callback:r};return this.bindings[s]?this.bindings[s].push(i):this.bindings[s]=[i],this}_off(t,n){const r=t.toLocaleLowerCase();return this.bindings[r]&&(this.bindings[r]=this.bindings[r].filter(s=>{var i;return!(((i=s.type)===null||i===void 0?void 0:i.toLocaleLowerCase())===r&&qi.isEqual(s.filter,n))})),this}static isEqual(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(t[r]!==n[r])return!1;return!0}static isFilterValueEqual(t,n){return(t??void 0)===(n??void 0)}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(t){this._on(hn.close,{},t)}_onError(t){this._on(hn.error,{},n=>t(n))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(t=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=Ke.joining,this.joinPush.resend(t))}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=_0(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=_0(t.columns,t.old_record)),n}}const qh=()=>{},wc={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},w6=[1e3,2e3,5e3,1e4],x6=1e4,b6=`
274  addEventListener("message", (e) => {
275    if (e.data.event === "start") {
276      setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval);
277    }
278  });`;class k6{constructor(t,n){var r;if(this.accessTokenValue=null,this.apiKey=null,this._manuallySetToken=!1,this.channels=new Array,this.endPoint="",this.httpEndpoint="",this.headers={},this.params={},this.timeout=cm,this.transport=null,this.heartbeatIntervalMs=wc.HEARTBEAT_INTERVAL,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=qh,this.ref=0,this.reconnectTimer=null,this.vsn=C0,this.logger=qh,this.conn=null,this.sendBuffer=[],this.serializer=new h6,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._connectionState="disconnected",this._wasManualDisconnect=!1,this._authPromise=null,this._heartbeatSentAt=null,this._resolveFetch=s=>s?(...i)=>s(...i):(...i)=>fetch(...i),!(!((r=n==null?void 0:n.params)===null||r===void 0)&&r.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=n.params.apikey,this.endPoint=`${t}/${um.websocket}`,this.httpEndpoint=jT(t),this._initializeOptions(n),this._setupReconnectionTimer(),this.fetch=this._resolveFetch(n==null?void 0:n.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.conn!==null&&this.isConnected())){if(this._setConnectionState("connecting"),this.accessToken&&!this._authPromise&&this._setAuthSafely("connect"),this.transport)this.conn=new this.transport(this.endpointURL());else try{this.conn=o6.createWebSocket(this.endpointURL())}catch(t){this._setConnectionState("disconnected");const n=t.message;throw n.includes("Node.js")?new Error(`${n}
279
280To use Realtime in Node.js, you need to provide a WebSocket implementation:
281
282Option 1: Use Node.js 22+ which has native WebSocket support
283Option 2: Install and provide the "ws" package:
284
285  npm install ws
286
287  import ws from "ws"
288  const client = new RealtimeClient(url, {
289    ...options,
290    transport: ws
291  })`):new Error(`WebSocket not available: ${n}`)}this._setupConnectionHandlers()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:this.vsn}))}disconnect(t,n){if(!this.isDisconnecting())if(this._setConnectionState("disconnecting",!0),this.conn){const r=setTimeout(()=>{this._setConnectionState("disconnected")},100);this.conn.onclose=()=>{clearTimeout(r),this._setConnectionState("disconnected")},typeof this.conn.close=="function"&&(t?this.conn.close(t,n??""):this.conn.close()),this._teardownConnection()}else this._setConnectionState("disconnected")}getChannels(){return this.channels}async removeChannel(t){const n=await t.unsubscribe();return this.channels.length===0&&this.disconnect(),n}async removeAllChannels(){const t=await Promise.all(this.channels.map(n=>n.unsubscribe()));return this.channels=[],this.disconnect(),t}log(t,n,r){this.logger(t,n,r)}connectionState(){switch(this.conn&&this.conn.readyState){case Ar.connecting:return Cs.Connecting;case Ar.open:return Cs.Open;case Ar.closing:return Cs.Closing;default:return Cs.Closed}}isConnected(){return this.connectionState()===Cs.Open}isConnecting(){return this._connectionState==="connecting"}isDisconnecting(){return this._connectionState==="disconnecting"}
291channel(t,n={config:{}}){const r=`realtime:${t}`,s=this.getChannels().find(i=>i.topic===r);if(s)return s;{const i=new qi(`realtime:${t}`,n,this);return this.channels.push(i),i}}push(t){const{topic:n,event:r,payload:s,ref:i}=t,o=()=>{this.encode(t,l=>{var c;(c=this.conn)===null||c===void 0||c.send(l)})};this.log("push",`${n} ${r} (${i})`,s),this.isConnected()?o():this.sendBuffer.push(o)}async setAuth(t=null){this._authPromise=this._performAuth(t);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){var t;if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(n){this.log("error","error in heartbeat callback",n)}return}if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this._heartbeatSentAt=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(n){this.log("error","error in heartbeat callback",n)}this._wasManualDisconnect=!1,(t=this.conn)===null||t===void 0||t.close(u6,"heartbeat timeout"),setTimeout(()=>{var n;this.isConnected()||(n=this.reconnectTimer)===null||n===void 0||n.scheduleTimeout()},wc.HEARTBEAT_TIMEOUT_FALLBACK);return}this._heartbeatSentAt=Date.now(),this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(n){this.log("error","error in heartbeat callback",n)}this._setAuthSafely("heartbeat")}onHeartbeat(t){this.heartbeatCallback=t}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}_makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}_leaveOpenTopic(t){let n=this.channels.find(r=>r.topic===t&&(r._isJoined()||r._isJoining()));n&&(this.log("transport",`leaving duplicate topic "${t}"`),n.unsubscribe())}_remove(t){this.channels=this.channels.filter(n=>n.topic!==t.topic)}_onConnMessage(t){this.decode(t.data,n=>{if(n.topic==="phoenix"&&n.event==="phx_reply"&&n.ref&&n.ref===this.pendingHeartbeatRef){const u=this._heartbeatSentAt?Date.now()-this._heartbeatSentAt:void 0;try{this.heartbeatCallback(n.payload.status==="ok"?"ok":"error",u)}catch(d){this.log("error","error in heartbeat callback",d)}this._heartbeatSentAt=null,this.pendingHeartbeatRef=null}const{topic:r,event:s,payload:i,ref:o}=n,l=o?`(${o})`:"",c=i.status||"";this.log("receive",`${c} ${r} ${s} ${l}`.trim(),i),this.channels.filter(u=>u._isMember(r)).forEach(u=>u._trigger(s,i,o)),this._triggerStateCallbacks("message",n)})}_clearTimer(t){var n;t==="heartbeat"&&this.heartbeatTimer?(clearInterval(this.heartbeatTimer),this.heartbeatTimer=void 0):t==="reconnect"&&((n=this.reconnectTimer)===null||n===void 0||n.reset())}_clearAllTimers(){this._clearTimer("heartbeat"),this._clearTimer("reconnect")}_setupConnectionHandlers(){this.conn&&("binaryType"in this.conn&&(this.conn.binaryType="arraybuffer"),this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=t=>this._onConnError(t),this.conn.onmessage=t=>this._onConnMessage(t),this.conn.onclose=t=>this._onConnClose(t),this.conn.readyState===Ar.open&&this._onConnOpen())}_teardownConnection(){if(this.conn){if(this.conn.readyState===Ar.open||this.conn.readyState===Ar.connecting)try{this.conn.close()}catch(t){this.log("error","Error closing connection",t)}this.conn.onopen=null,this.conn.onerror=null,this.conn.onmessage=null,this.conn.onclose=null,this.conn=null}this._clearAllTimers(),this._terminateWorker(),this.channels.forEach(t=>t.teardown())}_onConnOpen(){this._setConnectionState("connected"),this.log("transport",`connected to ${this.endpointURL()}`),(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).then(()=>{this.flushSendBuffer()}).catch(n=>{this.log("error","error waiting for auth on connect",n),this.flushSendBuffer()}),this._clearTimer("reconnect"),this.worker?this.workerRef||this._startWorkerHeartbeat():this._startHeartbeat(),this._triggerStateCallbacks("open")}_startHeartbeat(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const t=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(t),this.workerRef.onerror=n=>{this.log("worker","worker error",n.message),this._terminateWorker()},this.workerRef.onmessage=n=>{n.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&(this.log("worker","terminating worker"),this.workerRef.terminate(),this.workerRef=void 0)}_onConnClose(t){var n;this._setConnectionState("disconnected"),this.log("transport","close",t),this._triggerChanError(),this._clearTimer("heartbeat"),this._wasManualDisconnect||(n=this.reconnectTimer)===null||n===void 0||n.scheduleTimeout(),this._triggerStateCallbacks("close",t)}_onConnError(t){this._setConnectionState("disconnected"),this.log("transport",`${t}`),this._triggerChanError(),this._triggerStateCallbacks("error",t);try{this.heartbeatCallback("error")}catch(n){this.log("error","error in heartbeat callback",n)}}
291_triggerChanError(){this.channels.forEach(t=>t._trigger(hn.error))}_appendParams(t,n){if(Object.keys(n).length===0)return t;const r=t.match(/\?/)?"&":"?",s=new URLSearchParams(n);return`${t}${r}${s}`}_workerObjectUrl(t){let n;if(t)n=t;else{const r=new Blob([b6],{type:"application/javascript"});n=URL.createObjectURL(r)}return n}_setConnectionState(t,n=!1){this._connectionState=t,t==="connecting"?this._wasManualDisconnect=!1:t==="disconnecting"&&(this._wasManualDisconnect=n)}async _performAuth(t=null){let n,r=!1;if(t)n=t,r=!0;else if(this.accessToken)try{n=await this.accessToken()}catch(s){this.log("error","Error fetching access token from callback",s),n=this.accessTokenValue}else n=this.accessTokenValue;r?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=n&&(this.accessTokenValue=n,this.channels.forEach(s=>{const i={access_token:n,version:l6};n&&s.updateJoinPayload(i),s.joinedOnce&&s._isJoined()&&s._push(hn.access_token,{access_token:n})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(t="general"){this._isManualToken()||this.setAuth().catch(n=>{this.log("error",`Error setting auth in ${t}`,n)})}_triggerStateCallbacks(t,n){try{this.stateChangeCallbacks[t].forEach(r=>{try{r(n)}catch(s){this.log("error",`error in ${t} callback`,s)}})}catch(r){this.log("error",`error triggering ${t} callbacks`,r)}}_setupReconnectionTimer(){this.reconnectTimer=new kT(async()=>{setTimeout(async()=>{await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()},wc.RECONNECT_DELAY)},this.reconnectAfterMs)}_initializeOptions(t){var n,r,s,i,o,l,c,u,d,h,f,p;switch(this.transport=(n=t==null?void 0:t.transport)!==null&&n!==void 0?n:null,this.timeout=(r=t==null?void 0:t.timeout)!==null&&r!==void 0?r:cm,this.heartbeatIntervalMs=(s=t==null?void 0:t.heartbeatIntervalMs)!==null&&s!==void 0?s:wc.HEARTBEAT_INTERVAL,this.worker=(i=t==null?void 0:t.worker)!==null&&i!==void 0?i:!1,this.accessToken=(o=t==null?void 0:t.accessToken)!==null&&o!==void 0?o:null,this.heartbeatCallback=(l=t==null?void 0:t.heartbeatCallback)!==null&&l!==void 0?l:qh,this.vsn=(c=t==null?void 0:t.vsn)!==null&&c!==void 0?c:C0,t!=null&&t.params&&(this.params=t.params),t!=null&&t.logger&&(this.logger=t.logger),(t!=null&&t.logLevel||t!=null&&t.log_level)&&(this.logLevel=t.logLevel||t.log_level,this.params=Object.assign(Object.assign({},this.params),{log_level:this.logLevel})),this.reconnectAfterMs=(u=t==null?void 0:t.reconnectAfterMs)!==null&&u!==void 0?u:x=>w6[x-1]||x6,this.vsn){case c6:this.encode=(d=t==null?void 0:t.encode)!==null&&d!==void 0?d:(x,m)=>m(JSON.stringify(x)),this.decode=(h=t==null?void 0:t.decode)!==null&&h!==void 0?h:(x,m)=>m(JSON.parse(x));break;case bT:this.encode=(f=t==null?void 0:t.encode)!==null&&f!==void 0?f:this.serializer.encode.bind(this.serializer),this.decode=(p=t==null?void 0:t.decode)!==null&&p!==void 0?p:this.serializer.decode.bind(this.serializer);break;default:throw new Error(`Unsupported serializer version: ${this.vsn}`)}if(this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=t==null?void 0:t.workerUrl}}}var hl=class extends Error{constructor(e,t){var n;super(e),this.name="IcebergError",this.status=t.status,this.icebergType=t.icebergType,this.icebergCode=t.icebergCode,this.details=t.details,this.isCommitStateUnknown=t.icebergType==="CommitStateUnknownException"||[500,502,504].includes(t.status)&&((n=t.icebergType)==null?void 0:n.includes("CommitState"))===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function S6(e,t,n){const r=new URL(t,e);if(n)for(const[s,i]of Object.entries(n))i!==void 0&&r.searchParams.set(s,i);return r.toString()}async function j6(e){return!e||e.type==="none"?{}:e.type==="bearer"?{Authorization:`Bearer ${e.token}`}:e.type==="header"?{[e.name]:e.value}:e.type==="custom"?await e.getHeaders():{}}function T6(e){const t=e.fetchImpl??globalThis.fetch;return{async request({method:n,path:r,query:s,body:i,headers:o}){const l=S6(e.baseUrl,r,s),c=await j6(e.auth),u=await t(l,{method:n,headers:{...i?{"Content-Type":"application/json"}:{},...c,...o},body:i?JSON.stringify(i):void 0}),d=await u.text(),h=(u.headers.get("content-type")||"").includes("application/json"),f=h&&d?JSON.parse(d):d;if(!u.ok){const p=h?f:void 0,x=p==null?void 0:p.error;throw new hl((x==null?void 0:x.message)??`Request failed with status ${u.status}`,{status:u.status,icebergType:x==null?void 0:x.type,icebergCode:x==null?void 0:x.code,details:p})}return{status:u.status,headers:u.headers,data:f}}}}function xc(e){return e.join("�")}var C6=class{constructor(e,t=""){this.client=e,this.prefix=t}async listNamespaces(e){const t=e?{parent:xc(e.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:t})).data.namespaces.map(r=>({namespace:r}))}async createNamespace(e,t){const n={namespace:e.namespace,properties:t==null?void 0:t.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:n})).data}async dropNamespace(e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${xc(e.namespace)}`})}async loadNamespaceMetadata(e){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${xc(e.namespace)}`})).data.properties}}async namespaceExists(e){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${xc(e.namespace)}`}),!0}catch(t){if(t instanceof hl&&t.status===404)return!1;throw t}}async createNamespaceIfNotExists(e,t){try{return await this.createNamespace(e,t)}catch(n){if(n instanceof hl&&n.status===409)return;throw n}}};function yi(e){return e.join("�")}var _6=class{constructor(e,t="",n){this.client=e,this.prefix=t,this.accessDelegation=n}async listTables(e){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${yi(e.namespace)}/tables`})).data.identifiers}async createTable(e,t){const n={};return this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${yi(e.namespace)}/tables`,body:t,headers:n})).data.metadata}async updateTable(e,t){const n=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${yi(e.namespace)}/tables/${e.name}`,body:t});return{"metadata-location":n.data["metadata-location"],metadata:n.data.metadata}}async dropTable(e,t){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${yi(e.namespace)}/tables/${e.name}`,query:{purgeRequested:String((t==null?void 0:t.purge)??!1)}})}async loadTable(e){const t={};return this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${yi(e.namespace)}/tables/${e.name}`,headers:t})).data.metadata}async tableExists(e){const t={};this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${yi(e.namespace)}/tables/${e.name}`,headers:t}),!0}catch(n){if(n instanceof hl&&n.status===404)return!1;throw n}}async createTableIfNotExists(e,t){try{return await this.createTable(e,t)}catch(n){if(n instanceof hl&&n.status===409)return await this.loadTable({namespace:e.namespace,name:t.name});throw n}}},E6=class{constructor(e){var r;let t="v1";e.catalogName&&(t+=`/${e.catalogName}`);const n=e.baseUrl.endsWith("/")?e.baseUrl:`${e.baseUrl}/`;this.client=T6({baseUrl:n,auth:e.auth,fetchImpl:e.fetch}),this.accessDelegation=(r=e.accessDelegation)==null?void 0:r.join(","),this.namespaceOps=new C6(this.client,t),this.tableOps=new _6(this.client,t,this.accessDelegation)}async listNamespaces(e){return this.namespaceOps.listNamespaces(e)}async createNamespace(e,t){return this.namespaceOps.createNamespace(e,t)}async dropNamespace(e){await this.namespaceOps.dropNamespace(e)}async loadNamespaceMetadata(e){return this.namespaceOps.loadNamespaceMetadata(e)}async listTables(e){return this.tableOps.listTables(e)}
291async createTable(e,t){return this.tableOps.createTable(e,t)}async updateTable(e,t){return this.tableOps.updateTable(e,t)}async dropTable(e,t){await this.tableOps.dropTable(e,t)}async loadTable(e){return this.tableOps.loadTable(e)}async namespaceExists(e){return this.namespaceOps.namespaceExists(e)}async tableExists(e){return this.tableOps.tableExists(e)}async createNamespaceIfNotExists(e,t){return this.namespaceOps.createNamespaceIfNotExists(e,t)}async createTableIfNotExists(e,t){return this.tableOps.createTableIfNotExists(e,t)}},_d=class extends Error{constructor(e,t="storage",n,r){super(e),this.__isStorageError=!0,this.namespace=t,this.name=t==="vectors"?"StorageVectorsError":"StorageError",this.status=n,this.statusCode=r}};function Ed(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}var bc=class extends _d{constructor(e,t,n,r="storage"){super(e,r,t,n),this.name=r==="vectors"?"StorageVectorsApiError":"StorageApiError",this.status=t,this.statusCode=n}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}},TT=class extends _d{constructor(e,t,n="storage"){super(e,n),this.name=n==="vectors"?"StorageVectorsUnknownError":"StorageUnknownError",this.originalError=t}};const A6=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),N6=e=>{if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},hm=e=>{if(Array.isArray(e))return e.map(n=>hm(n));if(typeof e=="function"||e!==Object(e))return e;const t={};return Object.entries(e).forEach(([n,r])=>{const s=n.replace(/([-_][a-z])/gi,i=>i.toUpperCase().replace(/[-_]/g,""));t[s]=hm(r)}),t},P6=e=>!e||typeof e!="string"||e.length===0||e.length>100||e.trim()!==e||e.includes("/")||e.includes("\\")?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(e);function fl(e){"@babel/helpers - typeof";return fl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fl(e)}function R6(e,t){if(fl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(fl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function I6(e){var t=R6(e,"string");return fl(t)=="symbol"?t:t+""}function O6(e,t,n){return(t=I6(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?N0(Object(n),!0).forEach(function(r){O6(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}const P0=e=>{var t;return e.msg||e.message||e.error_description||(typeof e.error=="string"?e.error:(t=e.error)===null||t===void 0?void 0:t.message)||JSON.stringify(e)},D6=async(e,t,n,r)=>{if(e&&typeof e=="object"&&"status"in e&&"ok"in e&&typeof e.status=="number"&&!(n!=null&&n.noResolveJson)){const s=e,i=s.status||500;if(typeof s.json=="function")s.json().then(o=>{const l=(o==null?void 0:o.statusCode)||(o==null?void 0:o.code)||i+"";t(new bc(P0(o),i,l,r))}).catch(()=>{if(r==="vectors"){const o=i+"";t(new bc(s.statusText||`HTTP ${i} error`,i,o,r))}else{const o=i+"";t(new bc(s.statusText||`HTTP ${i} error`,i,o,r))}});else{const o=i+"";t(new bc(s.statusText||`HTTP ${i} error`,i,o,r))}}else t(new TT(P0(e),e,r))},M6=(e,t,n,r)=>{const s={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"||e==="HEAD"||!r?J(J({},s),n):(N6(r)?(s.headers=J({"Content-Type":"application/json"},t==null?void 0:t.headers),s.body=JSON.stringify(r)):s.body=r,t!=null&&t.duplex&&(s.duplex=t.duplex),J(J({},s),n))};async function ua(e,t,n,r,s,i,o){return new Promise((l,c)=>{e(n,M6(t,r,s,i)).then(u=>{if(!u.ok)throw u;if(r!=null&&r.noResolveJson)return u;if(o==="vectors"){const d=u.headers.get("content-type");if(!d||!d.includes("application/json"))return{}}return u.json()}).then(u=>l(u)).catch(u=>D6(u,c,r,o))})}function L6(e="storage"){return{get:async(t,n,r,s)=>ua(t,"GET",n,r,s,void 0,e),post:async(t,n,r,s,i)=>ua(t,"POST",n,s,i,r,e),put:async(t,n,r,s,i)=>ua(t,"PUT",n,s,i,r,e),head:async(t,n,r,s)=>ua(t,"HEAD",n,J(J({},r),{},{noResolveJson:!0}),s,void 0,e),remove:async(t,n,r,s,i)=>ua(t,"DELETE",n,s,i,r,e)}}const $6=L6("storage"),{get:pl,post:Ce,put:fm,head:F6,remove:Ty}=$6;var Go=class{constructor(e,t={},n,r="storage"){this.shouldThrowOnError=!1,this.url=e,this.headers=t,this.fetch=A6(n),this.namespace=r}throwOnError(){return this.shouldThrowOnError=!0,this}async handleOperation(e){var t=this;try{return{data:await e(),error:null}}catch(n){if(t.shouldThrowOnError)throw n;if(Ed(n))return{data:null,error:n};throw n}}},B6=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t}then(e,t){return this.execute().then(e,t)}async execute(){var e=this;try{return{data:(await e.downloadFn()).body,error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(Ed(t))return{data:null,error:t};throw t}}};let CT;CT=Symbol.toStringTag;var W6=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[
291CT]="BlobDownloadBuilder",this.promise=null}asStream(){return new B6(this.downloadFn,this.shouldThrowOnError)}then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var e=this;try{return{data:await(await e.downloadFn()).blob(),error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(Ed(t))return{data:null,error:t};throw t}}};const U6={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},R0={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};var V6=class extends Go{constructor(e,t={},n,r){super(e,t,r,"storage"),this.bucketId=n}async uploadOrUpdate(e,t,n,r){var s=this;return s.handleOperation(async()=>{let i;const o=J(J({},R0),r);let l=J(J({},s.headers),e==="POST"&&{"x-upsert":String(o.upsert)});const c=o.metadata;typeof Blob<"u"&&n instanceof Blob?(i=new FormData,i.append("cacheControl",o.cacheControl),c&&i.append("metadata",s.encodeMetadata(c)),i.append("",n)):typeof FormData<"u"&&n instanceof FormData?(i=n,i.has("cacheControl")||i.append("cacheControl",o.cacheControl),c&&!i.has("metadata")&&i.append("metadata",s.encodeMetadata(c))):(i=n,l["cache-control"]=`max-age=${o.cacheControl}`,l["content-type"]=o.contentType,c&&(l["x-metadata"]=s.toBase64(s.encodeMetadata(c))),(typeof ReadableStream<"u"&&i instanceof ReadableStream||i&&typeof i=="object"&&"pipe"in i&&typeof i.pipe=="function")&&!o.duplex&&(o.duplex="half")),r!=null&&r.headers&&(l=J(J({},l),r.headers));const u=s._removeEmptyFolders(t),d=s._getFinalPath(u),h=await(e=="PUT"?fm:Ce)(s.fetch,`${s.url}/object/${d}`,i,J({headers:l},o!=null&&o.duplex?{duplex:o.duplex}:{}));return{path:u,id:h.Id,fullPath:h.Key}})}async upload(e,t,n){return this.uploadOrUpdate("POST",e,t,n)}async uploadToSignedUrl(e,t,n,r){var s=this;const i=s._removeEmptyFolders(e),o=s._getFinalPath(i),l=new URL(s.url+`/object/upload/sign/${o}`);return l.searchParams.set("token",t),s.handleOperation(async()=>{let c;const u=J({upsert:R0.upsert},r),d=J(J({},s.headers),{"x-upsert":String(u.upsert)});return typeof Blob<"u"&&n instanceof Blob?(c=new FormData,c.append("cacheControl",u.cacheControl),c.append("",n)):typeof FormData<"u"&&n instanceof FormData?(c=n,c.append("cacheControl",u.cacheControl)):(c=n,d["cache-control"]=`max-age=${u.cacheControl}`,d["content-type"]=u.contentType),{path:i,fullPath:(await fm(s.fetch,l.toString(),c,{headers:d})).Key}})}async createSignedUploadUrl(e,t){var n=this;return n.handleOperation(async()=>{let r=n._getFinalPath(e);const s=J({},n.headers);t!=null&&t.upsert&&(s["x-upsert"]="true");const i=await Ce(n.fetch,`${n.url}/object/upload/sign/${r}`,{},{headers:s}),o=new URL(n.url+i.url),l=o.searchParams.get("token");if(!l)throw new _d("No token returned by API");return{signedUrl:o.toString(),path:e,token:l}})}async update(e,t,n){return this.uploadOrUpdate("PUT",e,t,n)}async move(e,t,n){var r=this;return r.handleOperation(async()=>await Ce(r.fetch,`${r.url}/object/move`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,de
291stinationBucket:n==null?void 0:n.destinationBucket},{headers:r.headers}))}async copy(e,t,n){var r=this;return r.handleOperation(async()=>({path:(await Ce(r.fetch,`${r.url}/object/copy`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,destinationBucket:n==null?void 0:n.destinationBucket},{headers:r.headers})).Key}))}async createSignedUrl(e,t,n){var r=this;return r.handleOperation(async()=>{let s=r._getFinalPath(e),i=await Ce(r.fetch,`${r.url}/object/sign/${s}`,J({expiresIn:t},n!=null&&n.transform?{transform:n.transform}:{}),{headers:r.headers});const o=n!=null&&n.download?`&download=${n.download===!0?"":n.download}`:"";return{signedUrl:encodeURI(`${r.url}${i.signedURL}${o}`)}})}async createSignedUrls(e,t,n){var r=this;return r.handleOperation(async()=>{const s=await Ce(r.fetch,`${r.url}/object/sign/${r.bucketId}`,{expiresIn:t,paths:e},{headers:r.headers}),i=n!=null&&n.download?`&download=${n.download===!0?"":n.download}`:"";return s.map(o=>J(J({},o),{},{signedUrl:o.signedURL?encodeURI(`${r.url}${o.signedURL}${i}`):null}))})}download(e,t){const n=typeof(t==null?void 0:t.transform)<"u"?"render/image/authenticated":"object",r=this.transformOptsToQueryString((t==null?void 0:t.transform)||{}),s=r?`?${r}`:"",i=this._getFinalPath(e),o=()=>pl(this.fetch,`${this.url}/${n}/${i}${s}`,{headers:this.headers,noResolveJson:!0});return new W6(o,this.shouldThrowOnError)}async info(e){var t=this;const n=t._getFinalPath(e);return t.handleOperation(async()=>hm(await pl(t.fetch,`${t.url}/object/info/${n}`,{headers:t.headers})))}async exists(e){var t=this;const n=t._getFinalPath(e);try{return await F6(t.fetch,`${t.url}/object/${n}`,{headers:t.headers}),{data:!0,error:null}}catch(r){if(t.shouldThrowOnError)throw r;if(Ed(r)&&r instanceof TT){const s=r.originalError;if([400,404].includes(s==null?void 0:s.status))return{data:!1,error:r}}throw r}}getPublicUrl(e,t){const n=this._getFinalPath(e),r=[],s=t!=null&&t.download?`download=${t.download===!0?"":t.download}`:"";s!==""&&r.push(s);const i=typeof(t==null?void 0:t.transform)<"u"?"render/image":"object",o=this.transformOptsToQueryString((t==null?void 0:t.transform)||{});o!==""&&r.push(o);let l=r.join("&");return l!==""&&(l=`?${l}`),{data:{publicUrl:encodeURI(`${this.url}/${i}/public/${n}${l}`)}}}async remove(e){var t=this;return t.handleOperation(async()=>await Ty(t.fetch,`${t.url}/object/${t.bucketId}`,{prefixes:e},{headers:t.headers}))}async list(e,t,n){var r=this;return r.handleOperation(async()=>{const s=J(J(J({},U6),t),{},{prefix:e||""});return await Ce(r.fetch,`${r.url}/object/list/${r.bucketId}`,s,{headers:r.headers},n)})}async listV2(e,t){var n=this;return n.handleOperation(async()=>{const r=J({},e);return await Ce(n.fetch,`${n.url}/object/list-v2/${n.bucketId}`,r,{headers:n.headers},t)})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e.replace(/^\/+/,"")}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(e){const t=[];return e.width&&t.push(`width=${e.width}`),e.height&&t.push(`height=${e.height}`),e.resize&&t.push(`resize=${e.resize}`),e.format&&t.push(`format=${e.format}`),e.quality&&t.push(`quality=${e.quality}`),t.join("&")}};const H6="2.93.2",$l={"X-Client-Info":`storage-js/${H6}`};var z6=class extends Go{constructor(e,t={},n,r){const s=new URL(e);r!=null&&r.useNewHostname&&/supabase\.(co|in|red)$/.test(s.hostname)&&!s.hostname.includes("storage.supabase.")&&(s.hostname=s.hostname.replace("supabase.","storage.supabase."));const i=s.href.replace(/\/$/,""),o=J(J({},$l),t);super(i,o,n,"storage")}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=t.listBucketOptionsToQueryString(e);return await pl(t.fetch,`${t.url}/bucket${n}`,{headers:t.headers})})}async getBucket(e){var t=this;return t.handleOperation(async()=>await pl(t.fetch,`${t.url}/bucket/${e}`,{headers:t.headers}))}async createBucket(e,t={public:!1}){var n=this;return n.handleOperation(async()=>await Ce(n.fetch,`${n.url}/bucket`,{id:e,name:e,type:t.type,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async updateBucket(e,t){var n=this;return n.handleOperation(async()=>await fm(n.fetch,`${n.url}/bucket/${e}`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async emptyBucket(e){var t=this;return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/bucket/${e}/empty`,{},{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Ty(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}listBucketOptionsToQueryString(e){const t={};return e&&("limit"in e&&(t.limit=String(e.limit)),"offset"in e&&(t.offset=String(e.offset)),e.search&&(t.search=e.search),e.sortColumn&&(t.sortColumn=e.sortColumn),e.sortOrder&&(t.sortOrder=e.sortOrder)),Object.keys(t).length>0?"?"+new URLSearchParams(t).toString():""}},q6=class extends Go{constructor(e,t={},n){const r=e.replace(/\/$/,""),s=J(J({},$l),t);super(r,s,n,"storage")}async createBucket(e){var t=this;return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/bucket`,{name:e},{headers:t.headers}))}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=new URLSearchParams;(e==null?void 0:e.limit)!==void 0&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString()),e!=null&&e.sortColumn&&n.set("sortColumn",e.sortColumn),e!=null&&e.sortOrder&&n.set("sortOrder",e.sortOrder),e!=null&&e.search&&n.set("search",e.search);const r=n.toString(),s=r?`${t.url}/bucket?${r}`:`${t.url}/bucket`;return await pl(t.fetch,s,{headers:t.headers})})}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Ty(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}from(e){var t=this;if(!P6(e))throw new _d("Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.");const n=new E6({baseUrl:this.url,catalogName:e,auth:{type:"custom",getHeaders:async()=>t.headers},fetch:this.fetch}
291),r=this.shouldThrowOnError;return new Proxy(n,{get(s,i){const o=s[i];return typeof o!="function"?o:async(...l)=>{try{return{data:await o.apply(s,l),error:null}}catch(c){if(r)throw c;return{data:null,error:c}}}}})}},K6=class extends Go{constructor(e,t={},n){const r=e.replace(/\/$/,""),s=J(J({},$l),{},{"Content-Type":"application/json"},t);super(r,s,n,"vectors")}async createIndex(e){var t=this;return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/CreateIndex`,e,{headers:t.headers})||{})}async getIndex(e,t){var n=this;return n.handleOperation(async()=>await Ce(n.fetch,`${n.url}/GetIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers}))}async listIndexes(e){var t=this;return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/ListIndexes`,e,{headers:t.headers}))}async deleteIndex(e,t){var n=this;return n.handleOperation(async()=>await Ce(n.fetch,`${n.url}/DeleteIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers})||{})}},G6=class extends Go{constructor(e,t={},n){const r=e.replace(/\/$/,""),s=J(J({},$l),{},{"Content-Type":"application/json"},t);super(r,s,n,"vectors")}async putVectors(e){var t=this;if(e.vectors.length<1||e.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/PutVectors`,e,{headers:t.headers})||{})}async getVectors(e){var t=this;return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/GetVectors`,e,{headers:t.headers}))}async listVectors(e){var t=this;if(e.segmentCount!==void 0){if(e.segmentCount<1||e.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");if(e.segmentIndex!==void 0&&(e.segmentIndex<0||e.segmentIndex>=e.segmentCount))throw new Error(`segmentIndex must be between 0 and ${e.segmentCount-1}`)}return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/ListVectors`,e,{headers:t.headers}))}async queryVectors(e){var t=this;return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/QueryVectors`,e,{headers:t.headers}))}async deleteVectors(e){var t=this;if(e.keys.length<1||e.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/DeleteVectors`,e,{headers:t.headers})||{})}},Y6=class extends Go{constructor(e,t={},n){const r=e.replace(/\/$/,""),s=J(J({},$l),{},{"Content-Type":"application/json"},t);super(r,s,n,"vectors")}async createBucket(e){var t=this;return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/CreateVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}async getBucket(e){var t=this;return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/GetVectorBucket`,{vectorBucketName:e},{headers:t.headers}))}async listBuckets(e={}){var t=this;return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/ListVectorBuckets`,e,{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Ce(t.fetch,`${t.url}/DeleteVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}},J6=class extends Y6{constructor(e,t={}){super(e,t.headers||{},t.fetch)}from(e){return new Q6(this.url,this.headers,e,this.fetch)}async createBucket(e){var t=()=>super.createBucket,n=this;return t().call(n,e)}async getBucket(e){var t=()=>super.getBucket,n=this;return t().call(n,e)}async listBuckets(e={}){var t=()=>super.listBuckets,n=this;return t().call(n,e)}async deleteBucket(e){var t=()=>super.deleteBucket,n=this;return t().call(n,e)}},Q6=class extends K6{constructor(e,t,n,r){super(e,t,r),this.vectorBucketName=n}async createIndex(e){var t=()=>super.createIndex,n=this;return t().call(n,J(J({},e),{},{vectorBucketName:n.vectorBucketName}))}async listIndexes(e={}){var t=()=>super.listIndexes,n=this;return t().call(n,J(J({},e),{},{vectorBucketName:n.vectorBucketName}))}async getIndex(e){var t=()=>super.getIndex,n=this;return t().call(n,n.vectorBucketName,e)}async deleteIndex(e){var t=()=>super.deleteIndex,n=this;return t().call(n,n.vectorBucketName,e)}index(e){return new X6(this.url,this.headers,this.vectorBucketName,e,this.fetch)}}
291,X6=class extends G6{constructor(e,t,n,r,s){super(e,t,s),this.vectorBucketName=n,this.indexName=r}async putVectors(e){var t=()=>super.putVectors,n=this;return t().call(n,J(J({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async getVectors(e){var t=()=>super.getVectors,n=this;return t().call(n,J(J({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async listVectors(e={}){var t=()=>super.listVectors,n=this;return t().call(n,J(J({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async queryVectors(e){var t=()=>super.queryVectors,n=this;return t().call(n,J(J({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async deleteVectors(e){var t=()=>super.deleteVectors,n=this;return t().call(n,J(J({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}},Z6=class extends z6{constructor(e,t={},n,r){super(e,t,n,r)}from(e){return new V6(this.url,this.headers,e,this.fetch)}get vectors(){return new J6(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new q6(this.url+"/iceberg",this.headers,this.fetch)}};const _T="2.93.2",_i=30*1e3,pm=3,Kh=pm*_i,e8="http://localhost:9999",t8="supabase.auth.token",n8={"X-Client-Info":`gotrue-js/${_T}`},mm="X-Supabase-Api-Version",ET={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},r8=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,s8=10*60*1e3;class ml extends Error{constructor(t,n,r){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=r}}function H(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class i8 extends ml{constructor(t,n,r){super(t,n,r),this.name="AuthApiError",this.status=n,this.code=r}}function o8(e){return H(e)&&e.name==="AuthApiError"}class _s extends ml{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class dr extends ml{constructor(t,n,r,s){super(t,r,s),this.name=n,this.status=r}}class Nt extends dr{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function Gh(e){return H(e)&&e.name==="AuthSessionMissingError"}class vi extends dr{constructor(){super("Auth session or user missing","AuthInvalidToken
291ResponseError",500,void 0)}}class kc extends dr{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class Sc extends dr{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function a8(e){return H(e)&&e.name==="AuthImplicitGrantRedirectError"}class I0 extends dr{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class l8 extends dr{constructor(){super("PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.","AuthPKCECodeVerifierMissingError",400,"pkce_code_verifier_not_found")}}class gm extends dr{constructor(t,n){super(t,"AuthRetryableFetchError",n,void 0)}}function Yh(e){return H(e)&&e.name==="AuthRetryableFetchError"}class O0 extends dr{constructor(t,n,r){super(t,"AuthWeakPasswordError",n,"weak_password"),this.reasons=r}}class ym extends dr{constructor(t){super(t,"AuthInvalidJwtError",400,"invalid_jwt")}}const Vu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),D0=` 	
292\r=`.split(""),c8=(()=>{const e=new Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<D0.length;t+=1)e[D0[t].charCodeAt(0)]=-2;for(let t=0;t<Vu.length;t+=1)e[Vu[t].charCodeAt(0)]=t;return e})();function M0(e,t,n){if(e!==null)for(t.queue=t.queue<<8|e,t.queuedBits+=8;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(Vu[r]),t.queuedBits-=6}else if(t.queuedBits>0)for(t.queue=t.queue<<6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(Vu[r]),t.queuedBits-=6}}function AT(e,t,n){const r=c8[e];if(r>-1)for(t.queue=t.queue<<6|r,t.queuedBits+=6;t.queuedBits>=8;)n(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else{if(r===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function L0(e){const t=[],n=o=>{t.push(String.fromCodePoint(o))},r={utf8seq:0,codepoint:0},s={queue:0,queuedBits:0},i=o=>{h8(o,r,n)};for(let o=0;o<e.length;o+=1)AT(e.charCodeAt(o),s,i);return t.join("")}function u8(e,t){if(e<=127){t(e);return}else if(e<=2047){t(192|e>>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function d8(e,t){for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(r>55295&&r<=56319){const s=(r-55296)*1024&65535;r=(e.charCodeAt(n+1)-56320&65535|s)+65536,n+=1}u8(r,t)}}function h8(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let r=1;r<6;r+=1)if(!(e>>7-r&1)){t.utf8seq=r;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&n(t.codepoint)}}function so(e){const t=[],n={queue:0,queuedBits:0},r=s=>{t.push(s)};for(let s=0;s<e.length;s+=1)AT(e.charCodeAt(s),n,r);return new Uint8Array(t)}function f8(e){const t=[];return d8(e,n=>t.push(n)),new Uint8Array(t)}function Is(e){const t=[],n={queue:0,queuedBits:0},r=s=>{t.push(s)};return e.forEach(s=>M0(s,n,r)),M0(null,n,r),t.join("")}function p8(e){return Math.round(Date.now()/1e3)+e}function m8(){return Symbol("auth-callback")}const tt=()=>typeof window<"u"&&typeof document<"u",ws={tested:!1,writable:!1},NT=()=>{if(!tt())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(ws.tested)return ws.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),ws.tested=!0,ws.writable=!0}catch{ws.tested=!0,ws.writable=!1}return ws.writable};function g8(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEac
292h((s,i)=>{t[i]=s})}catch{}return n.searchParams.forEach((r,s)=>{t[s]=r}),t}const PT=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),y8=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",Ei=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},xs=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return n}},et=async(e,t)=>{await e.removeItem(t)};class Ad{constructor(){this.promise=new Ad.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}Ad.promiseConstructor=Promise;function jc(e){const t=e.split(".");if(t.length!==3)throw new ym("Invalid JWT structure");for(let r=0;r<t.length;r++)if(!r8.test(t[r]))throw new ym("JWT not in base64url format");return{header:JSON.parse(L0(t[0])),payload:JSON.parse(L0(t[1])),signature:so(t[2]),raw:{header:t[0],payload:t[1]}}}async function v8(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function w8(e,t){return new Promise((r,s)=>{(async()=>{for(let i=0;i<1/0;i++)try{const o=await e(i);if(!t(i,null,o)){r(o);return}}catch(o){if(!t(i,o)){s(o);return}}})()})}function x8(e){return("0"+e.toString(16)).substr(-2)}function b8(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let s="";for(let i=0;i<56;i++)s+=n.charAt(Math.floor(Math.random()*r));return s}return crypto.getRandomValues(t),Array.from(t,x8).join("")}async function k8(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),s=new Uint8Array(r);return Array.from(s).map(i=>String.fromCharCode(i)).join("")}async function S8(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const n=await k8(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function wi(e,t,n=!1){const r=b8();let s=r;n&&(s+="/PASSWORD_RECOVERY"),await Ei(e,`${t}-code-verifier`,s);const i=await S8(r);return[i,r===i?"plain":"s256"]}const j8=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function T8(e){const t=e.headers.get(mm);if(!t||!t.match(j8))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function C8(e){if(!e)throw new Error("Missing exp claim");const t=Math.floor(Date.now()/1e3);if(e<=t)throw new Error("JWT has expired")}function _8(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const E8=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function xi(e){if(!E8.test(e))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function Jh(){const e={};return new Proxy(e,{get:(t,n)=>{if(n==="__isUserNotAvailableProxy")return!0;if(typeof n=="symbol"){const r=n.toString();if(r==="Symbol(Symbol.toPrimitive)"||r==="Symbol(Symbol.toStringTag)"||r==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${n}" property of the session object is not supported. Please use getUser() instead.`)},set:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function A8(e,t){return new Proxy(e,{get:(n,r,s)=>{if(r==="__isInsecureUserWarningProxy")return!0;if(typeof r=="symbol"){const i=r.toString();if(i==="Symbol(Symbol.toPrimitive)"||i==="Symbol(Symbol.toStringTag)"||i==="Symbol(util.inspect.custom)"||i==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(n,r,s)}return!t.value&&typeof r=="string"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),t.value=!0),Reflect.get(n,r,s)}})}function $0(e){return JSON.parse(JSON.stringify(e))}const js=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),N8=[502,503,504];async function F0(e){var t;if(!y8(e))throw new gm(js(e),0);if(N8.includes(e.status))throw new gm(js(e),e.status);let n;try{n=await e.json()}catch(i){throw new _s(js(i),i)}let r;const s=T8(e);
292if(s&&s.getTime()>=ET["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?r=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(r=n.error_code),r){if(r==="weak_password")throw new O0(js(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(r==="session_not_found")throw new Nt}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((i,o)=>i&&typeof o=="string",!0))throw new O0(js(n),e.status,n.weak_password.reasons);throw new i8(js(n),e.status||500,r)}const P8=(e,t,n,r)=>{const s={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?s:(s.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t==null?void 0:t.headers),s.body=JSON.stringify(r),Object.assign(Object.assign({},s),n))};async function Y(e,t,n,r){var s;const i=Object.assign({},r==null?void 0:r.headers);i[mm]||(i[mm]=ET["2024-01-01"].name),r!=null&&r.jwt&&(i.Authorization=`Bearer ${r.jwt}`);const o=(s=r==null?void 0:r.query)!==null&&s!==void 0?s:{};r!=null&&r.redirectTo&&(o.redirect_to=r.redirectTo);const l=Object.keys(o).length?"?"+new URLSearchParams(o).toString():"",c=await R8(e,t,n+l,{headers:i,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(c):{data:Object.assign({},c),error:null}}async function R8(e,t,n,r,s,i){const o=P8(t,r,s,i);let l;try{l=await e(n,Object.assign({},o))}catch(c){throw console.error(c),new gm(js(c),0)}if(l.ok||await F0(l),r!=null&&r.noResolveJson)return l;try{return await l.json()}catch(c){await F0(c)}}function on(e){var t;let n=null;D8(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=p8(e.expires_in)));const r=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:n,user:r},error:null}}function B0(e){const t=on(e);return!t.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((n,r)=>n&&typeof r=="string",!0)&&(t.data.weak_password=e.weak_password),t}function Rr(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function I8(e){return{data:e,error:null}}function O8(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:s,verification_type:i}=e,o=Ko(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),l={action_link:t,email_otp:n,hashed_token:r,redirect_to:s,verification_type:i},c=Object.assign({},o);return{data:{properties:l,user:c},error:null}}function W0(e){return e}function D8(e){return e.access_token&&e.refresh_token&&e.expires_in}const Qh=["global","local","others"];class M8{constructor({url:t="",headers:n={},fetch:r}){this.url=t,this.headers=n,this.fetch=PT(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)}}async signOut(t,n=Qh[0]){if(Qh.indexOf(n)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${Qh.join(", ")}`);try{return await Y(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(r){if(H(r))return{data:null,error:r};throw r}}async inviteUserByEmail(t,n={}){try{return await Y(this.fetch,"POST",`${this.url}/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:Rr})}catch(r){if(H(r))return{data:{user:null},error:r};throw r}}async generateLink(t){try{const{options:n}=t,r=Ko(t,["options"]),s=Object.assign(Object.assign({},r),n);return"newEmail"in r&&(s.new_email=r==null?void 0:r.newEmail,delete s.newEmail),await Y(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:s,headers:this.headers,xform:O8,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(H(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await Y(this.fetch,"POST",`${this.url}/admin/users`,{body:t,headers:this.headers,xform:Rr})}catch(n){if(H(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,r,s,i,o,l,c;try{const u={nextPage:null,lastPage:0,total:0},d=await Y(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(i=(s=t==null?void 0:t.perPage)===null||s===void 0?void 0:s.toString())!==null&&i!==void 0?i:""},xform:W0});if(d.error)throw d.error;const h=await d.json(),f=(o=d.headers.get("x-total-count"))!==null&&o!==void 0?o:0,p=(c=(l=d.headers.get("link"))===null||l===void 0?void 0:l.split(","))!==null&&c!==void 0?c:[];return p.length>
2920&&(p.forEach(x=>{const m=parseInt(x.split(";")[0].split("=")[1].substring(0,1)),v=JSON.parse(x.split(";")[1].split("=")[1]);u[`${v}Page`]=m}),u.total=parseInt(f)),{data:Object.assign(Object.assign({},h),u),error:null}}catch(u){if(H(u))return{data:{users:[]},error:u};throw u}}async getUserById(t){xi(t);try{return await Y(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:Rr})}catch(n){if(H(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){xi(t);try{return await Y(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:Rr})}catch(r){if(H(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){xi(t);try{return await Y(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:Rr})}catch(r){if(H(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){xi(t.userId);try{const{data:n,error:r}=await Y(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:s=>({data:{factors:s},error:null})});return{data:n,error:r}}catch(n){if(H(n))return{data:null,error:n};throw n}}async _deleteFactor(t){xi(t.userId),xi(t.id);try{return{data:await Y(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(H(n))return{data:null,error:n};throw n}}async _listOAuthClients(t){var n,r,s,i,o,l,c;try{const u={nextPage:null,lastPage:0,total:0},d=await Y(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(i=(s=t==null?void 0:t.perPage)===null||s===void 0?void 0:s.toString())!==null&&i!==void 0?i:""},xform:W0});if(d.error)throw d.error;const h=await d.json(),f=(o=d.headers.get("x-total-count"))!==null&&o!==void 0?o:0,p=(c=(l=d.headers.get("link"))===null||l===void 0?void 0:l.split(","))!==null&&c!==void 0?c:[];return p.length>0&&(p.forEach(x=>{const m=parseInt(x.split(";")[0].split("=")[1].substring(0,1)),v=JSON.parse(x.split(";")[1].split("=")[1]);u[`${v}Page`]=m}),u.total=parseInt(f)),{data:Object.assign(Object.assign({},h),u),error:null}}catch(u){if(H(u))return{data:{clients:[]},error:u};throw u}}async _createOAuthClient(t){try{return await Y(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(H(n))return{data:null,error:n};throw n}}async _getOAuthClient(t){try{return await Y(this.fetch,"GET",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(H(n))return{data:null,error:n};throw n}}async _updateOAuthClient(t,n){try{return await Y(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${t}`,{body:n,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(H(r))return{data:null,error:r};throw r}}async _deleteOAuthClient(t){try{return await Y(this.fetch,"DELETE",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(H(n))return{data:null,error:n};throw n}}async _regenerateOAuthClientSecret(t){try{return await Y(this.fetch,"POST",`${this.url}/admin/oauth/clients/${t}/regenerate_secret`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(H(n))return{data:null,error:n};throw n}}}function U0(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}const bi={debug:!!(globalThis&&NT()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class RT extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}class L8 extends RT{}async function $8(e,t,n){bi.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);const r=new globalThis.AbortController;return t>0&&setTimeout(()=>{r.abort(),bi.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},t),await Promise.resolve().then(()=>globalThis.navigator.locks.request(e,t===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:r.signal},async s=>{if(s){bi.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,s.name);try{return await n()}finally{bi.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,s.name)}}else{if(t===0)throw bi.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new L8(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(bi.debug)try{const i=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(i,null,"  "))}catch(i){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",i)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await n()}}))}function F8(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function IT(e){if(!/^0x[a-fA-F0-9]{40}$/.test(e))throw new Error(`@supabase/auth-js: Address "${e}
292" is invalid.`);return e.toLowerCase()}function B8(e){return parseInt(e,16)}function W8(e){const t=new TextEncoder().encode(e);return"0x"+Array.from(t,r=>r.toString(16).padStart(2,"0")).join("")}function U8(e){var t;const{chainId:n,domain:r,expirationTime:s,issuedAt:i=new Date,nonce:o,notBefore:l,requestId:c,resources:u,scheme:d,uri:h,version:f}=e;{if(!Number.isInteger(n))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${n}`);if(!r)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(o&&o.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${o}`);if(!h)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(f!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${f}`);if(!((t=e.statement)===null||t===void 0)&&t.includes(`
293`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${e.statement}`)}const p=IT(e.address),x=d?`${d}://${r}`:r,m=e.statement?`${e.statement}
294`:"",v=`${x} wants you to sign in with your Ethereum account:
295${p}
296
297${m}`;let g=`URI: ${h}
298Version: ${f}
299Chain ID: ${n}${o?`
300Nonce: ${o}`:""}
301Issued At: ${i.toISOString()}`;if(s&&(g+=`
302Expiration Time: ${s.toISOString()}`),l&&(g+=`
303Not Before: ${l.toISOString()}`),c&&(g+=`
304Request ID: ${c}`),u){let y=`
305Resources:`;for(const b of u){if(!b||typeof b!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${b}`);y+=`
306- ${b}`}g+=y}return`${v}
307${g}`}class He extends Error{constructor({message:t,code:n,cause:r,name:s}){var i;super(t,{cause:r}),this.__isWebAuthnError=!0,this.name=(i=s??(r instanceof Error?r.name:void 0))!==null&&i!==void 0?i:"Unknown Error",this.code=n}}class Hu extends He{constructor(t,n){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:n,message:t}),this.name="WebAuthnUnknownError",this.originalError=n}}function V8({error:e,options:t}){var n,r,s;const{publicKey:i}=t;if(!i)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new He({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(((n=i.authenticatorSelection)===null||n===void 0?void 0:n.requireResidentKey)===!0)return new He({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(t.mediation==="conditional"&&((r=i.authenticatorSelection)===null||r===void 0?void 0:r.userVerification)==="required")return new He({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(((s=i.authenticatorSelection)===null||s===void 0?void 0:s.userVerification)==="required")return new He({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new He({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new He({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return i.pubKeyCredParams.filter(l=>l.type==="public-key").length===0?new He({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new He({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const o=window.location.hostname;if(OT(o)){if(i.rp.id!==o)return new He({message:`The RP ID "${i.rp.id}
307" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new He({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(i.user.id.byteLength<1||i.user.id.byteLength>64)return new He({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new He({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new He({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}function H8({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new He({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new He({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const r=window.location.hostname;if(OT(r)){if(n.rpId!==r)return new He({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new He({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new He({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new He({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}class z8{createNewAbortSignal(){if(this.controller){const n=new Error("Cancelling existing WebAuthn API call for new one");n.name="AbortError",this.controller.abort(n)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}}const q8=new z8;function K8(e){if(!e)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(e);const{challenge:t,user:n,excludeCredentials:r}=e,s=Ko(e,["challenge","user","excludeCredentials"]),i=so(t).buffer,o=Object.assign(Object.assign({},n),{id:so(n.id).buffer}),l=Object.assign(Object.assign({},s),{challenge:i,user:o});if(r&&r.length>0){l.excludeCredentials=new Array(r.length);for(let c=0;c<r.length;c++){const u=r[c];l.excludeCredentials[c]=Object.assign(Object.assign({},u),{id:so(u.id).buffer,type:u.type||"public-key",transports:u.transports})}}return l}function G8(e){if(!e)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(e);const{challenge:t,allowCredentials:n}=e,r=Ko(e,["challenge","allowCredentials"]),s=so(t).buffer,i=Object.assign(Object.assign({},r),{challenge:s});if(n&&n.length>0){i.allowCredentials=new Array(n.length);for(let o=0;o<n.length;o++){const l=n[o];i.allowCredentials[o]=Object.assign(Object.assign({},l),{id:so(l.id).buffer,type:l.type||"public-key",transports:l.transports})}}return i}function Y8(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e;return{id:e.id,rawId:e.id,response:{attestationObject:Is(new Uint8Array(e.response.attestationObject)),clientDataJSON:Is(new Uint8Array(e.response.clientDataJSON))},type:"public-key",clientExtensionResults:e.getClientExtensionResults(),authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function J8(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e,r=e.getClientExtensionResults(),s=e.response;return{id:e.id,rawId:e.id,response:{authenticatorData:Is(new Uint8Array(s.authenticatorData)),clientDataJSON:Is(new Uint8Array(s.clientDataJSON)),signature:Is(new Uint8Array(s.signature)),userHandle:s.userHandle?Is(new Uint8Array(s.userHandle)):void 0},type:"public-key",clientExtensionResults:r,authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function OT(e){return e==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}function V0(){var e,t;return!!(tt()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((e=navigator==null?void 0:navigator.credentials)===null||e===void 0?void 0:e.create)=="function"&&typeof((t=navigator==null?void 0:navigator.credentials)===null||t===void 0?void 0:t.get)=="function")}async function Q8(e){try{const t=await navigator.credentials.create(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Hu("Browser returned unexpected credential type",t)}:{data:null,error:new Hu("Empty credential response",t)}}
307catch(t){return{data:null,error:V8({error:t,options:e})}}}async function X8(e){try{const t=await navigator.credentials.get(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Hu("Browser returned unexpected credential type",t)}:{data:null,error:new Hu("Empty credential response",t)}}catch(t){return{data:null,error:H8({error:t,options:e})}}}const Z8={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"direct"},eF={userVerification:"preferred",hints:["security-key"],attestation:"direct"};function zu(...e){const t=s=>s!==null&&typeof s=="object"&&!Array.isArray(s),n=s=>s instanceof ArrayBuffer||ArrayBuffer.isView(s),r={};for(const s of e)if(s)for(const i in s){const o=s[i];if(o!==void 0)if(Array.isArray(o))r[i]=o;else if(n(o))r[i]=o;else if(t(o)){const l=r[i];t(l)?r[i]=zu(l,o):r[i]=zu(o)}else r[i]=o}return r}function tF(e,t){return zu(Z8,e,t||{})}function nF(e,t){return zu(eF,e,t||{})}class rF{constructor(t){this.client=t,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(t){return this.client.mfa.enroll(Object.assign(Object.assign({},t),{factorType:"webauthn"}))}async _challenge({factorId:t,webauthn:n,friendlyName:r,signal:s},i){try{const{data:o,error:l}=await this.client.mfa.challenge({factorId:t,webauthn:n});if(!o)return{data:null,error:l};const c=s??q8.createNewAbortSignal();if(o.webauthn.type==="create"){const{user:u}=o.webauthn.credential_options.publicKey;u.name||(u.name=`${u.id}:${r}`),u.displayName||(u.displayName=u.name)}switch(o.webauthn.type){case"create":{const u=tF(o.webauthn.credential_options.publicKey,i==null?void 0:i.create),{data:d,error:h}=await Q8({publicKey:u,signal:c});return d?{data:{factorId:t,challengeId:o.id,webauthn:{type:o.webauthn.type,credential_response:d}},error:null}:{data:null,error:h}}case"request":{const u=nF(o.webauthn.credential_options.publicKey,i==null?void 0:i.request),{data:d,error:h}=await X8(Object.assign(Object.assign({},o.webauthn.credential_options),{publicKey:u,signal:c}));return d?{data:{factorId:t,challengeId:o.id,webauthn:{type:o.webauthn.type,credential_response:d}},error:null}:{data:null,error:h}}}}catch(o){return H(o)?{data:null,error:o}:{data:null,error:new _s("Unexpected error in challenge",o)}}}async _verify({challengeId:t,factorId:n,webauthn:r}){return this.client.mfa.verify({factorId:n,challengeId:t,webauthn:r})}async _authenticate({factorId:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:s}={}},i){if(!n)return{data:null,error:new ml("rpId is required for WebAuthn authentication")};try{if(!V0())return{data:null,error:new _s("Browser does not support WebAuthn",null)};const{data:o,error:l}=await this.challenge({factorId:t,webauthn:{rpId:n,rpOrigins:r},signal:s},{request:i});if(!o)return{data:null,error:l};const{webauthn:c}=o;return this._verify({factorId:t,challengeId:o.challengeId,webauthn:{type:c.type,rpId:n,rpOrigins:r,credential_response:c.credential_response}})}catch(o){return H(o)?{data:null,error:o}:{data:null,error:new _s("Unexpected error in authenticate",o)}}}async _register({friendlyName:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:s}={}},i){if(!n)return{data:null,error:new ml("rpId is required for WebAuthn registration")};try{if(!V0())return{data:null,error:new _s("Browser does not support WebAuthn",null)};const{data:o,error:l}=await this._enroll({friendlyName:t});if(!o)return await this.client.mfa.listFactors().then(d=>{var h;return(h=d.data)===null||h===void 0?void 0:h.all.find(f=>f.factor_type==="webauthn"&&f.friendly_name===t&&f.status!=="unverified")}).then(d=>d?this.client.mfa.unenroll({factorId:d==null?void 0:d.id}):void 0),{data:null,error:l};const{data:c,error:u}=await this._challenge({factorId:o.id,friendlyName:o.friendly_name,webauthn:{rpId:n,rpOrigins:r},signal:s},{create:i});return c?this._verify({factorId:o.id,challengeId:c.challengeId,webauthn:{rpId:n,rpOrigins:r,type:c.webauthn.type,credential_response:c.webauthn.credential_response}}):{data:null,error:u}}catch(o){return H(o)?{data:null,error:o}:{data:null,error:new _s("Unexpected error in register",o)}}}}F8();const sF={url:e8,storageKey:t8,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:n8,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1,lockAcquireTimeout:1e4};async function H0(e,t,n){return await n()}const ki={};class gl{get jwks(){var t,n;return(n=(t=ki[this.storageKey])===null||t===void 0?void 0:t.jwks)!==null&&n!==void 0?n:{keys:[]}}set jwks(t){ki[this.storageKey]=Object.assign(Object.assign({},ki[this.storageKey]),{jwks:t})}get jwks_cached_at(){var t,n;return(n=(t=ki[this.storageKey])===null||t===void 0?void 0:t.cachedAt)!==null&&n!==void 0?n:Number.MIN_SAFE_INTEGER}set jwks_cached_at(t){ki[this.storageKey]=Object.assign(Object.assign({},ki[this.storageKey]),{cachedAt:t})}constructor(t){var n,r,s;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.autoRefreshTickTimeout=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const i=Object.assign(Object.assign({},sF),t);if(this.storageKey=i.storageKey,this.instanceID=(n=gl.nextInstanceID[this.storageKey])!==null&&n!==void 0?n:0,gl.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!i.debug,typeof i.debug=="function"&&(this.logger=i.debug),this.instanceID>0&&tt()){const o=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(o),this.logDebugMessages&&console.trace(o)}if(this.persistSession=i.persistSession,this.autoRefreshToken=i.autoRefreshToken,this.admin=new M8({url:i.url,headers:i.headers,fetch:i.fetch}),this.url=i.url,this.headers=i.headers,this.fetch=PT(i.fetch),this.lock=i.lock||H0,this.detectSessionInUrl=i.detectSessionInUrl,this.flowType=i.flowType,this.hasCustomAuthorizationHeader=i.hasCustomAuthorizationHeader,this.throwOnError=i.throwOnError,this.lockAcquireTimeout=i.lockAcquireTimeout,i.lock?this.lock=i.lock:this.persistSession&&tt()&&(!((r=globalThis==null?void 0:globalThis.navigator)===null||r===void 0)&&r.locks)?this.lock=$8:this.lock=H0,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new rF(this)}
307,this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.persistSession?(i.storage?this.storage=i.storage:NT()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=U0(this.memoryStorage)),i.userStorage&&(this.userStorage=i.userStorage)):(this.memoryStorage={},this.storage=U0(this.memoryStorage)),tt()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(o){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",o)}(s=this.broadcastChannel)===null||s===void 0||s.addEventListener("message",async o=>{this._debug("received broadcast notification from other tab or client",o);try{await this._notifyAllSubscribers(o.data.event,o.data.session,!1)}catch(l){this._debug("#broadcastChannel","error",l)}})}this.initialize().catch(o=>{this._debug("#initialize()","error",o)})}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(t){if(this.throwOnError&&t&&t.error)throw t.error;return t}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${_T}) ${new Date().toISOString()}`}_debug(...t){return this.logDebugMessages&&this.logger(this._logPrefix(),...t),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(this.lockAcquireTimeout,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var t;try{let n={},r="none";if(tt()&&(n=g8(window.location.href),this._isImplicitGrantCallback(n)?r="implicit":await this._isPKCECallback(n)&&(r="pkce")),tt()&&this.detectSessionInUrl&&r!=="none"){const{data:s,error:i}=await this._getSessionFromURL(n,r);if(i){if(this._debug("#_initialize()","error detecting session from URL",i),a8(i)){const c=(t=i.details)===null||t===void 0?void 0:t.code;if(c==="identity_already_exists"||c==="identity_not_found"||c==="single_identity_not_deletable")return{error:i}}return{error:i}}const{session:o,redirectType:l}=s;return this._debug("#_initialize()","detected session in URL",o,"redirect type",l),await this._saveSession(o),setTimeout(async()=>{l==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",o):await this._notifyAllSubscribers("SIGNED_IN",o)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return H(n)?this._returnResult({error:n}):this._returnResult({error:new _s("Unexpected error during initialization",n)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var n,r,s;try{const i=await Y(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(r=(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:(s=t==null?void 0:t.options)===null||s===void 0?void 0:s.captchaToken}},xform:on}),{data:o,error:l}=i;if(l||!o)return this._returnResult({data:{user:null,session:null},error:l});const c=o.session,u=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",c)),this._returnResult({data:{user:u,session:c},error:null})}catch(i){if(H(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signUp(t){var n,r,s;try{let i;if("email"in t){const{email:d,password:h,options:f}=t;let p=null,x=null;this.flowType==="pkce"&&([p,x]=await wi(this.storage,this.storageKey)),i=await Y(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:f==null?void 0:f.emailRedirectTo,body:{email:d,password:h,data:(n=f==null?void 0:f.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken},code_challenge:p,code_challenge_method:x},xform:on})}else if("phone"in t){const{phone:d,password:h,options:f}=t;i=await Y(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:d,password:h,data:(r=f==null?void 0:f.data)!==null&&r!==void 0?r:{},channel:(s=f==null?void 0:f.channel)!==null&&s!==void 0?s:"sms",gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken}},xform:on})}else throw new kc("You must provide either an email or phone number and a password");const{data:o,error:l}=i;if(l||!o)return await et(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:l});const c=o.session,u=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",c)),this._returnResult({data:{user:u,session:c},error:null})}catch(i){if(await et(this.storage,`${this.storageKey}-code-verifier`),H(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signInWithPassword(t){try{let n;if("email"in t){const{email:i,password:o,options:l}=t;n=await Y(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:i,password:o,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken}},xform:B0})}else if("phone"in t){const{phone:i,password:o,options:l}=t;n=await Y(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:i,password:o,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken}},xform:B0})}else throw new kc("You must provide either an email or phone number and a password");const{data:r,error:s}=n;if(s)return this._returnResult({data:{user:null,session:null},error:s});if(!r||!r.session||!r.user){const i=new vi;return this._returnResult({data:{user:null,session:null},error:i})}return r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),this._returnResult({data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:s})}catch(n){if(H(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOAuth(t){var n,r,s,i;return await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(s=t.options)===null||s===void 0?void 0:s.queryParams,skipBrowserRedirect:(i=t.options)===null||i===void 0?void 0:i.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this._acquireLock(this.lockAcquireTimeout,async()=>this._exchangeCodeForSession(t))}async signInWithWeb3(t){const{chain:n}=t;switch(n){case"ethereum":return await this.signInWithEthereum(t);case"solana":return await this.signInWithSolana(t);default:throw new Error(`@supabase/auth-js: Unsupported chain "${n}"`)}}async signInWithEthereum(t){var n,r,s,i,o,l,c,u,d,h,f;let p,x;if("message"in t)p=t.message,x=t.signature;else{const{chain:m,wallet:v,statement:g,options:y}=t;let b;if(tt())if(typeof v=="object")b=v;else{const A=window;if("ethereum"in A&&typeof A.ethereum=="object"&&"request"in A.ethereum&&typeof A.ethereum.request=="function")b=A.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof v!="object"||!(y!=null&&y.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");b=v}const k=new URL((n=y==null?void 0:y.url)!==null&&n!==void 0?n:window.location.href),S=await b.request({method:"eth_requestAccounts"}).then(A=>A).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!S||S.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const j=IT(S[0]);let C=(r=y==null?void 0:y.signInWithEthereum)===null||r===void 0?void 0:r.chainId;if(!C){const A=await b.request({method:"eth_chainId"});C=B8(A)}const _={domain:k.host,address:j,statement:g,uri:k.href,version:"1",chainId:C,nonce:(s=y==null?void 0:y.signInWithEthereum)===null||s===void 0?void 0:s.nonce,issuedAt:(o=(i=y==null?void 0:y.signInWithEthereum)===null||i===void 0?void 0:i.issuedAt)!==null&&o!==void 0?o:new Date,expirationTime:(l=y==null?void 0:y.signInWithEthereum)===null||l===void 0?void 0:l.expirationTime,notBefore:(c=y==null?void 0:y.signInWithEthereum)===null||c===void 0?void 0:c.notBefore,requestId:(u=y==null?void 0:y.signInWithEthereum)===null||u===void 0?void 0:u.requestId,resources:(d=y==null?void 0:y.signInWithEthereum)===null||d===void 0?void 0:d.resources};p=U8(_),x=await b.request({method:"personal_sign",params:[W8(p),j]})}try{const{data:m,error:v}=await Y(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:p,signature:x}
307,!((h=t.options)===null||h===void 0)&&h.captchaToken?{gotrue_meta_security:{captcha_token:(f=t.options)===null||f===void 0?void 0:f.captchaToken}}:null),xform:on});if(v)throw v;if(!m||!m.session||!m.user){const g=new vi;return this._returnResult({data:{user:null,session:null},error:g})}return m.session&&(await this._saveSession(m.session),await this._notifyAllSubscribers("SIGNED_IN",m.session)),this._returnResult({data:Object.assign({},m),error:v})}catch(m){if(H(m))return this._returnResult({data:{user:null,session:null},error:m});throw m}}async signInWithSolana(t){var n,r,s,i,o,l,c,u,d,h,f,p;let x,m;if("message"in t)x=t.message,m=t.signature;else{const{chain:v,wallet:g,statement:y,options:b}=t;let k;if(tt())if(typeof g=="object")k=g;else{const j=window;if("solana"in j&&typeof j.solana=="object"&&("signIn"in j.solana&&typeof j.solana.signIn=="function"||"signMessage"in j.solana&&typeof j.solana.signMessage=="function"))k=j.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof g!="object"||!(b!=null&&b.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");k=g}const S=new URL((n=b==null?void 0:b.url)!==null&&n!==void 0?n:window.location.href);
307if("signIn"in k&&k.signIn){const j=await k.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},b==null?void 0:b.signInWithSolana),{version:"1",domain:S.host,uri:S.href}),y?{statement:y}:null));let C;if(Array.isArray(j)&&j[0]&&typeof j[0]=="object")C=j[0];else if(j&&typeof j=="object"&&"signedMessage"in j&&"signature"in j)C=j;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in C&&"signature"in C&&(typeof C.signedMessage=="string"||C.signedMessage instanceof Uint8Array)&&C.signature instanceof Uint8Array)x=typeof C.signedMessage=="string"?C.signedMessage:new TextDecoder().decode(C.signedMessage),m=C.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in k)||typeof k.signMessage!="function"||!("publicKey"in k)||typeof k!="object"||!k.publicKey||!("toBase58"in k.publicKey)||typeof k.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");x=[`${S.host} wants you to sign in with your Solana account:`,k.publicKey.toBase58(),...y?["",y,""]:[""],"Version: 1",`URI: ${S.href}`,`Issued At: ${(s=(r=b==null?void 0:b.signInWithSolana)===null||r===void 0?void 0:r.issuedAt)!==null&&s!==void 0?s:new Date().toISOString()}`,...!((i=b==null?void 0:b.signInWithSolana)===null||i===void 0)&&i.notBefore?[`Not Before: ${b.signInWithSolana.notBefore}`]:[],...!((o=b==null?void 0:b.signInWithSolana)===null||o===void 0)&&o.expirationTime?[`Expiration Time: ${b.signInWithSolana.expirationTime}`]:[],...!((l=b==null?void 0:b.signInWithSolana)===null||l===void 0)&&l.chainId?[`Chain ID: ${b.signInWithSolana.chainId}`]:[],...!((c=b==null?void 0:b.signInWithSolana)===null||c===void 0)&&c.nonce?[`Nonce: ${b.signInWithSolana.nonce}`]:[],...!((u=b==null?void 0:b.signInWithSolana)===null||u===void 0)&&u.requestId?[`Request ID: ${b.signInWithSolana.requestId}`]:[],...!((h=(d=b==null?void 0:b.signInWithSolana)===null||d===void 0?void 0:d.resources)===null||h===void 0)&&h.length?["Resources",...b.signInWithSolana.resources.map(C=>`- ${C}`)]:[]].join(`
308`);const j=await k.signMessage(new TextEncoder().encode(x),"utf8");if(!j||!(j instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");m=j}}try{const{data:v,error:g}=await Y(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:x,signature:Is(m)},!((f=t.options)===null||f===void 0)&&f.captchaToken?{gotrue_meta_security:{captcha_token:(p=t.options)===null||p===void 0?void 0:p.captchaToken}}:null),xform:on});if(g)throw g;if(!v||!v.session||!v.user){const y=new vi;return this._returnResult({data:{user:null,session:null},error:y})}return v.session&&(await this._saveSession(v.session),await this._notifyAllSubscribers("SIGNED_IN",v.session)),this._returnResult({data:Object.assign({},v),error:g})}catch(v){if(H(v))return this._returnResult({data:{user:null,session:null},error:v});throw v}}async _exchangeCodeForSession(t){const n=await xs(this.storage,`${this.storageKey}-code-verifier`),[r,s]=(n??"").split("/");try{if(!r&&this.flowType==="pkce")throw new l8;const{data:i,error:o}=await Y(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:r},xform:on});if(await et(this.storage,`${this.storageKey}-code-verifier`),o)throw o;if(!i||!i.session||!i.user){const l=new vi;return this._returnResult({data:{user:null,session:null,redirectType:null},error:l})}return i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",i.session)),this._returnResult({data:Object.assign(Object.assign({},i),{redirectType:s??null}),error:o})}catch(i){if(await et(this.storage,`${this.storageKey}-code-verifier`),H(i))return this._returnResult({data:{user:null,session:null,redirectType:null},error:i});throw i}}async signInWithIdToken(t){try{const{options:n,provider:r,token:s,access_token:i,nonce:o}=t,l=await Y(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:s,access_token:i,nonce:o,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:on}),{data:c,error:u}=l;if(u)return this._returnResult({data:{user:null,session:null},error:u});if(!c||!c.session||!c.user){const d=new vi;return this._returnResult({data:{user:null,session:null},error:d})}return c.session&&(await this._saveSession(c.session),await this._notifyAllSubscribers("SIGNED_IN",c.session)),this._returnResult({data:c,error:u})}catch(n){if(H(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOtp(t){var n,r,s,i,o;try{if("email"in t){const{email:l,options:c}=t;let u=null,d=null;this.flowType==="pkce"&&([u,d]=await wi(this.storage,this.storageKey));const{error:h}=await Y(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:l,data:(n=c==null?void 0:c.data)!==null&&n!==void 0?n:{},create_user:(r=c==null?void 0:c.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken},code_challenge:u,code_challenge_method:d},redirectTo:c==null?void 0:c.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:h})}if("phone"in t){const{phone:l,options:c}=t,{data:u,error:d}=await Y(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:l,data:(s=c==null?void 0:c.data)!==null&&s!==void 0?s:{},create_user:(i=c==null?void 0:c.shouldCreateUser)!==null&&i!==void 0?i:!0,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken},channel:(o=c==null?void 0:c.channel)!==null&&o!==void 0?o:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:u==null?void 0:u.message_id},error:d})}throw new kc("You must provide either an email or phone number.")}catch(l){if(await et(this.storage,`${this.storageKey}-code-verifier`),H(l))return this._returnResult({data:{user:null,session:null},error:l});throw l}}async verifyOtp(t){var n,r;try{let s,i;"options"in t&&(s=(n=t.options)===null||n===void 0?void 0:n.redirectTo,i=(r=t.options)===null||r===void 0?void 0:r.captchaToken);const{data:o,error:l}=await Y(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:i}}),redirectTo:s,xform:on});if(l)throw l;if(!o)throw new Error("An error occurred on token verification.");const c=o.session,u=o.user;return c!=null&&c.access_token&&(await this._saveSession(c),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",c)),this._returnResult({data:{user:u,session:c},error:null})}catch(s){if(H(s))return this._returnResult({data:{user:null,session:null},error:s});throw s}}async signInWithSSO(t){var n,r,s,i,o;try{let l=null,c=null;this.flowType==="pkce"&&([l,c]=await wi(this.storage,this.storageKey));const u=await Y(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((s=t==null?void 0:t.options)===null||s===void 0)&&s.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:l,code_challenge_method:c}),headers:this.headers,xform:I8});return!((i=u.data)===null||i===void 0)&&i.url&&tt()&&!(!((o=t.options)===null||o===void 0)&&o.skipBrowserRedirect)&&window.location.assign(u.data.url),this._returnResult(u)}catch(l){if(await et(this.storage,`${this.storageKey}-code-verifier`),H(l))return this._returnResult({data:null,error:l});throw l}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)throw r;if(!n)throw new Nt;const{error:s}=await Y(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return this._returnResult({data:{user:null,session:null},error:s})})}catch(t){if(H(t))return this._returnResult({data:{user:null,session:null},error:t});throw t}}async resend(t){try{const n=`${this.url}/resend`;if("email"in t){const{email:r,type:s,options:i}=t,{error:o}=await Y(this.fetch,"POST",n,{headers:this.headers,body:{email:r,type:s,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}},redirectTo:i==null?void 0:i.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:o})}else if("phone"in t){const{phone:r,type:s,options:i}=t,{data:o,error:l}=await Y(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,type:s,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:o==null?void 0:o.message_id},error:l})}throw new kc("You must provide either an email or phone number and a type")}catch(n){if(H(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async getSession(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>this._useSession(async n=>n))}async _acquireLock(t,n){this._debug("#_acquireLock","begin",t);try{if(this.lockAcquired){const r=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),s=(async()=>(await r,await n()))();return this.pendingInLock.push((async()=>{try{await s}catch{}})()),s}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const r=n();for(this.pendingInLock.push((async()=>{try{await r}catch{}})()),await r;this.pendingInLock.length;){const s=[...this.pendingInLock];await Promise.all(s),this.pendingInLock.splice(0,s.length)}return await r}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(t){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await t(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let t=null;const n=await xs(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?t=n:(this._debug("#getSession()","session from storage is not val
308id"),await this._removeSession())),!t)return{data:{session:null},error:null};const r=t.expires_at?t.expires_at*1e3-Date.now()<Kh:!1;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",t.expires_at),!r){if(this.userStorage){const o=await xs(this.userStorage,this.storageKey+"-user");o!=null&&o.user?t.user=o.user:t.user=Jh()}if(this.storage.isServer&&t.user&&!t.user.__isUserNotAvailableProxy){const o={value:this.suppressGetSessionWarning};t.user=A8(t.user,o),o.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:t},error:null}}const{data:s,error:i}=await this._callRefreshToken(t.refresh_token);return i?this._returnResult({data:{session:null},error:i}):this._returnResult({data:{session:s},error:null})}finally{this._debug("#__loadSession()","end")}}async getUser(t){if(t)return await this._getUser(t);await this.initializePromise;const n=await this._acquireLock(this.lockAcquireTimeout,async()=>await this._getUser());return n.data.user&&(this.suppressGetSessionWarning=!0),n}async _getUser(t){try{return t?await Y(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:Rr}):await this._useSession(async n=>{var r,s,i;const{data:o,error:l}=n;if(l)throw l;return!(!((r=o.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new Nt}:await Y(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(i=(s=o.session)===null||s===void 0?void 0:s.access_token)!==null&&i!==void 0?i:void 0,xform:Rr})})}catch(n){if(H(n))return Gh(n)&&(await this._removeSession(),await et(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:n});throw n}}async updateUser(t,n={}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._updateUser(t,n))}async _updateUser(t,n={}){try{return await this._useSession(async r=>{const{data:s,error:i}=r;if(i)throw i;if(!s.session)throw new Nt;const o=s.session;let l=null,c=null;this.flowType==="pkce"&&t.email!=null&&([l,c]=await wi(this.storage,this.storageKey));const{data:u,error:d}=await Y(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:l,code_challenge_method:c}),jwt:o.access_token,xform:Rr});if(d)throw d;return o.user=u.user,await this._saveSession(o),await this._notifyAllSubscribers("USER_UPDATED",o),this._returnResult({data:{user:o.user},error:null})})}catch(r){if(await et(this.storage,`${this.storageKey}-code-verifier`),H(r))return this._returnResult({data:{user:null},error:r});throw r}}async setSession(t){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._setSession(t))}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new Nt;const n=Date.now()/1e3;let r=n,s=!0,i=null;const{payload:o}=jc(t.access_token);if(o.exp&&(r=o.exp,s=r<=n),s){const{data:l,error:c}=await this._callRefreshToken(t.refresh_token);if(c)return this._returnResult({data:{user:null,session:null},error:c});if(!l)return{data:{user:null,session:null},error:null};i=l}else{const{data:l,error:c}=await this._getUser(t.access_token);if(c)return this._returnResult({data:{user:null,session:null},error:c});i={access_token:t.access_token,refresh_token:t.refresh_token,user:l.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)}return this._returnResult({data:{user:i.user,session:i},error:null})}catch(n){if(H(n))return this._returnResult({data:{session:null,user:null},error:n});throw n}}async refreshSession(t){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._refreshSession(t))}async _refreshSession(t){try{return await this._useSession(async n=>{var r;if(!t){const{data:o,error:l}=n;if(l)throw l;t=(r=o.session)!==null&&r!==void 0?r:void 0}if(!(t!=null&&t.refresh_token))throw new Nt;const{data:s,error:i}=await this._callRefreshToken(t.refresh_token);return i?this._returnResult({data:{user:null,session:null},error:i}):s?this._returnResult({data:{user:s.user,session:s},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(n){if(H(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async _getSessionFromURL(t,n){try{if(!tt())throw new Sc("No browser detected.");
308if(t.error||t.error_description||t.error_code)throw new Sc(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});switch(n){case"implicit":if(this.flowType==="pkce")throw new I0("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new Sc("Not a valid implicit grant flow url.");break;default:}if(n==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!t.code)throw new I0("No code detected.");const{data:y,error:b}=await this._exchangeCodeForSession(t.code);if(b)throw b;const k=new URL(window.location.href);return k.searchParams.delete("code"),window.history.replaceState(window.history.state,"",k.toString()),{data:{session:y.session,redirectType:null},error:null}}const{provider_token:r,provider_refresh_token:s,access_token:i,refresh_token:o,expires_in:l,expires_at:c,token_type:u}=t;if(!i||!l||!o||!u)throw new Sc("No session defined in URL");const d=Math.round(Date.now()/1e3),h=parseInt(l);let f=d+h;c&&(f=parseInt(c));const p=f-d;p*1e3<=_i&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${p}s, should have been closer to ${h}s`);const x=f-h;d-x>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",x,f,d):d-x<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",x,f,d);const{data:m,error:v}=await this._getUser(i);if(v)throw v;const g={provider_token:r,provider_refresh_token:s,access_token:i,expires_in:h,expires_at:f,refresh_token:o,token_type:u,user:m.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:g,redirectType:t.type},error:null})}catch(r){if(H(r))return this._returnResult({data:{session:null,redirectType:null},error:r});throw r}}_isImplicitGrantCallback(t){return typeof this.detectSessionInUrl=="function"?this.detectSessionInUrl(new URL(window.location.href),t):!!(t.access_token||t.error_description)}async _isPKCECallback(t){const n=await xs(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&n)}async signOut(t={scope:"global"}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._signOut(t))}async _signOut({scope:t}={scope:"global"}){return await this._useSession(async n=>{var r;const{data:s,error:i}=n;if(i&&!Gh(i))return this._returnResult({error:i});const o=(r=s.session)===null||r===void 0?void 0:r.access_token;if(o){const{error:l}=await this.admin.signOut(o,t);if(l&&!(o8(l)&&(l.status===404||l.status===401||l.status===403)||Gh(l)))return this._returnResult({error:l})}return t!=="others"&&(await this._removeSession(),await et(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(t){const n=m8(),r={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,r),(async()=>(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{this._emitInitialSession(n)})))(),{data:{subscription:r}}}async _emitInitialSession(t){return await this._useSession(async n=>{var r,s;try{const{data:{session:i},error:o}=n;if(o)throw o;await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",i)),this._debug("INITIAL_SESSION","callback id",t,"session",i)}catch(i){await((s=this.stateChangeEmitters.get(t))===null||s===void 0?void 0:s.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",i),console.error(i)}})}async resetPasswordForEmail(t,n={}){let r=null,s=null;this.flowType==="pkce"&&([r,s]=await wi(this.storage,this.storageKey,!0));try{return await Y(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:r,code_challenge_method:s,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(i){if(await et(this.storage,`${this.storageKey}-code-verifier`),H(i))return this._returnResult({data:null,error:i});throw i}}async getUserIdentities(){var t;try{const{data:n,error:r}=await this.getUser();if(r)throw r;return this._returnResult({data:{identities:(t=n.user.identities)!==null&&t!==void 0?t:[]},error:null})}catch(n){if(H(n))return this._returnResult({data:null,error:n});throw n}}async linkIdentity(t){return"token"in t?this.linkIdentityIdToken(t):this.linkIdentityOAuth(t)}async linkIdentityOAuth(t){var n;try{const{data:r,error:s}=await this._useSession(async i=>{var o,l,c,u,d;const{data:h,error:f}=i;if(f)throw f;const p=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(o=t.options)===null||o===void 0?void 0:o.redirectTo,scopes:(l=t.options)===null||l===void 0?void 0:l.scopes,queryParams:(c=t.options)===null||c===void 0?void 0:c.queryParams,skipBrowserRedirect:!0});return await Y(this.fetch,"GET",p,{headers:this.headers,jwt:(d=(u=h.session)===null||u===void 0?void 0:u.access_token)!==null&&d!==void 0?d:void 0})});if(s)throw s;return tt()&&!(!((n=t.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(r==null?void 0:r.url),this._returnResult({data:{provider:t.provider,url:r==null?void 0:r.url},error:null})}catch(r){if(H(r))return this._returnResult({data:{provider:t.provider,url:null},error:r});throw r}}async linkIdentityIdToken(t){return await this._useSession(async n=>{var r;try{const{error:s,data:{session:i}}=n;
308if(s)throw s;const{options:o,provider:l,token:c,access_token:u,nonce:d}=t,h=await Y(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(r=i==null?void 0:i.access_token)!==null&&r!==void 0?r:void 0,body:{provider:l,id_token:c,access_token:u,nonce:d,link_identity:!0,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}},xform:on}),{data:f,error:p}=h;return p?this._returnResult({data:{user:null,session:null},error:p}):!f||!f.session||!f.user?this._returnResult({data:{user:null,session:null},error:new vi}):(f.session&&(await this._saveSession(f.session),await this._notifyAllSubscribers("USER_UPDATED",f.session)),this._returnResult({data:f,error:p}))}catch(s){if(await et(this.storage,`${this.storageKey}-code-verifier`),H(s))return this._returnResult({data:{user:null,session:null},error:s});throw s}})}async unlinkIdentity(t){try{return await this._useSession(async n=>{var r,s;const{data:i,error:o}=n;if(o)throw o;return await Y(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(s=(r=i.session)===null||r===void 0?void 0:r.access_token)!==null&&s!==void 0?s:void 0})})}catch(n){if(H(n))return this._returnResult({data:null,error:n});throw n}}async _refreshAccessToken(t){const n=`#_refreshAccessToken(${t.substring(0,5)}...)`;this._debug(n,"begin");try{const r=Date.now();return await w8(async s=>(s>0&&await v8(200*Math.pow(2,s-1)),this._debug(n,"refreshing attempt",s),await Y(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:on})),(s,i)=>{const o=200*Math.pow(2,s);return i&&Yh(i)&&Date.now()+o-r<_i})}catch(r){if(this._debug(n,"error",r),H(r))return this._returnResult({data:{session:null,user:null},error:r});throw r}finally{this._debug(n,"end")}}_isValidSession(t){return typeof t=="object"&&t!==null&&"access_token"in t&&"refresh_token"in t&&"expires_at"in t}async _handleProviderSignIn(t,n){const r=await this._getUrlForProvider(`${this.url}/authorize`,t,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",t,"options",n,"url",r),tt()&&!n.skipBrowserRedirect&&window.location.assign(r),{data:{provider:t,url:r},error:null}}async _recoverAndRefresh(){var t,n;const r="#_recoverAndRefresh()";this._debug(r,"begin");try{const s=await xs(this.storage,this.storageKey);if(s&&this.userStorage){let o=await xs(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!o&&(o={user:s.user},await Ei(this.userStorage,this.storageKey+"-user",o)),s.user=(t=o==null?void 0:o.user)!==null&&t!==void 0?t:Jh()}else if(s&&!s.user&&!s.user){const o=await xs(this.storage,this.storageKey+"-user");o&&(o!=null&&o.user)?(s.user=o.user,await et(this.storage,this.storageKey+"-user"),await Ei(this.storage,this.storageKey,s)):s.user=Jh()}if(this._debug(r,"session from storage",s),!this._isValidSession(s)){this._debug(r,"session is not valid"),s!==null&&await this._removeSession();return}const i=((n=s.expires_at)!==null&&n!==void 0?n:1/0)*1e3-Date.now()<Kh;if(this._debug(r,`session has${i?"":" not"} expired with margin of ${Kh}s`),i){if(this.autoRefreshToken&&s.refresh_token){const{error:o}=await this._callRefreshToken(s.refresh_token);o&&(console.error(o),Yh(o)||(this._debug(r,"refresh failed with a non-retryable error, removing the session",o),await this._removeSession()))}}else if(s.user&&s.user.__isUserNotAvailableProxy===!0)try{const{data:o,error:l}=await this._getUser(s.access_token);!l&&(o!=null&&o.user)?(s.user=o.user,await this._saveSession(s),await this._notifyAllSubscribers("SIGNED_IN",s)):this._debug(r,"could not get user data, skipping SIGNED_IN notification")}catch(o){console.error("Error getting user data:",o),this._debug(r,"error getting user data, skipping SIGNED_IN notification",o)}else await this._notifyAllSubscribers("SIGNED_IN",s)}catch(s){this._debug(r,"error",s),console.error(s);return}finally{this._debug(r,"end")}}async _callRefreshToken(t){var n,r;if(!t)throw new Nt;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const s=`#_callRefreshToken(${t.substring(0,5)}...)`;this._debug(s,"begin");try{this.refreshingDeferred=new Ad;const{data:i,error:o}=await this._refreshAccessToken(t);if(o)throw o;if(!i.session)throw new Nt;await this._saveSession(i.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",i.session);const l={data:i.session,error:null};return this.refreshingDeferred.resolve(l),l}catch(i){if(this._debug(s,"error",i),H(i)){const o={data:null,error:i};return Yh(i)||await this._removeSession(),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(o),o}throw(r=this.refreshingDeferred)===null||r===void 0||r.reject(i),i}finally{this.refreshingDeferred=null,this._debug(s,"end")}}async _notifyAllSubscribers(t,n,r=!0){const s=`#_notifyAllSubscribers(${t})`;this._debug(s,"begin",n,`broadcast = ${r}`);try{this.broadcastChannel&&r&&this.broadcastChannel.postMessage({event:t,session:n});const i=[],o=Array.from(this.stateChangeEmitters.values()).map(async l=>{try{await l.callback(t,n)}catch(c){i.push(c)}});if(await Promise.all(o),i.length>0){for(let l=0;l<i.length;l+=1)console.error(i[l]);throw i[0]}}finally{this._debug(s,"end")}}async _saveSession(t){this._debug("#_saveSession()",t),this.suppressGetSessionWarning=!0,await et(this.storage,`${this.storageKey}-code-verifier`);const n=Object.assign({},t),r=n.user&&n.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!r&&n.user&&await Ei(this.userStorage,this.storageKey+"-user",{user:n.user});const s=Object.assign({},n);delete s.user;const i=$0(s);await Ei(this.storage,this.storageKey,i)}else{const s=$0(n);await Ei(this.storage,this.storageKey,s)}}async _removeSession(){this._debug("#_removeSession()"),this.suppressGetSessionWarning=!1,await et(this.storage,this.storageKey),await et(this.storage,this.storageKey+"-code-verifier"),await et(this.storage,this.storageKey+"-user"),this.userStorage&&await et(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const t=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{t&&tt()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",t)}
308catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const t=setInterval(()=>this._autoRefreshTokenTick(),_i);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t);const n=setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0);this.autoRefreshTickTimeout=n,n&&typeof n=="object"&&typeof n.unref=="function"?n.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(n)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t);const n=this.autoRefreshTickTimeout;this.autoRefreshTickTimeout=null,n&&clearTimeout(n)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const t=Date.now();try{return await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const s=Math.floor((r.expires_at*1e3-t)/_i);this._debug("#_autoRefreshTokenTick()",`access token expires in ${s} ticks, a tick lasts ${_i}ms, refresh threshold is ${pm} ticks`),s<=pm&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(t){if(t.isAcquireTimeout||t instanceof RT)this._debug("auto refresh token tick lock not available");else throw t}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!tt()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>{try{await this._onVisibilityChanged(!1)}catch(t){this._debug("#visibilityChangedCallback","error",t)}},window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){const n=`#_onVisibilityChanged(${t})`;this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),t||(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n,r){const s=[`provider=${encodeURIComponent(n)}`];if(r!=null&&r.redirectTo&&s.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),r!=null&&r.scopes&&s.push(`scopes=${encodeURIComponent(r.scopes)}`),this.flowType==="pkce"){const[i,o]=await wi(this.storage,this.storageKey),l=new URLSearchParams({code_challenge:`${encodeURIComponent(i)}`,code_challenge_method:`${encodeURIComponent(o)}`});s.push(l.toString())}if(r!=null&&r.queryParams){const i=new URLSearchParams(r.queryParams);s.push(i.toString())}return r!=null&&r.skipBrowserRedirect&&s.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${t}?${s.join("&")}`}async _unenroll(t){try{return await this._useSession(async n=>{var r;const{data:s,error:i}=n;return i?this._returnResult({data:null,error:i}):await Y(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(H(n))return this._returnResult({data:null,error:n});throw n}}async _enroll(t){try{return await this._useSession(async n=>{var r,s;const{data:i,error:o}=n;if(o)return this._returnResult({data:null,error:o});const l=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType==="phone"?{phone:t.phone}:t.factorType==="totp"?{issuer:t.issuer}:{}),{data:c,error:u}=await Y(this.fetch,"POST",`${this.url}/factors`,{body:l,headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token});return u?this._returnResult({data:null,error:u}):(t.factorType==="totp"&&c.type==="totp"&&(!((s=c==null?void 0:c.totp)===null||s===void 0)&&s.qr_code)&&(c.totp.qr_code=`data:image/svg+xml;utf-8,${c.totp.qr_code}`),this._returnResult({data:c,error:null}))})}catch(n){if(H(n))return this._returnResult({data:null,error:n});throw n}}async _verify(t){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var r;const{data:s,error:i}=n;if(i)return this._returnResult({data:null,error:i});const o=Object.assign({challenge_id:t.challengeId},"webauthn"in t?{webauthn:Object.assign(Object.assign({},t.webauthn),{credential_response:t.webauthn.type==="create"?Y8(t.webauthn.credential_response):J8(t.webauthn.credential_response)})}:{code:t.code}),{data:l,error:c}=await Y(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:o,headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token});return c?this._returnResult({data:null,error:c}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+l.expires_in},l)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",l),this._returnResult({data:l,error:c}))})}catch(n){if(H(n))return this._returnResult({data:null,error:n});throw n}})}async _challenge(t){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var r;const{data:s,error:i}=n;if(i)return this._returnResult({data:null,error:i});const o=await Y(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{body:t,headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token});if(o.error)return o;const{data:l}=o;if(l.type!=="webauthn")return{data:l,error:null};switch(l.webauthn.type){case"create":return{data:Object.assign(Object.assign({},l),{webauthn:Object.assign(Object.assign({},l.webauthn),{credential_options:Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:K8(l.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},l),{webauthn:Object.assign(Object.assign({},l.webauthn),{credential_options:Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:G8(l.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(n){if(H(n))return this._returnResult({data:null,error:n});throw n}})}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?this._returnResult({data:null,error:r}):await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){var t;const{data:{user:n},error:r}=await this.getUser();if(r)return{data:null,error:r};const s={all:[],phone:[],totp:[],webauthn:[]};for(const i of(t=n==null?void 0:n.factors)!==null&&t!==void 0?t:[])s.all.push(i),i.status==="verified"&&s[i.factor_type].push(i);return{data:s,error:null}}async _getAuthenticatorAssuranceLevel(t){var n,r,s,i;if(t)try{const{payload:p}=jc(t);let x=null;p.aal&&(x=p.aal);let m=x;const{data:{user:v},error:g}=await this.getUser(t);if(g)return this._returnResult({data:null,error:g});((r=(n=v==null?void 0:v.factors)===null||n===void 0?void 0:n.filter(k=>k.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(m="aal2");const b=p.amr||[];return{data:{currentLevel:x,nextLevel:m,currentAuthenticationMethods:b},error:null}}catch(p){if(H(p))return this._returnResult({data:null,error:p});throw p}const{data:{session:o},error:l}
308=await this.getSession();if(l)return this._returnResult({data:null,error:l});if(!o)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:c}=jc(o.access_token);let u=null;c.aal&&(u=c.aal);let d=u;((i=(s=o.user.factors)===null||s===void 0?void 0:s.filter(p=>p.status==="verified"))!==null&&i!==void 0?i:[]).length>0&&(d="aal2");const f=c.amr||[];return{data:{currentLevel:u,nextLevel:d,currentAuthenticationMethods:f},error:null}}async _getAuthorizationDetails(t){try{return await this._useSession(async n=>{const{data:{session:r},error:s}=n;return s?this._returnResult({data:null,error:s}):r?await Y(this.fetch,"GET",`${this.url}/oauth/authorizations/${t}`,{headers:this.headers,jwt:r.access_token,xform:i=>({data:i,error:null})}):this._returnResult({data:null,error:new Nt})})}catch(n){if(H(n))return this._returnResult({data:null,error:n});throw n}}async _approveAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:s},error:i}=r;if(i)return this._returnResult({data:null,error:i});if(!s)return this._returnResult({data:null,error:new Nt});const o=await Y(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:s.access_token,body:{action:"approve"},xform:l=>({data:l,error:null})});return o.data&&o.data.redirect_url&&tt()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(o.data.redirect_url),o})}catch(r){if(H(r))return this._returnResult({data:null,error:r});throw r}}async _denyAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:s},error:i}=r;if(i)return this._returnResult({data:null,error:i});if(!s)return this._returnResult({data:null,error:new Nt});const o=await Y(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:s.access_token,body:{action:"deny"},xform:l=>({data:l,error:null})});return o.data&&o.data.redirect_url&&tt()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(o.data.redirect_url),o})}catch(r){if(H(r))return this._returnResult({data:null,error:r});throw r}}async _listOAuthGrants(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;return r?this._returnResult({data:null,error:r}):n?await Y(this.fetch,"GET",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:n.access_token,xform:s=>({data:s,error:null})}):this._returnResult({data:null,error:new Nt})})}catch(t){if(H(t))return this._returnResult({data:null,error:t});throw t}}async _revokeOAuthGrant(t){try{return await this._useSession(async n=>{const{data:{session:r},error:s}=n;return s?this._returnResult({data:null,error:s}):r?(await Y(this.fetch,"DELETE",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:r.access_token,query:{client_id:t.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new Nt})})}catch(n){if(H(n))return this._returnResult({data:null,error:n});throw n}}async fetchJwk(t,n={keys:[]}){let r=n.keys.find(l=>l.kid===t);if(r)return r;const s=Date.now();if(r=this.jwks.keys.find(l=>l.kid===t),r&&this.jwks_cached_at+s8>s)return r;const{data:i,error:o}=await Y(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(o)throw o;return!i.keys||i.keys.length===0||(this.jwks=i,this.jwks_cached_at=s,r=i.keys.find(l=>l.kid===t),!r)?null:r}async getClaims(t,n={}){try{let r=t;if(!r){const{data:p,error:x}
308=await this.getSession();if(x||!p.session)return this._returnResult({data:null,error:x});r=p.session.access_token}const{header:s,payload:i,signature:o,raw:{header:l,payload:c}}=jc(r);n!=null&&n.allowExpired||C8(i.exp);const u=!s.alg||s.alg.startsWith("HS")||!s.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(s.kid,n!=null&&n.keys?{keys:n.keys}:n==null?void 0:n.jwks);if(!u){const{error:p}=await this.getUser(r);if(p)throw p;return{data:{claims:i,header:s,signature:o},error:null}}const d=_8(s.alg),h=await crypto.subtle.importKey("jwk",u,d,!0,["verify"]);if(!await crypto.subtle.verify(d,h,o,f8(`${l}.${c}`)))throw new ym("Invalid JWT signature");return{data:{claims:i,header:s,signature:o},error:null}}catch(r){if(H(r))return this._returnResult({data:null,error:r});throw r}}}gl.nextInstanceID={};const iF=gl,oF="2.93.2";let va="";typeof Deno<"u"?va="deno":typeof document<"u"?va="web":typeof navigator<"u"&&navigator.product==="ReactNative"?va="react-native":va="node";const aF={"X-Client-Info":`supabase-js-${va}/${oF}`},lF={headers:aF},cF={schema:"public"},uF={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},dF={};function yl(e){"@babel/helpers - typeof";return yl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yl(e)}function hF(e,t){if(yl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(yl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fF(e){var t=hF(e,"string");return yl(t)=="symbol"?t:t+""}function pF(e,t,n){return(t=fF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Le(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?z0(Object(n),!0).forEach(function(r){pF(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}const mF=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),gF=()=>Headers,yF=(e,t,n)=>{const r=mF(n),s=gF();return async(i,o)=>{var l;const c=(l=await t())!==null&&l!==void 0?l:e;let u=new s(o==null?void 0:o.headers);return u.has("apikey")||u.set("apikey",e),u.has("Authorization")||u.set("Authorization",`Bearer ${c}`),r(i,Le(Le({},o),{},{headers:u}))}};function vF(e){return e.endsWith("/")?e:e+"/"}function wF(e,t){var n,r;const{db:s,auth:i,realtime:o,global:l}=e,{db:c,auth:u,realtime:d,global:h}=t,f={db:Le(Le({},c),s),auth:Le(Le({},u),i),realtime:Le(Le({},d),o),storage:{},global:Le(Le(Le({},h),l),{},{headers:Le(Le({},(n=h==null?void 0:h.headers)!==null&&n!==void 0?n:{}),(r=l==null?void 0:l.headers)!==null&&r!==void 0?r:{})}),accessToken:async()=>""};return e.accessToken?f.accessToken=e.accessToken:delete f.accessToken,f}function xF(e){const t=e==null?void 0:e.trim();if(!t)throw new Error("supabaseUrl is required.");if(!t.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(vF(t))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}var bF=class extends iF{constructor(e){super(e)}},kF=class{constructor(e,t,n){var r,s;this.supabaseUrl=e,this.supabaseKey=t;const i=xF(e);if(!t)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",i),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",i),this.storageUrl=new URL("storage/v1",i),this.functionsUrl=new URL("functions/v1",i);const o=`sb-${i.hostname.split(".")[0]}-auth-token`,l={db:cF,realtime:dF,auth:Le(Le({},uF),{},{storageKey:o}),global:lF},c=wF(n??{},l);if(this.storageKey=(r=c.auth.storageKey)!==null&&r!==void 0?r:"",this.headers=(s=c.global.headers)!==null&&s!==void 0?s:{},c.accessToken)this.accessToken=c.accessToken,this.auth=new Proxy({},{get:(d,h)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(h)} is not possible`)}});else{var u;this.auth=this._initSupabaseAuthClient((u=c.auth)!==null&&u!==void 0?u:{},this.headers,c.global.fetch)}this.fetch=yF(t,this._getAccessToken.bind(this),c.global.fetch),this.realtime=this._initRealtimeClient(Le({headers:this.headers,accessToken:this._getAccessToken.bind(this)},c.realtime)),this.accessToken&&Promise.resolve(this.accessToken()).then(d=>this.realtime.setAuth(d)).catch(d=>console.warn("Failed to set initial Realtime auth token:",d)),this.rest=new i6(new URL("rest/v1",i).href,{headers:this.headers,schema:c.db.schema,fetch:this.fetch}),this.storage=new Z6(this.storageUrl.href,this.headers,this.fetch,n==null?void 0:n.storage),c.accessToken||this._listenForAuthEvents()}get functions(){return new e6(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,t={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(e,t,n)}
308channel(e,t={config:{}}){return this.realtime.channel(e,t)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var e=this,t,n;if(e.accessToken)return await e.accessToken();const{data:r}=await e.auth.getSession();return(t=(n=r.session)===null||n===void 0?void 0:n.access_token)!==null&&t!==void 0?t:e.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:s,storageKey:i,flowType:o,lock:l,debug:c,throwOnError:u},d,h){const f={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new bF({url:this.authUrl.href,headers:Le(Le({},f),d),storageKey:i,autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:s,flowType:o,lock:l,debug:c,throwOnError:u,fetch:h,hasCustomAuthorizationHeader:Object.keys(this.headers).some(p=>p.toLowerCase()==="authorization")})}_initRealtimeClient(e){return new k6(this.realtimeUrl.href,Le(Le({},e),{},{params:Le(Le({},{apikey:this.supabaseKey}),e==null?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,t)=>{this._handleTokenChanged(e,"CLIENT",t==null?void 0:t.access_token)})}_handleTokenChanged(e,t,n){(e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):e==="SIGNED_OUT"&&(this.realtime.setAuth(),t=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}};const SF=(e,t,n)=>new kF(e,t,n);function jF(){if(typeof window<"u")return!1;const e=globalThis.process;if(!e)return!1;const t=e.version;if(t==null)return!1;const n=t.match(/^v(\d+)\./);return n?parseInt(n[1],10)<=18:!1}jF()&&console.warn("⚠️  Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to Node.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");function TF(){var v,g;if(typeof window>"u")return;const e=location.hostname,n=["lovableproject.com","lovableproject-dev.com","lovable.app","gpt-eng.com","gptengineer.run"].some(y=>e===y||e.endsWith("."+y)),r="[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",s=n?((v=e.match(new RegExp("^(?:id-preview(?:-[a-z0-9]+)?|project)--("+r+")(?:-dev)?(?=\\.|$)","i")))==null?void 0:v[1])??((g=e.match(new RegExp("^("+r+")(?=[.-])","i")))==null?void 0:g[1]):void 0,i=window.parent&&window.parent!==window;if(!s||!i)return localStorage;const o=e.endsWith(".lovableproject-dev.com")||e.endsWith(".gpt-eng.com"),l=o?/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$|^http:\/\/localhost:3000$/:/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$/,c=location.ancestorOrigins&&location.ancestorOrigins[0]||(document.referrer?new URL(document.referrer).origin:""),u=c&&l.test(c)?[c]:o?["https://lovable.dev","http://localhost:3000"]:["https://lovable.dev"],d="lovable-preview-auth:result",h=2e3,f=()=>Math.random().toString(36).slice(2)+Date.now().toString(36),p=(y,b,k)=>new Promise(S=>{const j=f();let C=!1,_;const A=M=>{C||(C=!0,clearTimeout(_),window.removeEventListener("message",P),S(M))},P=M=>{if(u.indexOf(M.origin)<0)return;const z=M.data;z&&z.type===d&&z.requestId===j&&A(z)};window.addEventListener("message",P);const F={type:y,requestId:j,projectId:s,key:b};k!==void 0&&(F.value=k);for(const M of u)window.parent.postMessage(F,M);_=setTimeout(()=>A(null),h)});let x=!0;const m=250;return{getItem:async y=>{let b=await p("lovable-preview-auth:get",y);return!b&&x&&(await new Promise(k=>setTimeout(k,m)),b=await p("lovable-preview-auth:get",y)),x=!1,b&&b.ok&&typeof b.value=="string"?b.value===""?(localStorage.removeItem(y),null):b.value:localStorage.getItem(y)},setItem:(y,b)=>(localStorage.setItem(y,b),p("lovable-preview-auth:set",y,b).then(()=>{})),removeItem:y=>(localStorage.removeItem(y),p("lovable-preview-auth:remove",y).then(()=>{}))}}const CF="https://gfsccoriamabpbyyzrlj.supabase.co",_F="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imdmc2Njb3JpYW1hYnBieXl6cmxqIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzMwMTg4ODYsImV4cCI6MjA4ODU5NDg4Nn0.o64kcVR_04lya1KCPutH8emCVAGw-xMIetYCs_--Xls",fn=SF(CF,_F,{auth:{storage:TF(),persistSession:!0,autoRefreshToken:!0}});function Nd(){const[e,t]=w.useState(null),[n,r]=w.useState(null),[s,i]=w.useState(!0),[o,l]=w.useState(!1);return w.useEffect(()=>{const{data:{subscription:h}}=fn.auth.onAuthStateChange(async(f,p)=>
308{if(r(p),t((p==null?void 0:p.user)??null),p!=null&&p.user){const{data:x}=await fn.from("user_roles").select("role").eq("user_id",p.user.id).eq("role","admin").maybeSingle();l(!!x)}else l(!1);i(!1)});return fn.auth.getSession().then(({data:{session:f}})=>{r(f),t((f==null?void 0:f.user)??null),f!=null&&f.user?fn.from("user_roles").select("role").eq("user_id",f.user.id).eq("role","admin").maybeSingle().then(({data:p})=>{l(!!p),i(!1)}):i(!1)}),()=>h.unsubscribe()},[]),{user:e,session:n,isLoading:s,isAdmin:o,signIn:async(h,f)=>{const{error:p}=await fn.auth.signInWithPassword({email:h,password:f});return{error:p}},signUp:async(h,f)=>{const{error:p}=await fn.auth.signUp({email:h,password:f,options:{emailRedirectTo:window.location.origin}});return{error:p}},signOut:async()=>{await fn.auth.signOut(),t(null),r(null),l(!1)}}}const EF=()=>{const{user:e,signOut:t}=Nd();return a.jsx("footer",{className:"bg-background text-foreground border-t border-foreground/10",children:a.jsxs("div",{className:"container-luxury pt-20 md:pt-28 pb-10",children:[a.jsxs("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between gap-8 mb-16 md:mb-24",children:[a.jsxs("div",{className:"max-w-md",children:[a.jsx("img",{src:Y$,alt:"Womack Real Estate",style:{filter:"brightness(0)"},className:"h-[3.75rem] w-auto mb-6"}),a.jsx("p",{className:"text-body text-foreground/70 max-w-sm",children:"A family-run brokerage serving Austin, Round Rock, Cedar Park, Lakeway, Dripping Springs, Buda, Kyle, and Manor."})]}),a.jsxs("div",{className:"flex items-center gap-5",children:[a.jsx("a",{href:"https://www.facebook.com/",target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",className:"text-foreground/60 hover:text-foreground transition-colors",children:a.jsx(BP,{size:18,strokeWidth:1.5})}),a.jsx("a",{href:"https://twitter.com/",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter",className:"text-foreground/60 hover:text-foreground transition-colors",children:a.jsx(nR,{size:18,strokeWidth:1.5})}),a.jsx("a",{href:"https://www.linkedin.com/",target:"_blank",rel:"noopener noreferrer","aria-label":"LinkedIn",className:"text-foreground/60 hover:text-foreground transition-colors",children:a.jsx(HP,{size:18,strokeWidth:1.5})}),a.jsx("a",{href:"https://www.instagram.com/",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",className:"text-foreground/60 hover:text-foreground transition-colors",children:a.jsx(hp,{size:18,strokeWidth:1.5})})]})]}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 md:gap-8 border-t border-foreground
308/10 pt-16",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"text-caption text-foreground/50 mb-6",children:"Explore"}),a.jsxs("ul",{className:"space-y-3 text-sm font-body text-foreground/75",children:[a.jsx("li",{children:a.jsx(G,{to:"/idx",className:"hover:text-foreground transition-colors",children:"Search Listings"})}),a.jsx("li",{children:a.jsx(G,{to:"/buying",className:"hover:text-foreground transition-colors",children:"Buying"})}),a.jsx("li",{children:a.jsx(G,{to:"/selling",className:"hover:text-foreground transition-colors",children:"Selling"})}),a.jsx("li",{children:a.jsx(G,{to:"/financing",className:"hover:text-foreground transition-colors",children:"Financing"})}),a.jsx("li",{children:a.jsx(G,{to:"/who-we-are",className:"hover:text-foreground transition-colors",children:"Who We Are"})}),a.jsx("li",{children:a.jsx(G,{to:"/preferred-vendors",className:"hover:text-foreground transition-colors",children:"Preferred Service Vendors"})}),a.jsx("li",{children:a.jsx(G,{to:"/connect",className:"hover:text-foreground transition-colors",children:"Connect"})})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"text-caption text-foreground/50 mb-6",children:"Contact"}),a.jsxs("address",{className:"not-italic text-sm font-body text-foreground/75 leading-relaxed",children:["3311 W Slaughter Ln",a.jsx("br",{}),"Austin, TX 78748",a.jsx("br",{}),a.jsx("a",{href:"tel:+15126260621",className:"mt-3 inline-block hover:text-foreground transition-colors",children:"(512) 626-0621"})]}),a.jsx(G,{to:"/connect",className:"mt-4 inline-block text-[10px] uppercase tracking-[0.3em] font-bold font-display border-b border-foreground
308/40 hover:border-foreground pb-1 transition-colors",children:"Send a Message"})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"text-caption text-foreground/50 mb-6",children:"Compliance"}),a.jsxs("ul",{className:"space-y-3 text-sm font-body text-foreground/75",children:[a.jsx("li",{children:a.jsx("a",{href:"https://drive.google.com/file/d/1HsqHlJghJp90omFS4XREX1ANmdpuilGm/view?usp=drive_link",target:"_blank",rel:"noopener noreferrer",className:"hover:text-foreground transition-colors underline underline-offset-4 decoration-foreground/20",children:"TREC Information About Brokerage Services"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.trec.texas.gov/sites/default/files/pdf-forms/CN%201-5_0.pdf",target:"_blank",rel:"noopener noreferrer",className:"hover:text-foreground transition-colors underline underline-offset-4 decoration-foreground/20",children:"Texas Real Estate Commission Consumer Protection Notice"})}),a.jsx("li",{children:a.jsx(G,{to:"/privacy-policy",className:"hover:text-foreground transition-colors",children:"Privacy Policy"})}),a.jsx("li",{children:a.jsx(G,{to:"/terms-and-conditions",className:"hover:text-foreground transition-colors",children:"Terms of Service"})})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"text-caption text-foreground/50 mb-6",children:"Studio"}),a.jsx("p",{className:"text-sm font-body text-foreground/75 leading-relaxed max-w-xs",children:"An independently owned brokerage serving Austin, Round Rock, Cedar Park, Lakeway, Dripping Springs, Buda, Kyle, and Manor."})]})]}),a.jsxs("div",{className:"mt-20 pt-8 border-t border-foreground
308/10 flex flex-col md:flex-row justify-between items-center gap-3",children:[a.jsxs("p",{className:"text-[10px] uppercase tracking-[0.3em] font-bold font-display text-foreground/40",children:["© ",new Date().getFullYear()," Womack Real Estate · All Rights Reserved"]}),a.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-2 md:gap-6",children:[e?a.jsxs("span",{className:"flex items-center gap-4",children:[a.jsx(G,{to:"/admin/blog",className:"text-[10px] uppercase tracking-[0.3em] font-bold font-display text-foreground/60 hover:text-foreground transition-colors",children:"Dashboard"}),a.jsx("button",{type:"button",onClick:t,className:"text-[10px] uppercase tracking-[0.3em] font-bold font-display text-foreground/40 hover:text-foreground transition-colors",children:"Sign Out"})]}):a.jsx(G,{to:"/auth",className:"text-[10px] uppercase tracking-[0.3em] font-bold font-display text-foreground/40 hover:text-foreground transition-colors",children:"Login"}),a.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] font-bold font-display text-foreground/40",children:"   REALSAVVY BY AGNT.AI"}),a.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] font-bold font-display text-foreground/40",children:"Crafted in Austin, TX"})]})]})]})})},ge=({children:e})=>a.jsxs("div",{className:"min-h-screen flex flex-col",children:[a.jsx(G$,{}),a.jsx("main",{className:"flex-1 pt-20",children:e}),a.jsx(EF,{})]}),AF=1,NF="1d7be46c-c053-476d-b9a4-f784a78a502e",PF="c984134e-e9c2-489f-97c1-0fc942ab15e5",RF="/__l5e/assets-v1/1d7be46c-c053-476d-b9a4-f784a78a502e/home-hero-austin.jpg",IF="a/v1/c984134e-e9c2-489f-97c1-0fc942ab15e5/1d7be46c-c053-476d-b9a4-f784a78a502e/home-hero-austin.jpg",OF="home-hero-austin.jpg",DF=2523367,MF="image/jpeg",LF="2026-07-24T19:59:21Z",$F={version:AF,asset_id:NF,project_id:PF,url:RF,r2_key:IF,original_filename:OF,size:DF,content_type:MF,created_at:LF},FF=[{value:"15yr",label:"Years",sub:"Austin Family Brokerage"},{value:"1,000+",label:"Homes",sub:"Listed & Sold"},{value:"100%",label:"Trust",sub:"Customer Satisfaction"}],BF=()=>a.jsxs("section",{className:"relative w-full overflow-hidden bg-near-black min-h-[640px] h-[100svh] max-h-[1100px]",children:[a.jsx(Be.img,{src:$F.url,alt:"Austin luxury home",initial:{scale:1},animate:{scale:1.08},transition:{duration:24,ease:"linear"},className:"absolute inset-0 w-full h-full object-cover grayscale-[35%]"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[hsl(var(--near-black))]/65 via-[hsl(var(--near-black))]/5 to-[hsl(var(--near-black))]/15"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[hsl(var(--near-black))]/20 via-transparent to-transparent"}),a.jsxs("div",{className:"relative z-20 h-full flex flex-col justify-between gap-10 pt-28 md:pt-32 pb-14 md:pb-20",children:[a.jsx("div",{className:"hidden md:block",children:a.jsx("div",{className:"container-luxury flex items-center justify-between text-warm-white/70",children:a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("span",{className:"h-px w-8 bg-warm-white/50"}),a.jsx("span",{className:"text-[10px] uppercase tracking-[0.4em] font-bold font-display",children:"WOMACK REAL ESTATE · EST. 2010 AUSTIN, TX"})]})})}),a.jsxs("div",{className:"container-luxury text-warm-white",children:[a.jsxs(Be.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.9,ease:[.5,0,0,1]},children:[a.jsx("p",{className:"text-[10px] uppercase tracking-[0.4em] font-bold font-display mb-4 md:mb-6 text-warm-white/80",children:"Finding your dream home"}),a.jsxs("h1",{className:"heading-display text-[clamp(2.5rem,6.5vw,6.25rem)] text-warm-white max-w-5xl drop-shadow-editorial",children:["Find Your",a.jsx("br",{}),"Dream Home",a.jsx("br",{}),"In Austin."]})]}),a.jsxs(Be.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.9,delay:.35,ease:[.5,0,0,1]},className:"mt-8 md:mt-12 border-t border-warm-white/25 pt-6 md:pt-8",children:[a.jsx("div",{className:"grid grid-cols-3 gap-6 md:gap-16 max-w-4xl",children:FF.map(e=>a.jsxs("div",{className:"flex flex-col",children:[a.jsx("span",{className:"font-display font-extrabold tracking-tighter text-3xl md:text-5xl text-warm-white drop-shadow-editorial",children:e.value}),a.jsx("span",{className:"mt-2 text-[9px] md:text-[10px] uppercase font-bold tracking-[0.3em] font-display text-warm-white/70 leading-tight",children:e.sub})]},e.label))}),a.jsxs("div",{className:"mt-10 flex items-center gap-6",children:[a.jsxs(G,{to:"/idx",className:"group inline-flex items-center gap-3 text-[10px] uppercase tracking-[0.3em] font-bold font-display text-warm-white border-b border-warm-white/60 pb-1 hover:border-warm-white transition-colors",children:["Search Listings",a.jsx(tl,{size:14,className:"transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5"})]}),a.jsx(G,{to:"/home-valuation",className:"text-[10px] uppercase tracking-[0.3em] font-bold font-display text-warm-white/70 hover:text-warm-white transition-colors",children:"Home Valuation"})]})]})]})]})]}),E=({children:e,className:t="",delay:n=0,direction:r="up"})=>{const s=w.useRef(null),i=q$(s,{once:!0,margin:"-100px"}),o={up:{y:40,x:0},down:{y:-40,x:0}
308,left:{x:40,y:0},right:{x:-40,y:0}};return a.jsx(Be.div,{ref:s,initial:{opacity:0,...o[r]},animate:i?{opacity:1,x:0,y:0}:{},transition:{duration:1,delay:n,ease:[.5,0,0,1]},className:t,children:e})},WF=1,UF="93dffb02-7180-43a9-9ff7-81b244177108",VF="c984134e-e9c2-489f-97c1-0fc942ab15e5",HF="/__l5e/assets-v1/93dffb02-7180-43a9-9ff7-81b244177108/wes-prima-womack.jpg",zF="a/v1/c984134e-e9c2-489f-97c1-0fc942ab15e5/93dffb02-7180-43a9-9ff7-81b244177108/wes-prima-womack.jpg",qF="wes-prima-womack.jpg",KF=206494,GF="image/jpeg",YF="2026-07-24T21:30:46Z",JF={version:WF,asset_id:UF,project_id:VF,url:HF,r2_key:zF,original_filename:qF,size:KF,content_type:GF,created_at:YF},QF=JF.url,XF=()=>a.jsx("section",{className:"section-padding bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12 lg:gap-20 items-center",children:[a.jsx(E,{className:"lg:col-span-6",children:a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"aspect-[4/5] overflow-hidden bg-secondary",children:a.jsx(Be.img,{src:QF,alt:"Wes & Prima Womack — Womack Real Estate",className:"w-full h-full object-cover object-center grayscale hover:grayscale-0 transition-all duration-1000",initial:{scale:1.05},whileInView:{scale:1},transition:{duration:1.4,ease:[.5,0,0,1]},viewport:{once:!0}})}),a.jsx("div",{className:"absolute -bottom-6 -right-6 hidden md:block bg-near-black text-warm-white px-6 py-5 max-w-[220px]",children:a.jsxs("p",{className:"text-[10px] uppercase tracking-[0.3em] font-bold font-display leading-relaxed",children:["Hospitality",a.jsx("br",{}),"at the heart",a.jsx("br",{}),"of real estate."]})})]})}),a.jsxs("div",{className:"lg:col-span-6 space-y-8",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground/50",children:"Family · Hospital
308ity · Roots"})}),a.jsx(E,{delay:.08,children:a.jsx("h2",{className:"heading-section text-foreground",children:"The Womack Way."})}),a.jsx(E,{delay:.16,children:a.jsxs("div",{className:"space-y-6 text-body text-foreground/80 max-w-xl",children:[a.jsx("p",{children:"Wes and Prima Womack believe luxury isn't a price point — it's an experience. Bringing a background in high-end hospitality into Austin real estate, they lead a family brokerage where every client is treated the way they'd want their own family treated."}),a.jsx("p",{children:"They know which streets flood, which builders cut corners, and which listings will move before the weekend. What hasn't changed: hands-on, relationship-first service, one family at a time."})]})}),a.jsx(E,{delay:.24,children:a.jsxs("div",{className:"flex flex-wrap items-center gap-6 pt-2",children:[a.jsx(G,{to:"/who-we-are",className:"btn-luxury",children:"Our Story"}),a.jsx(G,{to:"/connect",className:"text-[10px] uppercase tracking-[0.3em] font-bold font-display text-foreground/70 hover:text-foreground border-b border-foreground
308/40 hover:border-foreground pb-1 transition-colors",children:"Meet the Womacks"})]})})]})]})})}),ZF=1,eB="7b6ef7a8-9187-4d06-be63-8564adef5b01",tB="c984134e-e9c2-489f-97c1-0fc942ab15e5",nB="/__l5e/assets-v1/7b6ef7a8-9187-4d06-be63-8564adef5b01/community-downtown.jpg",rB="a/v1/c984134e-e9c2-489f-97c1-0fc942ab15e5/7b6ef7a8-9187-4d06-be63-8564adef5b01/community-downtown.jpg",sB="community-downtown.jpg",iB=960082,oB="image/jpeg",aB="2026-07-24T20:08:28Z",lB={version:ZF,asset_id:eB,project_id:tB,url:nB,r2_key:rB,original_filename:sB,size:iB,content_type:oB,created_at:aB},cB="/assets/community-austin-CeLcTXDS.jpg",uB="/assets/community-round-rock-Cahl3Yys.jpg",dB=1,hB="021a2cc0-b1ba-4613-9291-02f21491d150",fB="c984134e-e9c2-489f-97c1-0fc942ab15e5",pB="/__l5e/assets-v1/021a2cc0-b1ba-4613-9291-02f21491d150/community-cedar-park.jpg",mB="a/v1/c984134e-e9c2-489f-97c1-0fc942ab15e5/021a2cc0-b1ba-4613-9291-02f21491d150/community-cedar-park.jpg",gB="community-cedar-park.jpg",yB=2558878,vB="image/jpeg",wB="2026-07-24T20:13:40Z",xB={version:dB,asset_id:hB,project_id:fB,url:pB,r2_key:mB,original_filename:gB,size:yB,content_type:vB,created_at:wB},bB="/assets/community-dripping-springs-3p2dScNO.jpg",kB="/assets/community-buda-jKTzI0WC.jpg",SB=1,jB="b2723844-4b9b-4103-a253-9214fb942a2d",TB="c984134e-e9c2-489f-97c1-0fc942ab15e5",CB="/__l5e/assets-v1/b2723844-4b9b-4103-a253-9214fb942a2d/community-kyle.webp",_B="a/v1/c984134e-e9c2-489f-97c1-0fc942ab15e5/b2723844-4b9b-4103-a253-9214fb942a2d/community-kyle.webp",EB="community-kyle.webp",AB=263358,NB="image/webp",PB="2026-07-24T20:09:40Z",RB={version:SB,asset_id:jB,project_id:TB,url:CB,r2_key:_B,original_filename:EB,size:AB,content_type:NB,created_at:PB},IB="/assets/community-lakeway-BcN337SA.jpg",OB="/assets/community-manor-ZfKTPcEr.jpg",DT=[{slug:"austin",name:"Austin",tag:"Urban Sophistication",image:cB,idxSlug:"5fb6342a-090c-49bf-9293-3a3693dcba76",standfirst:"Live-music capital, tech-industry backbone, and one of the most-moved-to metros in America.",overview:["Austin's appeal is layered — a downtown skyline that keeps rewriting itself, a food scene that punches far above its weight, and neighborhoods with distinct architectural voices from bungalow-era East Austin to mid-century Allandale.","Buyers here trade broad Sun Belt sprawl for walkable pockets, greenbelt trailheads a mile from the office, and a cultural calendar most cities envy. The market rewards patience and local knowledge in equal measure."],lifestyle:["Established central neighborhoods: Tarrytown, Hyde Park, Zilker, Bouldin, Travis Heights","Highly rated schools in AISD and Eanes ISD depending on address","Barton Springs, Lady Bird Lake trail, and 800+ miles of urban parkland","Median price sits well above the Austin-metro average","Central commute times reward buyers who prioritize location over lot size"],stats:[{value:"78701–78759",label:"Core Austin ZIPs"},{value:"Mid-$600s+",label:"Typical single-family list"},{value:"15 min",label:"Central to downtown"}]},{slug:"round-rock",name:"Round Rock",tag:"Suburban Excellence",image:uB,idxSlug:"550e4dd6-e2f8-4e2e-a942-b818cd5aa884",standfirst:"A polished north-metro suburb built around top-ranked schools, master-planned neighborhoods, and steady, family-first growth.",overview:["Round Rock has quietly become one of the metro's most in-demand suburbs — buoyed by Dell's headquarters, a diversified employer base, and consistently high-performing Round Rock ISD schools.","The housing stock spans early-2000s master-planned communities, newer builds in Paloma Lake and Teravista, and pockets of established homes near Old Town. Buyers get more square footage per dollar than in central Austin without giving up amenity depth."],lifestyle:["Round Rock ISD — consistently among Texas's top-rated districts","Master-planned communities: Teravista, Paloma Lake, Forest Creek","Dell Diamond, Kalahari Resort, and Old Settlers Park as anchors","Direct IH-35 and 130 tollway access to Austin and Georgetown","Meaningfully more house per dollar than 78704 or 78703"],stats:[{value:"78664–78681",label:"Round Rock ZIPs"},{value:"Mid-$400s+",label:"Typical single-family list"},{value:"25 min",label:"To downtown Austin"}]},{slug:"cedar-park",name:"Cedar Park",tag:"Nature & Growth",image:xB.url,idxSlug:"242cbc02-6b19-4a41-9bf6-b36b6699e4c8",standfirst:"Northwest-metro city where Hill Country topography, Leander ISD sc
308hools, and newer construction converge.",overview:["Cedar Park sits on the geologic seam where Austin's flatter east side gives way to the rolling Hill Country. That shows up in the housing — elevated homesites, mature oak canopy, and thoughtfully laid-out communities like Twin Creeks and Buttercup Creek.","It's a favorite for buyers relocating for tech jobs at Apple's north campus or families wanting Leander ISD zoning without paying downtown premiums."],lifestyle:["Leander ISD — one of the state's top-rated districts","Established communities: Twin Creeks, Buttercup Creek, Ranch at Brushy Creek","H-E-B Center, Brushy Creek Regional Trail, easy access to 183A tollway","Strong newer-construction inventory and resale liquidity","20 minutes to the Domain, ~30 to downtown Austin"],stats:[{value:"78613",label:"Primary Cedar Park ZIP"},{value:"Mid-$500s+",label:"Typical single-family list"},{value:"30 min",label:"To downtown Austin"}]},{slug:"dripping-springs",name:"Dripping Springs",tag:"Hill Country Calm",image:bB,idxSlug:"50b837fe-c636-4503-a2b6-d326580596e8",standfirst:"The Hill Country's front door — acreage lots, dark night skies, and one of Texas's most-loved wedding-and-winery corridors.",overview:[`Dripping Springs earned its "Gateway to the Hill Country" nickname honestly. Highway 290 threads through distilleries, wineries, and wedding venues, and turn off almost any farm road and you're on ranchette-scale acreage within minutes.`,"Buyers here trade suburb-density for privacy, space, and Dripping Springs ISD schools. Custom builds on 1–5 acres are the norm rather than the exception."],lifestyle:["Dripping Springs ISD and highly ranked private options","Acreage-friendly zoning and custom-build culture","Anchored by Hamilton Pool, Pedernales Falls, and Reimer's Ranch","Nationally recognized winery, distillery, and wedding-venue corridor","Certified International Dark Sky Community"],stats:[{value:"78620",label:"Primary Dripping ZIP"},{value:"Mid-$700s+",label:"Typical single-family list"},{value:"35 min",label:"To downtown Austin"}]},{slug:"buda",name:"Buda",tag:"Historic Charm",image:kB,idxSlug:"90ac4de8-1d12-47f8-a983-d747297837d1",standfirst:"South-metro small town with a walkable historic square, family-scale price points, and quick access to south Austin.",overview:["Buda punches above its size. The historic downtown square hosts weekend farmers' markets and the annual Wiener Dog Races, while new communities like Sunfield and Whispering Hollow keep inventory fresh.","It's one of the metro's most reachable price points for buyers who want new construction, a real sense of town identity, and a straight shot up IH-35 to south Austin's employers."],lifestyle:["Hays CISD schools with strong newer campuses","Master-planned communities: Sunfield, Whispering Hollow, Garlic Creek","Historic Main Street with local coffee, breweries, and shops","Cabela's and the Buda corridor as regional retail draws","One of the friendlier metro entry points for first-time buyers"],stats:[{value:"78610",label:"Primary Buda ZIP"},{value:"Mid-$300s+",label:"Typical single-family list"},{value:"20 min",label:"To south Austin"}]},{slug:"kyle",name:"Kyle",tag:"Forward Living",image:RB.url,idxSlug:"16987d26-0e6f-4ebf-a916-015a052b10d6",standfirst:"One of Texas's fastest-growing cities — newer construction, a modern civic core, and a favorite of first-time and step-up buyers.",overview:["Kyle has been near the top of every Texas fastest-growing-city list for a decade, and it shows in the housing: newer subdivisions, updated infrastructure, and civic investment like the current City Hall campus.","Buyers get contemporary floor plans and family-friendly amenities at price points that still feel accessible for the Austin metro."],lifestyle:["Hays CISD schools with newer campuses opening across the city","Fast-growing communities: Plum Creek, 6 Creeks, Anthem","Seton Medical Center Hays and Kyle 35 retail corridor","Straight-shot IH-35 access to south Austin and San Marcos","Deep newer-construction inventory across price bands"],stats:[{value:"78640",label:"Primary Kyle ZIP"},{value:"Low-$300s+",label:"Typical single-family list"},{value:"25 min",label:"To south Austin"}]}
308,{slug:"lakeway",name:"Lakeway",tag:"Lakefront Luxury",image:IB,idxSlug:"74f13e0a-f550-4db5-b0a5-f6dd50096a37",standfirst:"Lake Travis waterfront, resort-caliber golf, and one of the metro's most consistent luxury markets.",overview:["Lakeway is where the Hill Country meets Lake Travis. Homes range from lock-and-leave condos along the shoreline to custom estates in Rough Hollow and The Reserve at Lake Travis.","Lake Travis ISD is a top draw for families, while retirees and second-home buyers gravitate to golf-course frontage at Yaupon and the Hills, and to Lakeway Resort's amenity ecosystem."],lifestyle:["Lake Travis ISD — a top-tier Texas district","Signature communities: Rough Hollow, The Reserve, Flintrock Falls","Multiple championship golf courses and full-service marinas","Deep luxury inventory — waterfront, view lots, and gated estates","35–45 minutes to central Austin via 620 and 71"],stats:[{value:"78734–78738",label:"Lakeway ZIPs"},{value:"Mid-$800s+",label:"Typical single-family list"},{value:"40 min",label:"To downtown Austin"}]},{slug:"manor",name:"Manor",tag:"Quiet Potential",image:OB,idxSlug:"0acc5ae6-fc5e-442e-b043-7413409b78de",standfirst:"East-of-Austin small town riding a wave of thoughtful growth — Samsung's arrival, new master-planned communities, and true land-value upside.",overview:["Manor sits along the 290 corridor east of Austin, positioned squarely in the path of the region's next decade of growth. Samsung's Taylor semiconductor investment and Tesla's Gigafactory have reshaped the eastern crescent.","For buyers, it's one of the metro's clearest value plays: newer construction, larger lots, and price entry points that no longer exist inside Loop 1."],lifestyle:["Manor ISD with newer campuses and expanding facilities","Growing communities: EastVillage, Presidential Meadows, Stonewater","Direct 290 and 130 tollway access to central Austin and the airport","Proximate to Tesla Gigafactory and the Samsung Taylor corri
308dor","Meaningful land-value story compared to central-metro entries"],stats:[{value:"78653",label:"Primary Manor ZIP"},{value:"Low-$300s+",label:"Typical single-family list"},{value:"25 min",label:"To downtown Austin"}]},{slug:"downtown",name:"Downtown",tag:"High-Rise Living",image:lB.url,idxSlug:"8d1457ec-86b1-4d4c-b402-711ebff6d7e9",standfirst:"Austin's high-rise core — walk-everywhere condos, waterfront trails, and a skyline that keeps redrawing itself.",overview:["Downtown Austin is where the city's growth story is most visible — new towers on Rainey and the Second Street District, established addresses like the Austonian and the Four Seasons Residences, and rising demand from buyers trading a yard for lock-and-leave living.","Inventory ranges from investment-scale studios to full-floor penthouses, with a rental market that gives owners real optionality."],lifestyle:["Signature towers: The Austonian, Four Seasons, 70 Rainey, The Independent","Walk to Lady Bird Lake trail, ACL Live, and Second Street shopping","Rainey Street and East Sixth entertainment districts at the doorstep","Strong short-term and long-term rental demand for owner-investors","Truly car-optional lifestyle inside the Central Business District"],stats:[{value:"78701",label:"Downtown Austin ZIP"},{value:"$500s–$5M+",label:"Condo range"},{value:"0 min",label:"You're already there"}]}],DB=e=>DT.find(t=>t.slug===e),MB=e=>`/idx/?q=${encodeURIComponent(JSON.stringify({listing_status:{value:["Active"]}}))}&suggestions=${encodeURIComponent(JSON.stringify([e]))}`,LB=()=>a.jsx("section",{className:"section-padding bg-near-black text-warm-white",children:a.jsxs("div",{className:"container-luxury",children:[a.jsxs("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between gap-8 mb-14 md:mb-20",children:[a.jsxs("div",{children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-warm-white/50 mb-4",children:"Our Communities"})}),a.jsx(E,{delay:.08,children:a.jsxs("h2",{className:"heading-section text-warm-white max-w-xl",children:["Neighborhoods we",a.jsx("br",{}),"know by name."]})})]}),a.jsx(E,{delay:.16,children:a.jsx("p",{className:"max-w-sm text-sm md:text-base font-body font-light text-warm-white/70 leading-relaxed",children:"From downtown high-rises to Hill Country retreats — a curated look at the places we serve across the greater Austin region."})})]}),a.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:DT.map((e,t)=>a.jsx(E,{delay:t%3*.08,children:a.jsxs(G,{to:`/neighborhoods/${e.slug}`,className:"group relative block aspect-square overflow-hidden bg-charcoal",children:[a.jsx("img",{src:e.image,alt:`${e.name}, TX`,loading:"lazy",className:"absolute inset-0 w-full h-full object-cover grayscale opacity-85 group-hover:opacity-100 group-hover:grayscale-0 group-hover:scale-105 transition-all duration-[900ms] ease-out"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-near-black/50 via-transparent to-transparent"}),a.jsx("div",{className:"absolute bottom-6 left-6 right-6",children:a.jsxs("div",{className:"inline-block bg-warm-white/95 backdrop-blur-sm px-4 py-3",children:[a.jsx("h3",{className:"font-display font-extrabold uppercase tracking-tighter text-xl text-near-black leading-none",children:e.name}),a.jsx("p",{className:"mt-1.5 text-[9px] uppercase tracking-[0.3em] font-bold font-display text-charcoal/70",children:e.tag})]})})]})},e.slug))})]})});function Z({className:e,...t}){return a.jsx("div",{className:Q("animate-pulse rounded-md bg-muted",e),...t})}const MT=({image:e,title:t,location:n,price:r,status:s="For Sale",beds:i,baths:o,sqft:l,index:c=0,listingId:u,photos:d,description:h})=>{const f=u?`/properties/${u}`:"/properties",p={image:e,title:t,location:n,price:r,status:s,beds:i,baths:o,sqft:l,photos:d,description:h};return a.jsx(Be.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:c*.1,ease:[.5,0,0,1]},children:a.jsxs(G,{to:f,state:p,className:"property-card block group",children:[a.jsxs("div",{className:"relative overflow-hidden aspect-[4/3]",children:[a.jsx(Be.img,{src:e,alt:t,className:"w-full h-full object-cover",whileHover:{scale:1.04},transition:{duration:.7,ease:[.5,0,0,1]}}),a.jsx("div",{className:"property-card-overlay"}),a.jsx("div",{className:"absolute top-4 left-4",children:a.jsx("span",{className:"text-caption px-3 py-1.5 bg-[hsl(var(--warm-white))]/90 text-foreground",children:s})})]}
308),a.jsxs("div",{className:"pt-5 border-t border-foreground/10 mt-5",children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-2",children:n}),a.jsx("h3",{className:"heading-card text-foreground mb-2 group-hover:italic transition-all",children:t}),a.jsx("p",{className:"text-xl md:text-2xl font-display font-semibold tracking-tight text-foreground",children:r}),a.jsxs("div",{className:"flex items-center justify-between mt-4 pt-4 border-t border-foreground/10",children:[a.jsxs("div",{className:"flex gap-4 text-xs text-charcoal",children:[i>0&&a.jsxs("span",{className:"flex items-center gap-1.5",children:[a.jsx(vS,{className:"w-3.5 h-3.5"}),i]}),o>0&&a.jsxs("span",{className:"flex items-center gap-1.5",children:[a.jsx(yS,{className:"w-3.5 h-3.5"}),o]}),l&&a.jsxs("span",{className:"flex items-center gap-1.5",children:[a.jsx(xS,{className:"w-3.5 h-3.5"}),l," sf"]})]}),a.jsx("img",{src:"https://d37ukvrrv3in12.cloudfront.net/mls/logos/IDX_499.png",alt:"MLS",className:"h-4 opacity-60 [filter:brightness(0)]"})]})]})]})})},Tc=()=>a.jsxs("div",{className:"block",children:[a.jsx(Z,{className:"aspect-[4/3] w-full"}),a.jsxs("div",{className:"pt-5",children:[a.jsx(Z,{className:"h-6 w-32 mb-2"}),a.jsx(Z,{className:"h-5 w-48 mb-1"}),a.jsx(Z,{className:"h-4 w-40 mb-3"}),a.jsxs("div",{className:"flex gap-4",children:[a.jsx(Z,{className:"h-4 w-16"}),a.jsx(Z,{className:"h-4 w-16"}),a.jsx(Z,{className:"h-4 w-20"})]})]})]}),vm=[{quote:"Womack Real Estate was an absolute pleasure to work with. Wes, Prima, and their team made selling and buying our home as smooth and stress-free as possible. The real difference is that they genuinely care about their clients, and that shows in the quality of their work.",author:"The Rhemann Family",context:"Sold and bought · Austin, TX"},{quote:"From our first showing to the final signature, the Womacks treated our search like it was their own family's. Their knowledge of Austin's hidden pockets saved us months of looking — and their patience never wavered.",author:"The Lovell Family",context:"Purchased · Cedar Park, TX"},{quote:"Words cannot express the appreciation my wife and I have for the work Wes and Prima did in selling and buying our home. Their professionalism, communication, market knowledge, and level of patience is outstanding.",author:"The Skidder Family",context:"Sold and bought · Round Rock, TX"},{quote:"Wes Womack sold my condo in less than 24 hours, and I couldn't be happier. He went above and beyond to help me out, as did Prima Womack. Thank you all so very much — you broke the record.",author:"Kim Davis",context:"Sold · Austin, TX"}],$B=()=>a.jsx("section",{className:"section-padding bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12 lg:gap-20",children:[a.jsx("div",{className:"lg:col-span-4",children:a.jsxs("div",{className:"lg:sticky lg:top-32",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground/50 mb-6",children:"The Stories We Tell"})}),a.jsx(E,{delay:.08,children:a.jsxs("h2",{className:"heading-section text-foreground",children:["Client",a.jsx("br",{}),"Legacies."]})}),a.jsx(E,{delay:.16,children:a.jsx("p",{className:"mt-6 max-w-sm text-body text-foreground/70",children:"Real families. Real transactions. In their own words."})})]})}),a.jsx("div",{className:"lg:col-span-8 space-y-24 lg:space-y-32",children:vm.map((e,t)=>a.jsx(E,{delay:t*.06,children:a.jsxs("figure",{className:"group border-l border-foreground
308/15 pl-8 md:pl-12",children:[a.jsxs("blockquote",{className:"font-display font-light italic text-2xl md:text-3xl lg:text-[34px] leading-[1.35] tracking-tight text-foreground/85 group-hover:text-foreground transition-colors",children:["“",e.quote,"”"]}),a.jsxs("figcaption",{className:"mt-8 flex flex-col gap-2",children:[a.jsx("span",{className:"h-px w-10 bg-foreground/40"}),a.jsx("span",{className:"text-[10px] uppercase tracking-[0.35em] font-bold font-display text-foreground",children:e.author}),a.jsx("span",{className:"text-[10px] uppercase tracking-[0.25em] font-medium font-display text-foreground/50",children:e.context})]})]})},e.author))})]})})}),FB=async()=>{const e="realsavvy",{data:t,error:n}=await fn.functions.invoke("instagram-feed",{body:{instagram_username:e,limit:12}});if(n)throw n;return t.media||[]},BB=()=>{const{data:e,isLoading:t,error:n}=li({queryKey:["instagram-feed"],queryFn:FB,staleTime:6e5,retry:1});return n?(console.error("Instagram feed error:",n),null):a.jsx("section",{className:"section-padding bg-secondary",children:a.jsxs("div",{className:"container-luxury",children:[a.jsxs("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between mb-12",children:[a.jsxs("div",{children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-muted-foreground mb-4",children:"Follow Along"})}),a.jsx(E,{delay:.1,children:a.jsx("h2",{className:"heading-section",children:"On Instagram"})})]}),a.jsx(E,{delay:.2,children:a.jsxs("a",{href:"https://instagram.com/realsavvy",target:"_blank",rel:"noopener noreferrer",className:"mt-6 md:mt-0 inline-flex items-center gap-2 text-caption text-foreground hover:text-foreground/60 transition-colors",children:[a.jsx(hp,{size:18}),"@","realsavvy"]})})]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:t?Array.from({length:12}).map((r,s)=>a.jsx(Z,{className:"aspect-square w-full"},s)):e==null?void 0:e.map((r,s)=>{var i;return a.jsx(E,{delay:s*.05,children:a.jsxs("a",{href:r.permalink,target:"_blank",rel:"noopener noreferrer",className:"block aspect-square overflow-hidden group relative",children:[r.media_type==="VIDEO"&&a.jsx("div",{className:"absolute top-3 right-3 z-10 bg-background/80 backdrop-blur-sm rounded-full p-2",children:a.jsx(JP,{size:16,className:"text-foreground fill-foreground"})}),r.media_type==="VIDEO"?a.jsx("video",{src:r.media_url,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105",muted:!0,playsInline:!0}):a.jsx("img",{src:r.media_url,alt:((i=r.caption)==null?void 0:i.slice(0,100))||"Instagram post",className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"lazy"}
308),a.jsx("div",{className:"absolute inset-0 bg-foreground/0 group-hover:bg-foreground/20 transition-colors duration-300 flex items-center justify-center",children:a.jsx(hp,{size:28,className:"text-background opacity-0 group-hover:opacity-100 transition-opacity duration-300"})})]})},r.id)})})]})})},WB="https://gfsccoriamabpbyyzrlj.supabase.co",Pd=`${WB}/functions/v1/blog-api`;async function Rd(){return localStorage.getItem("blog_api_key")||""}function LT(e){return li({queryKey:["blog-posts","published",e],queryFn:async()=>{let t=fn.from("blog_posts").select("*").eq("published",!0).order("published_at",{ascending:!1});e&&(t=t.limit(e));const{data:n,error:r}=await t;if(r)throw r;return n}})}function UB(e){return li({queryKey:["blog-post",e],queryFn:async()=>{const{data:t,error:n}=await fn.from("blog_posts").select("*").eq("slug",e).eq("published",!0).maybeSingle();if(n)throw n;return t},enabled:!!e})}function VB(){return li({queryKey:["blog-posts","all"],queryFn:async()=>{const e=await Rd(),t=await fetch(Pd,{headers:{"x-api-key":e,"Content-Type":"application/json"}});if(!t.ok)throw new Error("Failed to fetch posts");return t.json()}})}function HB(){const e=Rl();return Wg({mutationFn:async t=>{const n=await Rd(),r=await fetch(Pd,{method:"POST",headers:{"x-api-key":n,"Content-Type":"application/json"},body:JSON.stringify(t)});if(!r.ok){const s=await r.json();throw new Error(s.error||"Failed to create post")}return r.json()},onSuccess:()=>{e.invalidateQueries({queryKey:["blog-posts"]})}})}function zB(){const e=Rl();return Wg({mutationFn:async({slug:t,data:n})=>{const r=await Rd(),s=await fetch(`${Pd}/${t}`,{method:"PUT",headers:{"x-api-key":r,"Content-Type":"application/json"},body:JSON.stringify(n)});if(!s.ok){const i=await s.json();throw new Error(i.error||"Failed to update post")}return s.json()},onSuccess:()=>{e.invalidateQueries({queryKey:["blog-posts"]}),e.invalidateQueries({queryKey:["blog-post"]})}})}function qB(){const e=Rl();return Wg({mutationFn:async t=>{const n=await Rd(),r=await fetch(`${Pd}/${t}`,{method:"DELETE",headers:{"x-api-key":n,"Content-Type":"application/json"}});if(!r.ok){const s=await r.json();throw new Error(s.error||"Failed to delete post")}return r.json()},onSuccess:()=>{e.invalidateQueries({queryKey:["blog-posts"]})}})}const KB=()=>{const{data:e,isLoading:t}=LT(3);return t?a.jsx("section",{className:"section-padding bg-secondary",children:a.jsxs("div",{className:"container-luxury",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx(Z,{className:"h-4 w-32 mx-auto mb-4"}),a.jsx(Z,{className:"h-12 w-64 mx-auto"})]}),a.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:[...Array(3)].map((n,r)=>a.jsxs("div",{className:"bg-card border border-border",children:[a.jsx(Z,{className:"aspect-[16/10] w-full"}),a.jsxs("div",{className:"p-6 space-y-3",children:[a.jsx(Z,{className:"h-4 w-24"}),a.jsx(Z,{className:"h-6 w-3/4"}),a.jsx(Z,{className:"h-16 w-full"})]})]},r))})]})}):!e||e.length===0?null:a.jsx("section",{className:"section-padding bg-secondary",children:a.jsxs("div",{className:"container-luxury",children:[a.jsx(E,{children:a.jsxs("div",{className:"text-center mb-12 md:mb-16",children:[a.jsx("p",{className:"text-caption text-muted-foreground mb-4",children:"Latest Insights"}),a.jsx("h2",{className:"heading-section",children:"From the Blog"})]})}),a.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:e.map((n,r)=>{const s=n.published_at?new Date(n.published_at).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):"";return a.jsx(E,{delay:r*.1,children:a.jsx(G,{to:`/blog/${n.slug}`,className:"group block h-full",children:a.jsxs("article",{className:"bg-card border border-border h-full flex flex-col transition-all duration-500 hover:shadow-lg",children:[n.featured_image&&a.jsx("div",{className:"aspect-[16/10] overflow-hidden",children:a.jsx("img",{src:n.featured_image,alt:n.title,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"})}),a.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[s&&a.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground mb-3",children:[a.jsx(Sg,{className:"w-3 h-3"}),s]}),a.jsx("h3",{className:"heading-card text-lg mb-3 group-hover:text-accent transition-colors line-clamp-2",children:n.title}),n.excerpt&&a.jsx("p",{className:"text-sm text-muted-foreground line-clamp-3 flex-1",children:n.excerpt}),a.jsx("div",{className:"mt-4 pt-4 border-t border-border",children:a.jsxs("span",{className:"inline-flex items-center gap-2 text-xs uppercase tracking-wider font-medium text-foreground group-hover:text-accent transition-colors",children:["Read More",a.jsx(_u,{className:"w-3 h-3 transition-transform group-hover:translate-x-1"})]})})]})]})})},n.id)})}),a.jsx(E,{children:a.jsx("div",{className:"text-center mt-12",children:a.jsx(G,{to:"/blog",className:"btn-luxury",children:"View All Posts"})})})]})})},GB="https://api.realsavvy.com/api/v3/listings/search",YB="https://api.realsavvy.com/api/v3/suggestions",Cy="eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJhMmQzZjdhOWQ4YjFkOTMxMzU4MTFjYmYyMmZjZTY4OWI0OWVkYTFmYzkyYmY3OWJjZmRhYWExZTQxZGM1MjZhIiwiYXVkIjoiZ2lkOi8vcmVhbC1zYXZ2eS9TaXRlLzkyNyIsInN1YiI6ImdpZDovL3JlYWwtc2F2dnkvU2l0ZS85MjciLCJzY29wZXMiOlsicHVibGljIl0sInNhbHQiOiI5NGYzM2NmNy0wM2Y5LTQ4NzAtOThhNy1mYWRjNmMyMDU2ZGEifQ.lp0Wv4hmIlJZTpbjxBC5ZM1k_bsiKDwSNxdvsRqnx9oT7T0ZfEOd7MZgLKoKBPbXpfUHjioNAbkKOtDKAoLZErGXSKgZSNaONjOCqGa9vC6UBHoD92dqM2yjxt1jx1z6UX-XA2hh2xRHYUUcsFq0_YH4fJtav0wTaG-rymDPm2bQb41Z7eu5vvsGSApETUBveHl0n8taNKYnv-Tdwh8Gt7WrRk0HF19OB6KCd0x4caBKZNJd7aUkLEJEd4BZhZfKRRpVNhOmCG-fodjmSayM1n9YShInWFyMmWViZX0kj5pzGXl4M7amKankSteb4WFMeiMNeOBOHabc9qQycMqcHg",JB=async e=>{const t=await fetch(`${YB}?ids[]=${e}`,{method:"GET",headers:{Authorization:`Bearer ${Cy}`,"Content-Type":"application/json"}});return t.ok?t.json():(console.error(`Failed to fetch suggestion data: ${t.status}`),null)},QB=e=>{if(!(e!=null&&e.data)||e.data.length===0)return null;const t=e.data[0],n=t.attributes||{};return[{resource_type:t.type||"areas",resource_id:t.id,resource_label:n.name||n.label||"",resource_sub_type:n.sub_type||"place",type:"geo_shape",value:{suggestion_id:t.
308id,geometry:n.geometry,bounding_box:n.bounding_box}}]},XB=async e=>{const t=await fetch(GB,{method:"POST",headers:{Authorization:`Bearer ${Cy}`,"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw new Error(`API error: ${t.status}`);return t.json()},$T=async(e,t)=>{if(t){const n=await JB(t),r=QB(n);r&&(e={...e,filter:{...e.filter,suggestion:{value:r}}})}return XB(e)},ZB="ACT700153",eW=()=>({broker_office:{"unlock-mls":{key:ZB}}}),tW=(e=1,t=4,n)=>{const r={filter:eW(),market_id:null,page:{number:e,size:t},sort:"+price_in_dollars"};return li({queryKey:["listings","all",e,t,n],queryFn:()=>$T(r,n),staleTime:5*60*1e3})},nW=(e,t=1,n=12,r)=>{const s={filter:e,market_id:null,page:{number:t,size:n},sort:"+price_in_dollars"};return li({queryKey:["listings",JSON.stringify(e),t,n,r],queryFn:()=>$T(s,r),staleTime:5*60*1e3})},rW=async e=>{const t=await fetch(`https://api.realsavvy.com/api/v3/listings/${e}`,{method:"GET",headers:{Authorization:`Bearer ${Cy}`,"Content-Type":"application/json"}});if(!t.ok)throw new Error(`API error: ${t.status}`);return t.json()},sW=e=>li({queryKey:["listing",e],queryFn:()=>rW(e),enabled:!!e,staleTime:5*60*1e3}),_y=e=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e),Ro=e=>new Intl.NumberFormat("en-US").format(e),q0="https://womackrealestate.com",iW=()=>{const{data:e,isLoading:t,error:n}=tW(1,4),r=(e==null?void 0:e.data)||[];return a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Womack Real Estate | Austin, TX Homes & Hill Country Living"}),a.jsx("meta",{name:"description",content:"A family-run Austin brokerage led by Wes & Prima Womack. Hospitality-first service across Austin, Round Rock, Cedar Park, Lakeway, Dripping Springs, Buda, Kyle, and Manor."}),a.jsx("link",{rel:"canonical",href:`${q0}/`}),a.jsx("meta",{property:"og:title",content:"Womack Real Estate | Austin, TX"}),a.jsx("meta",{property:"og:description",content:"Family-run Austin brokerage. Finding your dream home across Austin and the Hill Country."}),a.jsx("meta",{property:"og:url",content:`${q0}/`}),a.jsx("meta",{property:"og:type",content:"website"})]}),a.jsx("div",{className:"-mt-20",children:a.jsx(BF,{})}),a.jsx(XF,{}),a.jsx("section",{className:"section-padding bg-secondary",children:a.jsxs("div",{className:"container-luxury",children:[a.jsxs("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between mb-14 md:mb-20",children:[a.jsxs("div",{children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground/50 mb-4",children:"Featured Listings"})}),a.jsx(E,{delay:.08,children:a.jsx("h2",{className:"heading-section text-foreground",children:"Homes on the market."})})]}),a.jsx(E,{delay:.16,children:a.jsxs(G,{to:"/properties",className:"mt-6 md:mt-0 inline-flex items-center gap-2 text-[10px] uppercase tracking-[0.3em] font-bold font-display text-foreground border-b border-foreground
308/40 hover:border-foreground pb-1 transition-colors",children:["View All Properties",a.jsx(_u,{size:14})]})})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 md:gap-12",children:t?a.jsxs(a.Fragment,{children:[a.jsx(Tc,{}),a.jsx(Tc,{}),a.jsx(Tc,{}),a.jsx(Tc,{})]}):n?a.jsx("p",{className:"col-span-2 text-center text-muted-foreground",children:"Unable to load properties. Please try again later."}):r.map((s,i)=>{var o;return a.jsx(MT,{listingId:s.id,image:((o=s.attributes.photo_urls)==null?void 0:o[0])||"/placeholder.svg",title:s.attributes.title||"Property",location:s.attributes.subtitle||"",price:_y(s.attributes.price_in_dollars),status:s.attributes.listing_status||"For Sale",beds:s.attributes.bedrooms,baths:s.attributes.bathrooms,sqft:s.attributes.square_feet?Ro(s.attributes.square_feet):s.attributes.lot_square_feet?Ro(parseFloat(s.attributes.lot_square_feet)):void 0,index:i,photos:s.attributes.photo_urls,description:s.attributes.description||void 0},s.id)})})]})}),a.jsx(LB,{}),a.jsx("section",{className:"py-24 md:py-32 bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 divide-y md:divide-y-0 md:divide-x divide-foreground
308/10 border-y border-foreground/10",children:[a.jsx(E,{children:a.jsxs("div",{className:"py-14 md:py-20 px-4 md:px-14 text-left",children:[a.jsx("p",{className:"text-caption text-foreground/50 mb-4",children:"Selling"}),a.jsx("h3",{className:"heading-card text-3xl md:text-4xl mb-6 max-w-xs",children:"Ready to list your home?"}),a.jsx(G,{to:"/selling",className:"btn-luxury",children:"Help Me Sell"})]})}),a.jsx(E,{delay:.08,children:a.jsxs("div",{className:"py-14 md:py-20 px-4 md:px-14 text-left",children:[a.jsx("p",{className:"text-caption text-foreground/50 mb-4",children:"Valuation"}),a.jsx("h3",{className:"heading-card text-3xl md:text-4xl mb-6 max-w-xs",children:"What's your home worth today?"}),a.jsx(G,{to:"/home-valuation",className:"btn-outline-editorial",children:"Get an Estimate"})]})})]})})}),a.jsx($B,{}),a.jsx(KB,{}),a.jsx(BB,{}),a.jsx("section",{className:"py-24 md:py-32 bg-near-black text-warm-white",children:a.jsx("div",{className:"container-luxury",children:a.jsxs("div",{className:"max-w-3xl",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-warm-white/50 mb-6",children:"Delivering the dream of home ownership"})}),a.jsx(E,{delay:.08,children:a.jsx("h2",{className:"heading-section text-warm-white mb-10",children:"Let's start the conversation."})}),a.jsx(E,{delay:.16,children:a.jsx("p",{className:"text-body text-warm-white/75 max-w-xl mb-12",children:"Whether you're buying, selling, or just exploring the Austin market, we're here to guide you at your pace."})}),a.jsx(E,{delay:.24,children:a.jsx(G,{to:"/connect",className:"btn-luxury-inverse",children:"Connect With Us"})})]})})})]})};var oW=w.createContext(void 0);function Ey(e){const t=w.useContext(oW);return e||t||"ltr"}var Xh="rovingFocusGroup.onEntryFocus",aW={bubbles:!1,cancelable:!0},Fl="RovingFocusGroup",[wm,FT,lW]=yg(Fl),[cW,BT]=Xt(Fl,[lW]),[uW,dW]=cW(Fl),WT=w.forwardRef((e,t)=>a.jsx(wm.Provider,{scope:e.__scopeRovingFocusGroup,children:a.jsx(wm.Slot,{scope:e.__scopeRovingFocusGroup,children:a.jsx(hW,{...e,ref:t})})}));WT.displayName=Fl;var hW=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:s=!1,dir:i,currentTabStopId:o,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...h}=e,f=w.useRef(null),p=Ee(t,f),x=Ey(i),[m,v]=lr({prop:o,defaultProp:l??null,onChange:c,caller:Fl}),[g,y]=w.useState(!1),b=wn(u),k=FT(n),S=w.useRef(!1),[j,C]=w.useState(0);return w.useEffect(()=>{const _=f.current;if(_)return _.addEventListener(Xh,b),()=>_.removeEventListener(Xh,b)},[b]),a.jsx(uW,{scope:n,orientation:r,dir:x,loop:s,currentTabStopId:m,onItemFocus:w.useCallback(_=>v(_),[v]),onItemShiftTab:w.useCallback(()=>y(!0),[]),onFocusableItemAdd:w.useCallback(()=>C(_=>_+1),[]),onFocusableItemRemove:w.useCallback(()=>C(_=>_-1),[]),children:a.jsx(le.div,{tabIndex:g||j===0?-1:0,"data-orientation":r,...h,ref:p,style:{outline:"none",...e.style},onMouseDown:ie(e.onMouseDown,()=>{S.current=!0}),onFocus:ie(e.onFocus,_=>{const A=!S.current;if(_.target===_.currentTarget&&A&&!g){const P=new CustomEvent(Xh,aW);if(_.currentTarget.dispatchEvent(P),!P.defaultPrevented){const F=k().filter(R=>R.focusable),M=F.find(R=>R.active),z=F.find(R=>R.id===m),ee=[M,z,...F].filter(Boolean).map(R=>R.ref.current);HT(ee,d)}}S.current=!1}),onBlur:ie(e.onBlur,()=>y(!1))})})}),UT="RovingFocusGroupItem",VT=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:s=!1,tabStopId:i,children:o,...l}=e,c=qs(),u=i||c,d=dW(UT,n),h=d.currentTabStopId===u,f=FT(n),{onFocusableItemAdd:p,onFocusableItemRemove:x,currentTabStopId:m}=d;return w.useEffect(()=>{if(r)return p(),()=>x()}
vendor: 4,516 bytes, line 308
308,[r,p,x]),a.jsx(wm.ItemSlot,{scope:n,id:u,focusable:r,active:s,children:a.jsx(le.span,{tabIndex:h?0:-1,"data-orientation":d.orientation,...l,ref:t,onMouseDown:ie(e.onMouseDown,v=>{r?d.onItemFocus(u):v.preventDefault()}),onFocus:ie(e.onFocus,()=>d.onItemFocus(u)),onKeyDown:ie(e.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){d.onItemShiftTab();return}if(v.target!==v.currentTarget)return;const g=mW(v,d.orientation,d.dir);if(g!==void 0){if(v.metaKey||v.ctrlKey||v.altKey||v.shiftKey)return;v.preventDefault();let b=f().filter(k=>k.focusable).map(k=>k.ref.current);if(g==="last")b.reverse();else if(g==="prev"||g==="next"){g==="prev"&&b.reverse();const k=b.indexOf(v.currentTarget);b=d.loop?gW(b,k+1):b.slice(k+1)}setTimeout(()=>HT(b))}}),children:typeof o=="function"?o({isCurrentTabStop:h,hasTabStop:m!=null}):o})})});VT.displayName=UT;var fW={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function pW(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function mW(e,t,n){const r=pW(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return fW[r]}function HT(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function gW(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var yW=WT,vW=VT,Id="Tabs",[wW,kV]=Xt(Id,[BT]),zT=BT(),[xW,Ay]=wW(Id),qT=w.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:s,defaultValue:i,orientation:o="horizontal",dir:l,activationMode:c="automatic",...u}=e,d=Ey(l),[h,f]=lr({prop:r,onChange:s,defaultProp:i??"",caller:Id});return a.jsx(xW,{scope:n,baseId:qs(),value:h,onValueChange:f,orientation:o,dir:d,activationMode:c,children:a.jsx(le.div,{dir:d,"data-orientation":o,...u,ref:t})})});qT.displayName=Id;var KT="TabsList",GT=w.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...s}=e,i=Ay(KT,n),o=zT(n);return a.jsx(yW,{asChild:!0,...o,orientation:i.orientation,dir:i.dir,loop:r,children:a.jsx(le.div,{role:"tablist","aria-orientation":i.orientation,...s,ref:t})})});GT.displayName=KT;var YT="TabsTrigger",JT=w.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:s=!1,...i}=e,o=Ay(YT,n),l=zT(n),c=ZT(o.baseId,r),u=eC(o.baseId,r),d=r===o.value;return a.jsx(vW,{asChild:!0,...l,focusable:!s,active:d,children:a.jsx(le.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:c,...i,ref:t,onMouseDown:ie(e.onMouseDown,h=>{!s&&h.button===0&&h.ctrlKey===!1?o.onValueChange(r):h.preventDefault()}),onKeyDown:ie(e.onKeyDown,h=>{[" ","Enter"].includes(h.key)&&o.onValueChange(r)}),onFocus:ie(e.onFocus,()=>{const h=o.activationMode!=="manual";!d&&!s&&h&&o.onValueChange(r)})})})});JT.displayName=YT;var QT="TabsContent",XT=w.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:s,children:i,...o}=e,l=Ay(QT,n),c=ZT(l.baseId,r),u=eC(l.baseId,r),d=r===l.value,h=w.useRef(d);return w.useEffect(()=>{const f=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(f)},[]),a.jsx(ar,{present:s||d,children:({present:f})=>a.jsx(le.div,{"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":c,hidden:!f,id:u,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:f&&i})})});XT.displayName=QT;function ZT(e,t){return`${e}-trigger-${t}`}function eC(e,t){return`${e}-content-${t}`}var bW=qT,tC=GT,nC=JT,rC=XT;const sC=bW,Ny=w.forwardRef(({className:e,...t},n)=>a.jsx(tC,{ref:n,className:Q("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));Ny.displayName=tC.displayName;const vl=w.forwardRef(({className:e,...t},n)=>a.jsx(nC,{ref:n,className:Q("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",e),...t}));vl.displayName=nC.displayName;const wl=w.forwardRef(({className:e,...t},n)=>a.jsx(rC,{ref:n,className:Q("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));
308wl.displayName=rC.displayName;const Zh="https://womackrealestate.com",K0=({filter:e,suggestionId:t})=>{var i;const{data:n,isLoading:r,error:s}=nW(e,1,12,t);return r?a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 md:gap-10",children:Array.from({length:6}).map((o,l)=>a.jsxs("div",{className:"space-y-4",children:[a.jsx(Z,{className:"aspect-[4/3] w-full"}),a.jsx(Z,{className:"h-6 w-3/4"}),a.jsx(Z,{className:"h-4 w-1/2"})]},l))}):s?a.jsx("div",{className:"text-center py-12",children:a.jsx("p",{className:"text-muted-foreground",children:"Failed to load properties. Please try again later."})}):(i=n==null?void 0:n.data)!=null&&i.length?a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 md:gap-10",children:n.data.map((o,l)=>{const c=o.attributes,u=c.square_feet?Ro(c.square_feet):c.lot_square_feet?Ro(parseFloat(c.lot_square_feet)):void 0;return a.jsx(MT,{listingId:o.id,image:c.photo_urls[0]||"/placeholder.svg",title:c.title,location:c.subtitle,price:_y(c.price_in_dollars),status:c.listing_status,beds:c.bedrooms,baths:c.bathrooms,sqft:u,index:l,photos:c.photo_urls,description:c.description||void 0},o.id)})}):a.jsx("div",{className:"text-center py-12",children:a.jsx("p",{className:"text-muted-foreground",children:"No properties found."})})},kW=()=>a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Luxury Properties for Sale | Womack Real Estate"}),a.jsx("meta",{name:"description",content:"Browse current listings and past transactions from Womack Real Estate across Austin, Round Rock, Cedar Park, and the Hill Country."}),a.jsx("link",{rel:"canonical",href:`${Zh}/properties`}),a.jsx("meta",{property:"og:title",content:"Luxury Properties | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"Current listings and past transactions across Austin and the Hill Country."}),a.jsx("meta",{property:"og:url",content:`${Zh}/properties`}),a.jsx("meta",{property:"og:type",content:"website"}),a.jsx("meta",{property:"og:image",content:`${Zh}/og-image.jpg`}),a.jsx("meta",{name:"twitter:card",content:"summary_large_image"})]}),a.jsx("section",{className:"pt-32 md:pt-40 pb-16 md:pb-20 bg-background",children:a.jsxs("div",{className:"container-luxury",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground/60 mb-6",children:"The Portfolio"})}),a.jsx(E,{delay:.1,children:a.jsxs("h1",{className:"heading-display max-w-4xl",children:["Homes we've ",a.jsx("span",{className:"italic font-light",children:"listed and closed."})]})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-24 bg-foreground
308/40 mt-10"})}),a.jsx(E,{delay:.2,children:a.jsx("p",{className:"text-body text-charcoal max-w-2xl mt-8",children:"A working portfolio of active and past listings across Austin, Round Rock, Cedar Park, Dripping Springs, and the surrounding communities."})})]})}),a.jsx("section",{className:"section-padding bg-background border-t border-foreground/10 pt-16 md:pt-20",children:a.jsx("div",{className:"container-luxury",children:a.jsxs(sC,{defaultValue:"active",className:"w-full",children:[a.jsx(E,{children:a.jsxs(Ny,{className:"bg-transparent h-auto p-0 border-b border-foreground/15 rounded-none w-full justify-start gap-10 mb-12 md:mb-16",children:[a.jsx(vl,{value:"active",className:"text-caption text-foreground/50 data-[state=active]:text-foreground data-[state=active]:border-b data-[state=active]:border-foreground bg-transparent rounded-none pb-4 px-0 data-[state=active]:shadow-none",children:"Current"}),a.jsx(vl,{value:"sold",className:"text-caption text-foreground/50 data-[state=active]:text-foreground data-[state=active]:border-b data-[state=active]:border-foreground bg-transparent rounded-none pb-4 px-0 data-[state=active]:shadow-none",children:"Past Transactions"})]})}),a.jsx(wl,{value:"active",className:"mt-0",children:a.jsx(K0,{filter:{listing_status:{value:["Active"]},broker_office:{"unlock-mls":{key:"ACT700153"}}}})}),a.jsx(wl,{value:"sold",className:"mt-0",children:a.jsx(K0,{filter:{listing_status:{value:["Sold"]},broker_office:{"unlock-mls":{key:"ACT700153"}}}})})]})})}),a.jsx("section",{className:"py-24 md:py-32 bg-foreground text-background",children:a.jsxs("div",{className:"container-luxury max-w-3xl",children:[a.jsxs(E,{children:[a.jsx("p",{className:"text-caption text-background/60 mb-6",children:"Looking for something specific?"}),a.jsx("h2",{className:"heading-section mb-8",children:"Some of our best homes never hit the market."}),a.jsx("span",{className:"block h-px w-16 bg-background/50 mb-8"})]}),a.jsx(E,{delay:.1,children:a.jsx("p",{className:"text-body text-background/85 mb-10 max-w-xl",children:"Tell us what you're after and we'll bring you private opportunities from our network of Austin sellers before they list."})}),a.jsx(E,{delay:.2,children:a.jsx("a",{href:"/connect",className:"btn-luxury-inverse",children:"Contact Womack"})})]})})]}),Py=kg("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),$e=w.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},i)=>{const o=r?GN:"button";return a.jsx(o,{className:Q(Py({variant:t,size:n,className:e})),ref:i,...s})});$e.displayName="Button";const SW="https://womackrealestate.com",jW=()=>{var u,d;const{id:e}=bd(),n=ur().state,{data:r,isLoading:s,error:i}=sW(e);if(s)return a.jsxs(ge,{children:[a.jsx("section",{className:"pt-8 pb-4 bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsx(Z,{className:"h-6 w-32"})})}),a.jsx("section",{className:"pb-8 bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsx(Z,{className:"aspect-[4/3]"}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsx(Z,{className:"aspect-[4/3]"}),a.jsx(Z,{className:"aspect-[4/3]"}),a.jsx(Z,{className:"aspect-[4/3]"}),a.jsx(Z,{className:"aspect-[4/3]"})]})]})})}),a.jsx("section",{className:"py-12 bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-12",children:[a.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[a.jsx(Z,{className:"h-8 w-24"}),a.jsx(Z,{className:"h-10 w-3/4"}),a.jsx(Z,{className:"h-6 w-1/2"}),a.jsx(Z,{className:"h-12 w-48"}),a.jsx(Z,{className:"h-40 w-full"})]}),a.jsx("div",{children:a.jsx(Z,{className:"h-64 w-full"})})]})})})]});const o=(u=r==null?void 0:r.data)==null?void 0:u.attributes,l=o?{id:r.data.id,title:o.title,subtitle:o.subtitle,price:_y(o.price_in_dollars),status:o.listing_status,bedrooms:o.bedrooms,bathrooms:o.bathrooms,squareFeet:o.square_feet?Ro(o.square_feet):null,lotSize:o.lot_acre?`${o.lot_acre} acres`:o.lot_square_feet?`${Ro(Number(o.lot_square_feet))} sq ft`:null,yearBuilt:o.year_built,propertyType:o.type?o.type.charAt(0).toUpperCase()+o.type.slice(1):"Residential",mlsNumber:o.mls_number,description:o.description,images:o.photo_urls||[],agent:{name:o.listing_agent||"Rick Orr",phone:o.office_phone||"(214) 906-9834",broker:o.listing_broker||"Vince Realty"},realstaqSections:((d=o.realstaq_details)==null?void 0:d.sections)||[],fromState:!1}:n?{id:e||"",title:n.title,subtitle:n.location,price:n.price,status:n.status,bedrooms:n.beds||0,bathrooms:n.baths||0,squareFeet:n.sqft||null,lotSize:null,yearBuilt:null,propertyType:"Residential",mlsNumber:null,description:n.description||null,images:n.photos||(n.image?[n.image]:[]),agent:{name:"Rick Orr",phone:"(214) 906-9834",broker:"Vince Realty"},realstaqSections:[],fromState:!0}:null;if(!l)return a.jsxs(ge,{children:[a.jsx(Ae,{children:a.jsx("title",{children:"Listing Not Found | Womack Real Estate"})}),a.jsx("section",{className:"py-20 bg-background",children:a.jsxs("div",{className:"container-luxury text-center",children:[a.jsx("h1",{className:"heading-section mb-4",children:"Listing Not Found"}),a.jsx("p",{className:"text-muted-foreground mb-8",children:"The property you're looking for could not be found."}),a.jsx(G,{to:"/properties",children:a.jsx($e,{className:"btn-luxury",children:"Back to Properties"})})]})})]});const c=`${SW}/properties/${l.id}`;return a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsxs("title",{children:[l.title," | Womack Real Estate"]}),a.jsx("meta",{name:"description",content:`${l.title} - ${l.subtitle}. ${l.bedrooms} beds, ${l.bathrooms} baths${l.squareFeet?`, ${l.squareFeet} sq ft`:""}. Listed at ${l.price}.`}),a.jsx("link",{rel:"canonical",href:c}),a.jsx("meta",{property:"og:title",content:`${l.title} | ${l.price}`}),a.jsx("meta",{property:"og:description",content:`${l.subtitle}. ${l.bedrooms} beds, ${l.bathrooms} baths.`}),a.jsx("meta",{property:"og:url",content:c}),a.jsx("meta",{property:"og:type",content:"website"}),l.images[0]&&a.jsx("meta",{property:"og:image",content:l.images[0]}),a.jsx("meta",{name:"twitter:card",content:"summary_large_image"})]}),a.jsx("section",{className:"pt-8 pb-4 bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsxs(G,{to:"/properties",className:"inline-flex items-center gap-2 text-muted-foreground hover:text-foreground transition-colors",children:[a.jsx(pd,{className:"w-4 h-4"}),a.jsx("span",{className:"text-sm",children:"Back to Properties"})]})})}),a.jsx("section",{className:"pb-8 bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:l.images[0]&&a.jsx("img",{src:l.images[0],alt:l.title,className:"w-full h-full object-cover"})}),a.jsx("div",{className:"grid grid-cols-2 gap-4",children:l.images.slice(1,5).map((h,f)=>a.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:a.jsx("img",{src:h,alt:`${l.t
308itle} - ${f+2}`,className:"w-full h-full object-cover",loading:"lazy"})},f))})]})})}),a.jsx("section",{className:"py-12 md:py-16 bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-12",children:[a.jsxs("div",{className:"lg:col-span-2",children:[a.jsx(E,{children:a.jsxs("div",{className:"flex items-start justify-between mb-6 gap-4",children:[a.jsxs("div",{children:[a.jsx("span",{className:"inline-block text-caption px-3 py-1.5 border border-foreground/25 text-foreground mb-5",children:l.status}),a.jsx("h1",{className:"heading-section mb-3",children:l.title}),a.jsxs("p",{className:"text-charcoal flex items-center gap-2",children:[a.jsx(wS,{className:"w-4 h-4"}),l.subtitle]})]}),a.jsxs("div",{className:"flex gap-2 shrink-0",children:[a.jsx($e,{variant:"outline",size:"icon","aria-label":"Share this listing",className:"rounded-none border-foreground/25",children:a.jsx(eR,{className:"w-4 h-4"})}),a.jsx($e,{variant:"outline",size:"icon","aria-label":"Save this listing to favorites",className:"rounded-none border-foreground
308/25",children:a.jsx(WP,{className:"w-4 h-4"})})]})]})}),a.jsx(E,{delay:.1,children:a.jsx("p",{className:"text-foreground text-4xl md:text-5xl font-display font-extrabold tracking-tight mb-8",children:l.price})}),a.jsx(E,{delay:.2,children:a.jsxs("div",{className:"flex flex-wrap gap-8 py-6 border-y border-foreground/15 mb-10",children:[l.bedrooms>0&&a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(vS,{className:"w-5 h-5 text-charcoal"}),a.jsx("span",{className:"text-foreground font-medium",children:l.bedrooms}),a.jsx("span",{className:"text-caption text-foreground/60",children:"Beds"})]}),l.bathrooms>0&&a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(yS,{className:"w-5 h-5 text-charcoal"}),a.jsx("span",{className:"text-foreground font-medium",children:l.bathrooms}),a.jsx("span",{className:"text-caption text-foreground/60",children:"Baths"})]}),l.squareFeet&&a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(xS,{className:"w-5 h-5 text-charcoal"}),a.jsx("span",{className:"text-foreground font-medium",children:l.squareFeet}),a.jsx("span",{className:"text-caption text-foreground/60",children:"Sq Ft"})]})]})}),l.description&&a.jsx(E,{delay:.3,children:a.jsxs("div",{className:"mb-10",children:[a.jsx("h2",{className:"heading-card mb-4",children:"Description"}),a.jsx("p",{className:"text-muted-foreground whitespace-pre-line leading-relaxed",children:l.description})]})}),l.fromState&&a.jsx(E,{delay:.3,children:a.jsx("div",{className:"p-4 bg-secondary rounded-sm mb-10",children:a.jsx("p",{className:"text-muted-foreground text-sm",children:/sold|closed/i.test(String(l.status??""))?"This listing has been sold. Limited details are available from the original search results.":"Limited details are available for this listing."})})}),l.realstaqSections.map((h,f)=>a.jsx(E,{delay:.4+f*.1,children:a.jsxs("div",{className:"mb-10",children:[a.jsx("h2",{className:"heading-card mb-4",children:h.title}),a.jsx("div",{className:`grid gap-4 ${h.style==="third"?"grid-cols-2 md:grid-cols-3":"grid-cols-1 md:grid-cols-2"}`,children:h.fields.map((p,x)=>a.jsxs("div",{className:"p-4 bg-secondary rounded-sm",children:[a.jsx("p",{className:"text-caption text-muted-foreground mb-1",children:p.label}),a.jsx("p",{className:"text-foreground font-medium",children:p.value!==null&&p.value!==void 0?String(p.value):"N/A"})]},`${h.title}-${x}`))})]})},h.title))]}),a.jsx("div",{className:"lg:col-span-1",children:a.jsx(E,{delay:.2,children:a.jsxs("div",{className:"sticky top-24 p-8 border border-foreground
308/15",children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-6",children:"Contact Agent"}),a.jsxs("div",{className:"mb-8 border-b border-foreground/10 pb-6",children:[a.jsx("p",{className:"heading-card mb-1",children:l.agent.name}),a.jsx("p",{className:"text-charcoal text-sm",children:l.agent.broker}),a.jsx("p",{className:"text-charcoal text-sm mt-2",children:l.agent.phone})]}),a.jsxs("div",{className:"space-y-3",children:[a.jsx($e,{className:"w-full btn-luxury",children:"Schedule a Showing"}),a.jsx($e,{variant:"outline",className:"w-full btn-outline-editorial",children:"Request More Info"})]})]})})})]})})})]})},TW=()=>a.jsx(Er,{to:"/who-we-are",replace:!0}),G0="https://womackrealestate.com",CW=()=>{const e=vm.slice(0,3),t=vm.slice(3);return a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Client Stories | Womack Real Estate - Austin TX"}),a.jsx("meta",{name:"description",content:"Real client stories from families who bought and sold with Womack Real Estate across the Austin area."}),a.jsx("link",{rel:"canonical",href:`${G0}/testimonials`}),a.jsx("meta",{property:"og:title",content:"Client Stories | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"Real families, real closings, real stories from Austin."}),a.jsx("meta",{property:"og:url",content:`${G0}/testimonials`}),a.jsx("meta",{property:"og:type",content:"website"})]}),a.jsx("section",{className:"pt-32 md:pt-40 pb-20 md:pb-28 bg-background",children:a.jsxs("div",{className:"container-luxury",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground/60 mb-6",children:"Client Stories"})}),a.jsx(E,{delay:.1,children:a.jsxs("h1",{className:"heading-display max-w-4xl",children:["The families we've ",a.jsx("span",{className:"italic font-light",children:"closed with."})]})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-24 bg-foreground
308/40 mt-10"})}),a.jsx(E,{delay:.2,children:a.jsx("p",{className:"text-body text-charcoal max-w-2xl mt-8",children:"Sellers, first-time buyers, repeat clients who came back years later. Their words, unedited."})})]})}),a.jsx("section",{className:"section-padding bg-background border-t border-foreground/10",children:a.jsx("div",{className:"container-luxury max-w-4xl space-y-20",children:e.map((n,r)=>a.jsx(E,{delay:r*.05,children:a.jsxs("article",{className:"border-t border-foreground/15 pt-12",children:[a.jsxs("p",{className:"text-caption text-foreground/60 mb-8",children:["Story ",String(r+1).padStart(2,"0")]}),a.jsxs("blockquote",{className:"text-2xl md:text-3xl font-display font-light leading-snug tracking-tight text-foreground mb-10",children:['"',n.quote,'"']}),a.jsxs("div",{className:"flex items-baseline gap-4",children:[a.jsx("p",{className:"font-display font-bold uppercase tracking-widest text-xs text-foreground",children:n.author}),a.jsx("span",{className:"h-px w-8 bg-foreground/40"}),a.jsx("p",{className:"text-xs text-charcoal",children:n.context})]})]})},n.author))})}),t.length>0&&a.jsx("section",{className:"section-padding bg-foreground",children:a.jsxs("div",{className:"container-luxury max-w-4xl",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-background/60 mb-12",children:"More Client Experiences"})}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 md:gap-16",children:t.map((n,r)=>a.jsx(E,{delay:r*.1,children:a.jsxs("div",{className:"border-l border-background/40 pl-8",children:[a.jsxs("blockquote",{className:"text-lg text-background/90 mb-6 leading-relaxed",children:['"',n.quote,'"']}),a.jsx("p",{className:"text-caption text-background/90",children:n.author}),a.jsx("p",{className:"text-xs text-background/60 mt-1",children:n.context})]})},n.author))})]})}),a.jsx("section",{className:"py-24 md:py-32 bg-background border-t border-foreground
308/10",children:a.jsxs("div",{className:"container-luxury max-w-2xl",children:[a.jsxs(E,{children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-6",children:"Ready?"}),a.jsx("h2",{className:"heading-section mb-8",children:"Let's write yours next."}),a.jsx("span",{className:"block h-px w-16 bg-foreground/40 mb-8"})]}),a.jsx(E,{delay:.1,children:a.jsx(G,{to:"/connect",className:"btn-luxury",children:"Start a Conversation"})})]})})]})},_W=()=>a.jsx(Er,{to:"/connect",replace:!0}),fe=w.forwardRef(({className:e,type:t,...n},r)=>a.jsx("input",{type:t,className:Q("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));fe.displayName="Input";function iC(e){const t=w.useRef({value:e,previous:e});return w.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Od="Checkbox",[EW,SV]=Xt(Od),[AW,Ry]=EW(Od);function NW(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:s,disabled:i,form:o,name:l,onCheckedChange:c,required:u,value:d="on",internal_do_not_use_render:h}=e,[f,p]=lr({prop:n,defaultProp:s??!1,onChange:c,caller:Od}),[x,m]=w.useState(null),[v,g]=w.useState(null),y=w.useRef(!1),b=x?!!o||!!x.closest("form"):!0,k={checked:f,disabled:i,setChecked:p,control:x,setControl:m,name:l,form:o,value:d,hasConsumerStoppedPropagationRef:y,required:u,defaultChecked:rs(s)?!1:s,isFormControl:b,bubbleInput:v,setBubbleInput:g};return a.jsx(AW,{scope:t,...k,children:PW(h)?h(k):r})}var oC="CheckboxTrigger",aC=w.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},s)=>{const{control:i,value:o,disabled:l,checked:c,required:u,setControl:d,setChecked:h,hasConsumerStoppedPropagationRef:f,isFormControl:p,bubbleInput:x}=Ry(oC,e),m=Ee(s,d),v=w.useRef(c);return w.useEffect(()=>{const g=i==null?void 0:i.form;if(g){const y=()=>h(v.current);return g.addEventListener("reset",y),()=>g.removeEventListener("reset",y)}},[i,h]),a.jsx(le.button,{type:"button",role:"checkbox","aria-checked":rs(c)?"mixed":c,"aria-required":u,"data-state":hC(c),"data-disabled":l?"":void 0,disabled:l,value:o,...r,ref:m,onKeyDown:ie(t,g=>{g.key==="Enter"&&g.preventDefault()}),onClick:ie(n,g=>{h(y=>rs(y)?!0:!y),x&&p&&(f.current=g.isPropagationStopped(),f.current||g.stopPropagation())})})});aC.displayName=oC;var Iy=w.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:s,defaultChecked:i,required:o,disabled:l,value:c,onCheckedChange:u,form:d,...h}=e;return a.jsx(NW,{__scopeCheckbox:n,checked:s,defaultChecked:i,disabled:l,required:o,onCheckedChange:u,name:r,form:d,value:c,internal_do_not_use_render:({isFormControl:f})=>a.jsxs(a.Fragment,{children:[a.jsx(aC,{...h,ref:t,__scopeCheckbox:n}),f&&a.jsx(dC,{__scopeCheckbox:n})]})})});Iy.displayName=Od;var lC="CheckboxIndicator",cC=w.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...s}=e,i=Ry(lC,n);return a.jsx(ar,{present:r||rs(i.checked)||i.checked===!0,children:a.jsx(le.span,{"data-state":hC(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:t,style:{pointerEvents:"none",...e.style}})})});cC.displayName=lC;var uC="CheckboxBubbleInput",dC=w.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:s,checked:i,defaultChecked:o,required:l,disabled:c,name:u,value:d,form:h,bubbleInput:f,setBubbleInput:p}=Ry(uC,e),x=Ee(n,p),m=iC(i),v=Og(r);w.useEffect(()=>{const y=f;if(!y)return;const b=window.HTMLInputElement.prototype,S=Object.getOwnPropertyDescriptor(b,"checked").set,j=!s.current;if(m!==i&&S){const C=new Event("click",{bubbles:j});y.indeterminate=rs(i),S.call(y,rs(i)?!1:i),y.dispatchEvent(C)}},[f,m,i,s]);const g=w.useRef(rs(i)?!1:i);return a.jsx(le.input,{type:"checkbox","aria-hidden":!0,defaultChecked:o??g.current,required:l,disabled:c,name:u,value:d,form:h,...t,tabIndex:-1,ref:x,style:{...t.style,...v,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});dC.displayName=uC;function PW(e){return typeof e=="function"}function rs(e){return e==="indeterminate"}function hC(e){return rs(e)?"indeterminate":e?"checked":"unchecked"}const fC=w.forwardRef(({className:e,...t},n)=>a.jsx(Iy,{ref:n,className:Q("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:a.jsx(cC,{className:Q("flex items-center justify-center text-current"),children:a.jsx(Hc,{className:"h-4 w-4"})})}));fC.displayName=Iy.displayName;const pC=({checked:e,onCheckedChange:t,entityName:n="Womack Real Estate"})=>a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsx(fC,{id:"opt-in",checked:e,onCheckedChange:r=>t(r===!0),className:"mt-1"}),a.jsxs("label",{htmlFor:"opt-in",className:"text-xs text-muted-foreground leading-relaxed cursor-pointer",children:["I agree to be contacted by ",n," via call, email, and text for real estate services. To opt out, you can reply 'stop' at any time or reply 'help' for assistance. You can also click the unsubscribe link in the emails. Message and data rates may apply. Message frequency may vary."," ",a.jsx(G,{to:"/privacy-policy",className:"underline hover:text-foreground transition-colors",children:"Privacy Policy"}),"."]})]}),RW="https://www-womackrealestate.realsavvy.co",IW="1111",mC="4z2ViaxZc638TA",Da={iframeDomain:RW,idxRedirectPath:"/idx",idxPrefix:"/app",siteId:"927",clientId:"eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJhMmQzZjdhOWQ4YjFkOTMxMzU4MTFjYmYyMmZjZTY4OWI0OWVkYTFmYzkyYmY3OWJjZmRhYWExZTQxZGM1MjZhIiwiYXVkIjoiZ2lkOi8vcmVhbC1zYXZ2eS9TaXRlLzkyNyIsInN1YiI6ImdpZDovL3JlYWwtc2F2dnkvU2l0ZS85MjciLCJzY29wZXMiOlsicHVibGljIl0sInNhbHQiOiI5NGYzM2NmNy0wM2Y5LTQ4NzAtOThhNy1mYWRjNmMyMDU2ZGEifQ.lp0Wv4hmIlJZTpbjxBC5ZM1k_bsiKDwSNxdvsRqnx9oT7T0ZfEOd7MZgLKoKBPbXpfUHjioNAbkKOtDKAoLZErGXSKgZSNaONjOCqGa9vC6UBHoD92dqM2yjxt1jx1z6UX-XA2hh2xRHYUUcsFq0_YH4fJtav0wTaG-rymDPm2bQb41Z7eu5vvsGSApETUBveHl0n8taNKYnv-Tdwh8Gt7WrRk0HF19OB6KCd0x4caBKZNJd7aUkLEJEd4BZhZfKRRpVNhOmCG-fodjmSayM1n9YShInWFyMmWViZX0kj5pzGXl4M7amKankSteb4WFMeiMNeOBOHabc9qQycMqcHg",style:{mainFont:"Inter"}},ef={idxPath:"/",marketId:IW,map:!0,query:{},suggestions:!0,height:"100vh",idxRedirect:!0},gC=(e,t)=>{const n=[];for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const s=t?`${t}[${r}]`:r,i=e[r];if(i==null)continue;n.push(i!==null&&typeof i=="object"?gC(i,s):`${encodeURIComponent(s)}=${encodeURIComponent(i)}`)}return n.join("&")}
308,OW=(e="/",t="")=>{const n={},r=localStorage.getItem("_market_v3");if(r)try{const u=JSON.parse(r);n.market_id=u.id}catch{n.market_id=ef.marketId}else n.market_id=ef.marketId;n.font=Da.style.mainFont;const s=localStorage.getItem("cycagt");s&&(n._cycagt=s),n._vid=mC;const o=new URLSearchParams(window.location.search).get("magic_link");o&&(n.magic_link=o),window.matchMedia("(max-width: 768px)").matches?n.map=!1:n.map=ef.map;const l=gC(n),c=t?`${l}&${t}`:l;return`${Da.iframeDomain}${Da.idxPrefix}${e}?${c}`},DW=()=>{const e=localStorage.getItem("cycagt"),t=n=>{if(!n.origin.includes("realsavvy"))return;const r=n.data;if(!r||!r.postal)return;const s=r.packingSlip;if(s){if(s.type==="federation.ping"){const i=n.source;i&&i.postMessage({postal:!0,packingSlip:{type:"federation.pong",instanceId:s.instanceId}},n.origin);return}if(s.type==="federation.message"){const i=s.envelope;if(!i)return;if(i.channel==="idx"&&i.topic==="router.didTransition"){const o=i.data;if(!o||!o.currentURL)return;const l=o.currentURL.split("?"),c=l[0],u=new URLSearchParams(l[1]||"");e&&u.set("_cycagt",e);const d=u.toString();let h;d===""?h=c:h=`${c}?${d}`,window.history.replaceState(o,document.title,`${Da.idxRedirectPath}${h}`)}}}};return window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}},MW="https://crm.realsavvy.com/api/form_submissions",LW="eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJhMmQzZjdhOWQ4YjFkOTMxMzU4MTFjYmYyMmZjZTY4OWI0OWVkYTFmYzkyYmY3OWJjZmRhYWExZTQxZGM1MjZhIiwiYXVkIjoiZ2lkOi8vcmVhbC1zYXZ2eS9TaXRlLzkyNyIsInN1YiI6ImdpZDovL3JlYWwtc2F2dnkvU2l0ZS85MjciLCJzY29wZXMiOlsicHVibGljIl0sInNhbHQiOiI5NGYzM2NmNy0wM2Y5LTQ4NzAtOThhNy1mYWRjNmMyMDU2ZGEifQ.lp0Wv4hmIlJZTpbjxBC5ZM1k_bsiKDwSNxdvsRqnx9oT7T0ZfEOd7MZgLKoKBPbXpfUHjioNAbkKOtDKAoLZErGXSKgZSNaONjOCqGa9vC6UBHoD92dqM2yjxt1jx1z6UX-XA2hh2xRHYUUcsFq0_YH4fJtav0wTaG-rymDPm2bQb41Z7eu5vvsGSApETUBveHl0n8taNKYnv-Tdwh8Gt7WrRk0HF19OB6KCd0x4caBKZNJd7aUkLEJEd4BZhZfKRRpVNhOmCG-fodjmSayM1n9YShInWFyMmWViZX0kj5pzGXl4M7amKankSteb4WFMeiMNeOBOHabc9qQycMqcHg",$W=mC;async function yC(e){const t=crypto.randomUUID(),n=new FormData;n.append("cyclum_vid",$W),n.append("cyclum_submission_id",t),n.append("form_name",e.formName),n.append("first_name",e.firstName.trim()),n.append("last_name",e.lastName.trim()),n.append("phone",e.phone.trim()),n.append("email",e.email.trim()),e.message&&n.append("message",e.message.trim());for(const s of e.tags)n.append("tag[]",s);if(n.append("tag[]",e.optedIn?"opted-in":"no-opt-in"),!(await fetch(MW,{method:"POST",headers:{Authorization:`Bearer ${LW}`},body:n})).ok)throw new Error("Failed to submit form")}const tf="https://womackrealestate.com",FW=()=>{const{toast:e}=Lo(),[t,n]=w.useState(1),[r,s]=w.useState(!1),[i,o]=w.useState({streetAddress:"",city:"",state:"CA",zipCode:"",propertyType:"",bedrooms:"",bathrooms:"",squareFeet:"",yearBuilt:"",condition:"",firstName:"",lastName:"",email:"",phone:""}),l=p=>{o({...i,[p.target.name]:p.target.value})},c=()=>{if(t===1&&(!i.streetAddress||!i.city||!i.zipCode)){e({title:"Required Fields",description:"Please fill in all address fields to continue.",variant:"destructive"});return}n(t+1)},u=()=>n(t-1),d=async p=>{if(p.preventDefault(),!i.firstName||!i.email||!i.phone){e({title:"Required Fields",description:"Please fill in your contact information.",variant:"destructive"});return}try{const x=[`Property: ${i.streetAddress}, ${i.city}, ${i.state} ${i.zipCode}`,i.propertyType&&`Type: ${i.propertyType}`,i.bedrooms&&`Beds: ${i.bedrooms}`,i.bathrooms&&`Baths: ${i.bathrooms}`,i.squareFeet&&`Sqft: ${i.squareFeet}`,i.yearBuilt&&`Year: ${i.yearBuilt}`,i.condition&&`Condition: ${i.condition}`].filter(Boolean).join(" | ");await yC({firstName:i.firstName,lastName:i.lastName,email:i.email,phone:i.phone,message:x,formName:"home-valuation-form",tags:["home-valuation"],optedIn:r}),e({title:"Valuation Request Submitted",description:"We will contact you within 24 hours with your personalized home valuation."}),n(3)}catch(x){console.error("Valuation form error:",x),e({title:"Error",description:"There was a problem submitting your request. Please try again.",variant:"destructive"})}},h=["Single Family Home","Condo/Townhouse","Multi-Family","Luxury Estate","Penthouse","Other"],f=["Excellent - Move-in ready, recently updated","Good - Well maintained, minor updates needed","Fair - Needs some work","Needs Renovation"];return a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Free Home Valuation | Womack Real Estate"}),a.jsx("meta",{name:"description",content:"Get a free, no-obligation home valuation from Womack Real Estate. Local market analysis for Austin and Hill Country properties."}),a.jsx("link",{rel:"canonical",href:`${tf}/home-valuation`}),a.jsx("meta",{property:"og:title",content:"Free Home Valuation | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"Get a complimentary market analysis of your Austin-area property from the Womack team."}),a.jsx("meta",{property:"og:url",content:`${tf}/home-valuation`}),a.jsx("meta",{property:"og:type",content:"website"}),a.jsx("meta",{property:"og:image",content:`${tf}/og-image.jpg`}),a.jsx("meta",{name:"twitter:card",content:"summary_large_image"})]}),a.jsx("section",{className:"pt-32 md:pt-40 pb-16 md:pb-20 bg-background",children:a.jsxs("div",{className:"container-luxury",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground
308/60 mb-6",children:"Free Home Valuation"})}),a.jsx(E,{delay:.1,children:a.jsxs("h1",{className:"heading-display max-w-4xl",children:["What's your home ",a.jsx("span",{className:"italic font-light",children:"worth today?"})]})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-24 bg-foreground/40 mt-10"})}),a.jsx(E,{delay:.2,children:a.jsx("p",{className:"text-body text-charcoal max-w-2xl mt-8",children:"Get a complimentary, no-obligation market analysis of your Austin-area property from the Womack team."})})]})}),a.jsx("section",{className:"bg-background border-y border-foreground/10",children:a.jsx("div",{className:"container-luxury py-6",children:a.jsxs("div",{className:"flex items-center justify-center gap-4",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("div",{className:`w-10 h-10 flex items-center justify-center transition-colors ${t>=1?"bg-foreground text-background":"bg-transparent border border-foreground/20 text-foreground/50"}`,children:t>1?a.jsx(Hc,{size:18}):a.jsx(wS,{size:18})}),a.jsx("span",{className:`text-caption hidden sm:block ${t>=1?"text-foreground":"text-foreground/50"}`,children:"Property Address"})]}
308),a.jsx("div",{className:"w-12 h-px bg-foreground/20"}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("div",{className:`w-10 h-10 flex items-center justify-center transition-colors ${t>=2?"bg-foreground text-background":"bg-transparent border border-foreground/20 text-foreground/50"}`,children:t>2?a.jsx(Hc,{size:18}):a.jsx(UP,{size:18})}),a.jsx("span",{className:`text-caption hidden sm:block ${t>=2?"text-foreground":"text-foreground/50"}`,children:"Property Details"})]})]})})}),a.jsx("section",{className:"section-padding bg-background",children:a.jsx("div",{className:"container-luxury max-w-3xl",children:a.jsxs(Zc,{mode:"wait",children:[t===1&&a.jsxs(Be.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},children:[a.jsxs("div",{className:"mb-12",children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-4",children:"Step 01"}),a.jsx("h2",{className:"heading-section mb-4",children:"Where is your property located?"}),a.jsx("p",{className:"text-body text-charcoal",children:"Enter your property address to begin your complimentary valuation."})]}),a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"streetAddress",className:"text-caption text-foreground/60 mb-2 block",children:"Street Address *"}),a.jsx(fe,{id:"streetAddress",name:"streetAddress",value:i.streetAddress,onChange:l,placeholder:"123 Main St",className:"bg-transparent border-0 border-b border-foreground
308/20 h-14 rounded-none focus:ring-0 focus:border-foreground text-lg px-0"})]}),a.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6",children:[a.jsxs("div",{className:"sm:col-span-1",children:[a.jsx("label",{htmlFor:"city",className:"text-caption text-foreground/60 mb-2 block",children:"City *"}),a.jsx(fe,{id:"city",name:"city",value:i.city,onChange:l,placeholder:"Austin",className:"bg-transparent border-0 border-b border-foreground/20 h-14 rounded-none focus:ring-0 focus:border-foreground px-0"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"state",className:"text-caption text-foreground/60 mb-2 block",children:"State"}),a.jsxs("select",{id:"state",name:"state",value:i.state,onChange:l,className:"w-full bg-transparent border-0 border-b border-foreground/20 h-14 px-0 text-foreground focus:outline-none focus:border-foreground appearance-none cursor-pointer",children:[a.jsx("option",{value:"TX",children:"Texas"}),a.jsx("option",{value:"CA",children:"California"})]})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"zipCode",className:"text-caption text-foreground/60 mb-2 block",children:"ZIP Code *"}),a.jsx(fe,{id:"zipCode",name:"zipCode",value:i.zipCode,onChange:l,placeholder:"78701",className:"bg-transparent border-0 border-b border-foreground
308/20 h-14 rounded-none focus:ring-0 focus:border-foreground px-0"})]})]}),a.jsxs("button",{type:"button",onClick:c,className:"btn-luxury w-full mt-8 flex items-center justify-center gap-2",children:["Continue ",a.jsx(_u,{size:16})]})]})]},"step1"),t===2&&a.jsx(Be.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},children:a.jsxs("form",{onSubmit:d,children:[a.jsxs("div",{className:"mb-12",children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-4",children:"Step 02"}),a.jsx("h2",{className:"heading-section mb-4",children:"Tell us about your property."}),a.jsx("p",{className:"text-body text-charcoal",children:"These details help us provide the most accurate valuation."})]}),a.jsxs("div",{className:"space-y-8",children:[a.jsxs("div",{children:[a.jsx("label",{className:"text-caption text-foreground/60 mb-4 block",children:"Property Type"}),a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-3",children:h.map(p=>a.jsx("button",{type:"button",onClick:()=>o({...i,propertyType:p}),className:`p-4 text-xs uppercase tracking-widest text-center transition-all border ${i.propertyType===p?"bg-foreground text-background border-foreground":"bg-transparent text-foreground border-foreground
308/20 hover:border-foreground"}`,children:p},p))})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"bedrooms",className:"text-caption text-foreground/60 mb-2 block",children:"Bedrooms"}),a.jsxs("select",{id:"bedrooms",name:"bedrooms",value:i.bedrooms,onChange:l,className:"w-full bg-transparent border-0 border-b border-foreground/20 h-14 px-0 text-foreground focus:outline-none focus:border-foreground appearance-none cursor-pointer",children:[a.jsx("option",{value:"",children:"Select"}),[1,2,3,4,5,6,7,8,"9+"].map(p=>a.jsx("option",{value:p,children:p},p))]})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"bathrooms",className:"text-caption text-foreground/60 mb-2 block",children:"Bathrooms"}),a.jsxs("select",{id:"bathrooms",name:"bathrooms",value:i.bathrooms,onChange:l,className:"w-full bg-transparent border-0 border-b border-foreground/20 h-14 px-0 text-foreground focus:outline-none focus:border-foreground appearance-none cursor-pointer",children:[a.jsx("option",{value:"",children:"Select"}),[1,1.5,2,2.5,3,3.5,4,4.5,5,"5+"].map(p=>a.jsx("option",{value:p,children:p},p))]})]})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"squareFeet",className:"text-caption text-foreground/60 mb-2 block",children:"Square Feet (approx.)"}),a.jsx(fe,{id:"squareFeet",name:"squareFeet",value:i.squareFeet,onChange:l,placeholder:"2,400",className:"bg-transparent border-0 border-b border-foreground
308/20 h-14 rounded-none focus:ring-0 focus:border-foreground px-0"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"yearBuilt",className:"text-caption text-foreground/60 mb-2 block",children:"Year Built"}),a.jsx(fe,{id:"yearBuilt",name:"yearBuilt",value:i.yearBuilt,onChange:l,placeholder:"2005",className:"bg-transparent border-0 border-b border-foreground/20 h-14 rounded-none focus:ring-0 focus:border-foreground px-0"})]})]}),a.jsxs("div",{children:[a.jsx("label",{className:"text-caption text-foreground/60 mb-4 block",children:"Property Condition"}),a.jsx("div",{className:"space-y-3",children:f.map(p=>a.jsx("button",{type:"button",onClick:()=>o({...i,condition:p}),className:`w-full p-4 text-sm text-left transition-all border ${i.condition===p?"bg-foreground text-background border-foreground":"bg-transparent text-foreground border-foreground/20 hover:border-foreground"}`,children:p},p))})]}),a.jsxs("div",{className:"pt-8 border-t border-foreground/15",children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-4",children:"Your Contact Information"}),a.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"firstName",className:"text-caption text-foreground/60 mb-2 block",children:"First Name *"}),a.jsx(fe,{id:"firstName",name:"firstName",value:i.firstName,onChange:l,className:"bg-transparent border-0 border-b border-foreground
308/20 h-14 rounded-none focus:ring-0 focus:border-foreground px-0"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"lastName",className:"text-caption text-foreground/60 mb-2 block",children:"Last Name"}),a.jsx(fe,{id:"lastName",name:"lastName",value:i.lastName,onChange:l,className:"bg-transparent border-0 border-b border-foreground/20 h-14 rounded-none focus:ring-0 focus:border-foreground px-0"})]})]}),a.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6 mt-6",children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"email",className:"text-caption text-foreground/60 mb-2 block",children:"Email *"}),a.jsx(fe,{id:"email",name:"email",type:"email",value:i.email,onChange:l,className:"bg-transparent border-0 border-b border-foreground/20 h-14 rounded-none focus:ring-0 focus:border-foreground px-0"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"phone",className:"text-caption text-foreground/60 mb-2 block",children:"Phone *"}),a.jsx(fe,{id:"phone",name:"phone",type:"tel",value:i.phone,onChange:l,className:"bg-transparent border-0 border-b border-foreground
308/20 h-14 rounded-none focus:ring-0 focus:border-foreground px-0"})]})]})]}),a.jsx(pC,{checked:r,onCheckedChange:s}),a.jsxs("div",{className:"flex gap-4 mt-8",children:[a.jsxs("button",{type:"button",onClick:u,className:"flex-1 btn-outline-editorial flex items-center justify-center gap-2",children:[a.jsx(pd,{size:16})," Back"]}),a.jsxs("button",{type:"submit",className:"flex-1 btn-luxury flex items-center justify-center gap-2",children:["Get My Valuation ",a.jsx(_u,{size:16})]})]})]})]})},"step2"),t===3&&a.jsxs(Be.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},transition:{duration:.4},className:"text-center py-12",children:[a.jsx("div",{className:"w-16 h-16 border border-foreground flex items-center justify-center mx-auto mb-10",children:a.jsx(Hc,{size:28,className:"text-foreground"})}),a.jsx("p",{className:"text-caption text-foreground/60 mb-4",children:"Thank You"}),a.jsx("h2",{className:"heading-section mb-6",children:"We'll be in touch shortly."}),a.jsx("span",{className:"block h-px w-16 bg-foreground/40 mx-auto mb-8"}),a.jsx("p",{className:"text-body text-charcoal max-w-lg mx-auto mb-10",children:"Your valuation request has been submitted. A Womack agent will personally review your property details and respond within 24 hours with a comprehensive market analysis."}),a.jsx(G,{to:"/",className:"btn-luxury",children:"Return Home"})]},"step3")]})})})]})};var vC={exports:{}};/*! pym.js - v1.3.2 - 2018-02-13 */(function(e){(function(t){e.exports?e.exports=t():window.pym=t.call(this)})(function(){var t="xPYMx",n={},r=function(f){var p=document.createEvent("Event");p.initEvent("pym:"+f,!0,!0),document.dispatchEvent(p)},s=function(f){var p=new RegExp("[\\?&]"+f.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]")+"=([^&#]*)"),x=p.exec(location.search);return x===null?"":decodeURIComponent(x[1].replace(/\+/g," "))},i=function(f,p){if(!(p.xdomain!=="*"&&!f.origin.match(new RegExp(p.xdomain+"$")))&&typeof f.data=="string")return!0},o=function(f){var p=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/gi;if(f.match(p))return!0},l=function(f,p,x){var m=["pym",f,p,x];return m.join(t)},c=function(f){var p=["pym",f,"(\\S+)","(.*)"];return new RegExp("^"+p.join(t)+"$")},u=Date.now||function(){return new Date().getTime()},d=function(f,p,x){var m,v,g,y=null,b=0;x||(x={});var k=function(){b=x.leading===!1?0:u(),y=null,g=f.apply(m,v),y||(m=v=null)};return function(){var S=u();!b&&x.leading===!1&&(b=S);var j=p-(S-b);return m=this,v=arguments,j<=0||j>p?(y&&(clearTimeout(y),y=null),b=S,g=f.apply(m,v),y||(m=v=null)):!y&&x.trailing!==!1&&(y=setTimeout(k,j)),g}},h=function(){for(var f=n.autoInitInstances.length,p=f-1;p>=0;p--){var x=n.autoInitInstances[p];x.el.getElementsByTagName("iframe").length&&x.el.getElementsByTagName("iframe")[0].contentWindow||n.autoInitInstances.splice(p,1)}};return n.autoInitInstances=[],n.autoInit=function(f){var p=document.querySelectorAll("[data-pym-src]:not([data-pym-auto-initialized])"),x=p.length;h();for(var m=0;m<x;++m){var v=p[m];v.setAttribute("data-pym-auto-initialized",""),v.id===""&&(v.id="pym-"+m+"-"+Math.random().toString(36).substr(2,5));var g=v.getAttribute("data-pym-src"),y={xdomain:"string",title:"string",name:"string",id:"string",sandbox:"string",allowfullscreen:"boolean",parenturlparam:"string",parenturlvalue:"string",optionalparams:"boolean",trackscroll:"boolean",scrollwait:"number"},b={};for(var k in y)if(v.getAttribute("data-pym-"+k)!==null)switch(y[k]){case"boolean":b[k]=v.getAttribute("data-pym-"+k)!=="false";break;case"string":b[k]=v.getAttribute("data-pym-"+k);break;case"number":var S=Number(v.getAttribute("data-pym-"+k));isNaN(S)||(b[k]=S);break;default:console.err("unrecognized attribute type")}var j=new n.Parent(v.id,g,b);n.autoInitInstances.push(j)}return f||r("pym-initialized"),n.autoInitInstances},n.Parent=function(f,p,x){this.id=f,this.url=p,this.el=document.getElementById(f),this.iframe=null,this.settings={xdomain:"*",optionalparams:!0,parenturlparam:"parentUrl",parenturlvalue:window.location.href,trackscroll:!1,scrollwait:100},this.messageRegex=c(this.id),this.messageHandlers={},x=x||{},this._constructIframe=function(){var v=this.el.offsetWidth.toString();this.iframe=document.createElement("iframe");var g="",y=this.url.indexOf("#");for(y>-1&&(g=this.url.substring(y,this.url.length),this.url=this.url.substring(0,y)),this.url.indexOf("?")<0?this.url+="?":this.url+="&",this.iframe.src=this.url+"initialWidth="+v+"&childId="+this.id,this.settings.optionalparams&&(this.iframe.src+="&parentTitle="+encodeURIComponent(document.title),this.iframe.src+="&"+this.settings.parenturlparam+"="+encodeURIComponent(this.settings.parenturlvalue)),this.iframe.src+=g,this.iframe.setAttribute("width","100%"),this.iframe.setAttribute("scrolling","no"),this.iframe.setAttribute("marginheight","0"),this.iframe.setAttribute("frameborder","0"),this.settings.title&&this.iframe.setAttribute("title",this.settings.title),this.settings.allowfullscreen!==void 0&&this.settings.allowfullscreen!==!1&&this.iframe.setAttribute("allowfullscreen",""),this.settings.sandbox!==void 0&&typeof this.settings.sandbox=="string"&&this.iframe.setAttribute("sandbox",this.settings.sandbox),this.settings.id&&(document.getElementById(this.settings.id)||this.iframe.setAttribute("id",this.settings.id)),this.settings.name&&this.iframe.setAttribute("name",this.settings.name);this.el.firstChild;)this.el.removeChild(this.el.firstChild);this.el.appendChild(this.iframe),window.addEventListener("resize",this._onResize),this.settings.trackscroll&&window.addEventListener("scroll",this._throttleOnScroll)},this._onResize=(function(){this.sendWidth(),this.settings.trackscroll&&this.sendViewportAndIFramePosition()}).bind(this),this._onScroll=(function(){this.sendViewportAndIFramePosition()}).bind(this),this._fire=function(v,g){if(v in this.messageHandlers)for(var y=0;y<this.messageHandlers[v].length;y++)this.messageHandlers[v][y].call(this,g)},this.remove=function(){window.removeEventListener("message",this._processMessage),window.removeEventListener("resize",this._onResize),this.el.removeChild(this.iframe),h()},this._processMessage=(function(v){if(i(v,this.settings)&&typeof v.data=="str
308ing"){var g=v.data.match(this.messageRegex);if(!g||g.length!==3)return!1;var y=g[1],b=g[2];this._fire(y,b)}}).bind(this),this._onHeightMessage=function(v){var g=parseInt(v);this.iframe.setAttribute("height",g+"px")},this._onNavigateToMessage=function(v){o(v)&&(document.location.href=v)},this._onScrollToChildPosMessage=function(v){var g=document.getElementById(this.id).getBoundingClientRect().top+window.pageYOffset,y=g+parseInt(v);window.scrollTo(0,y)},this.onMessage=function(v,g){v in this.messageHandlers||(this.messageHandlers[v]=[]),this.messageHandlers[v].push(g)},this.sendMessage=function(v,g){this.el.getElementsByTagName("iframe").length&&(this.el.getElementsByTagName("iframe")[0].contentWindow?this.el.getElementsByTagName("iframe")[0].contentWindow.postMessage(l(this.id,v,g),"*"):this.remove())},this.sendWidth=function(){var v=this.el.offsetWidth.toString();this.sendMessage("width",v)},this.sendViewportAndIFramePosition=function(){var v=this.iframe.getBoundingClientRect(),g=window.innerWidth||document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight,b=g+" "+y;b+=" "+v.top+" "+v.left,b+=" "+v.bottom+" "+v.right,this.sendMessage("viewport-iframe-position",b)};for(var m in x)this.settings[m]=x[m];return this._throttleOnScroll=d(this._onScroll.bind(this),this.settings.scrollwait),this.onMessage("height",this._onHeightMessage),this.onMessage("navigateTo",this._onNavigateToMessage),this.onMessage("scrollToChildPos",this._onScrollToChildPosMessage),this.onMessage("parentPositionInfo",this.sendViewportAndIFramePosition),window.addEventListener("message",this._processMessage,!1),this._constructIframe(),this},n.Child=function(f){this.parentWidth=null,this.id=null,this.parentTitle=null,this.parentUrl=null,this.settings={renderCallback:null,xdomain:"*",polling:0,parenturlparam:"parentUrl"},this.timerId=null,this.messageRegex=null,this.messageHandlers={},f=f||{},this.onMessage=function(v,g){v in this.messageHandlers||(this.messageHandlers[v]=[]),this.messageHandlers[v].push(g)},this._fire=function(v,g){if(v in this.messageHandlers)for(var y=0;y<this.messageHandlers[v].length;y++)this.messageHandlers[v][y].call(this,g)},this._processMessage=(function(v){if(i(v,this.settings)&&typeof v.data=="string"){var g=v.data.match(this.messageRegex);if(!(!g||g.length!==3)){var y=g[1],b=g[2];this._fire(y,b)}}}).bind(this),this._onWidthMessage=function(v){var g=parseInt(v);g!==this.parentWidth&&(this.parentWidth=g,this.settings.renderCallback&&this.settings.renderCallback(g),this.sendHeight())},this.sendMessage=function(v,g){window.parent.postMessage(l(this.id,v,g),"*")},this.sendHeight=(function(){var v=document.getElementsByTagName("body")[0].offsetHeight.toString();return this.sendMessage("height",v),v}).bind(this),this.getParentPositionInfo=function(){this.sendMessage("parentPositionInfo")},this.scrollParentTo=function(v){this.sendMessage("navigateTo","#"+v)},this.navigateParentTo=function(v){this.sendMessage("navigateTo",v)},this.scrollParentToChildEl=function(v){var g=document.getElementById(v).getBoundingClientRect().top+window.pageYOffset;this.scrollParentToChildPos(g)},this.scrollParentToChildPos=function(v){this.sendMessage("scrollToChildPos",v.toString())};var p=function(v){var g=document.getElementsByTagName("html")[0],y,b=g.className;try{window.self!==window.top?y="embedded":y="not-embedded"}catch{y="embedded"}b.indexOf(y)<0&&(g.className=b?b+" "+y:y,v&&v(y),r("marked-embedded"))};this.remove=function(){window.removeEventListener("message",this._processMessage),this.timerId&&clearInterval(this.timerId)};for(var x in f)this.settings[x]=f[x];this.id=s("childId")||f.id,this.messageRegex=new RegExp("^pym"+t+this.id+t+"(\\S+)"+t+"(.*)$");var m=parseInt(s("initialWidth"));return this.parentUrl=s(this.settings.parenturlparam),this.parentTitle=s("parentTitle"),this.onMessage("width",this._onWidthMessage),window.addEventListener("message",this._processMessage,!1),this.settings.renderCallback&&this.settings.renderCallback(m),this.sendHeight(),this.settings.polling&&(this.timerId=window.setInterval(this.sendHeight,this.settings.polling)),p(f.onMarkedEmbeddedStatus),this},typeof document<"u"&&n.autoInit(!0),n})})(vC);var BW=vC.exports;const WW=Io(BW),nf="https://womackrealestate.com",kr=()=>{const e=w.useRef(null);return w.useEffect(()=>{const n=new URLSearchParams(window.location.search).get("_cycagt");n&&localStorage.setItem("cycagt",n);const r=window.location.pathname.replace(Da.idxRedirectPath,"")||"/",s=window.location.search?window.location.search.substring(1):"",i=OW(r,s);
308e.current=new WW.Parent("idx-frame",i,{});const o=DW(),l=()=>{var h;const c=document.querySelector("header"),u=(c==null?void 0:c.offsetHeight)||80,d=window.innerHeight-u;(h=e.current)!=null&&h.iframe&&(e.current.iframe.setAttribute("height",`${d}px`),e.current.iframe.style.height=`${d}px`)};return l(),window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l),o()}},[]),a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Search MLS Listings | Womack Real Estate"}),a.jsx("meta",{name:"description",content:"Search every MLS listing across Austin, Round Rock, Cedar Park, Lakeway, Dripping Springs, Buda, Kyle, and Manor with Womack Real Estate."}),a.jsx("link",{rel:"canonical",href:`${nf}/idx`}),a.jsx("meta",{property:"og:title",content:"Search MLS Listings | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"Search every MLS listing across Austin and the Hill Country."}),a.jsx("meta",{property:"og:url",content:`${nf}/idx`}),a.jsx("meta",{property:"og:type",content:"website"}),a.jsx("meta",{property:"og:image",content:`${nf}/og-image.jpg`}),a.jsx("meta",{name:"twitter:card",content:"summary_large_image"})]}),a.jsx("div",{id:"idx-frame",className:"w-full [&>iframe]:w-full [&>iframe]:border-0"})]})};var UW="Label",wC=w.forwardRef((e,t)=>a.jsx(le.label,{...e,ref:t,onMouseDown:n=>{var s;n.target.closest("button, input, select, textarea")||((s=e.onMouseDown)==null||s.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));wC.displayName=UW;var xC=wC;const VW=kg("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Pe=w.forwardRef(({className:e,...t},n)=>a.jsx(xC,{ref:n,className:Q(VW(),e),...t}));Pe.displayName=xC.displayName;const Gs=w.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:Q("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));Gs.displayName="Card";const Ys=w.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:Q("flex flex-col space-y-1.5 p-6",e),...t}));Ys.displayName="CardHeader";const io=w.forwardRef(({className:e,...t},n)=>a.jsx("h3",{ref:n,className:Q("text-2xl font-semibold leading-none tracking-tight",e),...t}));io.displayName="CardTitle";const Ma=w.forwardRef(({className:e,...t},n)=>a.jsx("p",{ref:n,className:Q("text-sm text-muted-foreground",e),...t}));Ma.displayName="CardDescription";const Js=w.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:Q("p-6 pt-0",e),...t}));Js.displayName="CardContent";const HW=w.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:Q("flex items-center p-6 pt-0",e),...t}));HW.displayName="CardFooter";const zW=()=>{const e=Il(),{toast:t}=Lo(),{user:n,isLoading:r,isAdmin:s,signIn:i,signUp:o}=Nd(),[l,c]=w.useState(""),[u,d]=w.useState(""),[h,f]=w.useState(""),[p,x]=w.useState(""),[m,v]=w.useState(""),[g,y]=w.useState(!1);w.useEffect(()=>{!r&&n&&s&&e("/admin/blog")},[n,r,s,e]);const b=async S=>{S.preventDefault(),y(!0);const{error:j}=await i(l,u);t(j?{variant:"destructive",title:"Login failed",description:j.message}:{title:"Welcome back!",description:"You have successfully logged in."}),y(!1)},k=async S=>{if(S.preventDefault(),p!==m){t({variant:"destructive",title:"Passwords don't match",description:"Please make sure your passwords match."});return}if(p.length<6){t({variant:"destructive",title:"Password too short",description:"Password must be at least 6 characters."});return}y(!0);const{error:j}=await o(h,p);t(j?{variant:"destructive",title:"Registration failed",description:j.message}:{title:"Registration successful!",description:"Please check your email to verify your account."}),y(!1)};return r?a.jsx(ge,{children:a.jsx("div",{className:"min-h-[60vh] flex items-center justify-center",children:a.jsx("div",{className:"animate-pulse text-muted-foreground",children:"Loading..."})})}):a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Sign In | Womack Real Estate"}),a.jsx("meta",{name:"description",content:"Sign in to access your Womack Real Estate account and admin dashboard."}),a.jsx("meta",{name:"robots",content:"noindex, nofollow"})]}),a.jsx("div",{className:"section-padding bg-background",children:a.jsxs("div",{className:"container-luxury max-w-md",children:[a.jsxs("div",{className:"mb-10 text-center",children:[a.jsx("p",{className:"text-caption text-foreground
308/60 mb-4",children:"Admin"}),a.jsx("h1",{className:"heading-section",children:"Welcome back."}),a.jsx("span",{className:"block h-px w-12 bg-foreground/40 mt-6 mx-auto"})]}),a.jsxs(Gs,{className:"border border-foreground/15 rounded-none shadow-none bg-background",children:[a.jsx(Ys,{className:"text-center pb-2",children:a.jsx(Ma,{className:"text-charcoal",children:"Sign in to access the dashboard"})}),a.jsx(Js,{children:a.jsxs(sC,{defaultValue:"login",className:"w-full",children:[a.jsxs(Ny,{className:"grid w-full grid-cols-2",children:[a.jsx(vl,{value:"login",children:"Sign In"}),a.jsx(vl,{value:"register",children:"Sign Up"})]}),a.jsx(wl,{value:"login",className:"mt-6",children:a.jsxs("form",{onSubmit:b,className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"login-email",children:"Email"}),a.jsx(fe,{id:"login-email",type:"email",placeholder:"[email protected]",value:l,onChange:S=>c(S.target.value),required:!0})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"login-password",children:"Password"}),a.jsx(fe,{id:"login-password",type:"password",placeholder:"••••••••",value:u,onChange:S=>d(S.target.value),required:!0})]}),a.jsx($e,{type:"submit",className:"w-full",disabled:g,children:g?"Signing in...":"Sign In"})]})}),a.jsx(wl,{value:"register",className:"mt-6",children:a.jsxs("form",{onSubmit:k,className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"register-email",children:"Email"}),a.jsx(fe,{id:"register-email",type:"email",placeholder:"[email protected]",value:h,onChange:S=>f(S.target.value),required:!0})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"register-password",children:"Password"}),a.jsx(fe,{id:"register-password",type:"password",placeholder:"••••••••",value:p,onChange:S=>x(S.target.value),required:!0})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"confirm-password",children:"Confirm Password"}),a.jsx(fe,{id:"confirm-password",type:"password",placeholder:"••••••••",value:m,onChange:S=>v(S.target.value),required:!0})]}),a.jsx($e,{type:"submit",className:"w-full",disabled:g,children:g?"Creating account...":"Create Account"})]})})]})})]})]})})]})},rf="https://womackrealestate.com",qW=({post:e})=>{const t=e.published_at?new Date(e.published_at).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):"";return a.jsx(E,{children:a.jsx(G,{to:`/blog/${e.slug}`,className:"group block",children:a.jsxs("article",{className:"border border-border bg-card overflow-hidden transition-all duration-500 hover:shadow-lg",children:[e.featured_image&&a.jsx("div",{className:"aspect-[16/9] overflow-hidden",children:a.jsx("img",{src:e.featured_image,alt:e.title,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105",loading:"lazy"})}),a.jsxs("div",{className:"p-6 md:p-8",children:[a.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-xs uppercase tracking-wider text-muted-foreground mb-4",children:[e.category&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(bS,{className:"w-3 h-3"}),e.category]}),t&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Sg,{className:"w-3 h-3"}),t]}),e.author&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(jg,{className:"w-3 h-3"}),e.author]})]}),a.jsx("h2",{className:"heading-card mb-3 group-hover:text-accent transition-colors",children:e.title}),e.excerpt&&a.jsx("p",{className:"text-body text-muted-foreground line-clamp-3",children:e.excerpt}),a.jsx("div",{className:"mt-6",children:a.jsx("span",{className:"text-caption text-foreground group-hover:text-accent transition-colors",children:"Read More →"})})]})]})})})},KW=()=>a.jsxs("div",{className:"border border-border bg-card overflow-hidden",children:[a.jsx(Z,{className:"aspect-[16/9] w-full"}),a.jsxs("div",{className:"p-6 md:p-8 space-y-4",children:[a.jsxs("div",{className:"flex gap-4",children:[a.jsx(Z,{className:"h-4 w-20"}),a.jsx(Z,{className:"h-4 w-24"})]}),a.jsx(Z,{className:"h-8 w-3/4"}),a.jsx(Z,{className:"h-16 w-full"}),a.jsx(Z,{className:"h-4 w-24"})]})]}),GW=()=>{const{data:e,isLoading:t,error:n}=LT();return a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Real Estate Blog | Womack Real Estate"}),a.jsx("meta",{name:"description",content:"Real estate insights, market notes, and practical advice from Womack Real Estate. Austin and Hill Country updates."}),a.jsx("link",{rel:"canonical",href:`${rf}/blog`}),a.jsx("meta",{property:"og:title",content:"Real Estate Blog | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"Market notes, neighborhood guides, and buying and selling advice for Austin."}),a.jsx("meta",{property:"og:url",content:`${rf}/blog`}),a.jsx("meta",{property:"og:type",content:"website"}),a.jsx("meta",{property:"og:image",content:`${rf}/og-image.jpg`}),a.jsx("meta",{name:"twitter:card",content:"summary_large_image"})]}),a.jsx("section",{className:"pt-32 md:pt-40 pb-16 md:pb-20 bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsxs(E,{children:[a.jsx("p",{className:"text-caption text-foreground
308/60 mb-6",children:"Insights & Updates"}),a.jsxs("h1",{className:"heading-display max-w-4xl",children:["The ",a.jsx("span",{className:"italic font-light",children:"journal."})]}),a.jsx("span",{className:"block h-px w-24 bg-foreground/40 mt-10"}),a.jsx("p",{className:"text-body text-charcoal max-w-2xl mt-8",children:"Notes on the Austin market, buying and selling, and the neighborhoods we call home."})]})})}),a.jsx("section",{className:"section-padding",children:a.jsxs("div",{className:"container-luxury",children:[n&&a.jsx("div",{className:"text-center py-12",children:a.jsx("p",{className:"text-destructive",children:"Failed to load posts. Please try again later."})}),t&&a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:[...Array(6)].map((r,s)=>a.jsx(KW,{},s))}),!t&&e&&e.length===0&&a.jsx("div",{className:"text-center py-12",children:a.jsx("p",{className:"text-muted-foreground",children:"No posts published yet. Check back soon!"})}),!t&&e&&e.length>0&&a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map(r=>a.jsx(qW,{post:r},r.id))})]})})]})},Y0="https://womackrealestate.com",YW=()=>{const{slug:e}=bd(),{data:t,isLoading:n,error:r}=UB(e||"");if(n)return a.jsx(ge,{children:a.jsx("div",{className:"section-padding",children:a.jsxs("div",{className:"container-luxury max-w-4xl",children:[a.jsx(Z,{className:"h-8 w-32 mb-8"}),a.jsx(Z,{className:"h-12 w-3/4 mb-4"}),a.jsxs("div",{className:"flex gap-4 mb-8",children:[a.jsx(Z,{className:"h-4 w-24"}),a.jsx(Z,{className:"h-4 w-24"})]}),a.jsx(Z,{className:"aspect-[16/9] w-full mb-8"}),a.jsxs("div",{className:"space-y-4",children:[a.jsx(Z,{className:"h-4 w-full"}),a.jsx(Z,{className:"h-4 w-full"}),a.jsx(Z,{className:"h-4 w-3/4"})]})]})})});if(r||!t)return a.jsxs(ge,{children:[a.jsx(Ae,{children:a.jsx("title",{children:"Post Not Found | Womack Real Estate"})}),a.jsx("div",{className:"section-padding",children:a.jsxs("div",{className:"container-luxury text-center",children:[a.jsx("h1",{className:"heading-section mb-4",children:"Post Not Found"}),a.jsx("p",{className:"text-body text-muted-foreground mb-8",children:"The blog post you're looking for doesn't exist or has been removed."}),a.jsx(G,{to:"/blog",className:"btn-luxury",children:"Back to Blog"})]})})]});const s=t.published_at?new Date(t.published_at).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):"",i=`${Y0}/blog/${t.slug}`;return a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsxs("title",{children:[t.meta_title||t.title," | Womack Real Estate"]}),a.jsx("meta",{name:"description",content:t.meta_description||t.excerpt||""}),a.jsx("link",{rel:"canonical",href:i}),t.featured_image&&a.jsx("meta",{property:"og:image",content:t.featured_image}),a.jsx("meta",{property:"og:title",content:t.meta_title||t.title}),a.jsx("meta",{property:"og:description",content:t.meta_description||t.excerpt||""}),a.jsx("meta",{property:"og:url",content:i}),a.jsx("meta",{property:"og:type",content:"article"}),a.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),a.jsx("meta",{name:"twitter:title",content:t.meta_title||t.title}),a.jsx("meta",{name:"twitter:description",content:t.meta_description||t.excerpt||""}),a.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BlogPosting",headline:t.title,image:t.featured_image||void 0,author:{"@type":"Person",name:t.author},publisher:{"@type":"Organization",name:"Womack Real Estate",url:Y0},datePublished:t.published_at,dateModified:t.updated_at,description:t.excerpt||t.meta_description,mainEntityOfPage:{"@type":"WebPage","@id":i}})})]}),a.jsx("article",{className:"section-padding",children:a.jsxs("div",{className:"container-luxury max-w-4xl",children:[a.jsx(E,{children:a.jsxs(G,{to:"/blog",className:"inline-flex items-center gap-2 text-caption text-muted-foreground hover:text-foreground transition-colors mb-8",children:[a.jsx(pd,{className:"w-4 h-4"})," Back to Blog"]})}),a.jsx(E,{children:a.jsxs("header",{className:"mb-10",children:[a.jsxs("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-2 text-caption text-foreground
308/60 mb-6",children:[t.category&&a.jsxs("span",{className:"flex items-center gap-1.5",children:[a.jsx(bS,{className:"w-3 h-3"}),t.category]}),s&&a.jsxs("span",{className:"flex items-center gap-1.5",children:[a.jsx(Sg,{className:"w-3 h-3"}),s]}),t.author&&a.jsxs("span",{className:"flex items-center gap-1.5",children:[a.jsx(jg,{className:"w-3 h-3"}),t.author]})]}),a.jsx("h1",{className:"heading-display",children:t.title}),a.jsx("span",{className:"block h-px w-24 bg-foreground/40 mt-10"})]})}),t.featured_image&&a.jsx(E,{children:a.jsx("div",{className:"aspect-[16/9] overflow-hidden mb-10",children:a.jsx("img",{src:t.featured_image,alt:t.title,className:"w-full h-full object-cover"})})}),a.jsx(E,{children:a.jsx("div",{className:"prose prose-lg max-w-none prose-headings:font-display prose-headings:font-bold prose-headings:tracking-tight prose-p:text-body prose-p:text-charcoal prose-a:text-foreground prose-a:underline hover:prose-a:no-underline prose-strong:text-foreground prose-blockquote:border-l-foreground prose-blockquote:text-charcoal prose-ul:text-charcoal prose-ol:text-charcoal",dangerouslySetInnerHTML:{__html:t.content}})}),t.tags&&t.tags.length>0&&a.jsx(E,{children:a.jsx("div",{className:"mt-14 pt-8 border-t border-foreground
308/15",children:a.jsx("div",{className:"flex flex-wrap gap-2",children:t.tags.map(o=>a.jsx("span",{className:"px-3 py-1 text-caption border border-foreground/20 text-foreground/70",children:o},o))})})})]})})]})},qu=w.forwardRef(({className:e,...t},n)=>a.jsx("textarea",{className:Q("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));qu.displayName="Textarea";var Dd="Switch",[JW,jV]=Xt(Dd),[QW,XW]=JW(Dd),bC=w.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:s,defaultChecked:i,required:o,disabled:l,value:c="on",onCheckedChange:u,form:d,...h}=e,[f,p]=w.useState(null),x=Ee(t,b=>p(b)),m=w.useRef(!1),v=f?d||!!f.closest("form"):!0,[g,y]=lr({prop:s,defaultProp:i??!1,onChange:u,caller:Dd});return a.jsxs(QW,{scope:n,checked:g,disabled:l,children:[a.jsx(le.button,{type:"button",role:"switch","aria-checked":g,"aria-required":o,"data-state":TC(g),"data-disabled":l?"":void 0,disabled:l,value:c,...h,ref:x,onClick:ie(e.onClick,b=>{y(k=>!k),v&&(m.current=b.isPropagationStopped(),m.current||b.stopPropagation())})}),v&&a.jsx(jC,{control:f,bubbles:!m.current,name:r,value:c,checked:g,required:o,disabled:l,form:d,style:{transform:"translateX(-100%)"}})]})});bC.displayName=Dd;var kC="SwitchThumb",SC=w.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,s=XW(kC,n);return a.jsx(le.span,{"data-state":TC(s.checked),"data-disabled":s.disabled?"":void 0,...r,ref:t})});SC.displayName=kC;var ZW="SwitchBubbleInput",jC=w.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...s},i)=>{const o=w.useRef(null),l=Ee(o,i),c=iC(n),u=Og(t);return w.useEffect(()=>{const d=o.current;if(!d)return;const h=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(h,"checked").set;if(c!==n&&p){const x=new Event("click",{bubbles:r});p.call(d,n),d.dispatchEvent(x)}},[c,n,r]),a.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...s,tabIndex:-1,ref:l,style:{...s.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});jC.displayName=ZW;function TC(e){return e?"checked":"unchecked"}var CC=bC,e9=SC;const _C=w.forwardRef(({className:e,...t},n)=>a.jsx(CC,{className:Q("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",e),...t,ref:n,children:a.jsx(e9,{className:Q("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));_C.displayName=CC.displayName;var sf="focusScope.autoFocusOnMount",of="focusScope.autoFocusOnUnmount",J0={bubbles:!1,cancelable:!0},t9="FocusScope",EC=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...o}=e,[l,c]=w.useState(null),u=wn(s),d=wn(i),h=w.useRef(null),f=Ee(t,m=>c(m)),p=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let m=function(b){if(p.paused||!l)return;const k=b.target;l.contains(k)?h.current=k:Tr(h.current,{select:!0})},v=function(b){if(p.paused||!l)return;const k=b.relatedTarget;k!==null&&(l.contains(k)||Tr(h.current,{select:!0}))},g=function(b){if(document.activeElement===document.body)for(const S of b)S.removedNodes.length>0&&Tr(l)};document.addEventListener("focusin",m),document.addEventListener("focusout",v);const y=new MutationObserver(g);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",v),y.disconnect()}}},[r,l,p.paused]),w.useEffect(()=>{if(l){X0.add(p);const m=document.activeElement;if(!l.contains(m)){const g=new CustomEvent(sf,J0);l.addEventListener(sf,u),l.dispatchEvent(g),g.defaultPrevented||(n9(a9(AC(l)),{select:!0}),document.activeElement===m&&Tr(l))}return()=>{l.removeEventListener(sf,u),setTimeout(()=>{const g=new CustomEvent(of,J0);l.addEventListener(of,d),l.dispatchEvent(g),g.defaultPrevented||Tr(m??document.body,{select:!0}),l.removeEventListener(of,d),X0.remove(p)}
vendor: 4,126 bytes, line 308
308,0)}}},[l,u,d,p]);const x=w.useCallback(m=>{if(!n&&!r||p.paused)return;const v=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,g=document.activeElement;if(v&&g){const y=m.currentTarget,[b,k]=r9(y);b&&k?!m.shiftKey&&g===k?(m.preventDefault(),n&&Tr(b,{select:!0})):m.shiftKey&&g===b&&(m.preventDefault(),n&&Tr(k,{select:!0})):g===y&&m.preventDefault()}},[n,r,p.paused]);return a.jsx(le.div,{tabIndex:-1,...o,ref:f,onKeyDown:x})});EC.displayName=t9;function n9(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Tr(r,{select:t}),document.activeElement!==n)return}function r9(e){const t=AC(e),n=Q0(t,e),r=Q0(t.reverse(),e);return[n,r]}function AC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Q0(e,t){for(const n of e)if(!s9(n,{upTo:t}))return n}function s9(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 i9(e){return e instanceof HTMLInputElement&&"select"in e}function Tr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&i9(e)&&t&&e.select()}}var X0=o9();function o9(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Z0(e,t),e.unshift(t)},remove(t){var n;e=Z0(e,t),(n=e[0])==null||n.resume()}}}function Z0(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function a9(e){return e.filter(t=>t.tagName!=="A")}var af=0;function l9(){w.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??eb()),document.body.insertAdjacentElement("beforeend",e[1]??eb()),af++,()=>{af===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),af--}},[])}function eb(){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 eu="right-scroll-bar-position",tu="width-before-scroll-bar",c9="with-scroll-bars-hidden",u9="--removed-body-scroll-bar-size";function lf(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function d9(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var s=n.value;s!==r&&(n.value=r,n.callback(r,s))}}}})[0];return n.callback=t,n.facade}var h9=typeof window<"u"?w.useLayoutEffect:w.useEffect,tb=new WeakMap;function f9(e,t){var n=d9(null,function(r){return e.forEach(function(s){return lf(s,r)})});return h9(function(){var r=tb.get(n);if(r){var s=new Set(r),i=new Set(e),o=n.current;s.forEach(function(l){i.has(l)||lf(l,null)}),i.forEach(function(l){s.has(l)||lf(l,o)})}tb.set(n,e)},[e]),n}function p9(e){return e}function m9(e,t){t===void 0&&(t=p9);var n=[],r=!1,s={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var o=t(i,r);return n.push(o),function(){n=n.filter(function(l){return l!==o})}},assignSyncMedium:function(i){for(r=!0;n.length;){var o=n;n=[],o.forEach(i)}n={push:function(l){return i(l)},filter:function(){return n}}},assignMedium:function(i){r=!0;var o=[];if(n.length){var l=n;n=[],l.forEach(i),o=n}var c=function(){var d=o;o=[],d.forEach(i)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(d){o.push(d),u()},filter:function(d){return o=o.filter(d),n}}}};return s}function g9(e){e===void 0&&(e={});var t=m9(null);return t.options=Nn({async:!0,ssr:!1},e),t}var NC=function(e){var t=e.sideCar,n=Ko(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,Nn({},n))};
vendor: 4,936 bytes, lines 308-345
308NC.isSideCarExport=!0;function y9(e,t){return e.useMedium(t),NC}var PC=g9(),cf=function(){},Md=w.forwardRef(function(e,t){var n=w.useRef(null),r=w.useState({onScrollCapture:cf,onWheelCapture:cf,onTouchMoveCapture:cf}),s=r[0],i=r[1],o=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,h=e.shards,f=e.sideCar,p=e.noRelative,x=e.noIsolation,m=e.inert,v=e.allowPinchZoom,g=e.as,y=g===void 0?"div":g,b=e.gapMode,k=Ko(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=f,j=f9([n,t]),C=Nn(Nn({},k),s);return w.createElement(w.Fragment,null,d&&w.createElement(S,{sideCar:PC,removeScrollBar:u,shards:h,noRelative:p,noIsolation:x,inert:m,setCallbacks:i,allowPinchZoom:!!v,lockRef:n,gapMode:b}),o?w.cloneElement(w.Children.only(l),Nn(Nn({},C),{ref:j})):w.createElement(y,Nn({},C,{className:c,ref:j}),l))});Md.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Md.classNames={fullWidth:tu,zeroRight:eu};var v9=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function w9(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=v9();return t&&e.setAttribute("nonce",t),e}function x9(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function b9(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var k9=function(){var e=0,t=null;return{add:function(n){e==0&&(t=w9())&&(x9(t,n),b9(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},S9=function(){var e=k9();return function(t,n){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},RC=function(){var e=S9(),t=function(n){var r=n.styles,s=n.dynamic;return e(r,s),null};return t},j9={left:0,top:0,right:0,gap:0},uf=function(e){return parseInt(e||"",10)||0},T9=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[uf(n),uf(r),uf(s)]},C9=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return j9;var t=T9(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},_9=RC(),oo="data-scroll-locked",E9=function(e,t,n,r){var s=e.left,i=e.top,o=e.right,l=e.gap;return n===void 0&&(n="margin"),`
309  .`.concat(c9,` {
310   overflow: hidden `).concat(r,`;
311   padding-right: `).concat(l,"px ").concat(r,`;
312  }
313  body[`).concat(oo,`] {
314    overflow: hidden `).concat(r,`;
315    overscroll-behavior: contain;
316    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
317    padding-left: `.concat(s,`px;
318    padding-top: `).concat(i,`px;
319    padding-right: `).concat(o,`px;
320    margin-left:0;
321    margin-top:0;
322    margin-right: `).concat(l,"px ").concat(r,`;
323    `),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),`
324  }
325  
326  .`).concat(eu,` {
327    right: `).concat(l,"px ").concat(r,`;
328  }
329  
330  .`).concat(tu,` {
331    margin-right: `).concat(l,"px ").concat(r,`;
332  }
333  
334  .`).concat(eu," .").concat(eu,` {
335    right: 0 `).concat(r,`;
336  }
337  
338  .`).concat(tu," .").concat(tu,` {
339    margin-right: 0 `).concat(r,`;
340  }
341  
342  body[`).concat(oo,`] {
343    `).concat(u9,": ").concat(l,`px;
344  }
345`)},nb=function(){var e=parseInt(document.body.getAttribute(oo)||"0",10);return isFinite(e)?e:0},A9=function(){w.useEffect(function(){return document.body.setAttribute(oo,(nb()+1).toString()),function(){var e=nb()-1;e<=0?document.body.removeAttribute(oo):document.body.setAttribute(oo,e.toString())}},[])},N9=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;A9();var i=w.useMemo(function(){return C9(s)},[s]);return w.createElement(_9,{styles:E9(i,!t,s,n?"":"!important")})},xm=!1;if(typeof window<"u")try{var Cc=Object.defineProperty({},"passive",{get:function(){return xm=!0,!0}});window.addEventListener("test",Cc,Cc),window.removeEventListener("test",Cc,Cc)}catch{xm=!1}var Si=xm?{passive:!1}:!1,P9=function(e){return e.tagName==="TEXTAREA"},IC=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!P9(e)&&n[t]==="visible")},R9=function(e){return IC(e,"overflowY")},I9=function(e){return IC(e,"overflowX")},rb=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=OC(e,r);if(s){var i=DC(e,r),o=i[1],l=i[2];if(o>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},O9=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},D9=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},OC=function(e,t){return e==="v"?R9(t):I9(t)},DC=function(e,t){return e==="v"?O9(t):D9(t)},M9=function(e,t){return e==="h"&&t==="rtl"?-1:1}
vendor: 4,333 bytes, lines 345-348
345,L9=function(e,t,n,r,s){var i=M9(e,window.getComputedStyle(t).direction),o=i*r,l=n.target,c=t.contains(l),u=!1,d=o>0,h=0,f=0;do{if(!l)break;var p=DC(e,l),x=p[0],m=p[1],v=p[2],g=m-v-i*x;(x||g)&&OC(e,l)&&(h+=g,f+=x);var y=l.parentNode;l=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(d&&(Math.abs(h)<1||!s)||!d&&(Math.abs(f)<1||!s))&&(u=!0),u},_c=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},sb=function(e){return[e.deltaX,e.deltaY]},ib=function(e){return e&&"current"in e?e.current:e},$9=function(e,t){return e[0]===t[0]&&e[1]===t[1]},F9=function(e){return`
346  .block-interactivity-`.concat(e,` {pointer-events: none;}
347  .allow-interactivity-`).concat(e,` {pointer-events: all;}
348`)},B9=0,ji=[];function W9(e){var t=w.useRef([]),n=w.useRef([0,0]),r=w.useRef(),s=w.useState(B9++)[0],i=w.useState(RC)[0],o=w.useRef(e);w.useEffect(function(){o.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var m=Q$([e.lockRef.current],(e.shards||[]).map(ib),!0).filter(Boolean);return m.forEach(function(v){return v.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),m.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var l=w.useCallback(function(m,v){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!o.current.allowPinchZoom;var g=_c(m),y=n.current,b="deltaX"in m?m.deltaX:y[0]-g[0],k="deltaY"in m?m.deltaY:y[1]-g[1],S,j=m.target,C=Math.abs(b)>Math.abs(k)?"h":"v";if("touches"in m&&C==="h"&&j.type==="range")return!1;var _=rb(C,j);if(!_)return!0;if(_?S=C:(S=C==="v"?"h":"v",_=rb(C,j)),!_)return!1;if(!r.current&&"changedTouches"in m&&(b||k)&&(r.current=S),!S)return!0;var A=r.current||S;return L9(A,v,m,A==="h"?b:k,!0)},[]),c=w.useCallback(function(m){var v=m;if(!(!ji.length||ji[ji.length-1]!==i)){var g="deltaY"in v?sb(v):_c(v),y=t.current.filter(function(S){return S.name===v.type&&(S.target===v.target||v.target===S.shadowParent)&&$9(S.delta,g)})[0];if(y&&y.should){v.cancelable&&v.preventDefault();return}if(!y){var b=(o.current.shards||[]).map(ib).filter(Boolean).filter(function(S){return S.contains(v.target)}),k=b.length>0?l(v,b[0]):!o.current.noIsolation;k&&v.cancelable&&v.preventDefault()}}},[]),u=w.useCallback(function(m,v,g,y){var b={name:m,delta:v,target:g,should:y,shadowParent:U9(g)};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(k){return k!==b})},1)},[]),d=w.useCallback(function(m){n.current=_c(m),r.current=void 0},[]),h=w.useCallback(function(m){u(m.type,sb(m),m.target,l(m,e.lockRef.current))},[]),f=w.useCallback(function(m){u(m.type,_c(m),m.target,l(m,e.lockRef.current))},[]);w.useEffect(function(){return ji.push(i),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:f}),document.addEventListener("wheel",c,Si),document.addEventListener("touchmove",c,Si),document.addEventListener("touchstart",d,Si),function(){ji=ji.filter(function(m){return m!==i}),document.removeEventListener("wheel",c,Si),document.removeEventListener("touchmove",c,Si),document.removeEventListener("touchstart",d,Si)}},[]);var p=e.removeScrollBar,x=e.inert;return w.createElement(w.Fragment,null,x?w.createElement(i,{styles:F9(s)}):null,p?w.createElement(N9,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function U9(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const V9=y9(PC,W9);var MC=w.forwardRef(function(e,t){return w.createElement(Md,Nn({},e,{ref:t,sideCar:V9}))});MC.classNames=Md.classNames;var H9=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ti=new WeakMap,Ec=new WeakMap,Ac={},df=0,LC=function(e){return e&&(e.host||LC(e.parentNode))},z9=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=LC(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},q9=function(e,t,n,r){var s=z9(t,Array.isArray(e)?e:[e]);Ac[n]||(Ac[n]=new WeakMap);var i=Ac[n],o=[],l=new Set,c=new Set(s),u=function(h){!h||l.has(h
vendor: 6,969 bytes, lines 348-352
348)||(l.add(h),u(h.parentNode))};s.forEach(u);var d=function(h){!h||c.has(h)||Array.prototype.forEach.call(h.children,function(f){if(l.has(f))d(f);else try{var p=f.getAttribute(r),x=p!==null&&p!=="false",m=(Ti.get(f)||0)+1,v=(i.get(f)||0)+1;Ti.set(f,m),i.set(f,v),o.push(f),m===1&&x&&Ec.set(f,!0),v===1&&f.setAttribute(n,"true"),x||f.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",f,g)}})};return d(t),l.clear(),df++,function(){o.forEach(function(h){var f=Ti.get(h)-1,p=i.get(h)-1;Ti.set(h,f),i.set(h,p),f||(Ec.has(h)||h.removeAttribute(r),Ec.delete(h)),p||h.removeAttribute(n)}),df--,df||(Ti=new WeakMap,Ti=new WeakMap,Ec=new WeakMap,Ac={})}},K9=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),s=H9(e);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live]"))),q9(r,s,n,"aria-hidden")):function(){return null}},Ld="Dialog",[$C,FC]=Xt(Ld),[G9,kn]=$C(Ld),BC=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:o=!0}=e,l=w.useRef(null),c=w.useRef(null),[u,d]=lr({prop:r,defaultProp:s??!1,onChange:i,caller:Ld});return a.jsx(G9,{scope:t,triggerRef:l,contentRef:c,contentId:qs(),titleId:qs(),descriptionId:qs(),open:u,onOpenChange:d,onOpenToggle:w.useCallback(()=>d(h=>!h),[d]),modal:o,children:n})};BC.displayName=Ld;var WC="DialogTrigger",UC=w.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=kn(WC,n),i=Ee(t,s.triggerRef);return a.jsx(le.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":My(s.open),...r,ref:i,onClick:ie(e.onClick,s.onOpenToggle)})});UC.displayName=WC;var Oy="DialogPortal",[Y9,VC]=$C(Oy,{forceMount:void 0}),HC=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,i=kn(Oy,t);return a.jsx(Y9,{scope:t,forceMount:n,children:w.Children.map(r,o=>a.jsx(ar,{present:n||i.open,children:a.jsx(vg,{asChild:!0,container:s,children:o})}))})};HC.displayName=Oy;var Ku="DialogOverlay",zC=w.forwardRef((e,t)=>{const n=VC(Ku,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,i=kn(Ku,e.__scopeDialog);return i.modal?a.jsx(ar,{present:r||i.open,children:a.jsx(Q9,{...s,ref:t})}):null});zC.displayName=Ku;var J9=el("DialogOverlay.RemoveScroll"),Q9=w.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=kn(Ku,n);return a.jsx(MC,{as:J9,allowPinchZoom:!0,shards:[s.contentRef],children:a.jsx(le.div,{"data-state":My(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ii="DialogContent",qC=w.forwardRef((e,t)=>{const n=VC(ii,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,i=kn(ii,e.__scopeDialog);return a.jsx(ar,{present:r||i.open,children:i.modal?a.jsx(X9,{...s,ref:t}):a.jsx(Z9,{...s,ref:t})})});qC.displayName=ii;var X9=w.forwardRef((e,t)=>{const n=kn(ii,e.__scopeDialog),r=w.useRef(null),s=Ee(t,n.contentRef,r);return w.useEffect(()=>{const i=r.current;if(i)return K9(i)},[]),a.jsx(KC,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ie(e.onCloseAutoFocus,i=>{var o;i.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:ie(e.onPointerDownOutside,i=>{const o=i.detail.originalEvent,l=o.button===0&&o.ctrlKey===!0;(o.button===2||l)&&i.preventDefault()}),onFocusOutside:ie(e.onFocusOutside,i=>i.preventDefault())})}),Z9=w.forwardRef((e,t)=>{const n=kn(ii,e.__scopeDialog),r=w.useRef(!1),s=w.useRef(!1);return a.jsx(KC,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,l;(o=e.onCloseAutoFocus)==null||o.call(e,i),i.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),i.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:i=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const o=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})}),KC=w.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:i,...o}=e,l=kn(ii,n),c=w.useRef(null),u=Ee(t,c);return l9(),a.jsxs(a.Fragment,{children:[a.jsx(EC,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:i,children:a.jsx(dd,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":My(l.open),...o,ref:u,onDismiss:()=>l.onOpenChange(!1)})}),a.jsxs(a.Fragment,{children:[a.jsx(tU,{titleId:l.titleId}),a.jsx(rU,{contentRef:c,descriptionId:l.descriptionId})]})]})}),Dy="DialogTitle",GC=w.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=kn(Dy,n);return a.jsx(le.h2,{id:s.titleId,...r,ref:t})});GC.displayName=Dy;var YC="DialogDescription",JC=w.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=kn(YC,n);return a.jsx(le.p,{id:s.descriptionId,...r,ref:t})});JC.displayName=YC;var QC="DialogClose",XC=w.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=kn(QC,n);return a.jsx(le.button,{type:"button",...r,ref:t,onClick:ie(e.onClick,()=>s.onOpenChange(!1))})});XC.displayName=QC;function My(e){return e?"open":"closed"}var ZC="DialogTitleWarning",[eU,e_]=qN(ZC,{contentName:ii,titleName:Dy,docsSlug:"dialog"}),tU=({titleId:e})=>{const t=e_(ZC),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
349
350If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
351
352For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return w.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},nU="DialogDescriptionWarning",rU=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${e_(nU).contentName}}.`;return w.useEffect(()=>{var i;const s=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},t_=BC,sU=UC,n_=HC,Ly=zC,$y=qC,Fy=GC,By=JC,Wy=XC;const iU=t_,oU=n_,r_=w.forwardRef(({className:e,...t},n)=>a.jsx(Ly,{ref:n,className:Q("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));r_.displayName=Ly.displayName;const s_=w.forwardRef(({className:e,children:t,...n},r)=>a.jsxs(oU,{children:[a.jsx(r_,{}),a.jsxs($y,{ref:r,className:Q("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,a.jsxs(Wy,{className:"absolute right-4 top-4 roun
352ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[a.jsx(Tg,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));s_.displayName=$y.displayName;const i_=({className:e,...t})=>a.jsx("div",{className:Q("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});i_.displayName="DialogHeader";const o_=w.forwardRef(({className:e,...t},n)=>a.jsx(Fy,{ref:n,className:Q("text-lg font-semibold leading-none tracking-tight",e),...t}));o_.displayName=Fy.displayName;const aU=w.forwardRef(({className:e,...t},n)=>a.jsx(By,{ref:n,className:Q("text-sm text-muted-foreground",e),...t}));aU.displayName=By.displayName;const a_=w.forwardRef(({className:e,...t},n)=>a.jsx("div",{className:"relative w-full overflow-auto",children:a.jsx("table",{ref:n,className:Q("w-full caption-bottom text-sm",e),...t})}));a_.displayName="Table";const l_=w.forwardRef(({className:e,...t},n)=>a.jsx("thead",{ref:n,className:Q("[&_tr]:border-b",e),...t}));l_.displayName="TableHeader";const c_=w.forwardRef(({className:e,...t},n)=>a.jsx("tbody",{ref:n,className:Q("[&_tr:last-child]:border-0",e),...t}));c_.displayName="TableBody";const lU=w.forwardRef(({className:e,...t},n)=>a.jsx("tfoot",{ref:n,className:Q("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}));lU.displayName="TableFooter";const nu=w.forwardRef(({className:e,...t},n)=>a.jsx("tr",{ref:n,className:Q("border-b transition-colors data-[state=selected]:bg-muted hover:bg-muted/50",e),...t}));nu.displayName="TableRow";const Ai=w.forwardRef(({className:e,...t},n)=>a.jsx("th",{ref:n,className:Q("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...t}));Ai.displayName="TableHead";const Ts=w.forwardRef(({className:e,...t},n)=>a.jsx("td",{ref:n,className:Q("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));Ts.displayName="TableCell";const cU=w.forwardRef(({className:e,...t},n)=>a.jsx("caption",{ref:n,className:Q("mt-4 text-sm text-muted-foreground",e),...t}));cU.displayName="TableCaption";var u_="AlertDialog",[uU,TV]=Xt(u_,[FC]),hr=FC(),d_=e=>{const{__scopeAlertDialog:t,...n}=e,r=hr(t);return a.jsx(t_,{...r,...n,modal:!0})};d_.displayName=u_;var dU="AlertDialogTrigger",hU=w.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,s=hr(n);return a.jsx(sU,{...s,...r,ref:t})});hU.displayName=dU;var fU="AlertDialogPortal",h_=e=>{const{__scopeAlertDialog:t,...n}=e,r=hr(t);return a.jsx(n_,{...r,...n})};h_.displayName=fU;var pU="AlertDialogOverlay",f_=w.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,s=hr(n);return a.jsx(Ly,{...s,...r,ref:t})});f_.displayName=pU;var ao="AlertDialogContent",[mU,gU]=uU(ao),yU=Hk("AlertDialogContent"),p_=w.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...s}=e,i=hr(n),o=w.useRef(null),l=Ee(t,o),c=w.useRef(null);return a.jsx(eU,{contentName:ao,titleName:m_,docsSlug:"alert-dialog",children:a.jsx(mU,{scope:n,cancelRef:c,children:a.jsxs($y,{role:"alertdialog",...i,...s,ref:l,onOpenAutoFocus:ie(s.onOpenAutoFocus,u=>{var d;u.preventDefault(),(d=c.current)==null||d.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[a.jsx(yU,{children:r}),a.jsx(wU,{contentRef:o})]})})})});p_.displayName=ao;var m_="AlertDialogTitle",g_=w.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,s=hr(n);return a.jsx(Fy,{...s,...r,ref:t})});g_.displayName=m_;var y_="AlertDialogDescription",v_=w.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,s=hr(n);return a.jsx(By,{...s,...r,ref:t})});v_.displayName=y_;var vU="AlertDialogAction",w_=w.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,s=hr(n);return a.jsx(Wy,{...s,...r,ref:t})});
352w_.displayName=vU;var x_="AlertDialogCancel",b_=w.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:s}=gU(x_,n),i=hr(n),o=Ee(t,s);return a.jsx(Wy,{...i,...r,ref:o})});b_.displayName=x_;var wU=({contentRef:e})=>{const t=`\`${ao}\` requires a description for the component to be accessible for screen reader users.
353
354You can add a description to the \`${ao}\` by passing a \`${y_}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
355
356Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${ao}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
357
358For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return w.useEffect(()=>{var r;document.getElementById((r=e.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},xU=d_,bU=h_,k_=f_,S_=p_,j_=w_,T_=b_,C_=g_,__=v_;
358const kU=xU,SU=bU,E_=w.forwardRef(({className:e,...t},n)=>a.jsx(k_,{className:Q("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));E_.displayName=k_.displayName;const A_=w.forwardRef(({className:e,...t},n)=>a.jsxs(SU,{children:[a.jsx(E_,{}),a.jsx(S_,{ref:n,className:Q("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...t})]}));A_.displayName=S_.displayName;const N_=({className:e,...t})=>a.jsx("div",{className:Q("flex flex-col space-y-2 text-center sm:text-left",e),...t});N_.displayName="AlertDialogHeader";const P_=({className:e,...t})=>a.jsx("div",{className:Q("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});P_.displayName="AlertDialogFooter";const R_=w.forwardRef(({className:e,...t},n)=>a.jsx(C_,{ref:n,className:Q("text-lg font-semibold",e),...t}));R_.displayName=C_.displayName;const I_=w.forwardRef(({className:e,...t},n)=>a.jsx(__,{ref:n,className:Q("text-sm text-muted-foreground",e),...t}));I_.displayName=__.displayName;const O_=w.forwardRef(({className:e,...t},n)=>a.jsx(j_,{ref:n,className:Q(Py(),e),...t}));O_.displayName=j_.displayName;const D_=w.forwardRef(({className:e,...t},n)=>a.jsx(T_,{ref:n,className:Q(Py({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));D_.displayName=T_.displayName;const hf={title:"",slug:"",excerpt:"",content:"",featured_image:"",author:"Admin",category:"General",tags:"",published:!1,meta_title:"",meta_description:""},jU=()=>{const e=Il(),{toast:t}=Lo(),{user:n,isLoading:r,isAdmin:s,signOut:i}=Nd(),[o,l]=w.useState(""),[c,u]=w.useState(!1),[d,h]=w.useState(!1),[f,p]=w.useState(null),[x,m]=w.useState(hf),[v,g]=w.useState(null),{data:y,isLoading:b,error:k,refetch:S}=VB(),j=HB(),C=zB(),_=qB();w.useEffect(()=>{const R=localStorage.getItem("blog_api_key");R&&(l(R),u(!0))},[]),w.useEffect(()=>{!r&&!n?e("/auth"):!r&&n&&!s&&(t({variant:"destructive",title:"Access Denied",description:"You don't have permission to access this page."}),e("/"))},[n,r,s,e,t]);const A=()=>{localStorage.setItem("blog_api_key",o),u(!0),S(),t({title:"API Key Saved",description:"Your API key has been saved locally."})},P=()=>{p(null),m(hf),h(!0)},F=R=>{var B;p(R),m({title:R.title,slug:R.slug,excerpt:R.excerpt||"",content:R.content,featured_image:R.featured_image||"",author:R.author,category:R.category,tags:((B=R.tags)==null?void 0:B.join(", "))||"",published:R.published,meta_title:R.meta_title||"",meta_description:R.meta_description||""}),h(!0)},M=async R=>{R.preventDefault();const B={title:x.title,slug:x.slug||void 0,excerpt:x.excerpt||void 0,content:x.content,featured_image:x.featured_image||void 0,author:x.author||"Admin",category:x.category||"General",tags:x.tags?x.tags.split(",").map(N=>N.trim()):[],published:x.published,meta_title:x.meta_title||void 0,meta_description:x.meta_description||void 0};try{f?(await C.mutateAsync({slug:f.slug,data:B}),t({title:"Post updated successfully"})):(await j.mutateAsync(B),t({title:"Post created successfully"})),h(!1),m(hf),p(null)}catch(N){t({variant:"destructive",title:"Error",description:N instanceof Error?N.message:"Something went wrong"})}},z=async()=>{if(v)try{await _.mutateAsync(v),t({title:"Post deleted successfully"}),g(null)}catch(R){t({variant:"destructive",title:"Error",description:R instanceof Error?R.message:"Failed to delete post"})}},L=async R=>{try{await C.mutateAsync({slug:R.slug,data:{published:!R.published}}),t({title:R.published?"Post unpublished":"Post published"})}catch(B){t({variant:"destructive",title:"Error",description:B instanceof Error?B.message:"Failed to update post"})}},ee=async()=>{await i(),e("/auth")};return r?a.jsx(ge,{children:a.jsx("div",{className:"min-h-[60vh] flex items-center justify-center",children:a.jsx("div",{className:"animate-pulse text-muted-foreground",children:"Loading..."})})}):!n||!s?null:a.jsxs(ge,{children:[a.jsx(Ae,{children:a.jsx("title",{children:"Blog Admin | Womack Real Estate"})}),a.jsx("div",{className:"section-padding",children:a.jsxs("div",{className:"container-luxury",children:[a.jsxs("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-4 mb-8",children:[a.jsxs("div",{children:[a.jsx("h1",{className:"heading-section",children:"Blog Admin"}),a.jsx("p",{className:"text-muted-foreground mt-2",children:"Manage your blog posts"})]}),a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsxs($e,{variant:"outline",size:"sm",onClick:()=>e("/admin/profile"),children:[a.jsx(jg,{className:"w-4 h-4 mr-2"}),"Profile"]}),a.jsxs($e,{variant:"outline",size:"sm",onClick:ee,children:[a.jsx(zP,{className:"w-4 h-4 mr-2"}),"Sign Out"]})]})]}),!c&&a.jsxs(Gs,{className:"mb-8",children:[a.jsx(Ys,{children:a.jsxs(io,{className:"flex items-center gap-2",children:[a.jsx(ZP,{className:"w-5 h-5"}),"API Key Setup"]})}
358),a.jsxs(Js,{children:[a.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Enter your BLOG_API_KEY to manage posts. This will be stored locally in your browser."}),a.jsxs("div",{className:"flex gap-4",children:[a.jsx(fe,{type:"password",placeholder:"Enter your BLOG_API_KEY",value:o,onChange:R=>l(R.target.value),className:"max-w-md"}),a.jsx($e,{onClick:A,children:"Save Key"})]})]})]}),c&&a.jsxs(Gs,{children:[a.jsxs(Ys,{className:"flex flex-row items-center justify-between",children:[a.jsx(io,{children:"Posts"}),a.jsxs($e,{onClick:P,children:[a.jsx(QP,{className:"w-4 h-4 mr-2"}),"New Post"]})]}),a.jsxs(Js,{children:[b&&a.jsx("div",{className:"space-y-4",children:[...Array(5)].map((R,B)=>a.jsx(Z,{className:"h-16 w-full"},B))}),k&&a.jsxs("div",{className:"text-center py-8",children:[a.jsx("p",{className:"text-destructive mb-4",children:"Failed to load posts. Check your API key."}),a.jsx($e,{variant:"outline",onClick:()=>u(!1),children:"Update API Key"})]}),!b&&!k&&y&&a.jsxs(a_,{children:[a.jsx(l_,{children:a.jsxs(nu,{children:[a.jsx(Ai,{children:"Title"}),a.jsx(Ai,{children:"Category"}),a.jsx(Ai,{children:"Status"}),a.jsx(Ai,{children:"Date"}),a.jsx(Ai,{className:"text-right",children:"Actions"})]})}),a.jsxs(c_,{children:[y.length===0&&a.jsx(nu,{children:a.jsx(Ts,{colSpan:5,className:"text-center py-8 text-muted-foreground",children:"No posts yet. Create your first post!"})}),y.map(R=>a.jsxs(nu,{children:[a.jsx(Ts,{className:"font-medium",children:R.title}),a.jsx(Ts,{children:R.category}),a.jsx(Ts,{children:a.jsx("span",{className:`inline-flex items-center gap-1 px-2 py-1 text-xs rounded ${R.published?"bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200":"bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200"}`,children:R.published?a.jsxs(a.Fragment,{children:[a.jsx(ww,{className:"w-3 h-3"})," Published"]}):a.jsxs(a.Fragment,{children:[a.jsx(vw,{className:"w-3 h-3"})," Draft"]})})}),a.jsx(Ts,{children:new Date(R.created_at).toLocaleDateString()}),a.jsx(Ts,{className:"text-right",children:a.jsxs("div",{className:"flex items-center justify-end gap-2",children:[a.jsx($e,{variant:"ghost",size:"icon",onClick:()=>L(R),title:R.published?"Unpublish":"Publish",children:R.published?a.jsx(vw,{className:"w-4 h-4"}):a.jsx(ww,{className:"w-4 h-4"})}),a.jsx($e,{variant:"ghost",size:"icon",onClick:()=>F(R),children:a.jsx(GP,{className:"w-4 h-4"})}),a.jsx($e,{variant:"ghost",size:"icon",onClick:()=>g(R.slug),children:a.jsx(tR,{className:"w-4 h-4 text-destructive"})})]})})]},R.id))]})]})]})]})]})}),a.jsx(iU,{open:d,onOpenChange:h,children:a.jsxs(s_,{className:"max-w-3xl max-h-[90vh] overflow-y-auto",children:[a.jsx(i_,{children:a.jsx(o_,{children:f?"Edit Post":"Create New Post"})}),a.jsxs("form",{onSubmit:M,className:"space-y-6",children:[a.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"title",children:"Title *"}),a.jsx(fe,{id:"title",value:x.title,onChange:R=>m({...x,title:R.target.value}),required:!0})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"slug",children:"Slug (auto-generated if empty)"}),a.jsx(fe,{id:"slug",value:x.slug,onChange:R=>m({...x,slug:R.target.value}),placeholder:"my-post-title"})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"excerpt",children:"Excerpt"}),a.jsx(qu,{id:"excerpt",value:x.excerpt,onChange:R=>m({...x,excerpt:R.target.value}),rows:2,placeholder:"A brief summary of the post..."})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"content",children:"Content (HTML) *"}),a.jsx(qu,{id:"content",value:x.content,onChange:R=>m({...x,content:R.target.value}),rows:10,required:!0,placeholder:"<p>Your post content here...</p>"})]}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"featured_image",children:"Featured Image URL"}),a.jsx(fe,{id:"featured_image",value:x.featured_image,onChange:R=>m({...x,featured_image:R.target.value}),placeholder:"https://..."})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"author",children:"Author"}),a.jsx(fe,{id:"author",value:x.author,onChange:R=>m({...x,author:R.target.value})})]})]}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"category",children:"Category"}),a.jsx(fe,{id:"category",value:x.category,onChange:R=>m({...x,category:R.target.value})})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"tags",children:"Tags (comma-separated)"}),a.jsx(fe,{id:"tags",value:x.tags,onChange:R=>m({...x,tags:R.target.value}),placeholder:"real estate, market, tips"})]})]}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"meta_title",children:"Meta Title"}),a.jsx(fe,{id:"meta_title",value:x.meta_title,onChange:R=>m({...x,meta_title:R.target.value}),placeholder:"SEO title (uses post title if empty)"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"meta_description",children:"Meta Description"}),a.jsx(fe,{id:"meta_description",value:x.meta_description,onChange:R=>m({...x,meta_description:R.target.value}),placeholder:"SEO description..."})]})]}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(_C,{id:"published",checked:x.published,onCheckedChange:R=>m({...x,published:R})}),a.jsx(Pe,{htmlFor:"published",children:"Publish immediately"})]}),a.jsxs("div",{className:"flex justify-end gap-4",children:[a.jsx($e,{type:"button",variant:"outline",onClick:()=>h(!1),children:"Cancel"}),a.jsx($e,{type:"submit",disabled:j.isPending||C.isPending,children:j.isPending||C.isPending?"Saving...":f?"Update Post":"Create Post"})]})]})]})}),a.jsx(kU,{open:!!v,onOpenChange:()=>g(null),children:a.jsxs(A_,{children:[a.jsxs(N_,{children:[a.jsx(R_,{children:"Delete Post"}),a.jsx(I_,{children:"Are you sure you want to delete this post? This action cannot be undone."})]}),a.jsxs(P_,{children:[a.jsx(D_,{children:"Cancel"}),a.jsx(O_,{onClick:z,className:"bg-destructive text-destructive-foreground",children:"Delete"})]})]})})]})},TU=()=>{const e=Il(),{toast:t}=Lo(),{user:n,isLoading:r,isAdmin:s}=Nd(),[i,o]=w.useState(""),[l,c]=w.useState(""),[u,d]=w.useState(""),[h,f]=w.useState(!1),[p,x]=w.useState(""),[m,v]=w.useState(!1);w.useEffect(()=>{!r&&!n?e("/auth"):!r&&n&&!s&&(t({variant:"destructive",title:"Access Denied",description:"You don't have permission to access this page."}),e("/"))},[n,r,s,e,t]),w.useEffect(()=>{const b=localStorage.getItem("blog_api_key");b&&x(b)},[]);const g=async b=>{if(b.preventDefault(),l!==u){t({variant:"destructive",title:"Passwords don't match",description:"Please make sure your new passwords match."});return}if(l.length<6){t({variant:"destructive",title:"Password too short",description:"Password must be at least 6 characters."});return}f(!0);const{error:k}=await fn.auth.updateUser({password:l});k?t({variant:"destructive",title:"Failed to update password",description:k.message}):(t({title:"Password updated",description:"Your password has been changed successfully."}),o(""),c(""),d("")),f(!1)},y=()=>{localStorage.setItem("blog_api_key",p),t({title:"API Key updated",description:"Your API key has been saved locally."})};return r?a.jsx(ge,{children:a.jsx("div",{className:"min-h-[60vh] flex items-center justify-center",children:a.jsx("div",{className:"animate-pulse text-muted-foreground",children:"Loading..."})})}):!n||!s?null:a.jsxs(ge,{children:[a.jsx(Ae,{children:a.jsx("title",{children:"Profile Settings | Womack Real Estate"})}),a.jsx("div",{className:"section-padding",children:a.jsxs("div",{className:"container-luxury max-w-2xl",children:[a.jsxs($e,{variant:"ghost",onClick:()=>e("/admin/blog"),className:"mb-6",children:[a.jsx(pd,{className:"w-4 h-4 mr-2"}),"Back to Blog Admin"]}),a.jsx("h1",{className:"heading-section mb-8",children:"Profile Settings"}),a.jsxs(Gs,{className:"mb-8",children:[a.jsxs(Ys,{children:[a.jsx(io,{children:"Account Information"}),a.jsx(Ma,{children:"Your account details"})]}),a.jsx(Js,{children:a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx(Pe,{className:"text-muted-foreground",children:"Email"}),a.jsx("p",{className:"text-foreground",children:n.email})]}),a.jsxs("div",{children:[a.jsx(Pe,{className:"text-muted-foreground",children:"User ID"}),a.jsx("p",{className:"text-foreground font-mono text-sm",children:n.id})]}),a.jsxs("div",{children:[a.jsx(Pe,{className:"text-muted-foreground",children:"Role"}),a.jsx("p",{className:"text-foreground",children:"Administrator"})]})]})})]}),a.jsxs(Gs,{className:"mb-8",children:[a.jsxs(Ys,{children:[a.jsx(io,{children:"Change Password"}),a.jsx(Ma,{children:"Update your password"})]}),a.jsx(Js,{children:a.jsxs("form",{onSubmit:g,className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"new-password",children:"New Password"}
358),a.jsx(fe,{id:"new-password",type:"password",value:l,onChange:b=>c(b.target.value),placeholder:"••••••••",required:!0})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"confirm-new-password",children:"Confirm New Password"}),a.jsx(fe,{id:"confirm-new-password",type:"password",value:u,onChange:b=>d(b.target.value),placeholder:"••••••••",required:!0})]}),a.jsxs($e,{type:"submit",disabled:h,children:[a.jsx(xw,{className:"w-4 h-4 mr-2"}),h?"Updating...":"Update Password"]})]})})]}),a.jsxs(Gs,{children:[a.jsxs(Ys,{children:[a.jsxs(io,{className:"flex items-center gap-2",children:[a.jsx(VP,{className:"w-5 h-5"}),"API Key"]}),a.jsx(Ma,{children:"Your Blog API key for managing posts. This is stored locally in your browser."})]}),a.jsx(Js,{children:a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(Pe,{htmlFor:"api-key",children:"BLOG_API_KEY"}),a.jsxs("div",{className:"flex gap-2",children:[a.jsx(fe,{id:"api-key",type:m?"text":"password",value:p,onChange:b=>x(b.target.value),placeholder:"Enter your API key"}),a.jsx($e,{type:"button",variant:"outline",onClick:()=>v(!m),children:m?"Hide":"Show"})]})]}),a.jsxs($e,{onClick:y,children:[a.jsx(xw,{className:"w-4 h-4 mr-2"}),"Save API Key"]})]})})]})]})})]})},ob="https://womackrealestate.com",CU=()=>a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Privacy Policy | Womack Real Estate"}),a.jsx("meta",{name:"description",content:"Privacy Policy for Womack Real Estate. Learn how we collect, use, and protect your personal information."}),a.jsx("link",{rel:"canonical",href:`${ob}/privacy-policy`}),a.jsx("meta",{property:"og:title",content:"Privacy Policy | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"Privacy Policy for Womack Real Estate."}),a.jsx("meta",{property:"og:url",content:`${ob}/privacy-policy`}),a.jsx("meta",{property:"og:type",content:"website"}),a.jsx("meta",{name:"twitter:card",content:"summary"})]}),a.jsx("section",{className:"py-20 md:py-28 bg-secondary",children:a.jsxs("div",{className:"container-luxury",children:[a.jsx(E,{children:a.jsx("h1",{className:"heading-display max-w-4xl",children:"Privacy Policy"})}),a.jsx(E,{delay:.1,children:a.jsx("p",{className:"text-body text-muted-foreground mt-4",children:"Last Updated: February 24, 2026"})})]})}),a.jsx("section",{className:"section-padding bg-background",children:a.jsxs("div",{className:"container-luxury max-w-3xl prose prose-neutral dark:prose-invert",children:[a.jsx("h2",{children:"1. Introduction"}),a.jsx("p",{children:'Womack Real Estate ("We," "Us," or "Our") recognizes that privacy is important to You. This Privacy Policy governs Your use of our website and describes how we collect, use, and protect Your personal information. By using our website, you agree to this Privacy Policy.'}),a.jsx("p",{children:"You must be of legal age (over eighteen years of age in the United States) to use our website."}),a.jsx("h2",{children:"2. Information We Collect"}),a.jsx("p",{children:"We may collect private information from You when You use our website, including when You:"}),a.jsxs("ul",{children:[a.jsx("li",{children:"Submit a contact form or inquiry"}),a.jsx("li",{children:"Request a home valuation"}),a.jsx("li",{children:"Sign up for our newsletter"}),a.jsx("li",{children:"Browse our property listings"})]}),a.jsx("p",{children:"This information may include Your name, email address, phone number, property address, and any additional information You choose to provide."}),a.jsx("h2",{children:"3. How We Use Your Information"}),a.jsx("p",{children:"We use the information we collect for the following purposes:"}),a.jsxs("ul",{children:[a.jsx("li",{children:"To respond to Your inquiries and provide real estate services"}),a.jsx("li",{children:"To send You property information and market updates"}),a.jsx("li",{children:"To improve our website and services"}),a.jsx("li",{children:"To comply with applicable laws and regulations"}),a.jsx("li",{children:"To protect Your rights and the rights of others"})]}),a.jsx("h2",{children:"4. Information Sharing"}),a.jsx("p",{children:"We will not share Your personal information with third parties except as de
358scribed in this Privacy Policy or with Your consent. We may share Your information:"}),a.jsxs("ul",{children:[a.jsx("li",{children:"With service providers who assist us in operating our website"}),a.jsx("li",{children:"To comply with legal obligations or respond to lawful requests"}),a.jsx("li",{children:"To protect our rights, privacy, safety, or property"})]}),a.jsx("p",{children:a.jsx("strong",{children:"Data will not be shared with third parties for marketing or promotional purposes."})}),a.jsx("h2",{children:"5. Communications"}),a.jsx("p",{children:"By providing Your contact information and opting in, You acknowledge and agree to receive communications from Womack Real Estate, including:"}),a.jsxs("ul",{children:[a.jsx("li",{children:"Email communications about properties and market updates"}),a.jsx("li",{children:"Phone calls regarding Your real estate inquiries"}),a.jsx("li",{children:"Text messages with relevant property information"})]}),a.jsx("p",{children:'You may opt out of marketing communications at any time by replying "STOP" to any text message, clicking unsubscribe in emails, or contacting us directly. Message and data rates may apply.'}),a.jsx("h2",{children:"6. Cookies"}),a.jsx("p",{children:"Our website may use cookies, which are small data files stored on Your computer. We use cookies to improve Your experience with our website. Cookies will not contain any of Your personally identifiable information."}),a.jsx("p",{children:"If You set your browser not to accept cookies, You may not be able to use or experience all of the features of our website."}),a.jsx("h2",{children:"7. Data Security"}),a.jsx("p",{children:"We take appropriate security measures to protect Your personal information. However, no method of transmission over the Internet or electronic storage is 100% secure. We cannot guarantee absolute security of Your information."}),a.jsx("h2",{children:"8. Third Party Websites"}),a.jsx("p",{children:"Our website may contain links to third-party websites. We have no control over the privacy policies or practices of these third parties. This Privacy Policy does not govern any disclosure You make to third parties."}),a.jsx("h2",{children:"9. Children's Privacy"}),a.jsx("p",{children:"We do not market our website or services to minors. We do not knowingly collect personal information from individuals under the age of 18. If we learn that we have collected information from a minor, we will delete it."}),a.jsx("h2",{children:"10. Changes to This Policy"}),a.jsx("p",{children:"This Privacy Policy may change from time to time. The most current version will always appear on this page. We encourage You to review this Privacy Policy periodically."}),a.jsx("h2",{children:"11. SMS Terms & Conditions"}),a.jsxs("ul",{children:[a.jsx("li",{children:"We use SMS to confirm appointments, send reminders, and notify clients of schedule updates or important changes."}),a.jsx("li",{children:'You can cancel the SMS service at any time. Just text "STOP". After you send the SMS message "STOP" to us, we will send you an SMS message to confirm that you have been unsubscribed.'}),a.jsxs("li",{children:['If you are experiencing issues with the messaging program, you can reply with the keyword "HELP" for more assistance, or you can get help directly at ',a.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"}),"."]}),a.jsx("li",{children:"Carriers are not liable for delayed or undelivered messages."}),a.jsx("li",{children:"As always, message and data rates may apply for any messages sent to you from us and to us from you. Message frequency may vary."})]}),a.jsx("h2",{children:"12. Contact Us"}),a.jsx("p",{children:"If You have questions about this Privacy Policy or believe that someone has violated it, please contact us at:"}),a.jsxs("p",{children:["Womack Real Estate",a.jsx("br",{}),"Email: ",a.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"}),a.jsx("br",{}),"Phone: ",a.jsx("a",{href:"tel:+15126260621",children:"(512) 626-0621"})]})]})})]}),ab="https://womackrealestate.com",_U=()=>a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Terms & Conditions | Womack Real Estate"}),a.jsx("meta",{name:"description",content:"Terms and Conditions for Womack Real Estate. Review the terms governing use of our website."}),a.jsx("link",{rel:"canonical",href:`${ab}/terms-and-conditions`}),a.jsx("meta",{property:"og:title",content:"Terms & Conditions | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"Terms and Conditions for Womack Real Estate."}),a.jsx("meta",{property:"og:url",content:`${ab}/terms-and-conditions`}),a.jsx("meta",{property:"og:type",content:"website"}),a.jsx("meta",{name:"twitter:card",content:"summary"})]}),a.jsx("section",{className:"py-20 md:py-28 bg-secondary",children:a.jsxs("div",{className:"container-luxury",children:[a.jsx(E,{children:a.jsx("h1",{className:"heading-display max-w-4xl",children:"Terms & Conditions"})}),a.jsx(E,{delay:.1,children:a.jsx("p",{className:"text-body text-muted-foreground mt-4",children:"Last Updated: February 24, 2026"})})]})}),a.jsx("section",{className:"section-padding bg-background",children:a.jsxs("div",{className:"container-luxury max-w-3xl prose prose-neutral dark:prose-invert",children:[a.jsx("h2",{children:"1. Acceptance of Terms"}),a.jsx("p",{children:'By accessing and using this website operated by Womack Real Estate ("We," "Us," or "Our"), you accept and agree to be bound by these Terms and Conditions. If you do not agree, please do not use this website.'}),a.jsx("h2",{children:"2. Use of Website"}),a.jsx("p",{children:"This website is intended to provide information about real estate services and property listings. You agree to use this website only for lawful purposes and in a manner that does not infringe the rights of, restrict, or inhibit anyone else's use and enjoyment of the website."}),a.jsx("h2",{children:"3. Property Listings"}),a.jsx("p",{children:"Property information displayed on this website is believed to be accurate but is not guaranteed. All listings are subject to prior sale, change, or withdrawal. We are not responsible for typographical errors, misinformation, or misprints and shall be held totally harmless."}),a.jsx("h2",{children:"4. Intellectual Property"}),a.jsx("p",{children:"All content on this website, including but not limited to text, graphics, logos, images, and software, is the property of Womack Real Estate or its content suppliers and is protected by copyright and intellectual property laws."}),a.jsx("h2",{children:"5. No Professional Advice"}),a.jsx("p",{children:"The information provided on this website does not constitute professional real estate, legal, financial, or tax advice. You should consult with appropriate professionals before making any real estate decisions."}),a.jsx("h2",{children:"6. Communications"}),a.jsx("p",{children:'By submitting your contact information through any form on this website, you consent to be contacted regarding your inquiry. If you opt in to communications, you agree to re
358ceive calls, emails, and text messages. You may opt out at any time by replying "STOP" to text messages or clicking unsubscribe in emails.'}),a.jsxs("p",{children:["For full details on our communication practices, please refer to our ",a.jsx(G,{to:"/privacy-policy",className:"underline",children:"Privacy Policy"}),"."]}),a.jsx("h2",{children:"7. Limitation of Liability"}),a.jsx("p",{children:"To the fullest extent permitted by law, Womack Real Estate shall not be liable for any indirect, incidental, special, consequential, or punitive damages, or any loss of profits or revenues, whether incurred directly or indirectly, or any loss of data, use, goodwill, or other intangible losses."}),a.jsx("h2",{children:"8. Third-Party Links"}),a.jsx("p",{children:"This website may contain links to third-party websites. These links are provided for your convenience only. We have no control over the content of those sites and accept no responsibility for them."}),a.jsx("h2",{children:"9. Indemnification"}),a.jsx("p",{children:"You agree to indemnify and hold harmless Womack Real Estate from any claims, losses, liabilities, damages, costs, and expenses arising from your use of this website or violation of these terms."}),a.jsx("h2",{children:"10. Governing Law"}),a.jsx("p",{children:"These Terms and Conditions shall be governed by and construed in accordance with the laws of the State of California, without regard to its conflict of law provisions."}),a.jsx("h2",{children:"11. Changes to Terms"}),a.jsx("p",{children:"We reserve the right to modify these Terms and Conditions at any time. Changes will be effective immediately upon posting. Your continued use of the website constitutes acceptance of any changes."}),a.jsx("h2",{children:"12. Contact Us"}),a.jsx("p",{children:"If you have any questions about these Terms and Conditions, please contact us at:"}),a.jsxs("p",{children:["Womack Real Estate",a.jsx("br",{}),"Email: ",a.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"}),a.jsx("br",{}),"Phone: ",a.jsx("a",{href:"tel:+15126260621",children:"(512) 626-0621"})]})]})})]}),Uy=()=>{const e=ur();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),a.jsx(ge,{children:a.jsx("section",{className:"section-padding bg-background min-h-[70vh] flex items-center",children:a.jsxs("div",{className:"container-luxury max-w-2xl",children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-6",children:"Error 404"}),a.jsx("h1",{className:"heading-display mb-6",children:"Off the map."}
358),a.jsx("span",{className:"block h-px w-24 bg-foreground/40 mb-8"}),a.jsx("p",{className:"text-body text-charcoal mb-10 max-w-md",children:"The page you're looking for isn't here. Head back to the front and we'll help you find your way home."}),a.jsx(G,{to:"/",className:"btn-luxury",children:"Return Home"})]})})})},Bl=({title:e,boldText:t,image:n,alt:r,eyebrow:s,standfirst:i})=>a.jsxs("section",{className:"relative h-[62vh] min-h-[440px] w-full overflow-hidden -mt-16 md:-mt-20",children:[a.jsx("img",{src:n,alt:r,className:"absolute inset-0 w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[hsl(var(--near-black))]/40 via-[hsl(var(--near-black))]/30 to-[hsl(var(--near-black))]/75"}),a.jsx("div",{className:"absolute inset-0 flex items-end",children:a.jsxs("div",{className:"container-luxury pb-14 md:pb-20",children:[s&&a.jsx(Be.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-caption text-background/80 mb-5 drop-shadow-editorial",children:s}),a.jsxs(Be.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.05},className:"heading-display text-background max-w-5xl drop-shadow-editorial",children:[e,t&&a.jsxs(a.Fragment,{children:[" ",a.jsx("span",{className:"italic font-light",children:t})]})]}),a.jsx(Be.span,{initial:{scaleX:0,opacity:0},animate:{scaleX:1,opacity:1},transition:{duration:.7,delay:.15},className:"block h-px w-24 bg-background/80 mt-8 origin-left"}),i&&a.jsx(Be.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},className:"text-body text-background/90 max-w-2xl mt-6 drop-shadow-editorial",children:i})]})})]}),Wl=({heading:e="Get in Touch.",formName:t="contact-form",tags:n=["contact"]})=>{const{toast:r}=Lo(),[s,i]=w.useState(!1),[o,l]=w.useState(!1),[c,u]=w.useState({firstName:"",lastName:"",email:"",phone:"",message:""}),d=async f=>{f.preventDefault(),i(!0);try{await yC({firstName:c.firstName,lastName:c.lastName,email:c.email,phone:c.phone,message:c.message,formName:t,tags:n,optedIn:o}),r({title:"Message Sent",description:"Thank you for reaching out. We'll be in touch shortly."}),u({firstName:"",lastName:"",email:"",phone:"",message:""}),l(!1)}catch(p){console.error("Form submission error:",p),r({title:"Error",description:"There was a problem sending your message. Please try again.",variant:"destructive"})}finally{i(!1)}},h=f=>{u({...c,[f.target.name]:f.target.value})};return a.jsx("section",{className:"section-padding bg-background",children:a.jsxs("div",{className:"container-luxury max-w-2xl",children:[a.jsx(E,{children:a.jsx("h2",{className:"heading-section text-center mb-10",children:e})}),a.jsx(E,{delay:.1,children:a.jsx("p",{className:"text-center text-muted-foreground mb-8",children:"To contact us online, please use the form below."})}),a.jsx(E,{delay:.2,children:a.jsxs("form",{onSubmit:d,className:"space-y-5",children:[a.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:[a.jsx(fe,{name:"firstName","aria-label":"First name",placeholder:"First Name *",value:c.firstName,onChange:h,required:!0,className:"bg-secondary border-0 h-12 rounded-none focus:ring-1 focus:ring-accent"}),a.jsx(fe,{name:"lastName","aria-label":"Last name",placeholder:"Last Name *",value:c.lastName,onChange:h,required:!0,className:"bg-secondary border-0 h-12 rounded-none focus:ring-1 focus:ring-accent"})]}),a.jsx(fe,{name:"email",type:"email","aria-label":"Email address",placeholder:"Email *",value:c.email,onChange:h,required:!0,className:"bg-secondary border-0 h-12 rounded-none focus:ring-1 focus:ring-accent"}),a.jsx(fe,{name:"phone",type:"tel","aria-label":"Phone number",placeholder:"Phone *",value:c.phone,onChange:h,required:!0,className:"bg-secondary border-0 h-12 rounded-none focus:ring-1 focus:ring-accent"}),a.jsx(qu,{name:"message","aria-label":"Message",placeholder:"Message *",value:c.message,onChange:h,required:!0,rows:5,className:"bg-secondary border-0 rounded-none focus:ring-1 focus:ring-accent resize-none"}),a.jsx(pC,{checked:o,onCheckedChange:l}),a.jsx("button",{type:"submit",disabled:s,className:"w-full h-12 bg-foreground text-background text-xs uppercase tracking-[0.2em] font-medium hover:bg-foreground
358/90 transition-colors disabled:opacity-50",children:s?"Sending...":"Send Message"})]})})]})})},EU="/assets/hero-buying-Cm8CoQiN.jpg",AU=1,NU="c5664638-a97d-482a-b738-3e1163521789",PU="c984134e-e9c2-489f-97c1-0fc942ab15e5",RU="/__l5e/assets-v1/c5664638-a97d-482a-b738-3e1163521789/start-your-search.jpg",IU="a/v1/c984134e-e9c2-489f-97c1-0fc942ab15e5/c5664638-a97d-482a-b738-3e1163521789/start-your-search.jpg",OU="start-your-search.jpg",DU=1256598,MU="image/jpeg",LU="2026-07-24T19:50:38Z",$U={version:AU,asset_id:NU,project_id:PU,url:RU,r2_key:IU,original_filename:OU,size:DU,content_type:MU,created_at:LU},lb="https://womackrealestate.com",FU=()=>a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Buying a Home | Womack Real Estate - Austin TX"}),a.jsx("meta",{name:"description",content:"Let Womack Real Estate help you buy your dream home in Austin, TX. Expert guidance through the entire home buying process."}),a.jsx("meta",{property:"og:title",content:"Buying a Home in Austin | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"Tour-ready guidance, sharp offers, and local insight for buyers across Austin and the Hill Country."}),a.jsx("meta",{name:"twitter:title",content:"Buying a Home in Austin | Womack Real Estate"}),a.jsx("meta",{name:"twitter:description",content:"Tour-ready guidance, sharp offers, and local insight for buyers across Austin and the Hill Country."}),a.jsx("link",{rel:"canonical",href:`${lb}/buying`}),a.jsx("meta",{property:"og:url",content:`${lb}/buying`})]}),a.jsx(Bl,{eyebrow:"Buying",title:"We'll help you",boldText:"buy your dream home.",image:EU,alt:"Family buying a home",standfirst:"Competitive offers, inspections read properly, and negotiation that holds its ground."}),a.jsx("section",{className:"section-padding bg-background",children:a.jsxs("div",{className:"container-luxury grid grid-cols-1 lg:grid-cols-12 gap-14",children:[a.jsxs("div",{className:"lg:col-span-4",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground/60",children:"The Process"})}),a.jsx(E,{delay:.1,children:a.jsx("h2",{className:"heading-section mt-6",children:"Win the house without overpaying for it."})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-16 bg-foreground
358/40 mt-8"})})]}),a.jsxs("div",{className:"lg:col-span-8 max-w-2xl space-y-6",children:[a.jsx(E,{delay:.1,children:a.jsx("p",{className:"text-body text-charcoal",children:"Austin rewards buyers who move fast and read the fine print. We tour with you, tell you plainly what a house is worth, and structure an offer that competes on terms — option period, financing, close date — rather than just price."})}),a.jsx(E,{delay:.2,children:a.jsx("p",{className:"text-body text-charcoal",children:"Then comes the part most buyers underestimate: the inspection report. We separate routine from expensive, bring in the specialists worth paying for, and go back to the seller with a repair or credit ask that's grounded in numbers."})})]})]})}),a.jsxs("section",{className:"relative py-28 md:py-36",children:[a.jsxs("div",{className:"absolute inset-0",children:[a.jsx("img",{src:$U.url,alt:"Home search",className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[hsl(var(--near-black))]/40 to-[hsl(var(--near-black))]/60"})]}),a.jsxs("div",{className:"relative container-luxury max-w-3xl",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-background/70 mb-6 drop-shadow-editorial",children:"Start Your Search"})}),a.jsx(E,{delay:.1,children:a.jsx("h2",{className:"heading-section text-background mb-6 drop-shadow-editorial",children:"Search homes wherever you are."})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-16 bg-background/70 mb-6"})}),a.jsx(E,{delay:.2,children:a.jsx("p",{className:"text-body text-background/85 max-w-2xl drop-shadow-editorial",children:"Start with a wish list and a budget. We can connect you with a lender for pre-approval, and then it's time to house hunt. Search from any device — compare walk scores, school ratings, and neighborhood demographics side by side."})})]})]}),a.jsx(Wl,{heading:"Tell us what you're looking for.",formName:"buying-inquiry",tags:["buying"]})]}),BU=1,WU="21b529cb-9065-414d-849c-6a3088b3c977",UU="c984134e-e9c2-489f-97c1-0fc942ab15e5",VU="/__l5e/assets-v1/21b529cb-9065-414d-849c-6a3088b3c977/selling-hero.jpg",HU="a/v1/c984134e-e9c2-489f-97c1-0fc942ab15e5/21b529cb-9065-414d-849c-6a3088b3c977/selling-hero.jpg",zU="selling-hero.jpg",qU=2078089,KU="image/jpeg",GU="2026-07-24T19:54:26Z",YU={version:BU,asset_id:WU,project_id:UU,url:VU,r2_key:HU,original_filename:zU,size:qU,content_type:KU,created_at:GU},JU=1,QU="9e2f2dd4-34b7-4832-83f6-01aa2c86e907",XU="c984134e-e9c2-489f-97c1-0fc942ab15e5",ZU="/__l5e/assets-v1/9e2f2dd4-34b7-4832-83f6-01aa2c86e907/list-with-womack.jpg",e7="a/v1/c984134e-e9c2-489f-97c1-0fc942ab15e5/9e2f2dd4-34b7-4832-83f6-01aa2c86e907/list-with-womack.jpg",t7="list-with-womack.jpg",n7=2253571,r7="image/jpeg",s7="2026-07-24T19:56:28Z",i7={version:JU,asset_id:QU,project_id:XU,url:ZU,r2_key:e7,original_filename:t7,size:n7,content_type:r7,created_at:s7},cb="https://womackrealestate.com",o7=()=>a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Sell Your Home | Womack Real Estate - Austin TX"}),a.jsx("meta",{name:"description",content:"Womack Real Estate knows what makes your home sell: how it's priced, how it shows, and how it's marketed."}),a.jsx("meta",{property:"og:title",content:"Selling Your Home | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"Pricing strategy, staging, and marketing built to sell Austin homes for more, faster."}),a.jsx("meta",{name:"twitter:title",content:"Selling Your Home | Womack Real Estate"}),a.jsx("meta",{name:"twitter:description",content:"Pricing strategy, staging, and marketing built to sell Austin homes for more, faster."}),a.jsx("link",{rel:"canonical",href:`${cb}/selling`}),a.jsx("meta",{property:"og:url",content:`${cb}/selling`})]}),a.jsx(Bl,{eyebrow:"Selling",title:"We can help you",boldText:"sell your home.",image:YU.url,alt:"Team collaboration",standfirst:"Priced right, shown well, marketed everywhere your buyer already is."}),a.jsx("section",{className:"section-padding bg-background",children:a.jsxs("div",{className:"container-luxury grid grid-cols-1 lg:grid-cols-12 gap-14",children:[a.jsxs("div",{className:"lg:col-span-4",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground
358/60",children:"What Makes A Home Sell"})}),a.jsx(E,{delay:.1,children:a.jsx("h2",{className:"heading-section mt-6",children:"Price. Presentation. Marketing."})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-16 bg-foreground/40 mt-8"})})]}),a.jsxs("div",{className:"lg:col-span-8 max-w-2xl space-y-6",children:[a.jsx(E,{delay:.1,children:a.jsx("p",{className:"text-body text-charcoal",children:"Your outcome is decided in the first ten days on market. We set the number against live comps rather than wishful ones, prep the house so it photographs and shows the way buyers expect at that price, and launch on a schedule built around when your buyers are actually looking."})}),a.jsx(E,{delay:.2,children:a.jsx("p",{className:"text-body text-charcoal",children:"From there it's proceeds and timing: what you'll net after commissions, title, and repairs, how the calendar lines up with your next home, and which offer is genuinely the strongest once financing and contingencies are weighed."})})]})]})}),a.jsxs("section",{className:"relative py-28 md:py-36",children:[a.jsxs("div",{className:"absolute inset-0",children:[a.jsx("img",{src:i7.url,alt:"Get started selling",className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[hsl(var(--near-black))]/60 to-[hsl(var(--near-black))]/80"})]}),a.jsxs("div",{className:"relative container-luxury max-w-3xl",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-background/70 mb-6 drop-shadow-editorial",children:"List With Womack"})}),a.jsx(E,{delay:.1,children:a.jsxs("h2",{className:"heading-display text-background drop-shadow-editorial",children:["Get started ",a.jsx("span",{className:"italic font-light",children:"today."})]})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-16 bg-background/70 mt-8 mb-6"})}),a.jsx(E,{delay:.2,children:a.jsx("p",{className:"text-body text-background/85 max-w-xl drop-shadow-editorial",children:"We'll sell it quickly, for the most money the Austin market will support."})})]})]}),a.jsx(Wl,{heading:"Let's talk about your home.",formName:"selling-inquiry",tags:["selling"]})]}),a7=1,l7="29d41dfd-d451-467b-ab21-06a09be484f8",c7="c984134e-e9c2-489f-97c1-0fc942ab15e5",u7="/__l5e/assets-v1/29d41dfd-d451-467b-ab21-06a09be484f8/financing-hero.jpg",d7="a/v1/c984134e-e9c2-489f-97c1-0fc942ab15e5/29d41dfd-d451-467b-ab21-06a09be484f8/financing-hero.jpg",h7="financing-hero.jpg",f7=225454,p7="image/jpeg",m7="2026-07-24T21:42:39Z",g7={version:a7,asset_id:l7,project_id:c7,url:u7,r2_key:d7,original_filename:h7,size:f7,content_type:p7,created_at:m7},y7=1,v7="b6c7047a-b415-4798-9ad7-2284bc6c12b3",w7="c984134e-e9c2-489f-97c1-0fc942ab15e5",x7="/__l5e/assets-v1/b6c7047a-b415-4798-9ad7-2284bc6c12b3/financing-preapproval.jpg",b7="a/v1/c984134e-e9c2-489f-97c1-0fc942ab15e5/b6c7047a-b415-4798-9ad7-2284bc6c12b3/financing-preapproval.jpg",k7="financing-preapproval.jpg",S7=1270339,j7="image/jpeg",T7="2026-07-24T21:44:53Z",C7={version:y7,asset_id:v7,project_id:w7,url:x7,r2_key:b7,original_filename:k7,size:S7,content_type:j7,created_at:T7},ub="https://womackrealestate.com",_7=[{name:"Conventional",blurb:"3–5% down for qualified buyers; PMI drops off at 20% equity."},{name:"FHA",blurb:"3.5% down, credit from 580; mortgage insurance for the life of the loan."},{name:"VA",blurb:"0% down for eligible veterans and active duty; no PMI, funding fee applies."},{name:"USDA",blurb:"0% down in eligible rural pockets — parts of Manor, Hutto, outer Dripping Springs."},{name:"Jumbo",blurb:"Above the 2026 Travis County conforming limit; typically 10–20% down."},{name:"Texas Bond (TSAHC / TDHCA)",blurb:"Down-payment assistance for first-time and moderate-income Texas buyers."}],E7=[{label:"Income",detail:"Two years of W-2s or 1099s, 30 days of pay stubs, YTD profit-and-loss if self-employed."},{label:"Assets",detail:"Two months of statements for every account funding your down payment and reserves."},{label:"Credit",detail:"Soft pull first, hard pull at file open. The middle of your three scores is what counts."}
358,{label:"Debts",detail:"Student loans, car notes, minimum card payments. Front-end DTI target ≤ 36%, back-end ≤ 45%."},{label:"Identity",detail:"Driver's license, SSN, and a full two-year address history."},{label:"Property (later)",detail:"Signed contract, appraisal, and hazard insurance quote before the clear-to-close."}],A7=()=>{const[e,t]=w.useState(55e4),[n,r]=w.useState(11e4),[s,i]=w.useState(6.5),[o,l]=w.useState(30),c=()=>{const u=Math.max(e-n,0),d=s/100/12,h=o*12;return d===0?u/h:u*(d*Math.pow(1+d,h))/(Math.pow(1+d,h)-1)};return a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Financing | Womack Real Estate - Austin TX"}),a.jsx("meta",{name:"description",content:"Loan types, pre-approval requirements, closing costs, and a mortgage calculator — the home financing process explained plainly for the Austin market."}),a.jsx("meta",{property:"og:title",content:"Financing & Mortgage Calculator | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"Estimate your monthly payment and get connected with trusted Austin-area lenders."}),a.jsx("meta",{name:"twitter:title",content:"Financing & Mortgage Calculator | Womack Real Estate"}),a.jsx("meta",{name:"twitter:description",content:"Estimate your monthly payment and get connected with trusted Austin-area lenders."}),a.jsx("link",{rel:"canonical",href:`${ub}/financing`}),a.jsx("meta",{property:"og:url",content:`${ub}/financing`})]}),a.jsx(Bl,{eyebrow:"Financing",title:"The home loan",boldText:"process.",image:g7.url,alt:"Financing and home loans",standfirst:"Pre-approval, loan types, down-payment reality, and closing costs — what to expect before you talk to a lender."}),a.jsx("section",{className:"section-padding bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12 lg:gap-20",children:[a.jsxs("div",{className:"lg:col-span-5",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground/60 mb-6",children:"Step One"})}),a.jsx(E,{delay:.1,children:a.jsxs("h2",{className:"heading-section mb-8",children:["Loan types ",a.jsx("span",{className:"italic font-light",children:"at a glance."})]})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-16 bg-foreground
358/40 mb-8"})}),a.jsx(E,{delay:.2,children:a.jsx("p",{className:"text-body text-charcoal",children:"Most Austin buyers land in one of six loan buckets. Your program shapes your down payment, your monthly, and the offers a seller will take seriously — so pick it before you tour, not after."})})]}),a.jsx("div",{className:"lg:col-span-7",children:a.jsx(E,{delay:.15,children:a.jsx("dl",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-10 gap-y-8",children:_7.map(u=>a.jsxs("div",{className:"border-t border-foreground/20 pt-5",children:[a.jsx("dt",{className:"font-display text-lg md:text-xl text-foreground tracking-tight",children:u.name}),a.jsx("dd",{className:"mt-2 text-sm md:text-[15px] leading-relaxed text-charcoal",children:u.blurb})]},u.name))})})})]})})}),a.jsxs("section",{className:"relative py-28 md:py-36",children:[a.jsxs("div",{className:"absolute inset-0",children:[a.jsx("img",{src:C7.url,alt:"Get pre-approved",className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[hsl(var(--near-black))]/40 to-[hsl(var(--near-black))]/55"})]}),a.jsxs("div",{className:"relative container-luxury",children:[a.jsxs("div",{className:"max-w-3xl",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-background/70 mb-6 drop-shadow-editorial",children:"Get Pre-Approval"})}),a.jsx(E,{delay:.1,children:a.jsxs("h2",{className:"heading-section text-background mb-6 drop-shadow-editorial",children:["What underwriting will ",a.jsx("span",{className:"italic font-light",children:"actually ask for."})]})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-16 bg-background/70 mb-8"})})]}),a.jsx(E,{delay:.2,children:a.jsx("dl",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-14 gap-y-8 max-w-5xl",children:E7.map(u=>a.jsxs("div",{className:"border-t border-background/30 pt-4",children:[a.jsx("dt",{className:"text-caption text-background/70 mb-2",children:u.label}),a.jsx("dd",{className:"text-[15px] leading-relaxed text-background/90 drop-shadow-editorial",children:u.detail})]},u.label))})}),a.jsx(E,{delay:.3,children:a.jsx("p",{className:"mt-12 text-body text-background italic drop-shadow-editorial max-w-2xl",children:"A full pre-approval — not a pre-qualification — is what wins offers in Austin."})})]})]}),a.jsx("section",{className:"section-padding bg-background border-t border-foreground
358/10",children:a.jsxs("div",{className:"container-luxury",children:[a.jsxs("div",{className:"max-w-2xl mb-14",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground/60 mb-6",children:"Cash to Close"})}),a.jsx(E,{delay:.1,children:a.jsxs("h2",{className:"heading-section",children:["The true cost ",a.jsx("span",{className:"italic font-light",children:"of the keys."})]})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-16 bg-foreground/40 mt-8"})})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-10 md:gap-14",children:[{label:"Down Payment",detail:"3–20% of the purchase price depending on program. Conventional 20% avoids PMI entirely."},{label:"Closing Costs",detail:"2–3% of price in Texas — title, lender fees, appraisal, prepaids, and escrow set-up."},{label:"First-Year Reserves",detail:"Property tax and homeowners insurance escrowed at close. Texas has no state income tax, but property taxes run 1.8–2.3% of assessed value."}].map((u,d)=>a.jsx(E,{delay:.15+d*.05,children:a.jsxs("div",{className:"border-t border-foreground
358/20 pt-5",children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-3",children:u.label}),a.jsx("p",{className:"text-[15px] leading-relaxed text-charcoal",children:u.detail})]})},u.label))}),a.jsx(E,{delay:.35,children:a.jsx("p",{className:"mt-14 text-body text-charcoal italic max-w-3xl",children:"Ask your lender for a Loan Estimate within three days of application — it's federally required, and it's the only way to compare offers apples-to-apples."})})]})}),a.jsx("section",{className:"section-padding bg-background border-t border-foreground/10",children:a.jsxs("div",{className:"container-luxury max-w-xl",children:[a.jsxs(E,{children:[a.jsx("p",{className:"text-caption text-foreground/60 text-center mb-4",children:"Estimator"}),a.jsx("h2",{className:"heading-section text-center mb-10",children:"Estimated monthly payment."})]}),a.jsx(E,{delay:.1,children:a.jsxs("div",{className:"space-y-6 border border-foreground/15 p-8",children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"calc-purchase-price",className:"text-caption text-foreground/60 mb-2 block",children:"Purchase Price"}),a.jsxs("div",{className:"relative",children:[a.jsx("span",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-charcoal",children:"$"}),a.jsx("input",{id:"calc-purchase-price",type:"number",min:"0",value:e,onChange:u=>t(Number(u.target.value)),className:"w-full h-12 pl-8 pr-4 bg-transparent border-b border-foreground
358/20 text-foreground focus:outline-none focus:border-foreground"})]})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"calc-down-payment",className:"text-caption text-foreground/60 mb-2 block",children:"Down Payment"}),a.jsxs("div",{className:"relative",children:[a.jsx("span",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-charcoal",children:"$"}),a.jsx("input",{id:"calc-down-payment",type:"number",min:"0",value:n,onChange:u=>r(Number(u.target.value)),className:"w-full h-12 pl-8 pr-4 bg-transparent border-b border-foreground/20 text-foreground focus:outline-none focus:border-foreground"})]})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"calc-interest-rate",className:"text-caption text-foreground/60 mb-2 block",children:"Interest Rate (APR)"}),a.jsxs("div",{className:"relative",children:[a.jsx("input",{id:"calc-interest-rate",type:"number",min:"0",step:"0.1",value:s,onChange:u=>i(Number(u.target.value)),className:"w-full h-12 pl-4 pr-8 bg-transparent border-b border-foreground/20 text-foreground focus:outline-none focus:border-foreground"}),a.jsx("span",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-charcoal",children:"%"})]})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"calc-mortgage-period",className:"text-caption text-foreground/60 mb-2 block",children:"Mortgage Period (years)"}),a.jsx("select",{id:"calc-mortgage-period",value:o,onChange:u=>l(Number(u.target.value)),className:"w-full h-12 px-0 bg-transparent border-b border-foreground
358/20 text-foreground focus:outline-none focus:border-foreground appearance-none cursor-pointer",children:[10,15,20,25,30,40].map(u=>a.jsx("option",{value:u,children:u},u))})]}),a.jsxs("div",{className:"text-center pt-6 border-t border-foreground/15",children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-3",children:"Monthly Payment"}),a.jsxs("p",{className:"heading-display text-foreground",style:{fontSize:"clamp(2.25rem, 6vw, 3.5rem)"},children:["$",c().toLocaleString(void 0,{maximumFractionDigits:0})]}),a.jsx("p",{className:"mt-4 text-xs md:text-sm text-charcoal/80 leading-relaxed max-w-sm mx-auto",children:"Principal & interest only. Add roughly 1.9% of price ÷ 12 for Austin-area property tax and $150–250/mo for homeowners insurance."})]})]})})]})}),a.jsx(Wl,{heading:"Get matched with a proven Austin lender in 24 hours.",formName:"financing-inquiry",tags:["financing"]})]})},ff=[{title:"1031 Exchange",vendors:["Troy Becker — 512-302-4901 / 512-419-1031 — [email protected]"]},{title:"Air Conditioning & Heat Repair",vendors:["Cool Horizons — (512) 934-0294 — www.coolhorizons.net",'Air Zone — "Alex" (512) 917-0384',"A-1 Air Conditioning and Heating — 512-288-9900 — a1airconditioning.net","Ideal Air Care — (512) 789-0365 — www.idealaircare.com","Woods Comfort Systems — (512) 842-5066 — www.woodscomfortsystems.com","Christianson Heating & Air Conditioning — (512) 246-5400 — www.christiansonco.com","Dash Service Company — (512) 288-4777","Fox Service Company — (512) 442-6782 — www.foxservice.com","McCullough Heating & Air Conditioning — (512) 280-0011 — www.coolmenow.com","Precision Heating & Air — (512) 300-7422 — www.precisionheatac.com","Radiant Plumbing & Air Conditioning — (512) 263-9988 — www.radiantplumbing.co","Stan's Heating and Air Conditioning — (512) 580-7063 — www.stansac.com"]},{title:"Air Duct Cleaning",vendors:["Blackmon Mooring — (877) 730-1948 — www.blackmonmooring.com","Kiwi Air Duct Cleaning — (888) 576-5414 — www.kiwiservices.com","Texas Green Air — (512) 799-2913 — www.texasgreenair.com"]},{title:"Architect / Remodel Design",vendors:["CG&S Design-Build — (512) 444-1580 — www.cgsdb.com","Hailey Studio — (512) 913-0396 — www.haileystudio.com (Trey Hailey)","Hajek & Associates — (512) 474-7111 — www.hajekassociates.com","Kitchen Central — (512) 277-2121 — www.kitchencentral.com","Ranserve — (512) 343-9313 — www.ranserve.com","Solluna Builders — (512) 804-2050 — www.sollunabuilders.com"]},{title:"Appraisers",vendors:["Brian Hearne — 512-925-5372","Dylan Wood — 512-653-1770"]},{title:"Cabinets",vendors:["Centex Cabinet Warehouse — (512) 222-8060 — www.centexcabinets.com","Johnson Cabinets & Woodworking — (512) 640-2679 — www.johnsoncabinet.com","Rivercity Cabinets — (512) 442-9990 — www.rivercitycabinets.com","UB Kitchens — (512) 836-7283 — www.ubkitchens.com"]},{title:"Cabinet Painting",vendors:["Ray Mancias — 512-402-4665","Jesus Rodriguez — 512-803-6529","Jose Luna — 512-207-0082"]},{title:"Carpet Cleaning",vendors:["Addis Carpet Cleaning — Kenneth — 512-656-1888","Blackmon Mooring — (877) 730-1948 — www.blackmonmooring.com","Harper Carpet Care — (512) 326-1836 — www.harpercarpet.com","Hart's Carpet Cleaning — (512) 707-1102 — www.hartscarpetcleaning.com","Kiwi Air Services — (888) 576-5414 — www.kiwiservices.com","The Steam Team — (512) 451-8326 — www.thesteamteam.com","Will's Carpet Care — (512) 517-6934 — www.willscarpetcare.com"]},{title:"Carpet & Flooring",vendors:["Catz Flooring — (512) 663-4668 — [email protected]","Hardwood Bargains — (512) 399-6501 — www.hardwoodbargains.com","Investor Depot — (512) 994-7113 — www.investordepot.com","CSC Floors — (512) 263-5055 — www.cscfloors.net","Castle Flooring — (512) 326-8820 — www.castlefloors.com","Chase Flooring Group — (512) 360-2222 — www.chaseflooring.com","Floor King (Carpet One) — (512) 346-7034 — www.floorking.net","Lakeway Floors — (512) 266-6060 — www.lakewayfloors.com (David Williamson)","Landers Flooring — (512) 873-9470 — www.landerspremierflooring.com","Lone Star Carpet — (512) 836-9311 — www.lonestarcarpets.com (Tony Rodriguez)","TexBest Floors — (512) 299-6718 — www.texbest.com","Julio — 512-619-3804 — [email protected]"]},{title:"Chimney Sweeps",vendors:["All American Chimney Sweeps — (512) 914-6972 — www.allamer
358icanchimneysweeps.com","Area Wide Chimney Sweep — (512) 924-9686 — www.areawidechimneysweep.com","Capitol Chimney Service — (512) 834-2261 — www.capitolchimneyaustin.com","Nature's Own Chimney Cleaning & Repair — (512) 900-8703 — www.naturesownchimneycleaning.com","Texas Green Air — (512) 799-2913 — www.texasgreenair.com","Window Gang — (512) 259-7979 — www.windowgang.com"]},{title:"Cleaning Services",vendors:["Irasema and Saira Fuentes — 512-552-7215","Estella — 512-618-9864","Sonia Garcia — 512-317-6654","Merry Maids — (512) 518-4481 — www.merrymaids.com","Morehands Maid Service — (512) 479-7978 — www.morehands.com/austin"]},{title:"Concrete Floors / Staining",vendors:["Spectrum Superior Stain — (512) 689-1718 — www.spectrumstain.com","All Service Concrete Treatments — (512) 200-9995 — www.stainedconcreteaustin.org","Austin Stained Concrete and More — (512) 656-2870 — www.austinstainedconcreteandmore.com","Concretestaining.com by Neal Nickel — (512) 472-6474 — www.concretestaining.com"]},{title:"Countertops",vendors:["Investor Depot — (512) 994-7113 — www.investordepot.com","AAA Countertops — (512) 243-6821 — www.aaacountertops.com","Alpha Granite & Tile — (512) 834-8746 — www.alphagraniteaustin.com","Austin Countertops — (512) 835-5100 — www.austincountertops.com","Austin Granite Direct — (512) 825-5626 — www.austingranitedirect.com","Texas Countertops — (512) 836-5900 — www.countertoptexas.com"]},{title:"Credit Repair",vendors:["Joe Camacho — 469-563-3554 — www.whitejacobs.com"]},{title:"Deck Builders",vendors:["Al's Custom Decks — (512) 435-9558 — www.alscustomdecks.com","Austex Fence & Decks — (512) 825-9377 — www.austexfenceanddeck.com","CenTex Decks — (512) 522-3325 — www.centexdecks.com","Fiedler On The Roof Construction — (512) 997-8541 (Ed Fiedler)","Patriot Fence and Roofing — (512) 300-1000 — www.choosepatriot.com"]},{title:"Demolition",vendors:["Absolute Demolition — (512) 515-0705 — www.absolutedemolition.com","Heart of Texas Demolition — (512) 909-1533 — www.heartoftexasdemo.com","Sierra Demolition — (512) 336-7665 — www.sierracontractingcorporation.com","Southwest Destructors — (512) 836-0667 — www.southwestdestructors.com"]},{title:"Design & Interior Design",vendors:["Thriving By Design (TBD Interiors) — Lucia Smith — 915-873-8974 — [email protected]","Meredith Owen Interiors — 512-696-1524 — www.meredithoweninteriors.com","Inspire Redesign — Shannon Dugan — 512-839-1060 — www.inspireredesign.com","Decorating Den — Kris Miller — 512-965-5747"]},{title:"Electricians",vendors:["Varnell Electrical Contracting — Chad Varnell — 512-858-2408","Archer Electric — (512) 239-9848 — www.archerelectricatx.com (Jimmy Pittman)","Fox Service Company — (512) 442-6782 — www.foxservice.com","Grayzer Electric — (512) 535-4120 — www.grayzerelectric.com","Lyons Electric — (512) 587-4977 — www.lyonselectric.com","Mr. Electric — (512) 518-5642 — www.austinmrelectric.com"]},{title:"Energy Auditors",vendors:["A1 Energy Audits — (512) 636-9728 — www.a1energyaudits.com","Conservation Specialists of Austin — (512) 590-4188 — www.conservationaustin.com","Earth Energy Audits — (512) 466-7679 — www.earthaudits.com","Energy Audit Masters — (512) 308-6065 — www.energyauditmasters.com"]},{title:"Fencing",vendors:["AAA Fence Company — (512) 836-8015 — www.aaafenceaustin.com","Apple Fence Company — (512) 680-2742 — www.applefenceaustin.com","Austex Fence & Decks — (512) 258-5000 — www.austexfenceanddeck.com","Patriot Fence and Roofing — (512) 300-1000 — www.choosepatriot.com","Viking Fence — (512) 837-6411 — www.vikingfence.com"]},{title:"Foundation Repairs",vendors:["Howie Breucher — 512-335-8867","Centex — (512) 444-5438","Bruecher Foundation — (512) 335-8867","Douglas Foundation Repair — (512) 291-0709 — www.douglasfoundationrepair.com","Level Best Foundation Repair — (512) 832-6161 — www.level-bestfoundationrepair.com","Olshan Foundation Repair — (512) 342-2141 — www.olshanfoundation.com","Superior Foundation Repair — (512) 476-7700 — www.superiorfoundationrepairaustin.com","Quality Foundation Repair Austin — (512) 363-7769 — www.qualityfoundationrepairaustin.com"]},{title:"Garage Doors",vendors:["All Points Garage Doors — (512) 796-4985 — www.allpointsgaragedoors.com","Cedar Park Overhead Doors — (512) 335-7441 — www.
358cedarparkgaragedoors.com","Cornell Garage Doors — (512) 636-3498 — www.cornellgaragedoors.com","Cowart Door Systems — (512) 459-3467 — www.cowartdoor.com","Overhead Door Company of Austin — (512) 442-1561 — www.ohdctx.com","Precision Overhead Garage Door Service — (512) 598-5452 — www.precisiondooraustin.com"]},{title:"General Contractors",vendors:["Jose Luna — (512) 207-0082","Gladius Construction & Design — (512) 312-8538 — [email protected]","Hy Tide Builders — Hy Huynh — 512-203-6269","Investor Depot — (512) 994-7113 — www.investordepot.com","I-Renovate Austin — (512) 587-2862 — www.irenovateaustin.com (Isaac Pharris)","MK Construction — (512) 524-3011 — www.mkconstructionspecialists.com","Ozco Construction Group — (512) 698-5099 (Wade Osborne)","Protractor Roofing & Services — (512) 845-6751 — www.protractoraustin.com (John Susan)","Specialty Builders — (512) 288-7167 — www.specialtybuilders.com (Loyd Wiley)"]},{title:"Glass / Window Repair & Replacement",vendors:["Austin Pro Siding & Windows — (512) 923-3440 — www.austinprosiding.com","Glass Doctor — (512) 258-7272 — www.glassdoctor.com/austin-tx","Glass Guru — (512) 351-4863 — www.theglassguru.com","Kevin's Glass & Roofing — (512) 671-8740 — www.kevinsroofingroundrock.com","Titan Siding & Windows — (512) 944-8029 — www.titansiding.com"]},{title:"Gutters",vendors:["Austin Affordable Gutter — (512) 336-5592 — www.austinaffordablegutters.com","Austin Gutter King — (512) 276-9480 — www.austingutterking.com","Austin Gutterman — (512) 450-1821 — www.austingutterman.com","Discount Rain Gutters — (512) 736-4512 — www.discountraingutters.com","Window Gang — (512) 259-7979 — www.windowgang.com"]},{title:"Handyman",vendors:["Jose Luna — (512) 207-0082","Cedar Park Handyman — (512) 777-2774 — www.cedarparkhandyman.com","Handyman Connection — (512) 489-0065 — www.handymanconnection.com","Holmes Handyman Services — (512) 712-6373 (Robert Holmes)","I Love My Handyman Services — (512) 627-3515 — www.ilovemyhandyman.com","Mr. Done Right — (512) 659-8931 — Don Fenton — www.handyman-austin.com","Mr. Handyman — (877) 685-1377 — www.mrhandyman.com","Professional Home Services — (253) 347-2434 — Brandon Price — www.phs-austin.com","Specialty Builders — (512) 288-7167 — www.specialtybuilders.com (Loyd Wiley)"]},{title:"HOA Establishment",vendors:["Julie Armstrong"]},{title:"Home Inspectors",vendors:["Chris Mayner / TLC Inspectors — (512) 689-1760","Triple Pass Home Inspections (Ross Lorimer) — (512) 626-1882 — www.TriplePassHomeInspection.com","Hardy Boys Inspections (Eric Garner) — (512) 789-8159 — www.HBHomeInspections.com","Right Choice Home Inspections (Eric Doulder) — (512) 618-8336 — www.rightchoicehomeinspection.com","TLC Home Inspections — (512) 900-2191 — www.TLCinspections.com","Super Inspectors — 512-640-9796 — www.SuperTeamServices.com","Extra Mile Home Inspector (Tim Ducroz) — 979-888-6367 — [email protected]"]},{title:"Home Warranty",vendors:["American Home Shield — (866) 223-7938 — www.ahs.com — Michelle Bitner (512) 965-0330","Fidelity National Home Warranty — (800) 862-6837 — www.homewarranty.com","Home Warranty of America — (888) 492-7359 — www.hwahomewarranty.com — Melissa Barringer (512) 789-5845","
358Landmark Home Warranty — (866) 306-2999 — www.landmarkhw.com","One Guard Home Warranty — (888) 896-0014 — www.oneguardhomewarranty.com","Old Republic Home Warranty — (800) 445-6999 — www.orhp.com"]},{title:"Landscaping / Lawn / Irrigation",vendors:["Luis Flores — 512-626-0288","Austin's Lawn Enforcement — (512) 225-4709 — www.austinslawnenforcement.com","ABC Home & Commercial Services — (512) 380-1980 — www.abchomeandcommercial.com","Gomez Landscaping — (512) 394-2782 — www.gomezlandscapingatx.com","Green Land Management — (512) 243-8157 — www.greenlm.com","On Demand Sprinklers — (512) 800-3581 — www.ondemandsprinklers.com","Perfect Lawns — (512) 263-5638 — www.perfectlawnsandlandworks.com","River Rock Lawn & Landscaping — (512) 633-4085 — www.rrlltx.com (Brant Dickerson)","Texas Tree Service — (512) 712-6029","Tropical Irrigation — (512) 280-3812 — www.tropicalirrigation.net","Best of Texas Landscapes — Daniel Guerrero — 512-922-7478 — www.bestoftexaslandscapes.com","Kevin Graham — Irrigation & Sprinkler Repair — 512-808-7750"]},{title:"Lenders",vendors:["Quinn Stowe — Top Tier Mortgage — 512-522-1195 — [email protected]","Zander Blunt — Prime Lending — 512-965-3126 — [email protected]","Marie-Lynn Dunn — Cross Country Mortgage — 203-500-5609 — [email protected]","Greg Lick — Texas Regional Bank (Land / Construction) — (239) 209-4448 — [email protected]","Dominik Kilpatrick — HouseMax (Hard Money Loans) — (737) 377-0938 — [email protected]"]},{title:"Locksmith",vendors:["Bentley Lock — Chris Bentley — 512-426-5848","A-1 Locksmith — (512) 452-2814 — www.a1-locksmithaustin.com","512 Locksmith — (512) 777-0021 — www.512locksmith.com","Cothron's Safe and Lock — (512) 472-6273 — www.cothrons.com","Mr. ReKey — (888) 677-3539 — www.rekey.com/locksmith/austin"]},{title:"Make Ready Companies",vendors:["Merry Maids — (512) 518-4481 — www.merrymaids.com","Morehands Maid Service — (512) 479-7978 — www.morehands.com/austin","Simply Sold — (512) 693-9340 — www.simply-sold.net (Ashley Wainscott)"]},{title:"Masonry",vendors:["Shaggy — 512-822-3583"]},{title:"Mold Inspection",vendors:["GreenWorks — (855) 220-9524 — www.greenworksinspections.com (they also do structural engineering services)","PuroClean — (512) 956-5700 — www.puroclean.com (they also do remediation)","Mold Detection Pros — (512) 814-6888 — www.austinmolddetection.com","Mold Inspection Sciences — (888) 335-6653 — www.moldinspectiontexas.com","ServPro of NW Austin, N Bee Cave — (737) 363-4625 — www.servpro.com (they also do remediation)"]},{title:"Mold Remediation",vendors:["All Nation Restoration — (737) 368-0983 — www.allnationrestoration.com","PuroClean — (512) 956-5700 — www.puroclean.com (they also do inspection)","ServPro of Hyde Park / Central Austin — (512) 981-6971 — www.servpro.com (they also do inspection)","Restoration 1 of Austin — (512) 872-4334 — www.restoration1.com","ATEX Emergency Water Damage Restoration — (512) 551-9753 — www.austinwaterdamage.com"]},{title:"Moving Companies",vendors:["Arranging it All — Zack Baker — 512-419-7526","Fast Fietz — Cody Fietz — (512) 938-9956 — www.fastfietzmoving.com","ABC Longhorn Moving — (512) 251-7755 — www.abclonghornmoving.com","Einstein Moving Company — (512) 815-8781 — www.einsteinmoving.com","Graebel Van Lines (National & International) — (877) 488-3575 — www.GraebelMoving.com","Green Gorilla Movers — (512) 447-8689 — www.greengorillamovers.com","Heavenly Care Moving Services — (512) 340-0551 — www.heavenlycaremoving.com","Square Cow Movers — (512) 401-6683 — www.squarecowmovers.com","Two Men and A Truck — (512) 851-8521 — www.twomensouthaustin.com","Two Sisters Moving — (512) 444-1966 — www.twosistersmoving.com","Unicorn Moving — (512) 489-4536 — www.unicornmoving.com","United Van Lines (National & International) — (877) 740-3040 — www.unitedvanlines.com"]},{title:"Outdoor Renovations",vendors:["Matthew Channel — 512-574-5999 — [email protected] — www.southernoutdoorappeal.com"]},{title:"Painting Services",vendors:["Jesus Rodriguez — (512) 803-6529","Rudy — 512-233-8725","Austin Professional Painting — (512) 845-7821 — www.austinprofessionalpainting.com","Capital City Paint — (512) 902-6648 — www.paintingcontractorsaustin.com","David's Texas Painting & Construction — (512) 587-4154 (David Hickey)","Fierro Painting — (512) 259-7155 — www.fierropainting.com","Five Star Painting of Austin — (512) 379-6517 — www.fivestarpainting.com","Fresh Coat of Austin North — (512) 598-5312 — www.freshcoatnorthaustin.com","Fresh Coat of South Austin — (512) 607-9754 — www.freshcoatsouthaustin.com","Michele Stogner & Co — (512) 784-4564 — www.michelestogner.com","Premium Siding & Painting — (512) 997-9613 — www.pspcompany.com","Terry Beutler Custom Painting & Drywall Repair — (512) 656-0719 — www.terrybeutler.com"]}
358,{title:"Pest Control",vendors:["White Knight Pest Control — www.whiteknightpest.com","ABC Pest and Lawn — (512) 380-1980 — www.abchomeandcommercial.com","Absolute Pest Management — (512) 444-0262 — www.absolutepestmgmt.com","Aztec Organic Pest Service — (512) 443-0123 — www.aztecpest.com","Bug Master — (512) 831-3636 — www.thebugmaster.com","Bulwark Exterminating — (512) 291-1200 — www.bulwarkpestcontrol.com","Critter Ridder — (512) 842-4839 — www.critterriddertx.com","J & J Pest Control — (512) 452-2401 — www.jjpest.com","Research Pest Control — (512) 258-5228 — www.researchpest.com"]},{title:"Photographers",vendors:["Twist Tours — www.twisttours.com","Red Door Photography / Kimberly Ness — reddoorpix.hd.pics","Austin Real Estate Photography — (512) 914-8308 — www.austinrealestatephotography.com (Jonathan Garza)","Fossum Studios — 512-784-1166 — www.fossumstudios.com (Erik Fossum)","Vivid Image Photography — (512) 922-6912 — www.vividimageaustin.com (Trevor Smith)"]},{title:"Plumbing",vendors:["Jason Best — Plumb Quick — (512) 845-4098","Doug Tobler — 512-789-7793","Affordable Plumbing — (512) 436-0744 — www.affordableairconditioningandplumbing.com","Blue Dragon Plumbing — (512) 947-2491 — www.bluedragonplumbing.com","Cold is on the Right Plumbing — (512) 762-8243 — www.coldisontheright.com","Fox Service Company — (512) 442-6782 — www.foxservice.com","Henderson Plumbing — (512) 452-5963"]},{title:"Pool Services",vendors:["Easy Pools — (512) 266-6592 — www.easypools.com","Hines Pool & Spa — (512) 873-8565 — www.hinespool.com","Patriot Pool & Spa — (512) 636-8122 — www.patriotpoolandspa.com","Reliant Pools — Joel — 512-407-2623 — reliantpools.com"]},{title:"Pressure Washing",vendors:["Conner Window & Pressure Washing — Christian — (512) 466-6990","Revival Restoration — Kevin Jarrett — (346) 266-6578","360 Power Washing — (512) 828-6551 — www.360powerwashing.com","Extreme Pressure Washers — (512) 785-4537 — www.epwpressurewashers.com","Window Gang — (512) 259-7979 — www.windowgang.com","Mike Wade — 512-810-5627"]},{title:"Printers",vendors:["Minute Man Press — minutemanpressaustin.com","Quantum Digital — (800) 637-7373 — www.quantumdigital.com","Republic Print & Mail — (512) 459-4139 — www.republicprint.com","The Print Shoppe — (512) 328-9206 — www.theprintshoppe.net"]},{title:"Property Management",vendors:["Twelve Rivers Realty — Crystal Barone — 512-968-2249","Bigham Management — John Bigham — 512-569-1421","April Realty — (512) 442-6500 — www.aprilrealtyservices.com","ATX Property Management — (512) 990-3551 — www.atxmanagement.com","Austin Landmark Property Services — (512) 794-8171 — www.alpsmgmt.com","Lynx Property Services — (512) 326-2722 — www.lynxpropertyservices.com","Prime Properties — (512) 342-9566 — www.austinpropertymanagement.com","Texcen Realty — (512) 292-0800 — www.texcenrealty.com","The Property Management Company — (512) 255-7575 — www.propmngt.com"]},{title:"Remodeling",vendors:["Avenue B Development — (512) 910-9656 — www.avenuebdev.com","Chaparral Construction — (512) 650-0501 — www.chaparrelconstruction.com","D & R Remodeling — (512) 350-8361 — www.dr-remodeling.com","Fiedler On The Roof Construction — (512) 997-8541 (Ed Fiedler)","I-Renovate Austin — (512) 587-2862 — www.irenovateaustin.com","Simply Sold — (512) 693-9340 — www.simply-sold.net","Specialty Builders — (512) 288-7167 — www.specialtybuilders.com"]},{title:"Repair Estimates",vendors:["Punchlist USA — punchlistusa.com"]},{title:"Resurfacing",vendors:["Advanced Bathtub Refinishing — (512) 452-4352 — www.advancedbathtub.com","All Surface Renew Bathtub Refinishing — (512) 788-0025 — www.allsurfacerenew.com","Bath Fitters — (888) 334-1344 — www.bathfitter.com","Texas Resurfacing — (512) 466-7777 — www.texasresurfacingcountertopandtub.com","Texas Tub & Shower Refinishing — (512) 517-8167 — www.texastubrefinishing.com","Top Surface — (512) 467-0700"]}
358,{title:"Roofers",vendors:["Waterloo Roofing — Andrew Botticelli — (512) 799-0302","Bird Creek — Jacob Vanhorn — 512-565-9363","Eddie Willis — 512-710-7663","TTP Roofing — Christine and Ignacio Garcia — 512-909-2660","Austin Roofing — (512) 372-8110 — www.austinroofinginc.com","Best Choice Roofing — (844) 334-1344 — www.bestchoiceroofing.net","Kevin's Glass & Roofing — (512) 671-8740 — www.kevinsglassandroofing.com (Kevin Reeves)","Longhorn Roofing — (512) 548-8641 — www.longhornroofing.com","Pro-tractor Roofing & Services — (512) 845-6751 — www.protractoraustin.com","Texas Green Roofing — (512) 920-2422 — www.texasgreenroofing.com","Wilson Roofing — (855) 501-2220 — www.wilsonroofing.com"]},{title:"Septic Repairs & Inspections",vendors:["Austin Rooter — (512) 844-8579 — www.austinrooter.com","ACE Enterprise Septic Service — 512-635-7523 — www.letmejudgeyoursludge.com","Necessary Inc — (512) 445-2250 — www.necessaryinc.com","Rainbow Septic — (512) 380-9024 — www.rainbowseptic.com","Sarah Calvert Septic — (512) 288-6738 — www.sarahcalvertseptic.com","Snowden Onsite Services — (512) 338-1804 — www.snowdenonsite.com","Superior Septic — (512) 244-6300 — www.superiorseptictx.net","Enviromaintenance (Hoot Systems) — 512-931-2200"]},{title:"Sewer Repair — Trenchless",vendors:["Pipeheal.com (for cast-iron pipes before 1985)"]},{title:"Sheetrock / Drywall Repairs",vendors:["Jose Luna — 512-207-0082 — [email protected]","David's Texas Painting & Construction — (512) 587-4154 (David Hickey)","Mr. Handyman — (877) 685-1377 — www.mrhandyman.com","Terry Beutler Custom Painting & Drywall Repair — (512) 656-0719 — www.terrybeutler.com"]},{title:"Siding Replacement",vendors:["Amazing Siding & Windows — (512) 326-8000 — www.amazingexteriors.com/austin","Austin Pro Siding & Windows — (512) 428-8417 — www.austinprosiding.com","Texas Lonestar Painting — (512) 488-4350 — www.paintingcontractoraustin.com","Premium Siding & Painting — (512) 997-9613 — www.pspcompany.com","Titan Siding & Windows — (512) 944-8029 — www.titansiding.com"]},{title:"Stagers",vendors:["Inspire ReDesign — Shannon Dugan — (512) 839-1060 — www.InspireRedesign.com","Blanton Design — Susannah Blanton — (512) 961-0161 — www.blantondesign.com","Design Rewind — Conni Sugden — (512) 417-2876 — www.mydesignrewind.com","Elite Austin — Valerie Pierce — (512) 366-8189 — www.eliteaustin.com","Hummingbird Interiors — Beth Gwazdosky — (512) 921-8148 — www.hummingbirdinteriors.com","Just In Time Design — Cathy Hemholz — (781) 573-3740 — www.jitdesignhomestaging.com","Pop-Décor — Paula Hobbs — (512) 743-3682 — www.pop-decor.com","Simply Sold — (512) 693-9340 — www.simply-sold.net","Tarragona Designs — (512) 487-6063 — www.tarragonadesigns.com","Insight Home Staging — Cayge Clements — 512-567-8816"]},{title:"Structural Engineers",vendors:["A-1 Engineering — (512) 298-3360 — www.a-1engineering.com","JM Structural Engineering — (512) 508-8533 — www.jmstructural.com","Lake Engineers — (512) 292-1830 — www.lakeengineers.weebly.com","Osborne Engineering — (512) 964-6117 — www.cdoengineering.com","Tucker Engineering — (512) 255-7477 — www.tuckerengineering.net"]},{title:"Surveyors",vendors:["B&G Surveying — (512) 458-1009 — www.bandgsurvey.com","Landmark Surveying — (512) 328-7411 — www.landmarksurveying.com","Lenz & Associates — (512) 443-1174 — www.lenzandassociatesinc.com","Waterloo Surveyors — (512) 481-9602 — www.waterloosurveyors.com","Watson Surveying — (512) 346-8566 — www.watsonsurvey.com"]},{title:"Trash Hauling & Junk Removal",vendors:["TX Junk Removal — (512) 595-7125 — www.junktx.com","1-800-Got-Junk? — (800) 468-5865 — www.1800gotjunk.com","College Hunks Hauling Junk — (833) 626-1326 — www.collegehunkshaulingjunk.com","Gorilla Junk Removal — (512) 897-1849 — www.gorillajunk.com","Haul Guys — (512) 674-0000 — www.haulguys.com"]}
358,{title:"Tree Care & Removal",vendors:["Scott Harris — 512-406-1045 — [email protected]","Northland Tree Service — Patrick — 512-289-4712","Adams Apple Tree Service — (512) 912-8733 — www.adamsappletreeservice.com","Arbor Vitae Tree Care — (512) 301-8700 — www.treecarebyguy.com","Aspen Tree Service — (512) 522-5966 — www.aspentreeserviceandlandscaping.com","Austin Tree Service — (512) 341-8888 — www.keepaustingreen.com","Capital Tree Care — (512) 913-6833 — www.arboristaustin.com","Joe's Tree Care — (512) 215-1551 — www.joestreecaretx.com","Loreto Reyes (Tree Removal) — 512-619-9873"]},{title:"Water Damage Restoration",vendors:["Blackmon Mooring — (877) 730-1948 — www.blackmonmooring.com","Dry Force Water Removal & Fire Damage Specialists — (512) 474-0002 — www.dryforceaustin.com","PuroClean Property Savers — (512) 956-5700 — www.puroclean.com","Reconstruction Service Pros — (512) 200-7235 — www.reconstructionservicepros.com","ServPro — (512) 579-0189 — www.servpronorthcentralaustin.com"]},{title:"Wells",vendors:["Glass Well Service — 512-288-1963","Bee Caves Drillers — Jared Thompson — 512-894-4221"]},{title:"Window Cleaning & Repair",vendors:["Conner Window & Pressure Washing — Christian — (512) 466-6990","Revival Restoration — Kevin Jarrett — (346) 266-6578","A- & D Window Cleaning and Repair — (512) 918-2676 — www.aanddwindows.com","Fannin Professional Services — (512) 786-1211 — www.fanninprofessional.com","Gwyndows Window Cleaning — (512) 444-1954 — www.gwyndows.com","Sunn Window Cleaning — (512) 444-5505 — www.sunnwindowcleaning.com","Weird Window Cleaning — (512) 387-5870 — www.wierdwindowcleaning.com","Window Gang — (512) 259-7979 — www.windowgang.com"]},{title:"Utilities — Electric",vendors:["City of Austin — (512) 494-9400 — www.austinenergy.com","City of Georgetown — (512) 930-3640 — www.georgetown.org","Pedernales Electric — (888) 554-4732 — www.pec.com","TXU Energy — (855) 604-5159 — www.txu.com"]},{title:"Utilities — Gas",vendors:["Atmos Energy — (888) 286-6700 — www.atmosenergy.com","Texas Gas Service — (800) 700-2443 — www.texasgasservice.com"]},{title:"Utilities — Phone / Internet",vendors:["AT&T — (800) 288-2020 — www.att.com","Spectrum — (855) 224-0609 — www.spectrum.com"]}],db="https://womackrealestate.com",N7=/((?:https?:\/\/)?(?:www\.)?[a-z0-9-]+\.[a-z]{2,}(?:\/[^\s—]*)?)/gi,P7=/[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}/gi,R7=/(\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4})/g;function I7(e){const t=[],n=(l,c)=>{for(const u of e.matchAll(l)){const d=u.index??0;t.push({start:d,end:d+u[0].length,token:{type:c,value:u[0]}})}};n(P7,"email"),n(N7,"url"),n(R7,"phone"),t.sort((l,c)=>l.start-c.start||c.end-c.start-(l.end-l.start));const r=[];let s=0;for(const l of t)l.start<s||(r.push(l),s=l.end);const i=[];let o=0;for(const l of r)l.start>o&&i.push({type:"text",value:e.slice(o,l.start)}),i.push(l.token),o=l.end;return o<e.length&&i.push({type:"text",value:e.slice(o)}),i}function O7({text:e}){const t=w.useMemo(()=>I7(e),[e]);return a.jsx("li",{className:"text-[13px] leading-relaxed text-charcoal",children:t.map((n,r)=>{if(n.type==="url"){const s=n.value.startsWith("http")?n.value:`https://${n.value}`;return a.jsx("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 decoration-foreground/30 hover:decoration-foreground transition-colors",children:n.value},r)}if(n.type==="email")return a.jsx("a",{href:`mailto:${n.value}`,className:"underline underline-offset-2 decoration-foreground/30 hover:decoration-foreground",children:n.value},r);if(n.type==="phone"){const s=n.value.replace(/[^\d]/g,"");return a.jsx("a",{href:`tel:+1${s}`,className:"hover:text-foreground transition-colors",children:n.value},r)}return a.jsx("span",{children:n.value},r)})})}const hb=()=>{const e=w.useMemo(()=>{const t=new Set(ff.map(n=>n.title[0].toUpperCase()));return Array.from(t).sort()},[]);return a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Preferred Partners | Womack Real Estate — Austin, TX"}),a.jsx("meta",{name:"description",content:"A hand-built rolodex of Austin-area contractors, inspectors, lenders, and service providers trusted by Womack Real Estate."}),a.jsx("meta",{property:"og:title",content:"Preferred Vendors | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"A curated list of Austin-area contractors, inspectors, lenders, and service providers we trust."}),a.jsx("meta",{name:"twitter:title",content:"Preferred Vendors | Womack Real Estate"}),a.jsx("meta",{name:"twitter:description",content:"A curated list of Austin-area contractors, inspectors, lenders, and service providers we trust."}),a.jsx("link",{rel:"canonical",href:`${db}/preferred-vendors`}),a.jsx("meta",{property:"og:url",content:`${db}/preferred-vendors`})]}),a.jsx("section",{className:"pt-32 md:pt-40 pb-10 md:pb-14 bg-background",children:a.jsxs("div",{className:"container-luxury",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground
358/60 mb-6",children:"The Rolodex"})}),a.jsx(E,{delay:.1,children:a.jsxs("h1",{className:"heading-display max-w-4xl",children:["Preferred ",a.jsx("span",{className:"italic font-light",children:"vendors."})]})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-24 bg-foreground/40 mt-8"})}),a.jsx(E,{delay:.2,children:a.jsx("p",{className:"text-body text-charcoal max-w-2xl mt-6",children:"A list of Austin-area professionals we've curated  — from HVAC and plumbing to inspectors, lenders, and cleaners. "})})]})}),a.jsx("div",{className:"sticky top-20 z-30 bg-background/95 backdrop-blur-sm border-y border-foreground/10",children:a.jsxs("div",{className:"container-luxury py-3 flex flex-wrap gap-x-3 gap-y-1 items-center",children:[a.jsx("span",{className:"text-caption text-foreground/50 mr-2",children:"Jump"}),e.map(t=>a.jsx("a",{href:`#letter-${t}`,className:"text-[11px] font-display font-bold tracking-[0.15em] text-foreground/60 hover:text-foreground transition-colors",children:t},t))]})}),a.jsx("section",{className:"section-padding bg-background pt-12 md:pt-16",children:a.jsxs("div",{className:"container-luxury",children:[a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-10 gap-y-10",children:ff.map((t,n)=>{const r=t.title[0].toUpperCase(),s=ff.findIndex(i=>i.title[0].toUpperCase()===r)===n;return a.jsxs("div",{id:s?`letter-${r}`:void 0,className:"break-inside-avoid",children:[a.jsx("p",{className:"text-[10px] uppercase tracking-[0.25em] font-bold font-display text-foreground/45 mb-2",children:String(n+1).padStart(2,"0")}),a.jsx("h3",{className:"text-lg font-display font-extrabold tracking-tight mb-3 border-b border-foreground
358/15 pb-2",children:t.title}),a.jsx("ul",{className:"space-y-1.5",children:t.vendors.map((i,o)=>a.jsx(O7,{text:i},o))})]},t.title)})}),a.jsxs("div",{className:"mt-20 border-t border-foreground/10 pt-10 grid md:grid-cols-3 gap-8",children:[a.jsxs("div",{className:"md:col-span-2",children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-3",children:"Disclaimer"}),a.jsx("p",{className:"text-sm text-charcoal leading-relaxed max-w-2xl",children:"Not an endorsement of price or quality — solely a source of information. Ask each provider about their service, rates, and references. We recommend you be present when contractors come to your home. Womack Real Estate is not liable for the results and has no responsibility for the performance of any firms listed."})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-3",children:"Missing someone?"}),a.jsx(G,{to:"/connect",className:"inline-flex items-center bg-foreground text-background px-5 py-3 text-[10px] uppercase font-bold tracking-[0.25em] hover:bg-charcoal transition-colors font-display",children:"Suggest a Vendor"})]})]})]})})]})},D7="/assets/hero-connect-BNubZWEQ.jpg",fb="https://womackrealestate.com",M7=()=>a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Connect | Womack Real Estate - Austin TX"}),a.jsx("meta",{name:"description",content:"Send a note to Wes & Prima Womack and a Womack agent will reply personally, usually the same day."}),a.jsx("meta",{property:"og:title",content:"Connect With Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"Start a conversation about buying, selling, or investing in Austin real estate."}),a.jsx("meta",{name:"twitter:title",content:"Connect With Womack Real Estate"}),a.jsx("meta",{name:"twitter:description",content:"Start a conversation about buying, selling, or investing in Austin real estate."}),a.jsx("link",{rel:"canonical",href:`${fb}/connect`}),a.jsx("meta",{property:"og:url",content:`${fb}/connect`})]}),a.jsx(Bl,{eyebrow:"Connect",title:"Let's start a",boldText:"conversation.",image:D7,alt:"Get connected with Womack Real Estate",standfirst:"Buying, selling, or just curious about the Austin market — reach out. A Womack agent will respond personally."}),a.jsx(Wl,{heading:"Send us a note.",formName:"connect-form",tags:["connect"]})]}),pb="https://womackrealestate.com",L7=()=>a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Who We Are | Womack Real Estate - Austin TX"}),a.jsx("meta",{name:"description",content:"Meet Wes & Prima Womack. A family-run Austin brokerage with 15+ years and 1,000+ homes closed."}),a.jsx("meta",{property:"og:title",content:"Who We Are | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"Meet Wes & Prima Womack and the family-run Austin brokerage behind every closing."}),a.jsx("meta",{name:"twitter:title",content:"Who We Are | Womack Real Estate"}),a.jsx("meta",{name:"twitter:description",content:"Meet Wes & Prima Womack and the family-run Austin brokerage behind every closing."}),a.jsx("link",{rel:"canonical",href:`${pb}/who-we-are`}),a.jsx("meta",{property:"og:url",content:`${pb}/who-we-are`})]}),a.jsx("section",{className:"pt-32 md:pt-40 pb-20 md:pb-28 bg-background",children:a.jsxs("div",{className:"container-luxury",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground/60 mb-6",children:"About Us"})}),a.jsx(E,{delay:.1,children:a.jsxs("h1",{className:"heading-display max-w-4xl",children:["A family brokerage, ",a.jsx("span",{className:"italic font-light",children:"Austin at heart."})]})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-24 bg-foreground
358/40 mt-10"})}),a.jsx(E,{delay:.2,children:a.jsx("p",{className:"text-body text-charcoal max-w-2xl mt-8",children:"Womack Real Estate is a full-service brokerage serving Austin and the surrounding communities. Fifteen years, more than a thousand homes closed, one relationship at a time."})})]})}),a.jsx("section",{className:"section-padding bg-background border-t border-foreground/10",children:a.jsxs("div",{className:"container-luxury grid grid-cols-1 lg:grid-cols-12 gap-14",children:[a.jsx("div",{className:"lg:col-span-4",children:a.jsx(E,{children:a.jsx("p",{className:"text-caption text-foreground/60",children:"The Womack Way"})})}),a.jsxs("div",{className:"lg:col-span-8 max-w-2xl",children:[a.jsx(E,{delay:.1,children:a.jsxs("div",{className:"space-y-6 text-body text-charcoal",children:[a.jsx("p",{children:"At Womack Real Estate we believe in going through the process together. Whether you're a first-time buyer, a seasoned investor, or preparing to sell, our team guides you every step of the way."}),a.jsx("p",{children:"Our deep knowledge of the Austin metropolitan area — from Downtown to Dripping Springs, Round Rock to Kyle — lets us tailor guidance to your circumstances, not a template."}),a.jsx("p",{children:"We pride ourselves on transparency, instant communication, and a commitment to the best possible outcome for every client. The best tools and technology — with the personal touch that makes all the difference."})]})}),a.jsx(E,{delay:.2,children:a.jsxs("div",{className:"mt-12 flex flex-col sm:flex-row gap-4",children:[a.jsx(G,{to:"/our-team",className:"btn-luxury",children:"Meet Our Team"}),a.jsx(G,{to:"/connect",className:"btn-outline-editorial",children:"Get in Touch"})]})})]})]})})]}),$7=[{name:"Wes Womack",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_6882637d7b119.png",site:"https://weswomack.womackrealestate.com",phone:"(512) 626-0621",email:"[email protected]"},{name:"Prima Womack",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_67f69b3eb65ee.png",site:"https://primawomack.womackrealestate.com",phone:"(512) 567-8876",email:"[email protected]"},{name:"Alden Engelhardt",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_67f67df8329af.png",site:"https://alden.womackrealestate.com",phone:"(512) 940-7811",email:"[email protected]"},{name:"Bobbi Segura",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_67f6835f3832c.png",site:"https://bobbi.womackrealestate.com",phone:"(512) 529-1393",email:"[email protected]"},{name:"Catherine Neubauer",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_67f6849614527.png",site:"https://catherine.womackrealestate.com",phone:"(210) 373-1667",email:"[email protected]"},{name:"Chad Womack",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_6a2c4faae0f8e.jpeg",site:"https://michaelchadwickwomack.womackrealestate.com",phone:"(512) 784-2391",email:"[email protected]"},{name:"Dawn Bennett",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_67f6864fbb5d4.png",site:"https://dawn.womackrealestate.com",phone:"(217) 622-1147",email:"[email protected]"},{name:"Dillon Womack",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_67f6953532b4c.png",site:"https://dillon.womackrealestate.com",phone:"(512) 294-9079",email:"[email protected]"},{name:"Gideon Ellinger",image:"https://res.cloudinary.com/dofjjlc6d/image/upload/c_fill,w_600,h_900/v1783121082/womack-team/gideon-ellinger-headshot.jpg",site:"https://gideonsellsaustin.com",phone:"(512) 987-2465",email:"[email protected]"},{name:"Michelle Lawrence",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_69e55803ca50f.png",site:"https://michellelawrence.womackrealestate.com",phone:"(512) 867-5534",email:"[email protected]"},{name:"Phillip Rogers",image:"https://lvdashboard.blob.core.windows.net/public-files/1
358783/profile-images/ProfilePicture_67f699cf5f879.png",site:"https://philliprogers.womackrealestate.com",phone:"(512) 940-0512",email:"[email protected]"},{name:"Quinn Stowe",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_67f69c2fa1fbb.png",site:"https://quinnstowe.womackrealestate.com",phone:"(512) 522-1195",email:"[email protected]"},{name:"Ryan Hays",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_67fe7c9a7d67c.png",site:"https://ryan.womackrealestate.com",phone:"(209) 642-5559",email:"[email protected]"},{name:"Sadie Rehmann",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/files/2024/05/tmp_6631bd9bb6ce8072925462.png",site:"https://sadie.womackrealestate.com",phone:"(903) 286-4939",email:"[email protected]"},{name:"Sergio Vasquez",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_686b4b445fc1f.png",site:"https://sergio.womackrealestate.com",phone:"(512) 659-2597",email:"[email protected]"},{name:"Sherene Mayner",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_67f8170018b40.png",site:"https://sherene.womackrealestate.com",phone:"(512) 689-9324",email:"[email protected]"},{name:"Tanner Engelhardt",image:"https://lvdashboard.blob.core.windows.net/public-files/1783/profile-images/ProfilePicture_684b51a0162ec.jpeg",site:"https://tannerengelhardt.womackrealestate.com",phone:"(512) 826-5588",email:"[email protected]"}],F7="https://process.filestackapi.com/ANn5ILZAdTeSfgB4VFScPz/resize=width:2800,height:2800,fit:max,align:center/https://cdn.filestackcontent.com/DRNXZFtRRg2bxNgqTZ7H",mb="https://womackrealestate.com",B7=()=>a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:"Meet the Team | Womack Real Estate - Austin TX"}),a.jsx("meta",{name:"description",content:"Meet the Womack Real Estate team of experienced Austin, TX real estate agents led by Wes and Prima Womack."}),a.jsx("meta",{property:"og:title",content:"Our Team | Womack Real Estate"}),a.jsx("meta",{property:"og:description",content:"The Austin agents behind Womack Real Estate — reach any of them directly."}),a.jsx("meta",{name:"twitter:title",content:"Our Team | Womack Real Estate"}),a.jsx("meta",{name:"twitter:description",content:"The Austin agents behind Womack Real Estate — reach any of them directly."}),a.jsx("link",{rel:"canonical",href:`${mb}/our-team`}),a.jsx("meta",{property:"og:url",content:`${mb}/our-team`})]}),a.jsxs("section",{className:"relative pt-40 md:pt-56 pb-24 md:pb-36 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${F7})`},"aria-hidden":!0}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#090909]/70 via-[#090909]/55 to-[#090909]/85","aria-hidden":!0}),a.jsxs("div",{className:"relative container-luxury text-background",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-background/70 mb-6",children:"Our People"})}),a.jsx(E,{delay:.1,children:a.jsxs("h1",{className:"heading-display max-w-4xl",style:{textShadow:"0 2px 30px rgba(0,0,0,0.45)"},children:["The team behind ",a.jsx("span",{className:"italic font-light",children:"every close."})]})}),a.jsx(E,{delay:.15,children:a.jsx("span",{className:"block h-px w-24 bg-background/60 mt-10"})}),a.jsx(E,{delay:.2,children:a.jsx("p",{className:"text-body text-background/85 max-w-2xl mt-8",children:"Wes and Prima Womack lead a hand-picked team of Austin agents who share one belief: real estate should feel like hospitality — attentive, personal, and unhurried."})})]})]}),a.jsx("section",{className:"section-padding bg-background border-t border-foreground
358/10",children:a.jsxs("div",{className:"container-luxury",children:[a.jsx(E,{children:a.jsxs("div",{className:"flex items-end justify-between flex-wrap gap-6 mb-14",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-3",children:"The Roster"}),a.jsxs("h2",{className:"heading-section max-w-2xl",children:["Seventeen agents. ",a.jsx("span",{className:"italic font-light",children:"One family."})]})]}),a.jsx("p",{className:"text-body text-charcoal max-w-md",children:"Every Womack agent brings a distinct voice to the table — and the same commitment to the people they serve across Austin and the Hill Country."})]})}),a.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8 md:gap-10",children:$7.map((e,t)=>a.jsx(E,{delay:Math.min(t*.03,.3),children:a.jsxs("article",{className:"group flex flex-col",children:[a.jsxs("a",{href:e.site,target:"_blank",rel:"noopener noreferrer",className:"relative block overflow-hidden bg-foreground/5 aspect-[3/4]",children:[a.jsx("img",{src:e.image,alt:e.name,loading:"lazy",className:"h-full w-full object-cover object-top grayscale transition-all duration-700 group-hover:grayscale-0 group-hover:scale-[1.03]"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#090909]/40 via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),a.jsx("span",{className:"absolute top-4 right-4 h-9 w-9 rounded-full bg-background/90 text-foreground flex items-center justify-center opacity-0 -translate-y-1 group-hover:opacity-100 group-hover:translate-y-0 transition-all duration-300",children:a.jsx(tl,{className:"h-4 w-4"})})]}),a.jsxs("div",{className:"pt-5",children:[a.jsx("a",{href:e.site,target:"_blank",rel:"noopener noreferrer",className:"block",children:a.jsx("h3",{className:"font-display text-xl md:text-2xl text-foreground tracking-tight leading-tight hover:italic hover:font-light transition-all",children:e.name})}
358),a.jsx("span",{className:"mt-3 block h-px w-10 bg-foreground/30"}),a.jsxs("div",{className:"mt-4 flex flex-col gap-1.5 text-sm text-charcoal",children:[a.jsxs("a",{href:`tel:${e.phone.replace(/[^\d+]/g,"")}`,className:"inline-flex items-center gap-2 hover:text-foreground transition-colors",children:[a.jsx(YP,{className:"h-3.5 w-3.5",strokeWidth:1.5}),a.jsx("span",{children:e.phone})]}),a.jsxs("a",{href:`mailto:${e.email}`,className:"inline-flex items-center gap-2 hover:text-foreground transition-colors break-all",children:[a.jsx(qP,{className:"h-3.5 w-3.5 shrink-0",strokeWidth:1.5}),a.jsx("span",{children:e.email})]})]})]})]})},e.email))})]})}),a.jsx("section",{className:"section-padding bg-foreground text-background",children:a.jsxs("div",{className:"container-luxury max-w-3xl",children:[a.jsx(E,{children:a.jsx("p",{className:"text-caption text-background/60 mb-6",children:"Reach Out"})}),a.jsx(E,{delay:.1,children:a.jsxs("h2",{className:"heading-section",children:["Seventeen agents. ",a.jsx("span",{className:"italic font-light",children:"We'll pick your match."})]})}),a.jsx(E,{delay:.2,children:a.jsx("p",{className:"text-body text-background/80 mt-8 max-w-xl",children:"Tell us a little about what you're looking for and we'll match you with the right agent on the team."})}),a.jsx(E,{delay:.3,children:a.jsxs(G,{to:"/connect",className:"inline-flex items-center gap-3 mt-10 px-8 py-4 bg-background text-foreground text-sm tracking-[0.2em] uppercase hover:bg-background/90 transition-colors",children:["Get in Touch",a.jsx(tl,{className:"h-4 w-4"})]})})]})})]}),W7=({name:e,idxSlug:t})=>{const n=MB(t);return a.jsx("section",{className:"bg-warm-white border-t border-b border-foreground
358/10",children:a.jsx("div",{className:"container-luxury py-12 md:py-16",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-14 items-start",children:[a.jsxs(E,{className:"lg:col-span-5",children:[a.jsxs("p",{className:"text-caption text-foreground/60 mb-4",children:["Search ",e]}),a.jsxs("h2",{className:"font-display font-extrabold uppercase tracking-tighter text-3xl md:text-4xl lg:text-5xl text-foreground leading-[0.95]",children:["Find your place",a.jsx("br",{}),"in ",e,"."]})]}),a.jsxs(E,{delay:.1,className:"lg:col-span-7",children:[a.jsxs("div",{className:"flex flex-col sm:flex-row items-stretch gap-0 border-b border-foreground/25 pb-3",children:[a.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[a.jsx(XP,{size:18,className:"text-foreground/40 shrink-0"}),a.jsx("input",{readOnly:!0,"aria-label":`Search listings in ${e}`,placeholder:`Address, MLS #, or keyword in ${e}`,onFocus:r=>r.currentTarget.blur(),onClick:()=>{window.location.href=n},className:"w-full bg-transparent border-0 outline-none py-3 text-base font-body text-foreground placeholder:text-foreground/50 cursor-pointer"})]}),a.jsx(G,{to:n,className:"inline-flex items-center justify-center bg-foreground text-background px-8 py-4 text-[10px] uppercase font-bold tracking-[0.25em] hover:bg-charcoal transition-colors font-display whitespace-nowrap sm:ml-4",children:"Search MLS"})]}),a.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-x-8 gap-y-3",children:[a.jsxs(G,{to:n,className:"inline-flex items-center gap-1.5 text-sm font-body font-semibold text-foreground hover:text-foreground/70 transition-colors group",children:["Browse all ",e," listings",a.jsx(tl,{size:14,className:"transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5"})]}),a.jsxs(G,{to:"/connect",className:"inline-flex items-center gap-1.5 text-sm font-body text-foreground/70 hover:text-foreground transition-colors group",children:["Talk to a local expert",a.jsx(tl,{size:14,className:"transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5"})]})]})]})]})})})},gb="https://womackrealestate.com",U7=()=>{const{slug:e}=bd(),t=e?DB(e):void 0;if(!t)return a.jsx(Uy,{});const n=`${t.name} Homes for Sale | Womack Real Estate`,r=t.standfirst.slice(0,158);return a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:n}),a.jsx("meta",{name:"description",content:r}),a.jsx("link",{rel:"canonical",href:`${gb}/neighborhoods/${t.slug}`}),a.jsx("meta",{property:"og:title",content:n}),a.jsx("meta",{property:"og:description",content:r}),a.jsx("meta",{property:"og:type",content:"website"}),a.jsx("meta",{property:"og:url",content:`${gb}/neighborhoods/${t.slug}`}),a.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),a.jsx("meta",{name:"twitter:title",content:n}),a.jsx("meta",{name:"twitter:description",content:r})]}),a.jsx(Bl,{eyebrow:"Our Communities",title:t.name,boldText:t.tag,image:t.image,alt:`${t.name}, Texas`,standfirst:t.standfirst}),a.jsx(W7,{name:t.name,idxSlug:t.idxSlug}),a.jsx("section",{className:"section-padding bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16",children:[a.jsxs(E,{className:"lg:col-span-4",children:[a.jsxs("p",{className:"text-caption text-foreground/60 mb-4",children:["About ",t.name]}),a.jsxs("h2",{className:"heading-section text-foreground",children:["A closer",a.jsx("br",{}),"look."]})]}),a.jsx(E,{delay:.1,className:"lg:col-span-8",children:a.jsx("div",{className:"space-y-6",children:t.overview.map((s,i)=>a.jsx("p",{className:"text-body text-foreground/80 leading-relaxed",children:s},i))})})]})})}),a.jsx("section",{className:"bg-near-black text-warm-white",children:a.jsx("div",{className:"container-luxury py-16 md:py-20",children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-10 md:gap-6",children:t.stats.map((s,i)=>a.jsx(E,{delay:i*.08,children:a.jsxs("div",{className:"border-t border-warm-white/25 pt-6",children:[a.jsx("p",{className:"font-display font-extrabold uppercase tracking-tighter text-4xl md:text-5xl text-warm-white leading-none",children:s.value}),a.jsx("p",{className:"text-caption text-warm-white/60 mt-4",children:s.label})]})},i))})})}),a.jsx("section",{className:"section-padding bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-16",children:[a.jsxs(E,{className:"lg:col-span-4",children:[a.jsx("p",{className:"text-caption text-foreground
358/60 mb-4",children:"Local Signal"}),a.jsxs("h2",{className:"heading-section text-foreground",children:["What ",t.name,a.jsx("br",{}),"is known for."]})]}),a.jsx(E,{delay:.1,className:"lg:col-span-8",children:a.jsx("ul",{className:"divide-y divide-foreground/10 border-t border-b border-foreground/10",children:t.lifestyle.map((s,i)=>a.jsxs("li",{className:"flex items-baseline gap-6 py-5",children:[a.jsx("span",{className:"text-caption text-foreground/40 shrink-0 w-8",children:String(i+1).padStart(2,"0")}),a.jsx("span",{className:"text-body text-foreground/85 leading-relaxed",children:s})]},i))})})]})})}),a.jsx(Wl,{heading:`Curious about ${t.name}?`,formName:"neighborhood-inquiry",tags:["neighborhood",t.name]})]})};var $d="Collapsible",[V7,M_]=Xt($d),[H7,Vy]=V7($d),L_=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:s,disabled:i,onOpenChange:o,...l}=e,[c,u]=lr({prop:r,defaultProp:s??!1,onChange:o,caller:$d});return a.jsx(H7,{scope:n,disabled:i,contentId:qs(),open:c,onOpenToggle:w.useCallback(()=>u(d=>!d),[u]),children:a.jsx(le.div,{"data-state":zy(c),"data-disabled":i?"":void 0,...l,ref:t})})});L_.displayName=$d;var $_="CollapsibleTrigger",F_=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,s=Vy($_,n);return a.jsx(le.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":zy(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...r,ref:t,onClick:ie(e.onClick,s.onOpenToggle)})});F_.displayName=$_;var Hy="CollapsibleContent",B_=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,s=Vy(Hy,e.__scopeCollapsible);return a.jsx(ar,{present:n||s.open,children:({present:i})=>a.jsx(z7,{...r,ref:t,present:i})})});B_.displayName=Hy;var z7=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:s,...i}=e,o=Vy(Hy,n),[l,c]=w.useState(r),u=w.useRef(null),d=Ee(t,u),h=w.useRef(0),f=h.current,p=w.useRef(0),x=p.current,m=o.open||l,v=w.useRef(m),g=w.useRef(void 0);return w.useEffect(()=>{const y=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(y)},[]),Ln(()=>{const y=u.current;if(y){g.current=g.current||{transitionDuration:y.style.transitionDuration,animationName:y.style.animationName},y.style.transitionDuration="0s",y.style.animationName="none";const b=y.getBoundingClientRect();h.current=b.height,p.current=b.width,v.current||(y.style.transitionDuration=g.current.transitionDuration,y.style.animationName=g.current.animationName),c(r)}},[o.open,r]),a.jsx(le.div,{"data-state":zy(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!m,...i,ref:d,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...e.style},children:m&&s})});function zy(e){return e?"open":"closed"}var q7=L_,K7=F_,G7=B_,Sn="Accordion",Y7=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[qy,J7,Q7]=yg(Sn),[Fd,CV]=Xt(Sn,[Q7,M_]),Ky=M_(),W_=O.forwardRef((e,t)=>{const{type:n,...r}=e,s=r,i=r;return a.jsx(qy.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?a.jsx(tV,{...i,ref:t}):a.jsx(eV,{...s,ref:t})})});W_.displayName=Sn;var[U_,X7]=Fd(Sn),[V_,Z7]=Fd(Sn,{collapsible:!1}),eV=O.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},collapsible:i=!1,...o}=e,[l,c]=lr({prop:n,defaultProp:r??"",onChange:s,caller:Sn});return a.jsx(U_,{scope:e.__scopeAccordion,value:O.useMemo(()=>l?[l]:[],[l]),onItemOpen:c,onItemClose:O.useCallback(()=>i&&c(""),[i,c]),children:a.jsx(V_,{scope:e.__scopeAccordion,collapsible:i,children:a.jsx(H_,{...o,ref:t})})})}),tV=O.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},...i}=e,[o,l]=lr({prop:n,defaultProp:r??[],onChange:s,caller:Sn}),c=O.useCallback(d=>l((h=[])=>[...h,d]),[l]),u=O.useCallback(d=>l((h=[])=>h.filter(f=>f!==d)),[l]);return a.jsx(U_,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:u,children:a.jsx(V_,{scope:e.__scopeAccordion,collapsible:!0,children:a.jsx(H_,{...i,ref:t})})})}),[nV,Bd]=Fd(Sn),H_=O.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:s,orientation:i="vertical",...o}=e,l=O.useRef(null),c=Ee(l,t),u=J7(n),h=Ey(s)==="ltr",f=ie(e.onKeyDown,p=>{var _;if(!Y7.includes(p.key))return;const x=p.target,m=u().filter(A=>{var P;return!((P=A.ref.current)!=null&&P.disabled)}),v=m.findIndex(A=>A.ref.current===x),g=m.length;if(v===-1)return;p.preventDefault();let y=v;const b=0,k=g-1,S=()=>{y=v+1,y>k&&(y=b)},j=()=>{y=v-1,y<b&&(y=k)};switch(p.key){case"Home":y=b;break;case"End":y=k;break;case"ArrowRight":i==="horizontal"&&(h?S():j());break;case"ArrowDown":i==="vertical"&&S();break;case"ArrowLeft":i==="horizontal"&&(h?j():S());break;case"ArrowUp":i==="vertical"&&j();break}const C=y%g;(_=m[C].ref.current)==null||_.focus()});return a.jsx(nV,{scope:n,disabled:r,direction:s,orientation:i,children:a.jsx(qy.Slot,{scope:n,children:a.jsx(le.div,{...o,"data-orientation":i,ref:c,onKeyDown:r?void 0:f})})})}),Gu="AccordionItem",[rV,Gy]=Fd(Gu),z_=O.forwardRef((e,t)=>
358{const{__scopeAccordion:n,value:r,...s}=e,i=Bd(Gu,n),o=X7(Gu,n),l=Ky(n),c=qs(),u=r&&o.value.includes(r)||!1,d=i.disabled||e.disabled;return a.jsx(rV,{scope:n,open:u,disabled:d,triggerId:c,children:a.jsx(q7,{"data-orientation":i.orientation,"data-state":Q_(u),...l,...s,ref:t,disabled:d,open:u,onOpenChange:h=>{h?o.onItemOpen(r):o.onItemClose(r)}})})});z_.displayName=Gu;var q_="AccordionHeader",K_=O.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=Bd(Sn,n),i=Gy(q_,n);return a.jsx(le.h3,{"data-orientation":s.orientation,"data-state":Q_(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});K_.displayName=q_;var bm="AccordionTrigger",G_=O.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=Bd(Sn,n),i=Gy(bm,n),o=Z7(bm,n),l=Ky(n);return a.jsx(qy.ItemSlot,{scope:n,children:a.jsx(K7,{"aria-disabled":i.open&&!o.collapsible||void 0,"data-orientation":s.orientation,id:i.triggerId,...l,...r,ref:t})})});G_.displayName=bm;var Y_="AccordionContent",J_=O.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=Bd(Sn,n),i=Gy(Y_,n),o=Ky(n);return a.jsx(G7,{role:"region","aria-labelledby":i.triggerId,"data-orientation":s.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});J_.displayName=Y_;function Q_(e){return e?"open":"closed"}var sV=W_,iV=z_,oV=K_,X_=G_,Z_=J_;const aV=sV,eE=w.forwardRef(({className:e,...t},n)=>a.jsx(iV,{ref:n,className:Q("border-b",e),...t}));eE.displayName="AccordionItem";const tE=w.forwardRef(({className:e,children:t,...n},r)=>a.jsx(oV,{className:"flex",children:a.jsxs(X_,{ref:r,className:Q("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,a.jsx(dp,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));tE.displayName=X_.displayName;const nE=w.forwardRef(({className:e,children:t,...n},r)=>a.jsx(Z_,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:a.jsx("div",{className:Q("pb-4 pt-0",e),children:t})}));nE.displayName=Z_.displayName;const lV={name:"Austin & Hill Country Guides"},rE=[{slug:"moving-to-austin-relocation-guide",title:"Moving to Austin",h1:"Moving to Austin: A Relocation Guide from a Local Family Brokerage",intro:"Every week we help families land in Austin from somewhere else. Some come for a job, some for family, plenty just because they visited once and never stopped thinking about it. This is the honest version of what moving here looks like: where people actually settle, what surprises them, and how to shop for a home from three states away without getting burned.",bodyHtml:`
359      <h2>Where newcomers actually end up</h2>
360      <p>Austin is not one market. Downtown and the central neighborhoods are dense, walkable, and priced accordingly. The suburbs each have their own personality. Round Rock and Cedar Park pull families with strong schools and newer housing stock. Buda and Kyle offer more house for the money south of town. Lakeway and the Lake Travis corridor feel like a permanent vacation. Dripping Springs is the Hill Country compromise: land, stars at night, and a commute you can live with. Most of our relocation clients tour three or four of these before their gut tells them which one is home.</p>
361      <h2>The things that surprise people</h2>
362      <ul>
363        <li><strong>Property taxes.</strong> Texas has no state income tax, but property taxes are real. The rate varies by school district and city, and it changes the monthly payment math on otherwise similar homes.</li>
364        <li><strong>Distance.</strong> The metro is bigger than visitors expect. A house in Kyle and a job in the Domain is a serious commute. We map your daily drive before you fall for a floor plan.</li>
365        <li><strong>Neighborhood variety.</strong> Two streets apart can mean different school assignments, different HOA rules, and different resale pictures. Local detail matters more here than in most cities.</li>
366      </ul>
367      <h2>Buying from out of state</h2>
368      <p>We run remote purchases all the time. Video walkthroughs where we point the camera at the things a listing photographer avoids. Honest neighborhood drive-bys at rush hour. Inspection and option-period work handled while you pack. You fly in once, or not at all. The process is smoother than most people fear, provided someone local is doing the legwork.</p>
369      <h2>How we help</h2>
370      <p>We are a family brokerage, not a lead-routing machine. You get a person who knows the block, answers the phone, and tells you when to walk away from a house. Start with the <a href="/idx">MLS search</a> to get a feel for pricing, then <a href="/connect">reach out</a> and tell us what your life needs from this move.</p>
371    `,faqs:[{question:"What should I know before moving to Austin?",answer:"Budget around property taxes, not just price. Pick your area by commute and school district before falling in love with a house. And visit in August if you can; if you like Austin in August, you will love it the rest of the year."},{question:"Which Austin suburbs are best for families?",answer:"Round Rock, Cedar Park, and Leander are the classic picks for schools and newer neighborhoods. Buda and Kyle are strong value south of the city. Dripping Springs trades some commute for Hill Country space. The right answer depends on where you work and what you want evenings and weekends to look like."},{question:"Can I buy a home in Austin without living there yet?",answer:"Yes. We handle remote purchases regularly: live video tours, honest assessments of condition and location, inspections and negotiations run locally while you are still out of state. Many clients see their home in person for the first time at the walkthrough."},{question:"Is Austin still growing?",answer:"Yes, though the pace shifts year to year. Employers keep arriving, and the metro keeps adding people. What that means for prices varies by neighborhood and season, so we would rather show you live data for the areas you care about than quote a headline number that goes stale."}],metaTitle:"Moving to Austin, TX: Relocation Guide | Womack Real Estate",metaDescription:"Relocating to Austin? A local family brokerage explains where newcomers settle, what surprises them, and how to buy from out of state without getting burned."},{slug:"first-time-homebuyer-austin",title:"First-Time Buyers",h1:"Buying Your First Home in Austin",intro:"Your first purchase is the one where good guidance matters most. You have not seen a hundred houses. You do not know which inspection findings are normal and which are deal-breakers. That is our job. Here is how first-time buying works in the Austin area, and how we keep it from being overwhelming.",bodyHtml:`
372      <h2>What you actually need to start</h2>
373      <p>Not a fortune. You need a pre-approval from a lender, a realistic monthly budget that includes taxes and insurance, and a short list of neighborhoods that fit it. Plenty of first homes in the metro get bought with modest down payments through conventional, FHA, and VA programs. The pre-approval letter matters because in this market, sellers do not take offers seriously without one.</p>
374      <h2>Where first-time budgets go furthest</h2>
375      <p>Straight talk: central Austin is a stretch for most first budgets. The value lives in Buda, Kyle, Manor, and the outer edges of Round Rock and Leander, where newer communities price entry-level homes to compete. Condos and townhomes closer in are another route, with trade-offs in HOA dues and space. We will show you the same budget in three different forms so you can feel the difference rather than guess at it.</p>
376      <h2>The parts people fear, handled</h2>
377      <ul>
378        <li><strong>The offer.</strong> We build it from comparable sales, not emotion, and structure terms that win without overpaying.</li>
379        <li><strong>The option period.</strong> Texas gives you a negotiated window to inspect and renegotiate or walk. We schedule the inspection, translate the report, and tell you what is rout
379ine and what is not.</li>
380        <li><strong>Closing costs.</strong> We estimate them up front so the number on the settlement statement is never a surprise, and we negotiate seller contributions where the market allows.</li>
381      </ul>
382      <h2>A team that remembers their first house</h2>
383      <p>Wes and Prima built this brokerage on hospitality, and nowhere does that matter more than with first-timers. There is no such thing as a dumb question. Ask us the same thing five times. Start by browsing the <a href="/idx">live MLS search</a>, try the <a href="/home-valuation">valuation tool</a> on homes you are curious about, and <a href="/connect">talk to us</a> when you are ready to get serious.</p>
384    `,faqs:[{question:"How much do I need for a down payment in Austin?",answer:"Less than most people assume. Conventional loans can go as low as 3 percent down, FHA 3.5 percent, and VA loans zero for those who qualify. The bigger constraint is usually the monthly payment with taxes and insurance included, which is why we start with a lender pre-approval and work backward."},{question:"What is the option period in Texas?",answer:"A negotiated number of days after contract during which you can inspect the home and back out for any reason, for a small fee. It is your safety net. We use it to inspect, price any needed repairs, and renegotiate if the findings justify it."},{question:"Where can first-time buyers still find affordable homes near Austin?",answer:"Buda, Kyle, and Manor lead on value, along with newer communities on the outer edges of Round Rock and Leander. Closer in, condos and townhomes put you near the action at a lower price point, with HOA dues as the trade-off."},{question:"Do I pay my buyer's agent?",answer:"Compensation is negotiable and spelled out in writing before we start touring. In many transactions the seller's side contributes to it; where that is not offered, we discuss the numbers with you up front so there are no surprises."}],metaTitle:"First-Time Homebuyer Guide for Austin | Womack Real Estate",metaDescription:"Buying your first home in Austin? What you need to start, where budgets go furthest, and how the option period protects you. Patient guidance from a family brokerage."},{slug:"austin-luxury-homes-hill-country",title:"Luxury Homes",h1:"Luxury Homes in Austin and the Hill Country",intro:"Luxury in Central Texas does not look like one thing. It is a limestone contemporary over Lake Austin, a gated Barton Creek estate backing the fairway, fifteen quiet acres outside Dripping Springs with a view that ends somewhere in tomorrow. Buying or selling at this level is a different craft, and discretion is most of it.",bodyHtml:`
385      <h2>Where Austin's luxury markets live</h2>
386      <p>The established names hold their ground: Barton Creek, Westlake and Rob Roy, Tarrytown and Pemberton Heights in the center, Spanish Oaks and the Lake Travis waterfront to the west. Downtown's towers serve a different buyer, one who wants a lock-and-leave with a skyline. And the Hill Country west of town keeps producing estate properties that trade acreage and privacy for proximity. Each market has its own buyer pool and its own rhythm; pricing one like another is how expensive mistakes get made.</p>
387      <h2>Much of this market never hits the MLS</h2>
388      <p>Significant homes often sell quietly. Sellers at this level value privacy, and buyers value first looks. Because we are a family brokerage with deep Austin roots, we hear about homes before they list and we place buyers into them without a sign ever hitting the yard. If you have been searching public portals and coming up dry, that is not the whole market you are seeing.</p>
389      <h2>Selling a significant home</h2>
390      <ul>
391        <li><strong>Positioning over exposure.</strong> The right twenty buyers matter more than twenty thousand clicks. We market accordingly.</li>
392        <li><strong>Presentation.</strong> Architectural photography, twilight shoots, film where the property earns it. A luxury listing should look like what it is.</li>
393        <li><strong>Discretion.</strong> Private showings, vetted buyers, and no public price history if you prefer an off-market process.</li>
394      </ul>
395      <h2>Our approach</h2>
396      <p>
396Wes and Prima came from high-end hospitality before real estate, and it shows in how this side of the practice runs. Unhurried, precise, personal. If you are exploring at this level, <a href="/connect">start a quiet conversation</a>, or browse the <a href="/idx">MLS search</a> to calibrate what the public market is asking.</p>
397    `,faqs:[{question:"What neighborhoods define luxury real estate in Austin?",answer:"Barton Creek, Westlake, Rob Roy, Tarrytown, and Pemberton Heights lead the established markets, with Spanish Oaks and the Lake Travis waterfront strong to the west and downtown towers serving the lock-and-leave buyer. The Hill Country adds estate and acreage properties outside those boundaries."},{question:"How do I find off-market luxury homes in Austin?",answer:"Through relationships. A meaningful share of significant homes change hands quietly, seller to buyer, through brokerages that know both. Tell us specifically what you are after and we will bring you private opportunities alongside anything public that fits."},{question:"How is selling a luxury home different?",answer:"The buyer pool is smaller and more deliberate, so positioning beats blast marketing. Presentation has to match the property, pricing has to respect how thin the comparable data can be, and the process often runs better with some or full discretion. We tailor all three to the home."},{question:"Is the Hill Country part of the luxury market?",answer:"Very much. Estate properties around Dripping Springs, Driftwood, and the lakes deliver acreage, views, and privacy that city lots cannot, while staying within reach of Austin. For many buyers that combination is the entire point."}],metaTitle:"Luxury Homes in Austin & the Hill Country | Womack Real Estate",metaDescription:"Barton Creek, Westlake, Lake Travis waterfront, and Hill Country estates. How Austin's luxury market really works, including the homes that never hit the MLS."},{slug:"austin-investment-property-guide",title:"Investment Property",h1:"Buying Investment Property in the Austin Area",intro:"Austin's growth story pulls investors from everywhere, but the metro rewards discipline more than enthusiasm. The difference between a rental that carries itself and one that bleeds is usually decided on the day you buy it. We help investors run the numbers honestly and buy the returns, not the story.",bodyHtml:`
398      <h2>What works in this metro</h2>
399      <p>Long-term single-family rentals in commuter suburbs are the workhorse: Round Rock, Pflugerville, Kyle, Buda, and Manor attract stable tenants who want schools and a yard. Small multifamily near the urban core trades higher price per door for stronger rent density. New-build rentals in growth corridors can pair builder incentives with low early maintenance. Each strategy has a different risk shape; the right one depends on your capital, your patience, and how hands-on you want to be.</p>
400      <h2>Underwrite like you mean it</h2>
401      <ul>
402        <li><strong>Real rents, not hopeful ones.</strong> We pull actual comparable leases for the street, not metro averages.</li>
403        <li><strong>Property taxes.</strong> Texas taxes are the line item that surprises out-of-state investors. They belong in every projection from day one, at the investor rate without a homestead exemption.</li>
404        <li><strong>Insurance, HOA, maintenance, vacancy.</strong> Carrying costs are modeled honestly or the deal is fiction.</li>
405        <li><strong>Exit paths.</strong> A good rental in a strong school district is also a good future sale. We weigh resale from the start.</li>
406      </ul>
407      <h2>Growth corridors worth watching</h2>
408      <p>Employment anchors keep pushing outward: the tech corridor north toward Round Rock, manufacturing east toward Manor and beyond, and steady expansion down I-35 through Buda and Kyle. Buying in the path of infrastructure and employers has been the reliable Austin play for two decades. We track where that is happening block by block rather than repeating headlines.</p>
409      <h2>An investor's brokerage habit</h2>
410      <p>Many of our investor clients started as our homebuyers. They come back because we treat a rental purchase like the business decision it is. Bring us your criteria and we will bring you candidates with the math already attached. Start at the <a href="/idx">MLS search</a> or <a href="/connect">talk through your strategy</a> with us.</p>
411    `,faqs:[{question:"Is Austin still a good market for rental property?",answer:"It remains one of the stronger long-term stories in the country because of employment and population growth, but block-level selection decides your outcome. Some submarkets are oversupplied at times; others stay chronically tight. We underwrite each deal on its own numbers rather than the metro narrative."},{question:"What surprises out-of-state investors most?",answer:"Property taxes. Without a homestead exemption, the annual tax b
411ill on an investment property is a serious line item, and it varies meaningfully by school district. We model it at the full investor rate before you offer, never after."},{question:"Where do Austin-area rentals perform best?",answer:"For single-family, the commuter suburbs: Round Rock, Pflugerville, Kyle, Buda, and Manor, where tenant demand is family-driven and steady. Closer in, small multifamily can outperform on rent per dollar. The right answer follows your strategy and capital."},{question:"Should I buy new construction as a rental?",answer:"It can work well: low early maintenance, builder incentives, and warranties. The trade-offs are newer neighborhoods with less rental history and sometimes heavy nearby supply from the same builder. We compare the specific community's lease data before recommending it."}],metaTitle:"Austin Investment Property Guide | Womack Real Estate",metaDescription:"Where rentals perform around Austin, what property taxes do to the math, and which growth corridors matter. Honest underwriting from a local brokerage."},{slug:"new-construction-homes-austin",title:"New Construction",h1:"Buying New Construction Around Austin",intro:"New communities are rising from Leander to Kyle, and builder marketing makes every one of them sound perfect. Here is what buying new construction actually involves, why the builder's sales office is not on your side of the table, and how to use a buyer's agent to get more house for the same money.",bodyHtml:`
412      <h2>The part builders don't advertise</h2>
413      <p>The friendly person in the model home works for the builder. Their contract is written by the builder's lawyers, their lender incentives steer you toward the builder's numbers, and their job is the builder's margin. None of that is sinister, but it means you want representation, and in nearly every case the builder pays your agent without it costing you a dollar. Bringing us costs nothing and changes the negotiation.</p>
414      <h2>Where the leverage is</h2>
415      <ul>
416        <li><strong>Incentives over price cuts.</strong> Builders protect their base prices for appraisal reasons, but closing-cost credits, rate buydowns, design-center allowances, and lot premiums are all negotiable.</li>
417        <li><strong>Timing.</strong> End of quarter and standing inventory homes are where builders bend. A spec home that has sat sixty days negotiates very differently from a to-be-built.</li>
418        <li><strong>The design center.</strong> This is where budgets go to die. We help you pick upgrades that hold value at resale and skip the ones that only look good in the showroom.</li>
419      </ul>
420      <h2>Inspect it anyway</h2>
421      <p>New does not mean flawless. We bring independent inspectors at pre-drywall and again before closing, because it is far easier to fix what is behind a wall before the wall exists. Builder warranties are real but narrower than buyers assume; the inspection record is your leverage for years.</p>
422      <h2>Communities we're watching</h2>
423      <p>Growth is strongest north through Leander and Liberty Hill, east around Manor, and south through Buda and Kyle. Each corridor has builders we trust more and less, based on years of walking their product. Ask us directly, we will tell you plainly. Start at the <a href="/idx">MLS search</a> or <a href="/connect">get in touch</a> before your first model-home visit, since registering without an agent can lock us out of representing you.</p>
424    `,faqs:[{question:"Do I need a realtor for new construction?",answer:"You are allowed to go alone, but the builder's contract and process are built for the builder. An agent costs you nothing in nearly every case, negotiates incentives you will not be offered on your own, and manages inspections the sales office would rather skip. Register us on your first visit; many builders will not add an agent afterward."},{question:"Can you negotiate with home builders?",answer:"Yes, just rarely on the sticker price. Builders move on closing costs, rate buydowns, design credits, and lot premiums, especially on standing inventory and at quarter end. We know which levers each builder in the area actually pulls."},{question:"Should a new home be inspected?",answer:"Absolutely, ideally twice: at pre-drywall and before closing. Even good builders build fast, and independent inspectors regularly find items worth fixing while they are still easy to reach. The documented record also strengthens future warranty claims."},{question:"Where is new construction happening around Austin?",answer:"North through Leander and Liberty Hill, east around Manor, and south through Buda and Kyle, with infill projects scattered closer to the city. Corridors differ in commute, schools, and builder quality, and we will give you straight opinions on all three."}],metaTitle:"New Construction Homes Around Austin | Womack Real Estate",metaDescription:"Buying new construction in Leander, Manor, Buda, or Kyle? Why the builder's office isn't on your side, where the negotiating leverage is, and why new homes still need inspections."},{slug:"selling-your-austin-home",title:"Selling Your Home",h1:"Selling Your Austin-Area Home",intro:"A good sale is engineered before the sign goe
424s up. Pricing, preparation, and the first ten days on market decide most outcomes. We have listed and closed more than a thousand homes across Austin and the Hill Country, and the process we run is the same whether the home is a starter in Kyle or an estate in Barton Creek.",bodyHtml:`
425      <h2>Price is a strategy, not a wish</h2>
426      <p>Every seller has a number in mind. The market has its own. Our job is to close that gap with evidence: recent comparable sales, current competition, and where buyer demand actually sits for your street this season. Price right and the market rewards you with traffic and often multiple offers. Price on hope and you chase the market down with reductions that cost more than honesty would have.</p>
427      <h2>Preparation that pays, and the kind that doesn't</h2>
428      <ul>
429        <li><strong>Worth doing:</strong> paint, lighting, deep cleaning, landscaping refresh, and fixing the small defects an inspector will flag anyway. High return, low cost.</li>
430        <li><strong>Usually not:</strong> major remodels before listing. You rarely recover a kitchen renovation done in a hurry for someone else's taste. We will tell you which is which for your specific house.</li>
431        <li><strong>Presentation:</strong> professional photography is the minimum. Staging, video, and twilight shoots where the home earns them.</li>
432      </ul>
433      <h2>The first ten days</h2>
434      <p>Your best offers usually surface early, while the listing is fresh. We concentrate effort there: launch timing, broker outreach, open house strategy, and fast, honest feedback loops. If the market pushes back, we adjust early rather than let the listing go stale.</p>
435      <h2>Negotiation and the close</h2>
436      <p>Offers are more than a price. Financing strength, option terms, leasebacks, and appraisal risk all change what an offer is worth. We read the whole contract, negotiate the inspection round with data instead of emotion, and keep the file moving so you close on schedule. Start with a <a href="/home-valuation">free valuation</a>, then <a href="/connect">sit down with us</a> to build the plan.</p>
437    `,faqs:[{question:"What should I fix before selling my house?",answer:"The small, visible things: paint, lighting, caulk, hardware, yard. Fix what an inspector will flag cheaply now rather than expensively in negotiation later. Skip major remodels; you rarely recover that spend at closing. We walk your home and give you a specific, short list."},{question:"How do you decide the list price?",answer:"From evidence: closed comparables, active competition, and the season's buyer behavior in your immediate area. We show you the data and agree on a strategy together, including what we will do if the market's response says we are high."},{question:"When is the best time to sell in Austin?",answer:"Spring and early summer bring the deepest buyer pool, but well-priced homes sell year-round, and thinner seasons have less competition. Your timing should also account for your next move; we help sequence the sale and purchase so you are not homeless or carrying two mortgages."},{question:"Do I have to make repairs after the inspection?",answer:"No, everything is negotiable. Buyers commonly ask; sellers respond with repairs, credits, price adjustments, or a polite no. We benchmark each request against real repair costs so you never over-concede."}],metaTitle:"Selling Your Austin Home: Pricing & Strategy | Womack Real Estate",metaDescription:"How to price, prep, and negotiate the sale of an Austin-area home. What to fix, what to skip, and why the first ten days matter most. 1,000+ homes closed."},{slug:"austin-home-pricing-strategy",title:"Pricing Strategy",h1:"How Austin Homes Actually Get Priced",intro:"Ask three portals what your house is worth and you will get three numbers, none of which a buyer will pay. Automated estimates cannot see your kitchen, your lot, your street noise, or the fact that the comp next door sold with foundation issues. Here is how pricing really works, from people who defend prices at the negotiating table every week.",bodyHtml:`
438      <h2>Why the online estimate misses</h2>
439      <p>Algorithms average. Homes are specific. An estimate treats your remodeled kitchen and your neighbor's 1997 original as the same square footage, values a greenbelt lot like a backs-to-the-road lot, and has no idea one comp closed under duress. In neighborhoods with varied housing stock, and that is most of Austin, the automated number can miss badly in either direction.</p>
440      <h2>What a real valuation looks at</h2>
441      <ul>
442        <li><strong>Closed sales,</strong> adjusted for condition, lot, updates, and terms, not just proximity and size.</li>
443        <li><strong>Active competition:</strong> what a buyer with your budget sees today when they search next to your listing.</li>
444        <li><strong>Pendings:</strong> the freshest signal of where the market is right now, ahead of closed data by six weeks.</li>
445        <li><strong>School district and micro-location:</strong> the same floor plan can carry a meaningfully different price across a district line or tw
445o streets closer to the highway.</li>
446      </ul>
447      <h2>Strategy beats bravado</h2>
448      <p>Sometimes the right list price is under the target number, to generate competition that carries the final price past it. Sometimes the market is thin and precision matters more than theater. The strategy depends on your neighborhood's depth of demand this season, which is a local, current question, never a formula.</p>
449      <h2>Get the real number</h2>
450      <p>Our <a href="/home-valuation">valuation tool</a> gives you a solid automated starting point. The finished number comes from a walkthrough and a comp-by-comp conversation, free and without obligation. <a href="/connect">Ask us for it</a> whenever you are curious, selling this spring or just planning ahead.</p>
451    `,faqs:[{question:"Why is my Zestimate different from my agent's price?",answer:"Automated models average large areas and cannot see condition, updates, lot quality, or sale circumstances. They are a fine starting point and a poor final answer. A broker price opinion adjusts real comparable sales for the specifics of your home, which is what an appraiser and a buyer will do too."},{question:"Should I price high and leave room to negotiate?",answer:"Usually not in this market. Buyers search in price bands; listing above the band hides you from your best buyers, and stale days on market cost more than negotiating room saves. The strongest results typically come from pricing at or just under true market value and letting competition work."},{question:"What is a free home valuation worth?",answer:"Ours combines live market data with an in-person read of your home and street, the same analysis we use to defend prices in negotiation. It costs nothing and carries no obligation. Worst case, you learn what your equity looks like today."},{question:"How often should I check my home's value?",answer:"Once a year is sensible for planning, more often if you are weighing a sale, a refinance, or a property tax protest. Austin submarkets move at different speeds, so last year's number can be genuinely out of date."}],metaTitle:"Austin Home Pricing: Beyond the Zestimate | Womack Real Estate",metaDescription:"Why online estimates miss in Austin, what a real valuation weighs, and when pricing under your target nets more. Free walkthrough valuations from local brokers."},{slug:"hill-country-acreage-and-land",title:"Acreage & Land",h1:"Buying Acreage and Land in the Texas Hill Country",intro:"West of Austin the lots turn to acres, and the buying process turns into something city purchases never prepare you for. Wells, septic systems, ag exemptions, easements, floodplains. Land is the purchase where an experienced local agent saves you from mistakes measured in six figures.",bodyHtml:`
452      <h2>The questions that decide a land deal</h2>
453      <ul>
454        <li><strong>Water.</strong> Is there a well, and what does it produce? Which aquifer? Rainwater collection? A beautiful tract without dependable water is a beautiful problem.</li>
455        <li><strong>Wastewater.</strong> Septic systems need soil that percolates and space that complies. We verify before you commit.</li>
456        <li><strong>Access and easements.</strong> Deeded access, road maintenance agreements, and who else has rights across the land. Surprises here are expensive and permanent.</li>
457        <li><strong>Restrictions.</strong> Even rural land carries deed restrictions, and light-touch county rules mean your neighbor's plans matter too.</li>
458        <li><strong>Floodplain and terrain.</strong> Hill Country creeks flash. FEMA maps and a walk after rain tell you what the listing photos will not.</li>
459      </ul>
460      <h2>Taxes: the ag exemption</h2>
461      <p>Agricultural and wildlife valuations can reduce the tax bill on qualifying acreage dramatically. They come with requirements and history rules, and losing an exemption in a purchase gone sideways can trigger rollback taxes. We confirm status with the county before contract, not after.</p>
462      <h2>Building later</h2>
463      <p>If the plan is to build, the land needs to support it: a buildable site, utility access or realistic off-grid costs, and county permitting. We help you price the full journey from raw land to finished homestead so the dream survives contact with the budget.</p>
464      <h2>Where to look</h2>
465      <p>
465Dripping Springs and Driftwood remain the classic close-in Hill Country markets, with Wimberley, Blanco, and stretches toward Johnson City offering more land per dollar as you drive west. Tell us your acreage, budget, and how you want to live on it, and we will shortlist tracts worth walking. <a href="/connect">Start the conversation</a>.</p>
466    `,faqs:[{question:"What should I check before buying Hill Country land?",answer:"Water first: well production or a plan you can trust. Then septic feasibility, deeded access, easements, deed restrictions, floodplain exposure, and the tax valuation status. Every one of these is verifiable before contract, and every one has wrecked a deal for someone who skipped it."},{question:"What is an ag exemption and why does it matter?",answer:"A special agricultural or wildlife tax valuation that can cut annual property taxes on qualifying acreage to a fraction of the standard bill. It requires qualifying use and history, and mishandling it during a purchase can trigger rollback taxes for prior years. We verify status with the county early."},{question:"Can I get utilities on rural land?",answer:"Depends on the tract. Some have electric and co-op water at the road; others need wells, septic, propane, and long service runs that add real cost. We price the full picture per property so raw land and ready land compare honestly."},{question:"How far from Austin can I buy land and still commute?",answer:"Dripping Springs and Driftwood keep you within a workable drive of the city. Wimberley, Blanco, and points west stretch the commute but multiply the acreage. Hybrid work has redrawn this map for a lot of buyers; we help you test-drive the actual route at the actual hour."}],metaTitle:"Hill Country Land & Acreage Buying Guide | Womack Real Estate",metaDescription:"Wells, septic, easements, ag exemptions, and floodplains: what to verify before buying Hill Country acreage near Dripping Springs, Driftwood, and Wimberley."},{slug:"lake-travis-waterfront-homes",title:"Lake Living",h1:"Waterfront and Lake-Area Homes on Lake Travis and Lake Austin",intro:"Lake life west of Austin runs from marina condos to deep-water estates. It is also a market with its own physics: water levels, boat dock permits, and the difference between waterfront and water access can swing value enormously. Here is what buyers should understand before falling for the view.",bodyHtml:`
467      <h2>Know your lake</h2>
468      <p>Lake Austin is constant-level, prized for calm water and proximity to town, and priced like the trophy it is. Lake Travis is bigger and wilder, and its level varies meaningfully with drought and floodgate cycles, which changes how coves and docks behave. The same money buys very different lives on each, and plenty of happy owners chose the one the other buyer overlooked.</p>
469      <h2>Waterfront vs. water access vs. water view</h2>
470      <ul>
471        <li><strong>Waterfront</strong> means your property meets the water, though on Travis the usable shoreline shifts with the level. Deep-water coves hold value best.</li>
472        <li><strong>Water access</strong> communities like much of Lakeway and Point Venture offer marinas, ramps, and parks without waterfront pricing.</li>
473        <li><strong>Water view</strong> delivers the scenery without the shoreline, often the best value of the three.</li>
474      </ul>
475      <h2>Docks, permits, and due diligence</h2>
476      <p>Docks on these lakes are regulated, and an existing dock is not automatically a legal one. We verify permits, check what the shoreline does in low-water years, and read the HOA and marina fine print before you are committed. On Travis especially, buying a cove property without understanding its low-water behavior is the classic regret.</p>
477      <h2>The communities</h2>
478      <p>Lakeway anchors the Travis corridor with golf, schools, and a full-service town. Spanish Oaks and Bee Cave sit just off the water with luxury inventory. Volente, Jonestown, and Lago Vista trade polish for value and bigger views. On Lake Austin, the city's westside estates line the constant-level water. <a href="/connect">Tell us how you want to use the lake</a> and we will point you at the right stretch of it, or browse the <a href="/idx">MLS search</a> to start.</p>
479    `,faqs:[{question:"What is the difference between Lake Austin and Lake Travis?",answer:"Lake Austin is constant-level, close to the city, calm, and expensive. Lake Travis is far larger with more inventory at more price points, but its water level varies by year, which affects docks, coves, and usable shoreline. Which is better depends entirely on how you plan to live on the water."},{question:"Does a waterfront home on Lake Travis always have usable water?",answer:"No. Travis levels swing with drought cycles, and some coves go shallow or dry in low-water years while deep-water stretches stay boatable. We research the specific shoreline's history before you offer, because the difference is priced into resale whether buyers realize it or not."},{question:"Are boat docks included and legal?",answer:"Docks require permits, and existing structures are not always compliant or transferable. We verify permit status during the option period along with the shoreline's low-water behavior, HOA rules, and any marina agreements."},{question:"Where is the best value in lake-area living?",answer:"Water-access communities: Lakeway, Point Venture, Lago Vista, Jonestown, and Volente give you marinas, ramps, and lake culture at a fraction of true waterfront pricing. Water-view homes are the sleeper value, especially on the Travis north shore."}],metaTitle:"Lake Travis & Lake Austin Waterfront Homes | Womack Real Estate",metaDescription:"Waterfront vs. water access, dock permits, and what Travis water levels do to value. A local guide to lake living in Lakeway, Volente, Lago Vista, and beyond."},{slug:"downtown-austin-condos-guide",title:"Downtown Condos",h1:"Downtown Austin Condos and Urban Living",intro:"The skyline keeps growing, and with it a full menu of vertical living: investor-friendly towers, owner-occupied buildings with resort amenities, quiet mid-rises east of the highway. Buying a condo is really buying a building, and the differences between buildings are bigger than the differences between floor plans.",bodyHtml:`
480      <h2>Buy the building first</h2>
481      <p>Two condos with identical square footage can be entirely different investments. What matters: the HOA's financial health and reserves, owner-occupancy ratios, rental and short-term-rental policies, upcoming special assessments, and how the building has aged. We read HOA documents for a living and flag the buildings whose dues are about to jump before you buy into them.</p>
482      <h2>The neighborhoods of downtown</h2>
483      <ul>
484        <li><strong>The core and Second Street</strong> put you on top of restaurants, the lake trail, and the office towers.</li>
485        <li><strong>Rainey Street</strong> is its own ecosystem: newer towers, nightlife below, lake access out the door.</li>
486        <li><strong>The Market District and Seaholm</strong> lean residential-polished, walkable to Whole Foods and the trail.</li>
487        <li><strong>East of I-35</strong>, mid-rises trade tower amenities for character, price, and some of the city's best food.</li>
488      </ul>
489      <h2>Costs beyond the mortgage</h2>
490      <p>HOA dues downtown are substantial and they buy real things: concierge, amenities, insurance on the structure, reserves. The analysis is dues versus what you would pay separately for the same life, plus the tax picture. We build the full monthly cost honestly so the comparison against a house is apples to apples.</p>
491      <h2>Who downtown fits</h2>
492      <p>Lock-and-leave professionals, second-home owners who want a landing pad, empty nesters done with yards, and investors who understand each building's rental rules. If that sounds like you, <a href="/idx">browse what's active</a> and then <a href="/connect">ask us about the buildings themselves</a>
492. That is where the real knowledge lives.</p>
493    `,faqs:[{question:"What should I check before buying a downtown Austin condo?",answer:"The building more than the unit: HOA financials and reserves, owner-occupancy ratio, rental and Airbnb policies, pending special assessments, insurance, and construction history. A gorgeous unit in a troubled building is a bad buy, and the documents tell you which is which."},{question:"Are HOA dues downtown worth it?",answer:"They can be, if you use what they fund: security, amenities, maintenance, structural insurance. The honest math compares dues against the equivalent costs of a house plus the value of your time. We run that comparison with real numbers, not vibes."},{question:"Can I rent out a downtown condo?",answer:"Building by building. Some towers welcome leases and even short-term rentals; others impose minimum lease terms, caps, or waiting lists. If rental flexibility matters to you, it is the first filter we apply, before floor plans or views."},{question:"Is a condo a good first home in Austin?",answer:"For the right buyer, yes: lower entry price than central houses, no yard, walkable life. Underwrite the dues in your monthly budget and check the building's health, and it can be both a great home and a solid hold."}],metaTitle:"Downtown Austin Condo Buying Guide | Womack Real Estate",metaDescription:"Rainey Street to Seaholm: how to buy a downtown Austin condo by evaluating the building first. HOA health, rental rules, and the real monthly math."},{slug:"austin-suburbs-family-guide",title:"Suburbs for Families",h1:"Choosing an Austin Suburb: A Family Field Guide",intro:"Families ask us one question more than any other: where should we live? The honest answer is that Austin's suburbs are all good at different things, and the right one depends on your commute, your budget, and what you want a Saturday to look like. Here is our plain-spoken field guide.",bodyHtml:`
494      <h2>North: Round Rock, Cedar Park, Leander</h2>
495      <p>The northern arc is the family heavyweight. Round Rock pairs mature neighborhoods with big employers and standout schools. Cedar Park is polished and central to the tech corridor, with quick access to the lake side of town. Leander is where the new construction runs deepest and budgets stretch furthest, growing fast enough that this year's field is next year's elementary school. If your work is north or you want maximum school-and-amenity coverage, start here.</p>
496      <h2>South: Buda and Kyle</h2>
497      <p>South of the river, Buda and Kyle deliver the strongest value in the metro: newer homes, genuine small-town centers, and a straight shot up I-35. Buda leans slightly more established, Kyle slightly more new-growth. Families priced out of the north arc increasingly land here happily, and downtown Austin is closer than people assume.</p>
498      <h2>West: Lakeway and Dripping Springs</h2>
499      <p>West is the scenery play. Lakeway wraps family life around Lake Travis with strong schools and a resort feel. Dripping Springs gives you Hill Country space, acclaimed schools, and a slower pace, priced accordingly and with a real commute. If evenings on a porch with a view are the goal, west wins.</p>
500      <h2>East: Manor and the growth corridor</h2>
501      <p>Manor is the value frontier: the newest, most affordable communities in the metro, riding the eastward expansion of employers and infrastructure. It asks patience while amenities catch up and rewards buyers who get in ahead of them.</p>
502      <h2>How to actually choose</h2>
503      <p>Drive your real commute at the real hour. Visit on a Saturday morning, not a Tuesday showing. Check the school assignment for the specific address, because district lines cut through neighborhoods. Then <a href="/connect">tell us what you felt</a>, and we will translate it into a search. Or start browsing by area in the <a href="/idx">MLS search</a>.</p>
504    `,faqs:[{question:"Which Austin suburb has the best schools?",answer:"Several districts around Austin have excellent reputations: Round Rock, Leander, Lake Travis, Dripping Springs, and Eanes among them. Ratings vary campus by campus, and assignments cut through neighborhoods, so we always verify the exact schools for a specific address rather than relying on the district name."},{question:"Where do families get the most house for the money?",answer:"Kyle, Buda, and Manor lead on value, with outer Leander close behind. All are new-construction heavy, which means modern homes and growing amenities, with the trade-off of longer commutes and newer trees."},{question:"Which suburbs are best for commuting into Austin?",answer:"Depends where in Austin. Round Rock and Cedar Park feed the northern tech corridor well. Buda and Kyle run straight up I-35 to downtown and South Austin. Lakeway is reasonable to the west side. We match the suburb to your actual destination, not just to the city name."},{question:"Should we rent first before choosing a suburb?",answer:"If you are new to the metro and unsure, renting for six months in a candidate area is a legitimate strategy and cheaper than buying wrong. Many of our relocation clients tour several suburbs with us first instead and buy confidently. Either path works; guessing does not."}],metaTitle:"Best Austin Suburbs for Families: A Field Guide | Womack Real Estate",metaDescription:"Round Rock vs. Cedar Park vs. Buda, Kyle, Lakeway, Dripping Springs, and Manor. A plain-spoken local guide to choosing the right Austin suburb for your family."},{slug:"austin-schools-and-neighborhoods",title:"Schools & Neighborhoods",h1:"How Schools Shape Austin Home Buying",intro:"Aroun
504d Austin, the school assignment attached to an address moves value as much as square footage does. Families pay for it, investors underwrite it, and even buyers without kids feel it at resale. Here is how to shop schools and homes together without relying on a single letter grade.",bodyHtml:`
505      <h2>Districts are not monoliths</h2>
506      <p>The metro is carved into districts with very different reputations: Eanes, Lake Travis, Dripping Springs, Round Rock, and Leander among the most sought-after, alongside strong campuses inside Austin ISD and fast-improving ones in Hays and Manor. But every district contains range. The right question is never "is this district good" but "which specific elementary, middle, and high school serves this address, and what are they like." Lines cut through subdivisions; we verify per address, every time.</p>
507      <h2>Reading beyond the rating</h2>
508      <ul>
509        <li><strong>Ratings lag.</strong> A campus trend line matters more than last year's letter. Growing areas often have new schools without history that turn out excellent.</li>
510        <li><strong>Programs matter.</strong> Language immersion, IB, career academies, and special education strength do not show up in a headline score.</li>
511        <li><strong>Visit.</strong> Ten minutes at pickup tells you things no website will.</li>
512      </ul>
513      <h2>The price of a boundary</h2>
514      <p>Identical floor plans on opposite sides of a school line can carry a meaningful price gap, and that gap tends to persist through market cycles, which is why school-anchored homes defend value well. We help you decide when paying the premium makes sense and when a neighboring assignment delivers most of the substance at a discount.</p>
515      <h2>Buying with the future in mind</h2>
516      <p>Boundaries get redrawn in growing districts, and new campuses open every year in Leander, Hays, and points east. We track bond programs and boundary proposals so a purchase made for a specific school does not get surprised a year later. Tell us the schools you care about and we will build the search around them. <a href="/connect">Start here</a>.</p>
517    `,faqs:[{question:"Which school districts around Austin are most sought after?",answer:"Eanes, Lake Travis, Dripping Springs, Round Rock, and Leander headline most family searches, with excellent individual campuses across Austin ISD and others. Reputation varies campus by campus, so we always verify the exact assignment for an address rather than trusting the district name."},{question:"How much does a school district affect home value?",answer:"Enough that identical homes across a boundary line can price meaningfully apart, and the gap tends to hold through market cycles. Strong assignments also help resale speed. It is one of the most durable pricing factors in the metro."},{question:"Can school boundaries change after I buy?",answer:"In fast-growing districts, yes: new campuses open and lines get redrawn. Districts publish bond programs and boundary proposals in advance, and we track them so you buy with current information and a sense of what is coming."},{question:"We don't have kids. Should we still care about schools?",answer:"For resale, yes. School-anchored neighborhoods hold a deep buyer pool in every market. You may not use the campus, but the family who buys your home next probably will, and they will pay for it."}],metaTitle:"Austin Schools & Home Values: A Buyer's Guide | Womack Real Estate",metaDescription:"How school assignments move Austin home values, why district names mislead, and how to verify the exact campus for any address before you offer."},{slug:"relocating-to-austin-for-tech",title:"Tech Relocation",h1:"Relocating to Austin for a Tech Job",intro:"The badge might say Apple, Tesla, Samsung, Oracle, Dell, or a startup nobody has heard of yet. Either way the questions are the same: where do tech people live, what is the commute really like, and how do you buy quickly and sanely on a relocation timeline. We move tech families in every month. Here is the playbook.",bodyHtml:`
518      <h2>Match the neighborhood to the campus</h2>
519      <p>Austin's tech geography is spread out, and the right neighborhood depen
519ds on which campus owns your mornings. The Domain and North Austin employers pair naturally with Cedar Park, Round Rock, and northwest Austin. Apple's campus points at Round Rock, Georgetown, and Leander. Tesla's Gigafactory east of the airport makes Manor, Mueller, and East Austin genuinely convenient. Downtown offices open up the central neighborhoods and the straight-shot suburbs on I-35 south. Remote-mostly changes everything and usually points west toward the lakes and hills.</p>
520      <h2>Relocation timelines</h2>
521      <p>Most corporate moves give you a compressed window. Our remote process is built for it: video tours with honest commentary, rush-hour drive checks, school verification, and option-period work handled while you finish out your notice period somewhere else. Many of our tech clients contract from out of state and see the house in person at the final walkthrough.</p>
522      <h2>Equity, offers, and lender reality</h2>
523      <ul>
524        <li><strong>RSU income counts,</strong> but lenders treat it differently: vesting history and continuation matter. We connect you with lenders who underwrite tech compensation intelligently.</li>
525        <li><strong>Compete like a local.</strong> Strong pre-approval, clean terms, and fast option periods win against slower relocation buyers.</li>
526        <li><strong>Corporate packages.</strong> If your employer offers relocation benefits, we coordinate with the program instead of fighting it.</li>
527      </ul>
528      <h2>Start before the plane lands</h2>
529      <p>The best relocations begin two months before the move date: neighborhoods shortlisted, lender ready, search alerts running. Browse the <a href="/idx">live MLS</a>, then <a href="/connect">tell us your start date</a> and we will build the timeline backward from it.</p>
530    `,faqs:[{question:"Where do tech workers live in Austin?",answer:"It tracks the campus. Domain and North Austin employees favor Cedar Park, Round Rock, and northwest Austin. Apple points at Round Rock, Georgetown, and Leander. Tesla makes Manor, Mueller, and East Austin convenient. Downtown offices open the central neighborhoods. Remote workers scatter toward the lakes and Hill Country."},{question:"Can I buy a house in Austin before I move?",answer:"Yes, and on tech relocation timelines most of our clients do. We run video tours, verify neighborhoods and commutes honestly, and handle inspections locally. You contract remotely and see the home at the walkthrough. It works."},{question:"Do lenders count RSUs as income?",answer:"Many do, with conditions: vesting history, continuation, and employer stability all matter, and lenders differ widely in how they treat it. We point tech buyers to lenders who underwrite equity compensation well, which can change your budget significantly."},{question:"How early should I start the home search for a relocation?",answer:"About sixty days before your move date is ideal: time to shortlist areas, get pre-approved, and tour remotely without panic. Faster is possible; we have closed relocations in under a month when the timeline demanded it."}],metaTitle:"Austin Tech Relocation: Where to Live by Campus | Womack Real Estate",metaDescription:"Moving to Austin for Apple, Tesla, the Domain, or downtown? Neighborhoods by campus, buying remotely on a relocation timeline, and lenders who understand RSUs."},{slug:"military-va-homebuyers-austin",title:"VA & Military Buyers",h1:"VA Loans and Military Homebuying Around Austin",intro:"Between Fort Cavazos up the road, Camp Mabry in town, and a large veteran community that never left, Central Texas runs deep with military families. The VA loan is the strongest buying tool most of them have, and it is routinely misunderstood by sellers and agents alike. We make sure it works for you at full strength.",bodyHtml:`
531      <h2>What the VA loan really gets you</h2>
532      <ul>
533        <li><strong>Zero down payment</strong> on the home, with competitive rates and no monthly mortgage insurance.</li>
534        <li><strong>Limited closing costs,</strong> with rules about what a veteran can and cannot be charged.</li>
535        <li><strong>Reusable benefit.</strong> It is not one-and-done; entitlement can be restored and even split across two homes in some cases.</li>
536      </ul>
537      <h2>Beating the myths</h2>
538      <p>Some listing agents still wince at VA offers out of folklore: that appraisals are brutal, that closings drag. In practice a well-prepared VA buyer with a competent lender closes on schedule like anyone else. Part of our job is packaging your offer so the listing side sees strength, and making a quick call to walk their agent past the myths when needed.</p>
539      <h2>Where military families settle</h2>
540      <p>
540Commuting toward Fort Cavazos points at Georgetown, Jarrell, and the north metro, where newer communities meet a manageable drive. Veterans working in Austin spread everywhere the rest of the city does, with Kyle, Buda, and Manor popular for value and Round Rock for schools. Texas also layers on its own benefits, including property tax exemptions for disabled veterans that can change the monthly math substantially.</p>
541      <h2>A brokerage that takes it seriously</h2>
542      <p>We treat VA buyers as the strong hands they are. Bring us your COE questions, your BAH math, your PCS timeline, and we will build the search and the offer around them. <a href="/connect">Get in touch</a> or start with the <a href="/idx">MLS search</a>.</p>
543    `,faqs:[{question:"Can I really buy with zero down using a VA loan?",answer:"Yes. The VA guarantee replaces the down payment for qualified veterans and service members, with no monthly mortgage insurance. You will still want funds for earnest money, inspections, and closing costs, though some of those are negotiable with the seller."},{question:"Do sellers avoid VA offers?",answer:"Some still carry outdated assumptions about appraisals and timelines. A prepared VA buyer with a strong lender closes as reliably as anyone, and we package and advocate your offer so the listing side sees that. In practice we get VA offers accepted routinely."},{question:"Are there Texas property tax breaks for veterans?",answer:"Yes. Texas offers property tax exemptions for disabled veterans, scaling with disability rating up to a full exemption at 100 percent. Surviving spouses may qualify as well. This can change your effective monthly cost more than a rate difference would."},{question:"Where should I live if I'm stationed at Fort Cavazos but want Austin access?",answer:"Georgetown and Jarrell split the difference well: newer, affordable communities with a workable drive north to post and reasonable access south into Austin. Round Rock adds bigger-city amenities at the cost of more commute to post."}],metaTitle:"VA Loans & Military Homebuying in Austin | Womack Real Estate",metaDescription:"Zero-down VA buying around Austin, the myths that cost veterans offers, Texas disabled-veteran tax exemptions, and where military families settle."},{slug:"downsizing-empty-nesters-austin",title:"Downsizing",h1:"Downsizing in Austin: Less House, More Life",intro:"The kids are gone and the house did its job. Now the yard is a chore, the stairs are a question, and the equity is just sitting there. Downsizing done well is one of the best financial and lifestyle moves available to longtime Austin homeowners. Done badly, it trades one set of problems for another. We help you do it well.",bodyHtml:`
544      <h2>What downsizing buys you</h2>
545      <p>Longtime owners around Austin are often sitting on substantial equity. Trading the big house for a smaller one can free cash for retirement, cut taxes and utilities and maintenance, and land you somewhere better suited to the next twenty years: single-story, low-maintenance, closer to the grandkids or the trail or the airport. The point is not less home. It is more life per square foot.</p>
546      <h2>Where Austin downsizers land</h2>
547      <ul>
548        <li><strong>Lock-and-leave condos and townhomes</strong> downtown or near it, for the ones trading the yard for walkability and travel.</li>
549        <li><strong>Single-story homes</strong> in established neighborhoods and newer garden-home communities in Round Rock, Georgetown, and Kyle.</li>
550        <li><strong>Active-adult communities,</strong> with Georgetown's large 55-plus developments the regional standard-bearers.</li>
551        <li><strong>The Hill Country porch,</strong> for those whose next chapter looks like quiet and a view.</li>
552      </ul>
553      <h2>Sequencing the move</h2>
554      <p>The hard part is rarely the destination; it is the order of operations. Sell first and you risk two moves. Buy first and you carry two homes. The right sequence depends on your equity, your market, and your tolerance for hassle, and there are tools, from leasebacks to bridge strategies, that smooth the gap. We plan this with you before anything lists.</p>
555      <h2>Also: the tax angle</h2>
556      <p>If you are over 65 in Texas, you carry property tax ceilings and exemptions that interact with a move in ways worth understanding before you sell. We will walk through how your exemptions transfer so the after-move numbers hold no surprises. <a href="/home-valuation">Start with what your current home is worth</a>, then <a href="/connect">let's talk through the sequence</a>.</p>
557    `,faqs:[{question:"Should I sell my house before buying the smaller one?",answer:"It depends on your equity and risk tolerance. Selling first maximizes negotiating power but may mean an interim move; buying first is smoother but means carrying two homes briefly. Leasebacks and bridge options soften both paths. We map the sequence to your finances before you commit either way."},{question:"Where do Austin empty nesters move?",answer:"Four main directions: lock-and-leave condos near downtown, single-story garden homes in Round Rock, Georgetown, and Kyle, the big 55-plus communities in Georgetown, and quieter Hill Country settings for the porch-and-view crowd. Each fits a different next chapter."},{question:"What happens to my over-65 property tax exemption when I move?",answer:"Texas lets qualifying homeowners transfer the benefit of their school-tax ceiling proportionally to a new homestead. The mechanics matter and are worth understanding before you sell. We walk through the numbers with you as part of planning the move."},{question:"Is a 55-plus community right for us?",answer:"For some, absolutely: amenities, built-in social life, and neighbors at the same stage. Others prefer age-diverse neighborhoods closer to family. We will tour you through both kinds so the decision comes from experience rather than a brochure."}],metaTitle:"Downsizing in Austin: A Guide for Empty Nesters | Womack Real Estate",metaDescription:"Turning a big Austin house into the right next home: where downsizers land, how to sequence the sale and purchase, and what happens to your over-65 tax ceiling."},{slug:"austin-multigenerational-homes",title:"Multigenerational Living",h1:"Multigenerational Homes Around Austin",intro:"Parents moving in. Adult kids boomeranging. A household that runs on three generations under one roof, by choice or by circumstance. Multigenerational buying is one of the fastest-growing requests we see, and Austin's housing stock handles it better than most cities, if you know 
557what to look for.",bodyHtml:`
558      <h2>What to look for in the house</h2>
559      <ul>
560        <li><strong>True separation:</strong> a bedroom and full bath on the main floor at minimum; ideally a second suite with its own entrance, kitchenette, or living space.</li>
561        <li><strong>Casitas and next-gen plans.</strong> Several builders around Austin offer floor plans designed exactly for this, with attached private suites. Newer communities in Leander, Kyle, and Manor carry them regularly.</li>
562        <li><strong>ADU potential.</strong> Austin's rules for accessory dwelling units have loosened, making garage apartments and backyard cottages a real option on many central lots. Suburban rules vary; we check per address.</li>
563        <li><strong>Accessibility bones:</strong> wide halls, few steps, a shower that can take a grab bar. Cheap to verify now, expensive to retrofit later.</li>
564      </ul>
565      <h2>The money side</h2>
566      <p>Multigenerational purchases often pool resources, and there are good ways and messy ways to structure that. Co-borrowing, gift funds, and title decisions all deserve a conversation with a lender and, for some families, an attorney before contract. We have guided enough of these to know where the friction hides, and we will point you to people who structure it cleanly.</p>
567      <h2>Where it works best</h2>
568      <p>New-construction corridors give you purpose-built plans: Leander, Liberty Hill, Kyle, and Manor lead. Established neighborhoods in Round Rock and South Austin offer big single-stories and lots that take an ADU. The right answer depends on whether the second household needs full independence or just a comfortable wing. <a href="/connect">Describe your household to us</a> and we will shortlist homes that actually fit it, or browse the <a href="/idx">MLS search</a> to see what is out there.</p>
569    `,faqs:[{question:"What is a next-gen or casita floor plan?",answer:"A home designed with a semi-independent suite attached: private entrance, bedroom, bath, and often a kitchenette and small living area. Several builders in the Austin area offer them, mostly in newer communities north, south, and east of the city. They are the cleanest off-the-shelf answer for multigenerational households."},{question:"Can we add a garage apartment or backyard cottage in Austin?",answer:"Often, yes. Austin has loosened its accessory dwelling unit rules, and many central lots qualify. Suburbs each have their own rules, and HOAs add another layer. We verify feasibility for a specific property before you buy it with that plan in mind."},{question:"How do families structure buying a home together?",answer:"Common approaches include co-borrowing on one loan, one household buying with gift support from the other, and deliberate title choices that reflect the agreement. The structure has loan, tax, and estate implications, so we bring in a lender early and recommend an attorney for anything complex."},{question:"Which areas have the most multigenerational-friendly homes?",answer:"New-build corridors carry the purpose-built plans: Leander, Liberty Hill, Kyle, and Manor especially. For ADU potential and big single-stories, look at established Round Rock and South Austin neighborhoods. We match the area to how much independence the second household needs."}],metaTitle:"Multigenerational Homes in Austin | Womack Real Estate",metaDescription:"Casita floor plans, next-gen suites, and ADU-ready lots around Austin. How families buy homes for three generations, and where those homes actually are."},{slug:"austin-short-term-rental-guide",title:"Short-Term Rentals",h1:"Short-Term Rentals in the Austin Area: What Owners Need to Know",intro:"Austin's event calendar keeps visitor demand strong, and plenty of homeowners look at their guest room or next purchase and see income. Fair enough. But short-term rental rules here vary sharply by city and change with council votes, so the difference between a legal earner and an expensive mistake is due diligence done before you buy.",bodyHtml:`
570      <h2>Rules first, always</h2>
571      <p>Inside Austin city limits, short-term rentals require a license, and the rules distinguish owner-occupied from non-owner-occupied properties, with the latter facing tighter limits. Outside the city, each suburb writes its own ordinance: some permissive, some restrictive, and HOAs frequently prohibit STRs outright regardless of what the city allows. The regulatory picture also shifts, so we verify current rules for the specific address during the option period, never assume from a headline.</p>
572      <h2>Where the model can work</h2>
573      <ul>
574        <li><strong>Event-driven central locations</strong> near downtown, the university, and the festival footprint, where nightly demand runs deepest.</li>
575        <li><strong>Lake properties,</strong> where summer weeks on Travis carry resort pricing.</li>
576        <li><strong>Hill Country getaways</strong> around Dripping Springs and Wimberley, riding the wedding-and-weekend economy.</li>
577      </ul>
578      <h2>Underwrite it like a business</h2>
579      <p>Occupancy is seasonal and event-spiky. Cleaning, management, supplies, hotel occupancy taxes, insurance, and platform fees all eat gross revenue, and lenders treat STR income conservatively. We model conservative, realistic, and optimistic cases from comparable rental data for that specific location, and if it only pencils in the optimistic case, we tell you plainly.</p>
580      <h2>A hedge worth having</h2>
581      <p>The strongest STR purchases also work as something else: a medium-term rental for traveling professionals, a long-term lease, or a home you would happily use yourself. Rules change; a property with a fallback plan survives them. <a href="/connect">Tell us what you're weighing</a> and we will bring the local data.</p>
582    `,faqs:[{question:"Are short-term rentals legal in Austin?",answer:"With a license, yes, and the rules differ for owner-occupied versus non-owner-occupied properties. Suburbs each have their own ordinances, and HOA restrictions can prohibit rentals regardless of city rules. Regulations continue to evolve, so we verify current requirements for any specific property before you commit."},{question:"Which areas near Austin are best for a vacation rental?",answer:"Central Austin for event and business demand, the Lake Travis corridor for summer resort weeks, and the Hill Country around Dripping Springs and Wimberley for the weekend and wedding economy. Each has different seasonality and rules; the underwriting looks different in all three."},{question:"Can I count projected Airbnb income toward my mortgage?",answer:"Generally not for a purchase;
582 most lenders qualify you on your regular income and, for investment loans, sometimes on long-term market rent. Established STR history can help on a refinance. Plan your financing assuming conservative treatment of the rental income."},{question:"What if the rules change after I buy?",answer:"It happens, which is why we favor properties with a fallback: strong long-term or medium-term rental demand, or a location you would use personally. A property that only works as an STR under today's exact rules carries real regulatory risk."}],metaTitle:"Austin Short-Term Rental Rules & Strategy | Womack Real Estate",metaDescription:"STR licensing in Austin, suburb-by-suburb differences, where vacation rentals actually pencil, and why the best purchases work as something else too."},{slug:"austin-golf-course-communities",title:"Golf Communities",h1:"Golf Course Communities Around Austin",intro:"Central Texas golf is a year-round sport, and the communities built around it range from country-club formal to come-as-you-are. Living on a course is a particular lifestyle with particular fine print: memberships, HOA layers, and the surprisingly important question of which fairway your backyard faces.",bodyHtml:`
583      <h2>The standouts</h2>
584      <p>Barton Creek sets the tone at the top: multiple Fazio courses and estate homes in the hills minutes from downtown. Spanish Oaks pairs a celebrated course with a gated luxury community in Bee Cave. Lakeway and The Hills wrap golf into full resort living near Lake Travis. Round Rock and Georgetown offer strong club communities at friendlier price points, including large 55-plus developments where golf anchors daily life. Further out, Hill Country courses in Wimberley and beyond deliver scenery city clubs cannot.</p>
585      <h2>Membership fine print</h2>
586      <ul>
587        <li><strong>Buying the house rarely buys the club.</strong> Most communities separate property ownership from membership, with initiation fees and monthly dues on top of the HOA. We get the current fee schedule in writing during the option period.</li>
588        <li><strong>Some memberships transfer with the home,</strong> some have waiting lists, and some clubs are private with sponsorship requirements. Know before you fall for the house.</li>
589        <li><strong>Non-golfers pay too:</strong> in some communities a social membership is mandatory. Factor it into the monthly.</li>
590      </ul>
591      <h2>Living on the course</h2>
592      <p>Fairway lots carry premiums that vary by hole. Homes along a tee box hear morning groups early; homes inside a dogleg collect golf balls in the pool. Course-facing west means sunset views and summer heat on the glass. These are real pricing factors, and walking the lot at the right hour tells you more than any listing remark. We do that walk with you.</p>
593      <h2>Finding your fit</h2>
594      <p>Tell us how you actually play: daily rounds, weekend social golf, or you just like living on green space someone else mows. Each answer points at different communities. <a href="/connect">Start the conversation</a> or browse current inventory in the <a href="/idx">MLS search</a>.</p>
595    `,faqs:[{question:"Which are the best golf communities near Austin?",answer:"Barton Creek and Spanish Oaks lead the luxury tier; Lakeway and The Hills anchor the Lake Travis resort lifestyle; Round Rock and Georgetown offer strong club living at friendlier prices, including golf-centered 55-plus communities. The right one depends on budget and how often you actually play."},{question:"Does buying a home in a golf community include club membership?",answer:"Usually not. Membership is typically separate, with its own initiation fees, dues, and sometimes waiting lists or sponsorship requirements. Some communities also require a minimum social membership from all homeowners. We confirm the current structure in writing before you commit."},{question:"Are golf course lots worth the premium?",answer:"Often, for the view and the buffer of protected green space, but the specific hole matters. Tee-box noise, errant-ball zones, and west-facing heat all price differently at resale. We evaluate the exact lot, not just the community."},{question:"Can non-golfers enjoy golf community living?",answer:"Plenty of residents never swing a club. The draw is green space, amenities, and well-kept neighborhoods. Just understand any mandatory s
595ocial dues, and pick a lot where the game stays scenery rather than a hazard."}],metaTitle:"Golf Course Communities Near Austin | Womack Real Estate",metaDescription:"Barton Creek to Georgetown: Austin's golf communities compared, what membership really costs, and how to pick a fairway lot you won't regret."},{slug:"buying-before-selling-austin",title:"Buy Before You Sell",h1:"Buying Your Next Austin Home Before Selling Your Current One",intro:"The move-up dilemma: the right house appears while your equity is still locked in the one you live in. Selling first means moving twice or scrambling. Buying first means carrying two mortgages, if you can qualify at all. There are more ways through this than most owners realize, and picking the right one is mostly math.",bodyHtml:`
596      <h2>The main paths</h2>
597      <ul>
598        <li><strong>Buy with a leaseback.</strong> Sell your home but negotiate to stay as a tenant for weeks after closing, funding and freeing you to close the purchase without a gap. In balanced markets this is often the cleanest play.</li>
599        <li><strong>Contingent purchase.</strong> Offer on the new home contingent on selling yours. It weakens the offer somewhat, but with the right pricing and a strong listing plan, sellers accept it more often than folklore suggests.</li>
600        <li><strong>Bridge and equity products.</strong> HELOCs opened before you list, bridge loans, and newer buy-before-you-sell programs unlock your equity for the down payment while you carry both briefly. Cost varies; sometimes it is cheap insurance, sometimes expensive convenience.</li>
601        <li><strong>Recast after closing.</strong> Buy with a smaller down payment, then apply your sale proceeds to the new loan and recast it for a lower payment, without refinancing.</li>
602      </ul>
603      <h2>What decides the right path</h2>
604      <p>Your equity position, how sellable your current home is this season, your qualification headroom, and your tolerance for a double move. A house that will sell in a weekend supports aggressive plays; one that needs a price-discovery period argues for selling first. We assess both homes and lay the options side by side with real numbers.</p>
605      <h2>Sequencing is a craft</h2>
606      <p>We coordinate the two transactions daily in this market: aligning option periods, matching close dates, negotiating leasebacks, and keeping both sides informed enough to stay calm. The stressful version of this process is usually just the unplanned version. <a href="/home-valuation">Start with your current home's value</a>, then <a href="/connect">let's map your sequence</a>.</p>
607    `,faqs:[{question:"Can I buy a new house before selling mine?",answer:"Often, yes. The paths include bridge or equity financing, contingent offers, and buy-before-you-sell programs, each with different costs and qualification demands. Whether you should depends on your equity, your debt-to-income headroom, and how quickly your current home will realistically sell."},{question:"What is a leaseback and why would I want one?",answer:"You sell your home but rent it back from the buyer for a negotiated period after closing. It converts your equity to cash while giving you time to close and move into the next home, eliminating the double move. In our market it is a common and very workable arrangement."},{question:"Will sellers accept an offer contingent on my home selling?",answer:"More often than people think, especially if your home is priced right, well-presented, and ideally already listed or under contract. The contingency is a negotiating factor, not a disqualifier, and we structure it to look as safe as possible to the seller."},{question:"What is a mortgage recast?",answer:"After closing, you make a large principal payment, often from your old home's sale proceeds, and the lender re-amortizes the loan for a lower monthly payment at the same rate. It lets you buy first with less down, then right-size the payment once your equity arrives."}],metaTitle:"Buy Before You Sell in Austin: Bridge Options | Womack Real Estate",metaDescription:"Leasebacks, contingent offers, bridge loans, and recasts: the real options for buying your next Austin home before your current one sells."},{slug:"austin-home-inspections-guide",title:"Inspections",h1:"Home Inspections in Central Texas: What Matters and What Doesn't",intro:"Every inspection report looks alarming: forty pages, red flags, photos of things you have never thought about. Most of it is rout
607ine. Some of it is negotiating leverage. A little of it genuinely matters. After more than a thousand closings we know which is which, and this is the local version of that knowledge.",bodyHtml:`
608      <h2>The Central Texas usual suspects</h2>
609      <ul>
610        <li><strong>Foundations.</strong> Our clay soils move with wet and dry cycles, so slab movement notes are common. Hairline cracks and minor elevation variance are often routine; doors that won't close and stair-step brick cracks earn a structural engineer's opinion. The difference is thousands versus tens of thousands, and we do not guess.</li>
611        <li><strong>Roofs and hail.</strong> Central Texas hail seasons leave their mark. Roof age and condition drive insurance pricing now more than ever, and a roof note can become an insurance problem before it is a leak problem.</li>
612        <li><strong>HVAC.</strong> Systems here work brutal summers. Age, maintenance history, and duct condition matter; a tired system in July is not a hypothetical.</li>
613        <li><strong>Water heaters, drainage, and grading.</strong> Water moved away from the slab is cheap prevention; water toward it becomes the foundation line item above.</li>
614      </ul>
615      <h2>How the option period works for you</h2>
616      <p>Texas contracts give buyers a negotiated option window: a few days, a small fee, and the unrestricted right to walk. We schedule the general inspection immediately, add specialists only where findings justify them, and then negotiate from evidence: repairs, credits, or price. Sellers respond to documented, priced requests far better than to nervous lists of everything the report mentioned.</p>
617      <h2>For sellers: inspect before you list</h2>
618      <p>A pre-listing inspection costs a few hundred dollars and removes the ambush from your own transaction. Fix the cheap items, price the known ones, and negotiate once instead of twice. We advise it for most listings, especially homes over fifteen years old.</p>
619      <h2>Judgment is the service</h2>
620      <p>Anyone can forward a report. Knowing that this foundation note is Tuesday-normal and that one is a walk-away, that is what you are hiring. <a href="/connect">Ask us anything</a>, including about a report you already have in hand.</p>
621    `,faqs:[{question:"Are foundation issues in Austin a deal-breaker?",answer:"Usually not, but they demand triage. Clay-soil movement makes minor slab notes common here, and many are routine. Significant differential movement, doors that will not latch, and stair-step cracking call for a structural engineer before you decide. We arrange that quickly inside the option period and negotiate from the findings."},{question:"What does a home inspection cost in the Austin area?",answer:"A general inspection typically runs a few hundred dollars, varying with home size, with add-ons like pool, septic, well, or sewer-scope inspections priced separately. Against the size of the purchase it is the cheapest risk management available."},{question:"Can I back out after a bad inspection in Texas?",answer:"During the option period, yes, for any reason, forfeiting only the small option fee. That window is exactly why we schedule the inspection on day one and keep a specialist bench ready, so decisions happen with time to spare."},{question:"Should sellers get an inspection before listing?",answer:"We usually recommend it, particularly for older homes. Knowing your home's condition first lets you fix cheap items, disclose confidently, and avoid mid-contract surprises that cost more than the inspection did. It also signals transparency that buyers reward."}],metaTitle:"Central Texas Home Inspections: A Local Guide | Womack Real Estate",metaDescription:"Foundations, hail-aged roofs, and hard-working HVAC: what inspections find in Central Texas, what it costs, and how the option period protects buyers."}],cV=e=>e?rE.find(t=>t.slug===e):void 0,yb="https://womackrealestate.com",uV=()=>{const{slug:e}=bd(),t=cV(e);if(!t)return a.jsx(Uy,{});const n=`${yb}/aeo/${t.slug}`,r=rE.filter(o=>o.slug!==t.slug).slice(0,4),s=t.faqs.length>0?{"@context":"https://schema.org","@type":"FAQPage",mainEntityOfPage:{"@type":"WebPage","@id":n},mainEntity:t.faqs.map(o=>
621({"@type":"Question",name:o.question,acceptedAnswer:{"@type":"Answer",text:o.answer}}))}:null,i={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:`${yb}/`},{"@type":"ListItem",position:2,name:t.title,item:n}]};return a.jsxs(ge,{children:[a.jsxs(Ae,{children:[a.jsx("title",{children:t.metaTitle}),a.jsx("meta",{name:"description",content:t.metaDescription}),a.jsx("link",{rel:"canonical",href:n}),a.jsx("meta",{property:"og:title",content:t.metaTitle}),a.jsx("meta",{property:"og:description",content:t.metaDescription}),a.jsx("meta",{property:"og:url",content:n}),a.jsx("meta",{property:"og:type",content:"article"}),s&&a.jsx("script",{type:"application/ld+json",children:JSON.stringify(s)}),a.jsx("script",{type:"application/ld+json",children:JSON.stringify(i)})]}),a.jsx("section",{className:"pt-32 md:pt-40 pb-12 md:pb-16 bg-background border-b border-foreground/10",children:a.jsxs("div",{className:"container-luxury",children:[a.jsx("p",{className:"text-caption text-foreground/60 mb-6",children:lV.name}),a.jsx("h1",{className:"heading-display max-w-4xl",children:t.h1}),a.jsx("p",{className:"text-body text-charcoal max-w-2xl mt-8",children:t.intro})]})}),a.jsx("section",{className:"section-padding bg-background",children:a.jsx("div",{className:"container-luxury",children:a.jsx("div",{className:"max-w-3xl",children:a.jsx("div",{className:"[&_h2]:text-2xl md:[&_h2]:text-3xl [&_h2]:font-medium [&_h2]:tracking-tight [&_h2]:text-foreground [&_h2]:mt-12 [&_h2]:mb-4 [&_h2:first-child]:mt-0 [&_p]:text-body [&_p]:text-charcoal [&_p]:mb-5 [&_ul]:list-disc [&_ul]:pl-6 [&_ul]:mb-5 [&_ul]:space-y-2 [&_li]:text-charcoal [&_strong]:text-foreground [&_a]:text-foreground [&_a]:underline",dangerouslySetInnerHTML:{__html:t.bodyHtml}})})})}),t.faqs.length>0&&a.jsx("section",{className:"section-padding bg-secondary/40 border-t border-foreground
621/10",children:a.jsx("div",{className:"container-luxury",children:a.jsxs("div",{className:"max-w-3xl",children:[a.jsx(E,{children:a.jsx("h2",{className:"heading-section mb-10",children:"Questions we hear a lot"})}),a.jsx(aV,{type:"single",collapsible:!0,className:"w-full",children:t.faqs.map((o,l)=>a.jsxs(eE,{value:`faq-${l}`,children:[a.jsx(tE,{className:"text-left text-lg",children:o.question}),a.jsx(nE,{className:"text-charcoal text-base leading-relaxed",children:o.answer})]},l))})]})})}),r.length>0&&a.jsx("section",{className:"section-padding bg-background",children:a.jsxs("div",{className:"container-luxury",children:[a.jsx(E,{children:a.jsx("h2",{className:"heading-section mb-10",children:"More Austin guides"})}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 max-w-5xl",children:r.map((o,l)=>a.jsx(E,{delay:l*.05,children:a.jsxs(G,{to:`/aeo/${o.slug}`,className:"block border border-foreground/15 p-6 hover:bg-secondary/40 transition-colors h-full",children:[a.jsx("h3",{className:"text-base font-medium text-foreground mb-2",children:o.title}),a.jsx("p",{className:"text-xs text-charcoal line-clamp-2",children:o.metaDescription})]})},o.slug))})]})}),a.jsx("section",{className:"py-24 md:py-32 bg-foreground text-background",children:a.jsxs("div",{className:"container-luxury max-w-3xl",children:[a.jsx(E,{children:a.jsx("h2",{className:"heading-section mb-8",children:"Talk it through with a local."})}),a.jsx(E,{delay:.1,children:a.jsx("p",{className:"text-body text-background/85 mb-10 max-w-xl",children:"No pressure and no scripts. Tell us what you're weighing and we'll give you a straight read on it."})}),a.jsx(E,{delay:.2,children:a.jsx(G,{to:"/connect",className:"btn-luxury-inverse",children:"Contact Womack"})})]})})]})},dV=new w5,hV=()=>a.jsx(Mj,{children:a.jsx(j5,{client:dV,children:a.jsxs(n5,{children:[a.jsx($R,{}),a.jsx(gI,{}),a.jsxs(P4,{children:[a.jsx(cD,{}),a.jsxs(j4,{children:[a.jsx(se,{path:"/",element:a.jsx(iW,{})}),a.jsx(se,{path:"/properties",element:a.jsx(kW,{})}),a.jsx(se,{path:"/properties/:id",element:a.jsx(jW,{})}),a.jsx(se,{path:"/buying",element:a.jsx(FU,{})}),a.jsx(se,{path:"/selling",element:a.jsx(o7,{})}),a.jsx(se,{path:"/financing",element:a.jsx(A7,{})}),a.jsx(se,{path:"/services",element:a.jsx(Er,{to:"/preferred-vendors",replace:!0})}),a.jsx(se,{path:"/preferred-vendors",element:a.jsx(hb,{})}),a.jsx(se,{path:"/preferred-partners",element:a.jsx(hb,{})}),a.jsx(se,{path:"/connect",element:a.jsx(M7,{})}),a.jsx(se,{path:"/who-we-are",element:a.jsx(L7,{})}),a.jsx(se,{path:"/our-team",element:a.jsx(B7,{})}),a.jsx(se,{path:"/neighborhoods/:slug",element:a.jsx(U7,{})}),a.jsx(se,{path:"/about",element:a.jsx(TW,{})}),a.jsx(se,{path:"/contact",element:a.jsx(_W,{})}),a.jsx(se,{path:"/testimonials",element:a.jsx(CW,{})}),a.jsx(se,{path:"/home-valuation",element:a.jsx(FW,{})}),a.jsx(se,{path:"/get-your-home-value",element:a.jsx(Er,{to:"/home-valuation",replace:!0})}),a.jsx(se,{path:"/idx",element:a.jsx(kr,{})}),a.jsx(se,{path:"/idx/*",element:a.jsx(kr,{})}),a.jsx(se,{path:"/client/*",element:a.jsx(kr,{})}),a.jsx(se,{path:"/r/*",element:a.jsx(kr,{})}),a.jsx(se,{path:"/search",element:a.jsx(kr,{})}),a.jsx(se,{path:"/search/*",element:a.jsx(kr,{})}),a.jsx(se,{path:"/preview-property/*",element:a.jsx(kr,{})}),a.jsx(se,{path:"/magic-redirect",element:a.jsx(kr,{})}),a.jsx(se,{path:"/auth",element:a.jsx(zW,{})}),a.jsx(se,{path:"/blog",element:a.jsx(GW,{})}),a.jsx(se,{path:"/blog/:slug",element:a.jsx(YW,{})}),a.jsx(se,{path:"/admin/blog",element:a.jsx(jU,{})}),a.jsx(se,{path:"/admin/profile",element:a.jsx(TU,{})}),a.jsx(se,{path:"/privacy-policy",element:a.jsx(CU,{})}),a.jsx(se,{path:"/terms-and-conditions",element:a.jsx(_U,{})}),a.jsx(se,{path:"/aeo/:slug",element:a.jsx(uV,{})}),a.jsx(se,{path:"/index",element:a.jsx(Er,{to:"/",replace:!0})}),a.jsx(se,{path:"/news",element:a.jsx(Er,{to:"/blog",replace:!0})}),a.jsx(se,{path:"/realestateagent/search",element:a.jsx(Er,{to:"/idx",replace:!0})}),a.jsx(se,{path:"/agents/:slug",element:a.jsx(Er,{to:"/our-team",replace:!0})}),a.jsx(se,{path:"*",element:a.jsx(Uy,{})})]})]})]})})});Wk(document.getElementById("root")).render(a.jsx(hV,{}));

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.