PageSourceSearch

https://factory-flyer-hub.lovable.app/assets/index-1GwE6r9-.js

js factory-flyer-hub.lovable.app collected 2026-10-03 03:30:54 UTC 435,403 bytes, 153 lines download raw bytes

vendor: 8,209 bytes, lines 1-9
1var Qf=e=>{throw TypeError(e)};var Al=(e,t,n)=>t.has(e)||Qf("Cannot "+n);var A=(e,t,n)=>(Al(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?Qf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,r)=>(Al(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),De=(e,t,n)=>(Al(e,t,"access private method"),n);var gs=(e,t,n,r)=>({set _(o){H(e,t,o,n)},get _(){return A(e,t,r)}});function Gx(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function dg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fg={exports:{}},Ka={},hg={exports:{}},X={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var ts=Symbol.for("react.element"),Qx=Symbol.for("react.portal"),Yx=Symbol.for("react.fragment"),Xx=Symbol.for("react.strict_mode"),qx=Symbol.for("react.profiler"),Zx=Symbol.for("react.provider"),Jx=Symbol.for("react.context"),e1=Symbol.for("react.forward_ref"),t1=Symbol.for("react.suspense"),n1=Symbol.for("react.memo"),r1=Symbol.for("react.lazy"),Yf=Symbol.iterator;function o1(e){return e===null||typeof e!="object"?null:(e=Yf&&e[Yf]||e["@@iterator"],typeof e=="function"?e:null)}var pg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},mg=Object.assign,gg={};function Vo(e,t,n){this.props=e,this.context=t,this.refs=gg,this.updater=n||pg}Vo.prototype.isReactComponent={};Vo.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")};Vo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function yg(){}yg.prototype=Vo.prototype;function Jc(e,t,n){this.props=e,this.context=t,this.refs=gg,this.updater=n||pg}var ed=Jc.prototype=new yg;ed.constructor=Jc;mg(ed,Vo.prototype);ed.isPureReactComponent=!0;var Xf=Array.isArray,vg=Object.prototype.hasOwnProperty,td={current:null},wg={key:!0,ref:!0,__self:!0,__source:!0};function xg(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)vg.call(t,r)&&!wg.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:ts,type:e,key:i,ref:s,props:o,_owner:td.current}}function i1(e,t){return{$$typeof:ts,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function nd(e){return typeof e=="object"&&e!==null&&e.$$typeof===ts}function s1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var qf=/\/+/g;function Rl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?s1(""+e.key):t.toString(36)}function $s(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case ts:case Qx:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Rl(s,0):r,Xf(o)?(n="",e!=null&&(n=e.replace(qf,"$&/")+"/"),$s(o,t,n,"",function(u){return u})):o!=null&&(nd(o)&&(o=i1(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(qf,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",Xf(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+Rl(i,a);s+=$s(i,t,n,l,o)}else if(l=o1(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+Rl(i,a++),s+=$s(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function ys(e,t,n){if(e==null)return e;var r=[],o=0;return $s(e,r,"","",function(i){return t.call(n,i,o++)}),r}function a1(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 We={current:null},Us={transition:null},l1={ReactCurrentDispatcher:We,ReactCurrentBatchConfig:Us,ReactCurrentOwner:td};function Sg(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:ys,forEach:function(e,t,n){ys(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ys(e,function(){t++}),t},toArray:function(e){return ys(e,function(t){return t})||[]},only:function(e){if(!nd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=Vo;X.Fragment=Yx;X.Profiler=qx;X.PureComponent=Jc;X.StrictMode=Xx;X.Suspense=t1;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=l1;X.act=Sg;X.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=mg({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=td.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)vg.call(t,l)&&!wg.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:ts,type:e.type,key:o,ref:i,props:r,_owner:s}};X.createContext=function(e){return e={$$typeof:Jx,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Zx,_context:e},e.Consumer=e};X.createElement=xg;X.createFactory=function(e){var t=xg.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:e1,render:e}};X.isValidElement=nd;X.lazy=function(e){return{$$typeof:r1,_payload:{_status:-1,_result:e},_init:a1}};X.memo=function(e,t){return{$$typeof:n1,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=Us.transition;Us.transition={};try{e()}finally{Us.transition=t}};X.unstable_act=Sg;X.useCallback=function(e,t){return We.current.useCallback(e,t)};X.useContext=function(e){return We.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return We.current.useDeferredValue(e)};X.useEffect=function(e,t){return We.current.useEffect(e,t)};X.useId=function(){return We.current.useId()};X.useImperativeHandle=function(e,t,n){return We.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return We.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return We.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return We.current.useMemo(e,t)};X.useReducer=function(e,t,n){return We.current.useReducer(e,t,n)};X.useRef=function(e){return We.current.useRef(e)};
vendor: 4,888 bytes, lines 9-25
9X.useState=function(e){return We.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return We.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return We.current.useTransition()};X.version="18.3.1";hg.exports=X;var x=hg.exports;const L=dg(x),Tg=Gx({__proto__:null,default:L},[x]);/**
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 u1=x,c1=Symbol.for("react.element"),d1=Symbol.for("react.fragment"),f1=Object.prototype.hasOwnProperty,h1=u1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p1={key:!0,ref:!0,__self:!0,__source:!0};function Eg(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)f1.call(t,r)&&!p1.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:c1,type:e,key:i,ref:s,props:o,_owner:h1.current}}Ka.Fragment=d1;Ka.jsx=Eg;Ka.jsxs=Eg;fg.exports=Ka;var E=fg.exports,Cg={exports:{}},at={},Pg={exports:{}},bg={};/**
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(k,R){var j=k.length;k.push(R);e:for(;0<j;){var U=j-1>>>1,z=k[U];if(0<o(z,R))k[U]=R,k[j]=z,j=U;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var R=k[0],j=k.pop();if(j!==R){k[0]=j;e:for(var U=0,z=k.length,Y=z>>>1;U<Y;){var q=2*(U+1)-1,ve=k[q],Ne=q+1,ee=k[Ne];if(0>o(ve,j))Ne<z&&0>o(ee,ve)?(k[U]=ee,k[Ne]=j,U=Ne):(k[U]=ve,k[q]=j,U=q);else if(Ne<z&&0>o(ee,j))k[U]=ee,k[Ne]=j,U=Ne;else break e}}return R}function o(k,R){var j=k.sortIndex-R.sortIndex;return j!==0?j:k.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,h=!1,v=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(k){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=k)r(u),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(u)}}function S(k){if(g=!1,y(k),!v)if(n(l)!==null)v=!0,$(T);else{var R=n(u);R!==null&&_(S,R.startTime-k)}}function T(k,R){v=!1,g&&(g=!1,p(b),b=-1),h=!0;var j=f;try{for(y(R),d=n(l);d!==null&&(!(d.expirationTime>R)||k&&!V());){var U=d.callback;if(typeof U=="function"){d.callback=null,f=d.priorityLevel;var z=U(d.expirationTime<=R);R=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),y(R)}else r(l);d=n(l)}if(d!==null)var Y=!0;else{var q=n(u);q!==null&&_(S,q.startTime-R),Y=!1}return Y}finally{d=null,f=j,h=!1}}var C=!1,P=null,b=-1,D=5,N=-1;function V(){return!(e.unstable_now()-N<D)}function I(){if(P!==null){var k=e.unstable_now();N=k;var R=!0;try{R=P(!0,k)}finally{R?G():(C=!1,P=null)}}else C=!1}var G;if(typeof m=="function")G=function(){m(I)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,Q=O.port2;O.port1.onmessage=I,G=function(){Q.postMessage(null)}}else G=function(){w(I,0)};function $(k){P=k,C||(C=!0,G())}function _(k,R){b=w(function(){k(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_continueExecution=function(){v||h||(v=!0,$(T))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(k){switch(f){case 1:case 2:case 3:var R=3;break;default:R=f}var j=f;f=R;try{return k()}finally{f=j}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,R){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var j=f;f=k;try{return R()}finally{f=j}},e.unstable_scheduleCallback=function(k,R,j){var U=e.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?U+j:U):j=U,k){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}
vendor: 4,614 bytes, lines 25-33
25return z=j+z,k={id:c++,callback:R,priorityLevel:k,startTime:j,expirationTime:z,sortIndex:-1},j>U?(k.sortIndex=j,t(u,k),n(l)===null&&k===n(u)&&(g?(p(b),b=-1):g=!0,_(S,j-U))):(k.sortIndex=z,t(l,k),v||h||(v=!0,$(T))),k},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(k){var R=f;return function(){var j=f;f=R;try{return k.apply(this,arguments)}finally{f=j}}}})(bg);Pg.exports=bg;var m1=Pg.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 g1=x,st=m1;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 kg=new Set,bi={};function Fr(e,t){Ao(e,t),Ao(e+"Capture",t)}function Ao(e,t){for(bi[e]=t,e=0;e<t.length;e++)kg.add(t[e])}var cn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Eu=Object.prototype.hasOwnProperty,y1=/^[: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]*$/,Zf={},Jf={};function v1(e){return Eu.call(Jf,e)?!0:Eu.call(Zf,e)?!1:y1.test(e)?Jf[e]=!0:(Zf[e]=!0,!1)}function w1(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 x1(e,t,n,r){if(t===null||typeof t>"u"||w1(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function He(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Me[e]=new He(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Me[t]=new He(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Me[e]=new He(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Me[e]=new He(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Me[e]=new He(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Me[e]=new He(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Me[e]=new He(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Me[e]=new He(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Me[e]=new He(e,5,!1,e.toLowerCase(),null,!1,!1)});var rd=/[\-:]([a-z])/g;function od(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
33-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(rd,od);Me[t]=new He(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(rd,od);Me[t]=new He(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(rd,od);Me[t]=new He(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Me[e]=new He(e,1,!1,e.toLowerCase(),null,!1,!1)});Me.xlinkHref=new He("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Me[e]=new He(e,1,!1,e.toLowerCase(),null,!0,!0)});function id(e,t,n,r){var o=Me.hasOwnProperty(t)?Me[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(x1(t,n,o,r)&&(n=null),r||o===null?v1(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var vn=g1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vs=Symbol.for("react.element"),Kr=Symbol.for("react.portal"),Gr=Symbol.for("react.fragment"),sd=Symbol.for("react.strict_mode"),Cu=Symbol.for("react.profiler"),Ag=Symbol.for("react.provider"),Rg=Symbol.for("react.context"),ad=Symbol.for("react.forward_ref"),Pu=Symbol.for("react.suspense"),bu=Symbol.for("react.suspense_list"),ld=Symbol.for("react.memo"),Mn=Symbol.for("react.lazy"),Mg=Symbol.for("react.offscreen"),eh=Symbol.iterator;function Xo(e){return e===null||typeof e!="object"?null:(e=eh&&e[eh]||e["@@iterator"],typeof e=="function"?e:null)}var he=Object.assign,Ml;function ai(e){if(Ml===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ml=t&&t[1]||""}return`
34`+Ml+e}var Nl=!1;function Dl(e,t){if(!e||Nl)return"";Nl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),i=r.stack.split(`
36`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
37`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Nl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ai(e):""}function S1(e){switch(e.tag){case 5:return ai(e.type);case 16:return ai("Lazy");case 13:return ai("Suspense");case 19:return ai("SuspenseList");case 0:case 2:case 15:return e=Dl(e.type,!1),e;case 11:return e=Dl(e.type.render,!1),e;case 1:return e=Dl(e.type,!0),e;default:return""}}function ku(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 Gr:return"Fragment";case Kr:return"Portal";case Cu:return"Profiler";case sd:return"StrictMode";case Pu:return"Suspense";case bu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Rg:return(e.displayName||"Context")+".Consumer";case Ag:return(e._context.displayName||"Context")+".Provider";case ad:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ld:return t=e.displayName||null,t!==null?t:ku(e.type)||"Memo";case Mn:t=e._payload,e=e._init;try{return ku(e(t))}catch{}}return null}function T1(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 ku(t);case 8:return t===sd?"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 Xn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ng(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function E1(e){var t=Ng(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ws(e){e._valueTracker||(e._valueTracker=E1(e))}function Dg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ng(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function aa(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 Au(e,t){var n=t.checked;return he({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function th(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Xn(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 Lg(e,t){t=t.checked,t!=null&&id(e,"checked",t,!1)}function Ru(e,t){Lg(e,t);var n=Xn(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")?Mu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Mu(e,t.type,Xn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}
vendor: 4,180 bytes, line 37
37function nh(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 Mu(e,t,n){(t!=="number"||aa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var li=Array.isArray;function uo(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Xn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Nu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return he({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function rh(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(li(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Xn(n)}}function Og(e,t){var n=Xn(t.value),r=Xn(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 oh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function jg(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 Du(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?jg(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var xs,Ig=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(xs=xs||document.createElement("div"),xs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=xs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ki(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var fi={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},C1=["Webkit","ms","Moz","O"];Object.keys(fi).forEach(function(e){C1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fi[t]=fi[e]})});function Fg(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||fi.hasOwnProperty(e)&&fi[e]?(""+t).trim():t+"px"}function _g(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Fg(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var P1=he({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 Lu(e,t){if(t){if(P1[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 Ou(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 ju=null;function ud(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Iu=null,co=null,fo=null;function ih(e){if(e=os(e)){if(typeof Iu!="function")throw Error(M(280));var t=e.stateNode;t&&(t=qa(t),Iu(e.stateNode,e.type,t))}}function Vg(e){co?fo?fo.push(e):fo=[e]:co=e}function zg(){if(co){var e=co,t=fo;if(fo=co=null,ih(e),t)for(e=0;e<t.length;e++)ih(t[e])}}function Bg(e,t){return e(t)}function $g(){}var Ll=!1;function Ug(e,t,n){if(Ll)return e(t,n);Ll=!0;try{return Bg(e,t,n)}finally{Ll=!1,(co!==null||fo!==null)&&($g(),zg())}}function Ai(e,t){var n=e.stateNode;if(n===null)return null;var r=qa(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 Fu=!1;if(cn)try{var qo={};Object.defineProperty(qo,"passive",{get:function(){Fu=!0}}),window.addEventListener("test",qo,qo),window.removeEventListener("test",qo,qo)}catch{Fu=!1}function b1(e,t,n,r,o,i,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var hi=!1,la=null,ua=!1,_u=null,k1={onError:function(e){hi=!0,la=e}};function A1(e,t,n,r,o,i,s,a,l){hi=!1,la=null,b1.apply(k1,arguments)}function R1(e,t,n,r,o,i,s,a,l){if(A1.apply(this,arguments),hi){if(hi){var u=la;hi=!1,la=null}else throw Error(M(198));ua||(ua=!0,_u=u)}}function _r(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 Wg(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 sh(e){if(_r(e)!==e)throw Error(M(188))}function M1(e){var t=e.alternate;if(!t){if(t=_r(e),t===null)throw Error(M(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return sh(o),e;if(i===r)return sh(o),t;i=i.sibling}throw Error(M(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)throw Error(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 Hg(e){return e=M1(e),e!==null?Kg(e):null}function Kg(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Kg(e);if(t!==null)return t;e=e.sibling}return null}var Gg=st.unstable_scheduleCallback,ah=st.unstable_cancelCallback,N1=st.unstable_shouldYield,D1=st.unstable_requestPaint,ye=st.unstable_now,L1=st.unstable_getCurrentPriorityLevel,cd=st.unstable_ImmediatePriority,Qg=st.unstable_UserBlockingPriority,ca=st.unstable_NormalPriority,O1=st.unstable_LowPriority,Yg=st.unstable_IdlePriority,Ga=null,Qt=null;function j1(e){if(Qt&&typeof Qt.onCommitFiberRoot=="function")try{Qt.onCommitFiberRoot(Ga,e,void 0,(e.current.flags&128)===128)}catch{}}var jt=Math.clz32?Math.clz32:_1,I1=Math.log,F1=Math.LN2;function _1(e){return e>>>=0,e===0?32:31-(I1(e)/F1|0)|0}var Ss=64,Ts=4194304;function ui(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 da(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=ui(a):(i&=s,i!==0&&(r=ui(i)))}else s=n&~o,s!==0?r=ui(s):i!==0&&(r=ui(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-jt(t),o=1<<n,r|=e[n],t&=~o;return r}function V1(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 z1(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-jt(i),a=1<<s,l=o[s];l===-1?(!(a&n)||a&r)&&(o[s]=V1(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function Vu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Xg(){var e=Ss;return Ss<<=1,!(Ss&4194240)&&(Ss=64),e}function Ol(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ns(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-jt(t),e[t]=n}function B1(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-jt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function dd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-jt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var te=0;function qg(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Zg,fd,Jg,ey,ty,zu=!1,Es=[],$n=null,Un=null,Wn=null,Ri=new Map,Mi=new Map,Dn=[],$1="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 lh(e,t){switch(e){case"focusin":case"focusout":$n=null;break;case"dragenter":case"dragleave":Un=null;break;case"mouseover":case"mouseout":Wn=null;break;case"pointerover":case"pointerout":Ri.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mi.delete(t.pointerId)}}function Zo(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=os(t),t!==null&&fd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function U1(e,t,n,r,o){switch(t){case"focusin":return $n=Zo($n,e,t,n,r,o),!0;case"dragenter":return Un=Zo(Un,e,t,n,r,o),!0;case"mouseover":return Wn=Zo(Wn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Ri.set(i,Zo(Ri.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Mi.set(i,Zo(Mi.get(i)||null,e,t,n,r,o)),!0}return!1}function ny(e){var t=gr(e.target);if(t!==null){var n=_r(t);if(n!==null){if(t=n.tag,t===13){if(t=Wg(n),t!==null){e.blockedOn=t,ty(e.priority,function(){Jg(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 Ws(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Bu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ju=r,n.target.dispatchEvent(r),ju=null}else return t=os(n),t!==null&&fd(t),e.blockedOn=n,!1;t.shift()}return!0}function uh(e,t,n){Ws(e)&&n.delete(t)}function W1(){zu=!1,$n!==null&&Ws($n)&&($n=null),Un!==null&&Ws(Un)&&(Un=null),Wn!==null&&Ws(Wn)&&(Wn=null),Ri.forEach(uh),Mi.forEach(uh)}function Jo(e,t){e.blockedOn===t&&(e.blockedOn=null,zu||(zu=!0,st.unstable_scheduleCallback(st.unstable_NormalPriority,W1)))}function Ni(e){function t(o){return Jo(o,e)}if(0<Es.length){Jo(Es[0],e);for(var n=1;n<Es.length;n++){var r=Es[n];r.blockedOn===e&&(r.blockedOn=null)}}for($n!==null&&Jo($n,e),Un!==null&&Jo(Un,e),Wn!==null&&Jo(Wn,e),Ri.forEach(t),Mi.forEach(t),n=0;n<Dn.length;n++)r=Dn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Dn.length&&(n=Dn[0],n.blockedOn===null);)ny(n),n.blockedOn===null&&Dn.shift()}var ho=vn.ReactCurrentBatchConfig,fa=!0;function H1(e,t,n,r){var o=te,i=ho.transition;ho.transition=null;try{te=1,hd(e,t,n,r)}finally{te=o,ho.transition=i}}function K1(e,t,n,r){var o=te,i=ho.transition;ho.transition=null;try{te=4,hd(e,t,n,r)}finally{te=o,ho.transition=i}}function hd(e,t,n,r){if(fa){var o=Bu(e,t,n,r);if(o===null)Wl(e,t,r,ha,n),lh(e,r);else if(U1(o,e,t,n,r))r.stopPropagation();else if(lh(e,r),t&4&&-1<$1.indexOf(e)){for(;o!==null;){var i=os(o);if(i!==null&&Zg(i),i=Bu(e,t,n,r),i===null&&Wl(e,t,r,ha,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Wl(e,t,r,null,n)}}var ha=null;function Bu(e,t,n,r){if(ha=null,e=ud(r),e=gr(e),e!==null)if(t=_r(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Wg(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 ha=e,null}
vendor: 10,081 bytes, line 37
37function ry(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(L1()){case cd:return 1;case Qg:return 4;case ca:case O1:return 16;case Yg:return 536870912;default:return 16}default:return 16}}var Vn=null,pd=null,Hs=null;function oy(){if(Hs)return Hs;var e,t=pd,n=t.length,r,o="value"in Vn?Vn.value:Vn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return Hs=o.slice(e,1<r?1-r:void 0)}function Ks(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 Cs(){return!0}function ch(){return!1}function lt(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Cs:ch,this.isPropagationStopped=ch,this}return he(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=Cs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Cs)},persist:function(){},isPersistent:Cs}),t}var zo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},md=lt(zo),rs=he({},zo,{view:0,detail:0}),G1=lt(rs),jl,Il,ei,Qa=he({},rs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gd,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!==ei&&(ei&&e.type==="mousemove"?(jl=e.screenX-ei.screenX,Il=e.screenY-ei.screenY):Il=jl=0,ei=e),jl)},movementY:function(e){return"movementY"in e?e.movementY:Il}}),dh=lt(Qa),Q1=he({},Qa,{dataTransfer:0}),Y1=lt(Q1),X1=he({},rs,{relatedTarget:0}),Fl=lt(X1),q1=he({},zo,{animationName:0,elapsedTime:0,pseudoElement:0}),Z1=lt(q1),J1=he({},zo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),eS=lt(J1),tS=he({},zo,{data:0}),fh=lt(tS),nS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rS={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"},oS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function iS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=oS[e])?!!t[e]:!1}function gd(){return iS}var sS=he({},rs,{key:function(e){if(e.key){var t=nS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ks(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?rS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gd,charCode:function(e){return e.type==="keypress"?Ks(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ks(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),aS=lt(sS),lS=he({},Qa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hh=lt(lS),uS=he({},rs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gd}),cS=lt(uS),dS=he({},zo,{propertyName:0,elapsedTime:0,pseudoElement:0}),fS=lt(dS),hS=he({},Qa,{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}),pS=lt(hS),mS=[9,13,27,32],yd=cn&&"CompositionEvent"in window,pi=null;cn&&"documentMode"in document&&(pi=document.documentMode);var gS=cn&&"TextEvent"in window&&!pi,iy=cn&&(!yd||pi&&8<pi&&11>=pi),ph=" ",mh=!1;function sy(e,t){switch(e){case"keyup":return mS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ay(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qr=!1;function yS(e,t){switch(e){case"compositionend":return ay(t);case"keypress":return t.which!==32?null:(mh=!0,ph);case"textInput":return e=t.data,e===ph&&mh?null:e;default:return null}}function vS(e,t){if(Qr)return e==="compositionend"||!yd&&sy(e,t)?(e=oy(),Hs=pd=Vn=null,Qr=!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 iy&&t.locale!=="ko"?null:t.data;default:return null}}var wS={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 gh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!wS[e.type]:t==="textarea"}function ly(e,t,n,r){Vg(r),t=pa(t,"onChange"),0<t.length&&(n=new md("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var mi=null,Di=null;function xS(e){wy(e,0)}function Ya(e){var t=qr(e);if(Dg(t))return e}function SS(e,t){if(e==="change")return t}var uy=!1;if(cn){var _l;if(cn){var Vl="oninput"in document;if(!Vl){var yh=document.createElement("div");yh.setAttribute("oninput","return;"),Vl=typeof yh.oninput=="function"}_l=Vl}else _l=!1;uy=_l&&(!document.documentMode||9<document.documentMode)}function vh(){mi&&(mi.detachEvent("onpropertychange",cy),Di=mi=null)}function cy(e){if(e.propertyName==="value"&&Ya(Di)){var t=[];ly(t,Di,e,ud(e)),Ug(xS,t)}}function TS(e,t,n){e==="focusin"?(vh(),mi=t,Di=n,mi.attachEvent("onpropertychange",cy)):e==="focusout"&&vh()}function ES(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ya(Di)}function CS(e,t){if(e==="click")return Ya(t)}function PS(e,t){if(e==="input"||e==="change")return Ya(t)}function bS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ft=typeof Object.is=="function"?Object.is:bS;function Li(e,t){if(Ft(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Eu.call(t,o)||!Ft(e[o],t[o]))return!1}return!0}function wh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xh(e,t){var n=wh(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=wh(n)}}function dy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?dy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function fy(){for(var e=window,t=aa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=aa(e.document)}return t}function vd(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 kS(e){var t=fy(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dy(n.ownerDocument.documentElement,n)){if(r!==null&&vd(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=xh(n,i);var s=xh(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var AS=cn&&"documentMode"in document&&11>=document.documentMode,Yr=null,$u=null,gi=null,Uu=!1;
vendor: 4,821 bytes, line 37
37function Sh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Uu||Yr==null||Yr!==aa(r)||(r=Yr,"selectionStart"in r&&vd(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}),gi&&Li(gi,r)||(gi=r,r=pa($u,"onSelect"),0<r.length&&(t=new md("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Yr)))}function Ps(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Xr={animationend:Ps("Animation","AnimationEnd"),animationiteration:Ps("Animation","AnimationIteration"),animationstart:Ps("Animation","AnimationStart"),transitionend:Ps("Transition","TransitionEnd")},zl={},hy={};cn&&(hy=document.createElement("div").style,"AnimationEvent"in window||(delete Xr.animationend.animation,delete Xr.animationiteration.animation,delete Xr.animationstart.animation),"TransitionEvent"in window||delete Xr.transitionend.transition);function Xa(e){if(zl[e])return zl[e];if(!Xr[e])return e;var t=Xr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in hy)return zl[e]=t[n];return e}var py=Xa("animationend"),my=Xa("animationiteration"),gy=Xa("animationstart"),yy=Xa("transitionend"),vy=new Map,Th="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 or(e,t){vy.set(e,t),Fr(t,[e])}for(var Bl=0;Bl<Th.length;Bl++){var $l=Th[Bl],RS=$l.toLowerCase(),MS=$l[0].toUpperCase()+$l.slice(1);or(RS,"on"+MS)}or(py,"onAnimationEnd");or(my,"onAnimationIteration");or(gy,"onAnimationStart");or("dblclick","onDoubleClick");or("focusin","onFocus");or("focusout","onBlur");or(yy,"onTransitionEnd");Ao("onMouseEnter",["mouseout","mouseover"]);Ao("onMouseLeave",["mouseout","mouseover"]);Ao("onPointerEnter",["pointerout","pointerover"]);Ao("onPointerLeave",["pointerout","pointerover"]);Fr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Fr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Fr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Fr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Fr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Fr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ci="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(" "),NS=new Set("cancel close invalid load scroll toggle".split(" ").concat(ci));function Eh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,R1(r,t,void 0,e),e.currentTarget=null}function wy(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;Eh(o,a,u),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;Eh(o,a,u),i=l}}}if(ua)throw e=_u,ua=!1,_u=null,e}function ie(e,t){var n=t[Qu];n===void 0&&(n=t[Qu]=new Set);var r=e+"__bubble";n.has(r)||(xy(t,e,2,!1),n.add(r))}function Ul(e,t,n){var r=0;t&&(r|=4),xy(n,e,r,t)}var bs="_reactListening"+Math.random().toString(36).slice(2);function Oi(e){if(!e[bs]){e[bs]=!0,kg.forEach(function(n){n!=="selectionchange"&&(NS.has(n)||Ul(n,!1,e),Ul(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[bs]||(t[bs]=!0,Ul("selectionchange",!1,t))}}function xy(e,t,n,r){switch(ry(t)){case 1:var o=H1;break;case 4:o=K1;break;default:o=hd}n=o.bind(null,t,n,e),o=void 0,!Fu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Wl(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 2,527 bytes, line 37
37if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=gr(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}Ug(function(){var u=i,c=ud(n),d=[];e:{var f=vy.get(e);if(f!==void 0){var h=md,v=e;switch(e){case"keypress":if(Ks(n)===0)break e;case"keydown":case"keyup":h=aS;break;case"focusin":v="focus",h=Fl;break;case"focusout":v="blur",h=Fl;break;case"beforeblur":case"afterblur":h=Fl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=dh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Y1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=cS;break;case py:case my:case gy:h=Z1;break;case yy:h=fS;break;case"scroll":h=G1;break;case"wheel":h=pS;break;case"copy":case"cut":case"paste":h=eS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=hh}var g=(t&4)!==0,w=!g&&e==="scroll",p=g?f!==null?f+"Capture":null:f;g=[];for(var m=u,y;m!==null;){y=m;var S=y.stateNode;if(y.tag===5&&S!==null&&(y=S,p!==null&&(S=Ai(m,p),S!=null&&g.push(ji(m,S,y)))),w)break;m=m.return}0<g.length&&(f=new h(f,v,null,n,c),d.push({event:f,listeners:g}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&n!==ju&&(v=n.relatedTarget||n.fromElement)&&(gr(v)||v[dn]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(v=n.relatedTarget||n.toElement,h=u,v=v?gr(v):null,v!==null&&(w=_r(v),v!==w||v.tag!==5&&v.tag!==6)&&(v=null)):(h=null,v=u),h!==v)){if(g=dh,S="onMouseLeave",p="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(g=hh,S="onPointerLeave",p="onPointerEnter",m="pointer"),w=h==null?f:qr(h),y=v==null?f:qr(v),f=new g(S,m+"leave",h,n,c),f.target=w,f.relatedTarget=y,S=null,gr(c)===u&&(g=new g(p,m+"enter",v,n,c),g.target=y,g.relatedTarget=w,S=g),w=S,h&&v)t:{for(g=h,p=v,m=0,y=g;y;y=Hr(y))m++;for(y=0,S=p;S;S=Hr(S))y++;for(;0<m-y;)g=Hr(g),m--;for(;0<y-m;)p=Hr(p),y--;for(;m--;){if(g===p||p!==null&&g===p.alternate)break t;g=Hr(g),p=Hr(p)}g=null}else g=null;h!==null&&Ch(d,f,h,g,!1),v!==null&&w!==null&&Ch(d,w,v,g,!0)}}
vendor: 5,540 bytes, lines 37-38
37e:{if(f=u?qr(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var T=SS;else if(gh(f))if(uy)T=PS;else{T=ES;var C=TS}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(T=CS);if(T&&(T=T(e,u))){ly(d,T,n,c);break e}C&&C(e,f,u),e==="focusout"&&(C=f._wrapperState)&&C.controlled&&f.type==="number"&&Mu(f,"number",f.value)}switch(C=u?qr(u):window,e){case"focusin":(gh(C)||C.contentEditable==="true")&&(Yr=C,$u=u,gi=null);break;case"focusout":gi=$u=Yr=null;break;case"mousedown":Uu=!0;break;case"contextmenu":case"mouseup":case"dragend":Uu=!1,Sh(d,n,c);break;case"selectionchange":if(AS)break;case"keydown":case"keyup":Sh(d,n,c)}var P;if(yd)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Qr?sy(e,n)&&(b="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(b="onCompositionStart");b&&(iy&&n.locale!=="ko"&&(Qr||b!=="onCompositionStart"?b==="onCompositionEnd"&&Qr&&(P=oy()):(Vn=c,pd="value"in Vn?Vn.value:Vn.textContent,Qr=!0)),C=pa(u,b),0<C.length&&(b=new fh(b,e,null,n,c),d.push({event:b,listeners:C}),P?b.data=P:(P=ay(n),P!==null&&(b.data=P)))),(P=gS?yS(e,n):vS(e,n))&&(u=pa(u,"onBeforeInput"),0<u.length&&(c=new fh("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=P))}wy(d,t)})}function ji(e,t,n){return{instance:e,listener:t,currentTarget:n}}function pa(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Ai(e,n),i!=null&&r.unshift(ji(e,i,o)),i=Ai(e,t),i!=null&&r.push(ji(e,i,o))),e=e.return}return r}function Hr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ch(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=Ai(n,i),l!=null&&s.unshift(ji(n,l,a))):o||(l=Ai(n,i),l!=null&&s.push(ji(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var DS=/\r\n?/g,LS=/\u0000|\uFFFD/g;function Ph(e){return(typeof e=="string"?e:""+e).replace(DS,`
38`).replace(LS,"")}function ks(e,t,n){if(t=Ph(t),Ph(e)!==t&&n)throw Error(M(425))}function ma(){}var Wu=null,Hu=null;function Ku(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 Gu=typeof setTimeout=="function"?setTimeout:void 0,OS=typeof clearTimeout=="function"?clearTimeout:void 0,bh=typeof Promise=="function"?Promise:void 0,jS=typeof queueMicrotask=="function"?queueMicrotask:typeof bh<"u"?function(e){return bh.resolve(null).then(e).catch(IS)}:Gu;function IS(e){setTimeout(function(){throw e})}function Hl(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Ni(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Ni(t)}function Hn(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 kh(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 Bo=Math.random().toString(36).slice(2),Kt="__reactFiber$"+Bo,Ii="__reactProps$"+Bo,dn="__reactContainer$"+Bo,Qu="__reactEvents$"+Bo,FS="__reactListeners$"+Bo,_S="__reactHandles$"+Bo;function gr(e){var t=e[Kt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[dn]||n[Kt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=kh(e);e!==null;){if(n=e[Kt])return n;e=kh(e)}return t}e=n,n=e.parentNode}return null}function os(e){return e=e[Kt]||e[dn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function qr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function qa(e){return e[Ii]||null}var Yu=[],Zr=-1;function ir(e){return{current:e}}function se(e){0>Zr||(e.current=Yu[Zr],Yu[Zr]=null,Zr--)}function re(e,t){Zr++,Yu[Zr]=e.current,e.current=t}var qn={},_e=ir(qn),Xe=ir(!1),Nr=qn;function Ro(e,t){var n=e.type.contextTypes;if(!n)return qn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function qe(e){return e=e.childContextTypes,e!=null}function ga(){se(Xe),se(_e)}function Ah(e,t,n){if(_e.current!==qn)throw Error(M(168));re(_e,t),re(Xe,n)}function Sy(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(M(108,T1(e)||"Unknown",o));return he({},n,r)}function ya(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||qn,Nr=_e.current,re(_e,e),re(Xe,Xe.current),!0}function Rh(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=Sy(e,t,Nr),r.__reactInternalMemoizedMergedChildContext=e,se(Xe),se(_e),re(_e,e)):se(Xe),re(Xe,n)}var on=null,Za=!1,Kl=!1;function Ty(e){on===null?on=[e]:on.push(e)}function VS(e){Za=!0,Ty(e)}function sr(){if(!Kl&&on!==null){Kl=!0;var e=0,t=te;try{var n=on;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}on=null,Za=!1}catch(o){throw on!==null&&(on=on.slice(e+1)),Gg(cd,sr),o}
vendor: 24,869 bytes, lines 38-40
38finally{te=t,Kl=!1}}return null}var Jr=[],eo=0,va=null,wa=0,ht=[],pt=0,Dr=null,an=1,ln="";function hr(e,t){Jr[eo++]=wa,Jr[eo++]=va,va=e,wa=t}function Ey(e,t,n){ht[pt++]=an,ht[pt++]=ln,ht[pt++]=Dr,Dr=e;var r=an;e=ln;var o=32-jt(r)-1;r&=~(1<<o),n+=1;var i=32-jt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,an=1<<32-jt(t)+o|n<<o|r,ln=i+e}else an=1<<i|n<<o|r,ln=e}function wd(e){e.return!==null&&(hr(e,1),Ey(e,1,0))}function xd(e){for(;e===va;)va=Jr[--eo],Jr[eo]=null,wa=Jr[--eo],Jr[eo]=null;for(;e===Dr;)Dr=ht[--pt],ht[pt]=null,ln=ht[--pt],ht[pt]=null,an=ht[--pt],ht[pt]=null}var ot=null,rt=null,le=!1,Ot=null;function Cy(e,t){var n=gt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Mh(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ot=e,rt=Hn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ot=e,rt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Dr!==null?{id:an,overflow:ln}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=gt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ot=e,rt=null,!0):!1;default:return!1}}function Xu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function qu(e){if(le){var t=rt;if(t){var n=t;if(!Mh(e,t)){if(Xu(e))throw Error(M(418));t=Hn(n.nextSibling);var r=ot;t&&Mh(e,t)?Cy(r,n):(e.flags=e.flags&-4097|2,le=!1,ot=e)}}else{if(Xu(e))throw Error(M(418));e.flags=e.flags&-4097|2,le=!1,ot=e}}}function Nh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ot=e}function As(e){if(e!==ot)return!1;if(!le)return Nh(e),le=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ku(e.type,e.memoizedProps)),t&&(t=rt)){if(Xu(e))throw Py(),Error(M(418));for(;t;)Cy(e,t),t=Hn(t.nextSibling)}if(Nh(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){rt=Hn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}rt=null}}else rt=ot?Hn(e.stateNode.nextSibling):null;return!0}function Py(){for(var e=rt;e;)e=Hn(e.nextSibling)}function Mo(){rt=ot=null,le=!1}function Sd(e){Ot===null?Ot=[e]:Ot.push(e)}var zS=vn.ReactCurrentBatchConfig;function ti(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 o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function Rs(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Dh(e){var t=e._init;return t(e._payload)}function by(e){function t(p,m){if(e){var y=p.deletions;y===null?(p.deletions=[m],p.flags|=16):y.push(m)}}function n(p,m){if(!e)return null;for(;m!==null;)t(p,m),m=m.sibling;return null}function r(p,m){for(p=new Map;m!==null;)m.key!==null?p.set(m.key,m):p.set(m.index,m),m=m.sibling;return p}function o(p,m){return p=Yn(p,m),p.index=0,p.sibling=null,p}function i(p,m,y){return p.index=y,e?(y=p.alternate,y!==null?(y=y.index,y<m?(p.flags|=2,m):y):(p.flags|=2,m)):(p.flags|=1048576,m)}function s(p){return e&&p.alternate===null&&(p.flags|=2),p}function a(p,m,y,S){return m===null||m.tag!==6?(m=Jl(y,p.mode,S),m.return=p,m):(m=o(m,y),m.return=p,m)}function l(p,m,y,S){var T=y.type;return T===Gr?c(p,m,y.props.children,S,y.key):m!==null&&(m.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Mn&&Dh(T)===m.type)?(S=o(m,y.props),S.ref=ti(p,m,y),S.return=p,S):(S=Js(y.type,y.key,y.props,null,p.mode,S),S.ref=ti(p,m,y),S.return=p,S)}function u(p,m,y,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==y.containerInfo||m.stateNode.implementation!==y.implementation?(m=eu(y,p.mode,S),m.return=p,m):(m=o(m,y.children||[]),m.return=p,m)}function c(p,m,y,S,T){return m===null||m.tag!==7?(m=Ar(y,p.mode,S,T),m.return=p,m):(m=o(m,y),m.return=p,m)}function d(p,m,y){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Jl(""+m,p.mode,y),m.return=p,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case vs:return y=Js(m.type,m.key,m.props,null,p.mode,y),y.ref=ti(p,null,m),y.return=p,y;case Kr:return m=eu(m,p.mode,y),m.return=p,m;case Mn:var S=m._init;return d(p,S(m._payload),y)}if(li(m)||Xo(m))return m=Ar(m,p.mode,y,null),m.return=p,m;Rs(p,m)}return null}function f(p,m,y,S){var T=m!==null?m.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return T!==null?null:a(p,m,""+y,S);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case vs:return y.key===T?l(p,m,y,S):null;case Kr:return y.key===T?u(p,m,y,S):null;case Mn:return T=y._init,f(p,m,T(y._payload),S)}if(li(y)||Xo(y))return T!==null?null:c(p,m,y,S,null);Rs(p,y)}return null}function h(p,m,y,S,T){if(typeof S=="string"&&S!==""||typeof S=="number")return p=p.get(y)||null,a(m,p,""+S,T);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case vs:return p=p.get(S.key===null?y:S.key)||null,l(m,p,S,T);case Kr:return p=p.get(S.key===null?y:S.key)||null,u(m,p,S,T);case Mn:var C=S._init;return h(p,m,y,C(S._payload),T)}if(li(S)||Xo(S))return p=p.get(y)||null,c(m,p,S,T,null);Rs(m,S)}return null}function v(p,m,y,S){for(var T=null,C=null,P=m,b=m=0,D=null;P!==null&&b<y.length;b++){P.index>b?(D=P,P=null):D=P.sibling;var N=f(p,P,y[b],S);if(N===null){P===null&&(P=D);break}e&&P&&N.alternate===null&&t(p,P),m=i(N,m,b),C===null?T=N:C.sibling=N,C=N,P=D}if(b===y.length)return n(p,P),le&&hr(p,b),T;if(P===null){for(;b<y.length;b++)P=d(p,y[b],S),P!==null&&(m=i(P,m,b),C===null?T=P:C.sibling=P,C=P);return le&&hr(p,b),T}for(P=r(p,P);b<y.length;b++)D=h(P,p,b,y[b],S),D!==null&&(e&&D.alternate!==null&&P.delete(D.key===null?b:D.key),m=i(D,m,b),C===null?T=D:C.sibling=D,C=D);return e&&P.forEach(function(V){return t(p,V)}),le&&hr(p,b),T}function g(p,m,y,S){var T=Xo(y);if(typeof T!="function")throw Error(M(150));if(y=T.call(y),y==null)throw Error(M(151));for(var C=T=null,P=m,b=m=0,D=null,N=y.next();P!==null&&!N.done;b++,N=y.next()){P.index>b?(D=P,P=null):D=P.sibling;var V=f(p,P,N.value,S);if(V===null){P===null&&(P=D);break}e&&P&&V.alternate===null&&t(p,P),m=i(V,m,b),C===null?T=V:C.sibling=V,C=V,P=D}if(N.done)return n(p,P),le&&hr(p,b),T;if(P===null){for(;!N.done;b++,N=y.next())N=d(p,N.value,S),N!==null&&(m=i(N,m,b),C===null?T=N:C.sibling=N,C=N);return le&&hr(p,b),T}for(P=r(p,P);!N.done;b++,N=y.next())N=h(P,p,b,N.value,S),N!==null&&(e&&N.alternate!==null&&P.delete(N.key===null?b:N.key),m=i(N,m,b),C===null?T=N:C.sibling=N,C=N);return e&&P.forEach(function(I){return t(p,I)}),le&&hr(p,b),T}function w(p,m,y,S){if(typeof y=="object"&&y!==null&&y.type===Gr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case vs:e:{for(var T=y.key,C=m;C!==null;){if(C.key===T){if(T=y.type,T===Gr){if(C.tag===7){n(p,C.sibling),m=o(C,y.props.children),m.return=p,p=m;break e}}else if(C.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Mn&&Dh(T)===C.type){n(p,C.sibling),m=o(C,y.props),m.ref=ti(p,C,y),m.return=p,p=m;break e}n(p,C);break}else t(p,C);C=C.sibling}y.type===Gr?(m=Ar(y.props.children,p.mode,S,y.key),m.return=p,p=m):(S=Js(y.type,y.key,y.props,null,p.mode,S),S.ref=ti(p,m,y),S.return=p,p=S)}return s(p);case Kr:e:{for(C=y.key;m!==null;){if(m.key===C)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){n(p,m.sibling),m=o(m,y.children||[]),m.return=p,p=m;break e}else{n(p,m);break}else t(p,m);m=m.sibling}m=eu(y,p.mode,S),m.return=p,p=m}return s(p);case Mn:return C=y._init,w(p,m,C(y._payload),S)}if(li(y))return v(p,m,y,S);if(Xo(y))return g(p,m,y,S);Rs(p,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,m!==null&&m.tag===6?(n(p,m.sibling),m=o(m,y),m.return=p,p=m):(n(p,m),m=Jl(y,p.mode,S),m.return=p,p=m),s(p)):n(p,m)}return w}var No=by(!0),ky=by(!1),xa=ir(null),Sa=null,to=null,Td=null;function Ed(){Td=to=Sa=null}function Cd(e){var t=xa.current;se(xa),e._currentValue=t}function Zu(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 po(e,t){Sa=e,Td=to=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Qe=!0),e.firstContext=null)}function xt(e){var t=e._currentValue;if(Td!==e)if(e={context:e,memoizedValue:t,next:null},to===null){if(Sa===null)throw Error(M(308));to=e,Sa.dependencies={lanes:0,firstContext:e}}else to=to.next=e;return t}var yr=null;function Pd(e){yr===null?yr=[e]:yr.push(e)}function Ay(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Pd(t)):(n.next=o.next,o.next=n),t.interleaved=n,fn(e,r)}function fn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Nn=!1;function bd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ry(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 un(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Kn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Z&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,fn(e,n)}return o=r.interleaved,o===null?(t.next=t,Pd(r)):(t.next=o.next,o.next=t),r.interleaved=t,fn(e,n)}function Gs(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,dd(e,n)}}function Lh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ta(e,t,n,r){var o=e.updateQueue;Nn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var f=a.lane,h=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,g=a;switch(f=t,h=n,g.tag){case 1:if(v=g.payload,typeof v=="function"){d=v.call(h,d,f);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=g.payload,f=typeof v=="function"?v.call(h,d,f):v,f==null)break e;d=he({},d,f);break e;case 2:Nn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[a]:f.push(a))}else h={eventTime:h,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,s|=f;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;f=a,a=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Or|=s,e.lanes=s,e.memoizedState=d}}function Oh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(M(191,o));o.call(r)}}}var is={},Yt=ir(is),Fi=ir(is),_i=ir(is);function vr(e){if(e===is)throw Error(M(174));return e}function kd(e,t){switch(re(_i,t),re(Fi,e),re(Yt,is),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Du(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Du(t,e)}se(Yt),re(Yt,t)}function Do(){se(Yt),se(Fi),se(_i)}function My(e){vr(_i.current);var t=vr(Yt.current),n=Du(t,e.type);t!==n&&(re(Fi,e),re(Yt,n))}function Ad(e){Fi.current===e&&(se(Yt),se(Fi))}var ce=ir(0);function Ea(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 Gl=[];function Rd(){for(var e=0;e<Gl.length;e++)Gl[e]._workInProgressVersionPrimary=null;Gl.length=0}var Qs=vn.ReactCurrentDispatcher,Ql=vn.ReactCurrentBatchConfig,Lr=0,fe=null,Te=null,Pe=null,Ca=!1,yi=!1,Vi=0,BS=0;function Le(){throw Error(M(321))}function Md(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ft(e[n],t[n]))return!1;return!0}function Nd(e,t,n,r,o,i){if(Lr=i,fe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Qs.current=e===null||e.memoizedState===null?HS:KS,e=n(r,o),yi){i=0;do{if(yi=!1,Vi=0,25<=i)throw Error(M(301));i+=1,Pe=Te=null,t.updateQueue=null,Qs.current=GS,e=n(r,o)}while(yi)}if(Qs.current=Pa,t=Te!==null&&Te.next!==null,Lr=0,Pe=Te=fe=null,Ca=!1,t)throw Error(M(300));return e}function Dd(){var e=Vi!==0;return Vi=0,e}function $t(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?fe.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function St(){if(Te===null){var e=fe.alternate;e=e!==null?e.memoizedState:null}else e=Te.next;var t=Pe===null?fe.memoizedState:Pe.next;if(t!==null)Pe=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},Pe===null?fe.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function zi(e,t){return typeof t=="function"?t(e):t}function Yl(e){var t=St(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=Te,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,l=null,u=i;do{var c=u.lane;if((Lr&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,fe.lanes|=c,Or|=c}u=u.next}while(u!==null&&u!==i);l===null?s=r:l.next=a,Ft(r,t.memoizedState)||(Qe=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,fe.lanes|=i,Or|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Xl(e){var t=St(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);Ft(i,t.memoizedState)||(Qe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ny(){}function Dy(e,t){var n=fe,r=St(),o=t(),i=!Ft(r.memoizedState,o);if(i&&(r.memoizedState=o,Qe=!0),r=r.queue,Ld(jy.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,Bi(9,Oy.bind(null,n,r,o,t),void 0,null),be===null)throw Error(M(349));Lr&30||Ly(n,t,o)}return o}function Ly(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=fe.updateQueue,t===null?(t={lastEffect:null,stores:null},fe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Oy(e,t,n,r){t.value=n,t.getSnapshot=r,Iy(t)&&Fy(e)}function jy(e,t,n){return n(function(){Iy(t)&&Fy(e)})}function Iy(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ft(e,n)}catch{return!0}}function Fy(e){var t=fn(e,1);t!==null&&It(t,e,1,-1)}function jh(e){var t=$t();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:zi,lastRenderedState:e},t.queue=e,e=e.dispatch=WS.bind(null,fe,e),[t.memoizedState,e]}function Bi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=fe.updateQueue,t===null?(t={lastEffect:null,stores:null},fe.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 _y(){return St().memoizedState}function Ys(e,t,n,r){var o=$t();fe.flags|=e,o.memoizedState=Bi(1|t,n,void 0,r===void 0?null:r)}function Ja(e,t,n,r){var o=St();r=r===void 0?null:r;var i=void 0;if(Te!==null){var s=Te.memoizedState;if(i=s.destroy,r!==null&&Md(r,s.deps)){o.memoizedState=Bi(t,n,i,r);return}}fe.flags|=e,o.memoizedState=Bi(1|t,n,i,r)}function Ih(e,t){return Ys(8390656,8,e,t)}function Ld(e,t){return Ja(2048,8,e,t)}function Vy(e,t){return Ja(4,2,e,t)}function zy(e,t){return Ja(4,4,e,t)}function By(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 $y(e,t,n){return n=n!=null?n.concat([e]):null,Ja(4,4,By.bind(null,t,e),n)}function Od(){}function Uy(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Md(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Wy(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Md(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Hy(e,t,n){return Lr&21?(Ft(n,t)||(n=Xg(),fe.lanes|=n,Or|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Qe=!0),e.memoizedState=n)}function $S(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=Ql.transition;Ql.transition={};try{e(!1),t()}finally{te=n,Ql.transition=r}}function Ky(){return St().memoizedState}function US(e,t,n){var r=Qn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Gy(e))Qy(t,n);else if(n=Ay(e,t,n,r),n!==null){var o=Ue();It(n,e,r,o),Yy(n,t,r)}}function WS(e,t,n){var r=Qn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Gy(e))Qy(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,Ft(a,s)){var l=t.interleaved;l===null?(o.next=o,Pd(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Ay(e,t,o,r),n!==null&&(o=Ue(),It(n,e,r,o),Yy(n,t,r))}}function Gy(e){var t=e.alternate;return e===fe||t!==null&&t===fe}function Qy(e,t){yi=Ca=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Yy(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,dd(e,n)}}var Pa={readContext:xt,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useInsertionEffect:Le,useLayoutEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useMutableSource:Le,useSyncExternalStore:Le,useId:Le,unstable_isNewReconciler:!1},HS={readContext:xt,useCallback:function(e,t){return $t().memoizedState=[e,t===void 0?null:t],e},useContext:xt,useEffect:Ih,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ys(4194308,4,By.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ys(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ys(4,2,e,t)},useMemo:function(e,t){var n=$t();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$t();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=US.bind(null,fe,e),[r.memoizedState,e]},useRef:function(e){var t=$t();return e={current:e},t.memoizedState=e},useState:jh,useDebugValue:Od,useDeferredValue:function(e){return $t().memoizedState=e},useTransition:function(){var e=jh(!1),t=e[0];return e=$S.bind(null,e[1]),$t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=fe,o=$t();if(le){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),be===null)throw Error(M(349));Lr&30||Ly(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Ih(jy.bind(null,r,i,e),[e]),r.flags|=2048,Bi(9,Oy.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=$t(),t=be.identifierPrefix;if(le){var n=ln,r=an;n=(r&~(1<<32-jt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Vi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=BS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},KS={readContext:xt,useCallback:Uy,useContext:xt,useEffect:Ld,useImperativeHandle:$y,useInsertionEffect:Vy,useLayoutEffect:zy,useMemo:Wy,useReducer:Yl,useRef:_y,useState:function(){return Yl(zi)},useDebugValue:Od,useDeferredValue:function(e){var t=St();return Hy(t,Te.memoizedState,e)},useTransition:function(){var e=Yl(zi)[0],t=St().memoizedState;return[e,t]},useMutableSource:Ny,useSyncExternalStore:Dy,useId:Ky,unstable_isNewReconciler:!1},GS={readContext:xt,useCallback:Uy,useContext:xt,useEffect:Ld,useImperativeHandle:$y,useInsertionEffect:Vy,useLayoutEffect:zy,useMemo:Wy,useReducer:Xl,useRef:_y,useState:function(){return Xl(zi)},useDebugValue:Od,useDeferredValue:function(e){var t=St();return Te===null?t.memoizedState=e:Hy(t,Te.memoizedState,e)},useTransition:function(){var e=Xl(zi)[0],t=St().memoizedState;return[e,t]},useMutableSource:Ny,useSyncExternalStore:Dy,useId:Ky,unstable_isNewReconciler:!1};function Rt(e,t){if(e&&e.defaultProps){t=he({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ju(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:he({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var el={isMounted:function(e){return(e=e._reactInternals)?_r(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ue(),o=Qn(e),i=un(r,o);i.payload=t,n!=null&&(i.callback=n),t=Kn(e,i,o),t!==null&&(It(t,e,o,r),Gs(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ue(),o=Qn(e),i=un(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Kn(e,i,o),t!==null&&(It(t,e,o,r),Gs(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ue(),r=Qn(e),o=un(n,r);o.tag=2,t!=null&&(o.callback=t),t=Kn(e,o,r),t!==null&&(It(t,e,r,n),Gs(t,e,r))}};function Fh(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!Li(n,r)||!Li(o,i):!0}function Xy(e,t,n){var r=!1,o=qn,i=t.contextType;return typeof i=="object"&&i!==null?i=xt(i):(o=qe(t)?Nr:_e.current,r=t.contextTypes,i=(r=r!=null)?Ro(e,o):qn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=el,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function _h(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&&el.enqueueReplaceState(t,t.state,null)}function ec(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},bd(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=xt(i):(i=qe(t)?Nr:_e.current,o.context=Ro(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ju(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&el.enqueueReplaceState(o,o.state,null),Ta(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Lo(e,t){try{var n="",r=t;do n+=S1(r),r=r.return;while(r);var o=n}catch(i){o=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function ql(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function tc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var QS=typeof WeakMap=="function"?WeakMap:Map;
vendor: 7,310 bytes, line 40
40function qy(e,t,n){n=un(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ka||(ka=!0,dc=r),tc(e,t)},n}function Zy(e,t,n){n=un(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){tc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){tc(e,t),typeof r!="function"&&(Gn===null?Gn=new Set([this]):Gn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Vh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new QS;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=lT.bind(null,e,t,n),t.then(e,e))}function zh(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 Bh(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=un(-1,1),t.tag=2,Kn(n,t,1))),n.lanes|=1),e)}var YS=vn.ReactCurrentOwner,Qe=!1;function ze(e,t,n,r){t.child=e===null?ky(t,null,n,r):No(t,e.child,n,r)}function $h(e,t,n,r,o){n=n.render;var i=t.ref;return po(t,o),r=Nd(e,t,n,r,i,o),n=Dd(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,hn(e,t,o)):(le&&n&&wd(t),t.flags|=1,ze(e,t,r,o),t.child)}function Uh(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!$d(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Jy(e,t,i,r,o)):(e=Js(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Li,n(s,r)&&e.ref===t.ref)return hn(e,t,o)}return t.flags|=1,e=Yn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Jy(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Li(i,r)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Qe=!0);else return t.lanes=e.lanes,hn(e,t,o)}return nc(e,t,n,r,o)}function ev(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},re(ro,tt),tt|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,re(ro,tt),tt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,re(ro,tt),tt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,re(ro,tt),tt|=r;return ze(e,t,o,n),t.child}function tv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function nc(e,t,n,r,o){var i=qe(n)?Nr:_e.current;return i=Ro(t,i),po(t,o),n=Nd(e,t,n,r,i,o),r=Dd(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,hn(e,t,o)):(le&&r&&wd(t),t.flags|=1,ze(e,t,n,o),t.child)}function Wh(e,t,n,r,o){if(qe(n)){var i=!0;ya(t)}else i=!1;if(po(t,o),t.stateNode===null)Xs(e,t),Xy(t,n,r),ec(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=xt(u):(u=qe(n)?Nr:_e.current,u=Ro(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&_h(t,s,r,u),Nn=!1;var f=t.memoizedState;s.state=f,Ta(t,r,s,o),l=t.memoizedState,a!==r||f!==l||Xe.current||Nn?(typeof c=="function"&&(Ju(t,n,c,r),l=t.memoizedState),(a=Nn||Fh(t,n,a,r,f,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Ry(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Rt(t.type,a),s.props=u,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=xt(l):(l=qe(n)?Nr:_e.current,l=Ro(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&_h(t,s,r,l),Nn=!1,f=t.memoizedState,s.state=f,Ta(t,r,s,o);var v=t.memoizedState;a!==d||f!==v||Xe.current||Nn?(typeof h=="function"&&(Ju(t,n,h,r),v=t.memoizedState),(u=Nn||Fh(t,n,u,r,f,v,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,v,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),s.props=r,s.state=v,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return rc(e,t,n,r,i,o)}function rc(e,t,n,r,o,i){tv(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Rh(t,n,!1),hn(e,t,i);r=t.stateNode,YS.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=No(t,e.child,null,i),t.child=No(t,null,a,i)):ze(e,t,a,i),t.memoizedState=r.state,o&&Rh(t,n,!0),t.child}function nv(e){var t=e.stateNode;t.pendingContext?Ah(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ah(e,t.context,!1),kd(e,t.containerInfo)}function Hh(e,t,n,r,o){return Mo(),Sd(o),t.flags|=256,ze(e,t,n,r),t.child}var oc={dehydrated:null,treeContext:null,retryLane:0};function ic(e){return{baseLanes:e,cachePool:null,transitions:null}}function rv(e,t,n){var r=t.pendingProps,o=ce.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),re(ce,o&1),e===null)return qu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=rl(s,r,0,null),e=Ar(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ic(n),t.memoizedState=oc,e):jd(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return XS(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Y
vendor: 5,648 bytes, line 40
40n(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Yn(a,i):(i=Ar(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?ic(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=oc,r}return i=e.child,e=i.sibling,r=Yn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function jd(e,t){return t=rl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ms(e,t,n,r){return r!==null&&Sd(r),No(t,e.child,null,n),e=jd(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function XS(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=ql(Error(M(422))),Ms(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=rl({mode:"visible",children:r.children},o,0,null),i=Ar(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&No(t,e.child,null,s),t.child.memoizedState=ic(s),t.memoizedState=oc,i);if(!(t.mode&1))return Ms(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(M(419)),r=ql(i,r,void 0),Ms(e,t,s,r)}if(a=(s&e.childLanes)!==0,Qe||a){if(r=be,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,fn(e,o),It(r,e,o,-1))}return Bd(),r=ql(Error(M(421))),Ms(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=uT.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,rt=Hn(o.nextSibling),ot=t,le=!0,Ot=null,e!==null&&(ht[pt++]=an,ht[pt++]=ln,ht[pt++]=Dr,an=e.id,ln=e.overflow,Dr=t),t=jd(t,r.children),t.flags|=4096,t)}function Kh(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Zu(e.return,t,n)}function Zl(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function ov(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ze(e,t,r.children,n),r=ce.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&&Kh(e,n,t);else if(e.tag===19)Kh(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(re(ce,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Ea(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Zl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Ea(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Zl(t,!0,n,null,i);break;case"together":Zl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Xs(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function hn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Or|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=Yn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Yn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function qS(e,t,n){switch(t.tag){case 3:nv(t),Mo();break;case 5:My(t);break;case 1:qe(t.type)&&ya(t);break;case 4:kd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;re(xa,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(re(ce,ce.current&1),t.flags|=128,null):n&t.child.childLanes?rv(e,t,n):(re(ce,ce.current&1),e=hn(e,t,n),e!==null?e.sibling:null);re(ce,ce.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ov(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),re(ce,ce.current),r)break;return null;case 22:case 23:return t.lanes=0,ev(e,t,n)}return hn(e,t,n)}var iv,sc,sv,av;iv=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}};sc=function(){};sv=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,vr(Yt.current);var i=null;switch(n){case"input":o=Au(e,o),r=Au(e,r),i=[];break;case"select":o=he({},o,{value:void 0}),r=he({},r,{value:void 0}),i=[];break;case"textarea":o=Nu(e,o),r=Nu(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ma)}Lu(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(bi.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];
vendor: 5,266 bytes, line 40
40if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(bi.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ie("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};av=function(e,t,n,r){n!==r&&(t.flags|=4)};function ni(e,t){if(!le)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Oe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ZS(e,t,n){var r=t.pendingProps;switch(xd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Oe(t),null;case 1:return qe(t.type)&&ga(),Oe(t),null;case 3:return r=t.stateNode,Do(),se(Xe),se(_e),Rd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(As(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ot!==null&&(pc(Ot),Ot=null))),sc(e,t),Oe(t),null;case 5:Ad(t);var o=vr(_i.current);if(n=t.type,e!==null&&t.stateNode!=null)sv(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return Oe(t),null}if(e=vr(Yt.current),As(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Kt]=t,r[Ii]=i,e=(t.mode&1)!==0,n){case"dialog":ie("cancel",r),ie("close",r);break;case"iframe":case"object":case"embed":ie("load",r);break;case"video":case"audio":for(o=0;o<ci.length;o++)ie(ci[o],r);break;case"source":ie("error",r);break;case"img":case"image":case"link":ie("error",r),ie("load",r);break;case"details":ie("toggle",r);break;case"input":th(r,i),ie("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ie("invalid",r);break;case"textarea":rh(r,i),ie("invalid",r)}Lu(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&ks(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&ks(r.textContent,a,e),o=["children",""+a]):bi.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&ie("scroll",r)}switch(n){case"input":ws(r),nh(r,i,!0);break;case"textarea":ws(r),oh(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=ma)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=jg(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Kt]=t,e[Ii]=r,iv(e,t,!1,!1),t.stateNode=e;e:{switch(s=Ou(n,r),n){case"dialog":ie("cancel",e),ie("close",e),o=r;break;case"iframe":case"object":case"embed":ie("load",e),o=r;break;case"video":case"audio":for(o=0;o<ci.length;o++)ie(ci[o],e);o=r;break;case"source":ie("error",e),o=r;break;case"img":case"image":case"link":ie("error",e),ie("load",e),o=r;break;case"details":ie("toggle",e),o=r;break;case"input":th(e,r),o=Au(e,r),ie("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=he({},r,{value:void 0}),ie("invalid",e);break;case"textarea":rh(e,r),o=Nu(e,r),ie("invalid",e);break;default:o=r}Lu(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?_g(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Ig(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&ki(e,l):typeof l=="number"&&ki(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(bi.hasOwnProperty(i)?l!=null&&i==="onScroll"&&ie("scroll",e):l!=null&&id(e,i,l,s))}switch(n){case"input":ws(e),nh(e,r,!1);break;case"textarea":ws(e),oh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Xn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?uo(e,!!r.multiple,i,!1):r.defaultValue!=null&&uo(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=ma)}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)}
vendor: 29,903 bytes, line 40
40return Oe(t),null;case 6:if(e&&t.stateNode!=null)av(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=vr(_i.current),vr(Yt.current),As(t)){if(r=t.stateNode,n=t.memoizedProps,r[Kt]=t,(i=r.nodeValue!==n)&&(e=ot,e!==null))switch(e.tag){case 3:ks(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ks(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Kt]=t,t.stateNode=r}return Oe(t),null;case 13:if(se(ce),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(le&&rt!==null&&t.mode&1&&!(t.flags&128))Py(),Mo(),t.flags|=98560,i=!1;else if(i=As(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(M(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(M(317));i[Kt]=t}else Mo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Oe(t),i=!1}else Ot!==null&&(pc(Ot),Ot=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ce.current&1?Ce===0&&(Ce=3):Bd())),t.updateQueue!==null&&(t.flags|=4),Oe(t),null);case 4:return Do(),sc(e,t),e===null&&Oi(t.stateNode.containerInfo),Oe(t),null;case 10:return Cd(t.type._context),Oe(t),null;case 17:return qe(t.type)&&ga(),Oe(t),null;case 19:if(se(ce),i=t.memoizedState,i===null)return Oe(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)ni(i,!1);else{if(Ce!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Ea(e),s!==null){for(t.flags|=128,ni(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return re(ce,ce.current&1|2),t.child}e=e.sibling}i.tail!==null&&ye()>Oo&&(t.flags|=128,r=!0,ni(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ea(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ni(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!le)return Oe(t),null}else 2*ye()-i.renderingStartTime>Oo&&n!==1073741824&&(t.flags|=128,r=!0,ni(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ye(),t.sibling=null,n=ce.current,re(ce,r?n&1|2:n&1),t):(Oe(t),null);case 22:case 23:return zd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?tt&1073741824&&(Oe(t),t.subtreeFlags&6&&(t.flags|=8192)):Oe(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function JS(e,t){switch(xd(t),t.tag){case 1:return qe(t.type)&&ga(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Do(),se(Xe),se(_e),Rd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ad(t),null;case 13:if(se(ce),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Mo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return se(ce),null;case 4:return Do(),null;case 10:return Cd(t.type._context),null;case 22:case 23:return zd(),null;case 24:return null;default:return null}}var Ns=!1,Ie=!1,eT=typeof WeakSet=="function"?WeakSet:Set,F=null;function no(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function ac(e,t,n){try{n()}catch(r){ge(e,t,r)}}var Gh=!1;function tT(e,t){if(Wu=fa,e=fy(),vd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var h;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++u===o&&(a=s),f===i&&++c===r&&(l=s),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Hu={focusedElem:e,selectionRange:n},fa=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,w=v.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?g:Rt(t.type,g),w);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(S){ge(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return v=Gh,Gh=!1,v}function vi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&ac(t,n,i)}o=o.next}while(o!==r)}}function tl(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 lc(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 lv(e){var t=e.alternate;t!==null&&(e.alternate=null,lv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Kt],delete t[Ii],delete t[Qu],delete t[FS],delete t[_S])),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 Qh(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 uc(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=ma));else if(r!==4&&(e=e.child,e!==null))for(uc(e,t,n),e=e.sibling;e!==null;)uc(e,t,n),e=e.sibling}function cc(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(cc(e,t,n),e=e.sibling;e!==null;)cc(e,t,n),e=e.sibling}var ke=null,Lt=!1;function Pn(e,t,n){for(n=n.child;n!==null;)cv(e,t,n),n=n.sibling}function cv(e,t,n){if(Qt&&typeof Qt.onCommitFiberUnmount=="function")try{Qt.onCommitFiberUnmount(Ga,n)}catch{}switch(n.tag){case 5:Ie||no(n,t);case 6:var r=ke,o=Lt;ke=null,Pn(e,t,n),ke=r,Lt=o,ke!==null&&(Lt?(e=ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ke.removeChild(n.stateNode));break;case 18:ke!==null&&(Lt?(e=ke,n=n.stateNode,e.nodeType===8?Hl(e.parentNode,n):e.nodeType===1&&Hl(e,n),Ni(e)):Hl(ke,n.stateNode));break;case 4:r=ke,o=Lt,ke=n.stateNode.containerInfo,Lt=!0,Pn(e,t,n),ke=r,Lt=o;break;case 0:case 11:case 14:case 15:if(!Ie&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&ac(n,t,s),o=o.next}while(o!==r)}Pn(e,t,n);break;case 1:if(!Ie&&(no(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ge(n,t,a)}Pn(e,t,n);break;case 21:Pn(e,t,n);break;case 22:n.mode&1?(Ie=(r=Ie)||n.memoizedState!==null,Pn(e,t,n),Ie=r):Pn(e,t,n);break;default:Pn(e,t,n)}}function Yh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new eT),t.forEach(function(r){var o=cT.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:ke=a.stateNode,Lt=!1;break e;case 3:ke=a.stateNode.containerInfo,Lt=!0;break e;case 4:ke=a.stateNode.containerInfo,Lt=!0;break e}a=a.return}if(ke===null)throw Error(M(160));cv(i,s,o),ke=null,Lt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){ge(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)dv(t,e),t=t.sibling}function dv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Pt(t,e),Bt(e),r&4){try{vi(3,e,e.return),tl(3,e)}catch(g){ge(e,e.return,g)}try{vi(5,e,e.return)}catch(g){ge(e,e.return,g)}}break;case 1:Pt(t,e),Bt(e),r&512&&n!==null&&no(n,n.return);break;case 5:if(Pt(t,e),Bt(e),r&512&&n!==null&&no(n,n.return),e.flags&32){var o=e.stateNode;try{ki(o,"")}catch(g){ge(e,e.return,g)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&Lg(o,i),Ou(a,s);var u=Ou(a,i);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?_g(o,d):c==="dangerouslySetInnerHTML"?Ig(o,d):c==="children"?ki(o,d):id(o,c,d,u)}switch(a){case"input":Ru(o,i);break;case"textarea":Og(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?uo(o,!!i.multiple,h,!1):f!==!!i.multiple&&(i.defaultValue!=null?uo(o,!!i.multiple,i.defaultValue,!0):uo(o,!!i.multiple,i.multiple?[]:"",!1))}o[Ii]=i}catch(g){ge(e,e.return,g)}}break;case 6:if(Pt(t,e),Bt(e),r&4){if(e.stateNode===null)throw Error(M(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(g){ge(e,e.return,g)}}break;case 3:if(Pt(t,e),Bt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ni(t.containerInfo)}catch(g){ge(e,e.return,g)}break;case 4:Pt(t,e),Bt(e);break;case 13:Pt(t,e),Bt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(_d=ye())),r&4&&Yh(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Ie=(u=Ie)||c,Pt(t,e),Ie=u):Pt(t,e),Bt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(F=e,c=e.child;c!==null;){for(d=F=c;F!==null;){switch(f=F,h=f.child,f.tag){case 0:case 11:case 14:case 15:vi(4,f,f.return);break;case 1:no(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(g){ge(r,n,g)}}break;case 5:no(f,f.return);break;case 22:if(f.memoizedState!==null){qh(d);continue}}h!==null?(h.return=f,F=h):qh(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Fg("display",s))}catch(g){ge(e,e.return,g)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){ge(e,e.return,g)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Pt(t,e),Bt(e),r&4&&Yh(e);break;case 21:break;default:Pt(t,e),Bt(e)}}function Bt(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 o=r.stateNode;r.flags&32&&(ki(o,""),r.flags&=-33);var i=Qh(e);cc(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Qh(e);uc(e,a,s);break;default:throw Error(M(161))}}catch(l){ge(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function nT(e,t,n){F=e,fv(e)}function fv(e,t,n){for(var r=(e.mode&1)!==0;F!==null;){var o=F,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Ns;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||Ie;a=Ns;var u=Ie;if(Ns=s,(Ie=l)&&!u)for(F=o;F!==null;)s=F,l=s.child,s.tag===22&&s.memoizedState!==null?Zh(o):l!==null?(l.return=s,F=l):Zh(o);for(;i!==null;)F=i,fv(i),i=i.sibling;F=o,Ns=a,Ie=u}Xh(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,F=i):Xh(e)}}function Xh(e){for(;F!==null;){var t=F;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ie||tl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ie)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Rt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Oh(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Oh(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Ni(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}Ie||t.flags&512&&lc(t)}catch(f){ge(t,t.return,f)}}if(t===e){F=null;break}if(n=t.sibling,n!==null){n.return=t.return,F=n;break}F=t.return}}function qh(e){for(;F!==null;){var t=F;if(t===e){F=null;break}var n=t.sibling;if(n!==null){n.return=t.return,F=n;break}F=t.return}}function Zh(e){for(;F!==null;){var t=F;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{tl(4,t)}catch(l){ge(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){ge(t,o,l)}}var i=t.return;try{lc(t)}catch(l){ge(t,i,l)}break;case 5:var s=t.return;try{lc(t)}catch(l){ge(t,s,l)}}}catch(l){ge(t,t.return,l)}if(t===e){F=null;break}var a=t.sibling;if(a!==null){a.return=t.return,F=a;break}F=t.return}}var rT=Math.ceil,ba=vn.ReactCurrentDispatcher,Id=vn.ReactCurrentOwner,vt=vn.ReactCurrentBatchConfig,Z=0,be=null,xe=null,Re=0,tt=0,ro=ir(0),Ce=0,$i=null,Or=0,nl=0,Fd=0,wi=null,Ge=null,_d=0,Oo=1/0,rn=null,ka=!1,dc=null,Gn=null,Ds=!1,zn=null,Aa=0,xi=0,fc=null,qs=-1,Zs=0;function Ue(){return Z&6?ye():qs!==-1?qs:qs=ye()}function Qn(e){return e.mode&1?Z&2&&Re!==0?Re&-Re:zS.transition!==null?(Zs===0&&(Zs=Xg()),Zs):(e=te,e!==0||(e=window.event,e=e===void 0?16:ry(e.type)),e):1}function It(e,t,n,r){if(50<xi)throw xi=0,fc=null,Error(M(185));ns(e,n,r),(!(Z&2)||e!==be)&&(e===be&&(!(Z&2)&&(nl|=n),Ce===4&&Ln(e,Re)),Ze(e,r),n===1&&Z===0&&!(t.mode&1)&&(Oo=ye()+500,Za&&sr()))}function Ze(e,t){var n=e.callbackNode;z1(e,t);var r=da(e,e===be?Re:0);if(r===0)n!==null&&ah(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ah(n),t===1)e.tag===0?VS(Jh.bind(null,e)):Ty(Jh.bind(null,e)),jS(function(){!(Z&6)&&sr()}),n=null;else{switch(qg(r)){case 1:n=cd;break;case 4:n=Qg;break;case 16:n=ca;break;case 536870912:n=Yg;break;default:n=ca}n=xv(n,hv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function hv(e,t){if(qs=-1,Zs=0,Z&6)throw Error(M(327));var n=e.callbackNode;if(mo()&&e.callbackNode!==n)return null;var r=da(e,e===be?Re:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ra(e,r);else{t=r;var o=Z;Z|=2;var i=mv();(be!==e||Re!==t)&&(rn=null,Oo=ye()+500,kr(e,t));do try{sT();break}catch(a){pv(e,a)}while(!0);Ed(),ba.current=i,Z=o,xe!==null?t=0:(be=null,Re=0,t=Ce)}if(t!==0){if(t===2&&(o=Vu(e),o!==0&&(r=o,t=hc(e,o))),t===1)throw n=$i,kr(e,0),Ln(e,r),Ze(e,ye()),n;if(t===6)Ln(e,r);else{if(o=e.current.alternate,!(r&30)&&!oT(o)&&(t=Ra(e,r),t===2&&(i=Vu(e),i!==0&&(r=i,t=hc(e,i))),t===1))throw n=$i,kr(e,0),Ln(e,r),Ze(e,ye()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:pr(e,Ge,rn);break;case 3:if(Ln(e,r),(r&130023424)===r&&(t=_d+500-ye(),10<t)){if(da(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Ue(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Gu(pr.bind(null,e,Ge,rn),t);break}pr(e,Ge,rn);break;case 4:if(Ln(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-jt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*rT(r/1960))-r,10<r){e.timeoutHandle=Gu(pr.bind(null,e,Ge,rn),r);break}pr(e,Ge,rn);break;case 5:pr(e,Ge,rn);break;default:throw Error(M(329))}}}return Ze(e,ye()),e.callbackNode===n?hv.bind(null,e):null}function hc(e,t){var n=wi;return e.current.memoizedState.isDehydrated&&(kr(e,t).flags|=256),e=Ra(e,t),e!==2&&(t=Ge,Ge=n,t!==null&&pc(t)),e}function pc(e){Ge===null?Ge=e:Ge.push.apply(Ge,e)}function oT(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Ft(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ln(e,t){for(t&=~Fd,t&=~nl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-jt(t),r=1<<n;e[n]=-1,t&=~r}}function Jh(e){if(Z&6)throw Error(M(327));mo();var t=da(e,0);if(!(t&1))return Ze(e,ye()),null;var n=Ra(e,t);if(e.tag!==0&&n===2){var r=Vu(e);r!==0&&(t=r,n=hc(e,r))}if(n===1)throw n=$i,kr(e,0),Ln(e,t),Ze(e,ye()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,pr(e,Ge,rn),Ze(e,ye()),null}function Vd(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(Oo=ye()+500,Za&&sr())}}function jr(e){zn!==null&&zn.tag===0&&!(Z&6)&&mo();var t=Z;Z|=1;var n=vt.transition,r=te;try{if(vt.transition=null,te=1,e)return e()}finally{te=r,vt.transition=n,Z=t,!(Z&6)&&sr()}}function zd(){tt=ro.current,se(ro)}function kr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,OS(n)),xe!==null)for(n=xe.return;n!==null;){var r=n;switch(xd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ga();break;case 3:Do(),se(Xe),se(_e),Rd();break;case 5:Ad(r);break;case 4:Do();break;case 13:se(ce);break;case 19:se(ce);break;case 10:Cd(r.type._context);break;case 22:case 23:zd()}n=n.return}if(be=e,xe=e=Yn(e.current,null),Re=tt=t,Ce=0,$i=null,Fd=nl=Or=0,Ge=wi=null,yr!==null){for(t=0;t<yr.length;t++)if(n=yr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}yr=null}return e}function pv(e,t){do{var n=xe;try{if(Ed(),Qs.current=Pa,Ca){for(var r=fe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Ca=!1}if(Lr=0,Pe=Te=fe=null,yi=!1,Vi=0,Id.current=null,n===null||n.return===null){Ce=1,$i=t,xe=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=Re,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=zh(s);if(h!==null){h.flags&=-257,Bh(h,s,a,i,t),h.mode&1&&Vh(i,u,t),t=h,l=u;var v=t.updateQueue;if(v===null){var g=new Set;g.add(l),t.updateQueue=g}else v.add(l);break e}else{if(!(t&1)){Vh(i,u,t),Bd();break e}l=Error(M(426))}}else if(le&&a.mode&1){var w=zh(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Bh(w,s,a,i,t),Sd(Lo(l,a));break e}}i=l=Lo(l,a),Ce!==4&&(Ce=2),wi===null?wi=[i]:wi.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=qy(i,l,t);Lh(i,p);break e;case 1:a=l;var m=i.type,y=i.stateNode;if(!(i.flags&128)&&(typeof m.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Gn===null||!Gn.has(y)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=Zy(i,a,t);Lh(i,S);break e}}i=i.return}while(i!==null)}yv(n)}catch(T){t=T,xe===n&&n!==null&&(xe=n=n.return);continue}break}while(!0)}function mv(){var e=ba.current;return ba.current=Pa,e===null?Pa:e}function Bd(){(Ce===0||Ce===3||Ce===2)&&(Ce=4),be===null||!(Or&268435455)&&!(nl&268435455)||Ln(be,Re)}function Ra(e,t){var n=Z;Z|=2;var r=mv();(be!==e||Re!==t)&&(rn=null,kr(e,t));do try{iT();break}catch(o){pv(e,o)}while(!0);if(Ed(),Z=n,ba.current=r,xe!==null)throw Error(M(261));return be=null,Re=0,Ce}function iT(){for(;xe!==null;)gv(xe)}function sT(){for(;xe!==null&&!N1();)gv(xe)}function gv(e){var t=wv(e.alternate,e,tt);e.memoizedProps=e.pendingProps,t===null?yv(e):xe=t,Id.current=null}function yv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=JS(n,t),n!==null){n.flags&=32767,xe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ce=6,xe=null;return}}else if(n=ZS(n,t,tt),n!==null){xe=n;return}if(t=t.sibling,t!==null){xe=t;return}xe=t=e}while(t!==null);Ce===0&&(Ce=5)}function pr(e,t,n){var r=te,o=vt.transition;try{vt.transition=null,te=1,aT(e,t,n,r)}finally{vt.transition=o,te=r}return null}function aT(e,t,n,r){do mo();while(zn!==null);if(Z&6)throw Error(M(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(M(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(B1(e,i),e===be&&(xe=be=null,Re=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ds||(Ds=!0,xv(ca,function(){return mo(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=vt.transition,vt.transition=null;var s=te;te=1;var a=Z;Z|=4,Id.current=null,tT(e,n),dv(n,e),kS(Hu),fa=!!Wu,Hu=Wu=null,e.current=n,nT(n),D1(),Z=a,te=s,vt.transition=i}else e.current=n;if(Ds&&(Ds=!1,zn=e,Aa=o),i=e.pendingLanes,i===0&&(Gn=null),j1(n.stateNode),Ze(e,ye()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(ka)throw ka=!1,e=dc,dc=null,e;return Aa&1&&e.tag!==0&&mo(),i=e.pendingLanes,i&1?e===fc?xi++:(xi=0,fc=e):xi=0,sr(),null}function mo(){if(zn!==null){var e=qg(Aa),t=vt.transition,n=te;try{if(vt.transition=null,te=16>e?16:e,zn===null)var r=!1;else{if(e=zn,zn=null,Aa=0,Z&6)throw Error(M(331));var o=Z;for(Z|=4,F=e.current;F!==null;){var i=F,s=i.child;if(F.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(F=u;F!==null;){var c=F;switch(c.tag){case 0:case 11:case 15:vi(8,c,i)}var d=c.child;if(d!==null)d.return=c,F=d;else for(;F!==null;){c=F;var f=c.sibling,h=c.return;if(lv(c),c===u){F=null;break}if(f!==null){f.return=h,F=f;break}F=h}}}var v=i.alternate;if(v!==null){var g=v.child;if(g!==null){v.child=null;do{var w=g.sibling;g.sibling=null,g=w}while(g!==null)}}F=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,F=s;else e:for(;F!==null;){if(i=F,i.flags&2048)switch(i.tag){case 0:case 11:case 15:vi(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,F=p;break e}F=i.return}}var m=e.current;for(F=m;F!==null;){s=F;var y=s.child;if(s.subtreeFlags&2064&&y!==null)y.return=s,F=y;else e:for(s=m;F!==null;){if(a=F,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:tl(9,a)}}catch(T){ge(a,a.return,T)}if(a===s){F=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,F=S;break e}F=a.return}}if(Z=o,sr(),Qt&&typeof Qt.onPostCommitFiberRoot=="function")try{Qt.onPostCommitFiberRoot(Ga,e)}catch{}r=!0}return r}finally{te=n,vt.transition=t}}return!1}function ep(e,t,n){t=Lo(n,t),t=qy(e,t,1),e=Kn(e,t,1),t=Ue(),e!==null&&(ns(e,1,t),Ze(e,t))}function ge(e,t,n){if(e.tag===3)ep(e,e,n);else for(;t!==null;){if(t.tag===3){ep(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Gn===null||!Gn.has(r))){e=Lo(n,e),e=Zy(t,e,1),t=Kn(t,e,1),e=Ue(),t!==null&&(ns(t,1,e),Ze(t,e));break}}t=t.return}}function lT(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ue(),e.pingedLanes|=e.suspendedLanes&n,be===e&&(Re&n)===n&&(Ce===4||Ce===3&&(Re&130023424)===Re&&500>ye()-_d?kr(e,0):Fd|=n),Ze(e,t)}function vv(e,t){t===0&&(e.mode&1?(t=Ts,Ts<<=1,!(Ts&130023424)&&(Ts=4194304)):t=1);var n=Ue();e=fn(e,t),e!==null&&(ns(e,t,n),Ze(e,n))}function uT(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),vv(e,n)}function cT(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),vv(e,n)}var wv;wv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Xe.current)Qe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Qe=!1,qS(e,t,n);Qe=!!(e.flags&131072)}else Qe=!1,le&&t.flags&1048576&&Ey(t,wa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Xs(e,t),e=t.pendingProps;var o=Ro(t,_e.current);po(t,n),o=Nd(null,t,r,e,o,n);var i=Dd();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,qe(r)?(i=!0,ya(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,bd(t),o.updater=el,t.stateNode=o,o._reactInternals=t,ec(t,r,e,n),t=rc(null,t,r,!0,i,n)):(t.tag=0,le&&i&&wd(t),ze(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Xs(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=fT(r),e=Rt(r,e),o){case 0:t=nc(null,t,r,e,n);break e;case 1:t=Wh(null,t,r,e,n);break e;case 11:t=$h(null,t,r,e,n);break e;case 14:t=Uh(null,t,r,Rt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Rt(r,o),nc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Rt(r,o),Wh(e,t,r,o,n);case 3:e:{if(nv(t),e===null)throw Error(M(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Ry(e,t),Ta(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Lo(Error(M(423)),t),t=Hh(e,t,r,n,o);break e}else if(r!==o){o=Lo(Error(M(424)),t),t=Hh(e,t,r,n,o);break e}else for(rt=Hn(t.stateNode.containerInfo.firstChild),ot=t,le=!0,Ot=null,n=ky(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Mo(),r===o){t=hn(e,t,n);break e}ze(e,t,r,n)}t=t.child}return t;case 5:return My(t),e===null&&qu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Ku(r,o)?s=null:i!==null&&Ku(r,i)&&(t.flags|=32),tv(e,t),ze(e,t,s,n),t.child;case 6:return e===null&&qu(t),null;case 13:return rv(e,t,n);case 4:return kd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=No(t,null,r,n):ze(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Rt(r,o),$h(e,t,r,o,n);case 7:return ze(e,t,t.pendingProps,n),t.child;case 8:return ze(e,t,t.pendingProps.children,n),t.child;case 12:return ze(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,re(xa,r._currentValue),r._currentValue=s,i!==null)if(Ft(i.value,s)){if(i.children===o.children&&!Xe.current){t=hn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=un(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Zu(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(M(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Zu(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}ze(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,po(t,n),o=xt(o),r=r(o),t.flags|=1,ze(e,t,r,n),t.child;case 14:return r=t.type,o=Rt(r,t.pendingProps),o=Rt(r.type,o),Uh(e,t,r,o,n);case 15:return Jy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Rt(r,o),Xs(e,t),t.tag=1,qe(r)?(e=!0,ya(t)):e=!1,po(t,n),Xy(t,r,o),ec(t,r,o,n),rc(null,t,r,!0,e,n);case 19:return ov(e,t,n);case 22:return ev(e,t,n)}throw Error(M(156,t.tag))};function xv(e,t){return Gg(e,t)}function dT(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gt(e,t,n,r){return new dT(e,t,n,r)}function $d(e){return e=e.prototype,!(!e||!e.isReactComponent)}function fT(e){if(typeof e=="function")return $d(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ad)return 11;if(e===ld)return 14}return 2}function Yn(e,t){var n=e.alternate;return n===null?(n=gt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deleti
vendor: 8,940 bytes, line 40
40ons=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Js(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")$d(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Gr:return Ar(n.children,o,i,t);case sd:s=8,o|=8;break;case Cu:return e=gt(12,n,t,o|2),e.elementType=Cu,e.lanes=i,e;case Pu:return e=gt(13,n,t,o),e.elementType=Pu,e.lanes=i,e;case bu:return e=gt(19,n,t,o),e.elementType=bu,e.lanes=i,e;case Mg:return rl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ag:s=10;break e;case Rg:s=9;break e;case ad:s=11;break e;case ld:s=14;break e;case Mn:s=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=gt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Ar(e,t,n,r){return e=gt(7,e,r,t),e.lanes=n,e}function rl(e,t,n,r){return e=gt(22,e,r,t),e.elementType=Mg,e.lanes=n,e.stateNode={isHidden:!1},e}function Jl(e,t,n){return e=gt(6,e,null,t),e.lanes=n,e}function eu(e,t,n){return t=gt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hT(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ol(0),this.expirationTimes=Ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ol(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ud(e,t,n,r,o,i,s,a,l){return e=new hT(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=gt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},bd(i),e}function pT(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Kr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Sv(e){if(!e)return qn;e=e._reactInternals;e:{if(_r(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(qe(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(qe(n))return Sy(e,n,t)}return t}function Tv(e,t,n,r,o,i,s,a,l){return e=Ud(n,r,!0,e,o,i,s,a,l),e.context=Sv(null),n=e.current,r=Ue(),o=Qn(n),i=un(r,o),i.callback=t??null,Kn(n,i,o),e.current.lanes=o,ns(e,o,r),Ze(e,r),e}function ol(e,t,n,r){var o=t.current,i=Ue(),s=Qn(o);return n=Sv(n),t.context===null?t.context=n:t.pendingContext=n,t=un(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Kn(o,t,s),e!==null&&(It(e,o,s,i),Gs(e,o,s)),s}function Ma(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 tp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Wd(e,t){tp(e,t),(e=e.alternate)&&tp(e,t)}function mT(){return null}var Ev=typeof reportError=="function"?reportError:function(e){console.error(e)};function Hd(e){this._internalRoot=e}il.prototype.render=Hd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));ol(e,t,null,null)};il.prototype.unmount=Hd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;jr(function(){ol(null,e,null,null)}),t[dn]=null}};function il(e){this._internalRoot=e}il.prototype.unstable_scheduleHydration=function(e){if(e){var t=ey();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dn.length&&t!==0&&t<Dn[n].priority;n++);Dn.splice(n,0,e),n===0&&ny(e)}};function Kd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function sl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function np(){}function gT(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Ma(s);i.call(u)}}var s=Tv(t,r,e,0,null,!1,!1,"",np);return e._reactRootContainer=s,e[dn]=s.current,Oi(e.nodeType===8?e.parentNode:e),jr(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=Ma(l);a.call(u)}}var l=Ud(e,0,!1,null,null,!1,!1,"",np);return e._reactRootContainer=l,e[dn]=l.current,Oi(e.nodeType===8?e.parentNode:e),jr(function(){ol(t,l,n,r)}),l}function al(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=Ma(s);a.call(l)}}ol(t,s,e,o)}else s=gT(n,t,e,o,r);return Ma(s)}Zg=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ui(t.pendingLanes);n!==0&&(dd(t,n|1),Ze(t,ye()),!(Z&6)&&(Oo=ye()+500,sr()))}break;case 13:jr(function(){var r=fn(e,1);if(r!==null){var o=Ue();It(r,e,1,o)}}),Wd(e,1)}};fd=function(e){if(e.tag===13){var t=fn(e,134217728);if(t!==null){var n=Ue();It(t,e,134217728,n)}Wd(e,134217728)}};Jg=function(e){if(e.tag===13){var t=Qn(e),n=fn(e,t);if(n!==null){var r=Ue();It(n,e,t,r)}Wd(e,t)}};ey=function(){return te};ty=function(e,t){var n=te;try{return te=e,t()}finally{te=n}};Iu=function(e,t,n){switch(t){case"input":if(Ru(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=qa(r);if(!o)throw Error(M(90));Dg(r),Ru(r,o)}}}break;case"textarea":Og(e,n);break;case"select":t=n.value,t!=null&&uo(e,!!n.multiple,t,!1)}};Bg=Vd;$g=jr;var yT={usingClientEntryPoint:!1,Events:[os,qr,qa,Vg,zg,Vd]},ri={findFiberByHostInstance:gr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},vT={bundleType:ri.bundleType,version:ri.version,rendererPackageName:ri.rendererPackageName,rendererConfig:ri.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:vn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Hg(e),e===null?null:e.stateNode},findFiberByHostInstance:ri.findFiberByHostInstance||mT,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ls=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ls.isDisabled&&Ls.supportsFiber)try{Ga=Ls.inject(vT),Qt=Ls}catch{}}at.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yT;at.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kd(t))throw Error(M(200));return pT(e,t,null,n)};at.createRoot=function(e,t){if(!Kd(e))throw Error(M(299));var n=!1,r="",o=Ev;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Ud(e,1,!1,null,null,n,!1,r,o),e[dn]=t.current,Oi(e.nodeType===8?e.parentNode:e),new Hd(t)};at.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=Hg(t),e=e===null?null:e.stateNode,e};at.flushSync=function(e){return jr(e)};at.hydrate=function(e,t,n){if(!sl(t))throw Error(M(200));return al(null,e,t,!0,n)};at.hydrateRoot=function(e,t,n){if(!Kd(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=Ev;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Tv(t,null,e,1,n??null,o,!1,i,s),e[dn]=t.current,Oi(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new il(t)};at.render=function(e,t,n){if(!sl(t))throw Error(M(200));return al(null,e,t,!1,n)};at.unmountComponentAtNode=function(e){if(!sl(e))throw Error(M(40));return e._reactRootContainer?(jr(function(){al(null,null,e,!1,function(){e._reactRootContainer=null,e[dn]=null})}),!0):!1};at.unstable_batchedUpdates=Vd;at.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!sl(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return al(e,t,n,!1,r)};at.version="18.3.1-next-f1338f8080-20240426";
40function Cv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Cv)}catch(e){console.error(e)}}Cv(),Cg.exports=at;var ss=Cg.exports;const Pv=dg(ss);var bv,rp=ss;bv=rp.createRoot,rp.hydrateRoot;const wT=1,xT=1e6;let tu=0;function ST(){return tu=(tu+1)%Number.MAX_SAFE_INTEGER,tu.toString()}const nu=new Map,op=e=>{if(nu.has(e))return;const t=setTimeout(()=>{nu.delete(e),Si({type:"REMOVE_TOAST",toastId:e})},xT);nu.set(e,t)},TT=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,wT)};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?op(n):e.toasts.forEach(r=>{op(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)}}},ea=[];let ta={toasts:[]};function Si(e){ta=TT(ta,e),ea.forEach(t=>{t(ta)})}function ET({...e}){const t=ST(),n=o=>Si({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Si({type:"DISMISS_TOAST",toastId:t});return Si({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function CT(){const[e,t]=x.useState(ta);return x.useEffect(()=>(ea.push(t),()=>{const n=ea.indexOf(t);n>-1&&ea.splice(n,1)}),[e]),{...e,toast:ET,dismiss:n=>Si({type:"DISMISS_TOAST",toastId:n})}}function Ee(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function ip(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function kv(...e){return t=>{let n=!1;const r=e.map(o=>{const i=ip(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():ip(e[o],null)}}}}function _t(...e){return x.useCallback(kv(...e),e)}function ll(e,t=[]){let n=[];function r(i,s){const a=x.createContext(s),l=n.length;n=[...n,s];const u=d=>{var p;const{scope:f,children:h,...v}=d,g=((p=f==null?void 0:f[e])==null?void 0:p[l])||a,w=x.useMemo(()=>v,Object.values(v));return E.jsx(g.Provider,{value:w,children:h})};u.displayName=i+"Provider";function c(d,f){var g;const h=((g=f==null?void 0:f[e])==null?void 0:g[l])||a,v=x.useContext(h);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,c]}const o=()=>{const i=n.map(s=>x.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,PT(o,...t)]}function PT(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Na(e){const t=kT(e),n=x.forwardRef((r,o)=>{const{children:i,...s}=r,a=x.Children.toArray(i),l=a.find(RT);if(l){const u=l.props.children,c=a.map(d=>d===l?x.Children.count(u)>1?x.Children.only(null):x.isValidElement(u)?u.props.children:null:d);return E.jsx(t,{...s,ref:o,children:x.isValidElement(u)?x.cloneElement(u,void 0,c):null})}return E.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var bT=Na("Slot");function kT(e){const t=x.forwardRef((n,r)=>{const{children:o,...i}=n;if(x.isValidElement(o)){const s=NT(o),a=MT(i,o.props);return o.type!==x.Fragment&&(a.ref=r?kv(r,s):s),x.cloneElement(o,a)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Av=Symbol("radix.slottable");function AT(e){const t=({children:n})=>E.jsx(E.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Av,t}function RT(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Av}function MT(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const l=i(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}
vendor: 8,863 bytes, line 40
40:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function NT(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function DT(e){const t=e+"CollectionProvider",[n,r]=ll(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{const{scope:w,children:p}=g,m=L.useRef(null),y=L.useRef(new Map).current;return E.jsx(o,{scope:w,itemMap:y,collectionRef:m,children:p})};s.displayName=t;const a=e+"CollectionSlot",l=Na(a),u=L.forwardRef((g,w)=>{const{scope:p,children:m}=g,y=i(a,p),S=_t(w,y.collectionRef);return E.jsx(l,{ref:S,children:m})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",f=Na(c),h=L.forwardRef((g,w)=>{const{scope:p,children:m,...y}=g,S=L.useRef(null),T=_t(w,S),C=i(c,p);return L.useEffect(()=>(C.itemMap.set(S,{ref:S,...y}),()=>void C.itemMap.delete(S))),E.jsx(f,{[d]:"",ref:T,children:m})});h.displayName=c;function v(g){const w=i(e+"CollectionConsumer",g);return L.useCallback(()=>{const m=w.collectionRef.current;if(!m)return[];const y=Array.from(m.querySelectorAll(`[${d}]`));return Array.from(w.itemMap.values()).sort((C,P)=>y.indexOf(C.ref.current)-y.indexOf(P.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:s,Slot:u,ItemSlot:h},v,r]}var LT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],et=LT.reduce((e,t)=>{const n=Na(`Primitive.${t}`),r=x.forwardRef((o,i)=>{const{asChild:s,...a}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),E.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Rv(e,t){e&&ss.flushSync(()=>e.dispatchEvent(t))}function Zn(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function OT(e,t=globalThis==null?void 0:globalThis.document){const n=Zn(e);x.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var jT="DismissableLayer",mc="dismissableLayer.update",IT="dismissableLayer.pointerDownOutside",FT="dismissableLayer.focusOutside",sp,Mv=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Gd=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=x.useContext(Mv),[c,d]=x.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=x.useState({}),v=_t(t,P=>d(P)),g=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),p=g.indexOf(w),m=c?g.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,S=m>=p,T=VT(P=>{const b=P.target,D=[...u.branches].some(N=>N.contains(b));!S||D||(o==null||o(P),s==null||s(P),P.defaultPrevented||a==null||a())},f),C=zT(P=>{const b=P.target;[...u.branches].some(N=>N.contains(b))||(i==null||i(P),s==null||s(P),P.defaultPrevented||a==null||a())},f);return OT(P=>{m===u.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},f),x.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(sp=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),ap(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=sp)}},[c,f,n,u]),x.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),ap())},[c,u]),x.useEffect(()=>{const P=()=>h({});return document.addEventListener(mc,P),()=>document.removeEventListener(mc,P)},[]),E.jsx(et.div,{...l,ref:v,style:{pointerEvents:y?S?"auto":"none":void 0,...e.style},onFocusCapture:Ee(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Ee(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Ee(e.onPointerDownCapture,T.onPointerDownCapture)})});Gd.displayName=jT;var _T="DismissableLayerBranch",Nv=x.forwardRef((e,t)=>{const n=x.useContext(Mv),r=x.useRef(null),o=_t(t,r);return x.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),E.jsx(et.div,{...e,ref:o})});Nv.displayName=_T;function VT(e,t=globalThis==null?void 0:globalThis.document){const n=Zn(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){Dv(IT,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function zT(e,t=globalThis==null?void 0:globalThis.document){const n=Zn(e),r=x.useRef(!1);return x.useEffect(()=>{const o=i=>{i.target&&!r.current&&Dv(FT,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ap(){const e=new CustomEvent(mc);document.dispatchEvent(e)}function Dv(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Rv(o,i):o.dispatchEvent(i)}var BT=Gd,$T=Nv,Jn=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},UT="Portal",Lv=x.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=x.useState(!1);Jn(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?Pv.createPortal(E.jsx(et.div,{...r,ref:t}),s):null});Lv.displayName=UT;function WT(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var Qd=e=>{const{present:t,children:n}=e,r=HT(t),o=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),i=_t(r.ref,KT(o));return typeof n=="function"||r.isPresent?x.cloneElement(o,{ref:i}):null};Qd.displayName="Presence";function HT(e){const[t,n]=x.useState(),r=x.useRef(null),o=x.useRef(e),i=x.useRef("none"),s=e?"mounted":"unmounted",[a,l]=WT(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=Os(r.current);i.current=a==="mounted"?u:"none"},[a]),Jn(()=>{const u=r.current,c=o.current;if(c!==e){const f=i.current,h=Os(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Jn(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=h=>{const g=Os(r.current).includes(h.animationName);if(h.target===t&&g&&(l("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},f=h=>{h.target===t&&(i.current=Os(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:x.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Os(e){return(e==null?void 0:e.animationName)||"none"}function KT(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var GT=Tg[" useInsertionEffect ".trim().toString()]||Jn;function QT({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=YT({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const c=x.useRef(e!==void 0);x.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=a},[a,r])}const u=x.useCallback(c=>{var d;if(a){const f=XT(c)?c(e):c;f!==e&&((d=s.current)==null||d.call(s,f))}else i(c)},[a,e,i,s]);return[l,u]}function YT({defaultProp:e,onChange:t}
40){const[n,r]=x.useState(e),o=x.useRef(n),i=x.useRef(t);return GT(()=>{i.current=t},[t]),x.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function XT(e){return typeof e=="function"}var qT=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"}),ZT="VisuallyHidden",ul=x.forwardRef((e,t)=>E.jsx(et.span,{...e,ref:t,style:{...qT,...e.style}}));ul.displayName=ZT;var JT=ul,Yd="ToastProvider",[Xd,eE,tE]=DT("Toast"),[Ov,LN]=ll("Toast",[tE]),[nE,cl]=Ov(Yd),jv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,l]=x.useState(null),[u,c]=x.useState(0),d=x.useRef(!1),f=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Yd}\`. Expected non-empty \`string\`.`),E.jsx(Xd.Provider,{scope:t,children:E.jsx(nE,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:x.useCallback(()=>c(h=>h+1),[]),onToastRemove:x.useCallback(()=>c(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:s})})};jv.displayName=Yd;var Iv="ToastViewport",rE=["F8"],gc="toast.viewportPause",yc="toast.viewportResume",Fv=x.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=rE,label:o="Notifications ({hotkey})",...i}=e,s=cl(Iv,n),a=eE(n),l=x.useRef(null),u=x.useRef(null),c=x.useRef(null),d=x.useRef(null),f=_t(t,d,s.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=s.toastCount>0;x.useEffect(()=>{const w=p=>{var y;r.length!==0&&r.every(S=>p[S]||p.code===S)&&((y=d.current)==null||y.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),x.useEffect(()=>{const w=l.current,p=d.current;if(v&&w&&p){const m=()=>{if(!s.isClosePausedRef.current){const C=new CustomEvent(gc);p.dispatchEvent(C),s.isClosePausedRef.current=!0}},y=()=>{if(s.isClosePausedRef.current){const C=new CustomEvent(yc);p.dispatchEvent(C),s.isClosePausedRef.current=!1}},S=C=>{!w.contains(C.relatedTarget)&&y()},T=()=>{w.contains(document.activeElement)||y()};return w.addEventListener("focusin",m),w.addEventListener("focusout",S),w.addEventListener("pointermove",m),w.addEventListener("pointerleave",T),window.addEventListener("blur",m),window.addEventListener("focus",y),()=>{w.removeEventListener("focusin",m),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",m),w.removeEventListener("pointerleave",T),window.removeEventListener("blur",m),window.removeEventListener("focus",y)}}},[v,s.isClosePausedRef]);const g=x.useCallback(({tabbingDirection:w})=>{const m=a().map(y=>{const S=y.ref.current,T=[S,...gE(S)];return w==="forwards"?T:T.reverse()});return(w==="forwards"?m.reverse():m).flat()},[a]);return x.useEffect(()=>{const w=d.current;if(w){const p=m=>{var T,C,P;const y=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!y){const b=document.activeElement,D=m.shiftKey;if(m.target===w&&D){(T=u.current)==null||T.focus();return}const I=g({tabbingDirection:D?"backwards":"forwards"}),G=I.findIndex(O=>O===b);ru(I.slice(G+1))?m.preventDefault():D?(C=u.current)==null||C.focus():(P=c.current)==null||P.focus()}};return w.addEventListener("keydown",p),()=>w.removeEventListener("keydown",p)}},[a,g]),E.jsxs($T,{ref:l,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&E.jsx(vc,{ref:u,onFocusFromOutsideViewport:()=>{const w=g({tabbingDirection:"forwards"});ru(w)}}),E.jsx(Xd.Slot,{scope:n,children:E.jsx(et.ol,{tabIndex:-1,...i,ref:f})}),v&&E.jsx(vc,{ref:c,onFocusFromOutsideViewport:()=>{const w=g({tabbingDirection:"backwards"});ru(w)}})]})});Fv.displayName=Iv;var _v="ToastFocusProxy",vc=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=cl(_v,n);return E.jsx(ul,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});vc.displayName=_v;var as="Toast",oE="toast.swipeStart",iE="toast.swipeMove",sE="toast.swipeCancel",aE="toast.swipeEnd",Vv=x.forwardRef((e,t)=>
40{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a,l]=QT({prop:r,defaultProp:o??!0,onChange:i,caller:as});return E.jsx(Qd,{present:n||a,children:E.jsx(cE,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:Zn(e.onPause),onResume:Zn(e.onResume),onSwipeStart:Ee(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ee(e.onSwipeMove,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:Ee(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:Ee(e.onSwipeEnd,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});Vv.displayName=as;var[lE,uE]=Ov(as,{onClose(){}}),cE=x.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:h,...v}=e,g=cl(as,n),[w,p]=x.useState(null),m=_t(t,O=>p(O)),y=x.useRef(null),S=x.useRef(null),T=o||g.duration,C=x.useRef(0),P=x.useRef(T),b=x.useRef(0),{onToastAdd:D,onToastRemove:N}=g,V=Zn(()=>{var Q;(w==null?void 0:w.contains(document.activeElement))&&((Q=g.viewport)==null||Q.focus()),s()}),I=x.useCallback(O=>{!O||O===1/0||(window.clearTimeout(b.current),C.current=new Date().getTime(),b.current=window.setTimeout(V,O))},[V]);x.useEffect(()=>{const O=g.viewport;if(O){const Q=()=>{I(P.current),u==null||u()},$=()=>{const _=new Date().getTime()-C.current;P.current=P.current-_,window.clearTimeout(b.current),l==null||l()};return O.addEventListener(gc,$),O.addEventListener(yc,Q),()=>{O.removeEventListener(gc,$),O.removeEventListener(yc,Q)}}},[g.viewport,T,l,u,I]),x.useEffect(()=>{i&&!g.isClosePausedRef.current&&I(T)},[i,T,g.isClosePausedRef,I]),x.useEffect(()=>(D(),()=>N()),[D,N]);const G=x.useMemo(()=>w?Kv(w):null,[w]);return g.viewport?E.jsxs(E.Fragment,{children:[G&&E.jsx(dE,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:G}),E.jsx(lE,{scope:n,onClose:V,children:ss.createPortal(E.jsx(Xd.ItemSlot,{scope:n,children:E.jsx(BT,{asChild:!0,onEscapeKeyDown:Ee(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||V(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:E.jsx(et.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":g.swipeDirection,...v,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ee(e.onKeyDown,O=>{O.key==="Escape"&&(a==null||a(O.nativeEvent),O.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,V()))}),onPointerDown:Ee(e.onPointerDown,O=>{O.button===0&&(y.current={x:O.clientX,y:O.clientY})}),onPointerMove:Ee(e.onPointerMove,O=>{if(!y.current)return;const Q=O.clientX-y.current.x,$=O.clientY-y.current.y,_=!!S.current,k=["left","right"].includes(g.swipeDirection),R=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,j=k?R(0,Q):0,U=k?0:R(0,$),z=O.pointerType==="touch"?10:2,Y={x:j,y:U},q={originalEvent:O,delta:Y};_?(S.current=Y,js(iE,d,q,{discrete:!1})):lp(Y,g.swipeDirection,z)?(S.current=Y,js(oE,c,q,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(Q)>z||Math.abs($)>z)&&(y.current=null)}),onPointerUp:Ee(e.onPointerUp,O=>{const Q=S.current,$=O.target;if($.hasPointerCapture(O.pointerId)&&$.releasePointerCapture(O.pointerId),S.current=null,y.current=null,Q){const _=O.currentTarget,k={originalEvent:O,delta:Q};lp(Q,g.swipeDirection,g.swipeThreshold)?js(aE,h,k,{discrete:!0}):js(sE,f,k,{discrete:!0}),_.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),dE=e=>{const{__scopeToast:t,children:n,...r}=e,o=cl(as,t),[i,s]=x.useState(!1),[a,l]=x.useState(!1);return pE(()=>s(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:E.jsx(Lv,{asChild:!0,children:E.jsx(ul,{...r,children:i&&E.jsxs(E.Fragment,{children:[o.label," ",n]})})})},fE="ToastTitle",zv=x.forwardRef((e,t)=>
vendor: 6,769 bytes, lines 40-90
40{const{__scopeToast:n,...r}=e;return E.jsx(et.div,{...r,ref:t})});zv.displayName=fE;var hE="ToastDescription",Bv=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return E.jsx(et.div,{...r,ref:t})});Bv.displayName=hE;var $v="ToastAction",Uv=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?E.jsx(Hv,{altText:n,asChild:!0,children:E.jsx(qd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${$v}\`. Expected non-empty \`string\`.`),null)});Uv.displayName=$v;var Wv="ToastClose",qd=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=uE(Wv,n);return E.jsx(Hv,{asChild:!0,children:E.jsx(et.button,{type:"button",...r,ref:t,onClick:Ee(e.onClick,o.onClose)})})});qd.displayName=Wv;var Hv=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return E.jsx(et.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Kv(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),mE(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Kv(r))}}),t}function js(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Rv(o,i):o.dispatchEvent(i)}var lp=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function pE(e=()=>{}){const t=Zn(e);Jn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function mE(e){return e.nodeType===e.ELEMENT_NODE}function gE(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ru(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var yE=jv,Gv=Fv,Qv=Vv,Yv=zv,Xv=Bv,qv=Uv,Zv=qd;function Jv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Jv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function e0(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Jv(e))&&(r&&(r+=" "),r+=t);return r}const up=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,cp=e0,t0=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return cp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],d=i==null?void 0:i[u];if(c===null)return null;const f=up(c)||up(d);return o[u][f]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:f,...h}=c;return Object.entries(h).every(v=>{let[g,w]=v;return Array.isArray(w)?w.includes({...i,...a}[g]):{...i,...a}[g]===w})?[...u,d,f]:u},[]);return cp(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const vE=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n0=(...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 wE={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 xE=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},l)=>x.createElement("svg",{ref:l,...wE,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:n0("lucide",o),...a},[...s.map(([u,c])=>x.createElement(u,c)),...Array.isArray(i)?i:[i]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const ut=(e,t)=>{const n=x.forwardRef(({className:r,...o},i)=>x.createElement(xE,{ref:i,iconNode:t,className:n0(`lucide-${vE(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const r0=ut("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
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 SE=ut("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
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 TE=ut("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
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 EE=ut("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/**
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 CE=ut("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/**
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 PE=ut("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3
90kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/**
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 bE=ut("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
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 kE=ut("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"}]]);/**
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 AE=ut("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);/**
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 RE=ut("Weight",[["circle",{cx:"12",cy:"5",r:"3",key:"rqqgnr"}],["path",{d:"M6.5 8a2 2 0 0 0-1.905 1.46L2.1 18.5A2 2 0 0 0 4 21h16a2 2 0 0 0 1.925-2.54L19.4 9.5A2 2 0 0 0 17.48 8Z",key:"56o5sh"}]]);/**
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 ME=ut("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
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 NE=ut("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
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 DE=ut("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Zd="-",LE=e=>{const t=jE(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(Zd);return a[0]===""&&a.length!==1&&a.shift(),o0(a,t)||OE(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},o0=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?o0(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Zd);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},dp=/^\[(.+)\]$/,OE=e=>{if(dp.test(e)){const t=dp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},jE=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};
vendor: 5,113 bytes, line 125
125return FE(Object.entries(e.classGroups),n).forEach(([i,s])=>{wc(s,r,i,t)}),r},wc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:fp(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(IE(o)){wc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{wc(s,fp(t,i),n,r)})})},fp=(e,t)=>{let n=e;return t.split(Zd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},IE=e=>e.isThemeGetter,FE=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e,_E=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},i0="!",VE=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const l=[];let u=0,c=0,d;for(let w=0;w<a.length;w++){let p=a[w];if(u===0){if(p===o&&(r||a.slice(w,w+i)===t)){l.push(a.slice(c,w)),c=w+i;continue}if(p==="/"){d=w;continue}}p==="["?u++:p==="]"&&u--}const f=l.length===0?a:a.substring(c),h=f.startsWith(i0),v=h?f.substring(1):f,g=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:s}):s},zE=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},BE=e=>({cache:_E(e.cacheSize),parseClassName:VE(e),...LE(e)}),$E=/\s+/,UE=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split($E);let a="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(u);let v=!!h,g=r(v?f.substring(0,h):f);if(!g){if(!v){a=u+(a.length>0?" "+a:a);continue}if(g=r(f),!g){a=u+(a.length>0?" "+a:a);continue}v=!1}const w=zE(c).join(":"),p=d?w+i0:w,m=p+g;if(i.includes(m))continue;i.push(m);const y=o(g,v);for(let S=0;S<y.length;++S){const T=y[S];i.push(p+T)}a=u+(a.length>0?" "+a:a)}return a};function WE(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=s0(t))&&(r&&(r+=" "),r+=n);return r}const s0=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=s0(e[r]))&&(n&&(n+=" "),n+=t);return n};function HE(e,...t){let n,r,o,i=s;function s(l){const u=t.reduce((c,d)=>d(c),e());return n=BE(u),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=UE(l,n);return o(l,c),c}return function(){return i(WE.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},a0=/^\[(?:([a-z-]+):)?(.+)\]$/i,KE=/^\d+\/\d+$/,GE=new Set(["px","full","screen"]),QE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,YE=/\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$/,XE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ZE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,tn=e=>go(e)||GE.has(e)||KE.test(e),bn=e=>$o(e,"length",sC),go=e=>!!e&&!Number.isNaN(Number(e)),ou=e=>$o(e,"number",go),oi=e=>!!e&&Number.isInteger(Number(e)),JE=e=>e.endsWith("%")&&go(e.slice(0,-1)),K=e=>a0.test(e),kn=e=>QE.test(e),eC=new Set(["length","size","percentage"]),tC=e=>$o(e,eC,l0),nC=e=>$o(e,"position",l0),rC=new Set(["image","url"]),oC=e=>$o(e,rC,lC),iC=e=>$o(e,"",aC),ii=()=>!0,$o=(e,t,n)=>{const r=a0.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},sC=e=>YE.test(e)&&!XE.test(e),l0=()=>!1,aC=e=>qE.test(e),lC=e=>ZE.test(e),uC=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),o=oe("borderColor"),i=oe("borderRadius"),s=oe("borderSpacing"),a=oe("borderWidth"),l=oe("contrast"),u=oe("grayscale"),c=oe("hueRotate"),d=oe("invert"),f=oe("gap"),h=oe("gradientColorStops"),v=oe("gradientColorStopPositions"),g=oe("inset"),w=oe("margin"),p=oe("opacity"),m=oe("padding"),y=oe("saturate"),S=oe("scale"),T=oe("sepia"),C=oe("skew"),P=oe("space"),b=oe("translate"),D=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",K,t],I=()=>[K,t],G=()=>["",tn,bn],O=()=>["auto",go,K],Q=()=>["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"],k=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",K],j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[go,K];return{cacheSize:500,separator:":",theme:{colors:[ii],spacing:[tn,bn],blur:["none","",kn,K],brightness:U(),borderColor:[e],borderRadius:["n
125one","","full",kn,K],borderSpacing:I(),borderWidth:G(),contrast:U(),grayscale:R(),hueRotate:U(),invert:R(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[JE,bn],inset:V(),margin:V(),opacity:U(),padding:I(),saturate:U(),scale:U(),sepia:R(),skew:U(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",K]}],container:["container"],columns:[{columns:[kn]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Q(),K]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",oi,K]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",K]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",oi,K]}],"grid-cols":[{"grid-cols":[ii]}],"col-start-end":[{col:["auto",{span:["full",oi,K]},K]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[ii]}],"row-start-end":[{row:["auto",{span:[oi,K]},K]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",K]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",K]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],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":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",K,t]}],"min-w":[{"min-w":[K,t,"min","max","fit"]}],"max-w":[{"max-w":[K,t,"none","full","min","max","fit","prose",{screen:[kn]},kn]}],h:[{h:[K,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[K,t,"auto","min","max","fit"]}],"font-size":[{text:["base",kn,bn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ou]}],"font-family":[{font:[ii]}],"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",K]}],"line-clamp":[{"line-clamp":["none",go,ou]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",tn,K]}],"list-image":[{"list-image":["none",K]}],"list-style-type":[{list:["none","disc","decimal",K]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[p]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",tn,bn]}],"underline-offset":[{"underline-offset":["auto",tn,K]}],"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",K]}],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",K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[p]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),nC]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",tC]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},oC]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}
vendor: 4,231 bytes, line 125
125],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[p]}],"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":[p]}],"divide-style":[{divide:$()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[tn,K]}],"outline-w":[{outline:[tn,bn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[p]}],"ring-offset-w":[{"ring-offset":[tn,bn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",kn,iC]}],"shadow-color":[{shadow:[ii]}],opacity:[{opacity:[p]}],"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",kn,K]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[p]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",K]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",K]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",K]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[oi,K]}],"translate-x":[{"translate-x":[b]}],"translate-y":[{"translate-y":[b]}],"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",K]}],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",
vendor: 5,587 bytes, line 125
125K]}],"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"]}],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",K]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[tn,bn,ou]}],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"]}}},cC=HE(uC);function ar(...e){return cC(e0(e))}const dC=yE,u0=x.forwardRef(({className:e,...t},n)=>E.jsx(Gv,{ref:n,className:ar("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}));u0.displayName=Gv.displayName;const fC=t0("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"}}),c0=x.forwardRef(({className:e,variant:t,...n},r)=>E.jsx(Qv,{ref:r,className:ar(fC({variant:t}),e),...n}));c0.displayName=Qv.displayName;const hC=x.forwardRef(({className:e,...t},n)=>E.jsx(qv,{ref:n,className:ar("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}));hC.displayName=qv.displayName;const d0=x.forwardRef(({className:e,...t},n)=>E.jsx(Zv,{ref:n,className:ar("absolute right-2 top-2 rounded-md p-1 text-foreground
125/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:E.jsx(NE,{className:"h-4 w-4"})}));d0.displayName=Zv.displayName;const f0=x.forwardRef(({className:e,...t},n)=>E.jsx(Yv,{ref:n,className:ar("text-sm font-semibold",e),...t}));f0.displayName=Yv.displayName;const h0=x.forwardRef(({className:e,...t},n)=>E.jsx(Xv,{ref:n,className:ar("text-sm opacity-90",e),...t}));h0.displayName=Xv.displayName;function pC(){const{toasts:e}=CT();return E.jsxs(dC,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return E.jsxs(c0,{...i,children:[E.jsxs("div",{className:"grid gap-1",children:[n&&E.jsx(f0,{children:n}),r&&E.jsx(h0,{children:r})]}),o,E.jsx(d0,{})]},t)}),E.jsx(u0,{})]})}var hp=["light","dark"],mC="(prefers-color-scheme: dark)",gC=x.createContext(void 0),yC={setTheme:e=>{},themes:[]},vC=()=>{var e;return(e=x.useContext(gC))!=null?e:yC};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:a,nonce:l})=>{let u=i==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;
125${`c.remove(${a.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=o?hp.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(v,g=!1,w=!0)=>{let p=s?s[v]:v,m=g?v+"|| ''":`'${p}'`,y="";return o&&w&&!g&&hp.includes(v)&&(y+=`d.style.colorScheme = '${v}';`),n==="class"?g||p?y+=`c.add(${m})`:y+="null":p&&(y+=`d[s](n,${m})`),y},h=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${mC}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}${u?"":"else{"+f(i,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}else{${f(i,!1,!1)};}${d}}catch(t){}}();`;return x.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var wC=e=>{switch(e){case"success":return TC;case"info":return CC;case"warning":return EC;case"error":return PC;default:return null}},xC=Array(12).fill(0),SC=({visible:e,className:t})=>L.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},L.createElement("div",{className:"sonner-spinner"},xC.map((n,r)=>L.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),TC=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),EC=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},L.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"})),CC=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),PC=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),bC=L.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"},L.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),L.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),kC=()=>{let[e,t]=L.useState(document.hidden);return L.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},xc=1,AC=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:xc++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}
125),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,i,s=r.then(async l=>{if(i=["resolve",l],L.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(MC(l)&&!l.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>s.then(()=>i[0]==="reject"?u(i[1]):l(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||xc++;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}},Ke=new AC,RC=(e,t)=>{let n=(t==null?void 0:t.id)||xc++;return Ke.addToast({title:e,...t,id:n}),n},MC=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",NC=RC,DC=()=>Ke.toasts,LC=()=>Ke.getActiveToasts();Object.assign(NC,{success:Ke.success,info:Ke.info,warning:Ke.warning,error:Ke.error,custom:Ke.custom,message:Ke.message,promise:Ke.promise,dismiss:Ke.dismiss,loading:Ke.loading},{getHistory:DC,getToasts:LC});function OC(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))}OC(`: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;
125left: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}
125: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%);
125--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%)}
126`);function Is(e){return e.label!==void 0}var jC=3,IC="32px",FC="16px",pp=4e3,_C=356,VC=14,zC=20,BC=200;function bt(...e){return e.filter(Boolean).join(" ")}function $C(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var UC=e=>{var t,n,r,o,i,s,a,l,u,c,d;let{invert:f,toast:h,unstyled:v,interacting:g,setHeights:w,visibleToasts:p,heights:m,index:y,toasts:S,expanded:T,removeToast:C,defaultRichColors:P,closeButton:b,style:D,cancelButtonStyle:N,actionButtonStyle:V,className:I="",descriptionClassName:G="",duration:O,position:Q,gap:$,loadingIcon:_,expandByDefault:k,classNames:R,icons:j,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:z}=e,[Y,q]=L.useState(null),[ve,Ne]=L.useState(null),[ee,Vr]=L.useState(!1),[wn,ur]=L.useState(!1),[xn,zr]=L.useState(!1),[Sn,hs]=L.useState(!1),[Cl,ps
vendor: 1,797 bytes, line 126
126]=L.useState(!1),[Pl,Qo]=L.useState(0),[Br,$f]=L.useState(0),Yo=L.useRef(h.duration||O||pp),Uf=L.useRef(null),cr=L.useRef(null),_x=y===0,Vx=y+1<=p,ct=h.type,$r=h.dismissible!==!1,zx=h.className||"",Bx=h.descriptionClassName||"",ms=L.useMemo(()=>m.findIndex(W=>W.toastId===h.id)||0,[m,h.id]),$x=L.useMemo(()=>{var W;return(W=h.closeButton)!=null?W:b},[h.closeButton,b]),Wf=L.useMemo(()=>h.duration||O||pp,[h.duration,O]),bl=L.useRef(0),Ur=L.useRef(0),Hf=L.useRef(0),Wr=L.useRef(null),[Ux,Wx]=Q.split("-"),Kf=L.useMemo(()=>m.reduce((W,ne,ae)=>ae>=ms?W:W+ne.height,0),[m,ms]),Gf=kC(),Hx=h.invert||f,kl=ct==="loading";Ur.current=L.useMemo(()=>ms*$+Kf,[ms,Kf]),L.useEffect(()=>{Yo.current=Wf},[Wf]),L.useEffect(()=>{Vr(!0)},[]),L.useEffect(()=>{let W=cr.current;if(W){let ne=W.getBoundingClientRect().height;return $f(ne),w(ae=>[{toastId:h.id,height:ne,position:h.position},...ae]),()=>w(ae=>ae.filter(Tt=>Tt.toastId!==h.id))}},[w,h.id]),L.useLayoutEffect(()=>{if(!ee)return;let W=cr.current,ne=W.style.height;W.style.height="auto";let ae=W.getBoundingClientRect().height;W.style.height=ne,$f(ae),w(Tt=>Tt.find(Et=>Et.toastId===h.id)?Tt.map(Et=>Et.toastId===h.id?{...Et,height:ae}:Et):[{toastId:h.id,height:ae,position:h.position},...Tt])},[ee,h.title,h.description,w,h.id]);let Tn=L.useCallback(()=>{ur(!0),Qo(Ur.current),w(W=>W.filter(ne=>ne.toastId!==h.id)),setTimeout(()=>{C(h)},BC)},[h,C,w,Ur]);L.useEffect(()=>{if(h.promise&&ct==="loading"||h.duration===1/0||h.type==="loading")return;let W;return T||g||z&&Gf?(()=>{if(Hf.current<bl.current){let ne=new Date().getTime()-bl.current;Yo.current=Yo.current-ne}Hf.current=new Date().getTime()})():Yo.current!==1/0&&(bl.current=new Date().getTime(),W=setTimeout(()=>{var ne;(ne=h.onAutoClose)==null||ne.call(h,h),Tn()},Yo.current)),()=>clearTimeout(W)}
126,[T,g,h,ct,z,Gf,Tn]),L.useEffect(()=>{h.delete&&Tn()},[Tn,h.delete]);function Kx(){var W,ne,ae;return j!=null&&j.loading?L.createElement("div",{className:bt(R==null?void 0:R.loader,(W=h==null?void 0:h.classNames)==null?void 0:W.loader,"sonner-loader"),"data-visible":ct==="loading"},j.loading):_?L.createElement("div",{className:bt(R==null?void 0:R.loader,(ne=h==null?void 0:h.classNames)==null?void 0:ne.loader,"sonner-loader"),"data-visible":ct==="loading"},_):L.createElement(SC,{className:bt(R==null?void 0:R.loader,(ae=h==null?void 0:h.classNames)==null?void 0:ae.loader),visible:ct==="loading"})}return L.createElement("li",{tabIndex:0,ref:cr,className:bt(I,zx,R==null?void 0:R.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,R==null?void 0:R.default,R==null?void 0:R[ct],(n=h==null?void 0:h.classNames)==null?void 0:n[ct]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:P,"data-styled":!(h.jsx||h.unstyled||v),"data-mounted":ee,"data-promise":!!h.promise,"data-swiped":Cl,"data-removed":wn,"data-visible":Vx,"data-y-position":Ux,"data-x-position":Wx,"data-index":y,"data-front":_x,"data-swiping":xn,"data-dismissible":$r,"data-type":ct,"data-invert":Hx,"data-swipe-out":Sn,"data-swipe-direction":ve,"data-expanded":!!(T||k&&ee),style:{"--index":y,"--toasts-before":y,"--z-index":S.length-y,"--offset":`${wn?Pl:Ur.current}px`,"--initial-height":k?"auto":`${Br}px`,...D,...h.style},onDragEnd:()=>{zr(!1),q(null),Wr.current=null},onPointerDown:W=>{kl||!$r||(Uf.current=new Date,Qo(Ur.current),W.target.setPointerCapture(W.pointerId),W.target.tagName!=="BUTTON"&&(zr(!0),Wr.current={x:W.clientX,y:W.clientY}))},onPointerUp:()=>{var W,ne,ae,Tt;if(Sn||!$r)return;Wr.current=null;let Et=Number(((W=cr.current)==null?void 0:W.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),En=Number(((ne=cr.current)==null?void 0:ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),dr=new Date().getTime()-((ae=Uf.current)==null?void 0:ae.getTime()),Ct=Y==="x"?Et:En,Cn=Math.abs(Ct)/dr;if(Math.abs(Ct)>=zC||Cn>.11){Qo(Ur.current),(Tt=h.onDismiss)==null||Tt.call(h,h),Ne(Y==="x"?Et>0?"right":"left":En>0?"down":"up"),Tn(),hs(!0),ps(!1);return}zr(!1),q(null)},onPointerMove:W=>{var ne,ae,Tt,Et;if(!Wr.current||!$r||((ne=window.getSelection())==null?void 0:ne.toString().length)>0)return;let En=W.clientY-Wr.current.y,dr=W.clientX-Wr.current.x,Ct=(ae=e.swipeDirections)!=null?ae:$C(Q);!Y&&(Math.abs(dr)>1||Math.abs(En)>1)&&q(Math.abs(dr)>Math.abs(En)?"x":"y");let Cn={x:0,y:0};Y==="y"?(Ct.includes("top")||Ct.includes("bottom"))&&(Ct.includes("top")&&En<0||Ct.includes("bottom")&&En>0)&&(Cn.y=En):Y==="x"&&(Ct.includes("left")||Ct.includes("right"))&&(Ct.includes("left")&&dr<0||Ct.includes("right")&&dr>0)&&(Cn.x=dr),(Math.abs(Cn.x)>0||Math.abs(Cn.y)>0)&&ps(!0),(Tt=cr.current)==null||Tt.style.setProperty("--swipe-amount-x",`${Cn.x}px`),(Et=cr.current)==null||Et.style.setProperty("--swipe-amount-y",`${Cn.y}px`)}},$x&&!h.jsx?L.createElement("button",{"aria-label":U,"data-disabled":kl,"data-close-button":!0,onClick:kl||!$r?()=>{}:()=>{var W;Tn(),(W=h.onDismiss)==null||W.call(h,h)},className:bt(R==null?void 0:R.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},(i=j==null?void 0:j.close)!=null?i:bC):null,h.jsx||x.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:L.createElement(L.Fragment,null,ct||h.icon||h.promise?L.createElement("div",{"data-icon":"",className:bt(R==null?void 0:R.icon,(s=h==null?void 0:h.classNames)==null?void 0:s.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||Kx():null,h.type!=="loading"?h.icon||(j==null?void 0:j[ct])||wC(ct):null):null,L.createElement("div",{"data-content":"",className:bt(R==null?void 0:R.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},L.createElement("div",{"data-title":"",className:bt(R==null?void 0:R.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?L.createElement("div",{"data-description":"",className:bt(G,Bx,R==null?void 0:R.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),x.isValidElement(h.cancel)?h.cancel:h.cancel&&Is(h.cancel)?L.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||N,onClick:W=>{var ne,ae;Is(h.cancel)&&$r&&((ae=(ne=h.cancel).onClick)==null||ae.call(ne,W),Tn())},className:bt(R==null?void 0:R.cancelButton,(c=h==null?void 0:h.classNames)==null?void 0:c.cancelButton)},h.cancel.label):null,x.isValidElement(h.action)?h.action:h.action&&Is(h.action)?L.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||V,onClick:W=>{var ne,ae;Is(h.action)&&((ae=(ne=h.action).onClick)==null||ae.call(ne,W),!W.defaultPrevented&&Tn())},className:bt(R==null?void 0:R.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function mp(){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 WC(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",a=i?FC:IC;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${s}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${s}-${u}`]=a:n[`${s}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var HC=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:f,style:h,visibleToasts:v=jC,toastOptions:g,dir:w=mp(),gap:p=VC,loadingIcon:m,icons:y,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:T}=e,[C,P]=L.useState([]),b=L.useMemo(()=>Array.from(new Set([r].concat(C.filter(z=>z.position).map(z=>z.position)))),[C,r]),[D,N]=L.useState([]),[V,I]=L.useState(!1),[G,O]=L.useState(!1),[Q,$]=L.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
126k":"light"),_=L.useRef(null),k=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=L.useRef(null),j=L.useRef(!1),U=L.useCallback(z=>{P(Y=>{var q;return(q=Y.find(ve=>ve.id===z.id))!=null&&q.delete||Ke.dismiss(z.id),Y.filter(({id:ve})=>ve!==z.id)})},[]);return L.useEffect(()=>Ke.subscribe(z=>{if(z.dismiss){P(Y=>Y.map(q=>q.id===z.id?{...q,delete:!0}:q));return}setTimeout(()=>{Pv.flushSync(()=>{P(Y=>{let q=Y.findIndex(ve=>ve.id===z.id);return q!==-1?[...Y.slice(0,q),{...Y[q],...z},...Y.slice(q+1)]:[z,...Y]})})})}),[]),L.useEffect(()=>{if(c!=="system"){$(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:Y})=>{$(Y?"dark":"light")})}catch{z.addListener(({matches:q})=>{try{$(q?"dark":"light")}catch(ve){console.error(ve)}})}},[c]),L.useEffect(()=>{C.length<=1&&I(!1)},[C]),L.useEffect(()=>{let z=Y=>{var q,ve;o.every(Ne=>Y[Ne]||Y.code===Ne)&&(I(!0),(q=_.current)==null||q.focus()),Y.code==="Escape"&&(document.activeElement===_.current||(ve=_.current)!=null&&ve.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[o]),L.useEffect(()=>{if(_.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,j.current=!1)}},[_.current]),L.createElement("section",{ref:t,"aria-label":`${S} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},b.map((z,Y)=>{var q;let[ve,Ne]=z.split("-");return C.length?L.createElement("ol",{key:z,dir:w==="auto"?mp():w,tabIndex:-1,ref:_,className:a,"data-sonner-toaster":!0,"data-theme":Q,"data-y-position":ve,"data-lifted":V&&C.length>1&&!i,"data-x-position":Ne,style:{"--front-toast-height":`${((q=D[0])==null?void 0:q.height)||0}px`,"--width":`${_C}px`,"--gap":`${p}px`,...h,...WC(l,u)},onBlur:ee=>{j.current&&!ee.currentTarget.contains(ee.relatedTarget)&&(j.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||j.current||(j.current=!0,R.current=ee.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{G||I(!1)},onDragEnd:()=>I(!1),onPointerDown:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||O(!0)},onPointerUp:()=>O(!1)},C.filter(ee=>!ee.position&&Y===0||ee.position===z).map((ee,Vr)=>{var wn,ur;return L.createElement(UC,{key:ee.id,icons:y,index:Vr,toast:ee,defaultRichColors:d,duration:(wn=g==null?void 0:g.duration)!=null?wn:f,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:v,closeButton:(ur=g==null?void 0:g.closeButton)!=null?ur:s,interacting:G,position:z,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:U,toasts:C.filter(xn=>xn.position==ee.position),heights:D.filter(xn=>xn.position==ee.position),setHeights:N,expandByDefault:i,gap:p,loadingIcon:m,expanded:V,pauseWhenPageIsHidden:T,swipeDirections:e.swipeDirections})})):null}))});const KC=({...e})=>{const{theme:t="system"}=vC();return E.jsx(HC,{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})},GC=["top","right","bottom","left"],er=Math.min,nt=Math.max,Da=Math.round,Fs=Math.floor,Xt=e=>({x:e,y:e}),QC={left:"right",right:"left",bottom:"top",top:"bottom"},YC={start:"end",end:"start"};function Sc(e,t,n){return nt(e,er(t,n))}function pn(e,t){return typeof e=="function"?e(t):e}function mn(e){return e.split("-")[0]}function Uo(e){return e.split("-")[1]}function Jd(e){return e==="x"?"y":"x"}function ef(e){return e==="y"?"height":"width"}const XC=new Set(["top","bottom"]);function Gt(e){return XC.has(mn(e))?"y":"x"}function tf(e){return Jd(Gt(e))}function qC(e,t,n){n===void 0&&(n=!1);const r=Uo(e),o=tf(e),i=ef(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=La(s)),[s,La(s)]}function ZC(e){const t=La(e);return[Tc(e),t,Tc(t)]}function Tc(e){return e.replace(/start|end/g,t=>YC[t])}const gp=["left","right"],yp=["right","left"],JC=["top","bottom"],eP=["bottom","top"];function tP(e,t,n){switch(e){case"top":case"bottom":return n?t?yp:gp:t?gp:yp;case"left":case"right":return t?JC:eP;default:return[]}}function nP(e,t,n,r){const o=Uo(e);let i=tP(mn(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Tc)))),i}function La(e){return e.replace(/left|right|bottom|top/g,t=>QC[t])}function rP(e){return{top:0,right:0,bottom:0,left:0,...e}}function p0(e){return typeof e!="number"?rP(e):{top:e,right:e,bottom:e,left:e}}function Oa(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function vp(e,t,n){let{reference:r,floating:o}=e;const i=Gt(t),s=tf(t),a=ef(s),l=mn(t),u=i==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[a]/2-o[a]/2;let h;switch(l){case"top":h={x:c,y:r.y-o.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(Uo(t)){case"start":h[s]-=f*(n&&u?-1:1);break;case"end":h[s]+=f*(n&&u?-1:1);break}return h}const oP=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}
vendor: 9,929 bytes, line 126
126=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=vp(u,r,l),f=r,h={},v=0;for(let g=0;g<a.length;g++){const{name:w,fn:p}=a[g],{x:m,y,data:S,reset:T}=await p({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});c=m??c,d=y??d,h={...h,[w]:{...h[w],...S}},T&&v<=50&&(v++,typeof T=="object"&&(T.placement&&(f=T.placement),T.rects&&(u=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:c,y:d}=vp(u,f,l)),g=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:h}};async function Ui(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=pn(t,e),v=p0(h),w=a[f?d==="floating"?"reference":"floating":d],p=Oa(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),m=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),S=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},T=Oa(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:y,strategy:l}):m);return{top:(p.top-T.top+v.top)/S.y,bottom:(T.bottom-p.bottom+v.bottom)/S.y,left:(p.left-T.left+v.left)/S.x,right:(T.right-p.right+v.right)/S.x}}const iP=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=pn(e,t)||{};if(u==null)return{};const d=p0(c),f={x:n,y:r},h=tf(o),v=ef(h),g=await s.getDimensions(u),w=h==="y",p=w?"top":"left",m=w?"bottom":"right",y=w?"clientHeight":"clientWidth",S=i.reference[v]+i.reference[h]-f[h]-i.floating[v],T=f[h]-i.reference[h],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let P=C?C[y]:0;(!P||!await(s.isElement==null?void 0:s.isElement(C)))&&(P=a.floating[y]||i.floating[v]);const b=S/2-T/2,D=P/2-g[v]/2-1,N=er(d[p],D),V=er(d[m],D),I=N,G=P-g[v]-V,O=P/2-g[v]/2+b,Q=Sc(I,O,G),$=!l.arrow&&Uo(o)!=null&&O!==Q&&i.reference[v]/2-(O<I?N:V)-g[v]/2<0,_=$?O<I?O-I:O-G:0;return{[h]:f[h]+_,data:{[h]:Q,centerOffset:O-Q-_,...$&&{alignmentOffset:_}},reset:$}}}),sP=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...w}=pn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const p=mn(o),m=Gt(a),y=mn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),T=f||(y||!g?[La(a)]:ZC(a)),C=v!=="none";!f&&C&&T.push(...nP(a,g,v,S));const P=[a,...T],b=await Ui(t,w),D=[];let N=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&D.push(b[p]),d){const O=qC(o,s,S);D.push(b[O[0]],b[O[1]])}if(N=[...N,{placement:o,overflows:D}],!D.every(O=>O<=0)){var V,I;const O=(((V=i.flip)==null?void 0:V.index)||0)+1,Q=P[O];if(Q&&(!(d==="alignment"?m!==Gt(Q):!1)||N.every(k=>k.overflows[0]>0&&Gt(k.placement)===m)))return{data:{index:O,overflows:N},reset:{placement:Q}};let $=(I=N.filter(_=>_.overflows[0]<=0).sort((_,k)=>_.overflows[1]-k.overflows[1])[0])==null?void 0:I.placement;if(!$)switch(h){case"bestFit":{var G;const _=(G=N.filter(k=>{if(C){const R=Gt(k.placement);return R===m||R==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(R=>R>0).reduce((R,j)=>R+j,0)]).sort((k,R)=>k[1]-R[1])[0])==null?void 0:G[0];_&&($=_);break}case"initialPlacement":$=a;break}if(o!==$)return{reset:{placement:$}}}return{}}}};function wp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function xp(e){return GC.some(t=>e[t]>=0)}const aP=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=pn(e,t);switch(r){case"referenceHidden":{const i=await Ui(t,{...o,elementContext:"reference"}),s=wp(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:xp(s)}}}case"escaped":{const i=await Ui(t,{...o,altBoundary:!0}),s=wp(i,n.floating);return{data:{escapedOffsets:s,escaped:xp(s)}}}default:return{}}}}},m0=new Set(["left","top"]);async function lP(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=mn(n),a=Uo(n),l=Gt(n)==="y",u=m0.has(s)?-1:1,c=i&&l?-1:1,d=pn(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof v=="number"&&(h=a==="end"?v*-1:v),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}const uP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await lP(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},cP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:p,y:m}=w;return{x:p,y:m}}},...l}=pn(e,t),u={x:n,y:r},c=await Ui(t,l),d=Gt(mn(o)),f=Jd(d);let h=u[f],v=u[d];if(i){const w=f==="y"?"top":"left",p=f==="y"?"bottom":"right",m=h+c[w],y=h-c[p];h=Sc(m,h,y)}if(s){const w=d==="y"?"top":"left",p=d==="y"?"bottom":"right",m=v+c[w],y=v-c[p];v=Sc(m,v,y)}const g=a.fn({...t,[f]:h,[d]:v});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:i,[d]:s}}}}}},dP=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=pn(e,t),c={x:n,y:r},d=Gt(o),f=Jd(d);let h=c[f],v=c[d];const g=pn(a,t),w=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const y=f==="y"?"height":"width",S=i.reference[f]-i.floating[y]+w.mainAxis,T=i.reference[f]+i.reference[y]-w.mainAxis;h<S?h=S:h>T&&(h=T)}if(u){var p,m;const y=f==="y"?"width":"height",S=m0.has(mn(o)),T=i.reference[d]-i.floating[y]+(S&&((p=s.offset)==null?void 0:p[d])||0)+(S?0:w.crossAxis),C=i.reference[d]+i.reference[y]+(S?0:((m=s.offset)==null?void 0:m[d])||0)-(S?w.crossAxis:0);v<T?v=T:v>C&&(v=C)}return{[f]:h,[d]:v}}}},fP=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...u}=pn(e,t),c=await Ui(t,u),d=mn(o),f=Uo(o),h=Gt(o)==="y",{width:v,height:g}=i.floating;let w,p;d==="top"||d==="bottom"?(w=d,p=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(p=d,w=f==="end"?"top":"bottom");const m=g-c.top-c.bottom,y=v-c.left-c.right,S=er(g-c[w],m),T=er(v-c[p],y),C=!t.middlewareData.shift;let P=S,b=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(b=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=m),C&&!f){const N=nt(c.left,0),V=nt(c.right,0),I=nt(c.top,0),G=nt(c.bottom,0);h?b=v-2*(N!==0||V!==0?N+V:nt(c.left,c.right)):P=g-2*(I!==0||G!==0?I+G:nt(c.top,c.bottom))}await l({...t,availableWidth:b,availableHeight:P});const D=await s.getDimensions(a.floating);return v!==D.width||g!==D.height?{reset:{rects:!0}}:{}}}};function dl(){return typeof window<"u"}function Wo(e){return g0(e)?(e.nodeName||"").toLowerCase():"#document"}function it(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function en(e){var t;return(t=(g0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function g0(e){return dl()?e instanceof Node||e instanceof it(e).Node:!1}function Vt(e){return dl()?e instanceof Element||e instanceof it(e).Element:!1}function Jt(e){return dl()?e instanceof HTMLElement||e instanceof it(e).HTMLElement:!1}function Sp(e){return!dl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof it(e).ShadowRoot}const hP=new Set(["inline","contents"]);function ls(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!hP.has(o)}const pP=new Set(["table","td","th"]);function mP(e){return pP.has(Wo(e))}const gP=[":popover-open",":modal"];function fl(e){return gP.some(t=>{try{return e.matches(t)}catch{return!1}})}const yP=["transform","translate","scale","rotate","perspective"],vP=["transform","translate","scale","rotate","perspective","filter"],wP=["paint","layout","strict","content"];function nf(e){const t=rf(),n=Vt(e)?zt(e):e;return yP.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)||vP.some(r=>(n.willChange||"").includes(r))||wP.some(r=>(n.contain||"").includes(r))}function xP(e){let t=tr(e);for(;Jt(t)&&!jo(t);){if(nf(t))return t;if(fl(t))return null;t=tr(t)}return null}function rf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const SP=new Set(["html","body","#document"]);function jo(e){return SP.has(Wo(e))}function zt(e){return it(e).getComputedStyle(e)}function hl(e){return Vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function tr(e){if(Wo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Sp(e)&&e.host||en(e);return Sp(t)?t.host:t}function y0(e){const t=tr(e);return jo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jt(t)&&ls(t)?t:y0(t)}function Wi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=y0(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=it(o);if(i){const a=Ec(s);
vendor: 6,504 bytes, line 126
126return t.concat(s,s.visualViewport||[],ls(o)?o:[],a&&n?Wi(a):[])}return t.concat(o,Wi(o,[],n))}function Ec(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function v0(e){const t=zt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Jt(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Da(n)!==i||Da(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function of(e){return Vt(e)?e:e.contextElement}function yo(e){const t=of(e);if(!Jt(t))return Xt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=v0(t);let s=(i?Da(n.width):n.width)/r,a=(i?Da(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const TP=Xt(0);function w0(e){const t=it(e);return!rf()||!t.visualViewport?TP:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function EP(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==it(e)?!1:t}function Ir(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=of(e);let s=Xt(1);t&&(r?Vt(r)&&(s=yo(r)):s=yo(e));const a=EP(i,n,r)?w0(i):Xt(0);let l=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,c=o.width/s.x,d=o.height/s.y;if(i){const f=it(i),h=r&&Vt(r)?it(r):r;let v=f,g=Ec(v);for(;g&&r&&h!==v;){const w=yo(g),p=g.getBoundingClientRect(),m=zt(g),y=p.left+(g.clientLeft+parseFloat(m.paddingLeft))*w.x,S=p.top+(g.clientTop+parseFloat(m.paddingTop))*w.y;l*=w.x,u*=w.y,c*=w.x,d*=w.y,l+=y,u+=S,v=it(g),g=Ec(v)}}return Oa({width:c,height:d,x:l,y:u})}function sf(e,t){const n=hl(e).scrollLeft;return t?t.left+n:Ir(en(e)).left+n}function x0(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:sf(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function CP(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=en(r),a=t?fl(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=Xt(1);const c=Xt(0),d=Jt(r);if((d||!d&&!i)&&((Wo(r)!=="body"||ls(s))&&(l=hl(r)),Jt(r))){const h=Ir(r);u=yo(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const f=s&&!d&&!i?x0(s,l,!0):Xt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-l.scrollTop*u.y+c.y+f.y}}function PP(e){return Array.from(e.getClientRects())}function bP(e){const t=en(e),n=hl(e),r=e.ownerDocument.body,o=nt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=nt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+sf(e);const a=-n.scrollTop;return zt(r).direction==="rtl"&&(s+=nt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function kP(e,t){const n=it(e),r=en(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=rf();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}const AP=new Set(["absolute","fixed"]);function RP(e,t){const n=Ir(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Jt(e)?yo(e):Xt(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:s,height:a,x:l,y:u}}function Tp(e,t,n){let r;if(t==="viewport")r=kP(e,n);else if(t==="document")r=bP(en(e));else if(Vt(t))r=RP(t,n);else{const o=w0(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Oa(r)}function S0(e,t){const n=tr(e);return n===t||!Vt(n)||jo(n)?!1:zt(n).position==="fixed"||S0(n,t)}function MP(e,t){const n=t.get(e);if(n)return n;let r=Wi(e,[],!1).filter(a=>Vt(a)&&Wo(a)!=="body"),o=null;const i=zt(e).position==="fixed";let s=i?tr(e):e;for(;Vt(s)&&!jo(s);){const a=zt(s),l=nf(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&AP.has(o.position)||ls(s)&&!l&&S0(e,s))?r=r.filter(c=>c!==s):o=a,s=tr(s)}return t.set(e,r),r}function NP(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?fl(t)?[]:MP(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const d=Tp(t,c,o);return u.top=nt(d.top,u.top),u.right=er(d.right,u.right),u.bottom=er(d.bottom,u.bottom),u.left=nt(d.left,u.left),u},Tp(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function DP(e){const{width:t,height:n}=v0(e);return{width:t,height:n}}function LP(e,t,n){const r=Jt(t),o=en(t),i=n==="fixed",s=Ir(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=Xt(0);function u(){l.x=sf(o)}if(r||!r&&!i)if((Wo(t)!=="body"||ls(o))&&(a=hl(t)),r){const h=Ir(t,!0,i,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else o&&u();i&&!r&&o&&u();const c=o&&!r&&!i?x0(o,a):Xt(0),d=s.left+a.scrollLeft-l.x-c.x,f=s.top+a.scrollTop-l.y-c.y;return{x:d,y:f,width:s.width,height:s.height}}function iu(e){return zt(e).position==="static"}function Ep(e,t){if(!Jt(e)||zt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return en(e)===n&&(n=n.ownerDocument.body),n}function T0(e,t){const n=it(e);if(fl(e))return n;if(!Jt(e)){let o=tr(e);for(;o&&!jo(o);){if(Vt(o)&&!iu(o))return o;o=tr(o)}return n}let r=Ep(e,t);for(;r&&mP(r)&&iu(r);)r=Ep(r,t);return r&&jo(r)&&iu(r)&&!nf(r)?n:r||xP(e)||n}const OP=async function(e){const t=this.getOffsetParent||T0,n=this.getDimensions,r=await n(e.floating);return{reference:LP(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function jP(e){return zt(e).direction==="rtl"}const IP={convertOffsetParentRelativeRectToViewportRelativeRect:CP,getDocumentElement:en,getClippingRect:NP,getOffsetParent:T0,getElementRects:OP,getClientRects:PP,getDimensions:DP,getScale:yo,isElement:Vt,isRTL:jP};function E0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function FP(e,t){let n=null,r;const o=en(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:h}=u;if(a||t(),!f||!h)return;const v=Fs(d),g=Fs(o.clientWidth-(c+f)),w=Fs(o.clientHeight-(d+h)),p=Fs(c),y={rootMargin:-v+"px "+-g+"px "+-w+"px "+-p+"px",threshold:nt(0,er(1,l))||1};let S=!0;function T(C){const P=C[0].intersectionRatio;if(P!==l){if(!S)return s();P?s(!1,P):r=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!E0(u,e.getBoundingClientRect())&&s(),S=!1}try{n=new IntersectionObserver(T,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(T,y)}n.observe(e)}return s(!0),i}function _P(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=of(e),c=o||i?[...u?Wi(u):[],...Wi(t)]:[];
vendor: 9,329 bytes, line 126
126c.forEach(p=>{o&&p.addEventListener("scroll",n,{passive:!0}),i&&p.addEventListener("resize",n)});const d=u&&a?FP(u,n):null;let f=-1,h=null;s&&(h=new ResizeObserver(p=>{let[m]=p;m&&m.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var y;(y=h)==null||y.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let v,g=l?Ir(e):null;l&&w();function w(){const p=Ir(e);g&&!E0(g,p)&&n(),g=p,v=requestAnimationFrame(w)}return n(),()=>{var p;c.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),d==null||d(),(p=h)==null||p.disconnect(),h=null,l&&cancelAnimationFrame(v)}}const VP=uP,zP=cP,BP=sP,$P=fP,UP=aP,Cp=iP,WP=dP,HP=(e,t,n)=>{const r=new Map,o={platform:IP,...n},i={...o.platform,_c:r};return oP(e,t,{...o,platform:i})};var KP=typeof document<"u",GP=function(){},na=KP?x.useLayoutEffect:GP;function ja(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ja(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!ja(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function C0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Pp(e,t){const n=C0(e);return Math.round(t*n)/n}function su(e){const t=x.useRef(e);return na(()=>{t.current=e}),t}function QP(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=x.useState(r);ja(f,r)||h(r);const[v,g]=x.useState(null),[w,p]=x.useState(null),m=x.useCallback(k=>{k!==C.current&&(C.current=k,g(k))},[]),y=x.useCallback(k=>{k!==P.current&&(P.current=k,p(k))},[]),S=i||v,T=s||w,C=x.useRef(null),P=x.useRef(null),b=x.useRef(c),D=l!=null,N=su(l),V=su(o),I=su(u),G=x.useCallback(()=>{if(!C.current||!P.current)return;const k={placement:t,strategy:n,middleware:f};V.current&&(k.platform=V.current),HP(C.current,P.current,k).then(R=>{const j={...R,isPositioned:I.current!==!1};O.current&&!ja(b.current,j)&&(b.current=j,ss.flushSync(()=>{d(j)}))})},[f,t,n,V,I]);na(()=>{u===!1&&b.current.isPositioned&&(b.current.isPositioned=!1,d(k=>({...k,isPositioned:!1})))},[u]);const O=x.useRef(!1);na(()=>(O.current=!0,()=>{O.current=!1}),[]),na(()=>{if(S&&(C.current=S),T&&(P.current=T),S&&T){if(N.current)return N.current(S,T,G);G()}},[S,T,G,N,D]);const Q=x.useMemo(()=>({reference:C,floating:P,setReference:m,setFloating:y}),[m,y]),$=x.useMemo(()=>({reference:S,floating:T}),[S,T]),_=x.useMemo(()=>{const k={position:n,left:0,top:0};if(!$.floating)return k;const R=Pp($.floating,c.x),j=Pp($.floating,c.y);return a?{...k,transform:"translate("+R+"px, "+j+"px)",...C0($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:j}},[n,a,$.floating,c.x,c.y]);return x.useMemo(()=>({...c,update:G,refs:Q,elements:$,floatingStyles:_}),[c,G,Q,$,_])}const YP=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Cp({element:r.current,padding:o}).fn(n):{}:r?Cp({element:r,padding:o}).fn(n):{}}}},XP=(e,t)=>({...VP(e),options:[e,t]}),qP=(e,t)=>({...zP(e),options:[e,t]}),ZP=(e,t)=>({...WP(e),options:[e,t]}),JP=(e,t)=>({...BP(e),options:[e,t]}),eb=(e,t)=>({...$P(e),options:[e,t]}),tb=(e,t)=>({...UP(e),options:[e,t]}),nb=(e,t)=>({...YP(e),options:[e,t]});var rb="Arrow",P0=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return E.jsx(et.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:E.jsx("polygon",{points:"0,0 30,0 15,10"})})});P0.displayName=rb;var ob=P0;function ib(e){const[t,n]=x.useState(void 0);return Jn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var b0="Popper",[k0,A0]=ll(b0),[ON,R0]=k0(b0),M0="PopperAnchor",N0=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=R0(M0,n),s=x.useRef(null),a=_t(t,s);return x.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:E.jsx(et.div,{...o,ref:a})});N0.displayName=M0;var af="PopperContent",[sb,ab]=k0(af),D0=x.forwardRef((e,t)=>{var ee,Vr,wn,ur,xn,zr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:h="optimized",onPlaced:v,...g}=e,w=R0(af,n),[p,m]=x.useState(null),y=_t(t,Sn=>m(Sn)),[S,T]=x.useState(null),C=ib(S),P=(C==null?void 0:C.width)??0,b=(C==null?void 0:C.height)??0,D=r+(i!=="center"?"-"+i:""),N=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},V=Array.isArray(u)?u:[u],I=V.length>0,G={padding:N,boundary:V.filter(ub),altBoundary:I},{refs:O,floatingStyles:Q,placement:$,isPositioned:_,middlewareData:k}=QP({strategy:"fixed",placement:D,whileElementsMounted:(...Sn)=>_P(...Sn,{animationFrame:h==="always"}),elements:{reference:w.anchor},middleware:[XP({mainAxis:o+b,alignmentAxis:s}),l&&qP({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?ZP():void 0,...G}),l&&JP({...G}),eb({...G,apply:({elements:Sn,rects:hs,availableWidth:Cl,availableHeight:ps})=>{const{width:Pl,height:Qo}=hs.reference,Br=Sn.floating.style;Br.setProperty("--radix-popper-available-width",`${Cl}px`),Br.setProperty("--radix-popper-available-height",`${ps}px`),Br.setProperty("--radix-popper-anchor-width",`${Pl}px`),Br.setProperty("--radix-popper-anchor-height",`${Qo}px`)}}),S&&nb({element:S,padding:a}),cb({arrowWidth:P,arrowHeight:b}),f&&tb({strategy:"referenceHidden",...G})]}),[R,j]=j0($),U=Zn(v);Jn(()=>{_&&(U==null||U())},[_,U]);const z=(ee=k.arrow)==null?void 0:ee.x,Y=(Vr=k.arrow)==null?void 0:Vr.y,q=((wn=k.arrow)==null?void 0:wn.centerOffset)!==0,[ve,Ne]=x.useState();return Jn(()=>{p&&Ne(window.getComputedStyle(p).zIndex)},[p]),E.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:_?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ve,"--radix-popper-transform-origin":[(ur=k.transformOrigin)==null?void 0:ur.x,(xn=k.transformOrigin)==null?void 0:xn.y].join(" "),...((zr=k.hide)==null?void 0:zr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:E.jsx(sb,{scope:n,placedSide:R,onArrowChange:T,arrowX:z,arrowY:Y,shouldHideArrow:q,children:E.jsx(et.div,{"data-side":R,"data-align":j,...g,ref:y,style:{...g.style,animation:_?void 0:"none"}})})})});D0.displayName=af;var L0="PopperArrow",lb={top:"bottom",right:"left",bottom:"top",left:"right"},O0=x.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=ab(L0,r),s=lb[i.placedSide];return E.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:E.jsx(ob,{...o,ref:n,style:{...o.style,display:"block"}})})});O0.displayName=L0;function ub(e){return e!==null}var cb=e=>({name:"transformOrigin",options:e,fn(t){var w,p,m;const{placement:n,rects:r,middlewareData:o}=t,s=((w=o.arrow)==null?void 0:w.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=j0(n),d={start:"0%",center:"50%",end:"100%"}[c],f=(((p=o.arrow)==null?void 0:p.x)??0)+a/2,h=(((m=o.arrow)==null?void 0:m.y)??0)+l/2;let v="",g="";return u==="bottom"?(v=s?d:`${f}px`,g=`${-l}px`):u==="top"?(v=s?d:`${f}px`,g=`${r.floating.height+l}px`):u==="right"?(v=`${-l}px`,g=s?d:`${h}px`):u==="left"&&(v=`${r.floating.width+l}px`,g=s?d:`${h}px`),{data:{x:v,y:g}}}});function j0(e){const[t,n="center"]=e.split("-");return[t,n]}var db=N0,fb=D0,hb=O0,[pl,jN]=ll("Tooltip",[A0]),lf=A0(),I0="TooltipProvider",pb=700,bp="tooltip.open",[mb,F0]=pl(I0),_0=e=>{const{__scopeTooltip:t,delayDuration:n=pb,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=x.useRef(!0),a=x.useRef(!1),l=x.useRef(0);return x.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),E.jsx(mb,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:x.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:i})};_0.displayName=I0;var V0="Tooltip",[IN,ml]=pl(V0),Cc="TooltipTrigger",gb=x.forwardRef((e,t)=>
vendor: 5,599 bytes, line 126
126{const{__scopeTooltip:n,...r}=e,o=ml(Cc,n),i=F0(Cc,n),s=lf(n),a=x.useRef(null),l=_t(t,a,o.onTriggerChange),u=x.useRef(!1),c=x.useRef(!1),d=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),E.jsx(db,{asChild:!0,...s,children:E.jsx(et.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:Ee(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:Ee(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:Ee(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Ee(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Ee(e.onBlur,o.onClose),onClick:Ee(e.onClick,o.onClose)})})});gb.displayName=Cc;var yb="TooltipPortal",[FN,vb]=pl(yb,{forceMount:void 0}),Io="TooltipContent",z0=x.forwardRef((e,t)=>{const n=vb(Io,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=ml(Io,e.__scopeTooltip);return E.jsx(Qd,{present:r||s.open,children:s.disableHoverableContent?E.jsx(B0,{side:o,...i,ref:t}):E.jsx(wb,{side:o,...i,ref:t})})}),wb=x.forwardRef((e,t)=>{const n=ml(Io,e.__scopeTooltip),r=F0(Io,e.__scopeTooltip),o=x.useRef(null),i=_t(t,o),[s,a]=x.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:d}=r,f=x.useCallback(()=>{a(null),d(!1)},[d]),h=x.useCallback((v,g)=>{const w=v.currentTarget,p={x:v.clientX,y:v.clientY},m=Cb(p,w.getBoundingClientRect()),y=Pb(p,m),S=bb(g.getBoundingClientRect()),T=Ab([...y,...S]);a(T),d(!0)},[d]);return x.useEffect(()=>()=>f(),[f]),x.useEffect(()=>{if(l&&c){const v=w=>h(w,c),g=w=>h(w,l);return l.addEventListener("pointerleave",v),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",v),c.removeEventListener("pointerleave",g)}}},[l,c,h,f]),x.useEffect(()=>{if(s){const v=g=>{const w=g.target,p={x:g.clientX,y:g.clientY},m=(l==null?void 0:l.contains(w))||(c==null?void 0:c.contains(w)),y=!kb(p,s);m?f():y&&(f(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[l,c,s,u,f]),E.jsx(B0,{...e,ref:i})}),[xb,Sb]=pl(V0,{isInside:!1}),Tb=AT("TooltipContent"),B0=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=ml(Io,n),u=lf(n),{onClose:c}=l;return x.useEffect(()=>(document.addEventListener(bp,c),()=>document.removeEventListener(bp,c)),[c]),x.useEffect(()=>{if(l.trigger){const d=f=>{const h=f.target;h!=null&&h.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),E.jsx(Gd,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:E.jsxs(fb,{"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:[E.jsx(Tb,{children:r}),E.jsx(xb,{scope:n,isInside:!0,children:E.jsx(JT,{id:l.contentId,role:"tooltip",children:o||r})})]})})});z0.displayName=Io;var $0="TooltipArrow",Eb=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=lf(n);return Sb($0,n).isInside?null:E.jsx(hb,{...o,...r,ref:t})});Eb.displayName=$0;function Cb(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Pb(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 bb(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function kb(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i],l=t[s],u=a.x,c=a.y,d=l.x,f=l.y;c>r!=f>r&&n<(d-u)*(r-c)/(f-c)+u&&(o=!o)}return o}function Ab(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),Rb(t)}function Rb(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Mb=_0,U0=z0;const Nb=Mb,Db=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>E.jsx(U0,{ref:r,sideOffset:t,className:ar("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
126de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));Db.displayName=U0.displayName;var gl=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(){}},yl=typeof window>"u"||"Deno"in globalThis;function Mt(){}function Lb(e,t){return typeof e=="function"?e(t):e}function Ob(e){return typeof e=="number"&&e>=0&&e!==1/0}function jb(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Pc(e,t){return typeof e=="function"?e(t):e}function Ib(e,t){return typeof e=="function"?e(t):e}function kp(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==uf(s,t.options))return!1}else if(!Ki(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function Ap(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Hi(t.options.mutationKey)!==Hi(i))return!1}else if(!Ki(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function uf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Hi)(e)}function Hi(e){return JSON.stringify(e,(t,n)=>bc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Ki(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ki(e[n],t[n])):!1}function W0(e,t){if(e===t)return e;const n=Rp(e)&&Rp(t);if(n||bc(e)&&bc(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<s;c++){const d=n?c:i[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=W0(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return o===s&&u===o?e:a}return t}function Rp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function bc(e){if(!Mp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Mp(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Mp(e){return Object.prototype.toString.call(e)==="[object Object]"}function Fb(e){return new Promise(t=>{setTimeout(t,e)})}function _b(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?W0(e,t):t}function Vb(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function zb(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var cf=Symbol();function H0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===cf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Sr,On,xo,rg,Bb=(rg=class extends gl{constructor(){super();J(this,Sr);J(this,On);J(this,xo);H(this,xo,t=>{if(!yl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,On)||this.setEventListener(A(this,xo))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,On))==null||t.call(this),H(this,On,void 0))}setEventListener(t){var n;H(this,xo,t),(n=A(this,On))==null||n.call(this),H(this,On,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){A(this,Sr)!==t&&(H(this,Sr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof A(this,Sr)=="boolean"?A(this,Sr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Sr=new WeakMap,On=new WeakMap,xo=new WeakMap,rg),K0=new Bb,So,jn,To,og,$b=(og=class extends gl{constructor(){super();J(this,So,!0);J(this,jn);J(this,To);H(this,To,t=>{if(!yl&&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(){A(this,jn)||this.setEventListener(A(this,To))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,jn))==null||t.call(this),H(this,jn,void 0))}setEventListener(t){var n;H(this,To,t),(n=A(this,jn))==null||n.call(this),H(this,jn,t(this.setOnline.bind(this)))}
vendor: 14,047 bytes, line 126
126setOnline(t){A(this,So)!==t&&(H(this,So,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return A(this,So)}},So=new WeakMap,jn=new WeakMap,To=new WeakMap,og),Ia=new $b;function Ub(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function Wb(e){return Math.min(1e3*2**e,3e4)}function G0(e){return(e??"online")==="online"?Ia.isOnline():!0}var Q0=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function au(e){return e instanceof Q0}function Y0(e){let t=!1,n=0,r=!1,o;const i=Ub(),s=g=>{var w;r||(f(new Q0(g)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>K0.isFocused()&&(e.networkMode==="always"||Ia.isOnline())&&e.canRun(),c=()=>G0(e.networkMode)&&e.canRun(),d=g=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,g),o==null||o(),i.resolve(g))},f=g=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,g),o==null||o(),i.reject(g))},h=()=>new Promise(g=>{var w;o=p=>{(r||u())&&g(p)},(w=e.onPause)==null||w.call(e)}).then(()=>{var g;o=void 0,r||(g=e.onContinue)==null||g.call(e)}),v=()=>{if(r)return;let g;const w=n===0?e.initialPromise:void 0;try{g=w??e.fn()}catch(p){g=Promise.reject(p)}Promise.resolve(g).then(d).catch(p=>{var C;if(r)return;const m=e.retry??(yl?0:3),y=e.retryDelay??Wb,S=typeof y=="function"?y(n,p):y,T=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,p);if(t||!T){f(p);return}n++,(C=e.onFail)==null||C.call(e,n,p),Fb(S).then(()=>u()?void 0:h()).then(()=>{t?f(p):v()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?v():h().then(v),i)}}var Hb=e=>setTimeout(e,0);function Kb(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=Hb;const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var Be=Kb(),Tr,ig,X0=(ig=class{constructor(){J(this,Tr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ob(this.gcTime)&&H(this,Tr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(yl?1/0:5*60*1e3))}clearGcTimeout(){A(this,Tr)&&(clearTimeout(A(this,Tr)),H(this,Tr,void 0))}},Tr=new WeakMap,ig),Eo,Er,ft,Cr,je,Ji,Pr,Nt,nn,sg,Gb=(sg=class extends X0{constructor(t){super();J(this,Nt);J(this,Eo);J(this,Er);J(this,ft);J(this,Cr);J(this,je);J(this,Ji);J(this,Pr);H(this,Pr,!1),H(this,Ji,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,Cr,t.client),H(this,ft,A(this,Cr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,Eo,Yb(this.options)),this.state=t.state??A(this,Eo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=A(this,je))==null?void 0:t.promise}setOptions(t){this.options={...A(this,Ji),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,ft).remove(this)}setData(t,n){const r=_b(this.state.data,t,this.options);return De(this,Nt,nn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){De(this,Nt,nn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=A(this,je))==null?void 0:r.promise;return(o=A(this,je))==null||o.cancel(t),n?n.then(Mt).catch(Mt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(A(this,Eo))}isActive(){return this.observers.some(t=>Ib(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===cf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Pc(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:!jb(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,je))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,je))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),A(this,ft).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(A(this,je)&&(A(this,Pr)?A(this,je).cancel({revert:!0}):A(this,je).cancelRetry()),this.scheduleGc()),A(this,ft).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||De(this,Nt,nn).call(this,{type:"invalidate"})}fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,je))return A(this,je).continueRetry(),A(this,je).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(h=>h.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(H(this,Pr,!0),r.signal)})},i=()=>{const f=H0(this.options,n),v=(()=>{const g={client:A(this,Cr),queryKey:this.queryKey,meta:this.meta};return o(g),g})();return H(this,Pr,!1),this.options.persister?this.options.persister(f,v,this):f(v)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,Cr),state:this.state,fetchFn:i};return o(f),f})();(u=this.options.behavior)==null||u.onFetch(a,this),H(this,Er,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&De(this,Nt,nn).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var h,v,g,w;au(f)&&f.silent||De(this,Nt,nn).call(this,{type:"error",error:f}),au(f)||((v=(h=A(this,ft).config).onError)==null||v.call(h,f,this),(w=(g=A(this,ft).config).onSettled)==null||w.call(g,this.state.data,f,this)),this.scheduleGc()};return H(this,je,Y0({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var h,v,g,w;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(p){l(p);return}(v=(h=A(this,ft).config).onSuccess)==null||v.call(h,f,this),(w=(g=A(this,ft).config).onSettled)==null||w.call(g,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,h)=>{De(this,Nt,nn).call(this,{type:"failed",failureCount:f,error:h})},onPause:()=>{De(this,Nt,nn).call(this,{type:"pause"})},onContinue:()=>{De(this,Nt,nn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),A(this,je).start()}},Eo=new WeakMap,Er=new WeakMap,ft=new WeakMap,Cr=new WeakMap,je=new WeakMap,Ji=new WeakMap,Pr=new WeakMap,Nt=new WeakSet,nn=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,...Qb(r.data,this.options),fetchMeta:t.meta??null};case"success":return H(this,Er,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return au(o)&&o.revert&&A(this,Er)?{...A(this,Er),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Be.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),A(this,ft).notify({query:this,type:"updated",action:t})})},sg);function Qb(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:G0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Yb(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 Ut,ag,Xb=(ag=class extends gl{constructor(t={}){super();J(this,Ut);this.config=t,H(this,Ut,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??uf(o,n);let s=this.get(i);return s||(s=new Gb({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){A(this,Ut).has(t.queryHash)||(A(this,Ut).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=A(this,Ut).get(t.queryHash);n&&(t.destroy(),n===t&&A(this,Ut).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Be.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return A(this,Ut).get(t)}getAll(){return[...A(this,Ut).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>kp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>kp(t,r)):n}notify(t){Be.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Be.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Be.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ut=new WeakMap,ag),Wt,Ve,br,Ht,An,lg,qb=(lg=class extends X0{constructor(t){super();J(this,Ht);J(this,Wt);J(this,Ve);J(this,br);this.mutationId=t.mutationId,H(this,Ve,t.mutationCache),H(this,Wt,[]),this.state=t.state||Zb(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){A(this,Wt).includes(t)||(A(this,Wt).push(t),this.clearGcTimeout(),A(this,Ve).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Wt,A(this,Wt).filter(n=>n!==t)),this.scheduleGc(),A(this,Ve).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,Wt).length||(this.state.status==="pending"?this.scheduleGc():A(this,Ve).remove(this))}continue(){var t;return((t=A(this,br))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,a,l,u,c,d,f,h,v,g,w,p,m,y,S,T,C,P,b;const n=()=>{De(this,Ht,An).call(this,{type:"continue"})};H(this,br,Y0({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(D,N)=>{De(this,Ht,An).call(this,{type:"failed",failureCount:D,error:N})},onPause:()=>{De(this,Ht,An).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,Ve).canRun(this)}));const r=this.state.status==="pending",o=!A(this,br).canStart();try{if(r)n();else{De(this,Ht,An).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=A(this,Ve).config).onMutate)==null?void 0:s.call(i,t,this));const N=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));N!==this.state.context&&De(this,Ht,An).call(this,{type:"pending",context:N,variables:t,isPaused:o})}const D=await A(this,br).start();return await((c=(u=A(this,Ve).config).onSuccess)==null?void 0:c.call(u,D,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,D,t,this.state.context)),await((v=(h=A(this,Ve).config).onSettled)==null?void 0:v.call(h,D,null,this.state.variables,this.state.context,this)),await((w=(g=this.options).onSettled)==null?void 0:w.call(g,D,null,t,this.state.context)),De(this,Ht,An).call(this,{type:"success",data:D}),D}catch(D){try{throw await((m=(p=A(this,Ve).config).onError)==null?void 0:m.call(p,D,t,this.state.context,this)),await((S=(y=this.options).onError)==null?void 0:S.call(y,D,t,this.state.context)),await((C=(T=A(this,Ve).config).onSettled)==null?void 0:C.call(T,void 0,D,this.state.variables,this.state.context,this)),await((b=(P=this.options).onSettled)==null?void 0:b.call(P,void 0,D,t,this.state.context)),D}finally{De(this,Ht,An).call(this,{type:"error",error:D})}}finally{A(this,Ve).runNext(this)}}},Wt=new WeakMap,Ve=new WeakMap,br=new WeakMap,Ht=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),Be.batch(()=>{A(this,Wt).forEach(r=>{r.onMutationUpdate(t)}),A(this,Ve).notify({mutation:this,type:"updated",action:t})})},lg);function Zb(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var sn,Dt,es,ug,Jb=(ug=class extends gl{constructor(t={}){super();
126J(this,sn);J(this,Dt);J(this,es);this.config=t,H(this,sn,new Set),H(this,Dt,new Map),H(this,es,0)}build(t,n,r){const o=new qb({mutationCache:this,mutationId:++gs(this,es)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){A(this,sn).add(t);const n=_s(t);if(typeof n=="string"){const r=A(this,Dt).get(n);r?r.push(t):A(this,Dt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(A(this,sn).delete(t)){const n=_s(t);if(typeof n=="string"){const r=A(this,Dt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&A(this,Dt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=_s(t);if(typeof n=="string"){const r=A(this,Dt).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=_s(t);if(typeof n=="string"){const o=(r=A(this,Dt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Be.batch(()=>{A(this,sn).forEach(t=>{this.notify({type:"removed",mutation:t})}),A(this,sn).clear(),A(this,Dt).clear()})}getAll(){return Array.from(A(this,sn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ap(n,r))}findAll(t={}){return this.getAll().filter(n=>Ap(t,n))}notify(t){Be.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Be.batch(()=>Promise.all(t.map(n=>n.continue().catch(Mt))))}},sn=new WeakMap,Dt=new WeakMap,es=new WeakMap,ug);function _s(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Np(e){return{onFetch:(t,n)=>{var c,d,f,h,v;const r=t.options,o=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,i=((h=t.state.data)==null?void 0:h.pages)||[],s=((v=t.state.data)==null?void 0:v.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let g=!1;const w=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},p=H0(t.options,t.fetchOptions),m=async(y,S,T)=>{if(g)return Promise.reject();if(S==null&&y.pages.length)return Promise.resolve(y);const P=(()=>{const V={client:t.client,queryKey:t.queryKey,pageParam:S,direction:T?"backward":"forward",meta:t.options.meta};return w(V),V})(),b=await p(P),{maxPages:D}=t.options,N=T?zb:Vb;return{pages:N(y.pages,b,D),pageParams:N(y.pageParams,S,D)}};if(o&&i.length){const y=o==="backward",S=y?ek:Dp,T={pages:i,pageParams:s},C=S(r,T);a=await m(T,C,y)}else{const y=e??i.length;do{const S=l===0?s[0]??r.initialPageParam:Dp(r,a);if(l>0&&S==null)break;a=await m(a,S),l++}while(l<y)}return a};t.options.persister?t.fetchFn=()=>{var g,w;return(w=(g=t.options).persister)==null?void 0:w.call(g,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Dp(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 ek(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 pe,In,Fn,Co,Po,_n,bo,ko,cg,tk=(cg=class{constructor(e={}){J(this,pe);J(this,In);J(this,Fn);J(this,Co);J(this,Po);J(this,_n);J(this,bo);J(this,ko);H(this,pe,e.queryCache||new Xb),H(this,In,e.mutationCache||new Jb),H(this,Fn,e.defaultOptions||{}),H(this,Co,new Map),H(this,Po,new Map),H(this,_n,0)}mount(){gs(this,_n)._++,A(this,_n)===1&&(H(this,bo,K0.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,pe).onFocus())})),H(this,ko,Ia.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,pe).onOnline())})))}unmount(){var e,t;gs(this,_n)._--,A(this,_n)===0&&((e=A(this,bo))==null||e.call(this),H(this,bo,void 0),(t=A(this,ko))==null||t.call(this),H(this,ko,void 0))}isFetching(e){return A(this,pe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,In).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,pe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=A(this,pe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Pc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return A(this,pe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=A(this,pe).get(r.queryHash),i=o==null?void 0:o.state.data,s=Lb(t,i);if(s!==void 0)return A(this,pe).build(this,r).setData(s,{...n,manual:!0})}
126setQueriesData(e,t,n){return Be.batch(()=>A(this,pe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,pe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=A(this,pe);Be.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,pe);return Be.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Be.batch(()=>A(this,pe).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Mt).catch(Mt)}invalidateQueries(e,t={}){return Be.batch(()=>(A(this,pe).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=Be.batch(()=>A(this,pe).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(Mt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Mt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=A(this,pe).build(this,t);return n.isStaleByTime(Pc(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=Np(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Mt).catch(Mt)}ensureInfiniteQueryData(e){return e.behavior=Np(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ia.isOnline()?A(this,In).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,pe)}getMutationCache(){return A(this,In)}getDefaultOptions(){return A(this,Fn)}setDefaultOptions(e){H(this,Fn,e)}setQueryDefaults(e,t){A(this,Co).set(Hi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,Co).values()],n={};return t.forEach(r=>{Ki(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){A(this,Po).set(Hi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,Po).values()],n={};return t.forEach(r=>{Ki(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...A(this,Fn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=uf(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===cf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,Fn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,pe).clear(),A(this,In).clear()}},pe=new WeakMap,In=new WeakMap,Fn=new WeakMap,Co=new WeakMap,Po=new WeakMap,_n=new WeakMap,bo=new WeakMap,ko=new WeakMap,cg),nk=x.createContext(void 0),rk=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(nk.Provider,{value:e,children:t}));/**
127 * @remix-run/router v1.23.0
128 *
129 * Copyright (c) Remix Software Inc.
130 *
131 * This source code is licensed under the MIT license found in the
132 * LICENSE.md file in the root directory of this source tree.
133 *
134 * @license MIT
135 */function Fa(){return Fa=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},Fa.apply(this,arguments)}var Bn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Bn||(Bn={}));const Lp="popstate";function ok(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return kc("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Z0(o)}return sk(t,n,null,e)}function Je(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function q0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ik(){return Math.random().toString(36).substr(2,8)}function Op(e,t){return{usr:e.state,key:e.key,idx:t}}function kc(e,t,n,r){return n===void 0&&(n=null),Fa({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?vl(t):t,{state:n,key:t&&t.key||r||ik()})}function Z0(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 vl(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 sk(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=Bn.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(Fa({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=Bn.Pop;let w=c(),p=w==null?null:w-u;u=w,l&&l({action:a,location:g.location,delta:p})}function f(w,p){a=Bn.Push;let m=kc(g.location,w,p);u=c()+1;let y=Op(m,u),S=g.createHref(m);try{s.pushState(y,"",S)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;o.location.assign(S)}i&&l&&l({action:a,location:g.location,delta:1})}function h(w,p){a=Bn.Replace;let m=kc(g.location,w,p);u=c();let y=Op(m,u),S=g.createHref(m);s.replaceState(y,"",S),i&&l&&l({action:a,location:g.location,delta:0})}function v(w){let p=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof w=="string"?w:Z0(w);return m=m.replace(/ $/,"%20"),Je(p,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,p)}let g={get action(){return a},get location(){return e(o,s)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Lp,d),l=w,()=>{o.removeEventListener(Lp,d),l=null}},createHref(w){return t(o,w)},createURL:v,encodeLocation(w){let p=v(w);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:f,replace:h,go(w){return s.go(w)}};return g}var jp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(jp||(jp={}));function ak(e,t,n){return n===void 0&&(n="/"),lk(e,t,n,!1)}function lk(e,t,n,r){let o=typeof t=="string"?vl(t):t,i=tw(o.pathname||"/",n);if(i==null)return null;let s=J0(e);uk(s);let a=null;for(let l=0;a==null&&l<s.length;
vendor: 6,197 bytes, lines 135-144
135++l){let u=xk(i);a=vk(s[l],u,r)}return a}function J0(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(Je(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=vo([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(Je(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),J0(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:gk(u,i.index),routesMeta:c})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of ew(i.path))o(i,s,l)}),t}function ew(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=ew(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function uk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:yk(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const ck=/^:[\w-]+$/,dk=3,fk=2,hk=1,pk=10,mk=-2,Ip=e=>e==="*";function gk(e,t){let n=e.split("/"),r=n.length;return n.some(Ip)&&(r+=mk),t&&(r+=fk),n.filter(o=>!Ip(o)).reduce((o,i)=>o+(ck.test(i)?dk:i===""?hk:pk),r)}function yk(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function vk(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",d=Fp({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=Fp({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;Object.assign(o,d.params),s.push({params:o,pathname:vo([i,d.pathname]),pathnameBase:Sk(vo([i,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(i=vo([i,d.pathnameBase]))}return s}function Fp(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=wk(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:f,isOptional:h}=c;if(f==="*"){let g=a[d]||"";s=i.slice(0,i.length-g.length).replace(/(.)\/+$/,"$1")}const v=a[d];return h&&!v?u[f]=void 0:u[f]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function wk(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),q0(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function xk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return q0(!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 tw(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const vo=e=>e.join("/").replace(/\/\/+/g,"/"),Sk=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function Tk(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const nw=["post","put","patch","delete"];new Set(nw);const Ek=["get",...nw];new Set(Ek);/**
136 * React Router v6.30.1
137 *
138 * Copyright (c) Remix Software Inc.
139 *
140 * This source code is licensed under the MIT license found in the
141 * LICENSE.md file in the root directory of this source tree.
142 *
143 * @license MIT
144 */function _a(){return _a=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},_a.apply(this,arguments)}const Ck=x.createContext(null),Pk=x.createContext(null),rw=x.createContext(null),wl=x.createContext(null),xl=x.createContext({outlet:null,matches:[],isDataRoute:!1}),ow=x.createContext(null);function df(){return x.useContext(wl)!=null}function iw(){return df()||Je(!1),x.useContext(wl).location}function bk(e,t){return kk(e,t)}function kk(e,t,n,r){df()||Je(!1);let{navigator:o}=x.useContext(rw),{matches:i}=x.useContext(xl),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=iw(),c;if(t){var d;let w=typeof t=="string"?vl(t):t;l==="/"||(d=w.pathname)!=null&&d.startsWith(l)||Je(!1),c=w}else c=u;let f=c.pathname||"/",h=f;if(l!=="/"){let w=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=ak(e,{pathname:h}),g=Dk(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:vo([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:vo([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&g?x.createElement(wl.Provider,{value:{location:_a({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Bn.Pop}},g):g}function Ak(){let e=Ik(),t=Tk(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application 
144Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const Rk=x.createElement(Ak,null);class Mk extends x.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?x.createElement(xl.Provider,{value:this.props.routeContext},x.createElement(ow.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Nk(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(Ck);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(xl.Provider,{value:t},r)}function Dk(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||Je(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<s.length;c++){let d=s[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:f,errors:h}=n,v=d.route.loader&&f[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||v){l=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let h,v=!1,g=null,w=null;n&&(h=a&&d.route.id?a[d.route.id]:void 0,g=d.route.errorElement||Rk,l&&(u<0&&f===0?(v=!0,w=null):u===f&&(v=!0,w=d.route.hydrateFallbackElement||null)));let p=t.concat(s.slice(0,f+1)),m=()=>{let y;return h?y=g:v?y=w:d.route.Component?y=x.createElement(d.route.Component,null):d.route.element?y=d.route.element:y=c,x.createElement(Nk,{match:d,routeContext:{outlet:c,matches:p,isDataRoute:n!=null},children:y})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?x.createElement(Mk,{location:n.location,revalidation:n.revalidation,component:g,error:h,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var Ac=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}(Ac||{});function Lk(e){let t=x.useContext(Pk);return t||Je(!1),t}function Ok(e){let t=x.useContext(xl);return t||Je(!1),t}function jk(e){let t=Ok(),n=t.matches[t.matches.length-1];return n.route.id||Je(!1),n.route.id}function Ik(){var e;let t=x.useContext(ow),n=Lk(Ac.UseRouteError),r=jk(Ac.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Fk(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Rc(e){Je(!1)}function _k(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Bn.Pop,navigator:i,static:s=!1,future:a}=e;df()&&Je(!1);let l=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:l,navigator:i,static:s,future:_a({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=vl(r));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:v="default"}=r,g=x.useMemo(()=>{let w=tw(c,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:h,key:v},navigationType:o}},[l,c,d,f,h,v,o]);return g==null?null:x.createElement(rw.Provider,{value:u},x.createElement(wl.Provider,{children:n,value:g}))}function Vk(e){let{children:t,location:n}=e;return bk(Mc(t),n)}new Promise(()=>{});function Mc(e,t){t===void 0&&(t=[]);let n=[];
144return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let i=[...t,o];if(r.type===x.Fragment){n.push.apply(n,Mc(r.props.children,i));return}r.type!==Rc&&Je(!1),!r.props.index||!r.props.children||Je(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Mc(r.props.children,i)),n.push(s)}),n}/**
145 * React Router DOM v6.30.1
146 *
147 * Copyright (c) Remix Software Inc.
148 *
149 * This source code is licensed under the MIT license found in the
150 * LICENSE.md file in the root directory of this source tree.
151 *
152 * @license MIT
153 */const zk="6";try{window.__reactRouterVersion=zk}catch{}const Bk="startTransition",_p=Tg[Bk];function $k(e){let{basename:t,children:n,future:r,window:o}=e,i=x.useRef();i.current==null&&(i.current=ok({window:o,v5Compat:!0}));let s=i.current,[a,l]=x.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=x.useCallback(d=>{u&&_p?_p(()=>l(d)):l(d)},[l,u]);return x.useLayoutEffect(()=>s.listen(c),[s,c]),x.useEffect(()=>Fk(r),[r]),x.createElement(_k,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var Vp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Vp||(Vp={}));var zp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(zp||(zp={}));const sw=x.createContext({});function Uk(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const ff=typeof window<"u",Wk=ff?x.useLayoutEffect:x.useEffect,hf=x.createContext(null);function pf(e,t){e.indexOf(t)===-1&&e.push(t)}function mf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const gn=(e,t,n)=>n>t?t:n<e?e:n;let Va=()=>{};const yn={},aw=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function lw(e){return typeof e=="object"&&e!==null}const uw=e=>/^0[^.\s]+$/u.test(e);function gf(e){let t;return()=>(t===void 0&&(t=e()),t)}const wt=e=>e,Hk=(e,t)=>n=>t(e(n)),us=(...e)=>e.reduce(Hk),Gi=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class yf{constructor(){this.subscriptions=[]}add(t){return pf(this.subscriptions,t),()=>mf(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i<o;i++){const s=this.subscriptions[i];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const qt=e=>e*1e3,yt=e=>e/1e3;function cw(e,t){return t?e*(1e3/t):0}const dw=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Kk=1e-7,Gk=12;function Qk(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=dw(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>Kk&&++a<Gk);return s}function cs(e,t,n,r){if(e===t&&n===r)return wt;const o=i=>Qk(i,0,1,e,n);return i=>i===0||i===1?i:dw(o(i),t,r)}const fw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,hw=e=>t=>1-e(1-t),pw=cs(.33,1.53,.69,.99),vf=hw(pw),mw=fw(vf),gw=e=>(e*=2)<1?.5*vf(e):.5*(2-Math.pow(2,-10*(e-1))),wf=e=>1-Math.sin(Math.acos(e)),yw=hw(wf),vw=fw(wf),Yk=cs(.42,0,1,1),Xk=cs(0,0,.58,1),ww=cs(.42,0,.58,1),qk=e=>Array.isArray(e)&&typeof e[0]!="number",xw=e=>Array.isArray(e)&&typeof e[0]=="number",Bp={linear:wt,easeIn:Yk,easeInOut:ww,easeOut:Xk,circIn:wf,circInOut:vw,circOut:yw,backIn:vf,backInOut:mw,backOut:pw,anticipate:gw},Zk=e=>typeof e=="string",$p=e=>{if(xw(e)){Va(e.length===4);const[t,n,r,o]=e;return cs(t,n,r,o)}else if(Zk(e))return Va(Bp[e]!==void 0),Bp[e];return e},Vs=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Up={value:null,addProjectionMetrics:null};function Jk(e,t){let n=new Set,r=new Set,o=!1,i=!1;const s=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){s.has(d)&&(c.schedule(d),e()),l++,d(a)}const c={schedule:(d,f=!1,h=!1)=>{const g=h&&o?n:r;return f&&s.add(d),g.has(d)||g.add(d),d},cancel:d=>
vendor: 20,930 bytes, line 153
153{r.delete(d),s.delete(d)},process:d=>{if(a=d,o){i=!0;return}o=!0,[n,r]=[r,n],n.forEach(u),t&&Up.value&&Up.value.frameloop[t].push(l),l=0,n.clear(),o=!1,i&&(i=!1,c.process(d))}};return c}const e2=40;function Sw(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=Vs.reduce((y,S)=>(y[S]=Jk(i,t?S:void 0),y),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:h,postRender:v}=s,g=()=>{const y=yn.useManualTiming?o.timestamp:performance.now();n=!1,yn.useManualTiming||(o.delta=r?1e3/60:Math.max(Math.min(y-o.timestamp,e2),1)),o.timestamp=y,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),h.process(o),v.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(g))},w=()=>{n=!0,r=!0,o.isProcessing||e(g)};return{schedule:Vs.reduce((y,S)=>{const T=s[S];return y[S]=(C,P=!1,b=!1)=>(n||w(),T.schedule(C,P,b)),y},{}),cancel:y=>{for(let S=0;S<Vs.length;S++)s[Vs[S]].cancel(y)},state:o,steps:s}}const{schedule:ue,cancel:nr,state:Ae,steps:lu}=Sw(typeof requestAnimationFrame<"u"?requestAnimationFrame:wt,!0);let ra;function t2(){ra=void 0}const Ye={now:()=>(ra===void 0&&Ye.set(Ae.isProcessing||yn.useManualTiming?Ae.timestamp:performance.now()),ra),set:e=>{ra=e,queueMicrotask(t2)}},Tw=e=>t=>typeof t=="string"&&t.startsWith(e),Ew=Tw("--"),n2=Tw("var(--"),xf=e=>n2(e)?r2.test(e.split("/*")[0].trim()):!1,r2=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ho={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Qi={...Ho,transform:e=>gn(0,1,e)},zs={...Ho,default:1},Ti=e=>Math.round(e*1e5)/1e5,Sf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function o2(e){return e==null}const i2=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Tf=(e,t)=>n=>!!(typeof n=="string"&&i2.test(n)&&n.startsWith(e)||t&&!o2(n)&&Object.prototype.hasOwnProperty.call(n,t)),Cw=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,s,a]=r.match(Sf);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},s2=e=>gn(0,255,e),uu={...Ho,transform:e=>Math.round(s2(e))},wr={test:Tf("rgb","red"),parse:Cw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+uu.transform(e)+", "+uu.transform(t)+", "+uu.transform(n)+", "+Ti(Qi.transform(r))+")"};function a2(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Nc={test:Tf("#"),parse:a2,transform:wr.transform},ds=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Rn=ds("deg"),Zt=ds("%"),B=ds("px"),l2=ds("vh"),u2=ds("vw"),Wp={...Zt,parse:e=>Zt.parse(e)/100,transform:e=>Zt.transform(e*100)},oo={test:Tf("hsl","hue"),parse:Cw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Zt.transform(Ti(t))+", "+Zt.transform(Ti(n))+", "+Ti(Qi.transform(r))+")"},we={test:e=>wr.test(e)||Nc.test(e)||oo.test(e),parse:e=>wr.test(e)?wr.parse(e):oo.test(e)?oo.parse(e):Nc.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?wr.transform(e):oo.transform(e),getAnimatableNone:e=>{const t=we.parse(e);return t.alpha=0,we.transform(t)}},c2=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function d2(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Sf))==null?void 0:t.length)||0)+(((n=e.match(c2))==null?void 0:n.length)||0)>0}const Pw="number",bw="color",f2="var",h2="var(",Hp="${}",p2=/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 Yi(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(p2,l=>(we.test(l)?(r.color.push(i),o.push(bw),n.push(we.parse(l))):l.startsWith(h2)?(r.var.push(i),o.push(f2),n.push(l)):(r.number.push(i),o.push(Pw),n.push(parseFloat(l))),++i,Hp)).split(Hp);return{values:n,split:a,indexes:r,types:o}}function kw(e){return Yi(e).values}function Aw(e){const{split:t,types:n}=Yi(e),r=t.length;return o=>{let i="";for(let s=0;s<r;s++)if(i+=t[s],o[s]!==void 0){const a=n[s];a===Pw?i+=Ti(o[s]):a===bw?i+=we.transform(o[s]):i+=o[s]}return i}}const m2=e=>typeof e=="number"?0:we.test(e)?we.getAnimatableNone(e):e;function g2(e){const t=kw(e);return Aw(e)(t.map(m2))}const rr={test:d2,parse:kw,createTransformer:Aw,getAnimatableNone:g2};function cu(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 y2({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,s=0;if(!t)o=i=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=cu(l,a,e+1/3),i=cu(l,a,e),s=cu(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function za(e,t){return n=>n>0?t:e}const de=(e,t,n)=>e+(t-e)*n,du=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},v2=[Nc,wr,oo],w2=e=>v2.find(t=>t.test(e));function Kp(e){const t=w2(e);if(!t)return!1;let n=t.parse(e);return t===oo&&(n=y2(n)),n}const Gp=(e,t)=>{const n=Kp(e),r=Kp(t);if(!n||!r)return za(e,t);const o={...n};return i=>(o.red=du(n.red,r.red,i),o.green=du(n.green,r.green,i),o.blue=du(n.blue,r.blue,i),o.alpha=de(n.alpha,r.alpha,i),wr.transform(o))},Dc=new Set(["none","hidden"]);function x2(e,t){return Dc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function S2(e,t){return n=>de(e,t,n)}function Ef(e){return typeof e=="number"?S2:typeof e=="string"?xf(e)?za:we.test(e)?Gp:C2:Array.isArray(e)?Rw:typeof e=="object"?we.test(e)?Gp:T2:za}function Rw(e,t){const n=[...e],r=n.length,o=e.map((i,s)=>Ef(i)(i,t[s]));return i=>{for(let s=0;s<r;s++)n[s]=o[s](i);return n}}function T2(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Ef(e[o])(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}}function E2(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const i=t.types[o],s=e.indexes[i][r[i]],a=e.values[s]??0;n[o]=a,r[i]++}return n}const C2=(e,t)=>{const n=rr.createTransformer(t),r=Yi(e),o=Yi(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Dc.has(e)&&!o.values.length||Dc.has(t)&&!r.values.length?x2(e,t):us(Rw(E2(r,o),o.values),n):za(e,t)};function Mw(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?de(e,t,n):Ef(e)(e,t)}const P2=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ue.update(t,n),stop:()=>nr(t),now:()=>Ae.isProcessing?Ae.timestamp:Ye.now()}},Nw=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=Math.round(e(i/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Ba=2e4;function Cf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Ba;)t+=n,r=e.next(t);return t>=Ba?1/0:t}function b2(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(Cf(r),Ba);return{type:"keyframes",ease:i=>r.next(o*i).value/t,duration:yt(o)}}const k2=5;function Dw(e,t,n){const r=Math.max(t-k2,0);return cw(n-e(r),t-r)}const me={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},fu=.001;function A2({duration:e=me.duration,bounce:t=me.bounce,velocity:n=me.velocity,mass:r=me.mass}){let o,i,s=1-t;s=gn(me.minDamping,me.maxDamping,s),e=gn(me.minDuration,me.maxDuration,yt(e)),s<1?(o=u=>{const c=u*s,d=c*e,f=c-n,h=Lc(u,s),v=Math.exp(-d);return fu-f/h*v},i=u=>{const d=u*s*e,f=d*n+n,h=Math.pow(s,2)*Math.pow(u,2)*e,v=Math.exp(-d),g=Lc(Math.pow(u,2),s);return(-o(u)+fu>0?-1:1)*((f-h)*v)/g}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-fu+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=M2(o,i,a);if(e=qt(e),isNaN(l))return{stiffness:me.stiffness,damping:me.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const R2=12;function M2(e,t,n){let r=n;for(let o=1;o<R2;o++)r=r-e(r)/t(r);return r}function Lc(e,t){return e*Math.sqrt(1-t*t)}const N2=["duration","bounce"],D2=["stiffness","damping","mass"];function Qp(e,t){return t.some(n=>e[n]!==void 0)}function L2(e){let t={velocity:me.velocity,stiffness:me.stiffness,damping:me.damping,mass:me.mass,isResolvedFromDuration:!1,...e};if(!Qp(e,D2)&&Qp(e,N2))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,i=2*gn(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:me.mass,stiffness:o,damping:i}}else{const n=A2(e);t={...t,...n,mass:me.mass},t.isResolvedFromDuration=!0}return t}function $a(e=me.visualDuration,t=me.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=L2({...n,velocity:-yt(n.velocity||0)}),v=f||0,g=u/(2*Math.sqrt(l*c)),w=s-i,p=yt(Math.sqrt(l/c)),m=Math.abs(w)<5;r||(r=m?me.restSpeed.granular:me.restSpeed.default),o||(o=m?me.restDelta.granular:me.restDelta.default);let y;if(g<1){const T=Lc(p,g);y=C=>{const P=Math.exp(-g*p*C);return s-P*((v+g*p*w)/T*Math.sin(T*C)+w*Math.cos(T*C))}}else if(g===1)y=T=>s-Math.exp(-p*T)*(w+(v+p*w)*T);else{const T=p*Math.sqrt(g*g-1);y=C=>{const P=Math.exp(-g*p*C),b=Math.min(T*C,300);return s-P*((v+g*p*w)*Math.sinh(b)+T*w*Math.cosh(b))/T}}const S={calculatedDuration:h&&d||null,next:T=>{const C=y(T);if(h)a.done=T>=d;else{let P=T===0?v:0;g<1&&(P=T===0?qt(v):Dw(y,T,C));const b=Math.abs(P)<=r,D=Math.abs(s-C)<=o;a.done=b&&D}return a.value=a.done?s:C,a},toString:()=>{const T=Math.min(Cf(S),Ba),C=Nw(P=>S.next(T*P).value,T,30);return T+"ms "+C},toTransition:()=>{}};return S}$a.applyToOptions=e=>{const t=b2(e,100,$a);return e.ease=t.ease,e.duration=qt(t.duration),e.type="keyframes",e};function Oc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},h=b=>a!==void 0&&b<a||l!==void 0&&b>l,v=b=>a===void 0?l:l===void 0||Math.abs(a-b)<Math.abs(l-b)?a:l;let g=n*t;const w=d+g,p=s===void 0?w:s(w);p!==w&&(g=p-d);const m=b=>-g*Math.exp(-b/r),y=b=>p+m(b),S=b=>{const D=m(b),N=y(b);f.done=Math.abs(D)<=u,f.value=f.done?p:N};let T,C;const P=b=>{h(f.value)&&(T=b,C=$a({keyframes:[f.value,v(f.value)],velocity:Dw(y,b,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return P(0),{calculatedDuration:null,next:b=>{let D=!1;return!C&&T===void 0&&(D=!0,S(b),P(b)),T!==void 0&&b>=T?C.next(b-T):(!D&&S(b),f)}}}function O2(e,t,n){const r=[],o=n||yn.mix||Mw,i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||wt:t;a=us(l,a)}r.push(a)}return r}function j2(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Va(i===t.length),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=O2(t,r,o),l=a.length,u=c=>{if(s&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const f=Gi(e[d],e[d+1],c);return a[d](f)};return n?c=>u(gn(e[0],e[i-1],c)):u}function I2(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Gi(0,t,r);e.push(de(n,1,o))}}function F2(e){const t=[0];return I2(t,e.length-1),t}function _2(e,t){return e.map(n=>n*t)}function V2(e,t){return e.map(()=>t||ww).splice(0,e.length-1)}function Ei({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=qk(r)?r.map($p):$p(r),i={done:!1,value:t[0]},s=_2(n&&n.length===t.length?n:F2(t),e),a=j2(s,t,{ease:Array.isArray(o)?o:V2(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const z2=e=>e!==null;function Pf(e,{repeat:t,repeatType:n="loop"},r,o=1){const i=e.filter(z2),a=o<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const B2={decay:Oc,inertia:Oc,tween:Ei,keyframes:Ei,spring:$a};function Lw(e){typeof e.type=="string"&&(e.type=B2[e.type])}class bf{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 $2=e=>e/100;class kf extends bf{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,o;const{motionValue:n}=this.options;n&&n.updatedAt!==Ye.now()&&this.tick(Ye.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(o=(r=this.options).onStop)==null||o.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Lw(t);const{type:n=Ei,repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=t;let{keyframes:a}=t;const l=n||Ei;l!==Ei&&typeof a[0]!="number"&&(this.mixKeyframes=us($2,Mw(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});i==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),u.calculatedDuration===null&&(u.calculatedDuration=Cf(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:o,mixKeyframes:i,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:h,type:v,onUpdate:g,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const p=this.currentTime-u*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?p<0:p>o;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let y=this.currentTime,S=r;if(d){const b=Math.min(this.currentTime,o)/a;let D=Math.floor(b),N=b%1;!N&&b>=1&&(N=1),N===1&&D--,D=Math.min(D,d+1),!!(D%2)&&(f==="reverse"?(N=1-N,h&&(N-=h/a)):f==="mirror"&&(S=s)),y=gn(0,1,N)*a}const T=m?{done:!1,value:c[0]}:S.next(y);i&&(T.value=i(T.value));let{done:C}=T;!m&&l!==null&&(C=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return P&&v!==Oc&&(T.value=Pf(c,this.options,w,this.speed)),g&&g(T.value),P&&this.finish(),T}then(t,n){return this.finished.then(t,n)}get duration(){return yt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+yt(t)}get time(){return yt(this.currentTime)}set time(t){var n;t=qt(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(Ye.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=yt(this.currentTime))}play(){var o,i;if(this.isStopped)return;const{driver:t=P2,startTime:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),(i=(o=this.options).onPlay)==null||i.call(o);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ye.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 U2(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const xr=e=>e*180/Math.PI,jc=e=>{const t=xr(Math.atan2(e[1],e[0]));return Ic(t)},W2={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:jc,rotateZ:jc,skewX:e=>xr(Math.atan(e[1])),skewY:e=>xr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ic=e=>(e=e%360,e<0&&(e+=360),e),Yp=jc,Xp=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),qp=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),H2={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Xp,scaleY:qp,scale:e=>(Xp(e)+qp(e))/2,rotateX:e=>Ic(xr(Math.atan2(e[6],e[5]))),rotateY:e=>Ic(xr(Math.atan2(-e[2],e[0]))),rotateZ:Yp,rotate:Yp,skewX:e=>xr(Math.atan(e[4])),skewY:e=>xr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Fc(e){return e.includes("scale")?1:0}function _c(e,t){if(!e||e==="none")return Fc(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=H2,o=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=W2,o=a}if(!o)return Fc(t);const i=r[t],s=o[1].split(",").map(G2);return typeof i=="function"?i(s):s[i]}const K2=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return _c(n,t)};function G2(e){return parseFloat(e.trim())}const Ko=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Go=new Set(Ko),Zp=e=>e===Ho||e===B,Q2=new Set(["x","y","z"]),Y2=Ko.filter(e=>!Q2.has(e));function X2(e){const t=[];return Y2.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Rr={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})=>_c(t,"x"),y:(e,{transform:t})=>_c(t,"y")};Rr.translateX=Rr.x;Rr.translateY=Rr.y;const Mr=new Set;let Vc=!1,zc=!1,Bc=!1;function Ow(){if(zc){const e=Array.from(Mr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=X2(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([i,s])=>{var a;(a=r.getValue(i))==null||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}zc=!1,Vc=!1,Mr.forEach(e=>e.complete(Bc)),Mr.clear()}function jw(){Mr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(zc=!0)})}function q2(){Bc=!0,jw(),Ow(),Bc=!1}class Af{constructor(t,n,r,o,i,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Mr.add(this),Vc||(Vc=!0,ue.read(jw),ue.resolveKeyframes(Ow))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;if(t[0]===null){const i=o==null?void 0:o.get(),s=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const a=r.readValue(n,s);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=s),o&&i===void 0&&o.set(t[0])}U2(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Mr.delete(this)}cancel(){this.state==="scheduled"&&(Mr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Z2=e=>e.startsWith("--");function J2(e,t,n){Z2(t)?e.style.setProperty(t,n):e.style[t]=n}const eA=gf(()=>window.ScrollTimeline!==void 0),tA={};function nA(e,t){const n=gf(e);return()=>tA[t]??n()}const Iw=nA(()=>{try{document.createElement("div").animate({opacity:0}
153,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),di=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Jp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:di([0,.65,.55,1]),circOut:di([.55,0,1,.45]),backIn:di([.31,.01,.66,-.59]),backOut:di([.33,1.53,.69,.99])};function Fw(e,t){if(e)return typeof e=="function"?Iw()?Nw(e,t):"ease-out":xw(e)?di(e):Array.isArray(e)?e.map(n=>Fw(n,t)||Jp.easeOut):Jp[e]}function rA(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=Fw(a,o);Array.isArray(d)&&(c.easing=d);const f={delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(c,f)}function _w(e){return typeof e=="function"&&"applyToOptions"in e}function oA({type:e,...t}){return _w(e)&&Iw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class iA extends bf{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:o,pseudoElement:i,allowFlatten:s=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!i,this.allowFlatten=s,this.options=t,Va(typeof t.type!="string");const u=oA(t);this.animation=rA(n,r,o,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const c=Pf(o,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):J2(n,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return yt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+yt(t)}get time(){return yt(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=qt(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 Number(this.animation.startTime)}set startTime(t){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&&eA()?(this.animation.timeline=t,wt):n(this)}}const Vw={anticipate:gw,backInOut:mw,circInOut:vw};function sA(e){return e in Vw}function aA(e){typeof e.ease=="string"&&sA(e.ease)&&(e.ease=Vw[e.ease])}const em=10;class lA extends iA{constructor(t){aA(t),Lw(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:o,element:i,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new kf({...s,autoplay:!1}),l=qt(this.finishedTime??this.time);n.setWithVelocity(a.sample(l-em).value,a.sample(l).value,em),a.stop()}}const tm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(rr.test(e)||e==="0")&&!e.startsWith("url("));function uA(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function cA(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],s=tm(o,t),a=tm(i,t);return!s||!a?!1:uA(e)||(n==="spring"||_w(n))&&r}function $c(e){e.duration=0,e.type="keyframes"}const dA=new Set(["opacity","clipPath","filter","transform"]),fA=gf(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function hA(e){var c;
153const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:s}=e;if(!(((c=t==null?void 0:t.owner)==null?void 0:c.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=t.owner.getProps();return fA()&&n&&dA.has(n)&&(n!=="transform"||!u)&&!l&&!r&&o!=="mirror"&&i!==0&&s!=="inertia"}const pA=40;class mA extends bf{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",keyframes:a,name:l,motionValue:u,element:c,...d}){var v;super(),this.stop=()=>{var g,w;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=Ye.now();const f={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:s,name:l,motionValue:u,element:c,...d},h=(c==null?void 0:c.KeyframeResolver)||Af;this.keyframeResolver=new h(a,(g,w,p)=>this.onKeyframesResolved(g,w,f,!p),l,u,c),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,o){this.keyframeResolver=void 0;const{name:i,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=Ye.now(),cA(t,i,s,a)||((yn.instantAnimations||!l)&&(c==null||c(Pf(t,r,n))),t[0]=t[t.length-1],$c(r),r.repeat=0);const f={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>pA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},h=!u&&hA(f)?new lA({...f,element:f.motionValue.owner.current}):new kf(f);h.finished.then(()=>this.notifyFinished()).catch(wt),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}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(),q2()),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()}}const gA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function yA(e){const t=gA.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}function zw(e,t,n=1){const[r,o]=yA(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return aw(s)?parseFloat(s):s}return xf(o)?zw(o,t,n+1):o}function Rf(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const Bw=new Set(["width","height","top","left","right","bottom",...Ko]),vA={test:e=>e==="auto",parse:e=>e},$w=e=>t=>t.test(e),Uw=[Ho,B,Zt,Rn,u2,l2,vA],nm=e=>Uw.find($w(e));function wA(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||uw(e):!0}const xA=new Set(["brightness","contrast","saturate","opacity"]);function SA(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Sf)||[];if(!r)return e;const o=n.replace(r,"");let i=xA.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const TA=/\b([a-z-]*)\(.*?\)/gu,Uc={...rr,getAnimatableNone:e=>{const t=e.match(TA);return t?t.map(SA).join(" "):e}},rm={...Ho,transform:Math.round},EA={rotate:Rn,rotateX:Rn,rotateY:Rn,rotateZ:Rn,scale:zs,scaleX:zs,scaleY:zs,scaleZ:zs,skew:Rn,skewX:Rn,skewY:Rn,distance:B,translateX:B,translateY:B,translateZ:B,x:B,y:B,z:B,perspective:B,transformPerspective:B,opacity:Qi,originX:Wp,originY:Wp,originZ:B},Mf={borderWidth:B,borderTopWidth:B,borderRightWidth:B,borderBottomWidth:B,borderLeftWidth:B,borderRadius:B,radius:B,borderTopLeftRadius:B,borderTopRightRadius:B,borderBottomRightRadius:B,borderBottomLeftRadius:B,width:B,maxWidth:B,height:B,maxHeight:B,top:B,right:B,bottom:B,left:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,backgroundPositionX:B,backgroundPositionY:B,...EA,zIndex:rm,fillOpacity:Qi,strokeOpacity:Qi,numOctaves:rm},CA={...Mf,color:we,backgroundColor:we,outlineColor:we,fill:we,stroke:we,borderColor:we,borderTopColor:we,borderRightColor:we,borderBottomColor:we,borderLeftColor:we,filter:Uc,WebkitFilter:Uc},Ww=e=>CA[e];function Hw(e,t){let n=Ww(e);return n!==Uc&&(n=rr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}
vendor: 6,580 bytes, line 153
153const PA=new Set(["auto","none","0"]);function bA(e,t,n){let r=0,o;for(;r<e.length&&!o;){const i=e[r];typeof i=="string"&&!PA.has(i)&&Yi(i).values.length&&(o=e[r]),r++}if(o&&n)for(const i of t)e[i]=Hw(n,o)}class kA extends Af{constructor(t,n,r,o,i){super(t,n,r,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),xf(u))){const c=zw(u,n.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!Bw.has(r)||t.length!==2)return;const[o,i]=t,s=nm(o),a=nm(i);if(s!==a)if(Zp(s)&&Zp(a))for(let l=0;l<t.length;l++){const u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else Rr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||wA(t[o]))&&r.push(o);r.length&&bA(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=Rr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const i=r.length-1,s=r[i];r[i]=Rr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function AA(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){const o=document.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}const Kw=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function RA(e){return lw(e)&&"offsetHeight"in e}const om=30,MA=e=>!isNaN(parseFloat(e));class NA{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const o=Ye.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((i=this.events.change)==null||i.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ye.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=MA(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 yf);const r=this.events[t].add(n);return t==="change"?()=>{r(),ue.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=Ye.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>om)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,om);return cw(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 Fo(e,t){return new NA(e,t)}const{schedule:Nf,cancel:_N}=Sw(queueMicrotask,!1),At={x:!1,y:!1};function Gw(){return At.x||At.y}function DA(e){return e==="x"||e==="y"?At[e]?null:(At[e]=!0,()=>{At[e]=!1}):At.x||At.y?null:(At.x=At.y=!0,()=>{At.x=At.y=!1})}function Qw(e,t){const n=AA(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function im(e){return!(e.pointerType==="touch"||Gw())}function LA(e,t,n={}){const[r,o,i]=Qw(e,n),s=a=>{if(!im(a))return;const{target:l}=a,u=t(l,a);if(typeof u!="function"||!l)return;const c=d=>{im(d)&&(u(d),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,o)};return r.forEach(a=>{a.addEventListener("pointerenter",s,o)}),i}const Yw=(e,t)=>t?e===t?!0:Yw(e,t.parentElement):!1,Df=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,OA=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function jA(e){return OA.has(e.tagName)||e.tabIndex!==-1}const oa=new WeakSet;function sm(e){return t=>{t.key==="Enter"&&e(t)}}function hu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const IA=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=sm(()=>{if(oa.has(n))return;hu(n,"down");const o=sm(()=>{hu(n,"up")}),i=()=>hu(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function am(e){return Df(e)&&!Gw()}function FA(e,t,n={}){const[r,o,i]=Qw(e,n),s=a=>{const l=a.currentTarget;if(!am(a))return;oa.add(l);const u=t(l,a),c=(h,v)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),oa.has(l)&&oa.delete(l),am(h)&&typeof u=="function"&&u(h,{success:v})},d=h=>{c(h,l===window||l===document||n.useGlobalTarget||Yw(l,h.target))},f=h=>{c(h,!1)};window.addEventListener("pointerup",d,o),window.addEventListener("pointercancel",f,o)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,o),RA(a)&&(a.addEventListener("focus",u=>
vendor: 5,126 bytes, line 153
153IA(u,o)),!jA(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),i}function Xw(e){return lw(e)&&"ownerSVGElement"in e}function _A(e){return Xw(e)&&e.tagName==="svg"}const Fe=e=>!!(e&&e.getVelocity),VA=[...Uw,we,rr],zA=e=>VA.find($w(e)),qw=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function BA(e=!0){const t=x.useContext(hf);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,i=x.useId();x.useEffect(()=>{if(e)return o(i)},[e]);const s=x.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,s]:[!0]}const Zw=x.createContext({strict:!1}),lm={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"]},_o={};for(const e in lm)_o[e]={isEnabled:t=>lm[e].some(n=>!!t[n])};function $A(e){for(const t in e)_o[t]={..._o[t],...e[t]}}const UA=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Ua(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||UA.has(e)}let Jw=e=>!Ua(e);function WA(e){typeof e=="function"&&(Jw=t=>t.startsWith("on")?!Ua(t):e(t))}try{WA(require("@emotion/is-prop-valid").default)}catch{}function HA(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(Jw(o)||n===!0&&Ua(o)||!t&&!Ua(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const Sl=x.createContext({});function Tl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Xi(e){return typeof e=="string"||Array.isArray(e)}const Lf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Of=["initial",...Lf];function El(e){return Tl(e.animate)||Of.some(t=>Xi(e[t]))}function ex(e){return!!(El(e)||e.variants)}function KA(e,t){if(El(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Xi(n)?n:void 0,animate:Xi(r)?r:void 0}}return e.inherit!==!1?t:{}}function GA(e){const{initial:t,animate:n}=KA(e,x.useContext(Sl));return x.useMemo(()=>({initial:t,animate:n}),[um(t),um(n)])}function um(e){return Array.isArray(e)?e.join(" "):e}function cm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const si={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(B.test(e))e=parseFloat(e);else return e;const n=cm(e,t.target.x),r=cm(e,t.target.y);return`${n}% ${r}%`}},QA={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=rr.parse(e);if(o.length>5)return r;const i=rr.createTransformer(e),s=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const u=de(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}},Wc={borderRadius:{...si,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:si,borderTopRightRadius:si,borderBottomLeftRadius:si,borderBottomRightRadius:si,boxShadow:QA};function tx(e,{layout:t,layoutId:n}){return Go.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Wc[e]||e==="opacity")}const YA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},XA=Ko.length;function qA(e,t,n){let r="",o=!0;for(let i=0;i<XA;i++){const s=Ko[i],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(s.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const u=Kw(a,Mf[s]);if(!l){o=!1;const c=YA[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function jf(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let s=!1,a=!1;for(const l in t){const u=t[l];if(Go.has(l)){s=!0;continue}else if(Ew(l)){o[l]=u;continue}else{const c=Kw(u,Mf[l]);l.startsWith("origin")?(a=!0,i[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=qA(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=i;r.transformOrigin=`${l} ${u} ${c}`}}const If=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function nx(e,t,n){for(const r in t)!Fe(t[r])&&!tx(r,n)&&(e[r]=t[r])}function ZA({transformTemplate:e},t){return x.useMemo(()=>{const n=If();return jf(n,t,e),Object.assign({},n.vars,n.style)},[t])}function JA(e,t){const n=e.style||{},r={};return nx(r,n,e),Object.assign(r,ZA(e,t)),r}function eR(e,t){const n={},r=JA(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"}
153`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const tR={offset:"stroke-dashoffset",array:"stroke-dasharray"},nR={offset:"strokeDashoffset",array:"strokeDasharray"};function rR(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?tR:nR;e[i.offset]=B.transform(-r);const s=B.transform(t),a=B.transform(n);e[i.array]=`${s} ${a}`}function rx(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:i=1,pathOffset:s=0,...a},l,u,c){if(jf(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),o!==void 0&&rR(d,o,i,s,!1)}const ox=()=>({...If(),attrs:{}}),ix=e=>typeof e=="string"&&e.toLowerCase()==="svg";function oR(e,t,n,r){const o=x.useMemo(()=>{const i=ox();return rx(i,t,ix(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};nx(i,e.style,e),o.style={...i,...o.style}}return o}const iR=["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 Ff(e){return typeof e!="string"||e.includes("-")?!1:!!(iR.indexOf(e)>-1||/[A-Z]/u.test(e))}function sR(e,t,n,{latestValues:r},o,i=!1){const a=(Ff(e)?oR:eR)(t,r,o,e),l=HA(t,typeof e=="string",i),u=e!==x.Fragment?{...l,...a,ref:n}:{},{children:c}=t,d=x.useMemo(()=>Fe(c)?c.get():c,[c]);return x.createElement(e,{...u,children:d})}function dm(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function _f(e,t,n,r){if(typeof t=="function"){const[o,i]=dm(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,i]=dm(r);t=t(n!==void 0?n:e.custom,o,i)}return t}function ia(e){return Fe(e)?e.get():e}function aR({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:lR(n,r,o,e),renderState:t()}}function lR(e,t,n,r){const o={},i=r(e,{});for(const f in i)o[f]=ia(i[f]);let{initial:s,animate:a}=e;const l=El(e),u=ex(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const d=c?a:s;if(d&&typeof d!="boolean"&&!Tl(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h<f.length;h++){const v=_f(e,f[h]);if(v){const{transitionEnd:g,transition:w,...p}=v;for(const m in p){let y=p[m];if(Array.isArray(y)){const S=c?y.length-1:0;y=y[S]}y!==null&&(o[m]=y)}for(const m in g)o[m]=g[m]}}}return o}const sx=e=>(t,n)=>{const r=x.useContext(Sl),o=x.useContext(hf),i=()=>aR(e,t,r,o);return n?i():Uk(i)};function Vf(e,t,n){var i;const{style:r}=e,o={};for(const s in r)(Fe(r[s])||t.style&&Fe(t.style[s])||tx(s,e)||((i=n==null?void 0:n.getValue(s))==null?void 0:i.liveStyle)!==void 0)&&(o[s]=r[s]);return o}const uR=sx({scrapeMotionValuesFromProps:Vf,createRenderState:If});function ax(e,t,n){const r=Vf(e,t,n);for(const o in e)if(Fe(e[o])||Fe(t[o])){const i=Ko.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}const cR=sx({scrapeMotionValuesFromProps:ax,createRenderState:ox}),dR=Symbol.for("motionComponentSymbol");function io(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function fR(e,t,n){return x.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):io(n)&&(n.current=r))},[t])}const zf=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),hR="framerAppearId",lx="data-"+zf(hR),ux=x.createContext({});function pR(e,t,n,r,o){var g,w;const{visualElement:i}=x.useContext(Sl),s=x.useContext(Zw),a=x.useContext(hf),l=x.useContext(qw).reducedMotion,u=x.useRef(null);r=r||s.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:i,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:l}));const c=u.current,d=x.useContext(ux);c&&!c.projection&&o&&(c.type==="html"||c.type==="svg")&&mR(u.current,n,o,d);const f=x.useRef(!1);x.useInsertionEffect(()=>{c&&f.current&&c.update(n,a)});const h=n[lx],v=x.useRef(!!h&&!((g=window.MotionHandoffIsComplete)!=null&&g.call(window,h))&&((w=window.MotionHasOptimisedAnimation)==null?void 0:w.call(window,h)));return Wk(()=>{c&&(f.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),c.scheduleRenderMicrotask(),v.current&&c.animationState&&c.animationState.animateChanges())}),x.useEffect(()=>{c&&(!v.current&&c.animationState&&c.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var p;(p=window.MotionHandoffMarkAsComplete)==null||p.call(window,h)}),v.current=!1),c.enteringChildren=void 0)}),c}function mR(e,t,n,r){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:cx(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&io(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}function cx(e){if(e)return e.options.allowProjection!==!1?e.projection:cx(e.parent)}function pu(e,{forwardMotionProps:t=!1}={}
vendor: 16,318 bytes, line 153
153,n,r){n&&$A(n);const o=Ff(e)?cR:uR;function i(a,l){let u;const c={...x.useContext(qw),...a,layoutId:gR(a)},{isStatic:d}=c,f=GA(a),h=o(a,d);if(!d&&ff){yR();const v=vR(c);u=v.MeasureLayout,f.visualElement=pR(e,h,c,r,v.ProjectionNode)}return E.jsxs(Sl.Provider,{value:f,children:[u&&f.visualElement?E.jsx(u,{visualElement:f.visualElement,...c}):null,sR(e,a,fR(h,f.visualElement,l),h,d,t)]})}i.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=x.forwardRef(i);return s[dR]=e,s}function gR({layoutId:e}){const t=x.useContext(sw).id;return t&&e!==void 0?t+"-"+e:e}function yR(e,t){x.useContext(Zw).strict}function vR(e){const{drag:t,layout:n}=_o;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function wR(e,t){if(typeof Proxy>"u")return pu;const n=new Map,r=(i,s)=>pu(i,s,e,t),o=(i,s)=>r(i,s);return new Proxy(o,{get:(i,s)=>s==="create"?r:(n.has(s)||n.set(s,pu(s,void 0,e,t)),n.get(s))})}function dx({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function xR({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function SR(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 mu(e){return e===void 0||e===1}function Hc({scale:e,scaleX:t,scaleY:n}){return!mu(e)||!mu(t)||!mu(n)}function mr(e){return Hc(e)||fx(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function fx(e){return fm(e.x)||fm(e.y)}function fm(e){return e&&e!=="0%"}function Wa(e,t,n){const r=e-n,o=t*r;return n+o}function hm(e,t,n,r,o){return o!==void 0&&(e=Wa(e,o,r)),Wa(e,n,r)+t}function Kc(e,t=0,n=1,r,o){e.min=hm(e.min,t,n,r,o),e.max=hm(e.max,t,n,r,o)}function hx(e,{x:t,y:n}){Kc(e.x,t.translate,t.scale,t.originPoint),Kc(e.y,n.translate,n.scale,n.originPoint)}const pm=.999999999999,mm=1.0000000000001;function TR(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;a<o;a++){i=n[a],s=i.projectionDelta;const{visualElement:l}=i.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&ao(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,hx(e,s)),r&&mr(i.latestValues)&&ao(e,i.latestValues))}t.x<mm&&t.x>pm&&(t.x=1),t.y<mm&&t.y>pm&&(t.y=1)}function so(e,t){e.min=e.min+t,e.max=e.max+t}function gm(e,t,n,r,o=.5){const i=de(e.min,e.max,o);Kc(e,t,n,i,r)}function ao(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 px(e,t){return dx(SR(e.getBoundingClientRect(),t))}function ER(e,t,n){const r=px(e,n),{scroll:o}=t;return o&&(so(r.x,o.offset.x),so(r.y,o.offset.y)),r}const ym=()=>({translate:0,scale:1,origin:0,originPoint:0}),lo=()=>({x:ym(),y:ym()}),vm=()=>({min:0,max:0}),Se=()=>({x:vm(),y:vm()}),Gc={current:null},mx={current:!1};function CR(){if(mx.current=!0,!!ff)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Gc.current=e.matches;e.addEventListener("change",t),t()}else Gc.current=!1}const PR=new WeakMap;function bR(e,t,n){for(const r in t){const o=t[r],i=n[r];if(Fe(o))e.addValue(r,o);else if(Fe(i))e.addValue(r,Fo(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{const s=e.getStaticValue(r);e.addValue(r,Fo(s!==void 0?s:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const wm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class kR{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Af,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=Ye.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,ue.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=El(n),this.isVariantNode=ex(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const h=d[f];l[f]!==void 0&&Fe(h)&&h.set(l[f])}}mount(t){var n;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((r,o)=>this.bindToMotionValue(o,r)),mx.current||CR(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Gc.current,(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),nr(this.notifyUpdate),nr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Go.has(t);r&&this.onBindTransform&&this.onBindTransform();const o=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ue.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i&&i(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in _o){const n=_o[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Se()}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<wm.length;r++){const o=wm[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const i="on"+o,s=t[i];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=bR(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=Fo(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"&&(aw(r)||uw(r))?r=parseFloat(r):!zA(r)&&rr.test(n)&&(r=Hw(t,n)),this.setBaseTarget(t,Fe(r)?r.get():r)),Fe(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=_f(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Fe(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new yf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Nf.render(this.render)}}class gx extends kR{constructor(){super(...arguments),this.KeyframeResolver=kA}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Fe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function yx(e,{style:t,vars:n},r,o){const i=e.style;let s;for(s in t)i[s]=t[s];o==null||o.applyProjectionStyles(i,r);for(s in n)i.setProperty(s,n[s])}function AR(e){return window.getComputedStyle(e)}class RR extends gx{constructor(){super(...arguments),this.type="html",this.renderInstance=yx}readValueFromInstance(t,n){var r;if(Go.has(n))return(r=this.projection)!=null&&r.isProjecting?Fc(n):K2(t,n);{const o=AR(t),i=(Ew(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return px(t,n)}build(t,n,r){jf(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Vf(t,n,r)}}const vx=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function MR(e,t,n,r){yx(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(vx.has(o)?o:zf(o),t.attrs[o])}class NR extends gx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Se}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Go.has(n)){const r=Ww(n);return r&&r.default||0}return n=vx.has(n)?n:zf(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return ax(t,n,r)}build(t,n,r){rx(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,o){MR(t,n,r,o)}mount(t){this.isSVGTag=ix(t.tagName),super.mount(t)}}const DR=(e,t)=>Ff(e)?new NR(t):new RR(t,{allowProjection:e!==x.Fragment});function wo(e,t,n){const r=e.getProps();return _f(r,t,n!==void 0?n:r.custom,e)}const Qc=e=>Array.isArray(e);function LR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Fo(n))}function OR(e){return Qc(e)?e[e.length-1]||0:e}function jR(e,t){const n=wo(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const s in i){const a=OR(i[s]);LR(e,s,a)}}function IR(e){return!!(Fe(e)&&e.add)}function Yc(e,t){const n=e.getValue("willChange");if(IR(n))return n.add(t);if(!n&&yn.WillChange){const r=new yn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function wx(e){return e.props[lx]}const FR=e=>e!==null;function _R(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(FR),i=t&&n!=="loop"&&t%2===1?0:o.length-1;return!i||r===void 0?o[i]:r}const VR={type:"spring",stiffness:500,damping:25,restSpeed:10},zR=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),BR={type:"keyframes",duration:.8},$R={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},UR=(e,{keyframes:t})=>t.length>2?BR:Go.has(e)?e.startsWith("scale")?zR(t[1]):VR:$R;function WR({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const Bf=(e,t,n,r={},o,i)=>s=>{const a=Rf(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-qt(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};WR(a)||Object.assign(c,UR(e,c)),c.duration&&(c.duration=qt(c.duration)),c.repeatDelay&&(c.repeatDelay=qt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&($c(c),c.delay===0&&(d=!0)),(yn.instantAnimations||yn.skipAnimations)&&(d=!0,$c(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!i&&t.get()!==void 0){const f=_R(c.keyframes,a);if(f!==void 0){ue.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new kf(c):new mA(c)};function HR({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function xx(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:s,...a}=t;r&&(i=r);const l=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const c in a){const d=e.getValue(c,e.latestValues[c]??null),f=a[c];if(f===void 0||u&&HR(u,c))continue;const h={delay:n,...Rf(i||{},c)},v=d.get();if(v!==void 0&&!d.isAnimating&&!Array.isArray(f)&&f===v&&!h.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const p=wx(e);if(p){const m=window.MotionHandoffAnimation(p,c,ue);m!==null&&(h.startTime=m,g=!0)}}Yc(e,c),d.start(Bf(c,d,f,e.shouldReduceMotion&&Bw.has(c)?{type:!1}:h,e,g));const w=d.animation;w&&l.push(w)}return s&&Promise.all(l).then(()=>{ue.update(()=>{s&&jR(e,s)})}),l}function Sx(e,t,n,r=0,o=1){const i=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),s=e.size,a=(s-1)*r;return typeof n=="function"?n(i,s):o===1?i*r:a-i*r}function Xc(e,t,n={}){var l;const r=wo(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(xx(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=o;return KR(e,t,u,c,d,f,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[u,c]=a==="beforeChildren"?[i,s]:[s,i];return u().then(()=>c())}else return Promise.all([i(),s(n.delay)])}function KR(e,t,n=0,r=0,o=0,i=1,s){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(Xc(l,t,{...s,delay:n+(typeof r=="function"?0:r)+Sx(e.variantChildren,l,r,o,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function GR(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>Xc(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=Xc(e,t,n);else{const o=typeof t=="function"?wo(e,t,n.custom):t;r=Promise.all(xx(e,o,n))}return r.then(()=>
vendor: 21,846 bytes, line 153
153{e.notify("AnimationComplete",t)})}function Tx(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 QR=Of.length;function Ex(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Ex(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<QR;n++){const r=Of[n],o=e.props[r];(Xi(o)||o===!1)&&(t[r]=o)}return t}const YR=[...Lf].reverse(),XR=Lf.length;function qR(e){return t=>Promise.all(t.map(({animation:n,options:r})=>GR(e,n,r)))}function ZR(e){let t=qR(e),n=xm(),r=!0;const o=l=>(u,c)=>{var f;const d=wo(e,c,l==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(d){const{transition:h,transitionEnd:v,...g}=d;u={...u,...g,...v}}return u};function i(l){t=l(e)}function s(l){const{props:u}=e,c=Ex(e.parent)||{},d=[],f=new Set;let h={},v=1/0;for(let w=0;w<XR;w++){const p=YR[w],m=n[p],y=u[p]!==void 0?u[p]:c[p],S=Xi(y),T=p===l?m.isActive:null;T===!1&&(v=w);let C=y===c[p]&&y!==u[p]&&S;if(C&&r&&e.manuallyAnimateOnMount&&(C=!1),m.protectedKeys={...h},!m.isActive&&T===null||!y&&!m.prevProp||Tl(y)||typeof y=="boolean")continue;const P=JR(m.prevProp,y);let b=P||p===l&&m.isActive&&!C&&S||w>v&&S,D=!1;const N=Array.isArray(y)?y:[y];let V=N.reduce(o(p),{});T===!1&&(V={});const{prevResolvedValues:I={}}=m,G={...I,...V},O=_=>{b=!0,f.has(_)&&(D=!0,f.delete(_)),m.needsAnimating[_]=!0;const k=e.getValue(_);k&&(k.liveStyle=!1)};for(const _ in G){const k=V[_],R=I[_];if(h.hasOwnProperty(_))continue;let j=!1;Qc(k)&&Qc(R)?j=!Tx(k,R):j=k!==R,j?k!=null?O(_):f.add(_):k!==void 0&&f.has(_)?O(_):m.protectedKeys[_]=!0}m.prevProp=y,m.prevResolvedValues=V,m.isActive&&(h={...h,...V}),r&&e.blockInitialAnimation&&(b=!1);const Q=C&&P;b&&(!Q||D)&&d.push(...N.map(_=>{const k={type:p};if(typeof _=="string"&&r&&!Q&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,j=wo(R,_);if(R.enteringChildren&&j){const{delayChildren:U}=j.transition||{};k.delay=Sx(R.enteringChildren,e,U)}}return{animation:_,options:k}}))}if(f.size){const w={};if(typeof u.initial!="boolean"){const p=wo(e,Array.isArray(u.initial)?u.initial[0]:u.initial);p&&p.transition&&(w.transition=p.transition)}f.forEach(p=>{const m=e.getBaseTarget(p),y=e.getValue(p);y&&(y.liveStyle=!0),w[p]=m??null}),d.push({animation:w})}let g=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(d):Promise.resolve()}function a(l,u){var d;if(n[l].isActive===u)return Promise.resolve();(d=e.variantChildren)==null||d.forEach(f=>{var h;return(h=f.animationState)==null?void 0:h.setActive(l,u)}),n[l].isActive=u;const c=s(l);for(const f in n)n[f].protectedKeys={};return c}return{animateChanges:s,setActive:a,setAnimateFunction:i,getState:()=>n,reset:()=>{n=xm()}}}function JR(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Tx(t,e):!1}function fr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function xm(){return{animate:fr(!0),whileInView:fr(),whileHover:fr(),whileTap:fr(),whileDrag:fr(),whileFocus:fr(),exit:fr()}}class lr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class eM extends lr{constructor(t){super(t),t.animationState||(t.animationState=ZR(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Tl(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 tM=0;class nM extends lr{constructor(){super(...arguments),this.id=tM++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const rM={animation:{Feature:eM},exit:{Feature:nM}};function qi(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function fs(e){return{point:{x:e.pageX,y:e.pageY}}}const oM=e=>t=>Df(t)&&e(t,fs(t));function Ci(e,t,n,r){return qi(e,t,oM(n),r)}const Cx=1e-4,iM=1-Cx,sM=1+Cx,Px=.01,aM=0-Px,lM=0+Px;function $e(e){return e.max-e.min}function uM(e,t,n){return Math.abs(e-t)<=n}function Sm(e,t,n,r=.5){e.origin=r,e.originPoint=de(t.min,t.max,e.origin),e.scale=$e(n)/$e(t),e.translate=de(n.min,n.max,e.origin)-e.originPoint,(e.scale>=iM&&e.scale<=sM||isNaN(e.scale))&&(e.scale=1),(e.translate>=aM&&e.translate<=lM||isNaN(e.translate))&&(e.translate=0)}function Pi(e,t,n,r){Sm(e.x,t.x,n.x,r?r.originX:void 0),Sm(e.y,t.y,n.y,r?r.originY:void 0)}function Tm(e,t,n){e.min=n.min+t.min,e.max=e.min+$e(t)}function cM(e,t,n){Tm(e.x,t.x,n.x),Tm(e.y,t.y,n.y)}function Em(e,t,n){e.min=t.min-n.min,e.max=e.min+$e(t)}function Ha(e,t,n){Em(e.x,t.x,n.x),Em(e.y,t.y,n.y)}function dt(e){return[e("x"),e("y")]}const bx=({current:e})=>e?e.ownerDocument.defaultView:null,Cm=(e,t)=>Math.abs(e-t);function dM(e,t){const n=Cm(e.x,t.x),r=Cm(e.y,t.y);return Math.sqrt(n**2+r**2)}class kx{constructor(t,n,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:i=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=yu(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,v=dM(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!h&&!v)return;const{point:g}=f,{timestamp:w}=Ae;this.history.push({...g,timestamp:w});const{onStart:p,onMove:m}=this.handlers;h||(p&&p(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,f)},this.handlePointerMove=(f,h)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=gu(h,this.transformPagePoint),ue.update(this.updatePoint,!0)},this.handlePointerUp=(f,h)=>{this.end();const{onEnd:v,onSessionEnd:g,resumeAnimation:w}=this.handlers;if(this.dragSnapToOrigin&&w&&w(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=yu(f.type==="pointercancel"?this.lastMoveEventInfo:gu(h,this.transformPagePoint),this.history);this.startEvent&&v&&v(f,p),g&&g(f,p)},!Df(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=o||window;const a=fs(t),l=gu(a,this.transformPagePoint),{point:u}=l,{timestamp:c}=Ae;this.history=[{...u,timestamp:c}];const{onSessionStart:d}=n;d&&d(t,yu(l,this.history)),this.removeListeners=us(Ci(this.contextWindow,"pointermove",this.handlePointerMove),Ci(this.contextWindow,"pointerup",this.handlePointerUp),Ci(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),nr(this.updatePoint)}}function gu(e,t){return t?{point:t(e.point)}:e}function Pm(e,t){return{x:e.x-t.x,y:e.y-t.y}}function yu({point:e},t){return{point:e,delta:Pm(e,Ax(t)),offset:Pm(e,fM(t)),velocity:hM(t,.1)}}function fM(e){return e[0]}function Ax(e){return e[e.length-1]}function hM(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Ax(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>qt(t)));)n--;if(!r)return{x:0,y:0};const i=yt(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function pM(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?de(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?de(n,e,r.max):Math.min(e,n)),e}function bm(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 mM(e,{top:t,left:n,bottom:r,right:o}){return{x:bm(e.x,n,o),y:bm(e.y,t,r)}}function km(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 gM(e,t){return{x:km(e.x,t.x),y:km(e.y,t.y)}}function yM(e,t){let n=.5;const r=$e(e),o=$e(t);return o>r?n=Gi(t.min,t.max-r,e.min):r>o&&(n=Gi(e.min,e.max-o,t.min)),gn(0,1,n)}function vM(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 qc=.35;function wM(e=qc){return e===!1?e=0:e===!0&&(e=qc),{x:Am(e,"left","right"),y:Am(e,"top","bottom")}}function Am(e,t,n){return{min:Rm(e,t),max:Rm(e,n)}}function Rm(e,t){return typeof e=="number"?e:e[t]||0}const xM=new WeakMap;class SM{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=Se(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const i=d=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(fs(d).point)},s=(d,f)=>{const{drag:h,dragPropagation:v,onDragStart:g}=this.getProps();if(h&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=DA(h),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),dt(p=>{let m=this.getAxisMotionValue(p).get()||0;if(Zt.test(m)){const{projection:y}=this.visualElement;if(y&&y.layout){const S=y.layout.layoutBox[p];S&&(m=$e(S)*(parseFloat(m)/100))}}this.originPoint[p]=m}),g&&ue.postRender(()=>g(d,f)),Yc(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:h,dragDirectionLock:v,onDirectionLock:g,onDrag:w}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:p}=f;if(v&&this.currentDirection===null){this.currentDirection=TM(p),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",f.point,p),this.updateAxis("y",f.point,p),this.visualElement.render(),w&&w(d,f)},l=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f,this.stop(d,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>dt(d=>{var f;return this.getAnimationState(d)==="paused"&&((f=this.getAxisMotionValue(d).animation)==null?void 0:f.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new kx(t,{onSessionStart:i,onStart:s,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:bx(this.visualElement)})}stop(t,n){const r=t||this.latestPointerEvent,o=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!o||!r)return;const{velocity:s}=o;this.startAnimation(s);const{onDragEnd:a}=this.getProps();a&&ue.postRender(()=>a(r,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Bs(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=pM(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var i;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)==null?void 0:i.layout,o=this.constraints;t&&io(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=mM(r.layoutBox,t):this.constraints=!1,this.elastic=wM(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&dt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=vM(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!io(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=ER(r,o.root,this.visualElement.getTransformPagePoint());let s=gM(o.layout.layoutBox,i);if(n){const a=n(xR(s));this.hasMutatedConstraints=!!a,a&&(s=dx(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=dt(c=>{if(!Bs(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const f=o?200:1e6,h=o?40:1e7,v={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,v)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Yc(this.visualElement,t),r.start(Bf(t,r,0,n,this.visualElement,!1))}stopAnimation(){dt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){dt(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){dt(n=>{const{drag:r}=this.getProps();if(!Bs(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:s,max:a}=o.layout.layoutBox[n];i.set(t[n]-de(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!io(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};dt(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();o[s]=yM({min:l,max:l},this.constraints[s])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),dt(s=>{if(!Bs(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(de(l,u,o[s]))})}addListeners(){if(!this.visualElement.current)return;xM.set(this.visualElement,this);const t=this.visualElement.current,n=Ci(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();io(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),ue.read(r);const s=qi(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(dt(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),i(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=qc,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}}function Bs(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function TM(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class EM extends lr{constructor(t){super(t),this.removeGroupControls=wt,this.removeListeners=wt,this.controls=new SM(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||wt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Mm=e=>(t,n)=>{e&&ue.postRender(()=>e(t,n))};class CM extends lr{constructor(){super(...arguments),this.removePointerDownListener=wt}onPointerDown(t){this.session=new kx(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:bx(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Mm(t),onStart:Mm(n),onMove:r,onEnd:(i,s)=>{delete this.session,o&&ue.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=Ci(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const sa={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let vu=!1;class PM extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),vu&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),sa.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,{projection:s}=r;return s&&(s.isPresent=i,vu=!0,o||t.layoutDependency!==n||n===void 0||t.isPresent!==i?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||ue.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Nf.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;vu=!0,o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Rx(e){const[t,n]=BA(),r=x.useContext(sw);return E.jsx(PM,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(ux),isPresent:t,safeToRemove:n})}function bM(e,t,n){const r=Fe(e)?e:Fo(e);return r.start(Bf("",r,t,n)),r.animation}const kM=(e,t)=>e.depth-t.depth;class AM{constructor(){this.children=[],this.isDirty=!1}add(t){pf(this.children,t),this.isDirty=!0}remove(t){mf(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(kM),this.isDirty=!1,this.children.forEach(t)}}function RM(e,t){const n=Ye.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(nr(r),e(i-t))};return ue.setup(r,!0),()=>nr(r)}const Mx=["TopLeft","TopRight","BottomLeft","BottomRight"],MM=Mx.length,Nm=e=>typeof e=="string"?parseFloat(e):e,Dm=e=>typeof e=="number"||B.test(e);function NM(e,t,n,r,o,i){o?(e.opacity=de(0,n.opacity??1,DM(r)),e.opacityExit=de(t.opacity??1,0,LM(r))):i&&(e.opacity=de(t.opacity??1,n.opacity??1,r));for(let s=0;s<MM;s++){const a=`border${Mx[s]}Radius`;let l=Lm(t,a),u=Lm(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Dm(l)===Dm(u)?(e[a]=Math.max(de(Nm(l),Nm(u),r),0),(Zt.test(u)||Zt.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=de(t.rotate||0,n.rotate||0,r))}function Lm(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const DM=Nx(0,.5,yw),LM=Nx(.5,.95,wt);function Nx(e,t,n){return r=>r<e?0:r>t?1:n(Gi(e,t,r))}function Om(e,t){e.min=t.min,e.max=t.max}function kt(e,t){Om(e.x,t.x),Om(e.y,t.y)}function jm(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Im(e,t,n,r,o){return e-=t,e=Wa(e,1/n,r),o!==void 0&&(e=Wa(e,1/o,r)),e}function OM(e,t=0,n=1,r=.5,o,i=e,s=e){if(Zt.test(t)&&(t=parseFloat(t),t=de(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=de(i.min,i.max,r);e===i&&(a-=t),e.min=Im(e.min,t,n,a,o),e.max=Im(e.max,t,n,a,o)}function Fm(e,t,[n,r,o],i,s){OM(e,t[n],t[r],t[o],t.scale,i,s)}const jM=["x","scaleX","originX"],IM=["y","scaleY","originY"];function _m(e,t,n,r){Fm(e.x,t,jM,n?n.x:void 0,r?r.x:void 0),Fm(e.y,t,IM,n?n.y:void 0,r?r.y:void 0)}function Vm(e){return e.translate===0&&e.scale===1}function Dx(e){return Vm(e.x)&&Vm(e.y)}function zm(e,t){return e.min===t.min&&e.max===t.max}function FM(e,t){return zm(e.x,t.x)&&zm(e.y,t.y)}function Bm(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Lx(e,t){return Bm(e.x,t.x)&&Bm(e.y,t.y)}function $m(e){return $e(e.x)/$e(e.y)}function Um(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class _M{constructor(){this.members=[]}add(t){pf(this.members,t),t.scheduleRender()}remove(t){if(mf(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const i=this.members[o];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),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:o}=t.options;o===!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)}}
vendor: 12,491 bytes, line 153
153function VM(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:v}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),h&&(r+=`skewX(${h}deg) `),v&&(r+=`skewY(${v}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 wu=["","X","Y","Z"],zM=1e3;let BM=0;function xu(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Ox(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=wx(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ue,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Ox(r)}function jx({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=BM++,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(WM),this.nodes.forEach(QM),this.nodes.forEach(YM),this.nodes.forEach(HM)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new AM)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new yf),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){const l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=Xw(s)&&!_A(s),this.instance=s;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c,d=0;const f=()=>this.root.updateBlockedByResize=!1;ue.read(()=>{d=window.innerWidth}),e(s,()=>{const h=window.innerWidth;h!==d&&(d=h,this.root.updateBlockedByResize=!0,c&&c(),c=RM(f,250),sa.hasAnimatedSinceResize&&(sa.hasAnimatedSinceResize=!1,this.nodes.forEach(Km)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||eN,{onLayoutAnimationStart:g,onLayoutAnimationComplete:w}=u.getProps(),p=!this.targetLayout||!Lx(this.targetLayout,h),m=!d&&f;if(this.options.layoutRoot||this.resumeFrom||m||d&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...Rf(v,"layout"),onPlay:g,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(c,m)}else d||Km(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),nr(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(XM),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ox(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Wm);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Hm);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(GM),this.nodes.forEach($M),this.nodes.forEach(UM)):this.nodes.forEach(Hm),this.clearAllSnapshots();const a=Ye.now();Ae.delta=gn(0,1e3/60,a-Ae.timestamp),Ae.timestamp=a,Ae.isProcessing=!0,lu.update.process(Ae),lu.preRender.process(Ae),lu.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Nf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(KM),this.sharedNodes.forEach(qM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ue.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ue.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!$e(this.snapshot.measuredBox.x)&&!$e(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Se(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!Dx(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&this.instance&&(a||mr(this.latestValues)||c)&&(o(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),tN(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:s}=this.options;if(!s)return Se();const a=s.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(nN))){const{scroll:c}=this.root;c&&(so(a.x,c.offset.x),so(a.y,c.offset.y))}return a}removeElementScroll(s){var l;const a=Se();if(kt(a,s),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:d,options:f}=c;c!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&kt(a,s),so(a.x,d.offset.x),so(a.y,d.offset.y))}return a}applyTransform(s,a=!1){const l=Se();kt(l,s);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&ao(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),mr(c.latestValues)&&ao(l,c.latestValues)}return mr(this.latestValues)&&ao(l,this.latestValues),l}removeTransform(s){const a=Se();kt(a,s);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!mr(u.latestValues))continue;Hc(u.latestValues)&&u.updateSnapshot();const c=Se(),d=u.measurePageBox();kt(c,d),_m(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return mr(this.latestValues)&&_m(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var h;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(h=this.parent)!=null&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:d}=this.options;if(!this.layout||!(c||d))return;this.resolvedRelativeTargetAt=Ae.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Se(),this.targetWithTransforms=Se()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),cM(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):kt(this.target,this.layout.layoutBox),hx(this.target,this.targetDelta)):kt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Hc(this.parent.latestValues)||fx(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(s,a,l){this.relativeParent=s,this.linkedParentVersion=s.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Se(),this.relativeTargetOrigin=Se(),Ha(this.relativeTargetOrigin,a,l),kt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var v;const s=this.getLead(),a=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty)&&
vendor: 5,271 bytes, line 153
153(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;kt(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;TR(this.layoutCorrected,this.treeScale,this.path,a),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=Se());const{target:h}=s;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(jm(this.prevProjectionDelta.x,this.projectionDelta.x),jm(this.prevProjectionDelta.y,this.projectionDelta.y)),Pi(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!Um(this.projectionDelta.x,this.prevProjectionDelta.x)||!Um(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),s){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=lo(),this.projectionDelta=lo(),this.projectionDeltaWithTransform=lo()}setAnimationOrigin(s,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=lo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=Se(),h=l?l.source:void 0,v=this.layout?this.layout.source:void 0,g=h!==v,w=this.getStack(),p=!w||w.members.length<=1,m=!!(g&&!p&&this.options.crossfade===!0&&!this.path.some(JM));this.animationProgress=0;let y;this.mixTargetDelta=S=>{const T=S/1e3;Gm(d.x,s.x,T),Gm(d.y,s.y,T),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ha(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),ZM(this.relativeTarget,this.relativeTargetOrigin,f,T),y&&FM(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=Se()),kt(y,this.relativeTarget)),g&&(this.animationValues=c,NM(c,u,this.latestValues,T,m,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(nr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ue.update(()=>{sa.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Fo(0)),this.currentAnimation=bM(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),s.onUpdate&&s.onUpdate(c)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(zM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&Ix(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Se();const d=$e(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=$e(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}kt(a,l),ao(a,c),Pi(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new _M),this.sharedNodes.get(s).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}
vendor: 4,211 bytes, line 153
153resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&xu("z",s,u,this.animationValues);for(let c=0;c<wu.length;c++)xu(`rotate${wu[c]}`,s,u,this.animationValues),xu(`skew${wu[c]}`,s,u,this.animationValues);s.render();for(const c in u)s.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);s.scheduleRender()}applyProjectionStyles(s,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=ia(a==null?void 0:a.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=ia(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!mr(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=VM(this.projectionDeltaWithTransform,this.treeScale,c);l&&(d=l(c,d)),s.transform=d;const{x:f,y:h}=this.projectionDelta;s.transformOrigin=`${f.origin*100}% ${h.origin*100}% 0`,u.animationValues?s.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:s.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const v in Wc){if(c[v]===void 0)continue;const{correct:g,applyTo:w,isCSSVariable:p}=Wc[v],m=d==="none"?c[v]:g(c[v],u);if(w){const y=w.length;for(let S=0;S<y;S++)s[w[S]]=m}else p?this.options.visualElement.renderState.vars[v]=m:s[v]=m}this.options.layoutId&&(s.pointerEvents=u===this?ia(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(Wm),this.root.sharedNodes.clear()}}}function $M(e){e.updateLayout()}function UM(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:i}=e.options,s=t.source!==e.layout.source;i==="size"?dt(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],h=$e(f);f.min=r[d].min,f.max=f.min+h}):Ix(i,t.layoutBox,r)&&dt(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],h=$e(r[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const a=lo();Pi(a,r,t.layoutBox);const l=lo();s?Pi(l,e.applyTransform(o,!0),t.measuredBox):Pi(l,r,t.layoutBox);const u=!Dx(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const v=Se();Ha(v,t.layoutBox,f.layoutBox);const g=Se();Ha(g,r,h.layoutBox),Lx(v,g)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function WM(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 HM(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function KM(e){e.clearSnapshot()}function Wm(e){e.clearMeasurements()}function Hm(e){e.isLayoutDirty=!1}function GM(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Km(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function QM(e){e.resolveTargetDelta()}function YM(e){e.calcProjection()}
vendor: 5,178 bytes, line 153
153function XM(e){e.resetSkewAndRotation()}function qM(e){e.removeLeadSnapshot()}function Gm(e,t,n){e.translate=de(t.translate,0,n),e.scale=de(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Qm(e,t,n,r){e.min=de(t.min,n.min,r),e.max=de(t.max,n.max,r)}function ZM(e,t,n,r){Qm(e.x,t.x,n.x,r),Qm(e.y,t.y,n.y,r)}function JM(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const eN={duration:.45,ease:[.4,0,.1,1]},Ym=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Xm=Ym("applewebkit/")&&!Ym("chrome/")?Math.round:wt;function qm(e){e.min=Xm(e.min),e.max=Xm(e.max)}function tN(e){qm(e.x),qm(e.y)}function Ix(e,t,n){return e==="position"||e==="preserve-aspect"&&!uM($m(t),$m(n),.2)}function nN(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const rN=jx({attachResizeListener:(e,t)=>qi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Su={current:void 0},Fx=jx({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Su.current){const e=new rN({});e.mount(window),e.setOptions({layoutScroll:!0}),Su.current=e}return Su.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),oN={pan:{Feature:CM},drag:{Feature:EM,ProjectionNode:Fx,MeasureLayout:Rx}};function Zm(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,i=r[o];i&&ue.postRender(()=>i(t,fs(t)))}class iN extends lr{mount(){const{current:t}=this.node;t&&(this.unmount=LA(t,(n,r)=>(Zm(this.node,r,"Start"),o=>Zm(this.node,o,"End"))))}unmount(){}}class sN extends lr{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=us(qi(this.node.current,"focus",()=>this.onFocus()),qi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Jm(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),i=r[o];i&&ue.postRender(()=>i(t,fs(t)))}class aN extends lr{mount(){const{current:t}=this.node;t&&(this.unmount=FA(t,(n,r)=>(Jm(this.node,r,"Start"),(o,{success:i})=>Jm(this.node,o,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Zc=new WeakMap,Tu=new WeakMap,lN=e=>{const t=Zc.get(e.target);t&&t(e)},uN=e=>{e.forEach(lN)};function cN({root:e,...t}){const n=e||document;Tu.has(n)||Tu.set(n,{});const r=Tu.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(uN,{root:e,...t})),r[o]}function dN(e,t,n){const r=cN(t);return Zc.set(e,n),r.observe(e),()=>{Zc.delete(e),r.unobserve(e)}}const fN={some:0,all:1};class hN extends lr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:fN[o]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return dN(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(pN(t,n))&&this.startObserver()}unmount(){}}function pN({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const mN={inView:{Feature:hN},tap:{Feature:aN},focus:{Feature:sN},hover:{Feature:iN}},gN={layout:{ProjectionNode:Fx,MeasureLayout:Rx}},yN={...rM,...mN,...oN,...gN},mt=wR(yN,DR),vN=t0("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-semibold ring-offset-background transition-all duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 font-body uppercase tracking-wider",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",hero:"bg-primary text-primary-foreground hover:bg-primary/80 shadow-lg hover:shadow-
153primary/50 animate-pulse-glow",heroOutline:"border-2 border-foreground bg-transparent text-foreground hover:bg-foreground hover:text-background",cta:"bg-primary text-primary-foreground hover:bg-primary/80 shadow-xl hover:shadow-2xl hover:shadow-primary/40 transform hover:scale-105"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",xl:"h-14 px-10 text-lg",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Zi=x.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?bT:"button";return E.jsx(s,{className:ar(vN({variant:t,size:n,className:e})),ref:i,...o})});Zi.displayName="Button";const wN="/assets/ktm-hero-CPztOpyT.jpg",eg="https://www.ktm.com/de-at/models/motocross/4-takt/2026-ktm-450-sx-f.html",xN=()=>E.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[E.jsxs("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:`url(${wN})`},children:[E.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-background via-background/80 to-transparent"}),E.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-transparent to-transparent"})]}),E.jsx("div",{className:"relative z-10 container mx-auto px-4 py-20",children:E.jsxs("div",{className:"max-w-3xl",children:[E.jsx(mt.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},children:E.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-primary/20 border border-primary/40 rounded-full text-primary font-body text-sm tracking-wider uppercase mb-6",children:[E.jsx(DE,{className:"w-4 h-4"}),"2026 Factory Edition"]})}),E.jsxs(mt.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},className:"font-display text-6xl md:text-8xl lg:text-9xl text-foreground leading-none mb-4",children:["KTM 450",E.jsx("br",{}),E.jsx("span",{className:"text-primary",children:"SX-F"})]}),E.jsx(mt.p,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},className:"font-body text-lg md:text-xl text-muted-foreground max-w-xl mb-8",children:"The most advanced motocross machine ever built. Race-proven technology engineered for those who demand absolute victory."}),E.jsxs(mt.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:.5},className:"flex flex-col sm:flex-row gap-4",children:[E.jsx("a",{href:eg,target:"_blank",rel:"noopener noreferrer",children:E.jsxs(Zi,{variant:"hero",size:"xl",className:"group",children:["Explore Now",E.jsx(r0,{className:"w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),E.jsx("a",{href:eg,target:"_blank",rel:"noopener noreferrer",children:E.jsx(Zi,{variant:"heroOutline",size:"xl",children:"View Specs"})})]})]})}),E.jsx(mt.div,{initial:{opacity:0}
153,animate:{opacity:1},transition:{duration:1,delay:.8},className:"absolute bottom-8 left-1/2 transform -translate-x-1/2",children:E.jsxs("div",{className:"flex flex-col items-center gap-2 text-muted-foreground",children:[E.jsx("span",{className:"font-body text-xs uppercase tracking-widest",children:"Scroll to discover"}),E.jsx("div",{className:"w-px h-12 bg-gradient-to-b from-primary to-transparent"})]})})]}),SN=[{icon:CE,value:"63",unit:"HP",label:"Maximum Power"},{icon:RE,value:"100.5",unit:"KG",label:"Dry Weight"},{icon:EE,value:"449",unit:"CC",label:"Engine Displacement"},{icon:bE,value:"EFI",unit:"",label:"Fuel Injection System"}],TN=()=>E.jsx("section",{className:"py-24 bg-secondary",children:E.jsxs("div",{className:"container mx-auto px-4",children:[E.jsxs(mt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"text-center mb-16",children:[E.jsxs("h2",{className:"font-display text-5xl md:text-6xl text-foreground mb-4",children:["Pure ",E.jsx("span",{className:"text-primary",children:"Performance"})]}),E.jsx("p",{className:"font-body text-muted-foreground max-w-2xl mx-auto",children:"Every component engineered for one purpose: domination on the track."})]}),E.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:SN.map((e,t)=>E.jsxs(mt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:t*.1},viewport:{once:!0},className:"bg-card border border-border rounded-lg p-6 text-center group hover:border-primary/50 transition-colors duration-300",children:[E.jsx("div",{className:"inline-flex items-center justify-center w-12 h-12 bg-primary/10 rounded-lg mb-4 group-hover:bg-primary/20 transition-colors",children:E.jsx(e.icon,{className:"w-6 h-6 text-primary"})}),E.jsxs("div",{className:"font-display text-4xl md:text-5xl text-foreground",children:[e.value,E.jsx("span",{className:"text-primary text-2xl",children:e.unit})]}),E.jsx("p",{className:"font-body text-sm text-muted-foreground mt-2 uppercase tracking-wider",children:e.label})]},e.label))})]})}),EN=[{icon:AE,title:"Championship DNA",description:"Developed with insights from the world's best supercross and motocross riders."},{icon:PE,title:"Explosive Power",description:"The most advanced SOHC engine delivers unmatched throttle response and top-end power."},{icon:ME,title:"Factory Upgrades",description:"Premium components including WP XACT suspension, Brembo brakes, and CNC-machined hubs."},{icon:kE,title:"Race-Ready",description:"Factory-spec setup right out of the crate. No additional modifications needed."}],CN=["WP XACT 48mm Split Air Fork","Brembo Hydraulic Clutch System","Quickshift Sensor","CNC Machined Triple Clamps","Map Select Switch","Traction Control","Factory Racing Team Graphics","Orange Anodized Components"],PN=()=>E.jsx("section",{className:"py-24 bg-background",children:E.jsxs("div",{className:"container mx-auto px-4",children:[E.jsxs(mt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"text-center mb-16",children:[E.jsxs("h2",{className:"font-display text-5xl md:text-6xl text-foreground mb-4",children:["Factory ",E.jsx("span",{className:"text-primary",children:"Advantage"})]}),E.jsx("p",{className:"font-body text-muted-foreground max-w-2xl mx-auto",children:"What separates the Factory Edition from everything else on the grid."})]}),E.jsx("div",{className:"grid md:grid-cols-2 gap-8 mb-16",children:EN.map((e,t)=>E.jsxs(mt.div,{initial:{opacity:0,x:t%2===0?-20:20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:t*.1},viewport:{once:!0},className:"flex gap-5 p-6 bg-card border border-border rounded-lg hover:border-primary/30 transition-colors duration-300",children:[E.jsx("div",{className:"flex-shrink-0 w-14 h-14 bg-primary/10 rounded-lg flex items-center justify-center",children:E.jsx(e.icon,{className:"w-7 h-7 text-primary"})}),E.jsxs("div",{children:[E.jsx("h3",{className:"font-display text-2xl text-foreground mb-2",children:e.title}),E.jsx("p",{className:"font-body text-muted-foreground",children:e.description})]})]},e.title))}),E.jsxs(mt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"bg-secondary border border-border rounded-xl p-8",children:[E.jsxs("h3",{className:"font-display text-3xl text-center text-foreground mb-8",children:["Factory Edition ",E.jsx("span",{className:"text-primary",children:"Exclusives"})]}),E.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:CN.map((e,t)=>E.jsxs(mt.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},transition:{duration:.3,delay:t*.05},viewport:{once:!0},className:"flex items-center gap-3 p-3 bg-card rounded-lg",children:[E.jsx(SE,{className:"w-5 h-5 text-primary flex-shrink-0"}),E.jsx("span",{className:"font-body text-sm text-foreground",children:e})]},e))})]})]})}),tg="https://www.ktm.com/de-at/models/motocross/4-takt/2026-ktm-450-sx-f.html",bN=()=>E.jsxs("section",{className:"py-24 bg-gradient-to-b from-secondary to-background relative overflow-hidden",children:[E.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] bg-primary/10 rounded-full blur-3xl pointer-events-none"}),E.jsx("div",{className:"container mx-auto px-4 relative z-10",children:E.jsxs(mt.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"text-center max-w-3xl mx-auto",children:[E.jsxs("h2",{className:"font-display text-5xl md:text-7xl text-foreground mb-6",children:["Ready to ",E.jsx("span",{className:"text-primary",children:"Dominate"}),"?"]}),E.jsx("p",{className:"font-body text-lg text-muted-foreground mb-10",children:"The 2026 KTM 450 SX-F Factory Edition is the ultimate weapon for serious racers. Experience the same technology that powers world champions."}),E.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[E.jsx("a",{href:tg,target:"_blank",rel:"noopener noreferrer",children:E.jsxs(Zi,{variant:"cta",size:"xl",className:"group",children:["Configure Your Bike",E.jsx(r0,{className:"w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),E.jsx("a",{href:tg,target:"_blank",rel:"noopener noreferrer",children:E.jsxs(Zi,{variant:"outline",size:"xl",className:"border-muted-foreground
153/30 hover:border-primary group",children:["Find a Dealer",E.jsx(TE,{className:"w-5 h-5 group-hover:rotate-12 transition-transform"})]})})]})]})})]}),ng="https://www.ktm.com/de-at/models/motocross/4-takt/2026-ktm-450-sx-f.html",kN=()=>E.jsx("footer",{className:"py-12 bg-card border-t border-border",children:E.jsxs("div",{className:"container mx-auto px-4",children:[E.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-6",children:[E.jsxs("div",{className:"text-center md:text-left",children:[E.jsxs("h3",{className:"font-display text-2xl text-foreground mb-2",children:["KTM 450 ",E.jsx("span",{className:"text-primary",children:"SX-F"})]}),E.jsx("p",{className:"font-body text-sm text-muted-foreground",children:"Official affiliate partner. Not affiliated with KTM AG."})]}),E.jsxs("div",{className:"flex gap-8",children:[E.jsx("a",{href:ng,target:"_blank",rel:"noopener noreferrer",className:"font-body text-sm text-muted-foreground hover:text-primary transition-colors",children:"Official KTM Website"}),E.jsx("a",{href:ng,target:"_blank",rel:"noopener noreferrer",className:"font-body text-sm text-muted-foreground hover:text-primary transition-colors",children:"Find a Dealer"})]})]}),E.jsx("div",{className:"mt-8 pt-8 border-t border-border text-center",children:E.jsxs("p",{className:"font-body text-xs text-muted-foreground",children:["© ",new Date().getFullYear()," KTM 450 SX-F Affiliate. All rights reserved. KTM and all associated logos are trademarks of KTM AG."]})})]})}),AN=()=>E.jsxs("main",{className:"min-h-screen bg-background",children:[E.jsx(xN,{}),E.jsx(TN,{}),E.jsx(PN,{}),E.jsx(bN,{}),E.jsx(kN,{})]}),RN=()=>{const e=iw();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),E.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:E.jsxs("div",{className:"text-center",children:[E.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),E.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),E.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},MN=new tk,NN=()=>E.jsx(rk,{client:MN,children:E.jsxs(Nb,{children:[E.jsx(pC,{}),E.jsx(KC,{}),E.jsx($k,{children:E.jsxs(Vk,{children:[E.jsx(Rc,{path:"/",element:E.jsx(AN,{})}),E.jsx(Rc,{path:"*",element:E.jsx(RN,{})})]})})]})});bv(document.getElementById("root")).render(E.jsx(NN,{}));

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.