vendor: 5,691 bytes, lines 1-9
1var Eh=e=>{throw TypeError(e)};var Ul=(e,t,n)=>t.has(e)||Eh("Cannot "+n);var j=(e,t,n)=>(Ul(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?Eh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,r)=>(Ul(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Oe=(e,t,n)=>(Ul(e,t,"access private method"),n);var Po=(e,t,n,r)=>({set _(i){H(e,t,i,n)},get _(){return j(e,t,r)}});function W1(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function Hg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Kg={exports:{}},ol={},Gg={exports:{}},q={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var co=Symbol.for("react.element"),H1=Symbol.for("react.portal"),K1=Symbol.for("react.fragment"),G1=Symbol.for("react.strict_mode"),Q1=Symbol.for("react.profiler"),Y1=Symbol.for("react.provider"),X1=Symbol.for("react.context"),q1=Symbol.for("react.forward_ref"),J1=Symbol.for("react.suspense"),Z1=Symbol.for("react.memo"),eb=Symbol.for("react.lazy"),Ch=Symbol.iterator;function tb(e){return e===null||typeof e!="object"?null:(e=Ch&&e[Ch]||e["@@iterator"],typeof e=="function"?e:null)}var Qg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Yg=Object.assign,Xg={};function Hi(e,t,n){this.props=e,this.context=t,this.refs=Xg,this.updater=n||Qg}Hi.prototype.isReactComponent={};Hi.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")};Hi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function qg(){}qg.prototype=Hi.prototype;function wd(e,t,n){this.props=e,this.context=t,this.refs=Xg,this.updater=n||Qg}var bd=wd.prototype=new qg;bd.constructor=wd;Yg(bd,Hi.prototype);bd.isPureReactComponent=!0;var Th=Array.isArray,Jg=Object.prototype.hasOwnProperty,Sd={current:null},Zg={key:!0,ref:!0,__self:!0,__source:!0};function ey(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)Jg.call(t,r)&&!Zg.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:co,type:e,key:s,ref:o,props:i,_owner:Sd.current}}function nb(e,t){return{$$typeof:co,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ed(e){return typeof e=="object"&&e!==null&&e.$$typeof===co}function rb(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?rb(""+e.key):t.toString(36)}function ea(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case co:case H1:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+Wl(o,0):r,Th(i)?(n="",e!=null&&(n=e.replace(kh,"$&/")+"/"),ea(i,t,n,"",function(u){return u})):i!=null&&(Ed(i)&&(i=nb(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(kh,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Th(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+Wl(s,a);o+=ea(s,t,n,l,i)}else if(l=tb(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+Wl(s,a++),o+=ea(s,t,n,l,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function jo(e,t,n){if(e==null)return e;var r=[],i=0;return ea(e,r,"","",function(s){return t.call(n,s,i++)}),r}function ib(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 Ye={current:null},ta={transition:null},sb={ReactCurrentDispatcher:Ye,ReactCurrentBatchConfig:ta,ReactCurrentOwner:Sd};function ty(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 9,400 bytes, lines 9-33
9q.Children={map:jo,forEach:function(e,t,n){jo(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return jo(e,function(){t++}),t},toArray:function(e){return jo(e,function(t){return t})||[]},only:function(e){if(!Ed(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};q.Component=Hi;q.Fragment=K1;q.Profiler=Q1;q.PureComponent=wd;q.StrictMode=G1;q.Suspense=J1;q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sb;q.act=ty;q.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Yg({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=Sd.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Jg.call(t,l)&&!Zg.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:co,type:e.type,key:i,ref:s,props:r,_owner:o}};q.createContext=function(e){return e={$$typeof:X1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Y1,_context:e},e.Consumer=e};q.createElement=ey;q.createFactory=function(e){var t=ey.bind(null,e);return t.type=e,t};q.createRef=function(){return{current:null}};q.forwardRef=function(e){return{$$typeof:q1,render:e}};q.isValidElement=Ed;q.lazy=function(e){return{$$typeof:eb,_payload:{_status:-1,_result:e},_init:ib}};q.memo=function(e,t){return{$$typeof:Z1,type:e,compare:t===void 0?null:t}};q.startTransition=function(e){var t=ta.transition;ta.transition={};try{e()}finally{ta.transition=t}};q.unstable_act=ty;q.useCallback=function(e,t){return Ye.current.useCallback(e,t)};q.useContext=function(e){return Ye.current.useContext(e)};q.useDebugValue=function(){};q.useDeferredValue=function(e){return Ye.current.useDeferredValue(e)};q.useEffect=function(e,t){return Ye.current.useEffect(e,t)};q.useId=function(){return Ye.current.useId()};q.useImperativeHandle=function(e,t,n){return Ye.current.useImperativeHandle(e,t,n)};q.useInsertionEffect=function(e,t){return Ye.current.useInsertionEffect(e,t)};q.useLayoutEffect=function(e,t){return Ye.current.useLayoutEffect(e,t)};q.useMemo=function(e,t){return Ye.current.useMemo(e,t)};q.useReducer=function(e,t,n){return Ye.current.useReducer(e,t,n)};q.useRef=function(e){return Ye.current.useRef(e)};q.useState=function(e){return Ye.current.useState(e)};q.useSyncExternalStore=function(e,t,n){return Ye.current.useSyncExternalStore(e,t,n)};q.useTransition=function(){return Ye.current.useTransition()};q.version="18.3.1";Gg.exports=q;var b=Gg.exports;const D=Hg(b),ny=W1({__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 ob=b,ab=Symbol.for("react.element"),lb=Symbol.for("react.fragment"),ub=Object.prototype.hasOwnProperty,cb=ob.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,db={key:!0,ref:!0,__self:!0,__source:!0};function ry(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)ub.call(t,r)&&!db.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:ab,type:e,key:s,ref:o,props:i,_owner:cb.current}}ol.Fragment=lb;ol.jsx=ry;ol.jsxs=ry;Kg.exports=ol;var c=Kg.exports,iy={exports:{}},ct={},sy={exports:{}},oy={};/** 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 O=P.length;P.push(N);e:for(;0<O;){var U=O-1>>>1,B=P[U];if(0<i(B,N))P[U]=N,P[O]=B,O=U;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],O=P.pop();if(O!==N){P[0]=O;e:for(var U=0,B=P.length,X=B>>>1;U<X;){var J=2*(U+1)-1,xe=P[J],Le=J+1,te=P[Le];if(0>i(xe,O))Le<B&&0>i(te,xe)?(P[U]=te,P[Le]=O,U=Le):(P[U]=xe,P[J]=O,U=J);else if(Le<B&&0>i(te,O))P[U]=te,P[Le]=O,U=Le;else break e}}return N}function i(P,N){var O=P.sortIndex-N.sortIndex;return O!==0?O:P.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],d=1,f=null,h=3,p=!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,$(E);else{var N=n(u);N!==null&&_(S,N.startTime-P)}}function E(P,N){x=!1,y&&(y=!1,m(k),k=-1),p=!0;var O=h;try{for(v(N),f=n(l);f!==null&&(!(f.expirationTime>N)||P&&!z());){var U=f.callback;if(typeof U=="function"){f.callback=null,h=f.priorityLevel;var B=U(f.expirationTime<=N);N=e.unstable_now(),typeof B=="function"?f.callback=B:f===n(l)&&r(l),v(N)}else r(l);f=n(l)}if(f!==null)var X=!0;else{var J=n(u);J!==null&&_(S,J.startTime-N),X=!1}return X}finally{f=null,h=O,p=!1}}var C=!1,T=null,k=-1,R=5,A=-1;function z(){return!(e.unstable_now()-A<R)}function I(){if(T!==null){var P=e.unstable_now();A=P;var N=!0;try{N=T(!0,P)}finally{N?K():(C=!1,T=null)}}else C=!1}var K;if(typeof g=="function")K=function(){g(I)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,Y=L.port2;L.port1.onmessage=I,K=function(){Y.postMessage(null)}}else K=function(){w(I,0)};function $(P){T=P,C||(C=!0,K())}function _(P,N){k=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||p||(x=!0,$(E))},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"):R=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(P){switch(h){case 1:case 2:case 3:var N=3;break;default:N=h}var O=h;h=N;try{return P()}finally{h=O}},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 O=h;h=P;try{return N()}finally{h=O}},e.unstable_scheduleCallback=function(P,N,O){var U=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?U+O:U):O=U,P){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=O+B,P={id:d++,callback:N,priorityLevel:P,startTime:O,expirationTime:B,sortIndex:-1},O>U?(P.sortIndex=O,t(u,P),n(l)===null&&P===n(u)&&(y?(m(k),k=-1):y=!0,_(S,O-U))):(P.sortIndex=B,t(l,P),x||p||(x=!0,$(E))),P},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(P){var N=h;return function(){var O=h;h=N;try{return P.apply(this,arguments)}finally{h=O}}}})(oy);sy.exports=oy;var fb=sy.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 hb=b,ut=fb;function M(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,Ls={};function zr(e,t){Li(e,t),Li(e+"Capture",t)}function Li(e,t){for(Ls[e]=t,e=0;e<t.length;e++)ay.add(t[e])}var pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Bu=Object.prototype.hasOwnProperty,pb=/^[: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]*$/,Ph={},jh={};function mb(e){return Bu.call(jh,e)?!0:Bu.call(Ph,e)?!1:pb.test(e)?jh[e]=!0:(Ph[e]=!0,!1)}function gb(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 yb(e,t,n,r){if(t===null||typeof t>"u"||gb(e,t,n,r))return!0;
vendor: 5,200 bytes, lines 33-34
33if(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 Xe(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new Xe(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 Xe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new Xe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new Xe(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 Xe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new Xe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new Xe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new Xe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new Xe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Cd=/[\-:]([a-z])/g;function Td(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(Cd,Td);De[t]=new Xe(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(Cd,Td);De[t]=new Xe(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(Cd,Td);De[t]=new Xe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new Xe(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new Xe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new Xe(e,1,!1,e.toLowerCase(),null,!0,!0)});function kd(e,t,n,r){var i=De.hasOwnProperty(t)?De[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(yb(t,n,i,r)&&(n=null),r||i===null?mb(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var bn=hb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,No=Symbol.for("react.element"),ei=Symbol.for("react.portal"),ti=Symbol.for("react.fragment"),Pd=Symbol.for("react.strict_mode"),$u=Symbol.for("react.profiler"),ly=Symbol.for("react.provider"),uy=Symbol.for("react.context"),jd=Symbol.for("react.forward_ref"),Uu=Symbol.for("react.suspense"),Wu=Symbol.for("react.suspense_list"),Nd=Symbol.for("react.memo"),Ln=Symbol.for("react.lazy"),cy=Symbol.for("react.offscreen"),Nh=Symbol.iterator;function rs(e){return e===null||typeof e!="object"?null:(e=Nh&&e[Nh]||e["@@iterator"],typeof e=="function"?e:null)}var me=Object.assign,Hl;function ms(e){if(Hl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Hl=t&&t[1]||""}return` 34`+Hl+e}var Kl=!1;function Gl(e,t){if(!e||Kl)return"";Kl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 3,667 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(` 35`),s=r.stack.split(` 36`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=` 37`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{Kl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ms(e):""}function vb(e){switch(e.tag){case 5:return ms(e.type);case 16:return ms("Lazy");case 13:return ms("Suspense");case 19:return ms("SuspenseList");case 0:case 2:case 15:return e=Gl(e.type,!1),e;case 11:return e=Gl(e.type.render,!1),e;case 1:return e=Gl(e.type,!0),e;default:return""}}function Hu(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 ti:return"Fragment";case ei:return"Portal";case $u:return"Profiler";case Pd:return"StrictMode";case Uu:return"Suspense";case Wu: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 jd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Nd:return t=e.displayName||null,t!==null?t:Hu(e.type)||"Memo";case Ln:t=e._payload,e=e._init;try{return Hu(e(t))}catch{}}return null}function xb(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 Hu(t);case 8:return t===Pd?"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 nr(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 wb(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 i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ro(e){e._valueTracker||(e._valueTracker=wb(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 ba(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 Ku(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Rh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;
vendor: 4,810 bytes, line 37
37n=nr(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&&kd(e,"checked",t,!1)}function Gu(e,t){hy(e,t);var n=nr(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,nr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ah(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"||ba(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var gs=Array.isArray;function yi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+nr(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Yu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return me({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Mh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(M(92));if(gs(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:nr(n)}}function py(e,t){var n=nr(t.value),r=nr(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 Dh(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 Xu(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 Ao,gy=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ao=Ao||document.createElement("div"),Ao.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ao.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Os(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ws={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},bb=["Webkit","ms","Moz","O"];Object.keys(ws).forEach(function(e){bb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ws[t]=ws[e]})});function yy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ws.hasOwnProperty(e)&&ws[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,i=yy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Sb=me({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 qu(e,t){if(t){if(Sb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Ju(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";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 Zu=null;function Rd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ec=null,vi=null,xi=null;function Lh(e){if(e=po(e)){if(typeof ec!="function")throw Error(M(280));var t=e.stateNode;t&&(t=dl(t),ec(e.stateNode,e.type,t))}}function xy(e){vi?xi?xi.push(e):xi=[e]:vi=e}function wy(){if(vi){var e=vi,t=xi;if(xi=vi=null,Lh(e),t)for(e=0;e<t.length;e++)Lh(t[e])}}function by(e,t){return e(t)}function Sy(){}var Ql=!1;function Ey(e,t,n){if(Ql)return e(t,n);Ql=!0;try{return by(e,t,n)}finally{Ql=!1,(vi!==null||xi!==null)&&(Sy(),wy())}}function Is(e,t){var n=e.stateNode;if(n===null)return null;var r=dl(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(M(231,t,typeof n));return n}var tc=!1;if(pn)try{var is={};Object.defineProperty(is,"passive",{get:function(){tc=!0}}),window.addEventListener("test",is,is),window.removeEventListener("test",is,is)}catch{tc=!1}function Eb(e,t,n,r,i,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var bs=!1,Sa=null,Ea=!1,nc=null,Cb={onError:function(e){bs=!0,Sa=e}};function Tb(e,t,n,r,i,s,o,a,l){bs=!1,Sa=null,Eb.apply(Cb,arguments)}function kb(e,t,n,r,i,s,o,a,l){if(Tb.apply(this,arguments),bs){if(bs){var u=Sa;bs=!1,Sa=null}else throw Error(M(198));Ea||(Ea=!0,nc=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 Cy(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 Oh(e){if(Br(e)!==e)throw Error(M(188))}function Pb(e){var t=e.alternate;if(!t){if(t=Br(e),t===null)throw Error(M(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return Oh(i),e;if(s===r)return Oh(i),t;s=s.sibling}throw Error(M(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(M(189))}}if(n.alternate!==r)throw Error(M(190))}if(n.tag!==3)throw Error(M(188));return n.stateNode.current===n?e:t}function Ty(e){return e=Pb(e),e!==null?ky(e):null}function ky(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ky(e);if(t!==null)return t;e=e.sibling}return null}var Py=ut.unstable_scheduleCallback,Ih=ut.unstable_cancelCallback,jb=ut.unstable_shouldYield,Nb=ut.unstable_requestPaint,ve=ut.unstable_now,Rb=ut.unstable_getCurrentPriorityLevel,Ad=ut.unstable_ImmediatePriority,jy=ut.unstable_UserBlockingPriority,Ca=ut.unstable_NormalPriority,Ab=ut.unstable_LowPriority,Ny=ut.unstable_IdlePriority,al=null,Jt=null;function Mb(e){if(Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(al,e,void 0,(e.current.flags&128)===128)}catch{}}var Vt=Math.clz32?Math.clz32:Ob,Db=Math.log,Lb=Math.LN2;function Ob(e){return e>>>=0,e===0?32:31-(Db(e)/Lb|0)|0}var Mo=64,Do=4194304;function ys(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 Ta(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=ys(a):(s&=o,s!==0&&(r=ys(s)))}else o=n&~i,o!==0?r=ys(o):s!==0&&(r=ys(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Vt(t),i=1<<n,r|=e[n],t&=~i;return r}function Ib(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 Vb(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-Vt(s),a=1<<o,l=i[o];l===-1?(!(a&n)||a&r)&&(i[o]=Ib(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function rc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ry(){var e=Mo;return Mo<<=1,!(Mo&4194240)&&(Mo=64),e}function Yl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function fo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Vt(t),e[t]=n}function Fb(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 i=31-Vt(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function Md(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Vt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var ne=0;function Ay(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var My,Dd,Dy,Ly,Oy,ic=!1,Lo=[],Gn=null,Qn=null,Yn=null,Vs=new Map,Fs=new Map,In=[],_b="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 Vh(e,t){switch(e){case"focusin":case"focusout":Gn=null;break;case"dragenter":case"dragleave":Qn=null;break;case"mouseover":case"mouseout":Yn=null;break;case"pointerover":case"pointerout":Vs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fs.delete(t.pointerId)}}function ss(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=po(t),t!==null&&Dd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function zb(e,t,n,r,i){switch(t){case"focusin":return Gn=ss(Gn,e,t,n,r,i),!0;case"dragenter":return Qn=ss(Qn,e,t,n,r,i),!0;case"mouseover":return Yn=ss(Yn,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return Vs.set(s,ss(Vs.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,Fs.set(s,ss(Fs.get(s)||null,e,t,n,r,i)),!0}return!1}function Iy(e){var t=wr(e.target);if(t!==null){var n=Br(t);if(n!==null){if(t=n.tag,t===13){if(t=Cy(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 na(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=sc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);
vendor: 11,786 bytes, line 37
37Zu=r,n.target.dispatchEvent(r),Zu=null}else return t=po(n),t!==null&&Dd(t),e.blockedOn=n,!1;t.shift()}return!0}function Fh(e,t,n){na(e)&&n.delete(t)}function Bb(){ic=!1,Gn!==null&&na(Gn)&&(Gn=null),Qn!==null&&na(Qn)&&(Qn=null),Yn!==null&&na(Yn)&&(Yn=null),Vs.forEach(Fh),Fs.forEach(Fh)}function os(e,t){e.blockedOn===t&&(e.blockedOn=null,ic||(ic=!0,ut.unstable_scheduleCallback(ut.unstable_NormalPriority,Bb)))}function _s(e){function t(i){return os(i,e)}if(0<Lo.length){os(Lo[0],e);for(var n=1;n<Lo.length;n++){var r=Lo[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Gn!==null&&os(Gn,e),Qn!==null&&os(Qn,e),Yn!==null&&os(Yn,e),Vs.forEach(t),Fs.forEach(t),n=0;n<In.length;n++)r=In[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<In.length&&(n=In[0],n.blockedOn===null);)Iy(n),n.blockedOn===null&&In.shift()}var wi=bn.ReactCurrentBatchConfig,ka=!0;function $b(e,t,n,r){var i=ne,s=wi.transition;wi.transition=null;try{ne=1,Ld(e,t,n,r)}finally{ne=i,wi.transition=s}}function Ub(e,t,n,r){var i=ne,s=wi.transition;wi.transition=null;try{ne=4,Ld(e,t,n,r)}finally{ne=i,wi.transition=s}}function Ld(e,t,n,r){if(ka){var i=sc(e,t,n,r);if(i===null)su(e,t,r,Pa,n),Vh(e,r);else if(zb(i,e,t,n,r))r.stopPropagation();else if(Vh(e,r),t&4&&-1<_b.indexOf(e)){for(;i!==null;){var s=po(i);if(s!==null&&My(s),s=sc(e,t,n,r),s===null&&su(e,t,r,Pa,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else su(e,t,r,null,n)}}var Pa=null;function sc(e,t,n,r){if(Pa=null,e=Rd(r),e=wr(e),e!==null)if(t=Br(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Cy(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 Pa=e,null}function Vy(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(Rb()){case Ad:return 1;case jy:return 4;case Ca:case Ab:return 16;case Ny:return 536870912;default:return 16}default:return 16}}var Un=null,Od=null,ra=null;function Fy(){if(ra)return ra;var e,t=Od,n=t.length,r,i="value"in Un?Un.value:Un.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return ra=i.slice(e,1<r?1-r:void 0)}function ia(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 Oo(){return!0}function _h(){return!1}function dt(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Oo:_h,this.isPropagationStopped=_h,this}return me(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=Oo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Oo)},persist:function(){},isPersistent:Oo}),t}var Ki={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Id=dt(Ki),ho=me({},Ki,{view:0,detail:0}),Wb=dt(ho),Xl,ql,as,ll=me({},ho,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vd,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!==as&&(as&&e.type==="mousemove"?(Xl=e.screenX-as.screenX,ql=e.screenY-as.screenY):ql=Xl=0,as=e),Xl)},movementY:function(e){return"movementY"in e?e.movementY:ql}}),zh=dt(ll),Hb=me({},ll,{dataTransfer:0}),Kb=dt(Hb),Gb=me({},ho,{relatedTarget:0}),Jl=dt(Gb),Qb=me({},Ki,{animationName:0,elapsedTime:0,pseudoElement:0}),Yb=dt(Qb),Xb=me({},Ki,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qb=dt(Xb),Jb=me({},Ki,{data:0}),Bh=dt(Jb),Zb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},eS={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"},tS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=tS[e])?!!t[e]:!1}function Vd(){return nS}var rS=me({},ho,{key:function(e){if(e.key){var t=Zb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ia(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?eS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vd,charCode:function(e){return e.type==="keypress"?ia(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ia(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),iS=dt(rS),sS=me({},ll,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$h=dt(sS),oS=me({},ho,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vd}),aS=dt(oS),lS=me({},Ki,{propertyName:0,elapsedTime:0,pseudoElement:0}),uS=dt(lS),cS=me({},ll,{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}),dS=dt(cS),fS=[9,13,27,32],Fd=pn&&"CompositionEvent"in window,Ss=null;pn&&"documentMode"in document&&(Ss=document.documentMode);var hS=pn&&"TextEvent"in window&&!Ss,_y=pn&&(!Fd||Ss&&8<Ss&&11>=Ss),Uh=" ",Wh=!1;function zy(e,t){switch(e){case"keyup":return fS.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 ni=!1;function pS(e,t){switch(e){case"compositionend":return By(t);case"keypress":return t.which!==32?null:(Wh=!0,Uh);case"textInput":return e=t.data,e===Uh&&Wh?null:e;default:return null}}function mS(e,t){if(ni)return e==="compositionend"||!Fd&&zy(e,t)?(e=Fy(),ra=Od=Un=null,ni=!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 gS={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"?!!gS[e.type]:t==="textarea"}function $y(e,t,n,r){xy(r),t=ja(t,"onChange"),0<t.length&&(n=new Id("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Es=null,zs=null;function yS(e){Zy(e,0)}function ul(e){var t=si(e);if(fy(t))return e}function vS(e,t){if(e==="change")return t}var Uy=!1;if(pn){var Zl;if(pn){var eu="oninput"in document;if(!eu){var Kh=document.createElement("div");Kh.setAttribute("oninput","return;"),eu=typeof Kh.oninput=="function"}Zl=eu}else Zl=!1;Uy=Zl&&(!document.documentMode||9<document.documentMode)}function Gh(){Es&&(Es.detachEvent("onpropertychange",Wy),zs=Es=null)}function Wy(e){if(e.propertyName==="value"&&ul(zs)){var t=[];$y(t,zs,e,Rd(e)),Ey(yS,t)}}function xS(e,t,n){e==="focusin"?(Gh(),Es=t,zs=n,Es.attachEvent("onpropertychange",Wy)):e==="focusout"&&Gh()}function wS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ul(zs)}function bS(e,t){if(e==="click")return ul(t)}function SS(e,t){if(e==="input"||e==="change")return ul(t)}function ES(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var zt=typeof Object.is=="function"?Object.is:ES;function Bs(e,t){if(zt(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 i=n[r];if(!Bu.call(t,i)||!zt(e[i],t[i]))return!1}return!0}function Qh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Yh(e,t){var n=Qh(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=Qh(n)}}function Hy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Hy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ky(){for(var e=window,t=ba();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ba(e.document)}return t}function _d(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 CS(e){var t=Ky(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Hy(n.ownerDocument.documentElement,n)){if(r!==null&&_d(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 i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=Yh(n,s);var o=Yh(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var TS=pn&&"documentMode"in document&&11>=document.documentMode,ri=null,oc=null,Cs=null,ac=!1;
vendor: 4,821 bytes, line 37
37function Xh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ac||ri==null||ri!==ba(r)||(r=ri,"selectionStart"in r&&_d(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Cs&&Bs(Cs,r)||(Cs=r,r=ja(oc,"onSelect"),0<r.length&&(t=new Id("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ri)))}function Io(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ii={animationend:Io("Animation","AnimationEnd"),animationiteration:Io("Animation","AnimationIteration"),animationstart:Io("Animation","AnimationStart"),transitionend:Io("Transition","TransitionEnd")},tu={},Gy={};pn&&(Gy=document.createElement("div").style,"AnimationEvent"in window||(delete ii.animationend.animation,delete ii.animationiteration.animation,delete ii.animationstart.animation),"TransitionEvent"in window||delete ii.transitionend.transition);function cl(e){if(tu[e])return tu[e];if(!ii[e])return e;var t=ii[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Gy)return tu[e]=t[n];return e}var Qy=cl("animationend"),Yy=cl("animationiteration"),Xy=cl("animationstart"),qy=cl("transitionend"),Jy=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 ur(e,t){Jy.set(e,t),zr(t,[e])}for(var nu=0;nu<qh.length;nu++){var ru=qh[nu],kS=ru.toLowerCase(),PS=ru[0].toUpperCase()+ru.slice(1);ur(kS,"on"+PS)}ur(Qy,"onAnimationEnd");ur(Yy,"onAnimationIteration");ur(Xy,"onAnimationStart");ur("dblclick","onDoubleClick");ur("focusin","onFocus");ur("focusout","onBlur");ur(qy,"onTransitionEnd");Li("onMouseEnter",["mouseout","mouseover"]);Li("onMouseLeave",["mouseout","mouseover"]);Li("onPointerEnter",["pointerout","pointerover"]);Li("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 vs="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(" "),jS=new Set("cancel close invalid load scroll toggle".split(" ").concat(vs));function Jh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,kb(r,t,void 0,e),e.currentTarget=null}function Zy(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;Jh(i,a,u),s=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;Jh(i,a,u),s=l}}}if(Ea)throw e=nc,Ea=!1,nc=null,e}function ae(e,t){var n=t[fc];n===void 0&&(n=t[fc]=new Set);var r=e+"__bubble";n.has(r)||(ev(t,e,2,!1),n.add(r))}function iu(e,t,n){var r=0;t&&(r|=4),ev(n,e,r,t)}var Vo="_reactListening"+Math.random().toString(36).slice(2);function $s(e){if(!e[Vo]){e[Vo]=!0,ay.forEach(function(n){n!=="selectionchange"&&(jS.has(n)||iu(n,!1,e),iu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Vo]||(t[Vo]=!0,iu("selectionchange",!1,t))}}function ev(e,t,n,r){switch(Vy(t)){case 1:var i=$b;break;case 4:i=Ub;break;default:i=Ld}n=i.bind(null,t,n,e),i=void 0,!tc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function su(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;
vendor: 4,719 bytes, lines 37-38
37if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;a!==null;){if(o=wr(a),o===null)return;if(l=o.tag,l===5||l===6){r=s=o;continue e}a=a.parentNode}}r=r.return}Ey(function(){var u=s,d=Rd(n),f=[];e:{var h=Jy.get(e);if(h!==void 0){var p=Id,x=e;switch(e){case"keypress":if(ia(n)===0)break e;case"keydown":case"keyup":p=iS;break;case"focusin":x="focus",p=Jl;break;case"focusout":x="blur",p=Jl;break;case"beforeblur":case"afterblur":p=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":p=zh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Kb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=aS;break;case Qy:case Yy:case Xy:p=Yb;break;case qy:p=uS;break;case"scroll":p=Wb;break;case"wheel":p=dS;break;case"copy":case"cut":case"paste":p=qb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=$h}var y=(t&4)!==0,w=!y&&e==="scroll",m=y?h!==null?h+"Capture":null:h;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=Is(g,m),S!=null&&y.push(Us(g,S,v)))),w)break;g=g.return}0<y.length&&(h=new p(h,x,null,n,d),f.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==Zu&&(x=n.relatedTarget||n.fromElement)&&(wr(x)||x[mn]))break e;if((p||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,p?(x=n.relatedTarget||n.toElement,p=u,x=x?wr(x):null,x!==null&&(w=Br(x),x!==w||x.tag!==5&&x.tag!==6)&&(x=null)):(p=null,x=u),p!==x)){if(y=zh,S="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(y=$h,S="onPointerLeave",m="onPointerEnter",g="pointer"),w=p==null?h:si(p),v=x==null?h:si(x),h=new y(S,g+"leave",p,n,d),h.target=w,h.relatedTarget=v,S=null,wr(d)===u&&(y=new y(m,g+"enter",x,n,d),y.target=v,y.relatedTarget=w,S=y),w=S,p&&x)t:{for(y=p,m=x,g=0,v=y;v;v=Jr(v))g++;for(v=0,S=m;S;S=Jr(S))v++;for(;0<g-v;)y=Jr(y),g--;for(;0<v-g;)m=Jr(m),v--;for(;g--;){if(y===m||m!==null&&y===m.alternate)break t;y=Jr(y),m=Jr(m)}y=null}else y=null;p!==null&&Zh(f,h,p,y,!1),x!==null&&w!==null&&Zh(f,w,x,y,!0)}}e:{if(h=u?si(u):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var E=vS;else if(Hh(h))if(Uy)E=SS;else{E=wS;var C=xS}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(E=bS);if(E&&(E=E(e,u))){$y(f,E,n,d);break e}C&&C(e,h,u),e==="focusout"&&(C=h._wrapperState)&&C.controlled&&h.type==="number"&&Qu(h,"number",h.value)}switch(C=u?si(u):window,e){case"focusin":(Hh(C)||C.contentEditable==="true")&&(ri=C,oc=u,Cs=null);break;case"focusout":Cs=oc=ri=null;break;case"mousedown":ac=!0;break;case"contextmenu":case"mouseup":case"dragend":ac=!1,Xh(f,n,d);break;case"selectionchange":if(TS)break;case"keydown":case"keyup":Xh(f,n,d)}var T;if(Fd)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else ni?zy(e,n)&&(k="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(k="onCompositionStart");k&&(_y&&n.locale!=="ko"&&(ni||k!=="onCompositionStart"?k==="onCompositionEnd"&&ni&&(T=Fy()):(Un=d,Od="value"in Un?Un.value:Un.textContent,ni=!0)),C=ja(u,k),0<C.length&&(k=new Bh(k,e,null,n,d),f.push({event:k,listeners:C}),T?k.data=T:(T=By(n),T!==null&&(k.data=T)))),(T=hS?pS(e,n):mS(e,n))&&(u=ja(u,"onBeforeInput"),0<u.length&&(d=new Bh("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=T))}Zy(f,t)})}function Us(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ja(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=Is(e,n),s!=null&&r.unshift(Us(e,s,i)),s=Is(e,t),s!=null&&r.push(Us(e,s,i))),e=e.return}return r}function Jr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Zh(e,t,n,r,i){for(var s=t._reactName,o=[];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,i?(l=Is(n,s),l!=null&&o.unshift(Us(n,l,a))):i||(l=Is(n,s),l!=null&&o.push(Us(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var NS=/\r\n?/g,RS=/\u0000|\uFFFD/g;function ep(e){return(typeof e=="string"?e:""+e).replace(NS,` 38`).replace(RS,"")}
vendor: 4,180 bytes, line 38
38function Fo(e,t,n){if(t=ep(t),ep(e)!==t&&n)throw Error(M(425))}function Na(){}var lc=null,uc=null;function cc(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 dc=typeof setTimeout=="function"?setTimeout:void 0,AS=typeof clearTimeout=="function"?clearTimeout:void 0,tp=typeof Promise=="function"?Promise:void 0,MS=typeof queueMicrotask=="function"?queueMicrotask:typeof tp<"u"?function(e){return tp.resolve(null).then(e).catch(DS)}:dc;function DS(e){setTimeout(function(){throw e})}function ou(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),_s(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);_s(t)}function Xn(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 np(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 Gi=Math.random().toString(36).slice(2),Xt="__reactFiber$"+Gi,Ws="__reactProps$"+Gi,mn="__reactContainer$"+Gi,fc="__reactEvents$"+Gi,LS="__reactListeners$"+Gi,OS="__reactHandles$"+Gi;function wr(e){var t=e[Xt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mn]||n[Xt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=np(e);e!==null;){if(n=e[Xt])return n;e=np(e)}return t}e=n,n=e.parentNode}return null}function po(e){return e=e[Xt]||e[mn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function si(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function dl(e){return e[Ws]||null}var hc=[],oi=-1;function cr(e){return{current:e}}function le(e){0>oi||(e.current=hc[oi],hc[oi]=null,oi--)}function ie(e,t){oi++,hc[oi]=e.current,e.current=t}var rr={},Be=cr(rr),et=cr(!1),Lr=rr;function Oi(e,t){var n=e.type.contextTypes;if(!n)return rr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function tt(e){return e=e.childContextTypes,e!=null}function Ra(){le(et),le(Be)}function rp(e,t,n){if(Be.current!==rr)throw Error(M(168));ie(Be,t),ie(et,n)}function tv(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,xb(e)||"Unknown",i));return me({},n,r)}function Aa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rr,Lr=Be.current,ie(Be,e),ie(et,et.current),!0}function ip(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=tv(e,t,Lr),r.__reactInternalMemoizedMergedChildContext=e,le(et),le(Be),ie(Be,e)):le(et),ie(et,n)}var un=null,fl=!1,au=!1;function nv(e){un===null?un=[e]:un.push(e)}function IS(e){fl=!0,nv(e)}function dr(){if(!au&&un!==null){au=!0;var e=0,t=ne;try{var n=un;for(ne=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}un=null,fl=!1}catch(i){throw un!==null&&(un=un.slice(e+1)),Py(Ad,dr),i}finally{ne=t,au=!1}}return null}var ai=[],li=0,Ma=null,Da=0,mt=[],gt=0,Or=null,dn=1,fn="";function yr(e,t){ai[li++]=Da,ai[li++]=Ma,Ma=e,Da=t}function rv(e,t,n){mt[gt++]=dn,mt[gt++]=fn,mt[gt++]=Or,Or=e;var r=dn;e=fn;var i=32-Vt(r)-1;r&=~(1<<i),n+=1;var s=32-Vt(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,dn=1<<32-Vt(t)+i|n<<i|r,fn=s+e}else dn=1<<s|n<<i|r,fn=e}function zd(e){e.return!==null&&(yr(e,1),rv(e,1,0))}function Bd(e){for(;e===Ma;)Ma=ai[--li],ai[li]=null,Da=ai[--li],ai[li]=null;for(;e===Or;)Or=mt[--gt],mt[gt]=null,fn=mt[--gt],mt[gt]=null,dn=mt[--gt],mt[gt]=null}var at=null,ot=null,ce=!1,It=null;function iv(e,t){var n=yt(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 sp(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 15,456 bytes, line 38
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,at=e,ot=Xn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,at=e,ot=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Or!==null?{id:dn,overflow:fn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=yt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,at=e,ot=null,!0):!1;default:return!1}}function pc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function mc(e){if(ce){var t=ot;if(t){var n=t;if(!sp(e,t)){if(pc(e))throw Error(M(418));t=Xn(n.nextSibling);var r=at;t&&sp(e,t)?iv(r,n):(e.flags=e.flags&-4097|2,ce=!1,at=e)}}else{if(pc(e))throw Error(M(418));e.flags=e.flags&-4097|2,ce=!1,at=e}}}function op(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;at=e}function _o(e){if(e!==at)return!1;if(!ce)return op(e),ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!cc(e.type,e.memoizedProps)),t&&(t=ot)){if(pc(e))throw sv(),Error(M(418));for(;t;)iv(e,t),t=Xn(t.nextSibling)}if(op(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ot=Xn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ot=null}}else ot=at?Xn(e.stateNode.nextSibling):null;return!0}function sv(){for(var e=ot;e;)e=Xn(e.nextSibling)}function Ii(){ot=at=null,ce=!1}function $d(e){It===null?It=[e]:It.push(e)}var VS=bn.ReactCurrentBatchConfig;function ls(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(M(309));var r=n.stateNode}if(!r)throw Error(M(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function zo(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ap(e){var t=e._init;return t(e._payload)}function ov(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 i(m,g){return m=er(m,g),m.index=0,m.sibling=null,m}function s(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 o(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,g,v,S){return g===null||g.tag!==6?(g=pu(v,m.mode,S),g.return=m,g):(g=i(g,v),g.return=m,g)}function l(m,g,v,S){var E=v.type;return E===ti?d(m,g,v.props.children,S,v.key):g!==null&&(g.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ln&&ap(E)===g.type)?(S=i(g,v.props),S.ref=ls(m,g,v),S.return=m,S):(S=da(v.type,v.key,v.props,null,m.mode,S),S.ref=ls(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=mu(v,m.mode,S),g.return=m,g):(g=i(g,v.children||[]),g.return=m,g)}function d(m,g,v,S,E){return g===null||g.tag!==7?(g=Mr(v,m.mode,S,E),g.return=m,g):(g=i(g,v),g.return=m,g)}function f(m,g,v){if(typeof g=="string"&&g!==""||typeof g=="number")return g=pu(""+g,m.mode,v),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case No:return v=da(g.type,g.key,g.props,null,m.mode,v),v.ref=ls(m,null,g),v.return=m,v;case ei:return g=mu(g,m.mode,v),g.return=m,g;case Ln:var S=g._init;return f(m,S(g._payload),v)}if(gs(g)||rs(g))return g=Mr(g,m.mode,v,null),g.return=m,g;zo(m,g)}return null}function h(m,g,v,S){var E=g!==null?g.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return E!==null?null:a(m,g,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case No:return v.key===E?l(m,g,v,S):null;case ei:return v.key===E?u(m,g,v,S):null;case Ln:return E=v._init,h(m,g,E(v._payload),S)}if(gs(v)||rs(v))return E!==null?null:d(m,g,v,S,null);zo(m,v)}return null}function p(m,g,v,S,E){if(typeof S=="string"&&S!==""||typeof S=="number")return m=m.get(v)||null,a(g,m,""+S,E);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case No:return m=m.get(S.key===null?v:S.key)||null,l(g,m,S,E);case ei:return m=m.get(S.key===null?v:S.key)||null,u(g,m,S,E);case Ln:var C=S._init;return p(m,g,v,C(S._payload),E)}if(gs(S)||rs(S))return m=m.get(v)||null,d(g,m,S,E,null);zo(g,S)}return null}function x(m,g,v,S){for(var E=null,C=null,T=g,k=g=0,R=null;T!==null&&k<v.length;k++){T.index>k?(R=T,T=null):R=T.sibling;var A=h(m,T,v[k],S);if(A===null){T===null&&(T=R);break}e&&T&&A.alternate===null&&t(m,T),g=s(A,g,k),C===null?E=A:C.sibling=A,C=A,T=R}if(k===v.length)return n(m,T),ce&&yr(m,k),E;if(T===null){for(;k<v.length;k++)T=f(m,v[k],S),T!==null&&(g=s(T,g,k),C===null?E=T:C.sibling=T,C=T);return ce&&yr(m,k),E}for(T=r(m,T);k<v.length;k++)R=p(T,m,k,v[k],S),R!==null&&(e&&R.alternate!==null&&T.delete(R.key===null?k:R.key),g=s(R,g,k),C===null?E=R:C.sibling=R,C=R);return e&&T.forEach(function(z){return t(m,z)}),ce&&yr(m,k),E}function y(m,g,v,S){var E=rs(v);if(typeof E!="function")throw Error(M(150));if(v=E.call(v),v==null)throw Error(M(151));for(var C=E=null,T=g,k=g=0,R=null,A=v.next();T!==null&&!A.done;k++,A=v.next()){T.index>k?(R=T,T=null):R=T.sibling;var z=h(m,T,A.value,S);if(z===null){T===null&&(T=R);break}e&&T&&z.alternate===null&&t(m,T),g=s(z,g,k),C===null?E=z:C.sibling=z,C=z,T=R}if(A.done)return n(m,T),ce&&yr(m,k),E;if(T===null){for(;!A.done;k++,A=v.next())A=f(m,A.value,S),A!==null&&(g=s(A,g,k),C===null?E=A:C.sibling=A,C=A);return ce&&yr(m,k),E}for(T=r(m,T);!A.done;k++,A=v.next())A=p(T,m,k,A.value,S),A!==null&&(e&&A.alternate!==null&&T.delete(A.key===null?k:A.key),g=s(A,g,k),C===null?E=A:C.sibling=A,C=A);return e&&T.forEach(function(I){return t(m,I)}),ce&&yr(m,k),E}function w(m,g,v,S){if(typeof v=="object"&&v!==null&&v.type===ti&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case No:e:{for(var E=v.key,C=g;C!==null;){if(C.key===E){if(E=v.type,E===ti){if(C.tag===7){n(m,C.sibling),g=i(C,v.props.children),g.return=m,m=g;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ln&&ap(E)===C.type){n(m,C.sibling),g=i(C,v.props),g.ref=ls(m,C,v),g.return=m,m=g;break e}n(m,C);break}else t(m,C);C=C.sibling}v.type===ti?(g=Mr(v.props.children,m.mode,S,v.key),g.return=m,m=g):(S=da(v.type,v.key,v.props,null,m.mode,S),S.ref=ls(m,g,v),S.return=m,m=S)}return o(m);case ei:e:{for(C=v.key;g!==null;){if(g.key===C)if(g.tag===4&&g.stateNode.containerInfo===v.containerInfo&&g.stateNode.implementation===v.implementation){n(m,g.sibling),g=i(g,v.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=mu(v,m.mode,S),g.return=m,m=g}return o(m);case Ln:return C=v._init,w(m,g,C(v._payload),S)}if(gs(v))return x(m,g,v,S);if(rs(v))return y(m,g,v,S);zo(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,g!==null&&g.tag===6?(n(m,g.sibling),g=i(g,v),g.return=m,m=g):(n(m,g),g=pu(v,m.mode,S),g.return=m,m=g),o(m)):n(m,g)}return w}var Vi=ov(!0),av=ov(!1),La=cr(null),Oa=null,ui=null,Ud=null;function Wd(){Ud=ui=Oa=null}function Hd(e){var t=La.current;le(La),e._currentValue=t}function gc(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 bi(e,t){Oa=e,Ud=ui=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ze=!0),e.firstContext=null)}function St(e){var t=e._currentValue;if(Ud!==e)if(e={context:e,memoizedValue:t,next:null},ui===null){if(Oa===null)throw Error(M(308));ui=e,Oa.dependencies={lanes:0,firstContext:e}}else ui=ui.next=e;return t}var br=null;function Kd(e){br===null?br=[e]:br.push(e)}function lv(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Kd(t)):(n.next=i.next,i.next=n),t.interleaved=n,gn(e,r)}function gn(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 On=!1;function Gd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function uv(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 hn(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,Z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,gn(e,n)}return i=r.interleaved,i===null?(t.next=t,Kd(r)):(t.next=i.next,i.next=t),r.interleaved=t,gn(e,n)}function sa(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,Md(e,n)}}function lp(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ia(e,t,n,r){var i=e.updateQueue;On=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==o&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=l))}if(s!==null){var f=i.baseState;o=0,d=u=l=null,a=s;do{var h=a.lane,p=a.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,y=a;switch(h=t,p=n,y.tag){case 1:if(x=y.payload,typeof x=="function"){f=x.call(p,f,h);break e}f=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=y.payload,h=typeof x=="function"?x.call(p,f,h):x,h==null)break e;f=me({},f,h);break e;case 2:On=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=p,l=f):d=d.next=p,o|=h;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;h=a,a=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(d===null&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);Vr|=o,e.lanes=o,e.memoizedState=f}}function up(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(M(191,i));i.call(r)}}}var mo={},Zt=cr(mo),Hs=cr(mo),Ks=cr(mo);function Sr(e){if(e===mo)throw Error(M(174));return e}function Qd(e,t){switch(ie(Ks,t),ie(Hs,e),ie(Zt,mo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Xu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Xu(t,e)}le(Zt),ie(Zt,t)}function Fi(){le(Zt),le(Hs),le(Ks)}function cv(e){Sr(Ks.current);var t=Sr(Zt.current),n=Xu(t,e.type);t!==n&&(ie(Hs,e),ie(Zt,n))}function Yd(e){Hs.current===e&&(le(Zt),le(Hs))}var fe=cr(0);function Va(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 lu=[];function Xd(){for(var e=0;e<lu.length;e++)lu[e]._workInProgressVersionPrimary=null;lu.length=0}var oa=bn.ReactCurrentDispatcher,uu=bn.ReactCurrentBatchConfig,Ir=0,pe=null,Te=null,je=null,Fa=!1,Ts=!1,Gs=0,FS=0;function Ie(){throw Error(M(321))}function qd(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!zt(e[n],t[n]))return!1;return!0}function Jd(e,t,n,r,i,s){if(Ir=s,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=e===null||e.memoizedState===null?$S:US,e=n(r,i),Ts){s=0;do{if(Ts=!1,Gs=0,25<=s)throw Error(M(301));s+=1,je=Te=null,t.updateQueue=null,oa.current=WS,e=n(r,i)}while(Ts)}if(oa.current=_a,t=Te!==null&&Te.next!==null,Ir=0,je=Te=pe=null,Fa=!1,t)throw Error(M(300));return e}function Zd(){var e=Gs!==0;return Gs=0,e}function Ht(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return je===null?pe.memoizedState=je=e:je=je.next=e,je}function Et(){if(Te===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=Te.next;var t=je===null?pe.memoizedState:je.next;if(t!==null)je=t,Te=e;else{if(e===null)throw Error(M(310));Te=e,e={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},je===null?pe.memoizedState=je=e:je=je.next=e}return je}function Qs(e,t){return typeof t=="function"?t(e):t}function cu(e){var t=Et(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=Te,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,l=null,u=s;do{var d=u.lane;if((Ir&d)===d)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 f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=f,o=r):l=l.next=f,pe.lanes|=d,Vr|=d}u=u.next}while(u!==null&&u!==s);l===null?o=r:l.next=a,zt(r,t.memoizedState)||(Ze=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,pe.lanes|=s,Vr|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function du(e){var t=Et(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);zt(s,t.memoizedState)||(Ze=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function dv(){}function fv(e,t){var n=pe,r=Et(),i=t(),s=!zt(r.memoizedState,i);if(s&&(r.memoizedState=i,Ze=!0),r=r.queue,ef(mv.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||je!==null&&je.memoizedState.tag&1){if(n.flags|=2048,Ys(9,pv.bind(null,n,r,i,t),void 0,null),Ne===null)throw Error(M(349));Ir&30||hv(n,t,i)}return i}function hv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function pv(e,t,n,r){t.value=n,t.getSnapshot=r,gv(t)&&yv(e)}
vendor: 4,515 bytes, line 38
38function mv(e,t,n){return n(function(){gv(t)&&yv(e)})}function gv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!zt(e,n)}catch{return!0}}function yv(e){var t=gn(e,1);t!==null&&Ft(t,e,1,-1)}function cp(e){var t=Ht();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qs,lastRenderedState:e},t.queue=e,e=e.dispatch=BS.bind(null,pe,e),[t.memoizedState,e]}function Ys(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.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 vv(){return Et().memoizedState}function aa(e,t,n,r){var i=Ht();pe.flags|=e,i.memoizedState=Ys(1|t,n,void 0,r===void 0?null:r)}function hl(e,t,n,r){var i=Et();r=r===void 0?null:r;var s=void 0;if(Te!==null){var o=Te.memoizedState;if(s=o.destroy,r!==null&&qd(r,o.deps)){i.memoizedState=Ys(t,n,s,r);return}}pe.flags|=e,i.memoizedState=Ys(1|t,n,s,r)}function dp(e,t){return aa(8390656,8,e,t)}function ef(e,t){return hl(2048,8,e,t)}function xv(e,t){return hl(4,2,e,t)}function wv(e,t){return hl(4,4,e,t)}function bv(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 Sv(e,t,n){return n=n!=null?n.concat([e]):null,hl(4,4,bv.bind(null,t,e),n)}function tf(){}function Ev(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&qd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Cv(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&qd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Tv(e,t,n){return Ir&21?(zt(n,t)||(n=Ry(),pe.lanes|=n,Vr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ze=!0),e.memoizedState=n)}function _S(e,t){var n=ne;ne=n!==0&&4>n?n:4,e(!0);var r=uu.transition;uu.transition={};try{e(!1),t()}finally{ne=n,uu.transition=r}}function kv(){return Et().memoizedState}function zS(e,t,n){var r=Zn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Pv(e))jv(t,n);else if(n=lv(e,t,n,r),n!==null){var i=Qe();Ft(n,e,r,i),Nv(n,t,r)}}function BS(e,t,n){var r=Zn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Pv(e))jv(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,zt(a,o)){var l=t.interleaved;l===null?(i.next=i,Kd(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=lv(e,t,i,r),n!==null&&(i=Qe(),Ft(n,e,r,i),Nv(n,t,r))}}function Pv(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function jv(e,t){Ts=Fa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Nv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Md(e,n)}}var _a={readContext:St,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useInsertionEffect:Ie,useLayoutEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useMutableSource:Ie,useSyncExternalStore:Ie,useId:Ie,unstable_isNewReconciler:!1},$S={readContext:St,useCallback:function(e,t){return Ht().memoizedState=[e,t===void 0?null:t],e},useContext:St,useEffect:dp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,aa(4194308,4,bv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return aa(4194308,4,e,t)},useInsertionEffect:function(e,t){return aa(4,2,e,t)},useMemo:function(e,t){var n=Ht();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ht();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=zS.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=Ht();return e={current:e},t.memoizedState=e},useState:cp,useDebugValue:tf,useDeferredValue:function(e){return Ht().memoizedState=e},useTransition:function(){var e=cp(!1),t=e[0];return e=_S.bind(null,e[1]),Ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,i=Ht();if(ce){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),Ne===null)throw Error(M(349));Ir&30||hv(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,dp(mv.bind(null,r,s,e),[e]),r.flags|=2048,Ys(9,pv.b
vendor: 5,512 bytes, lines 38-40
38ind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Ht(),t=Ne.identifierPrefix;if(ce){var n=fn,r=dn;n=(r&~(1<<32-Vt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gs++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=FS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},US={readContext:St,useCallback:Ev,useContext:St,useEffect:ef,useImperativeHandle:Sv,useInsertionEffect:xv,useLayoutEffect:wv,useMemo:Cv,useReducer:cu,useRef:vv,useState:function(){return cu(Qs)},useDebugValue:tf,useDeferredValue:function(e){var t=Et();return Tv(t,Te.memoizedState,e)},useTransition:function(){var e=cu(Qs)[0],t=Et().memoizedState;return[e,t]},useMutableSource:dv,useSyncExternalStore:fv,useId:kv,unstable_isNewReconciler:!1},WS={readContext:St,useCallback:Ev,useContext:St,useEffect:ef,useImperativeHandle:Sv,useInsertionEffect:xv,useLayoutEffect:wv,useMemo:Cv,useReducer:du,useRef:vv,useState:function(){return du(Qs)},useDebugValue:tf,useDeferredValue:function(e){var t=Et();return Te===null?t.memoizedState=e:Tv(t,Te.memoizedState,e)},useTransition:function(){var e=du(Qs)[0],t=Et().memoizedState;return[e,t]},useMutableSource:dv,useSyncExternalStore:fv,useId:kv,unstable_isNewReconciler:!1};function At(e,t){if(e&&e.defaultProps){t=me({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function yc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:me({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var pl={isMounted:function(e){return(e=e._reactInternals)?Br(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Qe(),i=Zn(e),s=hn(r,i);s.payload=t,n!=null&&(s.callback=n),t=qn(e,s,i),t!==null&&(Ft(t,e,i,r),sa(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Qe(),i=Zn(e),s=hn(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=qn(e,s,i),t!==null&&(Ft(t,e,i,r),sa(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Qe(),r=Zn(e),i=hn(n,r);i.tag=2,t!=null&&(i.callback=t),t=qn(e,i,r),t!==null&&(Ft(t,e,r,n),sa(t,e,r))}};function fp(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!Bs(n,r)||!Bs(i,s):!0}function Rv(e,t,n){var r=!1,i=rr,s=t.contextType;return typeof s=="object"&&s!==null?s=St(s):(i=tt(t)?Lr:Be.current,r=t.contextTypes,s=(r=r!=null)?Oi(e,i):rr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=pl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function hp(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&&pl.enqueueReplaceState(t,t.state,null)}function vc(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Gd(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=St(s):(s=tt(t)?Lr:Be.current,i.context=Oi(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(yc(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&pl.enqueueReplaceState(i,i.state,null),Ia(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function _i(e,t){try{var n="",r=t;do n+=vb(r),r=r.return;while(r);var i=n}catch(s){i=` 39Error generating stack: `+s.message+` 40`+s.stack}return{value:e,source:t,stack:i,digest:null}}function fu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function xc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var HS=typeof WeakMap=="function"?WeakMap:Map;function Av(e,t,n){n=hn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ba||(Ba=!0,Nc=r),xc(e,t)},n}function Mv(e,t,n){n=hn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){xc(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){xc(e,t),typeof r!="function"&&(Jn===null?Jn=new Set([this]):Jn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function pp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new HS;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=sE.bind(null,e,t,n),t.then(e,e))}function mp(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 gp(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,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=hn(-1,1),t.tag=2,qn(n,t,1))),n.lanes|=1),e)}var KS=bn.ReactCurrentOwner,Ze=!1;function Ue(e,t,n,r){t.child=e===null?av(t,null,n,r):Vi(t,e.child,n,r)}function yp(e,t,n,r,i){n=n.render;var s=t.ref;return bi(t,i),r=Jd(e,t,n,r,s,i),n=Zd(),e!==null&&!Ze?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,yn(e,t,i)):(ce&&n&&zd(t),t.flags|=1,Ue(e,t,r,i
vendor: 9,531 bytes, line 40
40),t.child)}function vp(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!cf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Dv(e,t,s,r,i)):(e=da(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:Bs,n(o,r)&&e.ref===t.ref)return yn(e,t,i)}return t.flags|=1,e=er(s,r),e.ref=t.ref,e.return=t,t.child=e}function Dv(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(Bs(s,r)&&e.ref===t.ref)if(Ze=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(Ze=!0);else return t.lanes=e.lanes,yn(e,t,i)}return wc(e,t,n,r,i)}function Lv(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ie(di,it),it|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ie(di,it),it|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,ie(di,it),it|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,ie(di,it),it|=r;return Ue(e,t,i,n),t.child}function Ov(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function wc(e,t,n,r,i){var s=tt(n)?Lr:Be.current;return s=Oi(t,s),bi(t,i),n=Jd(e,t,n,r,s,i),r=Zd(),e!==null&&!Ze?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,yn(e,t,i)):(ce&&r&&zd(t),t.flags|=1,Ue(e,t,n,i),t.child)}function xp(e,t,n,r,i){if(tt(n)){var s=!0;Aa(t)}else s=!1;if(bi(t,i),t.stateNode===null)la(e,t),Rv(t,n,r),vc(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=St(u):(u=tt(n)?Lr:Be.current,u=Oi(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&hp(t,o,r,u),On=!1;var h=t.memoizedState;o.state=h,Ia(t,r,o,i),l=t.memoizedState,a!==r||h!==l||et.current||On?(typeof d=="function"&&(yc(t,n,d,r),l=t.memoizedState),(a=On||fp(t,n,a,r,h,l,u))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,uv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:At(t.type,a),o.props=u,f=t.pendingProps,h=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=St(l):(l=tt(n)?Lr:Be.current,l=Oi(t,l));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==f||h!==l)&&hp(t,o,r,l),On=!1,h=t.memoizedState,o.state=h,Ia(t,r,o,i);var x=t.memoizedState;a!==f||h!==x||et.current||On?(typeof p=="function"&&(yc(t,n,p,r),x=t.memoizedState),(u=On||fp(t,n,u,r,h,x,l)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,x,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,x,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),o.props=r,o.state=x,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return bc(e,t,n,r,s,i)}function bc(e,t,n,r,i,s){Ov(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&ip(t,n,!1),yn(e,t,s);r=t.stateNode,KS.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Vi(t,e.child,null,s),t.child=Vi(t,null,a,s)):Ue(e,t,a,s),t.memoizedState=r.state,i&&ip(t,n,!0),t.child}function Iv(e){var t=e.stateNode;t.pendingContext?rp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rp(e,t.context,!1),Qd(e,t.containerInfo)}function wp(e,t,n,r,i){return Ii(),$d(i),t.flags|=256,Ue(e,t,n,r),t.child}var Sc={dehydrated:null,treeContext:null,retryLane:0};function Ec(e){return{baseLanes:e,cachePool:null,transitions:null}}function Vv(e,t,n){var r=t.pendingProps,i=fe.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ie(fe,i&1),e===null)return mc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=yl(o,r,0,null),e=Mr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ec(n),t.memoizedState=Sc,e):nf(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return GS(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=er(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=er(a,s):(s=Mr(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?Ec(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=Sc,r}return s=e.child,e=s.sibling,r=er(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function nf(e,t){return t=yl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Bo(e,t,n,r){return r!==null&&$d(r),Vi(t,e.child,null,n),e=nf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function GS(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=fu(Error(M(422))),Bo(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=yl({mode:"visible",children:r.children},i,0,null),s=Mr(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Vi(t,e.child,null,o),t.child.memoizedState=Ec(o),t.memoizedState=Sc,s);if(!(t.mode&1))return Bo(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(M(419)),r=fu(s,r,void 0),Bo(e,t,o,r)}if(a=(o&e.childLanes)!==0,Ze||a){if(r=Ne,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,gn(e,i),Ft(r,e,i,-1))}return uf(),r=fu(Error(M(421))),Bo(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=oE.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,ot=Xn(i.nextSibling),at=t,ce=!0,It=null,e!==null&&(mt[gt++]=dn,mt[gt++]=fn,mt[gt++]=Or,dn=e.id,fn=e.overflow,Or=t),t=nf(t,r.children),t.flags|=4096,t)}function bp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),gc(e.return,t,n)}function hu(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function Fv(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Ue(e,t,r.children,n),r=fe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&bp(e,n,t);else if(e.tag===19)bp(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ie(fe,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Va(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),hu(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Va(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}hu(t,!0,n,null,s);break;case"together":hu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function la(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function yn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Vr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));
vendor: 4,354 bytes, line 40
40if(t.child!==null){for(e=t.child,n=er(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=er(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function QS(e,t,n){switch(t.tag){case 3:Iv(t),Ii();break;case 5:cv(t);break;case 1:tt(t.type)&&Aa(t);break;case 4:Qd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ie(La,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?Vv(e,t,n):(ie(fe,fe.current&1),e=yn(e,t,n),e!==null?e.sibling:null);ie(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Fv(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ie(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,Lv(e,t,n)}return yn(e,t,n)}var _v,Cc,zv,Bv;_v=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}};Cc=function(){};zv=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Sr(Zt.current);var s=null;switch(n){case"input":i=Ku(e,i),r=Ku(e,r),s=[];break;case"select":i=me({},i,{value:void 0}),r=me({},r,{value:void 0}),s=[];break;case"textarea":i=Yu(e,i),r=Yu(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Na)}qu(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ls.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ls.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ae("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Bv=function(e,t,n,r){n!==r&&(t.flags|=4)};function us(e,t){if(!ce)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 i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function YS(e,t,n){var r=t.pendingProps;switch(Bd(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)&&Ra(),Ve(t),null;case 3:return r=t.stateNode,Fi(),le(et),le(Be),Xd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(_o(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,It!==null&&(Mc(It),It=null))),Cc(e,t),Ve(t),null;case 5:Yd(t);var i=Sr(Ks.current);if(n=t.type,e!==null&&t.stateNode!=null)zv(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return Ve(t),null}if(e=Sr(Zt.current),_o(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Xt]=t,r[Ws]=s,e=(t.mode&1)!==0,n){case"dialog":ae("cancel",r),ae("close",r);break;case"iframe":case"object":case"embed":ae("load",r);break;case"video":case"audio":for(i=0;
vendor: 29,256 bytes, line 40
40i<vs.length;i++)ae(vs[i],r);break;case"source":ae("error",r);break;case"img":case"image":case"link":ae("error",r),ae("load",r);break;case"details":ae("toggle",r);break;case"input":Rh(r,s),ae("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},ae("invalid",r);break;case"textarea":Mh(r,s),ae("invalid",r)}qu(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Fo(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Fo(r.textContent,a,e),i=["children",""+a]):Ls.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&ae("scroll",r)}switch(n){case"input":Ro(r),Ah(r,s,!0);break;case"textarea":Ro(r),Dh(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Na)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=my(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Xt]=t,e[Ws]=r,_v(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ju(n,r),n){case"dialog":ae("cancel",e),ae("close",e),i=r;break;case"iframe":case"object":case"embed":ae("load",e),i=r;break;case"video":case"audio":for(i=0;i<vs.length;i++)ae(vs[i],e);i=r;break;case"source":ae("error",e),i=r;break;case"img":case"image":case"link":ae("error",e),ae("load",e),i=r;break;case"details":ae("toggle",e),i=r;break;case"input":Rh(e,r),i=Ku(e,r),ae("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=me({},r,{value:void 0}),ae("invalid",e);break;case"textarea":Mh(e,r),i=Yu(e,r),ae("invalid",e);break;default:i=r}qu(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?vy(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&gy(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Os(e,l):typeof l=="number"&&Os(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Ls.hasOwnProperty(s)?l!=null&&s==="onScroll"&&ae("scroll",e):l!=null&&kd(e,s,l,o))}switch(n){case"input":Ro(e),Ah(e,r,!1);break;case"textarea":Ro(e),Dh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+nr(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?yi(e,!!r.multiple,s,!1):r.defaultValue!=null&&yi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Na)}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)Bv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=Sr(Ks.current),Sr(Zt.current),_o(t)){if(r=t.stateNode,n=t.memoizedProps,r[Xt]=t,(s=r.nodeValue!==n)&&(e=at,e!==null))switch(e.tag){case 3:Fo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Fo(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Xt]=t,t.stateNode=r}return Ve(t),null;case 13:if(le(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ce&&ot!==null&&t.mode&1&&!(t.flags&128))sv(),Ii(),t.flags|=98560,s=!1;else if(s=_o(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(M(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(M(317));s[Xt]=t}else Ii(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ve(t),s=!1}else It!==null&&(Mc(It),It=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||fe.current&1?Pe===0&&(Pe=3):uf())),t.updateQueue!==null&&(t.flags|=4),Ve(t),null);case 4:return Fi(),Cc(e,t),e===null&&$s(t.stateNode.containerInfo),Ve(t),null;case 10:return Hd(t.type._context),Ve(t),null;case 17:return tt(t.type)&&Ra(),Ve(t),null;case 19:if(le(fe),s=t.memoizedState,s===null)return Ve(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)us(s,!1);else{if(Pe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Va(e),o!==null){for(t.flags|=128,us(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ie(fe,fe.current&1|2),t.child}e=e.sibling}s.tail!==null&&ve()>zi&&(t.flags|=128,r=!0,us(s,!1),t.lanes=4194304)}else{if(!r)if(e=Va(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),us(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!ce)return Ve(t),null}else 2*ve()-s.renderingStartTime>zi&&n!==1073741824&&(t.flags|=128,r=!0,us(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ve(),t.sibling=null,n=fe.current,ie(fe,r?n&1|2:n&1),t):(Ve(t),null);case 22:case 23:return lf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?it&1073741824&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function XS(e,t){switch(Bd(t),t.tag){case 1:return tt(t.type)&&Ra(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Fi(),le(et),le(Be),Xd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Yd(t),null;case 13:if(le(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Ii()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return le(fe),null;case 4:return Fi(),null;case 10:return Hd(t.type._context),null;case 22:case 23:return lf(),null;case 24:return null;default:return null}}var $o=!1,_e=!1,qS=typeof WeakSet=="function"?WeakSet:Set,V=null;function ci(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ye(e,t,r)}else n.current=null}function Tc(e,t,n){try{n()}catch(r){ye(e,t,r)}}var Sp=!1;function JS(e,t){if(lc=ka,e=Ky(),_d(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 i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=o+i),f!==s||r!==0&&f.nodeType!==3||(l=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++u===i&&(a=o),h===s&&++d===r&&(l=o),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(uc={focusedElem:e,selectionRange:n},ka=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;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:At(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(M(163))}}catch(S){ye(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return x=Sp,Sp=!1,x}function ks(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&Tc(t,n,s)}i=i.next}while(i!==r)}}function ml(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 kc(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 $v(e){var t=e.alternate;t!==null&&(e.alternate=null,$v(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xt],delete t[Ws],delete t[fc],delete t[LS],delete t[OS])),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 Uv(e){return e.tag===5||e.tag===3||e.tag===4}function Ep(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Uv(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 Pc(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=Na));else if(r!==4&&(e=e.child,e!==null))for(Pc(e,t,n),e=e.sibling;e!==null;)Pc(e,t,n),e=e.sibling}function jc(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(jc(e,t,n),e=e.sibling;e!==null;)jc(e,t,n),e=e.sibling}var Re=null,Ot=!1;function jn(e,t,n){for(n=n.child;n!==null;)Wv(e,t,n),n=n.sibling}function Wv(e,t,n){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(al,n)}catch{}switch(n.tag){case 5:_e||ci(n,t);case 6:var r=Re,i=Ot;Re=null,jn(e,t,n),Re=r,Ot=i,Re!==null&&(Ot?(e=Re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Re.removeChild(n.stateNode));break;case 18:Re!==null&&(Ot?(e=Re,n=n.stateNode,e.nodeType===8?ou(e.parentNode,n):e.nodeType===1&&ou(e,n),_s(e)):ou(Re,n.stateNode));break;case 4:r=Re,i=Ot,Re=n.stateNode.containerInfo,Ot=!0,jn(e,t,n),Re=r,Ot=i;break;case 0:case 11:case 14:case 15:if(!_e&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Tc(n,t,o),i=i.next}while(i!==r)}jn(e,t,n);break;case 1:if(!_e&&(ci(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ye(n,t,a)}jn(e,t,n);break;case 21:jn(e,t,n);break;case 22:n.mode&1?(_e=(r=_e)||n.memoizedState!==null,jn(e,t,n),_e=r):jn(e,t,n);break;default:jn(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 qS),t.forEach(function(r){var i=aE.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Re=a.stateNode,Ot=!1;break e;case 3:Re=a.stateNode.containerInfo,Ot=!0;break e;case 4:Re=a.stateNode.containerInfo,Ot=!0;break e}a=a.return}if(Re===null)throw Error(M(160));Wv(s,o,i),Re=null,Ot=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ye(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Hv(t,e),t=t.sibling}function Hv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Pt(t,e),Wt(e),r&4){try{ks(3,e,e.return),ml(3,e)}catch(y){ye(e,e.return,y)}try{ks(5,e,e.return)}catch(y){ye(e,e.return,y)}}break;case 1:Pt(t,e),Wt(e),r&512&&n!==null&&ci(n,n.return);break;case 5:if(Pt(t,e),Wt(e),r&512&&n!==null&&ci(n,n.return),e.flags&32){var i=e.stateNode;try{Os(i,"")}catch(y){ye(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&hy(i,s),Ju(a,o);var u=Ju(a,s);for(o=0;o<l.length;o+=2){var d=l[o],f=l[o+1];d==="style"?vy(i,f):d==="dangerouslySetInnerHTML"?gy(i,f):d==="children"?Os(i,f):kd(i,d,f,u)}switch(a){case"input":Gu(i,s);break;case"textarea":py(i,s);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?yi(i,!!s.multiple,p,!1):h!==!!s.multiple&&(s.defaultValue!=null?yi(i,!!s.multiple,s.defaultValue,!0):yi(i,!!s.multiple,s.multiple?[]:"",!1))}i[Ws]=s}catch(y){ye(e,e.return,y)}}break;case 6:if(Pt(t,e),Wt(e),r&4){if(e.stateNode===null)throw Error(M(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(y){ye(e,e.return,y)}}break;case 3:if(Pt(t,e),Wt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{_s(t.containerInfo)}catch(y){ye(e,e.return,y)}break;case 4:Pt(t,e),Wt(e);break;case 13:Pt(t,e),Wt(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(of=ve())),r&4&&Cp(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(_e=(u=_e)||d,Pt(t,e),_e=u):Pt(t,e),Wt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(V=e,d=e.child;d!==null;){for(f=V=d;V!==null;){switch(h=V,p=h.child,h.tag){case 0:case 11:case 14:case 15:ks(4,h,h.return);break;case 1:ci(h,h.return);var x=h.stateNode;if(typeof x.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(y){ye(r,n,y)}}break;case 5:ci(h,h.return);break;case 22:if(h.memoizedState!==null){kp(f);continue}}p!==null?(p.return=h,V=p):kp(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{i=f.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=f.stateNode,l=f.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=yy("display",o))}catch(y){ye(e,e.return,y)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(y){ye(e,e.return,y)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Pt(t,e),Wt(e),r&4&&Cp(e);break;case 21:break;default:Pt(t,e),Wt(e)}}function Wt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Uv(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Os(i,""),r.flags&=-33);var s=Ep(e);jc(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=Ep(e);Pc(e,a,o);break;default:throw Error(M(161))}}catch(l){ye(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ZS(e,t,n){V=e,Kv(e)}function Kv(e,t,n){for(var r=(e.mode&1)!==0;V!==null;){var i=V,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||$o;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||_e;a=$o;var u=_e;if($o=o,(_e=l)&&!u)for(V=i;V!==null;)o=V,l=o.child,o.tag===22&&o.memoizedState!==null?Pp(i):l!==null?(l.return=o,V=l):Pp(i);for(;s!==null;)V=s,Kv(s),s=s.sibling;V=i,$o=a,_e=u}Tp(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,V=s):Tp(e)}}function Tp(e){for(;V!==null;){var t=V;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:_e||ml(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!_e)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:At(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&up(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}up(t,o,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 d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&_s(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}_e||t.flags&512&&kc(t)}catch(h){ye(t,t.return,h)}}if(t===e){V=null;break}if(n=t.sibling,n!==null){n.return=t.return,V=n;break}V=t.return}}function kp(e){for(;V!==null;){var t=V;if(t===e){V=null;break}var n=t.sibling;if(n!==null){n.return=t.return,V=n;break}V=t.return}}function Pp(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ml(4,t)}catch(l){ye(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ye(t,i,l)}}var s=t.return;try{kc(t)}catch(l){ye(t,s,l)}break;case 5:var o=t.return;try{kc(t)}catch(l){ye(t,o,l)}}}catch(l){ye(t,t.return,l)}if(t===e){V=null;break}var a=t.sibling;if(a!==null){a.return=t.return,V=a;break}V=t.return}}var eE=Math.ceil,za=bn.ReactCurrentDispatcher,rf=bn.ReactCurrentOwner,xt=bn.ReactCurrentBatchConfig,Z=0,Ne=null,be=null,Me=0,it=0,di=cr(0),Pe=0,Xs=null,Vr=0,gl=0,sf=0,Ps=null,Je=null,of=0,zi=1/0,ln=null,Ba=!1,Nc=null,Jn=null,Uo=!1,Wn=null,$a=0,js=0,Rc=null,ua=-1,ca=0;function Qe(){return Z&6?ve():ua!==-1?ua:ua=ve()}function Zn(e){return e.mode&1?Z&2&&Me!==0?Me&-Me:VS.transition!==null?(ca===0&&(ca=Ry()),ca):(e=ne,e!==0||(e=window.event,e=e===void 0?16:Vy(e.type)),e):1}function Ft(e,t,n,r){if(50<js)throw js=0,Rc=null,Error(M(185));fo(e,n,r),(!(Z&2)||e!==Ne)&&(e===Ne&&(!(Z&2)&&(gl|=n),Pe===4&&Vn(e,Me)),nt(e,r),n===1&&Z===0&&!(t.mode&1)&&(zi=ve()+500,fl&&dr()))}function nt(e,t){var n=e.callbackNode;Vb(e,t);var r=Ta(e,e===Ne?Me:0);if(r===0)n!==null&&Ih(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ih(n),t===1)e.tag===0?IS(jp.bind(null,e)):nv(jp.bind(null,e)),MS(function(){!(Z&6)&&dr()}),n=null;else{switch(Ay(r)){case 1:n=Ad;break;case 4:n=jy;break;case 16:n=Ca;break;case 536870912:n=Ny;break;default:n=Ca}n=e0(n,Gv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Gv(e,t){if(ua=-1,ca=0,Z&6)throw Error(M(327));var n=e.callbackNode;if(Si()&&e.callbackNode!==n)return null;var r=Ta(e,e===Ne?Me:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ua(e,r);else{t=r;var i=Z;Z|=2;var s=Yv();(Ne!==e||Me!==t)&&(ln=null,zi=ve()+500,Ar(e,t));do try{rE();break}catch(a){Qv(e,a)}while(!0);Wd(),za.current=s,Z=i,be!==null?t=0:(Ne=null,Me=0,t=Pe)}if(t!==0){if(t===2&&(i=rc(e),i!==0&&(r=i,t=Ac(e,i))),t===1)throw n=Xs,Ar(e,0),Vn(e,r),nt(e,ve()),n;if(t===6)Vn(e,r);else{if(i=e.current.alternate,!(r&30)&&!tE(i)&&(t=Ua(e,r),t===2&&(s=rc(e),s!==0&&(r=s,t=Ac(e,s))),t===1))throw n=Xs,Ar(e,0),Vn(e,r),nt(e,ve()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:vr(e,Je,ln);break;case 3:if(Vn(e,r),(r&130023424)===r&&(t=of+500-ve(),10<t)){if(Ta(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Qe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=dc(vr.bind(null,e,Je,ln),t);break}vr(e,Je,ln);break;case 4:if(Vn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-Vt(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*eE(r/1960))-r,10<r){e.timeoutHandle=dc(vr.bind(null,e,Je,ln),r);break}vr(e,Je,ln);break;case 5:vr(e,Je,ln);break;default:throw Error(M(329))}}}return nt(e,ve()),e.callbackNode===n?Gv.bind(null,e):null}function Ac(e,t){var n=Ps;return e.current.memoizedState.isDehydrated&&(Ar(e,t).flags|=256),e=Ua(e,t),e!==2&&(t=Je,Je=n,t!==null&&Mc(t)),e}function Mc(e){Je===null?Je=e:Je.push.apply(Je,e)}function tE(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 i=n[r],s=i.getSnapshot;i=i.value;try{if(!zt(s(),i))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 Vn(e,t){for(t&=~sf,t&=~gl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vt(t),r=1<<n;e[n]=-1,t&=~r}}function jp(e){if(Z&6)throw Error(M(327));Si();var t=Ta(e,0);if(!(t&1))return nt(e,ve()),null;var n=Ua(e,t);if(e.tag!==0&&n===2){var r=rc(e);r!==0&&(t=r,n=Ac(e,r))}if(n===1)throw n=Xs,Ar(e,0),Vn(e,t),nt(e,ve()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,vr(e,Je,ln),nt(e,ve()),null}function af(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(zi=ve()+500,fl&&dr())}}function Fr(e){Wn!==null&&Wn.tag===0&&!(Z&6)&&Si();var t=Z;Z|=1;var n=xt.transition,r=ne;try{if(xt.transition=null,ne=1,e)return e()}finally{ne=r,xt.transition=n,Z=t,!(Z&6)&&dr()}}function lf(){it=di.current,le(di)}function Ar(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,AS(n)),be!==null)for(n=be.return;n!==null;){var r=n;switch(Bd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ra();break;case 3:Fi(),le(et),le(Be),Xd();break;case 5:Yd(r);break;case 4:Fi();break;case 13:le(fe);break;case 19:le(fe);break;case 10:Hd(r.type._context);break;case 22:case 23:lf()}n=n.return}if(Ne=e,be=e=er(e.current,null),Me=it=t,Pe=0,Xs=null,sf=gl=Vr=0,Je=Ps=null,br!==null){for(t=0;t<br.length;t++)if(n=br[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}br=null}return e}function Qv(e,t){do{var n=be;try{if(Wd(),oa.current=_a,Fa){for(var r=pe.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Fa=!1}if(Ir=0,je=Te=pe=null,Ts=!1,Gs=0,rf.current=null,n===null||n.return===null){Pe=1,Xs=t,be=null;break}e:{var s=e,o=n.return,a=n,l=t;if(t=Me,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,d=a,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=mp(o);if(p!==null){p.flags&=-257,gp(p,o,a,s,t),p.mode&1&&pp(s,u,t),t=p,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)){pp(s,u,t),uf();break e}l=Error(M(426))}}else if(ce&&a.mode&1){var w=mp(o);if(w!==null){!(w.flags&65536)&&(w.flags|=256),gp(w,o,a,s,t),$d(_i(l,a));break e}}s=l=_i(l,a),Pe!==4&&(Pe=2),Ps===null?Ps=[s]:Ps.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var m=Av(s,l,t);lp(s,m);break e;case 1:a=l;var g=s.type,v=s.stateNode;if(!(s.flags&128)&&(typeof g.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Jn===null||!Jn.has(v)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=Mv(s,a,t);lp(s,S);break e}}s=s.return}while(s!==null)}qv(n)}catch(E){t=E,be===n&&n!==null&&(be=n=n.return);continue}break}while(!0)}function Yv(){var e=za.current;return za.current=_a,e===null?_a:e}function uf(){(Pe===0||Pe===3||Pe===2)&&(Pe=4),Ne===null||!(Vr&268435455)&&!(gl&268435455)||Vn(Ne,Me)}function Ua(e,t){var n=Z;Z|=2;var r=Yv();(Ne!==e||Me!==t)&&(ln=null,Ar(e,t));do try{nE();break}catch(i){Qv(e,i)}while(!0);if(Wd(),Z=n,za.current=r,be!==null)throw Error(M(261));return Ne=null,Me=0,Pe}function nE(){for(;be!==null;)Xv(be)}function rE(){for(;be!==null&&!jb();)Xv(be)}function Xv(e){var t=Zv(e.alternate,e,it);e.memoizedProps=e.pendingProps,t===null?qv(e):be=t,rf.current=null}function qv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=XS(n,t),n!==null){n.flags&=32767,be=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Pe=6,be=null;return}}else if(n=YS(n,t,it),n!==null){be=n;return}if(t=t.sibling,t!==null){be=t;return}be=t=e}while(t!==null);Pe===0&&(Pe=5)}function vr(e,t,n){var r=ne,i=xt.transition;try{xt.transition=null,ne=1,iE(e,t,n,r)}finally{xt.transition=i,ne=r}return null}function iE(e,t,n,r){do Si();while(Wn!==null);if(Z&6)throw Error(M(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(M(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Fb(e,s),e===Ne&&(be=Ne=null,Me=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Uo||(Uo=!0,e0(Ca,function(){return Si(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=xt.transition,xt.transition=null;var o=ne;ne=1;var a=Z;Z|=4,rf.current=null,JS(e,n),Hv(n,e),CS(uc),ka=!!lc,uc=lc=null,e.current=n,ZS(n),Nb(),Z=a,ne=o,xt.transition=s}else e.current=n;if(Uo&&(Uo=!1,Wn=e,$a=i),s=e.pendingLanes,s===0&&(Jn=null),Mb(n.stateNode),nt(e,ve()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Ba)throw Ba=!1,e=Nc,Nc=null,e;return $a&1&&e.tag!==0&&Si(),s=e.pendingLanes,s&1?e===Rc?js++:(js=0,Rc=e):js=0,dr(),null}function Si(){if(Wn!==null){var e=Ay($a),t=xt.transition,n=ne;try{if(xt.transition=null,ne=16>e?16:e,Wn===null)var r=!1;else{if(e=Wn,Wn=null,$a=0,Z&6)throw Error(M(331));var i=Z;for(Z|=4,V=e.current;V!==null;){var s=V,o=s.child;if(V.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(V=u;V!==null;){var d=V;switch(d.tag){case 0:case 11:case 15:ks(8,d,s)}var f=d.child;if(f!==null)f.return=d,V=f;else for(;V!==null;){d=V;var h=d.sibling,p=d.return;if($v(d),d===u){V=null;break}if(h!==null){h.return=p,V=h;break}V=p}}}var x=s.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)}}V=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,V=o;else e:for(;V!==null;){if(s=V,s.flags&2048)switch(s.tag){case 0:case 11:case 15:ks(9,s,s.return)}var m=s.sibling;if(m!==null){m.return=s.return,V=m;break e}V=s.return}}var g=e.current;for(V=g;V!==null;){o=V;var v=o.child;if(o.subtreeFlags&2064&&v!==null)v.return=o,V=v;else e:for(o=g;V!==null;){if(a=V,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:ml(9,a)}}catch(E){ye(a,a.return,E)}if(a===o){V=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,V=S;break e}V=a.return}}if(Z=i,dr(),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(al,e)}catch{}r=!0}return r}finally{ne=n,xt.transition=t}}return!1}function Np(e,t,n){t=_i(n,t),t=Av(e,t,1),e=qn(e,t,1),t=Qe(),e!==null&&(fo(e,1,t),nt(e,t))}function ye(e,t,n){if(e.tag===3)Np(e,e,n);else for(;t!==null;){if(t.tag===3){Np(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Jn===null||!Jn.has(r))){e=_i(n,e),e=Mv(t,e,1),t=qn(t,e,1),e=Qe(),t!==null&&(fo(t,1,e),nt(t,e));break}}t=t.return}}function sE(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Qe(),e.pingedLanes|=e.suspendedLanes&n,Ne===e&&(Me&n)===n&&(Pe===4||Pe===3&&(Me&130023424)===Me&&500>ve()-of?Ar(e,0):sf|=n),nt(e,t)}function Jv(e,t){t===0&&(e.mode&1?(t=Do,Do<<=1,!(Do&130023424)&&(Do=4194304)):t=1);var n=Qe();e=gn(e,t),e!==null&&(fo(e,t,n),nt(e,n))}function oE(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jv(e,n)}function aE(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Jv(e,n)}var Zv;Zv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||et.current)Ze=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ze=!1,QS(e,t,n);Ze=!!(e.flags&131072)}else Ze=!1,ce&&t.flags&1048576&&rv(t,Da,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;la(e,t),e=t.pendingProps;var i=Oi(t,Be.current);bi(t,n),i=Jd(null,t,r,e,i,n);var s=Zd();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,tt(r)?(s=!0,Aa(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Gd(t),i.updater=pl,t.stateNode=i,i._reactInternals=t,vc(t,r,e,n),t=bc(null,t,r,!0,s,n)):(t.tag=0,ce&&s&&zd(t),Ue(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(la(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=uE(r),e=At(r,e),i){case 0:t=wc(null,t,r,e,n);break e;case 1:t=xp(null,t,r,e,n);break e;case 11:t=yp(null,t,r,e,n);break e;case 14:t=vp(null,t,r,At(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:At(r,i),wc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:At(r,i),xp(e,t,r,i,n);case 3:e:{if(Iv(t),e===null)throw Error(M(387));
vendor: 10,364 bytes, line 40
40r=t.pendingProps,s=t.memoizedState,i=s.element,uv(e,t),Ia(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=_i(Error(M(423)),t),t=wp(e,t,r,n,i);break e}else if(r!==i){i=_i(Error(M(424)),t),t=wp(e,t,r,n,i);break e}else for(ot=Xn(t.stateNode.containerInfo.firstChild),at=t,ce=!0,It=null,n=av(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ii(),r===i){t=yn(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return cv(t),e===null&&mc(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,cc(r,i)?o=null:s!==null&&cc(r,s)&&(t.flags|=32),Ov(e,t),Ue(e,t,o,n),t.child;case 6:return e===null&&mc(t),null;case 13:return Vv(e,t,n);case 4:return Qd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Vi(t,null,r,n):Ue(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:At(r,i),yp(e,t,r,i,n);case 7:return Ue(e,t,t.pendingProps,n),t.child;case 8:return Ue(e,t,t.pendingProps.children,n),t.child;case 12:return Ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,ie(La,r._currentValue),r._currentValue=o,s!==null)if(zt(s.value,o)){if(s.children===i.children&&!et.current){t=yn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=hn(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),gc(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(M(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),gc(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Ue(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,bi(t,n),i=St(i),r=r(i),t.flags|=1,Ue(e,t,r,n),t.child;case 14:return r=t.type,i=At(r,t.pendingProps),i=At(r.type,i),vp(e,t,r,i,n);case 15:return Dv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:At(r,i),la(e,t),t.tag=1,tt(r)?(e=!0,Aa(t)):e=!1,bi(t,n),Rv(t,r,i),vc(t,r,i,n),bc(null,t,r,!0,e,n);case 19:return Fv(e,t,n);case 22:return Lv(e,t,n)}throw Error(M(156,t.tag))};function e0(e,t){return Py(e,t)}function lE(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 yt(e,t,n,r){return new lE(e,t,n,r)}function cf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function uE(e){if(typeof e=="function")return cf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===jd)return 11;if(e===Nd)return 14}return 2}function er(e,t){var n=e.alternate;return n===null?(n=yt(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 da(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")cf(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case ti:return Mr(n.children,i,s,t);case Pd:o=8,i|=8;break;case $u:return e=yt(12,n,t,i|2),e.elementType=$u,e.lanes=s,e;case Uu:return e=yt(13,n,t,i),e.elementType=Uu,e.lanes=s,e;case Wu:return e=yt(19,n,t,i),e.elementType=Wu,e.lanes=s,e;case cy:return yl(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ly:o=10;break e;case uy:o=9;break e;case jd:o=11;break e;case Nd:o=14;break e;case Ln:o=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=yt(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Mr(e,t,n,r){return e=yt(7,e,r,t),e.lanes=n,e}function yl(e,t,n,r){return e=yt(22,e,r,t),e.elementType=cy,e.lanes=n,e.stateNode={isHidden:!1},e}function pu(e,t,n){return e=yt(6,e,null,t),e.lanes=n,e}function mu(e,t,n){return t=yt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function cE(e,t,n,r,i){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=Yl(0),this.expirationTimes=Yl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function df(e,t,n,r,i,s,o,a,l){return e=new cE(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=yt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gd(s),e}function dE(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ei,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function t0(e){if(!e)return rr;e=e._reactInternals;e:{if(Br(e)!==e||e.tag!==1)throw Error(M(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(M(171))}if(e.tag===1){var n=e.type;if(tt(n))return tv(e,n,t)}return t}function n0(e,t,n,r,i,s,o,a,l){return e=df(n,r,!0,e,i,s,o,a,l),e.context=t0(null),n=e.current,r=Qe(),i=Zn(n),s=hn(r,i),s.callback=t??null,qn(n,s,i),e.current.lanes=i,fo(e,i,r),nt(e,r),e}function vl(e,t,n,r){var i=t.current,s=Qe(),o=Zn(i);return n=t0(n),t.context===null?t.context=n:t.pendingContext=n,t=hn(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=qn(i,t,o),e!==null&&(Ft(e,i,o,s),sa(e,i,o)),o}function Wa(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 Rp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ff(e,t){Rp(e,t),(e=e.alternate)&&Rp(e,t)}function fE(){return null}var r0=typeof reportError=="function"?reportError:function(e){console.error(e)};function hf(e){this._internalRoot=e}xl.prototype.render=hf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));vl(e,t,null,null)};xl.prototype.unmount=hf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Fr(function(){vl(null,e,null,null)}),t[mn]=null}};function xl(e){this._internalRoot=e}xl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ly();e={blockedOn:null,target:e,priority:t};for(var n=0;n<In.length&&t!==0&&t<In[n].priority;n++);In.splice(n,0,e),n===0&&Iy(e)}};function pf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function wl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ap(){}function hE(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=Wa(o);s.call(u)}}var o=n0(t,r,e,0,null,!1,!1,"",Ap);return e._reactRootContainer=o,e[mn]=o.current,$s(e.nodeType===8?e.parentNode:e),Fr(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Wa(l);a.call(u)}}var l=df(e,0,!1,null,null,!1,!1,"",Ap);return e._reactRootContainer=l,e[mn]=l.current,$s(e.nodeType===8?e.parentNode:e),Fr(function(){vl(t,l,n,r)}),l}function bl(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var l=Wa(o);a.call(l)}}vl(t,o,e,i)}else o=hE(n,t,e,i,r);return Wa(o)}My=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ys(t.pendingLanes);n!==0&&(Md(t,n|1),nt(t,ve()),!(Z&6)&&(zi=ve()+500,dr()))}break;case 13:Fr(function(){var r=gn(e,1);if(r!==null){var i=Qe();Ft(r,e,1,i)}}),ff(e,1)}};Dd=function(e){if(e.tag===13){var t=gn(e,134217728);if(t!==null){var n=Qe();Ft(t,e,134217728,n)}ff(e,134217728)}};Dy=function(e){if(e.tag===13){var t=Zn(e),n=gn(e,t);if(n!==null){var r=Qe();Ft(n,e,t,r)}ff(e,t)}};Ly=function(){return ne};Oy=function(e,t){var n=ne;try{return ne=e,t()}finally{ne=n}};ec=function(e,t,n){switch(t){case"input":if(Gu(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 i=dl(r);if(!i)throw Error(M(90));fy(r),Gu(r,i)}}}break;case"textarea":py(e,n);break;case"select":t=n.value,t!=null&&yi(e,!!n.multiple,t,!1)}};by=af;Sy=Fr;var pE={usingClientEntryPoint:!1,Events:[po,si,dl,xy,wy,af]},cs={findFiberByHostInstance:wr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},mE={bundleType:cs.bundleType,version:cs.version,rendererPackageName:cs.rendererPackageName,rendererConfig:cs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:bn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ty(e),e===null?null:e.stateNode},findFiberByHostInstance:cs.findFiberByHostInstance||fE,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Wo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wo.isDisabled&&Wo.supportsFiber)try{al=Wo.inject(mE),Jt=Wo}catch{}}ct.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=pE;ct.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!pf(t))throw Error(M(200));return dE(e,t,null,n)};ct.createRoot=function(e,t){if(!pf(e))throw Error(M(299));var n=!1,r="",i=r0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=df(e,1,!1,null,null,n,!1,r,i),e[mn]=t.current,$s(e.nodeType===8?e.parentNode:e),new hf(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(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=Ty(t),e=e===null?null:e.stateNode,e};ct.flushSync=function(e){return Fr(e)};ct.hydrate=function(e,t,n){if(!wl(t))throw Error(M(200));return bl(null,e,t,!0,n)};ct.hydrateRoot=function(e,t,n){if(!pf(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=r0;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=n0(t,null,e,1,n??null,i,!1,s,o),e[mn]=t.current,$s(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new xl(t)};ct.render=function(e,t,n){if(!wl(t))throw Error(M(200));return bl(null,e,t,!1,n)};ct.unmountComponentAtNode=function(e){if(!wl(e))throw Error(M(40));return e._reactRootContainer?(Fr(function(){bl(null,null,e,!1,function(){e._reactRootContainer=null,e[mn]=null})}),!0):!1};ct.unstable_batchedUpdates=af;ct.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!wl(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return bl(e,t,n,!1,r)};ct.version="18.3.1-next-f1338f8080-20240426";function i0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i0)}catch(e){console.error(e)}}i0(),iy.exports=ct;var go=iy.exports;const s0=Hg(go);var o0,Mp=go;o0=Mp.createRoot,Mp.hydrateRoot;const gE=1,yE=1e6;let gu=0;function vE(){return gu=(gu+1)%Number.MAX_SAFE_INTEGER,gu.toString()}const yu=new Map,Dp=e=>{if(yu.has(e))return;const t=setTimeout(()=>{yu.delete(e),Ns({type:"REMOVE_TOAST",toastId:e})},yE);yu.set(e,t)},xE=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,gE)};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?Dp(n):e.toasts.forEach(r=>{Dp(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)}}},fa=[];let ha={toasts:[]};function Ns(e){ha=xE(ha,e),fa.forEach(t=>{t(ha)})}function wE({...e}){const t=vE(),n=i=>Ns({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Ns({type:"DISMISS_TOAST",toastId:t});return Ns({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function bE(){const[e,t]=b.useState(ha);return b.useEffect(()=>(fa.push(t),()=>{const n=fa.indexOf(t);n>-1&&fa.splice(n,1)}),[e]),{...e,toast:wE,dismiss:n=>Ns({type:"DISMISS_TOAST",toastId:n})}}function ke(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function Lp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function a0(...e){return t=>{let n=!1;const r=e.map(i=>{const s=Lp(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():Lp(e[i],null)}}}}function Bt(...e){return b.useCallback(a0(...e),e)}function Sl(e,t=[]){let n=[];function r(s,o){const a=b.createContext(o),l=n.length;n=[...n,o];const u=f=>{var m;const{scope:h,children:p,...x}=f,y=((m=h==null?void 0:h[e])==null?void 0:m[l])||a,w=b.useMemo(()=>x,Object.values(x));return c.jsx(y.Provider,{value:w,children:p})};u.displayName=s+"Provider";function d(f,h){var y;const p=((y=h==null?void 0:h[e])==null?void 0:y[l])||a,x=b.useContext(p);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,d]}const i=()=>{const s=n.map(o=>b.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,SE(i,...t)]}function SE(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(s)[`__scope${u}`];return{...a,...f}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function Dc(e){const t=EE(e),n=b.forwardRef((r,i)=>{const{children:s,...o}=r,a=b.Children.toArray(s),l=a.find(TE);if(l){const u=l.props.children,d=a.map(f=>f===l?b.Children.count(u)>1?b.Children.only(null):b.isValidElement(u)?u.props.children:null:f);return c.jsx(t,{...o,ref:i,children:b.isValidElement(u)?b.cloneElement(u,void 0,d):null})}return c.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}function EE(e){const t=b.forwardRef((n,r)=>{const{children:i,...s}=n;
vendor: 9,475 bytes, line 40
40if(b.isValidElement(i)){const o=PE(i),a=kE(s,i.props);return i.type!==b.Fragment&&(a.ref=r?a0(r,o):o),b.cloneElement(i,a)}return b.Children.count(i)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var l0=Symbol("radix.slottable");function CE(e){const t=({children:n})=>c.jsx(c.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=l0,t}function TE(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===l0}function kE(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...a)=>{const l=s(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function PE(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function jE(e){const t=e+"CollectionProvider",[n,r]=Sl(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=y=>{const{scope:w,children:m}=y,g=D.useRef(null),v=D.useRef(new Map).current;return c.jsx(i,{scope:w,itemMap:v,collectionRef:g,children:m})};o.displayName=t;const a=e+"CollectionSlot",l=Dc(a),u=D.forwardRef((y,w)=>{const{scope:m,children:g}=y,v=s(a,m),S=Bt(w,v.collectionRef);return c.jsx(l,{ref:S,children:g})});u.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=Dc(d),p=D.forwardRef((y,w)=>{const{scope:m,children:g,...v}=y,S=D.useRef(null),E=Bt(w,S),C=s(d,m);return D.useEffect(()=>(C.itemMap.set(S,{ref:S,...v}),()=>void C.itemMap.delete(S))),c.jsx(h,{[f]:"",ref:E,children:g})});p.displayName=d;function x(y){const w=s(e+"CollectionConsumer",y);return D.useCallback(()=>{const g=w.collectionRef.current;if(!g)return[];const v=Array.from(g.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((C,T)=>v.indexOf(C.ref.current)-v.indexOf(T.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:o,Slot:u,ItemSlot:p},x,r]}var NE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],rt=NE.reduce((e,t)=>{const n=Dc(`Primitive.${t}`),r=b.forwardRef((i,s)=>{const{asChild:o,...a}=i,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function u0(e,t){e&&go.flushSync(()=>e.dispatchEvent(t))}function ir(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 RE(e,t=globalThis==null?void 0:globalThis.document){const n=ir(e);b.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var AE="DismissableLayer",Lc="dismissableLayer.update",ME="dismissableLayer.pointerDownOutside",DE="dismissableLayer.focusOutside",Op,c0=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),mf=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...l}=e,u=b.useContext(c0),[d,f]=b.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=b.useState({}),x=Bt(t,T=>f(T)),y=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=y.indexOf(w),g=d?y.indexOf(d):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,S=g>=m,E=OE(T=>{const k=T.target,R=[...u.branches].some(A=>A.contains(k));!S||R||(i==null||i(T),o==null||o(T),T.defaultPrevented||a==null||a())},h),C=IE(T=>{const k=T.target;[...u.branches].some(A=>A.contains(k))||(s==null||s(T),o==null||o(T),T.defaultPrevented||a==null||a())},h);return RE(T=>{g===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},h),b.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Op=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Ip(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Op)}},[d,h,n,u]),b.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Ip())},[d,u]),b.useEffect(()=>{const T=()=>p({});return document.addEventListener(Lc,T),()=>document.removeEventListener(Lc,T)},[]),c.jsx(rt.div,{...l,ref:x,style:{pointerEvents:v?S?"auto":"none":void 0,...e.style},onFocusCapture:ke(e.onFocusCapture,C.onFocusCapture),onBlurCapture:ke(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:ke(e.onPointerDownCapture,E.onPointerDownCapture)})});mf.displayName=AE;var LE="DismissableLayerBranch",d0=b.forwardRef((e,t)=>{const n=b.useContext(c0),r=b.useRef(null),i=Bt(t,r);return b.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),c.jsx(rt.div,{...e,ref:i})});d0.displayName=LE;function OE(e,t=globalThis==null?void 0:globalThis.document){const n=ir(e),r=b.useRef(!1),i=b.useRef(()=>{});return b.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){f0(ME,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function IE(e,t=globalThis==null?void 0:globalThis.document){const n=ir(e),r=b.useRef(!1);return b.useEffect(()=>{const i=s=>{s.target&&!r.current&&f0(DE,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Ip(){const e=new CustomEvent(Lc);document.dispatchEvent(e)}function f0(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?u0(i,s):i.dispatchEvent(s)}var VE=mf,FE=d0,sr=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},_E="Portal",h0=b.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,s]=b.useState(!1);sr(()=>s(!0),[]);const o=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?s0.createPortal(c.jsx(rt.div,{...r,ref:t}),o):null});h0.displayName=_E;function zE(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var gf=e=>{const{present:t,children:n}=e,r=BE(t),i=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),s=Bt(r.ref,$E(i));return typeof n=="function"||r.isPresent?b.cloneElement(i,{ref:s}):null};gf.displayName="Presence";function BE(e){const[t,n]=b.useState(),r=b.useRef(null),i=b.useRef(e),s=b.useRef("none"),o=e?"mounted":"unmounted",[a,l]=zE(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const u=Ho(r.current);s.current=a==="mounted"?u:"none"},[a]),sr(()=>{const u=r.current,d=i.current;if(d!==e){const h=s.current,p=Ho(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&h!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),sr(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=p=>{const y=Ho(r.current).includes(p.animationName);if(p.target===t&&y&&(l("ANIMATION_END"),!i.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},h=p=>{p.target===t&&(s.current=Ho(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:b.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Ho(e){return(e==null?void 0:e.animationName)||"none"}function $E(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var UE=ny[" useInsertionEffect ".trim().toString()]||sr;function WE({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,s,o]=HE({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const d=b.useRef(e!==void 0);b.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"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.`),d.current=a},[a,r])}const u=b.useCallback(d=>{var f;if(a){const h=KE(d)?d(e):d;h!==e&&((f=o.current)==null||f.call(o,h))}else s(d)}
40,[a,e,s,o]);return[l,u]}function HE({defaultProp:e,onChange:t}){const[n,r]=b.useState(e),i=b.useRef(n),s=b.useRef(t);return UE(()=>{s.current=t},[t]),b.useEffect(()=>{var o;i.current!==n&&((o=s.current)==null||o.call(s,n),i.current=n)},[n,i]),[n,r,s]}function KE(e){return typeof e=="function"}var GE=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"}),QE="VisuallyHidden",El=b.forwardRef((e,t)=>c.jsx(rt.span,{...e,ref:t,style:{...GE,...e.style}}));El.displayName=QE;var YE=El,yf="ToastProvider",[vf,XE,qE]=jE("Toast"),[p0,SD]=Sl("Toast",[qE]),[JE,Cl]=p0(yf),m0=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[a,l]=b.useState(null),[u,d]=b.useState(0),f=b.useRef(!1),h=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${yf}\`. Expected non-empty \`string\`.`),c.jsx(vf.Provider,{scope:t,children:c.jsx(JE,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:b.useCallback(()=>d(p=>p+1),[]),onToastRemove:b.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:o})})};m0.displayName=yf;var g0="ToastViewport",ZE=["F8"],Oc="toast.viewportPause",Ic="toast.viewportResume",y0=b.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=ZE,label:i="Notifications ({hotkey})",...s}=e,o=Cl(g0,n),a=XE(n),l=b.useRef(null),u=b.useRef(null),d=b.useRef(null),f=b.useRef(null),h=Bt(t,f,o.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=o.toastCount>0;b.useEffect(()=>{const w=m=>{var v;r.length!==0&&r.every(S=>m[S]||m.code===S)&&((v=f.current)==null||v.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),b.useEffect(()=>{const w=l.current,m=f.current;if(x&&w&&m){const g=()=>{if(!o.isClosePausedRef.current){const C=new CustomEvent(Oc);m.dispatchEvent(C),o.isClosePausedRef.current=!0}},v=()=>{if(o.isClosePausedRef.current){const C=new CustomEvent(Ic);m.dispatchEvent(C),o.isClosePausedRef.current=!1}},S=C=>{!w.contains(C.relatedTarget)&&v()},E=()=>{w.contains(document.activeElement)||v()};return w.addEventListener("focusin",g),w.addEventListener("focusout",S),w.addEventListener("pointermove",g),w.addEventListener("pointerleave",E),window.addEventListener("blur",g),window.addEventListener("focus",v),()=>{w.removeEventListener("focusin",g),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",g),w.removeEventListener("pointerleave",E),window.removeEventListener("blur",g),window.removeEventListener("focus",v)}}},[x,o.isClosePausedRef]);const y=b.useCallback(({tabbingDirection:w})=>{const g=a().map(v=>{const S=v.ref.current,E=[S,...fC(S)];return w==="forwards"?E:E.reverse()});return(w==="forwards"?g.reverse():g).flat()},[a]);return b.useEffect(()=>{const w=f.current;if(w){const m=g=>{var E,C,T;const v=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!v){const k=document.activeElement,R=g.shiftKey;if(g.target===w&&R){(E=u.current)==null||E.focus();return}const I=y({tabbingDirection:R?"backwards":"forwards"}),K=I.findIndex(L=>L===k);vu(I.slice(K+1))?g.preventDefault():R?(C=u.current)==null||C.focus():(T=d.current)==null||T.focus()}};return w.addEventListener("keydown",m),()=>w.removeEventListener("keydown",m)}},[a,y]),c.jsxs(FE,{ref:l,role:"region","aria-label":i.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&c.jsx(Vc,{ref:u,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"forwards"});vu(w)}}),c.jsx(vf.Slot,{scope:n,children:c.jsx(rt.ol,{tabIndex:-1,...s,ref:h})}),x&&c.jsx(Vc,{ref:d,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"backwards"});vu(w)}})]})});y0.displayName=g0;var v0="ToastFocusProxy",Vc=b.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=Cl(v0,n);return c.jsx(El,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});Vc.displayName=v0;var yo="Toast",eC="toast.swipeStart",tC="toast.swipeMove",nC="toast.swipeCancel",rC="toast.swipeEnd",x0=b.forwardRef((e,t)=>
40{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[a,l]=WE({prop:r,defaultProp:i??!0,onChange:s,caller:yo});return c.jsx(gf,{present:n||a,children:c.jsx(oC,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:ir(e.onPause),onResume:ir(e.onResume),onSwipeStart:ke(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ke(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:ke(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:ke(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});x0.displayName=yo;var[iC,sC]=p0(yo,{onClose(){}}),oC=b.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...x}=e,y=Cl(yo,n),[w,m]=b.useState(null),g=Bt(t,L=>m(L)),v=b.useRef(null),S=b.useRef(null),E=i||y.duration,C=b.useRef(0),T=b.useRef(E),k=b.useRef(0),{onToastAdd:R,onToastRemove:A}=y,z=ir(()=>{var Y;(w==null?void 0:w.contains(document.activeElement))&&((Y=y.viewport)==null||Y.focus()),o()}),I=b.useCallback(L=>{!L||L===1/0||(window.clearTimeout(k.current),C.current=new Date().getTime(),k.current=window.setTimeout(z,L))},[z]);b.useEffect(()=>{const L=y.viewport;if(L){const Y=()=>{I(T.current),u==null||u()},$=()=>{const _=new Date().getTime()-C.current;T.current=T.current-_,window.clearTimeout(k.current),l==null||l()};return L.addEventListener(Oc,$),L.addEventListener(Ic,Y),()=>{L.removeEventListener(Oc,$),L.removeEventListener(Ic,Y)}}},[y.viewport,E,l,u,I]),b.useEffect(()=>{s&&!y.isClosePausedRef.current&&I(E)},[s,E,y.isClosePausedRef,I]),b.useEffect(()=>(R(),()=>A()),[R,A]);const K=b.useMemo(()=>w?k0(w):null,[w]);return y.viewport?c.jsxs(c.Fragment,{children:[K&&c.jsx(aC,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:K}),c.jsx(iC,{scope:n,onClose:z,children:go.createPortal(c.jsx(vf.ItemSlot,{scope:n,children:c.jsx(VE,{asChild:!0,onEscapeKeyDown:ke(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||z(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:c.jsx(rt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":y.swipeDirection,...x,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ke(e.onKeyDown,L=>{L.key==="Escape"&&(a==null||a(L.nativeEvent),L.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,z()))}),onPointerDown:ke(e.onPointerDown,L=>{L.button===0&&(v.current={x:L.clientX,y:L.clientY})}),onPointerMove:ke(e.onPointerMove,L=>{if(!v.current)return;const Y=L.clientX-v.current.x,$=L.clientY-v.current.y,_=!!S.current,P=["left","right"].includes(y.swipeDirection),N=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,O=P?N(0,Y):0,U=P?0:N(0,$),B=L.pointerType==="touch"?10:2,X={x:O,y:U},J={originalEvent:L,delta:X};_?(S.current=X,Ko(tC,f,J,{discrete:!1})):Vp(X,y.swipeDirection,B)?(S.current=X,Ko(eC,d,J,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(Y)>B||Math.abs($)>B)&&(v.current=null)}),onPointerUp:ke(e.onPointerUp,L=>{const Y=S.current,$=L.target;if($.hasPointerCapture(L.pointerId)&&$.releasePointerCapture(L.pointerId),S.current=null,v.current=null,Y){const _=L.currentTarget,P={originalEvent:L,delta:Y};Vp(Y,y.swipeDirection,y.swipeThreshold)?Ko(rC,p,P,{discrete:!0}):Ko(nC,h,P,{discrete:!0}),_.addEventListener("click",N=>N.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),aC=e=>{const{__scopeToast:t,children:n,...r}=e,i=Cl(yo,t),[s,o]=b.useState(!1),[a,l]=b.useState(!1);return cC(()=>o(!0)),b.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:c.jsx(h0,{asChild:!0,children:c.jsx(El,{...r,children:s&&c.jsxs(c.Fragment,{children:[i.label," ",n]})})})},lC="ToastTitle",w0=b.forwardRef((e,t)=>
vendor: 6,176 bytes, lines 40-80
40{const{__scopeToast:n,...r}=e;return c.jsx(rt.div,{...r,ref:t})});w0.displayName=lC;var uC="ToastDescription",b0=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(rt.div,{...r,ref:t})});b0.displayName=uC;var S0="ToastAction",E0=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?c.jsx(T0,{altText:n,asChild:!0,children:c.jsx(xf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${S0}\`. Expected non-empty \`string\`.`),null)});E0.displayName=S0;var C0="ToastClose",xf=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=sC(C0,n);return c.jsx(T0,{asChild:!0,children:c.jsx(rt.button,{type:"button",...r,ref:t,onClick:ke(e.onClick,i.onClose)})})});xf.displayName=C0;var T0=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return c.jsx(rt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function k0(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),dC(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...k0(r))}}),t}function Ko(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?u0(i,s):i.dispatchEvent(s)}var Vp=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function cC(e=()=>{}){const t=ir(e);sr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function dC(e){return e.nodeType===e.ELEMENT_NODE}function fC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function vu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var hC=m0,P0=y0,j0=x0,N0=w0,R0=b0,A0=E0,M0=xf;function D0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=D0(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function L0(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=D0(e))&&(r&&(r+=" "),r+=t);return r}const Fp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,_p=L0,pC=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return _p(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const d=n==null?void 0:n[u],f=s==null?void 0:s[u];if(d===null)return null;const h=Fp(d)||Fp(f);return i[u][h]}),a=n&&Object.entries(n).reduce((u,d)=>{let[f,h]=d;return h===void 0||(u[f]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:h,...p}=d;return Object.entries(p).every(x=>{let[y,w]=x;return Array.isArray(w)?w.includes({...s,...a}[y]):{...s,...a}[y]===w})?[...u,f,h]:u},[]);return _p(e,o,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 mC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),O0=(...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 gC={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 yC=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...a},l)=>b.createElement("svg",{ref:l,...gC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:O0("lucide",i),...a},[...o.map(([u,d])=>b.createElement(u,d)),...Array.isArray(s)?s:[s]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const Ee=(e,t)=>{const n=b.forwardRef(({className:r,...i},s)=>b.createElement(yC,{ref:s,iconNode:t,className:O0(`lucide-${mC(e)}`,r),...i}));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 vC=Ee("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"}]]);/** 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 xC=Ee("CircleParking",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9 17V7h4a3 3 0 0 1 0 6H9",key:"1dfk2c"}]]);/** 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 wf=Ee("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 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 wC=Ee("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",ke
80y:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** 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 bC=Ee("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/** 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 SC=Ee("DoorOpen",[["path",{d:"M13 4h3a2 2 0 0 1 2 2v14",key:"hrm0s9"}],["path",{d:"M2 20h3",key:"1gaodv"}],["path",{d:"M13 20h9",key:"s90cdi"}],["path",{d:"M10 12v.01",key:"vx6srw"}],["path",{d:"M13 4.562v16.157a1 1 0 0 1-1.242.97L5 20V5.562a2 2 0 0 1 1.515-1.94l4-1A2 2 0 0 1 13 4.561Z",key:"199qr4"}]]);/** 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 I0=Ee("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** 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 EC=Ee("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/** 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 CC=Ee("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"}]]);/** 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 V0=Ee("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"}]]);/** 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 F0=Ee("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"}]]);/** 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 _0=Ee("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"}]]);/** 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 TC=Ee("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"}]]);/** 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 z0=Ee("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"}]]);/** 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 kC=Ee("ShieldCheck",[["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
vendor: 9,552 bytes, lines 135-160
135y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 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 PC=Ee("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** 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 jC=Ee("Shirt",[["path",{d:"M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z",key:"1wgbhj"}]]);/** 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 NC=Ee("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"}]]);/** 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 Fc=Ee("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** 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 Tl=Ee("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),bf="-",RC=e=>{const t=MC(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(bf);return a[0]===""&&a.length!==1&&a.shift(),B0(a,t)||AC(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},B0=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?B0(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(bf);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId},zp=/^\[(.+)\]$/,AC=e=>{if(zp.test(e)){const t=zp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},MC=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return LC(Object.entries(e.classGroups),n).forEach(([s,o])=>{_c(o,r,s,t)}),r},_c=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Bp(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(DC(i)){_c(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{_c(o,Bp(t,s),n,r)})})},Bp=(e,t)=>{let n=e;return t.split(bf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},DC=e=>e.isThemeGetter,LC=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e,OC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},$0="!",IC=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=a=>{const l=[];let u=0,d=0,f;for(let w=0;w<a.length;w++){let m=a[w];if(u===0){if(m===i&&(r||a.slice(w,w+s)===t)){l.push(a.slice(d,w)),d=w+s;continue}if(m==="/"){f=w;continue}}m==="["?u++:m==="]"&&u--}const h=l.length===0?a:a.substring(d),p=h.startsWith($0),x=p?h.substring(1):h,y=f&&f>d?f-d:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:x,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:o}):o},VC=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},FC=e=>({cache:OC(e.cacheSize),parseClassName:IC(e),...RC(e)}),_C=/\s+/,zC=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(_C);let a="";for(let l=o.length-1;l>=0;l-=1){const u=o[l],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(u);let x=!!p,y=r(x?h.substring(0,p):h);if(!y){if(!x){a=u+(a.length>0?" "+a:a);continue}if(y=r(h),!y){a=u+(a.length>0?" "+a:a);continue}x=!1}const w=VC(d).join(":"),m=f?w+$0:w,g=m+y;if(s.includes(g))continue;s.push(g);const v=i(y,x);for(let S=0;S<v.length;++S){const E=v[S];s.push(m+E)}a=u+(a.length>0?" "+a:a)}return a};function BC(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=U0(t))&&(r&&(r+=" "),r+=n);return r}const U0=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=U0(e[r]))&&(n&&(n+=" "),n+=t);return n};function $C(e,...t){let n,r,i,s=o;function o(l){const u=t.reduce((d,f)=>f(d),e());return n=FC(u),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const d=zC(l,n);return i(l,d),d}return function(){return s(BC.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},W0=/^\[(?:([a-z-]+):)?(.+)\]$/i,UC=/^\d+\/\d+$/,WC=new Set(["px","full","screen"]),HC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,KC=/\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$/,GC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,QC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,YC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,on=e=>Ei(e)||WC.has(e)||UC.test(e),Nn=e=>Qi(e,"length",rT),Ei=e=>!!e&&!Number.isNaN(Number(e)),xu=e=>Qi(e,"number",Ei),ds=e=>!!e&&Number.isInteger(Number(e)),XC=e=>e.endsWith("%")&&Ei(e.slice(0,-1)),G=e=>W0.test(e),Rn=e=>HC.test(e),qC=new Set(["length","size","percentage"]),JC=e=>Qi(e,qC,H0),ZC=e=>Qi(e,"position",H0),eT=new Set(["image","url"]),tT=e=>Qi(e,eT,sT),nT=e=>Qi(e,"",iT),fs=()=>!0,Qi=(e,t,n)=>{const r=W0.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},rT=e=>KC.test(e)&&!GC.test(e),H0=()=>!1,iT=e=>QC.test(e),sT=e=>YC.test(e),oT=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),i=oe("borderColor"),s=oe("borderRadius"),o=oe("borderSpacing"),a=oe("borderWidth"),l=oe("contrast"),u=oe("grayscale"),d=oe("hueRotate"),f=oe("invert"),h=oe("gap"),p=oe("gradientColorStops"),x=oe("gradientColorStopPositions"),y=oe("inset"),w=oe("margin"),m=oe("opacity"),g=oe("padding"),v=oe("saturate"),S=oe("scale"),E=oe("sepia"),C=oe("skew"),T=oe("space"),k=oe("translate"),R=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",G,t],I=()=>[G,t],K=()=>["",on,Nn],L=()=>["auto",Ei,G],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],_=()=>["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",G],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Ei,G];return{cacheSize:500,separator:":",theme:{colors:[fs],spacing:[on,Nn],blur:["none","",Rn,G],brightness:U(),borderColor:[e],borderRadius:["none","","full",Rn,G],borderSpacing:I(),borderWidth:K(),contrast:U(),grayscale:N(),hueRotate:U(),invert:N(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[XC,Nn],inset:z(),margin:z(),opacity:U(),padding:I(),saturate:U(),scale:U(),sepia:N(),skew:U(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",G]}],container:["container"],columns:[{columns:[Rn]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"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:[...Y(),G]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],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]}
vendor: 9,916 bytes, line 160
160],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ds,G]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",G]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",ds,G]}],"grid-cols":[{"grid-cols":[fs]}],"col-start-end":[{col:["auto",{span:["full",ds,G]},G]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[fs]}],"row-start-end":[{row:["auto",{span:[ds,G]},G]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",G]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",G]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"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":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",G,t]}],"min-w":[{"min-w":[G,t,"min","max","fit"]}],"max-w":[{"max-w":[G,t,"none","full","min","max","fit","prose",{screen:[Rn]},Rn]}],h:[{h:[G,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[G,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Rn,Nn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xu]}],"font-family":[{font:[fs]}],"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",G]}],"line-clamp":[{"line-clamp":["none",Ei,xu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",on,G]}],"list-image":[{"list-image":["none",G]}],"list-style-type":[{list:["none","disc","decimal",G]}],"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:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",on,Nn]}],"underline-offset":[{"underline-offset":["auto",on,G]}],"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:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",G]}],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",G]}],"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:[...Y(),ZC]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",JC]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tT]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[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:[...$(),"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:$()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[on,G]}],"outline-w":[{outline:[on,Nn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[on,Nn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Rn,nT]}],"shadow-color":[{shadow:[fs]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[..._(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":_()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Rn,G]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[E]}],"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":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",G]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",G]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",G]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[ds,G]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",G]}],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",G]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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,487 bytes, line 160
160],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",G]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[on,Nn,xu]}],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"]}}},aT=$C(oT);function $r(...e){return aT(L0(e))}const lT=hC,K0=b.forwardRef(({className:e,...t},n)=>c.jsx(P0,{ref:n,className:$r("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}));K0.displayName=P0.displayName;const uT=pC("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"}}),G0=b.forwardRef(({className:e,variant:t,...n},r)=>c.jsx(j0,{ref:r,className:$r(uT({variant:t}),e),...n}));G0.displayName=j0.displayName;const cT=b.forwardRef(({className:e,...t},n)=>c.jsx(A0,{ref:n,className:$r("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}));
160cT.displayName=A0.displayName;const Q0=b.forwardRef(({className:e,...t},n)=>c.jsx(M0,{ref:n,className:$r("absolute right-2 top-2 rounded-md p-1 text-foreground/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:c.jsx(Tl,{className:"h-4 w-4"})}));Q0.displayName=M0.displayName;const Y0=b.forwardRef(({className:e,...t},n)=>c.jsx(N0,{ref:n,className:$r("text-sm font-semibold",e),...t}));Y0.displayName=N0.displayName;const X0=b.forwardRef(({className:e,...t},n)=>c.jsx(R0,{ref:n,className:$r("text-sm opacity-90",e),...t}));X0.displayName=R0.displayName;function dT(){const{toasts:e}=bE();return c.jsxs(lT,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return c.jsxs(G0,{...s,children:[c.jsxs("div",{className:"grid gap-1",children:[n&&c.jsx(Y0,{children:n}),r&&c.jsx(X0,{children:r})]}),i,c.jsx(Q0,{})]},t)}),c.jsx(K0,{})]})}var $p=["light","dark"],fT="(prefers-color-scheme: dark)",hT=b.createContext(void 0),pT={setTheme:e=>{},themes:[]},mT=()=>{var e;return(e=b.useContext(hT))!=null?e:pT};b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,attrs:a,nonce:l})=>{let u=s==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=i?$p.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(x,y=!1,w=!0)=>{let m=o?o[x]:x,g=y?x+"|| ''":`'${m}'`,v="";return i&&w&&!y&&$p.includes(x)&&(v+=`d.style.colorScheme = '${x}';`),n==="class"?y||m?v+=`c.add(${g})`:v+="null":m&&(v+=`d[s](n,${g})`),v},p=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${fT}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}${u?"":"else{"+h(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${f}}catch(t){}}();`;return b.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var gT=e=>{switch(e){case"success":return xT;case"info":return bT;case"warning":return wT;case"error":return ST;default:return null}},yT=Array(12).fill(0),vT=({visible:e,className:t})=>D.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},D.createElement("div",{className:"sonner-spinner"},yT.map((n,r)=>D.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),xT=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"})),wT=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"})),bT=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"})),ST=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"})),ET=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"})),CT=()=>{let[e,t]=D.useState(document.hidden);return D.useEffect(()=>{let n=()=>{t(document.hidden)};
160return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},zc=1,TT=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,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:zc++,s=this.toasts.find(a=>a.id===i),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),s?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:o,title:n}):a):this.addToast({title:n,...r,dismissible:o,id:i}),i},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)=>
160this.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(),i=n!==void 0,s,o=r.then(async l=>{if(s=["resolve",l],D.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(PT(l)&&!l.ok){i=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){i=!1;let u=typeof t.success=="function"?await t.success(l):t.success,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async l=>{if(s=["reject",l],t.error!==void 0){i=!1;let u=typeof t.error=="function"?await t.error(l):t.error,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var l;i&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>o.then(()=>s[0]==="reject"?u(s[1]):l(s[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)||zc++;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}},qe=new TT,kT=(e,t)=>{let n=(t==null?void 0:t.id)||zc++;return qe.addToast({title:e,...t,id:n}),n},PT=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",jT=kT,NT=()=>qe.toasts,RT=()=>qe.getActiveToasts();Object.assign(jT,{success:qe.success,info:qe.info,warning:qe.warning,error:qe.error,custom:qe.custom,message:qe.message,promise:qe.promise,dismiss:qe.dismiss,loading:qe.loading},{getHistory:NT,getToasts:RT});function AT(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))}AT(`: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;
160left: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}
160: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%);
160--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%)} 161`);function Go(e){return e.label!==void 0}var MT=3,DT="32px",LT="16px",Up=4e3,OT=356,IT=14,VT=20,FT=200;function jt(...e){return e.filter(Boolean).join(" ")}function _T(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var zT=e=>{var t,n,r,i,s,o,a,l,u,d,f;let{invert:h,toast:p,unstyled:x,interacting:y,setHeights:w,visibleToasts:m,heights:g,index:v,toasts:S,expanded:E,removeToast:C,defaultRichColors:T,closeButton:k,style:R,cancelButtonStyle:A,actionButtonStyle:z,className:I="",descriptionClassName:K="",duration:L,position:Y,gap:$,loadingIcon:_,expandByDefault:P,classNames:N,icons:O,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:B}
vendor: 1,946 bytes, line 161
161=e,[X,J]=D.useState(null),[xe,Le]=D.useState(null),[te,Kr]=D.useState(!1),[Sn,hr]=D.useState(!1),[En,Gr]=D.useState(!1),[Cn,Co]=D.useState(!1),[_l,To]=D.useState(!1),[zl,ts]=D.useState(0),[Qr,yh]=D.useState(0),ns=D.useRef(p.duration||L||Up),vh=D.useRef(null),pr=D.useRef(null),O1=v===0,I1=v+1<=m,ft=p.type,Yr=p.dismissible!==!1,V1=p.className||"",F1=p.descriptionClassName||"",ko=D.useMemo(()=>g.findIndex(W=>W.toastId===p.id)||0,[g,p.id]),_1=D.useMemo(()=>{var W;return(W=p.closeButton)!=null?W:k},[p.closeButton,k]),xh=D.useMemo(()=>p.duration||L||Up,[p.duration,L]),Bl=D.useRef(0),Xr=D.useRef(0),wh=D.useRef(0),qr=D.useRef(null),[z1,B1]=Y.split("-"),bh=D.useMemo(()=>g.reduce((W,re,ue)=>ue>=ko?W:W+re.height,0),[g,ko]),Sh=CT(),$1=p.invert||h,$l=ft==="loading";Xr.current=D.useMemo(()=>ko*$+bh,[ko,bh]),D.useEffect(()=>{ns.current=xh},[xh]),D.useEffect(()=>{Kr(!0)},[]),D.useEffect(()=>{let W=pr.current;if(W){let re=W.getBoundingClientRect().height;return yh(re),w(ue=>[{toastId:p.id,height:re,position:p.position},...ue]),()=>w(ue=>ue.filter(Ct=>Ct.toastId!==p.id))}},[w,p.id]),D.useLayoutEffect(()=>{if(!te)return;let W=pr.current,re=W.style.height;W.style.height="auto";let ue=W.getBoundingClientRect().height;W.style.height=re,yh(ue),w(Ct=>Ct.find(Tt=>Tt.toastId===p.id)?Ct.map(Tt=>Tt.toastId===p.id?{...Tt,height:ue}:Tt):[{toastId:p.id,height:ue,position:p.position},...Ct])},[te,p.title,p.description,w,p.id]);let Tn=D.useCallback(()=>{hr(!0),ts(Xr.current),w(W=>W.filter(re=>re.toastId!==p.id)),setTimeout(()=>{C(p)},FT)},[p,C,w,Xr]);D.useEffect(()=>{if(p.promise&&ft==="loading"||p.duration===1/0||p.type==="loading")return;let W;return E||y||B&&Sh?(()=>{if(wh.current<Bl.current){let re=new Date().getTime()-Bl.current;ns.current=ns.current-re}wh.current=new Date().getTime()})():ns.current!==1/0&&(Bl.current=new Date().getTime(),W=setTimeout(()=>{var re;(re=p.onAutoClose)==null||re.call(p,p),Tn()},ns.current)),()=>clearTimeout(W)}
161,[E,y,p,ft,B,Sh,Tn]),D.useEffect(()=>{p.delete&&Tn()},[Tn,p.delete]);function U1(){var W,re,ue;return O!=null&&O.loading?D.createElement("div",{className:jt(N==null?void 0:N.loader,(W=p==null?void 0:p.classNames)==null?void 0:W.loader,"sonner-loader"),"data-visible":ft==="loading"},O.loading):_?D.createElement("div",{className:jt(N==null?void 0:N.loader,(re=p==null?void 0:p.classNames)==null?void 0:re.loader,"sonner-loader"),"data-visible":ft==="loading"},_):D.createElement(vT,{className:jt(N==null?void 0:N.loader,(ue=p==null?void 0:p.classNames)==null?void 0:ue.loader),visible:ft==="loading"})}return D.createElement("li",{tabIndex:0,ref:pr,className:jt(I,V1,N==null?void 0:N.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,N==null?void 0:N.default,N==null?void 0:N[ft],(n=p==null?void 0:p.classNames)==null?void 0:n[ft]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:T,"data-styled":!(p.jsx||p.unstyled||x),"data-mounted":te,"data-promise":!!p.promise,"data-swiped":_l,"data-removed":Sn,"data-visible":I1,"data-y-position":z1,"data-x-position":B1,"data-index":v,"data-front":O1,"data-swiping":En,"data-dismissible":Yr,"data-type":ft,"data-invert":$1,"data-swipe-out":Cn,"data-swipe-direction":xe,"data-expanded":!!(E||P&&te),style:{"--index":v,"--toasts-before":v,"--z-index":S.length-v,"--offset":`${Sn?zl:Xr.current}px`,"--initial-height":P?"auto":`${Qr}px`,...R,...p.style},onDragEnd:()=>{Gr(!1),J(null),qr.current=null},onPointerDown:W=>{$l||!Yr||(vh.current=new Date,ts(Xr.current),W.target.setPointerCapture(W.pointerId),W.target.tagName!=="BUTTON"&&(Gr(!0),qr.current={x:W.clientX,y:W.clientY}))},onPointerUp:()=>{var W,re,ue,Ct;if(Cn||!Yr)return;qr.current=null;let Tt=Number(((W=pr.current)==null?void 0:W.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),kn=Number(((re=pr.current)==null?void 0:re.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),mr=new Date().getTime()-((ue=vh.current)==null?void 0:ue.getTime()),kt=X==="x"?Tt:kn,Pn=Math.abs(kt)/mr;if(Math.abs(kt)>=VT||Pn>.11){ts(Xr.current),(Ct=p.onDismiss)==null||Ct.call(p,p),Le(X==="x"?Tt>0?"right":"left":kn>0?"down":"up"),Tn(),Co(!0),To(!1);return}Gr(!1),J(null)},onPointerMove:W=>{var re,ue,Ct,Tt;if(!qr.current||!Yr||((re=window.getSelection())==null?void 0:re.toString().length)>0)return;let kn=W.clientY-qr.current.y,mr=W.clientX-qr.current.x,kt=(ue=e.swipeDirections)!=null?ue:_T(Y);!X&&(Math.abs(mr)>1||Math.abs(kn)>1)&&J(Math.abs(mr)>Math.abs(kn)?"x":"y");let Pn={x:0,y:0};X==="y"?(kt.includes("top")||kt.includes("bottom"))&&(kt.includes("top")&&kn<0||kt.includes("bottom")&&kn>0)&&(Pn.y=kn):X==="x"&&(kt.includes("left")||kt.includes("right"))&&(kt.includes("left")&&mr<0||kt.includes("right")&&mr>0)&&(Pn.x=mr),(Math.abs(Pn.x)>0||Math.abs(Pn.y)>0)&&To(!0),(Ct=pr.current)==null||Ct.style.setProperty("--swipe-amount-x",`${Pn.x}px`),(Tt=pr.current)==null||Tt.style.setProperty("--swipe-amount-y",`${Pn.y}px`)}},_1&&!p.jsx?D.createElement("button",{"aria-label":U,"data-disabled":$l,"data-close-button":!0,onClick:$l||!Yr?()=>{}:()=>{var W;Tn(),(W=p.onDismiss)==null||W.call(p,p)},className:jt(N==null?void 0:N.closeButton,(i=p==null?void 0:p.classNames)==null?void 0:i.closeButton)},(s=O==null?void 0:O.close)!=null?s:ET):null,p.jsx||b.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:D.createElement(D.Fragment,null,ft||p.icon||p.promise?D.createElement("div",{"data-icon":"",className:jt(N==null?void 0:N.icon,(o=p==null?void 0:p.classNames)==null?void 0:o.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||U1():null,p.type!=="loading"?p.icon||(O==null?void 0:O[ft])||gT(ft):null):null,D.createElement("div",{"data-content":"",className:jt(N==null?void 0:N.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},D.createElement("div",{"data-title":"",className:jt(N==null?void 0:N.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?D.createElement("div",{"data-description":"",className:jt(K,F1,N==null?void 0:N.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),b.isValidElement(p.cancel)?p.cancel:p.cancel&&Go(p.cancel)?D.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||A,onClick:W=>{var re,ue;Go(p.cancel)&&Yr&&((ue=(re=p.cancel).onClick)==null||ue.call(re,W),Tn())},className:jt(N==null?void 0:N.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,b.isValidElement(p.action)?p.action:p.action&&Go(p.action)?D.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||z,onClick:W=>{var re,ue;Go(p.action)&&((ue=(re=p.action).onClick)==null||ue.call(re,W),!W.defaultPrevented&&Tn())},className:jt(N==null?void 0:N.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function Wp(){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 BT(e,t){let n={};return[e,t].forEach((r,i)=>{let s=i===1,o=s?"--mobile-offset":"--offset",a=s?LT:DT;function l(u){["top","right","bottom","left"].forEach(d=>{n[`${o}-${d}`]=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[`${o}-${u}`]=a:n[`${o}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var $T=b.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:s,closeButton:o,className:a,offset:l,mobileOffset:u,theme:d="light",richColors:f,duration:h,style:p,visibleToasts:x=MT,toastOptions:y,dir:w=Wp(),gap:m=IT,loadingIcon:g,icons:v,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:E}
vendor: 4,271 bytes, line 161
161=e,[C,T]=D.useState([]),k=D.useMemo(()=>Array.from(new Set([r].concat(C.filter(B=>B.position).map(B=>B.position)))),[C,r]),[R,A]=D.useState([]),[z,I]=D.useState(!1),[K,L]=D.useState(!1),[Y,$]=D.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),_=D.useRef(null),P=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=D.useRef(null),O=D.useRef(!1),U=D.useCallback(B=>{T(X=>{var J;return(J=X.find(xe=>xe.id===B.id))!=null&&J.delete||qe.dismiss(B.id),X.filter(({id:xe})=>xe!==B.id)})},[]);return D.useEffect(()=>qe.subscribe(B=>{if(B.dismiss){T(X=>X.map(J=>J.id===B.id?{...J,delete:!0}:J));return}setTimeout(()=>{s0.flushSync(()=>{T(X=>{let J=X.findIndex(xe=>xe.id===B.id);return J!==-1?[...X.slice(0,J),{...X[J],...B},...X.slice(J+1)]:[B,...X]})})})}),[]),D.useEffect(()=>{if(d!=="system"){$(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let B=window.matchMedia("(prefers-color-scheme: dark)");try{B.addEventListener("change",({matches:X})=>{$(X?"dark":"light")})}catch{B.addListener(({matches:J})=>{try{$(J?"dark":"light")}catch(xe){console.error(xe)}})}},[d]),D.useEffect(()=>{C.length<=1&&I(!1)},[C]),D.useEffect(()=>{let B=X=>{var J,xe;i.every(Le=>X[Le]||X.code===Le)&&(I(!0),(J=_.current)==null||J.focus()),X.code==="Escape"&&(document.activeElement===_.current||(xe=_.current)!=null&&xe.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[i]),D.useEffect(()=>{if(_.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,O.current=!1)}},[_.current]),D.createElement("section",{ref:t,"aria-label":`${S} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},k.map((B,X)=>{var J;let[xe,Le]=B.split("-");return C.length?D.createElement("ol",{key:B,dir:w==="auto"?Wp():w,tabIndex:-1,ref:_,className:a,"data-sonner-toaster":!0,"data-theme":Y,"data-y-position":xe,"data-lifted":z&&C.length>1&&!s,"data-x-position":Le,style:{"--front-toast-height":`${((J=R[0])==null?void 0:J.height)||0}px`,"--width":`${OT}px`,"--gap":`${m}px`,...p,...BT(l,u)},onBlur:te=>{O.current&&!te.currentTarget.contains(te.relatedTarget)&&(O.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||O.current||(O.current=!0,N.current=te.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{K||I(!1)},onDragEnd:()=>I(!1),onPointerDown:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},C.filter(te=>!te.position&&X===0||te.position===B).map((te,Kr)=>{var Sn,hr;return D.createElement(zT,{key:te.id,icons:v,index:Kr,toast:te,defaultRichColors:f,duration:(Sn=y==null?void 0:y.duration)!=null?Sn:h,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:x,closeButton:(hr=y==null?void 0:y.closeButton)!=null?hr:o,interacting:K,position:B,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:U,toasts:C.filter(En=>En.position==te.position),heights:R.filter(En=>En.position==te.position),setHeights:A,expandByDefault:s,gap:m,loadingIcon:g,expanded:z,pauseWhenPageIsHidden:E,swipeDirections:e.swipeDirections})})):null}))});const UT=({...e})=>{const{theme:t="system"}=mT();return c.jsx($T,{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})},WT=["top","right","bottom","left"],or=Math.min,st=Math.max,Ha=Math.round,Qo=Math.floor,en=e=>({x:e,y:e}
vendor: 19,317 bytes, line 161
161),HT={left:"right",right:"left",bottom:"top",top:"bottom"},KT={start:"end",end:"start"};function Bc(e,t,n){return st(e,or(t,n))}function vn(e,t){return typeof e=="function"?e(t):e}function xn(e){return e.split("-")[0]}function Yi(e){return e.split("-")[1]}function Sf(e){return e==="x"?"y":"x"}function Ef(e){return e==="y"?"height":"width"}const GT=new Set(["top","bottom"]);function qt(e){return GT.has(xn(e))?"y":"x"}function Cf(e){return Sf(qt(e))}function QT(e,t,n){n===void 0&&(n=!1);const r=Yi(e),i=Cf(e),s=Ef(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Ka(o)),[o,Ka(o)]}function YT(e){const t=Ka(e);return[$c(e),t,$c(t)]}function $c(e){return e.replace(/start|end/g,t=>KT[t])}const Hp=["left","right"],Kp=["right","left"],XT=["top","bottom"],qT=["bottom","top"];function JT(e,t,n){switch(e){case"top":case"bottom":return n?t?Kp:Hp:t?Hp:Kp;case"left":case"right":return t?XT:qT;default:return[]}}function ZT(e,t,n,r){const i=Yi(e);let s=JT(xn(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map($c)))),s}function Ka(e){return e.replace(/left|right|bottom|top/g,t=>HT[t])}function ek(e){return{top:0,right:0,bottom:0,left:0,...e}}function q0(e){return typeof e!="number"?ek(e):{top:e,right:e,bottom:e,left:e}}function Ga(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Gp(e,t,n){let{reference:r,floating:i}=e;const s=qt(t),o=Cf(t),a=Ef(o),l=xn(t),u=s==="y",d=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[a]/2-i[a]/2;let p;switch(l){case"top":p={x:d,y:r.y-i.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-i.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Yi(t)){case"start":p[o]-=h*(n&&u?-1:1);break;case"end":p[o]+=h*(n&&u?-1:1);break}return p}const tk=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=Gp(u,r,l),h=r,p={},x=0;for(let y=0;y<a.length;y++){const{name:w,fn:m}=a[y],{x:g,y:v,data:S,reset:E}=await m({x:d,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:u,platform:o,elements:{reference:e,floating:t}});d=g??d,f=v??f,p={...p,[w]:{...p[w],...S}},E&&x<=50&&(x++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(u=E.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):E.rects),{x:d,y:f}=Gp(u,h,l)),y=-1)}return{x:d,y:f,placement:h,strategy:i,middlewareData:p}};async function qs(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=vn(t,e),x=q0(p),w=a[h?f==="floating"?"reference":"floating":f],m=Ga(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:l})),g=f==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},E=Ga(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:v,strategy:l}):g);return{top:(m.top-E.top+x.top)/S.y,bottom:(E.bottom-m.bottom+x.bottom)/S.y,left:(m.left-E.left+x.left)/S.x,right:(E.right-m.right+x.right)/S.x}}const nk=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=t,{element:u,padding:d=0}=vn(e,t)||{};if(u==null)return{};const f=q0(d),h={x:n,y:r},p=Cf(i),x=Ef(p),y=await o.getDimensions(u),w=p==="y",m=w?"top":"left",g=w?"bottom":"right",v=w?"clientHeight":"clientWidth",S=s.reference[x]+s.reference[p]-h[p]-s.floating[x],E=h[p]-s.reference[p],C=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let T=C?C[v]:0;(!T||!await(o.isElement==null?void 0:o.isElement(C)))&&(T=a.floating[v]||s.floating[x]);const k=S/2-E/2,R=T/2-y[x]/2-1,A=or(f[m],R),z=or(f[g],R),I=A,K=T-y[x]-z,L=T/2-y[x]/2+k,Y=Bc(I,L,K),$=!l.arrow&&Yi(i)!=null&&L!==Y&&s.reference[x]/2-(L<I?A:z)-y[x]/2<0,_=$?L<I?L-I:L-K:0;return{[p]:h[p]+_,data:{[p]:Y,centerOffset:L-Y-_,...$&&{alignmentOffset:_}},reset:$}}}),rk=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:y=!0,...w}=vn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=xn(i),g=qt(a),v=xn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),E=h||(v||!y?[Ka(a)]:YT(a)),C=x!=="none";!h&&C&&E.push(...ZT(a,y,x,S));const T=[a,...E],k=await qs(t,w),R=[];let A=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&R.push(k[m]),f){const L=QT(i,o,S);R.push(k[L[0]],k[L[1]])}if(A=[...A,{placement:i,overflows:R}],!R.every(L=>L<=0)){var z,I;const L=(((z=s.flip)==null?void 0:z.index)||0)+1,Y=T[L];if(Y&&(!(f==="alignment"?g!==qt(Y):!1)||A.every(P=>P.overflows[0]>0&&qt(P.placement)===g)))return{data:{index:L,overflows:A},reset:{placement:Y}};let $=(I=A.filter(_=>_.overflows[0]<=0).sort((_,P)=>_.overflows[1]-P.overflows[1])[0])==null?void 0:I.placement;if(!$)switch(p){case"bestFit":{var K;const _=(K=A.filter(P=>{if(C){const N=qt(P.placement);return N===g||N==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(N=>N>0).reduce((N,O)=>N+O,0)]).sort((P,N)=>P[1]-N[1])[0])==null?void 0:K[0];_&&($=_);break}case"initialPlacement":$=a;break}if(i!==$)return{reset:{placement:$}}}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 Yp(e){return WT.some(t=>e[t]>=0)}const ik=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=vn(e,t);switch(r){case"referenceHidden":{const s=await qs(t,{...i,elementContext:"reference"}),o=Qp(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Yp(o)}}}case"escaped":{const s=await qs(t,{...i,altBoundary:!0}),o=Qp(s,n.floating);return{data:{escapedOffsets:o,escaped:Yp(o)}}}default:return{}}}}},J0=new Set(["left","top"]);async function sk(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=xn(n),a=Yi(n),l=qt(n)==="y",u=J0.has(o)?-1:1,d=s&&l?-1:1,f=vn(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof x=="number"&&(p=a==="end"?x*-1:x),l?{x:p*d,y:h*u}:{x:h*u,y:p*d}}const ok=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,l=await sk(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},ak=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:w=>{let{x:m,y:g}=w;return{x:m,y:g}}},...l}=vn(e,t),u={x:n,y:r},d=await qs(t,l),f=qt(xn(i)),h=Sf(f);let p=u[h],x=u[f];if(s){const w=h==="y"?"top":"left",m=h==="y"?"bottom":"right",g=p+d[w],v=p-d[m];p=Bc(g,p,v)}if(o){const w=f==="y"?"top":"left",m=f==="y"?"bottom":"right",g=x+d[w],v=x-d[m];x=Bc(g,x,v)}const y=a.fn({...t,[h]:p,[f]:x});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:s,[f]:o}}}}}},lk=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=vn(e,t),d={x:n,y:r},f=qt(i),h=Sf(f);let p=d[h],x=d[f];const y=vn(a,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const v=h==="y"?"height":"width",S=s.reference[h]-s.floating[v]+w.mainAxis,E=s.reference[h]+s.reference[v]-w.mainAxis;p<S?p=S:p>E&&(p=E)}if(u){var m,g;const v=h==="y"?"width":"height",S=J0.has(xn(i)),E=s.reference[f]-s.floating[v]+(S&&((m=o.offset)==null?void 0:m[f])||0)+(S?0:w.crossAxis),C=s.reference[f]+s.reference[v]+(S?0:((g=o.offset)==null?void 0:g[f])||0)-(S?w.crossAxis:0);x<E?x=E:x>C&&(x=C)}return{[h]:p,[f]:x}}}},uk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:l=()=>{},...u}=vn(e,t),d=await qs(t,u),f=xn(i),h=Yi(i),p=qt(i)==="y",{width:x,height:y}=s.floating;let w,m;f==="top"||f==="bottom"?(w=f,m=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=f,w=h==="end"?"top":"bottom");const g=y-d.top-d.bottom,v=x-d.left-d.right,S=or(y-d[w],g),E=or(x-d[m],v),C=!t.middlewareData.shift;let T=S,k=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=g),C&&!h){const A=st(d.left,0),z=st(d.right,0),I=st(d.top,0),K=st(d.bottom,0);p?k=x-2*(A!==0||z!==0?A+z:st(d.left,d.right)):T=y-2*(I!==0||K!==0?I+K:st(d.top,d.bottom))}await l({...t,availableWidth:k,availableHeight:T});const R=await o.getDimensions(a.floating);return x!==R.width||y!==R.height?{reset:{rects:!0}}:{}}}};function kl(){return typeof window<"u"}function Xi(e){return Z0(e)?(e.nodeName||"").toLowerCase():"#document"}function lt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function sn(e){var t;return(t=(Z0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Z0(e){return kl()?e instanceof Node||e instanceof lt(e).Node:!1}function $t(e){return kl()?e instanceof Element||e instanceof lt(e).Element:!1}function nn(e){return kl()?e instanceof HTMLElement||e instanceof lt(e).HTMLElement:!1}function Xp(e){return!kl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof lt(e).ShadowRoot}const ck=new Set(["inline","contents"]);function vo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Ut(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!ck.has(i)}const dk=new Set(["table","td","th"]);function fk(e){return dk.has(Xi(e))}const hk=[":popover-open",":modal"];function Pl(e){return hk.some(t=>{try{return e.matches(t)}catch{return!1}})}const pk=["transform","translate","scale","rotate","perspective"],mk=["transform","translate","scale","rotate","perspective","filter"],gk=["paint","layout","strict","content"];function Tf(e){const t=kf(),n=$t(e)?Ut(e):e;return pk.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)||mk.some(r=>(n.willChange||"").includes(r))||gk.some(r=>(n.contain||"").includes(r))}function yk(e){let t=ar(e);for(;nn(t)&&!Bi(t);){if(Tf(t))return t;if(Pl(t))return null;t=ar(t)}return null}function kf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const vk=new Set(["html","body","#document"]);function Bi(e){return vk.has(Xi(e))}function Ut(e){return lt(e).getComputedStyle(e)}function jl(e){return $t(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ar(e){if(Xi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xp(e)&&e.host||sn(e);return Xp(t)?t.host:t}function ex(e){const t=ar(e);return Bi(t)?e.ownerDocument?e.ownerDocument.body:e.body:nn(t)&&vo(t)?t:ex(t)}function Js(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=ex(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=lt(i);if(s){const a=Uc(o);return t.concat(o,o.visualViewport||[],vo(i)?i:[],a&&n?Js(a):[])}return t.concat(i,Js(i,[],n))}function Uc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function tx(e){const t=Ut(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=nn(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Ha(n)!==s||Ha(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function Pf(e){return $t(e)?e:e.contextElement}function Ci(e){const t=Pf(e);if(!nn(t))return en(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=tx(t);let o=(s?Ha(n.width):n.width)/r,a=(s?Ha(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const xk=en(0);function nx(e){const t=lt(e);return!kf()||!t.visualViewport?xk:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wk(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 i=e.getBoundingClientRect(),s=Pf(e);let o=en(1);t&&(r?$t(r)&&(o=Ci(r)):o=Ci(e));const a=wk(s,n,r)?nx(s):en(0);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,d=i.width/o.x,f=i.height/o.y;if(s){const h=lt(s),p=r&&$t(r)?lt(r):r;let x=h,y=Uc(x);for(;y&&r&&p!==x;){const w=Ci(y),m=y.getBoundingClientRect(),g=Ut(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,d*=w.x,f*=w.y,l+=v,u+=S,x=lt(y),y=Uc(x)}}return Ga({width:d,height:f,x:l,y:u})}function jf(e,t){const n=jl(e).scrollLeft;return t?t.left+n:_r(sn(e)).left+n}function rx(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:jf(e,r)),s=r.top+t.scrollTop;return{x:i,y:s}}function bk(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=sn(r),a=t?Pl(t.floating):!1;if(r===o||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=en(1);const d=en(0),f=nn(r);if((f||!f&&!s)&&((Xi(r)!=="body"||vo(o))&&(l=jl(r)),nn(r))){const p=_r(r);u=Ci(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const h=o&&!f&&!s?rx(o,l,!0):en(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-l.scrollTop*u.y+d.y+h.y}}function Sk(e){return Array.from(e.getClientRects())}function Ek(e){const t=sn(e),n=jl(e),r=e.ownerDocument.body,i=st(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=st(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+jf(e);const a=-n.scrollTop;return Ut(r).direction==="rtl"&&(o+=st(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}function Ck(e,t){const n=lt(e),r=sn(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const u=kf();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}const Tk=new Set(["absolute","fixed"]);function kk(e,t){const n=_r(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=nn(e)?Ci(e):en(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,u=r*s.y;return{width:o,height:a,x:l,y:u}}function qp(e,t,n){let r;if(t==="viewport")r=Ck(e,n);else if(t==="document")r=Ek(sn(e));else if($t(t))r=kk(t,n);else{const i=nx(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Ga(r)}function ix(e,t){const n=ar(e);return n===t||!$t(n)||Bi(n)?!1:Ut(n).position==="fixed"||ix(n,t)}function Pk(e,t){const n=t.get(e);if(n)return n;let r=Js(e,[],!1).filter(a=>$t(a)&&Xi(a)!=="body"),i=null;const s=Ut(e).position==="fixed";let o=s?ar(e):e;for(;$t(o)&&!Bi(o);){const a=Ut(o),l=Tf(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&Tk.has(i.position)||vo(o)&&!l&&ix(e,o))?r=r.filter(d=>d!==o):i=a,o=ar(o)}return t.set(e,r),r}function jk(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?Pl(t)?[]:Pk(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((u,d)=>{const f=qp(t,d,i);return u.top=st(f.top,u.top),u.right=or(f.right,u.right),u.bottom=or(f.bottom,u.bottom),u.left=st(f.left,u.left),u},qp(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Nk(e){const{width:t,height:n}=tx(e);return{width:t,height:n}}function Rk(e,t,n){const r=nn(t),i=sn(t),s=n==="fixed",o=_r(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=en(0);function u(){l.x=jf(i)}if(r||!r&&!s)if((Xi(t)!=="body"||vo(i))&&(a=jl(t)),r){const p=_r(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&u();s&&!r&&i&&u();const d=i&&!r&&!s?rx(i,a):en(0),f=o.left+a.scrollLeft-l.x-d.x,h=o.top+a.scrollTop-l.y-d.y;return{x:f,y:h,width:o.width,height:o.height}}function wu(e){return Ut(e).position==="static"}function Jp(e,t){if(!nn(e)||Ut(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return sn(e)===n&&(n=n.ownerDocument.body),n}function sx(e,t){const n=lt(e);if(Pl(e))return n;if(!nn(e)){let i=ar(e);for(;i&&!Bi(i);){if($t(i)&&!wu(i))return i;i=ar(i)}return n}let r=Jp(e,t);for(;r&&fk(r)&&wu(r);)r=Jp(r,t);return r&&Bi(r)&&wu(r)&&!Tf(r)?n:r||yk(e)||n}const Ak=async function(e){const t=this.getOffsetParent||sx,n=this.getDimensions,r=await n(e.floating);return{reference:Rk(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Mk(e){return Ut(e).direction==="rtl"}const Dk={convertOffsetParentRelativeRectToViewportRelativeRect:bk,getDocumentElement:sn,getClippingRect:jk,getOffsetParent:sx,getElementRects:Ak,getClientRects:Sk,getDimensions:Nk,getScale:Ci,isElement:$t,isRTL:Mk};function ox(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Lk(e,t){let n=null,r;const i=sn(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:d,top:f,width:h,height:p}=u;if(a||t(),!h||!p)return;const x=Qo(f),y=Qo(i.clientWidth-(d+h)),w=Qo(i.clientHeight-(f+p)),m=Qo(d),v={rootMargin:-x+"px "+-y+"px "+-w+"px "+-m+"px",threshold:st(0,or(1,l))||1};let S=!0;function E(C){const T=C[0].intersectionRatio;if(T!==l){if(!S)return o();T?o(!1,T):r=setTimeout(()=>{o(!1,1e-7)},1e3)}T===1&&!ox(u,e.getBoundingClientRect())&&o(),S=!1}try{n=new IntersectionObserver(E,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(E,v)}n.observe(e)}return o(!0),s}function Ok(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Pf(e),d=i||s?[...u?Js(u):[],...Js(t)]:[];d.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const f=u&&a?Lk(u,n):null;let h=-1,p=null;o&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=p)==null||v.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let x,y=l?_r(e):null;l&&w();function w(){const m=_r(e);y&&!ox(y,m)&&n(),y=m,x=requestAnimationFrame(w)}return n(),()=>{var m;d.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),f==null||f(),(m=p)==null||m.disconnect(),p=null,l&&cancelAnimationFrame(x)}}const Ik=ok,Vk=ak,Fk=rk,_k=uk,zk=ik,Zp=nk,Bk=lk,$k=(e,t,n)=>{const r=new Map,i={platform:Dk,...n},s={...i.platform,_c:r};return tk(e,t,{...i,platform:s})};var Uk=typeof document<"u",Wk=function(){},pa=Uk?b.useLayoutEffect:Wk;function Qa(e,t){if(e===t)return!0;
vendor: 4,133 bytes, line 161
161if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;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(!Qa(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!Qa(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function ax(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function em(e,t){const n=ax(e);return Math.round(t*n)/n}function bu(e){const t=b.useRef(e);return pa(()=>{t.current=e}),t}function Hk(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[d,f]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=b.useState(r);Qa(h,r)||p(r);const[x,y]=b.useState(null),[w,m]=b.useState(null),g=b.useCallback(P=>{P!==C.current&&(C.current=P,y(P))},[]),v=b.useCallback(P=>{P!==T.current&&(T.current=P,m(P))},[]),S=s||x,E=o||w,C=b.useRef(null),T=b.useRef(null),k=b.useRef(d),R=l!=null,A=bu(l),z=bu(i),I=bu(u),K=b.useCallback(()=>{if(!C.current||!T.current)return;const P={placement:t,strategy:n,middleware:h};z.current&&(P.platform=z.current),$k(C.current,T.current,P).then(N=>{const O={...N,isPositioned:I.current!==!1};L.current&&!Qa(k.current,O)&&(k.current=O,go.flushSync(()=>{f(O)}))})},[h,t,n,z,I]);pa(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,f(P=>({...P,isPositioned:!1})))},[u]);const L=b.useRef(!1);pa(()=>(L.current=!0,()=>{L.current=!1}),[]),pa(()=>{if(S&&(C.current=S),E&&(T.current=E),S&&E){if(A.current)return A.current(S,E,K);K()}},[S,E,K,A,R]);const Y=b.useMemo(()=>({reference:C,floating:T,setReference:g,setFloating:v}),[g,v]),$=b.useMemo(()=>({reference:S,floating:E}),[S,E]),_=b.useMemo(()=>{const P={position:n,left:0,top:0};if(!$.floating)return P;const N=em($.floating,d.x),O=em($.floating,d.y);return a?{...P,transform:"translate("+N+"px, "+O+"px)",...ax($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:N,top:O}},[n,a,$.floating,d.x,d.y]);return b.useMemo(()=>({...d,update:K,refs:Y,elements:$,floatingStyles:_}),[d,K,Y,$,_])}const Kk=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Zp({element:r.current,padding:i}).fn(n):{}:r?Zp({element:r,padding:i}).fn(n):{}}}},Gk=(e,t)=>({...Ik(e),options:[e,t]}),Qk=(e,t)=>({...Vk(e),options:[e,t]}),Yk=(e,t)=>({...Bk(e),options:[e,t]}),Xk=(e,t)=>({...Fk(e),options:[e,t]}),qk=(e,t)=>({..._k(e),options:[e,t]}),Jk=(e,t)=>({...zk(e),options:[e,t]}),Zk=(e,t)=>({...Kk(e),options:[e,t]});var eP="Arrow",lx=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return c.jsx(rt.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});lx.displayName=eP;var tP=lx;function nP(e){const[t,n]=b.useState(void 0);return sr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,a=u.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var ux="Popper",[cx,dx]=Sl(ux),[ED,fx]=cx(ux),hx="PopperAnchor",px=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=fx(hx,n),o=b.useRef(null),a=Bt(t,o);return b.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:c.jsx(rt.div,{...i,ref:a})});px.displayName=hx;var Nf="PopperContent",[rP,iP]=cx(Nf),mx=b.forwardRef((e,t)=>{var te,Kr,Sn,hr,En,Gr;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l
vendor: 4,162 bytes, line 161
161=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:x,...y}=e,w=fx(Nf,n),[m,g]=b.useState(null),v=Bt(t,Cn=>g(Cn)),[S,E]=b.useState(null),C=nP(S),T=(C==null?void 0:C.width)??0,k=(C==null?void 0:C.height)??0,R=r+(s!=="center"?"-"+s:""),A=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},z=Array.isArray(u)?u:[u],I=z.length>0,K={padding:A,boundary:z.filter(oP),altBoundary:I},{refs:L,floatingStyles:Y,placement:$,isPositioned:_,middlewareData:P}=Hk({strategy:"fixed",placement:R,whileElementsMounted:(...Cn)=>Ok(...Cn,{animationFrame:p==="always"}),elements:{reference:w.anchor},middleware:[Gk({mainAxis:i+k,alignmentAxis:o}),l&&Qk({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?Yk():void 0,...K}),l&&Xk({...K}),qk({...K,apply:({elements:Cn,rects:Co,availableWidth:_l,availableHeight:To})=>{const{width:zl,height:ts}=Co.reference,Qr=Cn.floating.style;Qr.setProperty("--radix-popper-available-width",`${_l}px`),Qr.setProperty("--radix-popper-available-height",`${To}px`),Qr.setProperty("--radix-popper-anchor-width",`${zl}px`),Qr.setProperty("--radix-popper-anchor-height",`${ts}px`)}}),S&&Zk({element:S,padding:a}),aP({arrowWidth:T,arrowHeight:k}),h&&Jk({strategy:"referenceHidden",...K})]}),[N,O]=vx($),U=ir(x);sr(()=>{_&&(U==null||U())},[_,U]);const B=(te=P.arrow)==null?void 0:te.x,X=(Kr=P.arrow)==null?void 0:Kr.y,J=((Sn=P.arrow)==null?void 0:Sn.centerOffset)!==0,[xe,Le]=b.useState();return sr(()=>{m&&Le(window.getComputedStyle(m).zIndex)},[m]),c.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:_?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[(hr=P.transformOrigin)==null?void 0:hr.x,(En=P.transformOrigin)==null?void 0:En.y].join(" "),...((Gr=P.hide)==null?void 0:Gr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(rP,{scope:n,placedSide:N,onArrowChange:E,arrowX:B,arrowY:X,shouldHideArrow:J,children:c.jsx(rt.div,{"data-side":N,"data-align":O,...y,ref:v,style:{...y.style,animation:_?void 0:"none"}})})})});mx.displayName=Nf;var gx="PopperArrow",sP={top:"bottom",right:"left",bottom:"top",left:"right"},yx=b.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=iP(gx,r),o=sP[s.placedSide];return c.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:c.jsx(tP,{...i,ref:n,style:{...i.style,display:"block"}})})});yx.displayName=gx;function oP(e){return e!==null}var aP=e=>({name:"transformOrigin",options:e,fn(t){var w,m,g;const{placement:n,rects:r,middlewareData:i}=t,o=((w=i.arrow)==null?void 0:w.centerOffset)!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,d]=vx(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((m=i.arrow)==null?void 0:m.x)??0)+a/2,p=(((g=i.arrow)==null?void 0:g.y)??0)+l/2;let x="",y="";return u==="bottom"?(x=o?f:`${h}px`,y=`${-l}px`):u==="top"?(x=o?f:`${h}px`,y=`${r.floating.height+l}px`):u==="right"?(x=`${-l}px`,y=o?f:`${p}px`):u==="left"&&(x=`${r.floating.width+l}px`,y=o?f:`${p}px`),{data:{x,y}}}});function vx(e){const[t,n="center"]=e.split("-");return[t,n]}var lP=px,uP=mx,cP=yx,[Nl,CD]=Sl("Tooltip",[dx]),Rf=dx(),xx="TooltipProvider",dP=700,tm="tooltip.open",[fP,wx]=Nl(xx),bx=e=>{const{__scopeTooltip:t,delayDuration:n=dP,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,o=b.useRef(!0),a=b.useRef(!1),l=b.useRef(0);return b.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),c.jsx(fP,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:b.useCallback(u=>{a.current=u}
vendor: 5,737 bytes, line 161
161,[]),disableHoverableContent:i,children:s})};bx.displayName=xx;var Sx="Tooltip",[TD,Rl]=Nl(Sx),Wc="TooltipTrigger",hP=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Rl(Wc,n),s=wx(Wc,n),o=Rf(n),a=b.useRef(null),l=Bt(t,a,i.onTriggerChange),u=b.useRef(!1),d=b.useRef(!1),f=b.useCallback(()=>u.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),c.jsx(lP,{asChild:!0,...o,children:c.jsx(rt.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:ke(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),d.current=!0)}),onPointerLeave:ke(e.onPointerLeave,()=>{i.onTriggerLeave(),d.current=!1}),onPointerDown:ke(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:ke(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:ke(e.onBlur,i.onClose),onClick:ke(e.onClick,i.onClose)})})});hP.displayName=Wc;var pP="TooltipPortal",[kD,mP]=Nl(pP,{forceMount:void 0}),$i="TooltipContent",Ex=b.forwardRef((e,t)=>{const n=mP($i,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=Rl($i,e.__scopeTooltip);return c.jsx(gf,{present:r||o.open,children:o.disableHoverableContent?c.jsx(Cx,{side:i,...s,ref:t}):c.jsx(gP,{side:i,...s,ref:t})})}),gP=b.forwardRef((e,t)=>{const n=Rl($i,e.__scopeTooltip),r=wx($i,e.__scopeTooltip),i=b.useRef(null),s=Bt(t,i),[o,a]=b.useState(null),{trigger:l,onClose:u}=n,d=i.current,{onPointerInTransitChange:f}=r,h=b.useCallback(()=>{a(null),f(!1)},[f]),p=b.useCallback((x,y)=>{const w=x.currentTarget,m={x:x.clientX,y:x.clientY},g=bP(m,w.getBoundingClientRect()),v=SP(m,g),S=EP(y.getBoundingClientRect()),E=TP([...v,...S]);a(E),f(!0)},[f]);return b.useEffect(()=>()=>h(),[h]),b.useEffect(()=>{if(l&&d){const x=w=>p(w,d),y=w=>p(w,l);return l.addEventListener("pointerleave",x),d.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",x),d.removeEventListener("pointerleave",y)}}},[l,d,p,h]),b.useEffect(()=>{if(o){const x=y=>{const w=y.target,m={x:y.clientX,y:y.clientY},g=(l==null?void 0:l.contains(w))||(d==null?void 0:d.contains(w)),v=!CP(m,o);g?h():v&&(h(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[l,d,o,u,h]),c.jsx(Cx,{...e,ref:s})}),[yP,vP]=Nl(Sx,{isInside:!1}),xP=CE("TooltipContent"),Cx=b.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...a}=e,l=Rl($i,n),u=Rf(n),{onClose:d}=l;return b.useEffect(()=>(document.addEventListener(tm,d),()=>document.removeEventListener(tm,d)),[d]),b.useEffect(()=>{if(l.trigger){const f=h=>{const p=h.target;p!=null&&p.contains(l.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,d]),c.jsx(mf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:c.jsxs(uP,{"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:[c.jsx(xP,{children:r}),c.jsx(yP,{scope:n,isInside:!0,children:c.jsx(YE,{id:l.contentId,role:"tooltip",children:i||r})})]})})});Ex.displayName=$i;var Tx="TooltipArrow",wP=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Rf(n);return vP(Tx,n).isInside?null:c.jsx(cP,{...i,...r,ref:t})});wP.displayName=Tx;function bP(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function SP(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 EP(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function CP(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const a=t[s],l=t[o],u=a.x,d=a.y,f=l.x,h=l.y;d>r!=h>r&&n<(f-u)*(r-d)/(h-d)+u&&(i=!i)}return i}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),kP(t)}function kP(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}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 PP=bx,kx=Ex;const jP=PP,NP=b.forwardRef(({className:e,sideOffset:t=4,...n},r)=>c.jsx(kx,{ref:r,sideOffset:t,className:$r("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
161de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));NP.displayName=kx.displayName;var Al=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 Mt(){}function RP(e,t){return typeof e=="function"?e(t):e}function AP(e){return typeof e=="number"&&e>=0&&e!==1/0}function MP(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Hc(e,t){return typeof e=="function"?e(t):e}function DP(e,t){return typeof e=="function"?e(t):e}function nm(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==Af(o,t.options))return!1}else if(!eo(t.queryKey,o))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||i&&i!==t.state.fetchStatus||s&&!s(t))}function rm(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Zs(t.options.mutationKey)!==Zs(s))return!1}else if(!eo(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Af(e,t){return((t==null?void 0:t.queryKeyHashFn)||Zs)(e)}function Zs(e){return JSON.stringify(e,(t,n)=>Kc(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function eo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>eo(e[n],t[n])):!1}function Px(e,t){if(e===t)return e;const n=im(e)&&im(t);if(n||Kc(e)&&Kc(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{},l=new Set(r);let u=0;for(let d=0;d<o;d++){const f=n?d:s[d];(!n&&l.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,u++):(a[f]=Px(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&u++)}return i===o&&u===i?e:a}return t}function im(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Kc(e){if(!sm(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!sm(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function sm(e){return Object.prototype.toString.call(e)==="[object Object]"}function LP(e){return new Promise(t=>{setTimeout(t,e)})}function OP(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Px(e,t):t}function IP(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function VP(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Mf=Symbol();function jx(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Mf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Tr,Fn,ki,Vg,FP=(Vg=class extends Al{constructor(){super();ee(this,Tr);ee(this,Fn);ee(this,ki);H(this,ki,t=>{if(!Ml&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){j(this,Fn)||this.setEventListener(j(this,ki))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,Fn))==null||t.call(this),H(this,Fn,void 0))}setEventListener(t){var n;H(this,ki,t),(n=j(this,Fn))==null||n.call(this),H(this,Fn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){j(this,Tr)!==t&&(H(this,Tr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof j(this,Tr)=="boolean"?j(this,Tr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Tr=new WeakMap,Fn=new WeakMap,ki=new WeakMap,Vg),Nx=new FP,Pi,_n,ji,Fg,_P=(Fg=class extends Al{constructor(){super();ee(this,Pi,!0);ee(this,_n);ee(this,ji);H(this,ji,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(){j(this,_n)||this.setEventListener(j(this,ji))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,_n))==null||t.call(this),H(this,_n,void 0))}setEventListener(t){var n;
vendor: 4,152 bytes, line 161
161H(this,ji,t),(n=j(this,_n))==null||n.call(this),H(this,_n,t(this.setOnline.bind(this)))}setOnline(t){j(this,Pi)!==t&&(H(this,Pi,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return j(this,Pi)}},Pi=new WeakMap,_n=new WeakMap,ji=new WeakMap,Fg),Ya=new _P;function zP(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function BP(e){return Math.min(1e3*2**e,3e4)}function Rx(e){return(e??"online")==="online"?Ya.isOnline():!0}var Ax=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Su(e){return e instanceof Ax}function Mx(e){let t=!1,n=0,r=!1,i;const s=zP(),o=y=>{var w;r||(h(new Ax(y)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Nx.isFocused()&&(e.networkMode==="always"||Ya.isOnline())&&e.canRun(),d=()=>Rx(e.networkMode)&&e.canRun(),f=y=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,y),i==null||i(),s.resolve(y))},h=y=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,y),i==null||i(),s.reject(y))},p=()=>new Promise(y=>{var w;i=m=>{(r||u())&&y(m)},(w=e.onPause)==null||w.call(e)}).then(()=>{var y;i=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(f).catch(m=>{var C;if(r)return;const g=e.retry??(Ml?0:3),v=e.retryDelay??BP,S=typeof v=="function"?v(n,m):v,E=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,m);if(t||!E){h(m);return}n++,(C=e.onFail)==null||C.call(e,n,m),LP(S).then(()=>u()?void 0:p()).then(()=>{t?h(m):x()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:d,start:()=>(d()?x():p().then(x),s)}}var $P=e=>setTimeout(e,0);function UP(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=$P;const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var We=UP(),kr,_g,Dx=(_g=class{constructor(){ee(this,kr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),AP(this.gcTime)&&H(this,kr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ml?1/0:5*60*1e3))}clearGcTimeout(){j(this,kr)&&(clearTimeout(j(this,kr)),H(this,kr,void 0))}},kr=new WeakMap,_g),Ni,Pr,pt,jr,Fe,lo,Nr,Dt,an,zg,WP=(zg=class extends Dx{constructor(t){super();ee(this,Dt);ee(this,Ni);ee(this,Pr);ee(this,pt);ee(this,jr);ee(this,Fe);ee(this,lo);ee(this,Nr);H(this,Nr,!1),H(this,lo,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,jr,t.client),H(this,pt,j(this,jr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,Ni,KP(this.options)),this.state=t.state??j(this,Ni),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=j(this,Fe))==null?void 0:t.promise}setOptions(t){this.options={...j(this,lo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&j(this,pt).remove(this)}setData(t,n){const r=OP(this.state.data,t,this.options);return Oe(this,Dt,an).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Oe(this,Dt,an).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=j(this,Fe))==null?void 0:r.promise;return(i=j(this,Fe))==null||i.cancel(t),n?n.then(Mt).catch(Mt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(j(this,Ni))}isActive(){return this.observers.some(t=>DP(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Mf||this.state.dataUpdateCount+this.state.errorUpdate
vendor: 1,274 bytes, line 161
161Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Hc(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:!MP(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=j(this,Fe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=j(this,Fe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),j(this,pt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(j(this,Fe)&&(j(this,Nr)?j(this,Fe).cancel({revert:!0}):j(this,Fe).cancelRetry()),this.scheduleGc()),j(this,pt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Oe(this,Dt,an).call(this,{type:"invalidate"})}
vendor: 6,523 bytes, line 161
161fetch(t,n){var u,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(j(this,Fe))return j(this,Fe).continueRetry(),j(this,Fe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(H(this,Nr,!0),r.signal)})},s=()=>{const h=jx(this.options,n),x=(()=>{const y={client:j(this,jr),queryKey:this.queryKey,meta:this.meta};return i(y),y})();return H(this,Nr,!1),this.options.persister?this.options.persister(h,x,this):h(x)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:j(this,jr),state:this.state,fetchFn:s};return i(h),h})();(u=this.options.behavior)==null||u.onFetch(a,this),H(this,Pr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&Oe(this,Dt,an).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const l=h=>{var p,x,y,w;Su(h)&&h.silent||Oe(this,Dt,an).call(this,{type:"error",error:h}),Su(h)||((x=(p=j(this,pt).config).onError)==null||x.call(p,h,this),(w=(y=j(this,pt).config).onSettled)==null||w.call(y,this.state.data,h,this)),this.scheduleGc()};return H(this,Fe,Mx({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,x,y,w;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(m){l(m);return}(x=(p=j(this,pt).config).onSuccess)==null||x.call(p,h,this),(w=(y=j(this,pt).config).onSettled)==null||w.call(y,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,p)=>{Oe(this,Dt,an).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{Oe(this,Dt,an).call(this,{type:"pause"})},onContinue:()=>{Oe(this,Dt,an).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),j(this,Fe).start()}},Ni=new WeakMap,Pr=new WeakMap,pt=new WeakMap,jr=new WeakMap,Fe=new WeakMap,lo=new WeakMap,Nr=new WeakMap,Dt=new WeakSet,an=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,...HP(r.data,this.options),fetchMeta:t.meta??null};case"success":return H(this,Pr,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 i=t.error;return Su(i)&&i.revert&&j(this,Pr)?{...j(this,Pr),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,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()}),j(this,pt).notify({query:this,type:"updated",action:t})})},zg);function HP(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Rx(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function KP(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 Gt,Bg,GP=(Bg=class extends Al{constructor(t={}){super();ee(this,Gt);this.config=t,H(this,Gt,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??Af(i,n);let o=this.get(s);return o||(o=new WP({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){j(this,Gt).has(t.queryHash)||(j(this,Gt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=j(this,Gt).get(t.queryHash);n&&(t.destroy(),n===t&&j(this,Gt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){We.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return j(this,Gt).get(t)}getAll(){return[...j(this,Gt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>nm(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>nm(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()})})}},Gt=new WeakMap,Bg),Qt,$e,Rr,Yt,An,$g,QP=($g=class extends Dx{constructor(t){super();ee(this,Yt);ee(this,Qt);ee(this,$e);ee(this,Rr);this.mutationId=t.mutationId,H(this,$e,t.mutationCache),H(this,Qt,[]),this.state=t.state||YP(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){j(this,Qt).includes(t)||(j(this,Qt).push(t),this.clearGcTimeout(),j(this,$e).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Qt,j(this,Qt).filter(n=>n!==t)),this.scheduleGc(),j(this,$e).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){j(this,Qt).length||(this.state.status==="pending"?this.scheduleGc():j(this,$e).remove(this))}continue(){var t;return((t=j(this,Rr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,a,l,u,d,f,h,p,x,y,w,m,g,v,S,E,C,T,k;const n=()=>{Oe(this,Yt,An).call(this,{type:"continue"})};H(this,Rr,Mx({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(R,A)=>{Oe(this,Yt,An).call(this,{type:"failed",failureCount:R,error:A})},onPause:()=>{Oe(this,Yt,An).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>j(this,$e).canRun(this)}));const r=this.state.status==="pending",i=!j(this,Rr).canStart();try{if(r)n();else{Oe(this,Yt,An).call(this,{type:"pending",variables:t,isPaused:i}),await((o=(s=j(this,$e).config).onMutate)==null?void 0:o.call(s,t,this));
161const A=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));A!==this.state.context&&Oe(this,Yt,An).call(this,{type:"pending",context:A,variables:t,isPaused:i})}const R=await j(this,Rr).start();return await((d=(u=j(this,$e).config).onSuccess)==null?void 0:d.call(u,R,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,R,t,this.state.context)),await((x=(p=j(this,$e).config).onSettled)==null?void 0:x.call(p,R,null,this.state.variables,this.state.context,this)),await((w=(y=this.options).onSettled)==null?void 0:w.call(y,R,null,t,this.state.context)),Oe(this,Yt,An).call(this,{type:"success",data:R}),R}catch(R){try{throw await((g=(m=j(this,$e).config).onError)==null?void 0:g.call(m,R,t,this.state.context,this)),await((S=(v=this.options).onError)==null?void 0:S.call(v,R,t,this.state.context)),await((C=(E=j(this,$e).config).onSettled)==null?void 0:C.call(E,void 0,R,this.state.variables,this.state.context,this)),await((k=(T=this.options).onSettled)==null?void 0:k.call(T,void 0,R,t,this.state.context)),R}finally{Oe(this,Yt,An).call(this,{type:"error",error:R})}}finally{j(this,$e).runNext(this)}}},Qt=new WeakMap,$e=new WeakMap,Rr=new WeakMap,Yt=new WeakSet,An=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(()=>{j(this,Qt).forEach(r=>{r.onMutationUpdate(t)}),j(this,$e).notify({mutation:this,type:"updated",action:t})})},$g);function YP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var cn,Lt,uo,Ug,XP=(Ug=class extends Al{constructor(t={}){super();ee(this,cn);ee(this,Lt);ee(this,uo);this.config=t,H(this,cn,new Set),H(this,Lt,new Map),H(this,uo,0)}build(t,n,r){const i=new QP({mutationCache:this,mutationId:++Po(this,uo)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){j(this,cn).add(t);const n=Yo(t);if(typeof n=="string"){const r=j(this,Lt).get(n);r?r.push(t):j(this,Lt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(j(this,cn).delete(t)){const n=Yo(t);if(typeof n=="string"){const r=j(this,Lt).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&j(this,Lt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Yo(t);if(typeof n=="string"){const r=j(this,Lt).get(n),i=r==null?void 0:r.find(s=>s.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=Yo(t);if(typeof n=="string"){const i=(r=j(this,Lt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){We.batch(()=>{j(this,cn).forEach(t=>{this.notify({type:"removed",mutation:t})}),j(this,cn).clear(),j(this,Lt).clear()})}getAll(){return Array.from(j(this,cn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>rm(n,r))}findAll(t={}){return this.getAll().filter(n=>rm(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(Mt))))}},cn=new WeakMap,Lt=new WeakMap,uo=new WeakMap,Ug);function Yo(e){var t;return(t=e.options.scope)==null?void 0:t.id}function om(e){return{onFetch:(t,n)=>{var d,f,h,p,x;const r=t.options,i=(h=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],o=((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: 7,914 bytes, lines 161-170
161)},m=jx(t.options,t.fetchOptions),g=async(v,S,E)=>{if(y)return Promise.reject();if(S==null&&v.pages.length)return Promise.resolve(v);const T=(()=>{const z={client:t.client,queryKey:t.queryKey,pageParam:S,direction:E?"backward":"forward",meta:t.options.meta};return w(z),z})(),k=await m(T),{maxPages:R}=t.options,A=E?VP:IP;return{pages:A(v.pages,k,R),pageParams:A(v.pageParams,S,R)}};if(i&&s.length){const v=i==="backward",S=v?qP:am,E={pages:s,pageParams:o},C=S(r,E);a=await g(E,C,v)}else{const v=e??s.length;do{const S=l===0?o[0]??r.initialPageParam:am(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 am(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 qP(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 ge,zn,Bn,Ri,Ai,$n,Mi,Di,Wg,JP=(Wg=class{constructor(e={}){ee(this,ge);ee(this,zn);ee(this,Bn);ee(this,Ri);ee(this,Ai);ee(this,$n);ee(this,Mi);ee(this,Di);H(this,ge,e.queryCache||new GP),H(this,zn,e.mutationCache||new XP),H(this,Bn,e.defaultOptions||{}),H(this,Ri,new Map),H(this,Ai,new Map),H(this,$n,0)}mount(){Po(this,$n)._++,j(this,$n)===1&&(H(this,Mi,Nx.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,ge).onFocus())})),H(this,Di,Ya.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,ge).onOnline())})))}unmount(){var e,t;Po(this,$n)._--,j(this,$n)===0&&((e=j(this,Mi))==null||e.call(this),H(this,Mi,void 0),(t=j(this,Di))==null||t.call(this),H(this,Di,void 0))}isFetching(e){return j(this,ge).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return j(this,zn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=j(this,ge).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=j(this,ge).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Hc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return j(this,ge).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=j(this,ge).get(r.queryHash),s=i==null?void 0:i.state.data,o=RP(t,s);if(o!==void 0)return j(this,ge).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return We.batch(()=>j(this,ge).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=j(this,ge).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=j(this,ge);We.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=j(this,ge);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(()=>j(this,ge).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Mt).catch(Mt)}invalidateQueries(e,t={}){return We.batch(()=>(j(this,ge).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(()=>j(this,ge).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(Mt)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Mt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=j(this,ge).build(this,t);return n.isStaleByTime(Hc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Mt).catch(Mt)}fetchInfiniteQuery(e){return e.behavior=om(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Mt).catch(Mt)}ensureInfiniteQueryData(e){return e.behavior=om(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ya.isOnline()?j(this,zn).resumePausedMutations():Promise.resolve()}getQueryCache(){return j(this,ge)}getMutationCache(){return j(this,zn)}getDefaultOptions(){return j(this,Bn)}setDefaultOptions(e){H(this,Bn,e)}setQueryDefaults(e,t){j(this,Ri).set(Zs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...j(this,Ri).values()],n={};return t.forEach(r=>{eo(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){j(this,Ai).set(Zs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...j(this,Ai).values()],n={};return t.forEach(r=>{eo(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...j(this,Bn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Af(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===Mf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...j(this,Bn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){j(this,ge).clear(),j(this,zn).clear()}},ge=new WeakMap,zn=new WeakMap,Bn=new WeakMap,Ri=new WeakMap,Ai=new WeakMap,$n=new WeakMap,Mi=new WeakMap,Di=new WeakMap,Wg),ZP=b.createContext(void 0),e2=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),c.jsx(ZP.Provider,{value:e,children:t}));/** 162 * @remix-run/router v1.23.0 163 * 164 * Copyright (c) Remix Software Inc. 165 * 166 * This source code is licensed under the MIT license found in the 167 * LICENSE.md file in the root directory of this source tree. 168 * 169 * @license MIT 170 */function to(){return to=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},to.apply(this,arguments)}var Hn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Hn||(Hn={}));const lm="popstate";function t2(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return Gc("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Xa(i)}return r2(t,n,null,e)}function Se(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Lx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function n2(){return Math.random().toString(36).substr(2,8)}function um(e,t){return{usr:e.state,key:e.key,idx:t}}function Gc(e,t,n,r){return n===void 0&&(n=null),to({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?qi(t):t,{state:n,key:t&&t.key||r||n2()})}function Xa(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 qi(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 r2(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=Hn.Pop,l=null,u=d();u==null&&(u=0,o.replaceState(to({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function f(){a=Hn.Pop;let w=d(),m=w==null?null:w-u;u=w,l&&l({action:a,location:y.location,delta:m})}function h(w,m){a=Hn.Push;let g=Gc(y.location,w,m);u=d()+1;let v=um(g,u),S=y.createHref(g);try{o.pushState(v,"",S)}
vendor: 3,324 bytes, line 170
170catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(S)}s&&l&&l({action:a,location:y.location,delta:1})}function p(w,m){a=Hn.Replace;let g=Gc(y.location,w,m);u=d();let v=um(g,u),S=y.createHref(g);o.replaceState(v,"",S),s&&l&&l({action:a,location:y.location,delta:0})}function x(w){let m=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof w=="string"?w:Xa(w);return g=g.replace(/ $/,"%20"),Se(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(i,o)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(lm,f),l=w,()=>{i.removeEventListener(lm,f),l=null}},createHref(w){return t(i,w)},createURL:x,encodeLocation(w){let m=x(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:h,replace:p,go(w){return o.go(w)}};return y}var cm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(cm||(cm={}));function i2(e,t,n){return n===void 0&&(n="/"),s2(e,t,n,!1)}function s2(e,t,n,r){let i=typeof t=="string"?qi(t):t,s=Df(i.pathname||"/",n);if(s==null)return null;let o=Ox(e);o2(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let u=y2(s);a=m2(o[l],u,r)}return a}function Ox(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(Se(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=tr([r,l.relativePath]),d=n.concat(l);s.children&&s.children.length>0&&(Se(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Ox(s.children,t,d,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:h2(u,s.index),routesMeta:d})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of Ix(s.path))i(s,o,l)}),t}function Ix(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=Ix(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function o2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:p2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const a2=/^:[\w-]+$/,l2=3,u2=2,c2=1,d2=10,f2=-2,dm=e=>e==="*";function h2(e,t){let n=e.split("/"),r=n.length;return n.some(dm)&&(r+=f2),t&&(r+=u2),n.filter(i=>!dm(i)).reduce((i,s)=>i+(a2.test(s)?l2:s===""?c2:d2),r)}function p2(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function m2(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,d=s==="/"?t:t.slice(s.length)||"/",f=fm({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},d),h=l.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=fm({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!f)return null;
vendor: 13,850 bytes, lines 170-188
170Object.assign(i,f.params),o.push({params:i,pathname:tr([s,f.pathname]),pathnameBase:b2(tr([s,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(s=tr([s,f.pathnameBase]))}return o}function fm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=g2(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:h,isOptional:p}=d;if(h==="*"){let y=a[f]||"";o=s.slice(0,s.length-y.length).replace(/(.)\/+$/,"$1")}const x=a[f];return p&&!x?u[h]=void 0:u[h]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function g2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Lx(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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function y2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Lx(!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 Df(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function v2(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?qi(e):e;return{pathname:n?n.startsWith("/")?n:x2(n,t):t,search:S2(r),hash:E2(i)}}function x2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Eu(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function w2(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Vx(e,t){let n=w2(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Fx(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=qi(e):(i=to({},e),Se(!i.pathname||!i.pathname.includes("?"),Eu("?","pathname","search",i)),Se(!i.pathname||!i.pathname.includes("#"),Eu("#","pathname","hash",i)),Se(!i.search||!i.search.includes("#"),Eu("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),f-=1;i.pathname=h.join("/")}a=f>=0?t[f]:"/"}let l=v2(i,a),u=o&&o!=="/"&&o.endsWith("/"),d=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const tr=e=>e.join("/").replace(/\/\/+/g,"/"),b2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),S2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,E2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function C2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const _x=["post","put","patch","delete"];new Set(_x);const T2=["get",..._x];new Set(T2);/** 171 * React Router v6.30.1 172 * 173 * Copyright (c) Remix Software Inc. 174 * 175 * This source code is licensed under the MIT license found in the 176 * LICENSE.md file in the root directory of this source tree. 177 * 178 * @license MIT 179 */function no(){return no=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},no.apply(this,arguments)}const Lf=b.createContext(null),k2=b.createContext(null),Ur=b.createContext(null),Dl=b.createContext(null),Wr=b.createContext({outlet:null,matches:[],isDataRoute:!1}),zx=b.createContext(null);function P2(e,t){let{relative:n}=t===void 0?{}:t;xo()||Se(!1);let{basename:r,navigator:i}=b.useContext(Ur),{hash:s,pathname:o,search:a}=$x(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:tr([r,o])),i.createHref({pathname:l,search:a,hash:s})}function xo(){return b.useContext(Dl)!=null}function Hr(){return xo()||Se(!1),b.useContext(Dl).location}function Bx(e){b.useContext(Ur).static||b.useLayoutEffect(e)}function j2(){let{isDataRoute:e}=b.useContext(Wr);return e?B2():N2()}function N2(){xo()||Se(!1);let e=b.useContext(Lf),{basename:t,future:n,navigator:r}=b.useContext(Ur),{matches:i}=b.useContext(Wr),{pathname:s}=Hr(),o=JSON.stringify(Vx(i,n.v7_relativeSplatPath)),a=b.useRef(!1);return Bx(()=>{a.current=!0}),b.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=Fx(u,JSON.parse(o),s,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:tr([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,o,s,e])}function $x(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(Ur),{matches:i}=b.useContext(Wr),{pathname:s}=Hr(),o=JSON.stringify(Vx(i,r.v7_relativeSplatPath));return b.useMemo(()=>Fx(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function R2(e,t){return A2(e,t)}function A2(e,t,n,r){xo()||Se(!1);let{navigator:i}=b.useContext(Ur),{matches:s}=b.useContext(Wr),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Hr(),d;if(t){var f;let w=typeof t=="string"?qi(t):t;l==="/"||(f=w.pathname)!=null&&f.startsWith(l)||Se(!1),d=w}else d=u;let h=d.pathname||"/",p=h;if(l!=="/"){let w=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let x=i2(e,{pathname:p}),y=I2(x&&x.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:tr([l,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:tr([l,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&y?b.createElement(Dl.Provider,{value:{location:no({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Hn.Pop}},y):y}function M2(){let e=z2(),t=C2(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:i},n):null,null)}const D2=b.createElement(M2,null);class L2 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(Wr.Provider,{value:this.props.routeContext},b.createElement(zx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function O2(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(Lf);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Wr.Provider,{value:t},r)}function I2(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let d=o.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||Se(!1),o=o.slice(0,Math.min(o.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<o.length;d++){let f=o[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:h,errors:p}=n,x=f.route.loader&&h[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||x){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,f,h)=>{let p,x=!1,y=null,w=null;n&&(p=a&&f.route.id?a[f.route.id]:void 0,y=f.route.errorElement||D2,l&&(u<0&&h===0?(x=!0,w=null):u===h&&(x=!0,w=f.route.hydrateFallbackElement||null)));let m=t.concat(o.slice(0,h+1)),g=()=>{let v;return p?v=y:x?v=w:f.route.Component?v=b.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=d,b.createElement(O2,{match:f,routeContext:{outlet:d,matches:m,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?b.createElement(L2,{location:n.location,revalidation:n.revalidation,component:y,error:p,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var Ux=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ux||{}),qa=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}(qa||{});function V2(e){let t=b.useContext(Lf);return t||Se(!1),t}function F2(e){let t=b.useContext(k2);return t||Se(!1),t}function _2(e){let t=b.useContext(Wr);return t||Se(!1),t}function Wx(e){let t=_2(),n=t.matches[t.matches.length-1];return n.route.id||Se(!1),n.route.id}function z2(){var e;let t=b.useContext(zx),n=F2(qa.UseRouteError),r=Wx(qa.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function B2(){let{router:e}=V2(Ux.UseNavigateStable),t=Wx(qa.UseNavigateStable),n=b.useRef(!1);return Bx(()=>{n.current=!0}),b.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,no({fromRouteId:t},s)))},[e,t])}function $2(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function ht(e){Se(!1)}function U2(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Hn.Pop,navigator:s,static:o=!1,future:a}=e;xo()&&Se(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:s,static:o,future:no({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r=="string"&&(r=qi(r));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:x="default"}=r,y=b.useMemo(()=>{let w=Df(d,l);return w==null?null:{location:{pathname:w,search:f,hash:h,state:p,key:x},navigationType:i}},[l,d,f,h,p,x,i]);return y==null?null:b.createElement(Ur.Provider,{value:u},b.createElement(Dl.Provider,{children:n,value:y}))}function W2(e){let{children:t,location:n}=e;return R2(Qc(t),n)}new Promise(()=>{});function Qc(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,i)=>{if(!b.isValidElement(r))return;let s=[...t,i];if(r.type===b.Fragment){n.push.apply(n,Qc(r.props.children,s));return}r.type!==ht&&Se(!1),!r.props.index||!r.props.children||Se(!1);let o={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Qc(r.props.children,s)),n.push(o)}),n}/** 180 * React Router DOM v6.30.1 181 * 182 * Copyright (c) Remix Software Inc. 183 * 184 * This source code is licensed under the MIT license found in the 185 * LICENSE.md file in the root directory of this source tree. 186 * 187 * @license MIT 188 */function Yc(){return Yc=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},Yc.apply(this,arguments)}function H2(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function K2(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function G2(e,t){return e.button===0&&(!t||t==="_self")&&!K2(e)}const Q2=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Y2="6";try{window.__reactRouterVersion=Y2}catch{}const X2="startTransition",hm=ny[X2];function q2(e){let{basename:t,children:n,future:r,window:i}=e,s=b.useRef();s.current==null&&(s.current=t2({window:i,v5Compat:!0}));let o=s.current,[a,l]=b.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=b.useCallback(f=>{u&&hm?hm(()=>l(f)):l(f)},[l,u]);return b.useLayoutEffect(()=>o.listen(d),[o,d]),b.useEffect(()=>$2(r),[r]),b.createElement(U2,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const J2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Z2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,He=b.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:l,to:u,preventScrollReset:d,viewTransition:f}
188=t,h=H2(t,Q2),{basename:p}=b.useContext(Ur),x,y=!1;if(typeof u=="string"&&Z2.test(u)&&(x=u,J2))try{let v=new URL(window.location.href),S=u.startsWith("//")?new URL(v.protocol+u):new URL(u),E=Df(S.pathname,p);S.origin===v.origin&&E!=null?u=E+S.search+S.hash:y=!0}catch{}let w=P2(u,{relative:i}),m=ej(u,{replace:o,state:a,target:l,preventScrollReset:d,relative:i,viewTransition:f});function g(v){r&&r(v),v.defaultPrevented||m(v)}return b.createElement("a",Yc({},h,{href:x||w,onClick:y||s?r:g,ref:n,target:l}))});var pm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(pm||(pm={}));var mm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(mm||(mm={}));function ej(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,l=j2(),u=Hr(),d=$x(e,{relative:o});return b.useCallback(f=>{if(G2(f,n)){f.preventDefault();let h=r!==void 0?r:Xa(u)===Xa(d);l(e,{replace:h,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[u,l,d,r,i,n,e,s,o,a])}const hs=({activityUuid:e})=>{const t=b.useRef(null);return b.useEffect(()=>{if(t.current){t.current.innerHTML="";const n=document.createElement("guidap-booking-widget");n.setAttribute("activity-uuid",e),t.current.appendChild(n)}},[e]),c.jsx("div",{ref:t})},Hx=b.createContext({openBooking:()=>{}}),Kx=()=>b.useContext(Hx),tj=({children:e})=>{const[t,n]=b.useState(!1),r=()=>{n(!0)};return c.jsxs(Hx.Provider,{value:{openBooking:r},children:[e,c.jsx("div",{className:`fixed inset-0 z-[100] bg-black/60 flex items-center justify-center p-4 transition-opacity ${t?"opacity-100 visible":"opacity-0 invisible pointer-events-none"}`,onClick:()=>n(!1),children:c.jsxs("div",{className:"bg-white rounded-2xl w-full max-w-5xl max-h-[90vh] overflow-y-auto relative",onClick:i=>i.stopPropagation(),children:[c.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-border sticky top-0 bg-white rounded-t-2xl z-10",children:[c.jsx("span",{className:"font-display text-2xl tracking-wider text-foreground",children:"Réservation"}),c.jsx("button",{onClick:()=>n(!1),className:"p-2 rounded-lg hover:bg-muted transition-colors text-foreground",children:c.jsx(Tl,{size:24})})]}),c.jsx("div",{className:"p-6",children:t&&c.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[c.jsx(hs,{activityUuid:"Nol54KvmUOcxZRpADgFQd2Wazq7hXkrfJ6eM"}),c.jsx(hs,{activityUuid:"FL3EZCcViIsP4NtQ9ABqU5XfO60S2lGjhzey"}),c.jsx(hs,{activityUuid:"h1aONb4sPdBmpKLk2Z5vAeGVWHcqft9rR7ui"}),c.jsx(hs,{activityUuid:"C0jTmRxZy7AGuNUwPnBcM3lhsKzvSet42afk"}),c.jsx(hs,{activityUuid:"x4rONjhDc3XpfonVWQs9RJdk12MZKSFlvGwa"})]})})]})})]})},nj=()=>{const{pathname:e}=Hr();return b.useEffect(()=>{window.scrollTo(0,0)},[e]),null},Of="/assets/logo-ews-Cs5C-4mP.png",gm=[{label:"Accueil",to:"/"},{label:"Activités",to:"/activites"},{label:"Cartes Cadeaux",to:"/cartes-cadeaux"},{label:"Contact",to:"/contact"}],rj=()=>{const[e,t]=b.useState(!1),n=Hr();return Kx(),c.jsxs("nav",{className:"fixed top-0 left-0 right-0 z-50 bg-background/80 backdrop-blur-lg border-b border-border",children:[c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs("div",{className:"flex items-center justify-between h-20",children:[c.jsx(He,{to:"/",className:"flex items-center gap-3",children:c.jsx("img",{src:Of,alt:"EWS Saint-Malo",className:"h-14 w-auto"})}),c.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[gm.map(r=>c.jsx(He,{to:r.to,className:`text-sm font-semibold tracking-wide uppercase transition-colors hover:text-primary ${n.pathname===r.to?"text-primary":"text-foreground/80"}`,children:r.label},r.to)),c.jsx("guidap-reserve-button",{children:"Réserver"}),c.jsx("guidap-cart-button",{})]}),c.jsx("button",{onClick:()=>t(!e),className:"md:hidden text-foreground",children:e?c.jsx(Tl,{size:28}):c.jsx(TC,{size:28})})]})}),e&&c.jsx("div",{className:"md:hidden bg-background/95 backdrop-blur-lg border-t border-border",children:c.jsxs("div",{className:"px-4 py-6 space-y-4",children:[gm.map(r=>c.jsx(He,{to:r.to,onClick:()=>t(!1),className:`block text-lg font-semibold uppercase tracking-wide transition-colors ${n.pathname===r.to?"text-primary":"text-foreground
vendor: 5,404 bytes, line 188
188/80"}`,children:r.label},r.to)),c.jsx("guidap-reserve-button",{className:"block w-full",children:"Réserver"}),c.jsx("guidap-cart-button",{})]})})]})},ij=()=>c.jsx("footer",{className:"bg-card border-t border-border",children:c.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-16",children:[c.jsxs("div",{className:"grid md:grid-cols-4 gap-12",children:[c.jsxs("div",{children:[c.jsx("img",{src:Of,alt:"EWS Saint-Malo",className:"h-20 w-auto mb-4"}),c.jsx("p",{className:"text-muted-foreground text-sm",children:"Base nautique Jet ski, Bouée tractée et Excursion à Saint-Malo"})]}),c.jsxs("div",{children:[c.jsx("h4",{className:"text-lg tracking-wider mb-4 text-primary",children:"Navigation"}),c.jsx("div",{className:"space-y-2",children:[{label:"Accueil",to:"/"},{label:"Activités",to:"/activites"},{label:"EVG / EVJF",to:"/evg-evjf"},{label:"Cartes Cadeaux",to:"/cartes-cadeaux"},{label:"Contact",to:"/contact"}].map(e=>c.jsx(He,{to:e.to,className:"block text-muted-foreground hover:text-primary transition-colors text-sm",children:e.label},e.to))})]}),c.jsxs("div",{children:[c.jsx("h4",{className:"text-lg tracking-wider mb-4 text-primary",children:"Contact"}),c.jsxs("div",{className:"space-y-3 text-sm text-muted-foreground",children:[c.jsxs("a",{href:"https://www.google.com/maps/search/?api=1&query=Gare+Maritime+de+la+Bourse,+Saint-Malo",target:"_blank",rel:"noopener noreferrer",className:"flex items-start gap-2 hover:text-primary transition-colors",children:[c.jsx(_0,{size:16,className:"text-primary shrink-0 mt-0.5"}),"Gare Maritime de la Bourse, Saint-Malo"]}),c.jsxs("p",{className:"flex items-center gap-2",children:[c.jsx(z0,{size:16,className:"text-primary"}),c.jsx("a",{href:"tel:+33783392448",className:"hover:text-primary transition-colors",children:"07 83 39 24 48"})]}),c.jsxs("p",{className:"flex items-center gap-2",children:[c.jsx(F0,{size:16,className:"text-primary"}),c.jsx("a",{href:"mailto:[email protected]",className:"hover:text-primary transition-colors",children:"[email protected]"})]})]})]}),c.jsxs("div",{children:[c.jsx("h4",{className:"text-lg tracking-wider mb-4 text-primary",children:"Suivez-nous"}),c.jsxs("div",{className:"flex gap-4",children:[c.jsx("a",{href:"https://www.facebook.com/ewssaintmalo",target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-lg bg-secondary flex items-center justify-center text-muted-foreground hover:text-primary hover:bg-primary/10 transition-colors",children:c.jsx(I0,{size:20})}),c.jsx("a",{href:"https://www.instagram.com/ewssaintmalo/",target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-lg bg-secondary flex items-center justify-center text-muted-foreground hover:text-primary hover:bg-primary/10 transition-colors",children:c.jsx(V0,{size:20})})]})]})]}),c.jsxs("div",{className:"mt-12 pt-8 border-t border-border text-center text-muted-foreground text-sm space-y-2",children:[c.jsxs("div",{className:"flex justify-center gap-4",children:[c.jsx(He,{to:"/cgv",className:"hover:text-primary transition-colors",children:"CGV"}),c.jsx("span",{children:"·"}),c.jsx(He,{to:"/mentions-legales",className:"hover:text-primary transition-colors",children:"Mentions légales"})]}),c.jsx("p",{children:"© 2026 EWS Jet Ski Saint-Malo â Tous droits réservés"})]})]})}),If=b.createContext({});function Vf(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Gx=typeof window<"u",Qx=Gx?b.useLayoutEffect:b.useEffect,Ll=b.createContext(null);function Ff(e,t){e.indexOf(t)===-1&&e.push(t)}function Ja(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const rn=(e,t,n)=>n>t?t:n<e?e:n;let Ol=()=>{},Ui=()=>{};const wn={},Yx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Xx(e){return typeof e=="object"&&e!==null}const qx=e=>/^0[^.\s]+$/u.test(e);function Jx(e){let t;return()=>(t===void 0&&(t=e()),t)}const wt=e=>e,sj=(e,t)=>n=>t(e(n)),wo=(...e)=>e.reduce(sj),ro=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class _f{constructor(){this.subscriptions=[]}add(t){return Ff(this.subscriptions,t),()=>Ja(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const bt=e=>e*1e3,vt=e=>e/1e3;function Zx(e,t){return t?e*(1e3/t):0}const ew=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,oj=1e-7,aj=12;function lj(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=ew(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>oj&&++a<aj);return o}function bo(e,t,n,r){if(e===t&&n===r)return wt;const i=s=>lj(s,0,1,e,n);return s=>s===0||s===1?s:ew(i(s),t,r)}const tw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,nw=e=>t=>1-e(1-t),rw=bo(.33,1.53,.69,.99),zf=nw(rw),iw=tw(zf),sw=e=>(e*=2)<1?.5*zf(e):.5*(2-Math.pow(2,-10*(e-1))),Bf=e=>1-Math.sin(Math.acos(e)),ow=nw(Bf),aw=tw(Bf),uj=bo(.42,0,1,1),cj=bo(0,0,.58,1),lw=bo(.42,0,.58,1),dj=e=>Array.isArray(e)&&typeof e[0]!="number",uw=e=>Array.isArray(e)&&typeof e[0]=="number",ym={linear:wt,easeIn:uj,easeInOut:lw,easeOut:cj,circIn:Bf,circInOut:aw,circOut:ow,backIn:zf,backInOut:iw,backOut:rw,anticipate:sw},fj=e=>typeof e=="string",vm=e=>{if(uw(e)){Ui(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return bo(t,n,r,i)}else if(fj(e))return Ui(ym[e]!==void 0,`Invalid easing type '${e}
188'`,"invalid-easing-type"),ym[e];return e},Xo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],xm={value:null,addProjectionMetrics:null};function hj(e,t){let n=new Set,r=new Set,i=!1,s=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(f){o.has(f)&&(d.schedule(f),e()),l++,f(a)}const d={schedule:(f,h=!1,p=!1)=>{const y=p&&i?n:r;return h&&o.add(f),y.has(f)||y.add(f),f},cancel:f=>{r.delete(f),o.delete(f)},process:f=>{if(a=f,i){s=!0;return}i=!0,[n,r]=[r,n],n.forEach(u),t&&xm.value&&xm.value.frameloop[t].push(l),l=0,n.clear(),i=!1,s&&(s=!1,d.process(f))}};return d}const pj=40;function cw(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=Xo.reduce((v,S)=>(v[S]=hj(s,t?S:void 0),v),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:d,update:f,preRender:h,render:p,postRender:x}=o,y=()=>{const v=wn.useManualTiming?i.timestamp:performance.now();n=!1,wn.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(v-i.timestamp,pj),1)),i.timestamp=v,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),d.process(i),f.process(i),h.process(i),p.process(i),x.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(y))},w=()=>{n=!0,r=!0,i.isProcessing||e(y)};return{schedule:Xo.reduce((v,S)=>{const E=o[S];return v[S]=(C,T=!1,k=!1)=>(n||w(),E.schedule(C,T,k)),v},{}),cancel:v=>{for(let S=0;S<Xo.length;S++)o[Xo[S]].cancel(v)},state:i,steps:o}}const{schedule:se,cancel:lr,state:Ae,steps:Cu}=cw(typeof requestAnimationFrame<"u"?requestAnimationFrame:wt,!0);let ma;function mj(){ma=void 0}const Ke={now:()=>(ma===void 0&&Ke.set(Ae.isProcessing||wn.useManualTiming?Ae.timestamp:performance.now()),ma),set:e=>{ma=e,queueMicrotask(mj)}},dw=e=>t=>typeof t=="string"&&t.startsWith(e),fw=dw("--"),gj=dw("var(--"),$f=e=>gj(e)?yj.test(e.split("/*")[0].trim()):!1,yj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function wm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Ji={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},io={...Ji,transform:e=>rn(0,1,e)},qo={...Ji,default:1},Rs=e=>Math.round(e*1e5)/1e5,Uf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function vj(e){return e==null}const xj=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Wf=(e,t)=>n=>!!(typeof n=="string"&&xj.test(n)&&n.startsWith(e)||t&&!vj(n)&&Object.prototype.hasOwnProperty.call(n,t)),hw=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(Uf);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},wj=e=>rn(0,255,e),Tu={...Ji,transform:e=>Math.round(wj(e))},Er={test:Wf("rgb","red"),parse:hw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Tu.transform(e)+", "+Tu.transform(t)+", "+Tu.transform(n)+", "+Rs(io.transform(r))+")"};function bj(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Xc={test:Wf("#"),parse:bj,transform:Er.transform},So=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Mn=So("deg"),tn=So("%"),F=So("px"),Sj=So("vh"),Ej=So("vw"),bm={...tn,parse:e=>tn.parse(e)/100,transform:e=>tn.transform(e*100)},fi={test:Wf("hsl","hue"),parse:hw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+tn.transform(Rs(t))+", "+tn.transform(Rs(n))+", "+Rs(io.transform(r))+")"},we={test:e=>Er.test(e)||Xc.test(e)||fi.test(e),parse:e=>Er.test(e)?Er.parse(e):fi.test(e)?fi.parse(e):Xc.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Er.transform(e):fi.transform(e),getAnimatableNone:e=>{const t=we.parse(e);return t.alpha=0,we.transform(t)}},Cj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Tj(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Uf))==null?void 0:t.length)||0)+(((n=e.match(Cj))==null?void 0:n.length)||0)>0}const pw="number",mw="color",kj="var",Pj="var(",Sm="${}",jj=/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 so(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(jj,l=>(we.test(l)?(r.color.push(s),i.push(mw),n.push(we.parse(l))):l.startsWith(Pj)?(r.var.push(s),i.push(kj),n.push(l)):(r.number.push(s),i.push(pw),n.push(parseFloat(l))),++s,Sm)).split(Sm);return{values:n,split:a,indexes:r,types:i}}function gw(e){return so(e).values}function yw(e){const{split:t,types:n}=so(e),r=t.length;return i=>{let s="";for(let o=0;o<r;o++)if(s+=t[o],i[o]!==void 0){const a=n[o];
vendor: 22,042 bytes, line 188
188a===pw?s+=Rs(i[o]):a===mw?s+=we.transform(i[o]):s+=i[o]}return s}}const Nj=e=>typeof e=="number"?0:we.test(e)?we.getAnimatableNone(e):e;function Rj(e){const t=gw(e);return yw(e)(t.map(Nj))}const _t={test:Tj,parse:gw,createTransformer:yw,getAnimatableNone:Rj};function ku(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 Aj({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=ku(l,a,e+1/3),s=ku(l,a,e),o=ku(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function Za(e,t){return n=>n>0?t:e}const he=(e,t,n)=>e+(t-e)*n,Pu=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Mj=[Xc,Er,fi],Dj=e=>Mj.find(t=>t.test(e));function Em(e){const t=Dj(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===fi&&(n=Aj(n)),n}const Cm=(e,t)=>{const n=Em(e),r=Em(t);if(!n||!r)return Za(e,t);const i={...n};return s=>(i.red=Pu(n.red,r.red,s),i.green=Pu(n.green,r.green,s),i.blue=Pu(n.blue,r.blue,s),i.alpha=he(n.alpha,r.alpha,s),Er.transform(i))},qc=new Set(["none","hidden"]);function Lj(e,t){return qc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Oj(e,t){return n=>he(e,t,n)}function Hf(e){return typeof e=="number"?Oj:typeof e=="string"?$f(e)?Za:we.test(e)?Cm:Fj:Array.isArray(e)?vw:typeof e=="object"?we.test(e)?Cm:Ij:Za}function vw(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>Hf(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function Ij(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Hf(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function Vj(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],o=e.indexes[s][r[s]],a=e.values[o]??0;n[i]=a,r[s]++}return n}const Fj=(e,t)=>{const n=_t.createTransformer(t),r=so(e),i=so(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?qc.has(e)&&!i.values.length||qc.has(t)&&!r.values.length?Lj(e,t):wo(vw(Vj(r,i),i.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 xw(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?he(e,t,n):Hf(e)(e,t)}const _j=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>se.update(t,n),stop:()=>lr(t),now:()=>Ae.isProcessing?Ae.timestamp:Ke.now()}},ww=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=Math.round(e(s/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},el=2e4;function Kf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<el;)t+=n,r=e.next(t);return t>=el?1/0:t}function zj(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Kf(r),el);return{type:"keyframes",ease:s=>r.next(i*s).value/t,duration:vt(i)}}const Bj=5;function bw(e,t,n){const r=Math.max(t-Bj,0);return Zx(n-e(r),t-r)}const de={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},ju=.001;function $j({duration:e=de.duration,bounce:t=de.bounce,velocity:n=de.velocity,mass:r=de.mass}){let i,s;Ol(e<=bt(de.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=rn(de.minDamping,de.maxDamping,o),e=rn(de.minDuration,de.maxDuration,vt(e)),o<1?(i=u=>{const d=u*o,f=d*e,h=d-n,p=Jc(u,o),x=Math.exp(-f);return ju-h/p*x},s=u=>{const f=u*o*e,h=f*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,x=Math.exp(-f),y=Jc(Math.pow(u,2),o);return(-i(u)+ju>0?-1:1)*((h-p)*x)/y}):(i=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-ju+d*f},s=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const a=5/e,l=Wj(i,s,a);if(e=bt(e),isNaN(l))return{stiffness:de.stiffness,damping:de.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const Uj=12;function Wj(e,t,n){let r=n;for(let i=1;i<Uj;i++)r=r-e(r)/t(r);return r}function Jc(e,t){return e*Math.sqrt(1-t*t)}const Hj=["duration","bounce"],Kj=["stiffness","damping","mass"];function Tm(e,t){return t.some(n=>e[n]!==void 0)}function Gj(e){let t={velocity:de.velocity,stiffness:de.stiffness,damping:de.damping,mass:de.mass,isResolvedFromDuration:!1,...e};if(!Tm(e,Kj)&&Tm(e,Hj))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*rn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:de.mass,stiffness:i,damping:s}}else{const n=$j({...e,velocity:0});t={...t,...n,mass:de.mass},t.isResolvedFromDuration=!0}return t}function tl(e=de.visualDuration,t=de.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:d,duration:f,velocity:h,isResolvedFromDuration:p}=Gj({...n,velocity:-vt(n.velocity||0)}),x=h||0,y=u/(2*Math.sqrt(l*d)),w=o-s,m=vt(Math.sqrt(l/d)),g=Math.abs(w)<5;r||(r=g?de.restSpeed.granular:de.restSpeed.default),i||(i=g?de.restDelta.granular:de.restDelta.default);let v;if(y<1){const E=Jc(m,y);v=C=>{const T=Math.exp(-y*m*C);return o-T*((x+y*m*w)/E*Math.sin(E*C)+w*Math.cos(E*C))}}else if(y===1)v=E=>o-Math.exp(-m*E)*(w+(x+m*w)*E);else{const E=m*Math.sqrt(y*y-1);v=C=>{const T=Math.exp(-y*m*C),k=Math.min(E*C,300);return o-T*((x+y*m*w)*Math.sinh(k)+E*w*Math.cosh(k))/E}}const S={calculatedDuration:p&&f||null,next:E=>{const C=v(E);if(p)a.done=E>=f;else{let T=E===0?x:0;y<1&&(T=E===0?bt(x):bw(v,E,C));const k=Math.abs(T)<=r,R=Math.abs(o-C)<=i;a.done=k&&R}return a.value=a.done?o:C,a},toString:()=>{const E=Math.min(Kf(S),el),C=ww(T=>S.next(E*T).value,E,30);return E+"ms "+C},toTransition:()=>{}};return S}tl.applyToOptions=e=>{const t=zj(e,100,tl);return e.ease=t.ease,e.duration=bt(t.duration),e.type="keyframes",e};function Zc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},p=k=>a!==void 0&&k<a||l!==void 0&&k>l,x=k=>a===void 0?l:l===void 0||Math.abs(a-k)<Math.abs(l-k)?a:l;let y=n*t;const w=f+y,m=o===void 0?w:o(w);m!==w&&(y=m-f);const g=k=>-y*Math.exp(-k/r),v=k=>m+g(k),S=k=>{const R=g(k),A=v(k);h.done=Math.abs(R)<=u,h.value=h.done?m:A};let E,C;const T=k=>{p(h.value)&&(E=k,C=tl({keyframes:[h.value,x(h.value)],velocity:bw(v,k,h.value),damping:i,stiffness:s,restDelta:u,restSpeed:d}))};return T(0),{calculatedDuration:null,next:k=>{let R=!1;return!C&&E===void 0&&(R=!0,S(k),T(k)),E!==void 0&&k>=E?C.next(k-E):(!R&&S(k),h)}}}function Qj(e,t,n){const r=[],i=n||wn.mix||xw,s=e.length-1;for(let o=0;o<s;o++){let a=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||wt:t;a=wo(l,a)}r.push(a)}return r}function Yj(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(Ui(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Qj(t,r,i),l=a.length,u=d=>{if(o&&d<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const h=ro(e[f],e[f+1],d);return a[f](h)};return n?d=>u(rn(e[0],e[s-1],d)):u}function Xj(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=ro(0,t,r);e.push(he(n,1,i))}}function qj(e){const t=[0];return Xj(t,e.length-1),t}function Jj(e,t){return e.map(n=>n*t)}function Zj(e,t){return e.map(()=>t||lw).splice(0,e.length-1)}function As({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=dj(r)?r.map(vm):vm(r),s={done:!1,value:t[0]},o=Jj(n&&n.length===t.length?n:qj(t),e),a=Yj(o,t,{ease:Array.isArray(i)?i:Zj(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const eN=e=>e!==null;function Gf(e,{repeat:t,repeatType:n="loop"},r,i=1){const s=e.filter(eN),a=i<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const tN={decay:Zc,inertia:Zc,tween:As,keyframes:As,spring:tl};function Sw(e){typeof e.type=="string"&&(e.type=tN[e.type])}class Qf{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 nN=e=>e/100;class Yf extends Qf{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,i;const{motionValue:n}=this.options;n&&n.updatedAt!==Ke.now()&&this.tick(Ke.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Sw(t);const{type:n=As,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:a}=t;const l=n||As;l!==As&&typeof a[0]!="number"&&(this.mixKeyframes=wo(nN,xw(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=Kf(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+i,this.totalDuration=this.resolvedDuration*(r+1)-i,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:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:f,repeatType:h,repeatDelay:p,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-i/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>i;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let v=this.currentTime,S=r;if(f){const k=Math.min(this.currentTime,i)/a;let R=Math.floor(k),A=k%1;!A&&k>=1&&(A=1),A===1&&R--,R=Math.min(R,f+1),!!(R%2)&&(h==="reverse"?(A=1-A,p&&(A-=p/a)):h==="mirror"&&(S=o)),v=rn(0,1,A)*a}const E=g?{done:!1,value:d[0]}:S.next(v);s&&(E.value=s(E.value));let{done:C}=E;!g&&l!==null&&(C=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return T&&x!==Zc&&(E.value=Gf(d,this.options,w,this.speed)),y&&y(E.value),T&&this.finish(),E}then(t,n){return this.finished.then(t,n)}get duration(){return vt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+vt(t)}get time(){return vt(this.currentTime)}set time(t){var n;t=bt(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=vt(this.currentTime))}play(){var i,s;if(this.isStopped)return;const{driver:t=_j,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(s=(i=this.options).onPlay)==null||s.call(i);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 rN(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Cr=e=>e*180/Math.PI,ed=e=>{const t=Cr(Math.atan2(e[1],e[0]));return td(t)},iN={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ed,rotateZ:ed,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},td=e=>(e=e%360,e<0&&(e+=360),e),km=ed,Pm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),jm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),sN={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Pm,scaleY:jm,scale:e=>(Pm(e)+jm(e))/2,rotateX:e=>td(Cr(Math.atan2(e[6],e[5]))),rotateY:e=>td(Cr(Math.atan2(-e[2],e[0]))),rotateZ:km,rotate:km,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 nd(e){return e.includes("scale")?1:0}function rd(e,t){if(!e||e==="none")return nd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=sN,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=iN,i=a}if(!i)return nd(t);const s=r[t],o=i[1].split(",").map(aN);return typeof s=="function"?s(o):o[s]}const oN=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return rd(n,t)};function aN(e){return parseFloat(e.trim())}const Zi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],es=new Set(Zi),Nm=e=>e===Ji||e===F,lN=new Set(["x","y","z"]),uN=Zi.filter(e=>!lN.has(e));function cN(e){const t=[];return uN.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Kn={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})=>rd(t,"x"),y:(e,{transform:t})=>rd(t,"y")};Kn.translateX=Kn.x;Kn.translateY=Kn.y;const Dr=new Set;let id=!1,sd=!1,od=!1;function Ew(){if(sd){const e=Array.from(Dr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=cN(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,o])=>{var a;(a=r.getValue(s))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}sd=!1,id=!1,Dr.forEach(e=>e.complete(od)),Dr.clear()}function Cw(){Dr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(sd=!0)})}function dN(){od=!0,Cw(),Ew(),od=!1}class Xf{constructor(t,n,r,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Dr.add(this),id||(id=!0,se.read(Cw),se.resolveKeyframes(Ew))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const s=i==null?void 0:i.get(),o=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),i&&s===void 0&&i.set(t[0])}rN(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Dr.delete(this)}cancel(){this.state==="scheduled"&&(Dr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const fN=e=>e.startsWith("--");function hN(e,t,n){fN(t)?e.style.setProperty(t,n):e.style[t]=n}const pN={};function Tw(e,t){const n=Jx(e);return()=>pN[t]??n()}const mN=Tw(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),kw=Tw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),xs=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Rm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xs([0,.65,.55,1]),circOut:xs([.55,0,1,.45]),backIn:xs([.31,.01,.66,-.59]),backOut:xs([.33,1.53,.69,.99])};function Pw(e,t){if(e)return typeof e=="function"?kw()?ww(e,t):"ease-out":uw(e)?xs(e):Array.isArray(e)?e.map(n=>Pw(n,t)||Rm.easeOut):Rm[e]}function gN(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u=void 0){const d={[t]:n};l&&(d.offset=l);const f=Pw(a,i);Array.isArray(f)&&(d.easing=f);const h={delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(d,h)}function jw(e){return typeof e=="function"&&"applyToOptions"in e}function yN({type:e,...t}){return jw(e)&&kw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Nw extends Qf{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,Ui(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=yN(t);this.animation=gN(n,r,i,u,s),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const d=Gf(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(d):hN(n,r,d),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,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(r=this.animation).commitStyles)==null||i.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 vt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+vt(t)}get time(){return vt(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=bt(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&&mN()?(this.animation.timeline=t,wt):n(this)}}const Rw={anticipate:sw,backInOut:iw,circInOut:aw};function vN(e){return e in Rw}function xN(e){typeof e.ease=="string"&&vN(e.ease)&&(e.ease=Rw[e.ease])}const Nu=10;class wN extends Nw{constructor(t){xN(t),Sw(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:s,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Yf({...o,autoplay:!1}),l=Math.max(Nu,Ke.now()-this.startTime),u=rn(0,Nu,l-Nu);n.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}const Am=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(_t.test(e)||e==="0")&&!e.startsWith("url("));function bN(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 SN(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=Am(i,t),a=Am(s,t);return Ol(o===a,`You are trying to animate ${t} from "${i}" to "${s}". "${o?s:i}" is not an animatable value.`,"value-not-animatable"),!o||!a?!1:bN(e)||(n==="spring"||jw(n))&&r}function ad(e){e.duration=0,e.type="keyframes"}const EN=new Set(["opacity","clipPath","filter","transform"]),CN=Jx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function TN(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o}=e;if(!(((d=t==null?void 0:t.owner)==null?void 0:d.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=t.owner.getProps();return CN()&&n&&EN.has(n)&&(n!=="transform"||!u)&&!l&&!r&&i!=="mirror"&&s!==0&&o!=="inertia"}const kN=40;class PN extends Qf{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:
188o="loop",keyframes:a,name:l,motionValue:u,element:d,...f}){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 h={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,name:l,motionValue:u,element:d,...f},p=(d==null?void 0:d.KeyframeResolver)||Xf;this.keyframeResolver=new p(a,(y,w,m)=>this.onKeyframesResolved(y,w,h,!m),l,u,d),(x=this.keyframeResolver)==null||x.scheduleResolve()}onKeyframesResolved(t,n,r,i){var w,m;this.keyframeResolver=void 0;const{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:d}=r;this.resolvedAt=Ke.now(),SN(t,s,o,a)||((wn.instantAnimations||!l)&&(d==null||d(Gf(t,r,n))),t[0]=t[t.length-1],ad(r),r.repeat=0);const h={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>kN?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},p=!u&&TN(h),x=(m=(w=h.motionValue)==null?void 0:w.owner)==null?void 0:m.current,y=p?new wN({...h,element:x}):new Yf(h);y.finished.then(()=>{this.notifyFinished()}).catch(wt),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(),dN()),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 Aw(e,t,n,r=0,i=1){const s=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(s,o):i===1?s*r:a-s*r}const jN=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function NN(e){const t=jN.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const RN=4;function Mw(e,t,n=1){Ui(n<=RN,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=NN(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return Yx(o)?parseFloat(o):o}return $f(i)?Mw(i,t,n+1):i}const AN={type:"spring",stiffness:500,damping:25,restSpeed:10},MN=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),DN={type:"keyframes",duration:.8},LN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ON=(e,{keyframes:t})=>t.length>2?DN:es.has(e)?e.startsWith("scale")?MN(t[1]):AN:LN,IN=e=>e!==null;function VN(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(IN),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}function Dw(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function qf(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?Dw(n,e):n}function FN({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...d}){return!!Object.keys(d).length}const Jf=(e,t,n,r={},i,s)=>o=>{const a=qf(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-bt(l);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};FN(a)||Object.assign(d,ON(e,d)),d.duration&&(d.duration=bt(d.duration)),d.repeatDelay&&(d.repeatDelay=bt(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(ad(d),d.delay===0&&(f=!0)),(wn.instantAnimations||wn.skipAnimations||i!=null&&i.shouldSkipAnimations)&&(f=!0,ad(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,f&&!s&&t.get()!==void 0){const h=VN(d.keyframes,a);if(h!==void 0){se.update(()=>{d.onUpdate(h),d.onComplete()});return}}return a.isSync?new Yf(d):new PN(d)};function Mm(e){const t=[{},{}];
vendor: 22,732 bytes, line 188
188return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Zf(e,t,n,r){if(typeof t=="function"){const[i,s]=Mm(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=Mm(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function Ti(e,t,n){const r=e.getProps();return Zf(r,t,n!==void 0?n:r.custom,e)}const Lw=new Set(["width","height","top","left","right","bottom",...Zi]),Dm=30,_N=e=>!isNaN(parseFloat(e));class zN{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var s;const i=Ke.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ke.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=_N(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>Dm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Dm);return Zx(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 Wi(e,t){return new zN(e,t)}const ld=e=>Array.isArray(e);function BN(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Wi(n))}function $N(e){return ld(e)?e[e.length-1]||0:e}function UN(e,t){const n=Ti(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=$N(s[o]);BN(e,o,a)}}const ze=e=>!!(e&&e.getVelocity);function WN(e){return!!(ze(e)&&e.add)}function ud(e,t){const n=e.getValue("willChange");if(WN(n))return n.add(t);if(!n&&wn.WillChange){const r=new wn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function eh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const HN="framerAppearId",Ow="data-"+eh(HN);function Iw(e){return e.props[Ow]}function KN({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Vw(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s,transitionEnd:o,...a}=t;const l=e.getDefaultTransition();s=s?Dw(s,l):l;const u=s==null?void 0:s.reduceMotion;r&&(s=r);const d=[],f=i&&e.animationState&&e.animationState.getState()[i];for(const h in a){const p=e.getValue(h,e.latestValues[h]??null),x=a[h];if(x===void 0||f&&KN(f,h))continue;const y={delay:n,...qf(s||{},h)},w=p.get();if(w!==void 0&&!p.isAnimating&&!Array.isArray(x)&&x===w&&!y.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const S=Iw(e);if(S){const E=window.MotionHandoffAnimation(S,h,se);E!==null&&(y.startTime=E,m=!0)}}ud(e,h);const g=u??e.shouldReduceMotion;p.start(Jf(h,p,x,g&&Lw.has(h)?{type:!1}:y,e,m));const v=p.animation;v&&d.push(v)}if(o){const h=()=>se.update(()=>{o&&UN(e,o)});d.length?Promise.all(d).then(h):h()}return d}function cd(e,t,n={}){var l;const r=Ti(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(Vw(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:f,staggerDirection:h}=i;return GN(e,t,u,d,f,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,d]=a==="beforeChildren"?[s,o]:[o,s];return u().then(()=>d())}else return Promise.all([s(),o(n.delay)])}function GN(e,t,n=0,r=0,i=0,s=1,o){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(cd(l,t,{...o,delay:n+(typeof r=="function"?0:r)+Aw(e.variantChildren,l,r,i,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function QN(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>cd(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=cd(e,t,n);else{const i=typeof t=="function"?Ti(e,t,n.custom):t;r=Promise.all(Vw(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const YN={test:e=>e==="auto",parse:e=>e},Fw=e=>t=>t.test(e),_w=[Ji,F,tn,Mn,Ej,Sj,YN],Lm=e=>_w.find(Fw(e));function XN(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||qx(e):!0}const qN=new Set(["brightness","contrast","saturate","opacity"]);function JN(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Uf)||[];if(!r)return e;const i=n.replace(r,"");let s=qN.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const ZN=/\b([a-z-]*)\(.*?\)/gu,dd={..._t,getAnimatableNone:e=>{const t=e.match(ZN);return t?t.map(JN).join(" "):e}},fd={..._t,getAnimatableNone:e=>{const t=_t.parse(e);return _t.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Om={...Ji,transform:Math.round},eR={rotate:Mn,rotateX:Mn,rotateY:Mn,rotateZ:Mn,scale:qo,scaleX:qo,scaleY:qo,scaleZ:qo,skew:Mn,skewX:Mn,skewY:Mn,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:io,originX:bm,originY:bm,originZ:F},th={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,...eR,zIndex:Om,fillOpacity:io,strokeOpacity:io,numOctaves:Om},tR={...th,color:we,backgroundColor:we,outlineColor:we,fill:we,stroke:we,borderColor:we,borderTopColor:we,borderRightColor:we,borderBottomColor:we,borderLeftColor:we,filter:dd,WebkitFilter:dd,mask:fd,WebkitMask:fd},zw=e=>tR[e],nR=new Set([dd,fd]);function Bw(e,t){let n=zw(e);return nR.has(n)||(n=_t),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const rR=new Set(["auto","none","0"]);function iR(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!rR.has(s)&&so(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=Bw(n,i)}class sR extends Xf{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let f=t[d];if(typeof f=="string"&&(f=f.trim(),$f(f))){const h=Mw(f,n.current);h!==void 0&&(t[d]=h),d===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!Lw.has(r)||t.length!==2)return;const[i,s]=t,o=Lm(i),a=Lm(s),l=wm(i),u=wm(s);if(l!==u&&Kn[r]){this.needsMeasurement=!0;return}if(o!==a)if(Nm(o)&&Nm(a))for(let d=0;d<t.length;d++){const f=t[d];typeof f=="string"&&(t[d]=parseFloat(f))}else Kn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||XN(t[i]))&&r.push(i);r.length&&iR(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=Kn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const s=r.length-1,o=r[s];r[s]=Kn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}const oR=new Set(["opacity","clipPath","filter","transform"]);function $w(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const Uw=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function hd(e){return Xx(e)&&"offsetHeight"in e}const{schedule:nh,cancel:PD}=cw(queueMicrotask,!1),Rt={x:!1,y:!1};function Ww(){return Rt.x||Rt.y}function aR(e){return e==="x"||e==="y"?Rt[e]?null:(Rt[e]=!0,()=>{Rt[e]=!1}):Rt.x||Rt.y?null:(Rt.x=Rt.y=!0,()=>{Rt.x=Rt.y=!1})}function Hw(e,t){const n=$w(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function lR(e){return!(e.pointerType==="touch"||Ww())}function uR(e,t,n={}){const[r,i,s]=Hw(e,n);return r.forEach(o=>{let a=!1,l=!1,u;const d=()=>{o.removeEventListener("pointerleave",x)},f=w=>{u&&(u(w),u=void 0),d()},h=w=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,f(w))},p=()=>{a=!0,window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",h,i)},x=w=>{if(w.pointerType!=="touch"){if(a){l=!0;return}f(w)}},y=w=>{if(!lR(w))return;l=!1;const m=t(o,w);typeof m=="function"&&(u=m,o.addEventListener("pointerleave",x,i))};o.addEventListener("pointerenter",y,i),o.addEventListener("pointerdown",p,i)}),s}const Kw=(e,t)=>t?e===t?!0:Kw(e,t.parentElement):!1,rh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,cR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function dR(e){return cR.has(e.tagName)||e.isContentEditable===!0}const fR=new Set(["INPUT","SELECT","TEXTAREA"]);function hR(e){return fR.has(e.tagName)||e.isContentEditable===!0}const ga=new WeakSet;function Im(e){return t=>{t.key==="Enter"&&e(t)}}function Ru(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const pR=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Im(()=>{if(ga.has(n))return;Ru(n,"down");const i=Im(()=>{Ru(n,"up")}),s=()=>Ru(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Vm(e){return rh(e)&&!Ww()}const Fm=new WeakSet;function mR(e,t,n={}){const[r,i,s]=Hw(e,n),o=a=>{const l=a.currentTarget;if(!Vm(a)||Fm.has(a))return;ga.add(l),n.stopPropagation&&Fm.add(a);const u=t(l,a),d=(p,x)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),ga.has(l)&&ga.delete(l),Vm(p)&&typeof u=="function"&&u(p,{success:x})},f=p=>{d(p,l===window||l===document||n.useGlobalTarget||Kw(l,p.target))},h=p=>{d(p,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",h,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),hd(a)&&(a.addEventListener("focus",u=>pR(u,i)),!dR(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function ih(e){return Xx(e)&&"ownerSVGElement"in e}const ya=new WeakMap;let Dn;const Gw=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:ih(r)&&"getBBox"in r?r.getBBox()[t]:r[n],gR=Gw("inline","width","offsetWidth"),yR=Gw("block","height","offsetHeight");function vR({target:e,borderBoxSize:t}){var n;(n=ya.get(e))==null||n.forEach(r=>{r(e,{get width(){return gR(e,t)},get height(){return yR(e,t)}})})}function xR(e){e.forEach(vR)}function wR(){typeof ResizeObserver>"u"||(Dn=new ResizeObserver(xR))}function bR(e,t){Dn||wR();const n=$w(e);return n.forEach(r=>{let i=ya.get(r);i||(i=new Set,ya.set(r,i)),i.add(t),Dn==null||Dn.observe(r)}),()=>{n.forEach(r=>{const i=ya.get(r);i==null||i.delete(t),i!=null&&i.size||Dn==null||Dn.unobserve(r)})}}const va=new Set;let hi;function SR(){hi=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};va.forEach(t=>t(e))},window.addEventListener("resize",hi)}function ER(e){return va.add(e),hi||SR(),()=>{va.delete(e),!va.size&&typeof hi=="function"&&(window.removeEventListener("resize",hi),hi=void 0)}}function _m(e,t){return typeof e=="function"?ER(e):bR(e,t)}function CR(e){return ih(e)&&e.tagName==="svg"}const TR=[..._w,we,_t],kR=e=>TR.find(Fw(e)),zm=()=>({translate:0,scale:1,origin:0,originPoint:0}),pi=()=>({x:zm(),y:zm()}),Bm=()=>({min:0,max:0}),Ce=()=>({x:Bm(),y:Bm()}),PR=new WeakMap;function Il(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function oo(e){return typeof e=="string"||Array.isArray(e)}const sh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],oh=["initial",...sh];function Vl(e){return Il(e.animate)||oh.some(t=>oo(e[t]))}function Qw(e){return!!(Vl(e)||e.variants)}function jR(e,t,n){for(const r in t){const i=t[r],s=n[r];if(ze(i))e.addValue(r,i);else if(ze(s))e.addValue(r,Wi(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,Wi(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const pd={current:null},Yw={current:!1},NR=typeof window<"u";function RR(){if(Yw.current=!0,!!NR)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>pd.current=e.matches;e.addEventListener("change",t),t()}else pd.current=!1}const $m=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let nl={};function Xw(e){nl=e}function AR(){return nl}class MR{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:s,blockInitialAnimation:o,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=Xf,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 p=Ke.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,se.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=s,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=Vl(n),this.isVariantNode=Qw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in h){const x=h[p];u[p]!==void 0&&ze(x)&&x.set(u[p])}}mount(t){var n,r;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,PR.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((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Yw.current||RR(),this.shouldReduceMotion=pd.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(),lr(this.notifyUpdate),lr(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&&oR.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:l,ease:u,duration:d}=n.accelerate,f=new Nw({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:bt(d)}),h=o(f);this.valueSubscriptions.set(t,()=>{h(),f.cancel()});return}const r=es.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&se.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s&&s(),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 nl){const n=nl[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ce()}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<$m.length;r++){const i=$m[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=jR(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=Wi(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"&&(Yx(r)||qx(r))?r=parseFloat(r):!kR(r)&&_t.test(n)&&(r=Bw(t,n)),this.setBaseTarget(t,ze(r)?r.get():r)),ze(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var s;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=Zf(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!ze(i)?i: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(){nh.render(this.render)}}class qw extends MR{constructor(){super(...arguments),this.KeyframeResolver=sR}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;ze(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}
vendor: 9,088 bytes, line 188
188class fr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Jw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function DR({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function LR(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 Au(e){return e===void 0||e===1}function md({scale:e,scaleX:t,scaleY:n}){return!Au(e)||!Au(t)||!Au(n)}function xr(e){return md(e)||Zw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Zw(e){return Um(e.x)||Um(e.y)}function Um(e){return e&&e!=="0%"}function rl(e,t,n){const r=e-n,i=t*r;return n+i}function Wm(e,t,n,r,i){return i!==void 0&&(e=rl(e,i,r)),rl(e,n,r)+t}function gd(e,t=0,n=1,r,i){e.min=Wm(e.min,t,n,r,i),e.max=Wm(e.max,t,n,r,i)}function e1(e,{x:t,y:n}){gd(e.x,t.translate,t.scale,t.originPoint),gd(e.y,n.translate,n.scale,n.originPoint)}const Hm=.999999999999,Km=1.0000000000001;function OR(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;a<i;a++){s=n[a],o=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&gi(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,e1(e,o)),r&&xr(s.latestValues)&&gi(e,s.latestValues))}t.x<Km&&t.x>Hm&&(t.x=1),t.y<Km&&t.y>Hm&&(t.y=1)}function mi(e,t){e.min=e.min+t,e.max=e.max+t}function Gm(e,t,n,r,i=.5){const s=he(e.min,e.max,i);gd(e,t,n,s,r)}function gi(e,t){Gm(e.x,t.x,t.scaleX,t.scale,t.originX),Gm(e.y,t.y,t.scaleY,t.scale,t.originY)}function t1(e,t){return Jw(LR(e.getBoundingClientRect(),t))}function IR(e,t,n){const r=t1(e,n),{scroll:i}=t;return i&&(mi(r.x,i.offset.x),mi(r.y,i.offset.y)),r}const VR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},FR=Zi.length;function _R(e,t,n){let r="",i=!0;for(let s=0;s<FR;s++){const o=Zi[s],a=e[o];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(o.startsWith("scale")?1:0);else{const u=parseFloat(a);l=o.startsWith("scale")?u===1:u===0}if(!l||n){const u=Uw(a,th[o]);if(!l){i=!1;const d=VR[o]||o;r+=`${d}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function ah(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,a=!1;for(const l in t){const u=t[l];if(es.has(l)){o=!0;continue}else if(fw(l)){i[l]=u;continue}else{const d=Uw(u,th[l]);l.startsWith("origin")?(a=!0,s[l]=d):r[l]=d}}if(t.transform||(o||n?r.transform=_R(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:d=0}=s;r.transformOrigin=`${l} ${u} ${d}`}}function n1(e,{style:t,vars:n},r,i){const s=e.style;let o;for(o in t)s[o]=t[o];i==null||i.applyProjectionStyles(s,r);for(o in n)s.setProperty(o,n[o])}function Qm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ps={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;const n=Qm(e,t.target.x),r=Qm(e,t.target.y);return`${n}% ${r}%`}},zR={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=_t.parse(e);if(i.length>5)return r;const s=_t.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=he(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}},yd={borderRadius:{...ps,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ps,borderTopRightRadius:ps,borderBottomLeftRadius:ps,borderBottomRightRadius:ps,boxShadow:zR};function r1(e,{layout:t,layoutId:n}){return es.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!yd[e]||e==="opacity")}function lh(e,t,n){var o;const r=e.style,i=t==null?void 0:t.style,s={};if(!r)return s;for(const a in r)(ze(r[a])||i&&ze(i[a])||r1(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(s[a]=r[a]);return s}function BR(e){return window.getComputedStyle(e)}class $R extends qw{constructor(){super(...arguments),this.type="html",this.renderInstance=n1}readValueFromInstance(t,n){var r;if(es.has(n))return(r=this.projection)!=null&&r.isProjecting?nd(n):oN(t,n);{const i=BR(t),s=(fw(n)?i.getPropertyValue(n):i[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return t1(t,n)}build(t,n,r){ah(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return lh(t,n,r)}}const UR={offset:"stroke-dashoffset",array:"stroke-dasharray"},WR={offset:"strokeDashoffset",array:"strokeDasharray"};function HR(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?UR:WR;e[s.offset]=`${-r}`,e[s.array]=`${t} ${n}`}const KR=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function i1(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a},l,u,d){if(ah(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete f.transformBox);for(const p of KR)f[p]!==void 0&&(h[p]=f[p],delete f[p]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),i!==void 0&&HR(f,i,s,o,!1)}const s1=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"]),o1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function GR(e,t,n,r){n1(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(s1.has(i)?i:eh(i),t.attrs[i])}function a1(e,t,n){const r=lh(e,t,n);for(const i in e)if(ze(e[i])||ze(t[i])){const s=Zi.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}class QR extends qw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ce}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(es.has(n)){const r=zw(n);return r&&r.default||0}return n=s1.has(n)?n:eh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return a1(t,n,r)}build(t,n,r){i1(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){GR(t,n,r,i)}mount(t){this.isSVGTag=o1(t.tagName),super.mount(t)}}const YR=oh.length;function l1(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?l1(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<YR;n++){const r=oh[n],i=e.props[r];(oo(i)||i===!1)&&(t[r]=i)}return t}function u1(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 XR=[...sh].reverse(),qR=sh.length;function JR(e){return t=>Promise.all(t.map(({animation:n,options:r})=>QN(e,n,r)))}function ZR(e){let t=JR(e),n=Ym(),r=!0;const i=l=>(u,d)=>{var h;const f=Ti(e,d,l==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(f){const{transition:p,transitionEnd:x,...y}=f;u={...u,...y,...x}}return u};function s(l){t=l(e)}function o(l){const{props:u}=e,d=l1(e.parent)||{},f=[],h=new Set;let p={},x=1/0;for(let w=0;w<qR;w++){const m=XR[w],g=n[m],v=u[m]!==void 0?u[m]:d[m],S=oo(v),E=m===l?g.isActive:null;E===!1&&(x=w);let C=v===d[m]&&v!==u[m]&&S;if(C&&r&&e.manuallyAnimateOnMount&&(C=!1),g.protectedKeys={...p},!g.isActive&&E===null||!v&&!g.prevProp||Il(v)||typeof v=="boolean")continue;if(m==="exit"&&g.isActive&&E!==!0){g.prevResolvedValues&&(p={...p,...g.prevResolvedValues});continue}const T=eA(g.prevProp,v);let k=T||m===l&&g.isActive&&!C&&S||w>x&&S,R=!1;const A=Array.isArray(v)?v:[v];let z=A.reduce(i(m),{});E===!1&&(z={});const{prevResolvedValues:I={}}=g,K={...I,...z},L=_=>{k=!0,h.has(_)&&(R=!0,h.delete(_)),g.needsAnimating[_]=!0;const P=e.getValue(_);P&&(P.liveStyle=!1)};for(const _ in K){const P=z[_],N=I[_];if(p.hasOwnProperty(_))continue;let O=!1;ld(P)&&ld(N)?O=!u1(P,N):O=P!==N,O?P!=null?L(_):h.add(_):P!==void 0&&h.has(_)?L(_):g.protectedKeys[_]=!0}g.prevProp=v,g.prevResolvedValues=z,g.isActive&&(p={...p,...z}),r&&e.blockInitialAnimation&&(k=!1);const Y=C&&T;k&&(!Y||R)&&f.push(...A.map(_=>{const P={type:m};if(typeof _=="string"&&r&&!Y&&e.manuallyAnimateOnMount&&e.parent){const{parent:N}=e,O=Ti(N,_);if(N.enteringChildren&&O){const{delayChildren:U}=O.transition||{};P.delay=Aw(N.enteringChildren,e,U)}}return{animation:_,options:P}}))}if(h.size){const w={};if(typeof u.initial!="boolean"){const m=Ti(e,Array.isArray(u.initial)?u.initial[0]:u.initial);m&&m.transition&&(w.transition=m.transition)}h.forEach(m=>{const g=e.getBaseTarget(m),v=e.getValue(m);v&&(v.liveStyle=!0),w[m]=g??null}),f.push({animation:w})}let y=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(f):Prom
vendor: 4,327 bytes, line 188
188ise.resolve()}function a(l,u){var f;if(n[l].isActive===u)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(h=>{var p;return(p=h.animationState)==null?void 0:p.setActive(l,u)}),n[l].isActive=u;const d=o(l);for(const h in n)n[h].protectedKeys={};return d}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Ym()}}}function eA(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!u1(t,e):!1}function gr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ym(){return{animate:gr(!0),whileInView:gr(),whileHover:gr(),whileTap:gr(),whileDrag:gr(),whileFocus:gr(),exit:gr()}}function Xm(e,t){e.min=t.min,e.max=t.max}function Nt(e,t){Xm(e.x,t.x),Xm(e.y,t.y)}function qm(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const c1=1e-4,tA=1-c1,nA=1+c1,d1=.01,rA=0-d1,iA=0+d1;function Ge(e){return e.max-e.min}function sA(e,t,n){return Math.abs(e-t)<=n}function Jm(e,t,n,r=.5){e.origin=r,e.originPoint=he(t.min,t.max,e.origin),e.scale=Ge(n)/Ge(t),e.translate=he(n.min,n.max,e.origin)-e.originPoint,(e.scale>=tA&&e.scale<=nA||isNaN(e.scale))&&(e.scale=1),(e.translate>=rA&&e.translate<=iA||isNaN(e.translate))&&(e.translate=0)}function Ms(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 Zm(e,t,n){e.min=n.min+t.min,e.max=e.min+Ge(t)}function oA(e,t,n){Zm(e.x,t.x,n.x),Zm(e.y,t.y,n.y)}function eg(e,t,n){e.min=t.min-n.min,e.max=e.min+Ge(t)}function il(e,t,n){eg(e.x,t.x,n.x),eg(e.y,t.y,n.y)}function tg(e,t,n,r,i){return e-=t,e=rl(e,1/n,r),i!==void 0&&(e=rl(e,1/i,r)),e}function aA(e,t=0,n=1,r=.5,i,s=e,o=e){if(tn.test(t)&&(t=parseFloat(t),t=he(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=he(s.min,s.max,r);e===s&&(a-=t),e.min=tg(e.min,t,n,a,i),e.max=tg(e.max,t,n,a,i)}function ng(e,t,[n,r,i],s,o){aA(e,t[n],t[r],t[i],t.scale,s,o)}const lA=["x","scaleX","originX"],uA=["y","scaleY","originY"];function rg(e,t,n,r){ng(e.x,t,lA,n?n.x:void 0,r?r.x:void 0),ng(e.y,t,uA,n?n.y:void 0,r?r.y:void 0)}function ig(e){return e.translate===0&&e.scale===1}function f1(e){return ig(e.x)&&ig(e.y)}function sg(e,t){return e.min===t.min&&e.max===t.max}function cA(e,t){return sg(e.x,t.x)&&sg(e.y,t.y)}function og(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function h1(e,t){return og(e.x,t.x)&&og(e.y,t.y)}function ag(e){return Ge(e.x)/Ge(e.y)}function lg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Kt(e){return[e("x"),e("y")]}function dA(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:f,rotateY:h,skewX:p,skewY:x}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),p&&(r+=`skewX(${p}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 p1=["TopLeft","TopRight","BottomLeft","BottomRight"],fA=p1.length,ug=e=>typeof e=="string"?parseFloat(e):e,cg=e=>typeof e=="number"||F.test(e);function hA(e,t,n,r,i,s){i?(e.opacity=he(0,n.opacity??1,pA(r)),e.opacityExit=he(t.opacity??1,0,mA(r))):s&&(e.opacity=he(t.opacity??1,n.opacity??1,r));for(let o=0;o<fA;o++){const a=`border${p1[o]}Radius`;let l=dg(t,a),u=dg(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||cg(l)===cg(u)?(e[a]=Math.max(he(ug(l),ug(u),r),0),(tn.test(u)||tn.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=he(t.rotate||0,n.rotate||0,r))}function dg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const pA=m1(0,.5,ow),mA=m1(.5,.95,wt);function m1(e,t,n){return r=>r<e?0:r>t?1:n(ro(e,t,r))}function gA(e,t,n){const r=ze(e)?e:Wi(e);return r.start(Jf("",r,t,n)),r.animation}function ao(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const yA=(e,t)=>e.depth-t.depth;class vA{constructor(){this.children=[],this.isDirty=!1}add(t){Ff(this.children,t),this.isDirty=!0}remove(t){Ja(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(yA),this.isDirty=!1,this.children.forEac
188h(t)}}function xA(e,t){const n=Ke.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(lr(r),e(s-t))};return se.setup(r,!0),()=>lr(r)}function xa(e){return ze(e)?e.get():e}class wA{constructor(){this.members=[]}add(t){Ff(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 i=r.instance;i&&i.isConnected===!1&&r.isPresent!==!1&&!r.snapshot&&Ja(this.members,r)}t.scheduleRender()}remove(t){if(Ja(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(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const s=this.members[i],o=s.instance;if(s.isPresent!==!1&&(!o||o.isConnected!==!1)){r=s;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 i=r.options.layoutDependency,s=t.options.layoutDependency;if(!(i!==void 0&&s!==void 0&&i===s)){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 wa={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Mu=["","X","Y","Z"],bA=1e3;let SA=0;function Du(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function g1(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Iw(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",se,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&g1(r)}function y1({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=SA++,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(TA),this.nodes.forEach(NA),this.nodes.forEach(RA),this.nodes.forEach(kA)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,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 vA)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new _f),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const l=this.eventHandlers.get(o);l&&l.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=ih(o)&&!CR(o),this.instance=o;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let d,f=0;const h=()=>this.root.updateBlockedByResize=!1;se.read(()=>{f=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==f&&(f=p,this.root.updateBlockedByResize=!0,d&&d(),d=xA(h,250),wa.hasAnimatedSinceResize&&(wa.hasAnimatedSinceResize=!1,this.nodes.forEac
vendor: 9,256 bytes, line 188
188h(pg)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||u.getDefaultTransition()||OA,{onLayoutAnimationStart:y,onLayoutAnimationComplete:w}=u.getProps(),m=!this.targetLayout||!h1(this.targetLayout,p),g=!f&&h;if(this.options.layoutRoot||this.resumeFrom||g||f&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...qf(x,"layout"),onPlay:y,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(d,g)}else f||pg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),lr(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(AA),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&g1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.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(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(fg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(hg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(jA),this.nodes.forEach(EA),this.nodes.forEach(CA)):this.nodes.forEach(hg),this.clearAllSnapshots();const a=Ke.now();Ae.delta=rn(0,1e3/60,a-Ae.timestamp),Ae.timestamp=a,Ae.isProcessing=!0,Cu.update.process(Ae),Cu.preRender.process(Ae),Cu.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,nh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(PA),this.sharedNodes.forEach(MA)}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 o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Ce(),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,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!f1(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||xr(this.latestValues)||d)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),IA(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return Ce();const a=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(VA))){const{scroll:d}=this.root;d&&(mi(a.x,d.offset.x),mi(a.y,d.offset.y))}return a}removeElementScroll(o){var l;const a=Ce();if(Nt(a,o),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:f,options:h}=d;d!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&Nt(a,o),mi(a.x,f.offset.x),mi(a.y,f.offset.y))}return a}applyTransform(o,a=!1){const l=Ce();Nt(l,o);for(let u=0;u<this.path.length;u++){const d=this.path[u];!a&&d.options.layoutScroll&&d.scroll&&d!==d.root&&gi(l,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),xr(d.latestValues)&&gi(l,d.latestValues)}return xr(this.latestValues)&&gi(l,this.latestValues),l}removeTransform(o){const a=Ce();Nt(a,o);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!xr(u.latestValues))continue;md(u.latestValues)&&u.updateSnapshot();const d=Ce(),f=u.measurePageBox();Nt(d,f),rg(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,d)}return xr(this.latestValues)&&rg(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;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(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!this.layout||!(d||f))return;this.resolvedRelativeTargetAt=Ae.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ce(),this.targetWithTransforms=Ce()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),oA(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Nt(this.target,this.layout.layoutBox),e1(this.target,this.targetDelta)):Nt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||md(this.parent.latestValues)||Zw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,l){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ce(),this.relativeTargetOrigin=Ce(),il(this.relativeTargetOrigin,a,l),Nt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var x;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(x=this.parent)!=null&&x.isProjectionDirty)&&
vendor: 5,299 bytes, line 188
188(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(l=!1),l)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;Nt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;OR(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Ce());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(qm(this.prevProjectionDelta.x,this.projectionDelta.x),qm(this.prevProjectionDelta.y,this.projectionDelta.y)),Ms(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!lg(this.projectionDelta.x,this.prevProjectionDelta.x)||!lg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=pi(),this.projectionDelta=pi(),this.projectionDeltaWithTransform=pi()}setAnimationOrigin(o,a=!1){const l=this.snapshot,u=l?l.latestValues:{},d={...this.latestValues},f=pi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=Ce(),p=l?l.source:void 0,x=this.layout?this.layout.source:void 0,y=p!==x,w=this.getStack(),m=!w||w.members.length<=1,g=!!(y&&!m&&this.options.crossfade===!0&&!this.path.some(LA));this.animationProgress=0;let v;this.mixTargetDelta=S=>{const E=S/1e3;mg(f.x,o.x,E),mg(f.y,o.y,E),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(il(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),DA(this.relativeTarget,this.relativeTargetOrigin,h,E),v&&cA(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ce()),Nt(v,this.relativeTarget)),y&&(this.animationValues=d,hA(d,u,this.latestValues,E,g,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){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&&(lr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=se.update(()=>{wa.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Wi(0)),this.motionValue.jump(0,!1),this.currentAnimation=gA(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),o.onUpdate&&o.onUpdate(d)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(bA),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:d}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&v1(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ce();const f=Ge(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+f;const h=Ge(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+h}Nt(a,l),gi(a,d),Ms(this.projectionDeltaWithTransform,this.layoutCorrected,a,d)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new wA),this.sharedNodes.get(o).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 o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}
vendor: 18,516 bytes, lines 188-196
188resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Du("z",o,u,this.animationValues);for(let d=0;d<Mu.length;d++)Du(`rotate${Mu[d]}`,o,u,this.animationValues),Du(`skew${Mu[d]}`,o,u,this.animationValues);o.render();for(const d in u)o.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=xa(a==null?void 0:a.pointerEvents)||"",o.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=xa(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!xr(this.latestValues)&&(o.transform=l?l({},""):"none",this.hasProjected=!1);return}o.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=dA(this.projectionDeltaWithTransform,this.treeScale,d);l&&(f=l(d,f)),o.transform=f;const{x:h,y:p}=this.projectionDelta;o.transformOrigin=`${h.origin*100}% ${p.origin*100}% 0`,u.animationValues?o.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:o.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const x in yd){if(d[x]===void 0)continue;const{correct:y,applyTo:w,isCSSVariable:m}=yd[x],g=f==="none"?d[x]:y(d[x],u);if(w){const v=w.length;for(let S=0;S<v;S++)o[w[S]]=g}else m?this.options.visualElement.renderState.vars[x]=g:o[x]=g}this.options.layoutId&&(o.pointerEvents=u===this?xa(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(fg),this.root.sharedNodes.clear()}}}function EA(e){e.updateLayout()}function CA(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:i}=e.layout,{animationType:s}=e.options,o=t.source!==e.layout.source;s==="size"?Kt(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],p=Ge(h);h.min=r[f].min,h.max=h.min+p}):v1(s,t.layoutBox,r)&&Kt(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],p=Ge(r[f]);h.max=h.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});const a=pi();Ms(a,r,t.layoutBox);const l=pi();o?Ms(l,e.applyTransform(i,!0),t.measuredBox):Ms(l,r,t.layoutBox);const u=!f1(a);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:p}=f;if(h&&p){const x=Ce();il(x,t.layoutBox,h.layoutBox);const y=Ce();il(y,r,p.layoutBox),h1(x,y)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=x,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function TA(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 kA(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function PA(e){e.clearSnapshot()}function fg(e){e.clearMeasurements()}function hg(e){e.isLayoutDirty=!1}function jA(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function NA(e){e.resolveTargetDelta()}function RA(e){e.calcProjection()}function AA(e){e.resetSkewAndRotation()}function MA(e){e.removeLeadSnapshot()}function mg(e,t,n){e.translate=he(t.translate,0,n),e.scale=he(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function gg(e,t,n,r){e.min=he(t.min,n.min,r),e.max=he(t.max,n.max,r)}function DA(e,t,n,r){gg(e.x,t.x,n.x,r),gg(e.y,t.y,n.y,r)}function LA(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const OA={duration:.45,ease:[.4,0,.1,1]},yg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),vg=yg("applewebkit/")&&!yg("chrome/")?Math.round:wt;function xg(e){e.min=vg(e.min),e.max=vg(e.max)}function IA(e){xg(e.x),xg(e.y)}function v1(e,t,n){return e==="position"||e==="preserve-aspect"&&!sA(ag(t),ag(n),.2)}function VA(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const FA=y1({attachResizeListener:(e,t)=>ao(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}),Lu={current:void 0},x1=y1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Lu.current){const e=new FA({});e.mount(window),e.setOptions({layoutScroll:!0}),Lu.current=e}return Lu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),uh=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function wg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function _A(...e){return t=>{let n=!1;const r=e.map(i=>{const s=wg(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():wg(e[i],null)}}}}function zA(...e){return b.useCallback(_A(...e),e)}class BA 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,i=hd(r)&&r.offsetWidth||0,s=hd(r)&&r.offsetHeight||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left,o.bottom=s-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function $A({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:s}){var h;const o=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(uh),d=((h=e.props)==null?void 0:h.ref)??(e==null?void 0:e.ref),f=zA(a,d);return b.useInsertionEffect(()=>{const{width:p,height:x,top:y,left:w,right:m,bottom:g}=l.current;if(t||s===!1||!a.current||!p||!x)return;const v=n==="left"?`left: ${w}`:`right: ${m}`,S=r==="bottom"?`bottom: ${g}`:`top: ${y}`;a.current.dataset.motionPopId=o;const E=document.createElement("style");u&&(E.nonce=u);const C=i??document.head;return C.appendChild(E),E.sheet&&E.sheet.insertRule(` 189 [data-motion-pop-id="${o}"] { 190 position: absolute !important; 191 width: ${p}px !important; 192 height: ${x}px !important; 193 ${v}px !important; 194 ${S}px !important; 195 } 196 `),()=>{C.contains(E)&&C.removeChild(E)}},[t]),c.jsx(BA,{isPresent:t,childRef:a,sizeRef:l,pop:s,children:s===!1?e:b.cloneElement(e,{ref:f})})}const UA=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o,anchorX:a,anchorY:l,root:u})=>{const d=Vf(WA),f=b.useId();let h=!0,p=b.useMemo(()=>(h=!1,{id:f,initial:t,isPresent:n,custom:i,onExitComplete:x=>{d.set(x,!0);for(const y of d.values())if(!y)return;r&&r()},register:x=>(d.set(x,!1),()=>d.delete(x))}),[n,d,r]);return s&&h&&(p={...p}),b.useMemo(()=>{d.forEach((x,y)=>d.set(y,!1))},[n]),b.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),e=c.jsx($A,{pop:o==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:u,children:e}),c.jsx(Ll.Provider,{value:p,children:e})};function WA(){return new Map}function w1(e=!0){const t=b.useContext(Ll);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=b.useId();b.useEffect(()=>{if(e)return i(s)},[e]);const o=b.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const Jo=e=>e.key||"";function bg(e){const t=[];return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const HA=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[d,f]=w1(o),h=b.useMemo(()=>bg(e),[e]),p=o&&!d?[]:h.map(Jo),x=b.useRef(!0),y=b.useRef(h),w=Vf(()=>new Map),m=b.useRef(new Set),[g,v]=b.useState(h),[S,E]=b.useState(h);Qx(()=>{x.current=!1,y.current=h;for(let k=0;k<S.length;k++){const R=Jo(S[k]);p.includes(R)?(w.delete(R),m.current.delete(R)):w.get(R)!==!0&&w.set(R,!1)}},[S,p.length,p.join("-")]);const C=[];if(h!==g){let k=[...h];for(let R=0;R<S.length;R++){const A=S[R],z=Jo(A);p.includes(z)||(k.splice(R,0,A),C.push(A))}return s==="wait"&&C.length&&(k=C),E(bg(k)),v(h),null}const{forceRender:T}=b.useContext(If);return c.jsx(c.Fragment,{children:S.map(k=>{const R=Jo(k),A=o&&!d?!1:h===S||p.includes(R),z=()=>{if(m.current.has(R))return;if(m.current.add(R),w.has(R))w.set(R,!0);else return;let I=!0;w.forEach(K=>{K||(I=!1)}),I&&(T==null||T(),E(y.current),o&&(f==null||f()),r&&r())};return c.jsx(UA,{isPresent:A,initial:!x.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:s,root:u,onExitComplete:A?void 0:z,anchorX:a,anchorY:l,children:k},R)})})},b1=b.createContext({strict:!1}),Sg={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 KA(){if(Eg)return;const e={};for(const t in Sg)e[t]={isEnabled:n=>Sg[t].some(r=>!!n[r])};Xw(e),Eg=!0}function S1(){return KA(),AR()}function GA(e){const t=S1();for(const n in e)t[n]={...t[n],...e[n]};Xw(t)}const QA=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 sl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||QA.has(e)}let E1=e=>!sl(e);function YA(e){typeof e=="function"&&(E1=t=>t.startsWith("on")?!sl(t):e(t))}try{YA(require("@emotion/is-prop-valid").default)}catch{}function XA(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(E1(i)||n===!0&&sl(i)||!t&&!sl(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Fl=b.createContext({});function qA(e,t){if(Vl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||oo(n)?n:void 0,animate:oo(r)?r:void 0}}return e.inherit!==!1?t:{}}function JA(e){const{initial:t,animate:n}=qA(e,b.useContext(Fl));return b.useMemo(()=>({initial:t,animate:n}),[Cg(t),Cg(n)])}function Cg(e){return Array.isArray(e)?e.join(" "):e}const ch=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function C1(e,t,n){for(const r in t)!ze(t[r])&&!r1(r,n)&&(e[r]=t[r])}function ZA({transformTemplate:e},t){return b.useMemo(()=>{const n=ch();return ah(n,t,e),Object.assign({},n.vars,n.style)},[t])}function eM(e,t){const n=e.style||{},r={};return C1(r,n,e),Object.assign(r,ZA(e,t)),r}function tM(e,t){const n={},r=eM(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const T1=()=>({...ch(),attrs:{}});function nM(e,t,n,r){const i=b.useMemo(()=>{const s=T1();return i1(s,t,o1(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};C1(s,e.style,e),i.style={...s,...i.style}}return i}const rM=["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 dh(e){return typeof e!="string"||e.includes("-")?!1:!!(rM.indexOf(e)>-1||/[A-Z]/u.test(e))}function iM(e,t,n,{latestValues:r},i,s=!1,o){const l=(o??dh(e)?nM:tM)(t,r,i,e),u=XA(t,typeof e=="string",s),d=e!==b.Fragment?{...u,...l,ref:n}:{},{children:f}=t,h=b.useMemo(()=>ze(f)?f.get():f,[f]);return b.createElement(e,{...d,children:h})}function sM({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:oM(n,r,i,e),renderState:t()}}function oM(e,t,n,r){const i={},s=r(e,{});for(const h in s)i[h]=xa(s[h]);let{initial:o,animate:a}=e;const l=Vl(e),u=Qw(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let d=n?n.initial===!1:!1;d=d||o===!1;const f=d?a:o;if(f&&typeof f!="boolean"&&!Il(f)){const h=Array.isArray(f)?f:[f];for(let p=0;p<h.length;p++){const x=Zf(e,h[p]);if(x){const{transitionEnd:y,transition:w,...m}=x;for(const g in m){let v=m[g];if(Array.isArray(v)){const S=d?v.length-1:0;v=v[S]}v!==null&&(i[g]=v)}for(const g in y)i[g]=y[g]}}}return i}const k1=e=>(t,n)=>{const r=b.useContext(Fl),i=b.useContext(Ll),s=()=>sM(e,t,r,i);return n?s():Vf(s)},aM=k1({scrapeMotionValuesFromProps:lh,createRenderState:ch}),lM=k1({scrapeMotionValuesFromProps:a1,createRenderState:T1}),uM=Symbol.for("motionComponentSymbol");function cM(e,t,n){const r=b.useRef(n);b.useInsertionEffect(()=>{r.current=n});const i=b.useRef(null);return b.useCallback(s=>{var a;s&&((a=e.onMount)==null||a.call(e,s)),t&&(s?t.mount(s):t.unmount());const o=r.current;if(typeof o=="function")if(s){const l=o(s);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):o(s);else o&&(o.current=s)},[t])}const P1=b.createContext({});function Zr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function dM(e,t,n,r,i,s){var v,S;const{visualElement:o}=b.useContext(Fl),a=b.useContext(b1),l=b.useContext(Ll),u=b.useContext(uh),d=u.reducedMotion,f=u.skipAnimations,h=b.useRef(null),p=b.useRef(!1);r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:s}),p.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const x=h.current,y=b.useContext(P1);x&&!x.projection&&i&&(x.type==="html"||x.type==="svg")&&fM(h.current,n,i,y);const w=b.useRef(!1);b.useInsertionEffect(()=>{x&&w.current&&x.update(n,l)});const m=n[Ow],g=b.useRef(!!m&&!((v=window.MotionHandoffIsComplete)!=null&&v.call(window,m))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,m)));return Qx(()=>{p.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 E;(E=window.MotionHandoffMarkAsComplete)==null||E.call(window,m)}),g.current=!1),x.enteringChildren=void 0)}),x}function fM(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:j1(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&Zr(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:u})}function j1(e){if(e)return e.options.allowProjection!==!1?e.projection:j1(e.parent)}function Ou(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&GA(r);const s=n?n==="svg":dh(e),o=s?lM:aM;function a(u,d){let f;const h={...b.useContext(uh),...u,layoutId:hM(u)},{isStatic:p}=h,x=JA(u),y=o(u,p);if(!p&&Gx){pM();const w=mM(h);f=w.MeasureLayout,x.visualElement=dM(e,y,h,i,w.ProjectionNode,s)}return c.jsxs(Fl.Provider,{value:x,children:[f&&x.visualElement?c.jsx(f,{visualElement:x.visualElement,...h}):null,iM(e,u,cM(y,x.visualElement,d),y,p,t,s)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=b.forwardRef(a);return l[uM]=e,l}function hM({layoutId:e}){const t=b.useContext(If).id;return t&&e!==void 0?t+"-"+e:e}function pM(e,t){b.useContext(b1).strict}function mM(e){const t=S1(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function gM(e,t){if(typeof Proxy>"u")return Ou;const n=new Map,r=(s,o)=>Ou(s,o,e,t),i=(s,o)=>r(s,o);return new Proxy(i,{get:(s,o)=>o==="create"?r:(n.has(o)||n.set(o,Ou(o,void 0,e,t)),n.get(o))})}const yM=(e,t)=>t.isSVG??dh(e)?new QR(t):new $R(t,{allowProjection:e!==b.Fragment});class vM extends fr{constructor(t){super(t),t.animationState||(t.animationState=ZR(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 xM=0;class wM extends fr{constructor(){super(...arguments),this.id=xM++}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 i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};
vendor: 16,607 bytes, line 196
196n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const bM={animation:{Feature:vM},exit:{Feature:wM}};function Eo(e){return{point:{x:e.pageX,y:e.pageY}}}const SM=e=>t=>rh(t)&&e(t,Eo(t));function Ds(e,t,n,r){return ao(e,t,SM(n),r)}const N1=({current:e})=>e?e.ownerDocument.defaultView:null,Tg=(e,t)=>Math.abs(e-t);function EM(e,t){const n=Tg(e.x,t.x),r=Tg(e.y,t.y);return Math.sqrt(n**2+r**2)}const kg=new Set(["auto","scroll"]);class R1{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=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=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=Vu(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,y=EM(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!x&&!y)return;const{point:w}=p,{timestamp:m}=Ae;this.history.push({...w,timestamp:m});const{onStart:g,onMove:v}=this.handlers;x||(g&&g(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,p)},this.handlePointerMove=(p,x)=>{this.lastMoveEvent=p,this.lastMoveEventInfo=Iu(x,this.transformPagePoint),se.update(this.updatePoint,!0)},this.handlePointerUp=(p,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(p.type==="pointercancel"?this.lastMoveEventInfo:Iu(x,this.transformPagePoint),this.history);this.startEvent&&y&&y(p,g),w&&w(p,g)},!rh(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const l=Eo(t),u=Iu(l,this.transformPagePoint),{point:d}=u,{timestamp:f}=Ae;this.history=[{...d,timestamp:f}];const{onSessionStart:h}=n;h&&h(t,Vu(u,this.history)),this.removeListeners=wo(Ds(this.contextWindow,"pointermove",this.handlePointerMove),Ds(this.contextWindow,"pointerup",this.handlePointerUp),Ds(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(kg.has(r.overflowX)||kg.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,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:i.x-n.x,y:i.y-n.y};s.x===0&&s.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,i),se.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),lr(this.updatePoint)}}function Iu(e,t){return t?{point:t(e.point)}:e}function Pg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Vu({point:e},t){return{point:e,delta:Pg(e,A1(t)),offset:Pg(e,CM(t)),velocity:TM(t,.1)}}function CM(e){return e[0]}function A1(e){return e[e.length-1]}function TM(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=A1(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>bt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>bt(t)*2&&(r=e[1]);const s=vt(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function kM(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?he(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?he(n,e,r.max):Math.min(e,n)),e}function jg(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 PM(e,{top:t,left:n,bottom:r,right:i}){return{x:jg(e.x,n,i),y:jg(e.y,t,r)}}function Ng(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 jM(e,t){return{x:Ng(e.x,t.x),y:Ng(e.y,t.y)}}function NM(e,t){let n=.5;const r=Ge(e),i=Ge(t);return i>r?n=ro(t.min,t.max-r,e.min):r>i&&(n=ro(e.min,e.max-i,t.min)),rn(0,1,n)}function RM(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 vd=.35;function AM(e=vd){return e===!1?e=0:e===!0&&(e=vd),{x:Rg(e,"left","right"),y:Rg(e,"top","bottom")}}function Rg(e,t,n){return{min:Ag(e,t),max:Ag(e,n)}}function Ag(e,t){return typeof e=="number"?e:e[t]||0}const MM=new WeakMap;class DM{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=Ce(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=f=>{n&&this.snapToCursor(Eo(f).point),this.stopAnimation()},o=(f,h)=>{const{drag:p,dragPropagation:x,onDragStart:y}=this.getProps();if(p&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=aR(p),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Kt(m=>{let g=this.getAxisMotionValue(m).get()||0;if(tn.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(f,h),!1,!0),ud(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},a=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:p,dragDirectionLock:x,onDirectionLock:y,onDrag:w}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:m}=h;if(x&&this.currentDirection===null){this.currentDirection=OM(m),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",h.point,m),this.updateAxis("y",h.point,m),this.visualElement.render(),w&&se.update(()=>w(f,h),!1,!0)},l=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new R1(t,{onSessionStart:s,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:N1(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!r)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&se.postRender(()=>a(r,i))}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:i}=this.getProps();if(!r||!Zo(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=kM(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var s;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(s=this.visualElement.projection)==null?void 0:s.layout,i=this.constraints;t&&Zr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=PM(r.layoutBox,t):this.constraints=!1,this.elastic=AM(n),i!==this.constraints&&!Zr(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Kt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=RM(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Zr(t))return!1;const r=t.current;Ui(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:i}=this.visualElement;if(!i||!i.layout)return!1;const s=IR(r,i.root,this.visualElement.getTransformPagePoint());let o=jM(i.layout.layoutBox,s);if(n){const a=n(DR(o));this.hasMutatedConstraints=!!a,a&&(o=Jw(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Kt(d=>{if(!Zo(d,n,this.currentDirection))return;let f=l&&l[d]||{};o&&(f={min:0,max:0});const h=i?200:1e6,p=i?40:1e7,x={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(d,x)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return ud(this.visualElement,t),r.start(Jf(t,r,0,n,this.visualElement,!1))}stopAnimation(){Kt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Kt(n=>{const{drag:r}=this.getProps();if(!Zo(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n],l=s.get()||0;s.set(t[n]-he(o,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Zr(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Kt(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=NM({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Kt(o=>{if(!Zo(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(he(l,u,i[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;MM.set(this.visualElement,this);const t=this.visualElement.current,n=Ds(t,"pointerdown",u=>{const{drag:d,dragListener:f=!0}=this.getProps(),h=u.target,p=h!==t&&hR(h);d&&f&&!p&&this.start(u)});let r;const i=()=>{const{dragConstraints:u}=this.getProps();Zr(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=LM(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),se.read(i);const a=ao(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Kt(f=>{const h=this.getAxisMotionValue(f);h&&(this.originPoint[f]+=u[f].translate,h.set(h.get()+u[f].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=vd,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function Mg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function LM(e,t,n){const r=_m(e,Mg(n)),i=_m(t,Mg(n));return()=>{r(),i()}}function Zo(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function OM(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class IM extends fr{constructor(t){super(t),this.removeGroupControls=wt,this.removeListeners=wt,this.controls=new DM(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||wt}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 Fu=e=>(t,n)=>{e&&se.update(()=>e(t,n),!1,!0)};class VM extends fr{constructor(){super(...arguments),this.removePointerDownListener=wt}onPointerDown(t){this.session=new R1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:N1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Fu(t),onStart:Fu(n),onMove:Fu(r),onEnd:(s,o)=>{delete this.session,i&&se.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=Ds(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 _u=!1;class FM extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),_u&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),wa.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:o}=r;return o&&(o.isPresent=s,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),_u=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||se.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),nh.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;_u=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function M1(e){const[t,n]=w1(),r=b.useContext(If);return c.jsx(FM,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(P1),isPresent:t,safeToRemove:n})}const _M={pan:{Feature:VM},drag:{Feature:IM,ProjectionNode:x1,MeasureLayout:M1}};function Dg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&se.postRender(()=>s(t,Eo(t)))}class zM extends fr{mount(){const{current:t}=this.node;t&&(this.unmount=uR(t,(n,r)=>(Dg(this.node,r,"Start"),i=>Dg(this.node,i,"End"))))}unmount(){}}class BM extends fr{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=wo(ao(this.node.current,"focus",()=>this.onFocus()),ao(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Lg(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 i="onTap"+(n==="End"?"":n),s=r[i];s&&se.postRender(()=>s(t,Eo(t)))}class $M extends fr{mount(){const{current:t}=this.node;if(!t)return;
196const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=mR(t,(i,s)=>(Lg(this.node,s,"Start"),(o,{success:a})=>Lg(this.node,o,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const xd=new WeakMap,zu=new WeakMap,UM=e=>{const t=xd.get(e.target);t&&t(e)},WM=e=>{e.forEach(UM)};function HM({root:e,...t}){const n=e||document;zu.has(n)||zu.set(n,{});const r=zu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(WM,{root:e,...t})),r[i]}function KM(e,t,n){const r=HM(t);return xd.set(e,n),r.observe(e),()=>{xd.delete(e),r.unobserve(e)}}const GM={some:0,all:1};class QM extends fr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:GM[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,s&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),h=u?d:f;h&&h(l)};return KM(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(YM(t,n))&&this.startObserver()}unmount(){}}function YM({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const XM={inView:{Feature:QM},tap:{Feature:$M},focus:{Feature:BM},hover:{Feature:zM}},qM={layout:{ProjectionNode:x1,MeasureLayout:M1}},JM={...bM,...XM,..._M,...qM},Q=gM(JM,yM),fh="/assets/activity-jetski-BOerTjOc.jpg",hh="/assets/activity-bouee-B96xfm_0.jpg",ph="/assets/activity-jetkids-DcfExGA8.jpg",D1="/assets/activity-evg-stWzvFM2.jpg",L1="/assets/activity-groupe-DwuDhqwW.jpg",ZM=[{title:"Jet Ski",image:fh,duration:"1h / 1h30 / 2h",age:"Dès 16 ans (pilote) / 8 ans (passager)",description:"Avec ou sans permis bateau, partez à la découverte du patrimoine de la Côte d'Ãmeraude.",link:"/jet-ski"},{title:"Bouée Tractée",image:hh,duration:"20 minutes",age:"Dès 8 ans",description:"15 minutes de glisse et de fun face à la cité Corsaire de Saint-Malo.",link:"/bouee-tractee"},{title:"Baptême Jet-Kids",image:ph,duration:"20 minutes",age:"6 - 15 ans",description:"L'activité idéale pour les jeunes amateurs de sensations, accompagné d'un moniteur diplômé.",link:"/jet-kids"},{title:"EVG / EVJF",image:D1,duration:"30 min â 1h30",age:"Groupes",description:"Bouée tractée et apéro en mer pour un événement inoubliable.",link:"/evg-evjf"},{title:"Groupe / Séminaire / CE",image:L1,duration:"Sur mesure",age:"Tous publics",description:"Séminaires, team building, anniversaires⦠On organise votre sortie sur mesure.",link:"/contact"}],eD=[{icon:PC,label:"Moniteur diplômé d'Ãtat"},{icon:NC,label:"Matériel dernière génération"},{icon:jC,label:"Combinaison & gilet inclus"},{icon:kC,label:"Système anti-collision OTOTRAK"},{icon:SC,label:"Vestiaires · WC · Douches"},{icon:xC,label:"Parking à proximité"}],Og={hidden:{opacity:0,y:30},visible:e=>({opacity:1,y:0,transition:{delay:e*.12,duration:.6,ease:"easeOut"}})},tD=()=>{const{openBooking:e}=Kx();return c.jsxs("div",{className:"min-h-screen bg-background",children:[c.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[c.jsx("div",{className:"absolute inset-0",children:c.jsx("iframe",{src:"https://www.youtube.com/embed/NFzpBVk8F2g?autoplay=1&mute=1&loop=1&playlist=NFzpBVk8F2g&controls=0&showinfo=0&modestbranding=1&rel=0&playsinline=1",title:"EWS Saint-Malo",allow:"autoplay; encrypted-media",allowFullScreen:!0,className:"absolute top-[28%] left-1/2 -translate-x-1/2 -translate-y-1/2 md:top-[53%] w-[120%] h-[120%] md:w-[110%] md:h-[110%] pointer-events-none"})}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/70 via-background/40 to-background"}),c.jsxs(Q.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10 text-center px-6 max-w-4xl",children:[c.jsxs("h1",{className:"text-6xl md:text-8xl tracking-wider text-foreground leading-none",children:["EWS ",c.jsx("span",{className:"block md:inline text-primary",children:"Saint-Malo"})]}),c.jsx("p",{className:"font-display text-lg md:text-3xl tracking-widest text-foreground mt-4",children:"Jet Ski â Bouée Tractée â Excursion"}),c.jsx(Q.div,{initial:{opacity:0,y:20}
196,animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"mt-8 space-y-2 text-foreground text-lg font-body max-w-xl mx-auto",children:c.jsx("p",{children:"Sensations garanties face à Intra-Muros"})}),c.jsx("div",{className:"flex justify-center mt-10",children:c.jsx(He,{to:"/activites",className:"px-10 py-4 bg-primary text-primary-foreground font-bold text-lg rounded-lg hover:opacity-90 transition-opacity uppercase tracking-wider font-body",children:"Activités"})})]})]}),c.jsx("section",{className:"py-16 px-6 bg-card border-y border-border",children:c.jsx("div",{className:"max-w-4xl mx-auto",children:c.jsx(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"flex flex-wrap justify-center gap-4 text-foreground font-display tracking-wider text-sm md:text-base",children:["Moniteurs diplômés","Avec ou sans permis","Matériel neuf haut de gamme","Ãquipement, carburant & assurances inclus","Expérience accessible à tous","+ 3 000 clients en 2024"].map(t=>c.jsxs("span",{className:"px-5 py-2 border border-border rounded-full flex items-center gap-2",children:[c.jsx("span",{className:"text-primary",children:"â"})," ",t]},t))})})}),c.jsx("section",{className:"py-24 px-6 bg-card",children:c.jsxs("div",{className:"max-w-7xl mx-auto",children:[c.jsxs(Q.h2,{initial:{opacity:0}
196,whileInView:{opacity:1},viewport:{once:!0},className:"text-5xl md:text-6xl tracking-wider text-center text-foreground mb-16",children:["Nos ",c.jsx("span",{className:"text-primary",children:"Activités"})]}),c.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:ZM.map((t,n)=>c.jsxs(Q.div,{custom:n,initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Og,className:"group rounded-xl overflow-hidden border border-border bg-background hover:border-primary/40 transition-all",children:[c.jsxs(He,{to:t.link,className:"relative h-64 overflow-hidden block",children:[c.jsx("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background/80 to-transparent"}),c.jsx("div",{className:"absolute bottom-4 left-4 right-4",children:c.jsx("h3",{className:"font-display text-3xl tracking-wider text-foreground",children:t.title})})]}),c.jsx("div",{className:"p-4",children:c.jsx(He,{to:t.link,className:"inline-block text-primary font-semibold text-sm hover:underline uppercase tracking-wider",children:"En savoir plus â"})})]},t.title))})]})}),c.jsx("section",{className:"py-24 px-6",children:c.jsxs("div",{className:"max-w-5xl mx-auto",children:[c.jsxs(Q.h2,{initial:{opacity:0}
196,whileInView:{opacity:1},viewport:{once:!0},className:"text-5xl md:text-6xl tracking-wider text-center text-foreground mb-16",children:["Nos ",c.jsx("span",{className:"text-primary",children:"Services"})]}),c.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8",children:eD.map((t,n)=>c.jsxs(Q.div,{custom:n,initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Og,className:"text-center",children:[c.jsx("div",{className:"w-16 h-16 mx-auto rounded-xl bg-primary/10 flex items-center justify-center mb-4",children:c.jsx(t.icon,{className:"text-primary",size:28})}),c.jsx("p",{className:"text-foreground font-semibold text-sm",children:t.label})]},t.label))})]})}),c.jsx("section",{className:"py-24 px-6 bg-card",children:c.jsxs(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-3xl mx-auto text-center",children:[c.jsxs("h2",{className:"text-5xl md:text-6xl tracking-wider text-foreground mb-6",children:["Prêts pour l'",c.jsx("span",{className:"text-primary",children:"aventure"})," ?"]}),c.jsx("p",{className:"text-muted-foreground text-lg mb-10 font-body",children:"Que ce soit pour une sortie en famille, une escapade entre amis, un EVG/EVJF ou un événement d'entreprise, rejoignez-nous pour des souvenirs inoubliables !"}),c.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[c.jsx("button",{onClick:()=>e(),className:"px-10 py-4 bg-primary text-primary-foreground font-bold text-lg rounded-lg hover:opacity-90 transition-opacity uppercase tracking-wider font-body",children:"Réserver"}),c.jsx(He,{to:"/contact",className:"px-10 py-4 border border-primary/40 text-foreground font-bold text-lg rounded-lg hover:bg-primary/10 transition-colors uppercase tracking-wider",children:"Nous contacter"})]})]})})]})},nD=[{title:"Jet Ski",image:fh,duration:"1h / 1h30 / 2h",age:"Dès 16 ans (pilote) / 8 ans (passager)",confirmation:"Immédiate",description:"Vous n'avez pas le permis bateau et vous souhaitez faire du jet ski ? C'EST POSSIBLE ! Toutes nos sorties sont encadrées à distance par un moniteur diplômé d'Ãtat.",link:"/jet-ski",internal:!0},{title:"Bouée Tractée",image:hh,duration:"20 minutes",age:"Dès 8 ans",confirmation:"Immédiate",description:"Embarquez pour 15 minutes de glisse et de fun en famille ou entre amis à Saint-Malo, face à la cité Corsaire.",link:"/bouee-tractee",internal:!0},{title:"Baptême Jet-Kids",image:ph,duration:"30 minutes",age:"6 - 15 ans",confirmation:"Immédiate",description:"Pour les petits amateurs de sensations et de découverte, le baptême de jet ski est l'activité idéale ! Accompagné d'un moniteur diplômé.",link:"/jet-kids",internal:!0},{title:"EVG / EVJF",image:D1,duration:"30 min à 1h30",age:"Groupes",confirmation:"Sur demande",description:"Organisez votre enterrement de vie de garçon ou de jeune fille à Saint-Malo : bouée tractée entre amis, apéro en mer.",link:"/evg-evjf",internal:!0},{title:"Groupe / Séminaire / CE",image:L1,duration:"Sur mesure",age:"Tous publics",confirmation:"Sur demande",description:"Sorties sur mesure pour anniversaires, team building et séminaires. Contactez-nous pour organiser votre événement.",link:"/contact",internal:!0}],rD=()=>c.jsx("div",{className:"min-h-screen bg-background pt-28 pb-24 px-6",children:c.jsxs("div",{className:"max-w-5xl mx-auto",children:[c.jsxs(Q.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-5xl md:text-7xl font-display tracking-wider text-foreground text-center mb-16",children:["Nos ",c.jsx("span",{className:"text-primary",children:"Activités"})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:nD.map((e,t)=>c.jsx(He,{to:e.link,className:`group relative overflow-hidden rounded-2xl ${t===0?"md:col-span-2 h-[50vh]":"h-[40vh]"}`,children:c.jsxs(Q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1,duration:.6},className:"w-full h-full",children:[c.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent"}),c.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-6 md:p-8",children:[c.jsx("h2",{className:"text-3xl md:text-5xl font-display tracking-wider text-white mb-2",children:e.title}),c.jsxs("div",{className:"flex flex-wrap gap-2 text-sm font-semibold text-white/90",children:[c.jsx("span",{className:"px-3 py-1 bg-white/20 backdrop-blur-sm rounded-full",children:e.duration}),c.jsx("span",{className:"px-3 py-1 bg-white/20 backdrop-blur-sm rounded-full",children:e.age})]})]})]})}
196,e.title))})]})}),iD="/assets/hero-evg-BP__ONa4.jpg",sD=[{emoji:"â¡",name:"FORMULE BOUÃE TRACTÃE",price:"30⬠/ pers",duration:"30 min",details:["Bouée tractée intense"],tagline:"On lance le défi. Qui tient ?"},{emoji:"ð¥",name:"FORMULE JET SKI 1H",price:"75⬠/ pers",duration:"1h",details:["Jet Ski 1h (2 pers par machine)"],tagline:"Sensations garanties face à Intra-Muros."},{emoji:"ð",name:"JET SKI + BOUÃE TRACTÃE",price:"95⬠/ pers",duration:"1h20 â Expérience complète",details:["Jet Ski 1h (2 pers par machine)","Bouée tractée 20 min"],tagline:"L'expérience ultime. Tout est inclus."}],oD={hidden:{opacity:0,y:30},visible:e=>({opacity:1,y:0,transition:{delay:e*.15,duration:.6,ease:"easeOut"}})},aD=()=>c.jsxs("div",{className:"min-h-screen bg-background",children:[c.jsxs("section",{className:"relative min-h-[90vh] flex items-center justify-center overflow-hidden",children:[c.jsx("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${iD})`}}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/80 via-background/50 to-background/90"}),c.jsxs(Q.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10 text-center px-6 max-w-3xl",children:[c.jsx("img",{src:Of,alt:"EWS Jet Ski Saint-Malo",className:"w-48 mx-auto mb-8"}),c.jsxs("h1",{className:"text-5xl md:text-7xl font-display tracking-wide text-foreground leading-tight",children:["EVG ",c.jsx("span",{className:"text-primary",children:"/"})," EVJF"]}),c.jsx("p",{className:"text-xl md:text-2xl text-primary font-display tracking-widest mt-4",children:"L'adrénaline à l'état pur"}),c.jsx("p",{className:"text-muted-foreground mt-6 text-lg max-w-xl mx-auto",children:"Organisez votre EVG ou EVJF à Saint-Malo : sensations fortes, fous rires et embruns garantis entre amis."}),c.jsx("p",{className:"text-primary font-display tracking-wider mt-4 text-base md:text-lg",children:"De 4 à 16 personnes"}),c.jsx("a",{href:"#formules",className:"inline-block mt-10 px-8 py-4 bg-primary text-primary-foreground font-bold text-lg rounded-lg hover:opacity-90 transition-opacity uppercase tracking-wider",children:"Découvrir les formules"})]})]}),c.jsx("section",{className:"py-24 px-6",children:c.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[c.jsxs(Q.h2,{initial:{opacity:0}
196,whileInView:{opacity:1},viewport:{once:!0},className:"text-4xl md:text-5xl font-display text-foreground mb-8 tracking-wider",children:["TOUT EST ",c.jsx("span",{className:"text-primary",children:"INCLUS"})]}),c.jsxs(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"space-y-8",children:[c.jsx("div",{className:"flex flex-wrap justify-center gap-4 text-lg text-foreground font-display tracking-wider",children:["Ãquipement","Carburant","Assurance","Vestiaires","Douches","Sanitaires"].map(e=>c.jsx("span",{className:"px-5 py-2 border border-border rounded-full",children:e},e))}),c.jsx("div",{className:"flex flex-wrap justify-center gap-6 pt-6",children:["ð¤ BATEAU SPEED BOAT","ð¯ BOUÃE TRACTÃE","ðï¸ JET SKI"].map(e=>c.jsx("span",{className:"text-xl md:text-2xl font-display text-primary tracking-widest",children:e},e))})]})]})}),c.jsx("section",{id:"formules",className:"py-24 px-6 bg-card",children:c.jsxs("div",{className:"max-w-5xl mx-auto",children:[c.jsxs(Q.h2,{initial:{opacity:0}
196,whileInView:{opacity:1},viewport:{once:!0},className:"text-5xl md:text-6xl font-display text-center text-foreground mb-4 tracking-wider",children:["Nos ",c.jsx("span",{className:"text-primary",children:"Formules"})]}),c.jsx("p",{className:"text-center text-muted-foreground mb-16 max-w-lg mx-auto",children:"3 niveaux d'intensité pour s'adapter à votre groupe et vos envies."}),c.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:sD.map((e,t)=>c.jsxs(Q.div,{custom:t,initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:oD,className:"relative rounded-xl p-8 border border-border bg-background transition-all hover:scale-[1.02]",children:[c.jsx("div",{className:"text-4xl mb-4",children:e.emoji}),c.jsx("h3",{className:"text-3xl font-display text-foreground tracking-wide",children:e.name}),c.jsx("p",{className:"text-primary font-bold text-lg mt-2",children:e.price}),c.jsx("p",{className:"text-muted-foreground text-sm mt-1",children:e.duration}),c.jsx("ul",{className:"mt-6 space-y-2",children:e.details.map(n=>c.jsxs("li",{className:"text-foreground flex items-center gap-2",children:[c.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary inline-block"}),n]},n))}),c.jsx("p",{className:"text-muted-foreground italic mt-6 text-sm",children:e.tagline})]},e.name))})]})}),c.jsx("section",{className:"py-24 px-6",children:c.jsxs(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-3xl mx-auto bg-primary rounded-2xl p-12 md:p-16 text-center",children:[c.jsx("h2",{className:"text-4xl md:text-6xl font-display text-primary-foreground mb-4 tracking-wider uppercase",children:"Contactez-nous"}),c.jsx("p",{className:"text-primary-foreground/90 mb-10 text-2xl md:text-3xl font-display tracking-wider",children:"Précisez ces infos et on s'occupe du reste."}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-10",children:[{icon:"ð¥",label:"NOMBRE DE PERSONNES"},{icon:"ð
",label:"DATE & HEURE"},{icon:"ð¯",label:"ACTIVITà SOUHAITÃE"}].map(e=>c.jsxs("div",{className:"bg-primary-foreground/10 backdrop-blur-sm border border-primary-foreground/20 rounded-xl p-6 flex flex-col items-center gap-3",children:[c.jsx("span",{className:"text-3xl",children:e.icon}),c.jsx("span",{className:"text-primary-foreground font-bold text-sm tracking-widest",children:e.label})]},e.label))}),c.jsx(He,{to:"/contact",className:"inline-block px-12 py-5 bg-primary-foreground text-primary font-bold text-lg rounded-lg hover:opacity-90 transition-opacity uppercase tracking-wider",children:"Nous contacter"})]})})]}),lD=()=>c.jsx("div",{className:"min-h-screen bg-background pt-28 pb-24 px-6",children:c.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[c.jsxs(Q.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-5xl md:text-7xl font-display tracking-wider text-foreground mb-4",children:["Cartes ",c.jsx("span",{className:"text-primary",children:"Cadeaux"})]}),c.jsx("p",{className:"text-muted-foreground text-lg mb-16 max-w-xl mx-auto",children:"Offrez une expérience unique à Saint-Malo ! Nos cartes cadeaux sont valables pour toutes nos activités."}),c.jsx("div",{className:"grid md:grid-cols-3 gap-8 mb-16",children:[{icon:EC,title:"Choisissez",desc:"Envoie-nous un email avec l'activité que tu souhaites offrir"},{icon:bC,title:"Commandez",desc:"Nous t'envoyons un lien de paiement 100% sécurisé, confirmation immédiate"},{icon:CC,title:"Offrez",desc:"Reçois ta carte cadeau personnalisée prête à être offerte"}].map((e,t)=>c.jsxs(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.15},className:"bg-card border border-border rounded-xl p-8",children:[c.jsx("div",{className:"w-16 h-16 mx-auto rounded-xl bg-primary/10 flex items-center justify-center mb-4",children:c.jsx(e.icon,{className:"text-primary",size:28})}),c.jsx("h3",{className:"font-display text-2xl tracking-wider text-foreground mb-2",children:e.title}),c.jsx("p",{className:"text-muted-foreground text-sm",children:e.desc})]},e.title))}),c.jsxs("h2",{className:"text-3xl md:text-5xl font-display tracking-wider text-foreground mb-10",children:["Nos cartes ",c.jsx("span",{className:"text-primary",children:"cadeaux"})]}),c.jsx("div",{className:"grid md:grid-cols-3 gap-8 mb-16",children:[{emoji:"ð¤",title:"Jet Ski",desc:"Offrez une randonnée jet ski face à Saint-Malo. Durées : 1h, 1h30 ou 2h."},{emoji:"ð",title:"Bouée Tractée",desc:"20 minutes de fun et de sensations garantis en famille ou entre amis."}
196,{emoji:"ð¶",title:"Baptême Jet-Kids",desc:"Le baptême jet ski pour les 6-15 ans, accompagné d'un moniteur diplômé."}].map((e,t)=>c.jsxs(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.15},className:"bg-card border border-border rounded-xl p-8 flex flex-col items-center text-center",children:[c.jsx("div",{className:"text-5xl mb-4",children:e.emoji}),c.jsx("h3",{className:"font-display text-2xl tracking-wider text-foreground mb-2",children:e.title}),c.jsx("p",{className:"text-muted-foreground text-sm mb-6",children:e.desc}),c.jsx("a",{href:"mailto:[email protected]",className:"mt-auto px-6 py-3 bg-primary/10 text-primary font-bold text-sm rounded-lg uppercase tracking-wider hover:bg-primary/20 transition-colors",children:"EMAIL NOUS AVEC TA DEMANDE"})]},e.title))})]})}),uD=[{icon:z0,label:"Téléphone",value:"07 83 39 24 48",href:"tel:+33783392448"},{icon:F0,label:"Email",value:"[email protected]",href:"mailto:[email protected]"},{icon:_0,label:"Adresse",value:"Gare Maritime de la Bourse, Saint-Malo",href:"https://www.google.com/maps/search/?api=1&query=Gare+Maritime+de+la+Bourse,+Saint-Malo"},{icon:vC,label:"Ouverture",value:"Mai à Septembre"}],cD=()=>c.jsx("div",{className:"min-h-screen bg-background pt-28 pb-24 px-6",children:c.jsxs("div",{className:"max-w-3xl mx-auto",children:[c.jsxs(Q.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center mb-20",children:[c.jsxs("h1",{className:"text-5xl md:text-7xl font-display tracking-wider text-foreground mb-4",children:["Contactez-",c.jsx("span",{className:"text-primary",children:"nous"})]}),c.jsx("p",{className:"text-muted-foreground text-lg max-w-md mx-auto",children:"Une question, une réservation groupe ou un événement ? On vous répond rapidement."})]}),c.jsx("div",{className:"grid sm:grid-cols-2 gap-5 mb-16",children:uD.map((e,t)=>c.jsx(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1,duration:.5},children:e.href?c.jsxs("a",{href:e.href,className:"flex items-center gap-4 bg-card border border-border rounded-xl p-6 hover:border-primary/40 transition-colors group",children:[c.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0 group-hover:bg-primary/20 transition-colors",children:c.jsx(e.icon,{className:"text-primary",size:22})}),c.jsxs("div",{children:[c.jsx("p",{className:"font-display text-sm tracking-wider text-muted-foreground",children:e.label}),c.jsx("p",{className:"text-foreground font-semibold",children:e.value})]})]}):c.jsxs("div",{className:"flex items-center gap-4 bg-card border border-border rounded-xl p-6",children:[c.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:c.jsx(e.icon,{className:"text-primary",size:22})}),c.jsxs("div",{children:[c.jsx("p",{className:"font-display text-sm tracking-wider text-muted-foreground",children:e.label}),c.jsx("p",{className:"text-foreground font-semibold",children:e.value})]})]})},e.label))}),c.jsx(Q.div,{initial:{opacity:0}
196,whileInView:{opacity:1},viewport:{once:!0},className:"flex justify-center gap-4",children:[{icon:I0,href:"https://www.facebook.com/ewssaintmalo",label:"Facebook"},{icon:V0,href:"https://www.instagram.com/ewssaintmalo/",label:"Instagram"}].map(e=>c.jsx("a",{href:e.href,target:"_blank",rel:"noopener noreferrer","aria-label":e.label,className:"w-12 h-12 rounded-lg bg-card border border-border flex items-center justify-center text-muted-foreground hover:text-primary hover:border-primary/40 transition-colors",children:c.jsx(e.icon,{size:22})},e.href))})]})}),mh=()=>c.jsx(Q.div,{initial:{opacity:0,scale:.95,y:10},whileInView:{opacity:1,scale:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:"easeOut"},className:"relative z-10",children:c.jsxs("div",{className:"relative max-w-4xl mx-auto overflow-hidden rounded-xl border-4 border-warning bg-warning/10 shadow-[0_0_40px_rgba(250,204,21,0.15)]",children:[c.jsx("div",{className:"absolute inset-0 bg-warning/10"}),c.jsx("div",{className:"absolute top-0 left-0 right-0 h-1.5 bg-warning"}),c.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-1.5 bg-warning"}),c.jsxs("div",{className:"relative flex flex-col md:flex-row items-center justify-center gap-4 px-6 py-5 md:py-6 text-center",children:[c.jsxs("div",{className:"flex items-center gap-3",children:[c.jsx("div",{className:"flex-shrink-0 w-12 h-12 rounded-full bg-warning flex items-center justify-center shadow-lg",children:c.jsx(wf,{className:"w-6 h-6 text-warning-foreground",strokeWidth:2.5})}),c.jsx("div",{className:"flex-shrink-0 w-12 h-12 rounded-full bg-destructive flex items-center justify-center shadow-lg md:hidden",children:c.jsx(Fc,{className:"w-6 h-6 text-destructive-foreground",strokeWidth:2.5})})]}),c.jsxs("div",{className:"space-y-1",children:[c.jsx("p",{className:"text-warning font-black text-lg md:text-2xl uppercase tracking-wider leading-tight",children:c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Fc,{className:"hidden md:inline w-5 h-5",strokeWidth:3}),"Important"]})}),c.jsx("p",{className:"text-foreground font-black text-base md:text-xl uppercase tracking-wide leading-tight",children:"Important - Présentez-vous 30 minutes avant votre horaire de départ"})]})]})]})}),Ig="ews-important-notice-dismissed",gh=()=>{const[e,t]=b.useState(!1);b.useEffect(()=>{if(!sessionStorage.getItem(Ig)){const i=setTimeout(()=>t(!0),800);return()=>clearTimeout(i)}},[]);const n=()=>{t(!1),sessionStorage.setItem(Ig,"true")};return c.jsx(HA,{children:e&&c.jsx(Q.div,{initial:{opacity:0}
196,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[200] flex items-center justify-center p-4 bg-black/70 backdrop-blur-sm",onClick:n,children:c.jsxs(Q.div,{initial:{opacity:0,scale:.85,y:40},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{type:"spring",damping:25,stiffness:300},onClick:r=>r.stopPropagation(),className:"relative w-full max-w-lg overflow-hidden rounded-2xl border-4 border-warning bg-card shadow-[0_0_60px_rgba(250,204,21,0.25)]",children:[c.jsx("div",{className:"h-3 w-full bg-warning"}),c.jsx("button",{onClick:n,className:"absolute top-4 right-4 p-2 rounded-full text-muted-foreground hover:text-foreground hover:bg-muted transition-colors","aria-label":"Fermer",children:c.jsx(Tl,{size:20})}),c.jsxs("div",{className:"p-8 text-center",children:[c.jsxs("div",{className:"flex items-center justify-center gap-3 mb-4",children:[c.jsx("div",{className:"w-14 h-14 rounded-full bg-warning flex items-center justify-center shadow-lg",children:c.jsx(wf,{className:"w-7 h-7 text-warning-foreground",strokeWidth:2.5})}),c.jsx("div",{className:"w-14 h-14 rounded-full bg-destructive flex items-center justify-center shadow-lg",children:c.jsx(Fc,{className:"w-7 h-7 text-destructive-foreground",strokeWidth:2.5})})]}),c.jsx("p",{className:"text-warning font-black text-2xl md:text-3xl uppercase tracking-wider mb-3",children:"Important"}),c.jsx("p",{className:"text-foreground font-black text-lg md:text-xl uppercase tracking-wide leading-tight mb-8",children:"Important - Présentez-vous 30 minutes avant votre horaire de départ"}),c.jsx("button",{onClick:n,className:"px-10 py-4 bg-warning text-warning-foreground font-bold text-lg rounded-lg hover:opacity-90 transition-opacity uppercase tracking-wider font-body",children:"OKAY"})]}),c.jsx("div",{className:"h-3 w-full",style:{background:"repeating-linear-gradient(45deg, hsl(var(--warning)), hsl(var(--warning)) 10px, hsl(var(--warning-foreground)) 10px, hsl(var(--warning-foreground)) 20px)"}})]})})})},dD=[{icon:wC,emoji:"ð",title:"Jet Ski 1H",activityUuid:"Nol54KvmUOcxZRpADgFQd2Wazq7hXkrfJ6eM",description:"Partez pour une balade d'une heure à la découverte de la Côte d'Ãmeraude. Accessible débutant ou confirmé.",price:"130⬠/ jet ski",priceNote:"* Supplément 20⬠pour le passager",details:["Durée : 1h","Avec ou sans permis","Dès 16 ans (pilote) / 8 ans (passager)"]},{icon:wf,emoji:"ð",title:"Jet Ski 2H",activityUuid:"h1aONb4sPdBmpKLk2Z5vAeGVWHcqft9rR7ui",description:"La formule la plus complète ! 2 heures de navigation pour explorer la baie de Saint-Malo en profondeur : forts, îles, plages secrètes et patrimoine maritime.",price:"200⬠/ jet ski",priceNote:"* Supplément 20⬠pour le passager",details:["Durée : 2h","Parcours étendu"]}],fD={hidden:{opacity:0,y:30},visible:e=>({opacity:1,y:0,transition:{delay:e*.15,duration:.6,ease:"easeOut"}})},hD=()=>c.jsxs("div",{className:"min-h-screen bg-background",children:[c.jsx(gh,{}),c.jsxs("section",{className:"relative min-h-[90vh] flex items-center justify-center overflow-hidden",children:[c.jsx("img",{src:fh,alt:"Jet Ski Saint-Malo",className:"absolute inset-0 w-full h-full object-cover"}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/80 via-background/50 to-background/90"}),c.jsxs(Q.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10 text-center px-6 max-w-3xl",children:[c.jsxs("h1",{className:"text-5xl md:text-7xl font-display tracking-wide text-foreground leading-tight",children:["Jet ",c.jsx("span",{className:"text-primary",children:"Ski"})," Saint-Malo"]}),c.jsx("p",{className:"text-xl md:text-2xl text-primary font-display tracking-widest mt-4",children:"Partez en randonnée jet ski entre les forts, Cézembre et la baie de Saint-Malo ð"})]})]}),c.jsx("section",{className:"py-8 px-6 -mt-12 relative z-20",children:c.jsx(mh,{})}),c.jsx("section",{className:"py-24 px-6",children:c.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[c.jsxs(Q.h2,{initial:{opacity:0}
196,whileInView:{opacity:1},viewport:{once:!0},className:"text-4xl md:text-5xl font-display text-foreground mb-8 tracking-wider",children:["TOUT EST ",c.jsx("span",{className:"text-primary",children:"INCLUS"})]}),c.jsxs(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"space-y-8",children:[c.jsx("div",{className:"flex flex-wrap justify-center gap-4 text-lg text-foreground font-display tracking-wider",children:["Sans permis","Dès 16 ans (pilote)","1m30 (passager)","1 ou 2 pers / jet","Carburant","Assurance","Vestiaires","Ãquipement fourni"].map(e=>c.jsx("span",{className:"px-5 py-2 border border-border rounded-full",children:e},e))}),c.jsx("p",{className:"text-primary font-display text-xl tracking-widest mt-6",children:"â
Réservation en ligne"})]})]})}),c.jsx("section",{className:"py-24 px-6 bg-card",children:c.jsxs("div",{className:"max-w-6xl mx-auto",children:[c.jsxs(Q.h2,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},className:"text-4xl md:text-6xl font-display tracking-wider text-center text-foreground mb-4",children:["Nos ",c.jsx("span",{className:"text-primary",children:"Formules"})]}),c.jsx("p",{className:"text-center text-muted-foreground mb-16 font-body",children:"Deux parcours pour découvrir Saint-Malo depuis la mer"}),c.jsx("div",{className:"grid md:grid-cols-2 gap-8 max-w-4xl mx-auto",children:dD.map((e,t)=>c.jsxs(Q.div,{custom:t,initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:fD,className:"rounded-2xl border border-border bg-background p-8 text-center hover:border-primary/40 transition-all",children:[c.jsx("div",{className:"text-5xl mb-4",children:e.emoji}),c.jsx("h3",{className:"text-2xl font-display tracking-wider text-foreground mb-4",children:e.title}),c.jsx("p",{className:"text-muted-foreground text-sm font-body leading-relaxed mb-6",children:e.description}),"price"in e&&c.jsxs("div",{className:"mb-6",children:[c.jsx("p",{className:"text-3xl font-display font-bold text-primary tracking-wider",children:e.price}),"priceNote"in e&&c.jsx("p",{className:"text-xs text-muted-foreground mt-1 italic",children:e.priceNote})]}),c.jsx("ul",{className:"space-y-2 mb-8",children:e.details.map(n=>c.jsxs("li",{className:"text-sm text-primary font-semibold flex items-center justify-center gap-2",children:[c.jsx("span",{className:"w-1.5 h-1.5 bg-primary rounded-full"}),n]},n))}),c.jsx("guidap-reserve-button",{children:"Réserver"})]},e.title))})]})}),c.jsx("section",{className:"py-24 px-6",children:c.jsxs(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-3xl mx-auto text-center",children:[c.jsxs("h2",{className:"text-4xl md:text-5xl font-display tracking-wider text-foreground mb-4",children:["Prêts pour l'",c.jsx("span",{className:"text-primary",children:"aventure"})," ?"]}),c.jsx("p",{className:"text-primary text-xl font-display tracking-widest uppercase mb-8",children:"Réservez directement en ligne"}),c.jsx("guidap-reserve-button",{children:"Réserver maintenant"}),c.jsxs("p",{className:"text-muted-foreground text-sm mt-8 font-body",children:["Une question ? ",c.jsx(He,{to:"/contact",className:"text-primary underline hover:opacity-80 transition-opacity",children:"Contactez-nous"})]})]})})]}),pD=()=>c.jsxs("div",{className:"min-h-screen bg-background",children:[c.jsx(gh,{}),c.jsxs("section",{className:"relative h-[70vh] flex items-center justify-center overflow-hidden",children:[c.jsx("img",{src:hh,alt:"Bouée Tractée Saint-Malo",className:"absolute inset-0 w-full h-full object-cover"}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/60 via-background/40 to-background"}),c.jsxs(Q.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10 text-center px-6",children:[c.jsxs("h1",{className:"text-5xl md:text-8xl font-display tracking-wider text-foreground",children:["Bouée ",c.jsx("span",{className:"text-primary",children:"Tractée"})," Saint-Malo"]}),c.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground mt-4 font-body max-w-2xl mx-auto",children:"Fun et sensations garantis sur la Côte d'Ãmeraude ð"})]})]}),c.jsx("section",{className:"py-8 px-6 -mt-12 relative z-20",children:c.jsx(mh,{})}),c.jsx("section",{className:"py-16 px-6",children:c.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[c.jsxs(Q.h2,{initial:{opacity:0}
196,whileInView:{opacity:1},viewport:{once:!0},className:"text-3xl md:text-5xl font-display tracking-wider text-foreground mb-8",children:["TOUT EST ",c.jsx("span",{className:"text-primary",children:"INCLUS"})]}),c.jsx("div",{className:"flex flex-wrap justify-center gap-4 text-lg text-foreground font-display tracking-wider",children:["20 minutes","Dès 8 ans","En famille ou entre amis","Gilet fourni","Encadrement pro","Vestiaires & douches"].map(e=>c.jsx("span",{className:"px-5 py-2 border border-border rounded-full",children:e},e))}),c.jsx("p",{className:"text-primary font-display text-xl tracking-widest mt-6",children:"â
Réservation en ligne"})]})}),c.jsx("section",{className:"py-16 px-6 bg-card",children:c.jsx("div",{className:"max-w-md mx-auto",children:c.jsxs(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"rounded-2xl border border-border bg-background p-8 text-center",children:[c.jsx("h3",{className:"text-2xl font-display tracking-wider text-foreground mb-2",children:"Bouée Tractée"}),c.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"20 minutes de glisse"}),c.jsx("p",{className:"text-4xl font-display font-bold text-primary tracking-wider mb-6",children:"20⬠/ pers"}),c.jsx("guidap-reserve-button",{children:"Réserver"})]})})}),c.jsx("section",{className:"py-24 px-6",children:c.jsxs(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-3xl mx-auto text-center",children:[c.jsxs("h2",{className:"text-4xl md:text-5xl font-display tracking-wider text-foreground mb-4",children:["Prêts à ",c.jsx("span",{className:"text-primary",children:"décrocher"})," ?"]}),c.jsx("p",{className:"text-primary text-xl font-display tracking-widest uppercase mb-8",children:"Réservez directement en ligne"}),c.jsx("guidap-reserve-button",{children:"Réserver maintenant"}),c.jsxs("p",{className:"text-muted-foreground text-sm mt-8 font-body",children:["Une question ? ",c.jsx(He,{to:"/contact",className:"text-primary underline hover:opacity-80 transition-opacity",children:"Contactez-nous"})]})]})})]}),mD=()=>c.jsxs("div",{className:"min-h-screen bg-background",children:[c.jsx(gh,{}),c.jsxs("section",{className:"relative h-[70vh] flex items-center justify-center overflow-hidden",children:[c.jsx("img",{src:ph,alt:"Baptême Jet-Kids Saint-Malo",className:"absolute inset-0 w-full h-full object-cover"}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/60 via-background/40 to-background"}),c.jsxs(Q.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10 text-center px-6",children:[c.jsxs("h1",{className:"text-5xl md:text-8xl font-display tracking-wider text-foreground",children:["Baptême ",c.jsx("span",{className:"text-primary",children:"Jet-Kids"})]}),c.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground mt-4 font-body max-w-2xl mx-auto",children:"L'expérience jet ski pour les plus jeunes ð¤©"})]})]}),c.jsx("section",{className:"py-8 px-6 -mt-12 relative z-20",children:c.jsx(mh,{})}),c.jsx("section",{className:"py-16 px-6",children:c.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[c.jsxs(Q.h2,{initial:{opacity:0}
196,whileInView:{opacity:1},viewport:{once:!0},className:"text-3xl md:text-5xl font-display tracking-wider text-foreground mb-8",children:["TOUT EST ",c.jsx("span",{className:"text-primary",children:"INCLUS"})]}),c.jsx("div",{className:"flex flex-wrap justify-center gap-4 text-lg text-foreground font-display tracking-wider",children:["20 minutes","6 - 15 ans","Moniteur diplômé","Gilet fourni","Combinaison fournie","Confirmation immédiate","Vestiaires, douches"].map(e=>c.jsx("span",{className:"px-5 py-2 border border-border rounded-full",children:e},e))}),c.jsx("p",{className:"text-primary font-display text-xl tracking-widest mt-6",children:"â
Réservation en ligne"})]})}),c.jsx("section",{className:"py-16 px-6 bg-card",children:c.jsx("div",{className:"max-w-md mx-auto",children:c.jsxs(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"rounded-2xl border border-border bg-background p-8 text-center",children:[c.jsx("h3",{className:"text-2xl font-display tracking-wider text-foreground mb-2",children:"Baptême Jet-Kids"}),c.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"20 minutes avec moniteur"}),c.jsx("p",{className:"text-4xl font-display font-bold text-primary tracking-wider mb-6",children:"60â¬"}),c.jsx("guidap-reserve-button",{children:"Réserver"})]})})}),c.jsx("section",{className:"py-24 px-6",children:c.jsxs(Q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-3xl mx-auto text-center",children:[c.jsxs("h2",{className:"text-4xl md:text-5xl font-display tracking-wider text-foreground mb-4",children:["Offrez-leur une ",c.jsx("span",{className:"text-primary",children:"aventure"})]}),c.jsx("p",{className:"text-primary text-xl font-display tracking-widest uppercase mb-8",children:"Réservez directement en ligne"}),c.jsx("guidap-reserve-button",{children:"Réserver maintenant"}),c.jsxs("p",{className:"text-muted-foreground text-sm mt-8 font-body",children:["Une question ? ",c.jsx(He,{to:"/contact",className:"text-primary underline hover:opacity-80 transition-opacity",children:"Contactez-nous"})]})]})})]}),gD=()=>{const e=Hr();return b.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),c.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:c.jsxs("div",{className:"text-center",children:[c.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),c.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),c.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},yD=()=>c.jsx("main",{className:"min-h-screen bg-background pt-32 pb-20",children:c.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[c.jsx(Q.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"font-display text-4xl md:text-5xl tracking-wider text-primary mb-12 text-center",children:"Conditions Générales de Vente"}),c.jsxs("div",{className:"space-y-10 text-muted-foreground text-sm leading-relaxed",children:[c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Article 1 â Objet"}),c.jsx("p",{children:"Les présentes conditions générales de vente (CGV
196) régissent les relations contractuelles entre la société EWS Saint-Malo et ses clients dans le cadre des prestations de loisirs nautiques : randonnée jet ski, bouée tractée, baptême jet-kids et formules EVG/EVJF."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Article 2 â Réservation et paiement"}),c.jsxs("ul",{className:"list-disc pl-5 space-y-2",children:[c.jsx("li",{children:"Les réservations peuvent être effectuées en ligne, par téléphone ou sur place, sous réserve de disponibilité."}),c.jsx("li",{children:"Le paiement intégral est exigé au moment de la réservation pour confirmer celle-ci."}),c.jsx("li",{children:"Les moyens de paiement acceptés sont : carte bancaire, espèces et virement bancaire."}),c.jsx("li",{children:"Un bon de réservation ou une confirmation par e-mail sera envoyé au client après validation du paiement."})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Article 3 â Tarifs"}),c.jsx("p",{children:"Les tarifs sont indiqués en euros TTC. EWS Saint-Malo se réserve le droit de modifier ses tarifs à tout moment, les prestations étant facturées au tarif en vigueur au moment de la réservation."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Article 4 â Annulation et remboursement"}),c.jsxs("ul",{className:"list-disc pl-5 space-y-2",children:[c.jsxs("li",{children:[c.jsx("strong",{children:"Par le client :"})," Toute annulation effectuée plus de 48 h avant la prestation donne lieu à un remboursement intégral ou un report. En deçà de 48 h, aucun remboursement ne sera effectué sauf cas de force majeure."]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Par EWS Saint-Malo :"})," En cas d'annulation due aux conditions météorologiques ou maritimes (vent, houle, visibilité), la prestation sera reportée à une date ultérieure au choix du client ou remboursée intégralement."]}),c.jsx("li",{children:"La décision d'annulation pour raisons météo est à la seule appréciation du moniteur diplômé d'Ãtat et ne peut être contestée."})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Article 5 â Conditions de participation"}),c.jsxs("ul",{className:"list-disc pl-5 space-y-2",children:[c.jsxs("li",{children:[c.jsx("strong",{children:"Jet Ski :"})," à partir de 16 ans. Les mineurs doivent présenter une autorisation parentale signée. Permis bateau non obligatoire (randonnée encadrée par un moniteur)."]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Bouée Tractée :"})," à partir de 8 ans. Les mineurs doivent être accompagnés d'un adulte ou munis d'une autorisation parentale."]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Baptême Jet-Kids :"})," ",c.jsxs("li",{children:[c.jsx("strong",{children:"Baptême Jet-Kids :"})," de 6 à 15 ans, accompagné d'un moniteur diplômé d'Ãtat."]}),", accompagné d'un moniteur diplômé d'Ãtat."]}),c.jsxs("li",{children:[c.jsx("strong",{children:"EVG / EVJF :"})," tous publics, sous réserve des conditions spécifiques à chaque sortie."]}
196),c.jsx("li",{children:"Les participants doivent savoir nager et ne présenter aucune contre-indication médicale à la pratique d'activités nautiques."}),c.jsx("li",{children:"Le port du gilet de sauvetage est obligatoire pour toutes les activités et sera fourni par EWS Saint-Malo."}),c.jsx("li",{children:"La consommation d'alcool et de substances stupéfiantes est strictement interdite avant et pendant les activités. Tout participant en état d'ébriété ou sous l'emprise de stupéfiants se verra refuser l'accès à l'activité, sans remboursement."}),c.jsx("li",{children:"Tout dégât causé aux équipements mis à disposition sera facturé intégralement au client."})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Article 6 â Sécurité et responsabilité"}),c.jsxs("ul",{className:"list-disc pl-5 space-y-2",children:[c.jsx("li",{children:"Toutes les activités sont encadrées par des moniteurs diplômés d'Ãtat."}),c.jsx("li",{children:"Les participants s'engagent à respecter les consignes de sécurité données lors du briefing et pendant l'activité."}),c.jsx("li",{children:"EWS Saint-Malo décline toute responsabilité en cas de non-respect des consignes de sécurité par le participant."}),c.jsx("li",{children:"En cas de comportement dangereux, le moniteur se réserve le droit d'interrompre l'activité sans remboursement."}),c.jsx("li",{children:"Le client est responsable des dommages matériels causés au matériel mis à sa disposition en cas de faute avérée."})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Article 7 â Assurance"}),c.jsx("p",{children:"EWS Saint-Malo dispose d'une assurance responsabilité civile professionnelle couvrant ses activités. Les participants sont invités à souscrire une assurance individuelle complémentaire couvrant les dommages corporels liés à la pratique d'activités nautiques."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Article 8 â Droit à l'image"}),c.jsx("p",{children:"Des photos et vidéos peuvent être prises pendant les activités à des fins promotionnelles. Le participant qui ne souhaite pas apparaître sur ces supports doit en informer EWS Saint-Malo avant le début de l'activité."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Article 9 â Cartes cadeaux"}),c.jsxs("ul",{className:"list-disc pl-5 space-y-2",children:[c.jsx("li",{children:"Les cartes cadeaux sont valables 1 an à compter de la date d'achat."}),c.jsx("li",{children:"Elles ne sont ni échangeables, ni remboursables."}),c.jsx("li",{children:"Elles sont utilisables pour l'ensemble des prestations proposées par EWS Saint-Malo."})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Article 10 â Réclamation"}),c.jsxs("p",{children:["Toute réclamation doit être adressée par e-mail à "," ",c.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})," ","dans un délai de 7 jours suivant la prestation."]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Article 11 â Droit applicable et litiges"}),c.jsx("p",{children:"Les présentes CGV sont soumises au droit français. En cas de litige, une solution amiable sera recherchée en priorité. à défaut, les tribunaux compétents de Saint-Malo seront seuls compétents."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Article 12 â Médiation"}),c.jsxs("p",{children:["Conformément aux articles L.616-1 et R.616-1 du Code de la consommation, en cas de litige non résolu, le consommateur peut recourir gratuitement au service de médiation. Le médiateur de la consommation ainsi désigné est joignable via le site"," ",c.jsx("a",{href:"https://www.mediation-conso.fr",target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline",children:"www.mediation-conso.fr"}),"."]})]})]})]})}),vD=()=>c.jsx("main",{className:"min-h-screen bg-background pt-32 pb-20",children:c.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[c.jsx(Q.h1,{initial:{opacity:0,y:20}
196,animate:{opacity:1,y:0},className:"font-display text-4xl md:text-5xl tracking-wider text-primary mb-12 text-center",children:"Mentions Légales"}),c.jsxs("div",{className:"space-y-10 text-muted-foreground text-sm leading-relaxed",children:[c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Ãditeur du site"}),c.jsxs("ul",{className:"space-y-1",children:[c.jsxs("li",{children:[c.jsx("strong",{children:"Raison sociale :"})," EWS Saint-Malo"]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Forme juridique :"})," EURL"]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Adresse :"})," Changement d'adresse en cours â Saint-Malo (35400)"]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Téléphone :"})," ",c.jsx("a",{href:"tel:+33783392448",className:"text-primary hover:underline",children:"07 83 39 24 48"})]}),c.jsxs("li",{children:[c.jsx("strong",{children:"E-mail :"})," ",c.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]}),c.jsxs("li",{children:[c.jsx("strong",{children:"SIRET :"})," 983 376 377"]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Directeur de la publication :"})," Eva SUZANNE"]})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Hébergeur"}),c.jsxs("ul",{className:"space-y-1",children:[c.jsxs("li",{children:[c.jsx("strong",{children:"Nom :"})," Lovable (via Netlify / Vercel)"]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Adresse :"})," [à compléter selon l'hébergeur final]"]})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Propriété intellectuelle"}),c.jsx("p",{children:"L'ensemble du contenu de ce site (textes, images, vidéos, logos, graphismes) est la propriété exclusive d'EWS Saint-Malo ou de ses partenaires et est protégé par les lois françaises et internationales relatives à la propriété intellectuelle. Toute reproduction, représentation, modification ou exploitation, totale ou partielle, est interdite sans autorisation écrite préalable."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Protection des données personnelles (RGPD)"}),c.jsx("p",{className:"mb-3",children:"Conformément au Règlement Général sur la Protection des Données (RGPD) et à la loi Informatique et Libertés, EWS Saint-Malo s'engage à protéger les données personnelles de ses utilisateurs."}),c.jsxs("ul",{className:"list-disc pl-5 space-y-2",children:[c.jsxs("li",{children:[c.jsx("strong",{children:"Données collectées :"})," nom, prénom, adresse e-mail, numéro de téléphone, données de réservation."]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Finalité :"})," gestion des réservations, communication commerciale (avec consentement), amélioration du service."]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Durée de conservation :"})," les données sont conservées pendant la durée nécessaire à la gestion de la relation commerciale, puis supprimées conformément à la réglementation en vigueur."]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Droits des utilisateurs :"})," vous disposez d'un droit d'accès, de rectification, de suppression, de limitation et de portabilité de vos données. Vous pouvez exercer ces droits en écrivant à "," ",c.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"}),"."]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Cookies :"})," ce site peut utiliser des cookies pour améliorer l'expérience utilisateur. Vous pouvez paramétrer votre navigateur pour refuser les cookies."]})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Responsabilité"}),c.jsx("p",{children:"EWS Saint-Malo s'efforce de fournir des informations exactes et à jour sur ce site. Toutefois, des erreurs ou omissions peuvent survenir. EWS Saint-Malo ne saurait être tenu responsable de l'utilisation faite des informations présentes sur ce site."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg font-semibold text-foreground mb-3",children:"Liens hypertextes"}),c.jsx("p",{children:"Ce site peut contenir des liens vers des sites tiers. EWS Saint-Malo n'exerce aucun contrôle sur ces sites et décline toute responsabilité quant à leur contenu."})]})]})]})}),xD=new JP,wD=()=>c.jsx(e2,{client:xD,children:c.jsxs(jP,{children:[c.jsx(dT,{}),c.jsx(UT,{}),c.jsx(q2,{children:c.jsxs(tj,{children:[c.jsx(nj,{}),c.jsx(rj,{}),c.jsxs(W2,{children:[c.jsx(ht,{path:"/",element:c.jsx(tD,{})}),c.jsx(ht,{path:"/activites",element:c.jsx(rD,{})}),c.jsx(ht,{path:"/evg-evjf",element:c.jsx(aD,{})}),c.jsx(ht,{path:"/jet-ski",element:c.jsx(hD,{})}),c.jsx(ht,{path:"/bouee-tractee",element:c.jsx(pD,{})}),c.jsx(ht,{path:"/jet-kids",element:c.jsx(mD,{})}),c.jsx(ht,{path:"/cartes-cadeaux",element:c.jsx(lD,{})}),c.jsx(ht,{path:"/contact",element:c.jsx(cD,{})}),c.jsx(ht,{path:"/cgv",element:c.jsx(yD,{})}),c.jsx(ht,{path:"/mentions-legales",element:c.jsx(vD,{})}),c.jsx(ht,{path:"*",element:c.jsx(gD,{})})]}),c.jsx(ij,{})]})})]})});o0(document.getElementById("root")).render(c.jsx(wD,{}));
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.