PageSourceSearch

https://fraser-1931-145a-av.lovable.app/assets/index-DL0fV_u4.js

js fraser-1931-145a-av.lovable.app collected 2026-10-03 03:31:43 UTC 506,555 bytes, 326 lines download raw bytes

vendor: 8,210 bytes, lines 1-9
1var Sh=e=>{throw TypeError(e)};var Hl=(e,t,n)=>t.has(e)||Sh("Cannot "+n);var R=(e,t,n)=>(Hl(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?Sh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Y=(e,t,n,r)=>(Hl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ie=(e,t,n)=>(Hl(e,t,"access private method"),n);var Cs=(e,t,n,r)=>({set _(o){Y(e,t,o,n)},get _(){return R(e,t,r)}});function ub(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Wg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Kg={exports:{}},il={},Gg={exports:{}},X={};/**
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 as=Symbol.for("react.element"),cb=Symbol.for("react.portal"),db=Symbol.for("react.fragment"),fb=Symbol.for("react.strict_mode"),hb=Symbol.for("react.profiler"),pb=Symbol.for("react.provider"),mb=Symbol.for("react.context"),gb=Symbol.for("react.forward_ref"),yb=Symbol.for("react.suspense"),vb=Symbol.for("react.memo"),xb=Symbol.for("react.lazy"),Ch=Symbol.iterator;function wb(e){return e===null||typeof e!="object"?null:(e=Ch&&e[Ch]||e["@@iterator"],typeof e=="function"?e:null)}var Yg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Qg=Object.assign,qg={};function Uo(e,t,n){this.props=e,this.context=t,this.refs=qg,this.updater=n||Yg}Uo.prototype.isReactComponent={};Uo.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")};Uo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Xg(){}Xg.prototype=Uo.prototype;function kd(e,t,n){this.props=e,this.context=t,this.refs=qg,this.updater=n||Yg}var Td=kd.prototype=new Xg;Td.constructor=kd;Qg(Td,Uo.prototype);Td.isPureReactComponent=!0;var Eh=Array.isArray,Zg=Object.prototype.hasOwnProperty,Pd={current:null},Jg={key:!0,ref:!0,__self:!0,__source:!0};function ey(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Zg.call(t,r)&&!Jg.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:as,type:e,key:i,ref:s,props:o,_owner:Pd.current}}function bb(e,t){return{$$typeof:as,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Rd(e){return typeof e=="object"&&e!==null&&e.$$typeof===as}function Sb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var kh=/\/+/g;function Wl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Sb(""+e.key):t.toString(36)}function Xs(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case as:case cb:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Wl(s,0):r,Eh(o)?(n="",e!=null&&(n=e.replace(kh,"$&/")+"/"),Xs(o,t,n,"",function(u){return u})):o!=null&&(Rd(o)&&(o=bb(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(kh,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",Eh(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+Wl(i,a);s+=Xs(i,t,n,l,o)}else if(l=wb(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+Wl(i,a++),s+=Xs(i,t,n,l,o);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 s}function Es(e,t,n){if(e==null)return e;var r=[],o=0;return Xs(e,r,"","",function(i){return t.call(n,i,o++)}),r}function Cb(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 Qe={current:null},Zs={transition:null},Eb={ReactCurrentDispatcher:Qe,ReactCurrentBatchConfig:Zs,ReactCurrentOwner:Pd};function ty(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:Es,forEach:function(e,t,n){Es(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Es(e,function(){t++}),t},toArray:function(e){return Es(e,function(t){return t})||[]},only:function(e){if(!Rd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=Uo;X.Fragment=db;X.Profiler=hb;X.PureComponent=kd;X.StrictMode=fb;X.Suspense=yb;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Eb;X.act=ty;X.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=Qg({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Pd.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Zg.call(t,l)&&!Jg.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:as,type:e.type,key:o,ref:i,props:r,_owner:s}};X.createContext=function(e){return e={$$typeof:mb,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:pb,_context:e},e.Consumer=e};X.createElement=ey;X.createFactory=function(e){var t=ey.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:gb,render:e}};X.isValidElement=Rd;X.lazy=function(e){return{$$typeof:xb,_payload:{_status:-1,_result:e},_init:Cb}};X.memo=function(e,t){return{$$typeof:vb,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=Zs.transition;Zs.transition={};try{e()}finally{Zs.transition=t}};X.unstable_act=ty;X.useCallback=function(e,t){return Qe.current.useCallback(e,t)};X.useContext=function(e){return Qe.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return Qe.current.useDeferredValue(e)};X.useEffect=function(e,t){return Qe.current.useEffect(e,t)};X.useId=function(){return Qe.current.useId()};X.useImperativeHandle=function(e,t,n){return Qe.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return Qe.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return Qe.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return Qe.current.useMemo(e,t)};X.useReducer=function(e,t,n){return Qe.current.useReducer(e,t,n)};X.useRef=function(e){return Qe.current.useRef(e)};
vendor: 4,888 bytes, lines 9-25
9X.useState=function(e){return Qe.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return Qe.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return Qe.current.useTransition()};X.version="18.3.1";Gg.exports=X;var b=Gg.exports;const D=Wg(b),ny=ub({__proto__:null,default:D},[b]);/**
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 kb=b,Tb=Symbol.for("react.element"),Pb=Symbol.for("react.fragment"),Rb=Object.prototype.hasOwnProperty,Nb=kb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Mb={key:!0,ref:!0,__self:!0,__source:!0};function ry(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Rb.call(t,r)&&!Mb.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:Tb,type:e,key:i,ref:s,props:o,_owner:Nb.current}}il.Fragment=Pb;il.jsx=ry;il.jsxs=ry;Kg.exports=il;var p=Kg.exports,oy={exports:{}},ct={},iy={exports:{}},sy={};/**
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(P,N){var I=P.length;P.push(N);e:for(;0<I;){var W=I-1>>>1,$=P[W];if(0<o($,N))P[W]=N,P[I]=$,I=W;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var N=P[0],I=P.pop();if(I!==N){P[0]=I;e:for(var W=0,$=P.length,q=$>>>1;W<q;){var Z=2*(W+1)-1,be=P[Z],Oe=Z+1,ne=P[Oe];if(0>o(be,I))Oe<$&&0>o(ne,be)?(P[W]=ne,P[Oe]=I,W=Oe):(P[W]=be,P[Z]=I,W=Z);else if(Oe<$&&0>o(ne,I))P[W]=ne,P[Oe]=I,W=Oe;else break e}}return N}function o(P,N){var I=P.sortIndex-N.sortIndex;return I!==0?I:P.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,h=!1,x=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(P){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=P)r(u),N.sortIndex=N.expirationTime,t(l,N);else break;N=n(u)}}function S(P){if(y=!1,v(P),!x)if(n(l)!==null)x=!0,B(C);else{var N=n(u);N!==null&&V(S,N.startTime-P)}}function C(P,N){x=!1,y&&(y=!1,m(T),T=-1),h=!0;var I=f;try{for(v(N),d=n(l);d!==null&&(!(d.expirationTime>N)||P&&!F());){var W=d.callback;if(typeof W=="function"){d.callback=null,f=d.priorityLevel;var $=W(d.expirationTime<=N);N=e.unstable_now(),typeof $=="function"?d.callback=$:d===n(l)&&r(l),v(N)}else r(l);d=n(l)}if(d!==null)var q=!0;else{var Z=n(u);Z!==null&&V(S,Z.startTime-N),q=!1}return q}finally{d=null,f=I,h=!1}}var E=!1,k=null,T=-1,M=5,A=-1;function F(){return!(e.unstable_now()-A<M)}function L(){if(k!==null){var P=e.unstable_now();A=P;var N=!0;try{N=k(!0,P)}finally{N?U():(E=!1,k=null)}}else E=!1}var U;if(typeof g=="function")U=function(){g(L)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,K=O.port2;O.port1.onmessage=L,U=function(){K.postMessage(null)}}else U=function(){w(L,0)};function B(P){k=P,E||(E=!0,U())}function V(P,N){T=w(function(){P(e.unstable_now())},N)}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(P){P.callback=null},e.unstable_continueExecution=function(){x||h||(x=!0,B(C))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(P){switch(f){case 1:case 2:case 3:var N=3;break;default:N=f}var I=f;f=N;try{return P()}finally{f=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,N){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var I=f;f=P;try{return N()}finally{f=I}},e.unstable_scheduleCallback=function(P,N,I){var W=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?W+I:W):I=W,P){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}
vendor: 5,992 bytes, lines 25-33
25return $=I+$,P={id:c++,callback:N,priorityLevel:P,startTime:I,expirationTime:$,sortIndex:-1},I>W?(P.sortIndex=I,t(u,P),n(l)===null&&P===n(u)&&(y?(m(T),T=-1):y=!0,V(S,I-W))):(P.sortIndex=$,t(l,P),x||h||(x=!0,B(C))),P},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(P){var N=f;return function(){var I=f;f=N;try{return P.apply(this,arguments)}finally{f=I}}}})(sy);iy.exports=sy;var Ab=iy.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 jb=b,ut=Ab;function j(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 ay=new Set,ji={};function zr(e,t){jo(e,t),jo(e+"Capture",t)}function jo(e,t){for(ji[e]=t,e=0;e<t.length;e++)ay.add(t[e])}var hn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Uu=Object.prototype.hasOwnProperty,Db=/^[: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]*$/,Th={},Ph={};function Lb(e){return Uu.call(Ph,e)?!0:Uu.call(Th,e)?!1:Db.test(e)?Ph[e]=!0:(Th[e]=!0,!1)}function Ob(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 Ib(e,t,n,r){if(t===null||typeof t>"u"||Ob(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 qe(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new qe(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){De[e]=new qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Nd=/[\-:]([a-z])/g;function Md(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(Nd,Md);De[t]=new qe(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(Nd,Md);De[t]=new qe(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(Nd,Md);De[t]=new qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new qe(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ad(e,t,n,r){var o=De.hasOwnProperty(t)?De[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Ib(t,n,o,r)&&(n=null),r||o===null?Lb(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}
vendor: 15,291 bytes, lines 33-37
33var wn=jb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ks=Symbol.for("react.element"),qr=Symbol.for("react.portal"),Xr=Symbol.for("react.fragment"),jd=Symbol.for("react.strict_mode"),Hu=Symbol.for("react.profiler"),ly=Symbol.for("react.provider"),uy=Symbol.for("react.context"),Dd=Symbol.for("react.forward_ref"),Wu=Symbol.for("react.suspense"),Ku=Symbol.for("react.suspense_list"),Ld=Symbol.for("react.memo"),Dn=Symbol.for("react.lazy"),cy=Symbol.for("react.offscreen"),Rh=Symbol.iterator;function ni(e){return e===null||typeof e!="object"?null:(e=Rh&&e[Rh]||e["@@iterator"],typeof e=="function"?e:null)}var ye=Object.assign,Kl;function hi(e){if(Kl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Kl=t&&t[1]||""}return`
34`+Kl+e}var Gl=!1;function Yl(e,t){if(!e||Gl)return"";Gl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),i=r.stack.split(`
36`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
37`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Gl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?hi(e):""}function Fb(e){switch(e.tag){case 5:return hi(e.type);case 16:return hi("Lazy");case 13:return hi("Suspense");case 19:return hi("SuspenseList");case 0:case 2:case 15:return e=Yl(e.type,!1),e;case 11:return e=Yl(e.type.render,!1),e;case 1:return e=Yl(e.type,!0),e;default:return""}}function Gu(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 Xr:return"Fragment";case qr:return"Portal";case Hu:return"Profiler";case jd:return"StrictMode";case Wu:return"Suspense";case Ku:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case uy:return(e.displayName||"Context")+".Consumer";case ly:return(e._context.displayName||"Context")+".Provider";case Dd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ld:return t=e.displayName||null,t!==null?t:Gu(e.type)||"Memo";case Dn:t=e._payload,e=e._init;try{return Gu(e(t))}catch{}}return null}function Vb(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 Gu(t);case 8:return t===jd?"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 er(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function dy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _b(e){var t=dy(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ts(e){e._valueTracker||(e._valueTracker=_b(e))}function fy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=dy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function va(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 Yu(e,t){var n=t.checked;return ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Nh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=er(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 hy(e,t){t=t.checked,t!=null&&Ad(e,"checked",t,!1)}function Qu(e,t){hy(e,t);var n=er(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")?qu(e,t.type,n):t.hasOwnProperty("defaultValue")&&qu(e,t.type,er(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mh(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 qu(e,t,n){(t!=="number"||va(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var pi=Array.isArray;function po(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+er(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Xu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return ye({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ah(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if(pi(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:er(n)}}function py(e,t){var n=er(t.value),r=er(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 jh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function my(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 Zu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?my(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ps,gy=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ps=Ps||document.createElement("div"),Ps.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ps.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Di(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var vi={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},zb=["Webkit","ms","Moz","O"];Object.keys(vi).forEach(function(e){zb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vi[t]=vi[e]})});function yy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||vi.hasOwnProperty(e)&&vi[e]?(""+t).trim():t+"px"}function vy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=yy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Bb=ye({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 Ju(e,t){if(t){if(Bb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function ec(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 tc=null;function Od(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var nc=null,mo=null,go=null;function Dh(e){if(e=cs(e)){if(typeof nc!="function")throw Error(j(280));var t=e.stateNode;t&&(t=cl(t),nc(e.stateNode,e.type,t))}}function xy(e){mo?go?go.push(e):go=[e]:mo=e}function wy(){if(mo){var e=mo,t=go;if(go=mo=null,Dh(e),t)for(e=0;e<t.length;e++)Dh(t[e])}}function by(e,t){return e(t)}function Sy(){}var Ql=!1;function Cy(e,t,n){if(Ql)return e(t,n);Ql=!0;try{return by(e,t,n)}finally{Ql=!1,(mo!==null||go!==null)&&(Sy(),wy())}}function Li(e,t){var n=e.stateNode;if(n===null)return null;var r=cl(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(j(231,t,typeof n));return n}var rc=!1;if(hn)try{var ri={};Object.defineProperty(ri,"passive",{get:function(){rc=!0}}),window.addEventListener("test",ri,ri),window.removeEventListener("test",ri,ri)}catch{rc=!1}function $b(e,t,n,r,o,i,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var xi=!1,xa=null,wa=!1,oc=null,Ub={onError:function(e){xi=!0,xa=e}};function Hb(e,t,n,r,o,i,s,a,l){xi=!1,xa=null,$b.apply(Ub,arguments)}function Wb(e,t,n,r,o,i,s,a,l){if(Hb.apply(this,arguments),xi){if(xi){var u=xa;xi=!1,xa=null}else throw Error(j(198));wa||(wa=!0,oc=u)}}function Br(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 Ey(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 Lh(e){if(Br(e)!==e)throw Error(j(188))}function Kb(e){var t=e.alternate;if(!t){if(t=Br(e),t===null)throw Error(j(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Lh(o),e;if(i===r)return Lh(o),t;i=i.sibling}throw Error(j(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)throw Error(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function ky(e){return e=Kb(e),e!==null?Ty(e):null}function Ty(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ty(e);if(t!==null)return t;e=e.sibling}return null}var Py=ut.unstable_scheduleCallback,Oh=ut.unstable_cancelCallback,Gb=ut.unstable_shouldYield,Yb=ut.unstable_requestPaint,we=ut.unstable_now,Qb=ut.unstable_getCurrentPriorityLevel,Id=ut.unstable_ImmediatePriority,Ry=ut.unstable_UserBlockingPriority,ba=ut.unstable_NormalPriority,qb=ut.unstable_LowPriority,Ny=ut.unstable_IdlePriority,sl=null,qt=null;function Xb(e){if(qt&&typeof qt.onCommitFiberRoot=="function")try{qt.onCommitFiberRoot(sl,e,void 0,(e.current.flags&128)===128)}catch{}}var It=Math.clz32?Math.clz32:eS,Zb=Math.log,Jb=Math.LN2;function eS(e){return e>>>=0,e===0?32:31-(Zb(e)/Jb|0)|0}var Rs=64,Ns=4194304;function mi(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 Sa(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=mi(a):(i&=s,i!==0&&(r=mi(i)))}else s=n&~o,s!==0?r=mi(s):i!==0&&(r=mi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===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-It(t),o=1<<n,r|=e[n],t&=~o;return r}function tS(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 nS(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-It(i),a=1<<s,l=o[s];l===-1?(!(a&n)||a&r)&&(o[s]=tS(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function ic(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function My(){var e=Rs;return Rs<<=1,!(Rs&4194240)&&(Rs=64),e}function ql(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 4,087 bytes, line 37
37function ls(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-It(t),e[t]=n}function rS(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-It(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Fd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-It(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var re=0;function Ay(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var jy,Vd,Dy,Ly,Oy,sc=!1,Ms=[],Kn=null,Gn=null,Yn=null,Oi=new Map,Ii=new Map,On=[],oS="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 Ih(e,t){switch(e){case"focusin":case"focusout":Kn=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Yn=null;break;case"pointerover":case"pointerout":Oi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ii.delete(t.pointerId)}}function oi(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=cs(t),t!==null&&Vd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function iS(e,t,n,r,o){switch(t){case"focusin":return Kn=oi(Kn,e,t,n,r,o),!0;case"dragenter":return Gn=oi(Gn,e,t,n,r,o),!0;case"mouseover":return Yn=oi(Yn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Oi.set(i,oi(Oi.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ii.set(i,oi(Ii.get(i)||null,e,t,n,r,o)),!0}return!1}function Iy(e){var t=xr(e.target);if(t!==null){var n=Br(t);if(n!==null){if(t=n.tag,t===13){if(t=Ey(n),t!==null){e.blockedOn=t,Oy(e.priority,function(){Dy(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 Js(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ac(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);tc=r,n.target.dispatchEvent(r),tc=null}else return t=cs(n),t!==null&&Vd(t),e.blockedOn=n,!1;t.shift()}return!0}function Fh(e,t,n){Js(e)&&n.delete(t)}function sS(){sc=!1,Kn!==null&&Js(Kn)&&(Kn=null),Gn!==null&&Js(Gn)&&(Gn=null),Yn!==null&&Js(Yn)&&(Yn=null),Oi.forEach(Fh),Ii.forEach(Fh)}function ii(e,t){e.blockedOn===t&&(e.blockedOn=null,sc||(sc=!0,ut.unstable_scheduleCallback(ut.unstable_NormalPriority,sS)))}function Fi(e){function t(o){return ii(o,e)}if(0<Ms.length){ii(Ms[0],e);for(var n=1;n<Ms.length;n++){var r=Ms[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Kn!==null&&ii(Kn,e),Gn!==null&&ii(Gn,e),Yn!==null&&ii(Yn,e),Oi.forEach(t),Ii.forEach(t),n=0;n<On.length;n++)r=On[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<On.length&&(n=On[0],n.blockedOn===null);)Iy(n),n.blockedOn===null&&On.shift()}var yo=wn.ReactCurrentBatchConfig,Ca=!0;function aS(e,t,n,r){var o=re,i=yo.transition;yo.transition=null;try{re=1,_d(e,t,n,r)}finally{re=o,yo.transition=i}}function lS(e,t,n,r){var o=re,i=yo.transition;yo.transition=null;try{re=4,_d(e,t,n,r)}finally{re=o,yo.transition=i}}function _d(e,t,n,r){if(Ca){var o=ac(e,t,n,r);if(o===null)su(e,t,r,Ea,n),Ih(e,r);else if(iS(o,e,t,n,r))r.stopPropagation();else if(Ih(e,r),t&4&&-1<oS.indexOf(e)){for(;o!==null;){var i=cs(o);if(i!==null&&jy(i),i=ac(e,t,n,r),i===null&&su(e,t,r,Ea,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else su(e,t,r,null,n)}}var Ea=null;function ac(e,t,n,r){if(Ea=null,e=Od(r),e=xr(e),e!==null)if(t=Br(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ey(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 Ea=e,null}
vendor: 10,401 bytes, line 37
37function Fy(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(Qb()){case Id:return 1;case Ry:return 4;case ba:case qb:return 16;case Ny:return 536870912;default:return 16}default:return 16}}var $n=null,zd=null,ea=null;function Vy(){if(ea)return ea;var e,t=zd,n=t.length,r,o="value"in $n?$n.value:$n.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return ea=o.slice(e,1<r?1-r:void 0)}function ta(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 As(){return!0}function Vh(){return!1}function dt(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?As:Vh,this.isPropagationStopped=Vh,this}return ye(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=As)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=As)},persist:function(){},isPersistent:As}),t}var Ho={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bd=dt(Ho),us=ye({},Ho,{view:0,detail:0}),uS=dt(us),Xl,Zl,si,al=ye({},us,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$d,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!==si&&(si&&e.type==="mousemove"?(Xl=e.screenX-si.screenX,Zl=e.screenY-si.screenY):Zl=Xl=0,si=e),Xl)},movementY:function(e){return"movementY"in e?e.movementY:Zl}}),_h=dt(al),cS=ye({},al,{dataTransfer:0}),dS=dt(cS),fS=ye({},us,{relatedTarget:0}),Jl=dt(fS),hS=ye({},Ho,{animationName:0,elapsedTime:0,pseudoElement:0}),pS=dt(hS),mS=ye({},Ho,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gS=dt(mS),yS=ye({},Ho,{data:0}),zh=dt(yS),vS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xS={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"},wS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function bS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=wS[e])?!!t[e]:!1}function $d(){return bS}var SS=ye({},us,{key:function(e){if(e.key){var t=vS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ta(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?xS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$d,charCode:function(e){return e.type==="keypress"?ta(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ta(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),CS=dt(SS),ES=ye({},al,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bh=dt(ES),kS=ye({},us,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$d}),TS=dt(kS),PS=ye({},Ho,{propertyName:0,elapsedTime:0,pseudoElement:0}),RS=dt(PS),NS=ye({},al,{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}),MS=dt(NS),AS=[9,13,27,32],Ud=hn&&"CompositionEvent"in window,wi=null;hn&&"documentMode"in document&&(wi=document.documentMode);var jS=hn&&"TextEvent"in window&&!wi,_y=hn&&(!Ud||wi&&8<wi&&11>=wi),$h=" ",Uh=!1;function zy(e,t){switch(e){case"keyup":return AS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function By(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zr=!1;function DS(e,t){switch(e){case"compositionend":return By(t);case"keypress":return t.which!==32?null:(Uh=!0,$h);case"textInput":return e=t.data,e===$h&&Uh?null:e;default:return null}}function LS(e,t){if(Zr)return e==="compositionend"||!Ud&&zy(e,t)?(e=Vy(),ea=zd=$n=null,Zr=!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 _y&&t.locale!=="ko"?null:t.data;default:return null}}var OS={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 Hh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!OS[e.type]:t==="textarea"}function $y(e,t,n,r){xy(r),t=ka(t,"onChange"),0<t.length&&(n=new Bd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var bi=null,Vi=null;function IS(e){Jy(e,0)}function ll(e){var t=to(e);if(fy(t))return e}function FS(e,t){if(e==="change")return t}var Uy=!1;if(hn){var eu;if(hn){var tu="oninput"in document;if(!tu){var Wh=document.createElement("div");Wh.setAttribute("oninput","return;"),tu=typeof Wh.oninput=="function"}eu=tu}else eu=!1;Uy=eu&&(!document.documentMode||9<document.documentMode)}function Kh(){bi&&(bi.detachEvent("onpropertychange",Hy),Vi=bi=null)}function Hy(e){if(e.propertyName==="value"&&ll(Vi)){var t=[];$y(t,Vi,e,Od(e)),Cy(IS,t)}}function VS(e,t,n){e==="focusin"?(Kh(),bi=t,Vi=n,bi.attachEvent("onpropertychange",Hy)):e==="focusout"&&Kh()}function _S(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ll(Vi)}function zS(e,t){if(e==="click")return ll(t)}function BS(e,t){if(e==="input"||e==="change")return ll(t)}function $S(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:$S;function _i(e,t){if(_t(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Uu.call(t,o)||!_t(e[o],t[o]))return!1}return!0}function Gh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Yh(e,t){var n=Gh(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=Gh(n)}}function Wy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Wy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ky(){for(var e=window,t=va();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=va(e.document)}return t}function Hd(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 US(e){var t=Ky(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Wy(n.ownerDocument.documentElement,n)){if(r!==null&&Hd(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Yh(n,i);var s=Yh(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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 HS=hn&&"documentMode"in document&&11>=document.documentMode,Jr=null,lc=null,Si=null,uc=!1;function Qh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;uc||Jr==null||Jr!==va(r)||(r=Jr,"selectionStart"in r&&Hd(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,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Si&&_i(Si,r)||(Si=r,r=ka(lc,"onSelect"),0<r.length&&(t=new Bd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Jr)))}function js(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var eo={animationend:js("Animation","AnimationEnd"),animationiteration:js("Animation","AnimationIteration"),animationstart:js("Animation","AnimationStart"),transitionend:js("Transition","TransitionEnd")},nu={},Gy={};hn&&(Gy=document.createElement("div").style,"AnimationEvent"in window||(delete eo.animationend.animation,delete eo.animationiteration.animation,delete eo.animationstart.animation),"TransitionEvent"in window||delete eo.transitionend.transition);function ul(e){if(nu[e])return nu[e];if(!eo[e])return e;var t=eo[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Gy)return nu[e]=t[n];return e}var Yy=ul("animationend"),Qy=ul("animationiteration"),qy=ul("animationstart"),Xy=ul("transitionend"),Zy=new Map,qh="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 ar(e,t){Zy.set(e,t),zr(t,[e])}for(var ru=0;ru<qh.length;ru++){var ou=qh[ru],WS=ou.toLowerCase(),KS=ou[0].toUpperCase()+ou.slice(1);ar(WS,"on"+KS)}ar(Yy,"onAnimationEnd");ar(Qy,"onAnimationIteration");ar(qy,"onAnimationStart");ar("dblclick","onDoubleClick");ar("focusin","onFocus");ar("focusout","onBlur");ar(Xy,"onTransitionEnd");jo("onMouseEnter",["mouseout","mouseover"]);jo("onMouseLeave",["mouseout","mouseover"]);jo("onPointerEnter",["pointerout","pointerover"]);jo("onPointerLeave",["pointerout","pointerover"]);zr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));zr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));zr("onBeforeInput",["compositionend","keypress","textInput","paste"]);zr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));zr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));zr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gi="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(" "),GS=new Set("cancel close invalid load scroll toggle".split(" ").concat(gi));function Xh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Wb(r,t,void 0,e),e.currentTarget=null}function Jy(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;Xh(o,a,u),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;Xh(o,a,u),i=l}}}if(wa)throw e=oc,wa=!1,oc=null,e}function le(e,t){var n=t[pc];n===void 0&&(n=t[pc]=new Set);var r=e+"__bubble";n.has(r)||(e0(t,e,2,!1),n.add(r))}function iu(e,t,n){var r=0;t&&(r|=4),e0(n,e,r,t)}var Ds="_reactListening"+Math.random().toString(36).slice(2);function zi(e){if(!e[Ds]){e[Ds]=!0,ay.forEach(function(n){n!=="selectionchange"&&(GS.has(n)||iu(n,!1,e),iu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ds]||(t[Ds]=!0,iu("selectionchange",!1,t))}}function e0(e,t,n,r){switch(Fy(t)){case 1:var o=aS;break;case 4:o=lS;break;default:o=_d}n=o.bind(null,t,n,e),o=void 0,!rc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function su(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 42,373 bytes, lines 37-40
37if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=xr(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}Cy(function(){var u=i,c=Od(n),d=[];e:{var f=Zy.get(e);if(f!==void 0){var h=Bd,x=e;switch(e){case"keypress":if(ta(n)===0)break e;case"keydown":case"keyup":h=CS;break;case"focusin":x="focus",h=Jl;break;case"focusout":x="blur",h=Jl;break;case"beforeblur":case"afterblur":h=Jl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=_h;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=dS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=TS;break;case Yy:case Qy:case qy:h=pS;break;case Xy:h=RS;break;case"scroll":h=uS;break;case"wheel":h=MS;break;case"copy":case"cut":case"paste":h=gS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Bh}var y=(t&4)!==0,w=!y&&e==="scroll",m=y?f!==null?f+"Capture":null:f;y=[];for(var g=u,v;g!==null;){v=g;var S=v.stateNode;if(v.tag===5&&S!==null&&(v=S,m!==null&&(S=Li(g,m),S!=null&&y.push(Bi(g,S,v)))),w)break;g=g.return}0<y.length&&(f=new h(f,x,null,n,c),d.push({event:f,listeners:y}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&n!==tc&&(x=n.relatedTarget||n.fromElement)&&(xr(x)||x[pn]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(x=n.relatedTarget||n.toElement,h=u,x=x?xr(x):null,x!==null&&(w=Br(x),x!==w||x.tag!==5&&x.tag!==6)&&(x=null)):(h=null,x=u),h!==x)){if(y=_h,S="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(y=Bh,S="onPointerLeave",m="onPointerEnter",g="pointer"),w=h==null?f:to(h),v=x==null?f:to(x),f=new y(S,g+"leave",h,n,c),f.target=w,f.relatedTarget=v,S=null,xr(c)===u&&(y=new y(m,g+"enter",x,n,c),y.target=v,y.relatedTarget=w,S=y),w=S,h&&x)t:{for(y=h,m=x,g=0,v=y;v;v=Yr(v))g++;for(v=0,S=m;S;S=Yr(S))v++;for(;0<g-v;)y=Yr(y),g--;for(;0<v-g;)m=Yr(m),v--;for(;g--;){if(y===m||m!==null&&y===m.alternate)break t;y=Yr(y),m=Yr(m)}y=null}else y=null;h!==null&&Zh(d,f,h,y,!1),x!==null&&w!==null&&Zh(d,w,x,y,!0)}}e:{if(f=u?to(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var C=FS;else if(Hh(f))if(Uy)C=BS;else{C=_S;var E=VS}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(C=zS);if(C&&(C=C(e,u))){$y(d,C,n,c);break e}E&&E(e,f,u),e==="focusout"&&(E=f._wrapperState)&&E.controlled&&f.type==="number"&&qu(f,"number",f.value)}switch(E=u?to(u):window,e){case"focusin":(Hh(E)||E.contentEditable==="true")&&(Jr=E,lc=u,Si=null);break;case"focusout":Si=lc=Jr=null;break;case"mousedown":uc=!0;break;case"contextmenu":case"mouseup":case"dragend":uc=!1,Qh(d,n,c);break;case"selectionchange":if(HS)break;case"keydown":case"keyup":Qh(d,n,c)}var k;if(Ud)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else Zr?zy(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(_y&&n.locale!=="ko"&&(Zr||T!=="onCompositionStart"?T==="onCompositionEnd"&&Zr&&(k=Vy()):($n=c,zd="value"in $n?$n.value:$n.textContent,Zr=!0)),E=ka(u,T),0<E.length&&(T=new zh(T,e,null,n,c),d.push({event:T,listeners:E}),k?T.data=k:(k=By(n),k!==null&&(T.data=k)))),(k=jS?DS(e,n):LS(e,n))&&(u=ka(u,"onBeforeInput"),0<u.length&&(c=new zh("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=k))}Jy(d,t)})}function Bi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ka(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Li(e,n),i!=null&&r.unshift(Bi(e,i,o)),i=Li(e,t),i!=null&&r.push(Bi(e,i,o))),e=e.return}return r}function Yr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Zh(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=Li(n,i),l!=null&&s.unshift(Bi(n,l,a))):o||(l=Li(n,i),l!=null&&s.push(Bi(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var YS=/\r\n?/g,QS=/\u0000|\uFFFD/g;function Jh(e){return(typeof e=="string"?e:""+e).replace(YS,`
38`).replace(QS,"")}function Ls(e,t,n){if(t=Jh(t),Jh(e)!==t&&n)throw Error(j(425))}function Ta(){}var cc=null,dc=null;function fc(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 hc=typeof setTimeout=="function"?setTimeout:void 0,qS=typeof clearTimeout=="function"?clearTimeout:void 0,ep=typeof Promise=="function"?Promise:void 0,XS=typeof queueMicrotask=="function"?queueMicrotask:typeof ep<"u"?function(e){return ep.resolve(null).then(e).catch(ZS)}:hc;function ZS(e){setTimeout(function(){throw e})}function au(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Fi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Fi(t)}function Qn(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 tp(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 Wo=Math.random().toString(36).slice(2),Yt="__reactFiber$"+Wo,$i="__reactProps$"+Wo,pn="__reactContainer$"+Wo,pc="__reactEvents$"+Wo,JS="__reactListeners$"+Wo,e2="__reactHandles$"+Wo;function xr(e){var t=e[Yt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pn]||n[Yt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=tp(e);e!==null;){if(n=e[Yt])return n;e=tp(e)}return t}e=n,n=e.parentNode}return null}function cs(e){return e=e[Yt]||e[pn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function to(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function cl(e){return e[$i]||null}var mc=[],no=-1;function lr(e){return{current:e}}function ce(e){0>no||(e.current=mc[no],mc[no]=null,no--)}function ie(e,t){no++,mc[no]=e.current,e.current=t}var tr={},$e=lr(tr),et=lr(!1),Dr=tr;function Do(e,t){var n=e.type.contextTypes;if(!n)return tr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function tt(e){return e=e.childContextTypes,e!=null}function Pa(){ce(et),ce($e)}function np(e,t,n){if($e.current!==tr)throw Error(j(168));ie($e,t),ie(et,n)}function t0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(j(108,Vb(e)||"Unknown",o));return ye({},n,r)}function Ra(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tr,Dr=$e.current,ie($e,e),ie(et,et.current),!0}function rp(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=t0(e,t,Dr),r.__reactInternalMemoizedMergedChildContext=e,ce(et),ce($e),ie($e,e)):ce(et),ie(et,n)}var ln=null,dl=!1,lu=!1;function n0(e){ln===null?ln=[e]:ln.push(e)}function t2(e){dl=!0,n0(e)}function ur(){if(!lu&&ln!==null){lu=!0;var e=0,t=re;try{var n=ln;for(re=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ln=null,dl=!1}catch(o){throw ln!==null&&(ln=ln.slice(e+1)),Py(Id,ur),o}finally{re=t,lu=!1}}return null}var ro=[],oo=0,Na=null,Ma=0,pt=[],mt=0,Lr=null,cn=1,dn="";function gr(e,t){ro[oo++]=Ma,ro[oo++]=Na,Na=e,Ma=t}function r0(e,t,n){pt[mt++]=cn,pt[mt++]=dn,pt[mt++]=Lr,Lr=e;var r=cn;e=dn;var o=32-It(r)-1;r&=~(1<<o),n+=1;var i=32-It(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,cn=1<<32-It(t)+o|n<<o|r,dn=i+e}else cn=1<<i|n<<o|r,dn=e}function Wd(e){e.return!==null&&(gr(e,1),r0(e,1,0))}function Kd(e){for(;e===Na;)Na=ro[--oo],ro[oo]=null,Ma=ro[--oo],ro[oo]=null;for(;e===Lr;)Lr=pt[--mt],pt[mt]=null,dn=pt[--mt],pt[mt]=null,cn=pt[--mt],pt[mt]=null}var at=null,st=null,fe=!1,Ot=null;function o0(e,t){var n=gt(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 op(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,at=e,st=Qn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,at=e,st=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Lr!==null?{id:cn,overflow:dn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=gt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,at=e,st=null,!0):!1;default:return!1}}function gc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function yc(e){if(fe){var t=st;if(t){var n=t;if(!op(e,t)){if(gc(e))throw Error(j(418));t=Qn(n.nextSibling);var r=at;t&&op(e,t)?o0(r,n):(e.flags=e.flags&-4097|2,fe=!1,at=e)}}else{if(gc(e))throw Error(j(418));e.flags=e.flags&-4097|2,fe=!1,at=e}}}function ip(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;at=e}function Os(e){if(e!==at)return!1;if(!fe)return ip(e),fe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!fc(e.type,e.memoizedProps)),t&&(t=st)){if(gc(e))throw i0(),Error(j(418));for(;t;)o0(e,t),t=Qn(t.nextSibling)}if(ip(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){st=Qn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}st=null}}else st=at?Qn(e.stateNode.nextSibling):null;return!0}function i0(){for(var e=st;e;)e=Qn(e.nextSibling)}function Lo(){st=at=null,fe=!1}function Gd(e){Ot===null?Ot=[e]:Ot.push(e)}var n2=wn.ReactCurrentBatchConfig;function ai(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(j(309));var r=n.stateNode}if(!r)throw Error(j(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function Is(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function sp(e){var t=e._init;return t(e._payload)}function s0(e){function t(m,g){if(e){var v=m.deletions;v===null?(m.deletions=[g],m.flags|=16):v.push(g)}}function n(m,g){if(!e)return null;for(;g!==null;)t(m,g),g=g.sibling;return null}function r(m,g){for(m=new Map;g!==null;)g.key!==null?m.set(g.key,g):m.set(g.index,g),g=g.sibling;return m}function o(m,g){return m=Jn(m,g),m.index=0,m.sibling=null,m}function i(m,g,v){return m.index=v,e?(v=m.alternate,v!==null?(v=v.index,v<g?(m.flags|=2,g):v):(m.flags|=2,g)):(m.flags|=1048576,g)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,g,v,S){return g===null||g.tag!==6?(g=mu(v,m.mode,S),g.return=m,g):(g=o(g,v),g.return=m,g)}function l(m,g,v,S){var C=v.type;return C===Xr?c(m,g,v.props.children,S,v.key):g!==null&&(g.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Dn&&sp(C)===g.type)?(S=o(g,v.props),S.ref=ai(m,g,v),S.return=m,S):(S=la(v.type,v.key,v.props,null,m.mode,S),S.ref=ai(m,g,v),S.return=m,S)}function u(m,g,v,S){return g===null||g.tag!==4||g.stateNode.containerInfo!==v.containerInfo||g.stateNode.implementation!==v.implementation?(g=gu(v,m.mode,S),g.return=m,g):(g=o(g,v.children||[]),g.return=m,g)}function c(m,g,v,S,C){return g===null||g.tag!==7?(g=Ar(v,m.mode,S,C),g.return=m,g):(g=o(g,v),g.return=m,g)}function d(m,g,v){if(typeof g=="string"&&g!==""||typeof g=="number")return g=mu(""+g,m.mode,v),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case ks:return v=la(g.type,g.key,g.props,null,m.mode,v),v.ref=ai(m,null,g),v.return=m,v;case qr:return g=gu(g,m.mode,v),g.return=m,g;case Dn:var S=g._init;return d(m,S(g._payload),v)}if(pi(g)||ni(g))return g=Ar(g,m.mode,v,null),g.return=m,g;Is(m,g)}return null}function f(m,g,v,S){var C=g!==null?g.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:a(m,g,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case ks:return v.key===C?l(m,g,v,S):null;case qr:return v.key===C?u(m,g,v,S):null;case Dn:return C=v._init,f(m,g,C(v._payload),S)}if(pi(v)||ni(v))return C!==null?null:c(m,g,v,S,null);Is(m,v)}return null}function h(m,g,v,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return m=m.get(v)||null,a(g,m,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ks:return m=m.get(S.key===null?v:S.key)||null,l(g,m,S,C);case qr:return m=m.get(S.key===null?v:S.key)||null,u(g,m,S,C);case Dn:var E=S._init;return h(m,g,v,E(S._payload),C)}if(pi(S)||ni(S))return m=m.get(v)||null,c(g,m,S,C,null);Is(g,S)}return null}function x(m,g,v,S){for(var C=null,E=null,k=g,T=g=0,M=null;k!==null&&T<v.length;T++){k.index>T?(M=k,k=null):M=k.sibling;var A=f(m,k,v[T],S);if(A===null){k===null&&(k=M);break}e&&k&&A.alternate===null&&t(m,k),g=i(A,g,T),E===null?C=A:E.sibling=A,E=A,k=M}if(T===v.length)return n(m,k),fe&&gr(m,T),C;if(k===null){for(;T<v.length;T++)k=d(m,v[T],S),k!==null&&(g=i(k,g,T),E===null?C=k:E.sibling=k,E=k);return fe&&gr(m,T),C}for(k=r(m,k);T<v.length;T++)M=h(k,m,T,v[T],S),M!==null&&(e&&M.alternate!==null&&k.delete(M.key===null?T:M.key),g=i(M,g,T),E===null?C=M:E.sibling=M,E=M);return e&&k.forEach(function(F){return t(m,F)}),fe&&gr(m,T),C}function y(m,g,v,S){var C=ni(v);if(typeof C!="function")throw Error(j(150));if(v=C.call(v),v==null)throw Error(j(151));for(var E=C=null,k=g,T=g=0,M=null,A=v.next();k!==null&&!A.done;T++,A=v.next()){k.index>T?(M=k,k=null):M=k.sibling;var F=f(m,k,A.value,S);if(F===null){k===null&&(k=M);break}e&&k&&F.alternate===null&&t(m,k),g=i(F,g,T),E===null?C=F:E.sibling=F,E=F,k=M}if(A.done)return n(m,k),fe&&gr(m,T),C;if(k===null){for(;!A.done;T++,A=v.next())A=d(m,A.value,S),A!==null&&(g=i(A,g,T),E===null?C=A:E.sibling=A,E=A);return fe&&gr(m,T),C}for(k=r(m,k);!A.done;T++,A=v.next())A=h(k,m,T,A.value,S),A!==null&&(e&&A.alternate!==null&&k.delete(A.key===null?T:A.key),g=i(A,g,T),E===null?C=A:E.sibling=A,E=A);return e&&k.forEach(function(L){return t(m,L)}),fe&&gr(m,T),C}function w(m,g,v,S){if(typeof v=="object"&&v!==null&&v.type===Xr&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case ks:e:{for(var C=v.key,E=g;E!==null;){if(E.key===C){if(C=v.type,C===Xr){if(E.tag===7){n(m,E.sibling),g=o(E,v.props.children),g.return=m,m=g;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Dn&&sp(C)===E.type){n(m,E.sibling),g=o(E,v.props),g.ref=ai(m,E,v),g.return=m,m=g;break e}n(m,E);break}else t(m,E);E=E.sibling}v.type===Xr?(g=Ar(v.props.children,m.mode,S,v.key),g.return=m,m=g):(S=la(v.type,v.key,v.props,null,m.mode,S),S.ref=ai(m,g,v),S.return=m,m=S)}return s(m);case qr:e:{for(E=v.key;g!==null;){if(g.key===E)if(g.tag===4&&g.stateNode.containerInfo===v.containerInfo&&g.stateNode.implementation===v.implementation){n(m,g.sibling),g=o(g,v.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=gu(v,m.mode,S),g.return=m,m=g}return s(m);case Dn:return E=v._init,w(m,g,E(v._payload),S)}if(pi(v))return x(m,g,v,S);if(ni(v))return y(m,g,v,S);Is(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,g!==null&&g.tag===6?(n(m,g.sibling),g=o(g,v),g.return=m,m=g):(n(m,g),g=mu(v,m.mode,S),g.return=m,m=g),s(m)):n(m,g)}return w}var Oo=s0(!0),a0=s0(!1),Aa=lr(null),ja=null,io=null,Yd=null;function Qd(){Yd=io=ja=null}function qd(e){var t=Aa.current;ce(Aa),e._currentValue=t}function vc(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 vo(e,t){ja=e,Yd=io=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Je=!0),e.firstContext=null)}function bt(e){var t=e._currentValue;if(Yd!==e)if(e={context:e,memoizedValue:t,next:null},io===null){if(ja===null)throw Error(j(308));io=e,ja.dependencies={lanes:0,firstContext:e}}else io=io.next=e;return t}var wr=null;function Xd(e){wr===null?wr=[e]:wr.push(e)}function l0(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Xd(t)):(n.next=o.next,o.next=n),t.interleaved=n,mn(e,r)}function mn(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 Ln=!1;function Zd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function u0(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 fn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function qn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,J&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,mn(e,n)}return o=r.interleaved,o===null?(t.next=t,Xd(r)):(t.next=o.next,o.next=t),r.interleaved=t,mn(e,n)}function na(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,Fd(e,n)}}function ap(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,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 Da(e,t,n,r){var o=e.updateQueue;Ln=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var f=a.lane,h=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,y=a;switch(f=t,h=n,y.tag){case 1:if(x=y.payload,typeof x=="function"){d=x.call(h,d,f);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=y.payload,f=typeof x=="function"?x.call(h,d,f):x,f==null)break e;d=ye({},d,f);break e;case 2:Ln=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[a]:f.push(a))}else h={eventTime:h,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,s|=f;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;f=a,a=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Ir|=s,e.lanes=s,e.memoizedState=d}}function lp(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(j(191,o));o.call(r)}}}var ds={},Xt=lr(ds),Ui=lr(ds),Hi=lr(ds);function br(e){if(e===ds)throw Error(j(174));return e}function Jd(e,t){switch(ie(Hi,t),ie(Ui,e),ie(Xt,ds),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Zu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Zu(t,e)}ce(Xt),ie(Xt,t)}function Io(){ce(Xt),ce(Ui),ce(Hi)}function c0(e){br(Hi.current);var t=br(Xt.current),n=Zu(t,e.type);t!==n&&(ie(Ui,e),ie(Xt,n))}function ef(e){Ui.current===e&&(ce(Xt),ce(Ui))}var pe=lr(0);function La(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 uu=[];function tf(){for(var e=0;e<uu.length;e++)uu[e]._workInProgressVersionPrimary=null;uu.length=0}var ra=wn.ReactCurrentDispatcher,cu=wn.ReactCurrentBatchConfig,Or=0,ge=null,ke=null,Re=null,Oa=!1,Ci=!1,Wi=0,r2=0;function Fe(){throw Error(j(321))}function nf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!_t(e[n],t[n]))return!1;return!0}function rf(e,t,n,r,o,i){if(Or=i,ge=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ra.current=e===null||e.memoizedState===null?a2:l2,e=n(r,o),Ci){i=0;do{if(Ci=!1,Wi=0,25<=i)throw Error(j(301));i+=1,Re=ke=null,t.updateQueue=null,ra.current=u2,e=n(r,o)}while(Ci)}if(ra.current=Ia,t=ke!==null&&ke.next!==null,Or=0,Re=ke=ge=null,Oa=!1,t)throw Error(j(300));return e}function of(){var e=Wi!==0;return Wi=0,e}function Ut(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Re===null?ge.memoizedState=Re=e:Re=Re.next=e,Re}function St(){if(ke===null){var e=ge.alternate;e=e!==null?e.memoizedState:null}else e=ke.next;var t=Re===null?ge.memoizedState:Re.next;if(t!==null)Re=t,ke=e;else{if(e===null)throw Error(j(310));ke=e,e={memoizedState:ke.memoizedState,baseState:ke.baseState,baseQueue:ke.baseQueue,queue:ke.queue,next:null},Re===null?ge.memoizedState=Re=e:Re=Re.next=e}return Re}function Ki(e,t){return typeof t=="function"?t(e):t}function du(e){var t=St(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=ke,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,l=null,u=i;do{var c=u.lane;if((Or&c)===c)l!==null&&(l=l.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 d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,ge.lanes|=c,Ir|=c}u=u.next}while(u!==null&&u!==i);l===null?s=r:l.next=a,_t(r,t.memoizedState)||(Je=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,ge.lanes|=i,Ir|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function fu(e){var t=St(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);_t(i,t.memoizedState)||(Je=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function d0(){}function f0(e,t){var n=ge,r=St(),o=t(),i=!_t(r.memoizedState,o);if(i&&(r.memoizedState=o,Je=!0),r=r.queue,sf(m0.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Re!==null&&Re.memoizedState.tag&1){if(n.flags|=2048,Gi(9,p0.bind(null,n,r,o,t),void 0,null),Ne===null)throw Error(j(349));Or&30||h0(n,t,o)}return o}function h0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ge.updateQueue,t===null?(t={lastEffect:null,stores:null},ge.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function p0(e,t,n,r){t.value=n,t.getSnapshot=r,g0(t)&&y0(e)}function m0(e,t,n){return n(function(){g0(t)&&y0(e)})}function g0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!_t(e,n)}catch{return!0}}function y0(e){var t=mn(e,1);t!==null&&Ft(t,e,1,-1)}function up(e){var t=Ut();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ki,lastRenderedState:e},t.queue=e,e=e.dispatch=s2.bind(null,ge,e),[t.memoizedState,e]}function Gi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ge.updateQueue,t===null?(t={lastEffect:null,stores:null},ge.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 v0(){return St().memoizedState}function oa(e,t,n,r){var o=Ut();ge.flags|=e,o.memoizedState=Gi(1|t,n,void 0,r===void 0?null:r)}function fl(e,t,n,r){var o=St();r=r===void 0?null:r;var i=void 0;if(ke!==null){var s=ke.memoizedState;if(i=s.destroy,r!==null&&nf(r,s.deps)){o.memoizedState=Gi(t,n,i,r);return}}ge.flags|=e,o.memoizedState=Gi(1|t,n,i,r)}function cp(e,t){return oa(8390656,8,e,t)}function sf(e,t){return fl(2048,8,e,t)}function x0(e,t){return fl(4,2,e,t)}function w0(e,t){return fl(4,4,e,t)}function b0(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 S0(e,t,n){return n=n!=null?n.concat([e]):null,fl(4,4,b0.bind(null,t,e),n)}function af(){}function C0(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&nf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function E0(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&nf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function k0(e,t,n){return Or&21?(_t(n,t)||(n=My(),ge.lanes|=n,Ir|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Je=!0),e.memoizedState=n)}function o2(e,t){var n=re;re=n!==0&&4>n?n:4,e(!0);var r=cu.transition;cu.transition={};try{e(!1),t()}finally{re=n,cu.transition=r}}function T0(){return St().memoizedState}function i2(e,t,n){var r=Zn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},P0(e))R0(t,n);else if(n=l0(e,t,n,r),n!==null){var o=Ye();Ft(n,e,r,o),N0(n,t,r)}}function s2(e,t,n){var r=Zn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(P0(e))R0(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,_t(a,s)){var l=t.interleaved;l===null?(o.next=o,Xd(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=l0(e,t,o,r),n!==null&&(o=Ye(),Ft(n,e,r,o),N0(n,t,r))}}function P0(e){var t=e.alternate;return e===ge||t!==null&&t===ge}function R0(e,t){Ci=Oa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function N0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Fd(e,n)}}var Ia={readContext:bt,useCallback:Fe,useContext:Fe,useEffect:Fe,useImperativeHandle:Fe,useInsertionEffect:Fe,useLayoutEffect:Fe,useMemo:Fe,useReducer:Fe,useRef:Fe,useState:Fe,useDebugValue:Fe,useDeferredValue:Fe,useTransition:Fe,useMutableSource:Fe,useSyncExternalStore:Fe,useId:Fe,unstable_isNewReconciler:!1},a2={readContext:bt,useCallback:function(e,t){return Ut().memoizedState=[e,t===void 0?null:t],e},useContext:bt,useEffect:cp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,oa(4194308,4,b0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oa(4194308,4,e,t)},useInsertionEffect:function(e,t){return oa(4,2,e,t)},useMemo:function(e,t){var n=Ut();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ut();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=i2.bind(null,ge,e),[r.memoizedState,e]},useRef:function(e){var t=Ut();return e={current:e},t.memoizedState=e},useState:up,useDebugValue:af,useDeferredValue:function(e){return Ut().memoizedState=e},useTransition:function(){var e=up(!1),t=e[0];return e=o2.bind(null,e[1]),Ut().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ge,o=Ut();if(fe){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),Ne===null)throw Error(j(349));Or&30||h0(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,cp(m0.bind(null,r,i,e),[e]),r.flags|=2048,Gi(9,p0.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ut(),t=Ne.identifierPrefix;if(fe){var n=dn,r=cn;n=(r&~(1<<32-It(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Wi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=r2++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},l2={readContext:bt,useCallback:C0,useContext:bt,useEffect:sf,useImperativeHandle:S0,useInsertionEffect:x0,useLayoutEffect:w0,useMemo:E0,useReducer:du,useRef:v0,useState:function(){return du(Ki)},useDebugValue:af,useDeferredValue:function(e){var t=St();return k0(t,ke.memoizedState,e)},useTransition:function(){var e=du(Ki)[0],t=St().memoizedState;return[e,t]},useMutableSource:d0,useSyncExternalStore:f0,useId:T0,unstable_isNewReconciler:!1},u2={readContext:bt,useCallback:C0,useContext:bt,useEffect:sf,useImperativeHandle:S0,useInsertionEffect:x0,useLayoutEffect:w0,useMemo:E0,useReducer:fu,useRef:v0,useState:function(){return fu(Ki)},useDebugValue:af,useDeferredValue:function(e){var t=St();return ke===null?t.memoizedState=e:k0(t,ke.memoizedState,e)},useTransition:function(){var e=fu(Ki)[0],t=St().memoizedState;return[e,t]},useMutableSource:d0,useSyncExternalStore:f0,useId:T0,unstable_isNewReconciler:!1};function Mt(e,t){if(e&&e.defaultProps){t=ye({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function xc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ye({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var hl={isMounted:function(e){return(e=e._reactInternals)?Br(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ye(),o=Zn(e),i=fn(r,o);i.payload=t,n!=null&&(i.callback=n),t=qn(e,i,o),t!==null&&(Ft(t,e,o,r),na(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ye(),o=Zn(e),i=fn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=qn(e,i,o),t!==null&&(Ft(t,e,o,r),na(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ye(),r=Zn(e),o=fn(n,r);o.tag=2,t!=null&&(o.callback=t),t=qn(e,o,r),t!==null&&(Ft(t,e,r,n),na(t,e,r))}};function dp(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!_i(n,r)||!_i(o,i):!0}function M0(e,t,n){var r=!1,o=tr,i=t.contextType;return typeof i=="object"&&i!==null?i=bt(i):(o=tt(t)?Dr:$e.current,r=t.contextTypes,i=(r=r!=null)?Do(e,o):tr),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=hl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function fp(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&&hl.enqueueReplaceState(t,t.state,null)}function wc(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Zd(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=bt(i):(i=tt(t)?Dr:$e.current,o.context=Do(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(xc(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&hl.enqueueReplaceState(o,o.state,null),Da(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Fo(e,t){try{var n="",r=t;do n+=Fb(r),r=r.return;while(r);var o=n}catch(i){o=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function hu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function bc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var c2=typeof WeakMap=="function"?WeakMap:Map;function A0(e,t,n){n=fn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Va||(Va=!0,Ac=r),bc(e,t)},n}function j0(e,t,n){n=fn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){bc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){bc(e,t),typeof r!="function"&&(Xn===null?Xn=new Set([this]):Xn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function hp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new c2;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=E2.bind(null,e,t,n),t.then(e,e))}function pp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function mp(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=fn(-1,1),t.tag=2,qn(n,t,1))),n.lanes|=1),e)}var d2=wn.ReactCurrentOwner,Je=!1;function He(e,t,n,r){t.child=e===null?a0(t,null,n,r):Oo(t,e.child,n,r)}function gp(e,t,n,r,o){n=n.render;var i=t.ref;return vo(t,o),r=rf(e,t,n,r,i,o),n=of(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,gn(e,t,o)):(fe&&n&&Wd(t),t.flags|=1,He(e,t,r,o),t.child)}function yp(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!mf(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,D0(e,t,i,r,o)):(e=la(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:_i,n(s,r)&&e.ref===t.ref)return gn(e,t,o)}return t.flags|=1,e=Jn(i,r),e.ref=t.ref,e.return=t,t.child=e}function D0(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(_i(i,r)&&e.ref===t.ref)if(Je=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Je=!0);else return t.lanes=e.lanes,gn(e,t,o)}return Sc(e,t,n,r,o)}function L0(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ie(ao,ot),ot|=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,ie(ao,ot),ot|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ie(ao,ot),ot|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ie(ao,ot),ot|=r;return He(e,t,o,n),t.child}function O0(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Sc(e,t,n,r,o){var i=tt(n)?Dr:$e.current;return i=Do(t,i),vo(t,o),n=rf(e,t,n,r,i,o),r=of(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,gn(e,t,o)):(fe&&r&&Wd(t),t.flags|=1,He(e,t,n,o),t.child)}function vp(e,t,n,r,o){if(tt(n)){var i=!0;Ra(t)}else i=!1;if(vo(t,o),t.stateNode===null)ia(e,t),M0(t,n,r),wc(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=bt(u):(u=tt(n)?Dr:$e.current,u=Do(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&fp(t,s,r,u),Ln=!1;var f=t.memoizedState;s.state=f,Da(t,r,s,o),l=t.memoizedState,a!==r||f!==l||et.current||Ln?(typeof c=="function"&&(xc(t,n,c,r),l=t.memoizedState),(a=Ln||dp(t,n,a,r,f,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,u0(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Mt(t.type,a),s.props=u,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=bt(l):(l=tt(n)?Dr:$e.current,l=Do(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&fp(t,s,r,l),Ln=!1,f=t.memoizedState,s.state=f,Da(t,r,s,o);var x=t.memoizedState;a!==d||f!==x||et.current||Ln?(typeof h=="function"&&(xc(t,n,h,r),x=t.memoizedState),(u=Ln||dp(t,n,u,r,f,x,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,x,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,x,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),s.props=r,s.state=x,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Cc(e,t,n,r,i,o)}function Cc(e,t,n,r,o,i){O0(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&rp(t,n,!1),gn(e,t,i);r=t.stateNode,d2.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Oo(t,e.child,null,i),t.child=Oo(t,null,a,i)):He(e,t,a,i),t.memoizedState=r.state,o&&rp(t,n,!0),t.child}function I0(e){var t=e.stateNode;t.pendingContext?np(e,t.pendingContext,t.pendingContext!==t.context):t.context&&np(e,t.context,!1),Jd(e,t.containerInfo)}function xp(e,t,n,r,o){return Lo(),Gd(o),t.flags|=256,He(e,t,n,r),t.child}var Ec={dehydrated:null,treeContext:null,retryLane:0};function kc(e){return{baseLanes:e,cachePool:null,transitions:null}}function F0(e,t,n){var r=t.pendingProps,o=pe.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ie(pe,o&1),e===null)return yc(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):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=gl(s,r,0,null),e=Ar(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=kc(n),t.memoizedState=Ec,e):lf(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return f2(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Jn(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Jn(a,i):(i=Ar(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?kc(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Ec,r}return i=e.child,e=i.sibling,r=Jn(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 lf(e,t){return t=gl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Fs(e,t,n,r){return r!==null&&Gd(r),Oo(t,e.child,null,n),e=lf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function f2(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=hu(Error(j(422))),Fs(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=gl({mode:"visible",children:r.children},o,0,null),i=Ar(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Oo(t,e.child,null,s),t.child.memoizedState=kc(s),t.memoizedState=Ec,i);if(!(t.mode&1))return Fs(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(j(419)),r=hu(i,r,void 0),Fs(e,t,s,r)}if(a=(s&e.childLanes)!==0,Je||a){if(r=Ne,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,mn(e,o),Ft(r,e,o,-1))}return pf(),r=hu(Error(j(421))),Fs(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=k2.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,st=Qn(o.nextSibling),at=t,fe=!0,Ot=null,e!==null&&(pt[mt++]=cn,pt[mt++]=dn,pt[mt++]=Lr,cn=e.id,dn=e.overflow,Lr=t),t=lf(t,r.children),t.flags|=4096,t)}
vendor: 6,286 bytes, line 40
40function wp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),vc(e.return,t,n)}function pu(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function V0(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(He(e,t,r.children,n),r=pe.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&&wp(e,n,t);else if(e.tag===19)wp(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ie(pe,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&La(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),pu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&La(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}pu(t,!0,n,null,i);break;case"together":pu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ia(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function gn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ir|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=Jn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Jn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function h2(e,t,n){switch(t.tag){case 3:I0(t),Lo();break;case 5:c0(t);break;case 1:tt(t.type)&&Ra(t);break;case 4:Jd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ie(Aa,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(pe,pe.current&1),t.flags|=128,null):n&t.child.childLanes?F0(e,t,n):(ie(pe,pe.current&1),e=gn(e,t,n),e!==null?e.sibling:null);ie(pe,pe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return V0(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ie(pe,pe.current),r)break;return null;case 22:case 23:return t.lanes=0,L0(e,t,n)}return gn(e,t,n)}var _0,Tc,z0,B0;_0=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}};Tc=function(){};z0=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,br(Xt.current);var i=null;switch(n){case"input":o=Yu(e,o),r=Yu(e,r),i=[];break;case"select":o=ye({},o,{value:void 0}),r=ye({},r,{value:void 0}),i=[];break;case"textarea":o=Xu(e,o),r=Xu(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ta)}Ju(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ji.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ji.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&le("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};B0=function(e,t,n,r){n!==r&&(t.flags|=4)};function li(e,t){if(!fe)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 Ve(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function p2(e,t,n){var r=t.pendingProps;switch(Kd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ve(t),null;case 1:return tt(t.type)&&Pa(),Ve(t),null;case 3:return r=t.stateNode,Io(),ce(et),ce($e),tf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Os(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ot!==null&&(Lc(Ot),Ot=null))),Tc(e,t),Ve(t),null;case 5:ef(t);var o=br(Hi.current);if(n=t.type,e!==null&&t.stateNode!=null)z0(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return Ve(t),null}if(e=br(Xt.current),Os(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Yt]=t,r[$i]=i,e=(t.mode&1)!==0,n){case"dialog":le("cancel",r),le("close",r);break;case"iframe":case"object":case"embed":le("load",r);break;case"video":case"audio":for(o=0;o<gi.length;o++)le(gi[o],r);break;case"source":le("error",r);break;case"img":case"image":case"link":le("error",r),le("load",r);break;case"details":le("toggle",r);break;case"input":Nh(r,i),le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},le("invalid",r);break;case"textarea":Ah(r,i),le("invalid",r)}Ju(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];
vendor: 28,864 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Ls(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Ls(r.textContent,a,e),o=["children",""+a]):ji.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&le("scroll",r)}switch(n){case"input":Ts(r),Mh(r,i,!0);break;case"textarea":Ts(r),jh(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Ta)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=my(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Yt]=t,e[$i]=r,_0(e,t,!1,!1),t.stateNode=e;e:{switch(s=ec(n,r),n){case"dialog":le("cancel",e),le("close",e),o=r;break;case"iframe":case"object":case"embed":le("load",e),o=r;break;case"video":case"audio":for(o=0;o<gi.length;o++)le(gi[o],e);o=r;break;case"source":le("error",e),o=r;break;case"img":case"image":case"link":le("error",e),le("load",e),o=r;break;case"details":le("toggle",e),o=r;break;case"input":Nh(e,r),o=Yu(e,r),le("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ye({},r,{value:void 0}),le("invalid",e);break;case"textarea":Ah(e,r),o=Xu(e,r),le("invalid",e);break;default:o=r}Ju(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?vy(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&gy(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Di(e,l):typeof l=="number"&&Di(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(ji.hasOwnProperty(i)?l!=null&&i==="onScroll"&&le("scroll",e):l!=null&&Ad(e,i,l,s))}switch(n){case"input":Ts(e),Mh(e,r,!1);break;case"textarea":Ts(e),jh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+er(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?po(e,!!r.multiple,i,!1):r.defaultValue!=null&&po(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Ta)}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 Ve(t),null;case 6:if(e&&t.stateNode!=null)B0(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(j(166));if(n=br(Hi.current),br(Xt.current),Os(t)){if(r=t.stateNode,n=t.memoizedProps,r[Yt]=t,(i=r.nodeValue!==n)&&(e=at,e!==null))switch(e.tag){case 3:Ls(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ls(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Yt]=t,t.stateNode=r}return Ve(t),null;case 13:if(ce(pe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(fe&&st!==null&&t.mode&1&&!(t.flags&128))i0(),Lo(),t.flags|=98560,i=!1;else if(i=Os(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(j(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(j(317));i[Yt]=t}else Lo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ve(t),i=!1}else Ot!==null&&(Lc(Ot),Ot=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||pe.current&1?Te===0&&(Te=3):pf())),t.updateQueue!==null&&(t.flags|=4),Ve(t),null);case 4:return Io(),Tc(e,t),e===null&&zi(t.stateNode.containerInfo),Ve(t),null;case 10:return qd(t.type._context),Ve(t),null;case 17:return tt(t.type)&&Pa(),Ve(t),null;case 19:if(ce(pe),i=t.memoizedState,i===null)return Ve(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)li(i,!1);else{if(Te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=La(e),s!==null){for(t.flags|=128,li(i,!1),r=s.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,s=i.alternate,s===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=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ie(pe,pe.current&1|2),t.child}e=e.sibling}i.tail!==null&&we()>Vo&&(t.flags|=128,r=!0,li(i,!1),t.lanes=4194304)}else{if(!r)if(e=La(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),li(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!fe)return Ve(t),null}else 2*we()-i.renderingStartTime>Vo&&n!==1073741824&&(t.flags|=128,r=!0,li(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=we(),t.sibling=null,n=pe.current,ie(pe,r?n&1|2:n&1),t):(Ve(t),null);case 22:case 23:return hf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ot&1073741824&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function m2(e,t){switch(Kd(t),t.tag){case 1:return tt(t.type)&&Pa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Io(),ce(et),ce($e),tf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ef(t),null;case 13:if(ce(pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));Lo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ce(pe),null;case 4:return Io(),null;case 10:return qd(t.type._context),null;case 22:case 23:return hf(),null;case 24:return null;default:return null}}var Vs=!1,ze=!1,g2=typeof WeakSet=="function"?WeakSet:Set,_=null;function so(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){xe(e,t,r)}else n.current=null}function Pc(e,t,n){try{n()}catch(r){xe(e,t,r)}}var bp=!1;function y2(e,t){if(cc=Ca,e=Ky(),Hd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var h;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++u===o&&(a=s),f===i&&++c===r&&(l=s),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(dc={focusedElem:e,selectionRange:n},Ca=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;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 y=x.memoizedProps,w=x.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:Mt(t.type,y),w);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(S){xe(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return x=bp,bp=!1,x}function Ei(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Pc(t,n,i)}o=o.next}while(o!==r)}}function pl(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 Rc(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 $0(e){var t=e.alternate;t!==null&&(e.alternate=null,$0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Yt],delete t[$i],delete t[pc],delete t[JS],delete t[e2])),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 U0(e){return e.tag===5||e.tag===3||e.tag===4}function Sp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||U0(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 Nc(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=Ta));else if(r!==4&&(e=e.child,e!==null))for(Nc(e,t,n),e=e.sibling;e!==null;)Nc(e,t,n),e=e.sibling}function Mc(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(Mc(e,t,n),e=e.sibling;e!==null;)Mc(e,t,n),e=e.sibling}var Me=null,Lt=!1;function Pn(e,t,n){for(n=n.child;n!==null;)H0(e,t,n),n=n.sibling}function H0(e,t,n){if(qt&&typeof qt.onCommitFiberUnmount=="function")try{qt.onCommitFiberUnmount(sl,n)}catch{}switch(n.tag){case 5:ze||so(n,t);case 6:var r=Me,o=Lt;Me=null,Pn(e,t,n),Me=r,Lt=o,Me!==null&&(Lt?(e=Me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Me.removeChild(n.stateNode));break;case 18:Me!==null&&(Lt?(e=Me,n=n.stateNode,e.nodeType===8?au(e.parentNode,n):e.nodeType===1&&au(e,n),Fi(e)):au(Me,n.stateNode));break;case 4:r=Me,o=Lt,Me=n.stateNode.containerInfo,Lt=!0,Pn(e,t,n),Me=r,Lt=o;break;case 0:case 11:case 14:case 15:if(!ze&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Pc(n,t,s),o=o.next}while(o!==r)}Pn(e,t,n);break;case 1:if(!ze&&(so(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){xe(n,t,a)}Pn(e,t,n);break;case 21:Pn(e,t,n);break;case 22:n.mode&1?(ze=(r=ze)||n.memoizedState!==null,Pn(e,t,n),ze=r):Pn(e,t,n);break;default:Pn(e,t,n)}}function Cp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new g2),t.forEach(function(r){var o=T2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Tt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Me=a.stateNode,Lt=!1;break e;case 3:Me=a.stateNode.containerInfo,Lt=!0;break e;case 4:Me=a.stateNode.containerInfo,Lt=!0;break e}a=a.return}if(Me===null)throw Error(j(160));H0(i,s,o),Me=null,Lt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){xe(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)W0(t,e),t=t.sibling}function W0(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Tt(t,e),$t(e),r&4){try{Ei(3,e,e.return),pl(3,e)}catch(y){xe(e,e.return,y)}try{Ei(5,e,e.return)}catch(y){xe(e,e.return,y)}}break;case 1:Tt(t,e),$t(e),r&512&&n!==null&&so(n,n.return);break;case 5:if(Tt(t,e),$t(e),r&512&&n!==null&&so(n,n.return),e.flags&32){var o=e.stateNode;try{Di(o,"")}catch(y){xe(e,e.return,y)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&hy(o,i),ec(a,s);var u=ec(a,i);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?vy(o,d):c==="dangerouslySetInnerHTML"?gy(o,d):c==="children"?Di(o,d):Ad(o,c,d,u)}switch(a){case"input":Qu(o,i);break;case"textarea":py(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?po(o,!!i.multiple,h,!1):f!==!!i.multiple&&(i.defaultValue!=null?po(o,!!i.multiple,i.defaultValue,!0):po(o,!!i.multiple,i.multiple?[]:"",!1))}o[$i]=i}catch(y){xe(e,e.return,y)}}break;case 6:if(Tt(t,e),$t(e),r&4){if(e.stateNode===null)throw Error(j(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(y){xe(e,e.return,y)}}break;case 3:if(Tt(t,e),$t(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Fi(t.containerInfo)}catch(y){xe(e,e.return,y)}break;case 4:Tt(t,e),$t(e);break;case 13:Tt(t,e),$t(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(df=we())),r&4&&Cp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(ze=(u=ze)||c,Tt(t,e),ze=u):Tt(t,e),$t(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(_=e,c=e.child;c!==null;){for(d=_=c;_!==null;){switch(f=_,h=f.child,f.tag){case 0:case 11:case 14:case 15:Ei(4,f,f.return);break;case 1:so(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(y){xe(r,n,y)}}break;case 5:so(f,f.return);break;case 22:if(f.memoizedState!==null){kp(d);continue}}h!==null?(h.return=f,_=h):kp(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=yy("display",s))}catch(y){xe(e,e.return,y)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(y){xe(e,e.return,y)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Tt(t,e),$t(e),r&4&&Cp(e);break;case 21:break;default:Tt(t,e),$t(e)}}function $t(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(U0(n)){var r=n;break e}n=n.return}throw Error(j(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Di(o,""),r.flags&=-33);var i=Sp(e);Mc(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Sp(e);Nc(e,a,s);break;default:throw Error(j(161))}}catch(l){xe(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function v2(e,t,n){_=e,K0(e)}function K0(e,t,n){for(var r=(e.mode&1)!==0;_!==null;){var o=_,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Vs;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||ze;a=Vs;var u=ze;if(Vs=s,(ze=l)&&!u)for(_=o;_!==null;)s=_,l=s.child,s.tag===22&&s.memoizedState!==null?Tp(o):l!==null?(l.return=s,_=l):Tp(o);for(;i!==null;)_=i,K0(i),i=i.sibling;_=o,Vs=a,ze=u}Ep(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,_=i):Ep(e)}}function Ep(e){for(;_!==null;){var t=_;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ze||pl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ze)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Mt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&lp(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}lp(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.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 c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Fi(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}ze||t.flags&512&&Rc(t)}catch(f){xe(t,t.return,f)}}if(t===e){_=null;break}if(n=t.sibling,n!==null){n.return=t.return,_=n;break}_=t.return}}function kp(e){for(;_!==null;){var t=_;if(t===e){_=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_=n;break}_=t.return}}function Tp(e){for(;_!==null;){var t=_;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{pl(4,t)}catch(l){xe(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){xe(t,o,l)}}var i=t.return;try{Rc(t)}catch(l){xe(t,i,l)}break;case 5:var s=t.return;try{Rc(t)}catch(l){xe(t,s,l)}}}catch(l){xe(t,t.return,l)}if(t===e){_=null;break}var a=t.sibling;if(a!==null){a.return=t.return,_=a;break}_=t.return}}var x2=Math.ceil,Fa=wn.ReactCurrentDispatcher,uf=wn.ReactCurrentOwner,vt=wn.ReactCurrentBatchConfig,J=0,Ne=null,Ce=null,je=0,ot=0,ao=lr(0),Te=0,Yi=null,Ir=0,ml=0,cf=0,ki=null,Ze=null,df=0,Vo=1/0,an=null,Va=!1,Ac=null,Xn=null,_s=!1,Un=null,_a=0,Ti=0,jc=null,sa=-1,aa=0;function Ye(){return J&6?we():sa!==-1?sa:sa=we()}function Zn(e){return e.mode&1?J&2&&je!==0?je&-je:n2.transition!==null?(aa===0&&(aa=My()),aa):(e=re,e!==0||(e=window.event,e=e===void 0?16:Fy(e.type)),e):1}function Ft(e,t,n,r){if(50<Ti)throw Ti=0,jc=null,Error(j(185));ls(e,n,r),(!(J&2)||e!==Ne)&&(e===Ne&&(!(J&2)&&(ml|=n),Te===4&&In(e,je)),nt(e,r),n===1&&J===0&&!(t.mode&1)&&(Vo=we()+500,dl&&ur()))}function nt(e,t){var n=e.callbackNode;nS(e,t);var r=Sa(e,e===Ne?je:0);if(r===0)n!==null&&Oh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Oh(n),t===1)e.tag===0?t2(Pp.bind(null,e)):n0(Pp.bind(null,e)),XS(function(){!(J&6)&&ur()}),n=null;else{switch(Ay(r)){case 1:n=Id;break;case 4:n=Ry;break;case 16:n=ba;break;case 536870912:n=Ny;break;default:n=ba}n=ev(n,G0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function G0(e,t){if(sa=-1,aa=0,J&6)throw Error(j(327));var n=e.callbackNode;if(xo()&&e.callbackNode!==n)return null;var r=Sa(e,e===Ne?je:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=za(e,r);else{t=r;var o=J;J|=2;var i=Q0();(Ne!==e||je!==t)&&(an=null,Vo=we()+500,Mr(e,t));do try{S2();break}catch(a){Y0(e,a)}while(!0);Qd(),Fa.current=i,J=o,Ce!==null?t=0:(Ne=null,je=0,t=Te)}if(t!==0){if(t===2&&(o=ic(e),o!==0&&(r=o,t=Dc(e,o))),t===1)throw n=Yi,Mr(e,0),In(e,r),nt(e,we()),n;if(t===6)In(e,r);else{if(o=e.current.alternate,!(r&30)&&!w2(o)&&(t=za(e,r),t===2&&(i=ic(e),i!==0&&(r=i,t=Dc(e,i))),t===1))throw n=Yi,Mr(e,0),In(e,r),nt(e,we()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:yr(e,Ze,an);break;case 3:if(In(e,r),(r&130023424)===r&&(t=df+500-we(),10<t)){if(Sa(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Ye(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=hc(yr.bind(null,e,Ze,an),t);break}yr(e,Ze,an);break;case 4:if(In(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-It(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=we()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*x2(r/1960))-r,10<r){e.timeoutHandle=hc(yr.bind(null,e,Ze,an),r);break}yr(e,Ze,an);break;case 5:yr(e,Ze,an);break;default:throw Error(j(329))}}}return nt(e,we()),e.callbackNode===n?G0.bind(null,e):null}function Dc(e,t){var n=ki;return e.current.memoizedState.isDehydrated&&(Mr(e,t).flags|=256),e=za(e,t),e!==2&&(t=Ze,Ze=n,t!==null&&Lc(t)),e}function Lc(e){Ze===null?Ze=e:Ze.push.apply(Ze,e)}function w2(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!_t(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function In(e,t){for(t&=~cf,t&=~ml,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-It(t),r=1<<n;e[n]=-1,t&=~r}}function Pp(e){if(J&6)throw Error(j(327));xo();var t=Sa(e,0);if(!(t&1))return nt(e,we()),null;var n=za(e,t);if(e.tag!==0&&n===2){var r=ic(e);r!==0&&(t=r,n=Dc(e,r))}if(n===1)throw n=Yi,Mr(e,0),In(e,t),nt(e,we()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,yr(e,Ze,an),nt(e,we()),null}function ff(e,t){var n=J;J|=1;try{return e(t)}finally{J=n,J===0&&(Vo=we()+500,dl&&ur())}}function Fr(e){Un!==null&&Un.tag===0&&!(J&6)&&xo();var t=J;J|=1;var n=vt.transition,r=re;try{if(vt.transition=null,re=1,e)return e()}finally{re=r,vt.transition=n,J=t,!(J&6)&&ur()}}function hf(){ot=ao.current,ce(ao)}function Mr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,qS(n)),Ce!==null)for(n=Ce.return;n!==null;){var r=n;switch(Kd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Pa();break;case 3:Io(),ce(et),ce($e),tf();break;case 5:ef(r);break;case 4:Io();break;case 13:ce(pe);break;case 19:ce(pe);break;case 10:qd(r.type._context);break;case 22:case 23:hf()}n=n.return}if(Ne=e,Ce=e=Jn(e.current,null),je=ot=t,Te=0,Yi=null,cf=ml=Ir=0,Ze=ki=null,wr!==null){for(t=0;t<wr.length;t++)if(n=wr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}wr=null}return e}function Y0(e,t){do{var n=Ce;try{if(Qd(),ra.current=Ia,Oa){for(var r=ge.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Oa=!1}if(Or=0,Re=ke=ge=null,Ci=!1,Wi=0,uf.current=null,n===null||n.return===null){Te=1,Yi=t,Ce=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=je,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=pp(s);if(h!==null){h.flags&=-257,mp(h,s,a,i,t),h.mode&1&&hp(i,u,t),t=h,l=u;var x=t.updateQueue;if(x===null){var y=new Set;y.add(l),t.updateQueue=y}else x.add(l);break e}else{if(!(t&1)){hp(i,u,t),pf();break e}l=Error(j(426))}}else if(fe&&a.mode&1){var w=pp(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),mp(w,s,a,i,t),Gd(Fo(l,a));break e}}i=l=Fo(l,a),Te!==4&&(Te=2),ki===null?ki=[i]:ki.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=A0(i,l,t);ap(i,m);break e;case 1:a=l;var g=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof g.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Xn===null||!Xn.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=j0(i,a,t);ap(i,S);break e}}i=i.return}while(i!==null)}X0(n)}catch(C){t=C,Ce===n&&n!==null&&(Ce=n=n.return);continue}break}while(!0)}function Q0(){var e=Fa.current;return Fa.current=Ia,e===null?Ia:e}function pf(){(Te===0||Te===3||Te===2)&&(Te=4),Ne===null||!(Ir&268435455)&&!(ml&268435455)||In(Ne,je)}function za(e,t){var n=J;J|=2;var r=Q0();(Ne!==e||je!==t)&&(an=null,Mr(e,t));do try{b2();break}catch(o){Y0(e,o)}while(!0);if(Qd(),J=n,Fa.current=r,Ce!==null)throw Error(j(261));return Ne=null,je=0,Te}function b2(){for(;Ce!==null;)q0(Ce)}function S2(){for(;Ce!==null&&!Gb();)q0(Ce)}function q0(e){var t=J0(e.alternate,e,ot);e.memoizedProps=e.pendingProps,t===null?X0(e):Ce=t,uf.current=null}function X0(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=m2(n,t),n!==null){n.flags&=32767,Ce=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Te=6,Ce=null;return}}else if(n=p2(n,t,ot),n!==null){Ce=n;return}if(t=t.sibling,t!==null){Ce=t;return}Ce=t=e}while(t!==null);Te===0&&(Te=5)}function yr(e,t,n){var r=re,o=vt.transition;try{vt.transition=null,re=1,C2(e,t,n,r)}finally{vt.transition=o,re=r}return null}function C2(e,t,n,r){do xo();while(Un!==null);if(J&6)throw Error(j(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(j(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(rS(e,i),e===Ne&&(Ce=Ne=null,je=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||_s||(_s=!0,ev(ba,function(){return xo(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=vt.transition,vt.transition=null;var s=re;re=1;var a=J;J|=4,uf.current=null,y2(e,n),W0(n,e),US(dc),Ca=!!cc,dc=cc=null,e.current=n,v2(n),Yb(),J=a,re=s,vt.transition=i}else e.current=n;if(_s&&(_s=!1,Un=e,_a=o),i=e.pendingLanes,i===0&&(Xn=null),Xb(n.stateNode),nt(e,we()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Va)throw Va=!1,e=Ac,Ac=null,e;return _a&1&&e.tag!==0&&xo(),i=e.pendingLanes,i&1?e===jc?Ti++:(Ti=0,jc=e):Ti=0,ur(),null}function xo(){if(Un!==null){var e=Ay(_a),t=vt.transition,n=re;try{if(vt.transition=null,re=16>e?16:e,Un===null)var r=!1;else{if(e=Un,Un=null,_a=0,J&6)throw Error(j(331));var o=J;for(J|=4,_=e.current;_!==null;){var i=_,s=i.child;if(_.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(_=u;_!==null;){var c=_;switch(c.tag){case 0:case 11:case 15:Ei(8,c,i)}var d=c.child;if(d!==null)d.return=c,_=d;else for(;_!==null;){c=_;var f=c.sibling,h=c.return;if($0(c),c===u){_=null;break}if(f!==null){f.return=h,_=f;break}_=h}}}var x=i.alternate;if(x!==null){var y=x.child;if(y!==null){x.child=null;do{var w=y.sibling;y.sibling=null,y=w}while(y!==null)}}_=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,_=s;else e:for(;_!==null;){if(i=_,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Ei(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,_=m;break e}_=i.return}}var g=e.current;for(_=g;_!==null;){s=_;var v=s.child;if(s.subtreeFlags&2064&&v!==null)v.return=s,_=v;else e:for(s=g;_!==null;){if(a=_,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:pl(9,a)}}catch(C){xe(a,a.return,C)}if(a===s){_=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,_=S;break e}_=a.return}}if(J=o,ur(),qt&&typeof qt.onPostCommitFiberRoot=="function")try{qt.onPostCommitFiberRoot(sl,e)}catch{}r=!0}return r}finally{re=n,vt.transition=t}}return!1}function Rp(e,t,n){t=Fo(n,t),t=A0(e,t,1),e=qn(e,t,1),t=Ye(),e!==null&&(ls(e,1,t),nt(e,t))}function xe(e,t,n){if(e.tag===3)Rp(e,e,n);else for(;t!==null;){if(t.tag===3){Rp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Xn===null||!Xn.has(r))){e=Fo(n,e),e=j0(t,e,1),t=qn(t,e,1),e=Ye(),t!==null&&(ls(t,1,e),nt(t,e));break}}t=t.return}}function E2(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ye(),e.pingedLanes|=e.suspendedLanes&n,Ne===e&&(je&n)===n&&(Te===4||Te===3&&(je&130023424)===je&&500>we()-df?Mr(e,0):cf|=n),nt(e,t)}function Z0(e,t){t===0&&(e.mode&1?(t=Ns,Ns<<=1,!(Ns&130023424)&&(Ns=4194304)):t=1);var n=Ye();e=mn(e,t),e!==null&&(ls(e,t,n),nt(e,n))}function k2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Z0(e,n)}function T2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(j(314))}r!==null&&r.delete(t),Z0(e,n)}var J0;J0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||et.current)Je=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Je=!1,h2(e,t,n);Je=!!(e.flags&131072)}else Je=!1,fe&&t.flags&1048576&&r0(t,Ma,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ia(e,t),e=t.pendingProps;var o=Do(t,$e.current);vo(t,n),o=rf(null,t,r,e,o,n);var i=of();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,tt(r)?(i=!0,Ra(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Zd(t),o.updater=hl,t.stateNode=o,o._reactInternals=t,wc(t,r,e,n),t=Cc(null,t,r,!0,i,n)):(t.tag=0,fe&&i&&Wd(t),He(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ia(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=R2(r),e=Mt(r,e),o){case 0:t=Sc(null,t,r,e,n);break e;case 1:t=vp(null,t,r,e,n);break e;case 11:t=gp(null,t,r,e,n);break e;case 14:t=yp(null,t,r,Mt(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Mt(r,o),Sc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Mt(r,o),vp(e,t,r,o,n);case 3:e:{if(I0(t),e===null)throw Error(j(387));
vendor: 7,995 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,o=i.element,u0(e,t),Da(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Fo(Error(j(423)),t),t=xp(e,t,r,n,o);break e}else if(r!==o){o=Fo(Error(j(424)),t),t=xp(e,t,r,n,o);break e}else for(st=Qn(t.stateNode.containerInfo.firstChild),at=t,fe=!0,Ot=null,n=a0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Lo(),r===o){t=gn(e,t,n);break e}He(e,t,r,n)}t=t.child}return t;case 5:return c0(t),e===null&&yc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,fc(r,o)?s=null:i!==null&&fc(r,i)&&(t.flags|=32),O0(e,t),He(e,t,s,n),t.child;case 6:return e===null&&yc(t),null;case 13:return F0(e,t,n);case 4:return Jd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Oo(t,null,r,n):He(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Mt(r,o),gp(e,t,r,o,n);case 7:return He(e,t,t.pendingProps,n),t.child;case 8:return He(e,t,t.pendingProps.children,n),t.child;case 12:return He(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,ie(Aa,r._currentValue),r._currentValue=s,i!==null)if(_t(i.value,s)){if(i.children===o.children&&!et.current){t=gn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=fn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),vc(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(j(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),vc(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}He(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,vo(t,n),o=bt(o),r=r(o),t.flags|=1,He(e,t,r,n),t.child;case 14:return r=t.type,o=Mt(r,t.pendingProps),o=Mt(r.type,o),yp(e,t,r,o,n);case 15:return D0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Mt(r,o),ia(e,t),t.tag=1,tt(r)?(e=!0,Ra(t)):e=!1,vo(t,n),M0(t,r,o),wc(t,r,o,n),Cc(null,t,r,!0,e,n);case 19:return V0(e,t,n);case 22:return L0(e,t,n)}throw Error(j(156,t.tag))};function ev(e,t){return Py(e,t)}function P2(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 gt(e,t,n,r){return new P2(e,t,n,r)}function mf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function R2(e){if(typeof e=="function")return mf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Dd)return 11;if(e===Ld)return 14}return 2}function Jn(e,t){var n=e.alternate;return n===null?(n=gt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function la(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")mf(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Xr:return Ar(n.children,o,i,t);case jd:s=8,o|=8;break;case Hu:return e=gt(12,n,t,o|2),e.elementType=Hu,e.lanes=i,e;case Wu:return e=gt(13,n,t,o),e.elementType=Wu,e.lanes=i,e;case Ku:return e=gt(19,n,t,o),e.elementType=Ku,e.lanes=i,e;case cy:return gl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ly:s=10;break e;case uy:s=9;break e;case Dd:s=11;break e;case Ld:s=14;break e;case Dn:s=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=gt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Ar(e,t,n,r){return e=gt(7,e,r,t),e.lanes=n,e}function gl(e,t,n,r){return e=gt(22,e,r,t),e.elementType=cy,e.lanes=n,e.stateNode={isHidden:!1},e}function mu(e,t,n){return e=gt(6,e,null,t),e.lanes=n,e}function gu(e,t,n){return t=gt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function N2(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ql(0),this.expirationTimes=ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ql(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function gf(e,t,n,r,o,i,s,a,l){return e=new N2(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=gt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zd(i),e}function M2(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:qr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function tv(e){if(!e)return tr;e=e._reactInternals;e:{if(Br(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(tt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(tt(n))return t0(e,n,t)}return t}function nv(e,t,n,r,o,i,s,a,l){return e=gf(n,r,!0,e,o,i,s,a,l),e.context=tv(null),n=e.current,r=Ye(),o=Zn(n),i=fn(r,o),i.callback=t??null,qn(n,i,o),e.current.lanes=o,ls(e,o,r),nt(e,r),e}function yl(e,t,n,r){var o=t.current,i=Ye(),s=Zn(o);return n=tv(n),t.context===null?t.context=n:t.pendingContext=n,t=fn(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=qn(o,t,s),e!==null&&(Ft(e,o,s,i),na(e,o,s)),s}function Ba(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 Np(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function yf(e,t){Np(e,t),(e=e.alternate)&&Np(e,t)}function A2(){return null}var rv=typeof reportError=="function"?reportError:function(e){console.error(e)};function vf(e){this._internalRoot=e}vl.prototype.render=vf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));yl(e,t,null,null)};vl.prototype.unmount=vf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Fr(function(){yl(null,e,null,null)}),t[pn]=null}};function vl(e){this._internalRoot=e}vl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ly();e={blockedOn:null,target:e,priority:t};for(var n=0;n<On.length&&t!==0&&t<On[n].priority;n++);On.splice(n,0,e),n===0&&Iy(e)}};function xf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function xl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Mp(){}function j2(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Ba(s);i.call(u)}}var s=nv(t,r,e,0,null,!1,!1,"",Mp);
vendor: 5,021 bytes, line 40
40return e._reactRootContainer=s,e[pn]=s.current,zi(e.nodeType===8?e.parentNode:e),Fr(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=Ba(l);a.call(u)}}var l=gf(e,0,!1,null,null,!1,!1,"",Mp);return e._reactRootContainer=l,e[pn]=l.current,zi(e.nodeType===8?e.parentNode:e),Fr(function(){yl(t,l,n,r)}),l}function wl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=Ba(s);a.call(l)}}yl(t,s,e,o)}else s=j2(n,t,e,o,r);return Ba(s)}jy=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=mi(t.pendingLanes);n!==0&&(Fd(t,n|1),nt(t,we()),!(J&6)&&(Vo=we()+500,ur()))}break;case 13:Fr(function(){var r=mn(e,1);if(r!==null){var o=Ye();Ft(r,e,1,o)}}),yf(e,1)}};Vd=function(e){if(e.tag===13){var t=mn(e,134217728);if(t!==null){var n=Ye();Ft(t,e,134217728,n)}yf(e,134217728)}};Dy=function(e){if(e.tag===13){var t=Zn(e),n=mn(e,t);if(n!==null){var r=Ye();Ft(n,e,t,r)}yf(e,t)}};Ly=function(){return re};Oy=function(e,t){var n=re;try{return re=e,t()}finally{re=n}};nc=function(e,t,n){switch(t){case"input":if(Qu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=cl(r);if(!o)throw Error(j(90));fy(r),Qu(r,o)}}}break;case"textarea":py(e,n);break;case"select":t=n.value,t!=null&&po(e,!!n.multiple,t,!1)}};by=ff;Sy=Fr;var D2={usingClientEntryPoint:!1,Events:[cs,to,cl,xy,wy,ff]},ui={findFiberByHostInstance:xr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},L2={bundleType:ui.bundleType,version:ui.version,rendererPackageName:ui.rendererPackageName,rendererConfig:ui.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ky(e),e===null?null:e.stateNode},findFiberByHostInstance:ui.findFiberByHostInstance||A2,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 zs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zs.isDisabled&&zs.supportsFiber)try{sl=zs.inject(L2),qt=zs}catch{}}ct.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D2;ct.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!xf(t))throw Error(j(200));return M2(e,t,null,n)};ct.createRoot=function(e,t){if(!xf(e))throw Error(j(299));var n=!1,r="",o=rv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=gf(e,1,!1,null,null,n,!1,r,o),e[pn]=t.current,zi(e.nodeType===8?e.parentNode:e),new vf(t)};ct.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(j(188)):(e=Object.keys(e).join(","),Error(j(268,e)));return e=ky(t),e=e===null?null:e.stateNode,e};ct.flushSync=function(e){return Fr(e)};ct.hydrate=function(e,t,n){if(!xl(t))throw Error(j(200));return wl(null,e,t,!0,n)};ct.hydrateRoot=function(e,t,n){if(!xf(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=rv;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=nv(t,null,e,1,n??null,o,!1,i,s),e[pn]=t.current,zi(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new vl(t)};ct.render=function(e,t,n){if(!xl(t))throw Error(j(200));return wl(null,e,t,!1,n)};ct.unmountComponentAtNode=function(e){if(!xl(e))throw Error(j(40));return e._reactRootContainer?(Fr(function(){wl(null,null,e,!1,function(){e._reactRootContainer=null,e[pn]=null})}),!0):!1};ct.unstable_batchedUpdates=ff;ct.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!xl(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return wl(e,t,n,!1,r)};ct.version="18.3.1-next-f1338f8080-20240426";function ov(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ov)}catch(e){console.error(e)}}ov(),oy.exports=ct;var fs=oy.exports;const iv=Wg(fs);var sv,Ap=fs;sv=Ap.createRoot,Ap.hydrateRoot;const O2=1,I2=1e6;let yu=0;function F2(){return yu=(yu+1)%Number.MAX_SAFE_INTEGER,yu.toString()}const vu=new Map,jp=e=>{if(vu.has(e))return;const t=setTimeout(()=>{vu.delete(e),Pi({type:"REMOVE_TOAST",toastId:e})},I2);vu.set(e,t)},V2=(e,t)=>
40{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,O2)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?jp(n):e.toasts.forEach(r=>{jp(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)}}},ua=[];let ca={toasts:[]};function Pi(e){ca=V2(ca,e),ua.forEach(t=>{t(ca)})}function _2({...e}){const t=F2(),n=o=>Pi({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Pi({type:"DISMISS_TOAST",toastId:t});return Pi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function z2(){const[e,t]=b.useState(ca);return b.useEffect(()=>(ua.push(t),()=>{const n=ua.indexOf(t);n>-1&&ua.splice(n,1)}),[e]),{...e,toast:_2,dismiss:n=>Pi({type:"DISMISS_TOAST",toastId:n})}}function ue(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Dp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function av(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Dp(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():Dp(e[o],null)}}}}function Le(...e){return b.useCallback(av(...e),e)}function hs(e,t=[]){let n=[];function r(i,s){const a=b.createContext(s),l=n.length;n=[...n,s];const u=d=>{var m;const{scope:f,children:h,...x}=d,y=((m=f==null?void 0:f[e])==null?void 0:m[l])||a,w=b.useMemo(()=>x,Object.values(x));return p.jsx(y.Provider,{value:w,children:h})};u.displayName=i+"Provider";function c(d,f){var y;const h=((y=f==null?void 0:f[e])==null?void 0:y[l])||a,x=b.useContext(h);if(x)return x;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,c]}const o=()=>{const i=n.map(s=>b.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,B2(o,...t)]}function B2(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Oc(e){const t=$2(e),n=b.forwardRef((r,o)=>{const{children:i,...s}=r,a=b.Children.toArray(i),l=a.find(H2);if(l){const u=l.props.children,c=a.map(d=>d===l?b.Children.count(u)>1?b.Children.only(null):b.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...s,ref:o,children:b.isValidElement(u)?b.cloneElement(u,void 0,c):null})}return p.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function $2(e){const t=b.forwardRef((n,r)=>{const{children:o,...i}=n;if(b.isValidElement(o)){const s=K2(o),a=W2(i,o.props);return o.type!==b.Fragment&&(a.ref=r?av(r,s):s),b.cloneElement(o,a)}return b.Children.count(o)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var lv=Symbol("radix.slottable");function U2(e){const t=({children:n})=>p.jsx(p.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=lv,t}function H2(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===lv}function W2(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const l=i(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function K2(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function uv(e){const t=e+"CollectionProvider",[n,r]=hs(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=y=>{const{scope:w,children:m}=y,g=D.useRef(null),v=D.useRef(new Map).current;return p.jsx(o,{scope:w,itemMap:v,collectionRef:g,children:m})};s.displayName=t;const a=e+"CollectionSlot",l=Oc(a),u=D.forwardRef((y,w)=>{const{scope:m,children:g}=y,v=i(a,m),S=Le(w,v.collectionRef);return p.jsx(l,{ref:S,children:g})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",f=Oc(c),h=D.forwardRef((y,w)=>{const{scope:m,children:g,...v}=y,S=D.useRef(null),C=Le(w,S),E=i(c,m);return D.useEffect(()=>(E.itemMap.set(S,{ref:S,...v}),()=>void E.itemMap.delete(S))),p.jsx(f,{[d]:"",ref:C,children:g})});h.displayName=c;function x(y){const w=i(e+"CollectionConsumer",y);return D.useCallback(()=>{const g=w.collectionRef.current;if(!g)return[];const v=Array.from(g.querySelectorAll(`[${d}]`));return Array.from(w.itemMap.values()).sort((E,k)=>v.indexOf(E.ref.current)-v.indexOf(k.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:s,Slot:u,ItemSlot:h},x,r]}var G2=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Pe=G2.reduce((e,t)=>
vendor: 8,608 bytes, line 40
40{const n=Oc(`Primitive.${t}`),r=b.forwardRef((o,i)=>{const{asChild:s,...a}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function cv(e,t){e&&fs.flushSync(()=>e.dispatchEvent(t))}function nr(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Y2(e,t=globalThis==null?void 0:globalThis.document){const n=nr(e);b.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Q2="DismissableLayer",Ic="dismissableLayer.update",q2="dismissableLayer.pointerDownOutside",X2="dismissableLayer.focusOutside",Lp,dv=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),wf=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=b.useContext(dv),[c,d]=b.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=b.useState({}),x=Le(t,k=>d(k)),y=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=y.indexOf(w),g=c?y.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,S=g>=m,C=J2(k=>{const T=k.target,M=[...u.branches].some(A=>A.contains(T));!S||M||(o==null||o(k),s==null||s(k),k.defaultPrevented||a==null||a())},f),E=eC(k=>{const T=k.target;[...u.branches].some(A=>A.contains(T))||(i==null||i(k),s==null||s(k),k.defaultPrevented||a==null||a())},f);return Y2(k=>{g===u.layers.size-1&&(r==null||r(k),!k.defaultPrevented&&a&&(k.preventDefault(),a()))},f),b.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Lp=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Op(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Lp)}},[c,f,n,u]),b.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Op())},[c,u]),b.useEffect(()=>{const k=()=>h({});return document.addEventListener(Ic,k),()=>document.removeEventListener(Ic,k)},[]),p.jsx(Pe.div,{...l,ref:x,style:{pointerEvents:v?S?"auto":"none":void 0,...e.style},onFocusCapture:ue(e.onFocusCapture,E.onFocusCapture),onBlurCapture:ue(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:ue(e.onPointerDownCapture,C.onPointerDownCapture)})});wf.displayName=Q2;var Z2="DismissableLayerBranch",fv=b.forwardRef((e,t)=>{const n=b.useContext(dv),r=b.useRef(null),o=Le(t,r);return b.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),p.jsx(Pe.div,{...e,ref:o})});fv.displayName=Z2;function J2(e,t=globalThis==null?void 0:globalThis.document){const n=nr(e),r=b.useRef(!1),o=b.useRef(()=>{});return b.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){hv(q2,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function eC(e,t=globalThis==null?void 0:globalThis.document){const n=nr(e),r=b.useRef(!1);return b.useEffect(()=>{const o=i=>{i.target&&!r.current&&hv(X2,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Op(){const e=new CustomEvent(Ic);document.dispatchEvent(e)}function hv(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?cv(o,i):o.dispatchEvent(i)}var tC=wf,nC=fv,rr=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},rC="Portal",pv=b.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=b.useState(!1);rr(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?iv.createPortal(p.jsx(Pe.div,{...r,ref:t}),s):null});pv.displayName=rC;function oC(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var bf=e=>{const{present:t,children:n}=e,r=iC(t),o=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),i=Le(r.ref,sC(o));return typeof n=="function"||r.isPresent?b.cloneElement(o,{ref:i}):null};bf.displayName="Presence";function iC(e){const[t,n]=b.useState(),r=b.useRef(null),o=b.useRef(e),i=b.useRef("none"),s=e?"mounted":"unmounted",[a,l]=oC(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const u=Bs(r.current);i.current=a==="mounted"?u:"none"},[a]),rr(()=>{const u=r.current,c=o.current;if(c!==e){const f=i.current,h=Bs(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),rr(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=h=>{const y=Bs(r.current).includes(h.animationName);if(h.target===t&&y&&(l("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},f=h=>{h.target===t&&(i.current=Bs(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:b.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Bs(e){return(e==null?void 0:e.animationName)||"none"}function sC(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var aC=ny[" useInsertionEffect ".trim().toString()]||rr;function mv({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=lC({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const c=b.useRef(e!==void 0);b.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"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.`),c.current=a},[a,r])}const u=b.useCallback(c=>{var d;if(a){const f=uC(c)?c(e):c;f!==e&&((d=s.current)==null||d.call(s,f))}else i(c)},[a,e,i,s]);return[l,u]}function lC({defaultProp:e,onChange:t}){const[n,r]=b.useState(e),o=b.useRef(n),i=b.useRef(t);return aC(()=>{i.current=t},[t]),b.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function uC(e){return typeof e=="function"}var cC=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"}),dC="VisuallyHidden",bl=b.forwardRef((e,t)=>p.jsx(Pe.span,{...e,ref:t,style:{...cC,...e.style}}));bl.displayName=dC;var fC=bl,Sf="ToastProvider",[Cf,hC,pC]=uv("Toast"),[gv,s5]=hs("Toast",[pC]),[mC,Sl]=gv(Sf),yv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,l]=b.useState(null),[u,c]=b.useState(0),d=b.useRef(!1),f=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Sf}\`. Expected non-empty \`string\`.`),p.jsx(Cf.Provider,{scope:t,children:p.jsx(mC,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:b.useCallback(()=>c(h=>h+1),[]),onToastRemove:b.useCallback(()=>c(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:s})})};yv.displayName=Sf;var vv="ToastViewport",gC=["F8"],Fc="toast.viewportPause",Vc="toast.viewportResume",xv=b.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=gC,label:o="Notifications ({hotkey})",...i}=e,s=Sl(vv,n),a=hC(n),l=b.useRef(null),u=b.useRef(null),c=b.useRef(null),d=b.useRef(null),f=Le(t,d,s.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=s.toastCount>0;b.useEffect(()=>{const w=m=>{var v;r.length!==0&&r.every(S=>m[S]||m.code===S)&&((v=d.current)==null||v.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),b.useEffect(()=>{const w=l.current,m=d.current;if(x&&w&&m){const g=()=>{if(!s.isClosePausedRef.current){const E=new CustomEvent(Fc);m.dispatchEvent(E),s.isClosePausedRef.current=!0}},v=()=>{if(s.isClosePausedRef.current){const E=new CustomEvent(Vc);m.dispatchEvent(E),s.isClosePausedRef.current=!1}},S=E=>{!w.contains(E.relatedTarget)&&v()},C=()=>{w.contains(document.activeElement)||v()};return w.addEventListener("focusin",g),w.addEventListener("focusout",S),w.addEventListener("pointermove",g),w.addEventListener("pointerleave",C),window.addEventListener("blur",g),window.addEventListener("focus",v),()=>{w.removeEventListener("focusin",g),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",g),w.removeEventListener("pointerleave",C),window.removeEventListener("blur",g),window.removeEventListener("focus",v)}}},[x,s.isClosePausedRef]);const y=b.useCallback(({tabbingDirection:w})=>{const g=a().map(v=>{const S=v.ref.current,C=[S,...NC(S)];return w==="forwards"?C:C.reverse()});return(w==="forwards"?g.reverse():g).flat()},[a]);return b.useEffect(()=>{const w=d.current;if(w){const m=g=>{var C,E,k;const v=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!v){const T=document.activeElement,M=g.shiftKey;if(g.target===w&&M){(C=u.current)==null||C.focus();return}const L=y({tabbingDirection:M?"backwards":"forwards"}),U=L.findIndex(O=>O===T);xu(L.slice(U+1))?g.preventDefault():M?(E=u.current)==null||E.focus():(k=c.current)==null||k.focus()}};return w.addEventListener("keydown",m),()=>w.removeEventListener("keydown",m)}},[a,y]),p.jsxs(nC,{ref:l,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&p.jsx(_c,{ref:u,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"forwards"});xu(w)}}),p.jsx(Cf.Slot,{scope:n,children:p.jsx(Pe.ol,{tabIndex:-1,...i,ref:f})}),x&&p.jsx(_c,{ref:c,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"backwards"});xu(w)}})]})});xv.displayName=vv;var wv="ToastFocusProxy",_c=b.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=Sl(wv,n);return p.jsx(bl,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});_c.displayName=wv;var ps="Toast",yC="toast.swipeStart",vC="toast.swipeMove",xC="toast.swipeCancel",wC="toast.swipeEnd",bv=b.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a,l]=mv({prop:r,defaultProp:o??!0,onChange:i,caller:ps});return p.jsx(bf,{present:n||a,children:p.jsx(CC,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:nr(e.onPause),onResume:nr(e.onResume),onSwipeStart:ue(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ue(e.onSwipeMove,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:ue(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:ue(e.onSwipeEnd,u=>{const{x:c,y:d}=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",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});bv.displayName=ps;var[bC,SC]=gv(ps,{onClose(){}}
40),CC=b.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:h,...x}=e,y=Sl(ps,n),[w,m]=b.useState(null),g=Le(t,O=>m(O)),v=b.useRef(null),S=b.useRef(null),C=o||y.duration,E=b.useRef(0),k=b.useRef(C),T=b.useRef(0),{onToastAdd:M,onToastRemove:A}=y,F=nr(()=>{var K;(w==null?void 0:w.contains(document.activeElement))&&((K=y.viewport)==null||K.focus()),s()}),L=b.useCallback(O=>{!O||O===1/0||(window.clearTimeout(T.current),E.current=new Date().getTime(),T.current=window.setTimeout(F,O))},[F]);b.useEffect(()=>{const O=y.viewport;if(O){const K=()=>{L(k.current),u==null||u()},B=()=>{const V=new Date().getTime()-E.current;k.current=k.current-V,window.clearTimeout(T.current),l==null||l()};return O.addEventListener(Fc,B),O.addEventListener(Vc,K),()=>{O.removeEventListener(Fc,B),O.removeEventListener(Vc,K)}}},[y.viewport,C,l,u,L]),b.useEffect(()=>{i&&!y.isClosePausedRef.current&&L(C)},[i,C,y.isClosePausedRef,L]),b.useEffect(()=>(M(),()=>A()),[M,A]);const U=b.useMemo(()=>w?Rv(w):null,[w]);return y.viewport?p.jsxs(p.Fragment,{children:[U&&p.jsx(EC,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:U}),p.jsx(bC,{scope:n,onClose:F,children:fs.createPortal(p.jsx(Cf.ItemSlot,{scope:n,children:p.jsx(tC,{asChild:!0,onEscapeKeyDown:ue(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||F(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:p.jsx(Pe.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":y.swipeDirection,...x,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ue(e.onKeyDown,O=>{O.key==="Escape"&&(a==null||a(O.nativeEvent),O.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,F()))}),onPointerDown:ue(e.onPointerDown,O=>{O.button===0&&(v.current={x:O.clientX,y:O.clientY})}),onPointerMove:ue(e.onPointerMove,O=>{if(!v.current)return;const K=O.clientX-v.current.x,B=O.clientY-v.current.y,V=!!S.current,P=["left","right"].includes(y.swipeDirection),N=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,I=P?N(0,K):0,W=P?0:N(0,B),$=O.pointerType==="touch"?10:2,q={x:I,y:W},Z={originalEvent:O,delta:q};V?(S.current=q,$s(vC,d,Z,{discrete:!1})):Ip(q,y.swipeDirection,$)?(S.current=q,$s(yC,c,Z,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(K)>$||Math.abs(B)>$)&&(v.current=null)}),onPointerUp:ue(e.onPointerUp,O=>{const K=S.current,B=O.target;if(B.hasPointerCapture(O.pointerId)&&B.releasePointerCapture(O.pointerId),S.current=null,v.current=null,K){const V=O.currentTarget,P={originalEvent:O,delta:K};Ip(K,y.swipeDirection,y.swipeThreshold)?$s(wC,h,P,{discrete:!0}):$s(xC,f,P,{discrete:!0}),V.addEventListener("click",N=>N.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),EC=e=>{const{__scopeToast:t,children:n,...r}=e,o=Sl(ps,t),[i,s]=b.useState(!1),[a,l]=b.useState(!1);return PC(()=>s(!0)),b.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:p.jsx(pv,{asChild:!0,children:p.jsx(bl,{...r,children:i&&p.jsxs(p.Fragment,{children:[o.label," ",n]})})})},kC="ToastTitle",Sv=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(Pe.div,{...r,ref:t})});Sv.displayName=kC;var TC="ToastDescription",Cv=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(Pe.div,{...r,ref:t})});Cv.displayName=TC;var Ev="ToastAction",kv=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?p.jsx(Pv,{altText:n,asChild:!0,children:p.jsx(Ef,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Ev}\`. Expected non-empty \`string\`.`),null)});kv.displayName=Ev;var Tv="ToastClose",Ef=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=SC(Tv,n);return p.jsx(Pv,{asChild:!0,children:p.jsx(Pe.button,{type:"button",...r,ref:t,onClick:ue(e.onClick,o.onClose)})})});Ef.displayName=Tv;var Pv=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return p.jsx(Pe.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Rv(e){const t=[];
vendor: 12,951 bytes, lines 40-175
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),RC(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Rv(r))}}),t}function $s(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?cv(o,i):o.dispatchEvent(i)}var Ip=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function PC(e=()=>{}){const t=nr(e);rr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function RC(e){return e.nodeType===e.ELEMENT_NODE}function NC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function xu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var MC=yv,Nv=xv,Mv=bv,Av=Sv,jv=Cv,Dv=kv,Lv=Ef;function Ov(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Ov(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Iv(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ov(e))&&(r&&(r+=" "),r+=t);return r}const Fp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Vp=Iv,AC=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Vp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],d=i==null?void 0:i[u];if(c===null)return null;const f=Fp(c)||Fp(d);return o[u][f]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:f,...h}=c;return Object.entries(h).every(x=>{let[y,w]=x;return Array.isArray(w)?w.includes({...i,...a}[y]):{...i,...a}[y]===w})?[...u,d,f]:u},[]);return Vp(e,s,l,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 jC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Fv=(...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 DC={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 LC=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},l)=>b.createElement("svg",{ref:l,...DC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Fv("lucide",o),...a},[...s.map(([u,c])=>b.createElement(u,c)),...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 H=(e,t)=>{const n=b.forwardRef(({className:r,...o},i)=>b.createElement(LC,{ref:i,iconNode:t,className:Fv(`lucide-${jC(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const $a=H("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
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 Vv=H("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"}]]);/**
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 OC=H("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"}]]);/**
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 IC=H("Bed",[["path",{d:"M2 4v16",key:"vw9hq8"}],["path",{d:"M2 8h18a2 2 0 0 1 2 2v10",key:"1dgv2r"}],["path",{d:"M2 17h20",key:"18nfp3"}],["path",{d:"M6 8v9",key:"1yriud"}]]);/**
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 FC=H("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/**
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 VC=H("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/**
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 _p=H("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"}]]);/**
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 _C=H("Car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);/**
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 _v=H("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
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 zv=H("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
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 Bv=H("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
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 $v=H("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
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 zC=H("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
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 BC=H("Coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);/**
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 $C=H("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
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 UC=H("Dumbbell",[["path",{d:"M14.4 14.4 9.6 9.6",key:"ic80wn"}],["path",{d:"M18.657 21.485a2 2 0 1 1-2.829-2.828l-1.767 1.768a2 2 0 1 1-2.829-2.829l6.364-6.364a2 2 0 1 1 2.829 2.829l-1.768 1.767a2 2 0 1 1 2.828 2.829z",key:"nnl7wr"}],["path",{d:"m21.5 21.5-1.4-1.4",key:"1f1ice"}],["path",{d:"M3.9 3.9 2.5 2.5",key:"1evmna"}],["path",{d:"M6.404 12.768a2 2 0 1 1-2.829-2.829l1.768-1.767a2 2 0 1 1-2.828-2.829l2.828-2.828a2 2 0 1 1 2.829 2.828l1.767-1.768a2 2 0 1 1 2.829 2.829z",key:"yhosts"}]]);/**
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 Uv=H("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
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 HC=H("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"}]]);/**
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 zp=H("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
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 WC=H("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/**
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 Hv=H("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
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 KC=H("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const GC=H("Hospital",[["path",{d:"M12 6v4",key:"16clxf"}],["path",{d:"M14 14h-4",key:"esezmu"}
175],["path",{d:"M14 18h-4",key:"16mqa2"}],["path",{d:"M14 8h-4",key:"z8ypaz"}],["path",{d:"M18 12h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2",key:"b1k337"}],["path",{d:"M18 22V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v18",key:"16g51d"}]]);/**
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 wu=H("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"}]]);/**
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 YC=H("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"}]]);/**
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 Bp=H("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
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 Vr=H("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"}]]);/**
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 Ko=H("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"}]]);/**
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 QC=H("Maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);/**
206 * @license lucide-react v0.462.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const qC=H("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"}]]);/**
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 Qi=H("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"}]]);/**
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 XC=H("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"}]]);/**
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 Wv=H("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
225y:"oel41y"}]]);/**
226 * @license lucide-react v0.462.0 - ISC
227 *
228 * This source code is licensed under the ISC license.
229 * See the LICENSE file in the root directory of this source tree.
230 */const ZC=H("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);/**
231 * @license lucide-react v0.462.0 - ISC
232 *
233 * This source code is licensed under the ISC license.
234 * See the LICENSE file in the root directory of this source tree.
235 */const JC=H("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
236 * @license lucide-react v0.462.0 - ISC
237 *
238 * This source code is licensed under the ISC license.
239 * See the LICENSE file in the root directory of this source tree.
240 */const eE=H("Snowflake",[["line",{x1:"2",x2:"22",y1:"12",y2:"12",key:"1dnqot"}],["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"m20 16-4-4 4-4",key:"rquw4f"}],["path",{d:"m4 8 4 4-4 4",key:"12s3z9"}],["path",{d:"m16 4-4 4-4-4",key:"1tumq1"}],["path",{d:"m8 20 4-4 4 4",key:"9p200w"}]]);/**
241 * @license lucide-react v0.462.0 - ISC
242 *
243 * This source code is licensed under the ISC license.
244 * See the LICENSE file in the root directory of this source tree.
245 */const tE=H("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
246 * @license lucide-react v0.462.0 - ISC
247 *
248 * This source code is licensed under the ISC license.
249 * See the LICENSE file in the root directory of this source tree.
250 */const Cl=H("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
251 * @license lucide-react v0.462.0 - ISC
252 *
253 * This source code is licensed under the ISC license.
254 * See the LICENSE file in the root directory of this source tree.
255 */const Kv=H("TramFront",[["rect",{width:"16",height:"16",x:"4",y:"3",rx:"2",key:"1wxw4b"}],["path",{d:"M4 11h16",key:"mpoxn0"}],["path",{d:"M12 3v8",key:"1h2ygw"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m18 22-2-3",key:"1p0ohu"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M16 15h.01",key:"rnfrdf"}]]);/**
256 * @license lucide-react v0.462.0 - ISC
257 *
258 * This source code is licensed under the ISC license.
259 * See the LICENSE file in the root directory of this source tree.
260 */const Ua=H("TreePine",[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]]);/**
261 * @license lucide-react v0.462.0 - ISC
262 *
263 * This source code is licensed under the ISC license.
264 * See the LICENSE file in the root directory of this source tree.
265 */const nE=H("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/**
266 * @license lucide-react v0.462.0 - ISC
267 *
268 * This source code is licensed under the ISC license.
269 * See the LICENSE file in the root directory of this source tree.
270 */const rE=H("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
271 * @license lucide-react v0.462.0 - ISC
272 *
273 * This source code is licensed under the ISC license.
274 * See the LICENSE file in the root directory of this source tree.
275 */const oE=H("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"}]]);/**
276 * @license lucide-react v0.462.0 - ISC
277 *
278 * This source code is licensed under the ISC license.
279 * See the LICENSE file in the root directory of this source tree.
280 */const iE=H("Utensils",[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}
vendor: 6,533 bytes, lines 280-290
280],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]]);/**
281 * @license lucide-react v0.462.0 - ISC
282 *
283 * This source code is licensed under the ISC license.
284 * See the LICENSE file in the root directory of this source tree.
285 */const kf=H("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
286 * @license lucide-react v0.462.0 - ISC
287 *
288 * This source code is licensed under the ISC license.
289 * See the LICENSE file in the root directory of this source tree.
290 */const sE=H("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Tf="-",aE=e=>{const t=uE(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(Tf);return a[0]===""&&a.length!==1&&a.shift(),Gv(a,t)||lE(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},Gv=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Gv(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Tf);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},$p=/^\[(.+)\]$/,lE=e=>{if($p.test(e)){const t=$p.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},uE=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return dE(Object.entries(e.classGroups),n).forEach(([i,s])=>{zc(s,r,i,t)}),r},zc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Up(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(cE(o)){zc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{zc(s,Up(t,i),n,r)})})},Up=(e,t)=>{let n=e;return t.split(Tf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},cE=e=>e.isThemeGetter,dE=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e,fE=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},Yv="!",hE=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const l=[];let u=0,c=0,d;for(let w=0;w<a.length;w++){let m=a[w];if(u===0){if(m===o&&(r||a.slice(w,w+i)===t)){l.push(a.slice(c,w)),c=w+i;continue}if(m==="/"){d=w;continue}}m==="["?u++:m==="]"&&u--}const f=l.length===0?a:a.substring(c),h=f.startsWith(Yv),x=h?f.substring(1):f,y=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:s}):s},pE=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},mE=e=>({cache:fE(e.cacheSize),parseClassName:hE(e),...aE(e)}),gE=/\s+/,yE=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(gE);let a="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(u);let x=!!h,y=r(x?f.substring(0,h):f);if(!y){if(!x){a=u+(a.length>0?" "+a:a);continue}if(y=r(f),!y){a=u+(a.length>0?" "+a:a);continue}x=!1}const w=pE(c).join(":"),m=d?w+Yv:w,g=m+y;if(i.includes(g))continue;i.push(g);const v=o(y,x);for(let S=0;S<v.length;++S){const C=v[S];i.push(m+C)}a=u+(a.length>0?" "+a:a)}return a};function vE(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Qv(t))&&(r&&(r+=" "),r+=n);return r}const Qv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Qv(e[r]))&&(n&&(n+=" "),n+=t);return n};function xE(e,...t){let n,r,o,i=s;function s(l){const u=t.reduce((c,d)=>d(c),e());return n=mE(u),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=yE(l,n);return o(l,c),c}return function(){return i(vE.apply(null,arguments))}}const ae=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},qv=/^\[(?:([a-z-]+):)?(.+)\]$/i,wE=/^\d+\/\d+$/,bE=new Set(["px","full","screen"]),SE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,CE=/\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$/,EE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,kE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,TE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rn=e=>wo(e)||bE.has(e)||wE.test(e),Rn=e=>Go(e,"length",LE),wo=e=>!!e&&!Number.isNaN(Number(e)),bu=e=>Go(e,"number",wo),ci=e=>!!e&&Number.isInteger(Number(e)),PE=e=>e.endsWith("%")&&wo(e.slice(0,-1)),Q=e=>qv.test(e),Nn=e=>SE.test(e),RE=new Set(["length","size","percentage"]),NE=e=>Go(e,RE,Xv),ME=e=>Go(e,"position",Xv),AE=new Set(["image","url"]),jE=e=>Go(e,AE,IE),DE=e=>Go(e,"",OE),di=()=>!0,Go=(e,t,n)=>{const r=qv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},LE=e=>CE.test(e)&&!EE.test(e),Xv=()=>!1,OE=e=>kE.test(e),IE=e=>TE.test(e),FE=()=>{const e=ae("colors"),t=ae("spacing"),n=ae("blur"),r=ae("brightness"),o=ae("borderColor"),i=ae("borderRadius"),s=ae("borderSpacing"),a=ae("borderWidth"),l=ae("contrast"),u=ae("grayscale"),c=ae("hueRotate"),d=ae("invert"),f=ae("gap"),h=ae("gradientColorStops"),x=ae("gradientColorStopPositions"),y=ae("inset"),w=ae("margin"),m=ae("opacity"),g=ae("padding"),v=ae("saturate"),S=ae("scale"),C=ae("sepia"),E=ae("skew"),k=ae("space"),T=ae("translate"),M=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",Q,t],L=()=>[Q,t],U=()=>["",rn,Rn],O=()=>["auto",wo,Q],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",Q],I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[wo,Q];return{cacheSize:500,separator:":",theme:{colors:[di],spacing:[rn,Rn],blur:["none","",
vendor: 11,542 bytes, line 290
290Nn,Q],brightness:W(),borderColor:[e],borderRadius:["none","","full",Nn,Q],borderSpacing:L(),borderWidth:U(),contrast:W(),grayscale:N(),hueRotate:W(),invert:N(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[PE,Rn],inset:F(),margin:F(),opacity:W(),padding:L(),saturate:W(),scale:W(),sepia:N(),skew:W(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",Q]}],container:["container"],columns:[{columns:[Nn]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...K(),Q]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ci,Q]}],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",Q]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",ci,Q]}],"grid-cols":[{"grid-cols":[di]}],"col-start-end":[{col:["auto",{span:["full",ci,Q]},Q]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[di]}],"row-start-end":[{row:["auto",{span:[ci,Q]},Q]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Q]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Q,t]}],"min-w":[{"min-w":[Q,t,"min","max","fit"]}],"max-w":[{"max-w":[Q,t,"none","full","min","max","fit","prose",{screen:[Nn]},Nn]}],h:[{h:[Q,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Q,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Nn,Rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",bu]}],"font-family":[{font:[di]}],"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",Q]}],"line-clamp":[{"line-clamp":["none",wo,bu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",rn,Q]}],"list-image":[{"list-image":["none",Q]}],"list-style-type":[{list:["none","disc","decimal",Q]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",rn,Rn]}],"underline-offset":[{"underline-offset":["auto",rn,Q]}],"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:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q]}],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",Q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),ME]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",NE]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},jE]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:B()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[rn,Q]}],"outline-w":[{outline:[rn,Rn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[rn,Rn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Nn,DE]}],"shadow-color":[{shadow:[di]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Nn,Q]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Q]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",Q]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",Q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[ci,Q]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Q]}],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",Q]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"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,646 bytes, line 290
290],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",Q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[rn,Rn,bu]}],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"]}}},VE=xE(FE);function cr(...e){return VE(Iv(e))}const _E=MC,Zv=b.forwardRef(({className:e,...t},n)=>p.jsx(Nv,{ref:n,className:cr("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}));Zv.displayName=Nv.displayName;const zE=AC("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"}}),Jv=b.forwardRef(({className:e,variant:t,...n},r)=>p.jsx(Mv,{ref:r,className:cr(zE({variant:t}),e),...n}));Jv.displayName=Mv.displayName;const BE=b.forwardRef(({className:e,...t},n)=>p.jsx(Dv,{ref:n,className:cr("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}));BE.displayName=Dv.displayName;const ex=b.forwardRef(({className:e,...t},n)=>p.jsx(Lv,{ref:n,className:cr("absolute right-2 top-2 rounded-md p-1 text-foreground
290/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:p.jsx(kf,{className:"h-4 w-4"})}));ex.displayName=Lv.displayName;const tx=b.forwardRef(({className:e,...t},n)=>p.jsx(Av,{ref:n,className:cr("text-sm font-semibold",e),...t}));tx.displayName=Av.displayName;const nx=b.forwardRef(({className:e,...t},n)=>p.jsx(jv,{ref:n,className:cr("text-sm opacity-90",e),...t}));nx.displayName=jv.displayName;function $E(){const{toasts:e}=z2();return p.jsxs(_E,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return p.jsxs(Jv,{...i,children:[p.jsxs("div",{className:"grid gap-1",children:[n&&p.jsx(tx,{children:n}),r&&p.jsx(nx,{children:r})]}),o,p.jsx(ex,{})]},t)}),p.jsx(Zv,{})]})}var Hp=["light","dark"],UE="(prefers-color-scheme: dark)",HE=b.createContext(void 0),WE={setTheme:e=>{},themes:[]},KE=()=>{var e;return(e=b.useContext(HE))!=null?e:WE};b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:a,nonce:l})=>{let u=i==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=o?Hp.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,y=!1,w=!0)=>{let m=s?s[x]:x,g=y?x+"|| ''":`'${m}'`,v="";return o&&w&&!y&&Hp.includes(x)&&(v+=`d.style.colorScheme = '${x}';`),n==="class"?y||m?v+=`c.add(${g})`:v+="null":m&&(v+=`d[s](n,${g})`),v},h=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${UE}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}${u?"":"else{"+f(i,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}else{${f(i,!1,!1)};}${d}}catch(t){}}();`;return b.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var GE=e=>{switch(e){case"success":return qE;case"info":return ZE;case"warning":return XE;case"error":return JE;default:return null}},YE=Array(12).fill(0),QE=({visible:e,className:t})=>D.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},D.createElement("div",{className:"sonner-spinner"},YE.map((n,r)=>D.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),qE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.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"})),XE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},D.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"})),ZE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.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"})),JE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.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"})),ek=D.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"},D.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),D.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),tk=()=>{let[e,t]=D.useState(document.hidden);return D.useEffect(()=>{let n=()=>{t(document.hidden)};
290return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Bc=1,nk=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Bc++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
290this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,i,s=r.then(async l=>{if(i=["resolve",l],D.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(ok(l)&&!l.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>s.then(()=>i[0]==="reject"?u(i[1]):l(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Bc++;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}},Xe=new nk,rk=(e,t)=>{let n=(t==null?void 0:t.id)||Bc++;return Xe.addToast({title:e,...t,id:n}),n},ok=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",ik=rk,sk=()=>Xe.toasts,ak=()=>Xe.getActiveToasts();Object.assign(ik,{success:Xe.success,info:Xe.info,warning:Xe.warning,error:Xe.error,custom:Xe.custom,message:Xe.message,promise:Xe.promise,dismiss:Xe.dismiss,loading:Xe.loading},{getHistory:sk,getToasts:ak});function lk(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))}lk(`: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;
290left: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}
290: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%);
290--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%)}
291`);function Us(e){return e.label!==void 0}var uk=3,ck="32px",dk="16px",Wp=4e3,fk=356,hk=14,pk=20,mk=200;function Pt(...e){return e.filter(Boolean).join(" ")}function gk(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var yk=e=>{var t,n,r,o,i,s,a,l,u,c,d;let{invert:f,toast:h,unstyled:x,interacting:y,setHeights:w,visibleToasts:m,heights:g,index:v,toasts:S,expanded:C,removeToast:E,defaultRichColors:k,closeButton:T,style:M,cancelButtonStyle:A,actionButtonStyle:F,className:L="",descriptionClassName:U="",duration:O,position:K,gap:B,loadingIcon:V,expandByDefault:P,classNames:N,icons:I,closeButtonAriaLabel:W="Close toast",pauseWhenPageIsHidden:$}
vendor: 12,164 bytes, line 291
291=e,[q,Z]=D.useState(null),[be,Oe]=D.useState(null),[ne,$r]=D.useState(!1),[bn,fr]=D.useState(!1),[Sn,Ur]=D.useState(!1),[Cn,ws]=D.useState(!1),[zl,bs]=D.useState(!1),[Bl,ei]=D.useState(0),[Hr,gh]=D.useState(0),ti=D.useRef(h.duration||O||Wp),yh=D.useRef(null),hr=D.useRef(null),eb=v===0,tb=v+1<=m,ft=h.type,Wr=h.dismissible!==!1,nb=h.className||"",rb=h.descriptionClassName||"",Ss=D.useMemo(()=>g.findIndex(G=>G.toastId===h.id)||0,[g,h.id]),ob=D.useMemo(()=>{var G;return(G=h.closeButton)!=null?G:T},[h.closeButton,T]),vh=D.useMemo(()=>h.duration||O||Wp,[h.duration,O]),$l=D.useRef(0),Kr=D.useRef(0),xh=D.useRef(0),Gr=D.useRef(null),[ib,sb]=K.split("-"),wh=D.useMemo(()=>g.reduce((G,oe,de)=>de>=Ss?G:G+oe.height,0),[g,Ss]),bh=tk(),ab=h.invert||f,Ul=ft==="loading";Kr.current=D.useMemo(()=>Ss*B+wh,[Ss,wh]),D.useEffect(()=>{ti.current=vh},[vh]),D.useEffect(()=>{$r(!0)},[]),D.useEffect(()=>{let G=hr.current;if(G){let oe=G.getBoundingClientRect().height;return gh(oe),w(de=>[{toastId:h.id,height:oe,position:h.position},...de]),()=>w(de=>de.filter(Ct=>Ct.toastId!==h.id))}},[w,h.id]),D.useLayoutEffect(()=>{if(!ne)return;let G=hr.current,oe=G.style.height;G.style.height="auto";let de=G.getBoundingClientRect().height;G.style.height=oe,gh(de),w(Ct=>Ct.find(Et=>Et.toastId===h.id)?Ct.map(Et=>Et.toastId===h.id?{...Et,height:de}:Et):[{toastId:h.id,height:de,position:h.position},...Ct])},[ne,h.title,h.description,w,h.id]);let En=D.useCallback(()=>{fr(!0),ei(Kr.current),w(G=>G.filter(oe=>oe.toastId!==h.id)),setTimeout(()=>{E(h)},mk)},[h,E,w,Kr]);D.useEffect(()=>{if(h.promise&&ft==="loading"||h.duration===1/0||h.type==="loading")return;let G;return C||y||$&&bh?(()=>{if(xh.current<$l.current){let oe=new Date().getTime()-$l.current;ti.current=ti.current-oe}xh.current=new Date().getTime()})():ti.current!==1/0&&($l.current=new Date().getTime(),G=setTimeout(()=>{var oe;(oe=h.onAutoClose)==null||oe.call(h,h),En()},ti.current)),()=>clearTimeout(G)},[C,y,h,ft,$,bh,En]),D.useEffect(()=>{h.delete&&En()},[En,h.delete]);function lb(){var G,oe,de;return I!=null&&I.loading?D.createElement("div",{className:Pt(N==null?void 0:N.loader,(G=h==null?void 0:h.classNames)==null?void 0:G.loader,"sonner-loader"),"data-visible":ft==="loading"},I.loading):V?D.createElement("div",{className:Pt(N==null?void 0:N.loader,(oe=h==null?void 0:h.classNames)==null?void 0:oe.loader,"sonner-loader"),"data-visible":ft==="loading"},V):D.createElement(QE,{className:Pt(N==null?void 0:N.loader,(de=h==null?void 0:h.classNames)==null?void 0:de.loader),visible:ft==="loading"})}return D.createElement("li",{tabIndex:0,ref:hr,className:Pt(L,nb,N==null?void 0:N.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,N==null?void 0:N.default,N==null?void 0:N[ft],(n=h==null?void 0:h.classNames)==null?void 0:n[ft]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:k,"data-styled":!(h.jsx||h.unstyled||x),"data-mounted":ne,"data-promise":!!h.promise,"data-swiped":zl,"data-removed":bn,"data-visible":tb,"data-y-position":ib,"data-x-position":sb,"data-index":v,"data-front":eb,"data-swiping":Sn,"data-dismissible":Wr,"data-type":ft,"data-invert":ab,"data-swipe-out":Cn,"data-swipe-direction":be,"data-expanded":!!(C||P&&ne),style:{"--index":v,"--toasts-before":v,"--z-index":S.length-v,"--offset":`${bn?Bl:Kr.current}px`,"--initial-height":P?"auto":`${Hr}px`,...M,...h.style},onDragEnd:()=>{Ur(!1),Z(null),Gr.current=null},onPointerDown:G=>{Ul||!Wr||(yh.current=new Date,ei(Kr.current),G.target.setPointerCapture(G.pointerId),G.target.tagName!=="BUTTON"&&(Ur(!0),Gr.current={x:G.clientX,y:G.clientY}))},onPointerUp:()=>{var G,oe,de,Ct;if(Cn||!Wr)return;Gr.current=null;let Et=Number(((G=hr.current)==null?void 0:G.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),kn=Number(((oe=hr.current)==null?void 0:oe.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),pr=new Date().getTime()-((de=yh.current)==null?void 0:de.getTime()),kt=q==="x"?Et:kn,Tn=Math.abs(kt)/pr;if(Math.abs(kt)>=pk||Tn>.11){ei(Kr.current),(Ct=h.onDismiss)==null||Ct.call(h,h),Oe(q==="x"?Et>0?"right":"left":kn>0?"down":"up"),En(),ws(!0),bs(!1);return}Ur(!1),Z(null)},onPointerMove:G=>{var oe,de,Ct,Et;if(!Gr.current||!Wr||((oe=window.getSelection())==null?void 0:oe.toString().length)>0)return;let kn=G.clientY-Gr.current.y,pr=G.clientX-Gr.current.x,kt=(de=e.swipeDirections)!=null?de:gk(K);!q&&(Math.abs(pr)>1||Math.abs(kn)>1)&&Z(Math.abs(pr)>Math.abs(kn)?"x":"y");let Tn={x:0,y:0};q==="y"?(kt.includes("top")||kt.includes("bottom"))&&(kt.includes("top")&&kn<0||kt.includes("bottom")&&kn>0)&&(Tn.y=kn):q==="x"&&(kt.includes("left")||kt.includes("right"))&&(kt.includes("left")&&pr<0||kt.includes("right")&&pr>0)&&(Tn.x=pr),(Math.abs(Tn.x)>0||Math.abs(Tn.y)>0)&&bs(!0),(Ct=hr.current)==null||Ct.style.setProperty("--swipe-amount-x",`${Tn.x}px`),(Et=hr.current)==null||Et.style.setProperty("--swipe-amount-y",`${Tn.y}px`)}},ob&&!h.jsx?D.createElement("button",{"aria-label":W,"data-disabled":Ul,"data-close-button":!0,onClick:Ul||!Wr?()=>{}:()=>{var G;En(),(G=h.onDismiss)==null||G.call(h,h)},className:Pt(N==null?void 0:N.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},(i=I==null?void 0:I.close)!=null?i:ek):null,h.jsx||b.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:D.createElement(D.Fragment,null,ft||h.icon||h.promise?D.createElement("div",{"data-icon":"",className:Pt(N==null?void 0:N.icon,(s=h==null?void 0:h.classNames)==null?void 0:s.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||lb():null,h.type!=="loading"?h.icon||(I==null?void 0:I[ft])||GE(ft):null):null,D.createElement("div",{"data-content":"",className:Pt(N==null?void 0:N.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},D.createElement("div",{"data-title":"",className:Pt(N==null?void 0:N.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?D.createElement("div",{"data-description":"",className:Pt(U,rb,N==null?void 0:N.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),b.isValidElement(h.cancel)?h.cancel:h.cancel&&Us(h.cancel)?D.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||A,onClick:G=>{var oe,de;Us(h.cancel)&&Wr&&((de=(oe=h.cancel).onClick)==null||de.call(oe,G),En())},className:Pt(N==null?void 0:N.cancelButton,(c=h==null?void 0:h.classNames)==null?void 0:c.cancelButton)},h.cancel.label):null,b.isValidElement(h.action)?h.action:h.action&&Us(h.action)?D.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||F,onClick:G=>{var oe,de;Us(h.action)&&((de=(oe=h.action).onClick)==null||de.call(oe,G),!G.defaultPrevented&&En())},className:Pt(N==null?void 0:N.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function Kp(){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 vk(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",a=i?dk:ck;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${s}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${s}-${u}`]=a:n[`${s}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var xk=b.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:f,style:h,visibleToasts:x=uk,toastOptions:y,dir:w=Kp(),gap:m=hk,loadingIcon:g,icons:v,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[E,k]=D.useState([]),T=D.useMemo(()=>Array.from(new Set([r].concat(E.filter($=>$.position).map($=>$.position)))),[E,r]),[M,A]=D.useState([]),[F,L]=D.useState(!1),[U,O]=D.useState(!1),[K,B]=D.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),V=D.useRef(null),P=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=D.useRef(null),I=D.useRef(!1),W=D.useCallback($=>{k(q=>{var Z;return(Z=q.find(be=>be.id===$.id))!=null&&Z.delete||Xe.dismiss($.id),q.filter(({id:be})=>be!==$.id)})},[]);return D.useEffect(()=>Xe.subscribe($=>{if($.dismiss){k(q=>q.map(Z=>Z.id===$.id?{...Z,delete:!0}:Z));return}setTimeout(()=>{iv.flushSync(()=>{k(q=>{let Z=q.findIndex(be=>be.id===$.id);return Z!==-1?[...q.slice(0,Z),{...q[Z],...$},...q.slice(Z+1)]:[$,...q]})})})}),[]),D.useEffect(()=>{if(c!=="system"){B(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window>"u")return;let $=window.matchMedia("(prefers-color-scheme: dark)");try{$.addEventListener("change",({matches:q})=>{B(q?"dark":"light")})}catch{$.addListener(({matches:Z})=>{try{B(Z?"dark":"light")}catch(be){console.error(be)}})}},[c]),D.useEffect(()=>{E.length<=1&&L(!1)},[E]),D.useEffect(()=>{let $=q=>{var Z,be;o.every(Oe=>q[Oe]||q.code===Oe)&&(L(!0),(Z=V.current)==null||Z.focus()),q.code==="Escape"&&(document.activeElement===V.current||(be=V.current)!=null&&be.contains(document.activeElement))&&L(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[o]),D.useEffect(()=>{if(V.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,I.current=!1)}},[V.current]),D.createElement("section",{ref:t,"aria-label":`${S} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map(($,q)=>{var Z;let[be,Oe]=$.split("-");return E.length?D.createElement("ol",{key:$,dir:w==="auto"?Kp():w,tabIndex:-1,ref:V,className:a,"data-sonner-toaster":!0,"data-theme":K,"data-y-position":be,"data-lifted":F&&E.length>1&&!i,"data-x-position":Oe,style:{"--front-toast-height":`${((Z=M[0])==null?void 0:Z.height)||0}px`,"--width":`${fk}px`,"--gap":`${m}px`,...h,...vk(l,u)},onBlur:ne=>{I.current&&!ne.currentTarget.contains(ne.relatedTarget)&&(I.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||I.current||(I.current=!0,N.current=ne.relatedTarget)},onMouseEnter:()=>L(!0),onMouseMove:()=>L(!0),onMouseLeave:()=>{U||L(!1)},onDragEnd:()=>L(!1),onPointerDown:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||O(!0)},onPointerUp:()=>O(!1)},E.filter(ne=>!ne.position&&q===0||ne.position===$).map((ne,$r)=>{var bn,fr;return D.createElement(yk,{key:ne.id,icons:v,index:$r,toast:ne,defaultRichColors:d,duration:(bn=y==null?void 0:y.duration)!=null?bn:f,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:x,closeButton:(fr=y==null?void 0:y.closeButton)!=null?fr:s,interacting:U,position:$,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:W,toasts:E.filter(Sn=>Sn.position==ne.position),heights:M.filter(Sn=>Sn.position==ne.position),setHeights:A,expandByDefault:i,gap:m,loadingIcon:g,expanded:F,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const wk=({...e})=>{const{theme:t="system"}=KE();return p.jsx(xk,{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})},bk=["top","right","bottom","left"],or=Math.min,it=Math.max,Ha=Math.round,Hs=Math.floor,Zt=e=>({x:e,y:e}
vendor: 10,346 bytes, line 291
291),Sk={left:"right",right:"left",bottom:"top",top:"bottom"},Ck={start:"end",end:"start"};function $c(e,t,n){return it(e,or(t,n))}function yn(e,t){return typeof e=="function"?e(t):e}function vn(e){return e.split("-")[0]}function Yo(e){return e.split("-")[1]}function Pf(e){return e==="x"?"y":"x"}function Rf(e){return e==="y"?"height":"width"}const Ek=new Set(["top","bottom"]);function Qt(e){return Ek.has(vn(e))?"y":"x"}function Nf(e){return Pf(Qt(e))}function kk(e,t,n){n===void 0&&(n=!1);const r=Yo(e),o=Nf(e),i=Rf(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Wa(s)),[s,Wa(s)]}function Tk(e){const t=Wa(e);return[Uc(e),t,Uc(t)]}function Uc(e){return e.replace(/start|end/g,t=>Ck[t])}const Gp=["left","right"],Yp=["right","left"],Pk=["top","bottom"],Rk=["bottom","top"];function Nk(e,t,n){switch(e){case"top":case"bottom":return n?t?Yp:Gp:t?Gp:Yp;case"left":case"right":return t?Pk:Rk;default:return[]}}function Mk(e,t,n,r){const o=Yo(e);let i=Nk(vn(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Uc)))),i}function Wa(e){return e.replace(/left|right|bottom|top/g,t=>Sk[t])}function Ak(e){return{top:0,right:0,bottom:0,left:0,...e}}function rx(e){return typeof e!="number"?Ak(e):{top:e,right:e,bottom:e,left:e}}function Ka(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Qp(e,t,n){let{reference:r,floating:o}=e;const i=Qt(t),s=Nf(t),a=Rf(s),l=vn(t),u=i==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[a]/2-o[a]/2;let h;switch(l){case"top":h={x:c,y:r.y-o.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(Yo(t)){case"start":h[s]-=f*(n&&u?-1:1);break;case"end":h[s]+=f*(n&&u?-1:1);break}return h}const jk=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=Qp(u,r,l),f=r,h={},x=0;for(let y=0;y<a.length;y++){const{name:w,fn:m}=a[y],{x:g,y:v,data:S,reset:C}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});c=g??c,d=v??d,h={...h,[w]:{...h[w],...S}},C&&x<=50&&(x++,typeof C=="object"&&(C.placement&&(f=C.placement),C.rects&&(u=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:c,y:d}=Qp(u,f,l)),y=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:h}};async function qi(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=yn(t,e),x=rx(h),w=a[f?d==="floating"?"reference":"floating":d],m=Ka(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),g=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),S=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},C=Ka(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:v,strategy:l}):g);return{top:(m.top-C.top+x.top)/S.y,bottom:(C.bottom-m.bottom+x.bottom)/S.y,left:(m.left-C.left+x.left)/S.x,right:(C.right-m.right+x.right)/S.x}}const Dk=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=yn(e,t)||{};if(u==null)return{};const d=rx(c),f={x:n,y:r},h=Nf(o),x=Rf(h),y=await s.getDimensions(u),w=h==="y",m=w?"top":"left",g=w?"bottom":"right",v=w?"clientHeight":"clientWidth",S=i.reference[x]+i.reference[h]-f[h]-i.floating[x],C=f[h]-i.reference[h],E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let k=E?E[v]:0;(!k||!await(s.isElement==null?void 0:s.isElement(E)))&&(k=a.floating[v]||i.floating[x]);const T=S/2-C/2,M=k/2-y[x]/2-1,A=or(d[m],M),F=or(d[g],M),L=A,U=k-y[x]-F,O=k/2-y[x]/2+T,K=$c(L,O,U),B=!l.arrow&&Yo(o)!=null&&O!==K&&i.reference[x]/2-(O<L?A:F)-y[x]/2<0,V=B?O<L?O-L:O-U:0;return{[h]:f[h]+V,data:{[h]:K,centerOffset:O-K-V,...B&&{alignmentOffset:V}},reset:B}}}),Lk=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:y=!0,...w}=yn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const m=vn(o),g=Qt(a),v=vn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),C=f||(v||!y?[Wa(a)]:Tk(a)),E=x!=="none";!f&&E&&C.push(...Mk(a,y,x,S));const k=[a,...C],T=await qi(t,w),M=[];let A=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&M.push(T[m]),d){const O=kk(o,s,S);M.push(T[O[0]],T[O[1]])}if(A=[...A,{placement:o,overflows:M}],!M.every(O=>O<=0)){var F,L;const O=(((F=i.flip)==null?void 0:F.index)||0)+1,K=k[O];if(K&&(!(d==="alignment"?g!==Qt(K):!1)||A.every(P=>P.overflows[0]>0&&Qt(P.placement)===g)))return{data:{index:O,overflows:A},reset:{placement:K}};let B=(L=A.filter(V=>V.overflows[0]<=0).sort((V,P)=>V.overflows[1]-P.overflows[1])[0])==null?void 0:L.placement;if(!B)switch(h){case"bestFit":{var U;const V=(U=A.filter(P=>{if(E){const N=Qt(P.placement);return N===g||N==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(N=>N>0).reduce((N,I)=>N+I,0)]).sort((P,N)=>P[1]-N[1])[0])==null?void 0:U[0];V&&(B=V);break}case"initialPlacement":B=a;break}if(o!==B)return{reset:{placement:B}}}return{}}}};function qp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Xp(e){return bk.some(t=>e[t]>=0)}const Ok=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=yn(e,t);switch(r){case"referenceHidden":{const i=await qi(t,{...o,elementContext:"reference"}),s=qp(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Xp(s)}}}case"escaped":{const i=await qi(t,{...o,altBoundary:!0}),s=qp(i,n.floating);return{data:{escapedOffsets:s,escaped:Xp(s)}}}default:return{}}}}},ox=new Set(["left","top"]);async function Ik(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=vn(n),a=Yo(n),l=Qt(n)==="y",u=ox.has(s)?-1:1,c=i&&l?-1:1,d=yn(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:x}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof x=="number"&&(h=a==="end"?x*-1:x),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}const Fk=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await Ik(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},Vk=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:m,y:g}=w;return{x:m,y:g}}},...l}=yn(e,t),u={x:n,y:r},c=await qi(t,l),d=Qt(vn(o)),f=Pf(d);let h=u[f],x=u[d];if(i){const w=f==="y"?"top":"left",m=f==="y"?"bottom":"right",g=h+c[w],v=h-c[m];h=$c(g,h,v)}if(s){const w=d==="y"?"top":"left",m=d==="y"?"bottom":"right",g=x+c[w],v=x-c[m];x=$c(g,x,v)}const y=a.fn({...t,[f]:h,[d]:x});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[f]:i,[d]:s}}}}}},_k=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=yn(e,t),c={x:n,y:r},d=Qt(o),f=Pf(d);let h=c[f],x=c[d];const y=yn(a,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const v=f==="y"?"height":"width",S=i.reference[f]-i.floating[v]+w.mainAxis,C=i.reference[f]+i.reference[v]-w.mainAxis;h<S?h=S:h>C&&(h=C)}if(u){var m,g;const v=f==="y"?"width":"height",S=ox.has(vn(o)),C=i.reference[d]-i.floating[v]+(S&&((m=s.offset)==null?void 0:m[d])||0)+(S?0:w.crossAxis),E=i.reference[d]+i.reference[v]+(S?0:((g=s.offset)==null?void 0:g[d])||0)-(S?w.crossAxis:0);x<C?x=C:x>E&&(x=E)}return{[f]:h,[d]:x}}}},zk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...u}=yn(e,t),c=await qi(t,u),d=vn(o),f=Yo(o),h=Qt(o)==="y",{width:x,height:y}=i.floating;let w,m;d==="top"||d==="bottom"?(w=d,m=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(m=d,w=f==="end"?"top":"bottom");const g=y-c.top-c.bottom,v=x-c.left-c.right,S=or(y-c[w],g),C=or(x-c[m],v),E=!t.middlewareData.shift;let k=S,T=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(k=g),E&&!f){const A=it(c.left,0),F=it(c.right,0),L=it(c.top,0),U=it(c.bottom,0);h?T=x-2*(A!==0||F!==0?A+F:it(c.left,c.right)):k=y-2*(L!==0||U!==0?L+U:it(c.top,c.bottom))}await l({...t,availableWidth:T,availableHeight:k});const M=await s.getDimensions(a.floating);return x!==M.width||y!==M.height?{reset:{rects:!0}}:{}}}};function El(){return typeof window<"u"}function Qo(e){return ix(e)?(e.nodeName||"").toLowerCase():"#document"}function lt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function nn(e){var t;return(t=(ix(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ix(e){return El()?e instanceof Node||e instanceof lt(e).Node:!1}function zt(e){return El()?e instanceof Element||e instanceof lt(e).Element:!1}function en(e){return El()?e instanceof HTMLElement||e instanceof lt(e).HTMLElement:!1}function Zp(e){return!El()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof lt(e).ShadowRoot}const Bk=new Set(["inline","contents"]);function ms(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Bt(e);
vendor: 4,121 bytes, line 291
291return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Bk.has(o)}const $k=new Set(["table","td","th"]);function Uk(e){return $k.has(Qo(e))}const Hk=[":popover-open",":modal"];function kl(e){return Hk.some(t=>{try{return e.matches(t)}catch{return!1}})}const Wk=["transform","translate","scale","rotate","perspective"],Kk=["transform","translate","scale","rotate","perspective","filter"],Gk=["paint","layout","strict","content"];function Mf(e){const t=Af(),n=zt(e)?Bt(e):e;return Wk.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)||Kk.some(r=>(n.willChange||"").includes(r))||Gk.some(r=>(n.contain||"").includes(r))}function Yk(e){let t=ir(e);for(;en(t)&&!_o(t);){if(Mf(t))return t;if(kl(t))return null;t=ir(t)}return null}function Af(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Qk=new Set(["html","body","#document"]);function _o(e){return Qk.has(Qo(e))}function Bt(e){return lt(e).getComputedStyle(e)}function Tl(e){return zt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ir(e){if(Qo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zp(e)&&e.host||nn(e);return Zp(t)?t.host:t}function sx(e){const t=ir(e);return _o(t)?e.ownerDocument?e.ownerDocument.body:e.body:en(t)&&ms(t)?t:sx(t)}function Xi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=sx(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=lt(o);if(i){const a=Hc(s);return t.concat(s,s.visualViewport||[],ms(o)?o:[],a&&n?Xi(a):[])}return t.concat(o,Xi(o,[],n))}function Hc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ax(e){const t=Bt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=en(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Ha(n)!==i||Ha(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function jf(e){return zt(e)?e:e.contextElement}function bo(e){const t=jf(e);if(!en(t))return Zt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ax(t);let s=(i?Ha(n.width):n.width)/r,a=(i?Ha(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const qk=Zt(0);function lx(e){const t=lt(e);return!Af()||!t.visualViewport?qk:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Xk(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==lt(e)?!1:t}function _r(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=jf(e);let s=Zt(1);t&&(r?zt(r)&&(s=bo(r)):s=bo(e));const a=Xk(i,n,r)?lx(i):Zt(0);let l=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,c=o.width/s.x,d=o.height/s.y;if(i){const f=lt(i),h=r&&zt(r)?lt(r):r;let x=f,y=Hc(x);for(;y&&r&&h!==x;){const w=bo(y),m=y.getBoundingClientRect(),g=Bt(y),v=m.left+(y.clientLeft+parseFloat(g.paddingLeft))*w.x,S=m.top+(y.clientTop+parseFloat(g.paddingTop))*w.y;l*=w.x,u*=w.y,c*=w.x,d*=w.y,l+=v,u+=S,x=lt(y),y=Hc(x)}}return Ka({width:c,height:d,x:l,y:u})}function Df(e,t){const n=Tl(e).scrollLeft;return t?t.left+n:_r(nn(e)).left+n}function ux(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Df(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function Zk(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=nn(r),a=t?kl(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=Zt(1);const c=Zt(0),d=en(r);if((d||!d&&!i)&&((Qo(r)!=="body"||ms(s))&&(l=Tl(r)),en(r))){const h=_r(r);u=bo(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const f=s&&!d&&!i?ux(s,l,!0):Zt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-l.scrollTop*u.y+c.y+f.y}}function Jk(e){return Array.from(e.getClientRects())}function eT(e){const t=nn(e),n=Tl(e),r=e.ownerDocument.body,o=it(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=it(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Df(e);const a=-n.scrollTop;return Bt(r).direction==="rtl"&&(s+=it(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}
vendor: 13,283 bytes, line 291
291function tT(e,t){const n=lt(e),r=nn(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=Af();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}const nT=new Set(["absolute","fixed"]);function rT(e,t){const n=_r(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=en(e)?bo(e):Zt(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:s,height:a,x:l,y:u}}function Jp(e,t,n){let r;if(t==="viewport")r=tT(e,n);else if(t==="document")r=eT(nn(e));else if(zt(t))r=rT(t,n);else{const o=lx(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ka(r)}function cx(e,t){const n=ir(e);return n===t||!zt(n)||_o(n)?!1:Bt(n).position==="fixed"||cx(n,t)}function oT(e,t){const n=t.get(e);if(n)return n;let r=Xi(e,[],!1).filter(a=>zt(a)&&Qo(a)!=="body"),o=null;const i=Bt(e).position==="fixed";let s=i?ir(e):e;for(;zt(s)&&!_o(s);){const a=Bt(s),l=Mf(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&nT.has(o.position)||ms(s)&&!l&&cx(e,s))?r=r.filter(c=>c!==s):o=a,s=ir(s)}return t.set(e,r),r}function iT(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?kl(t)?[]:oT(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const d=Jp(t,c,o);return u.top=it(d.top,u.top),u.right=or(d.right,u.right),u.bottom=or(d.bottom,u.bottom),u.left=it(d.left,u.left),u},Jp(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function sT(e){const{width:t,height:n}=ax(e);return{width:t,height:n}}function aT(e,t,n){const r=en(t),o=nn(t),i=n==="fixed",s=_r(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=Zt(0);function u(){l.x=Df(o)}if(r||!r&&!i)if((Qo(t)!=="body"||ms(o))&&(a=Tl(t)),r){const h=_r(t,!0,i,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else o&&u();i&&!r&&o&&u();const c=o&&!r&&!i?ux(o,a):Zt(0),d=s.left+a.scrollLeft-l.x-c.x,f=s.top+a.scrollTop-l.y-c.y;return{x:d,y:f,width:s.width,height:s.height}}function Su(e){return Bt(e).position==="static"}function em(e,t){if(!en(e)||Bt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return nn(e)===n&&(n=n.ownerDocument.body),n}function dx(e,t){const n=lt(e);if(kl(e))return n;if(!en(e)){let o=ir(e);for(;o&&!_o(o);){if(zt(o)&&!Su(o))return o;o=ir(o)}return n}let r=em(e,t);for(;r&&Uk(r)&&Su(r);)r=em(r,t);return r&&_o(r)&&Su(r)&&!Mf(r)?n:r||Yk(e)||n}const lT=async function(e){const t=this.getOffsetParent||dx,n=this.getDimensions,r=await n(e.floating);return{reference:aT(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function uT(e){return Bt(e).direction==="rtl"}const cT={convertOffsetParentRelativeRectToViewportRelativeRect:Zk,getDocumentElement:nn,getClippingRect:iT,getOffsetParent:dx,getElementRects:lT,getClientRects:Jk,getDimensions:sT,getScale:bo,isElement:zt,isRTL:uT};function fx(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function dT(e,t){let n=null,r;const o=nn(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:h}=u;if(a||t(),!f||!h)return;const x=Hs(d),y=Hs(o.clientWidth-(c+f)),w=Hs(o.clientHeight-(d+h)),m=Hs(c),v={rootMargin:-x+"px "+-y+"px "+-w+"px "+-m+"px",threshold:it(0,or(1,l))||1};let S=!0;function C(E){const k=E[0].intersectionRatio;if(k!==l){if(!S)return s();k?s(!1,k):r=setTimeout(()=>{s(!1,1e-7)},1e3)}k===1&&!fx(u,e.getBoundingClientRect())&&s(),S=!1}try{n=new IntersectionObserver(C,{...v,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,v)}n.observe(e)}return s(!0),i}function fT(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=jf(e),c=o||i?[...u?Xi(u):[],...Xi(t)]:[];c.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const d=u&&a?dT(u,n):null;let f=-1,h=null;s&&(h=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let x,y=l?_r(e):null;l&&w();function w(){const m=_r(e);y&&!fx(y,m)&&n(),y=m,x=requestAnimationFrame(w)}return n(),()=>{var m;c.forEach(g=>{o&&g.removeEventListener("scroll",n),i&&g.removeEventListener("resize",n)}),d==null||d(),(m=h)==null||m.disconnect(),h=null,l&&cancelAnimationFrame(x)}}const hT=Fk,pT=Vk,mT=Lk,gT=zk,yT=Ok,tm=Dk,vT=_k,xT=(e,t,n)=>{const r=new Map,o={platform:cT,...n},i={...o.platform,_c:r};return jk(e,t,{...o,platform:i})};var wT=typeof document<"u",bT=function(){},da=wT?b.useLayoutEffect:bT;function Ga(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ga(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Ga(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function hx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nm(e,t){const n=hx(e);return Math.round(t*n)/n}function Cu(e){const t=b.useRef(e);return da(()=>{t.current=e}),t}function ST(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=b.useState(r);Ga(f,r)||h(r);const[x,y]=b.useState(null),[w,m]=b.useState(null),g=b.useCallback(P=>{P!==E.current&&(E.current=P,y(P))},[]),v=b.useCallback(P=>{P!==k.current&&(k.current=P,m(P))},[]),S=i||x,C=s||w,E=b.useRef(null),k=b.useRef(null),T=b.useRef(c),M=l!=null,A=Cu(l),F=Cu(o),L=Cu(u),U=b.useCallback(()=>{if(!E.current||!k.current)return;const P={placement:t,strategy:n,middleware:f};F.current&&(P.platform=F.current),xT(E.current,k.current,P).then(N=>{const I={...N,isPositioned:L.current!==!1};O.current&&!Ga(T.current,I)&&(T.current=I,fs.flushSync(()=>{d(I)}))})},[f,t,n,F,L]);da(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,d(P=>({...P,isPositioned:!1})))},[u]);const O=b.useRef(!1);da(()=>(O.current=!0,()=>{O.current=!1}),[]),da(()=>{if(S&&(E.current=S),C&&(k.current=C),S&&C){if(A.current)return A.current(S,C,U);U()}},[S,C,U,A,M]);const K=b.useMemo(()=>({reference:E,floating:k,setReference:g,setFloating:v}),[g,v]),B=b.useMemo(()=>({reference:S,floating:C}),[S,C]),V=b.useMemo(()=>{const P={position:n,left:0,top:0};if(!B.floating)return P;const N=nm(B.floating,c.x),I=nm(B.floating,c.y);return a?{...P,transform:"translate("+N+"px, "+I+"px)",...hx(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:N,top:I}},[n,a,B.floating,c.x,c.y]);return b.useMemo(()=>({...c,update:U,refs:K,elements:B,floatingStyles:V}),[c,U,K,B,V])}const CT=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?tm({element:r.current,padding:o}).fn(n):{}:r?tm({element:r,padding:o}).fn(n):{}}}},ET=(e,t)=>({...hT(e),options:[e,t]}),kT=(e,t)=>({...pT(e),options:[e,t]}),TT=(e,t)=>({...vT(e),options:[e,t]}),PT=(e,t)=>({...mT(e),options:[e,t]}),RT=(e,t)=>({...gT(e),options:[e,t]}),NT=(e,t)=>({...yT(e),options:[e,t]}),MT=(e,t)=>({...CT(e),options:[e,t]});var AT="Arrow",px=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return p.jsx(Pe.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});px.displayName=AT;var jT=px;function mx(e){const[t,n]=b.useState(void 0);return rr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var gx="Popper",[yx,vx]=hs(gx),[a5,xx]=yx(gx),wx="PopperAnchor",bx=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=xx(wx,n),s=b.useRef(null),a=Le(t,s);return b.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:p.jsx(Pe.div,{...o,ref:a})});bx.displayName=wx;var Lf="PopperContent",[DT,LT]=yx(Lf),Sx=b.forwardRef((e,t)=>{var ne,$r,bn,fr,Sn,Ur;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:h="optimized",onPlaced:x,...y}=e,w=xx(Lf,n),[m,g]=b.useState(null),v=Le(t,Cn=>g(Cn)),[S,C]=b.useState(null),E=mx(S),k=(E==null?void 0:E.width)??0,T=(E==null?void 0:E.height)??0,M=r+(i!=="center"?"-"+i:""),A=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},F=Array.isArray(u)?u:[u],L=F.length>0,U={padding:A,boundary:F.filter(IT),altBoundary:L},{refs:O,floatingStyles:K,placement:B,isPositioned:V,middlewareData:P}=ST({strategy:"fixed",placement:M,whileElementsMounted:(...Cn)=>fT(...Cn,{animationFrame:h==="always"}),elements:{reference:w.anchor},middleware:[ET({mainAxis:o+T,alignmentAxis:s}),l&&kT({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?TT():void 0,...U}),l&&PT({...U}),RT({...U,apply:({elements:Cn,rects:ws,availableWidth:zl,availableHeight:bs})=>{const{width:Bl,height:ei}=ws.reference,Hr=Cn.floating.style;Hr.setProperty("--radix-popper-available-width",`${zl}px`),Hr.setProperty("--radix-popper-available-height",`${bs}px`),Hr.setProperty("--radix-popper-anchor-width",`${Bl}px`),Hr.setProperty("--radix-popper-anchor-height",`${ei}px`)}}),S&&MT({element:S,padding:a}),FT({arrowWidth:k,arrowHeight:T}),f&&NT({strategy:"referenceHidden",...U})]}),[N,I]=kx(B),W=nr(x);rr(()=>{V&&(W==null||W())},[V,W]);const $=(ne=P.arrow)==null?void 0:ne.x,q=($r=P.arrow)==null?void 0:$r.y,Z=((bn=P.arrow)==null?void 0:bn.centerOffset)!==0,[be,Oe]=b.useState();return rr(()=>{m&&Oe(window.getComputedStyle(m).zIndex)},[m]),p.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:V?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:be,"--radix-popper-transform-origin":[(fr=P.transformOrigin)==null?void 0:fr.x,(Sn=P.transformOrigin)==null?void 0:Sn.y].join(" "),...((Ur=P.hide)==null?void 0:Ur.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(DT,{scope:n,placedSide:N,onArrowChange:C,arrowX:$,arrowY:q,shouldHideArrow:Z,children:p.jsx(Pe.div,{"data-side":N,"data-align":I,...y,ref:v,style:{...y.style,animation:V?void 0:"none"}})})})});Sx.displayName=Lf;var Cx="PopperArrow",OT={top:"bottom",right:"left",bottom:"top",left:"right"},Ex=b.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=LT(Cx,r),s=OT[i.placedSide];return p.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]: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:p.jsx(jT,{...o,ref:n,style:{...o.style,display:"block"}})})});Ex.displayName=Cx;function IT(e){return e!==null}var FT=e=>({name:"transformOrigin",options:e,fn(t){var w,m,g;const{placement:n,rects:r,middlewareData:o}=t,s=((w=o.arrow)==null?void 0:w.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=kx(n),d={start:"0%",center:"50%",end:"100%"}[c],f=(((m=o.arrow)==null?void 0:m.x)??0)+a/2,h=(((g=o.arrow)==null?void 0:g.y)??0)+l/2;let x="",y="";return u==="bottom"?(x=s?d:`${f}px`,y=`${-l}px`):u==="top"?(x=s?d:`${f}px`,y=`${r.floating.height+l}px`):u==="right"?(x=`${-l}px`,y=s?d:`${h}px`):u==="left"&&(x=`${r.floating.width+l}px`,y=s?d:`${h}px`),{data:{x,y}}}});function kx(e){const[t,n="center"]=e.split("-");return[t,n]}var VT=bx,_T=Sx,zT=Ex,[Pl,l5]=hs("Tooltip",[vx]),Of=vx(),Tx="TooltipProvider",BT=700,rm="tooltip.open",[$T,Px]=Pl(Tx),Rx=e=>{const{__scopeTooltip:t,delayDuration:n=BT,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=b.useRef(!0),a=b.useRef(!1),l=b.useRef(0);return b.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),p.jsx($T,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:b.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:i})};Rx.displayName=Tx;var Nx="Tooltip",[u5,Rl]=Pl(Nx),Wc="TooltipTrigger",UT=b.forwardRef((e,t)=>
vendor: 5,599 bytes, line 291
291{const{__scopeTooltip:n,...r}=e,o=Rl(Wc,n),i=Px(Wc,n),s=Of(n),a=b.useRef(null),l=Le(t,a,o.onTriggerChange),u=b.useRef(!1),c=b.useRef(!1),d=b.useCallback(()=>u.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),p.jsx(VT,{asChild:!0,...s,children:p.jsx(Pe.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:ue(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:ue(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:ue(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ue(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ue(e.onBlur,o.onClose),onClick:ue(e.onClick,o.onClose)})})});UT.displayName=Wc;var HT="TooltipPortal",[c5,WT]=Pl(HT,{forceMount:void 0}),zo="TooltipContent",Mx=b.forwardRef((e,t)=>{const n=WT(zo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=Rl(zo,e.__scopeTooltip);return p.jsx(bf,{present:r||s.open,children:s.disableHoverableContent?p.jsx(Ax,{side:o,...i,ref:t}):p.jsx(KT,{side:o,...i,ref:t})})}),KT=b.forwardRef((e,t)=>{const n=Rl(zo,e.__scopeTooltip),r=Px(zo,e.__scopeTooltip),o=b.useRef(null),i=Le(t,o),[s,a]=b.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:d}=r,f=b.useCallback(()=>{a(null),d(!1)},[d]),h=b.useCallback((x,y)=>{const w=x.currentTarget,m={x:x.clientX,y:x.clientY},g=XT(m,w.getBoundingClientRect()),v=ZT(m,g),S=JT(y.getBoundingClientRect()),C=tP([...v,...S]);a(C),d(!0)},[d]);return b.useEffect(()=>()=>f(),[f]),b.useEffect(()=>{if(l&&c){const x=w=>h(w,c),y=w=>h(w,l);return l.addEventListener("pointerleave",x),c.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",x),c.removeEventListener("pointerleave",y)}}},[l,c,h,f]),b.useEffect(()=>{if(s){const x=y=>{const w=y.target,m={x:y.clientX,y:y.clientY},g=(l==null?void 0:l.contains(w))||(c==null?void 0:c.contains(w)),v=!eP(m,s);g?f():v&&(f(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[l,c,s,u,f]),p.jsx(Ax,{...e,ref:i})}),[GT,YT]=Pl(Nx,{isInside:!1}),QT=U2("TooltipContent"),Ax=b.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=Rl(zo,n),u=Of(n),{onClose:c}=l;return b.useEffect(()=>(document.addEventListener(rm,c),()=>document.removeEventListener(rm,c)),[c]),b.useEffect(()=>{if(l.trigger){const d=f=>{const h=f.target;h!=null&&h.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),p.jsx(wf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:p.jsxs(_T,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.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:[p.jsx(QT,{children:r}),p.jsx(GT,{scope:n,isInside:!0,children:p.jsx(fC,{id:l.contentId,role:"tooltip",children:o||r})})]})})});Mx.displayName=zo;var jx="TooltipArrow",qT=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Of(n);return YT(jx,n).isInside?null:p.jsx(zT,{...o,...r,ref:t})});qT.displayName=jx;function XT(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function ZT(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 JT(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function eP(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i],l=t[s],u=a.x,c=a.y,d=l.x,f=l.y;c>r!=f>r&&n<(d-u)*(r-c)/(f-c)+u&&(o=!o)}return o}function tP(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),nP(t)}function nP(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var rP=Rx,Dx=Mx;const oP=rP,iP=b.forwardRef(({className:e,sideOffset:t=4,...n},r)=>p.jsx(Dx,{ref:r,sideOffset:t,className:cr("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
291de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));iP.displayName=Dx.displayName;var Nl=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(){}},Ml=typeof window>"u"||"Deno"in globalThis;function At(){}function sP(e,t){return typeof e=="function"?e(t):e}function aP(e){return typeof e=="number"&&e>=0&&e!==1/0}function lP(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Kc(e,t){return typeof e=="function"?e(t):e}function uP(e,t){return typeof e=="function"?e(t):e}function om(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==If(s,t.options))return!1}else if(!Ji(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function im(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Zi(t.options.mutationKey)!==Zi(i))return!1}else if(!Ji(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function If(e,t){return((t==null?void 0:t.queryKeyHashFn)||Zi)(e)}function Zi(e){return JSON.stringify(e,(t,n)=>Gc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Ji(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ji(e[n],t[n])):!1}function Lx(e,t){if(e===t)return e;const n=sm(e)&&sm(t);if(n||Gc(e)&&Gc(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<s;c++){const d=n?c:i[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=Lx(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return o===s&&u===o?e:a}return t}function sm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Gc(e){if(!am(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!am(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function am(e){return Object.prototype.toString.call(e)==="[object Object]"}function cP(e){return new Promise(t=>{setTimeout(t,e)})}function dP(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Lx(e,t):t}function fP(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function hP(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Ff=Symbol();function Ox(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Ff?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Er,Fn,Eo,Fg,pP=(Fg=class extends Nl{constructor(){super();ee(this,Er);ee(this,Fn);ee(this,Eo);Y(this,Eo,t=>{if(!Ml&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,Fn)||this.setEventListener(R(this,Eo))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,Fn))==null||t.call(this),Y(this,Fn,void 0))}setEventListener(t){var n;Y(this,Eo,t),(n=R(this,Fn))==null||n.call(this),Y(this,Fn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){R(this,Er)!==t&&(Y(this,Er,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof R(this,Er)=="boolean"?R(this,Er):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Er=new WeakMap,Fn=new WeakMap,Eo=new WeakMap,Fg),Ix=new pP,ko,Vn,To,Vg,mP=(Vg=class extends Nl{constructor(){super();ee(this,ko,!0);ee(this,Vn);ee(this,To);Y(this,To,t=>{if(!Ml&&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(){R(this,Vn)||this.setEventListener(R(this,To))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,Vn))==null||t.call(this),Y(this,Vn,void 0))}setEventListener(t){var n;Y(this,To,t),(n=R(this,Vn))==null||n.call(this),Y(this,Vn,t(this.setOnline.bind(this)))}setOnline(t){R(this,ko)!==t&&(Y(this,ko,t),this.listeners.forEac
vendor: 11,797 bytes, line 291
291h(r=>{r(t)}))}isOnline(){return R(this,ko)}},ko=new WeakMap,Vn=new WeakMap,To=new WeakMap,Vg),Ya=new mP;function gP(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function yP(e){return Math.min(1e3*2**e,3e4)}function Fx(e){return(e??"online")==="online"?Ya.isOnline():!0}var Vx=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Eu(e){return e instanceof Vx}function _x(e){let t=!1,n=0,r=!1,o;const i=gP(),s=y=>{var w;r||(f(new Vx(y)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Ix.isFocused()&&(e.networkMode==="always"||Ya.isOnline())&&e.canRun(),c=()=>Fx(e.networkMode)&&e.canRun(),d=y=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,y),o==null||o(),i.resolve(y))},f=y=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,y),o==null||o(),i.reject(y))},h=()=>new Promise(y=>{var w;o=m=>{(r||u())&&y(m)},(w=e.onPause)==null||w.call(e)}).then(()=>{var y;o=void 0,r||(y=e.onContinue)==null||y.call(e)}),x=()=>{if(r)return;let y;const w=n===0?e.initialPromise:void 0;try{y=w??e.fn()}catch(m){y=Promise.reject(m)}Promise.resolve(y).then(d).catch(m=>{var E;if(r)return;const g=e.retry??(Ml?0:3),v=e.retryDelay??yP,S=typeof v=="function"?v(n,m):v,C=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,m);if(t||!C){f(m);return}n++,(E=e.onFail)==null||E.call(e,n,m),cP(S).then(()=>u()?void 0:h()).then(()=>{t?f(m):x()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?x():h().then(x),i)}}var vP=e=>setTimeout(e,0);function xP(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=vP;const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var We=xP(),kr,_g,zx=(_g=class{constructor(){ee(this,kr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),aP(this.gcTime)&&Y(this,kr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ml?1/0:5*60*1e3))}clearGcTimeout(){R(this,kr)&&(clearTimeout(R(this,kr)),Y(this,kr,void 0))}},kr=new WeakMap,_g),Po,Tr,ht,Pr,_e,is,Rr,jt,sn,zg,wP=(zg=class extends zx{constructor(t){super();ee(this,jt);ee(this,Po);ee(this,Tr);ee(this,ht);ee(this,Pr);ee(this,_e);ee(this,is);ee(this,Rr);Y(this,Rr,!1),Y(this,is,t.defaultOptions),this.setOptions(t.options),this.observers=[],Y(this,Pr,t.client),Y(this,ht,R(this,Pr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Y(this,Po,SP(this.options)),this.state=t.state??R(this,Po),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=R(this,_e))==null?void 0:t.promise}setOptions(t){this.options={...R(this,is),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,ht).remove(this)}setData(t,n){const r=dP(this.state.data,t,this.options);return Ie(this,jt,sn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ie(this,jt,sn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=R(this,_e))==null?void 0:r.promise;return(o=R(this,_e))==null||o.cancel(t),n?n.then(At).catch(At):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,Po))}isActive(){return this.observers.some(t=>uP(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ff||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Kc(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:!lP(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,_e))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,_e))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),R(this,ht).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(R(this,_e)&&(R(this,Rr)?R(this,_e).cancel({revert:!0}):R(this,_e).cancelRetry()),this.scheduleGc()),R(this,ht).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ie(this,jt,sn).call(this,{type:"invalidate"})}fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(R(this,_e))return R(this,_e).continueRetry(),R(this,_e).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(h=>h.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(Y(this,Rr,!0),r.signal)})},i=()=>{const f=Ox(this.options,n),x=(()=>{const y={client:R(this,Pr),queryKey:this.queryKey,meta:this.meta};return o(y),y})();return Y(this,Rr,!1),this.options.persister?this.options.persister(f,x,this):f(x)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:R(this,Pr),state:this.state,fetchFn:i};return o(f),f})();(u=this.options.behavior)==null||u.onFetch(a,this),Y(this,Tr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Ie(this,jt,sn).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var h,x,y,w;Eu(f)&&f.silent||Ie(this,jt,sn).call(this,{type:"error",error:f}),Eu(f)||((x=(h=R(this,ht).config).onError)==null||x.call(h,f,this),(w=(y=R(this,ht).config).onSettled)==null||w.call(y,this.state.data,f,this)),this.scheduleGc()};return Y(this,_e,_x({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var h,x,y,w;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(m){l(m);return}(x=(h=R(this,ht).config).onSuccess)==null||x.call(h,f,this),(w=(y=R(this,ht).config).onSettled)==null||w.call(y,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,h)=>{Ie(this,jt,sn).call(this,{type:"failed",failureCount:f,error:h})},onPause:()=>{Ie(this,jt,sn).call(this,{type:"pause"})},onContinue:()=>{Ie(this,jt,sn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),R(this,_e).start()}},Po=new WeakMap,Tr=new WeakMap,ht=new WeakMap,Pr=new WeakMap,_e=new WeakMap,is=new WeakMap,Rr=new WeakMap,jt=new WeakSet,sn=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,...bP(r.data,this.options),fetchMeta:t.meta??null};case"success":return Y(this,Tr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Eu(o)&&o.revert&&R(this,Tr)?{...R(this,Tr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),We.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),R(this,ht).notify({query:this,type:"updated",action:t})})},zg);function bP(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Fx(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function SP(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 Wt,Bg,CP=(Bg=class extends Nl{constructor(t={}){super();ee(this,Wt);this.config=t,Y(this,Wt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??If(o,n);let s=this.get(i);return s||(s=new wP({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){R(this,Wt).has(t.queryHash)||(R(this,Wt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=R(this,Wt).get(t.queryHash);n&&(t.destroy(),n===t&&R(this,Wt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){We.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return R(this,Wt).get(t)}getAll(){return[...R(this,Wt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>om(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>om(t,r)):n}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){We.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){We.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Wt=new WeakMap,Bg),Kt,Ue,Nr,Gt,Mn,$g,EP=($g=class extends zx{constructor(t){super();ee(this,Gt);ee(this,Kt);ee(this,Ue);ee(this,Nr);this.mutationId=t.mutationId,Y(this,Ue,t.mutationCache),Y(this,Kt,[]),this.state=t.state||kP(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){R(this,Kt).includes(t)||(R(this,Kt).push(t),this.clearGcTimeout(),R(this,Ue).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Y(this,Kt,R(this,Kt).filter(n=>n!==t)),this.scheduleGc(),R(this,Ue).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){R(this,Kt).length||(this.state.status==="pending"?this.scheduleGc():R(this,Ue).remove(this))}continue(){var t;return((t=R(this,Nr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,a,l,u,c,d,f,h,x,y,w,m,g,v,S,C,E,k,T;const n=()=>{Ie(this,Gt,Mn).call(this,{type:"continue"})};Y(this,Nr,_x({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,A)=>{Ie(this,Gt,Mn).call(this,{type:"failed",failureCount:M,error:A})},onPause:()=>{Ie(this,Gt,Mn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,Ue).canRun(this)}));const r=this.state.status==="pending",o=!R(this,Nr).canStart();try{if(r)n();else{Ie(this,Gt,Mn).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=R(this,Ue).config).onMutate)==null?void 0:s.call(i,t,this));
291const A=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));A!==this.state.context&&Ie(this,Gt,Mn).call(this,{type:"pending",context:A,variables:t,isPaused:o})}const M=await R(this,Nr).start();return await((c=(u=R(this,Ue).config).onSuccess)==null?void 0:c.call(u,M,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,M,t,this.state.context)),await((x=(h=R(this,Ue).config).onSettled)==null?void 0:x.call(h,M,null,this.state.variables,this.state.context,this)),await((w=(y=this.options).onSettled)==null?void 0:w.call(y,M,null,t,this.state.context)),Ie(this,Gt,Mn).call(this,{type:"success",data:M}),M}catch(M){try{throw await((g=(m=R(this,Ue).config).onError)==null?void 0:g.call(m,M,t,this.state.context,this)),await((S=(v=this.options).onError)==null?void 0:S.call(v,M,t,this.state.context)),await((E=(C=R(this,Ue).config).onSettled)==null?void 0:E.call(C,void 0,M,this.state.variables,this.state.context,this)),await((T=(k=this.options).onSettled)==null?void 0:T.call(k,void 0,M,t,this.state.context)),M}finally{Ie(this,Gt,Mn).call(this,{type:"error",error:M})}}finally{R(this,Ue).runNext(this)}}},Kt=new WeakMap,Ue=new WeakMap,Nr=new WeakMap,Gt=new WeakSet,Mn=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),We.batch(()=>{R(this,Kt).forEach(r=>{r.onMutationUpdate(t)}),R(this,Ue).notify({mutation:this,type:"updated",action:t})})},$g);function kP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var un,Dt,ss,Ug,TP=(Ug=class extends Nl{constructor(t={}){super();ee(this,un);ee(this,Dt);ee(this,ss);this.config=t,Y(this,un,new Set),Y(this,Dt,new Map),Y(this,ss,0)}build(t,n,r){const o=new EP({mutationCache:this,mutationId:++Cs(this,ss)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){R(this,un).add(t);const n=Ws(t);if(typeof n=="string"){const r=R(this,Dt).get(n);r?r.push(t):R(this,Dt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(R(this,un).delete(t)){const n=Ws(t);if(typeof n=="string"){const r=R(this,Dt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&R(this,Dt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ws(t);if(typeof n=="string"){const r=R(this,Dt).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=Ws(t);if(typeof n=="string"){const o=(r=R(this,Dt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){We.batch(()=>{R(this,un).forEach(t=>{this.notify({type:"removed",mutation:t})}),R(this,un).clear(),R(this,Dt).clear()})}getAll(){return Array.from(R(this,un))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>im(n,r))}findAll(t={}){return this.getAll().filter(n=>im(t,n))}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return We.batch(()=>Promise.all(t.map(n=>n.continue().catch(At))))}},un=new WeakMap,Dt=new WeakMap,ss=new WeakMap,Ug);function Ws(e){var t;return(t=e.options.scope)==null?void 0:t.id}function lm(e){return{onFetch:(t,n)=>{var c,d,f,h,x;const r=t.options,o=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,i=((h=t.state.data)==null?void 0:h.pages)||[],s=((x=t.state.data)==null?void 0:x.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let y=!1;const w=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)}
vendor: 6,611 bytes, lines 291-300
291)},m=Ox(t.options,t.fetchOptions),g=async(v,S,C)=>{if(y)return Promise.reject();if(S==null&&v.pages.length)return Promise.resolve(v);const k=(()=>{const F={client:t.client,queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};return w(F),F})(),T=await m(k),{maxPages:M}=t.options,A=C?hP:fP;return{pages:A(v.pages,T,M),pageParams:A(v.pageParams,S,M)}};if(o&&i.length){const v=o==="backward",S=v?PP:um,C={pages:i,pageParams:s},E=S(r,C);a=await g(C,E,v)}else{const v=e??i.length;do{const S=l===0?s[0]??r.initialPageParam:um(r,a);if(l>0&&S==null)break;a=await g(a,S),l++}while(l<v)}return a};t.options.persister?t.fetchFn=()=>{var y,w;return(w=(y=t.options).persister)==null?void 0:w.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function um(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 PP(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 ve,_n,zn,Ro,No,Bn,Mo,Ao,Hg,RP=(Hg=class{constructor(e={}){ee(this,ve);ee(this,_n);ee(this,zn);ee(this,Ro);ee(this,No);ee(this,Bn);ee(this,Mo);ee(this,Ao);Y(this,ve,e.queryCache||new CP),Y(this,_n,e.mutationCache||new TP),Y(this,zn,e.defaultOptions||{}),Y(this,Ro,new Map),Y(this,No,new Map),Y(this,Bn,0)}mount(){Cs(this,Bn)._++,R(this,Bn)===1&&(Y(this,Mo,Ix.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,ve).onFocus())})),Y(this,Ao,Ya.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,ve).onOnline())})))}unmount(){var e,t;Cs(this,Bn)._--,R(this,Bn)===0&&((e=R(this,Mo))==null||e.call(this),Y(this,Mo,void 0),(t=R(this,Ao))==null||t.call(this),Y(this,Ao,void 0))}isFetching(e){return R(this,ve).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return R(this,_n).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,ve).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=R(this,ve).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Kc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return R(this,ve).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=R(this,ve).get(r.queryHash),i=o==null?void 0:o.state.data,s=sP(t,i);if(s!==void 0)return R(this,ve).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return We.batch(()=>R(this,ve).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,ve).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=R(this,ve);We.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=R(this,ve);return We.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=We.batch(()=>R(this,ve).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(At).catch(At)}invalidateQueries(e,t={}){return We.batch(()=>(R(this,ve).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=We.batch(()=>R(this,ve).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(At)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(At)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=R(this,ve).build(this,t);return n.isStaleByTime(Kc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(At).catch(At)}fetchInfiniteQuery(e){return e.behavior=lm(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(At).catch(At)}ensureInfiniteQueryData(e){return e.behavior=lm(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ya.isOnline()?R(this,_n).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,ve)}getMutationCache(){return R(this,_n)}getDefaultOptions(){return R(this,zn)}setDefaultOptions(e){Y(this,zn,e)}setQueryDefaults(e,t){R(this,Ro).set(Zi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...R(this,Ro).values()],n={};return t.forEach(r=>{Ji(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){R(this,No).set(Zi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...R(this,No).values()],n={};return t.forEach(r=>{Ji(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...R(this,zn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=If(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===Ff&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...R(this,zn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){R(this,ve).clear(),R(this,_n).clear()}},ve=new WeakMap,_n=new WeakMap,zn=new WeakMap,Ro=new WeakMap,No=new WeakMap,Bn=new WeakMap,Mo=new WeakMap,Ao=new WeakMap,Hg),NP=b.createContext(void 0),MP=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx(NP.Provider,{value:e,children:t}));/**
292 * @remix-run/router v1.23.0
293 *
294 * Copyright (c) Remix Software Inc.
295 *
296 * This source code is licensed under the MIT license found in the
297 * LICENSE.md file in the root directory of this source tree.
298 *
299 * @license MIT
300 */function Qa(){return Qa=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},Qa.apply(this,arguments)}var Hn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Hn||(Hn={}));const cm="popstate";function AP(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return Yc("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}
vendor: 4,627 bytes, line 300
300function n(r,o){return typeof o=="string"?o:$x(o)}return DP(t,n,null,e)}function rt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Bx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function jP(){return Math.random().toString(36).substr(2,8)}function dm(e,t){return{usr:e.state,key:e.key,idx:t}}function Yc(e,t,n,r){return n===void 0&&(n=null),Qa({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Al(t):t,{state:n,key:t&&t.key||r||jP()})}function $x(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 Al(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 DP(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=Hn.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(Qa({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=Hn.Pop;let w=c(),m=w==null?null:w-u;u=w,l&&l({action:a,location:y.location,delta:m})}function f(w,m){a=Hn.Push;let g=Yc(y.location,w,m);u=c()+1;let v=dm(g,u),S=y.createHref(g);try{s.pushState(v,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(S)}i&&l&&l({action:a,location:y.location,delta:1})}function h(w,m){a=Hn.Replace;let g=Yc(y.location,w,m);u=c();let v=dm(g,u),S=y.createHref(g);s.replaceState(v,"",S),i&&l&&l({action:a,location:y.location,delta:0})}function x(w){let m=o.location.origin!=="null"?o.location.origin:o.location.href,g=typeof w=="string"?w:$x(w);return g=g.replace(/ $/,"%20"),rt(m,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,m)}let y={get action(){return a},get location(){return e(o,s)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(cm,d),l=w,()=>{o.removeEventListener(cm,d),l=null}},createHref(w){return t(o,w)},createURL:x,encodeLocation(w){let m=x(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:h,go(w){return s.go(w)}};return y}var fm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(fm||(fm={}));function LP(e,t,n){return n===void 0&&(n="/"),OP(e,t,n,!1)}function OP(e,t,n,r){let o=typeof t=="string"?Al(t):t,i=Wx(o.pathname||"/",n);if(i==null)return null;let s=Ux(e);IP(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=GP(i);a=WP(s[l],u,r)}return a}function Ux(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(rt(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=So([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(rt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Ux(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:UP(u,i.index),routesMeta:c})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of Hx(i.path))o(i,s,l)}),t}function Hx(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=Hx(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function IP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:HP(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const FP=/^:[\w-]+$/,VP=3,_P=2,zP=1,BP=10,$P=-2,hm=e=>e==="*";function UP(e,t){let n=e.split("/"),r=n.length;return n.some(hm)&&(r+=$P),t&&(r+=_P),n.filter(o=>!hm(o)).reduce((o,i)=>o+(FP.test(i)?VP:i===""?zP:BP),r)}function HP(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function WP(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",d=pm({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=pm({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
vendor: 4,131 bytes, lines 300-309
300Object.assign(o,d.params),s.push({params:o,pathname:So([i,d.pathname]),pathnameBase:YP(So([i,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(i=So([i,d.pathnameBase]))}return s}function pm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=KP(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:f,isOptional:h}=c;if(f==="*"){let y=a[d]||"";s=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const x=a[d];return h&&!x?u[f]=void 0:u[f]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function KP(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Bx(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function GP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Bx(!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 Wx(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)||"/"}const So=e=>e.join("/").replace(/\/\/+/g,"/"),YP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function QP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Kx=["post","put","patch","delete"];new Set(Kx);const qP=["get",...Kx];new Set(qP);/**
301 * React Router v6.30.1
302 *
303 * Copyright (c) Remix Software Inc.
304 *
305 * This source code is licensed under the MIT license found in the
306 * LICENSE.md file in the root directory of this source tree.
307 *
308 * @license MIT
309 */function qa(){return qa=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},qa.apply(this,arguments)}const XP=b.createContext(null),ZP=b.createContext(null),Gx=b.createContext(null),jl=b.createContext(null),Dl=b.createContext({outlet:null,matches:[],isDataRoute:!1}),Yx=b.createContext(null);function Vf(){return b.useContext(jl)!=null}function Qx(){return Vf()||rt(!1),b.useContext(jl).location}function JP(e,t){return eR(e,t)}function eR(e,t,n,r){Vf()||rt(!1);let{navigator:o}=b.useContext(Gx),{matches:i}=b.useContext(Dl),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=Qx(),c;if(t){var d;let w=typeof t=="string"?Al(t):t;l==="/"||(d=w.pathname)!=null&&d.startsWith(l)||rt(!1),c=w}else c=u;let f=c.pathname||"/",h=f;if(l!=="/"){let w=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let x=LP(e,{pathname:h}),y=iR(x&&x.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:So([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:So([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&y?b.createElement(jl.Provider,{value:{location:qa({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Hn.Pop}},y):y}function tR(){let e=uR(),t=QP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application 
309Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:o},n):null,null)}const nR=b.createElement(tR,null);class rR extends b.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?b.createElement(Dl.Provider,{value:this.props.routeContext},b.createElement(Yx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function oR(e){let{routeContext:t,match:n,children:r}=e,o=b.useContext(XP);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Dl.Provider,{value:t},r)}function iR(e,t,n,r){var o;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 s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||rt(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<s.length;c++){let d=s[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:f,errors:h}=n,x=d.route.loader&&f[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||x){l=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let h,x=!1,y=null,w=null;n&&(h=a&&d.route.id?a[d.route.id]:void 0,y=d.route.errorElement||nR,l&&(u<0&&f===0?(x=!0,w=null):u===f&&(x=!0,w=d.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,f+1)),g=()=>{let v;return h?v=y:x?v=w:d.route.Component?v=b.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,b.createElement(oR,{match:d,routeContext:{outlet:c,matches:m,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(rR,{location:n.location,revalidation:n.revalidation,component:y,error:h,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var Qc=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}(Qc||{});function sR(e){let t=b.useContext(ZP);return t||rt(!1),t}function aR(e){let t=b.useContext(Dl);return t||rt(!1),t}function lR(e){let t=aR(),n=t.matches[t.matches.length-1];return n.route.id||rt(!1),n.route.id}function uR(){var e;let t=b.useContext(Yx),n=sR(Qc.UseRouteError),r=lR(Qc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function cR(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function qc(e){rt(!1)}function dR(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Hn.Pop,navigator:i,static:s=!1,future:a}=e;Vf()&&rt(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:i,static:s,future:qa({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=Al(r));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:x="default"}=r,y=b.useMemo(()=>{let w=Wx(c,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:h,key:x},navigationType:o}},[l,c,d,f,h,x,o]);return y==null?null:b.createElement(Gx.Provider,{value:u},b.createElement(jl.Provider,{children:n,value:y}))}function fR(e){let{children:t,location:n}=e;return JP(Xc(t),n)}new Promise(()=>{});function Xc(e,t){t===void 0&&(t=[]);let n=[];
309return b.Children.forEach(e,(r,o)=>{if(!b.isValidElement(r))return;let i=[...t,o];if(r.type===b.Fragment){n.push.apply(n,Xc(r.props.children,i));return}r.type!==qc&&rt(!1),!r.props.index||!r.props.children||rt(!1);let s={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&&(s.children=Xc(r.props.children,i)),n.push(s)}),n}/**
310 * React Router DOM v6.30.1
311 *
312 * Copyright (c) Remix Software Inc.
313 *
314 * This source code is licensed under the MIT license found in the
315 * LICENSE.md file in the root directory of this source tree.
316 *
317 * @license MIT
318 */const hR="6";try{window.__reactRouterVersion=hR}catch{}const pR="startTransition",mm=ny[pR];function mR(e){let{basename:t,children:n,future:r,window:o}=e,i=b.useRef();i.current==null&&(i.current=AP({window:o,v5Compat:!0}));let s=i.current,[a,l]=b.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&mm?mm(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>s.listen(c),[s,c]),b.useEffect(()=>cR(r),[r]),b.createElement(dR,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var gm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(gm||(gm={}));var ym;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ym||(ym={}));const _f=b.createContext({});function zf(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const qx=typeof window<"u",Xx=qx?b.useLayoutEffect:b.useEffect,Ll=b.createContext(null);function Bf(e,t){e.indexOf(t)===-1&&e.push(t)}function Xa(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const tn=(e,t,n)=>n>t?t:n<e?e:n;let Ol=()=>{},Bo=()=>{};const xn={},Zx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Jx(e){return typeof e=="object"&&e!==null}const e1=e=>/^0[^.\s]+$/u.test(e);function t1(e){let t;return()=>(t===void 0&&(t=e()),t)}const xt=e=>e,gR=(e,t)=>n=>t(e(n)),gs=(...e)=>e.reduce(gR),es=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class $f{constructor(){this.subscriptions=[]}add(t){return Bf(this.subscriptions,t),()=>Xa(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i<o;i++){const s=this.subscriptions[i];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const wt=e=>e*1e3,yt=e=>e/1e3;function n1(e,t){return t?e*(1e3/t):0}const r1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,yR=1e-7,vR=12;function xR(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=r1(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>yR&&++a<vR);return s}function ys(e,t,n,r){if(e===t&&n===r)return xt;const o=i=>xR(i,0,1,e,n);return i=>i===0||i===1?i:r1(o(i),t,r)}const o1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,i1=e=>t=>1-e(1-t),s1=ys(.33,1.53,.69,.99),Uf=i1(s1),a1=o1(Uf),l1=e=>(e*=2)<1?.5*Uf(e):.5*(2-Math.pow(2,-10*(e-1))),Hf=e=>1-Math.sin(Math.acos(e)),u1=i1(Hf),c1=o1(Hf),wR=ys(.42,0,1,1),bR=ys(0,0,.58,1),d1=ys(.42,0,.58,1),SR=e=>Array.isArray(e)&&typeof e[0]!="number",f1=e=>Array.isArray(e)&&typeof e[0]=="number",vm={linear:xt,easeIn:wR,easeInOut:d1,easeOut:bR,circIn:Hf,circInOut:c1,circOut:u1,backIn:Uf,backInOut:a1,backOut:s1,anticipate:l1},CR=e=>typeof e=="string",xm=e=>{if(f1(e)){Bo(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,o]=e;return ys(t,n,r,o)}else if(CR(e))return Bo(vm[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),vm[e];return e},Ks=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],wm={value:null,addProjectionMetrics:null};function ER(e,t){let n=new Set,r=new Set,o=!1,i=!1;const s=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){s.has(d)&&(c.schedule(d),e()),l++,d(a)}const c={schedule:(d,f=!1,h=!1)=>{const y=h&&o?n:r;return f&&s.add(d),y.has(d)||y.add(d),d},cancel:d=>
vendor: 20,150 bytes, line 318
318{r.delete(d),s.delete(d)},process:d=>{if(a=d,o){i=!0;return}o=!0,[n,r]=[r,n],n.forEach(u),t&&wm.value&&wm.value.frameloop[t].push(l),l=0,n.clear(),o=!1,i&&(i=!1,c.process(d))}};return c}const kR=40;function h1(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=Ks.reduce((v,S)=>(v[S]=ER(i,t?S:void 0),v),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:h,postRender:x}=s,y=()=>{const v=xn.useManualTiming?o.timestamp:performance.now();n=!1,xn.useManualTiming||(o.delta=r?1e3/60:Math.max(Math.min(v-o.timestamp,kR),1)),o.timestamp=v,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),h.process(o),x.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(y))},w=()=>{n=!0,r=!0,o.isProcessing||e(y)};return{schedule:Ks.reduce((v,S)=>{const C=s[S];return v[S]=(E,k=!1,T=!1)=>(n||w(),C.schedule(E,k,T)),v},{}),cancel:v=>{for(let S=0;S<Ks.length;S++)s[Ks[S]].cancel(v)},state:o,steps:s}}const{schedule:se,cancel:sr,state:Ae,steps:ku}=h1(typeof requestAnimationFrame<"u"?requestAnimationFrame:xt,!0);let fa;function TR(){fa=void 0}const Ke={now:()=>(fa===void 0&&Ke.set(Ae.isProcessing||xn.useManualTiming?Ae.timestamp:performance.now()),fa),set:e=>{fa=e,queueMicrotask(TR)}},p1=e=>t=>typeof t=="string"&&t.startsWith(e),m1=p1("--"),PR=p1("var(--"),Wf=e=>PR(e)?RR.test(e.split("/*")[0].trim()):!1,RR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function bm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const qo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ts={...qo,transform:e=>tn(0,1,e)},Gs={...qo,default:1},Ri=e=>Math.round(e*1e5)/1e5,Kf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function NR(e){return e==null}const MR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Gf=(e,t)=>n=>!!(typeof n=="string"&&MR.test(n)&&n.startsWith(e)||t&&!NR(n)&&Object.prototype.hasOwnProperty.call(n,t)),g1=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,s,a]=r.match(Kf);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},AR=e=>tn(0,255,e),Tu={...qo,transform:e=>Math.round(AR(e))},Sr={test:Gf("rgb","red"),parse:g1("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Tu.transform(e)+", "+Tu.transform(t)+", "+Tu.transform(n)+", "+Ri(ts.transform(r))+")"};function jR(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Zc={test:Gf("#"),parse:jR,transform:Sr.transform},vs=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),An=vs("deg"),Jt=vs("%"),z=vs("px"),DR=vs("vh"),LR=vs("vw"),Sm={...Jt,parse:e=>Jt.parse(e)/100,transform:e=>Jt.transform(e*100)},lo={test:Gf("hsl","hue"),parse:g1("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Jt.transform(Ri(t))+", "+Jt.transform(Ri(n))+", "+Ri(ts.transform(r))+")"},Se={test:e=>Sr.test(e)||Zc.test(e)||lo.test(e),parse:e=>Sr.test(e)?Sr.parse(e):lo.test(e)?lo.parse(e):Zc.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Sr.transform(e):lo.transform(e),getAnimatableNone:e=>{const t=Se.parse(e);return t.alpha=0,Se.transform(t)}},OR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function IR(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Kf))==null?void 0:t.length)||0)+(((n=e.match(OR))==null?void 0:n.length)||0)>0}const y1="number",v1="color",FR="var",VR="var(",Cm="${}",_R=/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 ns(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(_R,l=>(Se.test(l)?(r.color.push(i),o.push(v1),n.push(Se.parse(l))):l.startsWith(VR)?(r.var.push(i),o.push(FR),n.push(l)):(r.number.push(i),o.push(y1),n.push(parseFloat(l))),++i,Cm)).split(Cm);return{values:n,split:a,indexes:r,types:o}}function x1(e){return ns(e).values}function w1(e){const{split:t,types:n}=ns(e),r=t.length;return o=>{let i="";for(let s=0;s<r;s++)if(i+=t[s],o[s]!==void 0){const a=n[s];a===y1?i+=Ri(o[s]):a===v1?i+=Se.transform(o[s]):i+=o[s]}return i}}const zR=e=>typeof e=="number"?0:Se.test(e)?Se.getAnimatableNone(e):e;function BR(e){const t=x1(e);return w1(e)(t.map(zR))}const Vt={test:IR,parse:x1,createTransformer:w1,getAnimatableNone:BR};function Pu(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 $R({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,s=0;if(!t)o=i=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=Pu(l,a,e+1/3),i=Pu(l,a,e),s=Pu(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function Za(e,t){return n=>n>0?t:e}const me=(e,t,n)=>e+(t-e)*n,Ru=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},UR=[Zc,Sr,lo],HR=e=>UR.find(t=>t.test(e));function Em(e){const t=HR(e);if(Ol(!!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===lo&&(n=$R(n)),n}const km=(e,t)=>{const n=Em(e),r=Em(t);if(!n||!r)return Za(e,t);const o={...n};return i=>(o.red=Ru(n.red,r.red,i),o.green=Ru(n.green,r.green,i),o.blue=Ru(n.blue,r.blue,i),o.alpha=me(n.alpha,r.alpha,i),Sr.transform(o))},Jc=new Set(["none","hidden"]);function WR(e,t){return Jc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function KR(e,t){return n=>me(e,t,n)}function Yf(e){return typeof e=="number"?KR:typeof e=="string"?Wf(e)?Za:Se.test(e)?km:QR:Array.isArray(e)?b1:typeof e=="object"?Se.test(e)?km:GR:Za}function b1(e,t){const n=[...e],r=n.length,o=e.map((i,s)=>Yf(i)(i,t[s]));return i=>{for(let s=0;s<r;s++)n[s]=o[s](i);return n}}function GR(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Yf(e[o])(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}}function YR(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const i=t.types[o],s=e.indexes[i][r[i]],a=e.values[s]??0;n[o]=a,r[i]++}return n}const QR=(e,t)=>{const n=Vt.createTransformer(t),r=ns(e),o=ns(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Jc.has(e)&&!o.values.length||Jc.has(t)&&!r.values.length?WR(e,t):gs(b1(YR(r,o),o.values),n):(Ol(!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"),Za(e,t))};function S1(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?me(e,t,n):Yf(e)(e,t)}const qR=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>se.update(t,n),stop:()=>sr(t),now:()=>Ae.isProcessing?Ae.timestamp:Ke.now()}},C1=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=Math.round(e(i/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Ja=2e4;function Qf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Ja;)t+=n,r=e.next(t);return t>=Ja?1/0:t}function XR(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(Qf(r),Ja);return{type:"keyframes",ease:i=>r.next(o*i).value/t,duration:yt(o)}}const ZR=5;function E1(e,t,n){const r=Math.max(t-ZR,0);return n1(n-e(r),t-r)}const he={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},Nu=.001;function JR({duration:e=he.duration,bounce:t=he.bounce,velocity:n=he.velocity,mass:r=he.mass}){let o,i;Ol(e<=wt(he.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=tn(he.minDamping,he.maxDamping,s),e=tn(he.minDuration,he.maxDuration,yt(e)),s<1?(o=u=>{const c=u*s,d=c*e,f=c-n,h=ed(u,s),x=Math.exp(-d);return Nu-f/h*x},i=u=>{const d=u*s*e,f=d*n+n,h=Math.pow(s,2)*Math.pow(u,2)*e,x=Math.exp(-d),y=ed(Math.pow(u,2),s);return(-o(u)+Nu>0?-1:1)*((f-h)*x)/y}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Nu+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=tN(o,i,a);if(e=wt(e),isNaN(l))return{stiffness:he.stiffness,damping:he.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const eN=12;function tN(e,t,n){let r=n;for(let o=1;o<eN;o++)r=r-e(r)/t(r);return r}function ed(e,t){return e*Math.sqrt(1-t*t)}const nN=["duration","bounce"],rN=["stiffness","damping","mass"];function Tm(e,t){return t.some(n=>e[n]!==void 0)}function oN(e){let t={velocity:he.velocity,stiffness:he.stiffness,damping:he.damping,mass:he.mass,isResolvedFromDuration:!1,...e};if(!Tm(e,rN)&&Tm(e,nN))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,i=2*tn(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:he.mass,stiffness:o,damping:i}}else{const n=JR({...e,velocity:0});t={...t,...n,mass:he.mass},t.isResolvedFromDuration=!0}return t}function el(e=he.visualDuration,t=he.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=oN({...n,velocity:-yt(n.velocity||0)}),x=f||0,y=u/(2*Math.sqrt(l*c)),w=s-i,m=yt(Math.sqrt(l/c)),g=Math.abs(w)<5;r||(r=g?he.restSpeed.granular:he.restSpeed.default),o||(o=g?he.restDelta.granular:he.restDelta.default);let v;if(y<1){const C=ed(m,y);v=E=>{const k=Math.exp(-y*m*E);return s-k*((x+y*m*w)/C*Math.sin(C*E)+w*Math.cos(C*E))}}else if(y===1)v=C=>s-Math.exp(-m*C)*(w+(x+m*w)*C);else{const C=m*Math.sqrt(y*y-1);v=E=>{const k=Math.exp(-y*m*E),T=Math.min(C*E,300);return s-k*((x+y*m*w)*Math.sinh(T)+C*w*Math.cosh(T))/C}}const S={calculatedDuration:h&&d||null,next:C=>{const E=v(C);if(h)a.done=C>=d;else{let k=C===0?x:0;y<1&&(k=C===0?wt(x):E1(v,C,E));const T=Math.abs(k)<=r,M=Math.abs(s-E)<=o;a.done=T&&M}return a.value=a.done?s:E,a},toString:()=>{const C=Math.min(Qf(S),Ja),E=C1(k=>S.next(C*k).value,C,30);return C+"ms "+E},toTransition:()=>{}};return S}el.applyToOptions=e=>{const t=XR(e,100,el);return e.ease=t.ease,e.duration=wt(t.duration),e.type="keyframes",e};function td({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},h=T=>a!==void 0&&T<a||l!==void 0&&T>l,x=T=>a===void 0?l:l===void 0||Math.abs(a-T)<Math.abs(l-T)?a:l;let y=n*t;const w=d+y,m=s===void 0?w:s(w);m!==w&&(y=m-d);const g=T=>-y*Math.exp(-T/r),v=T=>m+g(T),S=T=>{const M=g(T),A=v(T);f.done=Math.abs(M)<=u,f.value=f.done?m:A};let C,E;const k=T=>{h(f.value)&&(C=T,E=el({keyframes:[f.value,x(f.value)],velocity:E1(v,T,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return k(0),{calculatedDuration:null,next:T=>{let M=!1;return!E&&C===void 0&&(M=!0,S(T),k(T)),C!==void 0&&T>=C?E.next(T-C):(!M&&S(T),f)}}}function iN(e,t,n){const r=[],o=n||xn.mix||S1,i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||xt:t;a=gs(l,a)}r.push(a)}return r}function sN(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Bo(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 s=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=iN(t,r,o),l=a.length,u=c=>{if(s&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const f=es(e[d],e[d+1],c);return a[d](f)};return n?c=>u(tn(e[0],e[i-1],c)):u}function aN(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=es(0,t,r);e.push(me(n,1,o))}}function lN(e){const t=[0];return aN(t,e.length-1),t}function uN(e,t){return e.map(n=>n*t)}function cN(e,t){return e.map(()=>t||d1).splice(0,e.length-1)}function Ni({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=SR(r)?r.map(xm):xm(r),i={done:!1,value:t[0]},s=uN(n&&n.length===t.length?n:lN(t),e),a=sN(s,t,{ease:Array.isArray(o)?o:cN(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const dN=e=>e!==null;function qf(e,{repeat:t,repeatType:n="loop"},r,o=1){const i=e.filter(dN),a=o<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const fN={decay:td,inertia:td,tween:Ni,keyframes:Ni,spring:el};function k1(e){typeof e.type=="string"&&(e.type=fN[e.type])}class Xf{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 hN=e=>e/100;class Zf extends Xf{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,o;const{motionValue:n}=this.options;n&&n.updatedAt!==Ke.now()&&this.tick(Ke.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(o=(r=this.options).onStop)==null||o.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;k1(t);const{type:n=Ni,repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=t;let{keyframes:a}=t;const l=n||Ni;l!==Ni&&typeof a[0]!="number"&&(this.mixKeyframes=gs(hN,S1(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});i==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),u.calculatedDuration===null&&(u.calculatedDuration=Qf(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+o,this.totalDuration=this.resolvedDuration*(r+1)-o,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:o,mixKeyframes:i,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:h,type:x,onUpdate:y,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const m=this.currentTime-u*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?m<0:m>o;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let v=this.currentTime,S=r;if(d){const T=Math.min(this.currentTime,o)/a;let M=Math.floor(T),A=T%1;!A&&T>=1&&(A=1),A===1&&M--,M=Math.min(M,d+1),!!(M%2)&&(f==="reverse"?(A=1-A,h&&(A-=h/a)):f==="mirror"&&(S=s)),v=tn(0,1,A)*a}const C=g?{done:!1,value:c[0]}:S.next(v);i&&(C.value=i(C.value));let{done:E}=C;!g&&l!==null&&(E=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return k&&x!==td&&(C.value=qf(c,this.options,w,this.speed)),y&&y(C.value),k&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return yt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+yt(t)}get time(){return yt(this.currentTime)}set time(t){var n;t=wt(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(Ke.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=yt(this.currentTime))}play(){var o,i;if(this.isStopped)return;const{driver:t=qR,startTime:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),(i=(o=this.options).onPlay)==null||i.call(o);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(Ke.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 pN(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Cr=e=>e*180/Math.PI,nd=e=>{const t=Cr(Math.atan2(e[1],e[0]));return rd(t)},mN={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:nd,rotateZ:nd,skewX:e=>Cr(Math.atan(e[1])),skewY:e=>Cr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},rd=e=>(e=e%360,e<0&&(e+=360),e),Pm=nd,Rm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Nm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),gN={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Rm,scaleY:Nm,scale:e=>(Rm(e)+Nm(e))/2,rotateX:e=>rd(Cr(Math.atan2(e[6],e[5]))),rotateY:e=>rd(Cr(Math.atan2(-e[2],e[0]))),rotateZ:Pm,rotate:Pm,skewX:e=>Cr(Math.atan(e[4])),skewY:e=>Cr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function od(e){return e.includes("scale")?1:0}function id(e,t){if(!e||e==="none")return od(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=gN,o=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=mN,o=a}if(!o)return od(t);const i=r[t],s=o[1].split(",").map(vN);return typeof i=="function"?i(s):s[i]}const yN=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return id(n,t)};function vN(e){return parseFloat(e.trim())}const Xo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Zo=new Set(Xo),Mm=e=>e===qo||e===z,xN=new Set(["x","y","z"]),wN=Xo.filter(e=>!xN.has(e));function bN(e){const t=[];return wN.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Wn={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})=>id(t,"x"),y:(e,{transform:t})=>id(t,"y")};Wn.translateX=Wn.x;Wn.translateY=Wn.y;const jr=new Set;let sd=!1,ad=!1,ld=!1;function T1(){if(ad){const e=Array.from(jr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=bN(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([i,s])=>{var a;(a=r.getValue(i))==null||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}
vendor: 1,426 bytes, line 318
318ad=!1,sd=!1,jr.forEach(e=>e.complete(ld)),jr.clear()}function P1(){jr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ad=!0)})}function SN(){ld=!0,P1(),T1(),ld=!1}class Jf{constructor(t,n,r,o,i,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(jr.add(this),sd||(sd=!0,se.read(P1),se.resolveKeyframes(T1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;if(t[0]===null){const i=o==null?void 0:o.get(),s=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const a=r.readValue(n,s);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=s),o&&i===void 0&&o.set(t[0])}pN(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),jr.delete(this)}cancel(){this.state==="scheduled"&&(jr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const CN=e=>e.startsWith("--");function EN(e,t,n){CN(t)?e.style.setProperty(t,n):e.style[t]=n}const kN={};function R1(e,t){const n=t1(e);return()=>kN[t]??n()}const TN=R1(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),N1=R1(()=>{try{document.createElement("div").animate({opacity:0}
vendor: 4,661 bytes, line 318
318,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),yi=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Am={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:yi([0,.65,.55,1]),circOut:yi([.55,0,1,.45]),backIn:yi([.31,.01,.66,-.59]),backOut:yi([.33,1.53,.69,.99])};function M1(e,t){if(e)return typeof e=="function"?N1()?C1(e,t):"ease-out":f1(e)?yi(e):Array.isArray(e)?e.map(n=>M1(n,t)||Am.easeOut):Am[e]}function PN(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=M1(a,o);Array.isArray(d)&&(c.easing=d);const f={delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(c,f)}function A1(e){return typeof e=="function"&&"applyToOptions"in e}function RN({type:e,...t}){return A1(e)&&N1()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class j1 extends Xf{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:o,pseudoElement:i,allowFlatten:s=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!i,this.allowFlatten=s,this.options=t,Bo(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=RN(t);this.animation=PN(n,r,o,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const c=qf(o,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):EN(n,r,c),this.animation.cancel()}l==null||l(),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 n,r,o;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((o=(r=this.animation).commitStyles)==null||o.call(r))}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 yt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+yt(t)}get time(){return yt(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=wt(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&&TN()?(this.animation.timeline=t,xt):n(this)}}const D1={anticipate:l1,backInOut:a1,circInOut:c1};function NN(e){return e in D1}function MN(e){typeof e.ease=="string"&&NN(e.ease)&&(e.ease=D1[e.ease])}const Mu=10;class AN extends j1{constructor(t){MN(t),k1(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:o,element:i,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Zf({...s,autoplay:!1}),l=Math.max(Mu,Ke.now()-this.startTime),u=tn(0,Mu,l-Mu);n.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}const jm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Vt.test(e)||e==="0")&&!e.startsWith("url("));function jN(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 DN(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],s=jm(o,t),a=jm(i,t);return Ol(s===a,`You are trying to animate ${t} from "${o}" to "${i}". "${s?i:o}" is not an animatable value.`,"value-not-animatable"),!s||!a?!1:jN(e)||(n==="spring"||A1(n))&&r}function ud(e){e.duration=0,e.type="keyframes"}const LN=new Set(["opacity","clipPath","filter","transform"]),ON=t1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function IN(e){var c;
318const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:s}=e;if(!(((c=t==null?void 0:t.owner)==null?void 0:c.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=t.owner.getProps();return ON()&&n&&LN.has(n)&&(n!=="transform"||!u)&&!l&&!r&&o!=="mirror"&&i!==0&&s!=="inertia"}const FN=40;class VN extends Xf{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",keyframes:a,name:l,motionValue:u,element:c,...d}){var x;super(),this.stop=()=>{var y,w;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=Ke.now();const f={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:s,name:l,motionValue:u,element:c,...d},h=(c==null?void 0:c.KeyframeResolver)||Jf;this.keyframeResolver=new h(a,(y,w,m)=>this.onKeyframesResolved(y,w,f,!m),l,u,c),(x=this.keyframeResolver)==null||x.scheduleResolve()}onKeyframesResolved(t,n,r,o){var w,m;this.keyframeResolver=void 0;const{name:i,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=Ke.now(),DN(t,i,s,a)||((xn.instantAnimations||!l)&&(c==null||c(qf(t,r,n))),t[0]=t[t.length-1],ud(r),r.repeat=0);const f={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>FN?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},h=!u&&IN(f),x=(m=(w=f.motionValue)==null?void 0:w.owner)==null?void 0:m.current,y=h?new AN({...f,element:x}):new Zf(f);y.finished.then(()=>{this.notifyFinished()}).catch(xt),this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}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(),SN()),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 L1(e,t,n,r=0,o=1){const i=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),s=e.size,a=(s-1)*r;return typeof n=="function"?n(i,s):o===1?i*r:a-i*r}const _N=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function zN(e){const t=_N.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}const BN=4;function O1(e,t,n=1){Bo(n<=BN,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,o]=zN(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return Zx(s)?parseFloat(s):s}return Wf(o)?O1(o,t,n+1):o}const $N={type:"spring",stiffness:500,damping:25,restSpeed:10},UN=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),HN={type:"keyframes",duration:.8},WN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},KN=(e,{keyframes:t})=>t.length>2?HN:Zo.has(e)?e.startsWith("scale")?UN(t[1]):$N:WN,GN=e=>e!==null;function YN(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(GN),i=t&&n!=="loop"&&t%2===1?0:o.length-1;return!i||r===void 0?o[i]:r}function I1(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function eh(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?I1(n,e):n}function QN({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const th=(e,t,n,r={},o,i)=>s=>{const a=eh(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-wt(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};QN(a)||Object.assign(c,KN(e,c)),c.duration&&(c.duration=wt(c.duration)),c.repeatDelay&&(c.repeatDelay=wt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(ud(c),c.delay===0&&(
vendor: 29,553 bytes, line 318
318d=!0)),(xn.instantAnimations||xn.skipAnimations||o!=null&&o.shouldSkipAnimations)&&(d=!0,ud(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!i&&t.get()!==void 0){const f=YN(c.keyframes,a);if(f!==void 0){se.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new Zf(c):new VN(c)};function Dm(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function nh(e,t,n,r){if(typeof t=="function"){const[o,i]=Dm(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,i]=Dm(r);t=t(n!==void 0?n:e.custom,o,i)}return t}function Co(e,t,n){const r=e.getProps();return nh(r,t,n!==void 0?n:r.custom,e)}const F1=new Set(["width","height","top","left","right","bottom",...Xo]),Lm=30,qN=e=>!isNaN(parseFloat(e));class XN{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const o=Ke.now();if(this.updatedAt!==o&&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 s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ke.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=qN(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 $f);const r=this.events[t].add(n);return t==="change"?()=>{r(),se.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=Ke.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Lm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Lm);return n1(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 $o(e,t){return new XN(e,t)}const cd=e=>Array.isArray(e);function ZN(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,$o(n))}function JN(e){return cd(e)?e[e.length-1]||0:e}function eM(e,t){const n=Co(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const s in i){const a=JN(i[s]);ZN(e,s,a)}}const Be=e=>!!(e&&e.getVelocity);function tM(e){return!!(Be(e)&&e.add)}function dd(e,t){const n=e.getValue("willChange");if(tM(n))return n.add(t);if(!n&&xn.WillChange){const r=new xn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function rh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const nM="framerAppearId",V1="data-"+rh(nM);function _1(e){return e.props[V1]}function rM({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function z1(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i,transitionEnd:s,...a}=t;const l=e.getDefaultTransition();i=i?I1(i,l):l;const u=i==null?void 0:i.reduceMotion;r&&(i=r);const c=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const f in a){const h=e.getValue(f,e.latestValues[f]??null),x=a[f];if(x===void 0||d&&rM(d,f))continue;const y={delay:n,...eh(i||{},f)},w=h.get();if(w!==void 0&&!h.isAnimating&&!Array.isArray(x)&&x===w&&!y.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const S=_1(e);if(S){const C=window.MotionHandoffAnimation(S,f,se);C!==null&&(y.startTime=C,m=!0)}}dd(e,f);const g=u??e.shouldReduceMotion;h.start(th(f,h,x,g&&F1.has(f)?{type:!1}:y,e,m));const v=h.animation;v&&c.push(v)}if(s){const f=()=>se.update(()=>{s&&eM(e,s)});c.length?Promise.all(c).then(f):f()}return c}function fd(e,t,n={}){var l;const r=Co(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(z1(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=o;return oM(e,t,u,c,d,f,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[u,c]=a==="beforeChildren"?[i,s]:[s,i];return u().then(()=>c())}else return Promise.all([i(),s(n.delay)])}function oM(e,t,n=0,r=0,o=0,i=1,s){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(fd(l,t,{...s,delay:n+(typeof r=="function"?0:r)+L1(e.variantChildren,l,r,o,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function iM(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>fd(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=fd(e,t,n);else{const o=typeof t=="function"?Co(e,t,n.custom):t;r=Promise.all(z1(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const sM={test:e=>e==="auto",parse:e=>e},B1=e=>t=>t.test(e),$1=[qo,z,Jt,An,LR,DR,sM],Om=e=>$1.find(B1(e));function aM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||e1(e):!0}const lM=new Set(["brightness","contrast","saturate","opacity"]);function uM(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Kf)||[];if(!r)return e;const o=n.replace(r,"");let i=lM.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const cM=/\b([a-z-]*)\(.*?\)/gu,hd={...Vt,getAnimatableNone:e=>{const t=e.match(cM);return t?t.map(uM).join(" "):e}},pd={...Vt,getAnimatableNone:e=>{const t=Vt.parse(e);return Vt.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Im={...qo,transform:Math.round},dM={rotate:An,rotateX:An,rotateY:An,rotateZ:An,scale:Gs,scaleX:Gs,scaleY:Gs,scaleZ:Gs,skew:An,skewX:An,skewY:An,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z,perspective:z,transformPerspective:z,opacity:ts,originX:Sm,originY:Sm,originZ:z},oh={borderWidth:z,borderTopWidth:z,borderRightWidth:z,borderBottomWidth:z,borderLeftWidth:z,borderRadius:z,borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomRightRadius:z,borderBottomLeftRadius:z,width:z,maxWidth:z,height:z,maxHeight:z,top:z,right:z,bottom:z,left:z,inset:z,insetBlock:z,insetBlockStart:z,insetBlockEnd:z,insetInline:z,insetInlineStart:z,insetInlineEnd:z,padding:z,paddingTop:z,paddingRight:z,paddingBottom:z,paddingLeft:z,paddingBlock:z,paddingBlockStart:z,paddingBlockEnd:z,paddingInline:z,paddingInlineStart:z,paddingInlineEnd:z,margin:z,marginTop:z,marginRight:z,marginBottom:z,marginLeft:z,marginBlock:z,marginBlockStart:z,marginBlockEnd:z,marginInline:z,marginInlineStart:z,marginInlineEnd:z,fontSize:z,backgroundPositionX:z,backgroundPositionY:z,...dM,zIndex:Im,fillOpacity:ts,strokeOpacity:ts,numOctaves:Im},fM={...oh,color:Se,backgroundColor:Se,outlineColor:Se,fill:Se,stroke:Se,borderColor:Se,borderTopColor:Se,borderRightColor:Se,borderBottomColor:Se,borderLeftColor:Se,filter:hd,WebkitFilter:hd,mask:pd,WebkitMask:pd},U1=e=>fM[e],hM=new Set([hd,pd]);function H1(e,t){let n=U1(e);return hM.has(n)||(n=Vt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const pM=new Set(["auto","none","0"]);function mM(e,t,n){let r=0,o;for(;r<e.length&&!o;){const i=e[r];typeof i=="string"&&!pM.has(i)&&ns(i).values.length&&(o=e[r]),r++}if(o&&n)for(const i of t)e[i]=H1(n,o)}class gM extends Jf{constructor(t,n,r,o,i){super(t,n,r,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="string"&&(d=d.trim(),Wf(d))){const f=O1(d,n.current);f!==void 0&&(t[c]=f),c===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!F1.has(r)||t.length!==2)return;const[o,i]=t,s=Om(o),a=Om(i),l=bm(o),u=bm(i);if(l!==u&&Wn[r]){this.needsMeasurement=!0;return}if(s!==a)if(Mm(s)&&Mm(a))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else Wn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||aM(t[o]))&&r.push(o);r.length&&mM(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=Wn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const i=r.length-1,s=r[i];r[i]=Wn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}const yM=new Set(["opacity","clipPath","filter","transform"]);function W1(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const o=document.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(r=>r!=null)}const K1=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function md(e){return Jx(e)&&"offsetHeight"in e}const{schedule:ih,cancel:d5}=h1(queueMicrotask,!1),Nt={x:!1,y:!1};function G1(){return Nt.x||Nt.y}function vM(e){return e==="x"||e==="y"?Nt[e]?null:(Nt[e]=!0,()=>{Nt[e]=!1}):Nt.x||Nt.y?null:(Nt.x=Nt.y=!0,()=>{Nt.x=Nt.y=!1})}function Y1(e,t){const n=W1(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function xM(e){return!(e.pointerType==="touch"||G1())}function wM(e,t,n={}){const[r,o,i]=Y1(e,n);return r.forEach(s=>{let a=!1,l=!1,u;const c=()=>{s.removeEventListener("pointerleave",x)},d=w=>{u&&(u(w),u=void 0),c()},f=w=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,d(w))},h=()=>{a=!0,window.addEventListener("pointerup",f,o),window.addEventListener("pointercancel",f,o)},x=w=>{if(w.pointerType!=="touch"){if(a){l=!0;return}d(w)}},y=w=>{if(!xM(w))return;l=!1;const m=t(s,w);typeof m=="function"&&(u=m,s.addEventListener("pointerleave",x,o))};s.addEventListener("pointerenter",y,o),s.addEventListener("pointerdown",h,o)}),i}const Q1=(e,t)=>t?e===t?!0:Q1(e,t.parentElement):!1,sh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,bM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function SM(e){return bM.has(e.tagName)||e.isContentEditable===!0}const CM=new Set(["INPUT","SELECT","TEXTAREA"]);function EM(e){return CM.has(e.tagName)||e.isContentEditable===!0}const ha=new WeakSet;function Fm(e){return t=>{t.key==="Enter"&&e(t)}}function Au(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const kM=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Fm(()=>{if(ha.has(n))return;Au(n,"down");const o=Fm(()=>{Au(n,"up")}),i=()=>Au(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Vm(e){return sh(e)&&!G1()}const _m=new WeakSet;function TM(e,t,n={}){const[r,o,i]=Y1(e,n),s=a=>{const l=a.currentTarget;if(!Vm(a)||_m.has(a))return;ha.add(l),n.stopPropagation&&_m.add(a);const u=t(l,a),c=(h,x)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),ha.has(l)&&ha.delete(l),Vm(h)&&typeof u=="function"&&u(h,{success:x})},d=h=>{c(h,l===window||l===document||n.useGlobalTarget||Q1(l,h.target))},f=h=>{c(h,!1)};window.addEventListener("pointerup",d,o),window.addEventListener("pointercancel",f,o)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,o),md(a)&&(a.addEventListener("focus",u=>kM(u,o)),!SM(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),i}function ah(e){return Jx(e)&&"ownerSVGElement"in e}const pa=new WeakMap;let jn;const q1=(e,t,n)=>(r,o)=>o&&o[0]?o[0][e+"Size"]:ah(r)&&"getBBox"in r?r.getBBox()[t]:r[n],PM=q1("inline","width","offsetWidth"),RM=q1("block","height","offsetHeight");function NM({target:e,borderBoxSize:t}){var n;(n=pa.get(e))==null||n.forEach(r=>{r(e,{get width(){return PM(e,t)},get height(){return RM(e,t)}})})}function MM(e){e.forEach(NM)}function AM(){typeof ResizeObserver>"u"||(jn=new ResizeObserver(MM))}function jM(e,t){jn||AM();const n=W1(e);return n.forEach(r=>{let o=pa.get(r);o||(o=new Set,pa.set(r,o)),o.add(t),jn==null||jn.observe(r)}),()=>{n.forEach(r=>{const o=pa.get(r);o==null||o.delete(t),o!=null&&o.size||jn==null||jn.unobserve(r)})}}const ma=new Set;let uo;function DM(){uo=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};ma.forEach(t=>t(e))},window.addEventListener("resize",uo)}function LM(e){return ma.add(e),uo||DM(),()=>{ma.delete(e),!ma.size&&typeof uo=="function"&&(window.removeEventListener("resize",uo),uo=void 0)}}function zm(e,t){return typeof e=="function"?LM(e):jM(e,t)}function OM(e){return ah(e)&&e.tagName==="svg"}const IM=[...$1,Se,Vt],FM=e=>IM.find(B1(e)),Bm=()=>({translate:0,scale:1,origin:0,originPoint:0}),co=()=>({x:Bm(),y:Bm()}),$m=()=>({min:0,max:0}),Ee=()=>({x:$m(),y:$m()}),VM=new WeakMap;function Il(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function rs(e){return typeof e=="string"||Array.isArray(e)}const lh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],uh=["initial",...lh];function Fl(e){return Il(e.animate)||uh.some(t=>rs(e[t]))}function X1(e){return!!(Fl(e)||e.variants)}function _M(e,t,n){for(const r in t){const o=t[r],i=n[r];if(Be(o))e.addValue(r,o);else if(Be(i))e.addValue(r,$o(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{const s=e.getStaticValue(r);e.addValue(r,$o(s!==void 0?s:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const gd={current:null},Z1={current:!1},zM=typeof window<"u";function BM(){if(Z1.current=!0,!!zM)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>gd.current=e.matches;e.addEventListener("change",t),t()}else gd.current=!1}const Um=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let tl={};function J1(e){tl=e}function $M(){return tl}class UM{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,skipAnimations:i,blockInitialAnimation:s,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Jf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Ke.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,se.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=i,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=Fl(n),this.isVariantNode=X1(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const x=f[h];u[h]!==void 0&&Be(x)&&x.set(u[h])}}mount(t){var n,r;if(this.hasBeenMounted)for(const o in this.initialValues)(n=this.values.get(o))==null||n.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o];this.current=t,VM.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((o,i)=>this.bindToMotionValue(i,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Z1.current||BM(),this.shouldReduceMotion=gd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),sr(this.notifyUpdate),sr(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){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&yM.has(t)&&this.current instanceof HTMLElement){const{factory:s,keyframes:a,times:l,ease:u,duration:c}=n.accelerate,d=new j1({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:wt(c)}),f=s(d);this.valueSubscriptions.set(t,()=>{f(),d.cancel()});return}const r=Zo.has(t);r&&this.onBindTransform&&this.onBindTransform();const o=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&se.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,()=>{o(),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 tl){const n=tl[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(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):Ee()}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<Um.length;r++){const o=Um[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const i="on"+o,s=t[i];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=_M(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=$o(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"&&(Zx(r)||e1(r))?r=parseFloat(r):!FM(r)&&Vt.test(n)&&(r=H1(t,n)),this.setBaseTarget(t,Be(r)?r.get():r)),Be(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 s=nh(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Be(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new $f),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){ih.render(this.render)}}class ew extends UM{constructor(){super(...arguments),this.KeyframeResolver=gM}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;Be(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class dr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function HM({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function WM(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 ju(e){return e===void 0||e===1}function yd({scale:e,scaleX:t,scaleY:n}){return!ju(e)||!ju(t)||!ju(n)}function vr(e){return yd(e)||nw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function nw(e){return Hm(e.x)||Hm(e.y)}function Hm(e){return e&&e!=="0%"}function nl(e,t,n){const r=e-n,o=t*r;return n+o}function Wm(e,t,n,r,o){return o!==void 0&&(e=nl(e,o,r)),nl(e,n,r)+t}function vd(e,t=0,n=1,r,o){e.min=Wm(e.min,t,n,r,o),e.max=Wm(e.max,t,n,r,o)}function rw(e,{x:t,y:n}){vd(e.x,t.translate,t.scale,t.originPoint),vd(e.y,n.translate,n.scale,n.originPoint)}const Km=.999999999999,Gm=1.0000000000001;function KM(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;a<o;a++){i=n[a],s=i.projectionDelta;const{visualElement:l}=i.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&ho(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,rw(e,s)),r&&vr(i.latestValues)&&ho(e,i.latestValues))}t.x<Gm&&t.x>Km&&(t.x=1),t.y<Gm&&t.y>Km&&(t.y=1)}function fo(e,t){e.min=e.min+t,e.max=e.max+t}function Ym(e,t,n,r,o=.5){const i=me(e.min,e.max,o);vd(e,t,n,i,r)}function ho(e,t){Ym(e.x,t.x,t.scaleX,t.scale,t.originX),Ym(e.y,t.y,t.scaleY,t.scale,t.originY)}function ow(e,t){return tw(WM(e.getBoundingClientRect(),t))}function GM(e,t,n){const r=ow(e,n),{scroll:o}=t;return o&&(fo(r.x,o.offset.x),fo(r.y,o.offset.y)),r}const YM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},QM=Xo.length;function qM(e,t,n){let r="",o=!0;for(let i=0;i<QM;i++){const s=Xo[i],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(s.startsWith("scale")?1:0);else{const u=parseFloat(a);l=s.startsWith("scale")?u===1:u===0}if(!l||n){const u=K1(a,oh[s]);if(!l){o=!1;const c=YM[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function ch(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let s=!1,a=!1;for(const l in t){const u=t[l];if(Zo.has(l)){s=!0;continue}else if(m1(l)){o[l]=u;continue}else{const c=K1(u,oh[l]);l.startsWith("origin")?(a=!0,i[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=qM(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=i;r.transformOrigin=`${l} ${u} ${c}`}}function iw(e,{style:t,vars:n},r,o){const i=e.style;let s;for(s in t)i[s]=t[s];o==null||o.applyProjectionStyles(i,r);for(s in n)i.setProperty(s,n[s])}function Qm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fi={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(z.test(e))e=parseFloat(e);else return e;const n=Qm(e,t.target.x),r=Qm(e,t.target.y);return`${n}% ${r}%`}},XM={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Vt.parse(e);if(o.length>5)return r;const i=Vt.createTransformer(e),s=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const u=me(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}},xd={borderRadius:{...fi,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fi,borderTopRightRadius:fi,borderBottomLeftRadius:fi,borderBottomRightRadius:fi,boxShadow:XM};function sw(e,{layout:t,layoutId:n}){return Zo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!xd[e]||e==="opacity")}function dh(e,t,n){var s;const r=e.style,o=t==null?void 0:t.style,i={};if(!r)return i;for(const a in r)(Be(r[a])||o&&Be(o[a])||sw(a,e)||((s=n==null?void 0:n.getValue(a))==null?void 0:s.liveStyle)!==void 0)&&(i[a]=r[a]);return i}function ZM(e){return window.getComputedStyle(e)}class JM extends ew{constructor(){super(...arguments),this.type="html",this.renderInstance=iw}readValueFromInstance(t,n){var r;if(Zo.has(n))return(r=this.projection)!=null&&r.isProjecting?od(n):yN(t,n);{const o=ZM(t),i=(m1(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return ow(t,n)}build(t,n,r){ch(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return dh(t,n,r)}}const eA={offset:"stroke-dashoffset",array:"stroke-dasharray"},tA={offset:"strokeDashoffset",array:"strokeDasharray"};function nA(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?eA:tA;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}const rA=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function aw(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:i=1,pathOffset:s=0,...a},l,u,c){if(ch(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete d.transformBox);for(const h of rA)d[h]!==void 0&&(f[h]=d[h],delete d[h]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),o!==void 0&&nA(d,o,i,s,!1)}const lw=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"]),uw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function oA(e,t,n,r){iw(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(lw.has(o)?o:rh(o),t.attrs[o])}function cw(e,t,n){const r=dh(e,t,n);for(const o in e)if(Be(e[o])||Be(t[o])){const i=Xo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}class iA extends ew{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ee}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Zo.has(n)){const r=U1(n);return r&&r.default||0}return n=lw.has(n)?n:rh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return cw(t,n,r)}build(t,n,r){aw(t,n,this.isSVGTag,r.transformTemplate,r.style)}
vendor: 2,198 bytes, line 318
318renderInstance(t,n,r,o){oA(t,n,r,o)}mount(t){this.isSVGTag=uw(t.tagName),super.mount(t)}}const sA=uh.length;function dw(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?dw(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<sA;n++){const r=uh[n],o=e.props[r];(rs(o)||o===!1)&&(t[r]=o)}return t}function fw(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 aA=[...lh].reverse(),lA=lh.length;function uA(e){return t=>Promise.all(t.map(({animation:n,options:r})=>iM(e,n,r)))}function cA(e){let t=uA(e),n=qm(),r=!0;const o=l=>(u,c)=>{var f;const d=Co(e,c,l==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(d){const{transition:h,transitionEnd:x,...y}=d;u={...u,...y,...x}}return u};function i(l){t=l(e)}function s(l){const{props:u}=e,c=dw(e.parent)||{},d=[],f=new Set;let h={},x=1/0;for(let w=0;w<lA;w++){const m=aA[w],g=n[m],v=u[m]!==void 0?u[m]:c[m],S=rs(v),C=m===l?g.isActive:null;C===!1&&(x=w);let E=v===c[m]&&v!==u[m]&&S;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),g.protectedKeys={...h},!g.isActive&&C===null||!v&&!g.prevProp||Il(v)||typeof v=="boolean")continue;if(m==="exit"&&g.isActive&&C!==!0){g.prevResolvedValues&&(h={...h,...g.prevResolvedValues});continue}const k=dA(g.prevProp,v);let T=k||m===l&&g.isActive&&!E&&S||w>x&&S,M=!1;const A=Array.isArray(v)?v:[v];let F=A.reduce(o(m),{});C===!1&&(F={});const{prevResolvedValues:L={}}=g,U={...L,...F},O=V=>{T=!0,f.has(V)&&(M=!0,f.delete(V)),g.needsAnimating[V]=!0;const P=e.getValue(V);P&&(P.liveStyle=!1)};for(const V in U){const P=F[V],N=L[V];if(h.hasOwnProperty(V))continue;let I=!1;cd(P)&&cd(N)?I=!fw(P,N):I=P!==N,I?P!=null?O(V):f.add(V):P!==void 0&&f.has(V)?O(V):g.protectedKeys[V]=!0}g.prevProp=v,g.prevResolvedValues=F,g.isActive&&(h={...h,...F}),r&&e.blockInitialAnimation&&(T=!1);const K=E&&k;T&&(!K||M)&&d.push(...A.map(V=>{const P={type:m};if(typeof V=="string"&&r&&!K&&e.manuallyAnimateOnMount&&e.parent){const{parent:N}=e,I=Co(N,V);if(N.enteringChildren&&I){const{delayChildren:W}=I.transition||{};P.delay=L1(N.enteringChildren,e,W)}}return{animation:V,options:P}}))}
vendor: 4,225 bytes, line 318
318if(f.size){const w={};if(typeof u.initial!="boolean"){const m=Co(e,Array.isArray(u.initial)?u.initial[0]:u.initial);m&&m.transition&&(w.transition=m.transition)}f.forEach(m=>{const g=e.getBaseTarget(m),v=e.getValue(m);v&&(v.liveStyle=!0),w[m]=g??null}),d.push({animation:w})}let y=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(d):Promise.resolve()}function a(l,u){var d;if(n[l].isActive===u)return Promise.resolve();(d=e.variantChildren)==null||d.forEach(f=>{var h;return(h=f.animationState)==null?void 0:h.setActive(l,u)}),n[l].isActive=u;const c=s(l);for(const f in n)n[f].protectedKeys={};return c}return{animateChanges:s,setActive:a,setAnimateFunction:i,getState:()=>n,reset:()=>{n=qm()}}}function dA(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!fw(t,e):!1}function mr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function qm(){return{animate:mr(!0),whileInView:mr(),whileHover:mr(),whileTap:mr(),whileDrag:mr(),whileFocus:mr(),exit:mr()}}function Xm(e,t){e.min=t.min,e.max=t.max}function Rt(e,t){Xm(e.x,t.x),Xm(e.y,t.y)}function Zm(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const hw=1e-4,fA=1-hw,hA=1+hw,pw=.01,pA=0-pw,mA=0+pw;function Ge(e){return e.max-e.min}function gA(e,t,n){return Math.abs(e-t)<=n}function Jm(e,t,n,r=.5){e.origin=r,e.originPoint=me(t.min,t.max,e.origin),e.scale=Ge(n)/Ge(t),e.translate=me(n.min,n.max,e.origin)-e.originPoint,(e.scale>=fA&&e.scale<=hA||isNaN(e.scale))&&(e.scale=1),(e.translate>=pA&&e.translate<=mA||isNaN(e.translate))&&(e.translate=0)}function Mi(e,t,n,r){Jm(e.x,t.x,n.x,r?r.originX:void 0),Jm(e.y,t.y,n.y,r?r.originY:void 0)}function eg(e,t,n){e.min=n.min+t.min,e.max=e.min+Ge(t)}function yA(e,t,n){eg(e.x,t.x,n.x),eg(e.y,t.y,n.y)}function tg(e,t,n){e.min=t.min-n.min,e.max=e.min+Ge(t)}function rl(e,t,n){tg(e.x,t.x,n.x),tg(e.y,t.y,n.y)}function ng(e,t,n,r,o){return e-=t,e=nl(e,1/n,r),o!==void 0&&(e=nl(e,1/o,r)),e}function vA(e,t=0,n=1,r=.5,o,i=e,s=e){if(Jt.test(t)&&(t=parseFloat(t),t=me(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=me(i.min,i.max,r);e===i&&(a-=t),e.min=ng(e.min,t,n,a,o),e.max=ng(e.max,t,n,a,o)}function rg(e,t,[n,r,o],i,s){vA(e,t[n],t[r],t[o],t.scale,i,s)}const xA=["x","scaleX","originX"],wA=["y","scaleY","originY"];function og(e,t,n,r){rg(e.x,t,xA,n?n.x:void 0,r?r.x:void 0),rg(e.y,t,wA,n?n.y:void 0,r?r.y:void 0)}function ig(e){return e.translate===0&&e.scale===1}function mw(e){return ig(e.x)&&ig(e.y)}function sg(e,t){return e.min===t.min&&e.max===t.max}function bA(e,t){return sg(e.x,t.x)&&sg(e.y,t.y)}function ag(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function gw(e,t){return ag(e.x,t.x)&&ag(e.y,t.y)}function lg(e){return Ge(e.x)/Ge(e.y)}function ug(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Ht(e){return[e("x"),e("y")]}function SA(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:x}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),h&&(r+=`skewX(${h}deg) `),x&&(r+=`skewY(${x}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const yw=["TopLeft","TopRight","BottomLeft","BottomRight"],CA=yw.length,cg=e=>typeof e=="string"?parseFloat(e):e,dg=e=>typeof e=="number"||z.test(e);function EA(e,t,n,r,o,i){o?(e.opacity=me(0,n.opacity??1,kA(r)),e.opacityExit=me(t.opacity??1,0,TA(r))):i&&(e.opacity=me(t.opacity??1,n.opacity??1,r));for(let s=0;s<CA;s++){const a=`border${yw[s]}Radius`;let l=fg(t,a),u=fg(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||dg(l)===dg(u)?(e[a]=Math.max(me(cg(l),cg(u),r),0),(Jt.test(u)||Jt.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=me(t.rotate||0,n.rotate||0,r))}function fg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const kA=vw(0,.5,u1),TA=vw(.5,.95,xt);
vendor: 17,225 bytes, line 318
318function vw(e,t,n){return r=>r<e?0:r>t?1:n(es(e,t,r))}function PA(e,t,n){const r=Be(e)?e:$o(e);return r.start(th("",r,t,n)),r.animation}function os(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const RA=(e,t)=>e.depth-t.depth;class NA{constructor(){this.children=[],this.isDirty=!1}add(t){Bf(this.children,t),this.isDirty=!0}remove(t){Xa(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(RA),this.isDirty=!1,this.children.forEach(t)}}function MA(e,t){const n=Ke.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(sr(r),e(i-t))};return se.setup(r,!0),()=>sr(r)}function ga(e){return Be(e)?e.get():e}class AA{constructor(){this.members=[]}add(t){Bf(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const o=r.instance;o&&o.isConnected===!1&&r.isPresent!==!1&&!r.snapshot&&Xa(this.members,r)}t.scheduleRender()}remove(t){if(Xa(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(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const i=this.members[o],s=i.instance;if(i.isPresent!==!1&&(!s||s.isConnected!==!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 o=r.options.layoutDependency,i=t.options.layoutDependency;if(!(o!==void 0&&i!==void 0&&o===i)){const l=r.instance;l&&l.isConnected===!1&&!r.snapshot||(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:a}=t.options;a===!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 ya={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Du=["","X","Y","Z"],jA=1e3;let DA=0;function Lu(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function xw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=_1(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",se,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&xw(r)}function ww({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=DA++,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(IA),this.nodes.forEach(zA),this.nodes.forEach(BA),this.nodes.forEach(FA)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new NA)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new $f),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){const l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=ah(s)&&!OM(s),this.instance=s;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c,d=0;const f=()=>this.root.updateBlockedByResize=!1;se.read(()=>{d=window.innerWidth}),e(s,()=>{const h=window.innerWidth;h!==d&&(d=h,this.root.updateBlockedByResize=!0,c&&c(),c=MA(f,250),ya.hasAnimatedSinceResize&&(ya.hasAnimatedSinceResize=!1,this.nodes.forEach(mg)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||u.getDefaultTransition()||KA,{onLayoutAnimationStart:y,onLayoutAnimationComplete:w}=u.getProps(),m=!this.targetLayout||!gw(this.targetLayout,h),g=!d&&f;if(this.options.layoutRoot||this.resumeFrom||g||d&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...eh(x,"layout"),onPlay:y,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(c,g)}else d||mg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),sr(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($A),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&xw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(hg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(pg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(_A),this.nodes.forEach(LA),this.nodes.forEach(OA)):this.nodes.forEach(pg),this.clearAllSnapshots();const a=Ke.now();Ae.delta=tn(0,1e3/60,a-Ae.timestamp),Ae.timestamp=a,Ae.isProcessing=!0,ku.update.process(Ae),ku.preRender.process(Ae),ku.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ih.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(VA),this.sharedNodes.forEach(UA)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,se.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){se.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ge(this.snapshot.measuredBox.x)&&!Ge(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 l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Ee(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!mw(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&this.instance&&(a||vr(this.latestValues)||c)&&(o(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),GA(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:s}=this.options;if(!s)return Ee();const a=s.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(YA))){const{scroll:c}=this.root;c&&(fo(a.x,c.offset.x),fo(a.y,c.offset.y))}return a}removeElementScroll(s){var l;const a=Ee();if(Rt(a,s),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:d,options:f}=c;c!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&Rt(a,s),fo(a.x,d.offset.x),fo(a.y,d.offset.y))}return a}applyTransform(s,a=!1){const l=Ee();Rt(l,s);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&ho(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),vr(c.latestValues)&&ho(l,c.latestValues)}return vr(this.latestValues)&&ho(l,this.latestValues),l}removeTransform(s){const a=Ee();Rt(a,s);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!vr(u.latestValues))continue;yd(u.latestValues)&&u.updateSnapshot();const c=Ee(),d=u.measurePageBox();Rt(c,d),og(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return vr(this.latestValues)&&og(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.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!==Ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var h;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(h=this.parent)!=null&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:d}=this.options;if(!this.layout||!(c||d))return;this.resolvedRelativeTargetAt=Ae.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=Ee(),this.targetWithTransforms=Ee()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),yA(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Rt(this.target,this.layout.layoutBox),rw(this.target,this.targetDelta)):Rt(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||yd(this.parent.latestValues)||nw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(s,a,l){this.relativeParent=s,this.linkedParentVersion=s.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ee(),this.relativeTargetOrigin=Ee(),rl(this.relativeTargetOrigin,a,l),Rt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var x;const s=this.getLead(),a=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||(x=this.parent)!=null&&x.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=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||c))return;Rt(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;KM(this.layoutCorrected,this.treeScale,this.path,a),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=Ee());const{target:h}=s;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Zm(this.prevProjectionDelta.x,this.projectionDelta.x),Zm(this.prevProjectionDelta.y,this.projectionDelta.y)),Mi(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!ug(this.projectionDelta.x,this.prevProjectionDelta.x)||!ug(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),s){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=co(),this.projectionDelta=co(),this.projectionDeltaWithTransform=co()}setAnimationOrigin(s,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=co();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=Ee(),h=l?l.source:void 0,x=this.layout?this.layout.source:void 0,y=h!==x,w=this.getStack(),m=!w||w.members.length<=1,g=!!(y&&!m&&this.options.crossfade===!0&&!this.path.some(WA));this.animationProgress=0;let v;this.mixTargetDelta=S=>{const C=S/1e3;gg(d.x,s.x,C),gg(d.y,s.y,C),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(rl(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),HA(this.relativeTarget,this.relativeTargetOrigin,f,C),v&&bA(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ee()),Rt(v,this.relativeTarget)),y&&(this.animationValues=c,EA(c,u,this.latestValues,C,g,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(sr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=se.update(()=>
vendor: 4,072 bytes, line 318
318{ya.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=$o(0)),this.motionValue.jump(0,!1),this.currentAnimation=PA(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),s.onUpdate&&s.onUpdate(c)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.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 s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jA),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&bw(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ee();const d=Ge(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=Ge(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}Rt(a,l),ho(a,c),Mi(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new AA),this.sharedNodes.get(s).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Lu("z",s,u,this.animationValues);for(let c=0;c<Du.length;c++)Lu(`rotate${Du[c]}`,s,u,this.animationValues),Lu(`skew${Du[c]}`,s,u,this.animationValues);s.render();for(const c in u)s.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);s.scheduleRender()}applyProjectionStyles(s,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=ga(a==null?void 0:a.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=ga(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!vr(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=SA(this.projectionDeltaWithTransform,this.treeScale,c);l&&(d=l(c,d)),s.transform=d;const{x:f,y:h}=this.projectionDelta;s.transformOrigin=`${f.origin*100}% ${h.origin*100}% 0`,u.animationValues?s.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:s.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const x in xd){if(c[x]===void 0)continue;const{correct:y,applyTo:w,isCSSVariable:m}=xd[x],g=d==="none"?c[x]:y(c[x],u);if(w){const v=w.length;for(let S=0;S<v;S++)s[w[S]]=g}
vendor: 10,533 bytes, lines 318-326
318else m?this.options.visualElement.renderState.vars[x]=g:s[x]=g}this.options.layoutId&&(s.pointerEvents=u===this?ga(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(hg),this.root.sharedNodes.clear()}}}function LA(e){e.updateLayout()}function OA(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:o}=e.layout,{animationType:i}=e.options,s=t.source!==e.layout.source;i==="size"?Ht(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],h=Ge(f);f.min=r[d].min,f.max=f.min+h}):bw(i,t.layoutBox,r)&&Ht(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],h=Ge(r[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const a=co();Mi(a,r,t.layoutBox);const l=co();s?Mi(l,e.applyTransform(o,!0),t.measuredBox):Mi(l,r,t.layoutBox);const u=!mw(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const x=Ee();rl(x,t.layoutBox,f.layoutBox);const y=Ee();rl(y,r,h.layoutBox),gw(x,y)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=x,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function IA(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 FA(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function VA(e){e.clearSnapshot()}function hg(e){e.clearMeasurements()}function pg(e){e.isLayoutDirty=!1}function _A(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function mg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function zA(e){e.resolveTargetDelta()}function BA(e){e.calcProjection()}function $A(e){e.resetSkewAndRotation()}function UA(e){e.removeLeadSnapshot()}function gg(e,t,n){e.translate=me(t.translate,0,n),e.scale=me(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function yg(e,t,n,r){e.min=me(t.min,n.min,r),e.max=me(t.max,n.max,r)}function HA(e,t,n,r){yg(e.x,t.x,n.x,r),yg(e.y,t.y,n.y,r)}function WA(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const KA={duration:.45,ease:[.4,0,.1,1]},vg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),xg=vg("applewebkit/")&&!vg("chrome/")?Math.round:xt;function wg(e){e.min=xg(e.min),e.max=xg(e.max)}function GA(e){wg(e.x),wg(e.y)}function bw(e,t,n){return e==="position"||e==="preserve-aspect"&&!gA(lg(t),lg(n),.2)}function YA(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const QA=ww({attachResizeListener:(e,t)=>os(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}),Ou={current:void 0},Sw=ww({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ou.current){const e=new QA({});e.mount(window),e.setOptions({layoutScroll:!0}),Ou.current=e}return Ou.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),fh=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function bg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function qA(...e){return t=>{let n=!1;const r=e.map(o=>{const i=bg(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():bg(e[o],null)}}}}function XA(...e){return b.useCallback(qA(...e),e)}class ZA extends b.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,o=md(r)&&r.offsetWidth||0,i=md(r)&&r.offsetHeight||0,s=this.props.sizeRef.current;s.height=n.offsetHeight||0,s.width=n.offsetWidth||0,s.top=n.offsetTop,s.left=n.offsetLeft,s.right=o-s.width-s.left,s.bottom=i-s.height-s.top}return null}componentDidUpdate(){}render(){return this.props.children}}function JA({children:e,isPresent:t,anchorX:n,anchorY:r,root:o,pop:i}){var f;const s=b.useId(),a=b.useRef(null),l=b.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=b.useContext(fh),c=((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref),d=XA(a,c);return b.useInsertionEffect(()=>{const{width:h,height:x,top:y,left:w,right:m,bottom:g}=l.current;if(t||i===!1||!a.current||!h||!x)return;const v=n==="left"?`left: ${w}`:`right: ${m}`,S=r==="bottom"?`bottom: ${g}`:`top: ${y}`;a.current.dataset.motionPopId=s;const C=document.createElement("style");u&&(C.nonce=u);const E=o??document.head;return E.appendChild(C),C.sheet&&C.sheet.insertRule(`
319          [data-motion-pop-id="${s}"] {
320            position: absolute !important;
321            width: ${h}px !important;
322            height: ${x}px !important;
323            ${v}px !important;
324            ${S}px !important;
325          }
326        `),()=>{E.contains(C)&&E.removeChild(C)}},[t]),p.jsx(ZA,{isPresent:t,childRef:a,sizeRef:l,pop:i,children:i===!1?e:b.cloneElement(e,{ref:d})})}const ej=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:s,anchorX:a,anchorY:l,root:u})=>{const c=zf(tj),d=b.useId();let f=!0,h=b.useMemo(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:o,onExitComplete:x=>{c.set(x,!0);for(const y of c.values())if(!y)return;r&&r()},register:x=>(c.set(x,!1),()=>c.delete(x))}),[n,c,r]);return i&&f&&(h={...h}),b.useMemo(()=>{c.forEach((x,y)=>c.set(y,!1))},[n]),b.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),e=p.jsx(JA,{pop:s==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:u,children:e}),p.jsx(Ll.Provider,{value:h,children:e})};function tj(){return new Map}function Cw(e=!0){const t=b.useContext(Ll);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,i=b.useId();b.useEffect(()=>{if(e)return o(i)},[e]);const s=b.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,s]:[!0]}const Ys=e=>e.key||"";function Sg(e){const t=[];return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const Ew=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:i="sync",propagate:s=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[c,d]=Cw(s),f=b.useMemo(()=>Sg(e),[e]),h=s&&!c?[]:f.map(Ys),x=b.useRef(!0),y=b.useRef(f),w=zf(()=>new Map),m=b.useRef(new Set),[g,v]=b.useState(f),[S,C]=b.useState(f);Xx(()=>{x.current=!1,y.current=f;for(let T=0;T<S.length;T++){const M=Ys(S[T]);h.includes(M)?(w.delete(M),m.current.delete(M)):w.get(M)!==!0&&w.set(M,!1)}},[S,h.length,h.join("-")]);const E=[];if(f!==g){let T=[...f];for(let M=0;M<S.length;M++){const A=S[M],F=Ys(A);h.includes(F)||(T.splice(M,0,A),E.push(A))}return i==="wait"&&E.length&&(T=E),C(Sg(T)),v(f),null}const{forceRender:k}=b.useContext(_f);return p.jsx(p.Fragment,{children:S.map(T=>{const M=Ys(T),A=s&&!c?!1:f===S||h.includes(M),F=()=>{if(m.current.has(M))return;if(m.current.add(M),w.has(M))w.set(M,!0);else return;let L=!0;w.forEach(U=>{U||(L=!1)}),L&&(k==null||k(),C(y.current),s&&(d==null||d()),r&&r())};return p.jsx(ej,{isPresent:A,initial:!x.current||n?void 0:!1,custom:t,presenceAffectsLayout:o,mode:i,root:u,onExitComplete:A?void 0:F,anchorX:a,anchorY:l,children:T},M)})})},kw=b.createContext({strict:!1}),Cg={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 Eg=!1;function nj(){if(Eg)return;const e={};for(const t in Cg)e[t]={isEnabled:n=>Cg[t].some(r=>!!n[r])};J1(e),Eg=!0}function Tw(){return nj(),$M()}function rj(e){const t=Tw();for(const n in e)t[n]={...t[n],...e[n]};J1(t)}const oj=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ol(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||oj.has(e)}let Pw=e=>!ol(e);function ij(e){typeof e=="function"&&(Pw=t=>t.startsWith("on")?!ol(t):e(t))}try{ij(require("@emotion/is-prop-valid").default)}catch{}function sj(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(Pw(o)||n===!0&&ol(o)||!t&&!ol(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const Vl=b.createContext({});function aj(e,t){if(Fl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||rs(n)?n:void 0,animate:rs(r)?r:void 0}}return e.inherit!==!1?t:{}}function lj(e){const{initial:t,animate:n}=aj(e,b.useContext(Vl));return b.useMemo(()=>({initial:t,animate:n}),[kg(t),kg(n)])}function kg(e){return Array.isArray(e)?e.join(" "):e}const hh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Rw(e,t,n){for(const r in t)!Be(t[r])&&!sw(r,n)&&(e[r]=t[r])}function uj({transformTemplate:e},t){return b.useMemo(()=>{const n=hh();return ch(n,t,e),Object.assign({},n.vars,n.style)},[t])}function cj(e,t){const n=e.style||{},r={};return Rw(r,n,e),Object.assign(r,uj(e,t)),r}function dj(e,t){const n={},r=cj(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"}
326`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Nw=()=>({...hh(),attrs:{}});function fj(e,t,n,r){const o=b.useMemo(()=>{const i=Nw();return aw(i,t,uw(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Rw(i,e.style,e),o.style={...i,...o.style}}return o}const hj=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ph(e){return typeof e!="string"||e.includes("-")?!1:!!(hj.indexOf(e)>-1||/[A-Z]/u.test(e))}function pj(e,t,n,{latestValues:r},o,i=!1,s){const l=(s??ph(e)?fj:dj)(t,r,o,e),u=sj(t,typeof e=="string",i),c=e!==b.Fragment?{...u,...l,ref:n}:{},{children:d}=t,f=b.useMemo(()=>Be(d)?d.get():d,[d]);return b.createElement(e,{...c,children:f})}function mj({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:gj(n,r,o,e),renderState:t()}}function gj(e,t,n,r){const o={},i=r(e,{});for(const f in i)o[f]=ga(i[f]);let{initial:s,animate:a}=e;const l=Fl(e),u=X1(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const d=c?a:s;if(d&&typeof d!="boolean"&&!Il(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h<f.length;h++){const x=nh(e,f[h]);if(x){const{transitionEnd:y,transition:w,...m}=x;for(const g in m){let v=m[g];if(Array.isArray(v)){const S=c?v.length-1:0;v=v[S]}v!==null&&(o[g]=v)}for(const g in y)o[g]=y[g]}}}return o}const Mw=e=>(t,n)=>{const r=b.useContext(Vl),o=b.useContext(Ll),i=()=>mj(e,t,r,o);return n?i():zf(i)},yj=Mw({scrapeMotionValuesFromProps:dh,createRenderState:hh}),vj=Mw({scrapeMotionValuesFromProps:cw,createRenderState:Nw}),xj=Symbol.for("motionComponentSymbol");function wj(e,t,n){const r=b.useRef(n);b.useInsertionEffect(()=>{r.current=n});const o=b.useRef(null);return b.useCallback(i=>{var a;i&&((a=e.onMount)==null||a.call(e,i)),t&&(i?t.mount(i):t.unmount());const s=r.current;if(typeof s=="function")if(i){const l=s(i);typeof l=="function"&&(o.current=l)}else o.current?(o.current(),o.current=null):s(i);else s&&(s.current=i)},[t])}const Aw=b.createContext({});function Qr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function bj(e,t,n,r,o,i){var v,S;const{visualElement:s}=b.useContext(Vl),a=b.useContext(kw),l=b.useContext(Ll),u=b.useContext(fh),c=u.reducedMotion,d=u.skipAnimations,f=b.useRef(null),h=b.useRef(!1);r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,skipAnimations:d,isSVG:i}),h.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const x=f.current,y=b.useContext(Aw);x&&!x.projection&&o&&(x.type==="html"||x.type==="svg")&&Sj(f.current,n,o,y);const w=b.useRef(!1);b.useInsertionEffect(()=>{x&&w.current&&x.update(n,l)});const m=n[V1],g=b.useRef(!!m&&!((v=window.MotionHandoffIsComplete)!=null&&v.call(window,m))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,m)));return Xx(()=>{h.current=!0,x&&(w.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),g.current&&x.animationState&&x.animationState.animateChanges())}),b.useEffect(()=>{x&&(!g.current&&x.animationState&&x.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,m)}),g.current=!1),x.enteringChildren=void 0)}),x}function Sj(e,t,n,r){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:jw(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&Qr(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}function jw(e){if(e)return e.options.allowProjection!==!1?e.projection:jw(e.parent)}function Iu(e,{forwardMotionProps:t=!1,type:n}={},r,o){r&&rj(r);const i=n?n==="svg":ph(e),s=i?vj:yj;function a(u,c){let d;const f={...b.useContext(fh),...u,layoutId:Cj(u)},{isStatic:h}=f,x=lj(u),y=s(u,h);if(!h&&qx){Ej();const w=kj(f);d=w.MeasureLayout,x.visualElement=bj(e,y,f,o,w.ProjectionNode,i)}return p.jsxs(Vl.Provider,{value:x,children:[d&&x.visualElement?p.jsx(d,{visualElement:x.visualElement,...f}):null,pj(e,u,wj(y,x.visualElement,c),y,h,t,i)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=b.forwardRef(a);return l[xj]=e,l}function Cj({layoutId:e}){const t=b.useContext(_f).id;return t&&e!==void 0?t+"-"+e:e}function Ej(e,t){b.useContext(kw).strict}function kj(e){const t=Tw(),{drag:n,layout:r}=t;if(!n&&!r)return{};const o={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}
vendor: 15,889 bytes, line 326
326function Tj(e,t){if(typeof Proxy>"u")return Iu;const n=new Map,r=(i,s)=>Iu(i,s,e,t),o=(i,s)=>r(i,s);return new Proxy(o,{get:(i,s)=>s==="create"?r:(n.has(s)||n.set(s,Iu(s,void 0,e,t)),n.get(s))})}const Pj=(e,t)=>t.isSVG??ph(e)?new iA(t):new JM(t,{allowProjection:e!==b.Fragment});class Rj extends dr{constructor(t){super(t),t.animationState||(t.animationState=cA(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Il(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 Nj=0;class Mj extends dr{constructor(){super(...arguments),this.id=Nj++}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 o=this.node.animationState.setActive("exit",!t);n&&!t&&o.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 Aj={animation:{Feature:Rj},exit:{Feature:Mj}};function xs(e){return{point:{x:e.pageX,y:e.pageY}}}const jj=e=>t=>sh(t)&&e(t,xs(t));function Ai(e,t,n,r){return os(e,t,jj(n),r)}const Dw=({current:e})=>e?e.ownerDocument.defaultView:null,Tg=(e,t)=>Math.abs(e-t);function Dj(e,t){const n=Tg(e.x,t.x),r=Tg(e.y,t.y);return Math.sqrt(n**2+r**2)}const Pg=new Set(["auto","scroll"]);class Lw{constructor(t,n,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:i=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=h=>{this.handleScroll(h.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=Vu(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,y=Dj(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!x&&!y)return;const{point:w}=h,{timestamp:m}=Ae;this.history.push({...w,timestamp:m});const{onStart:g,onMove:v}=this.handlers;x||(g&&g(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,h)},this.handlePointerMove=(h,x)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=Fu(x,this.transformPagePoint),se.update(this.updatePoint,!0)},this.handlePointerUp=(h,x)=>{this.end();const{onEnd:y,onSessionEnd:w,resumeAnimation:m}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Vu(h.type==="pointercancel"?this.lastMoveEventInfo:Fu(x,this.transformPagePoint),this.history);this.startEvent&&y&&y(h,g),w&&w(h,g)},!sh(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=o||window;const l=xs(t),u=Fu(l,this.transformPagePoint),{point:c}=u,{timestamp:d}=Ae;this.history=[{...c,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,Vu(u,this.history)),this.removeListeners=gs(Ai(this.contextWindow,"pointermove",this.handlePointerMove),Ai(this.contextWindow,"pointerup",this.handlePointerUp),Ai(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Pg.has(r.overflowX)||Pg.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}),window.addEventListener("scroll",this.onWindowScroll),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,o=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:o.x-n.x,y:o.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,o),se.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),sr(this.updatePoint)}}function Fu(e,t){return t?{point:t(e.point)}:e}function Rg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Vu({point:e},t){return{point:e,delta:Rg(e,Ow(t)),offset:Rg(e,Lj(t)),velocity:Oj(t,.1)}}function Lj(e){return e[0]}function Ow(e){return e[e.length-1]}function Oj(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Ow(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>wt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&o.timestamp-r.timestamp>wt(t)*2&&(r=e[1]);const i=yt(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Ij(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?me(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?me(n,e,r.max):Math.min(e,n)),e}function Ng(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 Fj(e,{top:t,left:n,bottom:r,right:o}){return{x:Ng(e.x,n,o),y:Ng(e.y,t,r)}}function Mg(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 Vj(e,t){return{x:Mg(e.x,t.x),y:Mg(e.y,t.y)}}function _j(e,t){let n=.5;const r=Ge(e),o=Ge(t);return o>r?n=es(t.min,t.max-r,e.min):r>o&&(n=es(e.min,e.max-o,t.min)),tn(0,1,n)}function zj(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 wd=.35;function Bj(e=wd){return e===!1?e=0:e===!0&&(e=wd),{x:Ag(e,"left","right"),y:Ag(e,"top","bottom")}}function Ag(e,t,n){return{min:jg(e,t),max:jg(e,n)}}function jg(e,t){return typeof e=="number"?e:e[t]||0}const $j=new WeakMap;class Uj{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=Ee(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const i=d=>{n&&this.snapToCursor(xs(d).point),this.stopAnimation()},s=(d,f)=>{const{drag:h,dragPropagation:x,onDragStart:y}=this.getProps();if(h&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=vM(h),!this.openDragLock))return;this.latestPointerEvent=d,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),Ht(m=>{let g=this.getAxisMotionValue(m).get()||0;if(Jt.test(g)){const{projection:v}=this.visualElement;if(v&&v.layout){const S=v.layout.layoutBox[m];S&&(g=Ge(S)*(parseFloat(g)/100))}}this.originPoint[m]=g}),y&&se.update(()=>y(d,f),!1,!0),dd(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:h,dragDirectionLock:x,onDirectionLock:y,onDrag:w}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:m}=f;if(x&&this.currentDirection===null){this.currentDirection=Wj(m),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",f.point,m),this.updateAxis("y",f.point,m),this.visualElement.render(),w&&se.update(()=>w(d,f),!1,!0)},l=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f,this.stop(d,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new Lw(t,{onSessionStart:i,onStart:s,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:Dw(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,o=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!o||!r)return;const{velocity:s}=o;this.startAnimation(s);const{onDragEnd:a}=this.getProps();a&&se.postRender(()=>a(r,o))}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:o}=this.getProps();if(!r||!Qs(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=Ij(s,this.constraints[t],this.elastic[t])),i.set(s)}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,o=this.constraints;t&&Qr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Fj(r.layoutBox,t):this.constraints=!1,this.elastic=Bj(n),o!==this.constraints&&!Qr(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Ht(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=zj(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Qr(t))return!1;const r=t.current;Bo(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:o}=this.visualElement;if(!o||!o.layout)return!1;const i=GM(r,o.root,this.visualElement.getTransformPagePoint());let s=Vj(o.layout.layoutBox,i);if(n){const a=n(HM(s));this.hasMutatedConstraints=!!a,a&&(s=tw(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Ht(c=>{if(!Qs(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const f=o?200:1e6,h=o?40:1e7,x={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,x)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return dd(this.visualElement,t),r.start(th(t,r,0,n,this.visualElement,!1))}stopAnimation(){Ht(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Ht(n=>{const{drag:r}=this.getProps();if(!Qs(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:s,max:a}=o.layout.layoutBox[n],l=i.get()||0;i.set(t[n]-me(s,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Qr(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Ht(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();o[s]=_j({min:l,max:l},this.constraints[s])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ht(s=>{if(!Qs(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(me(l,u,o[s]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;$j.set(this.visualElement,this);const t=this.visualElement.current,n=Ai(t,"pointerdown",u=>{const{drag:c,dragListener:d=!0}=this.getProps(),f=u.target,h=f!==t&&EM(f);c&&d&&!h&&this.start(u)});let r;const o=()=>{const{dragConstraints:u}=this.getProps();Qr(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=Hj(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,s=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),se.read(o);const a=os(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(Ht(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=u[d].translate,f.set(f.get()+u[d].translate))}),this.visualElement.render())});return()=>{a(),n(),s(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=wd,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}}function Dg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Hj(e,t,n){const r=zm(e,Dg(n)),o=zm(t,Dg(n));return()=>{r(),o()}}function Qs(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Wj(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Kj extends dr{constructor(t){super(t),this.removeGroupControls=xt,this.removeListeners=xt,this.controls=new Uj(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||xt}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 _u=e=>(t,n)=>{e&&se.update(()=>e(t,n),!1,!0)};class Gj extends dr{constructor(){super(...arguments),this.removePointerDownListener=xt}onPointerDown(t){this.session=new Lw(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Dw(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:_u(t),onStart:_u(n),onMove:_u(r),onEnd:(i,s)=>{delete this.session,o&&se.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=Ai(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 zu=!1;class Yj extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),zu&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ya.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,{projection:s}=r;return s&&(s.isPresent=i,t.layoutDependency!==n&&s.setOptions({...s.options,layoutDependency:n}),zu=!0,o||t.layoutDependency!==n||n===void 0||t.isPresent!==i?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||se.postRender(()=>
vendor: 4,699 bytes, line 326
326{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ih.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;zu=!0,o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Iw(e){const[t,n]=Cw(),r=b.useContext(_f);return p.jsx(Yj,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(Aw),isPresent:t,safeToRemove:n})}const Qj={pan:{Feature:Gj},drag:{Feature:Kj,ProjectionNode:Sw,MeasureLayout:Iw}};function Lg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,i=r[o];i&&se.postRender(()=>i(t,xs(t)))}class qj extends dr{mount(){const{current:t}=this.node;t&&(this.unmount=wM(t,(n,r)=>(Lg(this.node,r,"Start"),o=>Lg(this.node,o,"End"))))}unmount(){}}class Xj extends dr{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=gs(os(this.node.current,"focus",()=>this.onFocus()),os(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Og(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 o="onTap"+(n==="End"?"":n),i=r[o];i&&se.postRender(()=>i(t,xs(t)))}class Zj extends dr{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=TM(t,(o,i)=>(Og(this.node,i,"Start"),(s,{success:a})=>Og(this.node,s,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const bd=new WeakMap,Bu=new WeakMap,Jj=e=>{const t=bd.get(e.target);t&&t(e)},e4=e=>{e.forEach(Jj)};function t4({root:e,...t}){const n=e||document;Bu.has(n)||Bu.set(n,{});const r=Bu.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(e4,{root:e,...t})),r[o]}function n4(e,t,n){const r=t4(t);return bd.set(e,n),r.observe(e),()=>{bd.delete(e),r.unobserve(e)}}const r4={some:0,all:1};class o4 extends dr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:r4[o]},a=l=>{const{isIntersecting:u}=l;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:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return n4(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(i4(t,n))&&this.startObserver()}unmount(){}}function i4({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const s4={inView:{Feature:o4},tap:{Feature:Zj},focus:{Feature:Xj},hover:{Feature:qj}},a4={layout:{ProjectionNode:Sw,MeasureLayout:Iw}},l4={...Aj,...s4,...Qj,...a4},te=Tj(l4,Pj),Ig=[{label:"Virtual Tour",href:"#tour"},{label:"Details",href:"#property"},{label:"Photos",href:"#gallery"},{label:"Neighbourhood",href:"#location"},{label:"Jon Hull",href:"#agent"},{label:"Contact",href:"#contact"}],u4=()=>{const[e,t]=b.useState(!1),[n,r]=b.useState(!1);return b.useEffect(()=>{const o=()=>t(window.scrollY>50);return window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)},[]),p.jsxs(te.nav,{initial:{y:-100},animate:{y:0},className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 backdrop-blur-md ${e?"bg-background/90 shadow-lg":"bg-background/60"}`,children:[p.jsx("div",{className:"max-w-7xl mx-auto px-4 md:px-8",children:p.jsxs("div",{className:"flex items-center justify-between h-16 md:h-20",children:[p.jsx("a",{href:"#",className:"flex items-center",children:p.jsx("img",{src:"/images/2-percent-realty-pro-logo.png",alt:"2% Realty Pro Logo",className:"h-12 md:h-14 w-auto"})}),p.jsx("div",{className:"hidden lg:flex items-center gap-6",children:Ig.map(o=>p.jsx("a",{href:o.href,className:"text-sm font-medium text-foreground
326/80 hover:text-primary transition-colors",children:o.label},o.href))}),p.jsxs("div",{className:"hidden md:flex items-center gap-3",children:[p.jsxs("a",{href:"tel:7802212129",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full bg-background text-foreground border border-primary text-sm font-semibold hover:bg-primary/5 transition-colors",children:[p.jsx(Qi,{className:"w-4 h-4 text-primary"}),"780-221-2129"]}),p.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full bg-primary text-primary-foreground text-sm font-semibold hover:opacity-90 transition-opacity",children:[p.jsx(Vr,{className:"w-4 h-4"})," Email Jon"]})]}),p.jsx("button",{onClick:()=>r(!n),className:"lg:hidden p-2 text-foreground","aria-label":"Toggle menu",children:n?p.jsx(kf,{className:"w-6 h-6"}):p.jsx(qC,{className:"w-6 h-6"})})]})}),n&&p.jsx(te.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},className:"lg:hidden glass-card mx-4 mb-4 rounded-xl p-6",children:p.jsxs("div",{className:"flex flex-col gap-4",children:[Ig.map(o=>p.jsx("a",{href:o.href,onClick:()=>r(!1),className:"text-base font-medium text-foreground/80 hover:text-primary transition-colors",children:o.label},o.href)),p.jsx("hr",{className:"border-border"}),p.jsxs("a",{href:"tel:7802212129",className:"flex items-center gap-2 text-base font-medium text-foreground/80",children:[p.jsx(Qi,{className:"w-4 h-4"})," 780-221-2129"]}),p.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center justify-center gap-2 px-5 py-3 rounded-full bg-primary text-primary-foreground font-semibold",children:[p.jsx(Vr,{className:"w-4 h-4"})," Book a Showing"]})]})})]})},c4="https://cdn.realtor.ca/listings/TS639235152895930000/reb10/highres/4/E4505894_1.jpg",d4=()=>p.jsxs("section",{className:"relative min-h-screen flex items-end pb-12 md:pb-20",children:[p.jsxs("div",{className:"absolute inset-0",children:[p.jsx("img",{src:c4,alt:"Front exterior of the renovated bungalow at 1931 145A Ave NW in Fraser, Edmonton",className:"w-full h-full object-cover",loading:"eager"}),p.jsx("div",{className:"absolute inset-0",style:{background:"var(--hero-overlay)"}})]}),p.jsx("div",{className:"relative z-10 w-full max-w-7xl mx-auto px-4 md:px-8",children:p.jsxs(te.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},children:[p.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-primary/90 text-primary-foreground text-sm font-semibold mb-4",children:[p.jsx(Ko,{className:"w-4 h-4"}),"Fraser, Edmonton"]}),p.jsxs("h1",{className:"font-display text-4xl md:text-6xl lg:text-7xl font-bold text-primary-foreground mb-4 leading-tight",children:["1931 145A Ave NW",p.jsx("span",{className:"block text-lg md:text-xl lg:text-2xl font-normal opacity-90 mt-2",children:"Edmonton, Alberta T5Y 1S9"})]}),p.jsxs("div",{className:"flex flex-wrap items-center gap-4 md:gap-6 text-primary-foreground/90 text-sm md:text-base mb-6",children:[p.jsxs("span",{className:"flex items-center gap-2",children:[p.jsx(IC,{className:"w-5 h-5"})," 4 Bedrooms"]}),p.jsxs("span",{className:"flex items-center gap-2",children:[p.jsx(Vv,{className:"w-5 h-5"})," 2 Bathrooms"]}),p.jsxs("span",{className:"flex items-center gap-2",children:[p.jsx(QC,{className:"w-5 h-5"})," 953 sqft"]}),p.jsxs("span",{className:"flex items-center gap-2",children:[p.jsx(_p,{className:"w-5 h-5"})," MLS® E4505894"]})]}),p.jsx("p",{className:"font-display text-4xl md:text-5xl font-bold text-primary-foreground mb-8",children:"$384,900"}),p.jsxs("div",{className:"flex flex-wrap gap-4",children:[p.jsxs("a",{href:"mailto:[email protected]?subject=Showing Request: 1931 145A Ave NW Edmonton",className:"inline-flex items-center px-8 py-4 rounded-full bg-primary text-primary-foreground text-base font-bold hover:opacity-90 transition-opacity shadow-lg",children:[p.jsx(_p,{className:"w-5 h-5 mr-2"}),"Book a Showing"]}),p.jsx("a",{href:"https://www.realtor.ca/real-estate/30207061/1931-145a-av-nw-edmonton-fraser",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center px-8 py-4 rounded-full border-2 border-primary-foreground
326/40 text-primary-foreground text-base font-semibold hover:bg-primary-foreground/10 transition-colors",children:"View on REALTOR.ca"})]})]})})]}),f4=()=>p.jsx("section",{id:"tour",className:"section-padding bg-background",children:p.jsxs("div",{className:"max-w-7xl mx-auto",children:[p.jsxs(te.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[p.jsx("h2",{className:"font-display text-3xl md:text-5xl font-bold text-center mb-4",children:"Fully Renovated Bungalow in Fraser"}),p.jsx("p",{className:"text-primary text-xl md:text-2xl font-bold text-center mb-8",children:"Take a virtual tour"})]}),p.jsx(te.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},className:"rounded-2xl overflow-hidden shadow-lg",style:{boxShadow:"var(--shadow-elevated)"},children:p.jsx("iframe",{src:"https://youriguide.com/1931_145a_ave_nw_edmonton_ab/",width:"100%",height:"600",frameBorder:"0",allowFullScreen:!0,className:"w-full h-[400px] md:h-[600px]",title:"iGuide Virtual Tour - 1931 145A Ave NW Edmonton"})})]})}),h4=[{icon:wu,text:"Fully renovated bungalow in the mature community of Fraser"},{icon:Bp,text:"953 sqft on the main floor plus a fully finished basement"},{icon:OC,text:"4 bedrooms total — 3 up, 1 down"},{icon:Vv,text:"2 full bathrooms, including a 3-piece in the basement"},{icon:wu,text:"Open-concept main floor uniting a remodelled kitchen and living area"},{icon:WC,text:"Stone-facing fireplace and designer finishes throughout"},{icon:Bp,text:"Finished basement with spacious rec room, laundry & loads of storage"},{icon:_C,text:"24' x 24' double detached garage — 4 parking spaces"},{icon:Ua,text:"Large fenced back yard, deck, and no back lane"},{icon:Ua,text:"Three blocks to Fraser ravine, river valley trails & dog park"},{icon:eE,text:"Forced air natural gas heating"},{icon:wu,text:"Freehold — no condo fees"}],p4=()=>p.jsx("section",{id:"property",className:"section-padding bg-background",children:p.jsxs("div",{className:"max-w-7xl mx-auto",children:[p.jsxs(te.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[p.jsx("h2",{className:"font-display text-3xl md:text-5xl font-bold text-center mb-4",children:"1931 145A Ave NW, Edmonton"}),p.jsx("p",{className:"text-muted-foreground text-base md:text-lg font-bold text-center mb-10",children:"953 sqft bungalow with a fully finished basement — 4 beds, 2 baths, a 24' x 24' double detached garage and a big fenced yard, three blocks from the Fraser ravine"})]}),p.jsxs("div",{className:"grid lg:grid-cols-2 gap-12",children:[p.jsxs(te.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.2},children:[p.jsx("p",{className:"text-foreground/90 text-base md:text-lg leading-relaxed mb-6",children:"An absolutely stunning bungalow in Fraser. This charming starter home has been completely transformed and will be the pride of any new owner — endless renovations from top to bottom, with designer flare carried through the entire house."}),p.jsx("p",{className:"text-foreground/90 text-base md:text-lg leading-relaxed mb-6",children:"The open-concept main floor unites a totally remodelled kitchen with the living area, anchored by a stone-facing fireplace. Three bedrooms and a full bath sit on the main level, and the cute curb appeal sets the tone before you even step inside."}),p.jsx("p",{className:"text-foreground/90 text-base md:text-lg leading-relaxed mb-8",children:"Downstairs, the fully finished basement adds a 4th bedroom, a spacious rec room, a 3-piece bath, laundry and loads of storage. Out back you'll find a large fenced yard with a deck — tons of room for summer BBQs or bonfires — plus a 24' x 24' double detached garage. Only three blocks to the Fraser ravine, river valley trails and dog park, blocks to Fraser School, with quick access to the Henday and amenities at Manning Crossing."}),p.jsx("div",{className:"grid grid-cols-2 gap-4",children:[{label:"Property Type",value:"Single Family"},{label:"Square Footage",value:"953 sqft"},{label:"Community",value:"Fraser"},{label:"Parking",value:"Double Detached Garage"},{label:"Title",value:"Freehold"}
326,{label:"Lot Size",value:"0.13 acres"},{label:"Built",value:"1980"},{label:"Style",value:"Bungalow"}].map(e=>p.jsxs("div",{className:"glass-card p-4",children:[p.jsx("p",{className:"text-xs font-semibold uppercase tracking-wider text-muted-foreground mb-1",children:e.label}),p.jsx("p",{className:"text-base font-bold text-foreground",children:e.value})]},e.label))})]}),p.jsxs(te.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.3},children:[p.jsx("h3",{className:"font-display text-2xl font-bold mb-6",children:"Property highlights"}),p.jsx("div",{className:"grid gap-4",children:h4.map((e,t)=>p.jsxs("div",{className:"flex items-center gap-4 p-4 rounded-xl bg-accent/50 hover-lift",children:[p.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center flex-shrink-0",children:p.jsx(e.icon,{className:"w-5 h-5 text-primary"})}),p.jsx("span",{className:"font-medium text-foreground",children:e.text})]},t))})]})]})]})}),m4="https://cdn.realtor.ca/listings/TS639235152895930000/reb10/highres/4/E4505894_",on=Array.from({length:48},(e,t)=>({src:`${m4}${t+1}.jpg`,alt:`Property photo ${t+1} of the renovated bungalow at 1931 145A Ave NW, Fraser, Edmonton`})),g4=()=>{const[e,t]=b.useState(null),[n,r]=b.useState(!1),o=b.useRef(null),[i,s]=b.useState(4);b.useEffect(()=>{const d=o.current;if(!d)return;const f=()=>{const x=d.clientWidth;x<768?s(2):x<1024?s(3):s(4)};f();const h=new ResizeObserver(f);return h.observe(d),()=>h.disconnect()},[]);const a=i*2,l=n?on.length:a,u=on.slice(0,l),c=on.length>a;return p.jsxs("section",{id:"gallery",className:"section-padding",style:{background:"var(--gradient-section)"},children:[p.jsxs("div",{className:"max-w-7xl mx-auto",children:[p.jsxs(te.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[p.jsx("h2",{className:"font-display text-3xl md:text-5xl font-bold text-center mb-4",children:"Property Gallery"}),p.jsx("p",{className:"text-muted-foreground text-base md:text-lg font-bold text-center mb-10",children:"Explore every detail of this fully renovated Fraser bungalow"})]}),p.jsx("div",{ref:o,className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-3 md:gap-4",children:u.map((d,f)=>p.jsxs(te.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:f*.03},className:"relative aspect-[4/3] rounded-xl overflow-hidden cursor-pointer group hover-lift",onClick:()=>t(f),children:[p.jsx("img",{src:d.src,alt:d.alt,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110",loading:"lazy"}
326),p.jsx("div",{className:"absolute inset-0 bg-foreground/0 group-hover:bg-foreground/10 transition-colors"})]},d.src))}),c&&p.jsx("div",{className:"flex justify-center mt-8",children:p.jsx("button",{onClick:()=>r(d=>!d),"aria-expanded":n,className:"inline-flex items-center gap-2 px-6 py-3 rounded-full bg-primary text-primary-foreground font-medium transition-transform hover:scale-105 focus:outline-none focus:ring-2 focus:ring-ring",children:n?p.jsxs(p.Fragment,{children:["Show fewer photos ",p.jsx($v,{className:"w-5 h-5"})]}):p.jsxs(p.Fragment,{children:["Show all photos ",p.jsx(_v,{className:"w-5 h-5"})]})})})]}),p.jsx(Ew,{children:e!==null&&p.jsxs(te.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[100] bg-foreground/95 flex items-center justify-center",onClick:()=>t(null),children:[p.jsx("button",{onClick:()=>t(null),className:"absolute top-6 right-6 text-primary-foreground p-2","aria-label":"Close gallery",children:p.jsx(kf,{className:"w-8 h-8"})}),p.jsx("button",{onClick:d=>{d.stopPropagation(),t((e-1+on.length)%on.length)},className:"absolute left-4 md:left-8 text-primary-foreground p-2","aria-label":"Previous photo",children:p.jsx(zv,{className:"w-10 h-10"})}),p.jsx(te.img,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},src:on[e].src,alt:on[e].alt,className:"max-w-[90vw] max-h-[85vh] object-contain rounded-lg",onClick:d=>d.stopPropagation()},e),p.jsx("button",{onClick:d=>{d.stopPropagation(),t((e+1)%on.length)},className:"absolute right-4 md:right-8 text-primary-foreground p-2","aria-label":"Next photo",children:p.jsx(Bv,{className:"w-10 h-10"})}),p.jsxs("p",{className:"absolute bottom-6 text-primary-foreground/70 text-sm",children:[e+1," / ",on.length]})]})})]})},y4=[{icon:Ua,title:"Ravine & River Valley",description:"Three blocks to the Fraser ravine, river valley trails and off-leash dog park."},{icon:tE,title:"Mature Community",description:"Developed in the 1980s with big lots, mature trees and established streets."},{icon:rE,title:"Great Value in NE Edmonton",description:"One of the city's most affordable entry points for a detached home."},{icon:KC,title:"Quiet Family Street",description:"A calm residential pocket with no back lane and lots of room for kids."},{icon:Hv,title:"Schools Nearby",description:"Fraser School is just blocks away, with public and Catholic options close by."},{icon:Wv,title:"Parks & Recreation",description:"Clareview Community Recreation Centre, Hermitage Park and Rundle Park minutes away."},{icon:Kv,title:"Easy Commuting",description:"Quick access to Anthony Henday Drive, Manning Drive and the Clareview LRT."},{icon:FC,title:"Everything Close By",description:"Manning Crossing, Clareview Town Centre and Londonderry Mall cover the essentials."},{icon:Ko,title:"Golf & Green Space",description:"Minutes to Riverside and Victoria golf courses along the North Saskatchewan."}],v4=()=>p.jsx("section",{id:"neighbourhood",className:"section-padding !py-10 md:!py-14",children:p.jsxs("div",{className:"max-w-7xl mx-auto",children:[p.jsx(te.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},children:p.jsx("h2",{className:"font-display text-2xl md:text-4xl font-bold text-center mb-4",children:"Fraser At A Glance"})}),p.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:y4.map((e,t)=>p.jsxs(te.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.06},className:"glass-card p-6 hover-lift",children:[p.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary/10 flex items-center justify-center mb-4",children:p.jsx(e.icon,{className:"w-6 h-6 text-primary"})}),p.jsx("h3",{className:"font-sans text-base font-bold text-foreground mb-2",children:e.title}),p.jsx("p",{className:"text-sm text-foreground/70 leading-relaxed",children:e.description})]},e.title))})]})}),x4=[{category:"Grocery & Shopping",icon:JC,items:[{name:"Save-On-Foods Manning Crossing",distance:"5 min",link:"https://www.google.com/maps/search/Save+On+Foods+Manning+Crossing+Edmonton"},{name:"Costco Manning Town Centre",distance:"6 min",link:"https://www.google.com/maps/search/Costco+Manning+Town+Centre+Edmonton"},{name:"Real Canadian Superstore Clareview",distance:"7 min",link:"https://www.google.com/maps/search/Superstore+Clareview+Edmonton"}]},{category:"Coffee & Cafés",icon:BC,items:[{name:"Starbucks Manning Crossing",distance:"5 min",link:"https://www.google.com/maps/search/Starbucks+Manning+Crossing+Edmonton"},{name:"Tim Hortons 137 Avenue",distance:"4 min",link:"https://www.google.com/maps/search/Tim+Hortons+137+Avenue+Edmonton"},{name:"Second Cup Londonderry",distance:"10 min",link:"https://www.google.com/maps/search/Second+Cup+Londonderry+Edmonton"}]},{category:"Restaurants",icon:iE,items:[{name:"Manning Crossing Dining",distance:"5 min",link:"https://www.google.com/maps/search/restaurants+Manning+Crossing+Edmonton"},{name:"Clareview Town Centre",distance:"7 min",link:"https://www.google.com/maps/search/restaurants+Clareview+Town+Centre+Edmonton"},{name:"137 Avenue Restaurants",distance:"6 min",link:"https://www.google.com/maps/search/restaurants+137+Avenue+Edmonton"}]},{category:"Fitness & Recreation",icon:UC,items:[{name:"Clareview Community Rec Centre",distance:"6 min",link:"https://www.google.com/maps/search/Clareview+Community+Recreation+Centre"},{name:"Londonderry Fitness & Leisure Centre",distance:"10 min",link:"https://www.google.com/maps/search/Londonderry+Fitness+and+Leisure+Centre+Edmonton"},{name:"GoodLife Fitness Manning",distance:"6 min",link:"https://www.google.com/maps/search/GoodLife+Fitness+Manning+Town+Centre"}]},{category:"Parks & Nature",icon:Ua,items:[{name:"Fraser Ravine & Dog Park",distance:"3 blocks",link:"https://www.google.com/maps/search/Fraser+ravine+dog+park+Edmonton"},{name:"Hermitage Park",distance:"6 min",link:"https://www.google.com/maps/search/Hermitage+Park+Edmonton"},{name:"Rundle Park & River Valley Trails",distance:"10 min",link:"https://www.google.com/maps/search/Rundle+Park+Edmonton"}]},{category:"Healthcare",icon:GC,items:[{name:"Northeast Community Health Centre",distance:"8 min",link:"https://www.google.com/maps/search/Northeast+Community+Health+Centre+Edmonton"},{name:"Clareview Medical Clinics",distance:"6 min",link:"https://www.google.com/maps/search/medical+clinic+Clareview+Edmonton"},{name:"Shoppers Drug Mart Manning",distance:"5 min",link:"https://www.google.com/maps/search/Shoppers+Drug+Mart+Manning+Crossing+Edmonton"}]},{category:"Shopping",icon:ZC,items:[{name:"Manning Town Centre",distance:"6 min",link:"https://www.google.com/maps/search/Manning+Town+Centre+Edmonton"},{name:"Clareview Town Centre",distance:"7 min",link:"https://www.google.com/maps/search/Clareview+Town+Centre+Edmonton"},{name:"Londonderry Mall",distance:"10 min",link:"https://www.google.com/maps/search/Londonderry+Mall+Edmonton"}]},{category:"Transit & Highways",icon:Kv,items:[{name:"Clareview LRT Station",distance:"7 min",link:"https://www.google.com/maps/search/Clareview+LRT+Station+Edmonton"},{name:"Anthony Henday Drive",distance:"5 min",link:"https://www.google.com/maps/search/Anthony+Henday+Drive+northeast+Edmonton"},{name:"Manning Drive (Hwy 15)",distance:"5 min",link:"https://www.google.com/maps/search/Manning+Drive+Edmonton"}]}],w4=()=>p.jsx("section",{id:"amenities",className:"section-padding !py-10 md:!py-14",children:p.jsxs("div",{className:"max-w-7xl mx-auto",children:[p.jsx(te.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},children:p.jsx("h2",{className:"font-display text-2xl md:text-4xl font-bold text-center mb-4",children:"Nearby Amenities"})}),p.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:x4.map((e,t)=>p.jsxs(te.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.08},className:"glass-card p-6 hover-lift",children:[p.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[p.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center",children:p.jsx(e.icon,{className:"w-5 h-5 text-primary"})}),p.jsx("h3",{className:"font-sans text-base font-bold text-foreground",children:e.category})]}),p.jsx("div",{className:"space-y-3",children:e.items.map(n=>p.jsxs("a",{href:n.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between group/item",children:[p.jsx("span",{className:"text-sm text-foreground
326/80 group-hover/item:text-primary transition-colors",children:n.name}),p.jsxs("span",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[n.distance,p.jsx(Uv,{className:"w-3 h-3 opacity-0 group-hover/item:opacity-100 transition-opacity"})]})]},n.name))})]},e.category))})]})}),$u=[{name:"Fraser School",type:"Kindergarten – Grade 6",system:"Edmonton Public",distance:"Blocks away",rating:"Neighbourhood school",website:"https://fraser.epsb.ca/"},{name:"Clareview Community Junior High",type:"Junior High (7–9)",system:"Edmonton Public",distance:"5 min",rating:"Close by",website:"https://www.epsb.ca/schools/"},{name:"M.E. LaZerte School",type:"High School (10–12)",system:"Edmonton Public",distance:"8 min",rating:"Large NE high school",website:"https://melazerte.epsb.ca/"},{name:"Archbishop O'Leary Catholic High School",type:"Grades 10–12",system:"Edmonton Catholic",distance:"10 min",rating:"Faith-based",website:"https://www.ecsd.net/"}],b4=()=>{const e=b.useRef(null),[t,n]=b.useState(1),[r,o]=b.useState(!1);b.useEffect(()=>{const a=e.current;if(!a)return;const l=()=>{const d=window.getComputedStyle(a).gridTemplateColumns.split(" ").length;n(d||1)};l();const u=new ResizeObserver(l);return u.observe(a),()=>u.disconnect()},[]);const i=r?$u:$u.slice(0,t),s=$u.length>t;return p.jsx("section",{id:"schools",className:"section-padding !py-10 md:!py-14",children:p.jsxs("div",{className:"max-w-7xl mx-auto",children:[p.jsx(te.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},children:p.jsx("h2",{className:"font-display text-2xl md:text-4xl font-bold text-center mb-4",children:"Nearby Schools"})}),p.jsx("div",{ref:e,className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:i.map((a,l)=>p.jsxs(te.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:l*.1},className:"glass-card p-6 hover-lift",children:[p.jsxs("div",{className:"flex items-start gap-3 mb-4",children:[p.jsx("div",{className:"w-12 h-12 rounded-xl bg-secondary/10 flex items-center justify-center flex-shrink-0",children:p.jsx(Hv,{className:"w-6 h-6 text-secondary"})}),p.jsxs("div",{children:[p.jsx("h3",{className:"font-sans text-base font-bold text-foreground",children:a.name}),p.jsxs("p",{className:"text-sm text-muted-foreground",children:[a.type," · ",a.system]})]})]}),p.jsxs("div",{className:"flex items-center gap-4 text-xs text-muted-foreground mb-4",children:[p.jsxs("span",{className:"flex items-center gap-1",children:[p.jsx(Ko,{className:"w-3.5 h-3.5"})," ",a.distance]}),p.jsxs("span",{className:"flex items-center gap-1",children:[p.jsx(Cl,{className:"w-3.5 h-3.5 text-primary"})," ",a.rating]})]}),p.jsxs("a",{href:a.website,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-sm font-semibold text-primary hover:underline",children:["Visit Website ",p.jsx(Uv,{className:"w-3.5 h-3.5"})]})]},a.name))}),s&&p.jsx("div",{className:"flex justify-center mt-8",children:p.jsx("button",{type:"button",onClick:()=>o(a=>!a),className:"inline-flex items-center gap-2 px-6 py-3 rounded-full border-2 border-primary text-primary font-semibold hover:bg-primary/5 transition-colors",children:r?p.jsxs(p.Fragment,{children:["Show Less ",p.jsx($v,{className:"w-4 h-4"})]}):p.jsxs(p.Fragment,{children:["View More ",p.jsx(_v,{className:"w-4 h-4"})]})})})]})})},S4=()=>p.jsx("section",{id:"location",className:"section-padding bg-muted",children:p.jsxs("div",{className:"max-w-7xl mx-auto",children:[p.jsx(te.h2,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"font-display text-3xl md:text-5xl font-bold text-center mb-4",children:"Fraser — A Family-Friendly Northeast Edmonton Community"}),p.jsxs(te.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1},className:"flex items-center justify-center gap-2 text-primary text-lg md:text-2xl font-bold mb-8",children:[p.jsx(Ko,{className:"w-5 h-5"}),"1931 145A Ave NW, Edmonton, Alberta T5Y 1S9"]}),p.jsx(te.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"rounded-2xl overflow-hidden shadow-lg mb-16",children:p.jsx("iframe",{title:"Property location - 1931 145A Ave NW Edmonton",src:"https://www.google.com/maps?q=1931+145A+Ave+NW,+Edmonton,+AB&output=embed",width:"100%",height:"400",style:{border:0},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})}),p.jsx("hr",{className:"border-t border-primary/40"}),p.jsx(v4,{}),p.jsx("hr",{className:"border-t border-primary/40"}),p.jsx(w4,{}),p.jsx("hr",{className:"border-t border-primary/40"}),p.jsx(b4,{})]})}),C4=[{name:"John",text:"Jon is a top notch realtor in the Edmonton area. The guy really knows his 
326stuff. He was so easy to work with. Pleasant, available and understanding in every aspect. I highly recommend Jon. The fact that he can even save you money from the other realtors is an added bonus."},{name:"Heather",text:"We had a great experience selling our home with Jon. Great communication, very professional, straightforward, full quality service and a lower fee. We will definitely be calling him again in the future!"},{name:"Sid",text:"Jon did a great job for us in selling our house. He is friendly and very knowledgeable. He clearly explained the current market in our area so that we could set a realistic price and get our house sold. Communication was timely, clear and easy through the negotiation of the sale price."},{name:"Delores",text:"From the initial listing to the sale of the property, it was always apparent that choosing Jon Hull as my realtor was the absolute right choice. He communicates regularly and promptly and provides his professional opinion with honesty and integrity."},{name:"Leanne",text:"We had a fantastic experience with Jon as our realtor. He is very professional, knowledgeable of the market and made selling our house relatively easy. The photos he took were excellent and very high quality. He goes above and beyond."},{name:"Christie",text:"Jon was a pleasure to have as my agent. Any questions or concerns I had, he always responded promptly. He saved me thousands of dollars! He is very experienced and was able to sell my house within five days."},{name:"Melissa",text:"We have worked with Jon to buy and sell several properties and have always had a top-notch experience. Our house sold very quickly, at asking, and he was instrumental in making that happen. Highly recommended."},{name:"Chelsea",text:"He is professional, honest and has a ton of experience. His advice was helpful and we didn't feel pressured ever. We sold our house in the time-frame and at the price he predicted! I would definitely recommend to a friend."},{name:"Ryan",text:"I had an excellent experience working with 2% Realty and Jon Hull. He was extremely knowledgeable about the market. He has been our family Realtor for years and always looks out for our best interest!"},{name:"Matt",text:"The information and guidance Jon offered was both informative and current to today's real estate market. Buying our first home was exciting and stressful, but thanks to Jon we found our ideal home with all the features we were looking for."}],E4=e=>{const t=[...e];for(let n=t.length-1;n>0;n--){const r=Math.floor(Math.random()*(n+1));[t[n],t[r]]=[t[r],t[n]]}return t},k4=()=>{const[e]=b.useState(()=>E4(C4)),[t,n]=b.useState(0),r=b.useCallback(i=>n(s=>(s+i+e.length)%e.length),[e.length]);b.useEffect(()=>{const i=setInterval(()=>r(1),7e3);return()=>clearInterval(i)},[r,t]);const o=e[t];return p.jsxs("div",{id:"testimonials",className:"max-w-3xl mx-auto",children:[p.jsx(te.h3,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"font-display text-lg md:text-2xl font-bold text-center mb-3",children:"What Jon's Clients Have To Say"}),p.jsxs("div",{className:"relative bg-accent border border-primary/20 rounded-xl p-5 md:p-8 shadow-sm flex flex-col justify-center",children:[p.jsx(Ew,{mode:"wait",children:p.jsxs(te.blockquote,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},exit:{opacity:0,y:-12},transition:{duration:.4},className:"text-center",children:[p.jsx("div",{className:"flex justify-center gap-1 mb-3","aria-label":"5 out of 5 stars",children:Array.from({length:5}).map((i,s)=>p.jsx(Cl,{className:"w-4 h-4 text-primary fill-current"},s))}),p.jsxs("p",{className:"text-foreground/85 text-sm md:text-base italic leading-relaxed",children:["“",o.text,"”"]}),p.jsxs("footer",{className:"mt-3 font-semibold text-xs md:text-sm text-muted-foreground",children:["— ",o.name]})]},t)}),p.jsxs("div",{className:"flex items-center justify-center gap-3 mt-5",children:[p.jsx("button",{type:"button",onClick:()=>r(-1),"aria-label":"Previous review",className:"p-1.5 rounded-full border border-primary/30 text-primary hover:bg-primary/10 transition-colors",children:p.jsx(zv,{className:"w-3.5 h-3.5"})}),p.jsx("div",{className:"flex gap-1.5",children:e.map((i,s)=>p.jsx("button",{type:"button",onClick:()=>n(s),"aria-label":`Go to review ${s+1}`,className:`w-1.5 h-1.5 rounded-full transition-colors ${s===t?"bg-primary":"bg-primary/25"}`},s))}),p.jsx("button",{type:"button",onClick:()=>r(1),"aria-label":"Next review",className:"p-1.5 rounded-full border border-primary/30 text-primary hover:bg-primary/10 transition-colors",children:p.jsx(Bv,{className:"w-3.5 h-3.5"})})]})]})]})},T4=()=>p.jsx("section",{id:"agent",className:"section-padding",style:{background:"var(--gradient-section)"},children:p.jsxs("div",{className:"max-w-7xl mx-auto",children:[p.jsx(te.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"font-display text-3xl md:text-4xl font-bold text-center mb-2",children:"Jon Hull"}),p.jsx(te.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"font-display text-xl md:text-2xl font-bold text-center text-primary mb-10",children:"Serving the Greater Edmonton Area for nearly 20 years"}),p.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[p.jsx(te.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:p.jsxs("div",{className:"glass-card p-8 md:p-12",children:[p.jsx("img",{src:"/images/jon-hull.jpg",alt:"Jon Hull - Edmonton REALTOR with 2% Realty Pro",className:"w-40 h-40 rounded-full object-cover object-top mx-auto mb-6 shadow-lg border-4 border-primary/20"}),p.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold text-center mb-2",children:"Jon Hull"}),p.jsxs("p",{className:"text-center text-muted-foreground font-semibold mb-6",children:["REALTOR® | Broker & Owner",p.jsx("br",{}),p.jsx("span",{className:"text-primary",children:"2% Realty Pro"})]}),p.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4 mb-8",children:[p.jsxs("span",{className:"flex items-center gap-1 text-sm text-foreground
326/70",children:[p.jsx(Ko,{className:"w-4 h-4 text-primary"})," Edmonton Expert"]}),p.jsxs("span",{className:"flex items-center gap-1 text-sm text-foreground/70",children:[p.jsx($a,{className:"w-4 h-4 text-primary"})," Top 100 Agents for MLS® System Sales"]}),p.jsxs("span",{className:"flex items-center gap-1 text-sm text-foreground/70",children:[p.jsx($a,{className:"w-4 h-4 text-primary"})," 2% Realty Top Producer"]}),p.jsxs("span",{className:"flex items-center gap-1 text-sm text-foreground/70",children:[p.jsx(Cl,{className:"w-4 h-4 text-primary"})," 5-Star Google Rating"]})]}),p.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[p.jsxs("a",{href:"tel:7802212129",className:"inline-flex items-center justify-center gap-2 px-6 py-3 rounded-full bg-primary text-primary-foreground font-semibold hover:opacity-90 transition-opacity",children:[p.jsx(Qi,{className:"w-4 h-4"})," 780-221-2129"]}),p.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center justify-center gap-2 px-6 py-3 rounded-full border-2 border-primary text-primary font-semibold hover:bg-primary/5 transition-colors",children:[p.jsx(Vr,{className:"w-4 h-4"})," Email Jon"]})]})]})}),p.jsx(te.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:p.jsxs("div",{className:"space-y-4 text-foreground/85 text-base leading-relaxed",children:[p.jsx("p",{children:"Jon Hull is a dedicated Edmonton real estate professional with 2% Realty Pro, specializing in helping buyers and sellers across Edmonton's most desirable neighbourhoods. With deep local market knowledge and a client-first approach, Jon ensures every transaction is smooth, transparent, and tailored to your unique goals."}),p.jsx("p",{children:"Whether you're a first-time homebuyer exploring Fraser, a growing family looking for top-rated school districts, or an investor seeking strong returns in Edmonton's real estate market, Jon brings the expertise, negotiation skills, and market insight needed to help you make confident decisions."}),p.jsx("p",{children:"As a proud member of the 2% Realty Pro team, Jon offers full-service representation with significantly lower commission rates — meaning more money stays in your pocket without sacrificing any of the professional services you deserve."})]})})]}),p.jsx("div",{className:"mt-10 md:mt-14",children:p.jsx(k4,{})})]})});function Fw(e,[t,n]){return Math.min(n,Math.max(t,e))}var P4=b.createContext(void 0);function R4(e){const t=b.useContext(P4);return e||t||"ltr"}function N4(e){const t=b.useRef({value:e,previous:e});return b.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Vw=["PageUp","PageDown"],_w=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],zw={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Jo="Slider",[Sd,M4,A4]=uv(Jo),[Bw,h5]=hs(Jo,[A4]),[j4,_l]=Bw(Jo),$w=b.forwardRef((e,t)=>{const{name:n,min:r=0,max:o=100,step:i=1,orientation:s="horizontal",disabled:a=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[r],value:c,onValueChange:d=()=>{},onValueCommit:f=()=>{},inverted:h=!1,form:x,...y}=e,w=b.useRef(new Set),m=b.useRef(0),v=s==="horizontal"?D4:L4,[S=[],C]=mv({prop:c,defaultProp:u,onChange:F=>{var U;(U=[...w.current][m.current])==null||U.focus(),d(F)}}),E=b.useRef(S);function k(F){const L=_4(S,F);A(F,L)}function T(F){A(F,m.current)}function M(){const F=E.current[m.current];S[m.current]!==F&&f(S)}function A(F,L,{commit:U}={commit:!1}){const O=U4(i),K=H4(Math.round((F-r)/i)*i+r,O),B=Fw(K,[r,o]);C((V=[])=>{const P=F4(V,B,L);if($4(P,l*i)){m.current=P.indexOf(B);const N=String(P)!==String(V);return N&&U&&f(P),N?P:V}else return V})}return p.jsx(j4,{scope:e.__scopeSlider,name:n,disabled:a,min:r,max:o,valueIndexToChangeRef:m,thumbs:w.current,values:S,orientation:s,form:x,children:p.jsx(Sd.Provider,{scope:e.__scopeSlider,children:p.jsx(Sd.Slot,{scope:e.__scopeSlider,children:p.jsx(v,{"aria-disabled":a,"data-disabled":a?"":void 0,...y,ref:t,onPointerDown:ue(y.onPointerDown,()=>{a||(E.current=S)}),min:r,max:o,inverted:h,onSlideStart:a?void 0:k,onSlideMove:a?void 0:T,onSlideEnd:a?void 0:M,onHomeKeyDown:()=>!a&&A(r,0,{commit:!0}),onEndKeyDown:()=>!a&&A(o,S.length-1,{commit:!0}),onStepKeyDown:({event:F,direction:L})=>{if(!a){const K=Vw.includes(F.key)||F.shiftKey&&_w.includes(F.key)?10:1,B=m.current,V=S[B],P=i*K*L;A(V+P,B,{commit:!0})}}})})})})});$w.displayName=Jo;var[Uw,Hw]=Bw(Jo,{startEdge:"left",endEdge:"right",size:"width",direction:1}),D4=b.forwardRef((e,t)=>
326{const{min:n,max:r,dir:o,inverted:i,onSlideStart:s,onSlideMove:a,onSlideEnd:l,onStepKeyDown:u,...c}=e,[d,f]=b.useState(null),h=Le(t,v=>f(v)),x=b.useRef(void 0),y=R4(o),w=y==="ltr",m=w&&!i||!w&&i;function g(v){const S=x.current||d.getBoundingClientRect(),C=[0,S.width],k=mh(C,m?[n,r]:[r,n]);return x.current=S,k(v-S.left)}return p.jsx(Uw,{scope:e.__scopeSlider,startEdge:m?"left":"right",endEdge:m?"right":"left",direction:m?1:-1,size:"width",children:p.jsx(Ww,{dir:y,"data-orientation":"horizontal",...c,ref:h,style:{...c.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:v=>{const S=g(v.clientX);s==null||s(S)},onSlideMove:v=>{const S=g(v.clientX);a==null||a(S)},onSlideEnd:()=>{x.current=void 0,l==null||l()},onStepKeyDown:v=>{const C=zw[m?"from-left":"from-right"].includes(v.key);u==null||u({event:v,direction:C?-1:1})}})})}),L4=b.forwardRef((e,t)=>{const{min:n,max:r,inverted:o,onSlideStart:i,onSlideMove:s,onSlideEnd:a,onStepKeyDown:l,...u}=e,c=b.useRef(null),d=Le(t,c),f=b.useRef(void 0),h=!o;function x(y){const w=f.current||c.current.getBoundingClientRect(),m=[0,w.height],v=mh(m,h?[r,n]:[n,r]);return f.current=w,v(y-w.top)}return p.jsx(Uw,{scope:e.__scopeSlider,startEdge:h?"bottom":"top",endEdge:h?"top":"bottom",size:"height",direction:h?1:-1,children:p.jsx(Ww,{"data-orientation":"vertical",...u,ref:d,style:{...u.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:y=>{const w=x(y.clientY);i==null||i(w)},onSlideMove:y=>{const w=x(y.clientY);s==null||s(w)},onSlideEnd:()=>{f.current=void 0,a==null||a()},onStepKeyDown:y=>{const m=zw[h?"from-bottom":"from-top"].includes(y.key);l==null||l({event:y,direction:m?-1:1})}})})}),Ww=b.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:i,onHomeKeyDown:s,onEndKeyDown:a,onStepKeyDown:l,...u}=e,c=_l(Jo,n);return p.jsx(Pe.span,{...u,ref:t,onKeyDown:ue(e.onKeyDown,d=>{d.key==="Home"?(s(d),d.preventDefault()):d.key==="End"?(a(d),d.preventDefault()):Vw.concat(_w).includes(d.key)&&(l(d),d.preventDefault())}),onPointerDown:ue(e.onPointerDown,d=>{const f=d.target;f.setPointerCapture(d.pointerId),d.preventDefault(),c.thumbs.has(f)?f.focus():r(d)}),onPointerMove:ue(e.onPointerMove,d=>{d.target.hasPointerCapture(d.pointerId)&&o(d)}),onPointerUp:ue(e.onPointerUp,d=>{const f=d.target;f.hasPointerCapture(d.pointerId)&&(f.releasePointerCapture(d.pointerId),i(d))})})}),Kw="SliderTrack",Gw=b.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=_l(Kw,n);return p.jsx(Pe.span,{"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation,...r,ref:t})});Gw.displayName=Kw;var Cd="SliderRange",Yw=b.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=_l(Cd,n),i=Hw(Cd,n),s=b.useRef(null),a=Le(t,s),l=o.values.length,u=o.values.map(f=>Xw(f,o.min,o.max)),c=l>1?Math.min(...u):0,d=100-Math.max(...u);return p.jsx(Pe.span,{"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,...r,ref:a,style:{...e.style,[i.startEdge]:c+"%",[i.endEdge]:d+"%"}})});Yw.displayName=Cd;var Ed="SliderThumb",Qw=b.forwardRef((e,t)=>{const n=M4(e.__scopeSlider),[r,o]=b.useState(null),i=Le(t,a=>o(a)),s=b.useMemo(()=>r?n().findIndex(a=>a.ref.current===r):-1,[n,r]);return p.jsx(O4,{...e,ref:i,index:s})}),O4=b.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,name:o,...i}=e,s=_l(Ed,n),a=Hw(Ed,n),[l,u]=b.useState(null),c=Le(t,g=>u(g)),d=l?s.form||!!l.closest("form"):!0,f=mx(l),h=s.values[r],x=h===void 0?0:Xw(h,s.min,s.max),y=V4(r,s.values.length),w=f==null?void 0:f[a.size],m=w?z4(w,x,a.direction):0;return b.useEffect(()=>{if(l)return s.thumbs.add(l),()=>{s.thumbs.delete(l)}},[l,s.thumbs]),p.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[a.startEdge]:`calc(${x}% + ${m}px)`},children:[p.jsx(Sd.ItemSlot,{scope:e.__scopeSlider,children:p.jsx(Pe.span,{role:"slider","aria-label":e["aria-label"]||y,"aria-valuemin":s.min,"aria-valuenow":h,"aria-valuemax":s.max,"aria-orientation":s.orientation,"data-orientation":s.orientation,"data-disabled":s.disabled?"":void 0,tabIndex:s.disabled?void 0:0,...i,ref:c,style:h===void 0?{display:"none"}:e.style,onFocus:ue(e.onFocus,()=>{s.valueIndexToChangeRef.current=r})})}),d&&p.jsx(qw,{name:o??(s.name?s.name+(s.values.length>1?"[]":""):void 0),form:s.form,value:h},r)]})});Qw.displayName=Ed;var I4="RadioBubbleInput",qw=b.forwardRef(({__scopeSlider:e,value:t,...n},r)=>{const o=b.useRef(null),i=Le(o,r),s=N4(t);return b.useEffect(()=>{const a=o.current;if(!a)return;const l=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(l,"value").set;if(s!==t&&c){const d=new Event("input",{bubbles:!0});c.call(a,t),a.dispatchEvent(d)}},[s,t]),p.jsx(Pe.input,{style:{display:"none"},...n,ref:i,defaultValue:t})});qw.displayName=I4;
326function F4(e=[],t,n){const r=[...e];return r[n]=t,r.sort((o,i)=>o-i)}function Xw(e,t,n){const i=100/(n-t)*(e-t);return Fw(i,[0,100])}function V4(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function _4(e,t){if(e.length===1)return 0;const n=e.map(o=>Math.abs(o-t)),r=Math.min(...n);return n.indexOf(r)}function z4(e,t,n){const r=e/2,i=mh([0,50],[0,r]);return(r-i(t)*n)*n}function B4(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function $4(e,t){if(t>0){const n=B4(e);return Math.min(...n)>=t}return!0}function mh(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function U4(e){return(String(e).split(".")[1]||"").length}function H4(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}var Zw=$w,W4=Gw,K4=Yw,G4=Qw;const Jw=b.forwardRef(({className:e,...t},n)=>p.jsxs(Zw,{ref:n,className:cr("relative flex w-full touch-none select-none items-center",e),...t,children:[p.jsx(W4,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:p.jsx(K4,{className:"absolute h-full bg-primary"})}),p.jsx(G4,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background 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"})]}));Jw.displayName=Zw.displayName;const Y4=[{icon:nE,title:"Save Thousands",description:"Pay just 2% listing commission instead of the traditional 7% on the first $100,000 and 3% on the remainder. On a $500K home, that's thousands saved."},{icon:HC,title:"Full MLS® System Exposure",description:"Your property gets the same MLS® System, REALTOR.ca, and online exposure as any traditional listing — no shortcuts."},{icon:Wv,title:"Full Service",description:"Professional photography, marketing, negotiations, paperwork, and closing support — everything you'd expect from a top brokerage."},{icon:$C,title:"Transparent Pricing",description:"No hidden fees, no surprises. You know exactly what you're paying from day one."},{icon:sE,title:"Modern Approach",description:"Leveraging technology and efficiency to deliver better service at a lower cost — smart real estate for smart buyers and sellers."},{icon:zC,title:"Proven Results",description:"2% Realty Pro agents across Canada have helped thousands of families save money without compromising on service."}],Q4=e=>{const t=Math.min(e,1e5)*.07,n=Math.max(0,e-1e5)*.03;return t+n},q4=e=>e*.02,qs=e=>new Intl.NumberFormat("en-CA",{style:"currency",currency:"CAD",maximumFractionDigits:0}).format(e),X4=()=>{const[e,t]=b.useState([384900]),n=e[0],r=Q4(n),o=q4(n),i=r-o;return p.jsx("section",{className:"section-padding bg-background border-t border-primary/40",children:p.jsxs("div",{className:"max-w-7xl mx-auto",children:[p.jsxs(te.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[p.jsx("h2",{className:"font-display text-3xl md:text-5xl font-bold mb-4",children:"Why Choose 2% Realty Pro?"}),p.jsx("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:"Full-service real estate — same results, smarter pricing. The modern way to buy and sell homes in Edmonton."})]}),p.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:Y4.map((s,a)=>p.jsxs(te.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:a*.08},className:"glass-card p-6 hover-lift",children:[p.jsx("div",{className:"w-12 h-12 rounded-xl bg-secondary/10 flex items-center justify-center mb-4",children:p.jsx(s.icon,{className:"w-6 h-6 text-secondary"})}),p.jsx("h3",{className:"font-sans text-base font-bold text-foreground mb-2",children:s.title}),p.jsx("p",{className:"text-sm text-foreground/70 leading-relaxed",children:s.description})]},s.title))}),p.jsxs(te.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mt-12 rounded-2xl p-8 md:p-12 text-center",style:{background:"var(--gradient-hero)"},children:[p.jsxs("h3",{className:"font-display text-2xl md:text-3xl font-bold text-primary-foreground mb-4",children:["Thinking of selling?",p.jsx("br",{}),"Save thousands with 2% Realty Pro"]}
326),p.jsx("p",{className:"text-primary-foreground/90 text-lg max-w-2xl mx-auto mb-8",children:"Slide to see how much you could save with 2% Realty Pro compared to the traditional commission model."}),p.jsxs("div",{className:"max-w-xl mx-auto mb-8",children:[p.jsx("p",{className:"text-primary-foreground/70 text-sm font-semibold uppercase tracking-wider mb-2",children:"Home Price"}),p.jsx("p",{className:"text-primary-foreground text-3xl md:text-4xl font-bold mb-4",children:qs(n)}),p.jsx(Jw,{value:e,onValueChange:t,min:1e5,max:15e5,step:1e4,className:"[&_[role=slider]]:bg-primary-foreground [&_[role=slider]]:border-0 [&_[data-orientation=horizontal]>.bg-primary]:bg-primary-foreground/80 [&_[data-orientation=horizontal]]:bg-primary-foreground/30"}),p.jsxs("div",{className:"flex justify-between text-primary-foreground/50 text-xs mt-2",children:[p.jsx("span",{children:"$100K"}),p.jsx("span",{children:"$1.5M"})]})]}),p.jsxs("div",{className:"grid sm:grid-cols-3 gap-4 max-w-2xl mx-auto",children:[p.jsxs("div",{className:"rounded-xl bg-primary-foreground/10 p-4",children:[p.jsx("p",{className:"text-primary-foreground/60 text-xs font-semibold uppercase tracking-wider mb-1",children:"Traditional"}),p.jsx("p",{className:"text-primary-foreground text-xl md:text-2xl font-bold",children:qs(r)}),p.jsx("p",{className:"text-primary-foreground/50 text-xs",children:"7% + 3% model"})]}),p.jsxs("div",{className:"rounded-xl bg-primary-foreground/10 p-4",children:[p.jsx("p",{className:"text-primary-foreground/60 text-xs font-semibold uppercase tracking-wider mb-1",children:"2% Realty Pro"}),p.jsx("p",{className:"text-primary-foreground text-xl md:text-2xl font-bold",children:qs(o)}),p.jsx("p",{className:"text-primary-foreground/50 text-xs",children:"Flat 2%"})]}),p.jsxs("div",{className:"rounded-xl bg-primary-foreground/20 p-4 ring-2 ring-primary-foreground/30",children:[p.jsx("p",{className:"text-primary-foreground/60 text-xs font-semibold uppercase tracking-wider mb-1",children:"You Save"}),p.jsx("p",{className:"text-primary-foreground text-xl md:text-2xl font-bold",children:qs(i)}),p.jsx("p",{className:"text-primary-foreground/50 text-xs",children:"In your pocket"})]})]}),p.jsxs("a",{href:"mailto:[email protected]?subject=2% Realty Pro Commission Savings Inquiry",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full bg-primary text-primary-foreground text-sm font-semibold hover:opacity-90 transition-opacity mt-8",children:[p.jsx(Vr,{className:"w-4 h-4"})," Learn How Much You Can Save"]})]})]})})},Z4=()=>{const[e,t]=b.useState(384900),[n,r]=b.useState(10),[o,i]=b.useState(4.5),[s,a]=b.useState(25),l=e*(n/100),u=e-l,c=o/100/12,d=s*12,f=c>0?u*(c*Math.pow(1+c,d))/(Math.pow(1+c,d)-1):u/d;return p.jsx("section",{id:"mortgage",className:"section-padding bg-background",children:p.jsxs("div",{className:"max-w-3xl mx-auto",children:[p.jsxs(te.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[p.jsxs("div",{className:"flex items-center justify-center gap-3 mb-4",children:[p.jsx(VC,{className:"w-8 h-8 text-primary"}),p.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold text-center",children:"Mortgage Calculator"})]}),p.jsx("p",{className:"text-muted-foreground text-lg text-center mb-8",children:"Estimate your monthly payments for this Fraser bungalow"})]}),p.jsxs("div",{className:"bg-accent border border-primary/20 rounded-xl p-8 shadow-sm",children:[p.jsxs("div",{className:"grid md:grid-cols-2 gap-6 mb-8",children:[p.jsxs("div",{children:[p.jsx("label",{className:"block text-sm font-semibold text-foreground mb-2",children:"Purchase Price"}),p.jsx("input",{type:"number",value:e,onChange:h=>t(Number(h.target.value)),className:"w-full px-4 py-3 rounded-lg border border-border bg-background text-foreground focus:ring-2 focus:ring-primary/30 outline-none"})]}),p.jsxs("div",{children:[p.jsx("label",{className:"block text-sm font-semibold text-foreground mb-2",children:"Down Payment (%)"}),p.jsx("input",{type:"number",value:n,onChange:h=>r(Number(h.target.value)),className:"w-full px-4 py-3 rounded-lg border border-border bg-background text-foreground focus:ring-2 focus:ring-primary/30 outline-none"})]}),p.jsxs("div",{children:[p.jsx("label",{className:"block text-sm font-semibold text-foreground mb-2",children:"Interest Rate (%)"}),p.jsx("input",{type:"number",step:"0.1",value:o,onChange:h=>i(Number(h.target.value)),className:"w-full px-4 py-3 rounded-lg border border-border bg-background text-foreground focus:ring-2 focus:ring-primary/30 outline-none"})]}),p.jsxs("div",{children:[p.jsx("label",{className:"block text-sm font-semibold text-foreground mb-2",children:"Amortization (years)"}),p.jsx("input",{type:"number",value:s,onChange:h=>a(Number(h.target.value)),className:"w-full px-4 py-3 rounded-lg border border-border bg-background text-foreground focus:ring-2 focus:ring-primary/30 outline-none"})]})]}),p.jsxs("div",{className:"rounded-xl p-6 text-center",style:{background:"var(--gradient-hero)"}
326,children:[p.jsx("p",{className:"text-primary-foreground/80 text-sm font-semibold mb-1",children:"Estimated Monthly Payment"}),p.jsxs("p",{className:"text-primary-foreground text-4xl md:text-5xl font-display font-bold",children:["$",Math.round(f).toLocaleString()]}),p.jsxs("p",{className:"text-primary-foreground/60 text-xs mt-2",children:["Based on $",l.toLocaleString()," down payment (",n,"%) · Freehold — no condo fees"]})]})]})]})})},J4=()=>{const e=typeof window<"u"?window.location.href:"";return p.jsx("footer",{id:"contact",className:"section-padding bg-foreground text-primary-foreground",children:p.jsxs("div",{className:"max-w-7xl mx-auto",children:[p.jsxs("div",{className:"grid md:grid-cols-[2fr_1fr] gap-12 mb-12",children:[p.jsx("div",{children:p.jsxs("div",{className:"p-8 md:p-10 flex flex-col md:flex-row gap-6 items-start",children:[p.jsx("img",{src:"/images/jon-hull.jpg",alt:"Jon Hull - Edmonton REALTOR with 2% Realty Pro",className:"w-32 h-32 rounded-full object-cover object-top shadow-lg border-4 border-primary/20 flex-shrink-0"}),p.jsxs("div",{className:"text-left",children:[p.jsx("h3",{className:"font-display text-2xl md:text-3xl font-bold mb-2 text-white",children:"Jon Hull"}),p.jsxs("p",{className:"text-primary-foreground/70 font-semibold mb-4",children:["REALTOR® | Broker & Owner",p.jsx("br",{}),p.jsx("span",{className:"text-primary",children:"2% Realty Pro"})]}),p.jsxs("div",{className:"flex flex-wrap gap-3 mb-6",children:[p.jsxs("span",{className:"flex items-center gap-1 text-xs text-primary-foreground/70",children:[p.jsx(Ko,{className:"w-3 h-3 text-primary"})," Edmonton Expert"]}),p.jsxs("span",{className:"flex items-center gap-1 text-xs text-primary-foreground/70",children:[p.jsx($a,{className:"w-3 h-3 text-primary"})," Top 100 Agents for MLS® System Sales"]}),p.jsxs("span",{className:"flex items-center gap-1 text-xs text-primary-foreground/70",children:[p.jsx($a,{className:"w-3 h-3 text-primary"})," 2% Realty Top Producer"]}),p.jsxs("span",{className:"flex items-center gap-1 text-xs text-primary-foreground/70",children:[p.jsx(Cl,{className:"w-3 h-3 text-primary"})," 5-Star Google Rating"]})]}),p.jsxs("div",{className:"flex items-center gap-4",children:[p.jsx("a",{href:"https://www.facebook.com/JonHull2PercentRealtyPro/",target:"_blank",rel:"noopener noreferrer",className:"w-12 h-12 rounded-full bg-primary-foreground/10 flex items-center justify-center hover:bg-primary/20 transition-colors","aria-label":"Facebook",children:p.jsx(zp,{className:"w-6 h-6"})}),p.jsx("a",{href:"https://www.instagram.com/jonhull_2percentrealtypro",target:"_blank",rel:"noopener noreferrer",className:"w-12 h-12 rounded-full bg-primary-foreground/10 flex items-center justify-center hover:bg-primary/20 transition-colors","aria-label":"Instagram",children:p.jsx(YC,{className:"w-6 h-6"})})]})]})]})}),p.jsxs("div",{children:[p.jsx("h3",{className:"font-display text-2xl font-bold mb-4",children:"Ready to See This Home?"}),p.jsxs("div",{className:"space-y-3",children:[p.jsxs("a",{href:"tel:7802212129",className:"flex items-center justify-center gap-2 px-5 py-2.5 rounded-full bg-background text-foreground border border-primary text-sm font-semibold hover:bg-primary/5 transition-colors",children:[p.jsx(Qi,{className:"w-4 h-4 text-primary"})," 780-221-2129"]}),p.jsxs("a",{href:"mailto:[email protected]?subject=Showing Request: 1931 145A Ave NW Edmonton",className:"flex items-center justify-center gap-2 px-5 py-2.5 rounded-full bg-primary text-primary-foreground text-sm font-semibold hover:opacity-90 transition-opacity",children:[p.jsx(Vr,{className:"w-4 h-4"})," [email protected]"]})]})]})]}),p.jsxs("div",{className:"text-center mb-12",children:[p.jsx("p",{className:"text-xs text-primary-foreground/50 mb-2 font-semibold uppercase tracking-wider",children:"Share This Listing"}),p.jsxs("div",{className:"flex justify-center gap-3",children:[p.jsx("a",{href:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`,target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-full bg-primary-foreground
326/10 flex items-center justify-center hover:bg-primary/20 transition-colors","aria-label":"Share on Facebook",children:p.jsx(zp,{className:"w-4 h-4"})}),p.jsx("a",{href:`https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}&text=Check out this fully renovated Fraser bungalow in Edmonton!`,target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-full bg-primary-foreground/10 flex items-center justify-center hover:bg-primary/20 transition-colors","aria-label":"Share on Twitter",children:p.jsx(oE,{className:"w-4 h-4"})}),p.jsx("button",{onClick:()=>{var t;return(t=navigator.clipboard)==null?void 0:t.writeText(e)},className:"w-10 h-10 rounded-full bg-primary-foreground/10 flex items-center justify-center hover:bg-primary/20 transition-colors","aria-label":"Copy link",children:p.jsx(XC,{className:"w-4 h-4"})})]})]}),p.jsxs("div",{className:"border-t border-primary-foreground/10 pt-8 text-center space-y-4",children:[p.jsxs("p",{className:"text-primary-foreground/40 text-xs",children:["© ",new Date().getFullYear()," Jon Hull | 2% Realty Pro | Edmonton, Alberta. MLS® E4505894. The listing data is provided under copyright by the REALTORS® Association of Edmonton. The trademarks MLS®, Multiple Listing Service® are owned by CREA."]}),p.jsx("p",{className:"text-primary-foreground/30 text-[10px] leading-relaxed max-w-3xl mx-auto",children:"This website is AI generated. All content is deemed reliable but not guaranteed, contact agent to verify details. REALTOR®: Member of The Canadian Real Estate Association and more. Savings are based on 7% on the first $100,000 and 3% on the remainder commission model. Commissions are always negotiable. Not intended to solicit buyers or sellers already under contract."})]})]})})},e5=()=>p.jsxs(p.Fragment,{children:[p.jsxs("a",{href:"mailto:[email protected]?subject=Inquiry: 1931 145A Ave NW Edmonton",className:"floating-cta hidden md:flex items-center gap-2 px-6 py-3 rounded-full bg-primary text-primary-foreground font-bold hover:opacity-90 transition-opacity",children:[p.jsx(Vr,{className:"w-5 h-5"}),"Contact Jon for More Details"]}),p.jsxs("div",{className:"fixed bottom-0 left-0 right-0 z-50 md:hidden glass-card border-t border-border p-3 flex gap-3",children:[p.jsxs("a",{href:"tel:7802212129",className:"flex-1 flex items-center justify-center gap-2 py-3 rounded-full bg-secondary text-secondary-foreground font-bold text-sm",children:[p.jsx(Qi,{className:"w-4 h-4"})," Call"]}),p.jsxs("a",{href:"mailto:[email protected]?subject=Inquiry: 1931 145A Ave NW Edmonton",className:"flex-1 flex items-center justify-center gap-2 py-3 rounded-full bg-primary text-primary-foreground font-bold text-sm",children:[p.jsx(Vr,{className:"w-4 h-4"})," Contact Jon"]})]})]}),t5=()=>p.jsxs("main",{className:"min-h-screen bg-background",children:[p.jsx(u4,{}),p.jsx(d4,{}),p.jsx(f4,{}),p.jsx(p4,{}),p.jsx(g4,{}),p.jsx(S4,{}),p.jsx(Z4,{}),p.jsx(T4,{}),p.jsx(X4,{}),p.jsx("section",{className:"bg-background py-10 flex justify-center",children:p.jsx("img",{src:"/images/YEG_wide_2026.png",alt:"2% Realty – Edmonton's #1 Lower Commission + Full Service Realty Brokerage",className:"h-16 md:h-20 w-auto",loading:"lazy"})}),p.jsx(J4,{}),p.jsx(e5,{})]}),n5=()=>{const e=Qx();return b.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),p.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:p.jsxs("div",{className:"text-center",children:[p.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),p.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),p.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},r5=new RP,o5=()=>p.jsx(MP,{client:r5,children:p.jsxs(oP,{children:[p.jsx($E,{}),p.jsx(wk,{}),p.jsx(mR,{children:p.jsxs(fR,{children:[p.jsx(qc,{path:"/",element:p.jsx(t5,{})}),p.jsx(qc,{path:"*",element:p.jsx(n5,{})})]})})]})});sv(document.getElementById("root")).render(p.jsx(o5,{}));

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.