PageSourceSearch

https://marcillylacampagne.fr/assets/vendor-ByPPybGq.js

js marcillylacampagne.fr collected 2026-10-09 17:17:24 UTC 1,150,142 bytes, 1,317 lines download raw bytes

vendor: 11,480 bytes, lines 1-25
1var K8=Object.defineProperty;var LE=e=>{throw TypeError(e)};var G8=(e,t,n)=>t in e?K8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ai=(e,t,n)=>G8(e,typeof t!="symbol"?t+"":t,n),bv=(e,t,n)=>t.has(e)||LE("Cannot "+n);var O=(e,t,n)=>(bv(e,t,"read from private field"),n?n.call(e):t.get(e)),we=(e,t,n)=>t.has(e)?LE("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ue=(e,t,n,r)=>(bv(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ae=(e,t,n)=>(bv(e,t,"access private method"),n);var lh=(e,t,n,r)=>({set _(o){ue(e,t,o,n)},get _(){return O(e,t,r)}});import{H as wr,j as BS,F as $E,b as Go,f as Nd,w as US,t as mM,v as Kn,a as ur,K as Sv,e as Si,h as Y8,r as X8,c as k1,p as J8,s as E1,d as Q8,A as Z8,B as e6,x as t6,D as xv,E as NE,J as n6,i as gM,k as yM,G as zS,I as VS,o as r6,q as o6,l as al,u as vM}from"./vendor-date-HeizJUN9.js";function i6(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"}))}var ws=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ne(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function A2e(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var wM={exports:{}},Ug={},bM={exports:{}},Le={};/**
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 Nf=Symbol.for("react.element"),s6=Symbol.for("react.portal"),a6=Symbol.for("react.fragment"),l6=Symbol.for("react.strict_mode"),u6=Symbol.for("react.profiler"),c6=Symbol.for("react.provider"),d6=Symbol.for("react.context"),f6=Symbol.for("react.forward_ref"),h6=Symbol.for("react.suspense"),p6=Symbol.for("react.memo"),m6=Symbol.for("react.lazy"),jE=Symbol.iterator;function g6(e){return e===null||typeof e!="object"?null:(e=jE&&e[jE]||e["@@iterator"],typeof e=="function"?e:null)}var SM={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},xM=Object.assign,kM={};function Vu(e,t,n){this.props=e,this.context=t,this.refs=kM,this.updater=n||SM}Vu.prototype.isReactComponent={};Vu.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")};Vu.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function EM(){}EM.prototype=Vu.prototype;function HS(e,t,n){this.props=e,this.context=t,this.refs=kM,this.updater=n||SM}var WS=HS.prototype=new EM;WS.constructor=HS;xM(WS,Vu.prototype);WS.isPureReactComponent=!0;var FE=Array.isArray,_M=Object.prototype.hasOwnProperty,qS={current:null},CM={key:!0,ref:!0,__self:!0,__source:!0};function TM(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)_M.call(t,r)&&!CM.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:Nf,type:e,key:i,ref:s,props:o,_owner:qS.current}}function y6(e,t){return{$$typeof:Nf,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function KS(e){return typeof e=="object"&&e!==null&&e.$$typeof===Nf}function v6(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var BE=/\/+/g;function kv(e,t){return typeof e=="object"&&e!==null&&e.key!=null?v6(""+e.key):t.toString(36)}function cp(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 Nf:case s6:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+kv(s,0):r,FE(o)?(n="",e!=null&&(n=e.replace(BE,"$&/")+"/"),cp(o,t,n,"",function(u){return u})):o!=null&&(KS(o)&&(o=y6(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(BE,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",FE(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+kv(i,a);s+=cp(i,t,n,l,o)}else if(l=g6(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+kv(i,a++),s+=cp(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 uh(e,t,n){if(e==null)return e;var r=[],o=0;return cp(e,r,"","",function(i){return t.call(n,i,o++)}),r}function w6(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 On={current:null},dp={transition:null},b6={ReactCurrentDispatcher:On,ReactCurrentBatchConfig:dp,ReactCurrentOwner:qS};function AM(){throw Error("act(...) is not supported in production builds of React.")}Le.Children={map:uh,forEach:function(e,t,n){uh(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return uh(e,function(){t++}),t},toArray:function(e){return uh(e,function(t){return t})||[]},only:function(e){if(!KS(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Le.Component=Vu;Le.Fragment=a6;Le.Profiler=u6;Le.PureComponent=HS;Le.StrictMode=l6;Le.Suspense=h6;Le.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=b6;Le.act=AM;Le.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=xM({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=qS.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)_M.call(t,l)&&!CM.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:Nf,type:e.type,key:o,ref:i,props:r,_owner:s}};Le.createContext=function(e){return e={$$typeof:d6,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:c6,_context:e},e.Consumer=e};Le.createElement=TM;Le.createFactory=function(e){var t=TM.bind(null,e);return t.type=e,t};Le.createRef=function(){return{current:null}};Le.forwardRef=function(e){return{$$typeof:f6,render:e}};Le.isValidElement=KS;Le.lazy=function(e){return{$$typeof:m6,_payload:{_status:-1,_result:e},_init:w6}};Le.memo=function(e,t){return{$$typeof:p6,type:e,compare:t===void 0?null:t}};Le.startTransition=function(e){var t=dp.transition;dp.transition={};try{e()}finally{dp.transition=t}};Le.unstable_act=AM;Le.useCallback=function(e,t){return On.current.useCallback(e,t)};Le.useContext=function(e){return On.current.useContext(e)};Le.useDebugValue=function(){};Le.useDeferredValue=function(e){return On.current.useDeferredValue(e)};Le.useEffect=function(e,t){return On.current.useEffect(e,t)};Le.useId=function(){return On.current.useId()};Le.useImperativeHandle=function(e,t,n){return On.current.useImperativeHandle(e,t,n)};Le.useInsertionEffect=function(e,t){return On.current.useInsertionEffect(e,t)};Le.useLayoutEffect=function(e,t){return On.current.useLayoutEffect(e,t)};Le.useMemo=function(e,t){return On.current.useMemo(e,t)};Le.useReducer=function(e,t,n){return On.current.useReducer(e,t,n)};Le.useRef=function(e){return On.current.useRef(e)};Le.useState=function(e){return On.current.useState(e)};Le.useSyncExternalStore=function(e,t,n){return On.current.useSyncExternalStore(e,t,n)};Le.useTransition=function(){return On.current.useTransition()};Le.version="18.3.1";bM.exports=Le;var b=bM.exports;const z=Ne(b),GS=i6({__proto__:null,default:z},[b]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var S6=b,x6=Symbol.for("react.element"),k6=Symbol.for("react.fragment"),E6=Object.prototype.hasOwnProperty,_6=S6.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C6={key:!0,ref:!0,__self:!0,__source:!0};function PM(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)E6.call(t,r)&&!C6.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:x6,type:e,key:i,ref:s,props:o,_owner:_6.current}}Ug.Fragment=k6;Ug.jsx=PM;Ug.jsxs=PM;wM.exports=Ug;var E=wM.exports,RM={exports:{}},kr={},OM={exports:{}},MM={};/**
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(R,j){var P=R.length;R.push(j);e:for(;0<P;){var C=P-1>>>1,U=R[C];if(0<o(U,j))R[C]=j,R[P]=U,P=C;else break e}}function n(R){return R.length===0?null:R[0]}function r(R){if(R.length===0)return null;var j=R[0],P=R.pop();if(P!==j){R[0]=P;e:for(var C=0,U=R.length,q=U>>>1;C<q;){var K=2*(C+1)-1,oe=R[K],se=K+1,F=R[se];if(0>o(oe,P))se<U&&0>o(F,oe)?(R[C]=F,R[se]=P,C=se):(R[C]=oe,R[K]=P,C=K);else if(se<U&&0>o(F,P))R[C]=F,R[se]=P,C=se;else break e}}return j}function o(R,j){var P=R.sortIndex-j.sortIndex;return P!==0?P:R.id-j.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,g=!1,p=!1,m=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(R){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=R)r(u),j.sortIndex=j.expirationTime,t(l,j);else break;j=n(u)}}function S(R){if(p=!1,w(R),!g)if(n(l)!==null)g=!0,G(x);else{var j=n(u);j!==null&&B(S,j.startTime-R)}}function x(R,j){g=!1,p&&(p=!1,y(A),A=-1),h=!0;var P=f;try{for(w(j),d=n(l);d!==null&&(!(d.expirationTime>j)||R&&!N());){var C=d.callback;
vendor: 9,154 bytes, lines 25-34
25if(typeof C=="function"){d.callback=null,f=d.priorityLevel;var U=C(d.expirationTime<=j);j=e.unstable_now(),typeof U=="function"?d.callback=U:d===n(l)&&r(l),w(j)}else r(l);d=n(l)}if(d!==null)var q=!0;else{var K=n(u);K!==null&&B(S,K.startTime-j),q=!1}return q}finally{d=null,f=P,h=!1}}var k=!1,_=null,A=-1,M=5,I=-1;function N(){return!(e.unstable_now()-I<M)}function L(){if(_!==null){var R=e.unstable_now();I=R;var j=!0;try{j=_(!0,R)}finally{j?Z():(k=!1,_=null)}}else k=!1}var Z;if(typeof v=="function")Z=function(){v(L)};else if(typeof MessageChannel<"u"){var V=new MessageChannel,ee=V.port2;V.port1.onmessage=L,Z=function(){ee.postMessage(null)}}else Z=function(){m(L,0)};function G(R){_=R,k||(k=!0,Z())}function B(R,j){A=m(function(){R(e.unstable_now())},j)}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(R){R.callback=null},e.unstable_continueExecution=function(){g||h||(g=!0,G(x))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(R){switch(f){case 1:case 2:case 3:var j=3;break;default:j=f}var P=f;f=j;try{return R()}finally{f=P}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,j){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var P=f;f=R;try{return j()}finally{f=P}},e.unstable_scheduleCallback=function(R,j,P){var C=e.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?C+P:C):P=C,R){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=P+U,R={id:c++,callback:j,priorityLevel:R,startTime:P,expirationTime:U,sortIndex:-1},P>C?(R.sortIndex=P,t(u,R),n(l)===null&&R===n(u)&&(p?(y(A),A=-1):p=!0,B(S,P-C))):(R.sortIndex=U,t(l,R),g||h||(g=!0,G(x))),R},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(R){var j=f;return function(){var P=f;f=j;try{return R.apply(this,arguments)}finally{f=P}}}})(MM);OM.exports=MM;var T6=OM.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 A6=b,xr=T6;function Y(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 IM=new Set,jd={};function ll(e,t){Au(e,t),Au(e+"Capture",t)}function Au(e,t){for(jd[e]=t,e=0;e<t.length;e++)IM.add(t[e])}var Ai=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_1=Object.prototype.hasOwnProperty,P6=/^[: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]*$/,UE={},zE={};function R6(e){return _1.call(zE,e)?!0:_1.call(UE,e)?!1:P6.test(e)?zE[e]=!0:(UE[e]=!0,!1)}function O6(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 M6(e,t,n,r){if(t===null||typeof t>"u"||O6(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 Mn(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 an={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){an[e]=new Mn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];an[t]=new Mn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){an[e]=new Mn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){an[e]=new Mn(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){an[e]=new Mn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){an[e]=new Mn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){an[e]=new Mn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){an[e]=new Mn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){an[e]=new Mn(e,5,!1,e.toLowerCase(),null,!1,!1)});var YS=/[\-:]([a-z])/g;function XS(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(YS,XS);an[t]=new Mn(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(YS,XS);an[t]=new Mn(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(YS,XS);an[t]=new Mn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){an[e]=new Mn(e,1,!1,e.toLowerCase(),null,!1,!1)});an.xlinkHref=new Mn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){an[e]=new Mn(e,1,!1,e.toLowerCase(),null,!0,!0)});function JS(e,t,n,r){var o=an.hasOwnProperty(t)?an[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(M6(t,n,o,r)&&(n=null),r||o===null?R6(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 $i=A6.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ch=Symbol.for("react.element"),Bl=Symbol.for("react.portal"),Ul=Symbol.for("react.fragment"),QS=Symbol.for("react.strict_mode"),C1=Symbol.for("react.profiler"),DM=Symbol.for("react.provider"),LM=Symbol.for("react.context"),ZS=Symbol.for("react.forward_ref"),T1=Symbol.for("react.suspense"),A1=Symbol.for("react.suspense_list"),ex=Symbol.for("react.memo"),es=Symbol.for("react.lazy"),$M=Symbol.for("react.offscreen"),VE=Symbol.iterator;function Sc(e){return e===null||typeof e!="object"?null:(e=VE&&e[VE]||e["@@iterator"],typeof e=="function"?e:null)}var wt=Object.assign,Ev;function Vc(e){if(Ev===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ev=t&&t[1]||""}return`
34`+Ev+e}var _v=!1;function Cv(e,t){if(!e||_v)return"";_v=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 14,678 bytes, lines 34-37
34catch(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{_v=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vc(e):""}function I6(e){switch(e.tag){case 5:return Vc(e.type);case 16:return Vc("Lazy");case 13:return Vc("Suspense");case 19:return Vc("SuspenseList");case 0:case 2:case 15:return e=Cv(e.type,!1),e;case 11:return e=Cv(e.type.render,!1),e;case 1:return e=Cv(e.type,!0),e;default:return""}}function P1(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 Ul:return"Fragment";case Bl:return"Portal";case C1:return"Profiler";case QS:return"StrictMode";case T1:return"Suspense";case A1:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case LM:return(e.displayName||"Context")+".Consumer";case DM:return(e._context.displayName||"Context")+".Provider";case ZS:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ex:return t=e.displayName||null,t!==null?t:P1(e.type)||"Memo";case es:t=e._payload,e=e._init;try{return P1(e(t))}catch{}}return null}function D6(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 P1(t);case 8:return t===QS?"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 js(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function NM(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function L6(e){var t=NM(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 dh(e){e._valueTracker||(e._valueTracker=L6(e))}function jM(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=NM(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Zp(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 R1(e,t){var n=t.checked;return wt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function HE(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=js(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 FM(e,t){t=t.checked,t!=null&&JS(e,"checked",t,!1)}function O1(e,t){FM(e,t);var n=js(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")?M1(e,t.type,n):t.hasOwnProperty("defaultValue")&&M1(e,t.type,js(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function WE(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 M1(e,t,n){(t!=="number"||Zp(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Hc=Array.isArray;function nu(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=""+js(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 I1(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(Y(91));return wt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function qE(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(Y(92));if(Hc(n)){if(1<n.length)throw Error(Y(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:js(n)}}function BM(e,t){var n=js(t.value),r=js(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 KE(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function UM(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 D1(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?UM(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var fh,zM=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(fh=fh||document.createElement("div"),fh.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=fh.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fd(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ad={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},$6=["Webkit","ms","Moz","O"];Object.keys(ad).forEach(function(e){$6.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ad[t]=ad[e]})});function VM(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ad.hasOwnProperty(e)&&ad[e]?(""+t).trim():t+"px"}function HM(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=VM(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var N6=wt({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 L1(e,t){if(t){if(N6[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Y(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Y(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Y(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Y(62))}}function $1(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var N1=null;function tx(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var j1=null,ru=null,ou=null;function GE(e){if(e=Bf(e)){if(typeof j1!="function")throw Error(Y(280));var t=e.stateNode;t&&(t=qg(t),j1(e.stateNode,e.type,t))}}function WM(e){ru?ou?ou.push(e):ou=[e]:ru=e}function qM(){if(ru){var e=ru,t=ou;if(ou=ru=null,GE(e),t)for(e=0;e<t.length;e++)GE(t[e])}}function KM(e,t){return e(t)}function GM(){}var Tv=!1;function YM(e,t,n){if(Tv)return e(t,n);Tv=!0;try{return KM(e,t,n)}finally{Tv=!1,(ru!==null||ou!==null)&&(GM(),qM())}}function Bd(e,t){var n=e.stateNode;if(n===null)return null;var r=qg(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(Y(231,t,typeof n));return n}var F1=!1;if(Ai)try{var xc={};Object.defineProperty(xc,"passive",{get:function(){F1=!0}}),window.addEventListener("test",xc,xc),window.removeEventListener("test",xc,xc)}catch{F1=!1}function j6(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 ld=!1,em=null,tm=!1,B1=null,F6={onError:function(e){ld=!0,em=e}};function B6(e,t,n,r,o,i,s,a,l){ld=!1,em=null,j6.apply(F6,arguments)}function U6(e,t,n,r,o,i,s,a,l){if(B6.apply(this,arguments),ld){if(ld){var u=em;ld=!1,em=null}else throw Error(Y(198));tm||(tm=!0,B1=u)}}function ul(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 XM(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 YE(e){if(ul(e)!==e)throw Error(Y(188))}function z6(e){var t=e.alternate;if(!t){if(t=ul(e),t===null)throw Error(Y(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 YE(o),e;if(i===r)return YE(o),t;i=i.sibling}throw Error(Y(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(Y(189))}}if(n.alternate!==r)throw Error(Y(190))}if(n.tag!==3)throw Error(Y(188));return n.stateNode.current===n?e:t}function JM(e){return e=z6(e),e!==null?QM(e):null}function QM(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=QM(e);if(t!==null)return t;e=e.sibling}return null}var ZM=xr.unstable_scheduleCallback,XE=xr.unstable_cancelCallback,V6=xr.unstable_shouldYield,H6=xr.unstable_requestPaint,Pt=xr.unstable_now,W6=xr.unstable_getCurrentPriorityLevel,nx=xr.unstable_ImmediatePriority,eI=xr.unstable_UserBlockingPriority,nm=xr.unstable_NormalPriority,q6=xr.unstable_LowPriority,tI=xr.unstable_IdlePriority,zg=null,Ho=null;function K6(e){if(Ho&&typeof Ho.onCommitFiberRoot=="function")try{Ho.onCommitFiberRoot(zg,e,void 0,(e.current.flags&128)===128)}catch{}}var co=Math.clz32?Math.clz32:X6,G6=Math.log,Y6=Math.LN2;function X6(e){return e>>>=0,e===0?32:31-(G6(e)/Y6|0)|0}var hh=64,ph=4194304;function Wc(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 rm(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=Wc(a):(i&=s,i!==0&&(r=Wc(i)))}else s=n&~o,s!==0?r=Wc(s):i!==0&&(r=Wc(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-co(t),o=1<<n,r|=e[n],t&=~o;return r}function J6(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 Q6(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-co(i),a=1<<s,l=o[s];l===-1?(!(a&n)||a&r)&&(o[s]=J6(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function U1(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function nI(){var e=hh;return hh<<=1,!(hh&4194240)&&(hh=64),e}function Av(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function jf(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-co(t),e[t]=n}function Z6(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-co(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function rx(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-co(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Ge=0;function rI(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}
vendor: 4,768 bytes, line 37
37var oI,ox,iI,sI,aI,z1=!1,mh=[],Ts=null,As=null,Ps=null,Ud=new Map,zd=new Map,os=[],e7="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 JE(e,t){switch(e){case"focusin":case"focusout":Ts=null;break;case"dragenter":case"dragleave":As=null;break;case"mouseover":case"mouseout":Ps=null;break;case"pointerover":case"pointerout":Ud.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":zd.delete(t.pointerId)}}function kc(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=Bf(t),t!==null&&ox(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function t7(e,t,n,r,o){switch(t){case"focusin":return Ts=kc(Ts,e,t,n,r,o),!0;case"dragenter":return As=kc(As,e,t,n,r,o),!0;case"mouseover":return Ps=kc(Ps,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Ud.set(i,kc(Ud.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,zd.set(i,kc(zd.get(i)||null,e,t,n,r,o)),!0}return!1}function lI(e){var t=Sa(e.target);if(t!==null){var n=ul(t);if(n!==null){if(t=n.tag,t===13){if(t=XM(n),t!==null){e.blockedOn=t,aI(e.priority,function(){iI(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 fp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=V1(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);N1=r,n.target.dispatchEvent(r),N1=null}else return t=Bf(n),t!==null&&ox(t),e.blockedOn=n,!1;t.shift()}return!0}function QE(e,t,n){fp(e)&&n.delete(t)}function n7(){z1=!1,Ts!==null&&fp(Ts)&&(Ts=null),As!==null&&fp(As)&&(As=null),Ps!==null&&fp(Ps)&&(Ps=null),Ud.forEach(QE),zd.forEach(QE)}function Ec(e,t){e.blockedOn===t&&(e.blockedOn=null,z1||(z1=!0,xr.unstable_scheduleCallback(xr.unstable_NormalPriority,n7)))}function Vd(e){function t(o){return Ec(o,e)}if(0<mh.length){Ec(mh[0],e);for(var n=1;n<mh.length;n++){var r=mh[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Ts!==null&&Ec(Ts,e),As!==null&&Ec(As,e),Ps!==null&&Ec(Ps,e),Ud.forEach(t),zd.forEach(t),n=0;n<os.length;n++)r=os[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<os.length&&(n=os[0],n.blockedOn===null);)lI(n),n.blockedOn===null&&os.shift()}var iu=$i.ReactCurrentBatchConfig,om=!0;function r7(e,t,n,r){var o=Ge,i=iu.transition;iu.transition=null;try{Ge=1,ix(e,t,n,r)}finally{Ge=o,iu.transition=i}}function o7(e,t,n,r){var o=Ge,i=iu.transition;iu.transition=null;try{Ge=4,ix(e,t,n,r)}finally{Ge=o,iu.transition=i}}function ix(e,t,n,r){if(om){var o=V1(e,t,n,r);if(o===null)jv(e,t,r,im,n),JE(e,r);else if(t7(o,e,t,n,r))r.stopPropagation();else if(JE(e,r),t&4&&-1<e7.indexOf(e)){for(;o!==null;){var i=Bf(o);if(i!==null&&oI(i),i=V1(e,t,n,r),i===null&&jv(e,t,r,im,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else jv(e,t,r,null,n)}}var im=null;function V1(e,t,n,r){if(im=null,e=tx(r),e=Sa(e),e!==null)if(t=ul(e),t===null)e=null;else if(n=t.tag,n===13){if(e=XM(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 im=e,null}function uI(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(W6()){case nx:return 1;case eI:return 4;case nm:case q6:return 16;case tI:return 536870912;default:return 16}default:return 16}}
vendor: 6,582 bytes, line 37
37var bs=null,sx=null,hp=null;function cI(){if(hp)return hp;var e,t=sx,n=t.length,r,o="value"in bs?bs.value:bs.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 hp=o.slice(e,1<r?1-r:void 0)}function pp(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 gh(){return!0}function ZE(){return!1}function Er(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)?gh:ZE,this.isPropagationStopped=ZE,this}return wt(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=gh)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=gh)},persist:function(){},isPersistent:gh}),t}var Hu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ax=Er(Hu),Ff=wt({},Hu,{view:0,detail:0}),i7=Er(Ff),Pv,Rv,_c,Vg=wt({},Ff,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lx,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!==_c&&(_c&&e.type==="mousemove"?(Pv=e.screenX-_c.screenX,Rv=e.screenY-_c.screenY):Rv=Pv=0,_c=e),Pv)},movementY:function(e){return"movementY"in e?e.movementY:Rv}}),e_=Er(Vg),s7=wt({},Vg,{dataTransfer:0}),a7=Er(s7),l7=wt({},Ff,{relatedTarget:0}),Ov=Er(l7),u7=wt({},Hu,{animationName:0,elapsedTime:0,pseudoElement:0}),c7=Er(u7),d7=wt({},Hu,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),f7=Er(d7),h7=wt({},Hu,{data:0}),t_=Er(h7),p7={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},m7={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"},g7={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function y7(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=g7[e])?!!t[e]:!1}function lx(){return y7}var v7=wt({},Ff,{key:function(e){if(e.key){var t=p7[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=pp(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?m7[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lx,charCode:function(e){return e.type==="keypress"?pp(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?pp(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),w7=Er(v7),b7=wt({},Vg,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),n_=Er(b7),S7=wt({},Ff,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lx}),x7=Er(S7),k7=wt({},Hu,{propertyName:0,elapsedTime:0,pseudoElement:0}),E7=Er(k7),_7=wt({},Vg,{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}),C7=Er(_7),T7=[9,13,27,32],ux=Ai&&"CompositionEvent"in window,ud=null;Ai&&"documentMode"in document&&(ud=document.documentMode);var A7=Ai&&"TextEvent"in window&&!ud,dI=Ai&&(!ux||ud&&8<ud&&11>=ud),r_=" ",o_=!1;function fI(e,t){switch(e){case"keyup":return T7.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hI(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zl=!1;function P7(e,t){switch(e){case"compositionend":return hI(t);case"keypress":return t.which!==32?null:(o_=!0,r_);case"textInput":return e=t.data,e===r_&&o_?null:e;default:return null}}function R7(e,t){if(zl)return e==="compositionend"||!ux&&fI(e,t)?(e=cI(),hp=sx=bs=null,zl=!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 dI&&t.locale!=="ko"?null:t.data;default:return null}}var O7={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 i_(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!O7[e.type]:t==="textarea"}function pI(e,t,n,r){WM(r),t=sm(t,"onChange"),0<t.length&&(n=new ax("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var cd=null,Hd=null;function M7(e){_I(e,0)}function Hg(e){var t=Wl(e);if(jM(t))return e}function I7(e,t){if(e==="change")return t}var mI=!1;if(Ai){var Mv;if(Ai){var Iv="oninput"in document;if(!Iv){var s_=document.createElement("div");s_.setAttribute("oninput","return;"),Iv=typeof s_.oninput=="function"}Mv=Iv}else Mv=!1;mI=Mv&&(!document.documentMode||9<document.documentMode)}function a_(){cd&&(cd.detachEvent("onpropertychange",gI),Hd=cd=null)}function gI(e){if(e.propertyName==="value"&&Hg(Hd)){var t=[];pI(t,Hd,e,tx(e)),YM(M7,t)}}function D7(e,t,n){e==="focusin"?(a_(),cd=t,Hd=n,cd.attachEvent("onpropertychange",gI)):e==="focusout"&&a_()}function L7(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Hg(Hd)}function $7(e,t){if(e==="click")return Hg(t)}function N7(e,t){if(e==="input"||e==="change")return Hg(t)}function j7(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var mo=typeof Object.is=="function"?Object.is:j7;function Wd(e,t){if(mo(e,t))return!0;
vendor: 4,808 bytes, line 37
37if(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(!_1.call(t,o)||!mo(e[o],t[o]))return!1}return!0}function l_(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function u_(e,t){var n=l_(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=l_(n)}}function yI(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yI(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function vI(){for(var e=window,t=Zp();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Zp(e.document)}return t}function cx(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 F7(e){var t=vI(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&yI(n.ownerDocument.documentElement,n)){if(r!==null&&cx(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=u_(n,i);var s=u_(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 B7=Ai&&"documentMode"in document&&11>=document.documentMode,Vl=null,H1=null,dd=null,W1=!1;function c_(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;W1||Vl==null||Vl!==Zp(r)||(r=Vl,"selectionStart"in r&&cx(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}),dd&&Wd(dd,r)||(dd=r,r=sm(H1,"onSelect"),0<r.length&&(t=new ax("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Vl)))}function yh(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Hl={animationend:yh("Animation","AnimationEnd"),animationiteration:yh("Animation","AnimationIteration"),animationstart:yh("Animation","AnimationStart"),transitionend:yh("Transition","TransitionEnd")},Dv={},wI={};Ai&&(wI=document.createElement("div").style,"AnimationEvent"in window||(delete Hl.animationend.animation,delete Hl.animationiteration.animation,delete Hl.animationstart.animation),"TransitionEvent"in window||delete Hl.transitionend.transition);function Wg(e){if(Dv[e])return Dv[e];if(!Hl[e])return e;var t=Hl[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in wI)return Dv[e]=t[n];return e}var bI=Wg("animationend"),SI=Wg("animationiteration"),xI=Wg("animationstart"),kI=Wg("transitionend"),EI=new Map,d_="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 Hs(e,t){EI.set(e,t),ll(t,[e])}for(var Lv=0;Lv<d_.length;Lv++){var $v=d_[Lv],U7=$v.toLowerCase(),z7=$v[0].toUpperCase()+$v.slice(1);Hs(U7,"on"+z7)}Hs(bI,"onAnimationEnd");Hs(SI,"onAnimationIteration");Hs(xI,"onAnimationStart");Hs("dblclick","onDoubleClick");Hs("focusin","onFocus");Hs("focusout","onBlur");Hs(kI,"onTransitionEnd");Au("onMouseEnter",["mouseout","mouseover"]);Au("onMouseLeave",["mouseout","mouseover"]);Au("onPointerEnter",["pointerout","pointerover"]);Au("onPointerLeave",["pointerout","pointerover"]);ll("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));
vendor: 1,542 bytes, line 37
37ll("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ll("onBeforeInput",["compositionend","keypress","textInput","paste"]);ll("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ll("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ll("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var qc="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(" "),V7=new Set("cancel close invalid load scroll toggle".split(" ").concat(qc));function f_(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,U6(r,t,void 0,e),e.currentTarget=null}function _I(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;f_(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;f_(o,a,u),i=l}}}if(tm)throw e=B1,tm=!1,B1=null,e}function lt(e,t){var n=t[X1];n===void 0&&(n=t[X1]=new Set);var r=e+"__bubble";n.has(r)||(CI(t,e,2,!1),n.add(r))}function Nv(e,t,n){var r=0;t&&(r|=4),CI(n,e,r,t)}var vh="_reactListening"+Math.random().toString(36).slice(2);
vendor: 4,510 bytes, line 37
37function qd(e){if(!e[vh]){e[vh]=!0,IM.forEach(function(n){n!=="selectionchange"&&(V7.has(n)||Nv(n,!1,e),Nv(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[vh]||(t[vh]=!0,Nv("selectionchange",!1,t))}}function CI(e,t,n,r){switch(uI(t)){case 1:var o=r7;break;case 4:o=o7;break;default:o=ix}n=o.bind(null,t,n,e),o=void 0,!F1||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 jv(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;if(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=Sa(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}YM(function(){var u=i,c=tx(n),d=[];e:{var f=EI.get(e);if(f!==void 0){var h=ax,g=e;switch(e){case"keypress":if(pp(n)===0)break e;case"keydown":case"keyup":h=w7;break;case"focusin":g="focus",h=Ov;break;case"focusout":g="blur",h=Ov;break;case"beforeblur":case"afterblur":h=Ov;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=e_;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=a7;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=x7;break;case bI:case SI:case xI:h=c7;break;case kI:h=E7;break;case"scroll":h=i7;break;case"wheel":h=C7;break;case"copy":case"cut":case"paste":h=f7;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=n_}var p=(t&4)!==0,m=!p&&e==="scroll",y=p?f!==null?f+"Capture":null:f;p=[];for(var v=u,w;v!==null;){w=v;var S=w.stateNode;if(w.tag===5&&S!==null&&(w=S,y!==null&&(S=Bd(v,y),S!=null&&p.push(Kd(v,S,w)))),m)break;v=v.return}0<p.length&&(f=new h(f,g,null,n,c),d.push({event:f,listeners:p}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&n!==N1&&(g=n.relatedTarget||n.fromElement)&&(Sa(g)||g[Pi]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(g=n.relatedTarget||n.toElement,h=u,g=g?Sa(g):null,g!==null&&(m=ul(g),g!==m||g.tag!==5&&g.tag!==6)&&(g=null)):(h=null,g=u),h!==g)){if(p=e_,S="onMouseLeave",y="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(p=n_,S="onPointerLeave",y="onPointerEnter",v="pointer"),m=h==null?f:Wl(h),w=g==null?f:Wl(g),f=new p(S,v+"leave",h,n,c),f.target=m,f.relatedTarget=w,S=null,Sa(c)===u&&(p=new p(y,v+"enter",g,n,c),p.target=w,p.relatedTarget=m,S=p),m=S,h&&g)t:{for(p=h,y=g,v=0,w=p;w;w=yl(w))v++;for(w=0,S=y;S;S=yl(S))w++;for(;0<v-w;)p=yl(p),v--;for(;0<w-v;)y=yl(y),w--;for(;v--;){if(p===y||y!==null&&p===y.alternate)break t;p=yl(p),y=yl(y)}p=null}else p=null;h!==null&&h_(d,f,h,p,!1),g!==null&&m!==null&&h_(d,m,g,p,!0)}}e:{if(f=u?Wl(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var x=I7;else if(i_(f))if(mI)x=N7;else{x=L7;var k=D7}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(x=$7);if(x&&(x=x(e,u))){pI(d,x,n,c);break e}k&&k(e,f,u),e==="focusout"&&(k=f._wrapperState)&&k.controlled&&f.type==="number"&&M1(f,"number",f.value)}switch(k=u?Wl(u):window,e){case"focusin":(i_(k)||k.contentEditable==="true")&&(Vl=k,H1=u,dd=null);break;case"focusout":dd=H1=Vl=null;break;case"mousedown":W1=!0;break;case"contextmenu":case"mouseup":case"dragend":W1=!1,c_(d,n,c);break;case"selectionchange":if(B7)break;case"keydown":case"keyup":c_(d,n,c)}var _;if(ux)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else zl?fI(e,n)&&(A="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(A="onCompositionStart");A&&(dI&&n.locale!=="ko"&&(zl||A!=="onCompositionStart"?A==="onCompositionEnd"&&zl&&(_=cI()):(bs=c,sx="value"in bs?bs.value:bs.textContent,zl=!0)),k=sm(u,A),0<k.length&&(A=new t_(A,e,null,n,c),d.push({event:A,listeners:k}),_?A.data=_:(_=hI(n),_!==null&&(A.data=_)))),(_=A7?P7(e,n):R7(e,n
vendor: 5,090 bytes, lines 37-38
37))&&(u=sm(u,"onBeforeInput"),0<u.length&&(c=new t_("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=_))}_I(d,t)})}function Kd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function sm(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Bd(e,n),i!=null&&r.unshift(Kd(e,i,o)),i=Bd(e,t),i!=null&&r.push(Kd(e,i,o))),e=e.return}return r}function yl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function h_(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=Bd(n,i),l!=null&&s.unshift(Kd(n,l,a))):o||(l=Bd(n,i),l!=null&&s.push(Kd(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var H7=/\r\n?/g,W7=/\u0000|\uFFFD/g;function p_(e){return(typeof e=="string"?e:""+e).replace(H7,`
38`).replace(W7,"")}function wh(e,t,n){if(t=p_(t),p_(e)!==t&&n)throw Error(Y(425))}function am(){}var q1=null,K1=null;function G1(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 Y1=typeof setTimeout=="function"?setTimeout:void 0,q7=typeof clearTimeout=="function"?clearTimeout:void 0,m_=typeof Promise=="function"?Promise:void 0,K7=typeof queueMicrotask=="function"?queueMicrotask:typeof m_<"u"?function(e){return m_.resolve(null).then(e).catch(G7)}:Y1;function G7(e){setTimeout(function(){throw e})}function Fv(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),Vd(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Vd(t)}function Rs(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 g_(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 Wu=Math.random().toString(36).slice(2),Uo="__reactFiber$"+Wu,Gd="__reactProps$"+Wu,Pi="__reactContainer$"+Wu,X1="__reactEvents$"+Wu,Y7="__reactListeners$"+Wu,X7="__reactHandles$"+Wu;function Sa(e){var t=e[Uo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Pi]||n[Uo]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=g_(e);e!==null;){if(n=e[Uo])return n;e=g_(e)}return t}e=n,n=e.parentNode}return null}function Bf(e){return e=e[Uo]||e[Pi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Wl(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Y(33))}function qg(e){return e[Gd]||null}var J1=[],ql=-1;function Ws(e){return{current:e}}function ht(e){0>ql||(e.current=J1[ql],J1[ql]=null,ql--)}function rt(e,t){ql++,J1[ql]=e.current,e.current=t}var Fs={},yn=Ws(Fs),Yn=Ws(!1),qa=Fs;function Pu(e,t){var n=e.type.contextTypes;if(!n)return Fs;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 Xn(e){return e=e.childContextTypes,e!=null}function lm(){ht(Yn),ht(yn)}function y_(e,t,n){if(yn.current!==Fs)throw Error(Y(168));rt(yn,t),rt(Yn,n)}function TI(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(Y(108,D6(e)||"Unknown",o));return wt({},n,r)}function um(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fs,qa=yn.current,rt(yn,e),rt(Yn,Yn.current),!0}function v_(e,t,n){var r=e.stateNode;if(!r)throw Error(Y(169));n?(e=TI(e,t,qa),r.__reactInternalMemoizedMergedChildContext=e,ht(Yn),ht(yn),rt(yn,e)):ht(Yn),rt(Yn,n)}var vi=null,Kg=!1,Bv=!1;function AI(e){vi===null?vi=[e]:vi.push(e)}function J7(e){Kg=!0,AI(e)}function qs(){if(!Bv&&vi!==null){Bv=!0;var e=0,t=Ge;try{var n=vi;for(Ge=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}vi=null,Kg=!1}catch(o){throw vi!==null&&(vi=vi.slice(e+1)),ZM(nx,qs),o}finally{Ge=t,Bv=!1}}return null}var Kl=[],Gl=0,cm=null,dm=0,Lr=[],$r=0,Ka=null,xi=1,ki="";function ua(e,t){Kl[Gl++]=dm,Kl[Gl++]=cm,cm=e,dm=t}function PI(e,t,n){Lr[$r++]=xi,Lr[$r++]=ki,Lr[$r++]=Ka,Ka=e;var r=xi;e=ki;var o=32-co(r)-1;r&=~(1<<o),n+=1;var i=32-co(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,xi=1<<32-co(t)+o|n<<o|r,ki=i+e}else xi=1<<i|n<<o|r,ki=e}function dx(e){e.return!==null&&(ua(e,1),PI(e,1,0))}function fx(e){for(;e===cm;)cm=Kl[--Gl],Kl[Gl]=null,dm=Kl[--Gl],Kl[Gl]=null;for(;e===Ka;)Ka=Lr[--$r],Lr[$r]=null,ki=Lr[--$r],Lr[$r]=null,xi=Lr[--$r],Lr[$r]=null}var br=null,vr=null,pt=!1,lo=null;function RI(e,t){var n=Nr(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 w_(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 24,172 bytes, lines 38-40
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,br=e,vr=Rs(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,br=e,vr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ka!==null?{id:xi,overflow:ki}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Nr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,br=e,vr=null,!0):!1;default:return!1}}function Q1(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Z1(e){if(pt){var t=vr;if(t){var n=t;if(!w_(e,t)){if(Q1(e))throw Error(Y(418));t=Rs(n.nextSibling);var r=br;t&&w_(e,t)?RI(r,n):(e.flags=e.flags&-4097|2,pt=!1,br=e)}}else{if(Q1(e))throw Error(Y(418));e.flags=e.flags&-4097|2,pt=!1,br=e}}}function b_(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;br=e}function bh(e){if(e!==br)return!1;if(!pt)return b_(e),pt=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!G1(e.type,e.memoizedProps)),t&&(t=vr)){if(Q1(e))throw OI(),Error(Y(418));for(;t;)RI(e,t),t=Rs(t.nextSibling)}if(b_(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Y(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){vr=Rs(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}vr=null}}else vr=br?Rs(e.stateNode.nextSibling):null;return!0}function OI(){for(var e=vr;e;)e=Rs(e.nextSibling)}function Ru(){vr=br=null,pt=!1}function hx(e){lo===null?lo=[e]:lo.push(e)}var Q7=$i.ReactCurrentBatchConfig;function Cc(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(Y(309));var r=n.stateNode}if(!r)throw Error(Y(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(Y(284));if(!n._owner)throw Error(Y(290,e))}return e}function Sh(e,t){throw e=Object.prototype.toString.call(t),Error(Y(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function S_(e){var t=e._init;return t(e._payload)}function MI(e){function t(y,v){if(e){var w=y.deletions;w===null?(y.deletions=[v],y.flags|=16):w.push(v)}}function n(y,v){if(!e)return null;for(;v!==null;)t(y,v),v=v.sibling;return null}function r(y,v){for(y=new Map;v!==null;)v.key!==null?y.set(v.key,v):y.set(v.index,v),v=v.sibling;return y}function o(y,v){return y=Ds(y,v),y.index=0,y.sibling=null,y}function i(y,v,w){return y.index=w,e?(w=y.alternate,w!==null?(w=w.index,w<v?(y.flags|=2,v):w):(y.flags|=2,v)):(y.flags|=1048576,v)}function s(y){return e&&y.alternate===null&&(y.flags|=2),y}function a(y,v,w,S){return v===null||v.tag!==6?(v=Kv(w,y.mode,S),v.return=y,v):(v=o(v,w),v.return=y,v)}function l(y,v,w,S){var x=w.type;return x===Ul?c(y,v,w.props.children,S,w.key):v!==null&&(v.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===es&&S_(x)===v.type)?(S=o(v,w.props),S.ref=Cc(y,v,w),S.return=y,S):(S=Sp(w.type,w.key,w.props,null,y.mode,S),S.ref=Cc(y,v,w),S.return=y,S)}function u(y,v,w,S){return v===null||v.tag!==4||v.stateNode.containerInfo!==w.containerInfo||v.stateNode.implementation!==w.implementation?(v=Gv(w,y.mode,S),v.return=y,v):(v=o(v,w.children||[]),v.return=y,v)}function c(y,v,w,S,x){return v===null||v.tag!==7?(v=za(w,y.mode,S,x),v.return=y,v):(v=o(v,w),v.return=y,v)}function d(y,v,w){if(typeof v=="string"&&v!==""||typeof v=="number")return v=Kv(""+v,y.mode,w),v.return=y,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case ch:return w=Sp(v.type,v.key,v.props,null,y.mode,w),w.ref=Cc(y,null,v),w.return=y,w;case Bl:return v=Gv(v,y.mode,w),v.return=y,v;case es:var S=v._init;return d(y,S(v._payload),w)}if(Hc(v)||Sc(v))return v=za(v,y.mode,w,null),v.return=y,v;Sh(y,v)}return null}function f(y,v,w,S){var x=v!==null?v.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return x!==null?null:a(y,v,""+w,S);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case ch:return w.key===x?l(y,v,w,S):null;case Bl:return w.key===x?u(y,v,w,S):null;case es:return x=w._init,f(y,v,x(w._payload),S)}if(Hc(w)||Sc(w))return x!==null?null:c(y,v,w,S,null);Sh(y,w)}return null}function h(y,v,w,S,x){if(typeof S=="string"&&S!==""||typeof S=="number")return y=y.get(w)||null,a(v,y,""+S,x);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ch:return y=y.get(S.key===null?w:S.key)||null,l(v,y,S,x);case Bl:return y=y.get(S.key===null?w:S.key)||null,u(v,y,S,x);case es:var k=S._init;return h(y,v,w,k(S._payload),x)}if(Hc(S)||Sc(S))return y=y.get(w)||null,c(v,y,S,x,null);Sh(v,S)}return null}function g(y,v,w,S){for(var x=null,k=null,_=v,A=v=0,M=null;_!==null&&A<w.length;A++){_.index>A?(M=_,_=null):M=_.sibling;var I=f(y,_,w[A],S);if(I===null){_===null&&(_=M);break}e&&_&&I.alternate===null&&t(y,_),v=i(I,v,A),k===null?x=I:k.sibling=I,k=I,_=M}if(A===w.length)return n(y,_),pt&&ua(y,A),x;if(_===null){for(;A<w.length;A++)_=d(y,w[A],S),_!==null&&(v=i(_,v,A),k===null?x=_:k.sibling=_,k=_);return pt&&ua(y,A),x}for(_=r(y,_);A<w.length;A++)M=h(_,y,A,w[A],S),M!==null&&(e&&M.alternate!==null&&_.delete(M.key===null?A:M.key),v=i(M,v,A),k===null?x=M:k.sibling=M,k=M);return e&&_.forEach(function(N){return t(y,N)}),pt&&ua(y,A),x}function p(y,v,w,S){var x=Sc(w);if(typeof x!="function")throw Error(Y(150));if(w=x.call(w),w==null)throw Error(Y(151));for(var k=x=null,_=v,A=v=0,M=null,I=w.next();_!==null&&!I.done;A++,I=w.next()){_.index>A?(M=_,_=null):M=_.sibling;var N=f(y,_,I.value,S);if(N===null){_===null&&(_=M);break}e&&_&&N.alternate===null&&t(y,_),v=i(N,v,A),k===null?x=N:k.sibling=N,k=N,_=M}if(I.done)return n(y,_),pt&&ua(y,A),x;if(_===null){for(;!I.done;A++,I=w.next())I=d(y,I.value,S),I!==null&&(v=i(I,v,A),k===null?x=I:k.sibling=I,k=I);return pt&&ua(y,A),x}for(_=r(y,_);!I.done;A++,I=w.next())I=h(_,y,A,I.value,S),I!==null&&(e&&I.alternate!==null&&_.delete(I.key===null?A:I.key),v=i(I,v,A),k===null?x=I:k.sibling=I,k=I);return e&&_.forEach(function(L){return t(y,L)}),pt&&ua(y,A),x}function m(y,v,w,S){if(typeof w=="object"&&w!==null&&w.type===Ul&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case ch:e:{for(var x=w.key,k=v;k!==null;){if(k.key===x){if(x=w.type,x===Ul){if(k.tag===7){n(y,k.sibling),v=o(k,w.props.children),v.return=y,y=v;break e}}else if(k.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===es&&S_(x)===k.type){n(y,k.sibling),v=o(k,w.props),v.ref=Cc(y,k,w),v.return=y,y=v;break e}n(y,k);break}else t(y,k);k=k.sibling}w.type===Ul?(v=za(w.props.children,y.mode,S,w.key),v.return=y,y=v):(S=Sp(w.type,w.key,w.props,null,y.mode,S),S.ref=Cc(y,v,w),S.return=y,y=S)}return s(y);case Bl:e:{for(k=w.key;v!==null;){if(v.key===k)if(v.tag===4&&v.stateNode.containerInfo===w.containerInfo&&v.stateNode.implementation===w.implementation){n(y,v.sibling),v=o(v,w.children||[]),v.return=y,y=v;break e}else{n(y,v);break}else t(y,v);v=v.sibling}v=Gv(w,y.mode,S),v.return=y,y=v}return s(y);case es:return k=w._init,m(y,v,k(w._payload),S)}if(Hc(w))return g(y,v,w,S);if(Sc(w))return p(y,v,w,S);Sh(y,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,v!==null&&v.tag===6?(n(y,v.sibling),v=o(v,w),v.return=y,y=v):(n(y,v),v=Kv(w,y.mode,S),v.return=y,y=v),s(y)):n(y,v)}return m}var Ou=MI(!0),II=MI(!1),fm=Ws(null),hm=null,Yl=null,px=null;function mx(){px=Yl=hm=null}function gx(e){var t=fm.current;ht(fm),e._currentValue=t}function ew(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 su(e,t){hm=e,px=Yl=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Gn=!0),e.firstContext=null)}function Ur(e){var t=e._currentValue;if(px!==e)if(e={context:e,memoizedValue:t,next:null},Yl===null){if(hm===null)throw Error(Y(308));Yl=e,hm.dependencies={lanes:0,firstContext:e}}else Yl=Yl.next=e;return t}var xa=null;function yx(e){xa===null?xa=[e]:xa.push(e)}function DI(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,yx(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ri(e,r)}function Ri(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 ts=!1;function vx(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function LI(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 Ei(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Os(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ve&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ri(e,n)}return o=r.interleaved,o===null?(t.next=t,yx(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ri(e,n)}function mp(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,rx(e,n)}}function x_(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 pm(e,t,n,r){var o=e.updateQueue;ts=!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 g=e,p=a;switch(f=t,h=n,p.tag){case 1:if(g=p.payload,typeof g=="function"){d=g.call(h,d,f);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=p.payload,f=typeof g=="function"?g.call(h,d,f):g,f==null)break e;d=wt({},d,f);break e;case 2:ts=!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);Ya|=s,e.lanes=s,e.memoizedState=d}}function k_(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(Y(191,o));o.call(r)}}}var Uf={},Wo=Ws(Uf),Yd=Ws(Uf),Xd=Ws(Uf);function ka(e){if(e===Uf)throw Error(Y(174));return e}function wx(e,t){switch(rt(Xd,t),rt(Yd,e),rt(Wo,Uf),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:D1(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=D1(t,e)}ht(Wo),rt(Wo,t)}function Mu(){ht(Wo),ht(Yd),ht(Xd)}function $I(e){ka(Xd.current);var t=ka(Wo.current),n=D1(t,e.type);t!==n&&(rt(Yd,e),rt(Wo,n))}function bx(e){Yd.current===e&&(ht(Wo),ht(Yd))}var gt=Ws(0);function mm(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 Uv=[];function Sx(){for(var e=0;e<Uv.length;e++)Uv[e]._workInProgressVersionPrimary=null;Uv.length=0}var gp=$i.ReactCurrentDispatcher,zv=$i.ReactCurrentBatchConfig,Ga=0,vt=null,Bt=null,Gt=null,gm=!1,fd=!1,Jd=0,Z7=0;function hn(){throw Error(Y(321))}function xx(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!mo(e[n],t[n]))return!1;return!0}function kx(e,t,n,r,o,i){if(Ga=i,vt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,gp.current=e===null||e.memoizedState===null?rB:oB,e=n(r,o),fd){i=0;do{if(fd=!1,Jd=0,25<=i)throw Error(Y(301));i+=1,Gt=Bt=null,t.updateQueue=null,gp.current=iB,e=n(r,o)}while(fd)}if(gp.current=ym,t=Bt!==null&&Bt.next!==null,Ga=0,Gt=Bt=vt=null,gm=!1,t)throw Error(Y(300));return e}function Ex(){var e=Jd!==0;return Jd=0,e}function Oo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gt===null?vt.memoizedState=Gt=e:Gt=Gt.next=e,Gt}function zr(){if(Bt===null){var e=vt.alternate;e=e!==null?e.memoizedState:null}else e=Bt.next;var t=Gt===null?vt.memoizedState:Gt.next;if(t!==null)Gt=t,Bt=e;else{if(e===null)throw Error(Y(310));Bt=e,e={memoizedState:Bt.memoizedState,baseState:Bt.baseState,baseQueue:Bt.baseQueue,queue:Bt.queue,next:null},Gt===null?vt.memoizedState=Gt=e:Gt=Gt.next=e}return Gt}function Qd(e,t){return typeof t=="function"?t(e):t}function Vv(e){var t=zr(),n=t.queue;if(n===null)throw Error(Y(311));n.lastRenderedReducer=e;var r=Bt,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((Ga&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,vt.lanes|=c,Ya|=c}u=u.next}while(u!==null&&u!==i);l===null?s=r:l.next=a,mo(r,t.memoizedState)||(Gn=!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,vt.lanes|=i,Ya|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Hv(e){var t=zr(),n=t.queue;if(n===null)throw Error(Y(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);mo(i,t.memoizedState)||(Gn=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function NI(){}function jI(e,t){var n=vt,r=zr(),o=t(),i=!mo(r.memoizedState,o);if(i&&(r.memoizedState=o,Gn=!0),r=r.queue,_x(UI.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Gt!==null&&Gt.memoizedState.tag&1){if(n.flags|=2048,Zd(9,BI.bind(null,n,r,o,t),void 0,null),Yt===null)throw Error(Y(349));Ga&30||FI(n,t,o)}return o}function FI(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=vt.updateQueue,t===null?(t={lastEffect:null,stores:null},vt.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function BI(e,t,n,r){t.value=n,t.getSnapshot=r,zI(t)&&VI(e)}function UI(e,t,n){return n(function(){zI(t)&&VI(e)})}function zI(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!mo(e,n)}catch{return!0}}function VI(e){var t=Ri(e,1);t!==null&&fo(t,e,1,-1)}function E_(e){var t=Oo();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qd,lastRenderedState:e},t.queue=e,e=e.dispatch=nB.bind(null,vt,e),[t.memoizedState,e]}function Zd(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=vt.updateQueue,t===null?(t={lastEffect:null,stores:null},vt.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 HI(){return zr().memoizedState}function yp(e,t,n,r){var o=Oo();vt.flags|=e,o.memoizedState=Zd(1|t,n,void 0,r===void 0?null:r)}function Gg(e,t,n,r){var o=zr();r=r===void 0?null:r;var i=void 0;if(Bt!==null){var s=Bt.memoizedState;if(i=s.destroy,r!==null&&xx(r,s.deps)){o.memoizedState=Zd(t,n,i,r);return}}vt.flags|=e,o.memoizedState=Zd(1|t,n,i,r)}function __(e,t){return yp(8390656,8,e,t)}function _x(e,t){return Gg(2048,8,e,t)}function WI(e,t){return Gg(4,2,e,t)}function qI(e,t){return Gg(4,4,e,t)}function KI(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 GI(e,t,n){return n=n!=null?n.concat([e]):null,Gg(4,4,KI.bind(null,t,e),n)}function Cx(){}function YI(e,t){var n=zr();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&xx(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function XI(e,t){var n=zr();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&xx(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function JI(e,t,n){return Ga&21?(mo(n,t)||(n=nI(),vt.lanes|=n,Ya|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Gn=!0),e.memoizedState=n)}function eB(e,t){var n=Ge;Ge=n!==0&&4>n?n:4,e(!0);var r=zv.transition;zv.transition={};try{e(!1),t()}finally{Ge=n,zv.transition=r}}function QI(){return zr().memoizedState}function tB(e,t,n){var r=Is(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ZI(e))eD(t,n);else if(n=DI(e,t,n,r),n!==null){var o=Rn();fo(n,e,r,o),tD(n,t,r)}}function nB(e,t,n){var r=Is(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ZI(e))eD(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,mo(a,s)){var l=t.interleaved;l===null?(o.next=o,yx(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=DI(e,t,o,r),n!==null&&(o=Rn(),fo(n,e,r,o),tD(n,t,r))}}function ZI(e){var t=e.alternate;return e===vt||t!==null&&t===vt}function eD(e,t){fd=gm=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function tD(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rx(e,n)}}var ym={readContext:Ur,useCallback:hn,useContext:hn,useEffect:hn,useImperativeHandle:hn,useInsertionEffect:hn,useLayoutEffect:hn,useMemo:hn,useReducer:hn,useRef:hn,useState:hn,useDebugValue:hn,useDeferredValue:hn,useTransition:hn,useMutableSource:hn,useSyncExternalStore:hn,useId:hn,unstable_isNewReconciler:!1},rB={readContext:Ur,useCallback:function(e,t){return Oo().memoizedState=[e,t===void 0?null:t],e},useContext:Ur,useEffect:__,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,yp(4194308,4,KI.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yp(4194308,4,e,t)},useInsertionEffect:function(e,t){return yp(4,2,e,t)},useMemo:function(e,t){var n=Oo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oo();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=tB.bind(null,vt,e),[r.memoizedState,e]},useRef:function(e){var t=Oo();return e={current:e},t.memoizedState=e},useState:E_,useDebugValue:Cx,useDeferredValue:function(e){return Oo().memoizedState=e},useTransition:function(){var e=E_(!1),t=e[0];return e=eB.bind(null,e[1]),Oo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=vt,o=Oo();if(pt){if(n===void 0)throw Error(Y(407));n=n()}else{if(n=t(),Yt===null)throw Error(Y(349));Ga&30||FI(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,__(UI.bind(null,r,i,e),[e]),r.flags|=2048,Zd(9,BI.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Oo(),t=Yt.identifierPrefix;if(pt){var n=ki,r=xi;n=(r&~(1<<32-co(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Jd++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Z7++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oB={readContext:Ur,useCallback:YI,useContext:Ur,useEffect:_x,useImperativeHandle:GI,useInsertionEffect:WI,useLayoutEffect:qI,useMemo:XI,useReducer:Vv,useRef:HI,useState:function(){return Vv(Qd)},useDebugValue:Cx,useDeferredValue:function(e){var t=zr();return JI(t,Bt.memoizedState,e)},useTransition:function(){var e=Vv(Qd)[0],t=zr().memoizedState;return[e,t]},useMutableSource:NI,useSyncExternalStore:jI,useId:QI,unstable_isNewReconciler:!1},iB={readContext:Ur,useCallback:YI,useContext:Ur,useEffect:_x,useImperativeHandle:GI,useInsertionEffect:WI,useLayoutEffect:qI,useMemo:XI,useReducer:Hv,useRef:HI,useState:function(){return Hv(Qd)},useDebugValue:Cx,useDeferredValue:function(e){var t=zr();return Bt===null?t.memoizedState=e:JI(t,Bt.memoizedState,e)},useTransition:function(){var e=Hv(Qd)[0],t=zr().memoizedState;return[e,t]},useMutableSource:NI,useSyncExternalStore:jI,useId:QI,unstable_isNewReconciler:!1};function ro(e,t){if(e&&e.defaultProps){t=wt({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function tw(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:wt({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Yg={isMounted:function(e){return(e=e._reactInternals)?ul(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Rn(),o=Is(e),i=Ei(r,o);i.payload=t,n!=null&&(i.callback=n),t=Os(e,i,o),t!==null&&(fo(t,e,o,r),mp(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Rn(),o=Is(e),i=Ei(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Os(e,i,o),t!==null&&(fo(t,e,o,r),mp(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Rn(),r=Is(e),o=Ei(n,r);o.tag=2,t!=null&&(o.callback=t),t=Os(e,o,r),t!==null&&(fo(t,e,r,n),mp(t,e,r))}};function C_(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?!Wd(n,r)||!Wd(o,i):!0}function nD(e,t,n){var r=!1,o=Fs,i=t.contextType;return typeof i=="object"&&i!==null?i=Ur(i):(o=Xn(t)?qa:yn.current,r=t.contextTypes,i=(r=r!=null)?Pu(e,o):Fs),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Yg,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function T_(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&&Yg.enqueueReplaceState(t,t.state,null)}function nw(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},vx(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Ur(i):(i=Xn(t)?qa:yn.current,o.context=Pu(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(tw(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&&Yg.enqueueReplaceState(o,o.state,null),pm(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Iu(e,t){try{var n="",r=t;do n+=I6(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 Wv(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function rw(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var sB=typeof WeakMap=="function"?WeakMap:Map;function rD(e,t,n){n=Ei(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){wm||(wm=!0,hw=r),rw(e,t)},n}
vendor: 11,444 bytes, line 40
40function oD(e,t,n){n=Ei(-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(){rw(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){rw(e,t),typeof r!="function"&&(Ms===null?Ms=new Set([this]):Ms.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function A_(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new sB;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=bB.bind(null,e,t,n),t.then(e,e))}function P_(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 R_(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=Ei(-1,1),t.tag=2,Os(n,t,1))),n.lanes|=1),e)}var aB=$i.ReactCurrentOwner,Gn=!1;function _n(e,t,n,r){t.child=e===null?II(t,null,n,r):Ou(t,e.child,n,r)}function O_(e,t,n,r,o){n=n.render;var i=t.ref;return su(t,o),r=kx(e,t,n,r,i,o),n=Ex(),e!==null&&!Gn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Oi(e,t,o)):(pt&&n&&dx(t),t.flags|=1,_n(e,t,r,o),t.child)}function M_(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Dx(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,iD(e,t,i,r,o)):(e=Sp(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:Wd,n(s,r)&&e.ref===t.ref)return Oi(e,t,o)}return t.flags|=1,e=Ds(i,r),e.ref=t.ref,e.return=t,t.child=e}function iD(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Wd(i,r)&&e.ref===t.ref)if(Gn=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Gn=!0);else return t.lanes=e.lanes,Oi(e,t,o)}return ow(e,t,n,r,o)}function sD(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},rt(Jl,cr),cr|=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,rt(Jl,cr),cr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,rt(Jl,cr),cr|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,rt(Jl,cr),cr|=r;return _n(e,t,o,n),t.child}function aD(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ow(e,t,n,r,o){var i=Xn(n)?qa:yn.current;return i=Pu(t,i),su(t,o),n=kx(e,t,n,r,i,o),r=Ex(),e!==null&&!Gn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Oi(e,t,o)):(pt&&r&&dx(t),t.flags|=1,_n(e,t,n,o),t.child)}function I_(e,t,n,r,o){if(Xn(n)){var i=!0;um(t)}else i=!1;if(su(t,o),t.stateNode===null)vp(e,t),nD(t,n,r),nw(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=Ur(u):(u=Xn(n)?qa:yn.current,u=Pu(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)&&T_(t,s,r,u),ts=!1;var f=t.memoizedState;s.state=f,pm(t,r,s,o),l=t.memoizedState,a!==r||f!==l||Yn.current||ts?(typeof c=="function"&&(tw(t,n,c,r),l=t.memoizedState),(a=ts||C_(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,LI(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:ro(t.type,a),s.props=u,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=Ur(l):(l=Xn(n)?qa:yn.current,l=Pu(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)&&T_(t,s,r,l),ts=!1,f=t.memoizedState,s.state=f,pm(t,r,s,o);var g=t.memoizedState;a!==d||f!==g||Yn.current||ts?(typeof h=="function"&&(tw(t,n,h,r),g=t.memoizedState),(u=ts||C_(t,n,u,r,f,g,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,g,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,g,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=g),s.props=r,s.state=g,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 iw(e,t,n,r,i,o)}function iw(e,t,n,r,o,i){aD(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&v_(t,n,!1),Oi(e,t,i);r=t.stateNode,aB.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Ou(t,e.child,null,i),t.child=Ou(t,null,a,i)):_n(e,t,a,i),t.memoizedState=r.state,o&&v_(t,n,!0),t.child}function lD(e){var t=e.stateNode;t.pendingContext?y_(e,t.pendingContext,t.pendingContext!==t.context):t.context&&y_(e,t.context,!1),wx(e,t.containerInfo)}function D_(e,t,n,r,o){return Ru(),hx(o),t.flags|=256,_n(e,t,n,r),t.child}var sw={dehydrated:null,treeContext:null,retryLane:0};function aw(e){return{baseLanes:e,cachePool:null,transitions:null}}function uD(e,t,n){var r=t.pendingProps,o=gt.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),rt(gt,o&1),e===null)return Z1(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=Qg(s,r,0,null),e=za(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=aw(n),t.memoizedState=sw,e):Tx(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return lB(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=Ds(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Ds(a,i):(i=za(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?aw(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=sw,r}return i=e.child,e=i.sibling,r=Ds(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 Tx(e,t){return t=Qg({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function xh(e,t,n,r){return r!==null&&hx(r),Ou(t,e.child,null,n),e=Tx(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lB(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Wv(Error(Y(422))),xh(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Qg({mode:"visible",children:r.children},o,0,null),i=za(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Ou(t,e.child,null,s),t.child.memoizedState=aw(s),t.memoizedState=sw,i);if(!(t.mode&1))return xh(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(Y(419)),r=Wv(i,r,void 0),xh(e,t,s,r)}if(a=(s&e.childLanes)!==0,Gn||a){if(r=Yt,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,Ri(e,o),fo(r,e,o,-1))}return Ix(),r=Wv(Error(Y(421))),xh(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=SB.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,vr=Rs(o.nextSibling),br=t,pt=!0,lo=null,e!==null&&(Lr[$r++]=xi,Lr[$r++]=ki,Lr[$r++]=Ka,xi=e.id,ki=e.overflow,Ka=t),t=Tx(t,r.children),t.flags|=4096,t)}function L_(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ew(e.return,t,n)}function qv(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 cD(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(_n(e,t,r.children,n),r=gt.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&&L_(e,n,t);else if(e.tag===19)L_(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(rt(gt,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&&mm(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),qv(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&&mm(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}qv(t,!0,n,null,i);break;case"together":qv(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function vp(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Oi(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ya|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Y(153));if(t.child!==null){for(e=t.child,n=Ds(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ds(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function uB(e,t,n){switch(t.tag){case 3:lD(t),Ru();break;case 5:$I(t);break;case 1:Xn(t.type)&&um(t);break;case 4:wx(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;rt(fm,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(rt(gt,gt.current&1),t.flags|=128,null):n&t.child.childLanes?uD(e,t,n):(rt(gt,gt.current&1),e=Oi(e,t,n
vendor: 4,145 bytes, line 40
40),e!==null?e.sibling:null);rt(gt,gt.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return cD(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),rt(gt,gt.current),r)break;return null;case 22:case 23:return t.lanes=0,sD(e,t,n)}return Oi(e,t,n)}var dD,lw,fD,hD;dD=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}};lw=function(){};fD=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ka(Wo.current);var i=null;switch(n){case"input":o=R1(e,o),r=R1(e,r),i=[];break;case"select":o=wt({},o,{value:void 0}),r=wt({},r,{value:void 0}),i=[];break;case"textarea":o=I1(e,o),r=I1(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=am)}L1(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"&&(jd.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(jd.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&lt("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)}};hD=function(e,t,n,r){n!==r&&(t.flags|=4)};function Tc(e,t){if(!pt)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 pn(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 cB(e,t,n){var r=t.pendingProps;switch(fx(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pn(t),null;case 1:return Xn(t.type)&&lm(),pn(t),null;case 3:return r=t.stateNode,Mu(),ht(Yn),ht(yn),Sx(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(bh(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,lo!==null&&(gw(lo),lo=null))),lw(e,t),pn(t),null;case 5:bx(t);var o=ka(Xd.current);if(n=t.type,e!==null&&t.stateNode!=null)fD(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Y(166));return pn(t),null}if(e=ka(Wo.current),bh(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Uo]=t,r[Gd]=i,e=(t.mode&1)!==0,n){case"dialog":lt("cancel",r),lt("close",r);break;case"iframe":case"object":case"embed":lt("load",r);break;case"video":case"audio":for(o=0;o<qc.length;o++)lt(qc[o],r);break;case"source":lt("error",r);break;case"img":case"image":case"link":lt("error",r),lt("load",r);break;case"details":lt("toggle",r);break;case"input":HE(r,i),lt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},lt("invalid",r);break;case"textarea":qE(r,i),lt("invalid",r)}L1(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];
vendor: 31,762 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&wh(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&wh(r.textContent,a,e),o=["children",""+a]):jd.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&lt("scroll",r)}switch(n){case"input":dh(r),WE(r,i,!0);break;case"textarea":dh(r),KE(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=am)}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=UM(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[Uo]=t,e[Gd]=r,dD(e,t,!1,!1),t.stateNode=e;e:{switch(s=$1(n,r),n){case"dialog":lt("cancel",e),lt("close",e),o=r;break;case"iframe":case"object":case"embed":lt("load",e),o=r;break;case"video":case"audio":for(o=0;o<qc.length;o++)lt(qc[o],e);o=r;break;case"source":lt("error",e),o=r;break;case"img":case"image":case"link":lt("error",e),lt("load",e),o=r;break;case"details":lt("toggle",e),o=r;break;case"input":HE(e,r),o=R1(e,r),lt("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=wt({},r,{value:void 0}),lt("invalid",e);break;case"textarea":qE(e,r),o=I1(e,r),lt("invalid",e);break;default:o=r}L1(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?HM(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&zM(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Fd(e,l):typeof l=="number"&&Fd(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(jd.hasOwnProperty(i)?l!=null&&i==="onScroll"&&lt("scroll",e):l!=null&&JS(e,i,l,s))}switch(n){case"input":dh(e),WE(e,r,!1);break;case"textarea":dh(e),KE(e);break;case"option":r.value!=null&&e.setAttribute("value",""+js(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?nu(e,!!r.multiple,i,!1):r.defaultValue!=null&&nu(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=am)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return pn(t),null;case 6:if(e&&t.stateNode!=null)hD(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(Y(166));if(n=ka(Xd.current),ka(Wo.current),bh(t)){if(r=t.stateNode,n=t.memoizedProps,r[Uo]=t,(i=r.nodeValue!==n)&&(e=br,e!==null))switch(e.tag){case 3:wh(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&wh(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Uo]=t,t.stateNode=r}return pn(t),null;case 13:if(ht(gt),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(pt&&vr!==null&&t.mode&1&&!(t.flags&128))OI(),Ru(),t.flags|=98560,i=!1;else if(i=bh(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(Y(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(Y(317));i[Uo]=t}else Ru(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;pn(t),i=!1}else lo!==null&&(gw(lo),lo=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||gt.current&1?zt===0&&(zt=3):Ix())),t.updateQueue!==null&&(t.flags|=4),pn(t),null);case 4:return Mu(),lw(e,t),e===null&&qd(t.stateNode.containerInfo),pn(t),null;case 10:return gx(t.type._context),pn(t),null;case 17:return Xn(t.type)&&lm(),pn(t),null;case 19:if(ht(gt),i=t.memoizedState,i===null)return pn(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)Tc(i,!1);else{if(zt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=mm(e),s!==null){for(t.flags|=128,Tc(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 rt(gt,gt.current&1|2),t.child}e=e.sibling}i.tail!==null&&Pt()>Du&&(t.flags|=128,r=!0,Tc(i,!1),t.lanes=4194304)}else{if(!r)if(e=mm(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Tc(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!pt)return pn(t),null}else 2*Pt()-i.renderingStartTime>Du&&n!==1073741824&&(t.flags|=128,r=!0,Tc(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=Pt(),t.sibling=null,n=gt.current,rt(gt,r?n&1|2:n&1),t):(pn(t),null);case 22:case 23:return Mx(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?cr&1073741824&&(pn(t),t.subtreeFlags&6&&(t.flags|=8192)):pn(t),null;case 24:return null;case 25:return null}throw Error(Y(156,t.tag))}function dB(e,t){switch(fx(t),t.tag){case 1:return Xn(t.type)&&lm(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Mu(),ht(Yn),ht(yn),Sx(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return bx(t),null;case 13:if(ht(gt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Y(340));Ru()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ht(gt),null;case 4:return Mu(),null;case 10:return gx(t.type._context),null;case 22:case 23:return Mx(),null;case 24:return null;default:return null}}var kh=!1,gn=!1,fB=typeof WeakSet=="function"?WeakSet:Set,de=null;function Xl(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ct(e,t,r)}else n.current=null}function uw(e,t,n){try{n()}catch(r){Ct(e,t,r)}}var $_=!1;function hB(e,t){if(q1=om,e=vI(),cx(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(K1={focusedElem:e,selectionRange:n},om=!1,de=t;de!==null;)if(t=de,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,de=e;else for(;de!==null;){t=de;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var p=g.memoizedProps,m=g.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?p:ro(t.type,p),m);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Y(163))}}catch(S){Ct(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,de=e;break}de=t.return}return g=$_,$_=!1,g}function hd(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&&uw(t,n,i)}o=o.next}while(o!==r)}}function Xg(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 cw(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 pD(e){var t=e.alternate;t!==null&&(e.alternate=null,pD(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Uo],delete t[Gd],delete t[X1],delete t[Y7],delete t[X7])),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 mD(e){return e.tag===5||e.tag===3||e.tag===4}function N_(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||mD(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 dw(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=am));else if(r!==4&&(e=e.child,e!==null))for(dw(e,t,n),e=e.sibling;e!==null;)dw(e,t,n),e=e.sibling}function fw(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(fw(e,t,n),e=e.sibling;e!==null;)fw(e,t,n),e=e.sibling}var tn=null,ao=!1;function Vi(e,t,n){for(n=n.child;n!==null;)gD(e,t,n),n=n.sibling}function gD(e,t,n){if(Ho&&typeof Ho.onCommitFiberUnmount=="function")try{Ho.onCommitFiberUnmount(zg,n)}catch{}switch(n.tag){case 5:gn||Xl(n,t);case 6:var r=tn,o=ao;tn=null,Vi(e,t,n),tn=r,ao=o,tn!==null&&(ao?(e=tn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):tn.removeChild(n.stateNode));break;case 18:tn!==null&&(ao?(e=tn,n=n.stateNode,e.nodeType===8?Fv(e.parentNode,n):e.nodeType===1&&Fv(e,n),Vd(e)):Fv(tn,n.stateNode));break;case 4:r=tn,o=ao,tn=n.stateNode.containerInfo,ao=!0,Vi(e,t,n),tn=r,ao=o;break;case 0:case 11:case 14:case 15:if(!gn&&(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)&&uw(n,t,s),o=o.next}while(o!==r)}Vi(e,t,n);break;case 1:if(!gn&&(Xl(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ct(n,t,a)}Vi(e,t,n);break;case 21:Vi(e,t,n);break;case 22:n.mode&1?(gn=(r=gn)||n.memoizedState!==null,Vi(e,t,n),gn=r):Vi(e,t,n);break;default:Vi(e,t,n)}}function j_(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new fB),t.forEach(function(r){var o=xB.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Xr(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:tn=a.stateNode,ao=!1;break e;case 3:tn=a.stateNode.containerInfo,ao=!0;break e;case 4:tn=a.stateNode.containerInfo,ao=!0;break e}a=a.return}if(tn===null)throw Error(Y(160));gD(i,s,o),tn=null,ao=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){Ct(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)yD(t,e),t=t.sibling}function yD(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Xr(t,e),Eo(e),r&4){try{hd(3,e,e.return),Xg(3,e)}catch(p){Ct(e,e.return,p)}try{hd(5,e,e.return)}catch(p){Ct(e,e.return,p)}}break;case 1:Xr(t,e),Eo(e),r&512&&n!==null&&Xl(n,n.return);break;case 5:if(Xr(t,e),Eo(e),r&512&&n!==null&&Xl(n,n.return),e.flags&32){var o=e.stateNode;try{Fd(o,"")}catch(p){Ct(e,e.return,p)}}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&&FM(o,i),$1(a,s);var u=$1(a,i);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?HM(o,d):c==="dangerouslySetInnerHTML"?zM(o,d):c==="children"?Fd(o,d):JS(o,c,d,u)}switch(a){case"input":O1(o,i);break;case"textarea":BM(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?nu(o,!!i.multiple,h,!1):f!==!!i.multiple&&(i.defaultValue!=null?nu(o,!!i.multiple,i.defaultValue,!0):nu(o,!!i.multiple,i.multiple?[]:"",!1))}o[Gd]=i}catch(p){Ct(e,e.return,p)}}break;case 6:if(Xr(t,e),Eo(e),r&4){if(e.stateNode===null)throw Error(Y(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(p){Ct(e,e.return,p)}}break;case 3:if(Xr(t,e),Eo(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Vd(t.containerInfo)}catch(p){Ct(e,e.return,p)}break;case 4:Xr(t,e),Eo(e);break;case 13:Xr(t,e),Eo(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Rx=Pt())),r&4&&j_(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(gn=(u=gn)||c,Xr(t,e),gn=u):Xr(t,e),Eo(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(de=e,c=e.child;c!==null;){for(d=de=c;de!==null;){switch(f=de,h=f.child,f.tag){case 0:case 11:case 14:case 15:hd(4,f,f.return);break;case 1:Xl(f,f.return);var g=f.stateNode;if(typeof g.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(p){Ct(r,n,p)}}break;case 5:Xl(f,f.return);break;case 22:if(f.memoizedState!==null){B_(d);continue}}h!==null?(h.return=f,de=h):B_(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=VM("display",s))}catch(p){Ct(e,e.return,p)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(p){Ct(e,e.return,p)}}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:Xr(t,e),Eo(e),r&4&&j_(e);break;case 21:break;default:Xr(t,e),Eo(e)}}function Eo(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(mD(n)){var r=n;break e}n=n.return}throw Error(Y(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Fd(o,""),r.flags&=-33);var i=N_(e);fw(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=N_(e);dw(e,a,s);break;default:throw Error(Y(161))}}catch(l){Ct(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function pB(e,t,n){de=e,vD(e)}function vD(e,t,n){for(var r=(e.mode&1)!==0;de!==null;){var o=de,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||kh;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||gn;a=kh;var u=gn;if(kh=s,(gn=l)&&!u)for(de=o;de!==null;)s=de,l=s.child,s.tag===22&&s.memoizedState!==null?U_(o):l!==null?(l.return=s,de=l):U_(o);for(;i!==null;)de=i,vD(i),i=i.sibling;de=o,kh=a,gn=u}F_(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,de=i):F_(e)}}function F_(e){for(;de!==null;){var t=de;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:gn||Xg(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!gn)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ro(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&k_(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}k_(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&&Vd(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(Y(163))}gn||t.flags&512&&cw(t)}catch(f){Ct(t,t.return,f)}}if(t===e){de=null;break}if(n=t.sibling,n!==null){n.return=t.return,de=n;break}de=t.return}}function B_(e){for(;de!==null;){var t=de;if(t===e){de=null;break}var n=t.sibling;if(n!==null){n.return=t.return,de=n;break}de=t.return}}function U_(e){for(;de!==null;){var t=de;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Xg(4,t)}catch(l){Ct(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){Ct(t,o,l)}}var i=t.return;try{cw(t)}catch(l){Ct(t,i,l)}break;case 5:var s=t.return;try{cw(t)}catch(l){Ct(t,s,l)}}}catch(l){Ct(t,t.return,l)}if(t===e){de=null;break}var a=t.sibling;if(a!==null){a.return=t.return,de=a;break}de=t.return}}var mB=Math.ceil,vm=$i.ReactCurrentDispatcher,Ax=$i.ReactCurrentOwner,Br=$i.ReactCurrentBatchConfig,Ve=0,Yt=null,Nt=null,sn=0,cr=0,Jl=Ws(0),zt=0,ef=null,Ya=0,Jg=0,Px=0,pd=null,Wn=null,Rx=0,Du=1/0,mi=null,wm=!1,hw=null,Ms=null,Eh=!1,Ss=null,bm=0,md=0,pw=null,wp=-1,bp=0;function Rn(){return Ve&6?Pt():wp!==-1?wp:wp=Pt()}function Is(e){return e.mode&1?Ve&2&&sn!==0?sn&-sn:Q7.transition!==null?(bp===0&&(bp=nI()),bp):(e=Ge,e!==0||(e=window.event,e=e===void 0?16:uI(e.type)),e):1}function fo(e,t,n,r){if(50<md)throw md=0,pw=null,Error(Y(185));jf(e,n,r),(!(Ve&2)||e!==Yt)&&(e===Yt&&(!(Ve&2)&&(Jg|=n),zt===4&&is(e,sn)),Jn(e,r),n===1&&Ve===0&&!(t.mode&1)&&(Du=Pt()+500,Kg&&qs()))}function Jn(e,t){var n=e.callbackNode;Q6(e,t);var r=rm(e,e===Yt?sn:0);if(r===0)n!==null&&XE(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&XE(n),t===1)e.tag===0?J7(z_.bind(null,e)):AI(z_.bind(null,e)),K7(function(){!(Ve&6)&&qs()}),n=null;else{switch(rI(r)){case 1:n=nx;break;case 4:n=eI;break;case 16:n=nm;break;case 536870912:n=tI;break;default:n=nm}n=CD(n,wD.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function wD(e,t){if(wp=-1,bp=0,Ve&6)throw Error(Y(327));var n=e.callbackNode;if(au()&&e.callbackNode!==n)return null;var r=rm(e,e===Yt?sn:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Sm(e,r);else{t=r;var o=Ve;Ve|=2;var i=SD();(Yt!==e||sn!==t)&&(mi=null,Du=Pt()+500,Ua(e,t));do try{vB();break}catch(a){bD(e,a)}while(!0);mx(),vm.current=i,Ve=o,Nt!==null?t=0:(Yt=null,sn=0,t=zt)}if(t!==0){if(t===2&&(o=U1(e),o!==0&&(r=o,t=mw(e,o))),t===1)throw n=ef,Ua(e,0),is(e,r),Jn(e,Pt()),n;if(t===6)is(e,r);else{if(o=e.current.alternate,!(r&30)&&!gB(o)&&(t=Sm(e,r),t===2&&(i=U1(e),i!==0&&(r=i,t=mw(e,i))),t===1))throw n=ef,Ua(e,0),is(e,r),Jn(e,Pt()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(Y(345));case 2:ca(e,Wn,mi);break;case 3:if(is(e,r),(r&130023424)===r&&(t=Rx+500-Pt(),10<t)){if(rm(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Rn(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Y1(ca.bind(null,e,Wn,mi),t);break}ca(e,Wn,mi);break;case 4:if(is(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-co(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=Pt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*mB(r/1960))-r,10<r){e.timeoutHandle=Y1(ca.bind(null,e,Wn,mi),r);break}ca(e,Wn,mi);break;case 5:ca(e,Wn,mi);break;default:throw Error(Y(329))}}}return Jn(e,Pt()),e.callbackNode===n?wD.bind(null,e):null}function mw(e,t){var n=pd;return e.current.memoizedState.isDehydrated&&(Ua(e,t).flags|=256),e=Sm(e,t),e!==2&&(t=Wn,Wn=n,t!==null&&gw(t)),e}function gw(e){Wn===null?Wn=e:Wn.push.apply(Wn,e)}function gB(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(!mo(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 is(e,t){for(t&=~Px,t&=~Jg,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-co(t),r=1<<n;e[n]=-1,t&=~r}}function z_(e){if(Ve&6)throw Error(Y(327));au();var t=rm(e,0);if(!(t&1))return Jn(e,Pt()),null;var n=Sm(e,t);if(e.tag!==0&&n===2){var r=U1(e);r!==0&&(t=r,n=mw(e,r))}if(n===1)throw n=ef,Ua(e,0),is(e,t),Jn(e,Pt()),n;if(n===6)throw Error(Y(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ca(e,Wn,mi),Jn(e,Pt()),null}function Ox(e,t){var n=Ve;Ve|=1;try{return e(t)}finally{Ve=n,Ve===0&&(Du=Pt()+500,Kg&&qs())}}function Xa(e){Ss!==null&&Ss.tag===0&&!(Ve&6)&&au();var t=Ve;Ve|=1;var n=Br.transition,r=Ge;try{if(Br.transition=null,Ge=1,e)return e()}finally{Ge=r,Br.transition=n,Ve=t,!(Ve&6)&&qs()}}function Mx(){cr=Jl.current,ht(Jl)}function Ua(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,q7(n)),Nt!==null)for(n=Nt.return;n!==null;){var r=n;switch(fx(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&lm();break;case 3:Mu(),ht(Yn),ht(yn),Sx();break;case 5:bx(r);break;case 4:Mu();break;case 13:ht(gt);break;case 19:ht(gt);break;case 10:gx(r.type._context);break;case 22:case 23:Mx()}n=n.return}if(Yt=e,Nt=e=Ds(e.current,null),sn=cr=t,zt=0,ef=null,Px=Jg=Ya=0,Wn=pd=null,xa!==null){for(t=0;t<xa.length;t++)if(n=xa[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}xa=null}return e}function bD(e,t){do{var n=Nt;try{if(mx(),gp.current=ym,gm){for(var r=vt.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}gm=!1}if(Ga=0,Gt=Bt=vt=null,fd=!1,Jd=0,Ax.current=null,n===null||n.return===null){zt=1,ef=t,Nt=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=sn,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=P_(s);if(h!==null){h.flags&=-257,R_(h,s,a,i,t),h.mode&1&&A_(i,u,t),t=h,l=u;var g=t.updateQueue;if(g===null){var p=new Set;p.add(l),t.updateQueue=p}else g.add(l);break e}else{if(!(t&1)){A_(i,u,t),Ix();break e}l=Error(Y(426))}}else if(pt&&a.mode&1){var m=P_(s);if(m!==null){!(m.flags&65536)&&(m.flags|=256),R_(m,s,a,i,t),hx(Iu(l,a));break e}}i=l=Iu(l,a),zt!==4&&(zt=2),pd===null?pd=[i]:pd.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var y=rD(i,l,t);x_(i,y);break e;case 1:a=l;var v=i.type,w=i.stateNode;if(!(i.flags&128)&&(typeof v.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(Ms===null||!Ms.has(w)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=oD(i,a,t);x_(i,S);break e}}i=i.return}while(i!==null)}kD(n)}catch(x){t=x,Nt===n&&n!==null&&(Nt=n=n.return);continue}break}while(!0)}function SD(){var e=vm.current;return vm.current=ym,e===null?ym:e}function Ix(){(zt===0||zt===3||zt===2)&&(zt=4),Yt===null||!(Ya&268435455)&&!(Jg&268435455)||is(Yt,sn)}function Sm(e,t){var n=Ve;Ve|=2;var r=SD();(Yt!==e||sn!==t)&&(mi=null,Ua(e,t));do try{yB();break}catch(o){bD(e,o)}while(!0);if(mx(),Ve=n,vm.current=r,Nt!==null)throw Error(Y(261));return Yt=null,sn=0,zt}function yB(){for(;Nt!==null;)xD(Nt)}function vB(){for(;Nt!==null&&!V6();)xD(Nt)}function xD(e){var t=_D(e.alternate,e,cr);e.memoizedProps=e.pendingProps,t===null?kD(e):Nt=t,Ax.current=null}function kD(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=dB(n,t),n!==null){n.flags&=32767,Nt=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{zt=6,Nt=null;return}}else if(n=cB(n,t,cr),n!==null){Nt=n;return}if(t=t.sibling,t!==null){Nt=t;return}Nt=t=e}while(t!==null);zt===0&&(zt=5)}function ca(e,t,n){var r=Ge,o=Br.transition;try{Br.transition=null,Ge=1,wB(e,t,n,r)}finally{Br.transition=o,Ge=r}return null}function wB(e,t,n,r){do au();while(Ss!==null);if(Ve&6)throw Error(Y(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(Y(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Z6(e,i),e===Yt&&(Nt=Yt=null,sn=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Eh||(Eh=!0,CD(nm,function(){return au(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Br.transition,Br.transition=null;var s=Ge;Ge=1;var a=Ve;Ve|=4,Ax.current=null,hB(e,n),yD(n,e),F7(K1),om=!!q1,K1=q1=null,e.current=n,pB(n),H6(),Ve=a,Ge=s,Br.transition=i}else e.current=n;if(Eh&&(Eh=!1,Ss=e,bm=o),i=e.pendingLanes,i===0&&(Ms=null),K6(n.stateNode),Jn(e,Pt()),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(wm)throw wm=!1,e=hw,hw=null,e;return bm&1&&e.tag!==0&&au(),i=e.pendingLanes,i&1?e===pw?md++:(md=0,pw=e):md=0,qs(),null}function au(){if(Ss!==null){var e=rI(bm),t=Br.transition,n=Ge;try{if(Br.transition=null,Ge=16>e?16:e,Ss===null)var r=!1;else{if(e=Ss,Ss=null,bm=0,Ve&6)throw Error(Y(331));var o=Ve;for(Ve|=4,de=e.current;de!==null;){var i=de,s=i.child;if(de.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(de=u;de!==null;){var c=de;switch(c.tag){case 0:case 11:case 15:hd(8,c,i)}var d=c.child;if(d!==null)d.return=c,de=d;else for(;de!==null;){c=de;var f=c.sibling,h=c.return;if(pD(c),c===u){de=null;break}if(f!==null){f.return=h,de=f;break}de=h}}}var g=i.alternate;if(g!==null){var p=g.child;if(p!==null){g.child=null;do{var m=p.sibling;p.sibling=null,p=m}while(p!==null)}}de=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,de=s;else e:for(;de!==null;){if(i=de,i.flags&2048)switch(i.tag){case 0:case 11:case 15:hd(9,i,i.return)}var y=i.sibling;if(y!==null){y.return=i.return,de=y;break e}de=i.return}}var v=e.current;for(de=v;de!==null;){s=de;var w=s.child;if(s.subtreeFlags&2064&&w!==null)w.return=s,de=w;else e:for(s=v;de!==null;){if(a=de,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Xg(9,a)}}catch(x){Ct(a,a.return,x)}if(a===s){de=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,de=S;break e}de=a.return}}if(Ve=o,qs(),Ho&&typeof Ho.onPostCommitFiberRoot=="function")try{Ho.onPostCommitFiberRoot(zg,e)}catch{}r=!0}return r}finally{Ge=n,Br.transition=t}}return!1}function V_(e,t,n){t=Iu(n,t),t=rD(e,t,1),e=Os(e,t,1),t=Rn(),e!==null&&(jf(e,1,t),Jn(e,t))}function Ct(e,t,n){if(e.tag===3)V_(e,e,n);else for(;t!==null;){if(t.tag===3){V_(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ms===null||!Ms.has(r))){e=Iu(n,e),e=oD(t,e,1),t=Os(t,e,1),e=Rn(),t!==null&&(jf(t,1,e),Jn(t,e));break}}t=t.return}}function bB(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Rn(),e.pingedLanes|=e.suspendedLanes&n,Yt===e&&(sn&n)===n&&(zt===4||zt===3&&(sn&130023424)===sn&&500>Pt()-Rx?Ua(e,0):Px|=n),Jn(e,t)}function ED(e,t){t===0&&(e.mode&1?(t=ph,ph<<=1,!(ph&130023424)&&(ph=4194304)):t=1);var n=Rn();e=Ri(e,t),e!==null&&(jf(e,t,n),Jn(e,n))}function SB(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ED(e,n)}function xB(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(Y(314))}r!==null&&r.delete(t),ED(e,n)}var _D;_D=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Yn.current)Gn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Gn=!1,uB(e,t,n);Gn=!!(e.flags&131072)}else Gn=!1,pt&&t.flags&1048576&&PI(t,dm,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;vp(e,t),e=t.pendingProps;var o=Pu(t,yn.current);su(t,n),o=kx(null,t,r,e,o,n);var i=Ex();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,Xn(r)?(i=!0,um(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,vx(t),o.updater=Yg,t.stateNode=o,o._reactInternals=t,nw(t,r,e,n),t=iw(null,t,r,!0,i,n)):(t.tag=0,pt&&i&&dx(t),_n(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(vp(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=EB(r),e=ro(r,e),o){case 0:t=ow(null,t,r,e,n);break e;case 1:t=I_(null,t,r,e,n);break e;case 11:t=O_(null,t,r,e,n);break e;case 14:t=M_(null,t,r,ro(r.type,e),n);break e}throw Error(Y(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ro(r,o),ow(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ro(r,o),I_(e,t,r,o,n);case 3:e:{if(lD(t),e===null)throw Error(Y(387));r=t.pendingProps,i=t.memoizedState,o=i.element,LI(e,t),pm(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=Iu(Error(Y(423)),t),t=D_(e,t,r,n,o);break e}else if(r!==o){o=Iu(Error(Y(424)),t),t=D_(e,t,r,n,o);break e}else for(vr=Rs(t.stateNode.containerInfo.firstChild),br=t,pt=!0,lo=null,n=II(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ru(),r===o){t=Oi(e,t,n);break e}_n(e,t,r,n)}t=t.child}return t;case 5:return $I(t),e===null&&Z1(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,G1(r,o)?s=null:i!==null&&G1(r,i)&&(t.flags|=32),aD(e,t),_n(e,t,s,n),t.child;case 6:return e===null&&Z1(t),null;case 13:return uD(e,t,n);case 4:return wx(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ou(t,null,r,n):_n(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ro(r,o),O_(e,t,r,o,n);case 7:return _n(e,t,t.pendingProps,n),t.child;case 8:return _n(e,t,t.pendingProps.children,n),t.child;case 12:return _n(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,rt(fm,r._currentValue),r._currentValue=s,i!==null)if(mo(i.value,s)){if(i.children===o.children&&!Yn.current){t=Oi(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=Ei(-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),ew(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(Y(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),ew(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}_n(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,su(t,n),o=Ur(o),r=r(o),t.flags|=1,_n(e,t,r,n),t.child;case 14:return r=t.type,o=ro(r,t.pendingProps),o=ro(r.type,o),M_(e,t,r,o,n);case 15:return iD(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ro(r,o),vp(e,t),t.tag=1,Xn(r)?(e=!0,um(t)):e=!1,su(t,n),nD(t,r,o),nw(t,r,o,n),iw(null,t,r,!0,e,n);case 19:return cD(e,t,n);case 22:return sD(e,t,n)}throw Error(Y(156,t.tag))};function CD(e,t){return ZM(e,t)}function kB(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 5,289 bytes, line 40
40ype=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 Nr(e,t,n,r){return new kB(e,t,n,r)}function Dx(e){return e=e.prototype,!(!e||!e.isReactComponent)}function EB(e){if(typeof e=="function")return Dx(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ZS)return 11;if(e===ex)return 14}return 2}function Ds(e,t){var n=e.alternate;return n===null?(n=Nr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Sp(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")Dx(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Ul:return za(n.children,o,i,t);case QS:s=8,o|=8;break;case C1:return e=Nr(12,n,t,o|2),e.elementType=C1,e.lanes=i,e;case T1:return e=Nr(13,n,t,o),e.elementType=T1,e.lanes=i,e;case A1:return e=Nr(19,n,t,o),e.elementType=A1,e.lanes=i,e;case $M:return Qg(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case DM:s=10;break e;case LM:s=9;break e;case ZS:s=11;break e;case ex:s=14;break e;case es:s=16,r=null;break e}throw Error(Y(130,e==null?e:typeof e,""))}return t=Nr(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function za(e,t,n,r){return e=Nr(7,e,r,t),e.lanes=n,e}function Qg(e,t,n,r){return e=Nr(22,e,r,t),e.elementType=$M,e.lanes=n,e.stateNode={isHidden:!1},e}function Kv(e,t,n){return e=Nr(6,e,null,t),e.lanes=n,e}function Gv(e,t,n){return t=Nr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _B(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=Av(0),this.expirationTimes=Av(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Av(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Lx(e,t,n,r,o,i,s,a,l){return e=new _B(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Nr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},vx(i),e}function CB(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Bl,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function TD(e){if(!e)return Fs;e=e._reactInternals;e:{if(ul(e)!==e||e.tag!==1)throw Error(Y(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Xn(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(Y(171))}if(e.tag===1){var n=e.type;if(Xn(n))return TI(e,n,t)}return t}function AD(e,t,n,r,o,i,s,a,l){return e=Lx(n,r,!0,e,o,i,s,a,l),e.context=TD(null),n=e.current,r=Rn(),o=Is(n),i=Ei(r,o),i.callback=t??null,Os(n,i,o),e.current.lanes=o,jf(e,o,r),Jn(e,r),e}function Zg(e,t,n,r){var o=t.current,i=Rn(),s=Is(o);return n=TD(n),t.context===null?t.context=n:t.pendingContext=n,t=Ei(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Os(o,t,s),e!==null&&(fo(e,o,s,i),mp(e,o,s)),s}function xm(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 H_(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function $x(e,t){H_(e,t),(e=e.alternate)&&H_(e,t)}function TB(){return null}var PD=typeof reportError=="function"?reportError:function(e){console.error(e)};function Nx(e){this._internalRoot=e}ey.prototype.render=Nx.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(Y(409));Zg(e,t,null,null)};ey.prototype.unmount=Nx.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Xa(function(){Zg(null,e,null,null)}),t[Pi]=null}};function ey(e){this._internalRoot=e}ey.prototype.unstable_scheduleHydration=function(e){if(e){var t=sI();e={blockedOn:null,target:e,priority:t};for(var n=0;n<os.length&&t!==0&&t<os[n].priority;n++);os.splice(n,0,e),n===0&&lI(e)}};function jx(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ty(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function W_(){}function AB(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=xm(s);i.call(u)}}var s=AD(t,r,e,0,null,!1,!1,"",W_);return e._reactRootContainer=s,e[Pi]=s.current,qd(e.nodeType===8?e.parentNode:e),Xa(),s}for(;
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=xm(l);a.call(u)}}var l=Lx(e,0,!1,null,null,!1,!1,"",W_);return e._reactRootContainer=l,e[Pi]=l.current,qd(e.nodeType===8?e.parentNode:e),Xa(function(){Zg(t,l,n,r)}),l}function ny(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=xm(s);a.call(l)}}Zg(t,s,e,o)}else s=AB(n,t,e,o,r);return xm(s)}oI=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Wc(t.pendingLanes);n!==0&&(rx(t,n|1),Jn(t,Pt()),!(Ve&6)&&(Du=Pt()+500,qs()))}break;case 13:Xa(function(){var r=Ri(e,1);if(r!==null){var o=Rn();fo(r,e,1,o)}}),$x(e,1)}};ox=function(e){if(e.tag===13){var t=Ri(e,134217728);if(t!==null){var n=Rn();fo(t,e,134217728,n)}$x(e,134217728)}};iI=function(e){if(e.tag===13){var t=Is(e),n=Ri(e,t);if(n!==null){var r=Rn();fo(n,e,t,r)}$x(e,t)}};sI=function(){return Ge};aI=function(e,t){var n=Ge;try{return Ge=e,t()}finally{Ge=n}};j1=function(e,t,n){switch(t){case"input":if(O1(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=qg(r);if(!o)throw Error(Y(90));jM(r),O1(r,o)}}}break;case"textarea":BM(e,n);break;case"select":t=n.value,t!=null&&nu(e,!!n.multiple,t,!1)}};KM=Ox;GM=Xa;var PB={usingClientEntryPoint:!1,Events:[Bf,Wl,qg,WM,qM,Ox]},Ac={findFiberByHostInstance:Sa,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},RB={bundleType:Ac.bundleType,version:Ac.version,rendererPackageName:Ac.rendererPackageName,rendererConfig:Ac.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$i.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=JM(e),e===null?null:e.stateNode},findFiberByHostInstance:Ac.findFiberByHostInstance||TB,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 _h=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_h.isDisabled&&_h.supportsFiber)try{zg=_h.inject(RB),Ho=_h}catch{}}kr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=PB;kr.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!jx(t))throw Error(Y(200));return CB(e,t,null,n)};kr.createRoot=function(e,t){if(!jx(e))throw Error(Y(299));var n=!1,r="",o=PD;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Lx(e,1,!1,null,null,n,!1,r,o),e[Pi]=t.current,qd(e.nodeType===8?e.parentNode:e),new Nx(t)};kr.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(Y(188)):(e=Object.keys(e).join(","),Error(Y(268,e)));return e=JM(t),e=e===null?null:e.stateNode,e};kr.flushSync=function(e){return Xa(e)};kr.hydrate=function(e,t,n){if(!ty(t))throw Error(Y(200));return ny(null,e,t,!0,n)};kr.hydrateRoot=function(e,t,n){if(!jx(e))throw Error(Y(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=PD;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=AD(t,null,e,1,n??null,o,!1,i,s),e[Pi]=t.current,qd(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 ey(t)};kr.render=function(e,t,n){if(!ty(t))throw Error(Y(200));return ny(null,e,t,!1,n)};kr.unmountComponentAtNode=function(e){if(!ty(e))throw Error(Y(40));return e._reactRootContainer?(Xa(function(){ny(null,null,e,!1,function(){e._reactRootContainer=null,e[Pi]=null})}),!0):!1};kr.unstable_batchedUpdates=Ox;kr.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ty(n))throw Error(Y(200));if(e==null||e._reactInternals===void 0)throw Error(Y(38));return ny(e,t,n,!1,r)};kr.version="18.3.1-next-f1338f8080-20240426";function RD(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(RD)}catch(e){console.error(e)}}RD(),RM.exports=kr;var cl=RM.exports;const OD=Ne(cl);var OB,q_=cl;OB=q_.createRoot,q_.hydrateRoot;var qu=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(){}},Ja=typeof window>"u"||"Deno"in globalThis;function Cn(){}function MB(e,t){return typeof e=="function"?e(t):e}function yw(e){return typeof e=="number"&&e>=0&&e!==1/0}function MD(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ls(e,t){return typeof e=="function"?e(t):e}function Dr(e,t){return typeof e=="function"?e(t):e}function K_(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Fx(s,t.options))return!1}else if(!tf(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 G_(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Qa(t.options.mutationKey)!==Qa(i))return!1}else if(!tf(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Fx(e,t){return((t==null?void 0:t.queryKeyHashFn)||Qa)(e)}function Qa(e){return JSON.stringify(e,(t,n)=>vw(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function tf(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>tf(e[n],t[n])):!1}function ID(e,t){if(e===t)return e;const n=Y_(e)&&Y_(t);if(n||vw(e)&&vw(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]=ID(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return o===s&&u===o?e:a}return t}function km(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Y_(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function vw(e){if(!X_(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!X_(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function X_(e){return Object.prototype.toString.call(e)==="[object Object]"}function IB(e){return new Promise(t=>{setTimeout(t,e)})}function ww(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ID(e,t):t}function DB(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function LB(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Bx=Symbol();function DD(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Bx?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function LD(e,t){return typeof e=="function"?e(...t):!!e}var Oa,us,gu,iM,$B=(iM=class extends qu{constructor(){super();we(this,Oa);we(this,us);we(this,gu);ue(this,gu,t=>{if(!Ja&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){O(this,us)||this.setEventListener(O(this,gu))}onUnsubscribe(){var t;this.hasListeners()||((t=O(this,us))==null||t.call(this),ue(this,us,void 0))}setEventListener(t){var n;ue(this,gu,t),(n=O(this,us))==null||n.call(this),ue(this,us,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){O(this,Oa)!==t&&(ue(this,Oa,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,924 bytes, line 40
40this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof O(this,Oa)=="boolean"?O(this,Oa):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Oa=new WeakMap,us=new WeakMap,gu=new WeakMap,iM),Ux=new $B,yu,cs,vu,sM,NB=(sM=class extends qu{constructor(){super();we(this,yu,!0);we(this,cs);we(this,vu);ue(this,vu,t=>{if(!Ja&&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(){O(this,cs)||this.setEventListener(O(this,vu))}onUnsubscribe(){var t;this.hasListeners()||((t=O(this,cs))==null||t.call(this),ue(this,cs,void 0))}setEventListener(t){var n;ue(this,vu,t),(n=O(this,cs))==null||n.call(this),ue(this,cs,t(this.setOnline.bind(this)))}setOnline(t){O(this,yu)!==t&&(ue(this,yu,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return O(this,yu)}},yu=new WeakMap,cs=new WeakMap,vu=new WeakMap,sM),Em=new NB;function bw(){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 jB(e){return Math.min(1e3*2**e,3e4)}function $D(e){return(e??"online")==="online"?Em.isOnline():!0}var ND=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Yv(e){return e instanceof ND}function jD(e){let t=!1,n=0,r=!1,o;const i=bw(),s=p=>{var m;r||(f(new ND(p)),(m=e.abort)==null||m.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Ux.isFocused()&&(e.networkMode==="always"||Em.isOnline())&&e.canRun(),c=()=>$D(e.networkMode)&&e.canRun(),d=p=>{var m;r||(r=!0,(m=e.onSuccess)==null||m.call(e,p),o==null||o(),i.resolve(p))},f=p=>{var m;r||(r=!0,(m=e.onError)==null||m.call(e,p),o==null||o(),i.reject(p))},h=()=>new Promise(p=>{var m;o=y=>{(r||u())&&p(y)},(m=e.onPause)==null||m.call(e)}).then(()=>{var p;o=void 0,r||(p=e.onContinue)==null||p.call(e)}),g=()=>{if(r)return;let p;const m=n===0?e.initialPromise:void 0;try{p=m??e.fn()}catch(y){p=Promise.reject(y)}Promise.resolve(p).then(d).catch(y=>{var k;if(r)return;const v=e.retry??(Ja?0:3),w=e.retryDelay??jB,S=typeof w=="function"?w(n,y):w,x=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,y);if(t||!x){f(y);return}n++,(k=e.onFail)==null||k.call(e,n,y),IB(S).then(()=>u()?void 0:h()).then(()=>{t?f(y):g()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?g():h().then(g),i)}}var FB=e=>setTimeout(e,0);function BB(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=FB;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 Ut=BB(),Ma,aM,FD=(aM=class{constructor(){we(this,Ma)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),yw(this.gcTime)&&ue(this,Ma,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ja?1/0:5*60*1e3))}clearGcTimeout(){O(this,Ma)&&(clearTimeout(O(this,Ma)),ue(this,Ma,void 0))}},Ma=new WeakMap,aM),wu,Ia,Ir,Da,mn,If,La,io,hi,lM,UB=(lM=class extends FD{constructor(t){super();we(this,io);we(this,wu);we(this,Ia);we(this,Ir);we(this,Da);we(this,mn);we(this,If);we(this,La);ue(this,La,!1),ue(this,If,t.defaultOptions),this.setOptions(t.options),this.observers=[],ue(this,Da,t.client),ue(this,Ir,O(this,Da).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ue(this,wu,zB(this.options)),this.state=t.state??O(this,wu),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=O(this,mn))==null?void 0:t.promise}setOptions(t){this.options={...O(this,If),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&O(this,Ir).remove(this)}setData(t,n){const r=ww(this.state.data,t,this.options);return Ae(this,io,hi).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ae(this,io,hi).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=O(this,mn))==null?void 0:r.promise;return(o=O(this,mn))==null||o.cancel(t),n?n.then(Cn).catch(Cn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(O(this,wu))}isActive(){return this.observers.some(t=>Dr(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Bx||this.state.dataUpdateCount+this.state.errorUpdate
vendor: 1,274 bytes, line 40
40Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Ls(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:!MD(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=O(this,mn))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=O(this,mn))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),O(this,Ir).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(O(this,mn)&&(O(this,La)?O(this,mn).cancel({revert:!0}):O(this,mn).cancelRetry()),this.scheduleGc()),O(this,Ir).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ae(this,io,hi).call(this,{type:"invalidate"})}
vendor: 28,825 bytes, line 40
40fetch(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(O(this,mn))return O(this,mn).continueRetry(),O(this,mn).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:()=>(ue(this,La,!0),r.signal)})},i=()=>{const f=DD(this.options,n),g=(()=>{const p={client:O(this,Da),queryKey:this.queryKey,meta:this.meta};return o(p),p})();return ue(this,La,!1),this.options.persister?this.options.persister(f,g,this):f(g)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:O(this,Da),state:this.state,fetchFn:i};return o(f),f})();(u=this.options.behavior)==null||u.onFetch(a,this),ue(this,Ia,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Ae(this,io,hi).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var h,g,p,m;Yv(f)&&f.silent||Ae(this,io,hi).call(this,{type:"error",error:f}),Yv(f)||((g=(h=O(this,Ir).config).onError)==null||g.call(h,f,this),(m=(p=O(this,Ir).config).onSettled)==null||m.call(p,this.state.data,f,this)),this.scheduleGc()};return ue(this,mn,jD({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var h,g,p,m;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(y){l(y);return}(g=(h=O(this,Ir).config).onSuccess)==null||g.call(h,f,this),(m=(p=O(this,Ir).config).onSettled)==null||m.call(p,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,h)=>{Ae(this,io,hi).call(this,{type:"failed",failureCount:f,error:h})},onPause:()=>{Ae(this,io,hi).call(this,{type:"pause"})},onContinue:()=>{Ae(this,io,hi).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),O(this,mn).start()}},wu=new WeakMap,Ia=new WeakMap,Ir=new WeakMap,Da=new WeakMap,mn=new WeakMap,If=new WeakMap,La=new WeakMap,io=new WeakSet,hi=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,...BD(r.data,this.options),fetchMeta:t.meta??null};case"success":return ue(this,Ia,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 Yv(o)&&o.revert&&O(this,Ia)?{...O(this,Ia),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),Ut.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),O(this,Ir).notify({query:this,type:"updated",action:t})})},lM);function BD(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:$D(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function zB(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 $o,uM,VB=(uM=class extends qu{constructor(t={}){super();we(this,$o);this.config=t,ue(this,$o,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??Fx(o,n);let s=this.get(i);return s||(s=new UB({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){O(this,$o).has(t.queryHash)||(O(this,$o).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=O(this,$o).get(t.queryHash);n&&(t.destroy(),n===t&&O(this,$o).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ut.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return O(this,$o).get(t)}getAll(){return[...O(this,$o).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>K_(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>K_(t,r)):n}notify(t){Ut.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ut.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ut.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},$o=new WeakMap,uM),No,kn,$a,jo,Gi,cM,HB=(cM=class extends FD{constructor(t){super();we(this,jo);we(this,No);we(this,kn);we(this,$a);this.mutationId=t.mutationId,ue(this,kn,t.mutationCache),ue(this,No,[]),this.state=t.state||UD(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){O(this,No).includes(t)||(O(this,No).push(t),this.clearGcTimeout(),O(this,kn).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ue(this,No,O(this,No).filter(n=>n!==t)),this.scheduleGc(),O(this,kn).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){O(this,No).length||(this.state.status==="pending"?this.scheduleGc():O(this,kn).remove(this))}continue(){var t;return((t=O(this,$a))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,a,l,u,c,d,f,h,g,p,m,y,v,w,S,x,k,_,A;const n=()=>{Ae(this,jo,Gi).call(this,{type:"continue"})};ue(this,$a,jD({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,I)=>{Ae(this,jo,Gi).call(this,{type:"failed",failureCount:M,error:I})},onPause:()=>{Ae(this,jo,Gi).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>O(this,kn).canRun(this)}));const r=this.state.status==="pending",o=!O(this,$a).canStart();try{if(r)n();else{Ae(this,jo,Gi).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=O(this,kn).config).onMutate)==null?void 0:s.call(i,t,this));const I=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));I!==this.state.context&&Ae(this,jo,Gi).call(this,{type:"pending",context:I,variables:t,isPaused:o})}const M=await O(this,$a).start();return await((c=(u=O(this,kn).config).onSuccess)==null?void 0:c.call(u,M,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,M,t,this.state.context)),await((g=(h=O(this,kn).config).onSettled)==null?void 0:g.call(h,M,null,this.state.variables,this.state.context,this)),await((m=(p=this.options).onSettled)==null?void 0:m.call(p,M,null,t,this.state.context)),Ae(this,jo,Gi).call(this,{type:"success",data:M}),M}catch(M){try{throw await((v=(y=O(this,kn).config).onError)==null?void 0:v.call(y,M,t,this.state.context,this)),await((S=(w=this.options).onError)==null?void 0:S.call(w,M,t,this.state.context)),await((k=(x=O(this,kn).config).onSettled)==null?void 0:k.call(x,void 0,M,this.state.variables,this.state.context,this)),await((A=(_=this.options).onSettled)==null?void 0:A.call(_,void 0,M,t,this.state.context)),M}finally{Ae(this,jo,Gi).call(this,{type:"error",error:M})}}finally{O(this,kn).runNext(this)}}},No=new WeakMap,kn=new WeakMap,$a=new WeakMap,jo=new WeakSet,Gi=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),Ut.batch(()=>{O(this,No).forEach(r=>{r.onMutationUpdate(t)}),O(this,kn).notify({mutation:this,type:"updated",action:t})})},cM);function UD(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var wi,so,Df,dM,WB=(dM=class extends qu{constructor(t={}){super();we(this,wi);we(this,so);we(this,Df);this.config=t,ue(this,wi,new Set),ue(this,so,new Map),ue(this,Df,0)}build(t,n,r){const o=new HB({mutationCache:this,mutationId:++lh(this,Df)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){O(this,wi).add(t);const n=Ch(t);if(typeof n=="string"){const r=O(this,so).get(n);r?r.push(t):O(this,so).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(O(this,wi).delete(t)){const n=Ch(t);if(typeof n=="string"){const r=O(this,so).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&O(this,so).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ch(t);if(typeof n=="string"){const r=O(this,so).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=Ch(t);if(typeof n=="string"){const o=(r=O(this,so).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(){Ut.batch(()=>{O(this,wi).forEach(t=>{this.notify({type:"removed",mutation:t})}),O(this,wi).clear(),O(this,so).clear()})}getAll(){return Array.from(O(this,wi))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>G_(n,r))}findAll(t={}){return this.getAll().filter(n=>G_(t,n))}notify(t){Ut.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ut.batch(()=>Promise.all(t.map(n=>n.continue().catch(Cn))))}},wi=new WeakMap,so=new WeakMap,Df=new WeakMap,dM);function Ch(e){var t;return(t=e.options.scope)==null?void 0:t.id}function J_(e){return{onFetch:(t,n)=>{var c,d,f,h,g;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=((g=t.state.data)==null?void 0:g.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let p=!1;const m=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?p=!0:t.signal.addEventListener("abort",()=>{p=!0}),t.signal)})},y=DD(t.options,t.fetchOptions),v=async(w,S,x)=>{if(p)return Promise.reject();if(S==null&&w.pages.length)return Promise.resolve(w);const _=(()=>{const N={client:t.client,queryKey:t.queryKey,pageParam:S,direction:x?"backward":"forward",meta:t.options.meta};return m(N),N})(),A=await y(_),{maxPages:M}=t.options,I=x?LB:DB;return{pages:I(w.pages,A,M),pageParams:I(w.pageParams,S,M)}};if(o&&i.length){const w=o==="backward",S=w?qB:Q_,x={pages:i,pageParams:s},k=S(r,x);a=await v(x,k,w)}else{const w=e??i.length;do{const S=l===0?s[0]??r.initialPageParam:Q_(r,a);if(l>0&&S==null)break;a=await v(a,S),l++}while(l<w)}return a};t.options.persister?t.fetchFn=()=>{var p,m;return(m=(p=t.options).persister)==null?void 0:m.call(p,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Q_(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 qB(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 kt,ds,fs,bu,Su,hs,xu,ku,fM,P2e=(fM=class{constructor(e={}){we(this,kt);we(this,ds);we(this,fs);we(this,bu);we(this,Su);we(this,hs);we(this,xu);we(this,ku);ue(this,kt,e.queryCache||new VB),ue(this,ds,e.mutationCache||new WB),ue(this,fs,e.defaultOptions||{}),ue(this,bu,new Map),ue(this,Su,new Map),ue(this,hs,0)}mount(){lh(this,hs)._++,O(this,hs)===1&&(ue(this,xu,Ux.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,kt).onFocus())})),ue(this,ku,Em.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,kt).onOnline())})))}unmount(){var e,t;lh(this,hs)._--,O(this,hs)===0&&((e=O(this,xu))==null||e.call(this),ue(this,xu,void 0),(t=O(this,ku))==null||t.call(this),ue(this,ku,void 0))}isFetching(e){return O(this,kt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return O(this,ds).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=O(this,kt).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=O(this,kt).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Ls(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return O(this,kt).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=O(this,kt).get(r.queryHash),i=o==null?void 0:o.state.data,s=MB(t,i);if(s!==void 0)return O(this,kt).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Ut.batch(()=>O(this,kt).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=O(this,kt).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=O(this,kt);Ut.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=O(this,kt);return Ut.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ut.batch(()=>O(this,kt).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Cn).catch(Cn)}invalidateQueries(e,t={}){return Ut.batch(()=>(O(this,kt).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=Ut.batch(()=>O(this,kt).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(Cn)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Cn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=O(this,kt).build(this,t);return n.isStaleByTime(Ls(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Cn).catch(Cn)}fetchInfiniteQuery(e){return e.behavior=J_(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Cn).catch(Cn)}ensureInfiniteQueryData(e){return e.behavior=J_(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Em.isOnline()?O(this,ds).resumePausedMutations():Promise.resolve()}getQueryCache(){return O(this,kt)}getMutationCache(){return O(this,ds)}getDefaultOptions(){return O(this,fs)}setDefaultOptions(e){ue(this,fs,e)}setQueryDefaults(e,t){O(this,bu).set(Qa(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...O(this,bu).values()],n={};return t.forEach(r=>{tf(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){O(this,Su).set(Qa(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...O(this,Su).values()],n={};return t.forEach(r=>{tf(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...O(this,fs).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Fx(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===Bx&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...O(this,fs).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){O(this,kt).clear(),O(this,ds).clear()}},kt=new WeakMap,ds=new WeakMap,fs=new WeakMap,bu=new WeakMap,Su=new WeakMap,hs=new WeakMap,xu=new WeakMap,ku=new WeakMap,fM),Bn,je,Lf,En,Na,Eu,ps,ms,$f,_u,Cu,ja,Fa,gs,Tu,Ke,Kc,Sw,xw,kw,Ew,_w,Cw,Tw,zD,hM,KB=(hM=class extends qu{constructor(t,n){super();we(this,Ke);we(this,Bn);we(this,je);we(this,Lf);we(this,En);we(this,Na);we(this,Eu);we(this,ps);we(this,ms);we(this,$f);we(this,_u);we(this,Cu);we(this,ja);we(this,Fa);we(this,gs);we(this,Tu,new Set);this.options=n,ue(this,Bn,t),ue(this,ms,null),ue(this,ps,bw()),this.options.experimental_prefetchInRender||O(this,ps).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(O(this,je).addObserver(this),Z_(O(this,je),this.options)?Ae(this,Ke,Kc).call(this):this.updateResult(),Ae(this,Ke,Ew).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Aw(O(this,je),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Aw(O(this,je),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ae(this,Ke,_w).call(this),Ae(this,Ke,Cw).call(this),O(this,je).removeObserver(this)}setOptions(t){const n=this.options,r=O(this,je);if(this.options=O(this,Bn).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Dr(this.options.enabled,O(this,je))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ae(this,Ke,Tw).call(this),O(this,je).setOptions(this.options),n._defaulted&&!km(this.options,n)&&O(this,Bn).getQueryCache().notify({type:"observerOptionsUpdated",query:O(this,je),observer:this});const o=this.hasListeners();o&&eC(O(this,je),r,this.options,n)&&Ae(this,Ke,Kc).call(this),this.updateResult(),o&&(O(this,je)!==r||Dr(this.options.enabled,O(this,je))!==Dr(n.enabled,O(this,je))||Ls(this.options.staleTime,O(this,je))!==Ls(n.staleTime,O(this,je)))&&Ae(this,Ke,Sw).call(this);const i=Ae(this,Ke,xw).call(this);o&&(O(this,je)!==r||Dr(this.options.enabled,O(this,je))!==Dr(n.enabled,O(this,je))||i!==O(this,gs))&&Ae(this,Ke,kw).call(this,i)}getOptimisticResult(t){const n=O(this,Bn).getQueryCache().build(O(this,Bn),t),r=this.createResult(n,t);return YB(this,r)&&(ue(this,En,r),ue(this,Eu,this.options),ue(this,Na,O(this,je).state)),r}getCurrentResult(){return O(this,En)}trackResult(t,n){return new Proxy(t,{get:(r,o)=>(this.trackProp(o),n==null||n(o),Reflect.get(r,o))})}trackProp(t){O(this,Tu).add(t)}getCurrentQuery(){return O(this,je)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=O(this,Bn).defaultQueryOptions(t),r=O(this,Bn).getQueryCache().build(O(this,Bn),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return Ae(this,Ke,Kc).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),O(this,En)))}createResult(t,n){var M;const r=O(this,je),o=this.options,i=O(this,En),s=O(this,Na),a=O(this,Eu),u=t!==r?t.state:O(this,Lf),{state:c}=t;let d={...c},f=!1,h;if(n._optimisticResults){const I=this.hasListeners(),N=!I&&Z_(t,n),L=I&&eC(t,r,n,o);(N||L)&&(d={...d,...BD(c.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:g,errorUpdatedAt:p,status:m}=d;h=d.data;let y=!1;if(n.placeholderData!==void 0&&h===void 0&&m==="pending"){let I;i!=null&&i.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData)?(I=i.data,y=!0):I=typeof n.placeholderData=="function"?n.placeholderData((M=O(this,Cu))==null?void 0:M.state.data,O(this,Cu)):n.placeholderData,I!==void 0&&(m="success",h=ww(i==null?void 0:i.data,I,n),f=!0)}if(n.select&&h!==void 0&&!y)if(i&&h===(s==null?void 0:s.data)&&n.select===O(this,$f))h=O(this,_u);else try{ue(this,$f,n.select),h=n.select(h),h=ww(i==null?void 0:i.data,h,n),ue(this,_u,h),ue(this,ms,null)}catch(I){ue(this,ms,I)}O(this,ms)&&(g=O(this,ms),h=O(this,_u),p=Date.now(),m="error");const v=d.fetchStatus==="fetching",w=m==="pending",S=m==="error",x=w&&v,k=h!==void 0,A={status:m,fetchStatus:d.fetchStatus,isPending:w,isSuccess:m==="success",isError:S,isInitialLoading:x,isLoading:x,data:h,dataUpdatedAt:d.dataUpdatedAt,error:g,errorUpdatedAt:p,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:v,isRefetching:v&&!w,isLoadingError:S&&!k,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:S&&k,isStale:zx(t,n),refetch:this.refetch,promise:O(this,ps),isEnabled:Dr(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const I=Z=>{A.status==="error"?Z.reject(A.error):A.data!==void 0&&Z.resolve(A.data)},N=()=>{const Z=ue(this,ps,A.promise=bw());I(Z)},L=O(this,ps);switch(L.status){case"pending":t.queryHash===r.queryHash&&I(L);break;case"fulfilled":(A.status==="error"||A.data!==L.value)&&N();break;case"rejected":(A.status!=="error"||A.error!==L.reason)&&N();break}}return A}updateResult(){const t=O(this,En),n=this.createResult(O(this,je),this.options);if(ue(this,Na,O(this,je).state),ue(this,Eu,this.options),O(this,Na).data!==void 0&&ue(this,Cu,O(this,je)),km(n,t))return;ue(this,En,n);const r=()=>{if(!t)return!0;const{notifyOnChangeProps:o}=this.options,i=typeof o=="function"?o():o;if(i==="all"||!i&&!O(this,Tu).size)return!0;const s=new Set(i??O(this,Tu));return this.options.throwOnError&&s.add("error"),Object.keys(O(this,En)).some(a=>{const l=a;return O(this,En)[l]!==t[l]&&s.has(l)})};Ae(this,Ke,zD).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ae(this,Ke,Ew).call(this)}},Bn=new WeakMap,je=new WeakMap,Lf=new WeakMap,En=new WeakMap,Na=new WeakMap,Eu=new WeakMap,ps=new WeakMap,ms=new WeakMap,$f=new WeakMap,_u=new WeakMap,Cu=new WeakMap,ja=new WeakMap,Fa=new WeakMap,gs=new WeakMap,Tu=new WeakMap,Ke=new WeakSet,Kc=function(t){Ae(this,Ke,Tw).call(this);let n=O(this,je).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Cn)),n},Sw=function(){Ae(this,Ke,_w).call(this);const t=Ls(this.options.staleTime,O(this,je));if(Ja||O(this,En).isStale||!yw(t))return;const r=MD(O(this,En).dataUpdatedAt,t)+1;ue(this,ja,setTimeout(()=>{O(this,En).isStale||this.updateResult()},r))},xw=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(O(this,je)):this.options.refetchInterval)??!1},kw=function(t){Ae(this,Ke,Cw).call(this),ue(this,gs,t),!(Ja||Dr(this.options.enabled,O(this,je))===!1||!yw(O(this,gs))||O(this,gs)===0)&&ue(this,Fa,setInterval(()=>{(this.options.refetchIntervalInBackground||Ux.isFocused())&&Ae(this,Ke,Kc).call(this)},O(this,gs)))},Ew=function(){Ae(this,Ke,Sw).call(this),Ae(this,Ke,kw).call(this,Ae(this,Ke,xw).call(this))},_w=function(){O(this,ja)&&(clearTimeout(O(this,ja)),ue(this,ja,void 0))},Cw=function(){O(this,Fa)&&(clearInterval(O(this,Fa)),ue(this,Fa,void 0))},Tw=function(){const t=O(this,Bn).getQueryCache().build(O(this,Bn),this.options);if(t===O(this,je))return;const n=O(this,je);ue(this,je,t),ue(this,Lf,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},zD=function(t){Ut.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(O(this,En))}),O(this,Bn).getQueryCache().notify({query:O(this,je),type:"observerResultsUpdated"})})},hM);function GB(e,t){return Dr(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Z_(e,t){return GB(e,t)||e.state.data!==void 0&&Aw(e,t,t.refetchOnMount)}function Aw(e,t,n){if(Dr(t.enabled,e)!==!1&&Ls(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&zx(e,t)}return!1}function eC(e,t,n,r){return(e!==t||Dr(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&zx(e,n)}function zx(e,t){return Dr(t.enabled,e)!==!1&&e.isStaleByTime(Ls(t.staleTime,e))}function YB(e,t){return!km(e.getCurrentResult(),t)}var ys,vs,Un,bi,Ti,xp,Pw,pM,XB=(pM=class extends qu{constructor(n,r){super();we(this,Ti);we(this,ys);we(this,vs);we(this,Un);we(this,bi);ue(this,ys,n),this.setOptions(r),this.bindMethods(),Ae(this,Ti,xp).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var o;const r=this.options;this.options=O(this,ys).defaultMutationOptions(n),km(this.options,r)||O(this,ys).getMutationCache().notify({type:"observerOptionsUpdated",mutation:O(this,Un),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&Qa(r.mutationKey)!==Qa(this.options.mutationKey)?this.reset():((o=O(this,Un))==null?void 0:o.state.status)==="pending"&&O(this,Un).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=O(this,Un))==null||n.removeObserver(this)}onMutationUpdate(n){Ae(this,Ti,xp).call(this),Ae(this,Ti,Pw).call(this,n)}getCurrentResult(){return O(this,vs)}reset(){var n;(n=O(this,Un))==null||n.removeObserver(this),ue(this,Un,void 0),Ae(this,Ti,xp).call(this),Ae(this,Ti,Pw).call(this)}mutate(n,r){var o;return ue(this,bi,r),(o=O(this,Un))==null||o.removeObserver(this),ue(this,Un,O(this,ys).getMutationCache().build(O(this,ys),this.options)),O(this,Un).addObserver(this),O(this,Un).execute(n)}},ys=new WeakMap,vs=new WeakMap,Un=new WeakMap,bi=new WeakMap,Ti=new WeakSet,xp=function(){var r;const n=((r=O(this,Un))==null?void 0:r.state)??UD();ue(this,vs,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},Pw=function(n){Ut.batch(()=>{var r,o,i,s,a,l,u,c;if(O(this,bi)&&this.hasListeners()){const d=O(this,vs).variables,f=O(this,vs).context;(n==null?void 0:n.type)==="success"?((o=(r=O(this,bi)).onSuccess)==null||o.call(r,n.data,d,f),(s=(i=O(this,bi)).onSettled)==null||s.call(i,n.data,null,d,f)):(n==null?void 0:n.type)==="error"&&((l=(a=O(this,bi)).onError)==null||l.call(a,n.error,d,f),(c=(u=O(this,bi)).onSettled)==null||c.call(u,void 0,n.error,d,f))}this.listeners.forEach(d=>{d(O(this,vs))})})},pM),VD=b.createContext(void 0),HD=e=>{const t=b.useContext(VD);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},O2e=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(VD.Provider,{value:e,children:t})),WD=b.createContext(!1),JB=()=>b.useContext(WD);WD.Provider;function QB(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var ZB=b.createContext(QB()),eU=()=>b.useContext(ZB),tU=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},nU=e=>{b.useEffect(()=>{e.clearReset()},[e])},rU=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(o&&e.data===void 0||LD(n,[e.error,r])),oU=e=>{if(e.suspense){const t=r=>r==="static"?r:Math.max(r??1e3,1e3),n=e.staleTime;e.staleTime=typeof n=="function"?(...r)=>t(n(...r)):t(n),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},iU=(e,t)=>e.isLoading&&e.isFetching&&!t,sU=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,tC=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function aU(e,t,n){var d,f,h,g,p;const r=JB(),o=eU(),i=HD(),s=i.defaultQueryOptions(e);(f=(d=i.getDefaultOptions().queries)==null?void 0:d._experimental_beforeQuery)==null||f.call(d,s),s._optimisticResults=r?"isRestoring":"optimistic",oU(s),tU(s,o),nU(o);const a=!i.getQueryCache().get(s.queryHash),[l]=b.useState(()=>new t(i,s)),u=l.getOptimisticResult(s),c=!r&&e.subscribed!==!1;if(b.useSyncExternalStore(b.useCallback(m=>{const y=c?l.subscribe(Ut.batchCalls(m)):Cn;return l.updateResult(),y},[l,c]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),b.useEffect(()=>{l.setOptions(s)},[s,l]),sU(s,u))throw tC(s,l,o);if(rU({result:u,errorResetBoundary:o,throwOnError:s.throwOnError,query:i.getQueryCache().get(s.queryHash),suspense:s.suspense}))throw u.error;if((g=(h=i.getDefaultOptions().queries)==null?void 0:h._experimental_afterQuery)==null||g.call(h,s,u),s.experimental_prefetchInRender&&!Ja&&iU(u,r)){const m=a?tC(s,l,o):(p=i.getQueryCache().get(s.queryHash))==null?void 0:p.promise;m==null||m.catch(Cn).finally(()=>{l.updateResult()})}return s.notifyOnChangeProps?u:l.trackResult(u)}
vendor: 4,128 bytes, lines 40-49
40function M2e(e,t){return aU(e,KB)}function I2e(e,t){const n=HD(),[r]=b.useState(()=>new XB(n,e));b.useEffect(()=>{r.setOptions(e)},[r,e]);const o=b.useSyncExternalStore(b.useCallback(s=>r.subscribe(Ut.batchCalls(s)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),i=b.useCallback((s,a)=>{r.mutate(s,a).catch(Cn)},[r]);if(o.error&&LD(r.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:i,mutateAsync:o.mutate}}/**
41 * @remix-run/router v1.23.2
42 *
43 * Copyright (c) Remix Software Inc.
44 *
45 * This source code is licensed under the MIT license found in the
46 * LICENSE.md file in the root directory of this source tree.
47 *
48 * @license MIT
49 */function nf(){return nf=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},nf.apply(this,arguments)}var xs;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(xs||(xs={}));const nC="popstate";function lU(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return Rw("",{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:_m(o)}return cU(t,n,null,e)}function Ot(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Vx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function uU(){return Math.random().toString(36).substr(2,8)}function rC(e,t){return{usr:e.state,key:e.key,idx:t}}function Rw(e,t,n,r){return n===void 0&&(n=null),nf({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ku(t):t,{state:n,key:t&&t.key||r||uU()})}function _m(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 Ku(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 cU(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=xs.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(nf({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=xs.Pop;let m=c(),y=m==null?null:m-u;u=m,l&&l({action:a,location:p.location,delta:y})}function f(m,y){a=xs.Push;let v=Rw(p.location,m,y);u=c()+1;let w=rC(v,u),S=p.createHref(v);try{s.pushState(w,"",S)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;o.location.assign(S)}i&&l&&l({action:a,location:p.location,delta:1})}function h(m,y){a=xs.Replace;let v=Rw(p.location,m,y);u=c();let w=rC(v,u),S=p.createHref(v);s.replaceState(w,"",S),i&&l&&l({action:a,location:p.location,delta:0})}function g(m){let y=o.location.origin!=="null"?o.location.origin:o.location.href,v=typeof m=="string"?m:_m(m);return v=v.replace(/ $/,"%20"),Ot(y,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,y)}let p={get action(){return a},get location(){return e(o,s)},listen(m){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(nC,d),l=m,()=>{o.removeEventListener(nC,d),l=null}},createHref(m){return t(o,m)},createURL:g,encodeLocation(m){let y=g(m);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:f,replace:h,go(m){return s.go(m)}};return p}var oC;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(oC||(oC={}));function dU(e,t,n){return n===void 0&&(n="/"),fU(e,t,n)}function fU(e,t,n,r){let o=typeof t=="string"?Ku(t):t,i=Hx(o.pathname||"/",n);if(i==null)return null;let s=qD(e);hU(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=_U(i);a=xU(s[l],u)}return a}function qD(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("/")&&(Ot(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not val
49id. 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=$s([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(Ot(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),qD(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:bU(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 KD(i.path))o(i,s,l)}),t}function KD(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=KD(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 hU(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:SU(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const pU=/^:[\w-]+$/,mU=3,gU=2,yU=1,vU=10,wU=-2,iC=e=>e==="*";function bU(e,t){let n=e.split("/"),r=n.length;return n.some(iC)&&(r+=wU),t&&(r+=gU),n.filter(o=>!iC(o)).reduce((o,i)=>o+(pU.test(i)?mU:i===""?yU:vU),r)}function SU(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 xU(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=kU({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d)return null;
vendor: 7,298 bytes, lines 49-58
49Object.assign(o,d.params),s.push({params:o,pathname:$s([i,d.pathname]),pathnameBase:RU($s([i,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(i=$s([i,d.pathnameBase]))}return s}function kU(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=EU(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 p=a[d]||"";s=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}const g=a[d];return h&&!g?u[f]=void 0:u[f]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function EU(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Vx(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 _U(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Vx(!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 Hx(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 CU=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,TU=e=>CU.test(e);function AU(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Ku(e):e,i;if(n)if(TU(n))i=n;else{if(n.includes("//")){let s=n;n=n.replace(/\/\/+/g,"/"),Vx(!1,"Pathnames cannot have embedded double slashes - normalizing "+(s+" -> "+n))}n.startsWith("/")?i=sC(n.substring(1),"/"):i=sC(n,t)}else i=t;return{pathname:i,search:OU(r),hash:MU(o)}}function sC(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Xv(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function PU(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Wx(e,t){let n=PU(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function qx(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Ku(e):(o=nf({},e),Ot(!o.pathname||!o.pathname.includes("?"),Xv("?","pathname","search",o)),Ot(!o.pathname||!o.pathname.includes("#"),Xv("#","pathname","hash",o)),Ot(!o.search||!o.search.includes("#"),Xv("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;o.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=AU(o,a),u=s&&s!=="/"&&s.endsWith("/"),c=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const $s=e=>e.join("/").replace(/\/\/+/g,"/"),RU=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),OU=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,MU=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function IU(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const GD=["post","put","patch","delete"];new Set(GD);const DU=["get",...GD];new Set(DU);/**
50 * React Router v6.30.3
51 *
52 * Copyright (c) Remix Software Inc.
53 *
54 * This source code is licensed under the MIT license found in the
55 * LICENSE.md file in the root directory of this source tree.
56 *
57 * @license MIT
58 */function rf(){return rf=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},rf.apply(this,arguments)}const Kx=b.createContext(null),LU=b.createContext(null),Ks=b.createContext(null),ry=b.createContext(null),Qo=b.createContext({outlet:null,matches:[],isDataRoute:!1}),YD=b.createContext(null);function $U(e,t){let{relative:n}=t===void 0?{}:t;Gu()||Ot(!1);let{basename:r,navigator:o}=b.useContext(Ks),{hash:i,pathname:s,search:a}=JD(e,{relative:n}),l=s;return r!=="/"&&(l=s==="/"?r:$s([r,s])),o.createHref({pathname:l,search:a,hash:i})}function Gu(){return b.useContext(ry)!=null}function Yu(){return Gu()||Ot(!1),b.useContext(ry).location}function XD(e){b.useContext(Ks).static||b.useLayoutEffect(e)}function Gx(){let{isDataRoute:e}=b.useContext(Qo);return e?JU():NU()}function NU(){Gu()||Ot(!1);let e=b.useContext(Kx),{basename:t,future:n,navigator:r}=b.useContext(Ks),{matches:o}=b.useContext(Qo),{pathname:i}=Yu(),s=JSON.stringify(Wx(o,n.v7_relativeSplatPath)),a=b.useRef(!1);return XD(()=>{a.current=!0}),b.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=qx(u,JSON.parse(s),i,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:$s([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,i,e])}const jU=b.createContext(null);function FU(e){let t=b.useContext(Qo).outlet;return t&&b.createElement(jU.Provider,{value:e},t)}function D2e(){let{matches:e}=b.useContext(Qo),t=e[e.length-1];return t?t.params:{}}function JD(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(Ks),{matches:o}=b.useContext(Qo),{pathname:i}=Yu(),s=JSON.stringify(Wx(o,r.v7_relativeSplatPath));return b.useMemo(()=>qx(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function BU(e,t){return UU(e,t)}function UU(e,t,n,r){Gu()||Ot(!1);let{navigator:o}=b.useContext(Ks),{matches:i}=b.useContext(Qo),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=Yu(),c;if(t){var d;let m=typeof t=="string"?Ku(t):t;l==="/"||(d=m.pathname)!=null&&d.startsWith(l)||Ot(!1),c=m}else c=u;let f=c.pathname||"/",h=f;if(l!=="/"){let m=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(m.length).join("/")}let g=dU(e,{pathname:h}),p=qU(g&&g.map(m=>Object.assign({},m,{params:Object.assign({},a,m.params),pathname:$s([l,o.encodeLocation?o.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?l:$s([l,o.encodeLocation?o.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),i,n,r);return t&&p?b.createElement(ry.Provider,{value:{location:rf({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:xs.Pop}},p):p}function zU(){let e=XU(),t=IU(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application 
58Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:o},n):null,null)}const VU=b.createElement(zU,null);class HU extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(Qo.Provider,{value:this.props.routeContext},b.createElement(YD.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function WU(e){let{routeContext:t,match:n,children:r}=e,o=b.useContext(Kx);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Qo.Provider,{value:t},r)}function qU(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||Ot(!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,g=d.route.loader&&f[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||g){l=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let h,g=!1,p=null,m=null;n&&(h=a&&d.route.id?a[d.route.id]:void 0,p=d.route.errorElement||VU,l&&(u<0&&f===0?(QU("route-fallback"),g=!0,m=null):u===f&&(g=!0,m=d.route.hydrateFallbackElement||null)));let y=t.concat(s.slice(0,f+1)),v=()=>{let w;return h?w=p:g?w=m:d.route.Component?w=b.createElement(d.route.Component,null):d.route.element?w=d.route.element:w=c,b.createElement(WU,{match:d,routeContext:{outlet:c,matches:y,isDataRoute:n!=null},children:w})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(HU,{location:n.location,revalidation:n.revalidation,component:p,error:h,children:v(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):v()},null)}var QD=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(QD||{}),ZD=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}(ZD||{});function KU(e){let t=b.useContext(Kx);return t||Ot(!1),t}function GU(e){let t=b.useContext(LU);return t||Ot(!1),t}function YU(e){let t=b.useContext(Qo);return t||Ot(!1),t}function eL(e){let t=YU(),n=t.matches[t.matches.length-1];return n.route.id||Ot(!1),n.route.id}function XU(){var e;let t=b.useContext(YD),n=GU(),r=eL();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function JU(){let{router:e}=KU(QD.UseNavigateStable),t=eL(ZD.UseNavigateStable),n=b.useRef(!1);return XD(()=>{n.current=!0}),b.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,rf({fromRouteId:t},i)))},[e,t])}const aC={};function QU(e,t,n){aC[e]||(aC[e]=!0)}function ZU(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function L2e(e){let{to:t,replace:n,state:r,relative:o}=e;Gu()||Ot(!1);let{future:i,static:s}=b.useContext(Ks),{matches:a}=b.useContext(Qo),{pathname:l}=Yu(),u=Gx(),c=qx(t,Wx(a,i.v7_relativeSplatPath),l,o==="path"),d=JSON.stringify(c);return b.useEffect(()=>u(JSON.parse(d),{replace:n,state:r,relative:o}),[u,d,o,n,r]),null}function $2e(e){return FU(e.context)}function ez(e){Ot(!1)}function tz(e){let{basename:t="/",children:n=null,location:r,navigationType:o=xs.Pop,navigator:i,static:s=!1,future:a}=e;Gu()&&Ot(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:i,static:s,future:rf({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=Ku(r));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:g="default"}=r,p=b.useMemo(()=>{let m=Hx(c,l);return m==null?null:{location:{pathname:m,search:d,hash:f,state:h,key:g},navigationType:o}},[l,c,d,f,h,g,o]);return p==null?null:b.createElement(Ks.Provider,{value:u},b.createElement(ry.Provider,{children:n,value:p}))}function N2e(e){let{children:t,location:n}=e;return BU(Ow(t),n)}new Promise(()=>{});
58function Ow(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,o)=>{if(!b.isValidElement(r))return;let i=[...t,o];if(r.type===b.Fragment){n.push.apply(n,Ow(r.props.children,i));return}r.type!==ez&&Ot(!1),!r.props.index||!r.props.children||Ot(!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=Ow(r.props.children,i)),n.push(s)}),n}/**
59 * React Router DOM v6.30.3
60 *
61 * Copyright (c) Remix Software Inc.
62 *
63 * This source code is licensed under the MIT license found in the
64 * LICENSE.md file in the root directory of this source tree.
65 *
66 * @license MIT
67 */function Mw(){return Mw=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},Mw.apply(this,arguments)}function nz(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function rz(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function oz(e,t){return e.button===0&&(!t||t==="_self")&&!rz(e)}function Iw(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(o=>[n,o]):[[n,r]])},[]))}function iz(e,t){let n=Iw(e);return t&&t.forEach((r,o)=>{n.has(o)||t.getAll(o).forEach(i=>{n.append(o,i)})}),n}const sz=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],az="6";try{window.__reactRouterVersion=az}catch{}const lz="startTransition",lC=GS[lz];function j2e(e){let{basename:t,children:n,future:r,window:o}=e,i=b.useRef();i.current==null&&(i.current=lU({window:o,v5Compat:!0}));let s=i.current,[a,l]=b.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&lC?lC(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>s.listen(c),[s,c]),b.useEffect(()=>ZU(r),[r]),b.createElement(tz,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const uz=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",cz=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,F2e=b.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:c,viewTransition:d}=t,f=nz(t,sz),{basename:h}=b.useContext(Ks),g,p=!1;if(typeof u=="string"&&cz.test(u)&&(g=u,uz))try{let w=new URL(window.location.href),S=u.startsWith("//")?new URL(w.protocol+u):new URL(u),x=Hx(S.pathname,h);S.origin===w.origin&&x!=null?u=x+S.search+S.hash:p=!0}catch{}let m=$U(u,{relative:o}),y=dz(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:o,viewTransition:d});function v(w){r&&r(w),w.defaultPrevented||y(w)}return b.createElement("a",Mw({},f,{href:g||m,onClick:p||i?r:v,ref:n,target:l}))});var uC;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(uC||(uC={}));var cC;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(cC||(cC={}));function dz(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,viewTransition:a}=t===void 0?{}:t,l=Gx(),u=Yu(),c=JD(e,{relative:s});return b.useCallback(d=>{if(oz(d,n)){d.preventDefault();let f=r!==void 0?r:_m(u)===_m(c);l(e,{replace:f,state:o,preventScrollReset:i,relative:s,viewTransition:a})}},[u,l,c,r,o,n,e,i,s,a])}function B2e(e){let t=b.useRef(Iw(e)),n=b.useRef(!1),r=Yu(),o=b.useMemo(()=>iz(r.search,n.current?null:t.current),[r.search]),i=Gx(),s=b.useCallback((a,l)=>{const u=Iw(typeof a=="function"?a(o):a);n.current=!0,i("?"+u,l)},[i,o]);return[o,s]}const Yx=b.createContext({});function Bs(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const fz=typeof window<"u",oy=fz?b.useLayoutEffect:b.useEffect,iy=b.createContext(null);function Xx(e,t){e.indexOf(t)===-1&&e.push(t)}function Lu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const go=(e,t,n)=>n>t?t:n<e?e:n;let of=()=>{};const Us={},tL=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function nL(e){return typeof e=="object"&&e!==null}const rL=e=>/^0[^.\s]+$/u.test(e);function oL(e){let t;return()=>(t===void 0&&(t=e()),t)}const Qn=e=>e,hz=(e,t)=>
vendor: 43,451 bytes, line 67
67n=>t(e(n)),zf=(...e)=>e.reduce(hz),Za=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Jx{constructor(){this.subscriptions=[]}add(t){return Xx(this.subscriptions,t),()=>Lu(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 Zn=e=>e*1e3,jr=e=>e/1e3;function Qx(e,t){return t?e*(1e3/t):0}const pz=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e},iL=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,mz=1e-7,gz=12;function yz(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=iL(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>mz&&++a<gz);return s}function Vf(e,t,n,r){if(e===t&&n===r)return Qn;const o=i=>yz(i,0,1,e,n);return i=>i===0||i===1?i:iL(o(i),t,r)}const sL=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,aL=e=>t=>1-e(1-t),lL=Vf(.33,1.53,.69,.99),Zx=aL(lL),uL=sL(Zx),cL=e=>e>=1?1:(e*=2)<1?.5*Zx(e):.5*(2-Math.pow(2,-10*(e-1))),e2=e=>1-Math.sin(Math.acos(e)),dL=aL(e2),fL=sL(e2),vz=Vf(.42,0,1,1),wz=Vf(0,0,.58,1),hL=Vf(.42,0,.58,1),pL=e=>Array.isArray(e)&&typeof e[0]!="number";function mL(e,t){return pL(e)?e[pz(0,e.length,t)]:e}const gL=e=>Array.isArray(e)&&typeof e[0]=="number",bz={linear:Qn,easeIn:vz,easeInOut:hL,easeOut:wz,circIn:e2,circInOut:fL,circOut:dL,backIn:Zx,backInOut:uL,backOut:lL,anticipate:cL},Sz=e=>typeof e=="string",dC=e=>{if(gL(e)){of(e.length===4);const[t,n,r,o]=e;return Vf(t,n,r,o)}else if(Sz(e))return bz[e];return e},Th=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function xz(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};function l(c){s.has(c)&&(u.schedule(c),e()),c(a)}const u={schedule:(c,d=!1,f=!1)=>{const g=f&&o?n:r;return d&&s.add(c),g.add(c),c},cancel:c=>{r.delete(c),s.delete(c)},process:c=>{if(a=c,o){i=!0;return}o=!0;const d=n;n=r,r=d,n.forEach(l),n.clear(),o=!1,i&&(i=!1,u.process(c))}};return u}const kz=40;function yL(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=Th.reduce((w,S)=>(w[S]=xz(i),w),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:h,postRender:g}=s,p=()=>{const w=Us.useManualTiming,S=w?o.timestamp:performance.now();n=!1,w||(o.delta=r?1e3/60:Math.max(Math.min(S-o.timestamp,kz),1)),o.timestamp=S,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),h.process(o),g.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(p))},m=()=>{n=!0,r=!0,o.isProcessing||e(p)};return{schedule:Th.reduce((w,S)=>{const x=s[S];return w[S]=(k,_=!1,A=!1)=>(n||m(),x.schedule(k,_,A)),w},{}),cancel:w=>{for(let S=0;S<Th.length;S++)s[Th[S]].cancel(w)},state:o,steps:s}}const{schedule:Ue,cancel:Vr,state:qt,steps:Jv}=yL(typeof requestAnimationFrame<"u"?requestAnimationFrame:Qn,!0);let kp;function Ez(){kp=void 0}const An={now:()=>(kp===void 0&&An.set(qt.isProcessing||Us.useManualTiming?qt.timestamp:performance.now()),kp),set:e=>{kp=e,queueMicrotask(Ez)}},vL=e=>t=>typeof t=="string"&&t.startsWith(e),wL=vL("--"),_z=vL("var(--"),t2=e=>_z(e)?Cz.test(e.split("/*")[0].trim()):!1,Cz=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function fC(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Xu={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},sf={...Xu,transform:e=>go(0,1,e)},Ah={...Xu,default:1},gd=e=>Math.round(e*1e5)/1e5,n2=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Tz(e){return e==null}const Az=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,r2=(e,t)=>n=>!!(typeof n=="string"&&Az.test(n)&&n.startsWith(e)||t&&!Tz(n)&&Object.prototype.hasOwnProperty.call(n,t)),bL=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,s,a]=r.match(n2);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},Pz=e=>go(0,255,e),Qv={...Xu,transform:e=>Math.round(Pz(e))},Ea={test:r2("rgb","red"),parse:bL("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Qv.transform(e)+", "+Qv.transform(t)+", "+Qv.transform(n)+", "+gd(sf.transform(r))+")"};function Rz(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 Dw={test:r2("#"),parse:Rz,transform:Ea.transform},Hf=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Yi=Hf("deg"),qo=Hf("%"),he=Hf("px"),Oz=Hf("vh"),Mz=Hf("vw"),hC={...qo,parse:e=>qo.parse(e)/100,transform:e=>qo.transform(e*100)},Ql={test:r2("hsl","hue"),parse:bL("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+qo.transform(gd(t))+", "+qo.transform(gd(n))+", "+gd(sf.transform(r))+")"},$t={test:e=>Ea.test(e)||Dw.test(e)||Ql.test(e),parse:e=>Ea.test(e)?Ea.parse(e):Ql.test(e)?Ql.parse(e):Dw.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Ea.transform(e):Ql.transform(e),getAnimatableNone:e=>{const t=$t.parse(e);return t.alpha=0,$t.transform(t)}},Iz=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Dz(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(n2))==null?void 0:t.length)||0)+(((n=e.match(Iz))==null?void 0:n.length)||0)>0}const SL="number",xL="color",Lz="var",$z="var(",pC="${}",Nz=/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 $u(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(Nz,l=>($t.test(l)?(r.color.push(i),o.push(xL),n.push($t.parse(l))):l.startsWith($z)?(r.var.push(i),o.push(Lz),n.push(l)):(r.number.push(i),o.push(SL),n.push(parseFloat(l))),++i,pC)).split(pC);return{values:n,split:a,indexes:r,types:o}}function jz(e){return $u(e).values}function kL({split:e,types:t}){const n=e.length;return r=>{let o="";for(let i=0;i<n;i++)if(o+=e[i],r[i]!==void 0){const s=t[i];s===SL?o+=gd(r[i]):s===xL?o+=$t.transform(r[i]):o+=r[i]}return o}}function Fz(e){return kL($u(e))}const Bz=e=>typeof e=="number"?0:$t.test(e)?$t.getAnimatableNone(e):e,Uz=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:Bz(e);function zz(e){const t=$u(e);return kL(t)(t.values.map((r,o)=>Uz(r,t.split[o])))}const ho={test:Dz,parse:jz,createTransformer:Fz,getAnimatableNone:zz};function Zv(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 Vz({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=Zv(l,a,e+1/3),i=Zv(l,a,e),s=Zv(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function Cm(e,t){return n=>n>0?t:e}const ot=(e,t,n)=>e+(t-e)*n,e0=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},Hz=[Dw,Ea,Ql],Wz=e=>Hz.find(t=>t.test(e));function mC(e){const t=Wz(e);if(!t)return!1;let n=t.parse(e);return t===Ql&&(n=Vz(n)),n}const gC=(e,t)=>{const n=mC(e),r=mC(t);if(!n||!r)return Cm(e,t);const o={...n};return i=>(o.red=e0(n.red,r.red,i),o.green=e0(n.green,r.green,i),o.blue=e0(n.blue,r.blue,i),o.alpha=ot(n.alpha,r.alpha,i),Ea.transform(o))},Lw=new Set(["none","hidden"]);function qz(e,t){return Lw.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Kz(e,t){return n=>ot(e,t,n)}function o2(e){return typeof e=="number"?Kz:typeof e=="string"?t2(e)?Cm:$t.test(e)?gC:Xz:Array.isArray(e)?EL:typeof e=="object"?$t.test(e)?gC:Gz:Cm}function EL(e,t){const n=[...e],r=n.length,o=e.map((i,s)=>o2(i)(i,t[s]));return i=>{for(let s=0;s<r;s++)n[s]=o[s](i);return n}}function Gz(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=o2(e[o])(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}}function Yz(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 Xz=(e,t)=>{const n=ho.createTransformer(t),r=$u(e),o=$u(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?Lw.has(e)&&!o.values.length||Lw.has(t)&&!r.values.length?qz(e,t):zf(EL(Yz(r,o),o.values),n):Cm(e,t)};function _L(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ot(e,t,n):o2(e)(e,t)}const Jz=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>Ue.update(t,n),stop:()=>Vr(t),now:()=>qt.isProcessing?qt.timestamp:An.now()}},CL=(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)})`},Tm=2e4;function i2(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Tm;)t+=n,r=e.next(t);return t>=Tm?1/0:t}function TL(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(i2(r),Tm);return{type:"keyframes",ease:i=>r.next(o*i).value/t,duration:jr(o)}}const _t={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};function $w(e,t){return e*Math.sqrt(1-t*t)}const Qz=12;function Zz(e,t,n){let r=n;for(let o=1;o<Qz;o++)r=r-e(r)/t(r);return r}const t0=.001;function e9({duration:e=_t.duration,bounce:t=_t.bounce,velocity:n=_t.velocity,mass:r=_t.mass}){let o,i,s=1-t;s=go(_t.minDamping,_t.maxDamping,s),e=go(_t.minDuration,_t.maxDuration,jr(e)),s<1?(o=u=>{const c=u*s,d=c*e,f=c-n,h=$w(u,s),g=Math.exp(-d);return t0-f/h*g},i=u=>{const d=u*s*e,f=d*n+n,h=Math.pow(s,2)*Math.pow(u,2)*e,g=Math.exp(-d),p=$w(Math.pow(u,2),s);return(-o(u)+t0>0?-1:1)*((f-h)*g)/p}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-t0+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=Zz(o,i,a);if(e=Zn(e),isNaN(l))return{stiffness:_t.stiffness,damping:_t.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const t9=["duration","bounce"],n9=["stiffness","damping","mass"];function yC(e,t){return t.some(n=>e[n]!==void 0)}function r9(e){let t={velocity:_t.velocity,stiffness:_t.stiffness,damping:_t.damping,mass:_t.mass,isResolvedFromDuration:!1,...e};if(!yC(e,n9)&&yC(e,t9))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,i=2*go(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:_t.mass,stiffness:o,damping:i}}else{const n=e9({...e,velocity:0});t={...t,...n,mass:_t.mass},t.isResolvedFromDuration=!0}return t}function af(e=_t.visualDuration,t=_t.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}=r9({...n,velocity:-jr(n.velocity||0)}),g=f||0,p=u/(2*Math.sqrt(l*c)),m=s-i,y=jr(Math.sqrt(l/c)),v=Math.abs(m)<5;r||(r=v?_t.restSpeed.granular:_t.restSpeed.default),o||(o=v?_t.restDelta.granular:_t.restDelta.default);let w,S,x,k,_,A;if(p<1)x=$w(y,p),k=(g+p*y*m)/x,w=I=>{const N=Math.exp(-p*y*I);return s-N*(k*Math.sin(x*I)+m*Math.cos(x*I))},_=p*y*k+m*x,A=p*y*m-k*x,S=I=>Math.exp(-p*y*I)*(_*Math.sin(x*I)+A*Math.cos(x*I));else if(p===1){w=N=>s-Math.exp(-y*N)*(m+(g+y*m)*N);const I=g+y*m;S=N=>Math.exp(-y*N)*(y*I*N-g)}else{const I=y*Math.sqrt(p*p-1);w=V=>{const ee=Math.exp(-p*y*V),G=Math.min(I*V,300);return s-ee*((g+p*y*m)*Math.sinh(G)+I*m*Math.cosh(G))/I};const N=(g+p*y*m)/I,L=p*y*N-m*I,Z=p*y*m-N*I;S=V=>{const ee=Math.exp(-p*y*V),G=Math.min(I*V,300);return ee*(L*Math.sinh(G)+Z*Math.cosh(G))}}const M={calculatedDuration:h&&d||null,velocity:I=>Zn(S(I)),next:I=>{if(!h&&p<1){const L=Math.exp(-p*y*I),Z=Math.sin(x*I),V=Math.cos(x*I),ee=s-L*(k*Z+m*V),G=Zn(L*(_*Z+A*V));return a.done=Math.abs(G)<=r&&Math.abs(s-ee)<=o,a.value=a.done?s:ee,a}const N=w(I);if(h)a.done=I>=d;else{const L=Zn(S(I));a.done=Math.abs(L)<=r&&Math.abs(s-N)<=o}return a.value=a.done?s:N,a},toString:()=>{const I=Math.min(i2(M),Tm),N=CL(L=>M.next(I*L).value,I,30);return I+"ms "+N},toTransition:()=>{}};return M}af.applyToOptions=e=>{const t=TL(e,100,af);return e.ease=t.ease,e.duration=Zn(t.duration),e.type="keyframes",e};const o9=5;function AL(e,t,n){const r=Math.max(t-o9,0);return Qx(n-e(r),t-r)}function Nw({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=A=>a!==void 0&&A<a||l!==void 0&&A>l,g=A=>a===void 0?l:l===void 0||Math.abs(a-A)<Math.abs(l-A)?a:l;let p=n*t;const m=d+p,y=s===void 0?m:s(m);y!==m&&(p=y-d);const v=A=>-p*Math.exp(-A/r),w=A=>y+v(A),S=A=>{const M=v(A),I=w(A);f.done=Math.abs(M)<=u,f.value=f.done?y:I};let x,k;const _=A=>{h(f.value)&&(x=A,k=af({keyframes:[f.value,g(f.value)],velocity:AL(w,A,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return _(0),{calculatedDuration:null,next:A=>{let M=!1;return!k&&x===void 0&&(M=!0,S(A),_(A)),x!==void 0&&A>=x?k.next(A-x):(!M&&S(A),f)}}}function i9(e,t,n){const r=[],o=n||Us.mix||_L,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]||Qn:t;a=zf(l,a)}r.push(a)}return r}function s2(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(of(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=i9(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=Za(e[d],e[d+1],c);return a[d](f)};return n?c=>u(go(e[0],e[i-1],c)):u}function PL(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Za(0,t,r);e.push(ot(n,1,o))}}function a2(e){const t=[0];return PL(t,e.length-1),t}function s9(e,t){return e.map(n=>n*t)}function a9(e,t){return e.map(()=>t||hL).splice(0,e.length-1)}function yd({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=pL(r)?r.map(dC):dC(r),i={done:!1,value:t[0]},s=s9(n&&n.length===t.length?n:a2(t),e),a=s2(s,t,{ease:Array.isArray(o)?o:a9(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const l9=e=>e!==null;function sy(e,{repeat:t,repeatType:n="loop"},r,o=1){const i=e.filter(l9),a=o<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const u9={decay:Nw,inertia:Nw,tween:yd,keyframes:yd,spring:af};function RL(e){typeof e.type=="string"&&(e.type=u9[e.type])}class l2{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 c9=e=>e/100;class lf extends l2{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,o;const{motionValue:n}=this.options;n&&n.updatedAt!==An.now()&&this.tick(An.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;RL(t);const{type:n=yd,repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=t;let{keyframes:a}=t;const l=n||yd;l!==yd&&typeof a[0]!="number"&&(this.mixKeyframes=zf(c9,_L(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=i2(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:g,onUpdate:p,finalKeyframe:m}=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 y=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>o;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let w=this.currentTime,S=r;if(d){const A=Math.min(this.currentTime,o)/a;let M=Math.floor(A),I=A%1;!I&&A>=1&&(I=1),I===1&&M--,M=Math.min(M,d+1),!!(M%2)&&(f==="reverse"?(I=1-I,h&&(I-=h/a)):f==="mirror"&&(S=s)),w=go(0,1,I)*a}let x;v?(this.delayState.value=c[0],x=this.delayState):x=S.next(w),i&&!v&&(x.value=i(x.value));let{done:k}=x;!v&&l!==null&&(k=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return _&&g!==Nw&&(x.value=sy(c,this.options,m,this.speed)),p&&p(x.value),_&&this.finish(),x}then(t,n){return this.finished.then(t,n)}get duration(){return jr(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+jr(t)}get time(){return jr(this.currentTime)}set time(t){t=Zn(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),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return AL(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(An.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=jr(this.currentTime))}play(){var o,i;if(this.isStopped)return;const{driver:t=Jz,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(An.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 d9(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const _a=e=>e*180/Math.PI,jw=e=>{const t=_a(Math.atan2(e[1],e[0]));return Fw(t)},f9={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:jw,rotateZ:jw,skewX:e=>_a(Math.atan(e[1])),skewY:e=>_a(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Fw=e=>(e=e%360,e<0&&(e+=360),e),vC=jw,wC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),bC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),h9={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:wC,scaleY:bC,scale:e=>(wC(e)+bC(e))/2,rotateX:e=>Fw(_a(Math.atan2(e[6],e[5]))),rotateY:e=>Fw(_a(Math.atan2(-e[2],e[0]))),rotateZ:vC,rotate:vC,skewX:e=>_a(Math.atan(e[4])),skewY:e=>_a(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Bw(e){return e.includes("scale")?1:0}function Uw(e,t){if(!e||e==="none")return Bw(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=h9,o=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=f9,o=a}if(!o)return Bw(t);const i=r[t],s=o[1].split(",").map(m9);return typeof i=="function"?i(s):s[i]}const p9=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Uw(n,t)};function m9(e){return parseFloat(e.trim())}const Ju=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Qu=new Set(Ju),SC=e=>e===Xu||e===he,g9=new Set(["x","y","z"]),y9=Ju.filter(e=>!g9.has(e));function v9(e){const t=[];return y9.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ks={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const o=e.max-e.min;return r==="border-box"?o:o-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const o=e.max-e.min;return r==="border-box"?o:o-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})=>Uw(t,"x"),y:(e,{transform:t})=>Uw(t,"y")};ks.translateX=ks.x;ks.translateY=ks.y;const Va=new Set;let zw=!1,Vw=!1,Hw=!1;function OL(){if(Vw){const e=Array.from(Va).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=v9(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)})}Vw=!1,zw=!1,Va.forEach(e=>e.complete(Hw)),Va.clear()}function ML(){Va.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Vw=!0)})}function w9(){Hw=!0,ML(),OL(),Hw=!1}class u2{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?(Va.add(this),zw||(zw=!0,Ue.read(ML),Ue.resolveKeyframes(OL))):(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])}d9(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Va.delete(this)}cancel(){this.state==="scheduled"&&(Va.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const b9=e=>e.startsWith("--");function IL(e,t,n){b9(t)?e.style.setProperty(t,n):e.style[t]=n}const S9={};function c2(e,t){const n=oL(e);return()=>S9[t]??n()}const d2=c2(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),DL=c2(()=>window.ViewTimeline!==void 0,"viewTimeline"),LL=c2(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Gc=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,xC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Gc([0,.65,.55,1]),circOut:Gc([.55,0,1,.45]),backIn:Gc([.31,.01,.66,-.59]),backOut:Gc([.33,1.53,.69,.99])};function $L(e,t){if(e)return typeof e=="function"?LL()?CL(e,t):"ease-out":gL(e)?Gc(e):Array.isArray(e)?e.map(n=>$L(n,t)||xC.easeOut):xC[e]}function x9(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=$L(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 f2(e){return typeof e=="function"&&"applyToOptions"in e}function k9({type:e,...t}){return f2(e)&&LL()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class NL extends l2{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:o,pseudoElement:i,allowFlatten:s=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!i,this.allowFlatten=s,this.options=t,of(typeof t.type!="string");const u=k9(t);this.animation=x9(n,r,o,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const c=sy(o,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),IL(n,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,o;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((o=(r=this.animation).commitStyles)==null||o.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return jr(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+jr(t)}get time(){return jr(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Zn(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:o}){var i;return this.allowFlatten&&((i=this.animation.effect)==null||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&d2()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),Qn):o(this)}}const jL={anticipate:cL,backInOut:uL,circInOut:fL};function E9(e){return e in jL}function _9(e){typeof e.ease=="string"&&E9(e.ease)&&(e.ease=jL[e.ease])}const n0=10;class C9 extends NL{constructor(t){_9(t),RL(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(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 lf({...s,autoplay:!1}),l=Math.max(n0,An.now()-this.startTime),u=go(0,n0,l-n0),c=a.sample(l).value,{name:d}=this.options;i&&d&&IL(i,d,c),n.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const kC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ho.test(e)||e==="0")&&!e.startsWith("url("));function T9(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 A9(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=kC(o,t),a=kC(i,t);return!s||!a?!1:T9(e)||(n==="spring"||f2(n))&&r}function Ww(e){e.duration=0,e.type="keyframes"}const FL=new Set(["opacity","clipPath","filter","transform"]),P9=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function R9(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&P9.test(e[t]))return!0;return!1}const O9=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),M9=oL(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function I9(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:s,keyframes:a}=e;if(!(((d=t==null?void 0:t.owner)==null?void 0:d.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:c}=t.owner.getProps();return M9()&&n&&(FL.has(n)||O9.has(n)&&R9(a))&&(n!=="transform"||!c)&&!u&&!r&&o!=="mirror"&&i!==0&&s!=="inertia"}const D9=40;class L9 extends l2{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 g;super(),this.stop=()=>{var p,m;this._animation&&(this._animation.stop(),(p=this.stopTimeline)==null||p.call(this)),(m=this.keyframeResolver)==null||m.cancel()},this.createdAt=An.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)||u2;this.keyframeResolver=new h(a,(p,m,y)=>this.onKeyframesResolved(p,m,f,!y),l,u,c),(g=this.keyframeResolver)==null||g.scheduleResolve()}onKeyframesResolved(t,n,r,o){var y,v;this.keyframeResolver=void 0;const{name:i,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=An.now();let d=!0;A9(t,i,s,a)||(d=!1,(Us.instantAnimations||!l)&&(c==null||c(sy(t,r,n))),t[0]=t[t.length-1],Ww(r),r.repeat=0);const h={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>D9?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},g=d&&!u&&I9(h),p=(v=(y=h.motionValue)==null?void 0:y.owner)==null?void 0:v.current;let m;if(g)try{m=new C9({...h,element:p})}catch{m=new lf(h)}else m=new lf(h);m.finished.then(()=>{this.notifyFinished()}).catch(Qn),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),w9()),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()}}class $9{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t){const n=this.animations.map(r=>r.attachTimeline(t));return()=>{n.forEach((r,o)=>{r&&r(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return EC(this.animations,"duration")}get iterationDuration(){return EC(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(n=>n[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function EC(e,t){let n=0;for(let r=0;r<e.length;r++){const o=e[r][t];o!==null&&o>n&&(n=o)}return n}class N9 extends $9{then(t,n){return this.finished.finally(t).then(()=>{})}}function BL(e,t,n,r=0,o=1){const i=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),s=e.size,a=(s-1)*r;return typeof n=="function"?n(i,s):o===1?i*r:a-i*r}const j9=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function F9(e){const t=j9.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}function UL(e,t,n=1){const[r,o]=F9(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return tL(s)?parseFloat(s):s}return t2(o)?UL(o,t,n+1):o}const B9={type:"spring",stiffness:500,damping:25,restSpeed:10},U9=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),z9={type:"keyframes",duration:.8},V9={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},H9=(e,{keyframes:t})=>t.length>2?z9:Qu.has(e)?e.startsWith("scale")?U9(t[1]):B9:V9;function zL(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function h2(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?zL(n,e):n}const W9=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function q9(e){for(const t in e)if(!W9.has(t))return!0;return!1}const p2=(e,t,n,r={},o,i)=>s=>{const a=h2(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Zn(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};q9(a)||Object.assign(c,H9(e,c)),c.duration&&(c.duration=Zn(c.duration)),c.repeatDelay&&(c.repeatDelay=Zn(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Ww(c),c.delay===0&&(d=!0)),(Us.instantAnimations||Us.skipAnimations||o!=null&&o.shouldSkipAnimations)&&(d=!0,Ww(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!i&&t.get()!==void 0){const f=sy(c.keyframes,a);if(f!==void 0){Ue.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new lf(c):new L9(c)};function _C(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function m2(e,t,n,r){if(typeof t=="function"){const[o,i]=_C(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]=_C(r);t=t(n!==void 0?n:e.custom,o,i)}return t}function Ha(e,t,n){const r=e.getProps();return m2(r,t,n!==void 0?n:r.custom,e)}const VL=new Set(["width","height","top","left","right","bottom",...Ju]),CC=30,K9=e=>!isNaN(parseFloat(e)),vd={current:void 0};class G9{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const o=An.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=An.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=K9(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 Jx);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 vd.current&&vd.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=An.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>CC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,CC);return Qx(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 Fr(e,t){return new G9(e,t)}const qw=e=>Array.isArray(e);function Y9(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Fr(n))}function X9(e){return qw(e)?e[e.length-1]||0:e}function J9(e,t){const n=Ha(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const s in i){const a=X9(i[s]);Y9(e,s,a)}}const Rt=e=>!!(e&&e.getVelocity);function Q9(e){return!!(Rt(e)&&e.add)}function Kw(e,t){const n=e.getValue("willChange");if(Q9(n))return n.add(t);if(!n&&Us.WillChange){const r=new Us.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function g2(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const Z9="framerAppearId",HL="data-"+g2(Z9);function WL(e){return e.props[HL]}function eV({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function y2(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i,transitionEnd:s,...a}=t;const l=e.getDefaultTransition();i=i?zL(i,l):l;const u=i==null?void 0:i.reduceMotion;r&&(i=r);const c=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const f in a){const h=e.getValue(f,e.latestValues[f]??null),g=a[f];if(g===void 0||d&&eV(d,f))continue;const p={delay:n,...h2(i||{},f)},m=h.get();if(m!==void 0&&!h.isAnimating()&&!Array.isArray(g)&&g===m&&!p.velocity){Ue.update(()=>h.set(g));continue}let y=!1;if(window.MotionHandoffAnimation){const S=WL(e);if(S){const x=window.MotionHandoffAnimation(S,f,Ue);x!==null&&(p.startTime=x,y=!0)}}Kw(e,f);const v=u??e.shouldReduceMotion;h.start(p2(f,h,g,v&&VL.has(f)?{type:!1}:p,e,y));const w=h.animation;w&&c.push(w)}if(s){const f=()=>Ue.update(()=>{s&&J9(e,s)});c.length?Promise.all(c).then(f):f()}return c}function Gw(e,t,n={}){var l;const r=Ha(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(y2(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=o;return tV(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 tV(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(Gw(l,t,{...s,delay:n+(typeof r=="function"?0:r)+BL(e.variantChildren,l,r,o,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function nV(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>Gw(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=Gw(e,t,n);else{const o=typeof t=="function"?Ha(e,t,n.custom):t;r=Promise.all(y2(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const rV={test:e=>e==="auto",parse:e=>e},qL=e=>t=>t.test(e),KL=[Xu,he,qo,Yi,Mz,Oz,rV],TC=e=>KL.find(qL(e));function oV(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||rL(e):!0}const iV=new Set(["brightness","contrast","saturate","opacity"]);function sV(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(n2)||[];if(!r)return e;const o=n.replace(r,"");let i=iV.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const aV=/\b([a-z-]*)\(.*?\)/gu,Yw={...ho,getAnimatableNone:e=>{const t=e.match(aV);return t?t.map(sV).join(" "):e}},Xw={...ho,getAnimatableNone:e=>{const t=ho.parse(e);return ho.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},AC={...Xu,transform:Math.round},lV={rotate:Yi,rotateX:Yi,rotateY:Yi,rotateZ:Yi,scale:Ah,scaleX:Ah,scaleY:Ah,scaleZ:Ah,skew:Yi,skewX:Yi,skewY:Yi,distance:he,translateX:he,translateY:he,translateZ:he,x:he,y:he,z:he,perspective:he,transformPerspective:he,opacity:sf,originX:hC,originY:hC,originZ:he},v2={borderWidth:he,borderTopWidth:he,borderRightWidth:he,borderBottomWidth:he,borderLeftWidth:he,borderRadius:he,borderTopLeftRadius:he,borderTopRightRadius:he,borderBottomRightRadius:he,borderBottomLeftRadius:he,width:he,maxWidth:he,height:he,maxHeight:he,top:he,right:he,bottom:he,left:he,inset:he,insetBlock:he,insetBlockStart:he,insetBlockEnd:he,insetInline:he,insetInlineStart:he,insetInlineEnd:he,padding:he,paddingTop:he,paddingRight:he,paddingBottom:he,paddingLeft:he,paddingBlock:he,paddingBlockStart:he,paddingBlockEnd:he,paddingInline:he,paddingInlineStart:he,paddingInlineEnd:he,margin:he,marginTop:he,marginRight:he,marginBottom:he,marginLeft:he,marginBlock:he,marginBlockStart:he,marginBlockEnd:he,marginInline:he,marginInlineStart:he,marginInlineEnd:he,fontSize:he,backgroundPositionX:he,backgroundPositionY:he,...lV,zIndex:AC,fillOpacity:sf,strokeOpacity:sf,numOctaves:AC},uV={...v2,color:$t,backgroundColor:$t,outlineColor:$t,fill:$t,stroke:$t,borderColor:$t,borderTopColor:$t,borderRightColor:$t,borderBottomColor:$t,borderLeftColor:$t,filter:Yw,WebkitFilter:Yw,mask:Xw,WebkitMask:Xw},GL=e=>uV[e],cV=new Set([Yw,Xw]);function YL(e,t){let n=GL(e);return cV.has(n)||(n=ho),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const dV=new Set(["auto","none","0"]);function fV(e,t,n){let r=0,o;for(;r<e.length&&!o;){const i=e[r];typeof i=="string"&&!dV.has(i)&&$u(i).values.length&&(o=e[r]),r++}if(o&&n)for(const i of t)e[i]=YL(n,o)}class hV extends u2{constructor(t,n,r,o,i){super(t,n,r,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let d=t[c];
vendor: 1,295 bytes, line 67
67if(typeof d=="string"&&(d=d.trim(),t2(d))){const f=UL(d,n.current);f!==void 0&&(t[c]=f),c===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!VL.has(r)||t.length!==2)return;const[o,i]=t,s=TC(o),a=TC(i),l=fC(o),u=fC(i);if(l!==u&&ks[r]){this.needsMeasurement=!0;return}if(s!==a)if(SC(s)&&SC(a))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else ks[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||oV(t[o]))&&r.push(o);r.length&&fV(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=ks[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]=ks[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEac
vendor: 43,114 bytes, line 67
67h(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function ay(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);const o=(n==null?void 0:n[e])??r.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(r=>r!=null)}const XL=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function wd(e){return nL(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:w2}=yL(queueMicrotask,!1),to={x:!1,y:!1};function JL(){return to.x||to.y}function pV(e){return e==="x"||e==="y"?to[e]?null:(to[e]=!0,()=>{to[e]=!1}):to.x||to.y?null:(to.x=to.y=!0,()=>{to.x=to.y=!1})}function QL(e,t){const n=ay(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function mV(e){return!(e.pointerType==="touch"||JL())}function gV(e,t,n={}){const[r,o,i]=QL(e,n);return r.forEach(s=>{let a=!1,l=!1,u;const c=()=>{s.removeEventListener("pointerleave",g)},d=m=>{u&&(u(m),u=void 0),c()},f=m=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,d(m))},h=()=>{a=!0,window.addEventListener("pointerup",f,o),window.addEventListener("pointercancel",f,o)},g=m=>{if(m.pointerType!=="touch"){if(a){l=!0;return}d(m)}},p=m=>{if(!mV(m))return;l=!1;const y=t(s,m);typeof y=="function"&&(u=y,s.addEventListener("pointerleave",g,o))};s.addEventListener("pointerenter",p,o),s.addEventListener("pointerdown",h,o)}),i}const ZL=(e,t)=>t?e===t?!0:ZL(e,t.parentElement):!1,b2=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,yV=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function vV(e){return yV.has(e.tagName)||e.isContentEditable===!0}const wV=new Set(["INPUT","SELECT","TEXTAREA"]);function bV(e){return wV.has(e.tagName)||e.isContentEditable===!0}const Ep=new WeakSet;function PC(e){return t=>{t.key==="Enter"&&e(t)}}function r0(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const SV=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=PC(()=>{if(Ep.has(n))return;r0(n,"down");const o=PC(()=>{r0(n,"up")}),i=()=>r0(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 RC(e){return b2(e)&&!JL()}const OC=new WeakSet;function xV(e,t,n={}){const[r,o,i]=QL(e,n),s=a=>{const l=a.currentTarget;if(!RC(a)||OC.has(a))return;Ep.add(l),n.stopPropagation&&OC.add(a);const u=t(l,a),c=(h,g)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),Ep.has(l)&&Ep.delete(l),RC(h)&&typeof u=="function"&&u(h,{success:g})},d=h=>{c(h,l===window||l===document||n.useGlobalTarget||ZL(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),wd(a)&&(a.addEventListener("focus",u=>SV(u,o)),!vV(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),i}function ly(e){return nL(e)&&"ownerSVGElement"in e}const _p=new WeakMap;let Xi;const e3=(e,t,n)=>(r,o)=>o&&o[0]?o[0][e+"Size"]:ly(r)&&"getBBox"in r?r.getBBox()[t]:r[n],kV=e3("inline","width","offsetWidth"),EV=e3("block","height","offsetHeight");function _V({target:e,borderBoxSize:t}){var n;(n=_p.get(e))==null||n.forEach(r=>{r(e,{get width(){return kV(e,t)},get height(){return EV(e,t)}})})}function CV(e){e.forEach(_V)}function TV(){typeof ResizeObserver>"u"||(Xi=new ResizeObserver(CV))}function AV(e,t){Xi||TV();const n=ay(e);return n.forEach(r=>{let o=_p.get(r);o||(o=new Set,_p.set(r,o)),o.add(t),Xi==null||Xi.observe(r)}),()=>{n.forEach(r=>{const o=_p.get(r);o==null||o.delete(t),o!=null&&o.size||Xi==null||Xi.unobserve(r)})}}const Cp=new Set;let Zl;function PV(){Zl=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Cp.forEach(t=>t(e))},window.addEventListener("resize",Zl)}function RV(e){return Cp.add(e),Zl||PV(),()=>{Cp.delete(e),!Cp.size&&typeof Zl=="function"&&(window.removeEventListener("resize",Zl),Zl=void 0)}}function Jw(e,t){return typeof e=="function"?RV(e):AV(e,t)}function t3(e,t){let n;const r=()=>{const{currentTime:o}=t,s=(o===null?0:o.value)/100;n!==s&&e(s),n=s};return Ue.preUpdate(r,!0),()=>Vr(r)}function n3(e){return ly(e)&&e.tagName==="svg"}function OV(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],o=e[1+n],i=e[2+n],s=e[3+n],a=s2(o,i,s);return t?a(r):a}function MV(e,t,n={}){const r=e.get();let o=null,i=r,s;const a=typeof r=="string"?r.replace(/[\d.-]/g,""):void 0,l=()=>{o&&(o.stop(),o=null),e.animation=void 0},u=()=>{const d=MC(e.get()),f=MC(i);if(d===f){l();return}const h=o?o.getGeneratorVelocity():e.getVelocity();l(),o=new lf({keyframes:[d,f],velocity:h,type:"spring",restDelta:.001,restSpeed:.01,...n,onUpdate:s})},c=()=>{var d;u(),e.animation=o??void 0,(d=e.events.animationStart)==null||d.notify(),o==null||o.then(()=>{var f;e.animation=void 0,(f=e.events.animationComplete)==null||f.notify()})};if(e.attach((d,f)=>{i=d,s=h=>f(o0(h,a)),Ue.postRender(c)},l),Rt(t)){let d=n.skipInitialAnimation===!0;const f=t.on("change",g=>{d?(d=!1,e.jump(o0(g,a),!1)):e.set(o0(g,a))}),h=e.on("destroy",f);return()=>{f(),h()}}return l}function o0(e,t){return t?e+t:e}function MC(e){return typeof e=="number"?e:parseFloat(e)}const IV=[...KL,$t,ho],DV=e=>IV.find(qL(e)),IC=()=>({translate:0,scale:1,origin:0,originPoint:0}),eu=()=>({x:IC(),y:IC()}),DC=()=>({min:0,max:0}),It=()=>({x:DC(),y:DC()}),uf=new WeakMap;function uy(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function cf(e){return typeof e=="string"||Array.isArray(e)}const S2=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],x2=["initial",...S2];function cy(e){return uy(e.animate)||x2.some(t=>cf(e[t]))}function r3(e){return!!(cy(e)||e.variants)}function LV(e,t,n){for(const r in t){const o=t[r],i=n[r];if(Rt(o))e.addValue(r,o);else if(Rt(i))e.addValue(r,Fr(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,Fr(s!==void 0?s:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Am={current:null},k2={current:!1},$V=typeof window<"u";function o3(){if(k2.current=!0,!!$V)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Am.current=e.matches;e.addEventListener("change",t),t()}else Am.current=!1}const LC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Pm={};function i3(e){Pm=e}function NV(){return Pm}class s3{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,skipAnimations:i,blockInitialAnimation:s,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=u2,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=An.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,Ue.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=i,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=cy(n),this.isVariantNode=r3(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const g=f[h];u[h]!==void 0&&Rt(g)&&g.set(u[h])}}mount(t){var n,r;if(this.hasBeenMounted)for(const o in this.initialValues)(n=this.values.get(o))==null||n.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o];this.current=t,uf.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,i)=>this.bindToMotionValue(i,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(k2.current||o3(),this.shouldReduceMotion=Am.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),Vr(this.notifyUpdate),Vr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&FL.has(t)&&this.current instanceof HTMLElement){const{factory:s,keyframes:a,times:l,ease:u,duration:c}=n.accelerate,d=new NL({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:Zn(c)}),f=s(d);this.valueSubscriptions.set(t,()=>{f(),d.cancel()});return}const r=Qu.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;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i&&i(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Pm){const n=Pm[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):It()}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<LC.length;r++){const o=LC[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=LV(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=Fr(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"&&(tL(r)||rL(r))?r=parseFloat(r):!DV(r)&&ho.test(n)&&(r=YL(t,n)),this.setBaseTarget(t,Rt(r)?r.get():r)),Rt(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=m2(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&&!Rt(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 Jx),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){w2.render(this.render)}}class a3 extends s3{constructor(){super(...arguments),this.KeyframeResolver=hV}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Rt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Gs{constructor(t){this.isMounted=!1,this.node=t}update(){}}function l3({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function jV({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function FV(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 i0(e){return e===void 0||e===1}function Qw({scale:e,scaleX:t,scaleY:n}){return!i0(e)||!i0(t)||!i0(n)}function da(e){return Qw(e)||u3(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function u3(e){return $C(e.x)||$C(e.y)}function $C(e){return e&&e!=="0%"}function Rm(e,t,n){const r=e-n,o=t*r;return n+o}function NC(e,t,n,r,o){return o!==void 0&&(e=Rm(e,o,r)),Rm(e,n,r)+t}function Zw(e,t=0,n=1,r,o){e.min=NC(e.min,t,n,r,o),e.max=NC(e.max,t,n,r,o)}function c3(e,{x:t,y:n}){Zw(e.x,t.translate,t.scale,t.originPoint),Zw(e.y,n.translate,n.scale,n.originPoint)}const jC=.999999999999,FC=1.0000000000001;function BV(e,t,n,r=!1){var a;const o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let l=0;l<o;l++){i=n[l],s=i.projectionDelta;const{visualElement:u}=i.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(Fo(e.x,-i.scroll.offset.x),Fo(e.y,-i.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,c3(e,s)),r&&da(i.latestValues)&&Tp(e,i.latestValues,(a=i.layout)==null?void 0:a.layoutBox))}t.x<FC&&t.x>jC&&(t.x=1),t.y<FC&&t.y>jC&&(t.y=1)}function Fo(e,t){e.min+=t,e.max+=t}function BC(e,t,n,r,o=.5){const i=ot(e.min,e.max,o);Zw(e,t,n,i,r)}function UC(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Tp(e,t,n){const r=n??e;BC(e.x,UC(t.x,r.x),t.scaleX,t.scale,t.originX),BC(e.y,UC(t.y,r.y),t.scaleY,t.scale,t.originY)}function d3(e,t){return l3(FV(e.getBoundingClientRect(),t))}function UV(e,t,n){const r=d3(e,n),{scroll:o}=t;return o&&(Fo(r.x,o.offset.x),Fo(r.y,o.offset.y)),r}const zV={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},VV=Ju.length;function HV(e,t,n){let r="",o=!0;for(let i=0;i<VV;i++){const s=Ju[i],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(s.startsWith("scale")?1:0);else{const u=parseFloat(a);l=s.startsWith("scale")?u===1:u===0}if(!l||n){const u=XL(a,v2[s]);if(!l){o=!1;const c=zV[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function E2(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(Qu.has(l)){s=!0;continue}else if(wL(l)){o[l]=u;continue}else{const c=XL(u,v2[l]);l.startsWith("origin")?(a=!0,i[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=HV(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=i;r.transformOrigin=`${l} ${u} ${c}`}}function f3(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 zC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Pc={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(he.test(e))e=parseFloat(e);else return e;const n=zC(e,t.target.x),r=zC(e,t.target.y);return`${n}% ${r}%`}},WV={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=ho.parse(e);if(o.length>5)return r;const i=ho.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=ot(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}},eb={borderRadius:{...Pc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Pc,borderTopRightRadius:Pc,borderBottomLeftRadius:Pc,borderBottomRightRadius:Pc,boxShadow:WV};function h3(e,{layout:t,layoutId:n}){return Qu.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!eb[e]||e==="opacity")}function _2(e,t,n){var s;const r=e.style,o=t==null?void 0:t.style,i={};if(!r)return i;for(const a in r)(Rt(r[a])||o&&Rt(o[a])||h3(a,e)||((s=n==null?void 0:n.getValue(a))==null?void 0:s.liveStyle)!==void 0)&&(i[a]=r[a]);return i}function qV(e){return window.getComputedStyle(e)}class p3 extends a3{constructor(){super(...arguments),this.type="html",this.renderInstance=f3}readValueFromInstance(t,n){var r;if(Qu.has(n))return(r=this.projection)!=null&&r.isProjecting?Bw(n):p9(t,n);{const o=qV(t),i=(wL(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return d3(t,n)}build(t,n,r){E2(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return _2(t,n,r)}}function KV(e,t){return e in t}class GV extends s3{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,n){if(KV(n,t)){const r=t[n];if(typeof r=="string"||typeof r=="number")return r}}getBaseTargetFromProps(){}removeValueFromRenderState(t,n){delete n.output[t]}measureInstanceViewportBox(){return It()}build(t,n){Object.assign(t.output,n)}renderInstance(t,{output:n}){Object.assign(t,n)}sortInstanceNodePosition(){return 0}}const YV={offset:"stroke-dashoffset",array:"stroke-dasharray"},XV={offset:"strokeDashoffset",array:"strokeDasharray"};function JV(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?YV:XV;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}const QV=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function m3(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:i=1,pathOffset:s=0,...a},l,u,c){if(E2(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete d.transformBox);for(const h of QV)d[h]!==void 0&&(f[h]=d[h],delete d[h]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),o!==void 0&&JV(d,o,i,s,!1)}const g3=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"]),y3=e=>typeof e=="string"&&e.toLowerCase()==="svg";function ZV(e,t,n,r){f3(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(g3.has(o)?o:g2(o),t.attrs[o])}function v3(e,t,n){const r=_2(e,t,n);for(const o in e)if(Rt(e[o])||Rt(t[o])){const i=Ju.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}class w3 extends a3{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=It}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Qu.has(n)){const r=GL(n);return r&&r.default||0}return n=g3.has(n)?n:g2(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return v3(t,n,r)}build(t,n,r){m3(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,o){ZV(t,n,r,o)}mount(t){this.isSVGTag=y3(t.tagName),super.mount(t)}}const eH=x2.length;function b3(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?b3(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<eH;n++){const r=x2[n],o=e.props[r];(cf(o)||o===!1)&&(t[r]=o)}return t}function S3(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 tH=[...S2].reverse(),nH=S2.length;function rH(e){return t=>Promise.all(t.map(({animation:n,options:r})=>nV(e,n,r)))}function oH(e){let t=rH(e),n=VC(),r=!0,o=!1;const i=u=>(c,d)=>{var h;const f=Ha(e,d,u==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(f){const{transition:g,transitionEnd:p,...m}=f;c={...c,...m,...p}}return c};function s(u){t=u(e)}function a(u){const{props:c}=e,d=b3(e.parent)||{},f=[],h=new Set;let g={},p=1/0;for(let y=0;y<nH;y++){const v=tH[y],w=n[v],S=c[v]!==void 0?c[v]:d[v],x=cf(S),k=v===u?w.isActive:null;k===!1&&(p=y);let _=S===d[v]&&S!==c[v]&&x;if(_&&(r||o)&&e.manuallyAnimateOnMount&&(_=!1),w.protectedKeys={...g},!w.isActive&&k===null||!S&&!w.prevProp||uy(S)||typeof S=="boolean")continue;if(v==="exit"&&w.isActive&&k!==!0){w.prevResolvedValues&&(g={...g,...w.prevResolvedValues});continue}const A=iH(w.prevProp,S);let M=A||v===u&&w.isActive&&!_&&x||y>p&&x,I=!1;const N=Array.isArray(S)?S:[S];let L=N.reduce(i(v),{});k===!1&&(L={});const{prevResolvedValues:Z={}}=w,V={...Z,...L},ee=R=>{M=!0,h.has(R)&&(I=!0,h.delete(R)),w.needsAnimating[R]=!0;const j=e.getValue(R);j&&(j.liveStyle=!1)};for(const R in V){const j=L[R],P=Z[R];if(g.hasOwnProperty(R))continue;let C=!1;qw(j)&&qw(P)?C=!S3(j,P):C=j!==P,C?j!=null?ee(R):h.add(R):j!==void 0&&h.has(R)?ee(R):w.protectedKeys[R]=!0}w.prevProp=S,w.prevResolvedValues=L,w.isActive&&(g={...g,...L}),(r||o)&&e.blockInitialAnimation&&(M=!1);const G=_&&A;M&&(!G||I)&&f.push(...N.map(R=>{const j={type:v};if(typeof R=="string"&&(r||o)&&!G&&e.manuallyAnimateOnMount&&e.parent){const{parent:P}=e,C=Ha(P,R);if(P.enteringChildren&&C){const{delayChildren:U}=C.transition||{};j.delay=BL(P.enteringChildren,e,U)}}return{animation:R,options:j}}))}if(h.size){const y={};if(typeof c.initial!="boolean"){const v=Ha(e,Array.isArray(c.initial)?c.initial[0]:c.initial);v&&v.transition&&(y.transition=v.transition)}h.forEach(v=>{const w=e.getBaseTarget(v),S=e.getValue(v);S&&(S.liveStyle=!0),y[v]=w??null}),f.push({animation:y})}let m=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,o=!1,m?t(f):Promise.resolve()}function l(u,c){var f;if(n[u].isActive===c)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(h=>{var g;return(g=h.animationState)==null?void 0:g.setActive(u,c)}),n[u].isActive=c;const d=a(u);for(const h in n)n[h].protectedKeys={};return d}return{animateChanges:a,setActive:l,setAnimateFunction:s,getState:()=>n,reset:()=>{n=VC(),o=!0}}}function iH(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!S3(t,e):!1}function oa(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function VC(){return{animate:oa(!0),whileInView:oa(),whileHover:oa(),whileTap:oa(),whileDrag:oa(),whileFocus:oa(),exit:oa()}}function tb(e,t){e.min=t.min,e.max=t.max}function Jr(e,t){tb(e.x,t.x),tb(e.y,t.y)}function HC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const x3=1e-4,sH=1-x3,aH=1+x3,k3=.01,lH=0-k3,uH=0+k3;function Pn(e){return e.max-e.min}function cH(e,t,n){return Math.abs(e-t)<=n}function WC(e,t,n,r=.5){e.origin=r,e.originPoint=ot(t.min,t.max,e.origin),e.scale=Pn(n)/Pn(t),e.translate=ot(n.min,n.max,e.origin)-e.originPoint,(e.scale>=sH&&e.scale<=aH||isNaN(e.scale))&&(e.scale=1),(e.translate>=lH&&e.translate<=uH||isNaN(e.translate))&&(e.translate=0)}function bd(e,t,n,r){WC(e.x,t.x,n.x,r?r.originX:void 0),WC(e.y,t.y,n.y,r?r.originY:void 0)}function qC(e,t,n,r=0){const o=r?ot(n.min,n.max,r):n.min;e.min=o+t.min,e.max=e.min+Pn(t)}function dH(e,t,n,r){qC(e.x,t.x,n.x,r==null?void 0:r.x),qC(e.y,t.y,n.y,r==null?void 0:r.y)}function KC(e,t,n,r=0){const o=r?ot(n.min,n.max,r):n.min;e.min=t.min-o,e.max=e.min+Pn(t)}function Om(e,t,n,r){KC(e.x,t.x,n.x,r==null?void 0:r.x),KC(e.y,t.y,n.y,r==null?void 0:r.y)}function GC(e,t,n,r,o){return e-=t,e=Rm(e,1/n,r),o!==void 0&&(e=Rm(e,1/o,r)),e}function fH(e,t=0,n=1,r=.5,o,i=e,s=e){if(qo.test(t)&&(t=parseFloat(t),t=ot(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=ot(i.min,i.max,r);e===i&&(a-=t),e.min=GC(e.min,t,n,a,o),e.max=GC(e.max,t,n,a,o)}function YC(e,t,[n,r,o],i,s){fH(e,t[n],t[r],t[o],t.scale,i,s)}const hH=["x","scaleX","originX"],pH=["y","scaleY","originY"];function XC(e,t,n,r){YC(e.x,t,hH,n?n.x:void 0,r?r.x:void 0),YC(e.y,t,pH,n?n.y:void 0,r?r.y:void 0)}function JC(e){return e.translate===0&&e.scale===1}function E3(e){return JC(e.x)&&JC(e.y)}function QC(e,t){return e.min===t.min&&e.max===t.max}function mH(e,t){return QC(e.x,t.x)&&QC(e.y,t.y)}function ZC(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function _3(e,t){return ZC(e.x,t.x)&&ZC(e.y,t.y)}function eT(e){return Pn(e.x)/Pn(e.y)}function tT(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Mo(e){return[e("x"),e("y")]}function gH(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:g}=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) `),g&&(r+=`skewY(${g}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 C3=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],yH=C3.length,nT=e=>typeof e=="string"?parseFloat(e):e,rT=e=>typeof e=="number"||he.test(e);function vH(e,t,n,r,o,i){o?(e.opacity=ot(0,n.opacity??1,wH(r)),e.opacityExit=ot(t.opacity??1,0,bH(r))):i&&(e.opacity=ot(t.opacity??1,n.opacity??1,r));for(let s=0;s<yH;s++){const a=C3[s];let l=oT(t,a),u=oT(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||rT(l)===rT(u)?(e[a]=Math.max(ot(nT(l),nT(u),r),0),(qo.test(u)||qo.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=ot(t.rotate||0,n.rotate||0,r))}function oT(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const wH=T3(0,.5,dL),bH=T3(.5,.95,Qn);function T3(e,t,n){return r=>r<e?0:r>t?1:n(Za(e,t,r))}function A3(e,t,n){const r=Rt(e)?e:Fr(e);return r.start(p2("",r,t,n)),r.animation}function df(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const SH=(e,t)=>e.depth-t.depth;class xH{constructor(){this.children=[],this.isDirty=!1}add(t){Xx(this.children,t),this.isDirty=!0}remove(t){Lu(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(SH),this.isDirty=!1,this.children.forEach(t)}}function kH(e,t){const n=An.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(Vr(r),e(i-t))};return Ue.setup(r,!0),()=>Vr(r)}function Ap(e){return Rt(e)?e.get():e}class EH{constructor(){this.members=[]}add(t){Xx(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const o=r.instance;(!o||o.isConnected===!1)&&!r.snapshot&&(Lu(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Lu(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){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const o=this.members[r];if(o.isPresent!==!1&&((n=o.instance)==null?void 0:n.isConnected)!==!1)return this.promote(o),!0}return!1}promote(t,n){var o;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=r.options,{layoutDependency:s}=t.options;(i===void 0||i!==s)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(o=t.root)!=null&&o.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,o,i,s;(r=(n=t.options).onExitComplete)==null||r.call(n),(s=(o=t.resumingFrom)==null?void 0:(i=o.options).onExitComplete)==null||s.call(i)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const Pp={hasAnimatedSinceResize:!0,hasEverUpdated:!1},s0=["","X","Y","Z"],_H=1e3;let CH=0;function a0(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function P3(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=WL(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&&P3(r)}function R3({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=CH++,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(PH),this.nodes.forEach(LH),this.nodes.forEach($H),this.nodes.forEach(RH)},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 xH)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Jx),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=ly(s)&&!n3(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=kH(f,250),Pp.hasAnimatedSinceResize&&(Pp.hasAnimatedSinceResize=!1,this.nodes.forEach(aT)))})}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 g=this.options.transition||u.getDefaultTransition()||UH,{onLayoutAnimationStart:p,onLayoutAnimationComplete:m}=u.getProps(),y=!this.targetLayout||!_3(this.targetLayout,h),v=!d&&f;if(this.options.layoutRoot||this.resumeFrom||v||d&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const w={...h2(g,"layout"),onPlay:p,onComplete:m};(u.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w),this.setAnimationOrigin(c,v)}else d||aT(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(),Vr(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(NH),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&&P3(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,(typeof d.latestValues.x=="string"||typeof d.latestValues.y=="string")&&(d.isLayoutDirty=!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()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(MH),this.nodes.forEach(iT);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(sT);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(IH),this.nodes.forEach(DH),this.nodes.forEach(TH),this.nodes.forEach(AH)):this.nodes.forEach(sT),this.clearAllSnapshots();const a=An.now();qt.delta=go(0,1e3/60,a-qt.timestamp),qt.timestamp=a,qt.isProcessing=!0,Jv.update.process(qt),Jv.preRender.process(qt),Jv.render.process(qt),qt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,w2.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(OH),this.sharedNodes.forEach(jH)}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&&!Pn(this.snapshot.measuredBox.x)&&!Pn(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||(this.layoutCorrected=It()),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&&!E3(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&this.instance&&(a||da(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)),zH(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:s}=this.options;if(!s)return It();const a=s.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(VH))){const{scroll:c}=this.root;c&&(Fo(a.x,c.offset.x),Fo(a.y,c.offset.y))}return a}removeElementScroll(s){var l;const a=It();if(Jr(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&&Jr(a,s),Fo(a.x,d.offset.x),Fo(a.y,d.offset.y))}return a}applyTransform(s,a=!1,l){var c,d;const u=l||It();Jr(u,s);for(let f=0;f<this.path.length;f++){const h=this.path[f];!a&&h.options.layoutScroll&&h.scroll&&h!==h.root&&(Fo(u.x,-h.scroll.offset.x),Fo(u.y,-h.scroll.offset.y)),da(h.latestValues)&&Tp(u,h.latestValues,(c=h.layout)==null?void 0:c.layoutBox)}return da(this.latestValues)&&Tp(u,this.latestValues,(d=this.layout)==null?void 0:d.layoutBox),u}removeTransform(s){var l;const a=It();Jr(a,s);for(let u=0;u<this.path.length;u++){const c=this.path[u];if(!da(c.latestValues))continue;let d;c.instance&&(Qw(c.latestValues)&&c.updateSnapshot(),d=It(),Jr(d,c.measurePageBox())),XC(a,c.latestValues,(l=c.snapshot)==null?void 0:l.layoutBox,d)}return da(this.latestValues)&&XC(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!==qt.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=qt.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=It(),this.targetWithTransforms=It()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),dH(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Jr(this.target,this.layout.layoutBox),c3(this.target,this.targetDelta)):Jr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!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||Qw(this.parent.latestValues)||u3(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=It(),this.relativeTargetOrigin=It(),Om(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),Jr(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var g;const s=this.getLead(),a=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||(g=this.parent)!=null&&g.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===qt.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;Jr(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;BV(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=It
vendor: 4,683 bytes, line 67
67());const{target:h}=s;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(HC(this.prevProjectionDelta.x,this.projectionDelta.x),HC(this.prevProjectionDelta.y,this.projectionDelta.y)),bd(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!tT(this.projectionDelta.x,this.prevProjectionDelta.x)||!tT(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=eu(),this.projectionDelta=eu(),this.projectionDeltaWithTransform=eu()}setAnimationOrigin(s,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=eu();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=It(),h=l?l.source:void 0,g=this.layout?this.layout.source:void 0,p=h!==g,m=this.getStack(),y=!m||m.members.length<=1,v=!!(p&&!y&&this.options.crossfade===!0&&!this.path.some(BH));this.animationProgress=0;let w;this.mixTargetDelta=S=>{const x=S/1e3;lT(d.x,s.x,x),lT(d.y,s.y,x),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Om(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),FH(this.relativeTarget,this.relativeTargetOrigin,f,x),w&&mH(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=It()),Jr(w,this.relativeTarget)),p&&(this.animationValues=c,vH(c,u,this.latestValues,x,v,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=x},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&&(Vr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ue.update(()=>{Pp.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Fr(0)),this.motionValue.jump(0,!1),this.currentAnimation=A3(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(_H),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&&O3(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||It();const d=Pn(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=Pn(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}Jr(a,l),Tp(a,c),bd(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new EH),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,506 bytes, line 67
67resetSkewAndRotation(){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&&a0("z",s,u,this.animationValues);for(let c=0;c<s0.length;c++)a0(`rotate${s0[c]}`,s,u,this.animationValues),a0(`skew${s0[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=Ap(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=Ap(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!da(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=gH(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 g in eb){if(c[g]===void 0)continue;const{correct:p,applyTo:m,isCSSVariable:y}=eb[g],v=d==="none"?c[g]:p(c[g],u);if(m){const w=m.length;for(let S=0;S<w;S++)s[m[S]]=v}else y?this.options.visualElement.renderState.vars[g]=v:s[g]=v}this.options.layoutId&&(s.pointerEvents=u===this?Ap(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(iT),this.root.sharedNodes.clear()}}}function TH(e){e.updateLayout()}function AH(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;if(i==="size")Mo(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],h=Pn(f);f.min=r[d].min,f.max=f.min+h});else if(i==="x"||i==="y"){const d=i==="x"?"y":"x";tb(s?t.measuredBox[d]:t.layoutBox[d],r[d])}else O3(i,t.layoutBox,r)&&Mo(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],h=Pn(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=eu();bd(a,r,t.layoutBox);const l=eu();s?bd(l,e.applyTransform(o,!0),t.measuredBox):bd(l,r,t.layoutBox);const u=!E3(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 g=e.options.layoutAnchor||void 0,p=It();Om(p,t.layoutBox,f.layoutBox,g);const m=It();Om(m,r,h.layoutBox,g),_3(p,m)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=p,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 PH(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 RH(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function OH(e){e.clearSnapshot()}function iT(e){e.clearMeasurements()}function MH(e){e.isLayoutDirty=!0,e.updateLayout()}function sT(e){e.isLayoutDirty=!1}function IH(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function DH(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function aT(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function LH(e){e.resolveTargetDelta()}function $H(e){e.calcProjection()}
vendor: 12,517 bytes, lines 67-75
67function NH(e){e.resetSkewAndRotation()}function jH(e){e.removeLeadSnapshot()}function lT(e,t,n){e.translate=ot(t.translate,0,n),e.scale=ot(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function uT(e,t,n,r){e.min=ot(t.min,n.min,r),e.max=ot(t.max,n.max,r)}function FH(e,t,n,r){uT(e.x,t.x,n.x,r),uT(e.y,t.y,n.y,r)}function BH(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const UH={duration:.45,ease:[.4,0,.1,1]},cT=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),dT=cT("applewebkit/")&&!cT("chrome/")?Math.round:Qn;function fT(e){e.min=dT(e.min),e.max=dT(e.max)}function zH(e){fT(e.x),fT(e.y)}function O3(e,t,n){return e==="position"||e==="preserve-aspect"&&!cH(eT(t),eT(n),.2)}function VH(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const HH=R3({attachResizeListener:(e,t)=>df(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),l0={current:void 0},M3=R3({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!l0.current){const e=new HH({});e.mount(window),e.setOptions({layoutScroll:!0}),l0.current=e}return l0.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Wf=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function hT(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function WH(...e){return t=>{let n=!1;const r=e.map(o=>{const i=hT(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():hT(e[o],null)}}}}function qH(...e){return b.useCallback(WH(...e),e)}class KH extends b.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(wd(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,o=wd(r)&&r.offsetWidth||0,i=wd(r)&&r.offsetHeight||0,s=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(s.height),a.width=parseFloat(s.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=o-a.width-a.left,a.bottom=i-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function GH({children:e,isPresent:t,anchorX:n,anchorY:r,root:o,pop:i}){var f;const s=b.useId(),a=b.useRef(null),l=b.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=b.useContext(Wf),c=((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref),d=qH(a,c);return b.useInsertionEffect(()=>{const{width:h,height:g,top:p,left:m,right:y,bottom:v}=l.current;if(t||i===!1||!a.current||!h||!g)return;const w=n==="left"?`left: ${m}`:`right: ${y}`,S=r==="bottom"?`bottom: ${v}`:`top: ${p}`;a.current.dataset.motionPopId=s;const x=document.createElement("style");u&&(x.nonce=u);const k=o??document.head;return k.appendChild(x),x.sheet&&x.sheet.insertRule(`
68          [data-motion-pop-id="${s}"] {
69            position: absolute !important;
70            width: ${h}px !important;
71            height: ${g}px !important;
72            ${w}px !important;
73            ${S}px !important;
74          }
75        `),()=>{var _;(_=a.current)==null||_.removeAttribute("data-motion-pop-id"),k.contains(x)&&k.removeChild(x)}},[t]),E.jsx(KH,{isPresent:t,childRef:a,sizeRef:l,pop:i,children:i===!1?e:b.cloneElement(e,{ref:d})})}const YH=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:s,anchorX:a,anchorY:l,root:u})=>{const c=Bs(XH),d=b.useId();let f=!0,h=b.useMemo(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:o,onExitComplete:g=>{c.set(g,!0);for(const p of c.values())if(!p)return;r&&r()},register:g=>(c.set(g,!1),()=>c.delete(g))}),[n,c,r]);return i&&f&&(h={...h}),b.useMemo(()=>{c.forEach((g,p)=>c.set(p,!1))},[n]),b.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),e=E.jsx(GH,{pop:s==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:u,children:e}),E.jsx(iy.Provider,{value:h,children:e})};function XH(){return new Map}function I3(e=!0){const t=b.useContext(iy);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,i=b.useId();b.useEffect(()=>{if(e)return o(i)},[e]);const s=b.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,s]:[!0]}const Ph=e=>e.key||"";function pT(e){const t=[];return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const z2e=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:i="sync",propagate:s=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[c,d]=I3(s),f=b.useMemo(()=>pT(e),[e]),h=s&&!c?[]:f.map(Ph),g=b.useRef(!0),p=b.useRef(f),m=Bs(()=>new Map),y=b.useRef(new Set),[v,w]=b.useState(f),[S,x]=b.useState(f);oy(()=>{g.current=!1,p.current=f;for(let A=0;A<S.length;A++){const M=Ph(S[A]);h.includes(M)?(m.delete(M),y.current.delete(M)):m.get(M)!==!0&&m.set(M,!1)}},[S,h.length,h.join("-")]);const k=[];if(f!==v){let A=[...f];for(let M=0;M<S.length;M++){const I=S[M],N=Ph(I);h.includes(N)||(A.splice(M,0,I),k.push(I))}return i==="wait"&&k.length&&(A=k),x(pT(A)),w(f),null}const{forceRender:_}=b.useContext(Yx);return E.jsx(E.Fragment,{children:S.map(A=>{const M=Ph(A),I=s&&!c?!1:f===S||h.includes(M),N=()=>{if(y.current.has(M))return;if(m.has(M))y.current.add(M),m.set(M,!0);else return;let L=!0;m.forEach(Z=>{Z||(L=!1)}),L&&(_==null||_(),x(p.current),s&&(d==null||d()),r&&r())};return E.jsx(YH,{isPresent:I,initial:!g.current||n?void 0:!1,custom:t,presenceAffectsLayout:o,mode:i,root:u,onExitComplete:I?void 0:N,anchorX:a,anchorY:l,children:A},M)})})},D3=b.createContext({strict:!1}),mT={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let gT=!1;function JH(){if(gT)return;const e={};for(const t in mT)e[t]={isEnabled:n=>mT[t].some(r=>!!n[r])};i3(e),gT=!0}function L3(){return JH(),NV()}function QH(e){const t=L3();for(const n in e)t[n]={...t[n],...e[n]};i3(t)}const ZH=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Mm(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ZH.has(e)}let $3=e=>!Mm(e);function eW(e){typeof e=="function"&&($3=t=>t.startsWith("on")?!Mm(t):e(t))}try{eW(require("@emotion/is-prop-valid").default)}catch{}function tW(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||Rt(e[o])||($3(o)||n===!0&&Mm(o)||!t&&!Mm(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const dy=b.createContext({});function nW(e,t){if(cy(e)){const{initial:n,animate:r}=e;return{initial:n===!1||cf(n)?n:void 0,animate:cf(r)?r:void 0}}return e.inherit!==!1?t:{}}function rW(e){const{initial:t,animate:n}=nW(e,b.useContext(dy));return b.useMemo(()=>({initial:t,animate:n}),[yT(t),yT(n)])}function yT(e){return Array.isArray(e)?e.join(" "):e}const C2=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function N3(e,t,n){for(const r in t)!Rt(t[r])&&!h3(r,n)&&(e[r]=t[r])}function oW({transformTemplate:e},t){return b.useMemo(()=>{const n=C2();return E2(n,t,e),Object.assign({},n.vars,n.style)},[t])}function iW(e,t){const n=e.style||{},r={};return N3(r,n,e),Object.assign(r,oW(e,t)),r}function sW(e,t){const n={},r=iW(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const j3=()=>({...C2(),attrs:{}});function aW(e,t,n,r){const o=b.useMemo(()=>{const i=j3();return m3(i,t,y3(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};N3(i,e.style,e),o.style={...i,...o.style}}return o}const lW=["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 T2(e){return typeof e!="string"||e.includes("-")?!1:!!(lW.indexOf(e)>-1||/[A-Z]/u.test(e))}function uW(e,t,n,{latestValues:r},o,i=!1,s){const l=(s??T2(e)?aW:sW)(t,r,o,e),u=tW(t,typeof e=="string",i),c=e!==b.Fragment?{...u,...l,ref:n}:{},{children:d}=t,f=b.useMemo(()=>Rt(d)?d.get():d,[d]);return b.createElement(e,{...c,children:f})}function cW({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:dW(n,r,o,e),renderState:t()}}function dW(e,t,n,r){const o={},i=r(e,{});for(const f in i)o[f]=Ap(i[f]);let{initial:s,animate:a}=e;const l=cy(e),u=r3(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"&&!uy(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h<f.length;h++){const g=m2(e,f[h]);if(g){const{transitionEnd:p,transition:m,...y}=g;for(const v in y){let w=y[v];if(Array.isArray(w)){const S=c?w.length-1:0;w=w[S]}w!==null&&(o[v]=w)}for(const v in p)o[v]=p[v]}}}return o}const F3=e=>(t,n)=>{const r=b.useContext(dy),o=b.useContext(iy),i=()=>cW(e,t,r,o);return n?i():Bs(i)},fW=F3({scrapeMotionValuesFromProps:_2,createRenderState:C2}),hW=F3({scrapeMotionValuesFromProps:v3,createRenderState:j3}),pW=Symbol.for("motionComponentSymbol");function mW(e,t,n){const r=b.useRef(n);b.useInsertionEffect(()=>{r.current=n});const o=b.useRef(null);return b.useCallback(i=>{var a;i&&((a=e.onMount)==null||a.call(e,i));const s=r.current;if(typeof s=="function")if(i){const l=s(i);typeof l=="function"&&(o.current=l)}else o.current?(o.current(),o.current=null):s(i);else s&&(s.current=i);t&&(i?t.mount(i):t.unmount())},[t])}const B3=b.createContext({});function Ml(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function gW(e,t,n,r,o,i){var w,S;const{visualElement:s}=b.useContext(dy),a=b.useContext(D3),l=b.useContext(iy),u=b.useContext(Wf),c=u.reducedMotion,d=u.skipAnimations,f=b.useRef(null),h=b.useRef(!1);r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,skipAnimations:d,isSVG:i}),h.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const g=f.current,p=b.useContext(B3);g&&!g.projection&&o&&(g.type==="html"||g.type==="svg")&&yW(f.current,n,o,p);const m=b.useRef(!1);b.useInsertionEffect(()=>{g&&m.current&&g.update(n,l)});const y=n[HL],v=b.useRef(!!y&&typeof window<"u"&&!((w=window.MotionHandoffIsComplete)!=null&&w.call(window,y))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,y)));return oy(()=>{h.current=!0,g&&(m.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),g.scheduleRenderMicrotask(),v.current&&g.animationState&&g.animationState.animateChanges())}),b.useEffect(()=>{g&&(!v.current&&g.animationState&&g.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var x;(x=window.MotionHandoffMarkAsComplete)==null||x.call(window,y)}),v.current=!1),g.enteringChildren=void 0)}),g}function yW(e,t,n,r){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:U3(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&Ml(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}function U3(e){if(e)return e.options.allowProjection!==!1?e.projection:U3(e.parent)}function u0(e,{forwardMotionProps:t=!1,type:n}={},r,o){r&&QH(r);const i=n?n==="svg":T2(e),s=i?hW:fW;function a(u,c){let d;const f={...b.useContext(Wf),...u,layoutId:vW(u)},{isStatic:h}
vendor: 17,131 bytes, line 75
75=f,g=rW(u),p=s(u,h);if(!h&&typeof window<"u"){wW();const m=bW(f);d=m.MeasureLayout,g.visualElement=gW(e,p,f,o,m.ProjectionNode,i)}return E.jsxs(dy.Provider,{value:g,children:[d&&g.visualElement?E.jsx(d,{visualElement:g.visualElement,...f}):null,uW(e,u,mW(p,g.visualElement,c),p,h,t,i)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=b.forwardRef(a);return l[pW]=e,l}function vW({layoutId:e}){const t=b.useContext(Yx).id;return t&&e!==void 0?t+"-"+e:e}function wW(e,t){b.useContext(D3).strict}function bW(e){const t=L3(),{drag:n,layout:r}=t;if(!n&&!r)return{};const o={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function SW(e,t){if(typeof Proxy>"u")return u0;const n=new Map,r=(i,s)=>u0(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,u0(s,void 0,e,t)),n.get(s))})}const xW=(e,t)=>t.isSVG??T2(e)?new w3(t):new p3(t,{allowProjection:e!==b.Fragment});class kW extends Gs{constructor(t){super(t),t.animationState||(t.animationState=oH(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();uy(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 EW=0;class _W extends Gs{constructor(){super(...arguments),this.id=EW++,this.isExitComplete=!1}update(){var i;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;if(t&&r===!1){if(this.isExitComplete){const{initial:s,custom:a}=this.node.getProps();if(typeof s=="string"){const l=Ha(this.node,s,a);if(l){const{transition:u,transitionEnd:c,...d}=l;for(const f in d)(i=this.node.getValue(f))==null||i.jump(d[f])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const CW={animation:{Feature:kW},exit:{Feature:_W}};function qf(e){return{point:{x:e.pageX,y:e.pageY}}}const TW=e=>t=>b2(t)&&e(t,qf(t));function Sd(e,t,n,r){return df(e,t,TW(n),r)}const z3=({current:e})=>e?e.ownerDocument.defaultView:null,vT=(e,t)=>Math.abs(e-t);function AW(e,t){const n=vT(e.x,t.x),r=vT(e.y,t.y);return Math.sqrt(n**2+r**2)}const wT=new Set(["auto","scroll"]);class V3{constructor(t,n,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:i=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=h=>{this.handleScroll(h.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Rh(this.lastRawMoveEventInfo,this.transformPagePoint));const h=c0(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,p=AW(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!p)return;const{point:m}=h,{timestamp:y}=qt;this.history.push({...m,timestamp:y});const{onStart:v,onMove:w}=this.handlers;g||(v&&v(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,h)},this.handlePointerMove=(h,g)=>{this.lastMoveEvent=h,this.lastRawMoveEventInfo=g,this.lastMoveEventInfo=Rh(g,this.transformPagePoint),Ue.update(this.updatePoint,!0)},this.handlePointerUp=(h,g)=>{this.end();const{onEnd:p,onSessionEnd:m,resumeAnimation:y}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=c0(h.type==="pointercancel"?this.lastMoveEventInfo:Rh(g,this.transformPagePoint),this.history);this.startEvent&&p&&p(h,v),m&&m(h,v)},!b2(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=o||window;const l=qf(t),u=Rh(l,this.transformPagePoint),{point:c}=u,{timestamp:d}=qt;this.history=[{...c,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,c0(u,this.history)),this.removeListeners=zf(Sd(this.contextWindow,"pointermove",this.handlePointerMove),Sd(this.contextWindow,"pointerup",this.handlePointerUp),Sd(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(wT.has(r.overflowX)||wT.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,o=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:o.x-n.x,y:o.y-n.y};i.x===0&&i.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,o),Ue.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Vr(this.updatePoint)}}function Rh(e,t){return t?{point:t(e.point)}:e}function bT(e,t){return{x:e.x-t.x,y:e.y-t.y}}function c0({point:e},t){return{point:e,delta:bT(e,H3(t)),offset:bT(e,PW(t)),velocity:RW(t,.1)}}function PW(e){return e[0]}function H3(e){return e[e.length-1]}function RW(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=H3(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Zn(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&o.timestamp-r.timestamp>Zn(t)*2&&(r=e[1]);const i=jr(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 OW(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ot(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ot(n,e,r.max):Math.min(e,n)),e}function ST(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 MW(e,{top:t,left:n,bottom:r,right:o}){return{x:ST(e.x,n,o),y:ST(e.y,t,r)}}function xT(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 IW(e,t){return{x:xT(e.x,t.x),y:xT(e.y,t.y)}}function DW(e,t){let n=.5;const r=Pn(e),o=Pn(t);return o>r?n=Za(t.min,t.max-r,e.min):r>o&&(n=Za(e.min,e.max-o,t.min)),go(0,1,n)}function LW(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 nb=.35;function $W(e=nb){return e===!1?e=0:e===!0&&(e=nb),{x:kT(e,"left","right"),y:kT(e,"top","bottom")}}function kT(e,t,n){return{min:ET(e,t),max:ET(e,n)}}function ET(e,t){return typeof e=="number"?e:e[t]||0}const NW=new WeakMap;class jW{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=It(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const i=d=>{n&&this.snapToCursor(qf(d).point),this.stopAnimation()},s=(d,f)=>{const{drag:h,dragPropagation:g,onDragStart:p}=this.getProps();if(h&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=pV(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),Mo(y=>{let v=this.getAxisMotionValue(y).get()||0;if(qo.test(v)){const{projection:w}=this.visualElement;if(w&&w.layout){const S=w.layout.layoutBox[y];S&&(v=Pn(S)*(parseFloat(v)/100))}}this.originPoint[y]=v}),p&&Ue.update(()=>p(d,f),!1,!0),Kw(this.visualElement,"transform");const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:h,dragDirectionLock:g,onDirectionLock:p,onDrag:m}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:y}=f;if(g&&this.currentDirection===null){this.currentDirection=BW(y),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",f.point,y),this.updateAxis("y",f.point,y),this.visualElement.render(),m&&Ue.update(()=>m(d,f),!1,!0)},l=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f,this.stop(d,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new V3(t,{onSessionStart:i,onStart:s,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:z3(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,o=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!o||!r)return;const{velocity:s}=o;this.startAnimation(s);const{onDragEnd:a}=this.getProps();a&&Ue.postRender(()=>a(r,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Oh(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=OW(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&&Ml(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=MW(r.layoutBox,t):this.constraints=!1,this.elastic=$W(n),o!==this.constraints&&!Ml(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Mo(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=LW(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Ml(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=UV(r,o.root,this.visualElement.getTransformPagePoint());let s=IW(o.layout.layoutBox,i);if(n){const a=n(jV(s));this.hasMutatedConstraints=!!a,a&&(s=l3(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Mo(c=>{if(!Oh(c,n,this.currentDirection))return;let d=l&&l[c]||{};(s===!0||s===c)&&(d={min:0,max:0});const f=o?200:1e6,h=o?40:1e7,g={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,g)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Kw(this.visualElement,t),r.start(p2(t,r,0,n,this.visualElement,!1))}stopAnimation(){Mo(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Mo(n=>{const{drag:r}=this.getProps();if(!Oh(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:s,max:a}=o.layout.layoutBox[n],l=i.get()||0;i.set(t[n]-ot(s,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Ml(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Mo(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();o[s]=DW({min:l,max:l},this.constraints[s])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Mo(s=>{if(!Oh(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(ot(l,u,o[s]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;NW.set(this.visualElement,this);const t=this.visualElement.current,n=Sd(t,"pointerdown",u=>{const{drag:c,dragListener:d=!0}=this.getProps(),f=u.target,h=f!==t&&bV(f);c&&d&&!h&&this.start(u)});let r;const o=()=>{const{dragConstraints:u}=this.getProps();Ml(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=FW(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,s=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),Ue.read(o);const a=df(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(Mo(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=u[d].translate,f.set(f.get()+u[d].translate))}),this.visualElement.render())});return()=>{a(),n(),s(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=nb,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}}function _T(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function FW(e,t,n){const r=Jw(e,_T(n)),o=Jw(t,_T(n));return()=>{r(),o()}}function Oh(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function BW(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class UW extends Gs{constructor(t){super(t),this.removeGroupControls=Qn,this.removeListeners=Qn,this.controls=new jW(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Qn}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const d0=e=>(t,n)=>{e&&Ue.update(()=>e(t,n),!1,!0)};class zW extends Gs{constructor(){super(...arguments),this.removePointerDownListener=Qn}onPointerDown(t){this.session=new V3(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:z3(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:d0(t),onStart:d0(n),onMove:d0(r),onEnd:(i,s)=>{delete this.session,o&&Ue.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=Sd(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let f0=!1;class VW extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),f0&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Pp.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,{projection:s}=r;return s&&(s.isPresent=i,t.layoutDependency!==n&&s.setOptions({...s.options,layoutDependency:n}),f0=!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(()=>
75{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),w2.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;f0=!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 W3(e){const[t,n]=I3(),r=b.useContext(Yx);return E.jsx(VW,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(B3),isPresent:t,safeToRemove:n})}const HW={pan:{Feature:zW},drag:{Feature:UW,ProjectionNode:M3,MeasureLayout:W3}};function CT(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,qf(t)))}class WW extends Gs{mount(){const{current:t}=this.node;t&&(this.unmount=gV(t,(n,r)=>(CT(this.node,r,"Start"),o=>CT(this.node,o,"End"))))}unmount(){}}class qW extends Gs{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=zf(df(this.node.current,"focus",()=>this.onFocus()),df(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function TT(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,qf(t)))}class KW extends Gs{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=xV(t,(o,i)=>(TT(this.node,i,"Start"),(s,{success:a})=>TT(this.node,s,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const rb=new WeakMap,h0=new WeakMap,GW=e=>{const t=rb.get(e.target);t&&t(e)},YW=e=>{e.forEach(GW)};function XW({root:e,...t}){const n=e||document;h0.has(n)||h0.set(n,{});const r=h0.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(YW,{root:e,...t})),r[o]}function JW(e,t,n){const r=XW(t);return rb.set(e,n),r.observe(e),()=>{rb.delete(e),r.unobserve(e)}}const QW={some:0,all:1};class ZW extends Gs{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var l;(l=this.stopObserver)==null||l.call(this);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:QW[o]},a=u=>{const{isIntersecting:c}=u;if(this.isInView===c||(this.isInView=c,i&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),h=c?d:f;h&&h(u)};this.stopObserver=JW(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(eq(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function eq({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const tq={inView:{Feature:ZW},tap:{Feature:KW},focus:{Feature:qW},hover:{Feature:WW}},nq={layout:{ProjectionNode:M3,MeasureLayout:W3}},rq={...CW,...tq,...HW,...nq},V2e=SW(rq,xW);function Im(e){return typeof window>"u"?!1:e?DL():d2()}const oq=50,AT=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),iq=()=>({time:0,x:AT(),y:AT()}),sq={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function PT(e,t,n,r){const o=n[t],{length:i,position:s}=sq[t],a=o.current,l=n.time;o.current=Math.abs(e[`scroll${s}`]),o.scrollLength=e[`scroll${i}`]-e[`client${i}`],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=Za(0,o.scrollLength,o.current);const u=r-l;o.velocity=u>oq?0:Qx(o.current-a,u)}function aq(e,t,n){PT(e,"x",t,n),PT(e,"y",t,n),t.time=n}function lq(e,t){const n={x:0,y:0};let r=e;for(;r&&r!==t;)if(wd(r))n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const o=r.getBoundingClientRect();r=r.parentElement;const i=r.getBoundingClientRect();n.x+=o.left-i.left,n.y+=o.top-i.top}else if(r instanceof SVGGraphicsElement){const{x:o,y:i}=r.getBBox();n.x+=o,n.y+=i;let s=null,a=r.parentNode;for(;!s;)a.tagName==="svg"&&(s=a),a=r.parentNode;r=s}else break;return n}const ob={start:0,center:.5,end:1};function RT(e,t,n=0){let r=0;if(e in ob&&(e=ob[e]),typeof e=="string"){const o=parseFloat(e);e.endsWith("px")?r=o:e.endsWith("%")?e=o/100:e.endsWith("vw")?r=o/100*document.documentElement.clientWidth:e.endsWith("vh")?r=o/100*document.documentElement.clientHeight:e=o}return typeof e=="number"&&(r=t*e),n+r}const uq=[0,0];function cq(e,t,n,r){let o=Array.isArray(e)?e:uq,i=0,s=0;return typeof e=="number"?o=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?o=e.split(" "):o=[e,ob[e]?e:"0"]),i=RT(o[0],n,r),s=RT(o[1],t),i-s}const Yc={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},dq={x:0,y:0};function fq(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function hq(e,t,n){const{offset:r=Yc.All}=n,{target:o=e,axis:i="y"}=n,s=i==="y"?"height":"width",a=o!==e?lq(o,e):dq,l=o===e?{width:e.scrollWidth,height:e.scrollHeight}:fq(o),u={width:e.clientWidth,height:e.clientHeight};t[i].offset.length=0;let c=!t[i].interpolate;const d=r.length;for(let f=0;f<d;f++){const h=cq(r[f],u[s],l[s],a[i]);
vendor: 2,571 bytes, line 75
75!c&&h!==t[i].interpolatorOffsets[f]&&(c=!0),t[i].offset[f]=h}c&&(t[i].interpolate=s2(t[i].offset,a2(r),{clamp:!1}),t[i].interpolatorOffsets=[...t[i].offset]),t[i].progress=go(0,1,t[i].interpolate(t[i].current))}function pq(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}function mq(e,t,n,r={}){return{measure:o=>{pq(e,r.target,n),aq(e,n,o),(r.offset||r.target)&&hq(e,n,r)},notify:()=>t(n)}}const vl=new WeakMap,OT=new WeakMap,p0=new WeakMap,MT=new WeakMap,Mh=new WeakMap,IT=e=>e===document.scrollingElement?window:e;function q3(e,{container:t=document.scrollingElement,trackContentSize:n=!1,...r}={}){if(!t)return Qn;let o=p0.get(t);o||(o=new Set,p0.set(t,o));const i=iq(),s=mq(t,e,i,r);if(o.add(s),!vl.has(t)){const l=()=>{for(const f of o)f.measure(qt.timestamp);Ue.preUpdate(u)},u=()=>{for(const f of o)f.notify()},c=()=>Ue.read(l);vl.set(t,c);const d=IT(t);window.addEventListener("resize",c),t!==document.documentElement&&OT.set(t,Jw(t,c)),d.addEventListener("scroll",c),c()}if(n&&!Mh.has(t)){const l=vl.get(t),u={width:t.scrollWidth,height:t.scrollHeight};MT.set(t,u);const c=()=>{const f=t.scrollWidth,h=t.scrollHeight;(u.width!==f||u.height!==h)&&(l(),u.width=f,u.height=h)},d=Ue.read(c,!0);Mh.set(t,d)}const a=vl.get(t);return Ue.read(a,!1,!0),()=>{var d;Vr(a);const l=p0.get(t);if(!l||(l.delete(s),l.size))return;const u=vl.get(t);vl.delete(t),u&&(IT(t).removeEventListener("scroll",u),(d=OT.get(t))==null||d(),window.removeEventListener("resize",u));const c=Mh.get(t);c&&(Vr(c),Mh.delete(t)),MT.delete(t)}}const gq=[[Yc.Enter,"entry"],[Yc.Exit,"exit"],[Yc.Any,"cover"],[Yc.All,"contain"]],DT={start:0,end:1};function yq(e){const t=e.trim().split(/\s+/);if(t.length!==2)return;const n=DT[t[0]],r=DT[t[1]];if(!(n===void 0||r===void 0))return[n,r]}function vq(e){if(e.length!==2)return;const t=[];for(const n of e)if(Array.isArray(n))t.push(n);else if(typeof n=="string"){const r=yq(n);if(!r)return;t.push(r)}else return;return t}function wq(e,t){const n=vq(e);if(!n)return!1;for(let r=0;r<2;r++){const o=n[r],i=t[r];if(o[0]!==i[0]||o[1]!==i[1])return!1}return!0}function A2(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[t,n]of gq)if(wq(e,t))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}const LT=new Map;function $T(e){const t={value:0},n=q3(r=>
75{t.value=r[e.axis].progress*100},e);return{currentTime:t,cancel:n}}function K3({source:e,container:t,...n}){const{axis:r}=n;e&&(t=e);let o=LT.get(t);o||(o=new Map,LT.set(t,o));const i=n.target??"self";let s=o.get(i);s||(s={},o.set(i,s));const a=r+(n.offset??[]).join(",");return s[a]||(n.target&&Im(n.target)?A2(n.offset)?s[a]=new ViewTimeline({subject:n.target,axis:r}):s[a]=$T({container:t,...n}):Im()?s[a]=new ScrollTimeline({source:t,axis:r}):s[a]=$T({container:t,...n})),s[a]}function bq(e,t){const n=K3(t),r=t.target?A2(t.offset):void 0,o=t.target?Im(t.target)&&!!r:Im();return e.attachTimeline({timeline:o?n:void 0,...r&&o&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:i=>(i.pause(),t3(s=>{i.time=i.iterationDuration*s},n))})}function Sq(e){return e.length===2}function xq(e,t){return Sq(e)?q3(n=>{e(n[t.axis].progress,n)},t):t3(e,K3(t))}function G3(e,{axis:t="y",container:n=document.scrollingElement,...r}={}){if(!n)return Qn;const o={axis:t,container:n,...r};return typeof e=="function"?xq(e,o):bq(e,o)}const kq=()=>({scrollX:Fr(0),scrollY:Fr(0),scrollXProgress:Fr(0),scrollYProgress:Fr(0)}),Ih=e=>e?!e.current:!1;function NT(e,t,n,r){return{factory:o=>G3(o,{...t,axis:e,container:(n==null?void 0:n.current)||void 0,target:(r==null?void 0:r.current)||void 0}),times:[0,1],keyframes:[0,1],ease:o=>o,duration:1}}function Eq(e,t){return typeof window>"u"?!1:e?DL()&&!!A2(t):d2()}function H2e({container:e,target:t,...n}={}){const r=Bs(kq);Eq(t,n.offset)&&(r.scrollXProgress.accelerate=NT("x",n,e,t),r.scrollYProgress.accelerate=NT("y",n,e,t));const o=b.useRef(null),i=b.useRef(!1),s=b.useCallback(()=>(o.current=G3((a,{x:l,y:u})=>{r.scrollX.set(l.current),r.scrollXProgress.set(l.progress),r.scrollY.set(u.current),r.scrollYProgress.set(u.progress)},{...n,container:(e==null?void 0:e.current)||void 0,target:(t==null?void 0:t.current)||void 0}),()=>{var a;(a=o.current)==null||a.call(o)}),[e,t,JSON.stringify(n.offset)]);return oy(()=>{if(i.current=!1,Ih(e)||Ih(t)){i.current=!0;return}else return s()},[s]),b.useEffect(()=>{if(i.current)return of(!Ih(e)),of(!Ih(t)),s()},[s]),r}function Y3(e){const t=Bs(()=>Fr(e)),{isStatic:n}=b.useContext(Wf);if(n){const[,r]=b.useState(e);b.useEffect(()=>t.on("change",r),[])}return t}function X3(e,t){const n=Y3(t()),r=()=>n.set(t());return r(),oy(()=>{const o=()=>Ue.preRender(r,!1,!0),i=e.map(s=>s.on("change",o));return()=>{i.forEach(s=>s()),Vr(r)}}),n}function _q(e){vd.current=[],e();const t=X3(vd.current,e);return vd.current=void 0,t}function J3(e,t,n,r){if(typeof e=="function")return _q(e);if(n!==void 0&&!Array.isArray(n)&&typeof t!="function")return Cq(e,t,n,r);const s=typeof t=="function"?t:OV(t,n,r),a=Array.isArray(e)?jT(e,s):jT([e],([u])=>s(u)),l=Array.isArray(e)?void 0:e.accelerate;return l&&!l.isTransformed&&typeof t!="function"&&Array.isArray(n)&&(r==null?void 0:r.clamp)!==!1&&(a.accelerate={...l,times:t,keyframes:n,isTransformed:!0}),a}function jT(e,t){const n=Bs(()=>[]);return X3(e,()=>{n.length=0;const r=e.length;for(let o=0;o<r;o++)n[o]=e[o].get();return t(n)})}function Cq(e,t,n,r){const o=Bs(()=>Object.keys(n)),i=Bs(()=>({}));for(const s of o)i[s]=J3(e,t,n[s],r);return i}function Tq(e,t={}){const{isStatic:n}=b.useContext(Wf),r=()=>Rt(e)?e.get():e;if(n)return J3(r);const o=Y3(r());return b.useInsertionEffect(()=>MV(o,e,t),[o,JSON.stringify(t)]),o}function W2e(e,t={}){return Tq(e,{type:"spring",...t})}function q2e(){!k2.current&&o3();const[e]=b.useState(Am.current);return e}function P2(e){return typeof e=="object"&&!Array.isArray(e)}function Q3(e,t,n,r){return e==null?[]:typeof e=="string"&&P2(t)?ay(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(o=>o!=null):[e]}function Aq(e,t,n){return e*(t+1)}function FT(e,t,n,r){return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}function Pq(e,t,n){for(let r=0;r<e.length;r++){const o=e[r];o.at>t&&o.at<n&&(Lu(e,o),r--)}}function Rq(e,t,n,r,o,i){Pq(e,o,i);for(let s=0;s<t.length;s++)e.push({value:t[s],at:ot(o,i,r[s]),easing:mL(n,s)})}function Oq(e,t){for(let n=0;n<e.length;n++)e[n]=e[n]/(t+1)}function Mq(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const Iq="easeInOut";function Dq(e,{defaultTransition:t={},...n}={},r,o){const i=t.duration||.3,s=new Map,a=new Map,l={},u=new Map;let c=0,d=0,f=0;for(let h=0;h<e.length;h++){const g=e[h];if(typeof g=="string"){u.set(g,d);continue}else if(!Array.isArray(g)){u.set(g.name,FT(d,g.at,c,u));continue}let[p,m,y={}]=g;y.at!==void 0&&(d=FT(d,y.at,c,u));let v=0;const w=(S,x,k,_=0,A=0)=>
vendor: 4,252 bytes, line 75
75{const M=Lq(S),{delay:I=0,times:N=a2(M),type:L=t.type||"keyframes",repeat:Z,repeatType:V,repeatDelay:ee=0,...G}=x;let{ease:B=t.ease||"easeOut",duration:R}=x;const j=typeof I=="function"?I(_,A):I,P=M.length,C=f2(L)?L:o==null?void 0:o[L||"keyframes"];if(P<=2&&C){let oe=100;if(P===2&&jq(M)){const J=M[1]-M[0];oe=Math.abs(J)}const se={...t,...G};R!==void 0&&(se.duration=Zn(R));const F=TL(se,oe,C);B=F.ease,R=F.duration}R??(R=i);const U=d+j;N.length===1&&N[0]===0&&(N[1]=1);const q=N.length-M.length;if(q>0&&PL(N,q),M.length===1&&M.unshift(null),Z){R=Aq(R,Z);const oe=[...M],se=[...N];B=Array.isArray(B)?[...B]:[B];const F=[...B];for(let J=0;J<Z;J++){M.push(...oe);for(let ce=0;ce<oe.length;ce++)N.push(se[ce]+(J+1)),B.push(ce===0?"linear":mL(F,ce-1))}Oq(N,Z)}const K=U+R;Rq(k,M,B,N,U,K),v=Math.max(j+R,v),f=Math.max(K,f)};if(Rt(p)){const S=BT(p,a);w(m,y,UT("default",S))}else{const S=Q3(p,m,r,l),x=S.length;for(let k=0;k<x;k++){m=m,y=y;const _=S[k],A=BT(_,a);for(const M in m)w(m[M],$q(y,M),UT(M,A),k,x)}}c=d,d+=v}return a.forEach((h,g)=>{for(const p in h){const m=h[p];m.sort(Mq);const y=[],v=[],w=[];for(let _=0;_<m.length;_++){const{at:A,value:M,easing:I}=m[_];y.push(M),v.push(Za(0,f,A)),w.push(I||"easeOut")}v[0]!==0&&(v.unshift(0),y.unshift(y[0]),w.unshift(Iq)),v[v.length-1]!==1&&(v.push(1),y.push(null)),s.has(g)||s.set(g,{keyframes:{},transition:{}});const S=s.get(g);S.keyframes[p]=y;const{type:x,...k}=t;S.transition[p]={...k,duration:f,ease:w,times:v,...n}}}),s}function BT(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function UT(e,t){return t[e]||(t[e]=[]),t[e]}function Lq(e){return Array.isArray(e)?e:[e]}function $q(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}const Nq=e=>typeof e=="number",jq=e=>e.every(Nq);function Fq(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=ly(e)&&!n3(e)?new w3(t):new p3(t);n.mount(e),uf.set(e,n)}function Bq(e){const t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new GV(t);n.mount(e),uf.set(e,n)}function Uq(e,t){return Rt(e)||typeof e=="number"||typeof e=="string"&&!P2(t)}function Z3(e,t,n,r){const o=[];if(Uq(e,t))o.push(A3(e,P2(t)&&t.default||t,n&&(n.default||n)));else{if(e==null)return o;const i=Q3(e,t,r),s=i.length;for(let a=0;a<s;a++){const l=i[a],u=l instanceof Element?Fq:Bq;uf.has(l)||u(l);const c=uf.get(l),d={...n};"delay"in d&&typeof d.delay=="function"&&(d.delay=d.delay(a,s)),o.push(...y2(c,{...t,transition:d},{}))}}return o}function zq(e,t,n){const r=[],o=e.map(s=>{if(Array.isArray(s)&&typeof s[0]=="function"){const a=s[0],l=Fr(0);return l.on("change",a),s.length===1?[l,[0,1]]:s.length===2?[l,[0,1],s[1]]:[l,s[1],s[2]]}return s});return Dq(o,t,n,{spring:af}).forEach(({keyframes:s,transition:a},l)=>{r.push(...Z3(l,s,a))}),r}function Vq(e){return Array.isArray(e)&&e.some(Array.isArray)}function Hq(e={}){const{scope:t,reduceMotion:n}=e;function r(o,i,s){let a=[],l;if(Vq(o)){const{onComplete:c,...d}=i||{};typeof c=="function"&&(l=c),a=zq(o,n!==void 0?{reduceMotion:n,...d}:d,t)}else{const{onComplete:c,...d}=s||{};typeof c=="function"&&(l=c),a=Z3(o,i,n!==void 0?{reduceMotion:n,...d}:d,t)}const u=new N9(a);return l&&u.finished.then(l),t&&(t.animations.push(u),u.finished.then(()=>{Lu(t.animations,u)})),u}return r}const K2e=Hq(),Wq={some:0,all:1};function qq(e,t,{root:n,margin:r,amount:o="some"}={}){const i=ay(e),s=new WeakMap,a=u=>{u.forEach(c=>{const d=s.get(c.target);if(c.isIntersecting!==!!d)if(c.isIntersecting){const f=t(c.target,c);typeof f=="function"?s.set(c.target,f):l.unobserve(c.target)}else typeof d=="function"&&(d(c),s.delete(c.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:r,threshold:typeof o=="number"?o:Wq[o]});return i.forEach(u=>l.observe(u)),()=>l.disconnect()}function G2e(e,{root:t,margin:n,amount:r,once:o=!1,initial:i=!1}={}){const[s,a]=b.useState(i);return b.useEffect(()=>{if(!e.current||o&&s)return;const l=()=>(a(!0),o?void 0:()=>a(!1)),u={root:t&&t.current||void 0,margin:n,amount:r};return qq(e.current,l,u)},[t,e,n,o,r]),s}var Kq=typeof Element<"u",Gq=typeof Map=="function",Yq=typeof Set=="function",Xq=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Rp(e,t){if(e===t)return!0;
75if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Rp(e[r],t[r]))return!1;return!0}var i;if(Gq&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Rp(r.value[1],t.get(r.value[0])))return!1;return!0}if(Yq&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Xq&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(Kq&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Rp(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var Jq=function(t,n){try{return Rp(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const Qq=Ne(Jq);var Zq=function(e,t,n,r,o,i,s,a){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,s,a],c=0;l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},eK=Zq;const zT=Ne(eK);var tK=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var s=Object.keys(t),a=Object.keys(n);if(s.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<s.length;u++){var c=s[u];if(!l(c))return!1;var d=t[c],f=n[c];if(i=r?r.call(o,d,f,c):void 0,i===!1||i===void 0&&d!==f)return!1}return!0};const nK=Ne(tK);var e$=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(e$||{}),m0={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},VT=Object.values(e$),fy={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},t$=Object.entries(fy).reduce((e,[t,n])=>(e[n]=t,e),{}),uo="data-rh",lu={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},uu=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},rK=e=>{let t=uu(e,"title");const n=uu(e,lu.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=uu(e,lu.DEFAULT_TITLE);return t||r||void 0},oK=e=>uu(e,lu.ON_CHANGE_CLIENT_STATE)||(()=>{}),g0=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),iK=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const o=Object.keys(r);for(let i=0;i<o.length;i+=1){const a=o[i].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),sK=e=>console&&typeof console.warn=="function"&&console.warn(e),Rc=(e,t,n)=>{const r={};return n.filter(o=>Array.isArray(o[e])?!0:(typeof o[e]<"u"&&sK(`Helmet: ${e} should be of type "Array". Instead found type "${typeof o[e]}"`),!1)).map(o=>o[e]).reverse().reduce((o,i)=>{const s={};i.filter(l=>{let u;const c=Object.keys(l);for(let f=0;f<c.length;f+=1){const h=c[f],g=h.toLowerCase();t.indexOf(g)!==-1&&!(u==="rel"&&l[u].toLowerCase()==="canonical")&&!(g==="rel"&&l[g].toLowerCase()==="stylesheet")&&(u=g),t.indexOf(h)!==-1&&(h==="innerHTML"||h==="cssText"||h==="itemprop")&&(u=h)}if(!u||!l[u])return!1;const d=l[u].toLowerCase();return r[u]||(r[u]={}),s[u]||(s[u]={}),r[u][d]?!1:(s[u][d]=!0,!0)}
75).reverse().forEach(l=>o.push(l));const a=Object.keys(s);for(let l=0;l<a.length;l+=1){const u=a[l],c={...r[u],...s[u]};r[u]=c}return o},[]).reverse()},aK=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},lK=e=>({baseTag:iK(["href"],e),bodyAttributes:g0("bodyAttributes",e),defer:uu(e,lu.DEFER),encode:uu(e,lu.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:g0("htmlAttributes",e),linkTags:Rc("link",["rel","href"],e),metaTags:Rc("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Rc("noscript",["innerHTML"],e),onChangeClientState:oK(e),scriptTags:Rc("script",["src","innerHTML"],e),styleTags:Rc("style",["cssText"],e),title:rK(e),titleAttributes:g0("titleAttributes",e),prioritizeSeoTags:aK(e,lu.PRIORITIZE_SEO_TAGS)}),n$=e=>Array.isArray(e)?e.join(""):e,uK=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},y0=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(uK(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},HT=(e,t)=>({...e,[t]:void 0}),cK=["noscript","script","style"],ib=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),r$=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),dK=(e,t,n,r)=>{const o=r$(n),i=n$(t);return o?`<${e} ${uo}="true" ${o}>${ib(i,r)}</${e}>`:`<${e} ${uo}="true">${ib(i,r)}</${e}>`},fK=(e,t,n=!0)=>t.reduce((r,o)=>{const i=o,s=Object.keys(i).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,c)=>{const d=typeof i[c]>"u"?c:`${c}="${ib(i[c],n)}"`;return u?`${u} ${d}`:d},""),a=i.innerHTML||i.cssText||"",l=cK.indexOf(e)===-1;return`${r}<${e} ${uo}="true" ${s}${l?"/>":`>${a}</${e}>`}`},""),o$=(e,t={})=>Object.keys(e).reduce((n,r)=>{const o=fy[r];return n[o||r]=e[r],n},t),hK=(e,t,n)=>{const r={key:t,[uo]:!0},o=o$(n,r);return[z.createElement("title",o,t)]},Op=(e,t)=>t.map((n,r)=>{const o={key:r,[uo]:!0};return Object.keys(n).forEach(i=>{const a=fy[i]||i;if(a==="innerHTML"||a==="cssText"){const l=n.innerHTML||n.cssText;o.dangerouslySetInnerHTML={__html:l}}else o[a]=n[i]}),z.createElement(e,o)}),Mr=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>hK(e,t.title,t.titleAttributes),toString:()=>dK(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>o$(t),toString:()=>r$(t)};default:return{toComponent:()=>Op(e,t),toString:()=>fK(e,t,n)}}},pK=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const o=y0(e,m0.meta),i=y0(t,m0.link),s=y0(n,m0.script);return{priorityMethods:{toComponent:()=>[...Op("meta",o.priority),...Op("link",i.priority),...Op("script",s.priority)],toString:()=>`${Mr("meta",o.priority,r)} ${Mr("link",i.priority,r)} ${Mr("script",s.priority,r)}`},metaTags:o.default,linkTags:i.default,scriptTags:s.default}},mK=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:o,noscriptTags:i,styleTags:s,title:a="",titleAttributes:l,prioritizeSeoTags:u}=e;let{linkTags:c,metaTags:d,scriptTags:f}=e,h={toComponent:()=>[],toString:()=>""};return u&&({priorityMethods:h,linkTags:c,metaTags:d,scriptTags:f}=pK(e)),{priority:h,base:Mr("base",t,r),bodyAttributes:Mr("bodyAttributes",n,r),htmlAttributes:Mr("htmlAttributes",o,r),link:Mr("link",c,r),meta:Mr("meta",d,r),noscript:Mr("noscript",i,r),script:Mr("script",f,r),style:Mr("style",s,r),title:Mr("title",{title:a,titleAttributes:l},r)}},sb=mK,Dh=[],R2=!!(typeof window<"u"&&window.document&&window.document.createElement),ab=class{constructor(e,t){ai(this,"instances",[]);ai(this,"canUseDOM",R2);ai(this,"context");ai(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Dh:this.instances,add:e=>{(this.canUseDOM?Dh:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Dh:this.instances).indexOf(e);(this.canUseDOM?Dh:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=sb({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},gK=parseInt(z.version.split(".")[0],10),lb=gK>=19,yK={},i$=z.createContext(yK),Ba,vK=(Ba=class extends b.Component{constructor(n){super(n);ai(this,"helmetData");lb?this.helmetData=null:this.helmetData=new ab(this.props.context||{},Ba.canUseDOM)}render(){return lb?z.createElement(z.Fragment,null,this.props.children):z.createElement(i$.Provider,{value:this.helmetData.value},this.props.children)}},ai(Ba,"canUseDOM",R2),Ba),wl=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${uo}]`),o=[].slice.call(r),i=[];let s;return t&&t.length&&t.forEach(a=>{const l=document.createElement(e);for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u))if(u==="innerHTML")l.innerHTML=a.innerHTML;else if(u==="cssText"){const c=a.cssText;l.appendChild(document.createTextNode(c))}else{const c=u,d=typeof a[c]>"u"?"":a[c];l.setAttribute(u,d)}l.setAttribute(uo,"true"),o.some((u,c)=>(s=c,l.isEqualNode(u)))?o.splice(s,1):i.push(l)}),o.forEach(a=>{var l;return(l=a.parentNode)==null?void 0:l.removeChild(a)}
75),i.forEach(a=>n.appendChild(a)),{oldTags:o,newTags:i}},ub=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(uo),o=r?r.split(","):[],i=[...o],s=Object.keys(t);for(const a of s){const l=t[a]||"";n.getAttribute(a)!==l&&n.setAttribute(a,l),o.indexOf(a)===-1&&o.push(a);const u=i.indexOf(a);u!==-1&&i.splice(u,1)}for(let a=i.length-1;a>=0;a-=1)n.removeAttribute(i[a]);o.length===i.length?n.removeAttribute(uo):n.getAttribute(uo)!==s.join(",")&&n.setAttribute(uo,s.join(","))},wK=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=n$(e)),ub("title",t)},WT=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:o,linkTags:i,metaTags:s,noscriptTags:a,onChangeClientState:l,scriptTags:u,styleTags:c,title:d,titleAttributes:f}=e;ub("body",r),ub("html",o),wK(d,f);const h={baseTag:wl("base",n),linkTags:wl("link",i),metaTags:wl("meta",s),noscriptTags:wl("noscript",a),scriptTags:wl("script",u),styleTags:wl("style",c)},g={},p={};Object.keys(h).forEach(m=>{const{newTags:y,oldTags:v}=h[m];y.length&&(g[m]=y),v.length&&(p[m]=h[m].oldTags)}),t&&t(),l(e,g,p)},Oc=null,bK=e=>{Oc&&cancelAnimationFrame(Oc),e.defer?Oc=requestAnimationFrame(()=>{WT(e,()=>{Oc=null})}):(WT(e),Oc=null)},SK=bK,qT=class extends b.Component{constructor(){super(...arguments);ai(this,"rendered",!1)}shouldComponentUpdate(t){return!nK(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const o=lK(t.get().map(i=>{const{context:s,...a}=i.props;return a}));vK.canUseDOM?SK(o):sb&&(r=sb(o)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Mp=[],KT=e=>{const t={};for(const n of Object.keys(e))t[t$[n]||n]=e[n];return t},ia=e=>{const t={};for(const n of Object.keys(e)){const r=fy[n];t[r||n]=e[n]}return t},GT=(e,t)=>{if(!R2)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",o=n.getAttribute(r),i=o?o.split(","):[],s=Object.keys(t);for(const a of i)s.includes(a)||n.removeAttribute(a);for(const a of s){const l=t[a];l==null||l===!1?n.removeAttribute(a):l===!0?n.setAttribute(a,""):n.setAttribute(a,String(l))}s.length>0?n.setAttribute(r,s.join(",")):n.removeAttribute(r)},v0=()=>{const e={},t={};for(const n of Mp){const{htmlAttributes:r,bodyAttributes:o}=n.props;r&&Object.assign(e,KT(r)),o&&Object.assign(t,KT(o))}GT("html",e),GT("body",t)},xK=class extends b.Component{componentDidMount(){Mp.push(this),v0()}componentDidUpdate(){v0()}componentWillUnmount(){const e=Mp.indexOf(this);e!==-1&&Mp.splice(e,1),v0()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return z.createElement("title",ia(t),e)}renderBase(){const{base:e}=this.props;return e?z.createElement("base",ia(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>z.createElement("meta",{key:n,...ia(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>z.createElement("link",{key:n,...ia(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...o}=t,i=ia(o);return r&&(i.dangerouslySetInnerHTML={__html:r}),z.createElement("script",{key:n,...i})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{cssText:r,...o}=t,i=ia(o);return r&&(i.dangerouslySetInnerHTML={__html:r}),z.createElement("style",{key:n,...i})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...o}=t,i=ia(o);return r&&(i.dangerouslySetInnerHTML={__html:r}),z.createElement("noscript",{key:n,...i})})}render(){return z.createElement(z.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},x1,Y2e=(x1=class extends b.Component{shouldComponentUpdate(e){return!Qq(HT(this.props,"helmetData"),HT(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}
75warnOnInvalidChildren(e,t){return zT(VT.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${VT.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),zT(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return z.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:o,...i}=r.props,s=Object.keys(i).reduce((l,u)=>(l[t$[u]||u]=i[u],l),{});let{type:a}=r;switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,o),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(o,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,s,o);break;default:t=this.mapObjectTypeChildren(r,t,s,o);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof ab)){const o=r;r=new ab(o.context,!0),delete n.helmetData}return lb?z.createElement(xK,{...n}):r?z.createElement(qT,{...n,context:r.value}):z.createElement(i$.Consumer,null,o=>z.createElement(qT,{...n,context:o}))}},ai(x1,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),x1),Dm=["light","dark"],O2="(prefers-color-scheme: dark)",kK=typeof window>"u",M2=b.createContext(void 0),EK={setTheme:e=>{},themes:[]},X2e=()=>{var e;return(e=b.useContext(M2))!=null?e:EK},J2e=e=>b.useContext(M2)?e.children:b.createElement(CK,{...e}),_K=["light","dark"],CK=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:o="theme",themes:i=_K,defaultTheme:s=n?"system":"light",attribute:a="data-theme",value:l,children:u,nonce:c})=>{let[d,f]=b.useState(()=>YT(o,s)),[h,g]=b.useState(()=>YT(o)),p=l?Object.values(l):i,m=b.useCallback(S=>{let x=S;
75if(!x)return;S==="system"&&n&&(x=XT());let k=l?l[x]:x,_=t?AK():null,A=document.documentElement;if(a==="class"?(A.classList.remove(...p),k&&A.classList.add(k)):k?A.setAttribute(a,k):A.removeAttribute(a),r){let M=Dm.includes(s)?s:null,I=Dm.includes(x)?x:M;A.style.colorScheme=I}_==null||_()},[]),y=b.useCallback(S=>{let x=typeof S=="function"?S(S):S;f(x);try{localStorage.setItem(o,x)}catch{}},[e]),v=b.useCallback(S=>{let x=XT(S);g(x),d==="system"&&n&&!e&&m("system")},[d,e]);b.useEffect(()=>{let S=window.matchMedia(O2);return S.addListener(v),v(S),()=>S.removeListener(v)},[v]),b.useEffect(()=>{let S=x=>{if(x.key!==o)return;let k=x.newValue||s;y(k)};return window.addEventListener("storage",S),()=>window.removeEventListener("storage",S)},[y]),b.useEffect(()=>{m(e??d)},[e,d]);let w=b.useMemo(()=>({theme:d,setTheme:y,forcedTheme:e,resolvedTheme:d==="system"?h:d,themes:n?[...i,"system"]:i,systemTheme:n?h:void 0}),[d,y,e,h,n,i]);return b.createElement(M2.Provider,{value:w},b.createElement(TK,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:r,storageKey:o,themes:i,defaultTheme:s,attribute:a,value:l,children:u,attrs:p,nonce:c}),u)},TK=b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:a,nonce:l})=>{let u=i==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(g=>`'${g}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=o?Dm.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(g,p=!1,m=!0)=>{let y=s?s[g]:g,v=p?g+"|| ''":`'${y}'`,w="";return o&&m&&!p&&Dm.includes(g)&&(w+=`d.style.colorScheme = '${g}';`),n==="class"?p||y?w+=`c.add(${v})`:w+="null":y&&(w+=`d[s](n,${v})`),w},h=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${O2}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}${u?"":"else{"+f(i,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}else{${f(i,!1,!1)};}${d}}catch(t){}}();`;return b.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})}),YT=(e,t)=>{if(kK)return;let n;try{n=localStorage.getItem(e)||void 0}catch{}return n||t},AK=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},XT=e=>(e||(e=window.matchMedia(O2)),e.matches?"dark":"light"),PK=e=>{switch(e){case"success":return MK;case"info":return DK;case"warning":return IK;case"error":return LK;default:return null}},RK=Array(12).fill(0),OK=({visible:e,className:t})=>z.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},z.createElement("div",{className:"sonner-spinner"},RK.map((n,r)=>z.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),MK=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},z.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"})),IK=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},z.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"})),DK=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},z.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"})),LK=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},z.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"})),$K=z.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"},z.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),z.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),NK=()=>{let[e,t]=z.useState(document.hidden);return z.useEffect(()=>{let n=()=>{t(document.hidden)};
vendor: 1,324 bytes, line 75
75return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},cb=1,jK=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:cb++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
75this.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],z.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(BK(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)||cb++;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}},zn=new jK,FK=(e,t)=>{let n=(t==null?void 0:t.id)||cb++;return zn.addToast({title:e,...t,id:n}),n},BK=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",UK=FK,zK=()=>zn.toasts,VK=()=>zn.getActiveToasts(),Q2e=Object.assign(UK,{success:zn.success,info:zn.info,warning:zn.warning,error:zn.error,custom:zn.custom,message:zn.message,promise:zn.promise,dismiss:zn.dismiss,loading:zn.loading},{getHistory:zK,getToasts:VK});function HK(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))}HK(`: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;
75left: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}
75: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%);
75--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%)}
76`);function Lh(e){return e.label!==void 0}var WK=3,qK="32px",KK="16px",JT=4e3,GK=356,YK=14,XK=20,JK=200;function Qr(...e){return e.filter(Boolean).join(" ")}function QK(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var ZK=e=>{var t,n,r,o,i,s,a,l,u,c,d;let{invert:f,toast:h,unstyled:g,interacting:p,setHeights:m,visibleToasts:y,heights:v,index:w,toasts:S,expanded:x,removeToast:k,defaultRichColors:_,closeButton:A,style:M,cancelButtonStyle:I,actionButtonStyle:N,className:L="",descriptionClassName:Z="",duration:V,position:ee,gap:G,loadingIcon:B,expandByDefault:R,classNames:j,icons:P,closeButtonAriaLabel:C="Close toast",pauseWhenPageIsHidden:U}=e,[q,K]=z.useState(null),[oe,se]=z.useState(null),[F,J]=z.useState(!1),[ce,ae]=z.useState(!1),[W,H]=z.useState(!1),[te,le]=z.useState(!1),[me,Ie]=z.useState(!1),[He,We]=z.useState(0),[Je,st]=z.useState(0),dn=z.useRef(h.duration||V||JT),Kr=z.useRef(null),bt=z.useRef(null),nr=w===0,Ln=w+1<=y,Tt=h.type,vn=h.dismissible!==!1,ri=h.className||"",_r=h.descriptionClassName||"",At=z.useMemo(()=>v.findIndex(xe=>xe.toastId===h.id)||0,[v,h.id]),$n=z.useMemo(()=>{var xe;return(xe=h.closeButton)!=null?xe:A},[h.closeButton,A]),rr=z.useMemo(()=>h.duration||V||JT,[h.duration,V]),or=z.useRef(0),Gr=z.useRef(0),ea=z.useRef(0),Cr=z.useRef(null),[ta,ko]=ee.
vendor: 7,198 bytes, line 76
76split("-"),fn=z.useMemo(()=>v.reduce((xe,$e,De)=>De>=At?xe:xe+$e.height,0),[v,At]),Ui=NK(),na=h.invert||f,oi=Tt==="loading";Gr.current=z.useMemo(()=>At*G+fn,[At,fn]),z.useEffect(()=>{dn.current=rr},[rr]),z.useEffect(()=>{J(!0)},[]),z.useEffect(()=>{let xe=bt.current;if(xe){let $e=xe.getBoundingClientRect().height;return st($e),m(De=>[{toastId:h.id,height:$e,position:h.position},...De]),()=>m(De=>De.filter(Vt=>Vt.toastId!==h.id))}},[m,h.id]),z.useLayoutEffect(()=>{if(!F)return;let xe=bt.current,$e=xe.style.height;xe.style.height="auto";let De=xe.getBoundingClientRect().height;xe.style.height=$e,st(De),m(Vt=>Vt.find(bn=>bn.toastId===h.id)?Vt.map(bn=>bn.toastId===h.id?{...bn,height:De}:bn):[{toastId:h.id,height:De,position:h.position},...Vt])},[F,h.title,h.description,m,h.id]);let wn=z.useCallback(()=>{ae(!0),We(Gr.current),m(xe=>xe.filter($e=>$e.toastId!==h.id)),setTimeout(()=>{k(h)},JK)},[h,k,m,Gr]);z.useEffect(()=>{if(h.promise&&Tt==="loading"||h.duration===1/0||h.type==="loading")return;let xe;return x||p||U&&Ui?(()=>{if(ea.current<or.current){let $e=new Date().getTime()-or.current;dn.current=dn.current-$e}ea.current=new Date().getTime()})():dn.current!==1/0&&(or.current=new Date().getTime(),xe=setTimeout(()=>{var $e;($e=h.onAutoClose)==null||$e.call(h,h),wn()},dn.current)),()=>clearTimeout(xe)},[x,p,h,Tt,U,Ui,wn]),z.useEffect(()=>{h.delete&&wn()},[wn,h.delete]);function pl(){var xe,$e,De;return P!=null&&P.loading?z.createElement("div",{className:Qr(j==null?void 0:j.loader,(xe=h==null?void 0:h.classNames)==null?void 0:xe.loader,"sonner-loader"),"data-visible":Tt==="loading"},P.loading):B?z.createElement("div",{className:Qr(j==null?void 0:j.loader,($e=h==null?void 0:h.classNames)==null?void 0:$e.loader,"sonner-loader"),"data-visible":Tt==="loading"},B):z.createElement(OK,{className:Qr(j==null?void 0:j.loader,(De=h==null?void 0:h.classNames)==null?void 0:De.loader),visible:Tt==="loading"})}return z.createElement("li",{tabIndex:0,ref:bt,className:Qr(L,ri,j==null?void 0:j.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,j==null?void 0:j.default,j==null?void 0:j[Tt],(n=h==null?void 0:h.classNames)==null?void 0:n[Tt]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:_,"data-styled":!(h.jsx||h.unstyled||g),"data-mounted":F,"data-promise":!!h.promise,"data-swiped":me,"data-removed":ce,"data-visible":Ln,"data-y-position":ta,"data-x-position":ko,"data-index":w,"data-front":nr,"data-swiping":W,"data-dismissible":vn,"data-type":Tt,"data-invert":na,"data-swipe-out":te,"data-swipe-direction":oe,"data-expanded":!!(x||R&&F),style:{"--index":w,"--toasts-before":w,"--z-index":S.length-w,"--offset":`${ce?He:Gr.current}px`,"--initial-height":R?"auto":`${Je}px`,...M,...h.style},onDragEnd:()=>{H(!1),K(null),Cr.current=null},onPointerDown:xe=>{oi||!vn||(Kr.current=new Date,We(Gr.current),xe.target.setPointerCapture(xe.pointerId),xe.target.tagName!=="BUTTON"&&(H(!0),Cr.current={x:xe.clientX,y:xe.clientY}))},onPointerUp:()=>{var xe,$e,De,Vt;if(te||!vn)return;Cr.current=null;let bn=Number(((xe=bt.current)==null?void 0:xe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Tr=Number((($e=bt.current)==null?void 0:$e.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),ii=new Date().getTime()-((De=Kr.current)==null?void 0:De.getTime()),Nn=q==="x"?bn:Tr,Ar=Math.abs(Nn)/ii;if(Math.abs(Nn)>=XK||Ar>.11){We(Gr.current),(Vt=h.onDismiss)==null||Vt.call(h,h),se(q==="x"?bn>0?"right":"left":Tr>0?"down":"up"),wn(),le(!0),Ie(!1);return}H(!1),K(null)},onPointerMove:xe=>{var $e,De,Vt,bn;if(!Cr.current||!vn||(($e=window.getSelection())==null?void 0:$e.toString().length)>0)return;let Tr=xe.clientY-Cr.current.y,ii=xe.clientX-Cr.current.x,Nn=(De=e.swipeDirections)!=null?De:QK(ee);!q&&(Math.abs(ii)>1||Math.abs(Tr)>1)&&K(Math.abs(ii)>Math.abs(Tr)?"x":"y");let Ar={x:0,y:0};q==="y"?(Nn.includes("top")||Nn.includes("bottom"))&&(Nn.includes("top")&&Tr<0||Nn.includes("bottom")&&Tr>0)&&(Ar.y=Tr):q==="x"&&(Nn.includes("left")||Nn.includes("right"))&&(Nn.includes("left")&&ii<0||Nn.includes("right")&&ii>0)&&(Ar.x=ii),(Math.abs(Ar.x)>0||Math.abs(Ar.y)>0)&&Ie(!0),(Vt=bt.current)==null||Vt.style.setProperty("--swipe-amount-x",`${Ar.x}px`),(bn=bt.current)==null||bn.style.setProperty("--swipe-amount-y",`${Ar.y}px`)}},$n&&!h.jsx?z.createElement("button",{"aria-label":C,"data-disabled":oi,"data-close-button":!0,onClick:oi||!vn?()=>{}:()=>{var xe;wn(),(xe=h.onDismiss)==null||xe.call(h,h)},className:Qr(j==null?void 0:j.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},(i=P==null?void 0:P.close)!=null?i:$K):null,h.jsx||b.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:z.createElement(z.Fragment,null,Tt||h.icon||h.promise?z.createElement("div",{"data-icon":"",className:Qr(j==null?void 0:j.icon,(s=h==null?void 0:h.classNames)==null?void 0:s.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||pl():null,h.type!=="loading"?h.icon||(P==null?void 0:P[Tt])||PK(Tt):null):null,z.createElement("div",{"data-content":"",className:Qr(j==null?void 0:j.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},z.createElement("div",{"data-title":"",className:Qr(j==null?void 0:j.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?z.createElement("div",{"data-description":"",className:Qr(Z,_r,j==null?void 0:j.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),b.isValidElement(h.cancel)?h.cancel:h.cancel&&Lh(h.cancel)?z.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||I,onClick:xe=>{var $e,De;Lh(h.cancel)&&vn&&((De=($e=h.cancel).onClick)==null||De.call($e,xe),wn())},className:Qr(j==null?void 0:j.cancelButton,(c=h==null?void 0:h.classNames)==null?void 0:c.cancelButton)},h.cancel.label):null,b.isValidElement(h.action)?h.action:h.action&&Lh(h.action)?z.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||N,onClick:xe=>{var $e,De;Lh(h.action)&&((De=($e=h.action).onClick)==null||De.call($e,xe),!xe.defaultPrevented&&wn())},className:Qr(j==null?void 0:j.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function QT(){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 eG(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",a=i?KK:qK;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 Z2e=b.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:f,style:h,visibleToasts:g=WK,toastOptions:p,dir:m=QT(),gap:y=Y
vendor: 6,109 bytes, line 76
76K,loadingIcon:v,icons:w,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:x}=e,[k,_]=z.useState([]),A=z.useMemo(()=>Array.from(new Set([r].concat(k.filter(U=>U.position).map(U=>U.position)))),[k,r]),[M,I]=z.useState([]),[N,L]=z.useState(!1),[Z,V]=z.useState(!1),[ee,G]=z.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=z.useRef(null),R=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=z.useRef(null),P=z.useRef(!1),C=z.useCallback(U=>{_(q=>{var K;return(K=q.find(oe=>oe.id===U.id))!=null&&K.delete||zn.dismiss(U.id),q.filter(({id:oe})=>oe!==U.id)})},[]);return z.useEffect(()=>zn.subscribe(U=>{if(U.dismiss){_(q=>q.map(K=>K.id===U.id?{...K,delete:!0}:K));return}setTimeout(()=>{OD.flushSync(()=>{_(q=>{let K=q.findIndex(oe=>oe.id===U.id);return K!==-1?[...q.slice(0,K),{...q[K],...U},...q.slice(K+1)]:[U,...q]})})})}),[]),z.useEffect(()=>{if(c!=="system"){G(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?G("dark"):G("light")),typeof window>"u")return;let U=window.matchMedia("(prefers-color-scheme: dark)");try{U.addEventListener("change",({matches:q})=>{G(q?"dark":"light")})}catch{U.addListener(({matches:K})=>{try{G(K?"dark":"light")}catch(oe){console.error(oe)}})}},[c]),z.useEffect(()=>{k.length<=1&&L(!1)},[k]),z.useEffect(()=>{let U=q=>{var K,oe;o.every(se=>q[se]||q.code===se)&&(L(!0),(K=B.current)==null||K.focus()),q.code==="Escape"&&(document.activeElement===B.current||(oe=B.current)!=null&&oe.contains(document.activeElement))&&L(!1)};return document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)},[o]),z.useEffect(()=>{if(B.current)return()=>{j.current&&(j.current.focus({preventScroll:!0}),j.current=null,P.current=!1)}},[B.current]),z.createElement("section",{ref:t,"aria-label":`${S} ${R}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},A.map((U,q)=>{var K;let[oe,se]=U.split("-");return k.length?z.createElement("ol",{key:U,dir:m==="auto"?QT():m,tabIndex:-1,ref:B,className:a,"data-sonner-toaster":!0,"data-theme":ee,"data-y-position":oe,"data-lifted":N&&k.length>1&&!i,"data-x-position":se,style:{"--front-toast-height":`${((K=M[0])==null?void 0:K.height)||0}px`,"--width":`${GK}px`,"--gap":`${y}px`,...h,...eG(l,u)},onBlur:F=>{P.current&&!F.currentTarget.contains(F.relatedTarget)&&(P.current=!1,j.current&&(j.current.focus({preventScroll:!0}),j.current=null))},onFocus:F=>{F.target instanceof HTMLElement&&F.target.dataset.dismissible==="false"||P.current||(P.current=!0,j.current=F.relatedTarget)},onMouseEnter:()=>L(!0),onMouseMove:()=>L(!0),onMouseLeave:()=>{Z||L(!1)},onDragEnd:()=>L(!1),onPointerDown:F=>{F.target instanceof HTMLElement&&F.target.dataset.dismissible==="false"||V(!0)},onPointerUp:()=>V(!1)},k.filter(F=>!F.position&&q===0||F.position===U).map((F,J)=>{var ce,ae;return z.createElement(ZK,{key:F.id,icons:w,index:J,toast:F,defaultRichColors:d,duration:(ce=p==null?void 0:p.duration)!=null?ce:f,className:p==null?void 0:p.className,descriptionClassName:p==null?void 0:p.descriptionClassName,invert:n,visibleToasts:g,closeButton:(ae=p==null?void 0:p.closeButton)!=null?ae:s,interacting:Z,position:U,style:p==null?void 0:p.style,unstyled:p==null?void 0:p.unstyled,classNames:p==null?void 0:p.classNames,cancelButtonStyle:p==null?void 0:p.cancelButtonStyle,actionButtonStyle:p==null?void 0:p.actionButtonStyle,removeToast:C,toasts:k.filter(W=>W.position==F.position),heights:M.filter(W=>W.position==F.position),setHeights:I,expandByDefault:i,gap:y,loadingIcon:v,expanded:N,pauseWhenPageIsHidden:x,swipeDirections:e.swipeDirections})})):null}))});function Se(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 ZT(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function s$(...e){return t=>{let n=!1;const r=e.map(o=>{const i=ZT(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():ZT(e[o],null)}}}}function Fe(...e){return b.useCallback(s$(...e),e)}function tG(e,t){const n=b.createContext(t),r=i=>{const{children:s,...a}=i,l=b.useMemo(()=>a,Object.values(a));return E.jsx(n.Provider,{value:l,children:s})};r.displayName=e+"Provider";function o(i){const s=b.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function Wr(e,t=[]){let n=[];function r(i,s){const a=b.createContext(s),l=n.length;n=[...n,s];const u=d=>{var y;const{scope:f,children:h,...g}=d,p=((y=f==null?void 0:f[e])==null?void 0:y[l])||a,m=b.useMemo(()=>g,Object.values(g));return E.jsx(p.Provider,{value:m,children:h})};u.displayName=i+"Provider";function c(d,f){var p;const h=((p=f==null?void 0:f[e])==null?void 0:p[l])||a,g=b.useContext(h);if(g)return g;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,c]}const o=()=>{const i=n.map(s=>b.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,nG(o,...t)]}function nG(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function el(e){const t=rG(e),n=b.forwardRef((r,o)=>{const{children:i,...s}=r,a=b.Children.toArray(i),l=a.find(oG);if(l){const u=l.props.children,c=a.map(d=>d===l?b.Children.count(u)>1?b.Children.only(null):b.isValidElement(u)?u.props.children:null:d);return E.jsx(t,{...s,ref:o,children:b.isValidElement(u)?b.cloneElement(u,void 0,c):null})}return E.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var eke=el("Slot");function rG(e){const t=b.forwardRef((n,r)=>{const{children:o,...i}=n;
vendor: 9,982 bytes, line 76
76if(b.isValidElement(o)){const s=sG(o),a=iG(i,o.props);return o.type!==b.Fragment&&(a.ref=r?s$(r,s):s),b.cloneElement(o,a)}return b.Children.count(o)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var a$=Symbol("radix.slottable");function l$(e){const t=({children:n})=>E.jsx(E.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=a$,t}function oG(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===a$}function iG(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const l=i(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function sG(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 I2(e){const t=e+"CollectionProvider",[n,r]=Wr(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=p=>{const{scope:m,children:y}=p,v=z.useRef(null),w=z.useRef(new Map).current;return E.jsx(o,{scope:m,itemMap:w,collectionRef:v,children:y})};s.displayName=t;const a=e+"CollectionSlot",l=el(a),u=z.forwardRef((p,m)=>{const{scope:y,children:v}=p,w=i(a,y),S=Fe(m,w.collectionRef);return E.jsx(l,{ref:S,children:v})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",f=el(c),h=z.forwardRef((p,m)=>{const{scope:y,children:v,...w}=p,S=z.useRef(null),x=Fe(m,S),k=i(c,y);return z.useEffect(()=>(k.itemMap.set(S,{ref:S,...w}),()=>void k.itemMap.delete(S))),E.jsx(f,{[d]:"",ref:x,children:v})});h.displayName=c;function g(p){const m=i(e+"CollectionConsumer",p);return z.useCallback(()=>{const v=m.collectionRef.current;if(!v)return[];const w=Array.from(v.querySelectorAll(`[${d}]`));return Array.from(m.itemMap.values()).sort((k,_)=>w.indexOf(k.ref.current)-w.indexOf(_.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:s,Slot:u,ItemSlot:h},g,r]}var aG=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ee=aG.reduce((e,t)=>{const n=el(`Primitive.${t}`),r=b.forwardRef((o,i)=>{const{asChild:s,...a}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),E.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function u$(e,t){e&&cl.flushSync(()=>e.dispatchEvent(t))}function yo(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function lG(e,t=globalThis==null?void 0:globalThis.document){const n=yo(e);b.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var uG="DismissableLayer",db="dismissableLayer.update",cG="dismissableLayer.pointerDownOutside",dG="dismissableLayer.focusOutside",eA,c$=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Zu=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=b.useContext(c$),[c,d]=b.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=b.useState({}),g=Fe(t,_=>d(_)),p=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=p.indexOf(m),v=c?p.indexOf(c):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,S=v>=y,x=hG(_=>{const A=_.target,M=[...u.branches].some(I=>I.contains(A));!S||M||(o==null||o(_),s==null||s(_),_.defaultPrevented||a==null||a())},f),k=pG(_=>{const A=_.target;[...u.branches].some(I=>I.contains(A))||(i==null||i(_),s==null||s(_),_.defaultPrevented||a==null||a())},f);return lG(_=>{v===u.layers.size-1&&(r==null||r(_),!_.defaultPrevented&&a&&(_.preventDefault(),a()))},f),b.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(eA=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),tA(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=eA)}},[c,f,n,u]),b.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),tA())},[c,u]),b.useEffect(()=>{const _=()=>h({});return document.addEventListener(db,_),()=>document.removeEventListener(db,_)},[]),E.jsx(Ee.div,{...l,ref:g,style:{pointerEvents:w?S?"auto":"none":void 0,...e.style},onFocusCapture:Se(e.onFocusCapture,k.onFocusCapture),onBlurCapture:Se(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:Se(e.onPointerDownCapture,x.onPointerDownCapture)})});Zu.displayName=uG;var fG="DismissableLayerBranch",d$=b.forwardRef((e,t)=>{const n=b.useContext(c$),r=b.useRef(null),o=Fe(t,r);return b.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),E.jsx(Ee.div,{...e,ref:o})});d$.displayName=fG;function hG(e,t=globalThis==null?void 0:globalThis.document){const n=yo(e),r=b.useRef(!1),o=b.useRef(()=>{});return b.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){f$(cG,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 pG(e,t=globalThis==null?void 0:globalThis.document){const n=yo(e),r=b.useRef(!1);return b.useEffect(()=>{const o=i=>{i.target&&!r.current&&f$(dG,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 tA(){const e=new CustomEvent(db);document.dispatchEvent(e)}function f$(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?u$(o,i):o.dispatchEvent(i)}var mG=Zu,gG=d$,Xt=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},yG="Portal",Kf=b.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=b.useState(!1);Xt(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?OD.createPortal(E.jsx(Ee.div,{...r,ref:t}),s):null});Kf.displayName=yG;function vG(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var Zo=e=>{const{present:t,children:n}=e,r=wG(t),o=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),i=Fe(r.ref,bG(o));return typeof n=="function"||r.isPresent?b.cloneElement(o,{ref:i}):null};Zo.displayName="Presence";function wG(e){const[t,n]=b.useState(),r=b.useRef(null),o=b.useRef(e),i=b.useRef("none"),s=e?"mounted":"unmounted",[a,l]=vG(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const u=$h(r.current);i.current=a==="mounted"?u:"none"},[a]),Xt(()=>{const u=r.current,c=o.current;if(c!==e){const f=i.current,h=$h(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]),Xt(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=h=>{const p=$h(r.current).includes(h.animationName);if(h.target===t&&p&&(l("ANIMATION_END"),!o.current)){const m=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=m)})}},f=h=>{h.target===t&&(i.current=$h(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:b.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function $h(e){return(e==null?void 0:e.animationName)||"none"}function bG(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 SG=GS[" useInsertionEffect ".trim().toString()]||Xt;function Yo({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=xG({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const c=b.useRef(e!==void 0);b.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=a},[a,r])}const u=b.useCallback(c=>{var d;if(a){const f=kG(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 xG({defaultProp:e,onChange:t}){const[n,r]=b.useState(e),o=b.useRef(n),i=b.useRef(t);return SG(()=>{i.current=t},[t]),b.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function kG(e){return typeof e=="function"}var h$=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"}),EG="VisuallyHidden",hy=b.forwardRef((e,t)=>
vendor: 5,222 bytes, line 76
76E.jsx(Ee.span,{...e,ref:t,style:{...h$,...e.style}}));hy.displayName=EG;var _G=hy,D2="ToastProvider",[L2,CG,TG]=I2("Toast"),[p$]=Wr("Toast",[TG]),[AG,py]=p$(D2),m$=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,l]=b.useState(null),[u,c]=b.useState(0),d=b.useRef(!1),f=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${D2}\`. Expected non-empty \`string\`.`),E.jsx(L2.Provider,{scope:t,children:E.jsx(AG,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:b.useCallback(()=>c(h=>h+1),[]),onToastRemove:b.useCallback(()=>c(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:s})})};m$.displayName=D2;var g$="ToastViewport",PG=["F8"],fb="toast.viewportPause",hb="toast.viewportResume",y$=b.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=PG,label:o="Notifications ({hotkey})",...i}=e,s=py(g$,n),a=CG(n),l=b.useRef(null),u=b.useRef(null),c=b.useRef(null),d=b.useRef(null),f=Fe(t,d,s.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),g=s.toastCount>0;b.useEffect(()=>{const m=y=>{var w;r.length!==0&&r.every(S=>y[S]||y.code===S)&&((w=d.current)==null||w.focus())};return document.addEventListener("keydown",m),()=>document.removeEventListener("keydown",m)},[r]),b.useEffect(()=>{const m=l.current,y=d.current;if(g&&m&&y){const v=()=>{if(!s.isClosePausedRef.current){const k=new CustomEvent(fb);y.dispatchEvent(k),s.isClosePausedRef.current=!0}},w=()=>{if(s.isClosePausedRef.current){const k=new CustomEvent(hb);y.dispatchEvent(k),s.isClosePausedRef.current=!1}},S=k=>{!m.contains(k.relatedTarget)&&w()},x=()=>{m.contains(document.activeElement)||w()};return m.addEventListener("focusin",v),m.addEventListener("focusout",S),m.addEventListener("pointermove",v),m.addEventListener("pointerleave",x),window.addEventListener("blur",v),window.addEventListener("focus",w),()=>{m.removeEventListener("focusin",v),m.removeEventListener("focusout",S),m.removeEventListener("pointermove",v),m.removeEventListener("pointerleave",x),window.removeEventListener("blur",v),window.removeEventListener("focus",w)}}},[g,s.isClosePausedRef]);const p=b.useCallback(({tabbingDirection:m})=>{const v=a().map(w=>{const S=w.ref.current,x=[S,...zG(S)];return m==="forwards"?x:x.reverse()});return(m==="forwards"?v.reverse():v).flat()},[a]);return b.useEffect(()=>{const m=d.current;if(m){const y=v=>{var x,k,_;const w=v.altKey||v.ctrlKey||v.metaKey;if(v.key==="Tab"&&!w){const A=document.activeElement,M=v.shiftKey;if(v.target===m&&M){(x=u.current)==null||x.focus();return}const L=p({tabbingDirection:M?"backwards":"forwards"}),Z=L.findIndex(V=>V===A);w0(L.slice(Z+1))?v.preventDefault():M?(k=u.current)==null||k.focus():(_=c.current)==null||_.focus()}};return m.addEventListener("keydown",y),()=>m.removeEventListener("keydown",y)}},[a,p]),E.jsxs(gG,{ref:l,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:g?void 0:"none"},children:[g&&E.jsx(pb,{ref:u,onFocusFromOutsideViewport:()=>{const m=p({tabbingDirection:"forwards"});w0(m)}}),E.jsx(L2.Slot,{scope:n,children:E.jsx(Ee.ol,{tabIndex:-1,...i,ref:f})}),g&&E.jsx(pb,{ref:c,onFocusFromOutsideViewport:()=>{const m=p({tabbingDirection:"backwards"});w0(m)}})]})});y$.displayName=g$;var v$="ToastFocusProxy",pb=b.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=py(v$,n);return E.jsx(hy,{"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()}})});pb.displayName=v$;var Gf="Toast",RG="toast.swipeStart",OG="toast.swipeMove",MG="toast.swipeCancel",IG="toast.swipeEnd",w$=b.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a,l]=Yo({prop:r,defaultProp:o??!0,onChange:i,caller:Gf});return E.jsx(Zo,{present:n||a,children:E.jsx($G,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:yo(e.onPause),onResume:yo(e.onResume),onSwipeStart:Se(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Se(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:Se(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:Se(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)})})})});w$.displayName=Gf;var[DG,LG]=p$(Gf,{onClose(){}}),$G=b.forwardRef((e,t)=>
vendor: 4,193 bytes, line 76
76{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,...g}=e,p=py(Gf,n),[m,y]=b.useState(null),v=Fe(t,V=>y(V)),w=b.useRef(null),S=b.useRef(null),x=o||p.duration,k=b.useRef(0),_=b.useRef(x),A=b.useRef(0),{onToastAdd:M,onToastRemove:I}=p,N=yo(()=>{var ee;(m==null?void 0:m.contains(document.activeElement))&&((ee=p.viewport)==null||ee.focus()),s()}),L=b.useCallback(V=>{!V||V===1/0||(window.clearTimeout(A.current),k.current=new Date().getTime(),A.current=window.setTimeout(N,V))},[N]);b.useEffect(()=>{const V=p.viewport;if(V){const ee=()=>{L(_.current),u==null||u()},G=()=>{const B=new Date().getTime()-k.current;_.current=_.current-B,window.clearTimeout(A.current),l==null||l()};return V.addEventListener(fb,G),V.addEventListener(hb,ee),()=>{V.removeEventListener(fb,G),V.removeEventListener(hb,ee)}}},[p.viewport,x,l,u,L]),b.useEffect(()=>{i&&!p.isClosePausedRef.current&&L(x)},[i,x,p.isClosePausedRef,L]),b.useEffect(()=>(M(),()=>I()),[M,I]);const Z=b.useMemo(()=>m?C$(m):null,[m]);return p.viewport?E.jsxs(E.Fragment,{children:[Z&&E.jsx(NG,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:Z}),E.jsx(DG,{scope:n,onClose:N,children:cl.createPortal(E.jsx(L2.ItemSlot,{scope:n,children:E.jsx(mG,{asChild:!0,onEscapeKeyDown:Se(a,()=>{p.isFocusedToastEscapeKeyDownRef.current||N(),p.isFocusedToastEscapeKeyDownRef.current=!1}),children:E.jsx(Ee.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":p.swipeDirection,...g,ref:v,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Se(e.onKeyDown,V=>{V.key==="Escape"&&(a==null||a(V.nativeEvent),V.nativeEvent.defaultPrevented||(p.isFocusedToastEscapeKeyDownRef.current=!0,N()))}),onPointerDown:Se(e.onPointerDown,V=>{V.button===0&&(w.current={x:V.clientX,y:V.clientY})}),onPointerMove:Se(e.onPointerMove,V=>{if(!w.current)return;const ee=V.clientX-w.current.x,G=V.clientY-w.current.y,B=!!S.current,R=["left","right"].includes(p.swipeDirection),j=["left","up"].includes(p.swipeDirection)?Math.min:Math.max,P=R?j(0,ee):0,C=R?0:j(0,G),U=V.pointerType==="touch"?10:2,q={x:P,y:C},K={originalEvent:V,delta:q};B?(S.current=q,Nh(OG,d,K,{discrete:!1})):nA(q,p.swipeDirection,U)?(S.current=q,Nh(RG,c,K,{discrete:!1}),V.target.setPointerCapture(V.pointerId)):(Math.abs(ee)>U||Math.abs(G)>U)&&(w.current=null)}),onPointerUp:Se(e.onPointerUp,V=>{const ee=S.current,G=V.target;if(G.hasPointerCapture(V.pointerId)&&G.releasePointerCapture(V.pointerId),S.current=null,w.current=null,ee){const B=V.currentTarget,R={originalEvent:V,delta:ee};nA(ee,p.swipeDirection,p.swipeThreshold)?Nh(IG,h,R,{discrete:!0}):Nh(MG,f,R,{discrete:!0}),B.addEventListener("click",j=>j.preventDefault(),{once:!0})}})})})}),p.viewport)})]}):null}),NG=e=>{const{__scopeToast:t,children:n,...r}=e,o=py(Gf,t),[i,s]=b.useState(!1),[a,l]=b.useState(!1);return BG(()=>s(!0)),b.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:E.jsx(Kf,{asChild:!0,children:E.jsx(hy,{...r,children:i&&E.jsxs(E.Fragment,{children:[o.label," ",n]})})})},jG="ToastTitle",b$=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return E.jsx(Ee.div,{...r,ref:t})});b$.displayName=jG;var FG="ToastDescription",S$=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return E.jsx(Ee.div,{...r,ref:t})});S$.displayName=FG;var x$="ToastAction",k$=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?E.jsx(_$,{altText:n,asChild:!0,children:E.jsx($2,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${x$}\`. Expected non-empty \`string\`.`),null)});k$.displayName=x$;var E$="ToastClose",$2=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=LG(E$,n);return E.jsx(_$,{asChild:!0,children:E.jsx(Ee.button,{type:"button",...r,ref:t,onClick:Se(e.onClick,o.onClose)})})});$2.displayName=E$;var _$=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return E.jsx(Ee.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function C$(e){const t=[];
vendor: 5,683 bytes, lines 76-116
76return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),UG(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(...C$(r))}}),t}function Nh(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?u$(o,i):o.dispatchEvent(i)}var nA=(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 BG(e=()=>{}){const t=yo(e);Xt(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function UG(e){return e.nodeType===e.ELEMENT_NODE}function zG(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 w0(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var tke=m$,nke=y$,rke=w$,oke=b$,ike=S$,ske=k$,ake=$2;function T$(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=T$(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function VG(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=T$(e))&&(r&&(r+=" "),r+=t);return r}const rA=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,oA=VG,lke=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return oA(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=rA(c)||rA(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(g=>{let[p,m]=g;return Array.isArray(m)?m.includes({...i,...a}[p]):{...i,...a}[p]===m})?[...u,d,f]:u},[]);return oA(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
77 * @license lucide-react v0.462.0 - ISC
78 *
79 * This source code is licensed under the ISC license.
80 * See the LICENSE file in the root directory of this source tree.
81 */const HG=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),A$=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
82 * @license lucide-react v0.462.0 - ISC
83 *
84 * This source code is licensed under the ISC license.
85 * See the LICENSE file in the root directory of this source tree.
86 */var WG={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"};/**
87 * @license lucide-react v0.462.0 - ISC
88 *
89 * This source code is licensed under the ISC license.
90 * See the LICENSE file in the root directory of this source tree.
91 */const qG=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},l)=>b.createElement("svg",{ref:l,...WG,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:A$("lucide",o),...a},[...s.map(([u,c])=>b.createElement(u,c)),...Array.isArray(i)?i:[i]]));/**
92 * @license lucide-react v0.462.0 - ISC
93 *
94 * This source code is licensed under the ISC license.
95 * See the LICENSE file in the root directory of this source tree.
96 */const D=(e,t)=>{const n=b.forwardRef(({className:r,...o},i)=>b.createElement(qG,{ref:i,iconNode:t,className:A$(`lucide-${HG(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
97 * @license lucide-react v0.462.0 - ISC
98 *
99 * This source code is licensed under the ISC license.
100 * See the LICENSE file in the root directory of this source tree.
101 */const uke=D("Accessibility",[["circle",{cx:"16",cy:"4",r:"1",key:"1grugj"}],["path",{d:"m18 19 1-7-6 1",key:"r0i19z"}],["path",{d:"m5 8 3-3 5.5 3-2.36 3.5",key:"9ptxx2"}],["path",{d:"M4.24 14.5a5 5 0 0 0 6.88 6",key:"10kmtu"}],["path",{d:"M13.76 17.5a5 5 0 0 0-6.88-6",key:"2qq6rc"}]]);/**
102 * @license lucide-react v0.462.0 - ISC
103 *
104 * This source code is licensed under the ISC license.
105 * See the LICENSE file in the root directory of this source tree.
106 */const cke=D("Ambulance",[["path",{d:"M10 10H6",key:"1bsnug"}],["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14",key:"lrkjwd"}],["path",{d:"M8 8v4",key:"1fwk8c"}],["path",{d:"M9 18h6",key:"x1upvd"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);/**
107 * @license lucide-react v0.462.0 - ISC
108 *
109 * This source code is licensed under the ISC license.
110 * See the LICENSE file in the root directory of this source tree.
111 */const dke=D("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/**
112 * @license lucide-react v0.462.0 - ISC
113 *
114 * This source code is licensed under the ISC license.
115 * See the LICENSE file in the root directory of this source tree.
116 */const fke=D("ArrowDownUp",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}
116],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"m21 8-4-4-4 4",key:"1c9v7m"}],["path",{d:"M17 4v16",key:"7dpous"}]]);/**
117 * @license lucide-react v0.462.0 - ISC
118 *
119 * This source code is licensed under the ISC license.
120 * See the LICENSE file in the root directory of this source tree.
121 */const hke=D("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
122 * @license lucide-react v0.462.0 - ISC
123 *
124 * This source code is licensed under the ISC license.
125 * See the LICENSE file in the root directory of this source tree.
126 */const pke=D("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
127 * @license lucide-react v0.462.0 - ISC
128 *
129 * This source code is licensed under the ISC license.
130 * See the LICENSE file in the root directory of this source tree.
131 */const mke=D("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
132 * @license lucide-react v0.462.0 - ISC
133 *
134 * This source code is licensed under the ISC license.
135 * See the LICENSE file in the root directory of this source tree.
136 */const gke=D("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
137 * @license lucide-react v0.462.0 - ISC
138 *
139 * This source code is licensed under the ISC license.
140 * See the LICENSE file in the root directory of this source tree.
141 */const yke=D("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
142 * @license lucide-react v0.462.0 - ISC
143 *
144 * This source code is licensed under the ISC license.
145 * See the LICENSE file in the root directory of this source tree.
146 */const vke=D("Baby",[["path",{d:"M9 12h.01",key:"157uk2"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M19 6.3a9 9 0 0 1 1.8 3.9 2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"5yv0yz"}]]);/**
147 * @license lucide-react v0.462.0 - ISC
148 *
149 * This source code is licensed under the ISC license.
150 * See the LICENSE file in the root directory of this source tree.
151 */const wke=D("Ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]]);/**
152 * @license lucide-react v0.462.0 - ISC
153 *
154 * This source code is licensed under the ISC license.
155 * See the LICENSE file in the root directory of this source tree.
156 */const bke=D("Banknote",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]]);/**
157 * @license lucide-react v0.462.0 - ISC
158 *
159 * This source code is licensed under the ISC license.
160 * See the LICENSE file in the root directory of this source tree.
161 */const Ske=D("BellOff",[["path",{d:"M8.7 3A6 6 0 0 1 18 8a21.3 21.3 0 0 0 .6 5",key:"o7mx20"}],["path",{d:"M17 17H3s3-2 3-9a4.67 4.67 0 0 1 .3-1.7",key:"16f1lm"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
162 * @license lucide-react v0.462.0 - ISC
163 *
164 * This source code is licensed under the ISC license.
165 * See the LICENSE file in the root directory of this source tree.
166 */const xke=D("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/**
167 * @license lucide-react v0.462.0 - ISC
168 *
169 * This source code is licensed under the ISC license.
170 * See the LICENSE file in the root directory of this source tree.
171 */const kke=D("Bird",[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]]);/**
172 * @license lucide-react v0.462.0 - ISC
173 *
174 * This source code is licensed under the ISC license.
175 * See the LICENSE file in the root directory of this source tree.
176 */const Eke=D("Bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]);/**
177 * @license lucide-react v0.462.0 - ISC
178 *
179 * This source code is licensed under the ISC license.
180 * See the LICENSE file in the root directory of this source tree.
181 */const _ke=D("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
182 * @license lucide-react v0.462.0 - ISC
183 *
184 * This source code is licensed under the ISC license.
185 * See the LICENSE file in the root directory of this source tree.
186 */const Cke=D("BookUser",[["path",{d:"M15 13a3 3 0 1 0-6 0",key:"10j68g"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}]]);/**
187 * @license lucide-react v0.462.0 - ISC
188 *
189 * This source code is licensed under the ISC license.
190 * See the LICENSE file in the root directory of this source tree.
191 */const Tke=D("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);/**
192 * @license lucide-react v0.462.0 - ISC
193 *
194 * This source code is licensed under the ISC license.
195 * See the LICENSE file in the root directory of this source tree.
196 */const Ake=D("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]);/**
197 * @license lucide-react v0.462.0 - ISC
198 *
199 * This source code is licensed under the ISC license.
200 * See the LICENSE file in the root directory of this source tree.
201 */const Pke=D("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
202 * @license lucide-react v0.462.0 - ISC
203 *
204 * This source code is licensed under the ISC license.
205 * See the LICENSE file in the root directory of this source tree.
206 */const Rke=D("Bus",[["path",{d:"M8 6v6",key:"18i7km"}],["path",{d:"M15 6v6",key:"1sg6z9"}],["path",{d:"M2 12h19.6",key:"de5uta"}],["path",{d:"M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3",key:"1wwztk"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}],["path",{d:"M9 18h5",key:"lrx6i"}],["circle",{cx:"16",cy:"18",r:"2",key:"1v4tcr"}]]);/**
207 * @license lucide-react v0.462.0 - ISC
208 *
209 * This source code is licensed under the ISC license.
210 * See the LICENSE file in the root directory of this source tree.
211 */const Oke=D("Cable",[["path",{d:"M17 21v-2a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1",key:"10bnsj"}],["path",{d:"M19 15V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V9",key:"1eqmu1"}],["path",{d:"M21 21v-2h-4",key:"14zm7j"}],["path",{d:"M3 5h4V3",key:"z442eg"}],["path",{d:"M7 5a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1V3",key:"ebdjd7"}]]);/**
212 * @license lucide-react v0.462.0 - ISC
213 *
214 * This source code is licensed under the ISC license.
215 * See the LICENSE file in the root directory of this source tree.
216 */const Mke=D("CalendarCheck",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]]);/**
217 * @license lucide-react v0.462.0 - ISC
218 *
219 * This source code is licensed under the ISC license.
220 * See the LICENSE file in the root directory of this source tree.
221 */const Ike=D("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
222 * @license lucide-react v0.462.0 - ISC
223 *
224 * This source code is licensed under the ISC license.
225 * See the LICENSE file in the root directory of this source tree.
226 */const Dke=D("CalendarPlus",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"3spt84"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M19 16v6",key:"tddt3s"}]]);/**
227 * @license lucide-react v0.462.0 - ISC
228 *
229 * This source code is licensed under the ISC license.
230 * See the LICENSE file in the root directory of this source tree.
231 */const Lke=D("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
232 * @license lucide-react v0.462.0 - ISC
233 *
234 * This source code is licensed under the ISC license.
235 * See the LICENSE file in the root directory of this source tree.
236 */const $ke=D("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/**
237 * @license lucide-react v0.462.0 - ISC
238 *
239 * This source code is licensed under the ISC license.
240 * See the LICENSE file in the root directory of this source tree.
241 */const Nke=D("Car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);/**
242 * @license lucide-react v0.462.0 - ISC
243 *
244 * This source code is licensed under the ISC license.
245 * See the LICENSE file in the root directory of this source tree.
246 */const jke=D("Cat",[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]]);/**
247 * @license lucide-react v0.462.0 - ISC
248 *
249 * This source code is licensed under the ISC license.
250 * See the LICENSE file in the root directory of this source tree.
251 */const Fke=D("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
252 * @license lucide-react v0.462.0 - ISC
253 *
254 * This source code is licensed under the ISC license.
255 * See the LICENSE file in the root directory of this source tree.
256 */const Bke=D("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
257 * @license lucide-react v0.462.0 - ISC
258 *
259 * This source code is licensed under the ISC license.
260 * See the LICENSE file in the root directory of this source tree.
261 */const Uke=D("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
262 * @license lucide-react v0.462.0 - ISC
263 *
264 * This source code is licensed under the ISC license.
265 * See the LICENSE file in the root directory of this source tree.
266 */const zke=D("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
267 * @license lucide-react v0.462.0 - ISC
268 *
269 * This source code is licensed under the ISC license.
270 * See the LICENSE file in the root directory of this source tree.
271 */const Vke=D("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
272 * @license lucide-react v0.462.0 - ISC
273 *
274 * This source code is licensed under the ISC license.
275 * See the LICENSE file in the root directory of this source tree.
276 */const Hke=D("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
277 * @license lucide-react v0.462.0 - ISC
278 *
279 * This source code is licensed under the ISC license.
280 * See the LICENSE file in the root directory of this source tree.
281 */const Wke=D("Church",[["path",{d:"M10 9h4",key:"u4k05v"}],["path",{d:"M12 7v5",key:"ma6bk"}],["path",{d:"M14 22v-4a2 2 0 0 0-4 0v4",key:"1pdhuj"}],["path",{d:"M18 22V5.618a1 1 0 0 0-.553-.894l-4.553-2.277a2 2 0 0 0-1.788 0L6.553 4.724A1 1 0 0 0 6 5.618V22",key:"1rkokr"}],["path",{d:"m18 7 3.447 1.724a1 1 0 0 1 .553.894V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.618a1 1 0 0 1 .553-.894L6 7",key:"1w6esw"}]]);/**
282 * @license lucide-react v0.462.0 - ISC
283 *
284 * This source code is licensed under the ISC license.
285 * See the LICENSE file in the root directory of this source tree.
286 */const qke=D("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
287 * @license lucide-react v0.462.0 - ISC
288 *
289 * This source code is licensed under the ISC license.
290 * See the LICENSE file in the root directory of this source tree.
291 */const Kke=D("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
292 * @license lucide-react v0.462.0 - ISC
293 *
294 * This source code is licensed under the ISC license.
295 * See the LICENSE file in the root directory of this source tree.
296 */const Gke=D("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
297 * @license lucide-react v0.462.0 - ISC
298 *
299 * This source code is licensed under the ISC license.
300 * See the LICENSE file in the root directory of this source tree.
301 */const Yke=D("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]]);/**
302 * @license lucide-react v0.462.0 - ISC
303 *
304 * This source code is licensed under the ISC license.
305 * See the LICENSE file in the root directory of this source tree.
306 */const Xke=D("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
307 * @license lucide-react v0.462.0 - ISC
308 *
309 * This source code is licensed under the ISC license.
310 * See the LICENSE file in the root directory of this source tree.
311 */const Jke=D("ClipboardList",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/**
312 * @license lucide-react v0.462.0 - ISC
313 *
314 * This source code is licensed under the ISC license.
315 * See the LICENSE file in the root directory of this source tree.
316 */const Qke=D("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
317 * @license lucide-react v0.462.0 - ISC
318 *
319 * This source code is licensed under the ISC license.
320 * See the LICENSE file in the root directory of this source tree.
321 */const Zke=D("CloudDrizzle",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M8 19v1",key:"1dk2by"}],["path",{d:"M8 14v1",key:"84yxot"}],["path",{d:"M16 19v1",key:"v220m7"}],["path",{d:"M16 14v1",key:"g12gj6"}],["path",{d:"M12 21v1",key:"q8vafk"}],["path",{d:"M12 16v1",key:"1mx6rx"}]]);/**
322 * @license lucide-react v0.462.0 - ISC
323 *
324 * This source code is licensed under the ISC license.
325 * See the LICENSE file in the root directory of this source tree.
326 */const eEe=D("CloudFog",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 17H7",key:"pygtm1"}],["path",{d:"M17 21H9",key:"1u2q02"}]]);/**
327 * @license lucide-react v0.462.0 - ISC
328 *
329 * This source code is licensed under the ISC license.
330 * See the LICENSE file in the root directory of this source tree.
331 */const tEe=D("CloudLightning",[["path",{d:"M6 16.326A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.973",key:"1cez44"}],["path",{d:"m13 12-3 5h4l-3 5",key:"1t22er"}]]);/**
332 * @license lucide-react v0.462.0 - ISC
333 *
334 * This source code is licensed under the ISC license.
335 * See the LICENSE file in the root directory of this source tree.
336 */const nEe=D("CloudRain",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 14v6",key:"1j4efv"}],["path",{d:"M8 14v6",key:"17c4r9"}],["path",{d:"M12 16v6",key:"c8a4gj"}]]);/**
337 * @license lucide-react v0.462.0 - ISC
338 *
339 * This source code is licensed under the ISC license.
340 * See the LICENSE file in the root directory of this source tree.
341 */const rEe=D("CloudSnow",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M8 15h.01",key:"a7atzg"}],["path",{d:"M8 19h.01",key:"puxtts"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M12 21h.01",key:"h35vbk"}],["path",{d:"M16 15h.01",key:"rnfrdf"}],["path",{d:"M16 19h.01",key:"1vcnzz"}]]);/**
342 * @license lucide-react v0.462.0 - ISC
343 *
344 * This source code is licensed under the ISC license.
345 * See the LICENSE file in the root directory of this source tree.
346 */const oEe=D("CloudSun",[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}],["path",{d:"M15.947 12.65a4 4 0 0 0-5.925-4.128",key:"dpwdj0"}
346],["path",{d:"M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z",key:"s09mg5"}]]);/**
347 * @license lucide-react v0.462.0 - ISC
348 *
349 * This source code is licensed under the ISC license.
350 * See the LICENSE file in the root directory of this source tree.
351 */const iEe=D("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);/**
352 * @license lucide-react v0.462.0 - ISC
353 *
354 * This source code is licensed under the ISC license.
355 * See the LICENSE file in the root directory of this source tree.
356 */const sEe=D("Command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]);/**
357 * @license lucide-react v0.462.0 - ISC
358 *
359 * This source code is licensed under the ISC license.
360 * See the LICENSE file in the root directory of this source tree.
361 */const aEe=D("Construction",[["rect",{x:"2",y:"6",width:"20",height:"8",rx:"1",key:"1estib"}],["path",{d:"M17 14v7",key:"7m2elx"}],["path",{d:"M7 14v7",key:"1cm7wv"}],["path",{d:"M17 3v3",key:"1v4jwn"}],["path",{d:"M7 3v3",key:"7o6guu"}],["path",{d:"M10 14 2.3 6.3",key:"1023jk"}],["path",{d:"m14 6 7.7 7.7",key:"1s8pl2"}],["path",{d:"m8 6 8 8",key:"hl96qh"}]]);/**
362 * @license lucide-react v0.462.0 - ISC
363 *
364 * This source code is licensed under the ISC license.
365 * See the LICENSE file in the root directory of this source tree.
366 */const lEe=D("Cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);/**
367 * @license lucide-react v0.462.0 - ISC
368 *
369 * This source code is licensed under the ISC license.
370 * See the LICENSE file in the root directory of this source tree.
371 */const uEe=D("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
372 * @license lucide-react v0.462.0 - ISC
373 *
374 * This source code is licensed under the ISC license.
375 * See the LICENSE file in the root directory of this source tree.
376 */const cEe=D("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/**
377 * @license lucide-react v0.462.0 - ISC
378 *
379 * This source code is licensed under the ISC license.
380 * See the LICENSE file in the root directory of this source tree.
381 */const dEe=D("Crop",[["path",{d:"M6 2v14a2 2 0 0 0 2 2h14",key:"ron5a4"}],["path",{d:"M18 22V8a2 2 0 0 0-2-2H2",key:"7s9ehn"}]]);/**
382 * @license lucide-react v0.462.0 - ISC
383 *
384 * This source code is licensed under the ISC license.
385 * See the LICENSE file in the root directory of this source tree.
386 */const fEe=D("Cross",[["path",{d:"M4 9a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h4a1 1 0 0 1 1 1v4a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-4a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-4a1 1 0 0 1-1-1V4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4a1 1 0 0 1-1 1z",key:"1xbrqy"}]]);/**
387 * @license lucide-react v0.462.0 - ISC
388 *
389 * This source code is licensed under the ISC license.
390 * See the LICENSE file in the root directory of this source tree.
391 */const hEe=D("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/**
392 * @license lucide-react v0.462.0 - ISC
393 *
394 * This source code is licensed under the ISC license.
395 * See the LICENSE file in the root directory of this source tree.
396 */const pEe=D("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
397 * @license lucide-react v0.462.0 - ISC
398 *
399 * This source code is licensed under the ISC license.
400 * See the LICENSE file in the root directory of this source tree.
401 */const mEe=D("Dog",[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]]);/**
402 * @license lucide-react v0.462.0 - ISC
403 *
404 * This source code is licensed under the ISC license.
405 * See the LICENSE file in the root directory of this source tree.
406 */const gEe=D("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
407 * @license lucide-react v0.462.0 - ISC
408 *
409 * This source code is licensed under the ISC license.
410 * See the LICENSE file in the root directory of this source tree.
411 */const yEe=D("Droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);/**
412 * @license lucide-react v0.462.0 - ISC
413 *
414 * This source code is licensed under the ISC license.
415 * See the LICENSE file in the root directory of this source tree.
416 */const vEe=D("Euro",[["path",{d:"M4 10h12",key:"1y6xl8"}],["path",{d:"M4 14h9",key:"1loblj"}],["path",{d:"M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2",key:"1j6lzo"}]]);/**
417 * @license lucide-react v0.462.0 - ISC
418 *
419 * This source code is licensed under the ISC license.
420 * See the LICENSE file in the root directory of this source tree.
421 */const wEe=D("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"}]]);/**
422 * @license lucide-react v0.462.0 - ISC
423 *
424 * This source code is licensed under the ISC license.
425 * See the LICENSE file in the root directory of this source tree.
426 */const bEe=D("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
427 * @license lucide-react v0.462.0 - ISC
428 *
429 * This source code is licensed under the ISC license.
430 * See the LICENSE file in the root directory of this source tree.
431 */const SEe=D("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
432 * @license lucide-react v0.462.0 - ISC
433 *
434 * This source code is licensed under the ISC license.
435 * See the LICENSE file in the root directory of this source tree.
436 */const xEe=D("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
437 * @license lucide-react v0.462.0 - ISC
438 *
439 * This source code is licensed under the ISC license.
440 * See the LICENSE file in the root directory of this source tree.
441 */const kEe=D("FileJson",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]]);/**
442 * @license lucide-react v0.462.0 - ISC
443 *
444 * This source code is licensed under the ISC license.
445 * See the LICENSE file in the root directory of this source tree.
446 */const EEe=D("FilePenLine",[["path",{d:"m18 5-2.414-2.414A2 2 0 0 0 14.172 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2",ke
446y:"142zxg"}],["path",{d:"M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"2t3380"}],["path",{d:"M8 18h1",key:"13wk12"}]]);/**
447 * @license lucide-react v0.462.0 - ISC
448 *
449 * This source code is licensed under the ISC license.
450 * See the LICENSE file in the root directory of this source tree.
451 */const _Ee=D("FileSpreadsheet",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]]);/**
452 * @license lucide-react v0.462.0 - ISC
453 *
454 * This source code is licensed under the ISC license.
455 * See the LICENSE file in the root directory of this source tree.
456 */const CEe=D("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
457 * @license lucide-react v0.462.0 - ISC
458 *
459 * This source code is licensed under the ISC license.
460 * See the LICENSE file in the root directory of this source tree.
461 */const TEe=D("File",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]);/**
462 * @license lucide-react v0.462.0 - ISC
463 *
464 * This source code is licensed under the ISC license.
465 * See the LICENSE file in the root directory of this source tree.
466 */const AEe=D("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/**
467 * @license lucide-react v0.462.0 - ISC
468 *
469 * This source code is licensed under the ISC license.
470 * See the LICENSE file in the root directory of this source tree.
471 */const PEe=D("Flag",[["path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z",key:"i9b6wo"}],["line",{x1:"4",x2:"4",y1:"22",y2:"15",key:"1cm3nv"}]]);/**
472 * @license lucide-react v0.462.0 - ISC
473 *
474 * This source code is licensed under the ISC license.
475 * See the LICENSE file in the root directory of this source tree.
476 */const REe=D("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"}]]);/**
477 * @license lucide-react v0.462.0 - ISC
478 *
479 * This source code is licensed under the ISC license.
480 * See the LICENSE file in the root directory of this source tree.
481 */const OEe=D("FolderArchive",[["circle",{cx:"15",cy:"19",r:"2",key:"u2pros"}],["path",{d:"M20.9 19.8A2 2 0 0 0 22 18V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h5.1",key:"1jj40k"}],["path",{d:"M15 11v-1",key:"cntcp"}],["path",{d:"M15 17v-2",key:"1279jj"}]]);/**
482 * @license lucide-react v0.462.0 - ISC
483 *
484 * This source code is licensed under the ISC license.
485 * See the LICENSE file in the root directory of this source tree.
486 */const MEe=D("Gamepad2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]]);/**
487 * @license lucide-react v0.462.0 - ISC
488 *
489 * This source code is licensed under the ISC license.
490 * See the LICENSE file in the root directory of this source tree.
491 */const IEe=D("Gavel",[["path",{d:"m14.5 12.5-8 8a2.119 2.119 0 1 1-3-3l8-8",key:"15492f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m9 7 8 8",key:"5jnvq1"}],["path",{d:"m21 11-8-8",key:"z4y7zo"}]]);/**
492 * @license lucide-react v0.462.0 - ISC
493 *
494 * This source code is licensed under the ISC license.
495 * See the LICENSE file in the root directory of this source tree.
496 */const DEe=D("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/**
497 * @license lucide-react v0.462.0 - ISC
498 *
499 * This source code is licensed under the ISC license.
500 * See the LICENSE file in the root directory of this source tree.
501 */const LEe=D("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
502 * @license lucide-react v0.462.0 - ISC
503 *
504 * This source code is licensed under the ISC license.
505 * See the LICENSE file in the root directory of this source tree.
506 */const $Ee=D("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
507 * @license lucide-react v0.462.0 - ISC
508 *
509 * This source code is licensed under the ISC license.
510 * See the LICENSE file in the root directory of this source tree.
511 */const NEe=D("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
512 * @license lucide-react v0.462.0 - ISC
513 *
514 * This source code is licensed under the ISC license.
515 * See the LICENSE file in the root directory of this source tree.
516 */const jEe=D("Hammer",[["path",{d:"m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9",key:"eefl8a"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"b7pghm"}]]);/**
517 * @license lucide-react v0.462.0 - ISC
518 *
519 * This source code is licensed under the ISC license.
520 * See the LICENSE file in the root directory of this source tree.
521 */const FEe=D("HandHeart",[["path",{d:"M11 14h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16",key:"1ifwr1"}],["path",{d:"m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"17abbs"}],["path",{d:"m2 15 6 6",key:"10dquu"}],["path",{d:"M19.5 8.5c.7-.7 1.5-1.6 1.5-2.7A2.73 2.73 0 0 0 16 4a2.78 2.78 0 0 0-5 1.8c0 1.2.8 2 1.5 2.8L16 12Z",key:"1h3036"}]]);/**
522 * @license lucide-react v0.462.0 - ISC
523 *
524 * This source code is licensed under the ISC license.
525 * See the LICENSE file in the root directory of this source tree.
526 */const BEe=D("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/**
527 * @license lucide-react v0.462.0 - ISC
528 *
529 * This source code is licensed under the ISC license.
530 * See the LICENSE file in the root directory of this source tree.
531 */const UEe=D("Heading2",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}
531]]);/**
532 * @license lucide-react v0.462.0 - ISC
533 *
534 * This source code is licensed under the ISC license.
535 * See the LICENSE file in the root directory of this source tree.
536 */const zEe=D("Heading3",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]]);/**
537 * @license lucide-react v0.462.0 - ISC
538 *
539 * This source code is licensed under the ISC license.
540 * See the LICENSE file in the root directory of this source tree.
541 */const VEe=D("HeartHandshake",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66",key:"4oyue0"}],["path",{d:"m18 15-2-2",key:"60u0ii"}],["path",{d:"m15 18-2-2",key:"6p76be"}]]);/**
542 * @license lucide-react v0.462.0 - ISC
543 *
544 * This source code is licensed under the ISC license.
545 * See the LICENSE file in the root directory of this source tree.
546 */const HEe=D("HeartPulse",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"1uw2ng"}]]);/**
547 * @license lucide-react v0.462.0 - ISC
548 *
549 * This source code is licensed under the ISC license.
550 * See the LICENSE file in the root directory of this source tree.
551 */const WEe=D("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
552 * @license lucide-react v0.462.0 - ISC
553 *
554 * This source code is licensed under the ISC license.
555 * See the LICENSE file in the root directory of this source tree.
556 */const qEe=D("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
557 * @license lucide-react v0.462.0 - ISC
558 *
559 * This source code is licensed under the ISC license.
560 * See the LICENSE file in the root directory of this source tree.
561 */const KEe=D("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
562 * @license lucide-react v0.462.0 - ISC
563 *
564 * This source code is licensed under the ISC license.
565 * See the LICENSE file in the root directory of this source tree.
566 */const GEe=D("ImageOff",[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M10.41 10.41a2 2 0 1 1-2.83-2.83",key:"1bzlo9"}],["line",{x1:"13.5",x2:"6",y1:"13.5",y2:"21",key:"1q0aeu"}],["line",{x1:"18",x2:"21",y1:"12",y2:"15",key:"5mozeu"}],["path",{d:"M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59",key:"mmje98"}],["path",{d:"M21 15V5a2 2 0 0 0-2-2H9",key:"43el77"}]]);/**
567 * @license lucide-react v0.462.0 - ISC
568 *
569 * This source code is licensed under the ISC license.
570 * See the LICENSE file in the root directory of this source tree.
571 */const YEe=D("ImagePlus",[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]);/**
572 * @license lucide-react v0.462.0 - ISC
573 *
574 * This source code is licensed under the ISC license.
575 * See the LICENSE file in the root directory of this source tree.
576 */const XEe=D("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
577 * @license lucide-react v0.462.0 - ISC
578 *
579 * This source code is licensed under the ISC license.
580 * See the LICENSE file in the root directory of this source tree.
581 */const JEe=D("Images",[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]]);/**
582 * @license lucide-react v0.462.0 - ISC
583 *
584 * This source code is licensed under the ISC license.
585 * See the LICENSE file in the root directory of this source tree.
586 */const QEe=D("Inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);/**
587 * @license lucide-react v0.462.0 - ISC
588 *
589 * This source code is licensed under the ISC license.
590 * See the LICENSE file in the root directory of this source tree.
591 */const ZEe=D("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
592 * @license lucide-react v0.462.0 - ISC
593 *
594 * This source code is licensed under the ISC license.
595 * See the LICENSE file in the root directory of this source tree.
596 */const e_e=D("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
597 * @license lucide-react v0.462.0 - ISC
598 *
599 * This source code is licensed under the ISC license.
600 * See the LICENSE file in the root directory of this source tree.
601 */const t_e=D("Italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]);/**
602 * @license lucide-react v0.462.0 - ISC
603 *
604 * This source code is licensed under the ISC license.
605 * See the LICENSE file in the root directory of this source tree.
606 */const n_e=D("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
607 * @license lucide-react v0.462.0 - ISC
608 *
609 * This source code is licensed under the ISC license.
610 * See the LICENSE file in the root directory of this source tree.
611 */const r_e=D("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]]);/**
612 * @license lucide-react v0.462.0 - ISC
613 *
614 * This source code is licensed under the ISC license.
615 * See the LICENSE file in the root directory of this source tree.
616 */const o_e=D("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
617 * @license lucide-react v0.462.0 - ISC
618 *
619 * This source code is licensed under the ISC license.
620 * See the LICENSE file in the root directory of this source tree.
621 */const i_e=D("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/**
622 * @license lucide-react v0.462.0 - ISC
623 *
624 * This source code is licensed under the ISC license.
625 * See the LICENSE file in the root directory of this source tree.
626 */const s_e=D("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/**
627 * @license lucide-react v0.462.0 - ISC
628 *
629 * This source code is licensed under the ISC license.
630 * See the LICENSE file in the root directory of this source tree.
631 */const a_e=D("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
632 * @license lucide-react v0.462.0 - ISC
633 *
634 * This source code is licensed under the ISC license.
635 * See the LICENSE file in the root directory of this source tree.
636 */const l_e=D("Link2Off",[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
637 * @license lucide-react v0.462.0 - ISC
638 *
639 * This source code is licensed under the ISC license.
640 * See the LICENSE file in the root directory of this source tree.
641 */const u_e=D("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/**
642 * @license lucide-react v0.462.0 - ISC
643 *
644 * This source code is licensed under the ISC license.
645 * See the LICENSE file in the root directory of this source tree.
646 */const c_e=D("ListChecks",[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]);/**
647 * @license lucide-react v0.462.0 - ISC
648 *
649 * This source code is licensed under the ISC license.
650 * See the LICENSE file in the root directory of this source tree.
651 */const d_e=D("ListOrdered",[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]]);/**
652 * @license lucide-react v0.462.0 - ISC
653 *
654 * This source code is licensed under the ISC license.
655 * See the LICENSE file in the root directory of this source tree.
656 */const f_e=D("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]);/**
657 * @license lucide-react v0.462.0 - ISC
658 *
659 * This source code is licensed under the ISC license.
660 * See the LICENSE file in the root directory of this source tree.
661 */const h_e=D("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
662 * @license lucide-react v0.462.0 - ISC
663 *
664 * This source code is licensed under the ISC license.
665 * See the LICENSE file in the root directory of this source tree.
666 */const p_e=D("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
667 * @license lucide-react v0.462.0 - ISC
668 *
669 * This source code is licensed under the ISC license.
670 * See the LICENSE file in the root directory of this source tree.
671 */const m_e=D("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
672 * @license lucide-react v0.462.0 - ISC
673 *
674 * This source code is licensed under the ISC license.
675 * See the LICENSE file in the root directory of this source tree.
676 */const g_e=D("MailCheck",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]]);/**
677 * @license lucide-react v0.462.0 - ISC
678 *
679 * This source code is licensed under the ISC license.
680 * See the LICENSE file in the root directory of this source tree.
681 */const y_e=D("MailOpen",[["path",{d:"M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z",key:"1jhwl8"}],["path",{d:"m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10",key:"1qfld7"}]]);/**
682 * @license lucide-react v0.462.0 - ISC
683 *
684 * This source code is licensed under the ISC license.
685 * See the LICENSE file in the root directory of this source tree.
686 */const v_e=D("MailPlus",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M16 19h6",key:"xwg31i"}]]);/**
687 * @license lucide-react v0.462.0 - ISC
688 *
689 * This source code is licensed under the ISC license.
690 * See the LICENSE file in the root directory of this source tree.
691 */const w_e=D("MailX",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h9",key:"1j9vog"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m17 17 4 4",key:"1b3523"}],["path",{d:"m21 17-4 4",key:"uinynz"}]]);/**
692 * @license lucide-react v0.462.0 - ISC
693 *
694 * This source code is licensed under the ISC license.
695 * See the LICENSE file in the root directory of this source tree.
696 */const b_e=D("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
697 * @license lucide-react v0.462.0 - ISC
698 *
699 * This source code is licensed under the ISC license.
700 * See the LICENSE file in the root directory of this source tree.
701 */const S_e=D("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
702 * @license lucide-react v0.462.0 - ISC
703 *
704 * This source code is licensed under the ISC license.
705 * See the LICENSE file in the root directory of this source tree.
706 */const x_e=D("MapPinned",[["path",{d:"M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0",key:"11u0oz"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712",key:"q8zwxj"}]]);/**
707 * @license lucide-react v0.462.0 - ISC
708 *
709 * This source code is licensed under the ISC license.
710 * See the LICENSE file in the root directory of this source tree.
711 */const k_e=D("Map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);/**
712 * @license lucide-react v0.462.0 - ISC
713 *
714 * This source code is licensed under the ISC license.
715 * See the LICENSE file in the root directory of this source tree.
716 */const E_e=D("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
717 * @license lucide-react v0.462.0 - ISC
718 *
719 * This source code is licensed under the ISC license.
720 * See the LICENSE file in the root directory of this source tree.
721 */const __e=D("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]);/**
722 * @license lucide-react v0.462.0 - ISC
723 *
724 * This source code is licensed under the ISC license.
725 * See the LICENSE file in the root directory of this source tree.
726 */const C_e=D("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
727 * @license lucide-react v0.462.0 - ISC
728 *
729 * This source code is licensed under the ISC license.
730 * See the LICENSE file in the root directory of this source tree.
731 */const T_e=D("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
732 * @license lucide-react v0.462.0 - ISC
733 *
734 * This source code is licensed under the ISC license.
735 * See the LICENSE file in the root directory of this source tree.
736 */const A_e=D("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
737 * @license lucide-react v0.462.0 - ISC
738 *
739 * This source code is licensed under the ISC license.
740 * See the LICENSE file in the root directory of this source tree.
741 */const P_e=D("MousePointerClick",[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.
741074z",key:"s0h3yz"}]]);/**
742 * @license lucide-react v0.462.0 - ISC
743 *
744 * This source code is licensed under the ISC license.
745 * See the LICENSE file in the root directory of this source tree.
746 */const R_e=D("MoveHorizontal",[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}]]);/**
747 * @license lucide-react v0.462.0 - ISC
748 *
749 * This source code is licensed under the ISC license.
750 * See the LICENSE file in the root directory of this source tree.
751 */const O_e=D("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/**
752 * @license lucide-react v0.462.0 - ISC
753 *
754 * This source code is licensed under the ISC license.
755 * See the LICENSE file in the root directory of this source tree.
756 */const M_e=D("OctagonAlert",[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]]);/**
757 * @license lucide-react v0.462.0 - ISC
758 *
759 * This source code is licensed under the ISC license.
760 * See the LICENSE file in the root directory of this source tree.
761 */const I_e=D("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/**
762 * @license lucide-react v0.462.0 - ISC
763 *
764 * This source code is licensed under the ISC license.
765 * See the LICENSE file in the root directory of this source tree.
766 */const D_e=D("Paperclip",[["path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48",key:"1u3ebp"}]]);/**
767 * @license lucide-react v0.462.0 - ISC
768 *
769 * This source code is licensed under the ISC license.
770 * See the LICENSE file in the root directory of this source tree.
771 */const L_e=D("PartyPopper",[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]]);/**
772 * @license lucide-react v0.462.0 - ISC
773 *
774 * This source code is licensed under the ISC license.
775 * See the LICENSE file in the root directory of this source tree.
776 */const $_e=D("PenLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]]);/**
777 * @license lucide-react v0.462.0 - ISC
778 *
779 * This source code is licensed under the ISC license.
780 * See the LICENSE file in the root directory of this source tree.
781 */const N_e=D("Pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);/**
782 * @license lucide-react v0.462.0 - ISC
783 *
784 * This source code is licensed under the ISC license.
785 * See the LICENSE file in the root directory of this source tree.
786 */const j_e=D("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/**
787 * @license lucide-react v0.462.0 - ISC
788 *
789 * This source code is licensed under the ISC license.
790 * See the LICENSE file in the root directory of this source tree.
791 */const F_e=D("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
792 * @license lucide-react v0.462.0 - ISC
793 *
794 * This source code is licensed under the ISC license.
795 * See the LICENSE file in the root directory of this source tree.
796 */const B_e=D("Plane",[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.
7961-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]]);/**
797 * @license lucide-react v0.462.0 - ISC
798 *
799 * This source code is licensed under the ISC license.
800 * See the LICENSE file in the root directory of this source tree.
801 */const U_e=D("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
802 * @license lucide-react v0.462.0 - ISC
803 *
804 * This source code is licensed under the ISC license.
805 * See the LICENSE file in the root directory of this source tree.
806 */const z_e=D("Printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);/**
807 * @license lucide-react v0.462.0 - ISC
808 *
809 * This source code is licensed under the ISC license.
810 * See the LICENSE file in the root directory of this source tree.
811 */const V_e=D("Recycle",[["path",{d:"M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5",key:"x6z5xu"}],["path",{d:"M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12",key:"1x4zh5"}],["path",{d:"m14 16-3 3 3 3",key:"f6jyew"}],["path",{d:"M8.293 13.596 7.196 9.5 3.1 10.598",key:"wf1obh"}],["path",{d:"m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843",key:"9tzpgr"}],["path",{d:"m13.378 9.633 4.096 1.098 1.097-4.096",key:"1oe83g"}]]);/**
812 * @license lucide-react v0.462.0 - ISC
813 *
814 * This source code is licensed under the ISC license.
815 * See the LICENSE file in the root directory of this source tree.
816 */const H_e=D("Redo2",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]]);/**
817 * @license lucide-react v0.462.0 - ISC
818 *
819 * This source code is licensed under the ISC license.
820 * See the LICENSE file in the root directory of this source tree.
821 */const W_e=D("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
822 * @license lucide-react v0.462.0 - ISC
823 *
824 * This source code is licensed under the ISC license.
825 * See the LICENSE file in the root directory of this source tree.
826 */const q_e=D("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
827 * @license lucide-react v0.462.0 - ISC
828 *
829 * This source code is licensed under the ISC license.
830 * See the LICENSE file in the root directory of this source tree.
831 */const K_e=D("Satellite",[["path",{d:"M13 7 9 3 5 7l4 4",key:"vyckw6"}],["path",{d:"m17 11 4 4-4 4-4-4",key:"rchckc"}],["path",{d:"m8 12 4 4 6-6-4-4Z",key:"1sshf7"}],["path",{d:"m16 8 3-3",key:"x428zp"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}]]);/**
832 * @license lucide-react v0.462.0 - ISC
833 *
834 * This source code is licensed under the ISC license.
835 * See the LICENSE file in the root directory of this source tree.
836 */const G_e=D("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/**
837 * @license lucide-react v0.462.0 - ISC
838 *
839 * This source code is licensed under the ISC license.
840 * See the LICENSE file in the root directory of this source tree.
841 */const Y_e=D("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/**
842 * @license lucide-react v0.462.0 - ISC
843 *
844 * This source code is licensed under the ISC license.
845 * See the LICENSE file in the root directory of this source tree.
846 */const X_e=D("School",[["path",{d:"M14 22v-4a2 2 0 1 0-4 0v4",key:"hhkicm"}],["path",{d:"m18 10 3.447 1.724a1 1 0 0 1 .553.894V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-7.382a1 1 0 0 1 .553-.894L6 10",key:"1xqip1"}],["path",{d:"M18 5v17",key:"1sw6gf"}],["path",{d:"m4 6 7.106-3.553a2 2 0 0 1 1.788 0L20 6",key:"9d2ml
846k"}],["path",{d:"M6 5v17",key:"1xfsm0"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}]]);/**
847 * @license lucide-react v0.462.0 - ISC
848 *
849 * This source code is licensed under the ISC license.
850 * See the LICENSE file in the root directory of this source tree.
851 */const J_e=D("ScrollText",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]);/**
852 * @license lucide-react v0.462.0 - ISC
853 *
854 * This source code is licensed under the ISC license.
855 * See the LICENSE file in the root directory of this source tree.
856 */const Q_e=D("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
857 * @license lucide-react v0.462.0 - ISC
858 *
859 * This source code is licensed under the ISC license.
860 * See the LICENSE file in the root directory of this source tree.
861 */const Z_e=D("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
862 * @license lucide-react v0.462.0 - ISC
863 *
864 * This source code is licensed under the ISC license.
865 * See the LICENSE file in the root directory of this source tree.
866 */const eCe=D("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"}]]);/**
867 * @license lucide-react v0.462.0 - ISC
868 *
869 * This source code is licensed under the ISC license.
870 * See the LICENSE file in the root directory of this source tree.
871 */const tCe=D("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/**
872 * @license lucide-react v0.462.0 - ISC
873 *
874 * This source code is licensed under the ISC license.
875 * See the LICENSE file in the root directory of this source tree.
876 */const nCe=D("ShieldAlert",[["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"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/**
877 * @license lucide-react v0.462.0 - ISC
878 *
879 * This source code is licensed under the ISC license.
880 * See the LICENSE file in the root directory of this source tree.
881 */const rCe=D("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
882 * @license lucide-react v0.462.0 - ISC
883 *
884 * This source code is licensed under the ISC license.
885 * See the LICENSE file in the root directory of this source tree.
886 */const oCe=D("ShieldOff",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71",key:"1jlk70"}],["path",{d:"M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264",key:"18rp1v"}]]);/**
887 * @license lucide-react v0.462.0 - ISC
888 *
889 * This source code is licensed under the ISC license.
890 * See the LICENSE file in the root directory of this source tree.
891 */const iCe=D("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
891y:"oel41y"}]]);/**
892 * @license lucide-react v0.462.0 - ISC
893 *
894 * This source code is licensed under the ISC license.
895 * See the LICENSE file in the root directory of this source tree.
896 */const sCe=D("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);/**
897 * @license lucide-react v0.462.0 - ISC
898 *
899 * This source code is licensed under the ISC license.
900 * See the LICENSE file in the root directory of this source tree.
901 */const aCe=D("ShoppingBasket",[["path",{d:"m15 11-1 9",key:"5wnq3a"}],["path",{d:"m19 11-4-7",key:"cnml18"}],["path",{d:"M2 11h20",key:"3eubbj"}],["path",{d:"m3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4",key:"yiazzp"}],["path",{d:"M4.5 15.5h15",key:"13mye1"}],["path",{d:"m5 11 4-7",key:"116ra9"}],["path",{d:"m9 11 1 9",key:"1ojof7"}]]);/**
902 * @license lucide-react v0.462.0 - ISC
903 *
904 * This source code is licensed under the ISC license.
905 * See the LICENSE file in the root directory of this source tree.
906 */const lCe=D("Shuffle",[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]]);/**
907 * @license lucide-react v0.462.0 - ISC
908 *
909 * This source code is licensed under the ISC license.
910 * See the LICENSE file in the root directory of this source tree.
911 */const uCe=D("Siren",[["path",{d:"M7 18v-6a5 5 0 1 1 10 0v6",key:"pcx96s"}],["path",{d:"M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z",key:"1b4s83"}],["path",{d:"M21 12h1",key:"jtio3y"}],["path",{d:"M18.5 4.5 18 5",key:"g5sp9y"}],["path",{d:"M2 12h1",key:"1uaihz"}],["path",{d:"M12 2v1",key:"11qlp1"}],["path",{d:"m4.929 4.929.707.707",key:"1i51kw"}],["path",{d:"M12 12v6",key:"3ahymv"}]]);/**
912 * @license lucide-react v0.462.0 - ISC
913 *
914 * This source code is licensed under the ISC license.
915 * See the LICENSE file in the root directory of this source tree.
916 */const cCe=D("Skull",[["path",{d:"m12.5 17-.5-1-.5 1h1z",key:"3me087"}],["path",{d:"M15 22a1 1 0 0 0 1-1v-1a2 2 0 0 0 1.56-3.25 8 8 0 1 0-11.12 0A2 2 0 0 0 8 20v1a1 1 0 0 0 1 1z",key:"1o5pge"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}]]);/**
917 * @license lucide-react v0.462.0 - ISC
918 *
919 * This source code is licensed under the ISC license.
920 * See the LICENSE file in the root directory of this source tree.
921 */const dCe=D("Smile",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);/**
922 * @license lucide-react v0.462.0 - ISC
923 *
924 * This source code is licensed under the ISC license.
925 * See the LICENSE file in the root directory of this source tree.
926 */const fCe=D("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
927 * @license lucide-react v0.462.0 - ISC
928 *
929 * This source code is licensed under the ISC license.
930 * See the LICENSE file in the root directory of this source tree.
931 */const hCe=D("Stamp",[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M19.27 13.73A2.5 2.5 0 0 0 17.5 13h-11A2.5 2.5 0 0 0 4 15.5V17a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-1.5c0-.66-.26-1.3-.73-1.77Z",key:"1sy9ra"}],["path",{d:"M14 13V8.5C14 7 15 7 15 5a3 3 0 0 0-3-3c-1.66 0-3 1-3 3s1 2 1 3.5V13",key:"cnxgux"}]]);/**
932 * @license lucide-react v0.462.0 - ISC
933 *
934 * This source code is licensed under the ISC license.
935 * See the LICENSE file in the root directory of this source tree.
936 */const pCe=D("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
937 * @license lucide-react v0.462.0 - ISC
938 *
939 * This source code is licensed under the ISC license.
940 * See the LICENSE file in the root directory of this source tree.
941 */const mCe=D("Stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]]);/**
942 * @license lucide-react v0.462.0 - ISC
943 *
944 * This source code is licensed under the ISC license.
945 * See the LICENSE file in the root directory of this source tree.
946 */const gCe=D("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
947 * @license lucide-react v0.462.0 - ISC
948 *
949 * This source code is licensed under the ISC license.
950 * See the LICENSE file in the root directory of this source tree.
951 */const yCe=D("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
952 * @license lucide-react v0.462.0 - ISC
953 *
954 * This source code is licensed under the ISC license.
955 * See the LICENSE file in the root directory of this source tree.
956 */const vCe=D("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}
956],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
957 * @license lucide-react v0.462.0 - ISC
958 *
959 * This source code is licensed under the ISC license.
960 * See the LICENSE file in the root directory of this source tree.
961 */const wCe=D("TreePine",[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]]);/**
962 * @license lucide-react v0.462.0 - ISC
963 *
964 * This source code is licensed under the ISC license.
965 * See the LICENSE file in the root directory of this source tree.
966 */const bCe=D("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
967 * @license lucide-react v0.462.0 - ISC
968 *
969 * This source code is licensed under the ISC license.
970 * See the LICENSE file in the root directory of this source tree.
971 */const SCe=D("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
972 * @license lucide-react v0.462.0 - ISC
973 *
974 * This source code is licensed under the ISC license.
975 * See the LICENSE file in the root directory of this source tree.
976 */const xCe=D("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"}]]);/**
977 * @license lucide-react v0.462.0 - ISC
978 *
979 * This source code is licensed under the ISC license.
980 * See the LICENSE file in the root directory of this source tree.
981 */const kCe=D("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);/**
982 * @license lucide-react v0.462.0 - ISC
983 *
984 * This source code is licensed under the ISC license.
985 * See the LICENSE file in the root directory of this source tree.
986 */const ECe=D("Underline",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]]);/**
987 * @license lucide-react v0.462.0 - ISC
988 *
989 * This source code is licensed under the ISC license.
990 * See the LICENSE file in the root directory of this source tree.
991 */const _Ce=D("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);/**
992 * @license lucide-react v0.462.0 - ISC
993 *
994 * This source code is licensed under the ISC license.
995 * See the LICENSE file in the root directory of this source tree.
996 */const CCe=D("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
997 * @license lucide-react v0.462.0 - ISC
998 *
999 * This source code is licensed under the ISC license.
1000 * See the LICENSE file in the root directory of this source tree.
1001 */const TCe=D("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/**
1002 * @license lucide-react v0.462.0 - ISC
1003 *
1004 * This source code is licensed under the ISC license.
1005 * See the LICENSE file in the root directory of this source tree.
1006 */const ACe=D("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
1007 * @license lucide-react v0.462.0 - ISC
1008 *
1009 * This source code is licensed under the ISC license.
1010 * See the LICENSE file in the root directory of this source tree.
1011 */const PCe=D("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
1012 * @license lucide-react v0.462.0 - ISC
1013 *
1014 * This source code is licensed under the ISC license.
1015 * See the LICENSE file in the root directory of this source tree.
1016 */const RCe=D("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
1017 * @license lucide-react v0.462.0 - ISC
1018 *
1019 * This source code is licensed under the ISC license.
1020 * See the LICENSE file in the root directory of this source tree.
1021 */const OCe=D("UtensilsCrossed",[["path",{d:"m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8",key:"n7qcjb"}],["path",{d:"M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7",key:"d0u48b"}],["path",{d:"m2.1 21.8 6.4-6.3",key:"yn04lh"}],["path",{d:"m19 5-7 7",key:"194lzd"}]]);/**
1022 * @license lucide-react v0.462.0 - ISC
1023 *
1024 * This source code is licensed under the ISC license.
1025 * See the LICENSE file in the root directory of this source tree.
1026 */const MCe=D("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);/**
1027 * @license lucide-react v0.462.0 - ISC
1028 *
1029 * This source code is licensed under the ISC license.
1030 * See the LICENSE file in the root directory of this source tree.
1031 */const ICe=D("Vote",[["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}],["path",{d:"M5 7c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v12H5V7Z",key:"1ezoue"}],["path",{d:"M22 19H2",key:"nuriw5"}]]);/**
1032 * @license lucide-react v0.462.0 - ISC
1033 *
1034 * This source code is licensed under the ISC license.
1035 * See the LICENSE file in the root directory of this source tree.
1036 */const DCe=D("Wifi",[["path",{d:"M12 20h.01",key:"zekei9"}
vendor: 9,776 bytes, lines 1036-1066
1036],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);/**
1037 * @license lucide-react v0.462.0 - ISC
1038 *
1039 * This source code is licensed under the ISC license.
1040 * See the LICENSE file in the root directory of this source tree.
1041 */const LCe=D("Wind",[["path",{d:"M12.8 19.6A2 2 0 1 0 14 16H2",key:"148xed"}],["path",{d:"M17.5 8a2.5 2.5 0 1 1 2 4H2",key:"1u4tom"}],["path",{d:"M9.8 4.4A2 2 0 1 1 11 8H2",key:"75valh"}]]);/**
1042 * @license lucide-react v0.462.0 - ISC
1043 *
1044 * This source code is licensed under the ISC license.
1045 * See the LICENSE file in the root directory of this source tree.
1046 */const $Ce=D("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"}]]);/**
1047 * @license lucide-react v0.462.0 - ISC
1048 *
1049 * This source code is licensed under the ISC license.
1050 * See the LICENSE file in the root directory of this source tree.
1051 */const NCe=D("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
1052 * @license lucide-react v0.462.0 - ISC
1053 *
1054 * This source code is licensed under the ISC license.
1055 * See the LICENSE file in the root directory of this source tree.
1056 */const jCe=D("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"}]]);/**
1057 * @license lucide-react v0.462.0 - ISC
1058 *
1059 * This source code is licensed under the ISC license.
1060 * See the LICENSE file in the root directory of this source tree.
1061 */const FCe=D("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);/**
1062 * @license lucide-react v0.462.0 - ISC
1063 *
1064 * This source code is licensed under the ISC license.
1065 * See the LICENSE file in the root directory of this source tree.
1066 */const BCe=D("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),N2="-",KG=e=>{const t=YG(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(N2);return a[0]===""&&a.length!==1&&a.shift(),P$(a,t)||GG(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},P$=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?P$(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(N2);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},iA=/^\[(.+)\]$/,GG=e=>{if(iA.test(e)){const t=iA.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},YG=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return JG(Object.entries(e.classGroups),n).forEach(([i,s])=>{mb(s,r,i,t)}),r},mb=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:sA(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(XG(o)){mb(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{mb(s,sA(t,i),n,r)})})},sA=(e,t)=>{let n=e;return t.split(N2).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},XG=e=>e.isThemeGetter,JG=(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,QG=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)}}},R$="!",ZG=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 m=0;m<a.length;m++){let y=a[m];if(u===0){if(y===o&&(r||a.slice(m,m+i)===t)){l.push(a.slice(c,m)),c=m+i;continue}if(y==="/"){d=m;continue}}y==="["?u++:y==="]"&&u--}const f=l.length===0?a:a.substring(c),h=f.startsWith(R$),g=h?f.substring(1):f,p=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:p}};return n?a=>n({className:a,parseClassName:s}):s},eY=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},tY=e=>({cache:QG(e.cacheSize),parseClassName:ZG(e),...KG(e)}),nY=/\s+/,rY=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(nY);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 g=!!h,p=r(g?f.substring(0,h):f);if(!p){if(!g){a=u+(a.length>0?" "+a:a);continue}if(p=r(f),!p){a=u+(a.length>0?" "+a:a);continue}g=!1}const m=eY(c).join(":"),y=d?m+R$:m,v=y+p;if(i.includes(v))continue;i.push(v);const w=o(p,g);for(let S=0;S<w.length;++S){const x=w[S];i.push(y+x)}a=u+(a.length>0?" "+a:a)}return a};function oY(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=O$(t))&&(r&&(r+=" "),r+=n);return r}const O$=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=O$(e[r]))&&(n&&(n+=" "),n+=t);return n};function iY(e,...t){let n,r,o,i=s;function s(l){const u=t.reduce((c,d)=>d(c),e());return n=tY(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=rY(l,n);return o(l,c),c}return function(){return i(oY.apply(null,arguments))}}const at=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},M$=/^\[(?:([a-z-]+):)?(.+)\]$/i,sY=/^\d+\/\d+$/,aY=new Set(["px","full","screen"]),lY=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,uY=/\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$/,cY=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,dY=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fY=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,li=e=>cu(e)||aY.has(e)||sY.test(e),Hi=e=>ec(e,"length",bY),cu=e=>!!e&&!Number.isNaN(Number(e)),b0=e=>ec(e,"number",cu),Mc=e=>!!e&&Number.isInteger(Number(e)),hY=e=>e.endsWith("%")&&cu(e.slice(0,-1)),Ce=e=>M$.test(e),Wi=e=>lY.test(e),pY=new Set(["length","size","percentage"]),mY=e=>ec(e,pY,I$),gY=e=>ec(e,"position",I$),yY=new Set(["image","url"]),vY=e=>ec(e,yY,xY),wY=e=>ec(e,"",SY),Ic=()=>!0,ec=(e,t,n)=>{const r=M$.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},bY=e=>uY.test(e)&&!cY.test(e),I$=()=>!1,SY=e=>dY.test(e),xY=e=>fY.test(e),kY=()=>{const e=at("colors"),t=at("spacing"),n=at("blur"),r=at("brightness"),o=at("borderColor"),i=at("borderRadius"),s=at("borderSpacing"),a=at("borderWidth"),l=at("contrast"),u=at("grayscale"),c=at("hueRotate"),d=at("invert"),f=at("gap"),h=at("gradientColorStops"),g=at("gradientColorStopPositions"),p=at("inset"),m=at("margin"),y=at("opacity"),v=at("padding"),w=at("saturate"),S=at("scale"),x=at("sepia"),k=at("skew"),_=at("space"),A=at("translate"),M=()=>["auto","contain","none"],I=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",Ce,t],L=()=>[Ce,t],Z=()=>["",li,Hi],V=()=>["auto",cu,Ce],ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",Ce],P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[cu,Ce];return{cacheSize:500,separator:":",theme:{colors:[Ic],spacing:[li,Hi],blur:["none","",Wi,Ce],brightness:C(),borderColor:[e],borderRadius:["none","","full",Wi,Ce],borderSpacing:L(),borderWidth:Z(),contrast:C(),grayscale:j(),hueRotate:C(),invert:j(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[hY,Hi],inset:N(),margin:N(),opacity:C(),padding:L(),saturate:C(),scale:C(),sepia:j(),skew:C(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",Ce]}],container:["container"],columns:[{columns:[Wi]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ee(),Ce]}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}
vendor: 4,768 bytes, line 1066
1066],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Mc,Ce]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ce]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",Mc,Ce]}],"grid-cols":[{"grid-cols":[Ic]}],"col-start-end":[{col:["auto",{span:["full",Mc,Ce]},Ce]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[Ic]}],"row-start-end":[{row:["auto",{span:[Mc,Ce]},Ce]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ce]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ce]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ce,t]}],"min-w":[{"min-w":[Ce,t,"min","max","fit"]}],"max-w":[{"max-w":[Ce,t,"none","full","min","max","fit","prose",{screen:[Wi]},Wi]}],h:[{h:[Ce,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ce,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ce,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ce,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Wi,Hi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",b0]}],"font-family":[{font:[Ic]}],"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",Ce]}],"line-clamp":[{"line-clamp":["none",cu,b0]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",li,Ce]}],"list-image":[{"list-image":["none",Ce]}],"list-style-type":[{list:["none","disc","decimal",Ce]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",li,Hi]}],"underline-offset":[{"underline-offset":["auto",li,Ce]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ce]}],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",Ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ee(),gY]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",mY]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},vY]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}
1066],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"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":[y]}],"border-style":[{border:[...G(),"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":[y]}
vendor: 4,467 bytes, line 1066
1066],"divide-style":[{divide:G()}],"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:["",...G()]}],"outline-offset":[{"outline-offset":[li,Ce]}],"outline-w":[{outline:[li,Hi]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[li,Hi]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Wi,wY]}],"shadow-color":[{shadow:[Ic]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Wi,Ce]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[x]}],"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":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"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",Ce]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",Ce]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ce]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Mc,Ce]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ce]}],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",Ce]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],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",Ce]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[li,Hi,b0]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
vendor: 4,435 bytes, line 1066
1066none"]}]},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"]}}},UCe=iY(kY);var EY=GS[" useId ".trim().toString()]||(()=>{}),_Y=0;function _i(e){const[t,n]=b.useState(EY());return Xt(()=>{n(r=>r??String(_Y++))},[e]),t?`radix-${t}`:""}const CY=["top","right","bottom","left"],zs=Math.min,mr=Math.max,Lm=Math.round,jh=Math.floor,Ko=e=>({x:e,y:e}),TY={left:"right",right:"left",bottom:"top",top:"bottom"},AY={start:"end",end:"start"};function gb(e,t,n){return mr(e,zs(t,n))}function Mi(e,t){return typeof e=="function"?e(t):e}function Ii(e){return e.split("-")[0]}function tc(e){return e.split("-")[1]}function j2(e){return e==="x"?"y":"x"}function F2(e){return e==="y"?"height":"width"}const PY=new Set(["top","bottom"]);function zo(e){return PY.has(Ii(e))?"y":"x"}function B2(e){return j2(zo(e))}function RY(e,t,n){n===void 0&&(n=!1);const r=tc(e),o=B2(e),i=F2(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=$m(s)),[s,$m(s)]}function OY(e){const t=$m(e);return[yb(e),t,yb(t)]}function yb(e){return e.replace(/start|end/g,t=>AY[t])}const aA=["left","right"],lA=["right","left"],MY=["top","bottom"],IY=["bottom","top"];function DY(e,t,n){switch(e){case"top":case"bottom":return n?t?lA:aA:t?aA:lA;case"left":case"right":return t?MY:IY;default:return[]}}function LY(e,t,n,r){const o=tc(e);let i=DY(Ii(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(yb)))),i}function $m(e){return e.replace(/left|right|bottom|top/g,t=>TY[t])}function $Y(e){return{top:0,right:0,bottom:0,left:0,...e}}function D$(e){return typeof e!="number"?$Y(e):{top:e,right:e,bottom:e,left:e}}function Nm(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 uA(e,t,n){let{reference:r,floating:o}=e;const i=zo(t),s=B2(t),a=F2(s),l=Ii(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(tc(t)){case"start":h[s]-=f*(n&&u?-1:1);break;case"end":h[s]+=f*(n&&u?-1:1);break}return h}const NY=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}
vendor: 9,018 bytes, line 1066
1066=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}=uA(u,r,l),f=r,h={},g=0;for(let p=0;p<a.length;p++){const{name:m,fn:y}=a[p],{x:v,y:w,data:S,reset:x}=await y({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});c=v??c,d=w??d,h={...h,[m]:{...h[m],...S}},x&&g<=50&&(g++,typeof x=="object"&&(x.placement&&(f=x.placement),x.rects&&(u=x.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:c,y:d}=uA(u,f,l)),p=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:h}};async function ff(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}=Mi(t,e),g=D$(h),m=a[f?d==="floating"?"reference":"floating":d],y=Nm(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),v=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),S=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},x=Nm(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:w,strategy:l}):v);return{top:(y.top-x.top+g.top)/S.y,bottom:(x.bottom-y.bottom+g.bottom)/S.y,left:(y.left-x.left+g.left)/S.x,right:(x.right-y.right+g.right)/S.x}}const jY=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}=Mi(e,t)||{};if(u==null)return{};const d=D$(c),f={x:n,y:r},h=B2(o),g=F2(h),p=await s.getDimensions(u),m=h==="y",y=m?"top":"left",v=m?"bottom":"right",w=m?"clientHeight":"clientWidth",S=i.reference[g]+i.reference[h]-f[h]-i.floating[g],x=f[h]-i.reference[h],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let _=k?k[w]:0;(!_||!await(s.isElement==null?void 0:s.isElement(k)))&&(_=a.floating[w]||i.floating[g]);const A=S/2-x/2,M=_/2-p[g]/2-1,I=zs(d[y],M),N=zs(d[v],M),L=I,Z=_-p[g]-N,V=_/2-p[g]/2+A,ee=gb(L,V,Z),G=!l.arrow&&tc(o)!=null&&V!==ee&&i.reference[g]/2-(V<L?I:N)-p[g]/2<0,B=G?V<L?V-L:V-Z:0;return{[h]:f[h]+B,data:{[h]:ee,centerOffset:V-ee-B,...G&&{alignmentOffset:B}},reset:G}}}),FY=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:g="none",flipAlignment:p=!0,...m}=Mi(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=Ii(o),v=zo(a),w=Ii(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),x=f||(w||!p?[$m(a)]:OY(a)),k=g!=="none";!f&&k&&x.push(...LY(a,p,g,S));const _=[a,...x],A=await ff(t,m),M=[];let I=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&M.push(A[y]),d){const V=RY(o,s,S);M.push(A[V[0]],A[V[1]])}if(I=[...I,{placement:o,overflows:M}],!M.every(V=>V<=0)){var N,L;const V=(((N=i.flip)==null?void 0:N.index)||0)+1,ee=_[V];if(ee&&(!(d==="alignment"?v!==zo(ee):!1)||I.every(R=>R.overflows[0]>0&&zo(R.placement)===v)))return{data:{index:V,overflows:I},reset:{placement:ee}};let G=(L=I.filter(B=>B.overflows[0]<=0).sort((B,R)=>B.overflows[1]-R.overflows[1])[0])==null?void 0:L.placement;if(!G)switch(h){case"bestFit":{var Z;const B=(Z=I.filter(R=>{if(k){const j=zo(R.placement);return j===v||j==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(j=>j>0).reduce((j,P)=>j+P,0)]).sort((R,j)=>R[1]-j[1])[0])==null?void 0:Z[0];B&&(G=B);break}case"initialPlacement":G=a;break}if(o!==G)return{reset:{placement:G}}}return{}}}};function cA(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function dA(e){return CY.some(t=>e[t]>=0)}const BY=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Mi(e,t);switch(r){case"referenceHidden":{const i=await ff(t,{...o,elementContext:"reference"}),s=cA(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:dA(s)}}}case"escaped":{const i=await ff(t,{...o,altBoundary:!0}),s=cA(i,n.floating);return{data:{escapedOffsets:s,escaped:dA(s)}}}default:return{}}}}},L$=new Set(["left","top"]);async function UY(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Ii(n),a=tc(n),l=zo(n)==="y",u=L$.has(s)?-1:1,c=i&&l?-1:1,d=Mi(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof g=="number"&&(h=a==="end"?g*-1:g),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}const zY=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 UY(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}}}}},VY=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:m=>{let{x:y,y:v}=m;return{x:y,y:v}}},...l}=Mi(e,t),u={x:n,y:r},c=await ff(t,l),d=zo(Ii(o)),f=j2(d);let h=u[f],g=u[d];if(i){const m=f==="y"?"top":"left",y=f==="y"?"bottom":"right",v=h+c[m],w=h-c[y];h=gb(v,h,w)}if(s){const m=d==="y"?"top":"left",y=d==="y"?"bottom":"right",v=g+c[m],w=g-c[y];g=gb(v,g,w)}const p=a.fn({...t,[f]:h,[d]:g});return{...p,data:{x:p.x-n,y:p.y-r,enabled:{[f]:i,[d]:s}}}}}},HY=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}=Mi(e,t),c={x:n,y:r},d=zo(o),f=j2(d);let h=c[f],g=c[d];const p=Mi(a,t),m=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const w=f==="y"?"height":"width",S=i.reference[f]-i.floating[w]+m.mainAxis,x=i.reference[f]+i.reference[w]-m.mainAxis;h<S?h=S:h>x&&(h=x)}if(u){var y,v;const w=f==="y"?"width":"height",S=L$.has(Ii(o)),x=i.reference[d]-i.floating[w]+(S&&((y=s.offset)==null?void 0:y[d])||0)+(S?0:m.crossAxis),k=i.reference[d]+i.reference[w]+(S?0:((v=s.offset)==null?void 0:v[d])||0)-(S?m.crossAxis:0);g<x?g=x:g>k&&(g=k)}return{[f]:h,[d]:g}}}},WY=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}=Mi(e,t),c=await ff(t,u),d=Ii(o),f=tc(o),h=zo(o)==="y",{width:g,height:p}=i.floating;let m,y;d==="top"||d==="bottom"?(m=d,y=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(y=d,m=f==="end"?"top":"bottom");const v=p-c.top-c.bottom,w=g-c.left-c.right,S=zs(p-c[m],v),x=zs(g-c[y],w),k=!t.middlewareData.shift;let _=S,A=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(_=v),k&&!f){const I=mr(c.left,0),N=mr(c.right,0),L=mr(c.top,0),Z=mr(c.bottom,0);h?A=g-2*(I!==0||N!==0?I+N:mr(c.left,c.right)):_=p-2*(L!==0||Z!==0?L+Z:mr(c.top,c.bottom))}await l({...t,availableWidth:A,availableHeight:_});const M=await s.getDimensions(a.floating);return g!==M.width||p!==M.height?{reset:{rects:!0}}:{}}}};function my(){return typeof window<"u"}function nc(e){return $$(e)?(e.nodeName||"").toLowerCase():"#document"}function Sr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ei(e){var t;return(t=($$(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $$(e){return my()?e instanceof Node||e instanceof Sr(e).Node:!1}function vo(e){return my()?e instanceof Element||e instanceof Sr(e).Element:!1}function Xo(e){return my()?e instanceof HTMLElement||e instanceof Sr(e).HTMLElement:!1}function fA(e){return!my()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Sr(e).ShadowRoot}const qY=new Set(["inline","contents"]);function Yf(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=wo(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!qY.has(o)}const KY=new Set(["table","td","th"]);function GY(e){return KY.has(nc(e))}const YY=[":popover-open",":modal"];function gy(e){return YY.some(t=>{try{return e.matches(t)}catch{return!1}})}const XY=["transform","translate","scale","rotate","perspective"],JY=["transform","translate","scale","rotate","perspective","filter"],QY=["paint","layout","strict","content"];function U2(e){const t=z2(),n=vo(e)?wo(e):e;return XY.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)||JY.
vendor: 4,783 bytes, line 1066
1066some(r=>(n.willChange||"").includes(r))||QY.some(r=>(n.contain||"").includes(r))}function ZY(e){let t=Vs(e);for(;Xo(t)&&!Nu(t);){if(U2(t))return t;if(gy(t))return null;t=Vs(t)}return null}function z2(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const eX=new Set(["html","body","#document"]);function Nu(e){return eX.has(nc(e))}function wo(e){return Sr(e).getComputedStyle(e)}function yy(e){return vo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Vs(e){if(nc(e)==="html")return e;const t=e.assignedSlot||e.parentNode||fA(e)&&e.host||ei(e);return fA(t)?t.host:t}function N$(e){const t=Vs(e);return Nu(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xo(t)&&Yf(t)?t:N$(t)}function hf(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=N$(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=Sr(o);if(i){const a=vb(s);return t.concat(s,s.visualViewport||[],Yf(o)?o:[],a&&n?hf(a):[])}return t.concat(o,hf(o,[],n))}function vb(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function j$(e){const t=wo(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Xo(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Lm(n)!==i||Lm(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function V2(e){return vo(e)?e:e.contextElement}function du(e){const t=V2(e);if(!Xo(t))return Ko(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=j$(t);let s=(i?Lm(n.width):n.width)/r,a=(i?Lm(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const tX=Ko(0);function F$(e){const t=Sr(e);return!z2()||!t.visualViewport?tX:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function nX(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Sr(e)?!1:t}function tl(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=V2(e);let s=Ko(1);t&&(r?vo(r)&&(s=du(r)):s=du(e));const a=nX(i,n,r)?F$(i):Ko(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=Sr(i),h=r&&vo(r)?Sr(r):r;let g=f,p=vb(g);for(;p&&r&&h!==g;){const m=du(p),y=p.getBoundingClientRect(),v=wo(p),w=y.left+(p.clientLeft+parseFloat(v.paddingLeft))*m.x,S=y.top+(p.clientTop+parseFloat(v.paddingTop))*m.y;l*=m.x,u*=m.y,c*=m.x,d*=m.y,l+=w,u+=S,g=Sr(p),p=vb(g)}}return Nm({width:c,height:d,x:l,y:u})}function H2(e,t){const n=yy(e).scrollLeft;return t?t.left+n:tl(ei(e)).left+n}function B$(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:H2(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function rX(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=ei(r),a=t?gy(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=Ko(1);const c=Ko(0),d=Xo(r);if((d||!d&&!i)&&((nc(r)!=="body"||Yf(s))&&(l=yy(r)),Xo(r))){const h=tl(r);u=du(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const f=s&&!d&&!i?B$(s,l,!0):Ko(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 oX(e){return Array.from(e.getClientRects())}function iX(e){const t=ei(e),n=yy(e),r=e.ownerDocument.body,o=mr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=mr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+H2(e);const a=-n.scrollTop;return wo(r).direction==="rtl"&&(s+=mr(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function sX(e,t){const n=Sr(e),r=ei(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=z2();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}const aX=new Set(["absolute","fixed"]);function lX(e,t){const n=tl(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Xo(e)?du(e):Ko(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 hA(e,t,n){let r;if(t==="viewport")r=sX(e,n);else if(t==="document")r=iX(ei(e));else if(vo(t))r=lX(t,n);else{const o=F$(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Nm(r)}function U$(e,t){const n=Vs(e);return n===t||!vo(n)||Nu(n)?!1:wo(n).position==="fixed"||U$(n,t)}function uX(e,t){const n=t.get(e);if(n)return n;let r=hf(e,[],!1).filter(a=>vo(a)&&nc(a)!=="body"),o=null;const i=wo(e).position==="fixed";let s=i?Vs(e):e;for(;vo(s)&&!Nu(s);){const a=wo(s),l=U2(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&aX.has(o.position)||Yf(s)&&!l&&U$(e,s))?r=r.filter(c=>c!==s):o=a,s=Vs(s)}return t.set(e,r),r}function cX(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?gy(t)?[]:uX(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const d=hA(t,c,o);
vendor: 10,045 bytes, line 1066
1066return u.top=mr(d.top,u.top),u.right=zs(d.right,u.right),u.bottom=zs(d.bottom,u.bottom),u.left=mr(d.left,u.left),u},hA(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function dX(e){const{width:t,height:n}=j$(e);return{width:t,height:n}}function fX(e,t,n){const r=Xo(t),o=ei(t),i=n==="fixed",s=tl(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=Ko(0);function u(){l.x=H2(o)}if(r||!r&&!i)if((nc(t)!=="body"||Yf(o))&&(a=yy(t)),r){const h=tl(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?B$(o,a):Ko(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 S0(e){return wo(e).position==="static"}function pA(e,t){if(!Xo(e)||wo(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ei(e)===n&&(n=n.ownerDocument.body),n}function z$(e,t){const n=Sr(e);if(gy(e))return n;if(!Xo(e)){let o=Vs(e);for(;o&&!Nu(o);){if(vo(o)&&!S0(o))return o;o=Vs(o)}return n}let r=pA(e,t);for(;r&&GY(r)&&S0(r);)r=pA(r,t);return r&&Nu(r)&&S0(r)&&!U2(r)?n:r||ZY(e)||n}const hX=async function(e){const t=this.getOffsetParent||z$,n=this.getDimensions,r=await n(e.floating);return{reference:fX(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function pX(e){return wo(e).direction==="rtl"}const mX={convertOffsetParentRelativeRectToViewportRelativeRect:rX,getDocumentElement:ei,getClippingRect:cX,getOffsetParent:z$,getElementRects:hX,getClientRects:oX,getDimensions:dX,getScale:du,isElement:vo,isRTL:pX};function V$(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function gX(e,t){let n=null,r;const o=ei(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 g=jh(d),p=jh(o.clientWidth-(c+f)),m=jh(o.clientHeight-(d+h)),y=jh(c),w={rootMargin:-g+"px "+-p+"px "+-m+"px "+-y+"px",threshold:mr(0,zs(1,l))||1};let S=!0;function x(k){const _=k[0].intersectionRatio;if(_!==l){if(!S)return s();_?s(!1,_):r=setTimeout(()=>{s(!1,1e-7)},1e3)}_===1&&!V$(u,e.getBoundingClientRect())&&s(),S=!1}try{n=new IntersectionObserver(x,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(x,w)}n.observe(e)}return s(!0),i}function yX(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=V2(e),c=o||i?[...u?hf(u):[],...hf(t)]:[];c.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const d=u&&a?gX(u,n):null;let f=-1,h=null;s&&(h=new ResizeObserver(y=>{let[v]=y;v&&v.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=h)==null||w.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let g,p=l?tl(e):null;l&&m();function m(){const y=tl(e);p&&!V$(p,y)&&n(),p=y,g=requestAnimationFrame(m)}return n(),()=>{var y;c.forEach(v=>{o&&v.removeEventListener("scroll",n),i&&v.removeEventListener("resize",n)}),d==null||d(),(y=h)==null||y.disconnect(),h=null,l&&cancelAnimationFrame(g)}}const vX=zY,wX=VY,bX=FY,SX=WY,xX=BY,mA=jY,kX=HY,EX=(e,t,n)=>{const r=new Map,o={platform:mX,...n},i={...o.platform,_c:r};return NY(e,t,{...o,platform:i})};var _X=typeof document<"u",CX=function(){},Ip=_X?b.useLayoutEffect:CX;function jm(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,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(!jm(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)&&!jm(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function H$(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function gA(e,t){const n=H$(e);return Math.round(t*n)/n}function x0(e){const t=b.useRef(e);return Ip(()=>{t.current=e}),t}function TX(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=b.useState(r);jm(f,r)||h(r);const[g,p]=b.useState(null),[m,y]=b.useState(null),v=b.useCallback(R=>{R!==k.current&&(k.current=R,p(R))},[]),w=b.useCallback(R=>{R!==_.current&&(_.current=R,y(R))},[]),S=i||g,x=s||m,k=b.useRef(null),_=b.useRef(null),A=b.useRef(c),M=l!=null,I=x0(l),N=x0(o),L=x0(u),Z=b.useCallback(()=>{if(!k.current||!_.current)return;const R={placement:t,strategy:n,middleware:f};N.current&&(R.platform=N.current),EX(k.current,_.current,R).then(j=>{const P={...j,isPositioned:L.current!==!1};V.current&&!jm(A.current,P)&&(A.current=P,cl.flushSync(()=>{d(P)}))})},[f,t,n,N,L]);Ip(()=>{u===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,d(R=>({...R,isPositioned:!1})))},[u]);const V=b.useRef(!1);Ip(()=>(V.current=!0,()=>{V.current=!1}),[]),Ip(()=>{if(S&&(k.current=S),x&&(_.current=x),S&&x){if(I.current)return I.current(S,x,Z);Z()}},[S,x,Z,I,M]);const ee=b.useMemo(()=>({reference:k,floating:_,setReference:v,setFloating:w}),[v,w]),G=b.useMemo(()=>({reference:S,floating:x}),[S,x]),B=b.useMemo(()=>{const R={position:n,left:0,top:0};if(!G.floating)return R;const j=gA(G.floating,c.x),P=gA(G.floating,c.y);return a?{...R,transform:"translate("+j+"px, "+P+"px)",...H$(G.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:j,top:P}},[n,a,G.floating,c.x,c.y]);return b.useMemo(()=>({...c,update:Z,refs:ee,elements:G,floatingStyles:B}),[c,Z,ee,G,B])}const AX=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?mA({element:r.current,padding:o}).fn(n):{}:r?mA({element:r,padding:o}).fn(n):{}}}},PX=(e,t)=>({...vX(e),options:[e,t]}),RX=(e,t)=>({...wX(e),options:[e,t]}),OX=(e,t)=>({...kX(e),options:[e,t]}),MX=(e,t)=>({...bX(e),options:[e,t]}),IX=(e,t)=>({...SX(e),options:[e,t]}),DX=(e,t)=>({...xX(e),options:[e,t]}),LX=(e,t)=>({...AX(e),options:[e,t]});var $X="Arrow",W$=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return E.jsx(Ee.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"})})});W$.displayName=$X;var NX=W$;function W2(e){const[t,n]=b.useState(void 0);return Xt(()=>{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 q2="Popper",[q$,rc]=Wr(q2),[jX,K$]=q$(q2),G$=e=>{const{__scopePopper:t,children:n}=e,[r,o]=b.useState(null);return E.jsx(jX,{scope:t,anchor:r,onAnchorChange:o,children:n})};G$.displayName=q2;var Y$="PopperAnchor",X$=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=K$(Y$,n),s=b.useRef(null),a=Fe(t,s);return b.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:E.jsx(Ee.div,{...o,ref:a})});X$.displayName=Y$;var K2="PopperContent",[FX,BX]=q$(K2),J$=b.forwardRef((e,t)=>{var F,J,ce,ae,W,H;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:g,...p}=e,m=K$(K2,n),[y,v]=b.useState(null),w=Fe(t,te=>v(te)),[S,x]=b.useState(null),k=W2(S),_=(k==null?void 0:k.width)??0,A=(k==null?void 0:k.height)??0,M=r+(i!=="center"?"-"+i:""),I=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},N=Array.isArray(u)?u:[u],L=N.length>0,Z={padding:I,boundary:N.filter(zX),altBoundary:L},{refs:V,floatingStyles:ee,placement:G,isPositioned:B,middlewareData:R}=TX({strategy:"fixed",placement:M,whileElementsMounted:(...te)=>yX(...te,{animationFrame:h==="always"}),elements:{reference:m.anchor},middleware:[PX({mainAxis:o+A,alignmentAxis:s}),l&&RX({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?OX():void 0,...Z}),l&&MX({...Z}),IX({...Z,apply:({elements:te,rects:le,availableWidth:me,availableHeight:Ie})=>{const{width:He,height:We}=le.reference,Je=te.floating.style;Je.setProperty("--radix-popper-available-width",`${me}px`),Je.setProperty("--radix-popper-available-height",`${Ie}px`),Je.setProperty("--radix-popper-anchor-width",`${He}px`),Je.setProperty("--radix-popper-anchor-height",`${We}px`)}}),S&&LX({element:S,padding:a}),VX({arrowWidth:_,arrowHeight:A}),f&&DX({strategy:"referenceHidden",...Z})]}),[j,P]=eN(G),C=yo(g);Xt(()=>{B&&(C==null||C())},[B,C]);const U=(F=R.arrow)==null?void 0:F.x,q=(J=R.arrow)==null?void 0:J.y,K=((ce=R.arrow)==null?void 0:ce.centerOffset)!==0,[oe,se]=b.useState();return Xt(()=>{y&&se(window.getComputedStyle(y).zIndex)},[y]),E.jsx("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...ee,transform:B?ee.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:oe,"--radix-popper-transform-origin":[(ae=R.transformOrigin)==null?void 0:ae.x,(W=R.transformOrigin)==null?void 0:W.y].join(" "),...((H=R.hide)==null?void 0:H.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:E.jsx(FX,{scope:n,placedSide:j,onArrowChange:x,arrowX:U,arrowY:q,shouldHideArrow:K,children:E.jsx(Ee.div,{"data-side":j,"data-align":P,...p,ref:w,style:{...p.style,animation:B?void 0:"none"}})})})});J$.displayName=K2;var Q$="PopperArrow",UX={top:"bottom",right:"left",bottom:"top",left:"r
1066ight"},Z$=b.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=BX(Q$,r),s=UX[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(NX,{...o,ref:n,style:{...o.style,display:"block"}})})});Z$.displayName=Q$;function zX(e){return e!==null}var VX=e=>({name:"transformOrigin",options:e,fn(t){var m,y,v;const{placement:n,rects:r,middlewareData:o}=t,s=((m=o.arrow)==null?void 0:m.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=eN(n),d={start:"0%",center:"50%",end:"100%"}[c],f=(((y=o.arrow)==null?void 0:y.x)??0)+a/2,h=(((v=o.arrow)==null?void 0:v.y)??0)+l/2;let g="",p="";return u==="bottom"?(g=s?d:`${f}px`,p=`${-l}px`):u==="top"?(g=s?d:`${f}px`,p=`${r.floating.height+l}px`):u==="right"?(g=`${-l}px`,p=s?d:`${h}px`):u==="left"&&(g=`${r.floating.width+l}px`,p=s?d:`${h}px`),{data:{x:g,y:p}}}});function eN(e){const[t,n="center"]=e.split("-");return[t,n]}var tN=G$,vy=X$,G2=J$,Y2=Z$,[wy]=Wr("Tooltip",[rc]),X2=rc(),nN="TooltipProvider",HX=700,yA="tooltip.open",[WX,rN]=wy(nN),oN=e=>{const{__scopeTooltip:t,delayDuration:n=HX,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=b.useRef(!0),a=b.useRef(!1),l=b.useRef(0);return b.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),E.jsx(WX,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:b.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:i})};oN.displayName=nN;var iN="Tooltip",[zCe,by]=wy(iN),wb="TooltipTrigger",qX=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=by(wb,n),i=rN(wb,n),s=X2(n),a=b.useRef(null),l=Fe(t,a,o.onTriggerChange),u=b.useRef(!1),c=b.useRef(!1),d=b.useCallback(()=>u.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),E.jsx(vy,{asChild:!0,...s,children:E.jsx(Ee.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:Se(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:Se(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:Se(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Se(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Se(e.onBlur,o.onClose),onClick:Se(e.onClick,o.onClose)})})});qX.displayName=wb;var KX="TooltipPortal",[VCe,GX]=wy(KX,{forceMount:void 0}),ju="TooltipContent",sN=b.forwardRef((e,t)=>{const n=GX(ju,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=by(ju,e.__scopeTooltip);return E.jsx(Zo,{present:r||s.open,children:s.disableHoverableContent?E.jsx(aN,{side:o,...i,ref:t}):E.jsx(YX,{side:o,...i,ref:t})})}),YX=b.forwardRef((e,t)=>{const n=by(ju,e.__scopeTooltip),r=rN(ju,e.__scopeTooltip),o=b.useRef(null),i=Fe(t,o),[s,a]=b.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:d}=r,f=b.useCallback(()=>{a(null),d(!1)},[d]),h=b.useCallback((g,p)=>{const m=g.currentTarget,y={x:g.clientX,y:g.clientY},v=eJ(y,m.getBoundingClientRect()),w=tJ(y,v),S=nJ(p.getBoundingClientRect()),x=oJ([...w,...S]);a(x),d(!0)},[d]);return b.useEffect(()=>()=>f(),[f]),b.useEffect(()=>{if(l&&c){const g=m=>h(m,c),p=m=>h(m,l);return l.addEventListener("pointerleave",g),c.addEventListener("pointerleave",p),()=>{l.removeEventListener("pointerleave",g),c.removeEventListener("pointerleave",p)}}},[l,c,h,f]),b.useEffect(()=>{if(s){const g=p=>{const m=p.target,y={x:p.clientX,y:p.clientY},v=(l==null?void 0:l.contains(m))||(c==null?void 0:c.contains(m)),w=!rJ(y,s);v?f():w&&(f(),u())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[l,c,s,u,f]),E.jsx(aN,{...e,ref:i})}),[XX,JX]=wy(iN,{isInside:!1}),QX=l$("TooltipContent"),aN=b.forwardRef((e,t)=>
vendor: 4,416 bytes, line 1066
1066{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=by(ju,n),u=X2(n),{onClose:c}=l;return b.useEffect(()=>(document.addEventListener(yA,c),()=>document.removeEventListener(yA,c)),[c]),b.useEffect(()=>{if(l.trigger){const d=f=>{const h=f.target;h!=null&&h.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),E.jsx(Zu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:E.jsxs(G2,{"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(QX,{children:r}),E.jsx(XX,{scope:n,isInside:!0,children:E.jsx(_G,{id:l.contentId,role:"tooltip",children:o||r})})]})})});sN.displayName=ju;var lN="TooltipArrow",ZX=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=X2(n);return JX(lN,n).isInside?null:E.jsx(Y2,{...o,...r,ref:t})});ZX.displayName=lN;function eJ(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 tJ(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 nJ(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 rJ(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 oJ(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),iJ(t)}function iJ(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 HCe=oN,WCe=sN,bb=function(e,t){return bb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},bb(e,t)};function sJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");bb(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var et=function(){return et=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},et.apply(this,arguments)};function oc(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function aJ(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):o(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}function lJ(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}const uJ=e=>e?(...t)=>e(...t):(...t)=>fetch(...t);
1066class J2 extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}}class cJ extends J2{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class vA extends J2{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class wA extends J2{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var Sb;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(Sb||(Sb={}));class dJ{constructor(t,{headers:n={},customFetch:r,region:o=Sb.Any}={}){this.url=t,this.headers=n,this.region=o,this.fetch=uJ(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t){return aJ(this,arguments,void 0,function*(n,r={}){var o;let i,s;try{const{headers:a,method:l,body:u,signal:c,timeout:d}=r;let f={},{region:h}=r;h||(h=this.region);const g=new URL(`${this.url}/${n}`);h&&h!=="any"&&(f["x-region"]=h,g.searchParams.set("forceFunctionRegion",h));let p;u&&(a&&!Object.prototype.hasOwnProperty.call(a,"Content-Type")||!a)?typeof Blob<"u"&&u instanceof Blob||u instanceof ArrayBuffer?(f["Content-Type"]="application/octet-stream",p=u):typeof u=="string"?(f["Content-Type"]="text/plain",p=u):typeof FormData<"u"&&u instanceof FormData?p=u:(f["Content-Type"]="application/json",p=JSON.stringify(u)):u&&typeof u!="string"&&!(typeof Blob<"u"&&u instanceof Blob)&&!(u instanceof ArrayBuffer)&&!(typeof FormData<"u"&&u instanceof FormData)?p=JSON.stringify(u):p=u;let m=c;d&&(s=new AbortController,i=setTimeout(()=>s.abort(),d),c?(m=s.signal,c.addEventListener("abort",()=>s.abort())):m=s.signal);const y=yield this.fetch(g.toString(),{method:l||"POST",headers:Object.assign(Object.assign(Object.assign({},f),this.headers),a),body:p,signal:m}).catch(x=>{throw new cJ(x)}),v=y.headers.get("x-relay-error");if(v&&v==="true")throw new vA(y);if(!y.ok)throw new wA(y);let w=((o=y.headers.get("Content-Type"))!==null&&o!==void 0?o:"text/plain").split(";")[0].trim(),S;return w==="application/json"?S=yield y.json():w==="application/octet-stream"||w==="application/pdf"?S=yield y.blob():w==="text/event-stream"?S=y:w==="multipart/form-data"?S=yield y.formData():S=yield y.text(),{data:S,error:null,response:y}}catch(a){return{data:null,error:a,response:a instanceof wA||a instanceof vA?a.context:void 0}}finally{i&&clearTimeout(i)}})}}var fJ=class extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.co
1066de=e.code}},hJ=class{constructor(e){var t,n,r;this.shouldThrowOnError=!1,this.method=e.method,this.url=e.url,this.headers=new Headers(e.headers),this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=(t=e.shouldThrowOnError)!==null&&t!==void 0?t:!1,this.signal=e.signal,this.isMaybeSingle=(n=e.isMaybeSingle)!==null&&n!==void 0?n:!1,this.urlLengthLimit=(r=e.urlLengthLimit)!==null&&r!==void 0?r:8e3,e.fetch?this.fetch=e.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(e,t){return this.headers=new Headers(this.headers),this.headers.set(e,t),this}then(e,t){var n=this;this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json");const r=this.fetch;let o=r(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async i=>{let s=null,a=null,l=null,u=i.status,c=i.statusText;if(i.ok){var d,f;if(n.method!=="HEAD"){var h;const m=await i.text();m===""||(n.headers.get("Accept")==="text/csv"||n.headers.get("Accept")&&(!((h=n.headers.get("Accept"))===null||h===void 0)&&h.includes("application/vnd.pgrst.plan+text"))?a=m:a=JSON.parse(m))}const g=(d=n.headers.get("Prefer"))===null||d===void 0?void 0:d.match(/count=(exact|planned|estimated)/),p=(f=i.headers.get("content-range"))===null||f===void 0?void 0:f.split("/");g&&p&&p.length>1&&(l=parseInt(p[1])),n.isMaybeSingle&&Array.isArray(a)&&(a.length>1?(s={code:"PGRST116",details:`Results contain ${a.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},a=null,l=null,u=406,c="Not Acceptable"):a.length===1?a=a[0]:a=null)}else{const g=await i.text();try{s=JSON.parse(g),Array.isArray(s)&&i.status===404&&(a=[],s=null,u=200,c="OK")}catch{i.status===404&&g===""?(u=204,c="No Content"):s={message:g}}if(s&&n.shouldThrowOnError)throw new fJ(s)}return{error:s,data:a,count:l,status:u,statusText:c}});return this.shouldThrowOnError||(o=o.catch(i=>{var s;let a="",l="",u="";const c=i==null?void 0:i.cause;if(c){var d,f,h,g;const y=(d=c==null?void 0:c.message)!==null&&d!==void 0?d:"",v=(f=c==null?void 0:c.code)!==null&&f!==void 0?f:"";a=`${(h=i==null?void 0:i.name)!==null&&h!==void 0?h:"FetchError"}: ${i==null?void 0:i.message}`,a+=`
1067
1068Caused by: ${(g=c==null?void 0:c.name)!==null&&g!==void 0?g:"Error"}: ${y}`,v&&(a+=` (${v})`),c!=null&&c.stack&&(a+=`
1069${c.stack}`)}else{var p;a=(p=i==null?void 0:i.stack)!==null&&p!==void 0?p:""}const m=this.url.toString().length;return(i==null?void 0:i.name)==="AbortError"||(i==null?void 0:i.code)==="ABORT_ERR"?(u="",l="Request was aborted (timeout or manual cancellation)",m>this.urlLengthLimit&&(l+=`. Note: Your request URL is ${m} characters, which may exceed server limits. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [many IDs])), consider using an RPC function to pass values server-side.`)):((c==null?void 0:c.name)==="HeadersOverflowError"||(c==null?void 0:c.code)==="UND_ERR_HEADERS_OVERFLOW")&&(u="",l="HTTP headers exceeded server limits (typically 16KB)",m>this.urlLengthLimit&&(l+=`. Your request URL is ${m} characters. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [200+ IDs])), consider using an RPC function instead.`)),{error:{message:`${(s=i==null?void 0:i.name)!==null&&s!==void 0?s:"FetchError"}: ${i==null?void 0:i.message}`,details:a,hint:l,code:u},data:null,count:null,status:0,statusText:""}})),o.then(e,t)}returns(){return this}overrideTypes(){return this}},pJ=class extends hJ{select(e){let t=!1;const n=(e??"*").split("").map(r=>/\s/.test(r)&&!t?"":(r==='"'&&(t=!t),r)).join("");return this.url.searchParams.set("select",n),this.headers.append("Prefer","return=representation"),this}order(e,{ascending:t=!0,nullsFirst:n,foreignTable:r,referencedTable:o=r}={}){const i=o?`${o}.order`:"order",s=this.url.searchParams.get(i);return this.url.searchParams.set(i,`${s?`${s},`:""}${e}.${t?"asc":"desc"}${n===void 0?"":n?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:t,referencedTable:n=t}={}){const r=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(r,`${e}`),this}range(e,t,{foreignTable:n,referencedTable:r=n}={}){const o=typeof r>"u"?"offset":`${r}.offset`,i=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(o,`${e}`),this.url.searchParams.set(i,`${t-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}
vendor: 4,581 bytes, line 1069
1069explain({analyze:e=!1,verbose:t=!1,settings:n=!1,buffers:r=!1,wal:o=!1,format:i="text"}={}){var s;const a=[e?"analyze":null,t?"verbose":null,n?"settings":null,r?"buffers":null,o?"wal":null].filter(Boolean).join("|"),l=(s=this.headers.get("Accept"))!==null&&s!==void 0?s:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${i}; for="${l}"; options=${a};`),i==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(e){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${e}`),this}};const bA=new RegExp("[,()]");var Il=class extends pJ{eq(e,t){return this.url.searchParams.append(e,`eq.${t}`),this}neq(e,t){return this.url.searchParams.append(e,`neq.${t}`),this}gt(e,t){return this.url.searchParams.append(e,`gt.${t}`),this}gte(e,t){return this.url.searchParams.append(e,`gte.${t}`),this}lt(e,t){return this.url.searchParams.append(e,`lt.${t}`),this}lte(e,t){return this.url.searchParams.append(e,`lte.${t}`),this}like(e,t){return this.url.searchParams.append(e,`like.${t}`),this}likeAllOf(e,t){return this.url.searchParams.append(e,`like(all).{${t.join(",")}}`),this}likeAnyOf(e,t){return this.url.searchParams.append(e,`like(any).{${t.join(",")}}`),this}ilike(e,t){return this.url.searchParams.append(e,`ilike.${t}`),this}ilikeAllOf(e,t){return this.url.searchParams.append(e,`ilike(all).{${t.join(",")}}`),this}ilikeAnyOf(e,t){return this.url.searchParams.append(e,`ilike(any).{${t.join(",")}}`),this}regexMatch(e,t){return this.url.searchParams.append(e,`match.${t}`),this}regexIMatch(e,t){return this.url.searchParams.append(e,`imatch.${t}`),this}is(e,t){return this.url.searchParams.append(e,`is.${t}`),this}isDistinct(e,t){return this.url.searchParams.append(e,`isdistinct.${t}`),this}in(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&bA.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`in.(${n})`),this}notIn(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&bA.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`not.in.(${n})`),this}contains(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cs.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cs.{${t.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(t)}`),this}containedBy(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cd.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cd.{${t.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(t)}`),this}rangeGt(e,t){return this.url.searchParams.append(e,`sr.${t}`),this}rangeGte(e,t){return this.url.searchParams.append(e,`nxl.${t}`),this}rangeLt(e,t){return this.url.searchParams.append(e,`sl.${t}`),this}rangeLte(e,t){return this.url.searchParams.append(e,`nxr.${t}`),this}rangeAdjacent(e,t){return this.url.searchParams.append(e,`adj.${t}`),this}overlaps(e,t){return typeof t=="string"?this.url.searchParams.append(e,`ov.${t}`):this.url.searchParams.append(e,`ov.{${t.join(",")}}`),this}textSearch(e,t,{config:n,type:r}={}){let o="";r==="plain"?o="pl":r==="phrase"?o="ph":r==="websearch"&&(o="w");const i=n===void 0?"":`(${n})`;return this.url.searchParams.append(e,`${o}fts${i}.${t}`),this}match(e){return Object.entries(e).filter(([t,n])=>n!==void 0).forEach(([t,n])=>{this.url.searchParams.append(t,`eq.${n}`)}),this}not(e,t,n){return this.url.searchParams.append(e,`not.${t}.${n}`),this}or(e,{foreignTable:t,referencedTable:n=t}={}){const r=n?`${n}.or`:"or";return this.url.searchParams.append(r,`(${e})`),this}filter(e,t,n){return this.url.searchParams.append(e,`${t}.${n}`),this}},mJ=class{constructor(e,{headers:t={},schema:n,fetch:r,urlLengthLimit:o=8e3}){this.url=e,this.headers=new Headers(t),this.schema=n,this.fetch=r,this.urlLengthLimit=o}cloneRequestState(){return{url:new URL(this.url.toString()),headers:new Headers(this.headers)}}select(e,t){const{head:n=!1,count:r}=t??{},o=n?"HEAD":"GET";let i=!1;const s=(e??"*").split("").map(u=>/\s/.test(u)&&!i?"":(u==='"'&&(i=!i),u)).join(""),{url:a,headers:l}=this.cloneRequestState();return a.searchParams.set("select",s),r&&l.append("Prefer",`count=${r}`),new Il({method:o,url:a,headers:l,schema:this.schema,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit})}insert(e,{count:t,defaultToNull:n=!0}={}){var r;const o="POST",{url:i,headers:s}=this.cloneRequestState();if(t&&s.append("Prefer",`count=${t}`),n||s.append("Prefer","missing=default"),Array.isArray(e)){const a=e.reduce((l,u)=>l.concat(Object.keys(u)),[]);if(a.length>
10690){const l=[...new Set(a)].map(u=>`"${u}"`);i.searchParams.set("columns",l.join(","))}}return new Il({method:o,url:i,headers:s,schema:this.schema,body:e,fetch:(r=this.fetch)!==null&&r!==void 0?r:fetch,urlLengthLimit:this.urlLengthLimit})}upsert(e,{onConflict:t,ignoreDuplicates:n=!1,count:r,defaultToNull:o=!0}={}){var i;const s="POST",{url:a,headers:l}=this.cloneRequestState();if(l.append("Prefer",`resolution=${n?"ignore":"merge"}-duplicates`),t!==void 0&&a.searchParams.set("on_conflict",t),r&&l.append("Prefer",`count=${r}`),o||l.append("Prefer","missing=default"),Array.isArray(e)){const u=e.reduce((c,d)=>c.concat(Object.keys(d)),[]);if(u.length>0){const c=[...new Set(u)].map(d=>`"${d}"`);a.searchParams.set("columns",c.join(","))}}return new Il({method:s,url:a,headers:l,schema:this.schema,body:e,fetch:(i=this.fetch)!==null&&i!==void 0?i:fetch,urlLengthLimit:this.urlLengthLimit})}update(e,{count:t}={}){var n;const r="PATCH",{url:o,headers:i}=this.cloneRequestState();return t&&i.append("Prefer",`count=${t}`),new Il({method:r,url:o,headers:i,schema:this.schema,body:e,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch,urlLengthLimit:this.urlLengthLimit})}delete({count:e}={}){var t;const n="DELETE",{url:r,headers:o}=this.cloneRequestState();return e&&o.append("Prefer",`count=${e}`),new Il({method:n,url:r,headers:o,schema:this.schema,fetch:(t=this.fetch)!==null&&t!==void 0?t:fetch,urlLengthLimit:this.urlLengthLimit})}};function pf(e){"@babel/helpers - typeof";return pf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pf(e)}function gJ(e,t){if(pf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(pf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function yJ(e){var t=gJ(e,"string");return pf(t)=="symbol"?t:t+""}function vJ(e,t,n){return(t=yJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Fh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?SA(Object(n),!0).forEach(function(r){vJ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var wJ=class uN{constructor(t,{headers:n={},schema:r,fetch:o,timeout:i,urlLengthLimit:s=8e3}={}){this.url=t,this.headers=new Headers(n),this.schemaName=r,this.urlLengthLimit=s;const a=o??globalThis.fetch;i!==void 0&&i>0?this.fetch=(l,u)=>{const c=new AbortController,d=setTimeout(()=>c.abort(),i),f=u==null?void 0:u.signal;if(f){if(f.aborted)return clearTimeout(d),a(l,u);const h=()=>{clearTimeout(d),c.abort()};return f.addEventListener("abort",h,{once:!0}),a(l,Fh(Fh({},u),{},{signal:c.signal})).finally(()=>{clearTimeout(d),f.removeEventListener("abort",h)})}return a(l,Fh(Fh({},u),{},{signal:c.signal})).finally(()=>clearTimeout(d))}:this.fetch=a}from(t){if(!t||typeof t!="string"||t.trim()==="")throw new Error("Invalid relation name: relation must be a non-empty string.");return new mJ(new URL(`${this.url}/${t}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit})}schema(t){return new uN(this.url,{headers:this.headers,schema:t,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit})}rpc(t,n={},{head:r=!1,get:o=!1,count:i}={}){var s;let a;const l=new URL(`${this.url}/rpc/${t}`);let u;const c=h=>h!==null&&typeof h=="object"&&(!Array.isArray(h)||h.some(c)),d=r&&Object.values(n).some(c);d?(a="POST",u=n):r||o?(a=r?"HEAD":"GET",Object.entries(n).filter(([h,g])=>g!==void 0).map(([h,g])=>[h,Array.isArray(g)?`{${g.join(",")}}`:`${g}
1069`]).forEach(([h,g])=>{l.searchParams.append(h,g)})):(a="POST",u=n);const f=new Headers(this.headers);return d?f.set("Prefer",i?`count=${i},return=minimal`:"return=minimal"):i&&f.set("Prefer",`count=${i}`),new Il({method:a,url:l,headers:f,schema:this.schemaName,body:u,fetch:(s=this.fetch)!==null&&s!==void 0?s:fetch,urlLengthLimit:this.urlLengthLimit})}};class bJ{constructor(){}static detectEnvironment(){var t;if(typeof WebSocket<"u")return{type:"native",constructor:WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocket<"u")return{type:"native",constructor:globalThis.WebSocket};if(typeof global<"u"&&typeof global.WebSocket<"u")return{type:"native",constructor:global.WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&globalThis.EdgeRuntime||typeof navigator<"u"&&(!((t=navigator.userAgent)===null||t===void 0)&&t.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};const n=globalThis.process;if(n){const r=n.versions;if(r&&r.node){const o=r.node,i=parseInt(o.replace(/^v/,"").split(".")[0]);return i>=22?typeof globalThis.WebSocket<"u"?{type:"native",constructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${i} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${i} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option:
1070import ws from "ws"
1071new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const t=this.detectEnvironment();if(t.constructor)return t.constructor;let n=t.error||"WebSocket not supported in this environment.";throw t.workaround&&(n+=`
1072
1073Suggested solution: ${t.workaround}`),new Error(n)}static isWebSocketSupported(){try{const t=this.detectEnvironment();return t.type==="native"||t.type==="ws"}catch{return!1}}}const SJ="2.101.1",xJ=`realtime-js/${SJ}`,kJ="1.0.0",cN="2.0.0",EJ=cN,_J=1e4,CJ=100,ss={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},dN={close:"phx_close",error:"phx_error",join:"phx_join",leave:"phx_leave",access_token:"access_token"},xb={connecting:"connecting",closing:"closing",closed:"closed"};class TJ{constructor(t){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT="broadcast",this.allowedMetadataKeys=[],this.allowedMetadataKeys=t??[]}encode(t,n){if(t.event===this.BROADCAST_EVENT&&!(t.payload instanceof ArrayBuffer)&&typeof t.payload.event=="string")return n(this._binaryEncodeUserBroadcastPush(t));let r=[t.join_ref,t.ref,t.topic,t.event,t.payload];return n(JSON.stringify(r))}_binaryEncodeUserBroadcastPush(t){var n;return this._isArrayBuffer((n=t.payload)===null||n===void 0?void 0:n.payload)?this._encodeBinaryUserBroadcastPush(t):this._encodeJsonUserBroadcastPush(t)}_encodeBinaryUserBroadcastPush(t){var n,r;const o=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:new ArrayBuffer(0);return this._encodeUserBroadcastPush(t,this.BINARY_ENCODING,o)}_encodeJsonUserBroadcastPush(t){var n,r;const o=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:{},s=new TextEncoder().encode(JSON.stringify(o)).buffer;return this._encodeUserBroadcastPush(t,this.JSON_ENCODING,s)}_encodeUserBroadcastPush(t,n,r){var o,i;const s=t.topic,a=(o=t.ref)!==null&&o!==void 0?o:"",l=(i=t.join_ref)!==null&&i!==void 0?i:"",u=t.payload.event,c=this.allowedMetadataKeys?this._pick(t.payload,this.allowedMetadataKeys):{},d=Object.keys(c).length===0?"":JSON.stringify(c);if(l.length>255)throw new Error(`joinRef length ${l.length} exceeds maximum of 255`);if(a.length>255)throw new Error(`ref length ${a.length} exceeds maximum of 255`);if(s.length>255)throw new Error(`topic length ${s.length} exceeds maximum of 255`);if(u.length>255)throw new Error(`userEvent length ${u.length} exceeds maximum of 255`);if(d.length>255)throw new Error(`metadata length ${d.length} exceeds maximum of 255`);const f=this.USER_BROADCAST_PUSH_META_LENGTH+l.length+a.length+s.length+u.length+d.length,h=new ArrayBuffer(this.HEADER_LENGTH+f);
1073let g=new DataView(h),p=0;g.setUint8(p++,this.KINDS.userBroadcastPush),g.setUint8(p++,l.length),g.setUint8(p++,a.length),g.setUint8(p++,s.length),g.setUint8(p++,u.length),g.setUint8(p++,d.length),g.setUint8(p++,n),Array.from(l,y=>g.setUint8(p++,y.charCodeAt(0))),Array.from(a,y=>g.setUint8(p++,y.charCodeAt(0))),Array.from(s,y=>g.setUint8(p++,y.charCodeAt(0))),Array.from(u,y=>g.setUint8(p++,y.charCodeAt(0))),Array.from(d,y=>g.setUint8(p++,y.charCodeAt(0)));var m=new Uint8Array(h.byteLength+r.byteLength);return m.set(new Uint8Array(h),0),m.set(new Uint8Array(r),h.byteLength),m.buffer}decode(t,n){if(this._isArrayBuffer(t)){let r=this._binaryDecode(t);return n(r)}if(typeof t=="string"){const r=JSON.parse(t),[o,i,s,a,l]=r;return n({join_ref:o,ref:i,topic:s,event:a,payload:l})}return n({})}_binaryDecode(t){const n=new DataView(t),r=n.getUint8(0),o=new TextDecoder;switch(r){case this.KINDS.userBroadcast:return this._decodeUserBroadcast(t,n,o)}}_decodeUserBroadcast(t,n,r){const o=n.getUint8(1),i=n.getUint8(2),s=n.getUint8(3),a=n.getUint8(4);let l=this.HEADER_LENGTH+4;const u=r.decode(t.slice(l,l+o));l=l+o;const c=r.decode(t.slice(l,l+i));l=l+i;const d=r.decode(t.slice(l,l+s));l=l+s;const f=t.slice(l,t.byteLength),h=a===this.JSON_ENCODING?JSON.parse(r.decode(f)):f,g={type:this.BROADCAST_EVENT,event:c,payload:h};return s>0&&(g.meta=JSON.parse(d)),{join_ref:null,ref:null,topic:u,event:this.BROADCAST_EVENT,payload:g}}_isArrayBuffer(t){var n;return t instanceof ArrayBuffer||((n=t==null?void 0:t.constructor)===null||n===void 0?void 0:n.name)==="ArrayBuffer"}_pick(t,n){return!t||typeof t!="object"?{}:Object.fromEntries(Object.entries(t).filter(([r])=>n.includes(r)))}}var Qe;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(Qe||(Qe={}));const xA=(e,t,n={})=>{var r;const o=(r=n.skipTypes)!==null&&r!==void 0?r:[];return t?Object.keys(t).reduce((i,s)=>(i[s]=AJ(s,e,t,o),i),{}):{}},AJ=(e,t,n,r)=>{const o=t.find(a=>a.name===e),i=o==null?void 0:o.type,s=n[e];return i&&!r.includes(i)?fN(i,s):kb(s)},fN=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return MJ(t,n)}switch(e){case Qe.bool:return PJ(t);case Qe.float4:case Qe.float8:case Qe.int2:case Qe.int4:case Qe.int8:case Qe.numeric:case Qe.oid:return RJ(t);case Qe.json:case Qe.jsonb:return OJ(t);case Qe.timestamp:return IJ(t);case Qe.abstime:case Qe.date:case Qe.daterange:case Qe.int4range:case Qe.int8range:case Qe.money:case Qe.reltime:case Qe.text:case Qe.time:case Qe.timestamptz:case Qe.timetz:case Qe.tsrange:case Qe.tstzrange:return kb(t);default:return kb(t)}},kb=e=>e,PJ=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},RJ=e=>{if(typeof e=="string"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},OJ=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},MJ=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let i;const s=e.slice(1,n);try{i=JSON.parse("["+s+"]")}catch{i=s?s.split(","):[]}return i.map(a=>fN(t,a))}return e},IJ=e=>typeof e=="string"?e.replace(" ","T"):e,hN=e=>{const t=new URL(e);return t.protocol=t.protocol.replace(/^ws/i,"http"),t.pathname=t.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),t.pathname===""||t.pathname==="/"?t.pathname="/api/broadcast":t.pathname=t.pathname+"/api/broadcast",t.href};var xd=e=>typeof e=="function"?e:function(){return e},DJ=typeof self<"u"?self:null,Dl=typeof window<"u"?window:null,Lo=DJ||Dl||globalThis,LJ="2.0.0",$J=1e4,NJ=1e3,Bo={connecting:0,open:1,closing:2,closed:3},jn={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},gi={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},Eb={longpoll:"longpoll",websocket:"websocket"},jJ={complete:4},_b="base64url.bearer.phx.",Bh=class{constructor(e,t,n,r){this.channel=e,this.event=t,this.payload=n||function(){return{}},this.receivedResp=null,this.timeout=r,this.timeoutTimer=null,this.recHo
vendor: 21,658 bytes, lines 1073-1074
1073oks=[],this.sent=!1,this.ref=void 0}resend(e){this.timeout=e,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(e,t){return this.hasReceived(e)&&t(this.receivedResp.response),this.recHooks.push({status:e,callback:t}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}destroy(){this.cancelRefEvent(),this.cancelTimeout()}matchReceive({status:e,response:t,_ref:n}){this.recHooks.filter(r=>r.status===e).forEach(r=>r.callback(t))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,e=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=e,this.matchReceive(e)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}trigger(e,t){this.channel.trigger(this.refEvent,{status:e,response:t})}},pN=class{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=void 0,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},FJ=class{constructor(e,t,n){this.state=jn.closed,this.topic=e,this.params=xd(t||{}),this.socket=n,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new Bh(this,gi.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new pN(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=jn.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(r=>r.send()),this.pushBuffer=[]}),this.joinPush.receive("error",r=>{this.state=jn.errored,this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic}`),this.state=jn.closed,this.socket.remove(this)}),this.onError(r=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.isJoining()&&this.joinPush.reset(),this.state=jn.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),new Bh(this,gi.leave,xd({}),this.timeout).send(),this.state=jn.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(gi.reply,(r,o)=>{this.trigger(this.replyEventName(o),r)})}join(e=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=e,this.joinedOnce=!0,this.rejoin(),this.joinPush}teardown(){this.pushBuffer.forEach(e=>e.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=jn.closed,this.bindings=[]}onClose(e){this.on(gi.close,e)}onError(e){return this.on(gi.error,t=>e(t))}on(e,t){let n=this.bindingRef++;return this.bindings.push({event:e,ref:n,callback:t}),n}off(e,t){this.bindings=this.bindings.filter(n=>!(n.event===e&&(typeof t>"u"||t===n.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(e,t,n=this.timeout){if(t=t||{},!this.joinedOnce)throw new Error(`tried to push '${e}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let r=new Bh(this,e,function(){return t},n);return this.canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}leave(e=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=jn.leaving;let t=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(gi.close,"leave")},n=new Bh(this,gi.leave,xd({}),e);return n.receive("ok",()=>t()).receive("timeout",()=>t()),n.send(),this.canPush()||n.trigger("ok",{}),n}onMessage(e,t,n){return t}filterBindings(e,t,n){return!0}isMember(e,t,n,r){return this.topic!==e?!1:r&&r!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:e,event:t,payload:n,joinRef:r}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(e=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=jn.joining,this.joinPush.resend(e))}trigger(e,t,n,r){let o=this.onMessage(e,t,n,r);if(t&&!o)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let i=this.bindings.filter(s=>s.event===e&&this.filterBindings(s,t,n));for(let s=0;s<i.length;s++)i[s].callback(o,n,r||this.joinRef())}replyEventName(e){return`chan_reply_${e}`}isClosed(){return this.state===jn.closed}isErrored(){return this.state===jn.errored}isJoined(){return this.state===jn.joined}isJoining(){return this.state===jn.joining}isLeaving(){return this.state===jn.leaving}},Fm=class{static request(e,t,n,r,o,i,s){if(Lo.XDomainRequest){let a=new Lo.XDomainRequest;return this.xdomainRequest(a,e,t,r,o,i,s)}else if(Lo.XMLHttpRequest){let a=new Lo.XMLHttpRequest;return this.xhrRequest(a,e,t,n,r,o,i,s)}else{if(Lo.fetch&&Lo.AbortController)return this.fetchRequest(e,t,n,r,o,i,s);throw new Error("No suitable XMLHttpRequest implementation found")}}static fetchRequest(e,t,n,r,o,i,s){let a={method:e,headers:n,body:r},l=null;return o&&(l=new AbortController,setTimeout(()=>l.abort(),o),a.signal=l.signal),Lo.fetch(t,a).then(u=>u.text()).then(u=>this.parseJSON(u)).then(u=>s&&s(u)).catch(u=>{u.name==="AbortError"&&i?i():s&&s(null)}),l}static xdomainRequest(e,t,n,r,o,i,s){return e.timeout=o,e.open(t,n),e.onload=()=>{let a=this.parseJSON(e.responseText);s&&s(a)},i&&(e.ontimeout=i),e.onprogress=()=>{},e.send(r),e}static xhrRequest(e,t,n,r,o,i,s,a){e.open(t,n,!0),e.timeout=i;for(let[l,u]of Object.entries(r))e.setRequestHeader(l,u);return e.onerror=()=>a&&a(null),e.onreadystatechange=()=>{if(e.readyState===jJ.complete&&a){let l=this.parseJSON(e.responseText);a(l)}},s&&(e.ontimeout=s),e.send(o),e}static parseJSON(e){if(!e||e==="")return null;try{return JSON.parse(e)}catch{return console&&console.log("failed to parse JSON response",e),null}}static serialize(e,t){let n=[];for(var r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let o=t?`${t}[${r}]`:r,i=e[r];typeof i=="object"?n.push(this.serialize(i,o)):n.push(encodeURIComponent(o)+"="+encodeURIComponent(i))}return n.join("&")}static appendParams(e,t){if(Object.keys(t).length===0)return e;let n=e.match(/\?/)?"&":"?";return`${e}${n}${this.serialize(t)}`}},BJ=e=>{let t="",n=new Uint8Array(e),r=n.byteLength;for(let o=0;o<r;o++)t+=String.fromCharCode(n[o]);return btoa(t)},bl=class{constructor(e,t){t&&t.length===2&&t[1].startsWith(_b)&&(this.authToken=atob(t[1].slice(_b.length))),this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(e),this.readyState=Bo.connecting,setTimeout(()=>this.poll(),0)}normalizeEndpoint(e){return e.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+Eb.websocket),"$1/"+Eb.longpoll)}endpointURL(){return Fm.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(e,t,n){this.close(e,t,n),this.readyState=Bo.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===Bo.open||this.readyState===Bo.connecting}poll(){const e={Accept:"application/json"};this.authToken&&(e["X-Phoenix-AuthToken"]=this.authToken),this.ajax("GET",e,null,()=>this.ontimeout(),t=>{if(t){var{status:n,token:r,messages:o}=t;if(n===410&&this.token!==null){this.onerror(410),this.closeAndRetry(3410,"session_gone",!1);return}this.token=r}else n=0;switch(n){case 200:o.forEach(i=>{setTimeout(()=>this.onmessage({data:i}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=Bo.open,this.onopen({}),this.poll();break;case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${n}`)}})}send(e){typeof e!="string"&&(e=BJ(e)),this.currentBatch?this.currentBatch.push(e):this.awaitingBatchAck?this.batchBuffer.push(e):(this.currentBatch=[e],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(e){this.awaitingBatchAck=!0,this.ajax("POST",{"Content-Type":"application/x-ndjson"},e.join(`
1074`),()=>this.onerror("timeout"),t=>{this.awaitingBatchAck=!1,!t||t.status!==200?(this.onerror(t&&t.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(e,t,n){for(let o of this.reqs)o.abort();this.readyState=Bo.closed;let r=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:e,reason:t,wasClean:n});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<"u"?this.onclose(new CloseEvent("close",r)):this.onclose(r)}ajax(e,t,n,r,o){let i,s=()=>{this.reqs.delete(i),r()};i=Fm.request(e,this.endpointURL(),t,n,this.timeout,s,a=>{this.reqs.delete(i),this.isActive()&&o(a)}),this.reqs.add(i)}},UJ=class Xc{constructor(t,n={}){let r=n.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=t,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(r.state,o=>{let{onJoin:i,onLeave:s,onSync:a}=this.caller;this.joinRef=this.channel.joinRef(),this.state=Xc.syncState(this.state,o,i,s),this.pendingDiffs.forEach(l=>{this.state=Xc.syncDiff(this.state,l,i,s)}),this.pendingDiffs=[],a()}),this.channel.on(r.diff,o=>{let{onJoin:i,onLeave:s,onSync:a}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(o):(this.state=Xc.syncDiff(this.state,o,i,s),a())})}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}list(t){return Xc.list(this.state,t)}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}static syncState(t,n,r,o){let i=this.clone(t),s={},a={};return this.map(i,(l,u)=>{n[l]||(a[l]=u)}),this.map(n,(l,u)=>{let c=i[l];if(c){let d=u.metas.map(p=>p.phx_ref),f=c.metas.map(p=>p.phx_ref),h=u.metas.filter(p=>f.indexOf(p.phx_ref)<0),g=c.metas.filter(p=>d.indexOf(p.phx_ref)<0);h.length>0&&(s[l]=u,s[l].metas=h),g.length>0&&(a[l]=this.clone(c),a[l].metas=g)}else s[l]=u}),this.syncDiff(i,{joins:s,leaves:a},r,o)}static syncDiff(t,n,r,o){let{joins:i,leaves:s}=this.clone(n);return r||(r=function(){}),o||(o=function(){}),this.map(i,(a,l)=>{let u=t[a];if(t[a]=this.clone(l),u){let c=t[a].metas.map(f=>f.phx_ref),d=u.metas.filter(f=>c.indexOf(f.phx_ref)<0);t[a].metas.unshift(...d)}r(a,u,l)}),this.map(s,(a,l)=>{let u=t[a];if(!u)return;let c=l.metas.map(d=>d.phx_ref);u.metas=u.metas.filter(d=>c.indexOf(d.phx_ref)<0),o(a,u,l),u.metas.length===0&&delete t[a]}),t}static list(t,n){return n||(n=function(r,o){return o}),this.map(t,(r,o)=>n(r,o))}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static clone(t){return JSON.parse(JSON.stringify(t))}},Uh={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(e,t){if(e.payload.constructor===ArrayBuffer)return t(this.binaryEncode(e));{let n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return t(JSON.stringify(n))}},decode(e,t){if(e.constructor===ArrayBuffer)return t(this.binaryDecode(e));{let[n,r,o,i,s]=JSON.parse(e);return t({join_ref:n,ref:r,topic:o,event:i,payload:s})}},binaryEncode(e){let{join_ref:t,ref:n,event:r,topic:o,payload:i}=e,s=this.META_LENGTH+t.length+n.length+o.length+r.length,a=new ArrayBuffer(this.HEADER_LENGTH+s),l=new DataView(a),u=0;l.setUint8(u++,this.KINDS.push),l.setUint8(u++,t.length),l.setUint8(u++,n.length),l.setUint8(u++,o.length),l.setUint8(u++,r.length),Array.from(t,d=>l.setUint8(u++,d.charCodeAt(0))),Array.from(n,d=>l.setUint8(u++,d.charCodeAt(0))),Array.from(o,d=>l.setUint8(u++,d.charCodeAt(0))),Array.from(r,d=>l.setUint8(u++,d.charCodeAt(0)));var c=new Uint8Array(a.byteLength+i.byteLength);return c.set(new Uint8Array(a),0),c.set(new Uint8Array(i),a.byteLength),c.buffer},binaryDecode(e){let t=new DataView(e),n=t.getUint8(0),r=new TextDecoder;switch(n){case this.KINDS.push:return this.decodePush(e,t,r);case this.KINDS.reply:return this.decodeReply(e,t,r);case this.KINDS.broadcast:return this.decodeBroadcast(e,t,r)}},decodePush(e,t,n){let r=t.getUint8(1),o=t.getUint8(2),i=t.getUint8(3),s=this.HEADER_LENGTH+this.META_LENGTH-1,a=n.decode(e.slice(s,s+r));s=s+r;let l=n.decode(e.slice(s,s+o));s=s+o;let u=n.decode(e.slice(s,s+i));s=s+i;let c=e.slice(s,e.byteLength);return{join_ref:a,ref:null,topic:l,event:u,payload:c}},decodeReply(e,t,n){let r=t.getUint8(1),o=t.getUint8(2),i=t.getUint8(3),s=t.getUint8(4),a=this.HEADER_LENGTH+this.META_LENGTH,l=n.decode(e.slice(a,a+r));a=a+r;let u=n.decode(e.slice(a,a+o));a=a+o;let c=n.decode(e.slice(a,a+i));a=a+i;let d=n.decode(e.slice(a,a+s));a=a+s;let f=e.slice(a,e.byteLength),h={status:d,response:f};return{join_ref:l,ref:u,topic:c,event:gi.reply,payload:h}},decodeBroadcast(e,t,n){let r=t.getUint8(1),o=t.getUint8(2),i=this.HEADER_LENGTH+2,s=n.decode(e.slice(i,i+r));i=i+r;let a=n.decode(e.slice(i,i+o));i=i+o;let l=e.slice(i,e.byteLength);return{join_ref:null,ref:null,topic:s,event:a,payload:l}}},zJ=class{constructor(e,t={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.fallbackRef=null,this.timeout=t.timeout||$J,this.transport=t.transport||Lo.WebSocket||bl,this.conn=void 0,this.primaryPassedHealthCheck=!1,this.longPollFallbackMs=t.longPollFallbackMs,this.fallbackTimer=null,this.sessionStore=t.sessionStorage||Lo&&Lo.sessionStorage,this.establishedConnections=0,this.defaultEncoder=Uh.encode.bind(Uh),this.defaultDecoder=Uh.decode.bind(Uh),this.closeWasClean=!0,this.disconnecting=!1,this.binaryType=t.binaryType||"arraybuffer",this.connectClock=1,this.pageHidden=!1,this.encode=void 0,this.decode=void 0,this.transport!==bl?(this.encode=t.encode||this.defaultEncoder,this.decode=t.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let n=null;Dl&&Dl.addEventListener&&(Dl.addEventListener("pagehide",r=>{this.conn&&(this.disconnect(),n=this.connectClock)}),Dl.addEventListener("pageshow",r=>{n===this.connectClock&&(n=null,this.connect())}),Dl.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"?this.pageHidden=!0:(this.pageHidden=!1,!this.isConnected()&&!this.closeWasClean&&this.teardown(()=>this.connect()))})),this.heartbeatIntervalMs=t.heartbeatIntervalMs||3e4,this.autoSendHeartbeat=t.autoSendHeartbeat??!0,this.heartbeatCallback=t.heartbeatCallback??(()=>{}),this.rejoinAfterMs=r=>t.rejoinAfterMs?t.rejoinAfterMs(r):[1e3,2e3,5e3][r-1]||1e4,this.reconnectAfterMs=r=>t.reconnectAfterMs?t.reconnectAfterMs(r):[10,50,100,150,200,250,500,1e3,2e3][r-1]||5e3,this.logger=t.logger||null,!this.logger&&t.debug&&(this.logger=(r,o,i)=>{console.log(`${r}: ${o}`,i)}),this.longpollerTimeout=t.longpollerTimeout||2e4,this.params=xd(t.params||{}),this.endPoint=`${e}/${Eb.websocket}`,this.vsn=t.vsn||LJ,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.heartbeatSentAt=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new pN(()=>{if(this.pageHidden){this.log("Not reconnecting as page is hidden!"),this.teardown();return}this.teardown(async()=>{t.beforeReconnect&&await t.beforeReconnect(),this.connect()})},this.reconnectAfterMs),this.authToken=t.authToken}getLongPollTransport(){return bl}replaceTransport(e){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.conn&&(this.conn.close(),this.conn=null),this.transport=e}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let e=Fm.appendParams(Fm.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return e.charAt(0)!=="/"?e:e.charAt(1)==="/"?`${this.protocol()}:${e}`:`${this.protocol()}://${location.host}${e}`}disconnect(e,t,n){this.connectClock++,this.disconnecting=!0,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.teardown(()=>{this.disconnecting=!1,e&&e()},t,n)}connect(e){e&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=xd(e)),!(this.conn&&!this.disconnecting)&&(this.longPollFallbackMs&&this.transport!==bl?this.connectWithFallback(bl,this.longPollFallbackMs):this.transportConnect())}log(e,t,n){this.logger&&this.logger(e,t,n)}hasLogger(){return this.logger!==null}onOpen(e){let t=this.makeRef();return this.stateChangeCallbacks.open.push([t,e]),t}onClose(e){let t=this.makeRef();return this.stateChangeCallbacks.close.push([t,e]),t}onError(e){let t=this.makeRef();return this.stateChangeCallbacks.error.push([t,e]),t}onMessage(e){let t=this.makeRef();return this.stateChangeCallbacks.message.push([t,e]),t}onHeartbeat(e){this.heartbeatCallback=e}ping(e){if(!this.isConnected())return!1;let t=this.makeRef(),n=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:t});let r=this.onMessage(o=>{o.ref===t&&(this.off([r]),e(Date.now()-n))});return!0}transportName(e){switch(e){case bl:return"LongPoll";default:return e.name}}transportConnect(){this.connectClock++,this.closeWasClean=!1;let e;this.authToken&&(e=["phoenix",`${_b}${btoa(this.authToken).replace(/=/g,"")}`]),this.conn=new this.transport(this.endPointURL(),e),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=t=>this.onConnError(t),this.conn.onmessage=t=>this.onConnMessage(t),this.conn.onclose=t=>this.onConnClose(t)}getSession(e){return this.sessionStore&&this.sessionStore.getItem(e)}storeSession(e,t){this.sessionStore&&this.sessionStore.setItem(e,t)}connectWithFallback(e,t=2500){clearTimeout(this.fallbackTimer);let n=!1,r=!0,o,i,s=this.transportName(e),a=l=>{this.log("transport",`falling back to ${s}...`,l),this.off([o,i]),r=!1,this.replaceTransport(e),this.transportConnect()};if(this.getSession(`phx:fallback:${s}`))return a("memorized");this.fallbackTimer=setTimeout(a,t),i=this.onError(l=>{this.log("transport","error",l),r&&!n&&(clearTimeout(this.fallbackTimer),a(l))}),this.fallbackRef&&this.off([this.fallbackRef]),this.fallbackRef=this.onOpen(()=>{if(n=!0,!r){let l=this.transportName(e);return this.primaryPassedHealthCheck||this.storeSession(`phx:fallback:${l}`,"true"),this.log("transport",`established ${l} fallback`)}clearTimeout(this.fallbackTimer),this.fallbackTimer=setTimeout(a,t),this.ping(l=>{this.log("transport","connected to primary after",l),this.primaryPassedHealthCheck=!0,clearTimeout(this.fallbackTimer)})}),this.transportConnect()}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.disconnecting=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.autoSendHeartbeat&&this.resetHeartbeat(),this.triggerStateCallbacks("open")}heartbeatTimeout(){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(e){this.log("error","error in heartbeat callback",e)}this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),NJ,"heartbeat timeout")}}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(e,t,n){if(!this.conn)return e&&e();const r=this.conn;this.waitForBufferDone(r,()=>{t?r.close(t,n||""):r.close(),this.waitForSocketClosed(r,()=>{this.conn===r&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),e&&e()})})}waitForBufferDone(e,t,n=1){if(n===5||!e.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(e,t,n+1)},150*n)}waitForSocketClosed(e,t,n=1){if(n===5||e.readyState===Bo.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(e,t,n+1)},150*n)}onConnClose(e){this.conn&&(this.conn.onclose=()=>{}),this.hasLogger()&&this.log("transport","close",e),this.triggerChanError(),this.clearHeartbeats(),this.closeWasClean||this.reconnectTimer.scheduleTimeout(),this.triggerStateCallbacks("close",e)}onConnError(e){this.hasLogger()&&this.log("transport",e);let t=this.transport,n=this.establishedConnections;this.triggerStateCallbacks("error",e,t,n),(t===this.transport||n>0)&&this.triggerChanError()}
1074triggerChanError(){this.channels.forEach(e=>{e.isErrored()||e.isLeaving()||e.isClosed()||e.trigger(gi.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Bo.connecting:return"connecting";case Bo.open:return"open";case Bo.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(e){this.off(e.stateChangeRefs),this.channels=this.channels.filter(t=>t!==e)}off(e){for(let t in this.stateChangeCallbacks)this.stateChangeCallbacks[t]=this.stateChangeCallbacks[t].filter(([n])=>e.indexOf(n)===-1)}channel(e,t={}){let n=new FJ(e,t,this);return this.channels.push(n),n}push(e){if(this.hasLogger()){let{topic:t,event:n,payload:r,ref:o,join_ref:i}=e;this.log("push",`${t} ${n} (${i}, ${o})`,r)}this.isConnected()?this.encode(e,t=>this.conn.send(t)):this.sendBuffer.push(()=>this.encode(e,t=>this.conn.send(t)))}makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}sendHeartbeat(){if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(e){this.log("error","error in heartbeat callback",e)}return}if(this.pendingHeartbeatRef){this.heartbeatTimeout();return}this.pendingHeartbeatRef=this.makeRef(),this.heartbeatSentAt=Date.now(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(e){this.log("error","error in heartbeat callback",e)}this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs)}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}onConnMessage(e){this.decode(e.data,t=>{let{topic:n,event:r,payload:o,ref:i,join_ref:s}=t;if(i&&i===this.pendingHeartbeatRef){const a=this.heartbeatSentAt?Date.now()-this.heartbeatSentAt:void 0;this.clearHeartbeats();try{this.heartbeatCallback(o.status==="ok"?"ok":"error",a)}catch(l){this.log("error","error in heartbeat callback",l)}this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.autoSendHeartbeat&&(this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}this.hasLogger()&&this.log("receive",`${o.status||""} ${n} ${r} ${i&&"("+i+")"||""}`.trim(),o);for(let a=0;a<this.channels.length;a++){const l=this.channels[a];l.isMember(n,r,o,s)&&l.trigger(r,o,i,s)}this.triggerStateCallbacks("message",t)})}triggerStateCallbacks(e,...t){try{this.stateChangeCallbacks[e].forEach(([n,r])=>{try{r(...t)}catch(o){this.log("error",`error in ${e} callback`,o)}})}catch(n){this.log("error",`error triggering ${e} callbacks`,n)}}leaveOpenTopic(e){let t=this.channels.find(n=>n.topic===e&&(n.isJoined()||n.isJoining()));t&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${e}"`),t.leave())}};class kd{constructor(t,n){const r=HJ(n);this.presence=new UJ(t.getChannel(),r),this.presence.onJoin((o,i,s)=>{const a=kd.onJoinPayload(o,i,s);t.getChannel().trigger("presence",a)}),this.presence.onLeave((o,i,s)=>{const a=kd.onLeavePayload(o,i,s);t.getChannel().trigger("presence",a)}),this.presence.onSync(()=>{t.getChannel().trigger("presence",{event:"sync"})})}get state(){return kd.transformState(this.presence.state)}static transformState(t){return t=VJ(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const o=t[r];return n[r]=Dp(o),n},{})}static onJoinPayload(t,n,r){const o=kA(n),i=Dp(r);return{event:"join",key:t,currentPresences:o,newPresences:i}}static onLeavePayload(t,n,r){const o=kA(n),i=Dp(r);return{event:"leave",key:t,currentPresences:o,leftPresences:i}}}function Dp(e){return e.metas.map(t=>(t.presence_ref=t.phx_ref,delete t.phx_ref,delete t.phx_ref_prev,t))}function VJ(e){return JSON.parse(JSON.stringify(e))}function HJ(e){return(e==null?void 0:e.events)&&{events:e.events}}function kA(e){return e!=null&&e.metas?Dp(e):[]}var EA;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(EA||(EA={}));class WJ{get state(){return this.presenceAdapter.state}constructor(t,n){this.channel=t,this.presenceAdapter=new kd(this.channel.channelAdapter,n)}}class qJ{constructor(t,n,r){const o=KJ(r);this.channel=t.getSocket().channel(n,o),this.socket=t}get state(){return this.channel.state}set state(t){this.channel.state=t}get joinedOnce(){return this.channel.joinedOnce}get joinPush(){return this.channel.joinPush}get rejoinTimer(){return this.channel.rejoinTimer}on(t,n){return this.channel.on(t,n)}off(t,n){this.channel.off(t,n)}subscribe(t){return this.channel.join(t)}unsubscribe(t){return this.channel.leave(t)}teardown(){this.channel.teardown()}onClose(t){this.channel.onClose(t)}onError(t){return this.channel.onError(t)}push(t,n,r){let o;try{o=this.channel.push(t,n,r)}catch{throw`tried to push '${t}' to '${this.channel.topic}' before joining. Use channel.subscribe() before pushing events`}if(this.channel.pushBuffer.length>CJ){const i=this.channel.pushBuffer.shift();i.cancelTimeout(),this.socket.log("channel",`discarded push due to buffer overflow: ${i.event}`,i.payload())}return o}updateJoinPayload(t){const n=this.channel.joinPush.payload();this.channel.joinPush.payload=()=>Object.assign(Object.assign({},n),t)}canPush(){return this.socket.isConnected()&&this.state===ss.joined}isJoined(){return this.state===ss.joined}isJoining(){return this.state===ss.joining}isClosed(){return this.state===ss.closed}isLeaving(){return this.state===ss.leaving}updateFilterBindings(t){this.channel.filterBindings=t}updatePayloadTransform(t){this.channel.onMessage=t}getChannel(){return this.channel}}function KJ(e){return{config:Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},e.config)}}var _A;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(_A||(_A={}));var tu;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(tu||(tu={}));var yi;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(yi||(yi={}));class Ed{get state(){return this.channelAdapter.state}set state(t){this.channelAdapter.state=t}get joinedOnce(){return this.channelAdapter.joinedOnce}get timeout(){return this.socket.timeout}get joinPush(){return this.channelAdapter.joinPush}get rejoinTimer(){return this.channelAdapter.rejoinTimer}constructor(t,n={config:{}},r){var o,i;if(this.topic=t,this.params=n,this.socket=r,this.bindings={},this.subTopic=t.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},n.config),this.channelAdapter=new qJ(this.socket.socketAdapter,t,this.params),this.presence=new WJ(this),this._onClose(()=>{this.socket._remove(this)}),this._updateFilterTransform(),this.broadcastEndpointURL=hN(this.socket.socketAdapter.endPointURL()),this.private=this.params.config.private||!1,!this.private&&(!((i=(o=this.params.config)===null||o===void 0?void 0:o.broadcast)===null||i===void 0)&&i.replay))throw`tried to use replay on public channel '${this.topic}'. It must be a private channel.`}subscribe(t,n=this.timeout){var r,o,i;if(this.socket.isConnected()||this.socket.connect(),this.channelAdapter.isClosed()){const{config:{broadcast:s,presence:a,private:l}}=this.params,u=(o=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(h=>h.filter))!==null&&o!==void 0?o:[],c=!!this.bindings[tu.PRESENCE]&&this.bindings[tu.PRESENCE].length>0||((i=this.params.config.presence)===null||i===void 0?void 0:i.enabled)===!0,d={},f={broadcast:s,presence:Object.assign(Object.assign({},a),{enabled:c}),postgres_changes:u,private:l};this.socket.accessTokenValue&&(d.access_token=this.socket.accessTokenValue),this._onError(h=>{t==null||t(yi.CHANNEL_ERROR,h)}),this._onClose(()=>t==null?void 0:t(yi.CLOSED)),this.updateJoinPayload(Object.assign({config:f},d)),this._updateFilterMessage(),this.channelAdapter.subscribe(n).receive("ok",async({postgres_changes:h})=>{if(this.socket._isManualToken()||this.socket.setAuth(),h===void 0){t==null||t(yi.SUBSCRIBED);return}this._updatePostgresBindings(h,t)}
1074).receive("error",h=>{this.state=ss.errored,t==null||t(yi.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(h).join(", ")||"error")))}).receive("timeout",()=>{t==null||t(yi.TIMED_OUT)})}return this}_updatePostgresBindings(t,n){var r;const o=this.bindings.postgres_changes,i=(r=o==null?void 0:o.length)!==null&&r!==void 0?r:0,s=[];for(let a=0;a<i;a++){const l=o[a],{filter:{event:u,schema:c,table:d,filter:f}}=l,h=t&&t[a];if(h&&h.event===u&&Ed.isFilterValueEqual(h.schema,c)&&Ed.isFilterValueEqual(h.table,d)&&Ed.isFilterValueEqual(h.filter,f))s.push(Object.assign(Object.assign({},l),{id:h.id}));else{this.unsubscribe(),this.state=ss.errored,n==null||n(yi.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=s,this.state!=ss.errored&&n&&n(yi.SUBSCRIBED)}presenceState(){return this.presence.state}async track(t,n={}){return await this.send({type:"presence",event:"track",payload:t},n.timeout||this.timeout)}async untrack(t={}){return await this.send({type:"presence",event:"untrack"},t)}on(t,n,r){const o=this.channelAdapter.isJoined()||this.channelAdapter.isJoining(),i=t===tu.PRESENCE||t===tu.POSTGRES_CHANGES;if(o&&i)throw this.socket.log("channel",`cannot add \`${t}\` callbacks for ${this.topic} after \`subscribe()\`.`),new Error(`cannot add \`${t}\` callbacks for ${this.topic} after \`subscribe()\`.`);return this._on(t,n,r)}async httpSend(t,n,r={}){var o;if(n==null)return Promise.reject("Payload is required for httpSend()");const i={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(i.Authorization=`Bearer ${this.socket.accessTokenValue}`);const s={method:"POST",headers:i,body:JSON.stringify({messages:[{topic:this.subTopic,event:t,payload:n,private:this.private}]})},a=await this._fetchWithTimeout(this.broadcastEndpointURL,s,(o=r.timeout)!==null&&o!==void 0?o:this.timeout);if(a.status===202)return{success:!0};let l=a.statusText;try{const u=await a.json();l=u.error||u.message||l}catch{}return Promise.reject(new Error(l))}async send(t,n={}){var r,o;if(!this.channelAdapter.canPush()&&t.type==="broadcast"){console.warn("Realtime send() is automatically falling back to REST API. This behavior will be deprecated 
1074in the future. Please use httpSend() explicitly for REST delivery.");const{event:i,payload:s}=t,a={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(a.Authorization=`Bearer ${this.socket.accessTokenValue}`);const l={method:"POST",headers:a,body:JSON.stringify({messages:[{topic:this.subTopic,event:i,payload:s,private:this.private}]})};try{const u=await this._fetchWithTimeout(this.broadcastEndpointURL,l,(r=n.timeout)!==null&&r!==void 0?r:this.timeout);return await((o=u.body)===null||o===void 0?void 0:o.cancel()),u.ok?"ok":"error"}catch(u){return u.name==="AbortError"?"timed out":"error"}}else return new Promise(i=>{var s,a,l;const u=this.channelAdapter.push(t.type,t,n.timeout||this.timeout);t.type==="broadcast"&&!(!((l=(a=(s=this.params)===null||s===void 0?void 0:s.config)===null||a===void 0?void 0:a.broadcast)===null||l===void 0)&&l.ack)&&i("ok"),u.receive("ok",()=>i("ok")),u.receive("error",()=>i("error")),u.receive("timeout",()=>i("timed out"))})}updateJoinPayload(t){this.channelAdapter.updateJoinPayload(t)}async unsubscribe(t=this.timeout){return new Promise(n=>{this.channelAdapter.unsubscribe(t).receive("ok",()=>n("ok")).receive("timeout",()=>n("timed out")).receive("error",()=>n("error"))})}teardown(){this.channelAdapter.teardown()}async _fetchWithTimeout(t,n,r){const o=new AbortController,i=setTimeout(()=>o.abort(),r),s=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:o.signal}));return clearTimeout(i),s}_on(t,n,r){const o=t.toLocaleLowerCase(),i=this.channelAdapter.on(t,r),s={type:o,filter:n,callback:r,ref:i};return this.bindings[o]?this.bindings[o].push(s):this.bindings[o]=[s],this._updateFilterMessage(),this}_onClose(t){this.channelAdapter.onClose(t)}_onError(t){this.channelAdapter.onError(t)}_updateFilterMessage(){this.channelAdapter.updateFilterBindings((t,n,r)=>{var o,i,s,a,l,u,c;const d=t.event.toLocaleLowerCase();if(this._notThisChannelEvent(d,r))return!1;const f=(o=this.bindings[d])===null||o===void 0?void 0:o.find(h=>h.ref===t.ref);if(!f)return!0;if(["broadcast","presence","postgres_changes"].includes(d))if("id"in f){const h=f.id,g=(i=f.filter)===null||i===void 0?void 0:i.event;return h&&((s=n.ids)===null||s===void 0?void 0:s.includes(h))&&(g==="*"||(g==null?void 0:g.toLocaleLowerCase())===((a=n.data)===null||a===void 0?void 0:a.type.toLocaleLowerCase()))}else{const h=(u=(l=f==null?void 0:f.filter)===null||l===void 0?void 0:l.event)===null||u===void 0?void 0:u.toLocaleLowerCase();return h==="*"||h===((c=n==null?void 0:n.event)===null||c===void 0?void 0:c.toLocaleLowerCase())}else return f.type.toLocaleLowerCase()===d})}_notThisChannelEvent(t,n){const{close:r,error:o,leave:i,join:s}=dN;return n&&[r,o,i,s].includes(t)&&n!==this.joinPush.ref}_updateFilterTransform(){this.channelAdapter.updatePayloadTransform((t,n,r)=>{if(typeof n=="object"&&"ids"in n){const o=n.data,{schema:i,table:s,commit_timestamp:a,type:l,errors:u}=o;return Object.assign(Object.assign({},{schema:i,table:s,commit_timestamp:a,eventType:l,new:{},old:{},errors:u}),this._getPayloadRecords(o))}return n})}copyBindings(t){if(this.joinedOnce)throw new Error("cannot copy bindings into joined channel");for(const n in t.bindings)for(const r of t.bindings[n])this._on(r.type,r.filter,r.callback)}static isFilterValueEqual(t,n){return(t??void 0)===(n??void 0)}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=xA(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=xA(t.columns,t.old_record)),n}}class GJ{constructor(t,n){this.socket=new zJ(t,n)}get timeout(){return this.socket.timeout}get endPoint(){return this.socket.endPoint}get transport(){return this.socket.transport}get heartbeatIntervalMs(){return this.socket.heartbeatIntervalMs}get heartbeatCallback(){return this.socket.heartbeatCallback}set heartbeatCallback(t){this.socket.heartbeatCallback=t}get heartbeatTimer(){return this.socket.heartbeatTimer}get pendingHeartbeatRef(){return this.socket.pendingHeartbeatRef}get reconnectTimer(){return this.socket.reconnectTimer}get vsn(){return this.socket.vsn}get encode(){return this.socket.encode}get decode(){return this.socket.decode}get reconnectAfterMs(){return this.socket.reconnectAfterMs}get sendBuffer(){return this.socket.sendBuffer}get stateChangeCallbacks(){return this.socket.stateChangeCallbacks}connect(){this.socket.connect()}disconnect(t,n,r,o=1e4){return new Promise(i=>{setTimeout(()=>i("timeout"),o),this.socket.disconnect(()=>{t(),i("ok")},n,r)})}push(t){this.socket.push(t)}log(t,n,r){this.socket.log(t,n,r)}makeRef(){return this.socket.makeRef()}onOpen(t){this.socket.onOpen(t)}onClose(t){this.socket.onClose(t)}onError(t){this.socket.onError(t)}onMessage(t){this.socket.onMessage(t)}isConnected(){return this.socket.isConnected()}isConnecting(){return this.socket.connectionState()==xb.connecting}isDisconnecting(){return this.socket.connectionState()==xb.closing}connectionState(){return this.socket.connectionState()}endPointURL(){return this.socket.endPointURL()}sendHeartbeat(){this.socket.sendHeartbeat()}getSocket(){return this.socket}}const YJ={HEARTBEAT_INTERVAL:25e3}
1074,XJ=[1e3,2e3,5e3,1e4],JJ=1e4,QJ=`
1075  addEventListener("message", (e) => {
1076    if (e.data.event === "start") {
1077      setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval);
1078    }
1079  });`;class ZJ{get endPoint(){return this.socketAdapter.endPoint}get timeout(){return this.socketAdapter.timeout}get transport(){return this.socketAdapter.transport}get heartbeatCallback(){return this.socketAdapter.heartbeatCallback}get heartbeatIntervalMs(){return this.socketAdapter.heartbeatIntervalMs}get heartbeatTimer(){return this.worker?this._workerHeartbeatTimer:this.socketAdapter.heartbeatTimer}get pendingHeartbeatRef(){return this.worker?this._pendingWorkerHeartbeatRef:this.socketAdapter.pendingHeartbeatRef}get reconnectTimer(){return this.socketAdapter.reconnectTimer}get vsn(){return this.socketAdapter.vsn}get encode(){return this.socketAdapter.encode}get decode(){return this.socketAdapter.decode}get reconnectAfterMs(){return this.socketAdapter.reconnectAfterMs}get sendBuffer(){return this.socketAdapter.sendBuffer}get stateChangeCallbacks(){return this.socketAdapter.stateChangeCallbacks}constructor(t,n){var r;if(this.channels=new Array,this.accessTokenValue=null,this.accessToken=null,this.apiKey=null,this.httpEndpoint="",this.headers={},this.params={},this.ref=0,this.serializer=new TJ,this._manuallySetToken=!1,this._authPromise=null,this._workerHeartbeatTimer=void 0,this._pendingWorkerHeartbeatRef=null,this._resolveFetch=i=>i?(...s)=>i(...s):(...s)=>fetch(...s),!(!((r=n==null?void 0:n.params)===null||r===void 0)&&r.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=n.params.apikey;const o=this._initializeOptions(n);this.socketAdapter=new GJ(t,o),this.httpEndpoint=hN(t),this.fetch=this._resolveFetch(n==null?void 0:n.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.isConnected())){this.accessToken&&!this._authPromise&&this._setAuthSafely("connect"),this._setupConnectionHandlers();try{this.socketAdapter.connect()}catch(t){const n=t.message;throw n.includes("Node.js")?new Error(`${n}
1080
1081To use Realtime in Node.js, you need to provide a WebSocket implementation:
1082
1083Option 1: Use Node.js 22+ which has native WebSocket support
1084Option 2: Install and provide the "ws" package:
1085
1086  npm install ws
1087
1088  import ws from "ws"
1089  const client = new RealtimeClient(url, {
1090    ...options,
1091    transport: ws
1092  })`):new Error(`WebSocket not available: ${n}`)}this._handleNodeJsRaceCondition()}}endpointURL(){return this.socketAdapter.endPointURL()}async disconnect(t,n){return this.isDisconnecting()?"ok":await this.socketAdapter.disconnect(()=>{clearInterval(this._workerHeartbeatTimer),this._terminateWorker()},t,n)}getChannels(){return this.channels}async removeChannel(t){const n=await t.unsubscribe();return n==="ok"&&t.teardown(),this.channels.length===0&&this.disconnect(),n}async removeAllChannels(){const t=this.channels.map(async r=>{const o=await r.unsubscribe();return r.teardown(),o}),n=await Promise.all(t);return this.disconnect(),n}log(t,n,r){this.socketAdapter.log(t,n,r)}connectionState(){return this.socketAdapter.connectionState()||xb.closed}isConnected(){return this.socketAdapter.isConnected()}isConnecting(){return this.socketAdapter.isConnecting()}isDisconnecting(){return this.socketAdapter.isDisconnecting()}channel(t,n={config:{}}){const r=`realtime:${t}`,o=this.getChannels().find(i=>i.topic===r);if(o)return o;{const i=new Ed(`realtime:${t}`,n,this);return this.channels.push(i),i}}push(t){this.socketAdapter.push(t)}async setAuth(t=null){this._authPromise=this._performAuth(t);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){this.socketAdapter.sendHeartbeat()}onHeartbeat(t){this.socketAdapter.heartbeatCallback=this._wrapHeartbeatCallback(t)}_makeRef(){return this.socketAdapter.makeRef()}_remove(t){this.channels=this.channels.filter(n=>n.topic!==t.topic)}async _performAuth(t=null){let n,r=!1;if(t)n=t,r=!0;else if(this.accessToken)try{n=await this.accessToken()}catch(o){this.log("error","Error fetching access token from callback",o),n=this.accessTokenValue}else n=this.accessTokenValue;r?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=n&&(this.accessTokenValue=n,this.channels.forEac
1092h(o=>{const i={access_token:n,version:xJ};n&&o.updateJoinPayload(i),o.joinedOnce&&o.channelAdapter.isJoined()&&o.channelAdapter.push(dN.access_token,{access_token:n})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(t="general"){this._isManualToken()||this.setAuth().catch(n=>{this.log("error",`Error setting auth in ${t}`,n)})}_setupConnectionHandlers(){this.socketAdapter.onOpen(()=>{(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).catch(n=>{this.log("error","error waiting for auth on connect",n)}),this.worker&&!this.workerRef&&this._startWorkerHeartbeat()}),this.socketAdapter.onClose(()=>{this.worker&&this.workerRef&&this._terminateWorker()}),this.socketAdapter.onMessage(t=>{t.ref&&t.ref===this._pendingWorkerHeartbeatRef&&(this._pendingWorkerHeartbeatRef=null)})}_handleNodeJsRaceCondition(){this.socketAdapter.isConnected()&&this.socketAdapter.getSocket().onConnOpen()}_wrapHeartbeatCallback(t){return(n,r)=>{n=="sent"&&this._setAuthSafely(),t&&t(n,r)}}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const t=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(t),this.workerRef.onerror=n=>{this.log("worker","worker error",n.message),this._terminateWorker(),this.disconnect()},this.workerRef.onmessage=n=>{n.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&(this.log("worker","terminating worker"),this.workerRef.terminate(),this.workerRef=void 0)}_workerObjectUrl(t){let n;if(t)n=t;else{const r=new Blob([QJ],{type:"application/javascript"});n=URL.createObjectURL(r)}return n}_initializeOptions(t){var n,r,o,i,s,a,l,u,c;this.worker=(n=t==null?void 0:t.worker)!==null&&n!==void 0?n:!1,this.accessToken=(r=t==null?void 0:t.accessToken)!==null&&r!==void 0?r:null;const d={};d.timeout=(o=t==null?void 0:t.timeout)!==null&&o!==void 0?o:_J,d.heartbeatIntervalMs=(i=t==null?void 0:t.heartbeatIntervalMs)!==null&&i!==void 0?i:YJ.HEARTBEAT_INTERVAL,d.transport=(s=t==null?void 0:t.transport)!==null&&s!==void 0?s:bJ.getWebSocketConstructor(),d.params=t==null?void 0:t.params,d.logger=t==null?void 0:t.logger,d.heartbeatCallback=this._wrapHeartbeatCallback(t==null?void 0:t.heartbeatCallback),d.reconnectAfterMs=(a=t==null?void 0:t.reconnectAfterMs)!==null&&a!==void 0?a:p=>XJ[p-1]||JJ;let f,h;const g=(l=t==null?void 0:t.vsn)!==null&&l!==void 0?l:EJ;switch(g){case kJ:f=(p,m)=>m(JSON.stringify(p)),h=(p,m)=>m(JSON.parse(p));break;case cN:f=this.serializer.encode.bind(this.serializer),h=this.serializer.decode.bind(this.serializer);break;default:throw new Error(`Unsupported serializer version: ${d.vsn}`)}if(d.vsn=g,d.encode=(u=t==null?void 0:t.encode)!==null&&u!==void 0?u:f,d.decode=(c=t==null?void 0:t.decode)!==null&&c!==void 0?c:h,d.beforeReconnect=this._reconnectAuth.bind(this),(t!=null&&t.logLevel||t!=null&&t.log_level)&&(this.logLevel=t.logLevel||t.log_level,d.params=Object.assign(Object.assign({},d.params),{log_level:this.logLevel})),this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=t==null?void 0:t.workerUrl,d.autoSendHeartbeat=!this.worker}return d}async _reconnectAuth(){await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()}}var mf=class extends Error{constructor(e,t){var n;super(e),this.name="IcebergError",this.status=t.status,this.icebergType=t.icebergType,this.icebergCode=t.icebergCode,this.details=t.details,this.isCommitStateUnknown=t.icebergType==="CommitStateUnknownException"||[500,502,504].includes(t.status)&&((n=t.icebergType)==null?void 0:n.includes("CommitState"))===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function eQ(e,t,n){const r=new URL(t,e);if(n)for(const[o,i]of Object.entries(n))i!==void 0&&r.searchParams.set(o,i);return r.toString()}async function tQ(e){return!e||e.type==="none"?{}:e.type==="bearer"?{Authorization:`Bearer ${e.token}`}:e.type==="header"?{[e.name]:e.value}:e.type==="custom"?await e.getHeaders():{}}function nQ(e){const t=e.fetchImpl??globalThis.fetch;return{async request({method:n,path:r,query:o,body:i,headers:s}){const a=eQ(e.baseUrl,r,o),l=await tQ(e.auth),u=await t(a,{method:n,headers:{...i?{"Content-Type":"application/json"}:{},...l,...s},body:i?JSON.stringify(i):void 0}),c=await u.text(),d=(u.headers.get("content-type")||"").includes("application/json"),f=d&&c?JSON.parse(c):c;if(!u.ok){const h=d?f:void 0,g=h==null?void 0:h.error;throw new mf((g==null?void 0:g.message)??`Request failed with status ${u.status}`,{status:u.status,icebergType:g==null?void 0:g.type,icebergCode:g==null?void 0:g.code,details:h})}return{status:u.status,headers:u.headers,data:f}}}}function zh(e){return e.join("�")}var rQ=class{constructor(e,t=""){this.client=e,this.prefix=t}async listNamespaces(e){const t=e?{parent:zh(e.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:t})).data.namespaces.map(r=>({namespace:r}))}async createNamespace(e,t){const n={namespace:e.namespace,properties:t==null?void 0:t.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:n})).data}async dropNamespace(e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${zh(e.namespace)}`})}async loadNamespaceMetadata(e){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${zh(e.namespace)}`})).data.properties}}async namespaceExists(e){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${zh(e.namespace)}`}),!0}catch(t){if(t instanceof mf&&t.status===404)return!1;throw t}}async createNamespaceIfNotExists(e,t){try{return await this.createNamespace(e,t)}catch(n){if(n instanceof mf&&n.status===409)return;throw n}}};function Sl(e){return e.join("�")}var oQ=class{constructor(e,t="",n){this.client=e,this.prefix=t,this.accessDelegation=n}async listTables(e){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Sl(e.namespace)}/tables`})).data.identifiers}async createTable(e,t){const n={};return this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Sl(e.namespace)}/tables`,body:t,headers:n})).data.metadata}async updateTable(e,t){const n=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Sl(e.namespace)}/tables/${e.name}`,body:t});return{"metadata-location":n.data["metadata-location"],metadata:n.data.metadata}}async dropTable(e,t){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Sl(e.namespace)}/tables/${e.name}`,query:{purgeRequested:String((t==null?void 0:t.purge)??!1)}})}async loadTable(e){const t={};return this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Sl(e.namespace)}/tables/${e.name}`,headers:t})).data.metadata}async tableExists(e){const t={};this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Sl(e.namespace)}/tables/${e.name}`,headers:t}),!0}catch(n){if(n instanceof mf&&n.status===404)return!1;throw n}}async createTableIfNotExists(e,t){try{return await this.createTable(e,t)}catch(n){if(n instanceof mf&&n.status===409)return await this.loadTable({namespace:e.namespace,name:t.name});throw n}}},iQ=class{constructor(e){var r;let t="v1";e.catalogName&&(t+=`/${e.catalogName}`);const n=e.baseUrl.endsWith("/")?e.baseUrl:`${e.baseUrl}/`;this.client=nQ({baseUrl:n,auth:e.auth,fetchImpl:e.fetch}),this.accessDelegation=(r=e.accessDelegation)==null?void 0:r.join(","),this.namespaceOps=new rQ(this.client,t),this.tableOps=new oQ(this.client,t,this.accessDelegation)}async listNamespaces(e){return this.namespaceOps.listNamespaces(e)}async createNamespace(e,t){return this.namespaceOps.createNamespace(e,t)}async dropNamespace(e){await this.namespaceOps.dropNamespace(e)}async loadNamespaceMetadata(e){return this.namespaceOps.loadNamespaceMetadata(e)}async listTables(e){return this.tableOps.listTables(e)}
1092async createTable(e,t){return this.tableOps.createTable(e,t)}async updateTable(e,t){return this.tableOps.updateTable(e,t)}async dropTable(e,t){await this.tableOps.dropTable(e,t)}async loadTable(e){return this.tableOps.loadTable(e)}async namespaceExists(e){return this.namespaceOps.namespaceExists(e)}async tableExists(e){return this.tableOps.tableExists(e)}async createNamespaceIfNotExists(e,t){return this.namespaceOps.createNamespaceIfNotExists(e,t)}async createTableIfNotExists(e,t){return this.tableOps.createTableIfNotExists(e,t)}},Sy=class extends Error{constructor(e,t="storage",n,r){super(e),this.__isStorageError=!0,this.namespace=t,this.name=t==="vectors"?"StorageVectorsError":"StorageError",this.status=n,this.statusCode=r}};function xy(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}var Cb=class extends Sy{constructor(e,t,n,r="storage"){super(e,r,t,n),this.name=r==="vectors"?"StorageVectorsApiError":"StorageApiError",this.status=t,this.statusCode=n}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}},mN=class extends Sy{constructor(e,t,n="storage"){super(e,n),this.name=n==="vectors"?"StorageVectorsUnknownError":"StorageUnknownError",this.originalError=t}};const sQ=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),aQ=e=>{if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Tb=e=>{if(Array.isArray(e))return e.map(n=>Tb(n));if(typeof e=="function"||e!==Object(e))return e;const t={};return Object.entries(e).forEach(([n,r])=>{const o=n.replace(/([-_][a-z])/gi,i=>i.toUpperCase().replace(/[-_]/g,""));t[o]=Tb(r)}),t},lQ=e=>!e||typeof e!="string"||e.length===0||e.length>100||e.trim()!==e||e.includes("/")||e.includes("\\")?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(e);function gf(e){"@babel/helpers - typeof";return gf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gf(e)}function uQ(e,t){if(gf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(gf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cQ(e){var t=uQ(e,"string");return gf(t)=="symbol"?t:t+""}function dQ(e,t,n){return(t=cQ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function CA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?CA(Object(n),!0).forEach(function(r){dQ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}const TA=e=>{var t;return e.msg||e.message||e.error_description||(typeof e.error=="string"?e.error:(t=e.error)===null||t===void 0?void 0:t.message)||JSON.stringify(e)},fQ=async(e,t,n,r)=>{if(e!==null&&typeof e=="object"&&typeof e.json=="function"){const o=e;let i=parseInt(o.status,10);Number.isFinite(i)||(i=500),o.json().then(s=>{const a=(s==null?void 0:s.statusCode)||(s==null?void 0:s.code)||i+"";t(new Cb(TA(s),i,a,r))}).catch(()=>{const s=i+"";t(new Cb(o.statusText||`HTTP ${i} error`,i,s,r))})}else t(new mN(TA(e),e,r))},hQ=(e,t,n,r)=>{const o={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"||e==="HEAD"||!r?be(be({},o),n):(aQ(r)?(o.headers=be({"Content-Type":"application/json"},t==null?void 0:t.headers),o.body=JSON.stringify(r)):o.body=r,t!=null&&t.duplex&&(o.duplex=t.duplex),be(be({},o),n))};async function Dc(e,t,n,r,o,i,s){return new Promise((a,l)=>{e(n,hQ(t,r,o,i)).then(u=>{if(!u.ok)throw u;if(r!=null&&r.noResolveJson)return u;if(s==="vectors"){const c=u.headers.get("content-type");if(u.headers.get("content-length")==="0"||u.status===204)return{};if(!c||!c.includes("application/json"))return{}}return u.json()}).then(u=>a(u)).catch(u=>fQ(u,l,r,s))})}function gN(e="storage"){return{get:async(t,n,r,o)=>Dc(t,"GET",n,r,o,void 0,e),post:async(t,n,r,o,i)=>Dc(t,"POST",n,o,i,r,e),put:async(t,n,r,o,i)=>Dc(t,"PUT",n,o,i,r,e),head:async(t,n,r,o)=>Dc(t,"HEAD",n,be(be({},r),{},{noResolveJson:!0}),o,void 0,e),remove:async(t,n,r,o,i)=>Dc(t,"DELETE",n,o,i,r,e)}}const pQ=gN("storage"),{get:yf,post:oo,put:Ab,head:mQ,remove:Q2}=pQ,gr=gN("vectors");var ic=class{constructor(e,t={},n,r="storage"){this.shouldThrowOnError=!1,this.url=e,this.headers=t,this.fetch=sQ(n),this.namespace=r}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(e,t){return this.headers=be(be({},this.headers),{},{[e]:t}),this}async handleOperation(e){var t=this;try{return{data:await e(),error:null}}catch(n){if(t.shouldThrowOnError)throw n;if(xy(n))return{data:null,error:n};throw n}}},gQ=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t}then(e,t){return this.execute().then(e,t)}async execute(){var e=this;try{return{data:(await e.downloadFn()).body,error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(xy(t))return{data:null,error:t};throw t}}};let yN;yN=Symbol.toStringTag;var yQ=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[yN]="BlobDownloadBuilder",this.promise=null}asStream(){return new gQ(this.downloadFn,this.shouldThrowOnError)}then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var e=this;try{return{data:await(await e.downloadFn()).blob(),error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(xy(t))return{data:null,error:t};throw t}}};const vQ={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},AA={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};var wQ=class extends ic{constructor(e,t={},n,r){super(e,t,r,"storage"),this.bucketId=n}async uploadOrUpdate(e,t,n,r){var o=this;return o.handleOperation(async()=>{let i;const s=be(be({},AA),r);let a=be(be({},o.headers),e==="POST"&&{"x-upsert":String(s.upsert)});const l=s.metadata;typeof Blob<"u"&&n instanceof Blob?(i=new FormData,i.append("cacheControl",s.cacheControl),l&&i.append("metadata",o.encodeMetadata(l)),i.append("",n)):typeof FormData<"u"&&n instanceof FormData?(i=n,i.has("cacheControl")||i.append("cacheControl",s.cacheControl),l&&!i.has("metadata")&&i.append("metadata",o.encodeMetadata(l))):(i=n,a["cache-control"]=`max-age=${s.cacheControl}`,a["content-type"]=s.contentType,l&&(a["x-metadata"]=o.toBase64(o.encodeMetadata(l))),(typeof ReadableStream<"u"&&i instanceof ReadableStream||i&&typeof i=="object"&&"pipe"in i&&typeof i.pipe=="function")&&!s.duplex&&(s.duplex="half")),r!=null&&r.headers&&(a=be(be({},a),r.headers));const u=o._removeEmptyFolders(t),c=o._getFinalPath(u),d=await(e=="PUT"?Ab:oo)(o.fetch,`${o.url}/object/${c}`,i,be({headers:a},s!=null&&s.duplex?{duplex:s.duplex}:{}));return{path:u,id:d.Id,fullPath:d.Key}})}async upload(e,t,n){return this.uploadOrUpdate("POST",e,t,n)}async uploadToSignedUrl(e,t,n,r){var o=this;const i=o._removeEmptyFolders(e),s=o._getFinalPath(i),a=new URL(o.url+`/object/upload/sign/${s}`);return a.searchParams.set("token",t),o.handleOperation(async()=>{let l;const u=be(be({},AA),r),c=be(be({},o.headers),{"x-upsert":String(u.upsert)});return typeof Blob<"u"&&n instanceof Blob?(l=new FormData,l.append("cacheControl",u.cacheControl),l.append("",n)):typeof FormData<"u"&&n instanceof FormData?(l=n,l.append("cacheControl",u.cacheControl)):(l=n,c["cache-control"]=`max-age=${u.cacheControl}`,c["content-type"]=u.contentType),{path:i,fullPath:(await Ab(o.fetch,a.toString(),l,{headers:c})).Key}})}async createSignedUploadUrl(e,t){var n=this;return n.handleOperation(async()=>{let r=n._getFinalPath(e);const o=be({},n.headers);t!=null&&t.upsert&&(o["x-upsert"]="true");const i=await oo(n.fetch,`${n.url}/object/upload/sign/${r}`,{},{headers:o}),s=new URL(n.url+i.url),a=s.searchParams.get("token");if(!a)throw new Sy("No token returned by API");return{signedUrl:s.toString(),path:e,token:a}})}async update(e,t,n){return this.uploadOrUpdate("PUT",e,t,n)}async move(e,t,n){var r=this;return r.handleOperation(async()=>await oo(r.fetch,`${r.url}/object/move`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,de
1092stinationBucket:n==null?void 0:n.destinationBucket},{headers:r.headers}))}async copy(e,t,n){var r=this;return r.handleOperation(async()=>({path:(await oo(r.fetch,`${r.url}/object/copy`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,destinationBucket:n==null?void 0:n.destinationBucket},{headers:r.headers})).Key}))}async createSignedUrl(e,t,n){var r=this;return r.handleOperation(async()=>{let o=r._getFinalPath(e);const i=typeof(n==null?void 0:n.transform)=="object"&&n.transform!==null&&Object.keys(n.transform).length>0;let s=await oo(r.fetch,`${r.url}/object/sign/${o}`,be({expiresIn:t},i?{transform:n.transform}:{}),{headers:r.headers});const a=n!=null&&n.download?`&download=${n.download===!0?"":n.download}`:"",l=i&&s.signedURL.includes("/object/sign/")?s.signedURL.replace("/object/sign/","/render/image/sign/"):s.signedURL;return{signedUrl:encodeURI(`${r.url}${l}${a}`)}})}async createSignedUrls(e,t,n){var r=this;return r.handleOperation(async()=>{const o=await oo(r.fetch,`${r.url}/object/sign/${r.bucketId}`,{expiresIn:t,paths:e},{headers:r.headers}),i=n!=null&&n.download?`&download=${n.download===!0?"":n.download}`:"";return o.map(s=>be(be({},s),{},{signedUrl:s.signedURL?encodeURI(`${r.url}${s.signedURL}${i}`):null}))})}download(e,t,n){const r=typeof(t==null?void 0:t.transform)<"u"?"render/image/authenticated":"object",o=this.transformOptsToQueryString((t==null?void 0:t.transform)||{}),i=o?`?${o}`:"",s=this._getFinalPath(e),a=()=>yf(this.fetch,`${this.url}/${r}/${s}${i}`,{headers:this.headers,noResolveJson:!0},n);return new yQ(a,this.shouldThrowOnError)}async info(e){var t=this;const n=t._getFinalPath(e);return t.handleOperation(async()=>Tb(await yf(t.fetch,`${t.url}/object/info/${n}`,{headers:t.headers})))}async exists(e){var t=this;const n=t._getFinalPath(e);try{return await mQ(t.fetch,`${t.url}/object/${n}`,{headers:t.headers}),{data:!0,error:null}}catch(o){if(t.shouldThrowOnError)throw o;if(xy(o)){var r;const i=o instanceof Cb?o.status:o instanceof mN?(r=o.originalError)===null||r===void 0?void 0:r.status:void 0;if(i!==void 0&&[400,404].includes(i))return{data:!1,error:o}}throw o}}getPublicUrl(e,t){const n=this._getFinalPath(e),r=[],o=t!=null&&t.download?`download=${t.download===!0?"":t.download}`:"";o!==""&&r.push(o);const i=typeof(t==null?void 0:t.transform)<"u"?"render/image":"object",s=this.transformOptsToQueryString((t==null?void 0:t.transform)||{});s!==""&&r.push(s);let a=r.join("&");return a!==""&&(a=`?${a}`),{data:{publicUrl:encodeURI(`${this.url}/${i}/public/${n}${a}`)}}}async remove(e){var t=this;return t.handleOperation(async()=>await Q2(t.fetch,`${t.url}/object/${t.bucketId}`,{prefixes:e},{headers:t.headers}))}async list(e,t,n){var r=this;return r.handleOperation(async()=>{const o=be(be(be({},vQ),t),{},{prefix:e||""});return await oo(r.fetch,`${r.url}/object/list/${r.bucketId}`,o,{headers:r.headers},n)})}async listV2(e,t){var n=this;return n.handleOperation(async()=>{const r=be({},e);return await oo(n.fetch,`${n.url}/object/list-v2/${n.bucketId}`,r,{headers:n.headers},t)})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e.replace(/^\/+/,"")}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(e){const t=[];return e.width&&t.push(`width=${e.width}`),e.height&&t.push(`height=${e.height}`),e.resize&&t.push(`resize=${e.resize}`),e.format&&t.push(`format=${e.format}`),e.quality&&t.push(`quality=${e.quality}`),t.join("&")}};const bQ="2.101.1",Xf={"X-Client-Info":`storage-js/${bQ}`};var SQ=class extends ic{constructor(e,t={},n,r){const o=new URL(e);r!=null&&r.useNewHostname&&/supabase\.(co|in|red)$/.test(o.hostname)&&!o.hostname.includes("storage.supabase.")&&(o.hostname=o.hostname.replace("supabase.","storage.supabase."));const i=o.href.replace(/\/$/,""),s=be(be({},Xf),t);super(i,s,n,"storage")}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=t.listBucketOptionsToQueryString(e);return await yf(t.fetch,`${t.url}/bucket${n}`,{headers:t.headers})})}async getBucket(e){var t=this;return t.handleOperation(async()=>await yf(t.fetch,`${t.url}/bucket/${e}`,{headers:t.headers}))}async createBucket(e,t={public:!1}){var n=this;return n.handleOperation(async()=>await oo(n.fetch,`${n.url}/bucket`,{id:e,name:e,type:t.type,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async updateBucket(e,t){var n=this;return n.handleOperation(async()=>await Ab(n.fetch,`${n.url}/bucket/${e}`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async emptyBucket(e){var t=this;return t.handleOperation(async()=>await oo(t.fetch,`${t.url}/bucket/${e}/empty`,{},{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Q2(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}listBucketOptionsToQueryString(e){const t={};return e&&("limit"in e&&(t.limit=String(e.limit)),"offset"in e&&(t.offset=String(e.offset)),e.search&&(t.search=e.search),e.sortColumn&&(t.sortColumn=e.sortColumn),e.sortOrder&&(t.sortOrder=e.sortOrder)),Object.keys(t).length>0?"?"+new URLSearchParams(t).toString():""}},xQ=class extends ic{constructor(e,t={},n){const r=e.replace(/\/$/,""),o=be(be({},Xf),t);super(r,o,n,"storage")}async createBucket(e){var t=this;return t.handleOperation(async()=>await oo(t.fetch,`${t.url}/bucket`,{name:e},{headers:t.headers}))}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=new URLSearchParams;(e==null?void 0:e.limit)!==void 0&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString()),e!=null&&e.sortColumn&&n.set("sortColumn",e.sortColumn),e!=null&&e.sortOrder&&n.set("sortOrder",e.sortOrder),e!=null&&e.search&&n.set("search",e.search);const r=n.toString(),o=r?`${t.url}/bucket?${r}`:`${t.url}/bucket`;return await yf(t.fetch,o,{headers:t.headers})})}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Q2(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}from(e){var t=this;if(!lQ(e))throw new Sy("Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.");const n=new iQ({baseUrl:this.url,catalogName:e,auth:{type:"custom",getHeaders:async()=>t.headers},fetch:this.fetch}
1092),r=this.shouldThrowOnError;return new Proxy(n,{get(o,i){const s=o[i];return typeof s!="function"?s:async(...a)=>{try{return{data:await s.apply(o,a),error:null}}catch(l){if(r)throw l;return{data:null,error:l}}}}})}},kQ=class extends ic{constructor(e,t={},n){const r=e.replace(/\/$/,""),o=be(be({},Xf),{},{"Content-Type":"application/json"},t);super(r,o,n,"vectors")}async createIndex(e){var t=this;return t.handleOperation(async()=>await gr.post(t.fetch,`${t.url}/CreateIndex`,e,{headers:t.headers})||{})}async getIndex(e,t){var n=this;return n.handleOperation(async()=>await gr.post(n.fetch,`${n.url}/GetIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers}))}async listIndexes(e){var t=this;return t.handleOperation(async()=>await gr.post(t.fetch,`${t.url}/ListIndexes`,e,{headers:t.headers}))}async deleteIndex(e,t){var n=this;return n.handleOperation(async()=>await gr.post(n.fetch,`${n.url}/DeleteIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers})||{})}},EQ=class extends ic{constructor(e,t={},n){const r=e.replace(/\/$/,""),o=be(be({},Xf),{},{"Content-Type":"application/json"},t);super(r,o,n,"vectors")}async putVectors(e){var t=this;if(e.vectors.length<1||e.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return t.handleOperation(async()=>await gr.post(t.fetch,`${t.url}/PutVectors`,e,{headers:t.headers})||{})}async getVectors(e){var t=this;return t.handleOperation(async()=>await gr.post(t.fetch,`${t.url}/GetVectors`,e,{headers:t.headers}))}async listVectors(e){var t=this;if(e.segmentCount!==void 0){if(e.segmentCount<1||e.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");if(e.segmentIndex!==void 0&&(e.segmentIndex<0||e.segmentIndex>=e.segmentCount))throw new Error(`segmentIndex must be between 0 and ${e.segmentCount-1}`)}return t.handleOperation(async()=>await gr.post(t.fetch,`${t.url}/ListVectors`,e,{headers:t.headers}))}async queryVectors(e){var t=this;return t.handleOperation(async()=>await gr.post(t.fetch,`${t.url}/QueryVectors`,e,{headers:t.headers}))}async deleteVectors(e){var t=this;if(e.keys.length<1||e.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return t.handleOperation(async()=>await gr.post(t.fetch,`${t.url}/DeleteVectors`,e,{headers:t.headers})||{})}},_Q=class extends ic{constructor(e,t={},n){const r=e.replace(/\/$/,""),o=be(be({},Xf),{},{"Content-Type":"application/json"},t);super(r,o,n,"vectors")}async createBucket(e){var t=this;return t.handleOperation(async()=>await gr.post(t.fetch,`${t.url}/CreateVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}async getBucket(e){var t=this;return t.handleOperation(async()=>await gr.post(t.fetch,`${t.url}/GetVectorBucket`,{vectorBucketName:e},{headers:t.headers}))}async listBuckets(e={}){var t=this;return t.handleOperation(async()=>await gr.post(t.fetch,`${t.url}/ListVectorBuckets`,e,{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await gr.post(t.fetch,`${t.url}/DeleteVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}},CQ=class extends _Q{constructor(e,t={}){super(e,t.headers||{},t.fetch)}from(e){return new TQ(this.url,this.headers,e,this.fetch)}async createBucket(e){var t=()=>super.createBucket,n=this;return t().call(n,e)}async getBucket(e){var t=()=>super.getBucket,n=this;return t().call(n,e)}async listBuckets(e={}){var t=()=>super.listBuckets,n=this;return t().call(n,e)}async deleteBucket(e){var t=()=>super.deleteBucket,n=this;return t().call(n,e)}},TQ=class extends kQ{constructor(e,t,n,r){super(e,t,r),this.vectorBucketName=n}async createIndex(e){var t=()=>super.createIndex,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName}))}async listIndexes(e={}){var t=()=>super.listIndexes,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName}))}async getIndex(e){var t=()=>super.getIndex,n=this;return t().call(n,n.vectorBucketName,e)}async deleteIndex(e){var t=()=>super.deleteIndex,n=this;return t().call(n,n.vectorBucketName,e)}index(e){return new AQ(this.url,this.headers,this.vectorBucketName,e,this.fetch)}}
1092,AQ=class extends EQ{constructor(e,t,n,r,o){super(e,t,o),this.vectorBucketName=n,this.indexName=r}async putVectors(e){var t=()=>super.putVectors,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async getVectors(e){var t=()=>super.getVectors,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async listVectors(e={}){var t=()=>super.listVectors,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async queryVectors(e){var t=()=>super.queryVectors,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async deleteVectors(e){var t=()=>super.deleteVectors,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}},PQ=class extends SQ{constructor(e,t={},n,r){super(e,t,n,r)}from(e){return new wQ(this.url,this.headers,e,this.fetch)}get vectors(){return new CQ(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new xQ(this.url+"/iceberg",this.headers,this.fetch)}};const vN="2.101.1",Ll=30*1e3,Pb=3,k0=Pb*Ll,RQ="http://localhost:9999",OQ="supabase.auth.token",MQ={"X-Client-Info":`gotrue-js/${vN}`},Rb="X-Supabase-Api-Version",wN={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},IQ=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,DQ=10*60*1e3;class vf extends Error{constructor(t,n,r){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=r}}function pe(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class LQ extends vf{constructor(t,n,r){super(t,n,r),this.name="AuthApiError",this.status=n,this.code=r}}function $Q(e){return pe(e)&&e.name==="AuthApiError"}class ma extends vf{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class Ni extends vf{constructor(t,n,r,o){super(t,r,o),this.name=n,this.status=r}}class ir extends Ni{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function E0(e){return pe(e)&&e.name==="AuthSessionMissingError"}class xl extends Ni{constructor(){super("Auth session or user missing","AuthInvalidToken
1092ResponseError",500,void 0)}}class Vh extends Ni{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class Hh extends Ni{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function NQ(e){return pe(e)&&e.name==="AuthImplicitGrantRedirectError"}class PA extends Ni{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class jQ extends Ni{constructor(){super("PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.","AuthPKCECodeVerifierMissingError",400,"pkce_code_verifier_not_found")}}class Ob extends Ni{constructor(t,n){super(t,"AuthRetryableFetchError",n,void 0)}}function _0(e){return pe(e)&&e.name==="AuthRetryableFetchError"}class RA extends Ni{constructor(t,n,r){super(t,"AuthWeakPasswordError",n,"weak_password"),this.reasons=r}}class Mb extends Ni{constructor(t){super(t,"AuthInvalidJwtError",400,"invalid_jwt")}}const Bm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),OA=` 	
1093\r=`.split(""),FQ=(()=>{const e=new Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<OA.length;t+=1)e[OA[t].charCodeAt(0)]=-2;for(let t=0;t<Bm.length;t+=1)e[Bm[t].charCodeAt(0)]=t;return e})();function MA(e,t,n){if(e!==null)for(t.queue=t.queue<<8|e,t.queuedBits+=8;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(Bm[r]),t.queuedBits-=6}else if(t.queuedBits>0)for(t.queue=t.queue<<6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(Bm[r]),t.queuedBits-=6}}function bN(e,t,n){const r=FQ[e];if(r>-1)for(t.queue=t.queue<<6|r,t.queuedBits+=6;t.queuedBits>=8;)n(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else{if(r===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function IA(e){const t=[],n=s=>{t.push(String.fromCodePoint(s))},r={utf8seq:0,codepoint:0},o={queue:0,queuedBits:0},i=s=>{zQ(s,r,n)};for(let s=0;s<e.length;s+=1)bN(e.charCodeAt(s),o,i);return t.join("")}function BQ(e,t){if(e<=127){t(e);return}else if(e<=2047){t(192|e>>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function UQ(e,t){for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(r>55295&&r<=56319){const o=(r-55296)*1024&65535;r=(e.charCodeAt(n+1)-56320&65535|o)+65536,n+=1}BQ(r,t)}}function zQ(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let r=1;r<6;r+=1)if(!(e>>7-r&1)){t.utf8seq=r;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&n(t.codepoint)}}function fu(e){const t=[],n={queue:0,queuedBits:0},r=o=>{t.push(o)};for(let o=0;o<e.length;o+=1)bN(e.charCodeAt(o),n,r);return new Uint8Array(t)}function VQ(e){const t=[];return UQ(e,n=>t.push(n)),new Uint8Array(t)}function Ca(e){const t=[],n={queue:0,queuedBits:0},r=o=>{t.push(o)};return e.forEach(o=>MA(o,n,r)),MA(null,n,r),t.join("")}function HQ(e){return Math.round(Date.now()/1e3)+e}function WQ(){return Symbol("auth-callback")}const Zt=()=>typeof window<"u"&&typeof document<"u",sa={tested:!1,writable:!1},SN=()=>{if(!Zt())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(sa.tested)return sa.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),sa.tested=!0,sa.writable=!0}catch{sa.tested=!0,sa.writable=!1}return sa.writable};function qQ(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEac
1093h((o,i)=>{t[i]=o})}catch{}return n.searchParams.forEach((r,o)=>{t[o]=r}),t}const xN=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),KQ=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",$l=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},aa=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return n}},Jt=async(e,t)=>{await e.removeItem(t)};class ky{constructor(){this.promise=new ky.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}ky.promiseConstructor=Promise;function Wh(e){const t=e.split(".");if(t.length!==3)throw new Mb("Invalid JWT structure");for(let r=0;r<t.length;r++)if(!IQ.test(t[r]))throw new Mb("JWT not in base64url format");return{header:JSON.parse(IA(t[0])),payload:JSON.parse(IA(t[1])),signature:fu(t[2]),raw:{header:t[0],payload:t[1]}}}async function GQ(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function YQ(e,t){return new Promise((r,o)=>{(async()=>{for(let i=0;i<1/0;i++)try{const s=await e(i);if(!t(i,null,s)){r(s);return}}catch(s){if(!t(i,s)){o(s);return}}})()})}function XQ(e){return("0"+e.toString(16)).substr(-2)}function JQ(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let o="";for(let i=0;i<56;i++)o+=n.charAt(Math.floor(Math.random()*r));return o}return crypto.getRandomValues(t),Array.from(t,XQ).join("")}async function QQ(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),o=new Uint8Array(r);return Array.from(o).map(i=>String.fromCharCode(i)).join("")}async function ZQ(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const n=await QQ(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function kl(e,t,n=!1){const r=JQ();let o=r;n&&(o+="/PASSWORD_RECOVERY"),await $l(e,`${t}-code-verifier`,o);const i=await ZQ(r);return[i,r===i?"plain":"s256"]}const eZ=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function tZ(e){const t=e.headers.get(Rb);if(!t||!t.match(eZ))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function nZ(e){if(!e)throw new Error("Missing exp claim");const t=Math.floor(Date.now()/1e3);if(e<=t)throw new Error("JWT has expired")}function rZ(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const oZ=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function El(e){if(!oZ.test(e))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function C0(){const e={};return new Proxy(e,{get:(t,n)=>{if(n==="__isUserNotAvailableProxy")return!0;if(typeof n=="symbol"){const r=n.toString();if(r==="Symbol(Symbol.toPrimitive)"||r==="Symbol(Symbol.toStringTag)"||r==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${n}" property of the session object is not supported. Please use getUser() instead.`)},set:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function iZ(e,t){return new Proxy(e,{get:(n,r,o)=>{if(r==="__isInsecureUserWarningProxy")return!0;if(typeof r=="symbol"){const i=r.toString();if(i==="Symbol(Symbol.toPrimitive)"||i==="Symbol(Symbol.toStringTag)"||i==="Symbol(util.inspect.custom)"||i==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(n,r,o)}return!t.value&&typeof r=="string"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),t.value=!0),Reflect.get(n,r,o)}})}function DA(e){return JSON.parse(JSON.stringify(e))}const fa=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),sZ=[502,503,504];async function LA(e){var t;if(!KQ(e))throw new Ob(fa(e),0);if(sZ.includes(e.status))throw new Ob(fa(e),e.status);let n;try{n=await e.json()}catch(i){throw new ma(fa(i),i)}let r;const o=tZ(e);if(o&&o.getTime()>=wN["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?r=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(r=n.error_code),r){if(r==="weak_password")throw new RA(fa(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(r==="session_not_found")throw new ir}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((i,s)=>i&&typeof s=="string",!0))throw new RA(fa(n),e.status,n.weak_password.reasons);throw new LQ(fa(n),e.status||500,r)}const aZ=(e,t,n,r)=>{const o={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?o:(o.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t==null?void 0:t.headers),o.body=JSON.stringify(r),Object.assign(Object.assign({},o),n))};async function ve(e,t,n,r){var o;const i=Object.assign({},r==null?void 0:r.headers);i[Rb]||(i[Rb]=wN["2024-01-01"].name),r!=null&&r.jwt&&(i.Authorization=`Bearer ${r.jwt}`);const s=(o=r==null?void 0:r.query)!==null&&o!==void 0?o:{};r!=null&&r.redirectTo&&(s.redirect_to=r.redirectTo);const a=Object.keys(s).length?"?"+new URLSearchParams(s).toString():"",l=await lZ(e,t,n+a,{headers:i,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(l):{data:Object.assign({},l),error:null}}async function lZ(e,t,n,r,o,i){const s=aZ(t,r,o,i);let a;try{a=await e(n,Object.assign({},s))}catch(l){throw console.error(l),new Ob(fa(l),0)}if(a.ok||await LA(a),r!=null&&r.noResolveJson)return a;try{return await a.json()}catch(l){await LA(l)}}function eo(e){var t;let n=null;dZ(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=HQ(e.expires_in)));const r=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:n,user:r},error:null}}function $A(e){const t=eo(e);return!t.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((n,r)=>n&&typeof r=="string",!0)&&(t.data.weak_password=e.weak_password),t}function as(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function uZ(e){return{data:e,error:null}}function cZ(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:o,verification_type:i}=e,s=oc(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),a={action_link:t,email_otp:n,hashed_token:r,redirect_to:o,verification_type:i},l=Object.assign({},s);return{data:{properties:a,user:l},error:null}}function NA(e){return e}function dZ(e){return e.access_token&&e.refresh_token&&e.expires_in}const T0=["global","local","others"];class fZ{constructor({url:t="",headers:n={},fetch:r}){this.url=t,this.headers=n,this.fetch=xN(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)},this.customProviders={listProviders:this._listCustomProviders.bind(this),createProvider:this._createCustomProvider.bind(this),getProvider:this._getCustomProvider.bind(this),updateProvider:this._updateCustomProvider.bind(this),deleteProvider:this._deleteCustomProvider.bind(this)}}
vendor: 4,780 bytes, line 1093
1093async signOut(t,n=T0[0]){if(T0.indexOf(n)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${T0.join(", ")}`);try{return await ve(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(r){if(pe(r))return{data:null,error:r};throw r}}async inviteUserByEmail(t,n={}){try{return await ve(this.fetch,"POST",`${this.url}/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:as})}catch(r){if(pe(r))return{data:{user:null},error:r};throw r}}async generateLink(t){try{const{options:n}=t,r=oc(t,["options"]),o=Object.assign(Object.assign({},r),n);return"newEmail"in r&&(o.new_email=r==null?void 0:r.newEmail,delete o.newEmail),await ve(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:o,headers:this.headers,xform:cZ,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(pe(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await ve(this.fetch,"POST",`${this.url}/admin/users`,{body:t,headers:this.headers,xform:as})}catch(n){if(pe(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,r,o,i,s,a,l;try{const u={nextPage:null,lastPage:0,total:0},c=await ve(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(i=(o=t==null?void 0:t.perPage)===null||o===void 0?void 0:o.toString())!==null&&i!==void 0?i:""},xform:NA});if(c.error)throw c.error;const d=await c.json(),f=(s=c.headers.get("x-total-count"))!==null&&s!==void 0?s:0,h=(l=(a=c.headers.get("link"))===null||a===void 0?void 0:a.split(","))!==null&&l!==void 0?l:[];return h.length>0&&(h.forEach(g=>{const p=parseInt(g.split(";")[0].split("=")[1].substring(0,1)),m=JSON.parse(g.split(";")[1].split("=")[1]);u[`${m}Page`]=p}),u.total=parseInt(f)),{data:Object.assign(Object.assign({},d),u),error:null}}catch(u){if(pe(u))return{data:{users:[]},error:u};throw u}}async getUserById(t){El(t);try{return await ve(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:as})}catch(n){if(pe(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){El(t);try{return await ve(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:as})}catch(r){if(pe(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){El(t);try{return await ve(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:as})}catch(r){if(pe(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){El(t.userId);try{const{data:n,error:r}=await ve(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:o=>({data:{factors:o},error:null})});return{data:n,error:r}}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _deleteFactor(t){El(t.userId),El(t.id);try{return{data:await ve(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _listOAuthClients(t){var n,r,o,i,s,a,l;try{const u={nextPage:null,lastPage:0,total:0},c=await ve(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(i=(o=t==null?void 0:t.perPage)===null||o===void 0?void 0:o.toString())!==null&&i!==void 0?i:""},xform:NA});if(c.error)throw c.error;const d=await c.json(),f=(s=c.headers.get("x-total-count"))!==null&&s!==void 0?s:0,h=(l=(a=c.headers.get("link"))===null||a===void 0?void 0:a.split(","))!==null&&l!==void 0?l:[];return h.length>0&&(h.forEach(g=>{const p=parseInt(g.split(";")[0].split("=")[1].substring(0,1)),m=JSON.parse(g.split(";")[1].split("=")[1]);u[`${m}Page`]=p}),u.total=parseInt(f)),{data:Object.assign(Object.assign({},d),u),error:null}}catch(u){if(pe(u))return{data:{clients:[]},error:u};throw u}}async _createOAuthClient(t){try{return await ve(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _getOAuthClient(t){try{return await ve(this.fetch,"GET",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _updateOAuthClient(t,n){try{return await ve(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${t}`,{body:n,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(pe(r))return{data:null,error:r};throw r}}async _deleteOAuthClient(t){try{return await ve(this.fetch,"DELET
1093E",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _regenerateOAuthClientSecret(t){try{return await ve(this.fetch,"POST",`${this.url}/admin/oauth/clients/${t}/regenerate_secret`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _listCustomProviders(t){try{const n={};return t!=null&&t.type&&(n.type=t.type),await ve(this.fetch,"GET",`${this.url}/admin/custom-providers`,{headers:this.headers,query:n,xform:r=>{var o;return{data:{providers:(o=r==null?void 0:r.providers)!==null&&o!==void 0?o:[]},error:null}}})}catch(n){if(pe(n))return{data:{providers:[]},error:n};throw n}}async _createCustomProvider(t){try{return await ve(this.fetch,"POST",`${this.url}/admin/custom-providers`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _getCustomProvider(t){try{return await ve(this.fetch,"GET",`${this.url}/admin/custom-providers/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _updateCustomProvider(t,n){try{return await ve(this.fetch,"PUT",`${this.url}/admin/custom-providers/${t}`,{body:n,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(pe(r))return{data:null,error:r};throw r}}async _deleteCustomProvider(t){try{return await ve(this.fetch,"DELETE",`${this.url}/admin/custom-providers/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(pe(n))return{data:null,error:n};throw n}}}function jA(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}const _o={debug:!!(globalThis&&SN()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};
1093class kN extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}class FA extends kN{}async function hZ(e,t,n){_o.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);const r=new globalThis.AbortController;let o;t>0&&(o=setTimeout(()=>{r.abort(),_o.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},t)),await Promise.resolve();try{return await globalThis.navigator.locks.request(e,t===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:r.signal},async i=>{if(i){clearTimeout(o),_o.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,i.name);try{return await n()}finally{_o.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,i.name)}}else{if(t===0)throw _o.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new FA(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(_o.debug)try{const s=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(s,null,"  "))}catch(s){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",s)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),clearTimeout(o),await n()}})}catch(i){if(t>0&&clearTimeout(o),(i==null?void 0:i.name)==="AbortError"&&t>0){if(r.signal.aborted)return _o.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire timeout, recovering by stealing lock",e),console.warn(`@supabase/gotrue-js: Lock "${e}" was not released within ${t}ms. This may indicate an orphaned lock from a component unmount (e.g., React Strict Mode). Forcefully acquiring the lock to recover.`),await Promise.resolve().then(()=>globalThis.navigator.locks.request(e,{mode:"exclusive",steal:!0},async s=>{if(s){_o.debug&&console.log("@supabase/gotrue-js: navigatorLock: recovered (stolen)",e,s.name);try{return await n()}finally{_o.debug&&console.log("@supabase/gotrue-js: navigatorLock: released (stolen)",e,s.name)}}else return console.warn("@supabase/gotrue-js: Navigator LockManager returned null lock even with steal: true"),await n()}));throw _o.debug&&console.log("@supabase/gotrue-js: navigatorLock: lock was stolen by another request",e),new FA(`Lock "${e}" was released because another request stole it`)}throw i}}function pZ(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function EN(e){if(!/^0x[a-fA-F0-9]{40}$/.test(e))throw new Error(`@supabase/auth-js: Address "${e}" is invalid.`);return e.toLowerCase()}function mZ(e){return parseInt(e,16)}function gZ(e){const t=new TextEncoder().encode(e);return"0x"+Array.from(t,r=>r.toString(16).padStart(2,"0")).join("")}function yZ(e){var t;const{chainId:n,domain:r,expirationTime:o,issuedAt:i=new Date,nonce:s,notBefore:a,requestId:l,resources:u,scheme:c,uri:d,version:f}=e;{if(!Number.isInteger(n))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${n}`);if(!r)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(s&&s.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${s}`);if(!d)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(f!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${f}`);if(!((t=e.statement)===null||t===void 0)&&t.includes(`
1094`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${e.statement}`)}const h=EN(e.address),g=c?`${c}://${r}`:r,p=e.statement?`${e.statement}
1095`:"",m=`${g} wants you to sign in with your Ethereum account:
1096${h}
1097
1098${p}`;let y=`URI: ${d}
1099Version: ${f}
1100Chain ID: ${n}${s?`
1101Nonce: ${s}`:""}
1102Issued At: ${i.toISOString()}`;
1102if(o&&(y+=`
1103Expiration Time: ${o.toISOString()}`),a&&(y+=`
1104Not Before: ${a.toISOString()}`),l&&(y+=`
1105Request ID: ${l}`),u){let v=`
1106Resources:`;for(const w of u){if(!w||typeof w!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${w}`);v+=`
1107- ${w}`}y+=v}return`${m}
1108${y}`}class Lt extends Error{constructor({message:t,code:n,cause:r,name:o}){var i;super(t,{cause:r}),this.__isWebAuthnError=!0,this.name=(i=o??(r instanceof Error?r.name:void 0))!==null&&i!==void 0?i:"Unknown Error",this.code=n}}class Um extends Lt{constructor(t,n){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:n,message:t}),this.name="WebAuthnUnknownError",this.originalError=n}}function vZ({error:e,options:t}){var n,r,o;const{publicKey:i}=t;if(!i)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Lt({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(((n=i.authenticatorSelection)===null||n===void 0?void 0:n.requireResidentKey)===!0)return new Lt({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(t.mediation==="conditional"&&((r=i.authenticatorSelection)===null||r===void 0?void 0:r.userVerification)==="required")return new Lt({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(((o=i.authenticatorSelection)===null||o===void 0?void 0:o.userVerification)==="required")return new Lt({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new Lt({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new Lt({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return i.pubKeyCredParams.filter(a=>a.type==="public-key").length===0?new Lt({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new Lt({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const s=window.location.hostname;if(_N(s)){if(i.rp.id!==s)return new Lt({message:`The RP ID "${i.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Lt({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(i.user.id.byteLength<1||i.user.id.byteLength>64)return new Lt({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new Lt({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new Lt({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}function wZ({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Lt({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new Lt({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const r=window.location.hostname;if(_N(r)){if(n.rpId!==r)return new Lt({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Lt({message:`${window.location.hostname}
1108 is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new Lt({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new Lt({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}class bZ{createNewAbortSignal(){if(this.controller){const n=new Error("Cancelling existing WebAuthn API call for new one");n.name="AbortError",this.controller.abort(n)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}}const SZ=new bZ;function xZ(e){if(!e)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(e);const{challenge:t,user:n,excludeCredentials:r}=e,o=oc(e,["challenge","user","excludeCredentials"]),i=fu(t).buffer,s=Object.assign(Object.assign({},n),{id:fu(n.id).buffer}),a=Object.assign(Object.assign({},o),{challenge:i,user:s});if(r&&r.length>0){a.excludeCredentials=new Array(r.length);for(let l=0;l<r.length;l++){const u=r[l];a.excludeCredentials[l]=Object.assign(Object.assign({},u),{id:fu(u.id).buffer,type:u.type||"public-key",transports:u.transports})}}return a}function kZ(e){if(!e)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(e);const{challenge:t,allowCredentials:n}=e,r=oc(e,["challenge","allowCredentials"]),o=fu(t).buffer,i=Object.assign(Object.assign({},r),{challenge:o});if(n&&n.length>0){i.allowCredentials=new Array(n.length);for(let s=0;s<n.length;s++){const a=n[s];i.allowCredentials[s]=Object.assign(Object.assign({},a),{id:fu(a.id).buffer,type:a.type||"public-key",transports:a.transports})}}return i}function EZ(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e;return{id:e.id,rawId:e.id,response:{attestationObject:Ca(new Uint8Array(e.response.attestationObject)),clientDataJSON:Ca(new Uint8Array(e.response.clientDataJSON))},type:"public-key",clientExtensionResults:e.getClientExtensionResults(),authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function _Z(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e,r=e.getClientExtensionResults(),o=e.response;return{id:e.id,rawId:e.id,response:{authenticatorData:Ca(new Uint8Array(o.authenticatorData)),clientDataJSON:Ca(new Uint8Array(o.clientDataJSON)),signature:Ca(new Uint8Array(o.signature)),userHandle:o.userHandle?Ca(new Uint8Array(o.userHandle)):void 0},type:"public-key",clientExtensionResults:r,authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function _N(e){return e==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}function BA(){var e,t;return!!(Zt()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((e=navigator==null?void 0:navigator.credentials)===null||e===void 0?void 0:e.create)=="function"&&typeof((t=navigator==null?void 0:navigator.credentials)===null||t===void 0?void 0:t.get)=="function")}async function CZ(e){try{const t=await navigator.credentials.create(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Um("Browser returned unexpected credential type",t)}:{data:null,error:new Um("Empty credential response",t)}}catch(t){return{data:null,error:vZ({error:t,options:e})}}}async function TZ(e){try{const t=await navigator.credentials.get(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Um("Browser returned unexpected credential type",t)}:{data:null,error:new Um("Empty credential response",t)}}
1108catch(t){return{data:null,error:wZ({error:t,options:e})}}}const AZ={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"direct"},PZ={userVerification:"preferred",hints:["security-key"],attestation:"direct"};function zm(...e){const t=o=>o!==null&&typeof o=="object"&&!Array.isArray(o),n=o=>o instanceof ArrayBuffer||ArrayBuffer.isView(o),r={};for(const o of e)if(o)for(const i in o){const s=o[i];if(s!==void 0)if(Array.isArray(s))r[i]=s;else if(n(s))r[i]=s;else if(t(s)){const a=r[i];t(a)?r[i]=zm(a,s):r[i]=zm(s)}else r[i]=s}return r}function RZ(e,t){return zm(AZ,e,t||{})}function OZ(e,t){return zm(PZ,e,t||{})}class MZ{constructor(t){this.client=t,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(t){return this.client.mfa.enroll(Object.assign(Object.assign({},t),{factorType:"webauthn"}))}async _challenge({factorId:t,webauthn:n,friendlyName:r,signal:o},i){var s;try{const{data:a,error:l}=await this.client.mfa.challenge({factorId:t,webauthn:n});if(!a)return{data:null,error:l};const u=o??SZ.createNewAbortSignal();if(a.webauthn.type==="create"){const{user:c}=a.webauthn.credential_options.publicKey;if(!c.name){const d=r;if(d)c.name=`${c.id}:${d}`;else{const h=(await this.client.getUser()).data.user,g=((s=h==null?void 0:h.user_metadata)===null||s===void 0?void 0:s.name)||(h==null?void 0:h.email)||(h==null?void 0:h.id)||"User";c.name=`${c.id}:${g}`}}c.displayName||(c.displayName=c.name)}switch(a.webauthn.type){case"create":{const c=RZ(a.webauthn.credential_options.publicKey,i==null?void 0:i.create),{data:d,error:f}=await CZ({publicKey:c,signal:u});return d?{data:{factorId:t,challengeId:a.id,webauthn:{type:a.webauthn.type,credential_response:d}},error:null}:{data:null,error:f}}case"request":{const c=OZ(a.webauthn.credential_options.publicKey,i==null?void 0:i.request),{data:d,error:f}=await TZ(Object.assign(Object.assign({},a.webauthn.credential_options),{publicKey:c,signal:u}));return d?{data:{factorId:t,challengeId:a.id,webauthn:{type:a.webauthn.type,credential_response:d}},error:null}:{data:null,error:f}}}}catch(a){return pe(a)?{data:null,error:a}:{data:null,error:new ma("Unexpected error in challenge",a)}}}async _verify({challengeId:t,factorId:n,webauthn:r}){return this.client.mfa.verify({factorId:n,challengeId:t,webauthn:r})}async _authenticate({factorId:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:o}={}},i){if(!n)return{data:null,error:new vf("rpId is required for WebAuthn authentication")};try{if(!BA())return{data:null,error:new ma("Browser does not support WebAuthn",null)};const{data:s,error:a}=await this.challenge({factorId:t,webauthn:{rpId:n,rpOrigins:r},signal:o},{request:i});if(!s)return{data:null,error:a};const{webauthn:l}=s;return this._verify({factorId:t,challengeId:s.challengeId,webauthn:{type:l.type,rpId:n,rpOrigins:r,credential_response:l.credential_response}})}catch(s){return pe(s)?{data:null,error:s}:{data:null,error:new ma("Unexpected error in authenticate",s)}}}async _register({friendlyName:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:o}={}},i){if(!n)return{data:null,error:new vf("rpId is required for WebAuthn registration")};try{if(!BA())return{data:null,error:new ma("Browser does not support WebAuthn",null)};const{data:s,error:a}=await this._enroll({friendlyName:t});if(!s)return await this.client.mfa.listFactors().then(c=>{var d;return(d=c.data)===null||d===void 0?void 0:d.all.find(f=>f.factor_type==="webauthn"&&f.friendly_name===t&&f.status!=="unverified")}).then(c=>c?this.client.mfa.unenroll({factorId:c==null?void 0:c.id}):void 0),{data:null,error:a};const{data:l,error:u}=await this._challenge({factorId:s.id,friendlyName:s.friendly_name,webauthn:{rpId:n,rpOrigins:r},signal:o},{create:i});return l?this._verify({factorId:s.id,challengeId:l.challengeId,webauthn:{rpId:n,rpOrigins:r,type:l.webauthn.type,credential_response:l.webauthn.credential_response}}):{data:null,error:u}}catch(s){return pe(s)?{data:null,error:s}:{data:null,error:new ma("Unexpected error in register",s)}}}}pZ();const IZ={url:RQ,storageKey:OQ,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:MQ,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1,lockAcquireTimeout:5e3,skipAutoInitialize:!1};async function UA(e,t,n){return await n()}const _l={};class wf{get jwks(){var t,n;return(n=(t=_l[this.storageKey])===null||t===void 0?void 0:t.jwks)!==null&&n!==void 0?n:{keys:[]}}set jwks(t){_l[this.storageKey]=Object.assign(Object.assign({},_l[this.storageKey]),{jwks:t})}get jwks_cached_at(){var t,n;return(n=(t=_l[this.storageKey])===null||t===void 0?void 0:t.cachedAt)!==null&&n!==void 0?n:Number.MIN_SAFE_INTEGER}set jwks_cached_at(t){_l[this.storageKey]=Object.assign(Object.assign({},_l[this.storageKey]),{cachedAt:t})}constructor(t){var n,r,o;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.autoRefreshTickTimeout=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const i=Object.assign(Object.assign({},IZ),t);if(this.storageKey=i.storageKey,this.instanceID=(n=wf.nextInstanceID[this.storageKey])!==null&&n!==void 0?n:0,wf.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!i.debug,typeof i.debug=="function"&&(this.logger=i.debug),this.instanceID>0&&Zt()){const s=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(s),this.logDebugMessages&&console.trace(s)}if(this.persistSession=i.persistSession,this.autoRefreshToken=i.autoRefreshToken,this.admin=new fZ({url:i.url,headers:i.headers,fetch:i.fetch}),this.url=i.url,this.headers=i.headers,this.fetch=xN(i.fetch),this.lock=i.lock||UA,this.detectSessionInUrl=i.detectSessionInUrl,this.flowType=i.flowType,this.hasCustomAuthorizationHeader=i.hasCustomAuthorizationHeader,this.throwOnError=i.throwOnError,this.lockAcquireTimeout=i.lockAcquireTimeout,i.lock?this.lock=i.lock:this.persistSession&&Zt(
vendor: 6,156 bytes, line 1108
1108)&&(!((r=globalThis==null?void 0:globalThis.navigator)===null||r===void 0)&&r.locks)?this.lock=hZ:this.lock=UA,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new MZ(this)},this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.persistSession?(i.storage?this.storage=i.storage:SN()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=jA(this.memoryStorage)),i.userStorage&&(this.userStorage=i.userStorage)):(this.memoryStorage={},this.storage=jA(this.memoryStorage)),Zt()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(s){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",s)}(o=this.broadcastChannel)===null||o===void 0||o.addEventListener("message",async s=>{this._debug("received broadcast notification from other tab or client",s);try{await this._notifyAllSubscribers(s.data.event,s.data.session,!1)}catch(a){this._debug("#broadcastChannel","error",a)}})}i.skipAutoInitialize||this.initialize().catch(s=>{this._debug("#initialize()","error",s)})}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(t){if(this.throwOnError&&t&&t.error)throw t.error;return t}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${vN}) ${new Date().toISOString()}`}_debug(...t){return this.logDebugMessages&&this.logger(this._logPrefix(),...t),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(this.lockAcquireTimeout,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var t;try{let n={},r="none";if(Zt()&&(n=qQ(window.location.href),this._isImplicitGrantCallback(n)?r="implicit":await this._isPKCECallback(n)&&(r="pkce")),Zt()&&this.detectSessionInUrl&&r!=="none"){const{data:o,error:i}=await this._getSessionFromURL(n,r);if(i){if(this._debug("#_initialize()","error detecting session from URL",i),NQ(i)){const l=(t=i.details)===null||t===void 0?void 0:t.code;if(l==="identity_already_exists"||l==="identity_not_found"||l==="single_identity_not_deletable")return{error:i}}return{error:i}}const{session:s,redirectType:a}=o;return this._debug("#_initialize()","detected session in URL",s,"redirect type",a),await this._saveSession(s),setTimeout(async()=>{a==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",s):await this._notifyAllSubscribers("SIGNED_IN",s)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return pe(n)?this._returnResult({error:n}):this._returnResult({error:new ma("Unexpected error during initialization",n)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var n,r,o;try{const i=await ve(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(r=(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:(o=t==null?void 0:t.options)===null||o===void 0?void 0:o.captchaToken}},xform:eo}),{data:s,error:a}=i;if(a||!s)return this._returnResult({data:{user:null,session:null},error:a});const l=s.session,u=s.user;return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",l)),this._returnResult({data:{user:u,session:l},error:null})}catch(i){if(pe(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signUp(t){var n,r,o;try{let i;if("email"in t){const{email:c,password:d,options:f}=t;let h=null,g=null;this.flowType==="pkce"&&([h,g]=await kl(this.storage,this.storageKey)),i=await ve(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:f==null?void 0:f.emailRedirectTo,body:{email:c,password:d,data:(n=f==null?void 0:f.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken},code_challenge:h,code_challenge_method:g},xform:eo})}else if("phone"in t){const{phone:c,password:d,options:f}=t;i=await ve(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:c,password:d,data:(r=f==null?void 0:f.data)!==null&&r!==void 0?r:{},channel:(o=f==null?void 0:f.channel)!==null&&o!==void 0?o:"sms",gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken}},xform:eo})}else throw new Vh("You must provide either an email or phone number and a password");const{data:s,error:a}=i;if(a||!s)return await Jt(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:a});const l=s.session,u=s.user;return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",l)),this._returnResult({data:{user:u,session:l},error:null})}catch(i){if(await Jt(this.storage,`${this.storageKey}-code-verifier`),pe(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signInWithPassword(t){try{let n;if("email"in t){const{email:i,password:s,options:a}=t;n=await ve(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:i,password:s,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:$A})}else if("phone"in t){const{phone:i,password:s,options:a}=t;n=await ve(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:i,password:s,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:$A})}else throw new Vh("You must provide either an email or phone number and a password");const{data:r,error:o}=n;
1108if(o)return this._returnResult({data:{user:null,session:null},error:o});if(!r||!r.session||!r.user){const i=new xl;return this._returnResult({data:{user:null,session:null},error:i})}return r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),this._returnResult({data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:o})}catch(n){if(pe(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOAuth(t){var n,r,o,i;return await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(o=t.options)===null||o===void 0?void 0:o.queryParams,skipBrowserRedirect:(i=t.options)===null||i===void 0?void 0:i.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this._acquireLock(this.lockAcquireTimeout,async()=>this._exchangeCodeForSession(t))}async signInWithWeb3(t){const{chain:n}=t;switch(n){case"ethereum":return await this.signInWithEthereum(t);case"solana":return await this.signInWithSolana(t);default:throw new Error(`@supabase/auth-js: Unsupported chain "${n}"`)}}async signInWithEthereum(t){var n,r,o,i,s,a,l,u,c,d,f;let h,g;if("message"in t)h=t.message,g=t.signature;else{const{chain:p,wallet:m,statement:y,options:v}=t;let w;if(Zt())if(typeof m=="object")w=m;else{const M=window;if("ethereum"in M&&typeof M.ethereum=="object"&&"request"in M.ethereum&&typeof M.ethereum.request=="function")w=M.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof m!="object"||!(v!=null&&v.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");w=m}const S=new URL((n=v==null?void 0:v.url)!==null&&n!==void 0?n:window.location.href),x=await w.request({method:"eth_requestAccounts"}).then(M=>M).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!x||x.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const k=EN(x[0]);let _=(r=v==null?void 0:v.signInWithEthereum)===null||r===void 0?void 0:r.chainId;if(!_){const M=await w.request({method:"eth_chainId"});_=mZ(M)}const A={domain:S.host,address:k,statement:y,uri:S.href,version:"1",chainId:_,nonce:(o=v==null?void 0:v.signInWithEthereum)===null||o===void 0?void 0:o.nonce,issuedAt:(s=(i=v==null?void 0:v.signInWithEthereum)===null||i===void 0?void 0:i.issuedAt)!==null&&s!==void 0?s:new Date,expirationTime:(a=v==null?void 0:v.signInWithEthereum)===null||a===void 0?void 0:a.expirationTime,notBefore:(l=v==null?void 0:v.signInWithEthereum)===null||l===void 0?void 0:l.notBefore,requestId:(u=v==null?void 0:v.signInWithEthereum)===null||u===void 0?void 0:u.requestId,resources:(c=v==null?void 0:v.signInWithEthereum)===null||c===void 0?void 0:c.resources};h=yZ(A),g=await w.request({method:"personal_sign",params:[gZ(h),k]})}try{const{data:p,error:m}=await ve(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:h,signature:g},!((d=t.options)===null||d===void 0)&&d.captchaToken?{gotrue_meta_security:{captcha_token:(f=t.options)===null||f===void 0?void 0:f.captchaToken}}:null),xform:eo});if(m)throw m;if(!p||!p.session||!p.user){const y=new xl;return this._returnResult({data:{user:null,session:null},error:y})}return p.session&&(await this._saveSession(p.session),await this._notifyAllSubscribers("SIGNED_IN",p.session)),this._returnResult({data:Object.assign({},p),error:m})}catch(p){if(pe(p))return this._returnResult({data:{user:null,session:null},error:p});throw p}}async signInWithSolana(t){var n,r,o,i,s,a,l,u,c,d,f,h;let g,p;if("message"in t)g=t.message,p=t.signature;else{const{chain:m,wallet:y,statement:v,options:w}=t;let S;if(Zt())if(typeof y=="object")S=y;
1108else{const k=window;if("solana"in k&&typeof k.solana=="object"&&("signIn"in k.solana&&typeof k.solana.signIn=="function"||"signMessage"in k.solana&&typeof k.solana.signMessage=="function"))S=k.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof y!="object"||!(w!=null&&w.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");S=y}const x=new URL((n=w==null?void 0:w.url)!==null&&n!==void 0?n:window.location.href);if("signIn"in S&&S.signIn){const k=await S.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},w==null?void 0:w.signInWithSolana),{version:"1",domain:x.host,uri:x.href}),v?{statement:v}:null));let _;if(Array.isArray(k)&&k[0]&&typeof k[0]=="object")_=k[0];else if(k&&typeof k=="object"&&"signedMessage"in k&&"signature"in k)_=k;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in _&&"signature"in _&&(typeof _.signedMessage=="string"||_.signedMessage instanceof Uint8Array)&&_.signature instanceof Uint8Array)g=typeof _.signedMessage=="string"?_.signedMessage:new TextDecoder().decode(_.signedMessage),p=_.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in S)||typeof S.signMessage!="function"||!("publicKey"in S)||typeof S!="object"||!S.publicKey||!("toBase58"in S.publicKey)||typeof S.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");g=[`${x.host} wants you to sign in with your Solana account:`,S.publicKey.toBase58(),...v?["",v,""]:[""],"Version: 1",`URI: ${x.href}`,`Issued At: ${(o=(r=w==null?void 0:w.signInWithSolana)===null||r===void 0?void 0:r.issuedAt)!==null&&o!==void 0?o:new Date().toISOString()}`,...!((i=w==null?void 0:w.signInWithSolana)===null||i===void 0)&&i.notBefore?[`Not Before: ${w.signInWithSolana.notBefore}`]:[],...!((s=w==null?void 0:w.signInWithSolana)===null||s===void 0)&&s.expirationTime?[`Expiration Time: ${w.signInWithSolana.expirationTime}`]:[],...!((a=w==null?void 0:w.signInWithSolana)===null||a===void 0)&&a.chainId?[`Chain ID: ${w.signInWithSolana.chainId}`]:[],...!((l=w==null?void 0:w.signInWithSolana)===null||l===void 0)&&l.nonce?[`Nonce: ${w.signInWithSolana.nonce}`]:[],...!((u=w==null?void 0:w.signInWithSolana)===null||u===void 0)&&u.requestId?[`Request ID: ${w.signInWithSolana.requestId}`]:[],...!((d=(c=w==null?void 0:w.signInWithSolana)===null||c===void 0?void 0:c.resources)===null||d===void 0)&&d.length?["Resources",...w.signInWithSolana.resources.map(_=>`- ${_}`)]:[]].join(`
1109`);const k=await S.signMessage(new TextEncoder().encode(g),"utf8");if(!k||!(k instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");p=k}}try{const{data:m,error:y}=await ve(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:g,signature:Ca(p)},!((f=t.options)===null||f===void 0)&&f.captchaToken?{gotrue_meta_security:{captcha_token:(h=t.options)===null||h===void 0?void 0:h.captchaToken}}:null),xform:eo});if(y)throw y;if(!m||!m.session||!m.user){const v=new xl;return this._returnResult({data:{user:null,session:null},error:v})}return m.session&&(await this._saveSession(m.session),await this._notifyAllSubscribers("SIGNED_IN",m.session)),this._returnResult({data:Object.assign({},m),error:y})}catch(m){if(pe(m))return this._returnResult({data:{user:null,session:null},error:m});throw m}}async _exchangeCodeForSession(t){const n=await aa(this.storage,`${this.storageKey}-code-verifier`),[r,o]=(n??"").split("/");try{if(!r&&this.flowType==="pkce")throw new jQ;const{data:i,error:s}=await ve(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:r},xform:eo});if(await Jt(this.storage,`${this.storageKey}-code-verifier`),s)throw s;if(!i||!i.session||!i.user){const a=new xl;return this._returnResult({data:{user:null,session:null,redirectType:null},error:a})}return i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",i.session)),this._returnResult({data:Object.assign(Object.assign({},i),{redirectType:o??null}),error:s})}catch(i){if(await Jt(this.storage,`${this.storageKey}-code-verifier`),pe(i))return this._returnResult({data:{user:null,session:null,redirectType:null},error:i});throw i}}async signInWithIdToken(t){try{const{options:n,provider:r,token:o,access_token:i,nonce:s}=t,a=await ve(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:o,access_token:i,nonce:s,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:eo}),{data:l,error:u}=a;if(u)return this._returnResult({data:{user:null,session:null},error:u});if(!l||!l.session||!l.user){const c=new xl;return this._returnResult({data:{user:null,session:null},error:c})}return l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers("SIGNED_IN",l.session)),this._returnResult({data:l,error:u})}catch(n){if(pe(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOtp(t){var n,r,o,i,s;try{if("email"in t){const{email:a,options:l}=t;let u=null,c=null;this.flowType==="pkce"&&([u,c]=await kl(this.storage,this.storageKey));const{error:d}=await ve(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:a,data:(n=l==null?void 0:l.data)!==null&&n!==void 0?n:{},create_user:(r=l==null?void 0:l.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},code_challenge:u,code_challenge_method:c},redirectTo:l==null?void 0:l.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:d})}if("phone"in t){const{phone:a,options:l}=t,{data:u,error:c}=await ve(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:a,data:(o=l==null?void 0:l.data)!==null&&o!==void 0?o:{},create_user:(i=l==null?void 0:l.shouldCreateUser)!==null&&i!==void 0?i:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},channel:(s=l==null?void 0:l.channel)!==null&&s!==void 0?s:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:u==null?void 0:u.message_id},error:c})}throw new Vh("You must provide either an email or phone number.")}catch(a){if(await Jt(this.storage,`${this.storageKey}-code-verifier`),pe(a))return this._returnResult({data:{user:null,session:null},error:a});throw a}}async verifyOtp(t){var n,r;try{let o,i;"options"in t&&(o=(n=t.options)===null||n===void 0?void 0:n.redirectTo,i=(r=t.options)===null||r===void 0?void 0:r.captchaToken);const{data:s,error:a}=await ve(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:i}}),redirectTo:o,xform:eo});if(a)throw a;if(!s)throw new Error("An error occurred on token verification.");const l=s.session,u=s.user;return l!=null&&l.access_token&&(await this._saveSession(l),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",l)),this._returnResult({data:{user:u,session:l},error:null})}catch(o){if(pe(o))return this._returnResult({data:{user:null,session:null},error:o});throw o}}async signInWithSSO(t){var n,r,o,i,s;try{let a=null,l=null;this.flowType==="pkce"&&([a,l]=await kl(this.storage,this.storageKey));const u=await ve(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((o=t==null?void 0:t.options)===null||o===void 0)&&o.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:a,code_challenge_method:l}),headers:this.headers,xform:uZ});return!((i=u.data)===null||i===void 0)&&i.url&&Zt()&&!(!((s=t.options)===null||s===void 0)&&s.skipBrowserRedirect)&&window.location.assign(u.data.url),this._returnResult(u)}catch(a){if(await Jt(this.storage,`${this.storageKey}-code-verifier`),pe(a))return this._returnResult({data:null,error:a});throw a}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)throw r;if(!n)throw new ir;const{error:o}=await ve(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return this._returnResult({data:{user:null,session:null},error:o})})}catch(t){if(pe(t))return this._returnResult({data:{user:null,session:null},error:t});throw t}}async resend(t){try{const n=`${this.url}/resend`;if("email"in t){const{email:r,type:o,options:i}=t,{error:s}=await ve(this.fetch,"POST",n,{headers:this.headers,body:{email:r,type:o,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}},redirectTo:i==null?void 0:i.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:s})}else if("phone"in t){const{phone:r,type:o,options:i}=t,{data:s,error:a}=await ve(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,type:o,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:s==null?void 0:s.message_id},error:a})}throw new Vh("You must provide either an email or phone number and a type")}catch(n){if(pe(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async getSession(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>this._useSession(async n=>n))}async _acquireLock(t,n){this._debug("#_acquireLock","begin",t);try{if(this.lockAcquired){const r=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),o=(async()=>(await r,await n()))();return this.pendingInLock.push((async()=>{try{await o}catch{}})()),o}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const r=n();for(this.pendingInLock.push((async()=>{try{await r}catch{}})()),await r;this.pendingInLock.length;){const o=[...this.pendingInLock];await Promise.all(o),this.pendingInLock.splice(0,o.length)}return await r}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(t){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await t(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let t=null;const n=await aa(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?t=n:(this._debug("#getSession()","session from storage is not val
1109id"),await this._removeSession())),!t)return{data:{session:null},error:null};const r=t.expires_at?t.expires_at*1e3-Date.now()<k0:!1;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",t.expires_at),!r){if(this.userStorage){const s=await aa(this.userStorage,this.storageKey+"-user");s!=null&&s.user?t.user=s.user:t.user=C0()}if(this.storage.isServer&&t.user&&!t.user.__isUserNotAvailableProxy){const s={value:this.suppressGetSessionWarning};t.user=iZ(t.user,s),s.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:t},error:null}}const{data:o,error:i}=await this._callRefreshToken(t.refresh_token);return i?this._returnResult({data:{session:null},error:i}):this._returnResult({data:{session:o},error:null})}finally{this._debug("#__loadSession()","end")}}async getUser(t){if(t)return await this._getUser(t);await this.initializePromise;const n=await this._acquireLock(this.lockAcquireTimeout,async()=>await this._getUser());return n.data.user&&(this.suppressGetSessionWarning=!0),n}async _getUser(t){try{return t?await ve(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:as}):await this._useSession(async n=>{var r,o,i;const{data:s,error:a}=n;if(a)throw a;return!(!((r=s.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new ir}:await ve(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(i=(o=s.session)===null||o===void 0?void 0:o.access_token)!==null&&i!==void 0?i:void 0,xform:as})})}catch(n){if(pe(n))return E0(n)&&(await this._removeSession(),await Jt(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:n});throw n}}async updateUser(t,n={}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._updateUser(t,n))}async _updateUser(t,n={}){try{return await this._useSession(async r=>{const{data:o,error:i}=r;if(i)throw i;if(!o.session)throw new ir;const s=o.session;let a=null,l=null;this.flowType==="pkce"&&t.email!=null&&([a,l]=await kl(this.storage,this.storageKey));const{data:u,error:c}=await ve(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:a,code_challenge_method:l}),jwt:s.access_token,xform:as});if(c)throw c;return s.user=u.user,await this._saveSession(s),await this._notifyAllSubscribers("USER_UPDATED",s),this._returnResult({data:{user:s.user},error:null})})}catch(r){if(await Jt(this.storage,`${this.storageKey}-code-verifier`),pe(r))return this._returnResult({data:{user:null},error:r});throw r}}async setSession(t){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._setSession(t))}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new ir;const n=Date.now()/1e3;let r=n,o=!0,i=null;const{payload:s}=Wh(t.access_token);if(s.exp&&(r=s.exp,o=r<=n),o){const{data:a,error:l}=await this._callRefreshToken(t.refresh_token);if(l)return this._returnResult({data:{user:null,session:null},error:l});if(!a)return{data:{user:null,session:null},error:null};i=a}else{const{data:a,error:l}=await this._getUser(t.access_token);if(l)return this._returnResult({data:{user:null,session:null},error:l});i={access_token:t.access_token,refresh_token:t.refresh_token,user:a.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)}return this._returnResult({data:{user:i.user,session:i},error:null})}catch(n){if(pe(n))return this._returnResult({data:{session:null,user:null},error:n});throw n}}async refreshSession(t){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._refreshSession(t))}async _refreshSession(t){try{return await this._useSession(async n=>{var r;if(!t){const{data:s,error:a}=n;if(a)throw a;t=(r=s.session)!==null&&r!==void 0?r:void 0}if(!(t!=null&&t.refresh_token))throw new ir;const{data:o,error:i}=await this._callRefreshToken(t.refresh_token);return i?this._returnResult({data:{user:null,session:null},error:i}):o?this._returnResult({data:{user:o.user,session:o},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(n){if(pe(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}
1109async _getSessionFromURL(t,n){try{if(!Zt())throw new Hh("No browser detected.");if(t.error||t.error_description||t.error_code)throw new Hh(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});switch(n){case"implicit":if(this.flowType==="pkce")throw new PA("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new Hh("Not a valid implicit grant flow url.");break;default:}if(n==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!t.code)throw new PA("No code detected.");const{data:v,error:w}=await this._exchangeCodeForSession(t.code);if(w)throw w;const S=new URL(window.location.href);return S.searchParams.delete("code"),window.history.replaceState(window.history.state,"",S.toString()),{data:{session:v.session,redirectType:null},error:null}}const{provider_token:r,provider_refresh_token:o,access_token:i,refresh_token:s,expires_in:a,expires_at:l,token_type:u}=t;if(!i||!a||!s||!u)throw new Hh("No session defined in URL");const c=Math.round(Date.now()/1e3),d=parseInt(a);let f=c+d;l&&(f=parseInt(l));const h=f-c;h*1e3<=Ll&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${h}s, should have been closer to ${d}s`);const g=f-d;c-g>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",g,f,c):c-g<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",g,f,c);const{data:p,error:m}=await this._getUser(i);if(m)throw m;const y={provider_token:r,provider_refresh_token:o,access_token:i,expires_in:d,expires_at:f,refresh_token:s,token_type:u,user:p.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:y,redirectType:t.type},error:null})}catch(r){if(pe(r))return this._returnResult({data:{session:null,redirectType:null},error:r});throw r}}_isImplicitGrantCallback(t){return typeof this.detectSessionInUrl=="function"?this.detectSessionInUrl(new URL(window.location.href),t):!!(t.access_token||t.error_description)}async _isPKCECallback(t){const n=await aa(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&n)}async signOut(t={scope:"global"}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._signOut(t))}async _signOut({scope:t}={scope:"global"}){return await this._useSession(async n=>{var r;const{data:o,error:i}=n;if(i&&!E0(i))return this._returnResult({error:i});const s=(r=o.session)===null||r===void 0?void 0:r.access_token;if(s){const{error:a}=await this.admin.signOut(s,t);if(a&&!($Q(a)&&(a.status===404||a.status===401||a.status===403)||E0(a)))return this._returnResult({error:a})}return t!=="others"&&(await this._removeSession(),await Jt(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(t){const n=WQ(),r={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,r),(async()=>(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{this._emitInitialSession(n)})))(),{data:{subscription:r}}}async _emitInitialSession(t){return await this._useSession(async n=>{var r,o;try{const{data:{session:i},error:s}=n;if(s)throw s;await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",i)),this._debug("INITIAL_SESSION","callback id",t,"session",i)}catch(i){await((o=this.stateChangeEmitters.get(t))===null||o===void 0?void 0:o.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",i),console.error(i)}})}async resetPasswordForEmail(t,n={}){let r=null,o=null;this.flowType==="pkce"&&([r,o]=await kl(this.storage,this.storageKey,!0));try{return await ve(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:r,code_challenge_method:o,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(i){if(await Jt(this.storage,`${this.storageKey}-code-verifier`),pe(i))return this._returnResult({data:null,error:i});throw i}}async getUserIdentities(){var t;try{const{data:n,error:r}=await this.getUser();if(r)throw r;return this._returnResult({data:{identities:(t=n.user.identities)!==null&&t!==void 0?t:[]},error:null})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async linkIdentity(t){return"token"in t?this.linkIdentityIdToken(t):this.linkIdentityOAuth(t)}async linkIdentityOAuth(t){var n;try{const{data:r,error:o}=await this._useSession(async i=>{var s,a,l,u,c;const{data:d,error:f}=i;if(f)throw f;const h=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(s=t.options)===null||s===void 0?void 0:s.redirectTo,scopes:(a=t.options)===null||a===void 0?void 0:a.scopes,queryParams:(l=t.options)===null||l===void 0?void 0:l.queryParams,skipBrowserRedirect:!0});return await ve(this.fetch,"GET",h,{headers:this.headers,jwt:(c=(u=d.session)===null||u===void 0?void 0:u.access_token)!==null&&c!==void 0?c:void 0})});if(o)throw o;return Zt()&&!(!((n=t.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(r==null?void 0:r.url),this._returnResult({data:{provider:t.provider,url:r==null?void 0:r.url},error:null})}catch(r){if(pe(r))return this._returnResult({data:{provider:t.provider,url:null},error:r});throw r}}async linkIdentityIdToken(t){return await this._useSession(async n=>{var r;try{const{error:o,data:{session:i}}=n;
1109if(o)throw o;const{options:s,provider:a,token:l,access_token:u,nonce:c}=t,d=await ve(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(r=i==null?void 0:i.access_token)!==null&&r!==void 0?r:void 0,body:{provider:a,id_token:l,access_token:u,nonce:c,link_identity:!0,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},xform:eo}),{data:f,error:h}=d;return h?this._returnResult({data:{user:null,session:null},error:h}):!f||!f.session||!f.user?this._returnResult({data:{user:null,session:null},error:new xl}):(f.session&&(await this._saveSession(f.session),await this._notifyAllSubscribers("USER_UPDATED",f.session)),this._returnResult({data:f,error:h}))}catch(o){if(await Jt(this.storage,`${this.storageKey}-code-verifier`),pe(o))return this._returnResult({data:{user:null,session:null},error:o});throw o}})}async unlinkIdentity(t){try{return await this._useSession(async n=>{var r,o;const{data:i,error:s}=n;if(s)throw s;return await ve(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(o=(r=i.session)===null||r===void 0?void 0:r.access_token)!==null&&o!==void 0?o:void 0})})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async _refreshAccessToken(t){const n=`#_refreshAccessToken(${t.substring(0,5)}...)`;this._debug(n,"begin");try{const r=Date.now();return await YQ(async o=>(o>0&&await GQ(200*Math.pow(2,o-1)),this._debug(n,"refreshing attempt",o),await ve(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:eo})),(o,i)=>{const s=200*Math.pow(2,o);return i&&_0(i)&&Date.now()+s-r<Ll})}catch(r){if(this._debug(n,"error",r),pe(r))return this._returnResult({data:{session:null,user:null},error:r});throw r}finally{this._debug(n,"end")}}_isValidSession(t){return typeof t=="object"&&t!==null&&"access_token"in t&&"refresh_token"in t&&"expires_at"in t}async _handleProviderSignIn(t,n){const r=await this._getUrlForProvider(`${this.url}/authorize`,t,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",t,"options",n,"url",r),Zt()&&!n.skipBrowserRedirect&&window.location.assign(r),{data:{provider:t,url:r},error:null}}async _recoverAndRefresh(){var t,n;const r="#_recoverAndRefresh()";this._debug(r,"begin");try{const o=await aa(this.storage,this.storageKey);if(o&&this.userStorage){let s=await aa(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!s&&(s={user:o.user},await $l(this.userStorage,this.storageKey+"-user",s)),o.user=(t=s==null?void 0:s.user)!==null&&t!==void 0?t:C0()}else if(o&&!o.user&&!o.user){const s=await aa(this.storage,this.storageKey+"-user");s&&(s!=null&&s.user)?(o.user=s.user,await Jt(this.storage,this.storageKey+"-user"),await $l(this.storage,this.storageKey,o)):o.user=C0()}if(this._debug(r,"session from storage",o),!this._isValidSession(o)){this._debug(r,"session is not valid"),o!==null&&await this._removeSession();return}const i=((n=o.expires_at)!==null&&n!==void 0?n:1/0)*1e3-Date.now()<k0;if(this._debug(r,`session has${i?"":" not"} expired with margin of ${k0}
1109s`),i){if(this.autoRefreshToken&&o.refresh_token){const{error:s}=await this._callRefreshToken(o.refresh_token);s&&(console.error(s),_0(s)||(this._debug(r,"refresh failed with a non-retryable error, removing the session",s),await this._removeSession()))}}else if(o.user&&o.user.__isUserNotAvailableProxy===!0)try{const{data:s,error:a}=await this._getUser(o.access_token);!a&&(s!=null&&s.user)?(o.user=s.user,await this._saveSession(o),await this._notifyAllSubscribers("SIGNED_IN",o)):this._debug(r,"could not get user data, skipping SIGNED_IN notification")}catch(s){console.error("Error getting user data:",s),this._debug(r,"error getting user data, skipping SIGNED_IN notification",s)}else await this._notifyAllSubscribers("SIGNED_IN",o)}catch(o){this._debug(r,"error",o),console.error(o);return}finally{this._debug(r,"end")}}async _callRefreshToken(t){var n,r;if(!t)throw new ir;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const o=`#_callRefreshToken(${t.substring(0,5)}...)`;this._debug(o,"begin");try{this.refreshingDeferred=new ky;const{data:i,error:s}=await this._refreshAccessToken(t);if(s)throw s;if(!i.session)throw new ir;await this._saveSession(i.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",i.session);const a={data:i.session,error:null};return this.refreshingDeferred.resolve(a),a}catch(i){if(this._debug(o,"error",i),pe(i)){const s={data:null,error:i};return _0(i)||await this._removeSession(),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(s),s}throw(r=this.refreshingDeferred)===null||r===void 0||r.reject(i),i}finally{this.refreshingDeferred=null,this._debug(o,"end")}}async _notifyAllSubscribers(t,n,r=!0){const o=`#_notifyAllSubscribers(${t})`;this._debug(o,"begin",n,`broadcast = ${r}`);try{this.broadcastChannel&&r&&this.broadcastChannel.postMessage({event:t,session:n});const i=[],s=Array.from(this.stateChangeEmitters.values()).map(async a=>{try{await a.callback(t,n)}catch(l){i.push(l)}});if(await Promise.all(s),i.length>0){for(let a=0;a<i.length;a+=1)console.error(i[a]);throw i[0]}}finally{this._debug(o,"end")}}async _saveSession(t){this._debug("#_saveSession()",t),this.suppressGetSessionWarning=!0,await Jt(this.storage,`${this.storageKey}-code-verifier`);const n=Object.assign({},t),r=n.user&&n.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!r&&n.user&&await $l(this.userStorage,this.storageKey+"-user",{user:n.user});const o=Object.assign({},n);delete o.user;const i=DA(o);await $l(this.storage,this.storageKey,i)}else{const o=DA(n);await $l(this.storage,this.storageKey,o)}}async _removeSession(){this._debug("#_removeSession()"),this.suppressGetSessionWarning=!1,await Jt(this.storage,this.storageKey),await Jt(this.storage,this.storageKey+"-code-verifier"),await Jt(this.storage,this.storageKey+"-user"),this.userStorage&&await Jt(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const t=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{t&&Zt()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",t)}catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const t=setInterval(()=>this._autoRefreshTokenTick(),Ll);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t);const n=setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0);this.autoRefreshTickTimeout=n,n&&typeof n=="object"&&typeof n.unref=="function"?n.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(n)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t);const n=this.autoRefreshTickTimeout;this.autoRefreshTickTimeout=null,n&&clearTimeout(n)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const t=Date.now();try{return await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const o=Math.floor((r.expires_at*1e3-t)/Ll);this._debug("#_autoRefreshTokenTick()",`access token expires in ${o} ticks, a tick lasts ${Ll}ms, refresh threshold is ${Pb} ticks`),o<=Pb&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(t){if(t.isAcquireTimeout||t instanceof kN)this._debug("auto refresh token tick lock not available");else throw t}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!Zt()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>{try{await this._onVisibilityChanged(!1)}catch(t){this._debug("#visibilityChangedCallback","error",t)}},window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){const n=`#_onVisibilityChanged(${t})`;this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),t||(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>
1109{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n,r){const o=[`provider=${encodeURIComponent(n)}`];if(r!=null&&r.redirectTo&&o.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),r!=null&&r.scopes&&o.push(`scopes=${encodeURIComponent(r.scopes)}`),this.flowType==="pkce"){const[i,s]=await kl(this.storage,this.storageKey),a=new URLSearchParams({code_challenge:`${encodeURIComponent(i)}`,code_challenge_method:`${encodeURIComponent(s)}`});o.push(a.toString())}if(r!=null&&r.queryParams){const i=new URLSearchParams(r.queryParams);o.push(i.toString())}return r!=null&&r.skipBrowserRedirect&&o.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${t}?${o.join("&")}`}async _unenroll(t){try{return await this._useSession(async n=>{var r;const{data:o,error:i}=n;return i?this._returnResult({data:null,error:i}):await ve(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(r=o==null?void 0:o.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async _enroll(t){try{return await this._useSession(async n=>{var r,o;const{data:i,error:s}=n;if(s)return this._returnResult({data:null,error:s});const a=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType==="phone"?{phone:t.phone}:t.factorType==="totp"?{issuer:t.issuer}:{}),{data:l,error:u}=await ve(this.fetch,"POST",`${this.url}/factors`,{body:a,headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token});return u?this._returnResult({data:null,error:u}):(t.factorType==="totp"&&l.type==="totp"&&(!((o=l==null?void 0:l.totp)===null||o===void 0)&&o.qr_code)&&(l.totp.qr_code=`data:image/svg+xml;utf-8,${l.totp.qr_code}`),this._returnResult({data:l,error:null}))})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async _verify(t){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var r;const{data:o,error:i}=n;if(i)return this._returnResult({data:null,error:i});const s=Object.assign({challenge_id:t.challengeId},"webauthn"in t?{webauthn:Object.assign(Object.assign({},t.webauthn),{credential_response:t.webauthn.type==="create"?EZ(t.webauthn.credential_response):_Z(t.webauthn.credential_response)})}:{code:t.code}),{data:a,error:l}=await ve(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:s,headers:this.headers,jwt:(r=o==null?void 0:o.session)===null||r===void 0?void 0:r.access_token});return l?this._returnResult({data:null,error:l}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+a.expires_in},a)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",a),this._returnResult({data:a,error:l}))})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}})}async _challenge(t){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var r;const{data:o,error:i}=n;if(i)return this._returnResult({data:null,error:i});const s=await ve(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{body:t,headers:this.headers,jwt:(r=o==null?void 0:o.session)===null||r===void 0?void 0:r.access_token});if(s.error)return s;const{data:a}=s;if(a.type!=="webauthn")return{data:a,error:null};switch(a.webauthn.type){case"create":return{data:Object.assign(Object.assign({},a),{webauthn:Object.assign(Object.assign({},a.webauthn),{credential_options:Object.assign(Object.assign({},a.webauthn.credential_options),{publicKey:xZ(a.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},a),{webauthn:Object.assign(Object.assign({},a.webauthn),{credential_options:Object.assign(Object.assign({},a.webauthn.credential_options),{publicKey:kZ(a.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}})}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?this._returnResult({data:null,error:r}):await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){var t;const{data:{user:n},error:r}=await this.getUser();if(r)return{data:null,error:r};const o={all:[],phone:[],totp:[],webauthn:[]};for(const i of(t=n==null?void 0:n.factors)!==null&&t!==void 0?t:[])o.all.push(i),i.status==="verified"&&o[i.factor_type].push(i);return{data:o,error:null}}async _getAuthenticatorAssuranceLevel(t){var n,r,o,i;if(t)try{const{payload:h}=Wh(t);let g=null;h.aal&&(g=h.aal);let p=g;const{data:{user:m},error:y}=await this.getUser(t);if(y)return this._returnResult({data:null,error:y});((r=(n=m==null?void 0:m.factors)===null||n===void 0?void 0:n.filter(S=>S.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(p="aal2");const w=h.amr||[];return{data:{currentLevel:g,nextLevel:p,currentAuthenticationMethods:w},error:null}}catch(h){if(pe(h))return this._returnResult({data:null,error:h});throw h}const{data:{session:s},error:a}
vendor: 3,420 bytes, line 1109
1109=await this.getSession();if(a)return this._returnResult({data:null,error:a});if(!s)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:l}=Wh(s.access_token);let u=null;l.aal&&(u=l.aal);let c=u;((i=(o=s.user.factors)===null||o===void 0?void 0:o.filter(h=>h.status==="verified"))!==null&&i!==void 0?i:[]).length>0&&(c="aal2");const f=l.amr||[];return{data:{currentLevel:u,nextLevel:c,currentAuthenticationMethods:f},error:null}}async _getAuthorizationDetails(t){try{return await this._useSession(async n=>{const{data:{session:r},error:o}=n;return o?this._returnResult({data:null,error:o}):r?await ve(this.fetch,"GET",`${this.url}/oauth/authorizations/${t}`,{headers:this.headers,jwt:r.access_token,xform:i=>({data:i,error:null})}):this._returnResult({data:null,error:new ir})})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async _approveAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:o},error:i}=r;if(i)return this._returnResult({data:null,error:i});if(!o)return this._returnResult({data:null,error:new ir});const s=await ve(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:o.access_token,body:{action:"approve"},xform:a=>({data:a,error:null})});return s.data&&s.data.redirect_url&&Zt()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(s.data.redirect_url),s})}catch(r){if(pe(r))return this._returnResult({data:null,error:r});throw r}}async _denyAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:o},error:i}=r;if(i)return this._returnResult({data:null,error:i});if(!o)return this._returnResult({data:null,error:new ir});const s=await ve(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:o.access_token,body:{action:"deny"},xform:a=>({data:a,error:null})});return s.data&&s.data.redirect_url&&Zt()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(s.data.redirect_url),s})}catch(r){if(pe(r))return this._returnResult({data:null,error:r});throw r}}async _listOAuthGrants(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;return r?this._returnResult({data:null,error:r}):n?await ve(this.fetch,"GET",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:n.access_token,xform:o=>({data:o,error:null})}):this._returnResult({data:null,error:new ir})})}catch(t){if(pe(t))return this._returnResult({data:null,error:t});throw t}}async _revokeOAuthGrant(t){try{return await this._useSession(async n=>{const{data:{session:r},error:o}=n;return o?this._returnResult({data:null,error:o}):r?(await ve(this.fetch,"DELETE",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:r.access_token,query:{client_id:t.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new ir})})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async fetchJwk(t,n={keys:[]}){let r=n.keys.find(a=>a.kid===t);if(r)return r;const o=Date.now();if(r=this.jwks.keys.find(a=>a.kid===t),r&&this.jwks_cached_at+DQ>o)return r;const{data:i,error:s}=await ve(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(s)throw s;return!i.keys||i.keys.length===0||(this.jwks=i,this.jwks_cached_at=o,r=i.keys.find(a=>a.kid===t),!r)?null:r}async getClaims(t,n={}){try{let r=t;if(!r){const{data:h,error:g}
1109=await this.getSession();if(g||!h.session)return this._returnResult({data:null,error:g});r=h.session.access_token}const{header:o,payload:i,signature:s,raw:{header:a,payload:l}}=Wh(r);n!=null&&n.allowExpired||nZ(i.exp);const u=!o.alg||o.alg.startsWith("HS")||!o.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(o.kid,n!=null&&n.keys?{keys:n.keys}:n==null?void 0:n.jwks);if(!u){const{error:h}=await this.getUser(r);if(h)throw h;return{data:{claims:i,header:o,signature:s},error:null}}const c=rZ(o.alg),d=await crypto.subtle.importKey("jwk",u,c,!0,["verify"]);if(!await crypto.subtle.verify(c,d,s,VQ(`${a}.${l}`)))throw new Mb("Invalid JWT signature");return{data:{claims:i,header:o,signature:s},error:null}}catch(r){if(pe(r))return this._returnResult({data:null,error:r});throw r}}}wf.nextInstanceID={};const DZ=wf,LZ="2.101.1";let Jc="";typeof Deno<"u"?Jc="deno":typeof document<"u"?Jc="web":typeof navigator<"u"&&navigator.product==="ReactNative"?Jc="react-native":Jc="node";const $Z={"X-Client-Info":`supabase-js-${Jc}/${LZ}`},NZ={headers:$Z},jZ={schema:"public"},FZ={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},BZ={};function bf(e){"@babel/helpers - typeof";return bf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bf(e)}function UZ(e,t){if(bf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(bf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function zZ(e){var t=UZ(e,"string");return bf(t)=="symbol"?t:t+""}function VZ(e,t,n){return(t=zZ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Et(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zA(Object(n),!0).forEach(function(r){VZ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}const HZ=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),WZ=()=>Headers,qZ=(e,t,n)=>{const r=HZ(n),o=WZ();return async(i,s)=>{var a;const l=(a=await t())!==null&&a!==void 0?a:e;let u=new o(s==null?void 0:s.headers);return u.has("apikey")||u.set("apikey",e),u.has("Authorization")||u.set("Authorization",`Bearer ${l}`),r(i,Et(Et({},s),{},{headers:u}))}};function KZ(e){return e.endsWith("/")?e:e+"/"}function GZ(e,t){var n,r;const{db:o,auth:i,realtime:s,global:a}=e,{db:l,auth:u,realtime:c,global:d}=t,f={db:Et(Et({},l),o),auth:Et(Et({},u),i),realtime:Et(Et({},c),s),storage:{},global:Et(Et(Et({},d),a),{},{headers:Et(Et({},(n=d==null?void 0:d.headers)!==null&&n!==void 0?n:{}),(r=a==null?void 0:a.headers)!==null&&r!==void 0?r:{})}),accessToken:async()=>""};return e.accessToken?f.accessToken=e.accessToken:delete f.accessToken,f}function YZ(e){const t=e==null?void 0:e.trim();if(!t)throw new Error("supabaseUrl is required.");if(!t.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(KZ(t))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}var XZ=class extends DZ{constructor(e){super(e)}},JZ=class{constructor(e,t,n){var r,o;this.supabaseUrl=e,this.supabaseKey=t;const i=YZ(e);if(!t)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",i),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",i),this.storageUrl=new URL("storage/v1",i),this.functionsUrl=new URL("functions/v1",i);const s=`sb-${i.hostname.split(".")[0]}-auth-token`,a={db:jZ,realtime:BZ,auth:Et(Et({},FZ),{},{storageKey:s}),global:NZ},l=GZ(n??{},a);if(this.storageKey=(r=l.auth.storageKey)!==null&&r!==void 0?r:"",this.headers=(o=l.global.headers)!==null&&o!==void 0?o:{},l.accessToken)this.accessToken=l.accessToken,this.auth=new Proxy({},{get:(c,d)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(d)} is not possible`)}});else{var u;this.auth=this._initSupabaseAuthClient((u=l.auth)!==null&&u!==void 0?u:{},this.headers,l.global.fetch)}this.fetch=qZ(t,this._getAccessToken.bind(this),l.global.fetch),this.realtime=this._initRealtimeClient(Et({headers:this.headers,accessToken:this._getAccessToken.bind(this)},l.realtime)),this.accessToken&&Promise.resolve(this.accessToken()).then(c=>this.realtime.setAuth(c)).catch(c=>console.warn("Failed to set initial Realtime auth token:",c)),this.rest=new wJ(new URL("rest/v1",i).href,{headers:this.headers,schema:l.db.schema,fetch:this.fetch,timeout:l.db.timeout,urlLengthLimit:l.db.urlLengthLimit}),this.storage=new PQ(this.storageUrl.href,this.headers,this.fetch,n==null?void 0:n.storage),l.accessToken||this._listenForAuthEvents()}get functions(){return new dJ(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,t={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(e,t,n)}
1109channel(e,t={config:{}}){return this.realtime.channel(e,t)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var e=this,t,n;if(e.accessToken)return await e.accessToken();const{data:r}=await e.auth.getSession();return(t=(n=r.session)===null||n===void 0?void 0:n.access_token)!==null&&t!==void 0?t:e.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:o,storageKey:i,flowType:s,lock:a,debug:l,throwOnError:u},c,d){const f={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new XZ({url:this.authUrl.href,headers:Et(Et({},f),c),storageKey:i,autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:o,flowType:s,lock:a,debug:l,throwOnError:u,fetch:d,hasCustomAuthorizationHeader:Object.keys(this.headers).some(h=>h.toLowerCase()==="authorization")})}_initRealtimeClient(e){return new ZJ(this.realtimeUrl.href,Et(Et({},e),{},{params:Et(Et({},{apikey:this.supabaseKey}),e==null?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,t)=>{this._handleTokenChanged(e,"CLIENT",t==null?void 0:t.access_token)})}_handleTokenChanged(e,t,n){(e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):e==="SIGNED_OUT"&&(this.realtime.setAuth(),t=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}};const qCe=(e,t,n)=>new JZ(e,t,n);function QZ(){if(typeof window<"u")return!1;const e=globalThis.process;if(!e)return!1;const t=e.version;if(t==null)return!1;const n=t.match(/^v(\d+)\./);return n?parseInt(n[1],10)<=18:!1}QZ()&&console.warn("⚠️  Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to Node.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");const ZZ="ENTRIES",CN="KEYS",TN="VALUES",nn="";class A0{constructor(t,n){const r=t._tree,o=Array.from(r.keys());this.set=t,this._type=n,this._path=o.length>0?[{node:r,keys:o}]:[]}next(){const t=this.dive();return this.backtrack(),t}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:t,keys:n}=Cl(this._path);if(Cl(n)===nn)return{done:!1,value:this.result()};const r=t.get(Cl(n));return this._path.push({node:r,keys:Array.from(r.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const t=Cl(this._path).keys;t.pop(),!(t.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:t})=>Cl(t)).filter(t=>t!==nn).join("")}value(){return Cl(this._path).node.get(nn)}result(){switch(this._type){case TN:return this.value();case CN:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const Cl=e=>e[e.length-1],eee=(e,t,n)=>{const r=new Map;if(t===void 0)return r;const o=t.length+1,i=o+n,s=new Uint8Array(i*o).fill(n+1);for(let a=0;a<o;++a)s[a]=a;for(let a=1;a<i;++a)s[a*o]=a;return AN(e,t,n,r,s,1,o,""),r},AN=(e,t,n,r,o,i,s,a)=>{const l=i*s;e:for(const u of e.keys())if(u===nn){const c=o[l-1];c<=n&&r.set(a,[e.get(u),c])}else{let c=i;for(let d=0;d<u.length;++d,++c){const f=u[d],h=s*c,g=h-s;let p=o[h];const m=Math.max(0,c-n-1),y=Math.min(s-1,c+n);for(let v=m;v<y;++v){const w=f!==t[v],S=o[g+v]+ +w,x=o[g+v+1]+1,k=o[h+v]+1,_=o[h+v+1]=Math.min(S,x,k);_<p&&(p=_)}if(p>n)continue e}AN(e.get(u),t,n,r,o,c,s,a+u)}};class Es{constructor(t=new Map,n=""){this._size=void 0,this._tree=t,this._prefix=n}atPrefix(t){if(!t.startsWith(this._prefix))throw new Error("Mismatched prefix");const[n,r]=Vm(this._tree,t.slice(this._prefix.length));if(n===void 0){const[o,i]=Z2(r);for(const s of o.keys())if(s!==nn&&s.startsWith(i)){const a=new Map;return a.set(s.slice(i.length),o.get(s)),new Es(a,t)}}return new Es(n,t)}clear(){this._size=void 0,this._tree.clear()}delete(t){return this._size=void 0,tee(this._tree,t)}entries(){return new A0(this,ZZ)}forEach(t){for(const[n,r]of this)t(n,r,this)}fuzzyGet(t,n){return eee(this._tree,t,n)}get(t){const n=Ib(this._tree,t);return n!==void 0?n.get(nn):void 0}has(t){const n=Ib(this._tree,t);return n!==void 0&&n.has(nn)}keys(){return new A0(this,CN)}set(t,n){if(typeof t!="string")throw new Error("key must be a string");return this._size=void 0,P0(this._tree,t).set(nn,n),this}get size(){if(this._size)return this._size;this._size=0;const t=this.entries();for(;!t.next().done;)this._size+=1;return this._size}update(t,n){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;const r=P0(this._tree,t);return r.set(nn,n(r.get(nn))),this}
1109fetch(t,n){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;const r=P0(this._tree,t);let o=r.get(nn);return o===void 0&&r.set(nn,o=n()),o}values(){return new A0(this,TN)}[Symbol.iterator](){return this.entries()}static from(t){const n=new Es;for(const[r,o]of t)n.set(r,o);return n}static fromObject(t){return Es.from(Object.entries(t))}}const Vm=(e,t,n=[])=>{if(t.length===0||e==null)return[e,n];for(const r of e.keys())if(r!==nn&&t.startsWith(r))return n.push([e,r]),Vm(e.get(r),t.slice(r.length),n);return n.push([e,t]),Vm(void 0,"",n)},Ib=(e,t)=>{if(t.length===0||e==null)return e;for(const n of e.keys())if(n!==nn&&t.startsWith(n))return Ib(e.get(n),t.slice(n.length))},P0=(e,t)=>{const n=t.length;e:for(let r=0;e&&r<n;){for(const i of e.keys())if(i!==nn&&t[r]===i[0]){const s=Math.min(n-r,i.length);let a=1;for(;a<s&&t[r+a]===i[a];)++a;const l=e.get(i);if(a===i.length)e=l;else{const u=new Map;u.set(i.slice(a),l),e.set(t.slice(r,r+a),u),e.delete(i),e=u}r+=a;continue e}const o=new Map;return e.set(t.slice(r),o),o}return e},tee=(e,t)=>{const[n,r]=Vm(e,t);if(n!==void 0){if(n.delete(nn),n.size===0)PN(r);else if(n.size===1){const[o,i]=n.entries().next().value;RN(r,o,i)}}},PN=e=>{if(e.length===0)return;const[t,n]=Z2(e);if(t.delete(n),t.size===0)PN(e.slice(0,-1));else if(t.size===1){const[r,o]=t.entries().next().value;r!==nn&&RN(e.slice(0,-1),r,o)}},RN=(e,t,n)=>{if(e.length===0)return;const[r,o]=Z2(e);r.set(o+t,n),r.delete(o)},Z2=e=>e[e.length-1],ek="or",ON="and",nee="and_not";class _d{constructor(t){if((t==null?void 0:t.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const n=t.autoVacuum==null||t.autoVacuum===!0?M0:t.autoVacuum;this._options={...O0,...t,autoVacuum:n,searchOptions:{...VA,...t.searchOptions||{}},autoSuggestOptions:{...aee,...t.autoSuggestOptions||{}}},this._index=new Es,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=Lb,this.addFields(this._options.fields)}add(t){const{extractField:n,stringifyField:r,tokenize:o,processTerm:i,fields:s,idField:a}=this._options,l=n(t,a);if(l==null)throw new Error(`MiniSearch: document does not have ID field "${a}"`);if(this._idToShortId.has(l))throw new Error(`MiniSearch: duplicate ID ${l}`);const u=this.addDocumentId(l);this.saveStoredFields(u,t);for(const c of s){const d=n(t,c);if(d==null)continue;const f=o(r(d,c),c),h=this._fieldIds[c],g=new Set(f).size;this.addFieldLength(u,h,this._documentCount-1,g);for(const p of f){const m=i(p,c);if(Array.isArray(m))for(const y of m)this.addTerm(h,u,y);else m&&this.addTerm(h,u,m)}}}addAll(t){for(const n of t)this.add(n)}addAllAsync(t,n={}){const{chunkSize:r=10}=n,o={chunk:[],promise:Promise.resolve()},{chunk:i,promise:s}=t.reduce(({chunk:a,promise:l},u,c)=>(a.push(u),(c+1)%r===0?{chunk:[],promise:l.then(()=>new Promise(d=>setTimeout(d,0))).then(()=>this.addAll(a))}:{chunk:a,promise:l}),o);return s.then(()=>this.addAll(i))}remove(t){const{tokenize:n,processTerm:r,extractField:o,stringifyField:i,fields:s,idField:a}=this._options,l=o(t,a);if(l==null)throw new Error(`MiniSearch: document does not have ID field "${a}"`);const u=this._idToShortId.get(l);if(u==null)throw new Error(`MiniSearch: cannot remove document with ID ${l}: it is not in the index`);for(const c of s){const d=o(t,c);if(d==null)continue;const f=n(i(d,c),c),h=this._fieldIds[c],g=new Set(f).size;this.removeFieldLength(u,h,this._documentCount,g);for(const p of f){const m=r(p,c);if(Array.isArray(m))for(const y of m)this.removeTerm(h,u,y);else m&&this.removeTerm(h,u,m)}}this._storedFields.delete(u),this._documentIds.delete(u),this._idToShortId.delete(l),this._fieldLength.delete(u),this._documentCount-=1}removeAll(t){if(t)for(const n of t)this.remove(n);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Es,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(t){const n=this._idToShortId.get(t);if(n==null)throw new Error(`MiniSearch: cannot discard document with ID ${t}: it is not in the index`);this._idToShortId.delete(t),this._documentIds.delete(n),this._storedFields.delete(n),(this._fieldLength.get(n)||[]).forEac
1109h((r,o)=>{this.removeFieldLength(n,o,this._documentCount,r)}),this._fieldLength.delete(n),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:t,minDirtCount:n,batchSize:r,batchWait:o}=this._options.autoVacuum;this.conditionalVacuum({batchSize:r,batchWait:o},{minDirtCount:n,minDirtFactor:t})}discardAll(t){const n=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const r of t)this.discard(r)}finally{this._options.autoVacuum=n}this.maybeAutoVacuum()}replace(t){const{idField:n,extractField:r}=this._options,o=r(t,n);this.discard(o),this.add(t)}vacuum(t={}){return this.conditionalVacuum(t)}conditionalVacuum(t,n){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&n,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const r=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=Lb,this.performVacuuming(t,r)}),this._enqueuedVacuum)):this.vacuumConditionsMet(n)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(t),this._currentVacuum)}async performVacuuming(t,n){const r=this._dirtCount;if(this.vacuumConditionsMet(n)){const o=t.batchSize||Db.batchSize,i=t.batchWait||Db.batchWait;let s=1;for(const[a,l]of this._index){for(const[u,c]of l)for(const[d]of c)this._documentIds.has(d)||(c.size<=1?l.delete(u):c.delete(d));this._index.get(a).size===0&&this._index.delete(a),s%o===0&&await new Promise(u=>setTimeout(u,i)),s+=1}this._dirtCount-=r}await null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null}vacuumConditionsMet(t){if(t==null)return!0;let{minDirtCount:n,minDirtFactor:r}=t;return n=n||M0.minDirtCount,r=r||M0.minDirtFactor,this.dirtCount>=n&&this.dirtFactor>=r}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(t){return this._idToShortId.has(t)}getStoredFields(t){const n=this._idToShortId.get(t);if(n!=null)return this._storedFields.get(n)}search(t,n={}){const{searchOptions:r}=this._options,o={...r,...n},i=this.executeQuery(t,n),s=[];for(const[a,{score:l,terms:u,match:c}]of i){const d=u.length||1,f={id:this._documentIds.get(a),score:l*d,terms:Object.keys(c),queryTerms:u,match:c};Object.assign(f,this._storedFields.get(a)),(o.filter==null||o.filter(f))&&s.push(f)}return t===_d.wildcard&&o.boostDocument==null||s.sort(WA),s}autoSuggest(t,n={}){n={...this._options.autoSuggestOptions,...n};const r=new Map;for(const{score:i,terms:s}of this.search(t,n)){const a=s.join(" "),l=r.get(a);l!=null?(l.score+=i,l.count+=1):r.set(a,{score:i,terms:s,count:1})}const o=[];for(const[i,{score:s,terms:a,count:l}]of r)o.push({suggestion:i,terms:a,score:s/l});return o.sort(WA),o}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(t,n){if(n==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(t),n)}static async loadJSONAsync(t,n){if(n==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(t),n)}static getDefault(t){if(O0.hasOwnProperty(t))return R0(O0,t);throw new Error(`MiniSearch: unknown option "${t}"`)}static loadJS(t,n){const{index:r,documentIds:o,fieldLength:i,storedFields:s,serializationVersion:a}=t,l=this.instantiateMiniSearch(t,n);l._documentIds=qh(o),l._fieldLength=qh(i),l._storedFields=qh(s);for(const[u,c]of l._documentIds)l._idToShortId.set(c,u);for(const[u,c]of r){const d=new Map;for(const f of Object.keys(c)){let h=c[f];a===1&&(h=h.ds),d.set(parseInt(f,10),qh(h))}l._index.set(u,d)}return l}static async loadJSAsync(t,n){const{index:r,documentIds:o,fieldLength:i,storedFields:s,serializationVersion:a}=t,l=this.instantiateMiniSearch(t,n);l._documentIds=await Kh(o),l._fieldLength=await Kh(i),l._storedFields=await Kh(s);for(const[c,d]of l._documentIds)l._idToShortId.set(d,c);let u=0;for(const[c,d]of r){const f=new Map;for(const h of Object.keys(d)){let g=d[h];a===1&&(g=g.ds),f.set(parseInt(h,10),await Kh(g))}++u%1e3===0&&await MN(0),l._index.set(c,f)}return l}static instantiateMiniSearch(t,n){const{documentCount:r,nextId:o,fieldIds:i,averageFieldLength:s,dirtCount:a,serializationVersion:l}=t;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const u=new _d(n);return u._documentCount=r,u._nextId=o,u._idToShortId=new Map,u._fieldIds=i,u._avgFieldLength=s,u._dirtCount=a||0,u._index=new Es,u}executeQuery(t,n={}){if(t===_d.wildcard)return this.executeWildcardQuery(n);if(typeof t!="string"){const f={...n,...t,queries:void 0},h=t.queries.map(g=>this.executeQuery(g,f));return this.combineResults(h,f.combineWith)}const{tokenize:r,processTerm:o,searchOptions:i}=this._options,s={tokenize:r,processTerm:o,...i,...n},{tokenize:a,processTerm:l}=s,d=a(t).flatMap(f=>l(f)).filter(f=>!!f).map(see(s)).map(f=>this.executeQuerySpec(f,s));return this.combineResults(d,s.combineWith)}executeQuerySpec(t,n){const r={...this._options.searchOptions,...n},o=(r.fields||this._options.fields).reduce((p,m)=>({...p,[m]:R0(r.boost,m)||1}),{}),{boostDocument:i,weights:s,maxFuzzy:a,bm25:l}=r,{fuzzy:u,prefix:c}={...VA.weights,...s},d=this._index.get(t.term),f=this.termResults(t.term,t.term,1,t.termBoost,d,o,i,l);let h,g;if(t.prefix&&(h=this._index.atPrefix(t.term)),t.fuzzy){const p=t.fuzzy===!0?.2:t.fuzzy,m=p<1?Math.min(a,Math.round(t.term.length*p)):p;m&&(g=this._index.fuzzyGet(t.term,m))}if(h)for(const[p,m]of h){const y=p.length-t.term.length;if(!y)continue;g==null||g.delete(p);const v=c*p.length/(p.length+.3*y);this.termResults(t.term,p,v,t.termBoost,m,o,i,l,f)}if(g)for(const p of g.keys()){const[m,y]=g.get(p);if(!y)continue;const v=u*p.length/(p.length+y);this.termResults(t.term,p,v,t.termBoost,m,o,i,l,f)}return f}executeWildcardQuery(t){const n=new Map,r={...this._options.searchOptions,...t};for(const[o,i]of this._documentIds){const s=r.boostDocument?r.boostDocument(i,"",this._storedFields.get(o)):1;n.set(o,{score:s,terms:[],match:{}})}return n}
1109combineResults(t,n=ek){if(t.length===0)return new Map;const r=n.toLowerCase(),o=ree[r];if(!o)throw new Error(`Invalid combination operator: ${n}`);return t.reduce(o)||new Map}toJSON(){const t=[];for(const[n,r]of this._index){const o={};for(const[i,s]of r)o[i]=Object.fromEntries(s);t.push([n,o])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:t,serializationVersion:2}}termResults(t,n,r,o,i,s,a,l,u=new Map){if(i==null)return u;for(const c of Object.keys(s)){const d=s[c],f=this._fieldIds[c],h=i.get(f);if(h==null)continue;let g=h.size;const p=this._avgFieldLength[f];for(const m of h.keys()){if(!this._documentIds.has(m)){this.removeTerm(f,m,n),g-=1;continue}const y=a?a(this._documentIds.get(m),n,this._storedFields.get(m)):1;if(!y)continue;const v=h.get(m),w=this._fieldLength.get(m)[f],S=iee(v,g,this._documentCount,w,p,l),x=r*o*d*y*S,k=u.get(m);if(k){k.score+=x,lee(k.terms,t);const _=R0(k.match,n);_?_.push(c):k.match[n]=[c]}else u.set(m,{score:x,terms:[t],match:{[n]:[c]}})}}return u}addTerm(t,n,r){const o=this._index.fetch(r,qA);let i=o.get(t);if(i==null)i=new Map,i.set(n,1),o.set(t,i);else{const s=i.get(n);i.set(n,(s||0)+1)}}removeTerm(t,n,r){if(!this._index.has(r)){this.warnDocumentChanged(n,t,r);return}const o=this._index.fetch(r,qA),i=o.get(t);i==null||i.get(n)==null?this.warnDocumentChanged(n,t,r):i.get(n)<=1?i.size<=1?o.delete(t):i.delete(n):i.set(n,i.get(n)-1),this._index.get(r).size===0&&this._index.delete(r)}warnDocumentChanged(t,n,r){for(const o of Object.keys(this._fieldIds))if(this._fieldIds[o]===n){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(t)} has changed before removal: term "${r}" was not present in field "${o}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(t){const n=this._nextId;return this._idToShortId.set(t,n),this._documentIds.set(n,t),this._documentCount+=1,this._nextId+=1,n}addFields(t){for(let n=0;n<t.length;n++)this._fieldIds[t[n]]=n}addFieldLength(t,n,r,o){let i=this._fieldLength.get(t);i==null&&this._fieldLength.set(t,i=[]),i[n]=o;const a=(this._avgFieldLength[n]||0)*r+o;this._avgFieldLength[n]=a/(r+1)}removeFieldLength(t,n,r,o){if(r===1){this._avgFieldLength[n]=0;return}const i=this._avgFieldLength[n]*r-o;this._avgFieldLength[n]=i/(r-1)}saveStoredFields(t,n){const{storeFields:r,extractField:o}=this._options;if(r==null||r.length===0)return;let i=this._storedFields.get(t);i==null&&this._storedFields.set(t,i={});for(const s of r){const a=o(n,s);a!==void 0&&(i[s]=a)}}}_d.wildcard=Symbol("*");const R0=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0,ree={[ek]:(e,t)=>{for(const n of t.keys()){const r=e.get(n);if(r==null)e.set(n,t.get(n));else{const{score:o,terms:i,match:s}=t.get(n);r.score=r.score+o,r.match=Object.assign(r.match,s),HA(r.terms,i)}}return e},[ON]:(e,t)=>{const n=new Map;for(const r of t.keys()){const o=e.get(r);if(o==null)continue;const{score:i,terms:s,match:a}=t.get(r);HA(o.terms,s),n.set(r,{score:o.score+i,terms:o.terms,match:Object.assign(o.match,a)})}return n},[nee]:(e,t)=>{for(const n of t.keys())e.delete(n);return e}},oee={k:1.2,b:.7,d:.5},iee=(e,t,n,r,o,i)=>{const{k:s,b:a,d:l}=i;return Math.log(1+(n-t+.5)/(t+.5))*(l+e*(s+1)/(e+s*(1-a+a*r/o)))},see=e=>(t,n,r)=>{const o=typeof e.fuzzy=="function"?e.fuzzy(t,n,r):e.fuzzy||!1,i=typeof e.prefix=="function"?e.prefix(t,n,r):e.prefix===!0,s=typeof e.boostTerm=="function"?e.boostTerm(t,n,r):1;return{term:t,fuzzy:o,prefix:i,termBoost:s}},O0={idField:"id",extractField:(e,t)=>e[t],stringifyField:(e,t)=>e.toString(),tokenize:e=>e.split(uee),processTerm:e=>e.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(e,t)=>{typeof(console==null?void 0:console[e])=="function"&&console[e](t)},autoVacuum:!0},VA={combineWith:ek,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:oee},aee={combineWith:ON,prefix:(e,t,n)=>t===n.length-1},Db={batchSize:1e3,batchWait:10},Lb={minDirtFactor:.1,minDirtCount:20},M0={...Db,...Lb},lee=(e,t)=>
vendor: 4,112 bytes, line 1109
1109{e.includes(t)||e.push(t)},HA=(e,t)=>{for(const n of t)e.includes(n)||e.push(n)},WA=({score:e},{score:t})=>t-e,qA=()=>new Map,qh=e=>{const t=new Map;for(const n of Object.keys(e))t.set(parseInt(n,10),e[n]);return t},Kh=async e=>{const t=new Map;let n=0;for(const r of Object.keys(e))t.set(parseInt(r,10),e[r]),++n%1e3===0&&await MN(0);return t},MN=e=>new Promise(t=>setTimeout(t,e)),uee=/[\n\r\p{Z}\p{P}]+/u;var I0="focusScope.autoFocusOnMount",D0="focusScope.autoFocusOnUnmount",KA={bubbles:!1,cancelable:!0},cee="FocusScope",Ey=b.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,l]=b.useState(null),u=yo(o),c=yo(i),d=b.useRef(null),f=Fe(t,p=>l(p)),h=b.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;b.useEffect(()=>{if(r){let p=function(w){if(h.paused||!a)return;const S=w.target;a.contains(S)?d.current=S:Ji(d.current,{select:!0})},m=function(w){if(h.paused||!a)return;const S=w.relatedTarget;S!==null&&(a.contains(S)||Ji(d.current,{select:!0}))},y=function(w){if(document.activeElement===document.body)for(const x of w)x.removedNodes.length>0&&Ji(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",m);const v=new MutationObserver(y);return a&&v.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",m),v.disconnect()}}},[r,a,h.paused]),b.useEffect(()=>{if(a){YA.add(h);const p=document.activeElement;if(!a.contains(p)){const y=new CustomEvent(I0,KA);a.addEventListener(I0,u),a.dispatchEvent(y),y.defaultPrevented||(dee(gee(IN(a)),{select:!0}),document.activeElement===p&&Ji(a))}return()=>{a.removeEventListener(I0,u),setTimeout(()=>{const y=new CustomEvent(D0,KA);a.addEventListener(D0,c),a.dispatchEvent(y),y.defaultPrevented||Ji(p??document.body,{select:!0}),a.removeEventListener(D0,c),YA.remove(h)},0)}}},[a,u,c,h]);const g=b.useCallback(p=>{if(!n&&!r||h.paused)return;const m=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,y=document.activeElement;if(m&&y){const v=p.currentTarget,[w,S]=fee(v);w&&S?!p.shiftKey&&y===S?(p.preventDefault(),n&&Ji(w,{select:!0})):p.shiftKey&&y===w&&(p.preventDefault(),n&&Ji(S,{select:!0})):y===v&&p.preventDefault()}},[n,r,h.paused]);return E.jsx(Ee.div,{tabIndex:-1,...s,ref:f,onKeyDown:g})});Ey.displayName=cee;function dee(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Ji(r,{select:t}),document.activeElement!==n)return}function fee(e){const t=IN(e),n=GA(t,e),r=GA(t.reverse(),e);return[n,r]}function IN(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 GA(e,t){for(const n of e)if(!hee(n,{upTo:t}))return n}function hee(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function pee(e){return e instanceof HTMLInputElement&&"select"in e}function Ji(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&pee(e)&&t&&e.select()}}var YA=mee();function mee(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=XA(e,t),e.unshift(t)},remove(t){var n;e=XA(e,t),(n=e[0])==null||n.resume()}}}function XA(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function gee(e){return e.filter(t=>t.tagName!=="A")}var L0=0;function tk(){b.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??JA()),document.body.insertAdjacentElement("beforeend",e[1]??JA()),L0++,()=>{L0===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),L0--}},[])}function JA(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 4,429 bytes, lines 1109-1110
1109style.position="fixed",e.style.pointerEvents="none",e}var Lp="right-scroll-bar-position",$p="width-before-scroll-bar",yee="with-scroll-bars-hidden",vee="--removed-body-scroll-bar-size";function $0(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function wee(e,t){var n=b.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var bee=typeof window<"u"?b.useLayoutEffect:b.useEffect,QA=new WeakMap;function See(e,t){var n=wee(null,function(r){return e.forEach(function(o){return $0(o,r)})});return bee(function(){var r=QA.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(a){i.has(a)||$0(a,null)}),i.forEach(function(a){o.has(a)||$0(a,s)})}QA.set(n,e)},[e]),n}function xee(e){return e}function kee(e,t){t===void 0&&(t=xee);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var l=function(){var c=s;s=[],c.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){s.push(c),u()},filter:function(c){return s=s.filter(c),n}}}};return o}function Eee(e){e===void 0&&(e={});var t=kee(null);return t.options=et({async:!0,ssr:!1},e),t}var DN=function(e){var t=e.sideCar,n=oc(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return b.createElement(r,et({},n))};DN.isSideCarExport=!0;function _ee(e,t){return e.useMedium(t),DN}var LN=Eee(),N0=function(){},_y=b.forwardRef(function(e,t){var n=b.useRef(null),r=b.useState({onScrollCapture:N0,onWheelCapture:N0,onTouchMoveCapture:N0}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,f=e.sideCar,h=e.noRelative,g=e.noIsolation,p=e.inert,m=e.allowPinchZoom,y=e.as,v=y===void 0?"div":y,w=e.gapMode,S=oc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=f,k=See([n,t]),_=et(et({},S),o);return b.createElement(b.Fragment,null,c&&b.createElement(x,{sideCar:LN,removeScrollBar:u,shards:d,noRelative:h,noIsolation:g,inert:p,setCallbacks:i,allowPinchZoom:!!m,lockRef:n,gapMode:w}),s?b.cloneElement(b.Children.only(a),et(et({},_),{ref:k})):b.createElement(v,et({},_,{className:l,ref:k}),a))});_y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};_y.classNames={fullWidth:$p,zeroRight:Lp};var Cee=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Tee(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Cee();return t&&e.setAttribute("nonce",t),e}function Aee(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Pee(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ree=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Tee())&&(Aee(t,n),Pee(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Oee=function(){var e=Ree();return function(t,n){b.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},$N=function(){var e=Oee(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Mee={left:0,top:0,right:0,gap:0},j0=function(e){return parseInt(e||"",10)||0},Iee=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[j0(n),j0(r),j0(o)]},Dee=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Mee;var t=Iee(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Lee=$N(),hu="data-scroll-locked",$ee=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
1110  .`.concat(yee,` {
1111   overflow: hidden `).concat(r,`;
1112   padding-right: `).concat(a,"px ").concat(r,`;
1113  }
1114  body[`).concat(hu,`] {
1115    overflow: hidden `).concat(r,`;
1116    overscroll-behavior: contain;
1117    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
1118    padding-left: `.concat(o,`px;
1119    padding-top: `).concat(i,`px;
1120    padding-right: `).concat(s,`px;
1121    margin-left:0;
1122    margin-top:0;
1123    margin-right: `).concat(a,"px ").concat(r,`;
1124    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
1125  }
1126  
1127  .`).concat(Lp,` {
1128    right: `).concat(a,"px ").concat(r,`;
1129  }
1130  
1131  .`).concat($p,` {
1132    margin-right: `).concat(a,"px ").concat(r,`;
1133  }
1134  
1135  .`).concat(Lp," .").concat(Lp,` {
1136    right: 0 `).concat(r,`;
1137  }
1138  
1139  .`).concat($p," .").concat($p,` {
1140    margin-right: 0 `).concat(r,`;
1141  }
1142  
1143  body[`).concat(hu,`] {
1144    `).concat(vee,": ").concat(a,`px;
1145  }
1146`)},ZA=function(){var e=parseInt(document.body.getAttribute(hu)||"0",10);return isFinite(e)?e:0},Nee=function(){b.useEffect(function(){return document.body.setAttribute(hu,(ZA()+1).toString()),function(){var e=ZA()-1;e<=0?document.body.removeAttribute(hu):document.body.setAttribute(hu,e.toString())}},[])},jee=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Nee();var i=b.useMemo(function(){return Dee(o)},[o]);return b.createElement(Lee,{styles:$ee(i,!t,o,n?"":"!important")})},$b=!1;if(typeof window<"u")try{var Gh=Object.defineProperty({},"passive",{get:function(){return $b=!0,!0}});window.addEventListener("test",Gh,Gh),window.removeEventListener("test",Gh,Gh)}catch{$b=!1}var Tl=$b?{passive:!1}:!1,Fee=function(e){return e.tagName==="TEXTAREA"},NN=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Fee(e)&&n[t]==="visible")},Bee=function(e){return NN(e,"overflowY")},Uee=function(e){return NN(e,"overflowX")},eP=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=jN(e,r);if(o){var i=FN(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},zee=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Vee=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},jN=function(e,t){return e==="v"?Bee(t):Uee(t)},FN=function(e,t){return e==="v"?zee(t):Vee(t)},Hee=function(e,t){return e==="h"&&t==="rtl"?-1:1},Wee=function(e,t,n,r,o){var i=Hee(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,l=t.contains(a),u=!1,c=s>0,d=0,f=0;do{if(!a)break;var h=FN(e,a),g=h[0],p=h[1],m=h[2],y=p-m-i*g;(g||y)&&jN(e,a)&&(d+=y,f+=g);var v=a.parentNode;a=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(c&&Math.abs(d)<1||!c&&Math.abs(f)<1)&&(u=!0),u},Yh=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tP=function(e){return[e.deltaX,e.deltaY]},nP=function(e){return e&&"current"in e?e.current:e},qee=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Kee=function(e){return`
1147  .block-interactivity-`.concat(e,` {pointer-events: none;}
1148  .allow-interactivity-`).concat(e,` {pointer-events: all;}
1149`)},Gee=0,Al=[];function Yee(e){var t=b.useRef([]),n=b.useRef([0,0]),r=b.useRef(),o=b.useState(Gee++)[0],i=b.useState($N)[0],s=b.useRef(e);b.useEffect(function(){s.current=e},[e]),b.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var p=lJ([e.lockRef.current],(e.shards||[]).map(nP),!0).filter(Boolean);return p.forEach(function(m){return m.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),p.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=b.useCallback(function(p,m){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!s.current.allowPinchZoom;var y=Yh(p),v=n.current,w="deltaX"in p?p.deltaX:v[0]-y[0],S="deltaY"in p?p.deltaY:v[1]-y[1],x,k=p.target,_=Math.abs(w)>Math.abs(S)?"h":"v";if("touches"in p&&_==="h"&&k.type==="range")return!1;var A=eP(_,k);if(!A)return!0;
vendor: 2,788 bytes, line 1149
1149if(A?x=_:(x=_==="v"?"h":"v",A=eP(_,k)),!A)return!1;if(!r.current&&"changedTouches"in p&&(w||S)&&(r.current=x),!x)return!0;var M=r.current||x;return Wee(M,m,p,M==="h"?w:S)},[]),l=b.useCallback(function(p){var m=p;if(!(!Al.length||Al[Al.length-1]!==i)){var y="deltaY"in m?tP(m):Yh(m),v=t.current.filter(function(x){return x.name===m.type&&(x.target===m.target||m.target===x.shadowParent)&&qee(x.delta,y)})[0];if(v&&v.should){m.cancelable&&m.preventDefault();return}if(!v){var w=(s.current.shards||[]).map(nP).filter(Boolean).filter(function(x){return x.contains(m.target)}),S=w.length>0?a(m,w[0]):!s.current.noIsolation;S&&m.cancelable&&m.preventDefault()}}},[]),u=b.useCallback(function(p,m,y,v){var w={name:p,delta:m,target:y,should:v,shadowParent:Xee(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(S){return S!==w})},1)},[]),c=b.useCallback(function(p){n.current=Yh(p),r.current=void 0},[]),d=b.useCallback(function(p){u(p.type,tP(p),p.target,a(p,e.lockRef.current))},[]),f=b.useCallback(function(p){u(p.type,Yh(p),p.target,a(p,e.lockRef.current))},[]);b.useEffect(function(){return Al.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,Tl),document.addEventListener("touchmove",l,Tl),document.addEventListener("touchstart",c,Tl),function(){Al=Al.filter(function(p){return p!==i}),document.removeEventListener("wheel",l,Tl),document.removeEventListener("touchmove",l,Tl),document.removeEventListener("touchstart",c,Tl)}},[]);var h=e.removeScrollBar,g=e.inert;return b.createElement(b.Fragment,null,g?b.createElement(i,{styles:Kee(o)}):null,h?b.createElement(jee,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Xee(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Jee=_ee(LN,Yee);var Cy=b.forwardRef(function(e,t){return b.createElement(_y,et({},e,{ref:t,sideCar:Jee}))});Cy.classNames=_y.classNames;var Qee=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Pl=new WeakMap,Xh=new WeakMap,Jh={},F0=0,BN=function(e){return e&&(e.host||BN(e.parentNode))},Zee=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=BN(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},ete=function(e,t,n,r){var o=Zee(t,Array.isArray(e)?e:[e]);Jh[n]||(Jh[n]=new WeakMap);var i=Jh[n],s=[],a=new Set,l=new Set(o),u=function(d){!d||a.has(d)||(a.add(d),u(d.parentNode))};o.forEach(u);var c=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(f){if(a.has(f))c(f);else try{var h=f.getAttribute(r),g=h!==null&&h!=="false",p=(Pl.get(f)||0)+1,m=(i.get(f)||0)+1;
vendor: 22,834 bytes, lines 1149-1153
1149Pl.set(f,p),i.set(f,m),s.push(f),p===1&&g&&Xh.set(f,!0),m===1&&f.setAttribute(n,"true"),g||f.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",f,y)}})};return c(t),a.clear(),F0++,function(){s.forEach(function(d){var f=Pl.get(d)-1,h=i.get(d)-1;Pl.set(d,f),i.set(d,h),f||(Xh.has(d)||d.removeAttribute(r),Xh.delete(d)),h||d.removeAttribute(n)}),F0--,F0||(Pl=new WeakMap,Pl=new WeakMap,Xh=new WeakMap,Jh={})}},nk=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Qee(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),ete(r,o,n,"aria-hidden")):function(){return null}},Ty="Dialog",[UN,zN]=Wr(Ty),[tte,So]=UN(Ty),VN=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:s=!0}=e,a=b.useRef(null),l=b.useRef(null),[u,c]=Yo({prop:r,defaultProp:o??!1,onChange:i,caller:Ty});return E.jsx(tte,{scope:t,triggerRef:a,contentRef:l,contentId:_i(),titleId:_i(),descriptionId:_i(),open:u,onOpenChange:c,onOpenToggle:b.useCallback(()=>c(d=>!d),[c]),modal:s,children:n})};VN.displayName=Ty;var HN="DialogTrigger",WN=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=So(HN,n),i=Fe(t,o.triggerRef);return E.jsx(Ee.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ik(o.open),...r,ref:i,onClick:Se(e.onClick,o.onOpenToggle)})});WN.displayName=HN;var rk="DialogPortal",[nte,qN]=UN(rk,{forceMount:void 0}),KN=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=So(rk,t);return E.jsx(nte,{scope:t,forceMount:n,children:b.Children.map(r,s=>E.jsx(Zo,{present:n||i.open,children:E.jsx(Kf,{asChild:!0,container:o,children:s})}))})};KN.displayName=rk;var Hm="DialogOverlay",GN=b.forwardRef((e,t)=>{const n=qN(Hm,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=So(Hm,e.__scopeDialog);return i.modal?E.jsx(Zo,{present:r||i.open,children:E.jsx(ote,{...o,ref:t})}):null});GN.displayName=Hm;var rte=el("DialogOverlay.RemoveScroll"),ote=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=So(Hm,n);return E.jsx(Cy,{as:rte,allowPinchZoom:!0,shards:[o.contentRef],children:E.jsx(Ee.div,{"data-state":ik(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),nl="DialogContent",YN=b.forwardRef((e,t)=>{const n=qN(nl,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=So(nl,e.__scopeDialog);return E.jsx(Zo,{present:r||i.open,children:i.modal?E.jsx(ite,{...o,ref:t}):E.jsx(ste,{...o,ref:t})})});YN.displayName=nl;var ite=b.forwardRef((e,t)=>{const n=So(nl,e.__scopeDialog),r=b.useRef(null),o=Fe(t,n.contentRef,r);return b.useEffect(()=>{const i=r.current;if(i)return nk(i)},[]),E.jsx(XN,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Se(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:Se(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,a=s.button===0&&s.ctrlKey===!0;(s.button===2||a)&&i.preventDefault()}),onFocusOutside:Se(e.onFocusOutside,i=>i.preventDefault())})}),ste=b.forwardRef((e,t)=>{const n=So(nl,e.__scopeDialog),r=b.useRef(!1),o=b.useRef(!1);return E.jsx(XN,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var s,a;(s=e.onCloseAutoFocus)==null||s.call(e,i),i.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),XN=b.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...s}=e,a=So(nl,n),l=b.useRef(null),u=Fe(t,l);return tk(),E.jsxs(E.Fragment,{children:[E.jsx(Ey,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:E.jsx(Zu,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":ik(a.open),...s,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),E.jsxs(E.Fragment,{children:[E.jsx(lte,{titleId:a.titleId}),E.jsx(cte,{contentRef:l,descriptionId:a.descriptionId})]})]})}),ok="DialogTitle",JN=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=So(ok,n);return E.jsx(Ee.h2,{id:o.titleId,...r,ref:t})});JN.displayName=ok;var QN="DialogDescription",ZN=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=So(QN,n);return E.jsx(Ee.p,{id:o.descriptionId,...r,ref:t})});ZN.displayName=QN;var e4="DialogClose",t4=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=So(e4,n);return E.jsx(Ee.button,{type:"button",...r,ref:t,onClick:Se(e.onClick,()=>o.onOpenChange(!1))})});t4.displayName=e4;function ik(e){return e?"open":"closed"}var n4="DialogTitleWarning",[ate,r4]=tG(n4,{contentName:nl,titleName:ok,docsSlug:"dialog"}),lte=({titleId:e})=>{const t=r4(n4),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
1150
1151If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
1152
1153For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return b.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},ute="DialogDescriptionWarning",cte=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r4(ute).contentName}}.`;return b.useEffect(()=>{var i;const o=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},dte=VN,fte=WN,hte=KN,pte=GN,mte=YN,gte=JN,yte=ZN,o4=t4,vte="Label",i4=b.forwardRef((e,t)=>E.jsx(Ee.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));i4.displayName=vte;var KCe=i4;function rP(e,[t,n]){return Math.min(n,Math.max(t,e))}var wte=b.createContext(void 0);function s4(e){const t=b.useContext(wte);return e||t||"ltr"}function sk(e){const t=b.useRef({value:e,previous:e});return b.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var bte=[" ","Enter","ArrowUp","ArrowDown"],Ste=[" ","Enter"],rl="Select",[Ay,Py,xte]=I2(rl),[sc]=Wr(rl,[xte,rc]),Ry=rc(),[kte,Ys]=sc(rl),[Ete,_te]=sc(rl),a4=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:s,defaultValue:a,onValueChange:l,dir:u,name:c,autoComplete:d,disabled:f,required:h,form:g}=e,p=Ry(t),[m,y]=b.useState(null),[v,w]=b.useState(null),[S,x]=b.useState(!1),k=s4(u),[_,A]=Yo({prop:r,defaultProp:o??!1,onChange:i,caller:rl}),[M,I]=Yo({prop:s,defaultProp:a,onChange:l,caller:rl}),N=b.useRef(null),L=m?g||!!m.closest("form"):!0,[Z,V]=b.useState(new Set),ee=Array.from(Z).map(G=>G.props.value).join(";");return E.jsx(tN,{...p,children:E.jsxs(kte,{required:h,scope:t,trigger:m,onTriggerChange:y,valueNode:v,onValueNodeChange:w,valueNodeHasChildren:S,onValueNodeHasChildrenChange:x,contentId:_i(),value:M,onValueChange:I,open:_,onOpenChange:A,dir:k,triggerPointerDownPosRef:N,disabled:f,children:[E.jsx(Ay.Provider,{scope:t,children:E.jsx(Ete,{scope:e.__scopeSelect,onNativeOptionAdd:b.useCallback(G=>{V(B=>new Set(B).add(G))},[]),onNativeOptionRemove:b.useCallback(G=>{V(B=>{const R=new Set(B);return R.delete(G),R})},[]),children:n})}),L?E.jsxs(O4,{"aria-hidden":!0,required:h,tabIndex:-1,name:c,autoComplete:d,value:M,onChange:G=>I(G.target.value),disabled:f,form:g,children:[M===void 0?E.jsx("option",{value:""}):null,Array.from(Z)]},ee):null]})})};a4.displayName=rl;var l4="SelectTrigger",u4=b.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,i=Ry(n),s=Ys(l4,n),a=s.disabled||r,l=Fe(t,s.onTriggerChange),u=Py(n),c=b.useRef("touch"),[d,f,h]=I4(p=>{const m=u().filter(w=>!w.disabled),y=m.find(w=>w.value===s.value),v=D4(m,p,y);v!==void 0&&s.onValueChange(v.value)}),g=p=>{a||(s.onOpenChange(!0),h()),p&&(s.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return E.jsx(vy,{asChild:!0,...i,children:E.jsx(Ee.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":M4(s.value)?"":void 0,...o,ref:l,onClick:Se(o.onClick,p=>{p.currentTarget.focus(),c.current!=="mouse"&&g(p)}),onPointerDown:Se(o.onPointerDown,p=>{c.current=p.pointerType;const m=p.target;m.hasPointerCapture(p.pointerId)&&m.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(g(p),p.preventDefault())}),onKeyDown:Se(o.onKeyDown,p=>{const m=d.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&f(p.key),!(m&&p.key===" ")&&bte.includes(p.key)&&(g(),p.preventDefault())})})})});u4.displayName=l4;var c4="SelectValue",d4=b.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:s="",...a}=e,l=Ys(c4,n),{onValueNodeHasChildrenChange:u}=l,c=i!==void 0,d=Fe(t,l.onValueNodeChange);return Xt(()=>{u(c)},[u,c]),E.jsx(Ee.span,{...a,ref:d,style:{pointerEvents:"none"},children:M4(l.value)?E.jsx(E.Fragment,{children:s}):i})});d4.displayName=c4;var Cte="SelectIcon",f4=b.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return E.jsx(Ee.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});f4.displayName=Cte;var Tte="SelectPortal",h4=e=>E.jsx(Kf,{asChild:!0,...e});h4.displayName=Tte;var ol="SelectContent",p4=b.forwardRef((e,t)=>{const n=Ys(ol,e.__scopeSelect),[r,o]=b.useState();if(Xt(()=>{o(new DocumentFragment)},[]),!n.open){const i=r;return i?cl.createPortal(E.jsx(m4,{scope:e.__scopeSelect,children:E.jsx(Ay.Slot,{scope:e.__scopeSelect,children:E.jsx("div",{children:e.children})})}),i):null}return E.jsx(g4,{...e,ref:t})});p4.displayName=ol;var no=10,[m4,Xs]=sc(ol),Ate="SelectContentImpl",Pte=el("SelectContent.RemoveScroll"),g4=b.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:s,side:a,sideOffset:l,align:u,alignOffset:c,arrowPadding:d,collisionBoundary:f,collisionPadding:h,sticky:g,hideWhenDetached:p,avoidCollisions:m,...y}=e,v=Ys(ol,n),[w,S]=b.useState(null),[x,k]=b.useState(null),_=Fe(t,F=>S(F)),[A,M]=b.useState(null),[I,N]=b.useState(null),L=Py(n),[Z,V]=b.useState(!1),ee=b.useRef(!1);b.useEffect(()=>{if(w)return nk(w)},[w]),tk();const G=b.useCallback(F=>{const[J,...ce]=L().map(H=>H.ref.current),[ae]=ce.slice(-1),W=document.activeElement;for(const H of F)if(H===W||(H==null||H.scrollIntoView({block:"nearest"}),H===J&&x&&(x.scrollTop=0),H===ae&&x&&(x.scrollTop=x.scrollHeight),H==null||H.focus(),document.activeElement!==W))return},[L,x]),B=b.useCallback(()=>G([A,w]),[G,A,w]);b.useEffect(()=>{Z&&B()},[Z,B]);const{onOpenChange:R,triggerPointerDownPosRef:j}=v;b.useEffect(()=>{if(w){let F={x:0,y:0};const J=ae=>{var W,H;F={x:Math.abs(Math.round(ae.pageX)-(((W=j.current)==null?void 0:W.x)??0)),y:Math.abs(Math.round(ae.pageY)-(((H=j.current)==null?void 0:H.y)??0))}},ce=ae=>{F.x<=10&&F.y<=10?ae.preventDefault():w.contains(ae.target)||R(!1),document.removeEventListener("pointermove",J),j.current=null};return j.current!==null&&(document.addEventListener("pointermove",J),document.addEventListener("pointerup",ce,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",J),document.removeEventListener("pointerup",ce,{capture:!0})}}},[w,R,j]),b.useEffect(()=>{const F=()=>R(!1);return window.addEventListener("blur",F),window.addEventListener("resize",F),()=>{window.removeEventListener("blur",F),window.removeEventListener("resize",F)}},[R]);const[P,C]=I4(F=>{const J=L().filter(W=>!W.disabled),ce=J.find(W=>W.ref.current===document.activeElement),ae=D4(J,F,ce);ae&&setTimeout(()=>ae.ref.current.focus())}),U=b.useCallback((F,J,ce)=>{const ae=!ee.current&&!ce;(v.value!==void 0&&v.value===J||ae)&&(M(F),ae&&(ee.current=!0))},[v.value]),q=b.useCallback(()=>w==null?void 0:w.focus(),[w]),K=b.useCallback((F,J,ce)=>{const ae=!ee.current&&!ce;(v.value!==void 0&&v.value===J||ae)&&N(F)},[v.value]),oe=r==="popper"?Nb:y4,se=oe===Nb?{side:a,sideOffset:l,align:u,alignOffset:c,arrowPadding:d,collisionBoundary:f,collisionPadding:h,sticky:g,hideWhenDetached:p,avoidCollisions:m}:{};return E.jsx(m4,{scope:n,content:w,viewport:x,onViewportChange:k,itemRefCallback:U,selectedItem:A,onItemLeave:q,itemTextRefCallback:K,focusSelectedItem:B,selectedItemText:I,position:r,isPositioned:Z,searchRef:P,children:E.jsx(Cy,{as:Pte,allowPinchZoom:!0,children:E.jsx(Ey,{asChild:!0,trapped:v.open,onMountAutoFocus:F=>{F.preventDefault()},onUnmountAutoFocus:Se(o,F=>{var J;(J=v.trigger)==null||J.focus({preventScroll:!0}),F.preventDefault()}),children:E.jsx(Zu,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:F=>F.preventDefault(),onDismiss:()=>v.onOpenChange(!1),children:E.jsx(oe,{role:"listbox",id:v.contentId,"data-state":v.open?"open":"closed",dir:v.dir,onContextMenu:F=>F.preventDefault(),...y,...se,onPlaced:()=>V(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:Se(y.onKeyDown,F=>{const J=F.ctrlKey||F.altKey||F.metaKey;if(F.key==="Tab"&&F.preventDefault(),!J&&F.key.length===1&&C(F.key),["ArrowUp","ArrowDown","Home","End"].includes(F.key)){let ae=L().filter(W=>!W.disabled).map(W=>W.ref.current);if(["ArrowUp","End"].includes(F.key)&&(ae=ae.slice().reverse()),["ArrowUp","ArrowDown"].includes(F.key)){const W=F.target,H=ae.indexOf(W);ae=ae.slice(H+1)}setTimeout(()=>G(ae)),F.preventDefault()}})})})})})})});g4.displayName=Ate;var Rte="SelectItemAlignedPosition",y4=b.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,i=Ys(ol,n),s=Xs(ol,n),[a,l]=b.useState(null),[u,c]=b.useState(null),d=Fe(t,_=>c(_)),f=Py(n),h=b.useRef(!1),g=b.useRef(!0),{viewport:p,selectedItem:m,selectedItemText:y,focusSelectedItem:v}=s,w=b.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&u&&p&&m&&y){const _=i.trigger.getBoundingClientRect(),A=u.getBoundingClientRect(),M=i.valueNode.getBoundingClientRect(),I=y.getBoundingClientRect();if(i.dir!=="rtl"){const W=I.left-A.left,H=M.left-W,te=_.left-H,le=_.width+te,me=Math.max(le,A.width),Ie=window.innerWidth-no,He=rP(H,[no,Math.max(no,Ie-me)]);a.style.minWidth=le+"px",a.style.left=He+"px"}else{const W=A.right-I.right,H=window.innerWidth-M.right-W,te=window.innerWidth-_.right-H,le=_.width+te,me=Math.max(le,A.width),Ie=window.innerWidth-no,He=rP(H,[no,Math.max(no,Ie-me)]);a.style.minWidth=le+"px",a.style.right=He+"px"}const N=f(),L=window.innerHeight-no*2,Z=p.scrollHeight,V=window.getComputedStyle(u),ee=parseInt(V.borderTopWidth,10),G=parseInt(V.paddingTop,10),B=parseInt(V.borderBottomWidth,10),R=parseInt(V.paddingBottom,10),j=ee+G+Z+R+B,P=Math.min(m.offsetHeight*5,j),C=window.getComputedStyle(p),U=parseInt(C.paddingTop,10),q=parseInt(C.paddingBottom,10),K=_.top+_.height/2-no,oe=L-K,se=m.offsetHeight/2,F=m.offsetTop+se,J=ee+G+F,ce=j-J;if(J<=K){const W=N.length>0&&m===N[N.length-1].ref.current;a.style.bottom="0px";const H=u.clientHeight-p.offsetTop-p.offsetHeight,te=Math.max(oe,se+(W?q:0)+H+B),le=J+te;a.style.height=le+"px"}else{const W=N.length>0&&m===N[0].ref.current;a.style.top="0px";const te=Math.max(K,ee+p.offsetTop+(W?U:0)+se)+ce;a.style.height=te+"px",p.scrollTop=J-K+p.offsetTop}a.style.margin=`${no}px 0`,a.style.minHeight=P+"px",a.style.maxHeight=L+"px",r==null||r(),requestAnimationFrame(()=>h.current=!0)}},[f,i.trigger,i.valueNode,a,u,p,m,y,i.dir,r]);Xt(()=>w(),[w]);const[S,x]=b.useState();Xt(()=>{u&&x(window.getComputedStyle(u).zIndex)},[u]);const k=b.useCallback(_=>{_&&g.current===!0&&(w(),v==null||v(),g.current=!1)},[w,v]);return E.jsx(Mte,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:h,onScrollButtonChange:k,children:E.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S},children:E.jsx(Ee.div,{...o,ref:d,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});y4.displayName=Rte;var Ote="SelectPopperPosition",Nb=b.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=no,...i}=e,s=Ry(n);return E.jsx(G2,{...s,...i,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Nb.displayName=Ote;var[Mte,ak]=sc(ol,{}),jb="SelectViewport",v4=b.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,i=Xs(jb,n),s=ak(jb,n),a=Fe(t,i.onViewportChange),l=b.useRef(0);return E.jsxs(E.Fragment,{children:[E.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),E.jsx(Ay.Slot,{scope:n,children:E.jsx(Ee.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:Se(o.onScroll,u=>{const c=u.currentTarget,{contentWrapper:d,shouldExpandOnScrollRef:f}=s;if(f!=null&&f.current&&d){const h=Math.abs(l.current-c.scrollTop);if(h>0){const g=window.innerHeight-no*2,p=parseFloat(d.style.minHeight),m=parseFloat(d.style.height),y=Math.max(p,m);if(y<g){const v=y+h,w=Math.min(g,v),S=v-w;d.style.height=w+"px",d.style.bottom==="0px"&&(c.scrollTop=S>0?S:0,d.style.justifyContent="flex-end")}}}l.current=c.scrollTop})})})]})});v4.displayName=jb;var w4="SelectGroup",[Ite,Dte]=sc(w4),Lte=b.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=_i();return E.jsx(Ite,{scope:n,id:o,children:E.jsx(Ee.div,{role:"group","aria-labelledby":o,...r,ref:t})})});Lte.displayName=w4;var b4="SelectLabel",S4=b.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Dte(b4,n);return E.jsx(Ee.div,{id:o.id,...r,ref:t})});S4.displayName=b4;var Wm="SelectItem",[$te,x4]=sc(Wm),k4=b.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...s}=e,a=Ys(Wm,n),l=Xs(Wm,n),u=a.value===r,[c,d]=b.useState(i??""),[f,h]=b.useState(!1),g=Fe(t,v=>{var w;return(w=l.itemRefCallback)==null?void 0:w.call(l,v,r,o)}),p=_i(),m=b.useRef("touch"),y=()=>{o||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return E.jsx($te,{scope:n,value:r,disabled:o,textId:p,isSelected:u,onItemTextChange:b.useCallback(v=>{d(w=>w||((v==null?void 0:v.textContent)??"").trim())},[]),children:E.jsx(Ay.ItemSlot,{scope:n,value:r,disabled:o,textValue:c,children:E.jsx(Ee.div,{role:"option","aria-labelledby":p,"data-highlighted":f?"":void 0,"aria-selected":u&&f,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...s,ref:g,onFocus:Se(s.onFocus,()=>h(!0)),onBlur:Se(s.onBlur,()=>h(!1)),onClick:Se(s.onClick,()=>{m.current!=="mouse"&&y()}),onPointerUp:Se(s.onPointerUp,()=>{m.current==="mouse"&&y()}),onPointerDown:Se(s.onPointerDown,v=>{m.current=v.pointerType}),onPointerMove:Se(s.onPointerMove,v=>{var w;m.current=v.pointerType,o?(w=l.onItemLeave)==null||w.call(l):m.current==="mouse"&&v.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Se(s.onPointerLeave,v=>{var w;v.currentTarget===document.activeElement&&((w=l.onItemLeave)==null||w.call(l))}),onKeyDown:Se(s.onKeyDown,v=>{var S;((S=l.searchRef)==null?void 0:S.current)!==""&&v.key===" "||(Ste.includes(v.key)&&y(),v.key===" "&&v.preventDefault())})})})})});k4.displayName=Wm;var Qc="SelectItemText",E4=b.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,s=Ys(Qc,n),a=Xs(Qc,n),l=x4(Qc,n),u=_te(Qc,n),[c,d]=b.useState(null),f=Fe(t,y=>d(y),l.onItemTextChange,y=>{var v;return(v=a.itemTextRefCallback)==null?void 0:v.call(a,y,l.value,l.disabled)}),h=c==null?void 0:c.textContent,g=b.useMemo(()=>E.jsx("option",{value:l.value,disabled:l.disabled,children:h},l.value),[l.disabled,l.value,h]),{onNativeOptionAdd:p,onNativeOptionRemove:m}=u;return Xt(()=>(p(g),()=>m(g)),[p,m,g]),E.jsxs(E.Fragment,{children:[E.jsx(Ee.span,{id:l.textId,...i,ref:f}),l.isSelected&&s.valueNode&&!s.valueNodeHasChildren?cl.createPortal(i.children,s.valueNode):null]})});E4.displayName=Qc;var _4="SelectItemIndicator",C4=b.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return x4(_4,n).isSelected?E.jsx(Ee.span,{"aria-hidden":!0,...r,ref:t}):null});C4.displayName=_4;var Fb="SelectScrollUpButton",T4=b.forwardRef((e,t)=>{const n=Xs(Fb,e.__scopeSelect),r=ak(Fb,e.__scopeSelect),[o,i]=b.useState(!1),s=Fe(t,r.onScrollButtonChange);return Xt(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=l.scrollTop>0;i(u)};const l=n.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?E.jsx(P4,{...e,ref:s,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=n;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});T4.displayName=Fb;var Bb="SelectScrollDownButton",A4=b.forwardRef((e,t)=>{const n=Xs(Bb,e.__scopeSelect),r=ak(Bb,e.__scopeSelect),[o,i]=b.useState(!1),s=Fe(t,r.onScrollButtonChange);return Xt(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=l.scrollHeight-l.clientHeight,c=Math.ceil(l.scrollTop)<u;i(c)};const l=n.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?E.jsx(P4,{...e,ref:s,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=n;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});A4.displayName=Bb;var P4=b.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,i=Xs("SelectScrollButton",n),s=b.useRef(null),a=Py(n),l=b.useCallback(()=>{s.current!==null&&(window.clearInterval(s.current),s.current=null)},[]);return b.useEffect(()=>()=>l(),[l]),Xt(()=>{var c;const u=a().find(d=>d.ref.current===document.activeElement);(c=u==null?void 0:u.ref.current)==null||c.scrollIntoView({block:"nearest"})},[a]),E.jsx(Ee.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:Se(o.onPointerDown,()=>{s.current===null&&(s.current=window.setInterval(r,50))}),onPointerMove:Se(o.onPointerMove,()=>{var u;(u=i.onItemLeave)==null||u.call(i),s.current===null&&(s.current=window.setInterval(r,50))}),onPointerLeave:Se(o.onPointerLeave,()=>{l()})})}),Nte="SelectSeparator",R4=b.forwardRef((e,t)=>
vendor: 4,098 bytes, lines 1153-1161
1153{const{__scopeSelect:n,...r}=e;return E.jsx(Ee.div,{"aria-hidden":!0,...r,ref:t})});R4.displayName=Nte;var Ub="SelectArrow",jte=b.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Ry(n),i=Ys(Ub,n),s=Xs(Ub,n);return i.open&&s.position==="popper"?E.jsx(Y2,{...o,...r,ref:t}):null});jte.displayName=Ub;var Fte="SelectBubbleInput",O4=b.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const o=b.useRef(null),i=Fe(r,o),s=sk(t);return b.useEffect(()=>{const a=o.current;if(!a)return;const l=window.HTMLSelectElement.prototype,c=Object.getOwnPropertyDescriptor(l,"value").set;if(s!==t&&c){const d=new Event("change",{bubbles:!0});c.call(a,t),a.dispatchEvent(d)}},[s,t]),E.jsx(Ee.select,{...n,style:{...h$,...n.style},ref:i,defaultValue:t})});O4.displayName=Fte;function M4(e){return e===""||e===void 0}function I4(e){const t=yo(e),n=b.useRef(""),r=b.useRef(0),o=b.useCallback(s=>{const a=n.current+s;t(a),function l(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(a)},[t]),i=b.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return b.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function D4(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=Bte(e,Math.max(i,0));o.length===1&&(s=s.filter(u=>u!==n));const l=s.find(u=>u.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function Bte(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var GCe=a4,YCe=u4,XCe=d4,JCe=f4,QCe=h4,ZCe=p4,eTe=v4,tTe=S4,nTe=k4,rTe=E4,oTe=C4,iTe=T4,sTe=A4,aTe=R4,ac={};/**
1154 * @license React
1155 * react-dom-server-legacy.browser.production.min.js
1156 *
1157 * Copyright (c) Facebook, Inc. and its affiliates.
1158 *
1159 * This source code is licensed under the MIT license found in the
1160 * LICENSE file in the root directory of this source tree.
1161 */var L4=b;function _e(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 Vn=Object.prototype.hasOwnProperty,Ute=/^[: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]*$/,oP={},iP={};function $4(e){return Vn.call(iP,e)?!0:Vn.call(oP,e)?!1:Ute.test(e)?iP[e]=!0:(oP[e]=!0,!1)}function In(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 ln={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ln[e]=new In(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ln[t]=new In(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ln[e]=new In(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ln[e]=new In(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){ln[e]=new In(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ln[e]=new In(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ln[e]=new In(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ln[e]=new In(e,6,!1,e,null,!1,!1)});
vendor: 35,055 bytes, lines 1161-1175
1161["rowSpan","start"].forEach(function(e){ln[e]=new In(e,5,!1,e.toLowerCase(),null,!1,!1)});var lk=/[\-:]([a-z])/g;function uk(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(lk,uk);ln[t]=new In(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(lk,uk);ln[t]=new In(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(lk,uk);ln[t]=new In(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ln[e]=new In(e,1,!1,e.toLowerCase(),null,!1,!1)});ln.xlinkHref=new In("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ln[e]=new In(e,1,!1,e.toLowerCase(),null,!0,!0)});var Np={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},zte=["Webkit","ms","Moz","O"];Object.keys(Np).forEach(function(e){zte.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Np[t]=Np[e]})});var Vte=/["'&<>]/;function Tn(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=Vte.exec(e);if(t){var n="",r,o=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==r&&(n+=e.substring(o,r)),o=r+1,n+=t}e=o!==r?n+e.substring(o,r):n}return e}var Hte=/([A-Z])/g,Wte=/^ms-/,zb=Array.isArray;function ui(e,t){return{insertionMode:e,selectedValue:t}}function qte(e,t,n){switch(t){case"select":return ui(1,n.value!=null?n.value:n.defaultValue);case"svg":return ui(2,null);case"math":return ui(3,null);case"foreignObject":return ui(1,null);case"table":return ui(4,null);case"thead":case"tbody":case"tfoot":return ui(5,null);case"colgroup":return ui(7,null);case"tr":return ui(6,null)}return 4<=e.insertionMode||e.insertionMode===0?ui(1,null):e}var sP=new Map;function N4(e,t,n){if(typeof n!="object")throw Error(_e(62));t=!0;for(var r in n)if(Vn.call(n,r)){var o=n[r];if(o!=null&&typeof o!="boolean"&&o!==""){if(r.indexOf("--")===0){var i=Tn(r);o=Tn((""+o).trim())}else{i=r;var s=sP.get(i);s!==void 0||(s=Tn(i.replace(Hte,"-$1").toLowerCase().replace(Wte,"-ms-")),sP.set(i,s)),i=s,o=typeof o=="number"?o===0||Vn.call(Np,r)?""+o:o+"px":Tn((""+o).trim())}t?(t=!1,e.push(' style="',i,":",o)):e.push(";",i,":",o)}}t||e.push('"')}function sr(e,t,n,r){switch(n){case"style":N4(e,t,r);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"){if(t=ln.hasOwnProperty(n)?ln[n]:null,t!==null){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=t.attributeName,t.type){case 3:r&&e.push(" ",n,'=""');break;case 4:r===!0?e.push(" ",n,'=""'):r!==!1&&e.push(" ",n,'="',Tn(r),'"');break;case 5:isNaN(r)||e.push(" ",n,'="',Tn(r),'"');break;case 6:!isNaN(r)&&1<=r&&e.push(" ",n,'="',Tn(r),'"');break;default:t.sanitizeURL&&(r=""+r),e.push(" ",n,'="',Tn(r),'"')}}else if($4(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(t=n.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-")return}e.push(" ",n,'="',Tn(r),'"')}}}function jp(e,t,n){if(t!=null){if(n!=null)throw Error(_e(60));if(typeof t!="object"||!("__html"in t))throw Error(_e(61));t=t.__html,t!=null&&e.push(""+t)}}function Kte(e){var t="";return L4.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function B0(e,t,n,r){e.push(To(n));var o=n=null,i;for(i in t)if(Vn.call(t,i)){var s=t[i];if(s!=null)switch(i){case"children":n=s;break;case"dangerouslySetInnerHTML":o=s;break;default:sr(e,r,i,s)}}return e.push(">"),jp(e,o,n),typeof n=="string"?(e.push(Tn(n)),null):n}var Gte=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,aP=new Map;function To(e){var t=aP.get(e);if(t===void 0){if(!Gte.test(e))throw Error(_e(65,e));t="<"+e,aP.set(e,t)}return t}function Yte(e,t,n,r,o){switch(t){case"select":e.push(To("select"));var i=null,s=null;for(c in n)if(Vn.call(n,c)){var a=n[c];if(a!=null)switch(c){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"defaultValue":case"value":break;default:sr(e,r,c,a)}}return e.push(">"),jp(e,s,i),i;case"option":s=o.selectedValue,e.push(To("option"));var l=a=null,u=null,c=null;for(i in n)if(Vn.call(n,i)){var d=n[i];if(d!=null)switch(i){case"children":a=d;break;case"selected":u=d;break;case"dangerouslySetInnerHTML":c=d;break;case"value":l=d;default:sr(e,r,i,d)}}if(s!=null)if(n=l!==null?""+l:Kte(a),zb(s)){for(r=0;r<s.length;r++)if(""+s[r]===n){e.push(' selected=""');break}}else""+s===n&&e.push(' selected=""');else u&&e.push(' selected=""');return e.push(">"),jp(e,c,a),a;case"textarea":e.push(To("textarea")),c=s=i=null;for(a in n)if(Vn.call(n,a)&&(l=n[a],l!=null))switch(a){case"children":c=l;break;case"value":i=l;break;case"defaultValue":s=l;break;case"dangerouslySetInnerHTML":throw Error(_e(91));default:sr(e,r,a,l)}if(i===null&&s!==null&&(i=s),e.push(">"),c!=null){if(i!=null)throw Error(_e(92));if(zb(c)&&1<c.length)throw Error(_e(93));i=""+c}return typeof i=="string"&&i[0]===`
1162`&&e.push(`
1163`),i!==null&&e.push(Tn(""+i)),null;case"input":e.push(To("input")),l=c=a=i=null;for(s in n)if(Vn.call(n,s)&&(u=n[s],u!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(_e(399,"input"));case"defaultChecked":l=u;break;case"defaultValue":a=u;break;case"checked":c=u;break;case"value":i=u;break;default:sr(e,r,s,u)}return c!==null?sr(e,r,"checked",c):l!==null&&sr(e,r,"checked",l),i!==null?sr(e,r,"value",i):a!==null&&sr(e,r,"value",a),e.push("/>"),null;case"menuitem":e.push(To("menuitem"));for(var f in n)if(Vn.call(n,f)&&(i=n[f],i!=null))switch(f){case"children":case"dangerouslySetInnerHTML":throw Error(_e(400));default:sr(e,r,f,i)}return e.push(">"),null;case"title":e.push(To("title")),i=null;for(d in n)if(Vn.call(n,d)&&(s=n[d],s!=null))switch(d){case"children":i=s;break;case"dangerouslySetInnerHTML":throw Error(_e(434));default:sr(e,r,d,s)}return e.push(">"),i;case"listing":case"pre":e.push(To(t)),s=i=null;for(l in n)if(Vn.call(n,l)&&(a=n[l],a!=null))switch(l){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;default:sr(e,r,l,a)}if(e.push(">"),s!=null){if(i!=null)throw Error(_e(60));if(typeof s!="object"||!("__html"in s))throw Error(_e(61));n=s.__html,n!=null&&(typeof n=="string"&&0<n.length&&n[0]===`
1164`?e.push(`
1165`,n):e.push(""+n))}return typeof i=="string"&&i[0]===`
1166`&&e.push(`
1167`),i;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(To(t));for(var h in n)if(Vn.call(n,h)&&(i=n[h],i!=null))switch(h){case"children":case"dangerouslySetInnerHTML":throw Error(_e(399,t));default:sr(e,r,h,i)}return e.push("/>"),null;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 B0(e,n,t,r);case"html":return o.insertionMode===0&&e.push("<!DOCTYPE html>"),B0(e,n,t,r);default:if(t.indexOf("-")===-1&&typeof n.is!="string")return B0(e,n,t,r);e.push(To(t)),s=i=null;for(u in n)if(Vn.call(n,u)&&(a=n[u],a!=null))switch(u){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"style":N4(e,r,a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:$4(u)&&typeof a!="function"&&typeof a!="symbol"&&e.push(" ",u,'="',Tn(a),'"')}return e.push(">"),jp(e,s,i),i}}function lP(e,t,n){if(e.push('<!--$?--><template id="'),n===null)throw Error(_e(395));return e.push(n),e.push('"></template>')}function Xte(e,t,n,r){switch(n.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 4:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');default:throw Error(_e(397))}}function Jte(e,t){switch(t.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(_e(397))}}var Qte=/[<\u2028\u2029]/g;function U0(e){return JSON.stringify(e).replace(Qte,function(t){switch(t){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Zte(e,t){return t=t===void 0?"":t,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:t+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}function uP(e,t,n,r){return n.generateStaticMarkup?(e.push(Tn(t)),!1):(t===""?e=r:(r&&e.push("<!-- -->"),e.push(Tn(t)),e=!0),e)}var Cd=Object.assign,ene=Symbol.for("react.element"),j4=Symbol.for("react.portal"),F4=Symbol.for("react.fragment"),B4=Symbol.for("react.strict_mode"),U4=Symbol.for("react.profiler"),z4=Symbol.for("react.provider"),V4=Symbol.for("react.context"),H4=Symbol.for("react.forward_ref"),W4=Symbol.for("react.suspense"),q4=Symbol.for("react.suspense_list"),K4=Symbol.for("react.memo"),ck=Symbol.for("react.lazy"),tne=Symbol.for("react.scope"),nne=Symbol.for("react.debug_trace_mode"),rne=Symbol.for("react.legacy_hidden"),one=Symbol.for("react.default_value"),cP=Symbol.iterator;function Vb(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 F4:return"Fragment";case j4:return"Portal";case U4:return"Profiler";case B4:return"StrictMode";case W4:return"Suspense";case q4:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case V4:return(e.displayName||"Context")+".Consumer";case z4:return(e._context.displayName||"Context")+".Provider";case H4:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case K4:return t=e.displayName||null,t!==null?t:Vb(e.type)||"Memo";case ck:t=e._payload,e=e._init;try{return Vb(e(t))}catch{}}return null}var G4={};function dP(e,t){if(e=e.contextTypes,!e)return G4;var n={},r;for(r in e)n[r]=t[r];return n}var Ta=null;function Oy(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var n=t.parent;if(e===null){if(n!==null)throw Error(_e(401))}else{if(n===null)throw Error(_e(401));Oy(e,n)}t.context._currentValue2=t.value}}function Y4(e){e.context._currentValue2=e.parentValue,e=e.parent,e!==null&&Y4(e)}function X4(e){var t=e.parent;t!==null&&X4(t),e.context._currentValue2=e.value}function J4(e,t){if(e.context._currentValue2=e.parentValue,e=e.parent,e===null)throw Error(_e(402));e.depth===t.depth?Oy(e,t):J4(e,t)}function Q4(e,t){var n=t.parent;if(n===null)throw Error(_e(402));e.depth===n.depth?Oy(e,n):Q4(e,n),t.context._currentValue2=t.value}function qm(e){var t=Ta;t!==e&&(t===null?X4(e):e===null?Y4(t):t.depth===e.depth?Oy(t,e):t.depth>e.depth?J4(t,e):Q4(t,e),Ta=e)}var fP={isMounted:function(){return!1},enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function hP(e,t,n,r){var o=e.state!==void 0?e.state:null;e.updater=fP,e.props=n,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context=typeof s=="object"&&s!==null?s._currentValue2:r,s=t.getDerivedStateFromProps,typeof s=="function"&&(s=s(n,o),o=s==null?o:Cd({},o,s),e.state=o),typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(t=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),t!==e.state&&fP.enqueueReplaceState(e,e.state,null),i.queue!==null&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&t.length===1)e.state=t[0];else{for(i=s?t[0]:e.state,o=!0,s=s?1:0;s<t.length;s++){var a=t[s];a=typeof a=="function"?a.call(e,i,n,r):a,a!=null&&(o?(o=!1,i=Cd({},i,a)):Cd(i,a))}e.state=i}else i.queue=null}var ine={id:1,overflow:""};function Hb(e,t,n){var r=e.id;e=e.overflow;var o=32-Fp(r)-1;r&=~(1<<o),n+=1;var i=32-Fp(t)+o;if(30<i){var s=o-o%5;return i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,{id:1<<32-Fp(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var Fp=Math.clz32?Math.clz32:lne,sne=Math.log,ane=Math.LN2;function lne(e){return e>>>=0,e===0?32:31-(sne(e)/ane|0)|0}function une(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var cne=typeof Object.is=="function"?Object.is:une,Di=null,dk=null,Bp=null,tt=null,Zc=!1,Km=!1,Sf=0,_s=null,My=0;function ga(){if(Di===null)throw Error(_e(321));return Di}function pP(){if(0<My)throw Error(_e(312));return{memoizedState:null,queue:null,next:null}}function fk(){return tt===null?Bp===null?(Zc=!1,Bp=tt=pP()):(Zc=!0,tt=Bp):tt.next===null?(Zc=!1,tt=tt.next=pP()):(Zc=!0,tt=tt.next),tt}function hk(){dk=Di=null,Km=!1,Bp=null,My=0,tt=_s=null}function Z4(e,t){return typeof t=="function"?t(e):t}function mP(e,t,n){if(Di=ga(),tt=fk(),Zc){var r=tt.queue;if(t=r.dispatch,_s!==null&&(n=_s.get(r),n!==void 0)){_s.delete(r),r=tt.memoizedState;do r=e(r,n.action),n=n.next;while(n!==null);return tt.memoizedState=r,[r,t]}return[tt.memoizedState,t]}return e=e===Z4?typeof t=="function"?t():t:n!==void 0?n(t):t,tt.memoizedState=e,e=tt.queue={last:null,dispatch:null},e=e.dispatch=dne.bind(null,Di,e),[tt.memoizedState,e]}function gP(e,t){if(Di=ga(),tt=fk(),t=t===void 0?null:t,tt!==null){var n=tt.memoizedState;if(n!==null&&t!==null){var r=n[1];e:if(r===null)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!cne(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),tt.memoizedState=[e,t],e}function dne(e,t,n){if(25<=My)throw Error(_e(301));if(e===Di)if(Km=!0,e={action:n,next:null},_s===null&&(_s=new Map),n=_s.get(t),n===void 0)_s.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function fne(){throw Error(_e(394))}function Qh(){}var yP={readContext:function(e){return e._currentValue2},useContext:function(e){return ga(),e._currentValue2},useMemo:gP,useReducer:mP,useRef:function(e){Di=ga(),tt=fk();var t=tt.memoizedState;return t===null?(e={current:e},tt.memoizedState=e):t},useState:function(e){return mP(Z4,e)},useInsertionEffect:Qh,useLayoutEffect:function(){},useCallback:function(e,t){return gP(function(){return e},t)},useImperativeHandle:Qh,useEffect:Qh,useDebugValue:Qh,useDeferredValue:function(e){return ga(),e},useTransition:function(){return ga(),[!1,fne]},useId:function(){var e=dk.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-Fp(e)-1)).toString(32)+t;var n=Up;if(n===null)throw Error(_e(404));return t=Sf++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return ga(),t(e._source)},useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error(_e(407));return n()}},Up=null,z0=L4.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function hne(e){return console.error(e),null}function ed(){}function pne(e,t,n,r,o,i,s,a,l){var u=[],c=new Set;return t={destination:null,responseState:t,progressiveChunkSize:r===void 0?12800:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:c,pingedTasks:u,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:o===void 0?hne:o,onAllReady:ed,onShellReady:s===void 0?ed:s,onShellError:ed,onFatalError:ed},n=Gm(t,0,null,n,!1,!1),n.parentFlushed=!0,e=pk(t,e,null,n,c,G4,null,ine),u.push(e),t}function pk(e,t,n,r,o,i,s,a){e.allPendingTasks++,n===null?e.pendingRootTasks++:n.pendingTasks++;var l={node:t,ping:function(){var u=e.pingedTasks;u.push(l),u.length===1&&n5(e)},blockedBoundary:n,blockedSegment:r,abortSet:o,legacyContext:i,context:s,treeContext:a};return o.add(l),l}function Gm(e,t,n,r,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function xf(e,t){if(e=e.onError(t),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function Ym(e,t){var n=e.onShellError;n(t),n=e.onFatalError,n(t),e.destination!==null?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function vP(e,t,n,r,o){for(Di={},dk=t,Sf=0,e=n(r,o);Km;)Km=!1,Sf=0,My+=1,tt=null,e=n(r,o);return hk(),e}function wP(e,t,n,r){var o=n.render(),i=r.childContextTypes;if(i!=null){var s=t.legacyContext;if(typeof n.getChildContext!="function")r=s;else{n=n.getChildContext();for(var a in n)if(!(a in i))throw Error(_e(108,Vb(r)||"Unknown",a));r=Cd({},s,n)}t.legacyContext=r,dr(e,t,o),t.legacyContext=s}else dr(e,t,o)}function bP(e,t){if(e&&e.defaultProps){t=Cd({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Wb(e,t,n,r,o){if(typeof n=="function")if(n.prototype&&n.prototype.isReactComponent){o=dP(n,t.legacyContext);var i=n.contextType;i=new n(r,typeof i=="object"&&i!==null?i._currentValue2:o),hP(i,n,r,o),wP(e,t,i,n)}else{i=dP(n,t.legacyContext),o=vP(e,t,n,r,i);var s=Sf!==0;if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0)hP(o,n,r,i),wP(e,t,o,n);else if(s){r=t.treeContext,t.treeContext=Hb(r,1,0);try{dr(e,t,o)}finally{t.treeContext=r}}else dr(e,t,o)}else if(typeof n=="string"){switch(o=t.blockedSegment,i=Yte(o.chunks,n,r,e.responseState,o.formatContext),o.lastPushedText=!1,s=o.formatContext,o.formatContext=qte(s,n,r),qb(e,t,i),o.formatContext=s,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.chunks.push("</",n,">")}o.lastPushedText=!1}else{switch(n){case rne:case nne:case B4:case U4:case F4:dr(e,t,r.children);return;case q4:dr(e,t,r.children);return;case tne:throw Error(_e(343));case W4:e:{n=t.blockedBoundary,o=t.blockedSegment,i=r.fallback,r=r.children,s=new Set;var a={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null},l=Gm(e,o.chunks.length,a,o.formatContext,!1,!1);o.children.push(l),o.lastPushedText=!1;var u=Gm(e,0,null,o.formatContext,!1,!1);u.parentFlushed=!0,t.blockedBoundary=a,t.blockedSegment=u;try{if(qb(e,t,r),e.responseState.generateStaticMarkup||u.lastPushedText&&u.textEmbedded&&u.chunks.push("<!-- -->"),u.status=1,Xm(a,u),a.pendingTasks===0)break e}catch(c){u.status=4,a.forceClientRender=!0,a.errorDigest=xf(e,c)}finally{t.blockedBoundary=n,t.blockedSegment=o}t=pk(e,i,n,l,s,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof n=="object"&&n!==null)switch(n.$$typeof){case H4:if(r=vP(e,t,n.render,r,o),Sf!==0){n=t.treeContext,t.treeContext=Hb(n,1,0);try{dr(e,t,r)}finally{t.treeContext=n}}else dr(e,t,r);return;case K4:n=n.type,r=bP(n,r),Wb(e,t,n,r,o);return;case z4:if(o=r.children,n=n._context,r=r.value,i=n._currentValue2,n._currentValue2=r,s=Ta,Ta=r={parent:s,depth:s===null?0:s.depth+1,context:n,parentValue:i,value:r},t.context=r,dr(e,t,o),e=Ta,e===null)throw Error(_e(403));r=e.parentValue,e.context._currentValue2=r===one?e.context._defaultValue:r,e=Ta=e.parent,t.context=e;return;case V4:r=r.children,r=r(n._currentValue2),dr(e,t,r);return;case ck:o=n._init,n=o(n._payload),r=bP(n,r),Wb(e,t,n,r,void 0);return}throw Error(_e(130,n==null?n:typeof n,""))}}function dr(e,t,n){if(t.node=n,typeof n=="object"&&n!==null){switch(n.$$typeof){case ene:Wb(e,t,n.type,n.props,n.ref);return;case j4:throw Error(_e(257));case ck:var r=n._init;n=r(n._payload),dr(e,t,n);return}if(zb(n)){SP(e,t,n);return}if(n===null||typeof n!="object"?r=null:(r=cP&&n[cP]||n["@@iterator"],r=typeof r=="function"?r:null),r&&(r=r.call(n))){if(n=r.next(),!n.done){var o=[];do o.push(n.value),n=r.next();while(!n.done);SP(e,t,o)}return}throw e=Object.prototype.toString.call(n),Error(_e(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}typeof n=="string"?(r=t.blockedSegment,r.lastPushedText=uP(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText)):typeof n=="number"&&(r=t.blockedSegment,r.lastPushedText=uP(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function SP(e,t,n){for(var r=n.length,o=0;o<r;o++){var i=t.treeContext;t.treeContext=Hb(i,r,o);try{qb(e,t,n[o])}finally{t.treeContext=i}}}function qb(e,t,n){var r=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return dr(e,t,n)}catch(l){if(hk(),typeof l=="object"&&l!==null&&typeof l.then=="function"){n=l;var s=t.blockedSegment,a=Gm(e,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(a),s.lastPushedText=!1,e=pk(e,t.node,t.blockedBoundary,a,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,qm(i)}else throw t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,qm(i),l}}function mne(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,t5(this,t,e)}function e5(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3,r===null?(t.allPendingTasks--,t.status!==2&&(t.status=2,t.destination!==null&&t.destination.push(null))):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=n===void 0?Error(_e(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach(function(o){return e5(o,t,n)}),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(r=t.onAllReady,r()))}function Xm(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status===1&&Xm(e,n)}else e.completedSegments.push(t)}function t5(e,t,n){if(t===null){if(n.parentFlushed){if(e.completedRootSegment!==null)throw Error(_e(389));e.completedRootSegment=n}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=ed,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(n.parentFlushed&&n.status===1&&Xm(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(mne,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&n.status===1&&(Xm(t,n),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function n5(e){if(e.status!==2){var t=Ta,n=z0.current;z0.current=yP;var r=Up;Up=e.responseState;try{var o=e.pingedTasks,i;for(i=0;i<o.length;i++){var s=o[i],a=e,l=s.blockedSegment;if(l.status===0){qm(s.context);try{dr(a,s,s.node),a.responseState.generateStaticMarkup||l.lastPushedText&&l.textEmbedded&&l.chunks.push("<!-- -->"),s.abortSet.delete(s),l.status=1,t5(a,s.blockedBoundary,l)}catch(g){if(hk(),typeof g=="object"&&g!==null&&typeof g.then=="function"){var u=s.ping;g.then(u,u)}else{s.abortSet.delete(s),l.status=4;var c=s.blockedBoundary,d=g,f=xf(a,d);if(c===null?Ym(a,d):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=f,c.parentFlushed&&a.clientRenderedBoundaries.push(c))),a.allPendingTasks--,a.allPendingTasks===0){var h=a.onAllReady;h()}}}finally{}}}o.splice(0,i),e.destination!==null&&mk(e,e.destination)}catch(g){xf(e,g),Ym(e,g)}finally{Up=r,z0.current=n,n===yP&&qm(t)}}}function Zh(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var r=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,t.push('<template id="'),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push('"></template>');case 1:n.status=2;var o=!0;r=n.chunks;var i=0;n=n.children;for(var s=0;s<n.length;s++){for(o=n[s];i<o.index;i++)t.push(r[i]);o=Iy(e,t,o)}for(;i<r.length-1;i++)t.push(r[i]);return i<r.length&&(o=t.push(r[i])),o;default:throw Error(_e(390))}}function Iy(e,t,n){var r=n.boundary;if(r===null)return Zh(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)return e.responseState.generateStaticMarkup||(r=r.errorDigest,t.push("<!--$!-->"),t.push("<template"),r&&(t.push(' data-dgst="'),r=Tn(r),t.push(r),t.push('"')),t.push("></template>")),Zh(e,t,n),e=e.responseState.generateStaticMarkup?!0:t.push("<!--/$-->"),e;if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var o=e.responseState,i=o.nextSuspenseID++;return o=o.boundaryPrefix+i.toString(16),r=r.id=o,lP(t,e.responseState,r),Zh(e,t,n),t.push("<!--/$-->")}if(r.byteSize>e.progressiveChunkSize)return r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),lP(t,e.responseState,r.id),Zh(e,t,n),t.push("<!--/$-->");if(e.responseState.generateStaticMarkup||t.push("<!--$-->"),n=r.completedSegments,n.length!==1)throw Error(_e(391));return Iy(e,t,n[0]),e=e.responseState.generateStaticMarkup?!0:t.push("<!--/$-->"),e}function xP(e,t,n){return Xte(t,e.responseState,n.formatContext,n.id),Iy(e,t,n),Jte(t,n.formatContext)}function kP(e,t,n){for(var r=n.completedSegments,o=0;o<r.length;o++)r5(e,t,n,r[o]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,t.push(e.startInlineScript),e.sentCompleteBoundaryFunction?t.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,t.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),r===null)throw Error(_e(395));return n=n.toString(16),t.push(r),t.push('","'),t.push(e.segmentPrefix),t.push(n),t.push('")<\/script>')}function r5(e,t,n,r){if(r.status===2)return!0;var o=r.id;if(o===-1){if((r.id=n.rootSegmentID)===-1)throw Error(_e(392));return xP(e,t,r)}return xP(e,t,r),e=e.responseState,t.push(e.startInlineScript),e.sentCompleteSegmentFunction?t.push('$RS("'):(e.sentCompleteSegmentFunction=!0,t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),o=o.toString(16),t.push(o),t.push('","'),t.push(e.placeholderPrefix),t.push(o),t.push('")<\/script>')}function mk(e,t){try{var n=e.completedRootSegment;if(n!==null&&e.pendingRootTasks===0){Iy(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)t.push(r[n]);n<r.length&&t.push(r[n])}var o=e.clientRenderedBoundaries,i;for(i=0;i<o.length;i++){var s=o[i];r=t;var a=e.responseState,l=s.id,u=s.errorDigest,c=s.errorMessage,d=s.errorComponentStack;if(r.push(a.startInlineScript),a.sentClientRenderFunction?r.push('$RX("'):(a.sentClientRenderFunction=!0,r.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),l===null)throw Error(_e(395));if(r.push(l),r.push('"'),u||c||d){r.push(",");var f=U0(u||"");r.push(f)}if(c||d){r.push(",");var h=U0(c||"");r.push(h)}if(d){r.push(",");var g=U0(d);r.push(g)}if(!r.push(")<\/script>")){e.destination=null,i++,o.splice(0,i);return}}o.splice(0,i);var p=e.completedBoundaries;for(i=0;i<p.length;i++)if(!kP(e,t,p[i])){e.destination=null,i++,p.splice(0,i);return}p.splice(0,i);var m=e.partialBoundaries;for(i=0;i<m.length;i++){var y=m[i];e:{o=e,s=t;var v=y.completedSegments;for(a=0;a<v.length;a++)if(!r5(o,s,y,v[a])){a++,v.splice(0,a);var w=!1;break e}v.splice(0,a),w=!0}if(!w){e.destination=null,i++,m.splice(0,i);return}}m.splice(0,i);var S=e.completedBoundaries;for(i=0;i<S.length;i++)if(!kP(e,t,S[i])){e.destination=null,i++,S.splice(0,i);return}S.splice(0,i)}finally{e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.push(null)}}function gne(e,t){try{var n=e.abortableTasks;n.forEach(function(r){return e5(r,e,t)}),n.clear(),e.destination!==null&&mk(e,e.destination)}catch(r){xf(e,r),Ym(e,r)}}function yne(){}function o5(e,t,n,r){var o=!1,i=null,s="",a={push:function(u){return u!==null&&(s+=u),!0},destroy:function(u){o=!0,i=u}},l=!1;if(e=pne(e,Zte(n,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,yne,void 0,function(){l=!0}),n5(e),gne(e,r),e.status===1)e.status=2,a.destroy(e.fatalError);else if(e.status!==2&&e.destination===null){e.destination=a;try{mk(e,a)}catch(u){xf(e,u),Ym(e,u)}}if(o)throw i;if(!l)throw Error(_e(426));return s}ac.renderToNodeStream=function(){throw Error(_e(207))};ac.renderToStaticMarkup=function(e,t){return o5(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')};ac.renderToStaticNodeStream=function(){throw Error(_e(208))};ac.renderToString=function(e,t){return o5(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')};ac.version="18.3.1";var gk={};/**
1168 * @license React
1169 * react-dom-server.browser.production.min.js
1170 *
1171 * Copyright (c) Facebook, Inc. and its affiliates.
1172 *
1173 * This source code is licensed under the MIT license found in the
1174 * LICENSE file in the root directory of this source tree.
1175 */var i5=b;function Oe(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 fr=null,hr=0;function ye(e,t){if(t.length!==0)if(512<t.length)0<hr&&(e.enqueue(new Uint8Array(fr.buffer,0,hr)),fr=new Uint8Array(512),hr=0),e.enqueue(t);else{var n=fr.length-hr;n<t.length&&(n===0?e.enqueue(fr):(fr.set(t.subarray(0,n),hr),e.enqueue(fr),t=t.subarray(n)),fr=new Uint8Array(512),hr=0),fr.set(t,hr),hr+=t.length}}function ft(e,t){return ye(e,t),!0}function EP(e){fr&&0<hr&&(e.enqueue(new Uint8Array(fr.buffer,0,hr)),fr=null,hr=0)}var s5=new TextEncoder;function Me(e){return s5.encode(e)}function ie(e){return s5.encode(e)}function a5(e,t){typeof e.error=="function"?e.error(t):e.close()}var Hn=Object.prototype.hasOwnProperty,vne=/^[: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]*$/,_P={},CP={};function l5(e){return Hn.call(CP,e)?!0:Hn.call(_P,e)?!1:vne.test(e)?CP[e]=!0:(_P[e]=!0,!1)}function Dn(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 un={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){un[e]=new Dn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];un[t]=new Dn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){un[e]=new Dn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){un[e]=new Dn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInl
1175ine readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){un[e]=new Dn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){un[e]=new Dn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){un[e]=new Dn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){un[e]=new Dn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){un[e]=new Dn(e,5,!1,e.toLowerCase(),null,!1,!1)});var yk=/[\-:]([a-z])/g;function vk(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(yk,vk);un[t]=new Dn(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(yk,vk);un[t]=new Dn(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(yk,vk);un[t]=new Dn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){un[e]=new Dn(e,1,!1,e.toLowerCase(),null,!1,!1)});un.xlinkHref=new Dn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){un[e]=new Dn(e,1,!1,e.toLowerCase(),null,!0,!0)});var zp={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},wne=["Webkit","ms","Moz","O"];Object.keys(zp).forEach(function(e){wne.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),zp[t]=zp[e]})});var bne=/["'&<>]/;function rn(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=bne.exec(e);if(t){var n="",r,o=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==r&&(n+=e.substring(o,r)),o=r+1,n+=t}e=o!==r?n+e.substring(o,r):n}return e}var Sne=/([A-Z])/g,xne=/^ms-/,Kb=Array.isArray,kne=ie("<script>"),Ene=ie("<\/script>"),_ne=ie('<script src="'),Cne=ie('<script type="module" src="'),TP=ie('" async=""><\/script>'),Tne=/(<\/|<)(s)(cript)/gi;function Ane(e,t,n,r){return""+t+(n==="s"?"\\u0073":"\\u0053")+r}function Pne(e,t,n,r,o){e=e===void 0?"":e,t=t===void 0?kne:ie('<script nonce="'+rn(t)+'">');var i=[];if(n!==void 0&&i.push(t,Me((""+n).replace(Tne,Ane)),Ene),r!==void 0)for(n=0;n<r.length;n++)i.push(_ne,Me(rn(r[n])),TP);
vendor: 26,569 bytes, lines 1175-1179
1175if(o!==void 0)for(r=0;r<o.length;r++)i.push(Cne,Me(rn(o[r])),TP);return{bootstrapChunks:i,startInlineScript:t,placeholderPrefix:ie(e+"P:"),segmentPrefix:ie(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function Ao(e,t){return{insertionMode:e,selectedValue:t}}function Rne(e){return Ao(e==="http://www.w3.org/2000/svg"?2:e==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function One(e,t,n){switch(t){case"select":return Ao(1,n.value!=null?n.value:n.defaultValue);case"svg":return Ao(2,null);case"math":return Ao(3,null);case"foreignObject":return Ao(1,null);case"table":return Ao(4,null);case"thead":case"tbody":case"tfoot":return Ao(5,null);case"colgroup":return Ao(7,null);case"tr":return Ao(6,null)}return 4<=e.insertionMode||e.insertionMode===0?Ao(1,null):e}var wk=ie("<!-- -->");function AP(e,t,n,r){return t===""?r:(r&&e.push(wk),e.push(Me(rn(t))),!0)}var PP=new Map,Mne=ie(' style="'),RP=ie(":"),Ine=ie(";");function u5(e,t,n){if(typeof n!="object")throw Error(Oe(62));t=!0;for(var r in n)if(Hn.call(n,r)){var o=n[r];if(o!=null&&typeof o!="boolean"&&o!==""){if(r.indexOf("--")===0){var i=Me(rn(r));o=Me(rn((""+o).trim()))}else{i=r;var s=PP.get(i);s!==void 0||(s=ie(rn(i.replace(Sne,"-$1").toLowerCase().replace(xne,"-ms-"))),PP.set(i,s)),i=s,o=typeof o=="number"?o===0||Hn.call(zp,r)?Me(""+o):Me(o+"px"):Me(rn((""+o).trim()))}t?(t=!1,e.push(Mne,i,RP,o)):e.push(Ine,i,RP,o)}}t||e.push(ya)}var Qi=ie(" "),Nl=ie('="'),ya=ie('"'),OP=ie('=""');function ar(e,t,n,r){switch(n){case"style":u5(e,t,r);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"){if(t=un.hasOwnProperty(n)?un[n]:null,t!==null){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=Me(t.attributeName),t.type){case 3:r&&e.push(Qi,n,OP);break;case 4:r===!0?e.push(Qi,n,OP):r!==!1&&e.push(Qi,n,Nl,Me(rn(r)),ya);break;case 5:isNaN(r)||e.push(Qi,n,Nl,Me(rn(r)),ya);break;case 6:!isNaN(r)&&1<=r&&e.push(Qi,n,Nl,Me(rn(r)),ya);break;default:t.sanitizeURL&&(r=""+r),e.push(Qi,n,Nl,Me(rn(r)),ya)}}else if(l5(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(t=n.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-")return}e.push(Qi,Me(n),Nl,Me(rn(r)),ya)}}}var Zi=ie(">"),MP=ie("/>");function Vp(e,t,n){if(t!=null){if(n!=null)throw Error(Oe(60));if(typeof t!="object"||!("__html"in t))throw Error(Oe(61));t=t.__html,t!=null&&e.push(Me(""+t))}}function Dne(e){var t="";return i5.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}var V0=ie(' selected=""');function H0(e,t,n,r){e.push(Po(n));var o=n=null,i;for(i in t)if(Hn.call(t,i)){var s=t[i];if(s!=null)switch(i){case"children":n=s;break;case"dangerouslySetInnerHTML":o=s;break;default:ar(e,r,i,s)}}return e.push(Zi),Vp(e,o,n),typeof n=="string"?(e.push(Me(rn(n))),null):n}var W0=ie(`
1176`),Lne=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,IP=new Map;function Po(e){var t=IP.get(e);if(t===void 0){if(!Lne.test(e))throw Error(Oe(65,e));t=ie("<"+e),IP.set(e,t)}return t}var $ne=ie("<!DOCTYPE html>");function Nne(e,t,n,r,o){switch(t){case"select":e.push(Po("select"));var i=null,s=null;for(c in n)if(Hn.call(n,c)){var a=n[c];if(a!=null)switch(c){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"defaultValue":case"value":break;default:ar(e,r,c,a)}}return e.push(Zi),Vp(e,s,i),i;case"option":s=o.selectedValue,e.push(Po("option"));var l=a=null,u=null,c=null;for(i in n)if(Hn.call(n,i)){var d=n[i];if(d!=null)switch(i){case"children":a=d;break;case"selected":u=d;break;case"dangerouslySetInnerHTML":c=d;break;case"value":l=d;default:ar(e,r,i,d)}}if(s!=null)if(n=l!==null?""+l:Dne(a),Kb(s)){for(r=0;r<s.length;r++)if(""+s[r]===n){e.push(V0);break}}else""+s===n&&e.push(V0);else u&&e.push(V0);return e.push(Zi),Vp(e,c,a),a;case"textarea":e.push(Po("textarea")),c=s=i=null;for(a in n)if(Hn.call(n,a)&&(l=n[a],l!=null))switch(a){case"children":c=l;break;case"value":i=l;break;case"defaultValue":s=l;break;case"dangerouslySetInnerHTML":throw Error(Oe(91));default:ar(e,r,a,l)}if(i===null&&s!==null&&(i=s),e.push(Zi),c!=null){if(i!=null)throw Error(Oe(92));if(Kb(c)&&1<c.length)throw Error(Oe(93));i=""+c}return typeof i=="string"&&i[0]===`
1177`&&e.push(W0),i!==null&&e.push(Me(rn(""+i))),null;case"input":e.push(Po("input")),l=c=a=i=null;for(s in n)if(Hn.call(n,s)&&(u=n[s],u!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(Oe(399,"input"));case"defaultChecked":l=u;break;case"defaultValue":a=u;break;case"checked":c=u;break;case"value":i=u;break;default:ar(e,r,s,u)}return c!==null?ar(e,r,"checked",c):l!==null&&ar(e,r,"checked",l),i!==null?ar(e,r,"value",i):a!==null&&ar(e,r,"value",a),e.push(MP),null;case"menuitem":e.push(Po("menuitem"));for(var f in n)if(Hn.call(n,f)&&(i=n[f],i!=null))switch(f){case"children":case"dangerouslySetInnerHTML":throw Error(Oe(400));default:ar(e,r,f,i)}return e.push(Zi),null;case"title":e.push(Po("title")),i=null;for(d in n)if(Hn.call(n,d)&&(s=n[d],s!=null))switch(d){case"children":i=s;break;case"dangerouslySetInnerHTML":throw Error(Oe(434));default:ar(e,r,d,s)}return e.push(Zi),i;case"listing":case"pre":e.push(Po(t)),s=i=null;for(l in n)if(Hn.call(n,l)&&(a=n[l],a!=null))switch(l){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;default:ar(e,r,l,a)}if(e.push(Zi),s!=null){if(i!=null)throw Error(Oe(60));if(typeof s!="object"||!("__html"in s))throw Error(Oe(61));n=s.__html,n!=null&&(typeof n=="string"&&0<n.length&&n[0]===`
1178`?e.push(W0,Me(n)):e.push(Me(""+n)))}return typeof i=="string"&&i[0]===`
1179`&&e.push(W0),i;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(Po(t));for(var h in n)if(Hn.call(n,h)&&(i=n[h],i!=null))switch(h){case"children":case"dangerouslySetInnerHTML":throw Error(Oe(399,t));default:ar(e,r,h,i)}return e.push(MP),null;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 H0(e,n,t,r);case"html":return o.insertionMode===0&&e.push($ne),H0(e,n,t,r);default:if(t.indexOf("-")===-1&&typeof n.is!="string")return H0(e,n,t,r);e.push(Po(t)),s=i=null;for(u in n)if(Hn.call(n,u)&&(a=n[u],a!=null))switch(u){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"style":u5(e,r,a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:l5(u)&&typeof a!="function"&&typeof a!="symbol"&&e.push(Qi,Me(u),Nl,Me(rn(a)),ya)}return e.push(Zi),Vp(e,s,i),i}}var jne=ie("</"),Fne=ie(">"),Bne=ie('<template id="'),Une=ie('"></template>'),zne=ie("<!--$-->"),Vne=ie('<!--$?--><template id="'),Hne=ie('"></template>'),Wne=ie("<!--$!-->"),qne=ie("<!--/$-->"),Kne=ie("<template"),Gne=ie('"'),Yne=ie(' data-dgst="');ie(' data-msg="');ie(' data-stck="');var Xne=ie("></template>");function DP(e,t,n){if(ye(e,Vne),n===null)throw Error(Oe(395));return ye(e,n),ft(e,Hne)}var Jne=ie('<div hidden id="'),Qne=ie('">'),Zne=ie("</div>"),ere=ie('<svg aria-hidden="true" style="display:none" id="'),tre=ie('">'),nre=ie("</svg>"),rre=ie('<math aria-hidden="true" style="display:none" id="'),ore=ie('">'),ire=ie("</math>"),sre=ie('<table hidden id="'),are=ie('">'),lre=ie("</table>"),ure=ie('<table hidden><tbody id="'),cre=ie('">'),dre=ie("</tbody></table>"),fre=ie('<table hidden><tr id="'),hre=ie('">'),pre=ie("</tr></table>"),mre=ie('<table hidden><colgroup id="'),gre=ie('">'),yre=ie("</colgroup></table>");function vre(e,t,n,r){switch(n.insertionMode){case 0:case 1:return ye(e,Jne),ye(e,t.segmentPrefix),ye(e,Me(r.toString(16))),ft(e,Qne);case 2:return ye(e,ere),ye(e,t.segmentPrefix),ye(e,Me(r.toString(16))),ft(e,tre);case 3:return ye(e,rre),ye(e,t.segmentPrefix),ye(e,Me(r.toString(16))),ft(e,ore);case 4:return ye(e,sre),ye(e,t.segmentPrefix),ye(e,Me(r.toString(16))),ft(e,are);case 5:return ye(e,ure),ye(e,t.segmentPrefix),ye(e,Me(r.toString(16))),ft(e,cre);case 6:return ye(e,fre),ye(e,t.segmentPrefix),ye(e,Me(r.toString(16))),ft(e,hre);case 7:return ye(e,mre),ye(e,t.segmentPrefix),ye(e,Me(r.toString(16))),ft(e,gre);default:throw Error(Oe(397))}}function wre(e,t){switch(t.insertionMode){case 0:case 1:return ft(e,Zne);case 2:return ft(e,nre);case 3:return ft(e,ire);case 4:return ft(e,lre);case 5:return ft(e,dre);case 6:return ft(e,pre);case 7:return ft(e,yre);default:throw Error(Oe(397))}}var bre=ie('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Sre=ie('$RS("'),xre=ie('","'),kre=ie('")<\/script>'),Ere=ie('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),_re=ie('$RC("'),Cre=ie('","'),Tre=ie('")<\/script>'),Are=ie('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Pre=ie('$RX("'),Rre=ie('"'),Ore=ie(")<\/script>"),q0=ie(","),Mre=/[<\u2028\u2029]/g;function K0(e){return JSON.stringify(e).replace(Mre,function(t){switch(t){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Td=Object.assign,Ire=Symbol.for("react.element"),c5=Symbol.for("react.portal"),d5=Symbol.for("react.fragment"),f5=Symbol.for("react.strict_mode"),h5=Symbol.for("react.profiler"),p5=Symbol.for("react.provider"),m5=Symbol.for("react.context"),g5=Symbol.for("react.forward_ref"),y5=Symbol.for("react.suspense"),v5=Symbol.for("react.suspense_list"),w5=Symbol.for("react.memo"),bk=Symbol.for("react.lazy"),Dre=Symbol.for("react.scope"),Lre=Symbol.for("react.debug_trace_mode"),$re=Symbol.for("react.legacy_hidden"),Nre=Symbol.for("react.default_value"),LP=Symbol.iterator;function Gb(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 d5:return"Fragment";case c5:return"Portal";case h5:return"Profiler";case f5:return"StrictMode";case y5:return"Suspense";case v5:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case m5:return(e.displayName||"Context")+".Consumer";case p5:return(e._context.displayName||"Context")+".Provider";case g5:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case w5:return t=e.displayName||null,t!==null?t:Gb(e.type)||"Memo";case bk:t=e._payload,e=e._init;try{return Gb(e(t))}catch{}}return null}var b5={};function $P(e,t){if(e=e.contextTypes,!e)return b5;var n={},r;for(r in e)n[r]=t[r];return n}var Aa=null;function Dy(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var n=t.parent;if(e===null){if(n!==null)throw Error(Oe(401))}else{if(n===null)throw Error(Oe(401));Dy(e,n)}t.context._currentValue=t.value}}function S5(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&S5(e)}function x5(e){var t=e.parent;t!==null&&x5(t),e.context._currentValue=e.value}function k5(e,t){if(e.context._currentValue=e.parentValue,e=e.parent,e===null)throw Error(Oe(402));e.depth===t.depth?Dy(e,t):k5(e,t)}function E5(e,t){var n=t.parent;if(n===null)throw Error(Oe(402));e.depth===n.depth?Dy(e,n):E5(e,n),t.context._currentValue=t.value}function Jm(e){var t=Aa;t!==e&&(t===null?x5(e):e===null?S5(t):t.depth===e.depth?Dy(t,e):t.depth>e.depth?k5(t,e):E5(t,e),Aa=e)}var NP={isMounted:function(){return!1},enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function jP(e,t,n,r){var o=e.state!==void 0?e.state:null;e.updater=NP,e.props=n,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context=typeof s=="object"&&s!==null?s._currentValue:r,s=t.getDerivedStateFromProps,typeof s=="function"&&(s=s(n,o),o=s==null?o:Td({},o,s),e.state=o),typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(t=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),t!==e.state&&NP.enqueueReplaceState(e,e.state,null),i.queue!==null&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&t.length===1)e.state=t[0];else{for(i=s?t[0]:e.state,o=!0,s=s?1:0;s<t.length;s++){var a=t[s];a=typeof a=="function"?a.call(e,i,n,r):a,a!=null&&(o?(o=!1,i=Td({},i,a)):Td(i,a))}e.state=i}else i.queue=null}var jre={id:1,overflow:""};function Yb(e,t,n){var r=e.id;e=e.overflow;var o=32-Hp(r)-1;r&=~(1<<o),n+=1;var i=32-Hp(t)+o;if(30<i){var s=o-o%5;return i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,{id:1<<32-Hp(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var Hp=Math.clz32?Math.clz32:Ure,Fre=Math.log,Bre=Math.LN2;function Ure(e){return e>>>=0,e===0?32:31-(Fre(e)/Bre|0)|0}function zre(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Vre=typeof Object.is=="function"?Object.is:zre,Li=null,Sk=null,Wp=null,nt=null,td=!1,Qm=!1,kf=0,Cs=null,Ly=0;function va(){if(Li===null)throw Error(Oe(321));return Li}function FP(){if(0<Ly)throw Error(Oe(312));return{memoizedState:null,queue:null,next:null}}function xk(){return nt===null?Wp===null?(td=!1,Wp=nt=FP()):(td=!0,nt=Wp):nt.next===null?(td=!1,nt=nt.next=FP()):(td=!0,nt=nt.next),nt}function kk(){Sk=Li=null,Qm=!1,Wp=null,Ly=0,nt=Cs=null}function _5(e,t){return typeof t=="function"?t(e):t}function BP(e,t,n){if(Li=va(),nt=xk(),td){var r=nt.queue;if(t=r.dispatch,Cs!==null&&(n=Cs.get(r),n!==void 0)){Cs.delete(r),r=nt.memoizedState;do r=e(r,n.action),n=n.next;while(n!==null);return nt.memoizedState=r,[r,t]}return[nt.memoizedState,t]}return e=e===_5?typeof t=="function"?t():t:n!==void 0?n(t):t,nt.memoizedState=e,e=nt.queue={last:null,dispatch:null},e=e.dispatch=Hre.bind(null,Li,e),[nt.memoizedState,e]}function UP(e,t){if(Li=va(),nt=xk(),t=t===void 0?null:t,nt!==null){var n=nt.memoizedState;if(n!==null&&t!==null){var r=n[1];e:if(r===null)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!Vre(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),nt.memoizedState=[e,t],e}function Hre(e,t,n){if(25<=Ly)throw Error(Oe(301));if(e===Li)if(Qm=!0,e={action:n,next:null},Cs===null&&(Cs=new Map),n=Cs.get(t),n===void 0)Cs.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function Wre(){throw Error(Oe(394))}function ep(){}var zP={readContext:function(e){return e._currentValue},useContext:function(e){return va(),e._currentValue},useMemo:UP,useReducer:BP,useRef:function(e){Li=va(),nt=xk();var t=nt.memoizedState;return t===null?(e={current:e},nt.memoizedState=e):t},useState:function(e){return BP(_5,e)},useInsertionEffect:ep,useLayoutEffect:function(){},useCallback:function(e,t){return UP(function(){return e},t)},useImperativeHandle:ep,useEffect:ep,useDebugValue:ep,useDeferredValue:function(e){return va(),e},useTransition:function(){return va(),[!1,Wre]},useId:function(){var e=Sk.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-Hp(e)-1)).toString(32)+t;var n=qp;if(n===null)throw Error(Oe(404));return t=kf++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return va(),t(e._source)},useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error(Oe(407));return n()}},qp=null,G0=i5.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function qre(e){return console.error(e),null}function nd(){}function Kre(e,t,n,r,o,i,s,a,l){var u=[],c=new Set;return t={destination:null,responseState:t,progressiveChunkSize:r===void 0?12800:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:c,pingedTasks:u,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:o===void 0?qre:o,onAllReady:i===void 0?nd:i,onShellReady:s===void 0?nd:s,onShellError:a===void 0?nd:a,onFatalError:l===void 0?nd:l},n=Zm(t,0,null,n,!1,!1),n.parentFlushed=!0,e=Ek(t,e,null,n,c,b5,null,jre),u.push(e),t}function Ek(e,t,n,r,o,i,s,a){e.allPendingTasks++,n===null?e.pendingRootTasks++:n.pendingTasks++;var l={node:t,ping:function(){var u=e.pingedTasks;u.push(l),u.length===1&&A5(e)},blockedBoundary:n,blockedSegment:r,abortSet:o,legacyContext:i,context:s,treeContext:a};return o.add(l),l}function Zm(e,t,n,r,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function Ef(e,t){if(e=e.onError(t),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function eg(e,t){var n=e.onShellError;n(t),n=e.onFatalError,n(t),e.destination!==null?(e.status=2,a5(e.destination,t)):(e.status=1,e.fatalError=t)}function VP(e,t,n,r,o){for(Li={},Sk=t,kf=0,e=n(r,o);Qm;)Qm=!1,kf=0,Ly+=1,nt=null,e=n(r,o);return kk(),e}function HP(e,t,n,r){var o=n.render(),i=r.childContextTypes;if(i!=null){var s=t.legacyContext;if(typeof n.getChildContext!="function")r=s;else{n=n.getChildContext();for(var a in n)if(!(a in i))throw Error(Oe(108,Gb(r)||"Unknown",a));r=Td({},s,n)}t.legacyContext=r,pr(e,t,o),t.legacyContext=s}else pr(e,t,o)}function WP(e,t){if(e&&e.defaultProps){t=Td({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Xb(e,t,n,r,o){if(typeof n=="function")if(n.prototype&&n.prototype.isReactComponent){o=$P(n,t.legacyContext);var i=n.contextType;i=new n(r,typeof i=="object"&&i!==null?i._currentValue:o),jP(i,n,r,o),HP(e,t,i,n)}else{i=$P(n,t.legacyContext),o=VP(e,t,n,r,i);var s=kf!==0;if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0)jP(o,n,r,i),HP(e,t,o,n);else if(s){r=t.treeContext,t.treeContext=Yb(r,1,0);try{pr(e,t,o)}finally{t.treeContext=r}}else pr(e,t,o)}else if(typeof n=="string"){switch(o=t.blockedSegment,i=Nne(o.chunks,n,r,e.responseState,o.formatContext),o.lastPushedText=!1,s=o.formatContext,o.formatContext=One(s,n,r),Jb(e,t,i),o.formatContext=s,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.chunks.push(jne,Me(n),Fne)}o.lastPushedText=!1}else{switch(n){case $re:case Lre:case f5:case h5:case d5:pr(e,t,r.children);return;case v5:pr(e,t,r.children);return;case Dre:throw Error(Oe(343));case y5:e:{n=t.blockedBoundary,o=t.blockedSegment,i=r.fallback,r=r.children,s=new Set;var a={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null},l=Zm(e,o.chunks.length,a,o.formatContext,!1,!1);o.children.push(l),o.lastPushedText=!1;var u=Zm(e,0,null,o.formatContext,!1,!1);u.parentFlushed=!0,t.blockedBoundary=a,t.blockedSegment=u;try{if(Jb(e,t,r),u.lastPushedText&&u.textEmbedded&&u.chunks.push(wk),u.status=1,tg(a,u),a.pendingTasks===0)break e}catch(c){u.status=4,a.forceClientRender=!0,a.errorDigest=Ef(e,c)}finally{t.blockedBoundary=n,t.blockedSegment=o}t=Ek(e,i,n,l,s,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof n=="object"&&n!==null)switch(n.$$typeof){case g5:if(r=VP(e,t,n.render,r,o),kf!==0){n=t.treeContext,t.treeContext=Yb(n,1,0);try{pr(e,t,r)}finally{t.treeContext=n}}else pr(e,t,r);return;case w5:n=n.type,r=WP(n,r),Xb(e,t,n,r,o);return;case p5:if(o=r.children,n=n._context,r=r.value,i=n._currentValue,n._currentValue=r,s=Aa,Aa=r={parent:s,depth:s===null?0:s.depth+1,context:n,parentValue:i,value:r},t.context=r,pr(e,t,o),e=Aa,e===null)throw Error(Oe(403));r=e.parentValue,e.context._currentValue=r===Nre?e.context._defaultValue:r,e=Aa=e.parent,t.context=e;return;case m5:r=r.children,r=r(n._currentValue),pr(e,t,r);return;case bk:o=n._init,n=o(n._payload),r=WP(n,r),Xb(e,t,n,r,void 0);return}throw Error(Oe(130,n==null?n:typeof n,""))}}function pr(e,t,n){if(t.node=n,typeof n=="object"&&n!==null){switch(n.$$typeof){case Ire:Xb(e,t,n.type,n.props,n.ref);return;case c5:throw Error(Oe(257));case bk:var r=n._init;n=r(n._payload),pr(e,t,n);return}if(Kb(n)){qP(e,t,n);return}if(n===null||typeof n!="object"?r=null:(r=LP&&n[LP]||n["@@iterator"],r=typeof r=="function"?r:null),r&&(r=r.call(n))){if(n=r.next(),!n.done){var o=[];do o.push(n.value),n=r.next();while(!n.done);qP(e,t,o)}return}throw e=Object.prototype.toString.call(n),Error(Oe(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}typeof n=="string"?(r=t.blockedSegment,r.lastPushedText=AP(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText)):typeof n=="number"&&(r=t.blockedSegment,r.lastPushedText=AP(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function qP(e,t,n){for(var r=n.length,o=0;o<r;o++){var i=t.treeContext;t.treeContext=Yb(i,r,o);try{Jb(e,t,n[o])}finally{t.treeContext=i}}}function Jb(e,t,n){var r=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return pr(e,t,n)}catch(l){if(kk(),typeof l=="object"&&l!==null&&typeof l.then=="function"){n=l;var s=t.blockedSegment,a=Zm(e,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(a),s.lastPushedText=!1,e=Ek(e,t.node,t.blockedBoundary,a,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,Jm(i)}else throw t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,Jm(i),l}}function Gre(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,T5(this,t,e)}function C5(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3,r===null?(t.allPendingTasks--,t.status!==2&&(t.status=2,t.destination!==null&&t.destination.close())):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=n===void 0?Error(Oe(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach(function(o){return C5(o,t,n)}),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(r=t.onAllReady,r()))}function tg(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status===1&&tg(e,n)}else e.completedSegments.push(t)}function T5(e,t,n){if(t===null){if(n.parentFlushed){if(e.completedRootSegment!==null)throw Error(Oe(389));e.completedRootSegment=n}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=nd,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(n.parentFlushed&&n.status===1&&tg(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(Gre,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&n.status===1&&(tg(t,n),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function A5(e){if(e.status!==2){var t=Aa,n=G0.current;G0.current=zP;var r=qp;qp=e.responseState;try{var o=e.pingedTasks,i;for(i=0;i<o.length;i++){var s=o[i],a=e,l=s.blockedSegment;if(l.status===0){Jm(s.context);try{pr(a,s,s.node),l.lastPushedText&&l.textEmbedded&&l.chunks.push(wk),s.abortSet.delete(s),l.status=1,T5(a,s.blockedBoundary,l)}catch(g){if(kk(),typeof g=="object"&&g!==null&&typeof g.then=="function"){var u=s.ping;g.then(u,u)}else{s.abortSet.delete(s),l.status=4;var c=s.blockedBoundary,d=g,f=Ef(a,d);if(c===null?eg(a,d):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=f,c.parentFlushed&&a.clientRenderedBoundaries.push(c))),a.allPendingTasks--,a.allPendingTasks===0){var h=a.onAllReady;h()}}}finally{}}}o.splice(0,i),e.destination!==null&&_k(e,e.destination)}catch(g){Ef(e,g),eg(e,g)}finally{qp=r,G0.current=n,n===zP&&Jm(t)}}}function tp(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var r=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,ye(t,Bne),ye(t,e.placeholderPrefix),e=Me(r.toString(16)),ye(t,e),ft(t,Une);case 1:n.status=2;var o=!0;r=n.chunks;var i=0;n=n.children;for(var s=0;s<n.length;s++){for(o=n[s];i<o.index;i++)ye(t,r[i]);o=$y(e,t,o)}for(;i<r.length-1;i++)ye(t,r[i]);return i<r.length&&(o=ft(t,r[i])),o;default:throw Error(Oe(390))}}function $y(e,t,n){var r=n.boundary;if(r===null)return tp(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)r=r.errorDigest,ft(t,Wne),ye(t,Kne),r&&(ye(t,Yne),ye(t,Me(rn(r))),ye(t,Gne)),ft(t,Xne),tp(e,t,n);else if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var o=e.responseState,i=o.nextSuspenseID++;o=ie(o.boundaryPrefix+i.toString(16)),r=r.id=o,DP(t,e.responseState,r),tp(e,t,n)}else if(r.byteSize>e.progressiveChunkSize)r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),DP(t,e.responseState,r.id),tp(e,t,n);else{if(ft(t,zne),n=r.completedSegments,n.length!==1)throw Error(Oe(391));$y(e,t,n[0])}return ft(t,qne)}function KP(e,t,n){return vre(t,e.responseState,n.formatContext,n.id),$y(e,t,n),wre(t,n.formatContext)}function GP(e,t,n){for(var r=n.completedSegments,o=0;o<r.length;o++)P5(e,t,n,r[o]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,ye(t,e.startInlineScript),e.sentCompleteBoundaryFunction?ye(t,_re):(e.sentCompleteBoundaryFunction=!0,ye(t,Ere)),r===null)throw Error(Oe(395));return n=Me(n.toString(16)),ye(t,r),ye(t,Cre),ye(t,e.segmentPrefix),ye(t,n),ft(t,Tre)}function P5(e,t,n,r){if(r.status===2)return!0;var o=r.id;if(o===-1){if((r.id=n.rootSegmentID)===-1)throw Error(Oe(392));return KP(e,t,r)}return KP(e,t,r),e=e.responseState,ye(t,e.startInlineScript),e.sentCompleteSegmentFunction?ye(t,Sre):(e.sentCompleteSegmentFunction=!0,ye(t,bre)),ye(t,e.
1179segmentPrefix),o=Me(o.toString(16)),ye(t,o),ye(t,xre),ye(t,e.placeholderPrefix),ye(t,o),ft(t,kre)}function _k(e,t){fr=new Uint8Array(512),hr=0;try{var n=e.completedRootSegment;if(n!==null&&e.pendingRootTasks===0){$y(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)ye(t,r[n]);n<r.length&&ft(t,r[n])}var o=e.clientRenderedBoundaries,i;for(i=0;i<o.length;i++){var s=o[i];r=t;var a=e.responseState,l=s.id,u=s.errorDigest,c=s.errorMessage,d=s.errorComponentStack;if(ye(r,a.startInlineScript),a.sentClientRenderFunction?ye(r,Pre):(a.sentClientRenderFunction=!0,ye(r,Are)),l===null)throw Error(Oe(395));ye(r,l),ye(r,Rre),(u||c||d)&&(ye(r,q0),ye(r,Me(K0(u||"")))),(c||d)&&(ye(r,q0),ye(r,Me(K0(c||"")))),d&&(ye(r,q0),ye(r,Me(K0(d)))),ft(r,Ore)}o.splice(0,i);var f=e.completedBoundaries;for(i=0;i<f.length;i++)GP(e,t,f[i]);f.splice(0,i),EP(t),fr=new Uint8Array(512),hr=0;var h=e.partialBoundaries;for(i=0;i<h.length;i++){var g=h[i];e:{o=e,s=t;var p=g.completedSegments;for(a=0;a<p.length;a++)if(!P5(o,s,g,p[a])){a++,p.splice(0,a);var m=!1;break e}p.splice(0,a),m=!0}if(!m){e.destination=null,i++,h.splice(0,i);return}}h.splice(0,i);var y=e.completedBoundaries;for(i=0;i<y.length;i++)GP(e,t,y[i]);y.splice(0,i)}finally{EP(t),e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.close()}}function YP(e,t){try{var n=e.abortableTasks;n.forEach(function(r){return C5(r,e,t)}),n.clear(),e.destination!==null&&_k(e,e.destination)}catch(r){Ef(e,r),eg(e,r)}}gk.renderToReadableStream=function(e,t){return new Promise(function(n,r){var o,i,s=new Promise(function(c,d){i=c,o=d}),a=Kre(e,Pne(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),Rne(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,i,function(){var c=new ReadableStream({type:"bytes",pull:function(d){if(a.status===1)a.status=2,a5(d,a.fatalError);else if(a.status!==2&&a.destination===null){a.destination=d;try{_k(a,d)}catch(f){Ef(a,f),eg(a,f)}}},cancel:function(){YP(a)}},{highWaterMark:0});c.allReady=s,n(c)},function(c){s.catch(function(){}),r(c)},o);if(t&&t.signal){var l=t.signal,u=function(){YP(a,l.reason),l.removeEventListener("abort",u)};l.addEventListener("abort",u)}A5(a)})};gk.version="18.3.1";var lc,R5;lc=ac,R5=gk;lc.version;lc.renderToString;var lTe=lc.renderToStaticMarkup;lc.renderToNodeStream;lc.renderToStaticNodeStream;R5.renderToReadableStream;var Ck={};(function e(t,n,r,o){var i=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),s=typeof Path2D=="function"&&typeof DOMMatrix=="function",a=function(){if(!t.OffscreenCanvas)return!1;try{var P=new OffscreenCanvas(1,1),C=P.getContext("2d");C.fillRect(0,0,1,1);var U=P.transferToImageBitmap();C.createPattern(U,"no-repeat")}catch{return!1}return!0}();function l(){}function u(P){var C=n.exports.Promise,U=C!==void 0?C:t.Promise;return typeof U=="function"?new U(P):(P(l,l),null)}var c=function(P,C){return{transform:function(U){if(P)return U;if(C.has(U))return C.get(U);var q=new OffscreenCanvas(U.width,U.height),K=q.getContext("2d");return K.drawImage(U,0,0),C.set(U,q),q},clear:function(){C.clear()}}}(a,new Map),d=function(){var P=Math.floor(16.666666666666668),C,U,q={},K=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(C=function(oe){var se=Math.random();return q[se]=requestAnimationFrame(function F(J){K===J||K+P-1<J?(K=J,delete q[se],oe()):q[se]=requestAnimationFrame(F)}),se},U=function(oe){q[oe]&&cancelAnimationFrame(q[oe])}):(C=function(oe){return setTimeout(oe,P)},U=function(oe){return clearTimeout(oe)}),{frame:C,cancel:U}}(),f=function(){var P,C,U={};function q(K){function oe(se,F){K.postMessage({options:se||{},callback:F})}K.init=function(F){var J=F.transferControlToOffscreen();K.postMessage({canvas:J},[J])},K.fire=function(F,J,ce){if(C)return oe(F,null),C;var ae=Math.random().toString(36).slice(2);return C=u(function(W){function H(te){te.data.callback===ae&&(delete U[ae],K.removeEventListener("message",H),C=null,c.clear(),ce(),W())}K.addEventListener("message",H),oe(F,ae),U[ae]=H.bind(null,{data:{callback:ae}})}),C},K.reset=function(){K.postMessage({reset:!0});for(var F in U)U[F](),delete U[F]}}return function(){if(P)return P;
vendor: 4,520 bytes, lines 1179-1180
1179if(!r&&i){var K=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {","  if (msg.data.options) {","    CONFETTI(msg.data.options).then(function () {","      if (msg.data.callback) {","        postMessage({ callback: msg.data.callback });","      }","    });","  } else if (msg.data.reset) {","    CONFETTI && CONFETTI.reset();","  } else if (msg.data.resize) {","    SIZE.width = msg.data.resize.width;","    SIZE.height = msg.data.resize.height;","  } else if (msg.data.canvas) {","    SIZE.width = msg.data.canvas.width;","    SIZE.height = msg.data.canvas.height;","    CONFETTI = module.exports.create(msg.data.canvas);","  }","}"].join(`
1180`);try{P=new Worker(URL.createObjectURL(new Blob([K])))}catch(oe){return typeof console<"u"&&typeof console.warn=="function"&&console.warn("🎊 Could not load worker",oe),null}q(P)}return P}}(),h={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function g(P,C){return C?C(P):P}function p(P){return P!=null}function m(P,C,U){return g(P&&p(P[C])?P[C]:h[C],U)}function y(P){return P<0?0:Math.floor(P)}function v(P,C){return Math.floor(Math.random()*(C-P))+P}function w(P){return parseInt(P,16)}function S(P){return P.map(x)}function x(P){var C=String(P).replace(/[^0-9a-f]/gi,"");return C.length<6&&(C=C[0]+C[0]+C[1]+C[1]+C[2]+C[2]),{r:w(C.substring(0,2)),g:w(C.substring(2,4)),b:w(C.substring(4,6))}}function k(P){var C=m(P,"origin",Object);return C.x=m(C,"x",Number),C.y=m(C,"y",Number),C}function _(P){P.width=document.documentElement.clientWidth,P.height=document.documentElement.clientHeight}function A(P){var C=P.getBoundingClientRect();P.width=C.width,P.height=C.height}function M(P){var C=document.createElement("canvas");return C.style.position="fixed",C.style.top="0px",C.style.left="0px",C.style.pointerEvents="none",C.style.zIndex=P,C}function I(P,C,U,q,K,oe,se,F,J){P.save(),P.translate(C,U),P.rotate(oe),P.scale(q,K),P.arc(0,0,1,se,F,J),P.restore()}function N(P){var C=P.angle*(Math.PI/180),U=P.spread*(Math.PI/180);return{x:P.x,y:P.y,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:P.startVelocity*.5+Math.random()*P.startVelocity,angle2D:-C+(.5*U-Math.random()*U),tiltAngle:(Math.random()*(.75-.25)+.25)*Math.PI,color:P.color,shape:P.shape,tick:0,totalTicks:P.ticks,decay:P.decay,drift:P.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:P.gravity*3,ovalScalar:.6,scalar:P.scalar,flat:P.flat}}function L(P,C){C.x+=Math.cos(C.angle2D)*C.velocity+C.drift,C.y+=Math.sin(C.angle2D)*C.velocity+C.gravity,C.velocity*=C.decay,C.flat?(C.wobble=0,C.wobbleX=C.x+10*C.scalar,C.wobbleY=C.y+10*C.scalar,C.tiltSin=0,C.tiltCos=0,C.random=1):(C.wobble+=C.wobbleSpeed,C.wobbleX=C.x+10*C.scalar*Math.cos(C.wobble),C.wobbleY=C.y+10*C.scalar*Math.sin(C.wobble),C.tiltAngle+=.1,C.tiltSin=Math.sin(C.tiltAngle),C.tiltCos=Math.cos(C.tiltAngle),C.random=Math.random()+2);var U=C.tick++/C.totalTicks,q=C.x+C.random*C.tiltCos,K=C.y+C.random*C.tiltSin,oe=C.wobbleX+C.random*C.tiltCos,se=C.wobbleY+C.random*C.tiltSin;if(P.fillStyle="rgba("+C.color.r+", "+C.color.g+", "+C.color.b+", "+(1-U)+")",P.beginPath(),s&&C.shape.type==="path"&&typeof C.shape.path=="string"&&Array.isArray(C.shape.matrix))P.fill(B(C.shape.path,C.shape.matrix,C.x,C.y,Math.abs(oe-q)*.1,Math.abs(se-K)*.1,Math.PI/10*C.wobble));else if(C.shape.type==="bitmap"){var F=Math.PI/10*C.wobble,J=Math.abs(oe-q)*.1,ce=Math.abs(se-K)*.1,ae=C.shape.bitmap.width*C.scalar,W=C.shape.bitmap.height*C.scalar,H=new DOMMatrix([Math.cos(F)*J,Math.sin(F)*J,-Math.sin(F)*ce,Math.cos(F)*ce,C.x,C.y]);H.multiplySelf(new DOMMatrix(C.shape.matrix));var te=P.createPattern(c.transform(C.shape.bitmap),"no-repeat");te.setTransform(H),P.globalAlpha=1-U,P.fillStyle=te,P.fillRect(C.x-ae/2,C.y-W/2,ae,W),P.globalAlpha=1}else if(C.shape==="circle")P.ellipse?P.ellipse(C.x,C.y,Math.abs(oe-q)*C.ovalScalar,Math.abs(se-K)*C.ovalScalar,Math.PI/10*C.wobble,0,2*Math.PI):I(P,C.x,C.y,Math.abs(oe-q)*C.ovalScalar,Math.abs(se-K)*C.ovalScalar,Math.PI/10*C.wobble,0,2*Math.PI);else if(C.shape==="star")for(var le=Math.PI/2*3,me=4*C.scalar,Ie=8*C.scalar,He=C.x,We=C.y,Je=5,st=Math.PI/Je;Je--;)He=C.x+Math.cos(le)*Ie,We=C.y+Math.sin(le)*Ie,P.lineTo(He,We),le+=st,He=C.x+Math.cos(le)*me,We=C.y+Math.sin(le)*me,P.lineTo(He,We),le+=st;
vendor: 5,122 bytes, line 1180
1180else P.moveTo(Math.floor(C.x),Math.floor(C.y)),P.lineTo(Math.floor(C.wobbleX),Math.floor(K)),P.lineTo(Math.floor(oe),Math.floor(se)),P.lineTo(Math.floor(q),Math.floor(C.wobbleY));return P.closePath(),P.fill(),C.tick<C.totalTicks}function Z(P,C,U,q,K){var oe=C.slice(),se=P.getContext("2d"),F,J,ce=u(function(ae){function W(){F=J=null,se.clearRect(0,0,q.width,q.height),c.clear(),K(),ae()}function H(){r&&!(q.width===o.width&&q.height===o.height)&&(q.width=P.width=o.width,q.height=P.height=o.height),!q.width&&!q.height&&(U(P),q.width=P.width,q.height=P.height),se.clearRect(0,0,q.width,q.height),oe=oe.filter(function(te){return L(se,te)}),oe.length?F=d.frame(H):W()}F=d.frame(H),J=W});return{addFettis:function(ae){return oe=oe.concat(ae),ce},canvas:P,promise:ce,reset:function(){F&&d.cancel(F),J&&J()}}}function V(P,C){var U=!P,q=!!m(C||{},"resize"),K=!1,oe=m(C,"disableForReducedMotion",Boolean),se=i&&!!m(C||{},"useWorker"),F=se?f():null,J=U?_:A,ce=P&&F?!!P.__confetti_initialized:!1,ae=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion)").matches,W;function H(le,me,Ie){for(var He=m(le,"particleCount",y),We=m(le,"angle",Number),Je=m(le,"spread",Number),st=m(le,"startVelocity",Number),dn=m(le,"decay",Number),Kr=m(le,"gravity",Number),bt=m(le,"drift",Number),nr=m(le,"colors",S),Ln=m(le,"ticks",Number),Tt=m(le,"shapes"),vn=m(le,"scalar"),ri=!!m(le,"flat"),_r=k(le),At=He,$n=[],rr=P.width*_r.x,or=P.height*_r.y;At--;)$n.push(N({x:rr,y:or,angle:We,spread:Je,startVelocity:st,color:nr[At%nr.length],shape:Tt[v(0,Tt.length)],ticks:Ln,decay:dn,gravity:Kr,drift:bt,scalar:vn,flat:ri}));return W?W.addFettis($n):(W=Z(P,$n,J,me,Ie),W.promise)}function te(le){var me=oe||m(le,"disableForReducedMotion",Boolean),Ie=m(le,"zIndex",Number);if(me&&ae)return u(function(st){st()});U&&W?P=W.canvas:U&&!P&&(P=M(Ie),document.body.appendChild(P)),q&&!ce&&J(P);var He={width:P.width,height:P.height};F&&!ce&&F.init(P),ce=!0,F&&(P.__confetti_initialized=!0);function We(){if(F){var st={getBoundingClientRect:function(){if(!U)return P.getBoundingClientRect()}};J(st),F.postMessage({resize:{width:st.width,height:st.height}});return}He.width=He.height=null}function Je(){W=null,q&&(K=!1,t.removeEventListener("resize",We)),U&&P&&(document.body.contains(P)&&document.body.removeChild(P),P=null,ce=!1)}return q&&!K&&(K=!0,t.addEventListener("resize",We,!1)),F?F.fire(le,He,Je):H(le,He,Je)}return te.reset=function(){F&&F.reset(),W&&W.reset()},te}var ee;function G(){return ee||(ee=V(null,{useWorker:!0,resize:!0})),ee}function B(P,C,U,q,K,oe,se){var F=new Path2D(P),J=new Path2D;J.addPath(F,new DOMMatrix(C));var ce=new Path2D;return ce.addPath(J,new DOMMatrix([Math.cos(se)*K,Math.sin(se)*K,-Math.sin(se)*oe,Math.cos(se)*oe,U,q])),ce}function R(P){if(!s)throw new Error("path confetti are not supported in this browser");var C,U;typeof P=="string"?C=P:(C=P.path,U=P.matrix);var q=new Path2D(C),K=document.createElement("canvas"),oe=K.getContext("2d");if(!U){for(var se=1e3,F=se,J=se,ce=0,ae=0,W,H,te=0;te<se;te+=2)for(var le=0;le<se;le+=2)oe.isPointInPath(q,te,le,"nonzero")&&(F=Math.min(F,te),J=Math.min(J,le),ce=Math.max(ce,te),ae=Math.max(ae,le));W=ce-F,H=ae-J;var me=10,Ie=Math.min(me/W,me/H);U=[Ie,0,0,Ie,-Math.round(W/2+F)*Ie,-Math.round(H/2+J)*Ie]}return{type:"path",path:C,matrix:U}}function j(P){var C,U=1,q="#000000",K='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';typeof P=="string"?C=P:(C=P.text,U="scalar"in P?P.scalar:U,K="fontFamily"in P?P.fontFamily:K,q="color"in P?P.color:q);var oe=10*U,se=""+oe+"px "+K,F=new OffscreenCanvas(oe,oe),J=F.getContext("2d");J.font=se;var ce=J.measureText(C),ae=Math.ceil(ce.actualBoundingBoxRight+ce.actualBoundingBoxLeft),W=Math.ceil(ce.actualBoundingBoxAscent+ce.actualBoundingBoxDescent),H=2,te=ce.actualBoundingBoxLeft+H,le=ce.actualBoundingBoxAscent+H;ae+=H+H,W+=H+H,F=new OffscreenCanvas(ae,W),J=F.getContext("2d"),J.font=se,J.fillStyle=q,J.fillText(C,te,le);var me=1/U;return{type:"bitmap",bitmap:F.transferToImageBitmap(),matrix:[me,0,0,me,-ae*me/2,-W*me/2]}}n.exports=function(){return G().apply(this,arguments)},n.exports.reset=function(){G().reset()},n.exports.create=V,n.exports.shapeFromPath=R,n.exports.shapeFromText=j})(function(){return typeof window<"u"?window:typeof self<"u"?self:this||{}}(),Ck,!1);const Yre=Ck.exports;Ck.exports.create;const uTe=Object.freeze(Object.defineProperty({__proto__:null,default:Yre},Symbol.toStringTag,{value:"Module"}));/*! @license DOMPurify 3.4.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.11/LICENSE */function XP(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Xre(e){if(Array.isArray(e))return e}function Jre(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,s,a=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(l=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(c){u=!0,o=c}
vendor: 5,538 bytes, lines 1180-1181
1180finally{try{if(!l&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}function Qre(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1181In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zre(e,t){return Xre(e)||Jre(e,t)||eoe(e,t)||Qre()}function eoe(e,t){if(e){if(typeof e=="string")return XP(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?XP(e,t):void 0}}const O5=Object.entries,JP=Object.setPrototypeOf,toe=Object.isFrozen,noe=Object.getPrototypeOf,roe=Object.getOwnPropertyDescriptor;let on=Object.freeze,cn=Object.seal,jl=Object.create,M5=typeof Reflect<"u"&&Reflect,Qb=M5.apply,Zb=M5.construct;on||(on=function(t){return t});cn||(cn=function(t){return t});Qb||(Qb=function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return t.apply(n,o)});Zb||(Zb=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return new t(...r)});const Lc=Ft(Array.prototype.forEach),ooe=Ft(Array.prototype.lastIndexOf),QP=Ft(Array.prototype.pop),Rl=Ft(Array.prototype.push),ioe=Ft(Array.prototype.splice),ls=Array.isArray,rd=Ft(String.prototype.toLowerCase),Y0=Ft(String.prototype.toString),ZP=Ft(String.prototype.match),$c=Ft(String.prototype.replace),eR=Ft(String.prototype.indexOf),soe=Ft(String.prototype.trim),aoe=Ft(Number.prototype.toString),loe=Ft(Boolean.prototype.toString),tR=typeof BigInt>"u"?null:Ft(BigInt.prototype.toString),nR=typeof Symbol>"u"?null:Ft(Symbol.prototype.toString),Wt=Ft(Object.prototype.hasOwnProperty),Nc=Ft(Object.prototype.toString),Qt=Ft(RegExp.prototype.test),la=uoe(TypeError);function Ft(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return Qb(e,t,r)}}function uoe(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zb(e,n)}}function Be(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:rd;if(JP&&JP(e,null),!ls(t))return e;let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const i=n(o);i!==o&&(toe(t)||(t[r]=i),o=i)}e[o]=!0}return e}function coe(e){for(let t=0;t<e.length;t++)Wt(e,t)||(e[t]=null);return e}function xn(e){const t=jl(null);for(const r of O5(e)){var n=Zre(r,2);const o=n[0],i=n[1];Wt(e,o)&&(ls(i)?t[o]=coe(i):i&&typeof i=="object"&&i.constructor===Object?t[o]=xn(i):t[o]=i)}return t}function doe(e){switch(typeof e){case"string":return e;case"number":return aoe(e);case"boolean":return loe(e);case"bigint":return tR?tR(e):"0";case"symbol":return nR?nR(e):"Symbol()";case"undefined":return Nc(e);case"function":case"object":{if(e===null)return Nc(e);const t=e,n=Ro(t,"toString");if(typeof n=="function"){const r=n(t);return typeof r=="string"?r:Nc(r)}return Nc(e)}default:return Nc(e)}}function Ro(e,t){for(;e!==null;){const r=roe(e,t);if(r){if(r.get)return Ft(r.get);if(typeof r.value=="function")return Ft(r.value)}e=noe(e)}function n(){return null}return n}function foe(e){try{return Qt(e,""),!0}catch{return!1}}const rR=on(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),X0=on(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),J0=on(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),hoe=on(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Q0=on(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),poe=
1181on(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),oR=on(["#text"]),iR=on(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Z0=on(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),sR=on(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","
1181subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),np=on(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),moe=cn(/{{[\w\W]*|^[\w\W]*}}/g),goe=cn(/<%[\w\W]*|^[\w\W]*%>/g),yoe=cn(/\${[\w\W]*/g),voe=cn(/^data-[\-\w.\u00B7-\uFFFF]+$/),woe=cn(/^aria-[\-\w]+$/),aR=cn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),boe=cn(/^(?:\w+script|data):/i),Soe=cn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),xoe=cn(/^html$/i),koe=cn(/^[a-z][.\w]*(-[.\w]+)+$/i),lR=cn(/<[/\w!]/g),Eoe=cn(/<[/\w]/g),_oe=cn(/<\/no(script|embed|frames)/i),Coe=cn(/\/>/i),Co={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Toe=function(){return typeof window>"u"?null:window},Aoe=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";n&&n.hasAttribute(o)&&(r=n.getAttribute(o));const i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},uR=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},qi=function(t,n,r,o){return Wt(t,n)&&ls(t[n])?Be(o.base?xn(o.base):{},t[n],o.transform):r};function I5(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Toe();const t=re=>I5(re);if(t.version="3.4.11",t.removed=[],!e||!e.document||e.document.nodeType!==Co.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,o=r.currentScript;e.DocumentFragment;const i=e.HTMLTemplateElement,s=e.Node,a=e.Element,l=e.NodeFilter,u=e.NamedNodeMap;u===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const c=e.DOMParser,d=e.trustedTypes,f=a.prototype,h=Ro(f,"cloneNode"),g=Ro(f,"remove"),p=Ro(f,"nextSibling"),m=Ro(f,"childNodes"),y=Ro(f,"parentNode"),v=Ro(f,"shadowRoot"),w=Ro(f,"attributes"),S=s&&s.prototype?Ro(s.prototype,"nodeType"):null,x=s&&s.prototype?Ro(s.prototype,"nodeName"):null;if(typeof i=="function"){const re=n.createElement("template");re.content&&re.content.ownerDocument&&(n=re.content.ownerDocument)}let k,_="",A,M=!1,I=0;const N=function(){if(I>0)throw la('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},L=function(T){N(),I++;try{return k.createHTML(T)}finally{I--}},Z=function(T){N(),I++;try{return k.createScriptURL(T)}finally{I--}},V=function(){return M||(A=Aoe(d,o),M=!0),A},ee=n,G=ee.implementation,B=ee.createNodeIterator,R=ee.createDocumentFragment,j=ee.getElementsByTagName,P=r.importNode;let C=uR();t.isSupported=typeof O5=="function"&&typeof y=="function"&&G&&G.createHTMLDocument!==void 0;const U=moe,q=goe,K=yoe,oe=voe,se=woe,F=boe,J=Soe,ce=koe;let ae=aR,W=null;const H=Be({},[...rR,...X0,...J0,...Q0,...oR]);let te=null;const le=Be({},[...iR,...Z0,...sR,...np]);let me=Object.seal(jl(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ie=null,He=null;const We=Object.seal(jl(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Je=!0,st=!0,dn=!1,Kr=!0,bt=!1,nr=!0,Ln=!1,Tt=!1,vn=null,ri=null,_r=!1,At=!1,$n=!1,rr=!1,or=!0,Gr=!1;const ea="user-content-";let Cr=!0,ta=!1,ko={},fn=null;const Ui=Be({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let na=null;const oi=Be({},["audio","video","img","source","image","track"]);let wn=null;const pl=Be({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),xe="http://www.w3.org/1998/Math/MathML",$e="http://www.w3.org/2000/svg",De="http://www.w3.org/1999/xhtml";let Vt=De,bn=!1,Tr=null;const ii=Be({},[xe,$e,De],Y0),Nn=on(["mi","mo","mn","ms","mtext"]);let Ar=Be({},Nn);const EE=on(["annotation-xml"]);let mv=Be({},EE);
vendor: 6,836 bytes, line 1181
1181const M8=Be({},["title","style","font","a","script"]);let wc=null;const I8=["application/xhtml+xml","text/html"],D8="text/html";let St=null,ml=null;const L8=n.createElement("form"),_E=function(T){return T instanceof RegExp||T instanceof Function},gv=function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ml&&ml===T)return;(!T||typeof T!="object")&&(T={}),T=xn(T),wc=I8.indexOf(T.PARSER_MEDIA_TYPE)===-1?D8:T.PARSER_MEDIA_TYPE,St=wc==="application/xhtml+xml"?Y0:rd,W=qi(T,"ALLOWED_TAGS",H,{transform:St}),te=qi(T,"ALLOWED_ATTR",le,{transform:St}),Tr=qi(T,"ALLOWED_NAMESPACES",ii,{transform:Y0}),wn=qi(T,"ADD_URI_SAFE_ATTR",pl,{transform:St,base:pl}),na=qi(T,"ADD_DATA_URI_TAGS",oi,{transform:St,base:oi}),fn=qi(T,"FORBID_CONTENTS",Ui,{transform:St}),Ie=qi(T,"FORBID_TAGS",xn({}),{transform:St}),He=qi(T,"FORBID_ATTR",xn({}),{transform:St}),ko=Wt(T,"USE_PROFILES")?T.USE_PROFILES&&typeof T.USE_PROFILES=="object"?xn(T.USE_PROFILES):T.USE_PROFILES:!1,Je=T.ALLOW_ARIA_ATTR!==!1,st=T.ALLOW_DATA_ATTR!==!1,dn=T.ALLOW_UNKNOWN_PROTOCOLS||!1,Kr=T.ALLOW_SELF_CLOSE_IN_ATTR!==!1,bt=T.SAFE_FOR_TEMPLATES||!1,nr=T.SAFE_FOR_XML!==!1,Ln=T.WHOLE_DOCUMENT||!1,At=T.RETURN_DOM||!1,$n=T.RETURN_DOM_FRAGMENT||!1,rr=T.RETURN_TRUSTED_TYPE||!1,_r=T.FORCE_BODY||!1,or=T.SANITIZE_DOM!==!1,Gr=T.SANITIZE_NAMED_PROPS||!1,Cr=T.KEEP_CONTENT!==!1,ta=T.IN_PLACE||!1,ae=foe(T.ALLOWED_URI_REGEXP)?T.ALLOWED_URI_REGEXP:aR,Vt=typeof T.NAMESPACE=="string"?T.NAMESPACE:De,Ar=Wt(T,"MATHML_TEXT_INTEGRATION_POINTS")&&T.MATHML_TEXT_INTEGRATION_POINTS&&typeof T.MATHML_TEXT_INTEGRATION_POINTS=="object"?xn(T.MATHML_TEXT_INTEGRATION_POINTS):Be({},Nn),mv=Wt(T,"HTML_INTEGRATION_POINTS")&&T.HTML_INTEGRATION_POINTS&&typeof T.HTML_INTEGRATION_POINTS=="object"?xn(T.HTML_INTEGRATION_POINTS):Be({},EE);const $=Wt(T,"CUSTOM_ELEMENT_HANDLING")&&T.CUSTOM_ELEMENT_HANDLING&&typeof T.CUSTOM_ELEMENT_HANDLING=="object"?xn(T.CUSTOM_ELEMENT_HANDLING):jl(null);if(me=jl(null),Wt($,"tagNameCheck")&&_E($.tagNameCheck)&&(me.tagNameCheck=$.tagNameCheck),Wt($,"attributeNameCheck")&&_E($.attributeNameCheck)&&(me.attributeNameCheck=$.attributeNameCheck),Wt($,"allowCustomizedBuiltInElements")&&typeof $.allowCustomizedBuiltInElements=="boolean"&&(me.allowCustomizedBuiltInElements=$.allowCustomizedBuiltInElements),cn(me),bt&&(st=!1),$n&&(At=!0),ko&&(W=Be({},oR),te=jl(null),ko.html===!0&&(Be(W,rR),Be(te,iR)),ko.svg===!0&&(Be(W,X0),Be(te,Z0),Be(te,np)),ko.svgFilters===!0&&(Be(W,J0),Be(te,Z0),Be(te,np)),ko.mathMl===!0&&(Be(W,Q0),Be(te,sR),Be(te,np))),We.tagCheck=null,We.attributeCheck=null,Wt(T,"ADD_TAGS")&&(typeof T.ADD_TAGS=="function"?We.tagCheck=T.ADD_TAGS:ls(T.ADD_TAGS)&&(W===H&&(W=xn(W)),Be(W,T.ADD_TAGS,St))),Wt(T,"ADD_ATTR")&&(typeof T.ADD_ATTR=="function"?We.attributeCheck=T.ADD_ATTR:ls(T.ADD_ATTR)&&(te===le&&(te=xn(te)),Be(te,T.ADD_ATTR,St))),Wt(T,"ADD_URI_SAFE_ATTR")&&ls(T.ADD_URI_SAFE_ATTR)&&Be(wn,T.ADD_URI_SAFE_ATTR,St),Wt(T,"FORBID_CONTENTS")&&ls(T.FORBID_CONTENTS)&&(fn===Ui&&(fn=xn(fn)),Be(fn,T.FORBID_CONTENTS,St)),Wt(T,"ADD_FORBID_CONTENTS")&&ls(T.ADD_FORBID_CONTENTS)&&(fn===Ui&&(fn=xn(fn)),Be(fn,T.ADD_FORBID_CONTENTS,St)),Cr&&(W["#text"]=!0),Ln&&Be(W,["html","head","body"]),W.table&&(Be(W,["tbody"]),delete Ie.tbody),T.TRUSTED_TYPES_POLICY){if(typeof T.TRUSTED_TYPES_POLICY.createHTML!="function")throw la('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof T.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw la('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const ne=k;k=T.TRUSTED_TYPES_POLICY;try{_=L("")}catch(ge){throw k=ne,ge}}else T.TRUSTED_TYPES_POLICY===null?(k=void 0,_=""):(k===void 0&&(k=V()),k&&typeof _=="string"&&(_=L("")));on&&on(T),ml=T},CE=Be({},[...X0,...J0,...hoe]),TE=Be({},[...Q0,...poe]),$8=function(T,$,ne){return $.namespaceURI===De?T==="svg":$.namespaceURI===xe?T==="svg"&&(ne==="annotation-xml"||Ar[ne]):!!CE[T]},N8=function(T,$,ne){return $.namespaceURI===De?T==="math":$.namespaceURI===$e?T==="math"&&mv[ne]:!!TE[T]},j8=function(T,$,ne){return $.namespaceURI===$e&&!mv[ne]||$.namespaceURI===xe&&!Ar[ne]?!1:!TE[T]&&(M8[T]||!CE[T])},F8=function(T){let $=y(T);(!$||!$.tagName)&&($={namespaceURI:Vt,tagName:"template"});const ne=rd(T.tagName),ge=rd($.tagName);return Tr[T.namespaceURI]?T.namespaceURI===$e?$8(ne,$,ge):T.namespaceURI===xe?N8(ne,$,ge):T.namespaceURI===De?j8(ne,$,ge):!!(wc==="application/xhtml+xml"&&Tr[T.namespaceURI]):!1},zi=function(T){Rl(t.removed,{element:T});try{y(T).removeChild(T)}catch{if(g(T),!y(T))throw la("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},AE=function(T){const $=m(T);if($){const ge=[];Lc($,Pe=>{Rl(ge,Pe)}),Lc(ge,Pe=>{try{g(Pe)}catch{}})}const ne=w(T);if(ne)for(let ge=ne.length-1;ge>=0;--ge){const Pe=ne[ge],ze=Pe&&Pe.name;if(typeof ze=="string")try{T.removeAttribute(ze)}catch{}}},ra=function(T,$){try{Rl(t.removed,{attribute:$.getAttributeNode(T),from:$})}catch{Rl(t.removed,{attribute:null,from:$})}if($.removeAttribute(T),T==="is")if(At||$n)try{zi($)}catch{}else try{$.setAttribute(T,"")}catch{}},B8=function(T){const $=w(T);if($)for(let ne=$.length-1;ne>=0;--ne){const ge=$[ne],Pe=ge&&ge.name;if(!(typeof Pe!="string"||te[St(Pe)]))try{T.removeAttribute(Pe)}catch{}}},U8=function(T){const $=[T];for(;$.length>0;){const ne=$.pop();(S?S(ne):ne.nodeType)===Co.element&&B8(ne);const Pe=m(ne);if(Pe)for(let ze=Pe.length-1;ze>=0;--ze)$.push(Pe[ze])}},PE=function(T){let $=null,ne=null;if(_r)T="<remove></remove>"+T;else{const ze=ZP(T,/^[\r\n\t ]+/);ne=ze&&ze[0]}wc==="application/xhtml+xml"&&Vt===De&&(T='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+T+"</body></html>");const ge=k?L(T):T;if(Vt===De)try{$=new c().parseFromString(ge,wc)}catch{}if(!$||!$.documentElement){$=G.createDocument(Vt,"template",null);try{$.documentElement.innerHTML=bn?_:ge}catch{}}const Pe=$.body||$.documentElement;return T&&ne&&Pe.insertBefore(n.createTextNode(ne),Pe.childNodes[0]||null),Vt===De?j.call($,Ln?"html":"body")[0]:Ln?$.documentElement:Pe},RE=function(T){return B.call(T.ownerDocument||T,T,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},ih=function(T){return T=$c(T,U," "),T=$c(T,q," "),T=$c(T,K," "),T},yv=function(T){var $;T.normalize();const ne=B.call(T.ownerDocument||T,T,l.SHOW_TEXT|l.SHOW_COMMENT|l.SHOW_CDATA_SECTION|l.SHOW_PROCESSING_INSTRUCTION,null);let ge=ne.nextNode();for(;ge;)ge.data=ih(ge.data),ge=ne.nextNode();const Pe=($=T.querySelectorAll)===null||$===void 0?void 0:$.call(T,"template");Pe&&Lc(Pe,ze=>{gl(ze.content)&&yv(ze.content)})},sh=function(T){const $=x?x(T):null;return typeof $!="string"||St($)!=="form"?!1:typeof T.nodeName!="string"||typeof T.textContent!="string"||typeof T.removeChild!="function"||T.attributes!==w(T)||t
vendor: 5,019 bytes, line 1181
1181ypeof T.removeAttribute!="function"||typeof T.setAttribute!="function"||typeof T.namespaceURI!="string"||typeof T.insertBefore!="function"||typeof T.hasChildNodes!="function"||T.nodeType!==S(T)||T.childNodes!==m(T)},gl=function(T){if(!S||typeof T!="object"||T===null)return!1;try{return S(T)===Co.documentFragment}catch{return!1}},bc=function(T){if(!S||typeof T!="object"||T===null)return!1;try{return typeof S(T)=="number"}catch{return!1}};function si(re,T,$){re.length!==0&&Lc(re,ne=>{ne.call(t,T,$,ml)})}const z8=function(T,$){return!!(nr&&T.hasChildNodes()&&!bc(T.firstElementChild)&&Qt(lR,T.textContent)&&Qt(lR,T.innerHTML)||nr&&T.namespaceURI===De&&$==="style"&&bc(T.firstElementChild)||T.nodeType===Co.processingInstruction||nr&&T.nodeType===Co.comment&&Qt(Eoe,T.data))},V8=function(T,$){if(!Ie[$]&&IE($)&&(me.tagNameCheck instanceof RegExp&&Qt(me.tagNameCheck,$)||me.tagNameCheck instanceof Function&&me.tagNameCheck($)))return!1;if(Cr&&!fn[$]){const ne=y(T),ge=m(T);if(ge&&ne){const Pe=ge.length;for(let ze=Pe-1;ze>=0;--ze){const Ht=ta?ge[ze]:h(ge[ze],!0);ne.insertBefore(Ht,p(T))}}}return zi(T),!0},OE=function(T){if(si(C.beforeSanitizeElements,T,null),sh(T))return zi(T),!0;const $=St(x?x(T):T.nodeName);if(si(C.uponSanitizeElement,T,{tagName:$,allowedTags:W}),z8(T,$))return zi(T),!0;if(Ie[$]||!(We.tagCheck instanceof Function&&We.tagCheck($))&&!W[$])return V8(T,$);if((S?S(T):T.nodeType)===Co.element&&!F8(T)||($==="noscript"||$==="noembed"||$==="noframes")&&Qt(_oe,T.innerHTML))return zi(T),!0;if(bt&&T.nodeType===Co.text){const ge=ih(T.textContent);T.textContent!==ge&&(Rl(t.removed,{element:T.cloneNode()}),T.textContent=ge)}return si(C.afterSanitizeElements,T,null),!1},ME=function(T,$,ne){if(He[$]||or&&($==="id"||$==="name")&&(ne in n||ne in L8))return!1;const ge=te[$]||We.attributeCheck instanceof Function&&We.attributeCheck($,T);if(!(st&&Qt(oe,$))){if(!(Je&&Qt(se,$))){if(ge){if(!wn[$]){if(!Qt(ae,$c(ne,J,""))){if(!(($==="src"||$==="xlink:href"||$==="href")&&T!=="script"&&eR(ne,"data:")===0&&na[T])){if(!(dn&&!Qt(F,$c(ne,J,"")))){if(ne)return!1}}}}}else if(!(IE(T)&&(me.tagNameCheck instanceof RegExp&&Qt(me.tagNameCheck,T)||me.tagNameCheck instanceof Function&&me.tagNameCheck(T))&&(me.attributeNameCheck instanceof RegExp&&Qt(me.attributeNameCheck,$)||me.attributeNameCheck instanceof Function&&me.attributeNameCheck($,T))||$==="is"&&me.allowCustomizedBuiltInElements&&(me.tagNameCheck instanceof RegExp&&Qt(me.tagNameCheck,ne)||me.tagNameCheck instanceof Function&&me.tagNameCheck(ne))))return!1}}return!0},H8=Be({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),IE=function(T){return!H8[rd(T)]&&Qt(ce,T)},W8=function(T,$,ne,ge){if(k&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!ne)switch(d.getAttributeType(T,$)){case"TrustedHTML":return L(ge);case"TrustedScriptURL":return Z(ge)}return ge},q8=function(T,$,ne,ge){try{ne?T.setAttributeNS(ne,$,ge):T.setAttribute($,ge),sh(T)?zi(T):QP(t.removed)}catch{ra($,T)}},DE=function(T){si(C.beforeSanitizeAttributes,T,null);const $=T.attributes;if(!$||sh(T))return;const ne={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:te,forceKeepAttr:void 0};let ge=$.length;const Pe=St(T.nodeName);for(;ge--;){const ze=$[ge],Ht=ze.name,Mt=ze.namespaceURI,Pr=ze.value,Yr=St(Ht),wv=Pr;let Sn=Ht==="value"?wv:soe(wv);if(ne.attrName=Yr,ne.attrValue=Sn,ne.keepAttr=!0,ne.forceKeepAttr=void 0,si(C.uponSanitizeAttribute,T,ne),Sn=ne.attrValue,Gr&&(Yr==="id"||Yr==="name")&&eR(Sn,ea)!==0&&(ra(Ht,T),Sn=ea+Sn),nr&&Qt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Sn)){ra(Ht,T);continue}if(Yr==="attributename"&&ZP(Sn,"href")){ra(Ht,T);continue}if(!ne.forceKeepAttr){if(!ne.keepAttr){ra(Ht,T);continue}if(!Kr&&Qt(Coe,Sn)){ra(Ht,T);continue}if(bt&&(Sn=ih(Sn)),!ME(Pe,Yr,Sn)){ra(Ht,T);continue}Sn=W8(Pe,Yr,Mt,Sn),Sn!==wv&&q8(T,Ht,Mt,Sn)}}si(C.afterSanitizeAttributes,T,null)},ah=function(T){let $=null;const ne=RE(T);for(si(C.beforeSanitizeShadowDOM,T,null);$=ne.nextNode();)if(si(C.uponSanitizeShadowNode,$,null),OE($),DE($),gl($.content)&&ah($.content),(S?S($):$.nodeType)===Co.element){const Pe=v($);gl(Pe)&&(vv(Pe),ah(Pe))}si(C.afterSanitizeShadowDOM,T,null)},vv=function(T){const $=[{node:T,shadow:null}];for(;$.length>0;){const ne=$.pop();if(ne.shadow){ah(ne.shadow);continue}const ge=ne.node,ze=(S?S(ge):ge.nodeType)===Co.element,Ht=m(ge);if(Ht)for(let Mt=Ht.length-1;Mt>=0;--Mt)$.push({node:Ht[Mt],shadow:null});if(ze){const Mt=x?x(ge):null;if(typeof Mt=="string"&&St(Mt)==="template"){const Pr=ge.content;gl(Pr)&&$.push({node:Pr,shadow:null})}}if(ze){const Mt=v(ge);gl(Mt)&&$.push({node:null,shadow:Mt},{node:Mt,shadow:null})}}};return t.sanitize=function(re){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=null,ne=null,ge=null,Pe=null;if(bn=!re,bn&&(re="<!-->"),typeof re!="string"&&!bc(re)&&(re=doe(re),typeof re!="string"))throw la("dirty is not a string, aborting");if(!t.isSupported)return re;
1181Tt?(W=vn,te=ri):gv(T),(C.uponSanitizeElement.length>0||C.uponSanitizeAttribute.length>0)&&(W=xn(W)),C.uponSanitizeAttribute.length>0&&(te=xn(te)),t.removed=[];const ze=ta&&typeof re!="string"&&bc(re);if(ze){const Pr=x?x(re):re.nodeName;if(typeof Pr=="string"){const Yr=St(Pr);if(!W[Yr]||Ie[Yr])throw la("root node is forbidden and cannot be sanitized in-place")}if(sh(re))throw la("root node is clobbered and cannot be sanitized in-place");try{vv(re)}catch(Yr){throw AE(re),Yr}}else if(bc(re))$=PE("<!---->"),ne=$.ownerDocument.importNode(re,!0),ne.nodeType===Co.element&&ne.nodeName==="BODY"||ne.nodeName==="HTML"?$=ne:$.appendChild(ne),vv(ne);else{if(!At&&!bt&&!Ln&&re.indexOf("<")===-1)return k&&rr?L(re):re;if($=PE(re),!$)return At?null:rr?_:""}$&&_r&&zi($.firstChild);const Ht=RE(ze?re:$);try{for(;ge=Ht.nextNode();)OE(ge),DE(ge),gl(ge.content)&&ah(ge.content)}catch(Pr){throw ze&&AE(re),Pr}if(ze)return Lc(t.removed,Pr=>{Pr.element&&U8(Pr.element)}),bt&&yv(re),re;if(At){if(bt&&yv($),$n)for(Pe=R.call($.ownerDocument);$.firstChild;)Pe.appendChild($.firstChild);else Pe=$;return(te.shadowroot||te.shadowrootmode)&&(Pe=P.call(r,Pe,!0)),Pe}let Mt=Ln?$.outerHTML:$.innerHTML;return Ln&&W["!doctype"]&&$.ownerDocument&&$.ownerDocument.doctype&&$.ownerDocument.doctype.name&&Qt(xoe,$.ownerDocument.doctype.name)&&(Mt="<!DOCTYPE "+$.ownerDocument.doctype.name+`>
1182`+Mt),bt&&(Mt=ih(Mt)),k&&rr?L(Mt):Mt},t.setConfig=function(){let re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};gv(re),Tt=!0,vn=W,ri=te},t.clearConfig=function(){ml=null,Tt=!1,vn=null,ri=null,k=A,_=""},t.isValidAttribute=function(re,T,$){ml||gv({});const ne=St(re),ge=St(T);return ME(ne,ge,$)},t.addHook=function(re,T){typeof T=="function"&&Wt(C,re)&&Rl(C[re],T)},t.removeHook=function(re,T){if(Wt(C,re)){if(T!==void 0){const $=ooe(C[re],T);return $===-1?void 0:ioe(C[re],$,1)[0]}return QP(C[re])}},t.removeHooks=function(re){Wt(C,re)&&(C[re]=[])},t.removeAllHooks=function(){C=uR()},t}var cTe=I5(),Ny="Checkbox",[Poe]=Wr(Ny),[Roe,Tk]=Poe(Ny);function Ooe(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:o,disabled:i,form:s,name:a,onCheckedChange:l,required:u,value:c="on",internal_do_not_use_render:d}=e,[f,h]=Yo({prop:n,defaultProp:o??!1,onChange:l,caller:Ny}),[g,p]=b.useState(null),[m,y]=b.useState(null),v=b.useRef(!1),w=g?!!s||!!g.closest("form"):!0,S={checked:f,disabled:i,setChecked:h,control:g,setControl:p,name:a,form:s,value:c,hasConsumerStoppedPropagationRef:v,required:u,defaultChecked:Ns(o)?!1:o,isFormControl:w,bubbleInput:m,setBubbleInput:y};return E.jsx(Roe,{scope:t,...S,children:Doe(d)?d(S):r})}var D5="CheckboxTrigger",L5=b.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},o)=>{const{control:i,value:s,disabled:a,checked:l,required:u,setControl:c,setChecked:d,hasConsumerStoppedPropagationRef:f,isFormControl:h,bubbleInput:g}=Tk(D5,e),p=Fe(o,c),m=b.useRef(l);return b.useEffect(()=>{const y=i==null?void 0:i.form;if(y){const v=()=>d(m.current);return y.addEventListener("reset",v),()=>y.removeEventListener("reset",v)}},[i,d]),E.jsx(Ee.button,{type:"button",role:"checkbox","aria-checked":Ns(l)?"mixed":l,"aria-required":u,"data-state":F5(l),"data-disabled":a?"":void 0,disabled:a,value:s,...r,ref:p,onKeyDown:Se(t,y=>{y.key==="Enter"&&y.preventDefault()}),onClick:Se(n,y=>{d(v=>Ns(v)?!0:!v),g&&h&&(f.current=y.isPropagationStopped(),f.current||y.stopPropagation())})})});L5.displayName=D5;var Moe=b.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:o,defaultChecked:i,required:s,disabled:a,value:l,onCheckedChange:u,form:c,...d}=e;return E.jsx(Ooe,{__scopeCheckbox:n,checked:o,defaultChecked:i,disabled:a,required:s,onCheckedChange:u,name:r,form:c,value:l,internal_do_not_use_render:({isFormControl:f})=>E.jsxs(E.Fragment,{children:[E.jsx(L5,{...d,ref:t,__scopeCheckbox:n}),f&&E.jsx(j5,{__scopeCheckbox:n})]})})});Moe.displayName=Ny;var $5="CheckboxIndicator",Ioe=b.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...o}=e,i=Tk($5,n);return E.jsx(Zo,{present:r||Ns(i.checked)||i.checked===!0,children:E.jsx(Ee.span,{"data-state":F5(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});Ioe.displayName=$5;var N5="CheckboxBubbleInput",j5=b.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:o,checked:i,defaultChecked:s,required:a,disabled:l,name:u,value:c,form:d,bubbleInput:f,setBubbleInput:h}=Tk(N5,e),g=Fe(n,h),p=sk(i),m=W2(r);b.useEffect(()=>{const v=f;if(!v)return;const w=window.HTMLInputElement.prototype,x=Object.getOwnPropertyDescriptor(w,"checked").set,k=!o.current;if(p!==i&&x){const _=new Event("click",{bubbles:k});v.indeterminate=Ns(i),x.call(v,Ns(i)?!1:i),v.dispatchEvent(_)}},[f,p,i,o]);const y=b.useRef(Ns(i)?!1:i);return E.jsx(Ee.input,{type:"checkbox","aria-hidden":!0,defaultChecked:s??y.current,required:a,disabled:l,name:u,value:c,form:d,...t,tabIndex:-1,ref:g,style:{...t.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});j5.displayName=N5;function Doe(e){return typeof e=="function"}function Ns(e){return e==="indeterminate"}function F5(e){return Ns(e)?"indeterminate":e?"checked":"unchecked"}function Loe(e){return Object.prototype.toString.call(e)==="[object Object]"}function cR(e){return Loe(e)||Array.isArray(e)}function $oe(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Ak(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const o=JSON.stringify(Object.keys(e.breakpoints||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return o!==i?!1:n.every(s=>{const a=e[s],l=t[s];return typeof a=="function"?`${a}`==`${l}`:!cR(a)||!cR(l)?a===l:Ak(a,l)})}function dR(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function Noe(e,t){if(e.length!==t.length)return!1;const n=dR(e),r=dR(t);return n.every((o,i)=>{const s=r[i];return Ak(o,s)})}function Pk(e){return typeof e=="number"}function eS(e){return typeof e=="string"}function jy(e){return typeof e=="boolean"}function fR(e){return Object.prototype.toString.call(e)==="[object Object]"}function yt(e){return Math.abs(e)}function Rk(e){return Math.sign(e)}function Ad(e,t){return yt(e-t)}function joe(e,t){if(e===0||t===0||yt(e)<=yt(t))return 0;const n=Ad(yt(e),yt(t));return yt(n/e)}function Foe(e){return Math.round(e*100)/100}function _f(e){return Cf(e).map(Number)}function po(e){return e[Jf(e)]}function Jf(e){return Math.max(0,e.length-1)}function Ok(e,t){return t===Jf(e)}function hR(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Cf(e){return Object.keys(e)}function B5(e,t){return[e,t].reduce((n,r)=>(Cf(r).forEach(o=>{const i=n[o],s=r[o],a=fR(i)&&fR(s);n[o]=a?B5(i,s):s}),n),{})}function tS(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function Boe(e,t){const n={start:r,center:o,end:i};function r(){return 0}function o(l){return i(l)/2}function i(l){return t-l}function s(l,u){return eS(e)?n[e](l):e(t,l,u)}return{measure:s}}function Tf(){let e=[];function t(o,i,s,a={passive:!0}){let l;if("addEventListener"in o)o.addEventListener(i,s,a),l=()=>o.removeEventListener(i,s,a);else{const u=o;u.addListener(s),l=()=>u.removeListener(s)}return e.push(l),r}function n(){e=e.filter(o=>o())}const r={add:t,clear:n};return r}function Uoe(e,t,n,r){const o=Tf(),i=1e3/60;let s=null,a=0,l=0;function u(){o.add(e,"visibilitychange",()=>{e.hidden&&g()})}function c(){h(),o.clear()}function d(m){if(!l)return;s||(s=m,n(),n());const y=m-s;for(s=m,a+=y;a>=i;)n(),a-=i;const v=a/i;r(v),l&&(l=t.requestAnimationFrame(d))}function f(){l||(l=t.requestAnimationFrame(d))}function h(){t.cancelAnimationFrame(l),s=null,a=0,l=0}function g(){s=null,a=0}return{init:u,destroy:c,start:f,stop:h,update:n,render:r}}function zoe(e,t){const n=t==="rtl",r=e==="y",o=r?"y":"x",i=r?"x":"y",s=!r&&n?-1:1,a=c(),l=d();function u(g){const{height:p,width:m}=g;return r?p:m}function c(){return r?"top":n?"right":"left"}function d(){return r?"bottom":n?"left":"right"}function f(g){return g*s}return{scroll:o,cross:i,startEdge:a,endEdge:l,measureSize:u,direction:f}}function il(e=0,t=0){const n=yt(e-t);function r(u){return u<e}function o(u){return u>t}function i(u){return r(u)||o(u)}function s(u){return i(u)?r(u)?e:t:u}function a(u){return n?u-n*Math.ceil((u-t)/n):u}return{length:n,max:t,min:e,constrain:s,reachedAny:i,reachedMax:o,reachedMin:r,removeOffset:a}}
vendor: 14,819 bytes, line 1182
1182function U5(e,t,n){const{constrain:r}=il(0,e),o=e+1;let i=s(t);function s(f){return n?yt((o+f)%o):r(f)}function a(){return i}function l(f){return i=s(f),d}function u(f){return c().set(a()+f)}function c(){return U5(e,a(),n)}const d={get:a,set:l,add:u,clone:c};return d}function Voe(e,t,n,r,o,i,s,a,l,u,c,d,f,h,g,p,m,y,v){const{cross:w,direction:S}=e,x=["INPUT","SELECT","TEXTAREA"],k={passive:!1},_=Tf(),A=Tf(),M=il(50,225).constrain(h.measure(20)),I={mouse:300,touch:400},N={mouse:500,touch:600},L=g?43:25;let Z=!1,V=0,ee=0,G=!1,B=!1,R=!1,j=!1;function P(H){if(!v)return;function te(me){(jy(v)||v(H,me))&&se(me)}const le=t;_.add(le,"dragstart",me=>me.preventDefault(),k).add(le,"touchmove",()=>{},k).add(le,"touchend",()=>{}).add(le,"touchstart",te).add(le,"mousedown",te).add(le,"touchcancel",J).add(le,"contextmenu",J).add(le,"click",ce,!0)}function C(){_.clear(),A.clear()}function U(){const H=j?n:t;A.add(H,"touchmove",F,k).add(H,"touchend",J).add(H,"mousemove",F,k).add(H,"mouseup",J)}function q(H){const te=H.nodeName||"";return x.includes(te)}function K(){return(g?N:I)[j?"mouse":"touch"]}function oe(H,te){const le=d.add(Rk(H)*-1),me=c.byDistance(H,!g).distance;return g||yt(H)<M?me:m&&te?me*.5:c.byIndex(le.get(),0).distance}function se(H){const te=tS(H,r);j=te,R=g&&te&&!H.buttons&&Z,Z=Ad(o.get(),s.get())>=2,!(te&&H.button!==0)&&(q(H.target)||(G=!0,i.pointerDown(H),u.useFriction(0).useDuration(0),o.set(s),U(),V=i.readPoint(H),ee=i.readPoint(H,w),f.emit("pointerDown")))}function F(H){if(!tS(H,r)&&H.touches.length>=2)return J(H);const le=i.readPoint(H),me=i.readPoint(H,w),Ie=Ad(le,V),He=Ad(me,ee);if(!B&&!j&&(!H.cancelable||(B=Ie>He,!B)))return J(H);const We=i.pointerMove(H);Ie>p&&(R=!0),u.useFriction(.3).useDuration(.75),a.start(),o.add(S(We)),H.preventDefault()}function J(H){const le=c.byDistance(0,!1).index!==d.get(),me=i.pointerUp(H)*K(),Ie=oe(S(me),le),He=joe(me,Ie),We=L-10*He,Je=y+He/50;B=!1,G=!1,A.clear(),u.useDuration(We).useFriction(Je),l.distance(Ie,!g),j=!1,f.emit("pointerUp")}function ce(H){R&&(H.stopPropagation(),H.preventDefault(),R=!1)}function ae(){return G}return{init:P,destroy:C,pointerDown:ae}}function Hoe(e,t){let r,o;function i(d){return d.timeStamp}function s(d,f){const g=`client${(f||e.scroll)==="x"?"X":"Y"}`;return(tS(d,t)?d:d.touches[0])[g]}function a(d){return r=d,o=d,s(d)}function l(d){const f=s(d)-s(o),h=i(d)-i(r)>170;return o=d,h&&(r=d),f}function u(d){if(!r||!o)return 0;const f=s(o)-s(r),h=i(d)-i(r),g=i(d)-i(o)>170,p=f/h;return h&&!g&&yt(p)>.1?p:0}return{pointerDown:a,pointerMove:l,pointerUp:u,readPoint:s}}function Woe(){function e(n){const{offsetTop:r,offsetLeft:o,offsetWidth:i,offsetHeight:s}=n;return{top:r,right:o+i,bottom:r+s,left:o,width:i,height:s}}return{measure:e}}function qoe(e){function t(r){return e*(r/100)}return{measure:t}}function Koe(e,t,n,r,o,i,s){const a=[e].concat(r);let l,u,c=[],d=!1;function f(m){return o.measureSize(s.measure(m))}function h(m){if(!i)return;u=f(e),c=r.map(f);function y(v){for(const w of v){if(d)return;const S=w.target===e,x=r.indexOf(w.target),k=S?u:c[x],_=f(S?e:r[x]);if(yt(_-k)>=.5){m.reInit(),t.emit("resize");break}}}l=new ResizeObserver(v=>{(jy(i)||i(m,v))&&y(v)}),n.requestAnimationFrame(()=>{a.forEach(v=>l.observe(v))})}function g(){d=!0,l&&l.disconnect()}return{init:h,destroy:g}}function Goe(e,t,n,r,o,i){let s=0,a=0,l=o,u=i,c=e.get(),d=0;function f(){const k=r.get()-e.get(),_=!l;let A=0;return _?(s=0,n.set(r),e.set(r),A=k):(n.set(e),s+=k/l,s*=u,c+=s,e.add(s),A=c-d),a=Rk(A),d=c,x}function h(){const k=r.get()-t.get();return yt(k)<.001}function g(){return l}function p(){return a}function m(){return s}function y(){return w(o)}function v(){return S(i)}function w(k){return l=k,x}function S(k){return u=k,x}const x={direction:p,duration:g,velocity:m,seek:f,settled:h,useBaseFriction:v,useBaseDuration:y,useFriction:S,useDuration:w};return x}function Yoe(e,t,n,r,o){const i=o.measure(10),s=o.measure(50),a=il(.1,.99);let l=!1;function u(){return!(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function c(h){if(!u())return;const g=e.reachedMin(t.get())?"min":"max",p=yt(e[g]-t.get()),m=n.get()-t.get(),y=a.constrain(p/s);n.subtract(m*y),!h&&yt(m)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function d(h){l=!h}return{shouldConstrain:u,constrain:c,toggleActive:d}}function Xoe(e,t,n,r,o){const i=il(-t+e,0),s=d(),a=c(),l=f();function u(g,p){return Ad(g,p)<=1}function c(){const g=s[0],p=po(s),m=s.lastIndexOf(g),y=s.indexOf(p)+1;return il(m,y)}function d(){return n.map((g,p)=>{const{min:m,max:y}=i,v=i.constrain(g),w=!p,S=Ok(n,p);return w?y:S||u(m,v)?m:u(y,v)?y:v}).map(g=>parseFloat(g.toFixed(3)))}function f(){if(t<=e+o)return[i.max];if(r==="keepSnaps")return s;const{min:g,max:p}=a;return s.slice(g,p)}return{snapsContained:l,scrollContainLimit:a}}function Joe(e,t,n){const r=t[0],o=n?r-e:po(t);return{limit:il(o,r)}}function Qoe(e,t,n,r){const i=t.min+.1,s=t.max+.1,{reachedMin:a,reachedMax:l}=il(i,s);function u(f){return f===1?l(n.get()):f===-1?a(n.get()):!1}function c(f){if(!u(f))return;const h=e*(f*-1);r.forEach(g=>g.add(h))}return{loop:c}}function Zoe(e){const{max:t,length:n}=e;function r(i){const s=i-t;return n?s/-n:0}return{get:r}}function eie(e,t,n,r,o){const{startEdge:i,endEdge:s}=e,{groupSlides:a}=o,l=d().map(t.measure),u=f(),c=h();function d(){return a(r).map(p=>po(p)[s]-p[0][i]).map(yt)}function f(){return r.map(p=>n[i]-p[i]).map(p=>-yt(p))}function h(){return a(u).map(p=>p[0]).map((p,m)=>p+l[m])}return{snaps:u,snapsAligned:c}}function tie(e,t,n,r,o,i){const{groupSlides:s}=o,{min:a,max:l}=r,u=c();function c(){const f=s(i),h=!e||t==="keepSnaps";return n.length===1?[i]:h?f:f.slice(a,l).map((g,p,m)=>{const y=!p,v=Ok(m,p);if(y){const w=po(m[0])+1;return hR(w)}if(v){const w=Jf(i)-po(m)[0]+1;return hR(w,po(m)[0])}return g})}return{slideRegistry:u}}function nie(e,t,n,r,o){const{reachedAny:i,removeOffset:s,constrain:a}=r;function l(g){return g.concat().sort((p,m)=>yt(p)-yt(m))[0]}function u(g){const p=e?s(g):a(g),m=t.map((v,w)=>({diff:c(v-p,0),index:w})).sort((v,w)=>yt(v.diff)-yt(w.diff)),{index:y}=m[0];return{index:y,distance:p}}function c(g,p){const m=[g,g+n,g-n];if(!e)return g;if(!p)return l(m);const y=m.filter(v=>Rk(v)===p);return y.length?l(y):po(m)-n}function d(g,p){const m=t[g]-o.get(),y=c(m,p);return{index:g,distance:y}}function f(g,p){const m=o.get()+g,{index:y,distance:v}=u(m),w=!e&&i(m);if(!p||w)return{index:y,distance:g};const S=t[y]-v,x=g+c(S,0);return{index:y,distance:x}}return{byDistance:f,byIndex:d,shortcut:c}}function rie(e,t,n,r,o,i,s){function a(d){const f=d.distance,h=d.index!==t.get();i.add(f),f&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),h&&(n.set(t.get()),t.set(d.index),s.emit("select"))}function l(d,f){const h=o.byDistance(d,f);a(h)}function u(d,f){const h=t.clone().set(d),g=o.byIndex(h.get(),f);a(g)}return{distance:l,index:u}}function oie(e,t,n,r,o,i,s,a){const l={passive:!0,capture:!0};let u=0;function c(h){if(!a)return;function g(p){if(new Date().getTime()-u>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;const v=n.findIndex(w=>w.includes(p));Pk(v)&&(o.useDuration(0),r.index(v,0),s.emit("slideFocus"))}i.add(document,"keydown",d,!1),t.forEach((p,m)=>{i.add(p,"focus",y=>{(jy(a)||a(h,y))&&g(m)},l)})}function d(h){h.code==="Tab"&&(u=new Date().getTime())}return{init:c}}function od(e){let t=e;function n(){return t}function r(l){t=s(l)}function o(l){t+=s(l)}function i(l){t-=s(l)}function s(l){return Pk(l)?l:l.get()}return{get:n,set:r,add:o,subtract:i}}function z5(e,t){const n=e.scroll==="x"?s:a,r=t.style;let o=null,i=!1;function s(f){return`translate3d(${f}px,0px,0px)`}function a(f){return`translate3d(0px,${f}px,0px)`}function l(f){if(i)return;const h=Foe(e.direction(f));h!==o&&(r.transform=n(h),o=h)}function u(f){i=!f}function c(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:c,to:l,toggleActive:u}}function iie(e,t,n,r,o,i,s,a,l){const c=_f(o),d=_f(o).reverse(),f=y().concat(v());function h(_,A){return _.reduce((M,I)=>M-o[I],A)}function g(_,A){return _.reduce((M,I)=>h(M,A)>0?M.concat([I]):M,[])}function p(_){return i.map((A,M)=>({start:A-r[M]+.5+_,end:A+t-.5+_}))}function m(_,A,M){const I=p(A);return _.map(N=>{const L=M?0:-n,Z=M?n:0,V=M?"end":"start",ee=I[N][V];return{index:N,loopPoint:ee,slideLocation:od(-1),translate:z5(e,l[N]),target:()=>a.get()>ee?L:Z}})}function y(){const _=s[0],A=g(d,_);return m(A,n,!1)}function v(){const _=t-s[0]-1,A=g(c,_);return m(A,-n,!0)}function w(){return f.every(({index:_})=>{const A=c.filter(M=>M!==_);return h(A,t)<=.1})}function S(){f.forEach(_=>{const{target:A,translate:M,slideLocation:I}=_,N=A();N!==I.get()&&(M.to(N),I.set(N))})}function x(){f.forEach(_=>_.translate.clear())}return{canLoop:w,clear:x,loop:S,loopPoints:f}}function sie(e,t,n){let r,o=!1;function i(l){if(!n)return;function u(c){for(const d of c)if(d.type==="childList"){l.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(c=>{o||(jy(n)||n(l,c))&&u(c)}),r.observe(e,{childList:!0})}function s(){r&&r.disconnect(),o=!0}return{init:i,destroy:s}}function aie(e,t,n,r){const o={};let i=null,s=null,a,l=!1;function u(){a=new IntersectionObserver(g=>{l||(g.forEach(p=>{const m=t.indexOf(p.target);o[m]=p}),i=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(g=>a.observe(g))}function c(){a&&a.disconnect(),l=!0}function d(g){return Cf(o).reduce((p,m)=>{const y=parseInt(m),{isIntersecting:v}=o[y];return(g&&v||!g&&!v)&&p.push(y),p},[])}function f(g=!0){if(g&&i)return i;if(!g&&s)return s;const p=d(g);return g&&(i=p),g||(s=p),p}return{init:u,destroy:c,get:f}}function lie(e,t,n,r,o,i){const{measureSize:s,startEdge:a,endEdge:l}=e,u=n[0]&&o,c=g(),d=p(),f=n.map(s),h=m();function g(){if(!u)return 0;const v=n[0];return yt(t[a]-v[a])}function p(){if(!u)return 0;const v=i.getComputedStyle(po(r));return parseFloat(v.getPropertyValue(`margin-${l}`))}function m(){return n.map((v,w,S)=>{const x=!w,k=Ok(S,w);return x?f[w]+c:k?f[w]+d:S[w+1][a]-v[a]}).map(yt)}return{slideSizes:f,slideSizesWithGaps:h,startGap:c,endGap:d}}function uie(e,t,n,r,o,i,s,a,l){const{startEdge:u,endEdge:c,direction:d}=e,f=Pk(n);function h(y,v){return _f(y).filter(w=>w%v===0).map(w=>y.slice(w,w+v))}function g(y){return y.length?_f(y).reduce((v,w,S)=>{const x=po(v)||0,k=x===0,_=w===Jf(y),A=o[u]-i[x][u],M=o[u]-i[w][c],I=!r&&k?d(s):0,N=!r&&_?d(a):0,L=yt(M-N-(A+I));return S&&L>t+l&&v.push(w),_&&v.push(y.length),v},[]).map((v,w,S)=>{const x=Math.max(S[w-1]||0);return y.slice(x,v)}):[]}function p(y){return f?h(y,n):g(y)}return{groupSlides:p}}function cie(e,t,n,r,o,i,s){const{align:a,axis:l,direction:u,startIndex:c,loop:d,duration:f,dragFree:h,dragThreshold:g,inViewThreshold:p,slidesToScroll:m,skipSnaps:y,containScroll:v,watchResize:w,watchSlides:S,watchDrag:x,watchFocus:k}=i,_=2,A=Woe(),M=A.measure(t),I=n.map(A.measure),N=zoe(l,u),L=N.measureSize(M),Z=qoe(L),V=Boe(a,L),ee=!d&&!!v,G=d||!!v,{slideSizes:B,slideSizesWithGaps:R,startGap:j,endGap:P}=lie(N,M,I,n,G,o),C=uie(N,L,m,d,M,I,j,P,_),{snaps:U,snapsAligned:q}=eie(N,V,M,I,C),K=-po(U)+po(R),{snapsContained:oe,scrollContainLimit:se}=Xoe(L,K,q,v,_),F=ee?oe:q,{limit:J}=Joe(K,F,d),ce=U5(Jf(F),c,d),ae=ce.clone(),W=_f(n),H=({dragHandler:At,scrollBody:$n,scrollBounds:rr,options:{loop:or}})=>{or||rr.constrain(At.pointerDown()),$n.seek()},te=({scrollBody:At,translate:$n,location:rr,offsetLocation:or,previousLocation:Gr,scrollLooper:ea,slideLooper:Cr,dragHandler:ta,animation:ko,eventHandler:fn,scrollBounds:Ui,options:{loop:na}},oi)=>{const wn=At.settled(),pl=!Ui.shouldConstrain(),xe=na?wn:wn&&pl,$e=xe&&!ta.pointerDown();$e&&ko.stop();const De=rr.get()*oi+Gr.get()*(1-oi);or.set(De),na&&(ea.loop(At.direction()),Cr.loop()),$n.to(or.get()),$e&&fn.emit("settle"),xe||fn.emit("scroll")},le=Uoe(r,o,()=>H(_r),At=>te(_r,At)),me=.68,Ie=F[ce.get()],He=od(Ie),We=od(Ie),Je=od(Ie),st=od(Ie),dn=Goe(He,Je,We,st,f,me),Kr=nie(d,F,K,J,st),bt=rie(le,ce,ae,dn,Kr,st,s),nr=Zoe(J),Ln=Tf(),Tt=aie(t,n,s,p),{slideRegistry:vn}=tie(ee,v,F,se,C,W),ri=oie(e,n,vn,bt,dn,Ln,s,k),_r={ownerDocument:r,ownerWindow:o,eventHandler:s,containerRect:M,slideRects:I,animation:le,axis:N,dragHandler:Voe(N,e,r,o,st,Hoe(N,o),He,le,bt,dn,Kr,ce,s,Z,h,g,y,me,x),eventStore:Ln,percentOfView:Z,index:ce,indexPrevious:ae,limit:J,location:He,offsetLocation:Je,previousLocation:We,options:i,resizeHandler:Koe(t,s,o,n,N,w,A),scrollBody:dn,scrollBounds:Yoe(J,Je,st,dn,Z),scrollLooper:Qoe(K,J,Je,[He,Je,We,st]),scrollProgress:nr,scrollSnapList:F.map(nr.get),scrollSnaps:F,scrollTarget:Kr,scrollTo:bt,slideLooper:iie(N,L,K,B,R,U,F,Je,n),slideFocus:ri,slidesHandler:sie(t,s,S),slidesInView:Tt,slideIndexes:W,slideRegistry:vn,slidesToScroll:C,target:st,translate:z5(N,t)};return _r}function die(){let e={},t;function n(u){t=u}function r(u){return e[u]||[]}function o(u){return r(u).forEach(c=>c(t,u)),l}function i(u,c){return e[u]=r(u).concat([c]),l}function s(u,c){return e[u]=r(u).filter(d=>d!==c),l}function a(){e={}}const l={init:n,emit:o,off:s,on:i,clear:a};return l}const fie={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function hie(e){function t(i,s){return B5(i,s||{})}function n(i){const s=i.breakpoints||{},a=Cf(s).filter(l=>e.matchMedia(l).matches).map(l=>s[l]).reduce((l,u)=>t(l,u),{});return t(i,a)}function r(i){return i.map(s=>Cf(s.breakpoints||{})).reduce((s,a)=>s.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function pie(e){let t=[];function n(i,s){return t=s.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(i,e)),s.reduce((a,l)=>Object.assign(a,{[l.name]:l}),{})}function r(){t=t.filter(i=>i.destroy())}return{init:n,destroy:r}}function ng(e,t,n){const r=e.ownerDocument,o=r.defaultView,i=hie(o),s=pie(i),a=Tf(),l=die(),{mergeOptions:u,optionsAtMedia:c,optionsMediaQueries:d}=i,{on:f,off:h,emit:g}=l,p=N;let m=!1,y,v=u(fie,ng.globalOptions),w=u(v),S=[],x,k,_;function A(){const{container:W,slides:H}=w;k=(eS(W)?e.querySelector(W):W)||e.children[0];const le=eS(H)?k.querySelectorAll(H):H;_=[].slice.call(le||k.children)}function M(W){const H=cie(e,k,_,r,o,W,l);if(W.loop&&!H.slideLooper.canLoop()){const te=Object.assign({},W,{loop:!1});return M(te)}return H}function I(W,H){m||(v=u(v,W),w=c(v),S=H||S,A(),y=M(w),d([v,...S.map(({options:te})=>te)]).forEach(te=>a.add(te,"change",N)),w.active&&(y.translate.to(y.location.get()),y.animation.init(),y.slidesInView.init(),y.slideFocus.init(ae),y.eventHandler.init(ae),y.resizeHandler.init(ae),y.slidesHandler.init(ae),y.options.loop&&y.slideLooper.loop(),k.offsetParent&&_.length&&y.dragHandler.init(ae),x=s.init(
1182ae,S)))}function N(W,H){const te=C();L(),I(u({startIndex:te},W),H),l.emit("reInit")}function L(){y.dragHandler.destroy(),y.eventStore.clear(),y.translate.clear(),y.slideLooper.clear(),y.resizeHandler.destroy(),y.slidesHandler.destroy(),y.slidesInView.destroy(),y.animation.destroy(),s.destroy(),a.clear()}function Z(){m||(m=!0,a.clear(),L(),l.emit("destroy"),l.clear())}function V(W,H,te){!w.active||m||(y.scrollBody.useBaseFriction().useDuration(H===!0?0:w.duration),y.scrollTo.index(W,te||0))}function ee(W){const H=y.index.add(1).get();V(H,W,-1)}function G(W){const H=y.index.add(-1).get();V(H,W,1)}function B(){return y.index.add(1).get()!==C()}function R(){return y.index.add(-1).get()!==C()}function j(){return y.scrollSnapList}function P(){return y.scrollProgress.get(y.offsetLocation.get())}function C(){return y.index.get()}function U(){return y.indexPrevious.get()}function q(){return y.slidesInView.get()}function K(){return y.slidesInView.get(!1)}function oe(){return x}function se(){return y}function F(){return e}function J(){return k}function ce(){return _}const ae={canScrollNext:B,canScrollPrev:R,containerNode:J,internalEngine:se,destroy:Z,off:h,on:f,emit:g,plugins:oe,previousScrollSnap:U,reInit:p,rootNode:F,scrollNext:ee,scrollPrev:G,scrollProgress:P,scrollSnapList:j,scrollTo:V,selectedScrollSnap:C,slideNodes:ce,slidesInView:q,slidesNotInView:K};return I(t,n),setTimeout(()=>l.emit("init"),0),ae}ng.globalOptions=void 0;function V5(e={},t=[]){const n=b.useRef(e),r=b.useRef(t),[o,i]=b.useState(),[s,a]=b.useState(),l=b.useCallback(()=>{o&&o.reInit(n.current,r.current)},[o]);return b.useEffect(()=>{Ak(n.current,e)||(n.current=e,l())},[e,l]),b.useEffect(()=>{Noe(r.current,t)||(r.current=t,l())},[t,l]),b.useEffect(()=>{if($oe()&&s){ng.globalOptions=V5.globalOptions;const u=ng(s,n.current,r.current);return i(u),()=>u.destroy()}else i(void 0)},[s,i]),[a,o]}V5.globalOptions=void 0;var mie=Array.isArray,er=mie,gie=typeof ws=="object"&&ws&&ws.Object===Object&&ws,H5=gie,yie=H5,vie=typeof self=="object"&&self&&self.Object===Object&&self,wie=yie||vie||Function("return this")(),ti=wie,bie=ti,Sie=bie.Symbol,Qf=Sie,pR=Qf,W5=Object.prototype,xie=W5.hasOwnProperty,kie=W5.toString,jc=pR?pR.toStringTag:void 0;function Eie(e){var t=xie.call(e,jc),n=e[jc];try{e[jc]=void 0;var r=!0}catch{}var o=kie.call(e);return r&&(t?e[jc]=n:delete e[jc]),o}var _ie=Eie,Cie=Object.prototype,Tie=Cie.toString;function Aie(e){return Tie.call(e)}var Pie=Aie,mR=Qf,Rie=_ie,Oie=Pie,Mie="[object Null]",Iie="[object Undefined]",gR=mR?mR.toStringTag:void 0;function Die(e){return e==null?e===void 0?Iie:Mie:gR&&gR in Object(e)?Rie(e):Oie(e)}var ji=Die;function Lie(e){return e!=null&&typeof e=="object"}var Fi=Lie,$ie=ji,Nie=Fi,jie="[object Symbol]";function Fie(e){return typeof e=="symbol"||Nie(e)&&$ie(e)==jie}var uc=Fie,Bie=er,Uie=uc,zie=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Vie=/^\w*$/;function Hie(e,t){if(Bie(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Uie(e)?!0:Vie.test(e)||!zie.test(e)||t!=null&&e in Object(t)}var Mk=Hie;function Wie(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Js=Wie;const dTe=Ne(Js);var qie=ji,Kie=Js,Gie="[object AsyncFunction]",Yie="[object Function]",Xie="[object GeneratorFunction]",Jie="[object Proxy]";function Qie(e){if(!Kie(e))return!1;var t=qie(e);return t==Yie||t==Xie||t==Gie||t==Jie}var Ik=Qie;const fTe=Ne(Ik);var Zie=ti,ese=Zie["__core-js_shared__"],tse=ese,e1=tse,yR=function(){var e=/[^.]+$/.exec(e1&&e1.keys&&e1.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function nse(e){return!!yR&&yR in e}var rse=nse,ose=Function.prototype,ise=ose.toString;function sse(e){if(e!=null){try{return ise.call(e)}catch{}try{return e+""}catch{}}return""}var q5=sse,ase=Ik,lse=rse,use=Js,cse=q5,dse=/[\\^$.*+?()[\]{}|]/g,fse=/^\[object .+?Constructor\]$/,hse=Function.prototype,pse=Object.prototype,mse=hse.toString,gse=pse.hasOwnProperty,yse=RegExp("^"+mse.call(gse).replace(dse,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function vse(e){if(!use(e)||lse(e))return!1;var t=ase(e)?yse:fse;return t.test(cse(e))}var wse=vse;function bse(e,t){return e==null?void 0:e[t]}var Sse=bse,xse=wse,kse=Sse;function Ese(e,t){var n=kse(e,t);return xse(n)?n:void 0}var dl=Ese,_se=dl,Cse=_se(Object,"create"),Fy=Cse,vR=Fy;function Tse(){this.__data__=vR?vR(null):{},this.size=0}var Ase=Tse;function Pse(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Rse=Pse,Ose=Fy,Mse="__lodash_hash_undefined__",Ise=Object.prototype,Dse=Ise.hasOwnProperty;function Lse(e){var t=this.__data__;if(Ose){var n=t[e];return n===Mse?void 0:n}return Dse.call(t,e)?t[e]:void 0}
vendor: 9,750 bytes, lines 1182-1190
1182var $se=Lse,Nse=Fy,jse=Object.prototype,Fse=jse.hasOwnProperty;function Bse(e){var t=this.__data__;return Nse?t[e]!==void 0:Fse.call(t,e)}var Use=Bse,zse=Fy,Vse="__lodash_hash_undefined__";function Hse(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=zse&&t===void 0?Vse:t,this}var Wse=Hse,qse=Ase,Kse=Rse,Gse=$se,Yse=Use,Xse=Wse;function cc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}cc.prototype.clear=qse;cc.prototype.delete=Kse;cc.prototype.get=Gse;cc.prototype.has=Yse;cc.prototype.set=Xse;var Jse=cc;function Qse(){this.__data__=[],this.size=0}var Zse=Qse;function eae(e,t){return e===t||e!==e&&t!==t}var Dk=eae,tae=Dk;function nae(e,t){for(var n=e.length;n--;)if(tae(e[n][0],t))return n;return-1}var By=nae,rae=By,oae=Array.prototype,iae=oae.splice;function sae(e){var t=this.__data__,n=rae(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():iae.call(t,n,1),--this.size,!0}var aae=sae,lae=By;function uae(e){var t=this.__data__,n=lae(t,e);return n<0?void 0:t[n][1]}var cae=uae,dae=By;function fae(e){return dae(this.__data__,e)>-1}var hae=fae,pae=By;function mae(e,t){var n=this.__data__,r=pae(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var gae=mae,yae=Zse,vae=aae,wae=cae,bae=hae,Sae=gae;function dc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}dc.prototype.clear=yae;dc.prototype.delete=vae;dc.prototype.get=wae;dc.prototype.has=bae;dc.prototype.set=Sae;var Uy=dc,xae=dl,kae=ti,Eae=xae(kae,"Map"),Lk=Eae,wR=Jse,_ae=Uy,Cae=Lk;function Tae(){this.size=0,this.__data__={hash:new wR,map:new(Cae||_ae),string:new wR}}var Aae=Tae;function Pae(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Rae=Pae,Oae=Rae;function Mae(e,t){var n=e.__data__;return Oae(t)?n[typeof t=="string"?"string":"hash"]:n.map}var zy=Mae,Iae=zy;function Dae(e){var t=Iae(this,e).delete(e);return this.size-=t?1:0,t}var Lae=Dae,$ae=zy;function Nae(e){return $ae(this,e).get(e)}var jae=Nae,Fae=zy;function Bae(e){return Fae(this,e).has(e)}var Uae=Bae,zae=zy;function Vae(e,t){var n=zae(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Hae=Vae,Wae=Aae,qae=Lae,Kae=jae,Gae=Uae,Yae=Hae;function fc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}fc.prototype.clear=Wae;fc.prototype.delete=qae;fc.prototype.get=Kae;fc.prototype.has=Gae;fc.prototype.set=Yae;var $k=fc,K5=$k,Xae="Expected a function";function Nk(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Xae);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(Nk.Cache||K5),n}Nk.Cache=K5;var G5=Nk;const hTe=Ne(G5);var Jae=G5,Qae=500;function Zae(e){var t=Jae(e,function(r){return n.size===Qae&&n.clear(),r}),n=t.cache;return t}var ele=Zae,tle=ele,nle=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rle=/\\(\\)?/g,ole=tle(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(nle,function(n,r,o,i){t.push(o?i.replace(rle,"$1"):r||n)}),t}),ile=ole;function sle(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var jk=sle,bR=Qf,ale=jk,lle=er,ule=uc,SR=bR?bR.prototype:void 0,xR=SR?SR.toString:void 0;function Y5(e){if(typeof e=="string")return e;if(lle(e))return ale(e,Y5)+"";if(ule(e))return xR?xR.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var cle=Y5,dle=cle;function fle(e){return e==null?"":dle(e)}var X5=fle,hle=er,ple=Mk,mle=ile,gle=X5;function yle(e,t){return hle(e)?e:ple(e,t)?[e]:mle(gle(e))}var J5=yle,vle=uc;function wle(e){if(typeof e=="string"||vle(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var Vy=wle,ble=J5,Sle=Vy;function xle(e,t){t=ble(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Sle(t[n++])];return n&&n==r?e:void 0}var Fk=xle,kle=Fk;function Ele(e,t,n){var r=e==null?void 0:kle(e,t);return r===void 0?n:r}var Q5=Ele;const pTe=Ne(Q5);function _le(e){return e==null}var Cle=_le;const mTe=Ne(Cle);var Tle=ji,Ale=er,Ple=Fi,Rle="[object String]";function Ole(e){return typeof e=="string"||!Ale(e)&&Ple(e)&&Tle(e)==Rle}var Mle=Ole;const gTe=Ne(Mle);var Z5={exports:{}},Ye={};/**
1183 * @license React
1184 * react-is.production.min.js
1185 *
1186 * Copyright (c) Facebook, Inc. and its affiliates.
1187 *
1188 * This source code is licensed under the MIT license found in the
1189 * LICENSE file in the root directory of this source tree.
1190 */var Bk=Symbol.for("react.element"),Uk=Symbol.for("react.portal"),Hy=Symbol.for("react.fragment"),Wy=Symbol.for("react.strict_mode"),qy=Symbol.for("react.profiler"),Ky=Symbol.for("react.provider"),Gy=Symbol.for("react.context"),Ile=Symbol.for("react.server_context"),Yy=Symbol.for("react.forward_ref"),Xy=Symbol.for("react.suspense"),Jy=Symbol.for("react.suspense_list"),Qy=Symbol.for("react.memo"),Zy=Symbol.for("react.lazy"),Dle=Symbol.for("react.offscreen"),ej;ej=Symbol.for("react.module.reference");function qr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Bk:switch(e=e.type,e){case Hy:case qy:case Wy:case Xy:case Jy:return e;default:switch(e=e&&e.$$typeof,e){case Ile:case Gy:case Yy:case Zy:case Qy:case Ky:return e;default:return t}}case Uk:return t}}}Ye.ContextConsumer=Gy;Ye.ContextProvider=Ky;Ye.Element=Bk;Ye.ForwardRef=Yy;Ye.Fragment=Hy;Ye.Lazy=Zy;Ye.Memo=Qy;Ye.Portal=Uk;Ye.Profiler=qy;Ye.StrictMode=Wy;Ye.Suspense=Xy;Ye.SuspenseList=Jy;Ye.isAsyncMode=function(){return!1};Ye.isConcurrentMode=function(){return!1};Ye.isContextConsumer=function(e){return qr(e)===Gy};Ye.isContextProvider=function(e){return qr(e)===Ky};Ye.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Bk};Ye.isForwardRef=function(e){return qr(e)===Yy};Ye.isFragment=function(e){return qr(e)===Hy};Ye.isLazy=function(e){return qr(e)===Zy};Ye.isMemo=function(e){return qr(e)===Qy};Ye.isPortal=function(e){return qr(e)===Uk};Ye.isProfiler=function(e){return qr(e)===qy};Ye.isStrictMode=function(e){return qr(e)===Wy};Ye.isSuspense=function(e){return qr(e)===Xy};Ye.isSuspenseList=function(e){return qr(e)===Jy};Ye.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Hy||e===qy||e===Wy||e===Xy||e===Jy||e===Dle||typeof e=="object"&&e!==null&&(e.$$typeof===Zy||e.$$typeof===Qy||e.$$typeof===Ky||e.$$typeof===Gy||e.$$typeof===Yy||e.$$typeof===ej||e.getModuleId!==void 0)};Ye.typeOf=qr;Z5.exports=Ye;var yTe=Z5.exports,Lle=ji,$le=Fi,Nle="[object Number]";function jle(e){return typeof e=="number"||$le(e)&&Lle(e)==Nle}var tj=jle;const vTe=Ne(tj);var Fle=tj;function Ble(e){return Fle(e)&&e!=+e}var Ule=Ble;const wTe=Ne(Ule);function zle(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}var Vle=zle,Hle=Vle;function Wle(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:Hle(e,t,n)}var qle=Wle,Kle="\\ud800-\\udfff",Gle="\\u0300-\\u036f",Yle="\\ufe20-\\ufe2f",Xle="\\u20d0-\\u20ff",Jle=Gle+Yle+Xle,Qle="\\ufe0e\\ufe0f",Zle="\\u200d",eue=RegExp("["+Zle+Kle+Jle+Qle+"]");function tue(e){return eue.test(e)}var nj=tue;function nue(e){return e.split("")}var rue=nue,rj="\\ud800-\\udfff",oue="\\u0300-\\u036f",iue="\\ufe20-\\ufe2f",sue="\\u20d0-\\u20ff",aue=oue+iue+sue,lue="\\ufe0e\\ufe0f",uue="["+rj+"]",nS="["+aue+"]",rS="\\ud83c[\\udffb-\\udfff]",cue="(?:"+nS+"|"+rS+")",oj="[^"+rj+"]",ij="(?:\\ud83c[\\udde6-\\uddff]){2}",sj="[\\ud800-\\udbff][\\udc00-\\udfff]",due="\\u200d",aj=cue+"?",lj="["+lue+"]?",fue="(?:"+due+"(?:"+[oj,ij,sj].join("|")+")"+lj+aj+")*",hue=lj+aj+fue,pue="(?:"+[oj+nS+"?",nS,ij,sj,uue].join("|")+")",mue=RegExp(rS+"(?="+rS+")|"+pue+hue,"g");function gue(e){return e.match(mue)||[]}var yue=gue,vue=rue,wue=nj,bue=yue;function Sue(e){return wue(e)?bue(e):vue(e)}var xue=Sue,kue=qle,Eue=nj,_ue=xue,Cue=X5;function Tue(e){return function(t){t=Cue(t);var n=Eue(t)?_ue(t):void 0,r=n?n[0]:t.charAt(0),o=n?kue(n,1).join(""):t.slice(1);return r[e]()+o}}var Aue=Tue,Pue=Aue,Rue=Pue("toUpperCase"),Oue=Rue;const bTe=Ne(Oue);var Mue=Uy;function Iue(){this.__data__=new Mue,this.size=0}var Due=Iue;function Lue(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var $ue=Lue;function Nue(e){return this.__data__.get(e)}var jue=Nue;function Fue(e){return this.__data__.has(e)}var Bue=Fue,Uue=Uy,zue=Lk,Vue=$k,Hue=200;function Wue(e,t){var n=this.__data__;if(n instanceof Uue){var r=n.__data__;if(!zue||r.length<Hue-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Vue(r)}return n.set(e,t),this.size=n.size,this}var que=Wue,Kue=Uy,Gue=Due,Yue=$ue,Xue=jue,Jue=Bue,Que=que;function hc(e){var t=this.__data__=new Kue(e);this.size=t.size}hc.prototype.clear=Gue;hc.prototype.delete=Yue;hc.prototype.get=Xue;hc.prototype.has=Jue;hc.prototype.set=Que;var uj=hc,Zue="__lodash_hash_undefined__";function ece(e){return this.__data__.set(e,Zue),this}var tce=ece;function nce(e){return this.__data__.has(e)}var rce=nce,oce=$k,ice=tce,sce=rce;function rg(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new oce;++t<n;)this.add(e[t])}rg.prototype.add=rg.prototype.push=ice;rg.prototype.has=sce;var cj=rg;function ace(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var dj=ace;function lce(e,t){return e.has(t)}var fj=lce,uce=cj,cce=dj,dce=fj,fce=1,hce=2;function pce(e,t,n,r,o,i){var s=n&fce,a=e.length,l=t.length;if(a!=l&&!(s&&l>a))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var d=-1,f=!0,h=n&hce?new uce:void 0;for(i.set(e,t),i.set(t,e);++d<a;){var g=e[d],p=t[d];if(r)var m=s?r(p,g,d,t,e,i):r(g,p,d,e,t,i);if(m!==void 0){if(m)continue;f=!1;break}
vendor: 6,909 bytes, line 1190
1190if(h){if(!cce(t,function(y,v){if(!dce(h,v)&&(g===y||o(g,y,n,r,i)))return h.push(v)})){f=!1;break}}else if(!(g===p||o(g,p,n,r,i))){f=!1;break}}return i.delete(e),i.delete(t),f}var hj=pce,mce=ti,gce=mce.Uint8Array,yce=gce;function vce(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}var wce=vce;function bce(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var zk=bce,kR=Qf,ER=yce,Sce=Dk,xce=hj,kce=wce,Ece=zk,_ce=1,Cce=2,Tce="[object Boolean]",Ace="[object Date]",Pce="[object Error]",Rce="[object Map]",Oce="[object Number]",Mce="[object RegExp]",Ice="[object Set]",Dce="[object String]",Lce="[object Symbol]",$ce="[object ArrayBuffer]",Nce="[object DataView]",_R=kR?kR.prototype:void 0,t1=_R?_R.valueOf:void 0;function jce(e,t,n,r,o,i,s){switch(n){case Nce:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case $ce:return!(e.byteLength!=t.byteLength||!i(new ER(e),new ER(t)));case Tce:case Ace:case Oce:return Sce(+e,+t);case Pce:return e.name==t.name&&e.message==t.message;case Mce:case Dce:return e==t+"";case Rce:var a=kce;case Ice:var l=r&_ce;if(a||(a=Ece),e.size!=t.size&&!l)return!1;var u=s.get(e);if(u)return u==t;r|=Cce,s.set(e,t);var c=xce(a(e),a(t),r,o,i,s);return s.delete(e),c;case Lce:if(t1)return t1.call(e)==t1.call(t)}return!1}var Fce=jce;function Bce(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var pj=Bce,Uce=pj,zce=er;function Vce(e,t,n){var r=t(e);return zce(e)?r:Uce(r,n(e))}var Hce=Vce;function Wce(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}var qce=Wce;function Kce(){return[]}var Gce=Kce,Yce=qce,Xce=Gce,Jce=Object.prototype,Qce=Jce.propertyIsEnumerable,CR=Object.getOwnPropertySymbols,Zce=CR?function(e){return e==null?[]:(e=Object(e),Yce(CR(e),function(t){return Qce.call(e,t)}))}:Xce,ede=Zce;function tde(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var nde=tde,rde=ji,ode=Fi,ide="[object Arguments]";function sde(e){return ode(e)&&rde(e)==ide}var ade=sde,TR=ade,lde=Fi,mj=Object.prototype,ude=mj.hasOwnProperty,cde=mj.propertyIsEnumerable,dde=TR(function(){return arguments}())?TR:function(e){return lde(e)&&ude.call(e,"callee")&&!cde.call(e,"callee")},Vk=dde,og={exports:{}};function fde(){return!1}var hde=fde;og.exports;(function(e,t){var n=ti,r=hde,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,a=s?n.Buffer:void 0,l=a?a.isBuffer:void 0,u=l||r;e.exports=u})(og,og.exports);var gj=og.exports,pde=9007199254740991,mde=/^(?:0|[1-9]\d*)$/;function gde(e,t){var n=typeof e;return t=t??pde,!!t&&(n=="number"||n!="symbol"&&mde.test(e))&&e>-1&&e%1==0&&e<t}var Hk=gde,yde=9007199254740991;function vde(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=yde}var Wk=vde,wde=ji,bde=Wk,Sde=Fi,xde="[object Arguments]",kde="[object Array]",Ede="[object Boolean]",_de="[object Date]",Cde="[object Error]",Tde="[object Function]",Ade="[object Map]",Pde="[object Number]",Rde="[object Object]",Ode="[object RegExp]",Mde="[object Set]",Ide="[object String]",Dde="[object WeakMap]",Lde="[object ArrayBuffer]",$de="[object DataView]",Nde="[object Float32Array]",jde="[object Float64Array]",Fde="[object Int8Array]",Bde="[object Int16Array]",Ude="[object Int32Array]",zde="[object Uint8Array]",Vde="[object Uint8ClampedArray]",Hde="[object Uint16Array]",Wde="[object Uint32Array]",ut={};ut[Nde]=ut[jde]=ut[Fde]=ut[Bde]=ut[Ude]=ut[zde]=ut[Vde]=ut[Hde]=ut[Wde]=!0;ut[xde]=ut[kde]=ut[Lde]=ut[Ede]=ut[$de]=ut[_de]=ut[Cde]=ut[Tde]=ut[Ade]=ut[Pde]=ut[Rde]=ut[Ode]=ut[Mde]=ut[Ide]=ut[Dde]=!1;function qde(e){return Sde(e)&&bde(e.length)&&!!ut[wde(e)]}var Kde=qde;function Gde(e){return function(t){return e(t)}}var yj=Gde,ig={exports:{}};ig.exports;(function(e,t){var n=H5,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===r,s=i&&n.process,a=function(){try{var l=o&&o.require&&o.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}}();e.exports=a})(ig,ig.exports);var Yde=ig.exports,Xde=Kde,Jde=yj,AR=Yde,PR=AR&&AR.isTypedArray,Qde=PR?Jde(PR):Xde,vj=Qde,Zde=nde,efe=Vk,tfe=er,nfe=gj,rfe=Hk,ofe=vj,ife=Object.prototype,sfe=ife.hasOwnProperty;function afe(e,t){var n=tfe(e),r=!n&&efe(e),o=!n&&!r&&nfe(e),i=!n&&!r&&!o&&ofe(e),s=n||r||o||i,a=s?Zde(e.length,String):[],l=a.length;for(var u in e)(t||sfe.call(e,u))&&!(s&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||rfe(u,l)))&&a.push(u);return a}var lfe=afe,ufe=Object.prototype;function cfe(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||ufe;return e===n}var dfe=cfe;function ffe(e,t){return function(n){return e(t(n))}}var wj=ffe,hfe=wj,pfe=hfe(Object.keys,Object),mfe=pfe,gfe=dfe,yfe=mfe,vfe=Object.prototype,wfe=vfe.hasOwnProperty;function bfe(e){if(!gfe(e))return yfe(e);var t=[];for(var n in Object(e))wfe.call(e,n)&&n!="constructor"&&t.push(n);return t}var Sfe=bfe,xfe=Ik,kfe=Wk;function Efe(e){return e!=null&&kfe(e.length)&&!xfe(e)}var Zf=Efe,_fe=lfe,Cfe=Sfe,Tfe=Zf;function Afe(e){return Tfe(e)?_fe(e):Cfe(e)}var ev=Afe,Pfe=Hce,Rfe=ede,Ofe=ev;function Mfe(e){return Pfe(e,Ofe,Rfe)}var Ife=Mfe,RR=Ife,Dfe=1,Lfe=Object.prototype,$fe=Lfe.hasOwnProperty;function Nfe(e,t,n,r,o,i){var s=n&Dfe,a=RR(e),l=a.length,u=RR(t),c=u.length;if(l!=c&&!s)return!1;for(var d=l;d--;){var f=a[d];if(!(s?f in t:$fe.call(t,f)))return!1}var h=i.get(e),g=i.get(t);if(h&&g)return h==t&&g==e;var p=!0;i.set(e,t),i.set(t,e);for(var m=s;++d<l;){f=a[d];var y=e[f],v=t[f];if(r)var w=s?r(v,y,f,t,e,i):r(y,v,f,e,t,i);if(!(w===void 0?y===v||o(y,v,n,r,i):w)){p=!1;break}m||(m=f=="constructor")}if(p&&!m){var S=e.constructor,x=t.constructor;S!=x&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof x=="function"&&x instanceof x)&&(p=!1)}return i.delete(e),i.delete(t),p}var jfe=Nfe,Ffe=dl,Bfe=ti,Ufe=Ffe(Bfe,"DataView"),zfe=Ufe,Vfe=dl,Hfe=ti,Wfe=Vfe(Hfe,"Promise"),qfe=Wfe,Kfe=dl,Gfe=ti,Yfe=Kfe(Gfe,"Set"),bj=Yfe,Xfe=dl,Jfe=ti,Qfe=Xfe(Jfe,"WeakMap"),Zfe=Qfe,oS=zfe,iS=Lk,sS=qfe,aS=bj,lS=Zfe,Sj=ji,pc=q5,OR="[object Map]",ehe="[object Object]",MR="[object Promise]",IR="[object Set]",DR="[object WeakMap]",LR="[object DataView]",the=pc(oS),nhe=pc(iS),rhe=pc(sS),ohe=pc(aS),ihe=pc(lS),ha=Sj;(oS&&ha(new oS(new ArrayBuffer(1)))!=LR||iS&&ha(new iS)!=OR||sS&&ha(sS.resolve())!=MR||aS&&ha(new aS)!=IR||lS&&ha(new lS)!=DR)&&(ha=function(e){var t=Sj(e),n=t==ehe?e.constructor:void 0,r=n?pc(n):"";if(r)switch(r){case the:return LR;case nhe:return OR;case rhe:return MR;case ohe:return IR;case ihe:return DR}return t});var she=ha,n1=uj,ahe=hj,lhe=Fce,uhe=jfe,$R=she,NR=er,jR=gj,che=vj,dhe=1,FR="[object Arguments]",BR="[object Array]",rp="[object Object]",fhe=Object.prototype,UR=fhe.hasOwnProperty;function hhe(e,t,n,r,o,i){var s=NR(e),a=NR(t),l=s?BR:$R(e),u=a?BR:$R(t);l=l==FR?rp:l,u=u==FR?rp:u;var c=l==rp,d=u==rp,f=l==u;if(f&&jR(e)){if(!jR(t))return!1;s=!0,c=!1}
vendor: 4,559 bytes, line 1190
1190if(f&&!c)return i||(i=new n1),s||che(e)?ahe(e,t,n,r,o,i):lhe(e,t,l,n,r,o,i);if(!(n&dhe)){var h=c&&UR.call(e,"__wrapped__"),g=d&&UR.call(t,"__wrapped__");if(h||g){var p=h?e.value():e,m=g?t.value():t;return i||(i=new n1),o(p,m,n,r,i)}}return f?(i||(i=new n1),uhe(e,t,n,r,o,i)):!1}var phe=hhe,mhe=phe,zR=Fi;function xj(e,t,n,r,o){return e===t?!0:e==null||t==null||!zR(e)&&!zR(t)?e!==e&&t!==t:mhe(e,t,n,r,xj,o)}var qk=xj,ghe=uj,yhe=qk,vhe=1,whe=2;function bhe(e,t,n,r){var o=n.length,i=o,s=!r;if(e==null)return!i;for(e=Object(e);o--;){var a=n[o];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){a=n[o];var l=a[0],u=e[l],c=a[1];if(s&&a[2]){if(u===void 0&&!(l in e))return!1}else{var d=new ghe;if(r)var f=r(u,c,l,e,t,d);if(!(f===void 0?yhe(c,u,vhe|whe,r,d):f))return!1}}return!0}var She=bhe,xhe=Js;function khe(e){return e===e&&!xhe(e)}var kj=khe,Ehe=kj,_he=ev;function Che(e){for(var t=_he(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ehe(o)]}return t}var The=Che;function Ahe(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var Ej=Ahe,Phe=She,Rhe=The,Ohe=Ej;function Mhe(e){var t=Rhe(e);return t.length==1&&t[0][2]?Ohe(t[0][0],t[0][1]):function(n){return n===e||Phe(n,e,t)}}var Ihe=Mhe;function Dhe(e,t){return e!=null&&t in Object(e)}var Lhe=Dhe,$he=J5,Nhe=Vk,jhe=er,Fhe=Hk,Bhe=Wk,Uhe=Vy;function zhe(e,t,n){t=$he(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var s=Uhe(t[r]);if(!(i=e!=null&&n(e,s)))break;e=e[s]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&Bhe(o)&&Fhe(s,o)&&(jhe(e)||Nhe(e)))}var Vhe=zhe,Hhe=Lhe,Whe=Vhe;function qhe(e,t){return e!=null&&Whe(e,t,Hhe)}var Khe=qhe,Ghe=qk,Yhe=Q5,Xhe=Khe,Jhe=Mk,Qhe=kj,Zhe=Ej,epe=Vy,tpe=1,npe=2;function rpe(e,t){return Jhe(e)&&Qhe(t)?Zhe(epe(e),t):function(n){var r=Yhe(n,e);return r===void 0&&r===t?Xhe(n,e):Ghe(t,r,tpe|npe)}}var ope=rpe;function ipe(e){return e}var mc=ipe;function spe(e){return function(t){return t==null?void 0:t[e]}}var ape=spe,lpe=Fk;function upe(e){return function(t){return lpe(t,e)}}var cpe=upe,dpe=ape,fpe=cpe,hpe=Mk,ppe=Vy;function mpe(e){return hpe(e)?dpe(ppe(e)):fpe(e)}var gpe=mpe,ype=Ihe,vpe=ope,wpe=mc,bpe=er,Spe=gpe;function xpe(e){return typeof e=="function"?e:e==null?wpe:typeof e=="object"?bpe(e)?vpe(e[0],e[1]):ype(e):Spe(e)}var ni=xpe;function kpe(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}var _j=kpe;function Epe(e){return e!==e}var _pe=Epe;function Cpe(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var Tpe=Cpe,Ape=_j,Ppe=_pe,Rpe=Tpe;function Ope(e,t,n){return t===t?Rpe(e,t,n):Ape(e,Ppe,n)}var Mpe=Ope,Ipe=Mpe;function Dpe(e,t){var n=e==null?0:e.length;return!!n&&Ipe(e,t,0)>-1}var Lpe=Dpe;function $pe(e,t,n){for(var r=-1,o=e==null?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}var Npe=$pe;function jpe(){}var Fpe=jpe,r1=bj,Bpe=Fpe,Upe=zk,zpe=1/0,Vpe=r1&&1/Upe(new r1([,-0]))[1]==zpe?function(e){return new r1(e)}:Bpe,Hpe=Vpe,Wpe=cj,qpe=Lpe,Kpe=Npe,Gpe=fj,Ype=Hpe,Xpe=zk,Jpe=200;function Qpe(e,t,n){var r=-1,o=qpe,i=e.length,s=!0,a=[],l=a;if(n)s=!1,o=Kpe;else if(i>=Jpe){var u=t?null:Ype(e);if(u)return Xpe(u);s=!1,o=Gpe,l=new Wpe}else l=t?[]:a;e:for(;++r<i;){var c=e[r],d=t?t(c):c;if(c=n||c!==0?c:0,s&&d===d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),a.push(c)}else o(l,d,n)||(l!==a&&l.push(d),a.push(c))}return a}var Zpe=Qpe,eme=ni,tme=Zpe;function nme(e,t){return e&&e.length?tme(e,eme(t)):[]}var rme=nme;const STe=Ne(rme);var VR=Qf,ome=Vk,ime=er,HR=VR?VR.isConcatSpreadable:void 0;function sme(e){return ime(e)||ome(e)||!!(HR&&e&&e[HR])}var ame=sme,lme=pj,ume=ame;function Cj(e,t,n,r,o){var i=-1,s=e.length;for(n||(n=ume),o||(o=[]);++i<s;){var a=e[i];t>0&&n(a)?t>1?Cj(a,t-1,n,r,o):lme(o,a):r||(o[o.length]=a)}return o}var Tj=Cj;function cme(e){return function(t,n,r){for(var o=-1,i=Object(t),s=r(t),a=s.length;a--;){var l=s[e?a:++o];if(n(i[l],l,i)===!1)break}return t}}var dme=cme,fme=dme,hme=fme(),pme=hme,mme=pme,gme=ev;function yme(e,t){return e&&mme(e,t,gme)}var Aj=yme,vme=Zf;function wme(e,t){return function(n,r){if(n==null)return n;if(!vme(n))return e(n,r);for(var o=n.length,i=t?o:-1,s=Object(n);(t?i--:++i<o)&&r(s[i],i,s)!==!1;);return n}}var bme=wme,Sme=Aj,xme=bme,kme=xme(Sme),Kk=kme,Eme=Kk,_me=Zf;function Cme(e,t){var n=-1,r=_me(e)?Array(e.length):[];return Eme(e,function(o,i,s){r[++n]=t(o,i,s)}),r}var Pj=Cme;function Tme(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}var Ame=Tme,WR=uc;function Pme(e,t){if(e!==t){var n=e!==void 0,r=e===null,o=e===e,i=WR(e),s=t!==void 0,a=t===null,l=t===t,u=WR(t);
vendor: 5,405 bytes, line 1190
1190if(!a&&!u&&!i&&e>t||i&&s&&l&&!a&&!u||r&&s&&l||!n&&l||!o)return 1;if(!r&&!i&&!u&&e<t||u&&n&&o&&!r&&!i||a&&n&&o||!s&&o||!l)return-1}return 0}var Rme=Pme,Ome=Rme;function Mme(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,s=o.length,a=n.length;++r<s;){var l=Ome(o[r],i[r]);if(l){if(r>=a)return l;var u=n[r];return l*(u=="desc"?-1:1)}}return e.index-t.index}var Ime=Mme,o1=jk,Dme=Fk,Lme=ni,$me=Pj,Nme=Ame,jme=yj,Fme=Ime,Bme=mc,Ume=er;function zme(e,t,n){t.length?t=o1(t,function(i){return Ume(i)?function(s){return Dme(s,i.length===1?i[0]:i)}:i}):t=[Bme];var r=-1;t=o1(t,jme(Lme));var o=$me(e,function(i,s,a){var l=o1(t,function(u){return u(i)});return{criteria:l,index:++r,value:i}});return Nme(o,function(i,s){return Fme(i,s,n)})}var Vme=zme;function Hme(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Wme=Hme,qme=Wme,qR=Math.max;function Kme(e,t,n){return t=qR(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=qR(r.length-t,0),s=Array(i);++o<i;)s[o]=r[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=r[o];return a[t]=n(s),qme(e,this,a)}}var Gme=Kme;function Yme(e){return function(){return e}}var Xme=Yme,Jme=dl,Qme=function(){try{var e=Jme(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Rj=Qme,Zme=Xme,KR=Rj,ege=mc,tge=KR?function(e,t){return KR(e,"toString",{configurable:!0,enumerable:!1,value:Zme(t),writable:!0})}:ege,nge=tge,rge=800,oge=16,ige=Date.now;function sge(e){var t=0,n=0;return function(){var r=ige(),o=oge-(r-n);if(n=r,o>0){if(++t>=rge)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var age=sge,lge=nge,uge=age,cge=uge(lge),dge=cge,fge=mc,hge=Gme,pge=dge;function mge(e,t){return pge(hge(e,t,fge),e+"")}var gge=mge,yge=Dk,vge=Zf,wge=Hk,bge=Js;function Sge(e,t,n){if(!bge(n))return!1;var r=typeof t;return(r=="number"?vge(n)&&wge(t,n.length):r=="string"&&t in n)?yge(n[t],e):!1}var tv=Sge,xge=Tj,kge=Vme,Ege=gge,GR=tv,_ge=Ege(function(e,t){if(e==null)return[];var n=t.length;return n>1&&GR(e,t[0],t[1])?t=[]:n>2&&GR(t[0],t[1],t[2])&&(t=[t[0]]),kge(e,xge(t,1),[])}),Cge=_ge;const xTe=Ne(Cge);var Tge=ti,Age=function(){return Tge.Date.now()},Pge=Age,Rge=/\s/;function Oge(e){for(var t=e.length;t--&&Rge.test(e.charAt(t)););return t}var Mge=Oge,Ige=Mge,Dge=/^\s+/;function Lge(e){return e&&e.slice(0,Ige(e)+1).replace(Dge,"")}var $ge=Lge,Nge=$ge,YR=Js,jge=uc,XR=NaN,Fge=/^[-+]0x[0-9a-f]+$/i,Bge=/^0b[01]+$/i,Uge=/^0o[0-7]+$/i,zge=parseInt;function Vge(e){if(typeof e=="number")return e;if(jge(e))return XR;if(YR(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=YR(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Nge(e);var n=Bge.test(e);return n||Uge.test(e)?zge(e.slice(2),n?2:8):Fge.test(e)?XR:+e}var Oj=Vge,Hge=Js,i1=Pge,JR=Oj,Wge="Expected a function",qge=Math.max,Kge=Math.min;function Gge(e,t,n){var r,o,i,s,a,l,u=0,c=!1,d=!1,f=!0;if(typeof e!="function")throw new TypeError(Wge);t=JR(t)||0,Hge(n)&&(c=!!n.leading,d="maxWait"in n,i=d?qge(JR(n.maxWait)||0,t):i,f="trailing"in n?!!n.trailing:f);function h(k){var _=r,A=o;return r=o=void 0,u=k,s=e.apply(A,_),s}function g(k){return u=k,a=setTimeout(y,t),c?h(k):s}function p(k){var _=k-l,A=k-u,M=t-_;return d?Kge(M,i-A):M}function m(k){var _=k-l,A=k-u;return l===void 0||_>=t||_<0||d&&A>=i}function y(){var k=i1();if(m(k))return v(k);a=setTimeout(y,p(k))}function v(k){return a=void 0,f&&r?h(k):(r=o=void 0,s)}function w(){a!==void 0&&clearTimeout(a),u=0,r=l=o=a=void 0}function S(){return a===void 0?s:v(i1())}function x(){var k=i1(),_=m(k);if(r=arguments,o=this,l=k,_){if(a===void 0)return g(l);if(d)return clearTimeout(a),a=setTimeout(y,t),h(l)}return a===void 0&&(a=setTimeout(y,t)),s}return x.cancel=w,x.flush=S,x}var Yge=Gge,Xge=Yge,Jge=Js,Qge="Expected a function";function Zge(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(Qge);return Jge(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Xge(e,t,{leading:r,maxWait:t,trailing:o})}var eye=Zge;const kTe=Ne(eye);class ETe extends Map{constructor(t,n=rye){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,o]of t)this.set(r,o)}get(t){return super.get(QR(this,t))}has(t){return super.has(QR(this,t))}set(t,n){return super.set(tye(this,t),n)}delete(t){return super.delete(nye(this,t))}}function QR({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function tye({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function nye({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function rye(e){return e!==null&&typeof e=="object"?e.valueOf():e}var oye=uc;function iye(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],s=t(i);if(s!=null&&(a===void 0?s===s&&!oye(s):n(s,a)))var a=s,l=i}return l}var nv=iye;function sye(e,t){return e>t}var Mj=sye,aye=nv,lye=Mj,uye=mc;function cye(e){return e&&e.length?aye(e,uye,lye):void 0}var dye=cye;const _Te=Ne(dye);function fye(e,t){return e<t}var Ij=fye,hye=nv,pye=Ij,mye=mc;function gye(e){return e&&e.length?hye(e,mye,pye):void 0}var yye=gye;const CTe=Ne(yye);var vye=jk,wye=ni,bye=Pj,Sye=er;function xye(e,t){var n=Sye(e)?vye:bye;return n(e,wye(t))}var kye=xye,Eye=Tj,_ye=kye;function Cye(e,t){return Eye(_ye(e,t),1)}var Tye=Cye;const TTe=Ne(Tye);var Aye=qk;function Pye(e,t){return Aye(e,t)}var Rye=Pye;const ATe=Ne(Rye);
vendor: 41,351 bytes, lines 1190-1196
1190var gc=1e9,Oye={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},Yk,mt=!0,Hr="[DecimalError] ",Wa=Hr+"Invalid argument: ",Gk=Hr+"Exponent out of range: ",yc=Math.floor,pa=Math.pow,Mye=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,yr,Kt=1e7,dt=7,Dj=9007199254740991,sg=yc(Dj/dt),fe={};fe.absoluteValue=fe.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};fe.comparedTo=fe.cmp=function(e){var t,n,r,o,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e>e.e^i.s<0?1:-1;for(r=i.d.length,o=e.d.length,t=0,n=r<o?r:o;t<n;++t)if(i.d[t]!==e.d[t])return i.d[t]>e.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1};fe.decimalPlaces=fe.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*dt;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n};fe.dividedBy=fe.div=function(e){return Ci(this,new this.constructor(e))};fe.dividedToIntegerBy=fe.idiv=function(e){var t=this,n=t.constructor;return Xe(Ci(t,new n(e),0,1),n.precision)};fe.equals=fe.eq=function(e){return!this.cmp(e)};fe.exponent=function(){return jt(this)};fe.greaterThan=fe.gt=function(e){return this.cmp(e)>0};fe.greaterThanOrEqualTo=fe.gte=function(e){return this.cmp(e)>=0};fe.isInteger=fe.isint=function(){return this.e>this.d.length-2};fe.isNegative=fe.isneg=function(){return this.s<0};fe.isPositive=fe.ispos=function(){return this.s>0};fe.isZero=function(){return this.s===0};fe.lessThan=fe.lt=function(e){return this.cmp(e)<0};fe.lessThanOrEqualTo=fe.lte=function(e){return this.cmp(e)<1};fe.logarithm=fe.log=function(e){var t,n=this,r=n.constructor,o=r.precision,i=o+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(yr))throw Error(Hr+"NaN");if(n.s<1)throw Error(Hr+(n.s?"NaN":"-Infinity"));return n.eq(yr)?new r(0):(mt=!1,t=Ci(Af(n,i),Af(e,i),i),mt=!0,Xe(t,o))};fe.minus=fe.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Nj(t,e):Lj(t,(e.s=-e.s,e))};fe.modulo=fe.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(e=new r(e),!e.s)throw Error(Hr+"NaN");return n.s?(mt=!1,t=Ci(n,e,0,1).times(e),mt=!0,n.minus(t)):Xe(new r(n),o)};fe.naturalExponential=fe.exp=function(){return $j(this)};fe.naturalLogarithm=fe.ln=function(){return Af(this)};fe.negated=fe.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};fe.plus=fe.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Lj(t,e):Nj(t,(e.s=-e.s,e))};fe.precision=fe.sd=function(e){var t,n,r,o=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Wa+e);if(t=jt(o)+1,r=o.d.length-1,n=r*dt+1,r=o.d[r],r){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n};fe.squareRoot=fe.sqrt=function(){var e,t,n,r,o,i,s,a=this,l=a.constructor;if(a.s<1){if(!a.s)return new l(0);throw Error(Hr+"NaN")}for(e=jt(a),mt=!1,o=Math.sqrt(+a),o==0||o==1/0?(t=Vo(a.d),(t.length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=yc((e+1)/2)-(e<0||e%2),o==1/0?t="5e"+e:(t=o.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),r=new l(t)):r=new l(o.toString()),n=l.precision,o=s=n+3;;)if(i=r,r=i.plus(Ci(a,i,s+2)).times(.5),Vo(i.d).slice(0,s)===(t=Vo(r.d)).slice(0,s)){if(t=t.slice(s-3,s+1),o==s&&t=="4999"){if(Xe(i,n+1,0),i.times(i).eq(a)){r=i;break}}else if(t!="9999")break;s+=4}return mt=!0,Xe(r,n)};fe.times=fe.mul=function(e){var t,n,r,o,i,s,a,l,u,c=this,d=c.constructor,f=c.d,h=(e=new d(e)).d;if(!c.s||!e.s)return new d(0);for(e.s*=c.s,n=c.e+e.e,l=f.length,u=h.length,l<u&&(i=f,f=h,h=i,s=l,l=u,u=s),i=[],s=l+u,r=s;r--;)i.push(0);for(r=u;--r>=0;){for(t=0,o=l+r;o>r;)a=i[o]+h[r]*f[o-r-1]+t,i[o--]=a%Kt|0,t=a/Kt|0;i[o]=(i[o]+t)%Kt|0}for(;!i[--s];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,mt?Xe(e,d.precision):e};fe.toDecimalPlaces=fe.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),e===void 0?n:(Jo(e,0,gc),t===void 0?t=r.rounding:Jo(t,0,8),Xe(n,e+jt(n)+1,t))};fe.toExponential=function(e,t){var n,r=this,o=r.constructor;return e===void 0?n=sl(r,!0):(Jo(e,0,gc),t===void 0?t=o.rounding:Jo(t,0,8),r=Xe(new o(r),e+1,t),n=sl(r,!0,e+1)),n};fe.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return e===void 0?sl(o):(Jo(e,0,gc),t===void 0?t=i.rounding:Jo(t,0,8),r=Xe(new i(o),e+jt(o)+1,t),n=sl(r.abs(),!1,e+jt(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)};fe.toInteger=fe.toint=function(){var e=this,t=e.constructor;return Xe(new t(e),jt(e)+1,t.rounding)};fe.toNumber=function(){return+this};fe.toPower=fe.pow=function(e){var t,n,r,o,i,s,a=this,l=a.constructor,u=12,c=+(e=new l(e));if(!e.s)return new l(yr);if(a=new l(a),!a.s){if(e.s<1)throw Error(Hr+"Infinity");return a}if(a.eq(yr))return a;if(r=l.precision,e.eq(yr))return Xe(a,r);if(t=e.e,n=e.d.length-1,s=t>=n,i=a.s,s){if((n=c<0?-c:c)<=Dj){for(o=new l(yr),t=Math.ceil(r/dt+4),mt=!1;n%2&&(o=o.times(a),eO(o.d,t)),n=yc(n/2),n!==0;)a=a.times(a),eO(a.d,t);return mt=!0,e.s<0?new l(yr).div(o):Xe(o,r)}}else if(i<0)throw Error(Hr+"NaN");return i=i<0&&e.d[Math.max(t,n)]&1?-1:1,a.s=1,mt=!1,o=e.times(Af(a,r+u)),mt=!0,o=$j(o),o.s=i,o};fe.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return e===void 0?(n=jt(o),r=sl(o,n<=i.toExpNeg||n>=i.toExpPos)):(Jo(e,1,gc),t===void 0?t=i.rounding:Jo(t,0,8),o=Xe(new i(o),e,t),n=jt(o),r=sl(o,e<=n||n<=i.toExpNeg,e)),r};fe.toSignificantDigits=fe.tosd=function(e,t){var n=this,r=n.constructor;return e===void 0?(e=r.precision,t=r.rounding):(Jo(e,1,gc),t===void 0?t=r.rounding:Jo(t,0,8)),Xe(new r(n),e,t)};fe.toString=fe.valueOf=fe.val=fe.toJSON=fe[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=jt(e),n=e.constructor;return sl(e,t<=n.toExpNeg||t>=n.toExpPos)};function Lj(e,t){var n,r,o,i,s,a,l,u,c=e.constructor,d=c.precision;if(!e.s||!t.s)return t.s||(t=new c(e)),mt?Xe(t,d):t;if(l=e.d,u=t.d,s=e.e,o=t.e,l=l.slice(),i=s-o,i){for(i<0?(r=l,i=-i,a=u.length):(r=u,o=s,a=l.length),s=Math.ceil(d/dt),a=s>a?s+1:a+1,i>a&&(i=a,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for(a=l.length,i=u.length,a-i<0&&(i=a,r=u,u=l,l=r),n=0;i;)n=(l[--i]=l[i]+u[i]+n)/Kt|0,l[i]%=Kt;for(n&&(l.unshift(n),++o),a=l.length;l[--a]==0;)l.pop();return t.d=l,t.e=o,mt?Xe(t,d):t}function Jo(e,t,n){if(e!==~~e||e<t||e>n)throw Error(Wa+e)}function Vo(e){var t,n,r,o=e.length-1,i="",s=e[0];if(o>0){for(i+=s,t=1;t<o;t++)r=e[t]+"",n=dt-r.length,n&&(i+=ns(n)),i+=r;s=e[t],r=s+"",n=dt-r.length,n&&(i+=ns(n))}else if(s===0)return"0";for(;s%10===0;)s/=10;return i+s}var Ci=function(){function e(r,o){var i,s=0,a=r.length;for(r=r.slice();a--;)i=r[a]*o+s,r[a]=i%Kt|0,s=i/Kt|0;return s&&r.unshift(s),r}function t(r,o,i,s){var a,l;if(i!=s)l=i>s?1:-1;else for(a=l=0;a<i;a++)if(r[a]!=o[a]){l=r[a]>o[a]?1:-1;break}return l}function n(r,o,i){for(var s=0;i--;)r[i]-=s,s=r[i]<o[i]?1:0,r[i]=s*Kt+r[i]-o[i];for(;!r[0]&&r.length>1;)r.shift()}return function(r,o,i,s){var a,l,u,c,d,f,h,g,p,m,y,v,w,S,x,k,_,A,M=r.constructor,I=r.s==o.s?1:-1,N=r.d,L=o.d;if(!r.s)return new M(r);if(!o.s)throw Error(Hr+"Division by zero");for(l=r.e-o.e,_=L.length,x=N.length,h=new M(I),g=h.d=[],u=0;L[u]==(N[u]||0);)++u;if(L[u]>(N[u]||0)&&--l,i==null?v=i=M.precision:s?v=i+(jt(r)-jt(o))+1:v=i,v<0)return new M(0);if(v=v/dt+2|0,u=0,_==1)for(c=0,L=L[0],v++;(u<x||c)&&v--;u++)w=c*Kt+(N[u]||0),g[u]=w/L|0,c=w%L|0;else{for(c=Kt/(L[0]+1)|0,c>1&&(L=e(L,c),N=e(N,c),_=L.length,x=N.length),S=_,p=N.slice(0,_),m=p.length;m<_;)p[m++]=0;A=L.slice(),A.unshift(0),k=L[0],L[1]>=Kt/2&&++k;do c=0,a=t(L,p,_,m),a<0?(y=p[0],_!=m&&(y=y*Kt+(p[1]||0)),c=y/k|0,c>1?(c>=Kt&&(c=Kt-1),d=e(L,c),f=d.length,m=p.length,a=t(d,p,f,m),a==1&&(c--,n(d,_<f?A:L,f))):(c==0&&(a=c=1),d=L.slice()),f=d.length,f<m&&d.unshift(0),n(p,d,m),a==-1&&(m=p.length,a=t(L,p,_,m),a<1&&(c++,n(p,_<m?A:L,m))),m=p.length):a===0&&(c++,p=[0]),g[u++]=c,a&&p[0]?p[m++]=N[S]||0:(p=[N[S]],m=1);while((S++<x||p[0]!==void 0)&&v--)}return g[0]||g.shift(),h.e=l,Xe(h,s?i+jt(h)+1:i)}}();function $j(e,t){var n,r,o,i,s,a,l=0,u=0,c=e.constructor,d=c.precision;if(jt(e)>16)throw Error(Gk+jt(e));if(!e.s)return new c(yr);for(mt=!1,a=d,s=new c(.03125);e.abs().gte(.1);)e=e.times(s),u+=5;for(r=Math.log(pa(2,u))/Math.LN10*2+5|0,a+=r,n=o=i=new c(yr),c.precision=a;;){if(o=Xe(o.times(e),a),n=n.times(++l),s=i.plus(Ci(o,n,a)),Vo(s.d).slice(0,a)===Vo(i.d).slice(0,a)){for(;u--;)i=Xe(i.times(i),a);return c.precision=d,t==null?(mt=!0,Xe(i,d)):i}i=s}}function jt(e){for(var t=e.e*dt,n=e.d[0];n>=10;n/=10)t++;return t}function s1(e,t,n){if(t>e.LN10.sd())throw mt=!0,n&&(e.precision=n),Error(Hr+"LN10 precision limit exceeded");return Xe(new e(e.LN10),t)}function ns(e){for(var t="";e--;)t+="0";return t}function Af(e,t){var n,r,o,i,s,a,l,u,c,d=1,f=10,h=e,g=h.d,p=h.constructor,m=p.precision;if(h.s<1)throw Error(Hr+(h.s?"NaN":"-Infinity"));if(h.eq(yr))return new p(0);if(t==null?(mt=!1,u=m):u=t,h.eq(10))return t==null&&(mt=!0),s1(p,u);if(u+=f,p.precision=u,n=Vo(g),r=n.charAt(0),i=jt(h),Math.abs(i)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)h=h.times(e),n=Vo(h.d),r=n.charAt(0),d++;i=jt(h),r>1?(h=new p("0."+n),i++):h=new p(r+"."+n.slice(1))}else return l=s1(p,u+2,m).times(i+""),h=Af(new p(r+"."+n.slice(1)),u-f).plus(l),p.precision=m,t==null?(mt=!0,Xe(h,m)):h;for(a=s=h=Ci(h.minus(yr),h.plus(yr),u),c=Xe(h.times(h),u),o=3;;){if(s=Xe(s.times(c),u),l=a.plus(Ci(s,new p(o),u)),Vo(l.d).slice(0,u)===Vo(a.d).slice(0,u))return a=a.times(2),i!==0&&(a=a.plus(s1(p,u+2,m).times(i+""))),a=Ci(a,new p(d),u),p.precision=m,t==null?(mt=!0,Xe(a,m)):a;a=l,o+=2}}function ZR(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(o=t.length;t.charCodeAt(o-1)===48;)--o;if(t=t.slice(r,o),t){if(o-=r,n=n-r-1,e.e=yc(n/dt),e.d=[],r=(n+1)%dt,n<0&&(r+=dt),r<o){for(r&&e.d.push(+t.slice(0,r)),o-=dt;r<o;)e.d.push(+t.slice(r,r+=dt));t=t.slice(r),r=dt-t.length}else r-=o;for(;r--;)t+="0";if(e.d.push(+t),mt&&(e.e>sg||e.e<-sg))throw Error(Gk+n)}else e.s=0,e.e=0,e.d=[0];return e}function Xe(e,t,n){var r,o,i,s,a,l,u,c,d=e.d;for(s=1,i=d[0];i>=10;i/=10)s++;if(r=t-s,r<0)r+=dt,o=t,u=d[c=0];else{if(c=Math.ceil((r+1)/dt),i=d.length,c>=i)return e;for(u=i=d[c],s=1;i>=10;i/=10)s++;r%=dt,o=r-dt+s}if(n!==void 0&&(i=pa(10,s-o-1),a=u/i%10|0,l=t<0||d[c+1]!==void 0||u%i,l=n<4?(a||l)&&(n==0||n==(e.s<0?3:2)):a>5||a==5&&(n==4||l||n==6&&(r>0?o>0?u/pa(10,s-o):0:d[c-1])%10&1||n==(e.s<0?8:7))),t<1||!d[0])return l?(i=jt(e),d.length=1,t=t-i-1,d[0]=pa(10,(dt-t%dt)%dt),e.e=yc(-t/dt)||0):(d.length=1,d[0]=e.e=e.s=0),e;if(r==0?(d.length=c,i=1,c--):(d.length=c+1,i=pa(10,dt-r),d[c]=o>0?(u/pa(10,s-o)%pa(10,o)|0)*i:0),l)for(;;)if(c==0){(d[0]+=i)==Kt&&(d[0]=1,++e.e);break}else{if(d[c]+=i,d[c]!=Kt)break;d[c--]=0,i=1}for(r=d.length;d[--r]===0;)d.pop();if(mt&&(e.e>sg||e.e<-sg))throw Error(Gk+jt(e));return e}function Nj(e,t){var n,r,o,i,s,a,l,u,c,d,f=e.constructor,h=f.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new f(e),mt?Xe(t,h):t;if(l=e.d,d=t.d,r=t.e,u=e.e,l=l.slice(),s=u-r,s){for(c=s<0,c?(n=l,s=-s,a=d.length):(n=d,r=u,a=l.length),o=Math.max(Math.ceil(h/dt),a)+2,s>o&&(s=o,n.length=1),n.reverse(),o=s;o--;)n.push(0);n.reverse()}else{for(o=l.length,a=d.length,c=o<a,c&&(a=o),o=0;o<a;o++)if(l[o]!=d[o]){c=l[o]<d[o];break}s=0}for(c&&(n=l,l=d,d=n,t.s=-t.s),a=l.length,o=d.length-a;o>0;--o)l[a++]=0;for(o=d.length;o>s;){if(l[--o]<d[o]){for(i=o;i&&l[--i]===0;)l[i]=Kt-1;--l[i],l[o]+=Kt}l[o]-=d[o]}for(;l[--a]===0;)l.pop();for(;l[0]===0;l.shift())--r;return l[0]?(t.d=l,t.e=r,mt?Xe(t,h):t):new f(0)}function sl(e,t,n){var r,o=jt(e),i=Vo(e.d),s=i.length;return t?(n&&(r=n-s)>0?i=i.charAt(0)+"."+i.slice(1)+ns(r):s>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+ns(-o-1)+i,n&&(r=n-s)>0&&(i+=ns(r))):o>=s?(i+=ns(o+1-s),n&&(r=n-o-1)>0&&(i=i+"."+ns(r))):((r=o+1)<s&&(i=i.slice(0,r)+"."+i.slice(r)),n&&(r=n-s)>0&&(o+1===s&&(i+="."),i+=ns(r))),e.s<0?"-"+i:i}function eO(e,t){if(e.length>t)return e.length=t,!0}function jj(e){var t,n,r;function o(i){var s=this;if(!(s instanceof o))return new o(i);if(s.constructor=o,i instanceof o){s.s=i.s,s.e=i.e,s.d=(i=i.d)?i.slice():i;return}if(typeof i=="number"){if(i*0!==0)throw Error(Wa+i);if(i>0)s.s=1;else if(i<0)i=-i,s.s=-1;else{s.s=0,s.e=0,s.d=[0];return}if(i===~~i&&i<1e7){s.e=0,s.d=[i];return}return ZR(s,i.toString())}else if(typeof i!="string")throw Error(Wa+i);if(i.charCodeAt(0)===45?(i=i.slice(1),s.s=-1):s.s=1,Mye.test(i))ZR(s,i);else throw Error(Wa+i)}if(o.prototype=fe,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=jj,o.config=o.set=Iye,e===void 0&&(e={}),e)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return o.config(e),o}function Iye(e){if(!e||typeof e!="object")throw Error(Hr+"Object expected");var t,n,r,o=["precision",1,gc,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if((r=e[n=o[t]])!==void 0)if(yc(r)===r&&r>=o[t+1]&&r<=o[t+2])this[n]=r;else throw Error(Wa+n+": "+r);if((r=e[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(Wa+n+": "+r);return this}var Yk=jj(Oye);yr=new Yk(1);const PTe=Yk;var Dye="Invariant failed";function RTe(e,t){throw new Error(Dye)}function Lye(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var $ye=Lye;const OTe=Ne($ye);var Fj={exports:{}},Nye="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",jye=Nye,Fye=jye;function Bj(){}function Uj(){}Uj.resetWarningCache=Bj;var Bye=function(){function e(r,o,i,s,a,l){if(l!==Fye){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Uj,resetWarningCache:Bj};return n.PropTypes=n,n};Fj.exports=Bye();var Uye=Fj.exports;const qe=Ne(Uye),{getOwnPropertyNames:zye,getOwnPropertySymbols:Vye}=Object,{hasOwnProperty:Hye}=Object.prototype;function a1(e,t){return function(r,o,i){return e(r,o,i)&&t(r,o,i)}}function op(e){return function(n,r,o){if(!n||!r||typeof n!="object"||typeof r!="object")return e(n,r,o);const{cache:i}=o,s=i.get(n),a=i.get(r);if(s&&a)return s===r&&a===n;i.set(n,r),i.set(r,n);const l=e(n,r,o);return i.delete(n),i.delete(r),l}}function Wye(e){return e!=null?e[Symbol.toStringTag]:void 0}function tO(e){return zye(e).concat(Vye(e))}const qye=Object.hasOwn||((e,t)=>Hye.call(e,t));function fl(e,t){return e===t||!e&&!t&&e!==e&&t!==t}const Kye="__v",Gye="__o",Yye="_owner",{getOwnPropertyDescriptor:nO,keys:rO}=Object;function Xye(e,t){return e.byteLength===t.byteLength&&ag(new Uint8Array(e),new Uint8Array(t))}function Jye(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function Qye(e,t){return e.byteLength===t.byteLength&&ag(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function Zye(e,t){return fl(e.getTime(),t.getTime())}function eve(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function tve(e,t){return e===t}function oO(e,t,n){const r=e.size;if(r!==t.size)return!1;if(!r)return!0;const o=new Array(r),i=e.entries();let s,a,l=0;for(;(s=i.next())&&!s.done;){const u=t.entries();let c=!1,d=0;for(;(a=u.next())&&!a.done;){if(o[d]){d++;continue}const f=s.value,h=a.value;if(n.equals(f[0],h[0],l,d,e,t,n)&&n.equals(f[1],h[1],f[0],h[0],e,t,n)){c=o[d]=!0;break}d++}if(!c)return!1;l++}return!0}const nve=fl;function rve(e,t,n){const r=rO(e);let o=r.length;if(rO(t).length!==o)return!1;for(;o-- >0;)if(!zj(e,t,n,r[o]))return!1;return!0}function Fc(e,t,n){const r=tO(e);let o=r.length;if(tO(t).length!==o)return!1;let i,s,a;for(;o-- >0;)if(i=r[o],!zj(e,t,n,i)||(s=nO(e,i),a=nO(t,i),(s||a)&&(!s||!a||s.configurable!==a.configurable||s.enumerable!==a.enumerable||s.writable!==a.writable)))return!1;return!0}function ove(e,t){return fl(e.valueOf(),t.valueOf())}function ive(e,t){return e.source===t.source&&e.flags===t.flags}function iO(e,t,n){const r=e.size;if(r!==t.size)return!1;if(!r)return!0;const o=new Array(r),i=e.values();let s,a;for(;(s=i.next())&&!s.done;){const l=t.values();let u=!1,c=0;for(;(a=l.next())&&!a.done;){if(!o[c]&&n.equals(s.value,a.value,s.value,a.value,e,t,n)){u=o[c]=!0;break}c++}if(!u)return!1}return!0}function ag(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function sve(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function zj(e,t,n,r){return(r===Yye||r===Gye||r===Kye)&&(e.$$typeof||t.$$typeof)?!0:qye(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}const ave="[object ArrayBuffer]",lve="[object Arguments]",uve="[object Boolean]",cve="[object DataView]",dve="[object Date]",fve="[object Error]",hve="[object Map]",pve="[object Number]",mve="[object Object]",gve="[object RegExp]",yve="[object Set]",vve="[object String]",wve={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},bve="[object URL]",Sve=Object.prototype.toString;function xve({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:o,areFunctionsEqual:i,areMapsEqual:s,areNumbersEqual:a,areObjectsEqual:l,arePrimitiveWrappersEqual:u,areRegExpsEqual:c,areSetsEqual:d,areTypedArraysEqual:f,areUrlsEqual:h,unknownTagComparators:g}){return function(m,y,v){if(m===y)return!0;if(m==null||y==null)return!1;const w=typeof m;if(w!==typeof y)return!1;if(w!=="object")return w==="number"?a(m,y,v):w==="function"?i(m,y,v):!1;const S=m.constructor;if(S!==y.constructor)return!1;if(S===Object)return l(m,y,v);if(Array.isArray(m))return t(m,y,v);if(S===Date)return r(m,y,v);if(S===RegExp)return c(m,y,v);if(S===Map)return s(m,y,v);if(S===Set)return d(m,y,v);const x=Sve.call(m);if(x===dve)return r(m,y,v);if(x===gve)return c(m,y,v);if(x===hve)return s(m,y,v);if(x===yve)return d(m,y,v);if(x===mve)return typeof m.then!="function"&&typeof y.then!="function"&&l(m,y,v);if(x===bve)return h(m,y,v);if(x===fve)return o(m,y,v);if(x===lve)return l(m,y,v);if(wve[x])return f(m,y,v);if(x===ave)return e(m,y,v);if(x===cve)return n(m,y,v);if(x===uve||x===pve||x===vve)return u(m,y,v);if(g){let k=g[x];if(!k){const _=Wye(m);_&&(k=g[_])}if(k)return k(m,y,v)}return!1}}function kve({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:Xye,areArraysEqual:n?Fc:Jye,areDataViewsEqual:Qye,areDatesEqual:Zye,areErrorsEqual:eve,areFunctionsEqual:tve,areMapsEqual:n?a1(oO,Fc):oO,areNumbersEqual:nve,areObjectsEqual:n?Fc:rve,arePrimitiveWrappersEqual:ove,areRegExpsEqual:ive,areSetsEqual:n?a1(iO,Fc):iO,areTypedArraysEqual:n?a1(ag,Fc):ag,areUrlsEqual:sve,unknownTagComparators:void 0};if(t&&(r=Object.assign({},r,t(r))),e){const o=op(r.areArraysEqual),i=op(r.areMapsEqual),s=op(r.areObjectsEqual),a=op(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:o,areMapsEqual:i,areObjectsEqual:s,areSetsEqual:a})}return r}function Eve(e){return function(t,n,r,o,i,s,a){return e(t,n,a)}}function _ve({circular:e,comparator:t,createState:n,equals:r,strict:o}){if(n)return function(a,l){const{cache:u=e?new WeakMap:void 0,meta:c}=n();return t(a,l,{cache:u,equals:r,meta:c,strict:o})};if(e)return function(a,l){return t(a,l,{cache:new WeakMap,equals:r,meta:void 0,strict:o})};const i={cache:void 0,equals:r,meta:void 0,strict:o};return function(a,l){return t(a,l,i)}}const Cve=Qs();Qs({strict:!0});Qs({circular:!0});Qs({circular:!0,strict:!0});Qs({createInternalComparator:()=>fl});Qs({strict:!0,createInternalComparator:()=>fl});Qs({circular:!0,createInternalComparator:()=>fl});Qs({circular:!0,createInternalComparator:()=>fl,strict:!0});function Qs(e={}){const{circular:t=!1,createInternalComparator:n,createState:r,strict:o=!1}=e,i=kve(e),s=xve(i),a=n?n(s):Eve(s);return _ve({circular:t,comparator:s,createState:r,equals:a,strict:o})}function Tve(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function sO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=-1,r=function o(i){n<0&&(n=i),i-n>t?(e(i),n=-1):Tve(o)};requestAnimationFrame(r)}function uS(e){"@babel/helpers - typeof";return uS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uS(e)}function Ave(e){return Mve(e)||Ove(e)||Rve(e)||Pve()}function Pve(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1191In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rve(e,t){if(e){if(typeof e=="string")return aO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aO(e,t)}}function aO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ove(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Mve(e){if(Array.isArray(e))return e}function Ive(){var e={},t=function(){return null},n=!1,r=function o(i){if(!n){if(Array.isArray(i)){if(!i.length)return;var s=i,a=Ave(s),l=a[0],u=a.slice(1);if(typeof l=="number"){sO(o.bind(null,u),l);return}o(l),sO(o.bind(null,u));return}uS(i)==="object"&&(e=i,t(e)),typeof i=="function"&&i()}};return{stop:function(){n=!0},start:function(i){n=!1,r(i)},subscribe:function(i){return t=i,function(){t=function(){return null}}}}}function Pf(e){"@babel/helpers - typeof";return Pf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pf(e)}function lO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function uO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?lO(Object(n),!0).forEach(function(r){Vj(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lO(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Vj(e,t,n){return t=Dve(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dve(e){var t=Lve(e,"string");return Pf(t)==="symbol"?t:String(t)}function Lve(e,t){if(Pf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Pf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var $ve=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,o){return r.filter(function(i){return o.includes(i)})})},Nve=function(t){return t},jve=function(t){return t.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},Pd=function(t,n){return Object.keys(n).reduce(function(r,o){return uO(uO({},r),{},Vj({},o,t(o,n[o])))},{})},cO=function(t,n,r){return t.map(function(o){return"".concat(jve(o)," ").concat(n,"ms ").concat(r)}).join(",")};function Fve(e,t){return zve(e)||Uve(e,t)||Hj(e,t)||Bve()}function Bve(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1192In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Uve(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,s,a=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(l=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(c){u=!0,o=c}finally{try{if(!l&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}function zve(e){if(Array.isArray(e))return e}function Vve(e){return qve(e)||Wve(e)||Hj(e)||Hve()}function Hve(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1193In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hj(e,t){if(e){if(typeof e=="string")return cS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cS(e,t)}}function Wve(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qve(e){if(Array.isArray(e))return cS(e)}function cS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var lg=1e-4,Wj=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},qj=function(t,n){return t.map(function(r,o){return r*Math.pow(n,o)}).reduce(function(r,o){return r+o})},dO=function(t,n){return function(r){var o=Wj(t,n);return qj(o,r)}},Kve=function(t,n){return function(r){var o=Wj(t,n),i=[].concat(Vve(o.map(function(s,a){return s*a}).slice(1)),[0]);return qj(i,r)}},fO=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0],i=n[1],s=n[2],a=n[3];if(n.length===1)switch(n[0]){case"linear":o=0,i=0,s=1,a=1;break;case"ease":o=.25,i=.1,s=.25,a=1;break;case"ease-in":o=.42,i=0,s=1,a=1;break;case"ease-out":o=.42,i=0,s=.58,a=1;break;case"ease-in-out":o=0,i=0,s=.58,a=1;break;default:{var l=n[0].split("(");if(l[0]==="cubic-bezier"&&l[1].split(")")[0].split(",").length===4){var u=l[1].split(")")[0].split(",").map(function(m){return parseFloat(m)}),c=Fve(u,4);o=c[0],i=c[1],s=c[2],a=c[3]}}}var d=dO(o,s),f=dO(i,a),h=Kve(o,s),g=function(y){return y>1?1:y<0?0:y},p=function(y){for(var v=y>1?1:y,w=v,S=0;S<8;++S){var x=d(w)-v,k=h(w);if(Math.abs(x-v)<lg||k<lg)return f(w);w=g(w-x/k)}return f(w)};return p.isStepper=!1,p},Gve=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,o=t.damping,i=o===void 0?8:o,s=t.dt,a=s===void 0?17:s,l=function(c,d,f){var h=-(c-d)*r,g=f*i,p=f+(h-g)*a/1e3,m=f*a/1e3+c;return Math.abs(m-d)<lg&&Math.abs(p)<lg?[d,0]:[m,p]};return l.isStepper=!0,l.dt=a,l},Yve=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0];if(typeof o=="string")switch(o){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return fO(o);case"spring":return Gve();default:if(o.split("(")[0]==="cubic-bezier")return fO(o)}return typeof o=="function"?o:null};function Rf(e){"@babel/helpers - typeof";return Rf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rf(e)}function hO(e){return Qve(e)||Jve(e)||Kj(e)||Xve()}function Xve(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1194In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jve(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Qve(e){if(Array.isArray(e))return fS(e)}function pO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function en(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pO(Object(n),!0).forEach(function(r){dS(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pO(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function dS(e,t,n){return t=Zve(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zve(e){var t=e0e(e,"string");return Rf(t)==="symbol"?t:String(t)}function e0e(e,t){if(Rf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Rf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function t0e(e,t){return o0e(e)||r0e(e,t)||Kj(e,t)||n0e()}function n0e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1195In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Kj(e,t){if(e){if(typeof e=="string")return fS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fS(e,t)}}function fS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r0e(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,s,a=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(l=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(c){u=!0,o=c}finally{try{if(!l&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}function o0e(e){if(Array.isArray(e))return e}var ug=function(t,n,r){return t+(n-t)*r},hS=function(t){var n=t.from,r=t.to;return n!==r},i0e=function e(t,n,r){var o=Pd(function(i,s){if(hS(s)){var a=t(s.from,s.to,s.velocity),l=t0e(a,2),u=l[0],c=l[1];return en(en({},s),{},{from:u,velocity:c})}return s},n);return r<1?Pd(function(i,s){return hS(s)?en(en({},s),{},{velocity:ug(s.velocity,o[i].velocity,r),from:ug(s.from,o[i].from,r)}):s},n):e(t,o,r-1)};const s0e=function(e,t,n,r,o){var i=$ve(e,t),s=i.reduce(function(m,y){return en(en({},m),{},dS({},y,[e[y],t[y]]))},{}),a=i.reduce(function(m,y){return en(en({},m),{},dS({},y,{from:e[y],velocity:0,to:t[y]}))},{}),l=-1,u,c,d=function(){return null},f=function(){return Pd(function(y,v){return v.from},a)},h=function(){return!Object.values(a).filter(hS).length},g=function(y){u||(u=y);var v=y-u,w=v/n.dt;a=i0e(n,a,w),o(en(en(en({},e),t),f())),u=y,h()||(l=requestAnimationFrame(d))},p=function(y){c||(c=y);var v=(y-c)/r,w=Pd(function(x,k){return ug.apply(void 0,hO(k).concat([n(v)]))},s);if(o(en(en(en({},e),t),w)),v<1)l=requestAnimationFrame(d);else{var S=Pd(function(x,k){return ug.apply(void 0,hO(k).concat([n(1)]))},s);o(en(en(en({},e),t),S))}};return d=n.isStepper?g:p,function(){return requestAnimationFrame(d),function(){cancelAnimationFrame(l)}}};function Fu(e){"@babel/helpers - typeof";return Fu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fu(e)}var a0e=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function l0e(e,t){if(e==null)return{};var n=u0e(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function u0e(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function l1(e){return h0e(e)||f0e(e)||d0e(e)||c0e()}function c0e(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1196In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d0e(e,t){if(e){if(typeof e=="string")return pS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pS(e,t)}}function f0e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function h0e(e){if(Array.isArray(e))return pS(e)}function pS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function mO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Zr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mO(Object(n),!0).forEach(function(r){id(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mO(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function id(e,t,n){return t=Gj(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m0e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Gj(r.key),r)}}function g0e(e,t,n){return t&&m0e(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Gj(e){var t=y0e(e,"string");return Fu(t)==="symbol"?t:String(t)}function y0e(e,t){if(Fu(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Fu(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function v0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mS(e,t)}function mS(e,t){return mS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},mS(e,t)}function w0e(e){var t=b0e();return function(){var r=cg(e),o;if(t){var i=cg(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return gS(this,o)}}function gS(e,t){if(t&&(Fu(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return yS(e)}function yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b0e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function cg(e){return cg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},cg(e)}var Xk=function(e){v0e(n,e);var t=w0e(n);function n(r,o){var i;p0e(this,n),i=t.call(this,r,o);var s=i.props,a=s.isActive,l=s.attributeName,u=s.from,c=s.to,d=s.steps,f=s.children,h=s.duration;if(i.handleStyleChange=i.handleStyleChange.bind(yS(i)),i.changeStyle=i.changeStyle.bind(yS(i)),!a||h<=0)return i.state={style:{}},typeof f=="function"&&(i.state={style:c}),gS(i);if(d&&d.length)i.state={style:d[0].style};else if(u){if(typeof f=="function")return i.state={style:u},gS(i);i.state={style:l?id({},l,u):u}}else i.state={style:{}};return i}return g0e(n,[{key:"componentDidMount",value:function(){var o=this.props,i=o.isActive,s=o.canBegin;this.mounted=!0,!(!i||!s)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(o){var i=this.props,s=i.isActive,a=i.canBegin,l=i.attributeName,u=i.shouldReAnimate,c=i.to,d=i.from,f=this.state.style;if(a){if(!s){var h={style:l?id({},l,c):c};this.state&&f&&(l&&f[l]!==c||!l&&f!==c)&&this.setState(h);return}if(!(Cve(o.to,c)&&o.canBegin&&o.isActive)){var g=!o.canBegin||!o.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var p=g||u?d:o.to;if(this.state&&f){var m={style:l?id({},l,p):p};(l&&f[l]!==p||!l&&f!==p)&&this.setState(m)}this.runAnimation(Zr(Zr({},this.props),{},{from:p,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var o=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),o&&o()}},{key:"handleStyleChange",value:function(o){this.changeStyle(o)}},{key:"changeStyle",value:function(o){this.mounted&&this.setState({style:o})}},{key:"runJSAnimation",value:function(o){var i=this,s=o.from,a=o.to,l=o.duration,u=o.easing,c=o.begin,d=o.onAnimationEnd,f=o.onAnimationStart,h=s0e(s,a,Yve(u),l,this.changeStyle),g=function(){i.stopJSAnimation=h()};this.manager.start([f,c,g,l,d])}},{key:"runStepAnimation",value:function(o){var i=this,s=o.steps,a=o.begin,l=o.onAnimationStart,u=s[0],c=u.style,d=u.duration,f=d===void 0?0:d,h=function(p,m,y){if(y===0)return p;var v=m.duration,w=m.easing,S=w===void 0?"ease":w,x=m.style,k=m.properties,_=m.onAnimationEnd,A=y>0?s[y-1]:m,M=k||Object.keys(x);if(typeof S=="function"||S==="spring")return[].concat(l1(p),[i.runJSAnimation.bind(i,{from:A.style,to:x,duration:v,easing:S}),v]);var I=cO(M,v,S),N=Zr(Zr(Zr({},A.style),x),{},{transition:I});return[].concat(l1(p),[N,v,_]).filter(Nve)};return this.manager.start([l].concat(l1(s.reduce(h,[c,Math.max(f,a)])),[o.onAnimationEnd]))}},{key:"runAnimation",value:function(o){this.manager||(this.manager=Ive());var i=o.begin,s=o.duration,a=o.attributeName,l=o.to,u=o.easing,c=o.onAnimationStart,d=o.onAnimationEnd,f=o.steps,h=o.children,g=this.manager;if(this.unSubscribe=g.subscribe(this.handleStyleChange),typeof u=="function"||typeof h=="function"||u==="spring"){this.runJSAnimation(o);return}if(f.length>1){this.runStepAnimation(o);return}var p=a?id({},a,l):l,m=cO(Object.keys(p),s,u);g.start([c,i,Zr(Zr({},p),{},{transition:m}),s,d])}},{key:"render",value:function(){var o=this.props,i=o.children;o.begin;var s=o.duration;o.attributeName,o.easing;var a=o.isActive;o.steps,o.from,o.to,o.canBegin,o.onAnimationEnd,o.shouldReAnimate,o.onAnimationReStart;var l=l0e(o,a0e),u=b.Children.count(i),c=this.state.style;if(typeof i=="function")return i(c);if(!a||u===0||s<=0)return i;var d=function(h){var g=h.props,p=g.style,m=p===void 0?{}:p,y=g.className,v=b.cloneElement(h,Zr(Zr({},l),{},{style:Zr(Zr({},m),c),className:y}));return v};return u===1?d(b.Children.only(i)):z.createElement("div",null,b.Children.map(i,function(f){return d(f)}))}}]),n}(b.PureComponent);Xk.displayName="Animate";Xk.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};Xk.propTypes={from:qe.oneOfType([qe.object,qe.string]),to:qe.oneOfType([qe.object,qe.string]),attributeName:qe.string,duration:qe.number,begin:qe.number,easing:qe.oneOfType([qe.string,qe.func]),steps:qe.arrayOf(qe.shape({duration:qe.number.isRequired,style:qe.object.isRequired,easing:qe.oneOfType([qe.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),qe.func]),properties:qe.arrayOf("string"),onAnimationEnd:qe.func})),children:qe.oneOfType([qe.node,qe.func]),isActive:qe.bool,canBegin:qe.bool,onAnimationEnd:qe.func,shouldReAnimate:qe.bool,onAnimationStart:qe.func,onAnimationReStart:qe.func};var S0e=nv,x0e=Mj,k0e=ni;function E0e(e,t){return e&&e.length?S0e(e,k0e(t),x0e):void 0}var _0e=E0e;const MTe=Ne(_0e);var C0e=nv,T0e=ni,A0e=Ij;function P0e(e,t){return e&&e.length?C0e(e,T0e(t),A0e):void 0}var R0e=P0e;const ITe=Ne(R0e);var O0e=wj,M0e=O0e(Object.getPrototypeOf,Object),I0e=M0e,D0e=ji,L0e=I0e,$0e=Fi,N0e="[object Object]",j0e=Function.prototype,F0e=Object.prototype,Yj=j0e.toString,B0e=F0e.hasOwnProperty,U0e=Yj.call(Object);function z0e(e){if(!$0e(e)||D0e(e)!=N0e)return!1;var t=L0e(e);if(t===null)return!0;var n=B0e.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Yj.call(n)==U0e}var V0e=z0e;const DTe=Ne(V0e);var H0e=ji,W0e=Fi,q0e="[object Boolean]";function K0e(e){return e===!0||e===!1||W0e(e)&&H0e(e)==q0e}var G0e=K0e;const LTe=Ne(G0e);var Y0e=Math.ceil,X0e=Math.max;function J0e(e,t,n,r){for(var o=-1,i=X0e(Y0e((t-e)/(n||1)),0),s=Array(i);i--;)s[r?i:++o]=e,e+=n;return s}var Q0e=J0e,Z0e=Oj,gO=1/0,e1e=17976931348623157e292;function t1e(e){if(!e)return e===0?e:0;if(e=Z0e(e),e===gO||e===-gO){var t=e<0?-1:1;return t*e1e}return e===e?e:0}var Xj=t1e,n1e=Q0e,r1e=tv,u1=Xj;function o1e(e){return function(t,n,r){return r&&typeof r!="number"&&r1e(t,n,r)&&(n=r=void 0),t=u1(t),n===void 0?(n=t,t=0):n=u1(n),r=r===void 0?t<n?1:-1:u1(r),n1e(t,n,r,e)}}var i1e=o1e,s1e=i1e,a1e=s1e(),l1e=a1e;const $Te=Ne(l1e);var u1e=Kk;function c1e(e,t){var n;return u1e(e,function(r,o,i){return n=t(r,o,i),!n}),!!n}var d1e=c1e,f1e=dj,h1e=ni,p1e=d1e,m1e=er,g1e=tv;function y1e(e,t,n){var r=m1e(e)?f1e:p1e;return n&&g1e(e,t,n)&&(t=void 0),r(e,h1e(t))}var v1e=y1e;const NTe=Ne(v1e);var yO=Rj;
1196function w1e(e,t,n){t=="__proto__"&&yO?yO(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var b1e=w1e,S1e=b1e,x1e=Aj,k1e=ni;function E1e(e,t){var n={};return t=k1e(t),x1e(e,function(r,o,i){S1e(n,o,t(r,o,i))}),n}var _1e=E1e;const jTe=Ne(_1e);function C1e(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}var T1e=C1e,A1e=Kk;function P1e(e,t){var n=!0;return A1e(e,function(r,o,i){return n=!!t(r,o,i),n}),n}var R1e=P1e,O1e=T1e,M1e=R1e,I1e=ni,D1e=er,L1e=tv;function $1e(e,t,n){var r=D1e(e)?O1e:M1e;return n&&L1e(e,t,n)&&(t=void 0),r(e,I1e(t))}var N1e=$1e;const FTe=Ne(N1e);var j1e=ni,F1e=Zf,B1e=ev;function U1e(e){return function(t,n,r){var o=Object(t);if(!F1e(t)){var i=j1e(n);t=B1e(t),n=function(a){return i(o[a],a,o)}}var s=e(t,n,r);return s>-1?o[i?t[s]:s]:void 0}}var z1e=U1e,V1e=Xj;function H1e(e){var t=V1e(e),n=t%1;return t===t?n?t-n:t:0}var W1e=H1e,q1e=_j,K1e=ni,G1e=W1e,Y1e=Math.max;function X1e(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var o=n==null?0:G1e(n);return o<0&&(o=Y1e(r+o,0)),q1e(e,K1e(t),o)}var J1e=X1e,Q1e=z1e,Z1e=J1e,ewe=Q1e(Z1e),twe=ewe;const BTe=Ne(twe);var Jj={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function o(l,u,c){this.fn=l,this.context=u,this.once=c||!1}function i(l,u,c,d,f){if(typeof c!="function")throw new TypeError("The listener must be a function");var h=new o(c,d||l,f),g=n?n+u:u;return l._events[g]?l._events[g].fn?l._events[g]=[l._events[g],h]:l._events[g].push(h):(l._events[g]=h,l._eventsCount++),l}function s(l,u){--l._eventsCount===0?l._events=new r:delete l._events[u]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var u=[],c,d;if(this._eventsCount===0)return u;for(d in c=this._events)t.call(c,d)&&u.push(n?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(c)):u},a.prototype.listeners=function(u){var c=n?n+u:u,d=this._events[c];if(!d)return[];if(d.fn)return[d.fn];for(var f=0,h=d.length,g=new Array(h);f<h;f++)g[f]=d[f].fn;return g},a.prototype.listenerCount=function(u){var c=n?n+u:u,d=this._events[c];return d?d.fn?1:d.length:0},a.prototype.emit=function(u,c,d,f,h,g){var p=n?n+u:u;if(!this._events[p])return!1;var m=this._events[p],y=arguments.length,v,w;if(m.fn){switch(m.once&&this.removeListener(u,m.fn,void 0,!0),y){case 1:return m.fn.call(m.context),!0;case 2:return m.fn.call(m.context,c),!0;case 3:return m.fn.call(m.context,c,d),!0;case 4:return m.fn.call(m.context,c,d,f),!0;case 5:return m.fn.call(m.context,c,d,f,h),!0;case 6:return m.fn.call(m.context,c,d,f,h,g),!0}for(w=1,v=new Array(y-1);w<y;w++)v[w-1]=arguments[w];m.fn.apply(m.context,v)}else{var S=m.length,x;for(w=0;w<S;w++)switch(m[w].once&&this.removeListener(u,m[w].fn,void 0,!0),y){case 1:m[w].fn.call(m[w].context);break;case 2:m[w].fn.call(m[w].context,c);break;case 3:m[w].fn.call(m[w].context,c,d);break;case 4:m[w].fn.call(m[w].context,c,d,f);break;default:if(!v)for(x=1,v=new Array(y-1);x<y;x++)v[x-1]=arguments[x];m[w].fn.apply(m[w].context,v)}}return!0},a.prototype.on=function(u,c,d){return i(this,u,c,d,!1)},a.prototype.once=function(u,c,d){return i(this,u,c,d,!0)},a.prototype.removeListener=function(u,c,d,f){var h=n?n+u:u;if(!this._events[h])return this;if(!c)return s(this,h),this;var g=this._events[h];if(g.fn)g.fn===c&&(!f||g.once)&&(!d||g.context===d)&&s(this,h);else{for(var p=0,m=[],y=g.length;p<y;p++)(g[p].fn!==c||f&&!g[p].once||d&&g[p].context!==d)&&m.push(g[p]);m.length?this._events[h]=m.length===1?m[0]:m:s(this,h)}return this},a.prototype.removeAllListeners=function(u){var c;return u?(c=n?n+u:u,this._events[c]&&s(this,c)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,e.exports=a})(Jj);var nwe=Jj.exports;const UTe=Ne(nwe);function zTe(){}function VTe(){}function HTe(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const rwe=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,owe=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,iwe={};function WTe(e,t){return(iwe.jsx?owe:rwe).test(e)}class eh{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}eh.prototype.normal={};eh.prototype.property={};eh.prototype.space=void 0;function Qj(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new eh(n,r,t)}function vS(e){return e.toLowerCase()}class tr{constructor(t,n){this.attribute=n,this.property=t}}tr.prototype.attribute="";tr.prototype.booleanish=!1;tr.prototype.boolean=!1;tr.prototype.commaOrSpaceSeparated=!1;tr.prototype.commaSeparated=!1;tr.prototype.defined=!1;tr.prototype.mustUseProperty=!1;tr.prototype.number=!1;tr.prototype.overloadedBoolean=!1;tr.prototype.property="";tr.prototype.spaceSeparated=!1;tr.prototype.space=void 0;let swe=0;const Te=hl(),Dt=hl(),wS=hl(),Q=hl(),Ze=hl(),pu=hl(),lr=hl();function hl(){return 2**++swe}const bS=Object.freeze(Object.defineProperty({__proto__:null,boolean:Te,booleanish:Dt,commaOrSpaceSeparated:lr,commaSeparated:pu,number:Q,overloadedBoolean:wS,spaceSeparated:Ze},Symbol.toStringTag,{value:"Module"})),c1=Object.keys(bS);class Jk extends tr{constructor(t,n,r,o){let i=-1;
vendor: 4,244 bytes, line 1196
1196if(super(t,n),vO(this,"space",o),typeof r=="number")for(;++i<c1.length;){const s=c1[i];vO(this,c1[i],(r&bS[s])===bS[s])}}}Jk.prototype.defined=!0;function vO(e,t,n){n&&(e[t]=n)}function vc(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const i=new Jk(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[vS(r)]=r,n[vS(i.attribute)]=r}return new eh(t,n,e.space)}const Zj=vc({properties:{ariaActiveDescendant:null,ariaAtomic:Dt,ariaAutoComplete:null,ariaBusy:Dt,ariaChecked:Dt,ariaColCount:Q,ariaColIndex:Q,ariaColSpan:Q,ariaControls:Ze,ariaCurrent:null,ariaDescribedBy:Ze,ariaDetails:null,ariaDisabled:Dt,ariaDropEffect:Ze,ariaErrorMessage:null,ariaExpanded:Dt,ariaFlowTo:Ze,ariaGrabbed:Dt,ariaHasPopup:null,ariaHidden:Dt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ze,ariaLevel:Q,ariaLive:null,ariaModal:Dt,ariaMultiLine:Dt,ariaMultiSelectable:Dt,ariaOrientation:null,ariaOwns:Ze,ariaPlaceholder:null,ariaPosInSet:Q,ariaPressed:Dt,ariaReadOnly:Dt,ariaRelevant:null,ariaRequired:Dt,ariaRoleDescription:Ze,ariaRowCount:Q,ariaRowIndex:Q,ariaRowSpan:Q,ariaSelected:Dt,ariaSetSize:Q,ariaSort:null,ariaValueMax:Q,ariaValueMin:Q,ariaValueNow:Q,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function eF(e,t){return t in e?e[t]:t}function tF(e,t){return eF(e,t.toLowerCase())}const awe=vc({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pu,acceptCharset:Ze,accessKey:Ze,action:null,allow:null,allowFullScreen:Te,allowPaymentRequest:Te,allowUserMedia:Te,alt:null,as:null,async:Te,autoCapitalize:null,autoComplete:Ze,autoFocus:Te,autoPlay:Te,blocking:Ze,capture:null,charSet:null,checked:Te,cite:null,className:Ze,cols:Q,colSpan:null,content:null,contentEditable:Dt,controls:Te,controlsList:Ze,coords:Q|pu,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Te,defer:Te,dir:null,dirName:null,disabled:Te,download:wS,draggable:Dt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Te,formTarget:null,headers:Ze,height:Q,hidden:wS,high:Q,href:null,hrefLang:null,htmlFor:Ze,httpEquiv:Ze,id:null,imageSizes:null,imageSrcSet:null,inert:Te,inputMode:null,integrity:null,is:null,isMap:Te,itemId:null,itemProp:Ze,itemRef:Ze,itemScope:Te,itemType:Ze,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Te,low:Q,manifest:null,max:null,maxLength:Q,media:null,method:null,min:null,minLength:Q,multiple:Te,muted:Te,name:null,nonce:null,noModule:Te,noValidate:Te,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Te,optimum:Q,pattern:null,ping:Ze,placeholder:null,playsInl
1196ine:Te,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Te,referrerPolicy:null,rel:Ze,required:Te,reversed:Te,rows:Q,rowSpan:Q,sandbox:Ze,scope:null,scoped:Te,seamless:Te,selected:Te,shadowRootClonable:Te,shadowRootDelegatesFocus:Te,shadowRootMode:null,shape:null,size:Q,sizes:null,slot:null,span:Q,spellCheck:Dt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Q,step:null,style:null,tabIndex:Q,target:null,title:null,translate:null,type:null,typeMustMatch:Te,useMap:null,value:Dt,width:Q,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ze,axis:null,background:null,bgColor:null,border:Q,borderColor:null,bottomMargin:Q,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Te,declare:Te,event:null,face:null,frame:null,frameBorder:null,hSpace:Q,leftMargin:Q,link:null,longDesc:null,lowSrc:null,marginHeight:Q,marginWidth:Q,noResize:Te,noHref:Te,noShade:Te,noWrap:Te,object:null,profile:null,prompt:null,rev:null,rightMargin:Q,rules:null,scheme:null,scrolling:Dt,standby:null,summary:null,text:null,topMargin:Q,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Q,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Te,disableRemotePlayback:Te,prefix:null,property:null,results:Q,security:null,unselectable:null},space:"html",transform:tF}),lwe=vc({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
1196-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:lr,accentHeight:Q,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Q,amplitude:Q,arabicForm:null,ascent:Q,attributeName:null,attributeType:null,azimuth:Q,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Q,by:null,calcMode:null,capHeight:Q,className:Ze,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Q,diffuseConstant:Q,direction:null,display:null,dur:null,divisor:Q,dominantBaseline:null,download:Te,dx:null,dy:null,edgeMode:null,editable:null,elevation:Q,enableBackground:null,end:null,event:null,exponent:Q,externalResourcesRequired:null,fill:null,fillOpacity:Q,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:pu,g2:pu,glyphName:pu,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Q,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Q,horizOriginX:Q,horizOriginY:Q,id:null,ideographic:Q,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Q,k:Q,k1:Q,k2:Q,k3:Q,k4:Q,kernelMatrix:lr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Q,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Q,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
vendor: 4,025 bytes, lines 1196-1197
1196Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Q,overlineThickness:Q,paintOrder:null,panose1:null,path:null,pathLength:Q,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ze,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Q,pointsAtY:Q,pointsAtZ:Q,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:lr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:lr,rev:lr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:lr,requiredFeatures:lr,requiredFonts:lr,requiredFormats:lr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Q,specularExponent:Q,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Q,strikethroughThickness:Q,string:null,stroke:null,strokeDashArray:lr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Q,strokeOpacity:Q,strokeWidth:null,style:null,surfaceScale:Q,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:lr,tabIndex:Q,tableValues:null,target:null,targetX:Q,targetY:Q,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:lr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Q,underlineThickness:Q,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Q,values:null,vAlphabetic:Q,vMathematical:Q,vectorEffect:null,vHanging:Q,vIdeographic:Q,version:null,vertAdvY:Q,vertOriginX:Q,vertOriginY:Q,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Q,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:eF}),nF=vc({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),rF=vc({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:tF}),oF=vc({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),uwe=/[A-Z]/g,wO=/-[a-z]/g,cwe=/^data[-\w.:]+$/i;function qTe(e,t){const n=vS(t);let r=t,o=tr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&cwe.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(wO,fwe);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!wO.test(i)){let s=i.replace(uwe,dwe);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=Jk}return new o(r,t)}function dwe(e){return"-"+e.toLowerCase()}function fwe(e){return e.charAt(1).toUpperCase()}const KTe=Qj([Zj,awe,nF,rF,oF],"html"),GTe=Qj([Zj,lwe,nF,rF,oF],"svg");function YTe(e){return e.join(" ").trim()}var Qk={},bO=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,hwe=/\n/g,pwe=/^\s*/,mwe=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,gwe=/^:\s*/,ywe=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,vwe=/^[;\s]*/,wwe=/^\s+|\s+$/g,bwe=`
1197`,SO="/",xO="*",wa="",Swe="comment",xwe="declaration";function kwe(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function o(g){var p=g.match(hwe);p&&(n+=p.length);var m=g.lastIndexOf(bwe);r=~m?g.length-m:r+g.length}function i(){var g={line:n,column:r};return function(p){return p.position=new s(g),u(),p}}function s(g){this.start=g,this.end={line:n,column:r},this.source=t.source}s.prototype.content=e;function a(g){var p=new Error(t.source+":"+n+":"+r+": "+g);if(p.reason=g,p.filename=t.source,p.line=n,p.column=r,p.source=e,!t.silent)throw p}
vendor: 3,631 bytes, line 1197
1197function l(g){var p=g.exec(e);if(p){var m=p[0];return o(m),e=e.slice(m.length),p}}function u(){l(pwe)}function c(g){var p;for(g=g||[];p=d();)p!==!1&&g.push(p);return g}function d(){var g=i();if(!(SO!=e.charAt(0)||xO!=e.charAt(1))){for(var p=2;wa!=e.charAt(p)&&(xO!=e.charAt(p)||SO!=e.charAt(p+1));)++p;if(p+=2,wa===e.charAt(p-1))return a("End of comment missing");var m=e.slice(2,p-2);return r+=2,o(m),e=e.slice(p),r+=2,g({type:Swe,comment:m})}}function f(){var g=i(),p=l(mwe);if(p){if(d(),!l(gwe))return a("property missing ':'");var m=l(ywe),y=g({type:xwe,property:kO(p[0].replace(bO,wa)),value:m?kO(m[0].replace(bO,wa)):wa});return l(vwe),y}}function h(){var g=[];c(g);for(var p;p=f();)p!==!1&&(g.push(p),c(g));return g}return u(),h()}function kO(e){return e?e.replace(wwe,wa):wa}var Ewe=kwe,_we=ws&&ws.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qk,"__esModule",{value:!0});Qk.default=Twe;const Cwe=_we(Ewe);function Twe(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,Cwe.default)(e),o=typeof t=="function";return r.forEach(i=>{if(i.type!=="declaration")return;const{property:s,value:a}=i;o?t(s,a,i):a&&(n=n||{},n[s]=a)}),n}var rv={};Object.defineProperty(rv,"__esModule",{value:!0});rv.camelCase=void 0;var Awe=/^--[a-zA-Z0-9_-]+$/,Pwe=/-([a-z])/g,Rwe=/^[^-]+$/,Owe=/^-(webkit|moz|ms|o|khtml)-/,Mwe=/^-(ms)-/,Iwe=function(e){return!e||Rwe.test(e)||Awe.test(e)},Dwe=function(e,t){return t.toUpperCase()},EO=function(e,t){return"".concat(t,"-")},Lwe=function(e,t){return t===void 0&&(t={}),Iwe(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(Mwe,EO):e=e.replace(Owe,EO),e.replace(Pwe,Dwe))};rv.camelCase=Lwe;var $we=ws&&ws.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Nwe=$we(Qk),jwe=rv;function SS(e,t){var n={};return!e||typeof e!="string"||(0,Nwe.default)(e,function(r,o){r&&o&&(n[(0,jwe.camelCase)(r,t)]=o)}),n}SS.default=SS;var Fwe=SS;const XTe=Ne(Fwe),Bwe=iF("end"),Uwe=iF("start");function iF(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function JTe(e){const t=Uwe(e),n=Bwe(e);if(t&&n)return{start:t,end:n}}function QTe(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?_O(e.position):"start"in e||"end"in e?_O(e):"line"in e||"column"in e?xS(e):""}function xS(e){return CO(e&&e.line)+":"+CO(e&&e.column)}function _O(e){return xS(e&&e.start)+"-"+xS(e&&e.end)}function CO(e){return e&&typeof e=="number"?e:1}const ZTe={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},TO=document.createElement("i");function eAe(e){const t="&"+e+";";TO.innerHTML=t;const n=TO.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}const AO=9,PO=32;function tAe(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(RO(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(RO(t.slice(o),o>0,!1)),i.join("")}function RO(e,t,n){let r=0,o=e.length;if(t){let i=e.codePointAt(r);for(;i===AO||i===PO;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(o-1);for(;i===AO||i===PO;)o--,i=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const sF=-1,ov=0,Rd=1,dg=2,Zk=3,eE=4,tE=5,nE=6,aF=7,lF=8,zwe=typeof self=="object"?self:globalThis,OO=(e,t)=>
vendor: 4,752 bytes, line 1197
1197{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new zwe[e](t)},Vwe=(e,t)=>{const n=(o,i)=>(e.set(i,o),o),r=o=>{if(e.has(o))return e.get(o);const[i,s]=t[o];switch(i){case ov:case sF:return n(s,o);case Rd:{const a=n([],o);for(const l of s)a.push(r(l));return a}case dg:{const a=n({},o);for(const[l,u]of s)a[r(l)]=r(u);return a}case Zk:return n(new Date(s),o);case eE:{const{source:a,flags:l}=s;return n(new RegExp(a,l),o)}case tE:{const a=n(new Map,o);for(const[l,u]of s)a.set(r(l),r(u));return a}case nE:{const a=n(new Set,o);for(const l of s)a.add(r(l));return a}case aF:{const{name:a,message:l}=s;return n(OO(a,l),o)}case lF:return n(BigInt(s),o);case"BigInt":return n(Object(BigInt(s)),o);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:a}=new Uint8Array(s);return n(new DataView(a),s)}}return n(OO(i,s),o)};return r},MO=e=>Vwe(new Map,e)(0),Ol="",{toString:Hwe}={},{keys:Wwe}=Object,Bc=e=>{const t=typeof e;if(t!=="object"||!e)return[ov,t];const n=Hwe.call(e).slice(8,-1);switch(n){case"Array":return[Rd,Ol];case"Object":return[dg,Ol];case"Date":return[Zk,Ol];case"RegExp":return[eE,Ol];case"Map":return[tE,Ol];case"Set":return[nE,Ol];case"DataView":return[Rd,n]}return n.includes("Array")?[Rd,n]:n.includes("Error")?[aF,n]:[dg,n]},ip=([e,t])=>e===ov&&(t==="function"||t==="symbol"),qwe=(e,t,n,r)=>{const o=(s,a)=>{const l=r.push(s)-1;return n.set(a,l),l},i=s=>{if(n.has(s))return n.get(s);let[a,l]=Bc(s);switch(a){case ov:{let c=s;switch(l){case"bigint":a=lF,c=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);c=null;break;case"undefined":return o([sF],s)}return o([a,c],s)}case Rd:{if(l){let f=s;return l==="DataView"?f=new Uint8Array(s.buffer):l==="ArrayBuffer"&&(f=new Uint8Array(s)),o([l,[...f]],s)}const c=[],d=o([a,c],s);for(const f of s)c.push(i(f));return d}case dg:{if(l)switch(l){case"BigInt":return o([l,s.toString()],s);case"Boolean":case"Number":case"String":return o([l,s.valueOf()],s)}if(t&&"toJSON"in s)return i(s.toJSON());const c=[],d=o([a,c],s);for(const f of Wwe(s))(e||!ip(Bc(s[f])))&&c.push([i(f),i(s[f])]);return d}case Zk:return o([a,s.toISOString()],s);case eE:{const{source:c,flags:d}=s;return o([a,{source:c,flags:d}],s)}case tE:{const c=[],d=o([a,c],s);for(const[f,h]of s)(e||!(ip(Bc(f))||ip(Bc(h))))&&c.push([i(f),i(h)]);return d}case nE:{const c=[],d=o([a,c],s);for(const f of s)(e||!ip(Bc(f)))&&c.push(i(f));return d}}const{message:u}=s;return o([a,{name:l,message:u}],s)};return i},IO=(e,{json:t,lossy:n}={})=>{const r=[];return qwe(!(t||n),!!t,new Map,r)(e),r},nAe=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?MO(IO(e,t)):structuredClone(e):(e,t)=>MO(IO(e,t)),uF=function(e){if(e==null)return Xwe;if(typeof e=="function")return iv(e);if(typeof e=="object")return Array.isArray(e)?Kwe(e):Gwe(e);if(typeof e=="string")return Ywe(e);throw new Error("Expected function, string, or object as test")};function Kwe(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=uF(e[n]);return iv(r);function r(...o){let i=-1;for(;++i<t.length;)if(t[i].apply(this,o))return!0;return!1}}function Gwe(e){const t=e;return iv(n);function n(r){const o=r;let i;for(i in e)if(o[i]!==t[i])return!1;return!0}}function Ywe(e){return iv(t);function t(n){return n&&n.type===e}}function iv(e){return t;function t(n,r,o){return!!(Jwe(n)&&e.call(this,n,typeof r=="number"?r:void 0,o||void 0))}}function Xwe(){return!0}function Jwe(e){return e!==null&&typeof e=="object"&&"type"in e}const cF=[],Qwe=!0,DO=!1,Zwe="skip";function ebe(e,t,n,r){let o;typeof t=="function"&&typeof n!="function"?(r=n,n=t):o=t;const i=uF(o),s=r?-1:1;a(e,void 0,[])();function a(l,u,c){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const h=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(h?"<"+h+">":""))+")"})}return f;function f(){let h=cF,g,p,m;if((!t||i(l,u,c[c.length-1]||void 0))&&(h=tbe(n(l,c)),h[0]===DO))return h;if("children"in l&&l.children){const y=l;if(y.children&&h[0]!==Zwe)for(p=(r?y.children.length:-1)+s,m=c.concat(y);p>-1&&p<y.children.length;){const v=y.children[p];if(g=a(v,p,m)(),g[0]===DO)return g;p=typeof g[1]=="number"?g[1]:p+s}}return h}}}function tbe(e){return Array.isArray(e)?e:typeof e=="number"?[Qwe,e]:e==null?cF:[e]}function rAe(e,t,n,r){let o,i,s;typeof t=="function"&&typeof n!="function"?(i=void 0,s=t,o=n):(i=t,s=n,o=r),ebe(e,i,a,o);function a(l,u){const c=u[u.length-1],d=c?c.children.indexOf(l):void 0;return s(l,d,c)}}function oAe(e){if(e)throw e}var Kp=Object.prototype.hasOwnProperty,dF=Object.prototype.toString,
vendor: 4,385 bytes, lines 1197-1198
1197LO=Object.defineProperty,$O=Object.getOwnPropertyDescriptor,NO=function(t){return typeof Array.isArray=="function"?Array.isArray(t):dF.call(t)==="[object Array]"},jO=function(t){if(!t||dF.call(t)!=="[object Object]")return!1;var n=Kp.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Kp.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var o;for(o in t);return typeof o>"u"||Kp.call(t,o)},FO=function(t,n){LO&&n.name==="__proto__"?LO(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},BO=function(t,n){if(n==="__proto__")if(Kp.call(t,n)){if($O)return $O(t,n).value}else return;return t[n]},nbe=function e(){var t,n,r,o,i,s,a=arguments[0],l=1,u=arguments.length,c=!1;for(typeof a=="boolean"&&(c=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l<u;++l)if(t=arguments[l],t!=null)for(n in t)r=BO(a,n),o=BO(t,n),a!==o&&(c&&o&&(jO(o)||(i=NO(o)))?(i?(i=!1,s=r&&NO(r)?r:[]):s=r&&jO(r)?r:{},FO(a,{name:n,newValue:e(c,s,o)})):typeof o<"u"&&FO(a,{name:n,newValue:o}));return a};const iAe=Ne(nbe);function sAe(){const e=[],t={run:n,use:r};return t;function n(...o){let i=-1;const s=o.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);a(null,...o);function a(l,...u){const c=e[++i];let d=-1;if(l){s(l);return}for(;++d<o.length;)(u[d]===null||u[d]===void 0)&&(u[d]=o[d]);o=u,c?rbe(c,a)(...u):s(null,...u)}}function r(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return e.push(o),t}}function rbe(e,t){let n;return r;function r(...s){const a=e.length>s.length;let l;a&&s.push(o);try{l=e.apply(this,s)}catch(u){const c=u;if(a&&n)throw c;return o(c)}a||(l&&l.then&&typeof l.then=="function"?l.then(i,o):l instanceof Error?o(l):i(l))}function o(s,...a){n||(n=!0,t(s,...a))}function i(s){o(null,s)}}function aAe(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;o!==-1;)r++,o=n.indexOf(t,o+t.length);return r}function obe(e){return e.length}function lAe(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||obe,i=[],s=[],a=[],l=[];let u=0,c=-1;for(;++c<e.length;){const p=[],m=[];let y=-1;for(e[c].length>u&&(u=e[c].length);++y<e[c].length;){const v=ibe(e[c][y]);if(n.alignDelimiters!==!1){const w=o(v);m[y]=w,(l[y]===void 0||w>l[y])&&(l[y]=w)}p.push(v)}s[c]=p,a[c]=m}let d=-1;if(typeof r=="object"&&"length"in r)for(;++d<u;)i[d]=UO(r[d]);else{const p=UO(r);for(;++d<u;)i[d]=p}d=-1;const f=[],h=[];for(;++d<u;){const p=i[d];let m="",y="";p===99?(m=":",y=":"):p===108?m=":":p===114&&(y=":");let v=n.alignDelimiters===!1?1:Math.max(1,l[d]-m.length-y.length);const w=m+"-".repeat(v)+y;n.alignDelimiters!==!1&&(v=m.length+v+y.length,v>l[d]&&(l[d]=v),h[d]=v),f[d]=w}s.splice(1,0,f),a.splice(1,0,h),c=-1;const g=[];for(;++c<s.length;){const p=s[c],m=a[c];d=-1;const y=[];for(;++d<u;){const v=p[d]||"";let w="",S="";if(n.alignDelimiters!==!1){const x=l[d]-(m[d]||0),k=i[d];k===114?w=" ".repeat(x):k===99?x%2?(w=" ".repeat(x/2+.5),S=" ".repeat(x/2-.5)):(w=" ".repeat(x/2),S=w):S=" ".repeat(x)}n.delimiterStart!==!1&&!d&&y.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&v==="")&&(n.delimiterStart!==!1||d)&&y.push(" "),n.alignDelimiters!==!1&&y.push(w),y.push(v),n.alignDelimiters!==!1&&y.push(S),n.padding!==!1&&y.push(" "),(n.delimiterEnd!==!1||d!==u-1)&&y.push("|")}g.push(n.delimiterEnd===!1?y.join("").replace(/ +$/,""):y.join(""))}return g.join(`
1198`)}function ibe(e){return e==null?"":String(e)}function UO(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function uAe(e,t){const n=String(e);let r=n.indexOf(t),o=r,i=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===o?++i>s&&(s=i):i=1,o=r+t.length,r=n.indexOf(t,o);return s}var sv="Collapsible",[sbe,fF]=Wr(sv),[abe,rE]=sbe(sv),hF=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:s,...a}=e,[l,u]=Yo({prop:r,defaultProp:o??!1,onChange:s,caller:sv});return E.jsx(abe,{scope:n,disabled:i,contentId:_i(),open:l,onOpenToggle:b.useCallback(()=>u(c=>!c),[u]),children:E.jsx(Ee.div,{"data-state":iE(l),"data-disabled":i?"":void 0,...a,ref:t})})});hF.displayName=sv;var pF="CollapsibleTrigger",mF=b.forwardRef((e,t)=>
vendor: 2,534 bytes, line 1198
1198{const{__scopeCollapsible:n,...r}=e,o=rE(pF,n);return E.jsx(Ee.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":iE(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:Se(e.onClick,o.onOpenToggle)})});mF.displayName=pF;var oE="CollapsibleContent",gF=b.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=rE(oE,e.__scopeCollapsible);return E.jsx(Zo,{present:n||o.open,children:({present:i})=>E.jsx(lbe,{...r,ref:t,present:i})})});gF.displayName=oE;var lbe=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,s=rE(oE,n),[a,l]=b.useState(r),u=b.useRef(null),c=Fe(t,u),d=b.useRef(0),f=d.current,h=b.useRef(0),g=h.current,p=s.open||a,m=b.useRef(p),y=b.useRef(void 0);return b.useEffect(()=>{const v=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(v)},[]),Xt(()=>{const v=u.current;if(v){y.current=y.current||{transitionDuration:v.style.transitionDuration,animationName:v.style.animationName},v.style.transitionDuration="0s",v.style.animationName="none";const w=v.getBoundingClientRect();d.current=w.height,h.current=w.width,m.current||(v.style.transitionDuration=y.current.transitionDuration,v.style.animationName=y.current.animationName),l(r)}},[s.open,r]),E.jsx(Ee.div,{"data-state":iE(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!p,...i,ref:c,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:p&&o})});function iE(e){return e?"open":"closed"}var ube=hF,cbe=mF,dbe=gF,xo="Accordion",fbe=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[sE,hbe,pbe]=I2(xo),[av]=Wr(xo,[pbe,fF]),aE=fF(),yF=z.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return E.jsx(sE.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?E.jsx(vbe,{...i,ref:t}):E.jsx(ybe,{...o,ref:t})})});yF.displayName=xo;var[vF,mbe]=av(xo),[wF,gbe]=av(xo,{collapsible:!1}),ybe=z.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...s}=e,[a,l]=Yo({prop:n,defaultProp:r??"",onChange:o,caller:xo});return E.jsx(vF,{scope:e.__scopeAccordion,value:z.useMemo(()=>a?[a]:[],[a]),onItemOpen:l,onItemClose:z.useCallback(()=>i&&l(""),[i,l]),children:E.jsx(wF,{scope:e.__scopeAccordion,collapsible:i,children:E.jsx(bF,{...s,ref:t})})})}),vbe=z.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[s,a]=Yo({prop:n,defaultProp:r??[],onChange:o,caller:xo}),l=z.useCallback(c=>a((d=[])=>
vendor: 4,116 bytes, line 1198
1198[...d,c]),[a]),u=z.useCallback(c=>a((d=[])=>d.filter(f=>f!==c)),[a]);return E.jsx(vF,{scope:e.__scopeAccordion,value:s,onItemOpen:l,onItemClose:u,children:E.jsx(wF,{scope:e.__scopeAccordion,collapsible:!0,children:E.jsx(bF,{...i,ref:t})})})}),[wbe,lv]=av(xo),bF=z.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...s}=e,a=z.useRef(null),l=Fe(a,t),u=hbe(n),d=s4(o)==="ltr",f=Se(e.onKeyDown,h=>{var A;if(!fbe.includes(h.key))return;const g=h.target,p=u().filter(M=>{var I;return!((I=M.ref.current)!=null&&I.disabled)}),m=p.findIndex(M=>M.ref.current===g),y=p.length;if(m===-1)return;h.preventDefault();let v=m;const w=0,S=y-1,x=()=>{v=m+1,v>S&&(v=w)},k=()=>{v=m-1,v<w&&(v=S)};switch(h.key){case"Home":v=w;break;case"End":v=S;break;case"ArrowRight":i==="horizontal"&&(d?x():k());break;case"ArrowDown":i==="vertical"&&x();break;case"ArrowLeft":i==="horizontal"&&(d?k():x());break;case"ArrowUp":i==="vertical"&&k();break}const _=v%y;(A=p[_].ref.current)==null||A.focus()});return E.jsx(wbe,{scope:n,disabled:r,direction:o,orientation:i,children:E.jsx(sE.Slot,{scope:n,children:E.jsx(Ee.div,{...s,"data-orientation":i,ref:l,onKeyDown:r?void 0:f})})})}),fg="AccordionItem",[bbe,lE]=av(fg),SF=z.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,i=lv(fg,n),s=mbe(fg,n),a=aE(n),l=_i(),u=r&&s.value.includes(r)||!1,c=i.disabled||e.disabled;return E.jsx(bbe,{scope:n,open:u,disabled:c,triggerId:l,children:E.jsx(ube,{"data-orientation":i.orientation,"data-state":TF(u),...a,...o,ref:t,disabled:c,open:u,onOpenChange:d=>{d?s.onItemOpen(r):s.onItemClose(r)}})})});SF.displayName=fg;var xF="AccordionHeader",kF=z.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=lv(xo,n),i=lE(xF,n);return E.jsx(Ee.h3,{"data-orientation":o.orientation,"data-state":TF(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});kF.displayName=xF;var kS="AccordionTrigger",EF=z.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=lv(xo,n),i=lE(kS,n),s=gbe(kS,n),a=aE(n);return E.jsx(sE.ItemSlot,{scope:n,children:E.jsx(cbe,{"aria-disabled":i.open&&!s.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...a,...r,ref:t})})});EF.displayName=kS;var _F="AccordionContent",CF=z.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=lv(xo,n),i=lE(_F,n),s=aE(n);return E.jsx(dbe,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...s,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});CF.displayName=_F;function TF(e){return e?"open":"closed"}var cAe=yF,dAe=SF,fAe=kF,hAe=EF,pAe=CF,AF="AlertDialog",[Sbe]=Wr(AF,[zN]),Bi=zN(),PF=e=>{const{__scopeAlertDialog:t,...n}=e,r=Bi(t);return E.jsx(dte,{...r,...n,modal:!0})};PF.displayName=AF;var xbe="AlertDialogTrigger",RF=b.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Bi(n);return E.jsx(fte,{...o,...r,ref:t})});RF.displayName=xbe;var kbe="AlertDialogPortal",OF=e=>{const{__scopeAlertDialog:t,...n}=e,r=Bi(t);return E.jsx(hte,{...r,...n})};OF.displayName=kbe;var Ebe="AlertDialogOverlay",MF=b.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Bi(n);return E.jsx(pte,{...o,...r,ref:t})});MF.displayName=Ebe;var mu="AlertDialogContent",[_be,Cbe]=Sbe(mu),Tbe=l$("AlertDialogContent"),IF=b.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,i=Bi(n),s=b.useRef(null),a=Fe(t,s),l=b.useRef(null);return E.jsx(ate,{contentName:mu,titleName:DF,docsSlug:"alert-dialog",children:E.jsx(_be,{scope:n,cancelRef:l,children:E.jsxs(mte,{role:"alertdialog",...i,...o,ref:a,onOpenAutoFocus:Se(o.onOpenAutoFocus,u=>{var c;u.preventDefault(),(c=l.current)==null||c.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[E.jsx(Tbe,{children:r}),E.jsx(Pbe,{contentRef:s})]})})})});IF.displayName=mu;var DF="AlertDialogTitle",LF=b.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Bi(n);return E.jsx(gte,{...o,...r,ref:t})});LF.displayName=DF;var $F="AlertDialogDescription",NF=b.forwardRef((e,t)=>
vendor: 3,203 bytes, lines 1198-1204
1198{const{__scopeAlertDialog:n,...r}=e,o=Bi(n);return E.jsx(yte,{...o,...r,ref:t})});NF.displayName=$F;var Abe="AlertDialogAction",jF=b.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Bi(n);return E.jsx(o4,{...o,...r,ref:t})});jF.displayName=Abe;var FF="AlertDialogCancel",BF=b.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=Cbe(FF,n),i=Bi(n),s=Fe(t,o);return E.jsx(o4,{...i,...r,ref:s})});BF.displayName=FF;var Pbe=({contentRef:e})=>{const t=`\`${mu}\` requires a description for the component to be accessible for screen reader users.
1199
1200You can add a description to the \`${mu}\` by passing a \`${$F}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
1201
1202Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${mu}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
1203
1204For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return b.useEffect(()=>{var r;document.getElementById((r=e.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},mAe=PF,gAe=RF,yAe=OF,vAe=MF,wAe=IF,bAe=jF,SAe=BF,xAe=LF,kAe=NF,uv="Switch",[Rbe]=Wr(uv),[Obe,Mbe]=Rbe(uv),UF=b.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:i,required:s,disabled:a,value:l="on",onCheckedChange:u,form:c,...d}=e,[f,h]=b.useState(null),g=Fe(t,w=>h(w)),p=b.useRef(!1),m=f?c||!!f.closest("form"):!0,[y,v]=Yo({prop:o,defaultProp:i??!1,onChange:u,caller:uv});return E.jsxs(Obe,{scope:n,checked:y,disabled:a,children:[E.jsx(Ee.button,{type:"button",role:"switch","aria-checked":y,"aria-required":s,"data-state":WF(y),"data-disabled":a?"":void 0,disabled:a,value:l,...d,ref:g,onClick:Se(e.onClick,w=>{v(S=>!S),m&&(p.current=w.isPropagationStopped(),p.current||w.stopPropagation())})}),m&&E.jsx(HF,{control:f,bubbles:!p.current,name:r,value:l,checked:y,required:s,disabled:a,form:c,style:{transform:"translateX(-100%)"}})]})});UF.displayName=uv;var zF="SwitchThumb",VF=b.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=Mbe(zF,n);return E.jsx(Ee.span,{"data-state":WF(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});VF.displayName=zF;var Ibe="SwitchBubbleInput",HF=b.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...o},i)=>{const s=b.useRef(null),a=Fe(s,i),l=sk(n),u=W2(t);return b.useEffect(()=>{const c=s.current;if(!c)return;const d=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(d,"checked").set;if(l!==n&&h){const g=new Event("click",{bubbles:r});h.call(c,n),c.dispatchEvent(g)}},[l,n,r]),E.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:a,style:{...o.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});HF.displayName=Ibe;function WF(e){return e?"checked":"unchecked"}var EAe=UF,_Ae=VF,zO=!1,ba,ES,_S,Gp,Yp,qF,Xp,CS,TS,AS,KF,PS,RS,GF,YF;function Fn(){if(!zO){zO=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Ice
1204weasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(PS=/\b(iPhone|iP[ao]d)/.exec(e),RS=/\b(iP[ao]d)/.exec(e),AS=/Android/i.exec(e),GF=/FBAN\/\w+;/i.exec(e),YF=/Mobile/i.exec(e),KF=!!/Win64/.exec(e),t){ba=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,ba&&document&&document.documentMode&&(ba=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);qF=r?parseFloat(r[1])+4:ba,ES=t[2]?parseFloat(t[2]):NaN,_S=t[3]?parseFloat(t[3]):NaN,Gp=t[4]?parseFloat(t[4]):NaN,Gp?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),Yp=t&&t[1]?parseFloat(t[1]):NaN):Yp=NaN}else ba=ES=_S=Yp=Gp=NaN;if(n){if(n[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);Xp=o?parseFloat(o[1].replace("_",".")):!0}else Xp=!1;CS=!!n[2],TS=!!n[3]}else Xp=CS=TS=!1}}var OS={ie:function(){return Fn()||ba},ieCompatibilityMode:function(){return Fn()||qF>ba},ie64:function(){return OS.ie()&&KF},firefox:function(){return Fn()||ES},opera:function(){return Fn()||_S},webkit:function(){return Fn()||Gp},safari:function(){return OS.webkit()},chrome:function(){return Fn()||Yp},windows:function(){return Fn()||CS},osx:function(){return Fn()||Xp},linux:function(){return Fn()||TS},iphone:function(){return Fn()||PS},mobile:function(){return Fn()||PS||RS||AS||YF},nativeApp:function(){return Fn()||GF},android:function(){return Fn()||AS},ipad:function(){return Fn()||RS}},Dbe=OS,Lbe=!!(typeof window<"u"&&window.document&&window.document.createElement),$be={canUseDOM:Lbe},Nbe=$be,XF=Nbe,JF;XF.canUseDOM&&(JF=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
1205 * Checks if an event is supported in the current execution environment.
1206 *
1207 * NOTE: This will not work correctly for non-generic events such as `change`,
1208 * `reset`, `load`, `error`, and `select`.
1209 *
1210 * Borrows from Modernizr.
1211 *
1212 * @param {string} eventNameSuffix Event name, e.g. "click".
1213 * @param {?boolean} capture Check if the capture phase is supported.
1214 * @return {boolean} True if the event is supported.
1215 * @internal
1216 * @license Modernizr 3.0.0pre (Custom Build) | MIT
1217 */function jbe(e,t){if(!XF.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var o=document.createElement("div");o.setAttribute(n,"return;"),r=typeof o[n]=="function"}return!r&&JF&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var Fbe=jbe,Bbe=Dbe,Ube=Fbe,VO=10,HO=40,WO=800;function QF(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*VO,o=n*VO,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(e.deltaMode==1?(r*=HO,o*=HO):(r*=WO,o*=WO)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}QF.getEventType=function(){return Bbe.firefox()?"DOMMouseScroll":Ube("wheel")?"wheel":"mousewheel"};var zbe=QF,Vbe=zbe;const Hbe=Ne(Vbe);function Wbe(e,t,n,r,o,i){i===void 0&&(i=0);var s=Bu(e,t,i),a=s.width,l=s.height,u=Math.min(a,n),c=Math.min(l,r);return u>c*o?{width:c*o,height:c}:{width:u,height:u/o}}function qbe(e){return e.width>e.height?e.width/e.naturalWidth:e.height/e.naturalHeight}function Uc(e,t,n,r,o){o===void 0&&(o=0);var i=Bu(t.width,t.height,o),s=i.width,a=i.height;return{x:qO(e.x,s,n.width,r),y:qO(e.y,a,n.height,r)}}function qO(e,t,n,r){var o=Math.abs(t*r/2-n/2);return cv(e,-o,o)}function KO(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function GO(e,t){return Math.atan2(t.y-e.y,t.x-e.x)*180/Math.PI}function Kbe(e,t,n,r,o,i,s){i===void 0&&(i=0),s===void 0&&(s=!0);var a=s?Gbe:Ybe,l=Bu(t.width,t.height,i),u=Bu(t.naturalWidth,t.naturalHeight,i),c={x:a(100,((l.width-n.width/o)/2-e.x/o)/l.width*100),y:a(100,((l.height-n.height/o)/2-e.y/o)/l.height*100),width:a(100,n.width/l.width*100/o),height:a(100,n.height/l.height*100/o)},d=Math.round(a(u.width,c.width*u.width/100)),f=Math.round(a(u.he
1217ight,c.height*u.height/100)),h=u.width>=u.height*r,g=h?{width:Math.round(f*r),height:f}:{width:d,height:Math.round(d/r)},p=et(et({},g),{x:Math.round(a(u.width-g.width,c.x*u.width/100)),y:Math.round(a(u.height-g.height,c.y*u.height/100))});return{croppedAreaPercentages:c,croppedAreaPixels:p}}function Gbe(e,t){return Math.min(e,Math.max(0,t))}function Ybe(e,t){return t}function Xbe(e,t,n,r,o,i){var s=Bu(t.width,t.height,n),a=cv(r.width/s.width*(100/e.width),o,i),l={x:a*s.width/2-r.width/2-s.width*a*(e.x/100),y:a*s.height/2-r.height/2-s.height*a*(e.y/100)};return{crop:l,zoom:a}}function Jbe(e,t,n){var r=qbe(t);return n.height>n.width?n.height/(e.height*r):n.width/(e.width*r)}function Qbe(e,t,n,r,o,i){n===void 0&&(n=0);var s=Bu(t.naturalWidth,t.naturalHeight,n),a=cv(Jbe(e,t,r),o,i),l=r.height>r.width?r.height/e.height:r.width/e.width,u={x:((s.width-e.width)/2-e.x)*l,y:((s.height-e.height)/2-e.y)*l};return{crop:u,zoom:a}}function YO(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function Zbe(e){return e*Math.PI/180}function Bu(e,t,n){var r=Zbe(n);return{width:Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t),height:Math.abs(Math.sin(r)*e)+Math.abs(Math.cos(r)*t)}}function cv(e,t,n){return Math.min(Math.max(e,t),n)}function sp(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(n){return typeof n=="string"&&n.length>0}).join(" ").trim()}var eSe=`.reactEasyCrop_Container {
1218  position: absolute;
1219  top: 0;
1220  left: 0;
1221  right: 0;
1222  bottom: 0;
1223  overflow: hidden;
1224  user-select: none;
1225  touch-action: none;
1226  cursor: move;
1227  display: flex;
1228  justify-content: center;
1229  align-items: center;
1230}
1231
1232.reactEasyCrop_Image,
1233.reactEasyCrop_Video {
1234  will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */
1235}
1236
1237.reactEasyCrop_Contain {
1238  max-width: 100%;
1239  max-height: 100%;
1240  margin: auto;
1241  position: absolute;
1242  top: 0;
1243  bottom: 0;
1244  left: 0;
1245  right: 0;
1246}
1247.reactEasyCrop_Cover_Horizontal {
1248  width: 100%;
1249  height: auto;
1250}
1251.reactEasyCrop_Cover_Vertical {
1252  width: auto;
1253  height: 100%;
1254}
1255
1256.reactEasyCrop_CropArea {
1257  position: absolute;
1258  left: 50%;
1259  top: 50%;
1260  transform: translate(-50%, -50%);
1261  border: 1px solid rgba(255, 255, 255, 0.5);
1262  box-sizing: border-box;
1263  box-shadow: 0 0 0 9999em;
1264  color: rgba(0, 0, 0, 0.5);
1265  overflow: hidden;
1266}
1267
1268.reactEasyCrop_CropAreaRound {
1269  border-radius: 50%;
1270}
1271
1272.reactEasyCrop_CropAreaGrid::before {
1273  content: ' ';
1274  box-sizing: border-box;
1275  position: absolute;
1276  border: 1px solid rgba(255, 255, 255, 0.5);
1277  top: 0;
1278  bottom: 0;
1279  left: 33.33%;
1280  right: 33.33%;
1281  border-top: 0;
1282  border-bottom: 0;
1283}
1284
1285.reactEasyCrop_CropAreaGrid::after {
1286  content: ' ';
1287  box-sizing: border-box;
1288  position: absolute;
1289  border: 1px solid rgba(255, 255, 255, 0.5);
1290  top: 33.33%;
1291  bottom: 33.33%;
1292  left: 0;
1293  right: 0;
1294  border-left: 0;
1295  border-right: 0;
1296}
1297`,tSe=1,nSe=3,rSe=1,CAe=function(e){sJ(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.cropperRef=b.createRef(),n.imageRef=b.createRef(),n.videoRef=b.createRef(),n.containerPosition={x:0,y:0},n.containerRef=null,n.styleRef=null,n.containerRect=null,n.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},n.dragStartPosition={x:0,y:0},n.dragStartCrop={x:0,y:0},n.gestureZoomStart=0,n.gestureRotationStart=0,n.isTouching=!1,n.lastPinchDistance=0,n.lastPinchRotation=0,n.rafDragTimeout=null,n.rafPinchTimeout=null,n.wheelTimer=null,n.currentDoc=typeof document<"u"?document:null,n.currentWindow=typeof window<"u"?window:null,n.resizeObserver=null,n.previousCropSize=null,n.isInitialized=!1,n.state={cropSize:null,hasWheelJustStarted:!1,mediaObjectFit:void 0},n.initResizeObserver=function(){if(!(typeof window.ResizeObserver>"u"||!n.containerRef)){var r=!0;n.resizeObserver=new window.ResizeObserver(function(o){if(r){r=!1;return}n.computeSizes()}),n.resizeObserver.observe(n.containerRef)}},n.preventZoomSafari=function(r){return r.preventDefault()},n.cleanEvents=function(){n.currentDoc&&(n.currentDoc.removeEventListener("mousemove",n.onMouseMove),n.currentDoc.removeEventListener("mouseup",n.onDragStopped),n.currentDoc.removeEventListener("touchmove",n.onTouchMove),n.currentDoc.removeEventListener("touchend",n.onDragStopped),n.currentDoc.removeEventListener("gesturechange",n.onGestureChange),n.currentDoc.removeEventListener("gestureend",n.onGestureEnd),n.currentDoc.removeEventListener("scroll",n.onScroll))},n.clearScrollEvent=function(){n.containerRef&&n.containerRef.removeEventListener("wheel",n.onWheel),n.wheelTimer&&clearTimeout(n.wheelTimer)},n.onMediaLoad=function(){var r=n.computeSizes();r&&(n.previousCropSize=r,n.emitCropData(),n.setInitialCrop(r),n.isInitialized=!0),n.props.onMediaLoaded&&n.props.onMediaLoaded(n.mediaSize)},n.setInitialCrop=function(r){if(n.props.initialCroppedAreaPercentages){var o=Xbe(n.props.initialCroppedAreaPercentages,n.mediaSize,n.props.rotation,r,n.props.minZoom,n.props.maxZoom),i=o.crop,s=o.zoom;n.props.onCropChange(i),n.props.onZoomChange&&n.props.onZoomChange(s)}else if(n.props.initialCroppedAreaPixels){var a=Qbe(n.props.initialCroppedAreaPixels,n.mediaSize,n.props.rotation,r,n.props.minZoom,n.props.maxZoom),i=a.crop,s=a.zoom;n.props.onCropChange(i),n.props.onZoomChange&&n.props.onZoomChange(s)}},n.computeSizes=function(){var r,o,i,s,a,l,u=n.imageRef.current||n.videoRef.current;if(u&&n.containerRef){n.containerRect=n.containerRef.getBoundingClientRect(),n.saveContainerPosition();var c=n.containerRect.width/n.containerRect.height,d=((r=n.imageRef.current)===null||r===void 0?void 0:r.naturalWi
1297dth)||((o=n.videoRef.current)===null||o===void 0?void 0:o.videoWidth)||0,f=((i=n.imageRef.current)===null||i===void 0?void 0:i.naturalHeight)||((s=n.videoRef.current)===null||s===void 0?void 0:s.videoHeight)||0,h=u.offsetWidth<d||u.offsetHeight<f,g=d/f,p=void 0;if(h)switch(n.state.mediaObjectFit){default:case"contain":p=c>g?{width:n.containerRect.height*g,height:n.containerRect.height}:{width:n.containerRect.width,height:n.containerRect.width/g};break;case"horizontal-cover":p={width:n.containerRect.width,height:n.containerRect.width/g};break;case"vertical-cover":p={width:n.containerRect.height*g,height:n.containerRect.height};break}else p={width:u.offsetWidth,height:u.offsetHeight};n.mediaSize=et(et({},p),{naturalWidth:d,naturalHeight:f}),n.props.setMediaSize&&n.props.setMediaSize(n.mediaSize);var m=n.props.cropSize?n.props.cropSize:Wbe(n.mediaSize.width,n.mediaSize.height,n.containerRect.width,n.containerRect.height,n.props.aspect,n.props.rotation);return(((a=n.state.cropSize)===null||a===void 0?void 0:a.height)!==m.height||((l=n.state.cropSize)===null||l===void 0?void 0:l.width)!==m.width)&&n.props.onCropSizeChange&&n.props.onCropSizeChange(m),n.setState({cropSize:m},n.recomputeCropPosition),n.props.setCropSize&&n.props.setCropSize(m),m}},n.saveContainerPosition=function(){if(n.containerRef){var r=n.containerRef.getBoundingClientRect();n.containerPosition={x:r.left,y:r.top}}},n.onMouseDown=function(r){n.currentDoc&&(r.preventDefault(),n.currentDoc.addEventListener("mousemove",n.onMouseMove),n.currentDoc.addEventListener("mouseup",n.onDragStopped),n.saveContainerPosition(),n.onDragStart(t.getMousePoint(r)))},n.onMouseMove=function(r){return n.onDrag(t.getMousePoint(r))},n.onScroll=function(r){n.currentDoc&&(r.preventDefault(),n.saveContainerPosition())},n.onTouchStart=function(r){n.currentDoc&&(n.isTouching=!0,!(n.props.onTouchRequest&&!n.props.onTouchRequest(r))&&(n.currentDoc.addEventListener("touchmove",n.onTouchMove,{passive:!1}),n.currentDoc.addEventListener("touchend",n.onDragStopped),n.saveContainerPosition(),r.touches.length===2?n.onPinchStart(r):r.touches.length===1&&n.onDragStart(t.getTouchPoint(r.touches[0]))))},n.onTouchMove=function(r){r.preventDefault(),r.touches.length===2?n.onPinchMove(r):r.touches.length===1&&n.onDrag(t.getTouchPoint(r.touches[0]))},n.onGestureStart=function(r){n.currentDoc&&(r.preventDefault(),n.currentDoc.addEventListener("gesturechange",n.onGestureChange),n.currentDoc.addEventListener("gestureend",n.onGestureEnd),n.gestureZoomStart=n.props.zoom,n.gestureRotationStart=n.props.rotation)},n.onGestureChange=function(r){if(r.preventDefault(),!n.isTouching){var o=t.getMousePoint(r),i=n.gestureZoomStart-1+r.scale;if(n.setNewZoom(i,o,{shouldUpdatePosition:!0}),n.props.onRotationChange){var s=n.gestureRotationStart+r.rotation;n.props.onRotationChange(s)}}},n.onGestureEnd=function(r){n.cleanEvents()},n.onDragStart=function(r){var o,i,s=r.x,a=r.y;n.dragStartPosition={x:s,y:a},n.dragStartCrop=et({},n.props.crop),(i=(o=n.props).onInteractionStart)===null||i===void 0||i.call(o)},n.onDrag=function(r){var o=r.x,i=r.y;n.currentWindow&&(n.rafDragTimeout&&n.currentWindow.cancelAnimationFrame(n.rafDragTimeout),n.rafDragTimeout=n.currentWindow.requestAnimationFrame(function(){if(n.state.cropSize&&!(o===void 0||i===void 0)){var s=o-n.dragStartPosition.x,a=i-n.dragStartPosition.y,l={x:n.dragStartCrop.x+s,y:n.dragStartCrop.y+a},u=n.props.restrictPosition?Uc(l,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):l;n.props.onCropChange(u)}}))},n.onDragStopped=function(){var r,o;n.isTouching=!1,n.cleanEvents(),n.emitCropData(),(o=(r=n.props).onInteractionEnd)===null||o===void 0||o.call(r)},n.onWheel=function(r){if(n.currentWindow&&!(n.props.onWheelRequest&&!n.props.onWheelRequest(r))){r.preventDefault();var o=t.getMousePoint(r),i=Hbe(r).pixelY,s=n.props.zoom-i*n.props.zoomSpeed/200;n.setNewZoom(s,o,{shouldUpdatePosition:!0}),n.state.hasWheelJustStarted||n.setState({hasWheelJustStarted:!0},function(){var a,l;return(l=(a=n.props).onInteractionStart)===null||l===void 0?void 0:l.call(a)}),n.wheelTimer&&clearTimeout(n.wheelTimer),n.wheelTimer=n.currentWindow.setTimeout(function(){return n.setState({hasWheelJustStarted:!1},function(){var a,l;return(l=(a=n.props).onInteractionEnd)===null||l===void 0?void 0:l.call(a)})},250)}},n.getPointOnContainer=function(r,o){var i=r.x,s=r.y;if(!n.containerRect)throw new Error("The Cropper is not mounted");return{x:n.containerRect.width/2-(i-o.x),y:n.containerRect.height/2-(s-o.y)}},n.getPointOnMedia=function(r){var o=r.x,i=r.y,s=n.props,a=s.crop,l=s.zoom;return{x:(o+a.x)/l,y:(i+a.y)/l}},n.setNewZoom=function(r,o,i){var s=i===void 0?{}:i,a=s.shouldUpdatePosition,l=a===void 0?!0:a;if(!(!n.state.cropSize||!n.props.onZoomChange)){var u=cv(r,n.props.minZoom,n.props.maxZoom);if(l){var c=n.getPointOnContainer(o,n.containerPosition),d=n.getPointOnMedia(c),f={x:d.x*u-c.x,y:d.y*u-c.y},h=n.props.restrictPosition?Uc(f,n.mediaSize,n.state.cropSize,u,n.props.rotation):f;n.props.onCropChange(h)}n.props.onZoomChange(u)}},n.getCropData=function(){if(!n.state.cropSize)return null;var r=n.props.restrictPosition?Uc(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop;return Kbe(r,n.mediaSize,n.state.cropSize,n.getAspect(),n.props.zoom,n.props.rotation,n.props.restrictPosition)},n.emitCropData=function(){var r=n.getCropData();if(r){var o=r.croppedAreaPercentages,i=r.croppedAreaPixels;n.props.onCropComplete&&n.props.onCropComplete(o,i),n.props.onCropAreaChange&&n.props.onCropAreaChange(o,i)}},n.emitCropAreaChange=function(){var r=n.getCropData();if(r){var o=r.croppedAreaPercentages,i=r.croppedAreaPixels;n.props.onCropAreaChange&&n.props.onCropAreaChange(o,i)}},n.recomputeCropPosition=function(){var r,o;
1297if(n.state.cropSize){var i=n.props.crop;if(n.isInitialized&&(!((r=n.previousCropSize)===null||r===void 0)&&r.width)&&(!((o=n.previousCropSize)===null||o===void 0)&&o.height)){var s=Math.abs(n.previousCropSize.width-n.state.cropSize.width)>1e-6||Math.abs(n.previousCropSize.height-n.state.cropSize.height)>1e-6;if(s){var a=n.state.cropSize.width/n.previousCropSize.width,l=n.state.cropSize.height/n.previousCropSize.height;i={x:n.props.crop.x*a,y:n.props.crop.y*l}}}var u=n.props.restrictPosition?Uc(i,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):i;n.previousCropSize=n.state.cropSize,n.props.onCropChange(u),n.emitCropData()}},n.onKeyDown=function(r){var o,i,s=n.props,a=s.crop,l=s.onCropChange,u=s.keyboardStep,c=s.zoom,d=s.rotation,f=u;if(n.state.cropSize){r.shiftKey&&(f*=.2);var h=et({},a);switch(r.key){case"ArrowUp":h.y-=f,r.preventDefault();break;case"ArrowDown":h.y+=f,r.preventDefault();break;case"ArrowLeft":h.x-=f,r.preventDefault();break;case"ArrowRight":h.x+=f,r.preventDefault();break;default:return}n.props.restrictPosition&&(h=Uc(h,n.mediaSize,n.state.cropSize,c,d)),r.repeat||(i=(o=n.props).onInteractionStart)===null||i===void 0||i.call(o),l(h)}},n.onKeyUp=function(r){var o,i;switch(r.key){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":r.preventDefault();break;default:return}n.emitCropData(),(i=(o=n.props).onInteractionEnd)===null||i===void 0||i.call(o)},n}return t.prototype.componentDidMount=function(){!this.currentDoc||!this.currentWindow||(this.containerRef&&(this.containerRef.ownerDocument&&(this.currentDoc=this.containerRef.ownerDocument),this.currentDoc.defaultView&&(this.currentWindow=this.currentDoc.defaultView),this.initResizeObserver(),typeof window.ResizeObserver>"u"&&this.currentWindow.addEventListener("resize",this.computeSizes),this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.onGestureStart)),this.currentDoc.addEventListener("scroll",this.onScroll),this.props.disableAutomaticStylesInjection||(this.styleRef=this.currentDoc.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.props.nonce&&this.styleRef.setAttribute("nonce",this.props.nonce),this.styleRef.innerHTML=eSe,this.currentDoc.head.appendChild(this.styleRef)),this.imageRef.current&&this.imageRef.current.complete&&this.onMediaLoad(),this.props.setImageRef&&this.props.setImageRef(this.imageRef),this.props.setVideoRef&&this.props.setVideoRef(this.videoRef),this.props.setCropperRef&&this.props.setCropperRef(this.cropperRef))},t.prototype.componentWillUnmount=function(){var n,r;!this.currentDoc||!this.currentWindow||(typeof window.ResizeObserver>"u"&&this.currentWindow.removeEventListener("resize",this.computeSizes),(n=this.resizeObserver)===null||n===void 0||n.disconnect(),this.containerRef&&this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.styleRef&&((r=this.styleRef.parentNode)===null||r===void 0||r.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent())},t.prototype.componentDidUpdate=function(n){var r,o,i,s,a,l,u,c,d;n.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):n.aspect!==this.props.aspect?this.computeSizes():n.objectFit!==this.props.objectFit?this.computeSizes():n.zoom!==this.props.zoom?this.recomputeCropPosition():((r=n.cropSize)===null||r===void 0?void 0:r.height)!==((o=this.props.cropSize)===null||o===void 0?void 0:o.height)||((i=n.cropSize)===null||i===void 0?void 0:i.width)!==((s=this.props.cropSize)===null||s===void 0?void 0:s.width)?this.computeSizes():(((a=n.crop)===null||a===void 0?void 0:a.x)!==((l=this.props.crop)===null||l===void 0?void 0:l.x)||((u=n.crop)===null||u===void 0?void 0:u.y)!==((c=this.props.crop)===null||c===void 0?void 0:c.y))&&this.emitCropAreaChange(),n.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),n.video!==this.props.video&&((d=this.videoRef.current)===null||d===void 0||d.load());var f=this.getObjectFit();f!==this.state.mediaObjectFit&&this.setState({mediaObjectFit:f},this.computeSizes)},t.prototype.getAspect=function(){var n=this.props,r=n.cropSize,o=n.aspect;return r?r.width/r.height:o},t.prototype.getObjectFit=function(){var n,r,o,i;if(this.props.objectFit==="cover"){var s=this.imageRef.current||this.videoRef.current;if(s&&this.containerRef){this.containerRect=this.containerRef.getBoundingClientRect();var a=this.containerRect.width/this.containerRect.height,l=((n=this.imageRef.current)===null||n===void 0?void 0:n.naturalWi
1297dth)||((r=this.videoRef.current)===null||r===void 0?void 0:r.videoWidth)||0,u=((o=this.imageRef.current)===null||o===void 0?void 0:o.naturalHeight)||((i=this.videoRef.current)===null||i===void 0?void 0:i.videoHeight)||0,c=l/u;return c<a?"horizontal-cover":"vertical-cover"}return"horizontal-cover"}return this.props.objectFit},t.prototype.onPinchStart=function(n){var r=t.getTouchPoint(n.touches[0]),o=t.getTouchPoint(n.touches[1]);this.lastPinchDistance=KO(r,o),this.lastPinchRotation=GO(r,o),this.onDragStart(YO(r,o))},t.prototype.onPinchMove=function(n){var r=this;if(!(!this.currentDoc||!this.currentWindow)){var o=t.getTouchPoint(n.touches[0]),i=t.getTouchPoint(n.touches[1]),s=YO(o,i);this.onDrag(s),this.rafPinchTimeout&&this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var a=KO(o,i),l=r.props.zoom*(a/r.lastPinchDistance);r.setNewZoom(l,s,{shouldUpdatePosition:!1}),r.lastPinchDistance=a;var u=GO(o,i),c=r.props.rotation+(u-r.lastPinchRotation);r.props.onRotationChange&&r.props.onRotationChange(c),r.lastPinchRotation=u})}},t.prototype.render=function(){var n=this,r,o=this.props,i=o.image,s=o.video,a=o.mediaProps,l=o.cropperProps,u=o.transform,c=o.crop,d=c.x,f=c.y,h=o.rotation,g=o.zoom,p=o.cropShape,m=o.showGrid,y=o.roundCropAreaPixels,v=o.style,w=v.containerStyle,S=v.cropAreaStyle,x=v.mediaStyle,k=o.classes,_=k.containerClassName,A=k.cropAreaClassName,M=k.mediaClassName,I=(r=this.state.mediaObjectFit)!==null&&r!==void 0?r:this.getObjectFit();return b.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(L){return n.containerRef=L},"data-testid":"container",style:w,className:sp("reactEasyCrop_Container",_)},i?b.createElement("img",et({alt:"",className:sp("reactEasyCrop_Image",I==="contain"&&"reactEasyCrop_Contain",I==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",I==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",M)},a,{src:i,ref:this.imageRef,style:et(et({},x),{transform:u||"translate(".concat(d,"px, ").concat(f,"px) rotate(").concat(h,"deg) scale(").concat(g,")")}),onLoad:this.onMediaLoad})):s&&b.createElement("video",et({autoPlay:!0,playsInline:!0,loop:!0,muted:!0,className:sp("reactEasyCrop_Video",I==="contain"&&"reactEasyCrop_Contain",I==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",I==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",M)},a,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:et(et({},x),{transform:u||"translate(".concat(d,"px, ").concat(f,"px) rotate(").concat(h,"deg) scale(").concat(g,")")}),controls:!1}),(Array.isArray(s)?s:[{src:s}]).map(function(N){return b.createElement("source",et({key:N.src},N))})),this.state.cropSize&&b.createElement("div",et({ref:this.cropperRef,style:et(et({},S),{width:y?Math.round(this.state.cropSize.width):this.state.cropSize.width,height:y?Math.round(this.state.cropSize.height):this.state.cropSize.height}),tabIndex:0,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,"data-testid":"cropper",className:sp("reactEasyCrop_CropArea",p==="round"&&"reactEasyCrop_CropAreaRound",m&&"reactEasyCrop_CropAreaGrid",A)},l)))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:nSe,minZoom:tSe,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},cropperProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0,keyboardStep:rSe},t.getMousePoint=function(n){return{x:Number(n.clientX),y:Number(n.clientY)}},t.getTouchPoint=function(n){return{x:Number(n.clientX),y:Number(n.clientY)}},t}(b.Component),ZF={exports:{}},e8={};/**
1298 * @license React
1299 * use-sync-external-store-shim.production.js
1300 *
1301 * Copyright (c) Meta Platforms, Inc. and affiliates.
1302 *
1303 * This source code is licensed under the MIT license found in the
1304 * LICENSE file in the root directory of this source tree.
1305 */var Uu=b;function oSe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var iSe=typeof Object.is=="function"?Object.is:oSe,sSe=Uu.useState,aSe=Uu.useEffect,lSe=Uu.useLayoutEffect,uSe=Uu.useDebugValue;function cSe(e,t){var n=t(),r=sSe({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return lSe(function(){o.value=n,o.getSnapshot=t,d1(o)&&i({inst:o})},[e,n,t]),aSe(function(){return d1(o)&&i({inst:o}),e(function(){d1(o)&&i({inst:o})})},[e]),uSe(n),n}function d1(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!iSe(e,n)}catch{return!0}}function dSe(e,t){return t()}var fSe=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?dSe:cSe;e8.useSyncExternalStore=Uu.useSyncExternalStore!==void 0?Uu.useSyncExternalStore:fSe;ZF.exports=e8;var hSe=ZF.exports,t8={exports:{}},n8={};/**
1306 * @license React
1307 * use-sync-external-store-shim/with-selector.production.js
1308 *
1309 * Copyright (c) Meta Platforms, Inc. and affiliates.
1310 *
1311 * This source code is licensed under the MIT license found in the
1312 * LICENSE file in the root directory of this source tree.
1313 */var dv=b,pSe=hSe;function mSe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gSe=typeof Object.is=="function"?Object.is:mSe,ySe=pSe.useSyncExternalStore,vSe=dv.useRef,wSe=dv.useEffect,bSe=dv.useMemo,SSe=dv.useDebugValue;n8.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=vSe(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=bSe(function(){function l(h){if(!u){if(u=!0,c=h,h=r(h),o!==void 0&&s.hasValue){var g=s.value;if(o(g,h))return d=g}return d=h}if(g=d,gSe(c,h))return g;var p=r(h);return o!==void 0&&o(g,p)?(c=h,g):(c=h,d=p)}var u=!1,c,d,f=n===void 0?null:n;return[function(){return l(t())},f===null?void 0:function(){return l(f())}]},[t,n,r,o]);var a=ySe(e,i[0],i[1]);return wSe(function(){s.hasValue=!0,s.value=a},[a]),SSe(a),a};t8.exports=n8;var TAe=t8.exports;const xSe="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2
1313ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",kSe="ελ1υ2бг1ел3дети4ею2католик6ом3мÐ
1313ºÐ´2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3Õ°Õ¡Õµ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1ì»´2삼성2한국2",MS="numeric",IS="ascii",DS="alpha",Od="asciinumeric",sd="alphanumeric",LS="domain",r8="emoji",ESe="scheme",_Se="slashscheme",f1="whitespace";function CSe(e,t){return e in t||(t[e]=[]),t[e]}function Pa(e,t,n){t[MS]&&(t[Od]=!0,t[sd]=!0),t[IS]&&(t[Od]=!0,t[DS]=!0),t[Od]&&(t[sd]=!0),t[DS]&&(t[sd]=!0),t[sd]&&(t[LS]=!0),t[r8]&&(t[LS]=!0);for(const r in t){const o=CSe(r,n);o.indexOf(e)<0&&o.push(e)}}function TSe(e,t){const n={};for(const r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}function qn(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}qn.groups={};qn.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let r=0;r<t.jr.length;r++){const o=t.jr[r][0],i=t.jr[r][1];if(i&&o.test(e))return i}return t.jd},has(e,t=!1){return t?e in this.j:!!this.go(e)},ta(e,t,n,r){for(let o=0;o<e.length;o++)this.tt(e[o],t,n,r)},tr(e,t,n,r){r=r||qn.groups;let o;return t&&t.j?o=t:(o=new qn(t),n&&r&&Pa(t,n,r)),this.jr.push([e,o]),o},ts(e,t,n,r){let o=this;const i=e.length;if(!i)return o;for(let s=0;s<i-1;s++)o=o.tt(e[s]);return o.tt(e[i-1],t,n,r)},tt(e,t,n,r){r=r||qn.groups;const o=this;if(t&&t.j)return o.j[e]=t,t;const i=t;let s,a=o.go(e);if(a?(s=new qn,Object.assign(s.j,a.j),s.jr.push.apply(s.jr,a.jr),s.jd=a.jd,s.t=a.t):s=new qn,i){if(r)if(s.t&&typeof s.t=="string"){const l=Object.assign(TSe(s.t,r),n);Pa(i,l,r)}else n&&Pa(i,n,r);s.t=i}return o.j[e]=s,s}};const Re=(e,t,n,r,o)=>e.ta(t,n,r,o),xt=(e,t,n,r,o)=>e.tr(t,n,r,o),XO=(e,t,n,r,o)=>e.ts(t,n,r,o),X=(e,t,n,r,o)=>e.tt(t,n,r,o),pi="WORD",$S="UWORD",o8="ASCIINUMERICAL",i8="ALPHANUMERICAL",Of="LOCALHOST",NS="TLD",jS="UTLD",Jp="SCHEME",Fl="SLASH_SCHEME",uE="NUM",FS="WS",cE="NL",Md="OPENBRACE",Id="CLOSEBRACE",hg="OPENBRACKET",pg="CLOSEBRACKET",mg="OPENPAREN",gg="CLOSEPAREN",yg="OPENANGLEBRACKET",vg="CLOSEANGLEBRACKET",wg="FULLWIDTHLEFTPAREN",bg="FULLWIDTHRIGHTPAREN",Sg="LEFTCORNERBRACKET",xg="RIGHTCORNERBRACKET",kg="LEFTWHITECORNERBRACKET",Eg="RIGHTWHITECORNERBRACKET",_g="FULLWIDTHLESSTHAN",Cg="FULLWIDTHGREATERTHAN",Tg="AMPERSAND",Ag="APOSTROPHE",Pg="ASTERISK",rs="AT",Rg="BACKSLASH",Og="BACKTICK",Mg="CARET",Ra="COLON",dE="COMMA",Ig="DOLLAR",Io="DOT",Dg="EQUALS",fE="EXCLAMATION",Or="HYPHEN",Dd="PERCENT",Lg="PIPE",$g="PLUS",Ng="POUND",Ld="QUERY",hE="QUOTE",s8="FULLWIDTHMIDDLEDOT",pE="SEMI",Do="SLASH",$d="TILDE",jg="UNDERSCORE",a8="EMOJI",Fg="SYM";var l8=Object.freeze({__proto__:null,ALPHANUMERICAL:i8,AMPERSAND:Tg,APOSTROPHE:Ag,ASCIINUMERICAL:o8,ASTERISK:Pg,AT:rs,BACKSLASH:Rg,BACKTICK:Og,CARET:Mg,CLOSEANGLEBRACKET:vg,CLOSEBRACE:Id,CLOSEBRACKET:pg,CLOSEPAREN:gg,COLON:Ra,COMMA:dE,DOLLAR:Ig,DOT:Io,EMOJI:a8,EQUALS:Dg,EXCLAMATION:fE,FULLWIDTHGREATERTHAN:Cg,FULLWIDTHLEFTPAREN:wg,FULLWIDTHLESSTHAN:_g,FULLWIDTHMIDDLEDOT:s8,FULLWIDTHRIGHTPAREN:bg,HYPHEN:Or,LEFTCORNERBRACKET:Sg,LEFTWHITECORNERBRACKET:kg,LOCALHOST:Of,NL:cE,NUM:uE,OPENANGLEBRACKET:yg,OPENBRACE:Md,OPENBRACKET:hg,OPENPAREN:mg,PERCENT:Dd,PIPE:Lg,PLUS:$g,POUND:Ng,QUERY:Ld,QUOTE:hE,RIGHTCORNERBRACKET:xg,RIGHTWHITECORNERBRACKET:Eg,SCHEME:Jp,SEMI:pE,SLASH:Do,SLASH_SCHEME:Fl,SYM:Fg,TILDE:$d,TLD:NS,UNDERSCORE:jg,UTLD:jS,UWORD:$S,WORD:pi,WS:FS});const ci=/[a-z]/,zc=new RegExp("\\p{L}","u"),h1=new RegExp("\\p{Emoji}","u"),di=/\d/,p1=/\s/,JO="\r",m1=`
1314`,ASe="️",PSe="‍",g1="";let ap=null,lp=null;function RSe(e=[]){const t={};qn.groups=t;const n=new qn;ap==null&&(ap=QO(xSe)),lp==null&&(lp=QO(kSe)),X(n,"'",Ag),X(n,"{",Md),X(n,"}",Id),X(n,"[",hg),X(n,"]",pg),X(n,"(",mg),X(n,")",gg),X(n,"<",yg),X(n,">",vg),X(n,"(",wg),X(n,")",bg),X(n,"「",Sg),X(n,"」",xg),X(n,"『",kg),X(n,"』",Eg),X(n,"<",_g),X(n,">",Cg),X(n,"&",Tg),X(n,"*",Pg),X(n,"@",rs),X(n,"`",Og),X(n,"^",Mg),X(n,":",Ra),X(n,",",dE),X(n,"$",Ig),X(n,".",Io),X(n,"=",Dg),X(n,"!",fE),X(n,"-",Or),X(n,"%",Dd),X(n,"|",Lg),X(n,"+",$g),X(n,"#",Ng),X(n,"?",Ld),X(n,'"',hE),X(n,"/",Do),X(n,";",pE),X(n,"~",$d),X(n,"_",jg),X(n,"\\",Rg),X(n,"・",s8);const r=xt(n,di,uE,{[MS]:!0});xt(r,di,r);const o=xt(r,ci,o8,{[Od]:!0}),i=xt(r,zc,i8,{[sd]:!0}),s=xt(n,ci,pi,{[IS]:!0});xt(s,di,o),xt(s,ci,s),xt(o,di,o),xt(o,ci,o);const a=xt(n,zc,$S,{[DS]:!0});xt(a,ci),xt(a,di,i),xt(a,zc,a),xt(i,di,i),xt(i,ci),xt(i,zc,i);const l=X(n,m1,cE,{[f1]:!0}),u=X(n,JO,FS,{[f1]:!0}),c=xt(n,p1,FS,{[f1]:!0});X(n,g1,c),X(u,m1,l),X(u,g1,c),xt(u,p1,c),X(c,JO),X(c,m1),xt(c,p1,c),X(c,g1,c
vendor: 6,049 bytes, line 1314
1314);const d=xt(n,h1,a8,{[r8]:!0});X(d,"#"),xt(d,h1,d),X(d,ASe,d);const f=X(d,PSe);X(f,"#"),xt(f,h1,d);const h=[[ci,s],[di,o]],g=[[ci,null],[zc,a],[di,i]];for(let p=0;p<ap.length;p++)Ki(n,ap[p],NS,pi,h);for(let p=0;p<lp.length;p++)Ki(n,lp[p],jS,$S,g);Pa(NS,{tld:!0,ascii:!0},t),Pa(jS,{utld:!0,alpha:!0},t),Ki(n,"file",Jp,pi,h),Ki(n,"mailto",Jp,pi,h),Ki(n,"http",Fl,pi,h),Ki(n,"https",Fl,pi,h),Ki(n,"ftp",Fl,pi,h),Ki(n,"ftps",Fl,pi,h),Pa(Jp,{scheme:!0,ascii:!0},t),Pa(Fl,{slashscheme:!0,ascii:!0},t),e=e.sort((p,m)=>p[0]>m[0]?1:-1);for(let p=0;p<e.length;p++){const m=e[p][0],v=e[p][1]?{[ESe]:!0}:{[_Se]:!0};m.indexOf("-")>=0?v[LS]=!0:ci.test(m)?di.test(m)?v[Od]=!0:v[IS]=!0:v[MS]=!0,XO(n,m,m,v)}return XO(n,"localhost",Of,{ascii:!0}),n.jd=new qn(Fg),{start:n,tokens:Object.assign({groups:t},l8)}}function u8(e,t){const n=OSe(t.replace(/[A-Z]/g,a=>a.toLowerCase())),r=n.length,o=[];let i=0,s=0;for(;s<r;){let a=e,l=null,u=0,c=null,d=-1,f=-1;for(;s<r&&(l=a.go(n[s]));)a=l,a.accepts()?(d=0,f=0,c=a):d>=0&&(d+=n[s].length,f++),u+=n[s].length,i+=n[s].length,s++;i-=d,s-=f,u-=d,o.push({t:c.t,v:t.slice(i-u,i),s:i-u,e:i})}return o}function OSe(e){const t=[],n=e.length;let r=0;for(;r<n;){let o=e.charCodeAt(r),i,s=o<55296||o>56319||r+1===n||(i=e.charCodeAt(r+1))<56320||i>57343?e[r]:e.slice(r,r+2);t.push(s),r+=s.length}return t}function Ki(e,t,n,r,o){let i;const s=t.length;for(let a=0;a<s-1;a++){const l=t[a];e.j[l]?i=e.j[l]:(i=new qn(r),i.jr=o.slice(),e.j[l]=i),e=i}return i=new qn(n),i.jr=o.slice(),e.j[t[s-1]]=i,i}function QO(e){const t=[],n=[];let r=0,o="0123456789";for(;r<e.length;){let i=0;for(;o.indexOf(e[r+i])>=0;)i++;if(i>0){t.push(n.join(""));for(let s=parseInt(e.substring(r,r+i),10);s>0;s--)n.pop();r+=i}else n.push(e[r]),r++}return t}const Mf={defaultProtocol:"http",events:null,format:ZO,formatHref:ZO,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function mE(e,t=null){let n=Object.assign({},Mf);e&&(n=Object.assign(n,e instanceof mE?e.o:e));const r=n.ignoreTags,o=[];for(let i=0;i<r.length;i++)o.push(r[i].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=o}mE.prototype={o:Mf,ignoreTags:[],defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const r=t!=null;let o=this.o[e];return o&&(typeof o=="object"?(o=n.t in o?o[n.t]:Mf[e],typeof o=="function"&&r&&(o=o(t,n))):typeof o=="function"&&r&&(o=o(t,n.t,n)),o)},getObj(e,t,n){let r=this.o[e];return typeof r=="function"&&t!=null&&(r=r(t,n.t,n)),r},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};function ZO(e){return e}function c8(e,t){this.t="token",this.v=e,this.tk=t}c8.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=Mf.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",n,this),o=e.get("tagName",n,t),i=this.toFormattedString(e),s={},a=e.get("className",n,t),l=e.get("target",n,t),u=e.get("rel",n,t),c=e.getObj("attributes",n,t),d=e.getObj("events",n,t);return s.href=r,a&&(s.class=a),l&&(s.target=l),u&&(s.rel=u),c&&Object.assign(s,c),{tagName:o,attributes:s,content:i,eventListeners:d}}};function fv(e,t){class n extends c8{constructor(o,i){super(o,i),this.t=e}}for(const r in t)n.prototype[r]=t[r];return n.t=e,n}const MSe=fv("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),eM=fv("text"),ISe=fv("nl"),up=fv("url",{isLink:!0,toHref(e=Mf.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==Of&&e[1].t===Ra}}),Rr=e=>new qn(e);function DSe({groups:e}){const t=e.domain.concat([Tg,Pg,rs,Rg,Og,Mg,Ig,Dg,Or,uE,Dd,Lg,$g,Ng,Do,Fg,$d,jg]),n=[Ag,Ra,dE,Io,fE,Dd,Ld,hE,pE,yg,vg,Md,Id,pg,hg,mg,gg,wg,bg,Sg,xg,kg,Eg,_g,Cg],r=[Tg,Ag,Pg,Rg,Og,Mg,Ig,Dg,Or,Md,Id,Dd,Lg,$g,Ng,Ld,Do,Fg,$d,jg],o=Rr(),i=X(o,$d);Re(i,r,i),Re(i,e.domain,i);const s=Rr(),a=Rr(),l=Rr();Re(o,e.domain,s),Re(o,e.scheme,a),Re(o,e.slashscheme,l),Re(s,r,i),Re(s,e.domain,s);const u=X(s,rs);X(i,rs,u),X(a,rs,u),X(l,rs,u);const c=X(i,Io);Re(c,r,i),Re(c,e.domain,i);const d=Rr();Re(u,e.domain,d),Re(d,e.domain,d);const f=X(d,Io);Re(f,e.domain,d);const h=Rr(MSe);Re(f,e.tld,h),Re(f,e.utld,h),X(u,Of,h);const g=X(d,Or);X(g,Or,g),Re(g,e.domain,d),Re(h,e.domain,d),X(h,Io,f),X(h,Or,g);const p=X(s,Or),m=X(s,Io);X(p,Or,p),Re(p,e.domain,s),Re(m,r,i),Re(m,e.domain,s);const y=Rr(up);Re(m,e.tld,y),Re(m,e.utld,y),Re(y,e.domain,s),Re(y,r,i),X(y,Io,m),X(y,Or,p),X(y,rs,u);const v=X(y,Ra),w=Rr(up);Re(v,e.numeric,w);const S=Rr(up),x=Rr();Re(S,t,S),Re(S,n,x),Re(x,t,S),Re(x,n,x),X(y,Do,S),X(w,Do,S);const k=X(a,Ra),_=X(l,Ra),A=X(_,Do),M=X(A,Do);Re(a,e.domain,s),X(a,Io,m),X(a,Or,p),Re(l,e.domain,s),X(l,Io,m),X(l,Or,p),Re(k,e.domain,S),X(k,Do,S),X(k,Ld,S),Re(M,e.domain,S),Re(M,t,S),X(M,Do,S);const I=[[Md,Id],[hg,pg],[mg,gg],[yg,vg],[wg,bg],[Sg,xg],[kg,Eg],[_g,Cg]];for(let N=0;N<I.length;N++){const[L,Z]=I[N],V=X(S,L);X(x,L,V);const ee=Rr(up);Re(V,t,ee);const G=Rr();Re(V,n,G),X(V,Z,S),Re(ee,t,ee),Re(ee,n,G),Re(G,t,ee),Re(G,n,G),X(ee,Z,S),X(G,Z,S)}return X(o,Of,y),X(o,cE,ISe),{start:o,tokens:l8}}function LSe(e,t,n){let r=n.length,o=0,i=[],s=[];for(;o<r;){let a=e,l=null,u=null,c=0,d=null,f=-1;for(;o<r&&!(l=a.go(n[o].t));)s.push(n[o++]);for(;o<r&&(u=l||a.go(n[o].t));)l=null,a=u,a.accepts()?(f=0,d=a):f>
1314=0&&f++,o++,c++;if(f<0)o-=c,o<r&&(s.push(n[o]),o++);else{s.length>0&&(i.push(y1(eM,t,s)),s=[]),o-=f,c-=f;const h=d.t,g=n.slice(o-c,o);i.push(y1(h,t,g))}}return s.length>0&&i.push(y1(eM,t,s)),i}function y1(e,t,n){const r=n[0].s,o=n[n.length-1].e,i=t.slice(r,o);return new e(i,n)}const $Se=typeof console<"u"&&console&&console.warn||(()=>{}),NSe="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",ct={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function AAe(){return qn.groups={},ct.scanner=null,ct.parser=null,ct.tokenQueue=[],ct.pluginQueue=[],ct.customSchemes=[],ct.initialized=!1,ct}function PAe(e,t=!1){if(ct.initialized&&$Se(`linkifyjs: already initialized - will not register custom scheme "${e}" ${NSe}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error(`linkifyjs: incorrect scheme format.
13151. Must only contain digits, lowercase ASCII letters or "-"
13162. Cannot start or end with "-"
13173. "-" cannot repeat`);ct.customSchemes.push([e,t])}function jSe(){ct.scanner=RSe(ct.customSchemes);for(let e=0;e<ct.tokenQueue.length;e++)ct.tokenQueue[e][1]({scanner:ct.scanner});ct.parser=DSe(ct.scanner.tokens);for(let e=0;e<ct.pluginQueue.length;e++)ct.pluginQueue[e][1]({scanner:ct.scanner,parser:ct.parser});return ct.initialized=!0,ct}function d8(e){return ct.initialized||jSe(),LSe(ct.parser.start,e,u8(ct.scanner.start,e))}d8.scan=u8;function RAe(e,t=null,n=null){if(t&&typeof t=="object"){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const r=new mE(n),o=d8(e),i=[];for(let s=0;s<o.length;s++){const a=o[s];a.isLink&&(!t||a.t===t)&&r.check(a)&&i.push(a.toFormattedObject(r))}return i}var hv="Popover",[f8]=Wr(hv,[rc]),th=rc(),[FSe,Zs]=f8(hv),h8=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:s=!1}=e,a=th(t),l=b.useRef(null),[u,c]=b.useState(!1),[d,f]=Yo({prop:r,defaultProp:o??!1,onChange:i,caller:hv});return E.jsx(tN,{...a,children:E.jsx(FSe,{scope:t,contentId:_i(),triggerRef:l,open:d,onOpenChange:f,onOpenToggle:b.useCallback(()=>f(h=>!h),[f]),hasCustomAnchor:u,onCustomAnchorAdd:b.useCallback(()=>c(!0),[]),onCustomAnchorRemove:b.useCallback(()=>c(!1),[]),modal:s,children:n})})};h8.displayName=hv;var p8="PopoverAnchor",BSe=b.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Zs(p8,n),i=th(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:a}=o;return b.useEffect(()=>(s(),()=>a()),[s,a]),E.jsx(vy,{...i,...r,ref:t})});BSe.displayName=p8;var m8="PopoverTrigger",g8=b.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Zs(m8,n),i=th(n),s=Fe(t,o.triggerRef),a=E.jsx(Ee.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":S8(o.open),...r,ref:s,onClick:Se(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:E.jsx(vy,{asChild:!0,...i,children:a})});g8.displayName=m8;var gE="PopoverPortal",[USe,zSe]=f8(gE,{forceMount:void 0}),y8=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=Zs(gE,t);return E.jsx(USe,{scope:t,forceMount:n,children:E.jsx(Zo,{present:n||i.open,children:E.jsx(Kf,{asChild:!0,container:o,children:r})})})};y8.displayName=gE;var zu="PopoverContent",v8=b.forwardRef((e,t)=>{const n=zSe(zu,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Zs(zu,e.__scopePopover);return E.jsx(Zo,{present:r||i.open,children:i.modal?E.jsx(HSe,{...o,ref:t}):E.jsx(WSe,{...o,ref:t})})});v8.displayName=zu;var VSe=el("PopoverContent.RemoveScroll"),HSe=b.forwardRef((e,t)=>{const n=Zs(zu,e.__scopePopover),r=b.useRef(null),o=Fe(t,r),i=b.useRef(!1);return b.useEffect(()=>{const s=r.current;if(s)return nk(s)},[]),E.jsx(Cy,{as:VSe,allowPinchZoom:!0,children:E.jsx(w8,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Se(e.onCloseAutoFocus,s=>{var a;s.preventDefault(),i.current||(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:Se(e.onPointerDownOutside,s=>{const a=s.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0,u=a.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Se(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})})}),WSe=b.forwardRef((e,t)=>
vendor: 4,428 bytes, line 1317
1317{const n=Zs(zu,e.__scopePopover),r=b.useRef(!1),o=b.useRef(!1);return E.jsx(w8,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var s,a;(s=e.onCloseAutoFocus)==null||s.call(e,i),i.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),w8=b.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:s,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,f=Zs(zu,n),h=th(n);return tk(),E.jsx(Ey,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:E.jsx(Zu,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:c,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>f.onOpenChange(!1),children:E.jsx(G2,{"data-state":S8(f.open),role:"dialog",id:f.contentId,...h,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),b8="PopoverClose",qSe=b.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Zs(b8,n);return E.jsx(Ee.button,{type:"button",...r,ref:t,onClick:Se(e.onClick,()=>o.onOpenChange(!1))})});qSe.displayName=b8;var KSe="PopoverArrow",GSe=b.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=th(n);return E.jsx(Y2,{...o,...r,ref:t})});GSe.displayName=KSe;function S8(e){return e?"open":"closed"}var OAe=h8,MAe=g8,IAe=y8,DAe=v8,ke=function(){return ke=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ke.apply(this,arguments)};function YSe(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function x8(e,t,n){for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function nh(e){return e.mode==="multiple"}function rh(e){return e.mode==="range"}function pv(e){return e.mode==="single"}var XSe={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function JSe(e,t){return al(e,"LLLL y",t)}function QSe(e,t){return al(e,"d",t)}function ZSe(e,t){return al(e,"LLLL",t)}function exe(e){return"".concat(e)}function txe(e,t){return al(e,"cccccc",t)}function nxe(e,t){return al(e,"yyyy",t)}var rxe=Object.freeze({__proto__:null,formatCaption:JSe,formatDay:QSe,formatMonthCaption:ZSe,formatWeekNumber:exe,formatWeekdayName:txe,formatYearC
vendor: 4,286 bytes, line 1317
1317aption:nxe}),oxe=function(e,t,n){return al(e,"do MMMM (EEEE)",n)},ixe=function(){return"Month: "},sxe=function(){return"Go to next month"},axe=function(){return"Go to previous month"},lxe=function(e,t){return al(e,"cccc",t)},uxe=function(e){return"Week n. ".concat(e)},cxe=function(){return"Year: "},dxe=Object.freeze({__proto__:null,labelDay:oxe,labelMonthDropdown:ixe,labelNext:sxe,labelPrevious:axe,labelWeekNumber:uxe,labelWeekday:lxe,labelYearDropdown:cxe});function fxe(){var e="buttons",t=XSe,n=Y8,r={},o={},i=1,s={},a=new Date;return{captionLayout:e,classNames:t,formatters:rxe,labels:dxe,locale:n,modifiersClassNames:r,modifiers:o,numberOfMonths:i,styles:s,today:a,mode:"default"}}function hxe(e){var t=e.fromYear,n=e.toYear,r=e.fromMonth,o=e.toMonth,i=e.fromDate,s=e.toDate;return r?i=wr(r):t&&(i=new Date(t,0,1)),o?s=BS(o):n&&(s=new Date(n,11,31)),{fromDate:i?$E(i):void 0,toDate:s?$E(s):void 0}}var k8=b.createContext(void 0);function pxe(e){var t,n=e.initialProps,r=fxe(),o=hxe(n),i=o.fromDate,s=o.toDate,a=(t=n.captionLayout)!==null&&t!==void 0?t:r.captionLayout;a!=="buttons"&&(!i||!s)&&(a="buttons");var l;(pv(n)||nh(n)||rh(n))&&(l=n.onSelect);var u=ke(ke(ke({},r),n),{captionLayout:a,classNames:ke(ke({},r.classNames),n.classNames),components:ke({},n.components),formatters:ke(ke({},r.formatters),n.formatters),fromDate:i,labels:ke(ke({},r.labels),n.labels),mode:n.mode||r.mode,modifiers:ke(ke({},r.modifiers),n.modifiers),modifiersClassNames:ke(ke({},r.modifiersClassNames),n.modifiersClassNames),onSelect:l,styles:ke(ke({},r.styles),n.styles),toDate:s});return E.jsx(k8.Provider,{value:u,children:e.children})}function it(){var e=b.useContext(k8);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function E8(e){var t=it(),n=t.locale,r=t.classNames,o=t.styles,i=t.formatters.formatCaption;return E.jsx("div",{className:r.caption_label,style:o.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:i(e.displayMonth,{locale:n})})}function mxe(e){return E.jsx("svg",ke({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:E.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function _8(e){var t,n,r=e.onChange,o=e.value,i=e.children,s=e.caption,a=e.className,l=e.style,u=it(),c=(n=(t=u.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&n!==void 0?n:mxe;return E.jsxs("div",{className:a,style:l,children:[E.jsx("span",{className:u.classNames.vhidden,children:e["aria-label"]}),E.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:u.classNames.dropdown,style:u.styles.dropdown,value:o,onChange:r,children:i}),E.jsxs("div",{className:u.classNames.caption_label,style:u.styles.caption_label,"aria-hidden":"true",children:[s,E.jsx(c,{className:u.classNames.dropdown_icon,style:u.styles.dropdown_icon})]})]})}function gxe(e){var t,n=it(),r=n.fromDate,o=n.toDate,i=n.styles,s=n.locale,a=n.formatters.formatMonthCaption,l=n.classNames,u=n.components,c=n.labels.labelMonthDropdown;if(!r)return E.jsx(E.Fragment,{});if(!o)return E.jsx(E.Fragment,{});var d=[];if(t6(r,o))for(var f=wr(r),h=r.getMonth();h<=o.getMonth();h++)d.push(xv(f,h));else for(var f=wr(new Date),h=0;h<=11;h++)d.push(xv(f,h));var g=function(m){var y=Number(m.target.value),v=xv(wr(e.displayMonth),y);e.onChange(v)},p=(t=u==null?void 0:u.Dropdown)!==null&&t!==void 0?t:_8;return E.jsx(p,{name:"months","aria-label":c(),className:l.dropdown_month,style:i.dropdown_month,onChange:g,value:e.displayMonth.getMonth(),caption:a(e.displayMonth,{locale:s}),children:d.map(function(m){return E.jsx("option",{value:m.getMonth(),children:a(m,{locale:s})},m.getMonth())})})}function yxe(e){var t,n=e.displayMonth,r=it(),o=r.fromDate,i=r.toDate,s=r.locale,a=r.
1317styles,l=r.classNames,u=r.components,c=r.formatters.formatYearCaption,d=r.labels.labelYearDropdown,f=[];if(!o)return E.jsx(E.Fragment,{});if(!i)return E.jsx(E.Fragment,{});for(var h=o.getFullYear(),g=i.getFullYear(),p=h;p<=g;p++)f.push(NE(n6(new Date),p));var m=function(v){var w=NE(wr(n),Number(v.target.value));e.onChange(w)},y=(t=u==null?void 0:u.Dropdown)!==null&&t!==void 0?t:_8;return E.jsx(y,{name:"years","aria-label":d(),className:l.dropdown_year,style:a.dropdown_year,onChange:m,value:n.getFullYear(),caption:c(n,{locale:s}),children:f.map(function(v){return E.jsx("option",{value:v.getFullYear(),children:c(v,{locale:s})},v.getFullYear())})})}function vxe(e,t){var n=b.useState(e),r=n[0],o=n[1],i=t===void 0?r:t;return[i,o]}function wxe(e){var t=e.month,n=e.defaultMonth,r=e.today,o=t||n||r||new Date,i=e.toDate,s=e.fromDate,a=e.numberOfMonths,l=a===void 0?1:a;if(i&&Nd(i,o)<0){var u=-1*(l-1);o=Go(i,u)}return s&&Nd(o,s)<0&&(o=s),wr(o)}function bxe(){var e=it(),t=wxe(e),n=vxe(t,e.month),r=n[0],o=n[1],i=function(s){var a;if(!e.disableNavigation){var l=wr(s);o(l),(a=e.onMonthChange)===null||a===void 0||a.call(e,l)}};return[r,i]}function Sxe(e,t){for(var n=t.reverseMonths,r=t.numberOfMonths,o=wr(e),i=wr(Go(o,r)),s=Nd(i,o),a=[],l=0;l<s;l++){var u=Go(o,l);a.push(u)}return n&&(a=a.reverse()),a}function xxe(e,t){if(!t.disableNavigation){var n=t.toDate,r=t.pagedNavigation,o=t.numberOfMonths,i=o===void 0?1:o,s=r?i:1,a=wr(e);if(!n)return Go(a,s);var l=Nd(n,e);if(!(l<i))return Go(a,s)}}function kxe(e,t){if(!t.disableNavigation){var n=t.fromDate,r=t.pagedNavigation,o=t.numberOfMonths,i=o===void 0?1:o,s=r?i:1,a=wr(e);if(!n)return Go(a,-s);var l=Nd(a,n);if(!(l<=0))return Go(a,-s)}}var C8=b.createContext(void 0);function Exe(e){var t=it(),n=bxe(),r=n[0],o=n[1],i=Sxe(r,t),s=xxe(r,t),a=kxe(r,t),l=function(d){return i.some(function(f){return US(d,f)})},u=function(d,f){l(d)||(f&&mM(d,f)?o(Go(d,1+t.numberOfMonths*-1)):o(d))},c={currentMonth:r,displayMonths:i,goToMonth:o,goToDate:u,previousMonth:a,nextMonth:s,isDateDisplayed:l};return E.jsx(C8.Provider,{value:c,children:e.children})}function oh(){var e=b.useContext(C8);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function tM(e){var t,n=it(),r=n.classNames,o=n.styles,i=n.components,s=oh().goToMonth,a=function(c){s(Go(c,e.displayIndex?-e.dis
1317playIndex:0))},l=(t=i==null?void 0:i.CaptionLabel)!==null&&t!==void 0?t:E8,u=E.jsx(l,{id:e.id,displayMonth:e.displayMonth});return E.jsxs("div",{className:r.caption_dropdowns,style:o.caption_dropdowns,children:[E.jsx("div",{className:r.vhidden,children:u}),E.jsx(gxe,{onChange:a,displayMonth:e.displayMonth}),E.jsx(yxe,{onChange:a,displayMonth:e.displayMonth})]})}function _xe(e){return E.jsx("svg",ke({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:E.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function Cxe(e){return E.jsx("svg",ke({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:E.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var Bg=b.forwardRef(function(e,t){var n=it(),r=n.classNames,o=n.styles,i=[r.button_reset,r.button];e.className&&i.push(e.className);var s=i.join(" "),a=ke(ke({},o.button_reset),o.button);return e.style&&Object.assign(a,e.style),E.jsx("button",ke({},e,{ref:t,type:"button",className:s,style:a}))});function Txe(e){var t,n,r=it(),o=r.dir,i=r.locale,s=r.classNames,a=r.styles,l=r.labels,u=l.labelPrevious,c=l.labelNext,d=r.components;if(!e.nextMonth&&!e.previousMonth)return E.jsx(E.Fragment,{});var f=u(e.previousMonth,{locale:i}),h=[s.nav_button,s.nav_button_previous].join(" "),g=c(e.nextMonth,{locale:i}),p=[s.nav_button,s.nav_button_next].join(" "),m=(t=d==null?void 0:d.IconRight)!==null&&t!==void 0?t:Cxe,y=(n=d==null?void 0:d.IconLeft)!==null&&n!==void 0?n:_xe;return E.jsxs("div",{className:s.nav,style:a.nav,children:[!e.hidePrevious&&E.jsx(Bg,{name:"previous-month","aria-label":f,className:h,style:a.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:o==="rtl"?E.jsx(m,{className:s.nav_icon,style:a.nav_icon}):E.jsx(y,{className:s.nav_icon,style:a.nav_icon})}),!e.hideNext&&E.jsx(Bg,{name:"next-month","aria-label":g,className:p,style:a.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:o==="rtl"?E.jsx(y,{className:s.nav_icon,style:a.nav_icon}):E.jsx(m,{className:s.nav_icon,style:a.nav_icon})})]})}function nM(e){var t=it().numberOfMonths,n=oh(),r=n.previousMonth,o=n.nextMonth,i=n.goToMonth,s=n.displayMonths,a=s.findIndex(function(g){return US(e.displayMonth,g)}),l=a===0,u=a===s.length-1,c=t>1&&(l||!u),d=t>1&&(u||!l),f=function(){r&&i(r)},h=function(){o&&i(o)};return E.jsx(Txe,{displayMonth:e.displayMonth,hideNext:c,hidePrevious:d,nextMonth:o,previousMonth:r,onPreviousClick:f,onNextClick:h})}function Axe(e){var t,n=it(),r=n.classNames,o=n.disableNavigation,i=n.styles,s=n.captionLayout,a=n.components,l=(t=a==null?void 0:a.CaptionLabel)!==null&&t!==void 0?t:E8,u;return o?u=E.jsx(l,{id:e.id,displayMonth:e.displayMonth}):s==="dropdown"?u=E.jsx(tM,{displayMonth:e.displayMonth,id:e.id}):s==="dropdown-buttons"?u=E.jsxs(E.Fragment,{children:[E.jsx(tM,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),E.jsx(nM,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):u=E.jsxs(E.Fragment,{children:[E.jsx(l,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),E.jsx(nM,{displayMonth:e.displayMonth,id:e.id})]}),E.jsx("div",{className:r.caption,style:i.caption,children:u})}function Pxe(e){var t=it(),n=t.footer,r=t.styles,o=t.classNames.tfoot;return n?E.jsx("tfoot",{className:o,style:r.tfoot,children:E.jsx("tr",{children:E.jsx("td",{colSpan:8,children:n})})}):E.jsx(E.Fragment,{})}function Rxe(e,t,n){for(var r=n?zS(new Date):VS(new Date,{locale:e,weekStartsOn:t}),o=[],i=0;i<7;i++){var s=ur(r,i);o.push(s)}return o}function Oxe(){var e=it(),t=e.classNames,n=e.styles,r=e.showWeekNumber,o=e.locale,i=e.weekStartsOn,s=e.ISOWeek,a=e.formatters.formatWeekdayName,l=e.labels.labelWeekday,u=Rxe(o,i,s);return E.jsxs("tr",{style:n.head_row,className:t.head_row,children:[r&&E.jsx("td",{style:n.head_cell,className:t.head_cell}),u.map(function(c,d){return E.jsx("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":l(c,{locale:o}),children:a(c,{locale:o})},d)})]})}function Mxe(){var e,t=it(),n=t.classNames,r=t.styles,o=t.components,i=(e=o==null?void 0:o.HeadRow)!==null&&e!==void 0?e:Oxe;return E.jsx("thead",{style:r.head,className:n.head,children:E.jsx(i,{})})}function Ixe(e){var t=it(),n=t.locale,r=t.formatters.formatDay;return E.jsx(E.Fragment,{children:r(e.date,{locale:n})})}var yE=b.createContext(void 0);function Dxe(e){if(!nh(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return E.jsx(yE.Provider,{value:t,children:e.children})}return E.jsx(Lxe,{initialProps:e.initialProps,children:e.children})}function Lxe(e){var t=e.initialProps,n=e.children,r=t.selected,o=t.min,i=t.max,s=function(u,c,d){var f,h;(f=t.onDayClick)===null||f===void 0||f.call(t,u,c,d);var g=!!(c.selected&&o&&(r==null?void 0:r.length)===o);if(!g){var p=!!(!c.selected&&i&&(r==null?void 0:r.length)===i);if(!p){var m=r?x8([],r):[];if(c.selected){var y=m.findIndex(function(v){return Kn(u,v)});m.splice(y,1)}else m.push(u);(h=t.onSelect)===null||h===void 0||h.call(t,m,u,c,d)}}},a={disabled:[]};r&&a.disabled.push(function(u){var c=i&&r.length>i-1,d=r.some(function(f){return Kn(f,u)});return!!(c&&!d)});var l={selected:r,onDayClick:s,modifiers:a};return E.jsx(yE.Provider,{value:l,children:n})}function vE(){var e=b.useContext(yE);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function $xe(e,t){var n=t||{},r=n.from,o=n.to;return r&&o?Kn(o,e)&&Kn(r,e)?void 0:Kn(o,e)?{from:o,to:void 0}:Kn(r,e)?void 0:E1(r,e)?{from:e,to:o}:{from:r,to:e}:o?E1(e,o)?{from:o,to:e}:{from:e,to:o}:r?mM(e,r)?{from:e,to:r}:{from:r,to:e}:{from:e,to:void 0}}var wE=b.createContext(void 0);function Nxe(e){if(!rh(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return E.jsx(wE.Provider,{value:t,children:e.children})}return E.jsx(jxe,{initialProps:e.initialProps,children:e.children})}function jxe(e){var t=e.initialProps,n=e.children,r=t.selected,o=r||{},i=o.from,s=o.to,a=t.min,l=t.max,u=function(h,g,p){var m,y;(m=t.onDayClick)===null||m===void 0||m.call(t,h,g,p);var v=$xe(h,r);(y=t.onSelect)===null||y===void 0||y.call(t,v,h,g,p)},c={range_start:[],range_end:[],range_middle:[],disabled:[]};if(i?(c.range_start=[i],s?(c.range_end=[s],Kn(i,s)||(c.range_middle=[{after:i,before:s}])):c.range_end=[i]):s&&(c.range_start=[s],c.range_end=[s]),a&&(i&&!s&&c.disabled.push({after:Sv(i,a-1),before:ur(i,a-1)}),i&&s&&c.disabled.push({after:i,before:ur(i,a-1)}),!i&&s&&c.disabled.push({after:Sv(s,a-1),before:ur(s,a-1)})),l){if(i&&!s&&(c.disabled.push({before:ur(i,-l+1)}),c.disabled.push({after:ur(i,l-1)})),i&&s){var d=Si(s,i)+1,f=l-d;c.disabled.push({before:Sv(i,f)}),c.disabled.push({after:ur(s,f)})}!i&&s&&(c.disabled.push({before:ur(s,-l+1)}),c.disabled.push({after:ur(s,l-1)}))}return E.jsx(wE.Provider,{value:{selected:r,onDayClick:u,modifiers:c},children:n})}function bE(){var e=b.useContext(wE);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function Qp(e){return Array.isArray(e)?x8([],e):e!==void 0?[e]:[]}function Fxe(e){var t={};return Object.entries(e).forEach(function(n){var r=n[0],o=n[1];t[r]=Qp(o)}),t}var bo;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(bo||(bo={}));var Bxe=bo.Selected,fi=bo.Disabled,Uxe=bo.Hidden,zxe=bo.Today,v1=bo.RangeEnd,w1=bo.RangeMiddle,b1=bo.RangeStart,Vxe=bo.Outside;function Hxe(e,t,n){var r,o=(r={},r[Bxe]=Qp(e.selected),r[fi]=Qp(e.disabled),r[Uxe]=Qp(e.hidden),r[zxe]=[e.today],r[v1]=[],r[w1]=[],r[b1]=[],r[Vxe]=[],r);return e.fromDate&&o[fi].push({before:e.fromDate}),e.toDate&&o[fi].push({after:e.toDate}),nh(e)?o[fi]=o[fi].concat(t.modifiers[fi]):rh(e)&&(o[fi]=o[fi].concat(n.modifiers[fi]),o[b1]=n.modifiers[b1],o[w1]=n.modifiers[w1],o[v1]=n.modifiers[v1]),o}var T8=b.createContext(void 0);function Wxe(e){var t=it(),n=vE(),r=bE(),o=Hxe(t,n,r),i=Fxe(t.modifiers),s=ke(ke({},o),i);return E.jsx(T8.Provider,{value:s,children:e.children})}function A8(){var e=b.useContext(T8);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function qxe(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Kxe(e){return!!(e&&typeof e=="object"&&"from"in e)}function Gxe(e){return!!(e&&typeof e=="object"&&"after"in e)}function Yxe(e){return!!(e&&typeof e=="object"&&"before"in e)}function Xxe(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Jxe(e,t){var n,r=t.from,o=t.to;if(r&&o){var i=Si(o,r)<0;i&&(n=[o,r],r=n[0],o=n[1]);var s=Si(e,r)>=0&&Si(o,e)>=0;return s}return o?Kn(o,e):r?Kn(r,e):!1}function Qxe(e){return vM(e)}function Zxe(e){return Array.isArray(e)&&e.every(vM)}function e2e(e,t){return t.some(function(n){if(typeof n=="boolean")return n;if(Qxe(n))return Kn(e,n);if(Zxe(n))return n.includes(e);if(Kxe(n))return Jxe(e,n);if(Xxe(n))return n.dayOfWeek.includes(e.getDay());if(qxe(n)){var r=Si(n.before,e),o=Si(n.after,e),i=r>0,s=o<0,a=E1(n.before,n.after);return a?s&&i:i||s}return Gxe(n)?Si(e,n.after)>0:Yxe(n)?Si(n.before,e)>0:typeof n=="function"?n(e):!1})}function SE(e,t,n){var r=Object.keys(t).reduce(function(i,s){var a=t[s];return e2e(e,a)&&i.push(s),i},[]),o={};return r.forEach(function(i){return o[i]=!0}),n&&!US(e,n)&&(o.outside=!0),o}function t2e(e,t){for(var n=wr(e[0]),r=BS(e[e.length-1]),o,i,s=n;s<=r;){var a=SE(s,t),l=!a.disabled&&!a.hidden;if(!l){s=ur(s,1);continue}if(a.selected)return s;a.today&&!i&&(i=s),o||(o=s),s=ur(s,1)}return i||o}var n2e=365;function P8(e,t){var n=t.moveBy,r=t.direction,o=t.context,i=t.modifiers,s=t.retry,a=s===void 0?{count:0,lastFocused:e}:s,l=o.weekStartsOn,u=o.fromDate,c=o.toDate,d=o.locale,f={day:ur,week:k1,month:Go,year:Q8,startOfWeek:function(m){return o.ISOWeek?zS(m):VS(m,{locale:d,weekStartsOn:l})},endOfWeek:function(m){return o.ISOWeek?gM(m):yM(m,{locale:d,weekStartsOn:l})}},h=f[n](e,r==="after"?1:-1);r==="before"&&u?h=Z8([u,h]):r==="after"&&c&&(h=e6([c,h]));var g=!0;if(i){var p=SE(h,i);g=!p.disabled&&!p.hidden}return g?h:a.count>n2e?a.lastFocused:P8(h,{moveBy:n,direction:r,context:o,modifiers:i,retry:ke(ke({},a),{count:a.count+1})})}var R8=b.createContext(void 0);function r2e(e){var t=oh(),n=A8(),r=b.useState(),o=r[0],i=r[1],s=b.useState(),a=s[0],l=s[1],u=t2e(t.displayMonths,n),c=o??(a&&t.isDateDisplayed(a))?a:u,d=function(){l(o),i(void 0)},f=function(m){i(m)},h=it(),g=function(m,y){if(o){var v=P8(o,{moveBy:m,direction:y,context:h,modifiers:n});Kn(o,v)||(t.goToDate(v,o),f(v))}},p={focusedDay:o,focusTarget:c,blur:d,focus:f,focusDayAfter:function(){return g("day","after")},focusDayBefore:function(){return g("day","before")},focusWeekAfter:function(){return g("week","after")},focusWeekBefore:function(){return g("week","before")},focusMonthBefore:function(){return g("month","before")},focusMonthAfter:function(){return g("month","after")},focusYearBefore:function(){return g("year","before")},focusYearAfter:function(){return g("year","after")},focusStartOfWeek:function(){return g("startOfWeek","before")},focusEndOfWeek:function(){return g("endOfWeek","after")}};return E.jsx(R8.Provider,{value:p,children:e.children})}function xE(){var e=b.useContext(R8);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function o2e(e,t){var n=A8(),r=SE(e,n,t);return r}var kE=b.createContext(void 0);function i2e(e){if(!pv(e.initialProps)){var t={selected:void 0};return E.jsx(kE.Provider,{value:t,children:e.children})}return E.jsx(s2e,{initialProps:e.initialProps,children:e.children})}function s2e(e){var t=e.initialProps,n=e.children,r=function(i,s,a){var l,u,c;if((l=t.onDayClick)===null||l===void 0||l.call(t,i,s,a),s.selected&&!t.required){(u=t.onSelect)===null||u===void 0||u.call(t,void 0,i,s,a);return}
1317(c=t.onSelect)===null||c===void 0||c.call(t,i,i,s,a)},o={selected:t.selected,onDayClick:r};return E.jsx(kE.Provider,{value:o,children:n})}function O8(){var e=b.useContext(kE);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function a2e(e,t){var n=it(),r=O8(),o=vE(),i=bE(),s=xE(),a=s.focusDayAfter,l=s.focusDayBefore,u=s.focusWeekAfter,c=s.focusWeekBefore,d=s.blur,f=s.focus,h=s.focusMonthBefore,g=s.focusMonthAfter,p=s.focusYearBefore,m=s.focusYearAfter,y=s.focusStartOfWeek,v=s.focusEndOfWeek,w=function(B){var R,j,P,C;pv(n)?(R=r.onDayClick)===null||R===void 0||R.call(r,e,t,B):nh(n)?(j=o.onDayClick)===null||j===void 0||j.call(o,e,t,B):rh(n)?(P=i.onDayClick)===null||P===void 0||P.call(i,e,t,B):(C=n.onDayClick)===null||C===void 0||C.call(n,e,t,B)},S=function(B){var R;f(e),(R=n.onDayFocus)===null||R===void 0||R.call(n,e,t,B)},x=function(B){var R;d(),(R=n.onDayBlur)===null||R===void 0||R.call(n,e,t,B)},k=function(B){var R;(R=n.onDayMouseEnter)===null||R===void 0||R.call(n,e,t,B)},_=function(B){var R;(R=n.onDayMouseLeave)===null||R===void 0||R.call(n,e,t,B)},A=function(B){var R;(R=n.onDayPointerEnter)===null||R===void 0||R.call(n,e,t,B)},M=function(B){var R;(R=n.onDayPointerLeave)===null||R===void 0||R.call(n,e,t,B)},I=function(B){var R;(R=n.onDayTouchCancel)===null||R===void 0||R.call(n,e,t,B)},N=function(B){var R;(R=n.onDayTouchEnd)===null||R===void 0||R.call(n,e,t,B)},L=function(B){var R;(R=n.onDayTouchMove)===null||R===void 0||R.call(n,e,t,B)},Z=function(B){var R;(R=n.onDayTouchStart)===null||R===void 0||R.call(n,e,t,B)},V=function(B){var R;(R=n.onDayKeyUp)===null||R===void 0||R.call(n,e,t,B)},ee=function(B){var R;switch(B.key){case"ArrowLeft":B.preventDefault(),B.stopPropagation(),n.dir==="rtl"?a():l();break;case"ArrowRight":B.preventDefault(),B.stopPropagation(),n.dir==="rtl"?l():a();break;case"ArrowDown":B.preventDefault(),B.stopPropagation(),u();break;case"ArrowUp":B.preventDefault(),B.stopPropagation(),c();break;case"PageUp":B.preventDefault(),B.stopPropagation(),B.shiftKey?p():h();break;case"PageDown":B.preventDefault(),B.stopPropagation(),B.shiftKey?m():g();break;case"Home":B.preventDefault(),B.stopPropagation(),y();break;case"End":B.preventDefault(),B.stopPropagation(),v();break}(R=n.onDayKeyDown)===null||R===void 0||R.call(n,e,t,B)},G={onClick:w,onFocus:S,onBlur:x,onKeyDown:ee,onKeyUp:V,onMouseEnter:k,onMouseLeave:_,onPointerEnter:A,onPointerLeave:M,onTouchCancel:I,onTouchEnd:N,onTouchMove:L,onTouchStart:Z};return G}function l2e(){var e=it(),t=O8(),n=vE(),r=bE(),o=pv(e)?t.selected:nh(e)?n.selected:rh(e)?r.selected:void 0;return o}function u2e(e){return Object.values(bo).includes(e)}function c2e(e,t){var n=[e.classNames.day];return Object.keys(t).forEach(function(r){var o=e.modifiersClassNames[r];if(o)n.push(o);else if(u2e(r)){var i=e.classNames["day_".concat(r)];i&&n.push(i)}}),n}function d2e(e,t){var n=ke({},e.styles.day);return Object.keys(t).forEach(function(r){var o;n=ke(ke({},n),(o=e.modifiersStyles)===null||o===void 0?void 0:o[r])}),n}function f2e(e,t,n){var r,o,i,s=it(),a=xE(),l=o2e(e,t),u=a2e(e,l),c=l2e(),d=!!(s.onDayClick||s.mode!=="default");b.useEffect(function(){var k;l.outside||a.focusedDay&&d&&Kn(a.focusedDay,e)&&((k=n.current)===null||k===void 0||k.focus())},[a.focusedDay,e,n,d,l.outside]);var f=c2e(s,l).join(" "),h=d2e(s,l),g=!!(l.outside&&!s.showOutsideDays||l.hidden),p=(i=(o=s.components)===null||o===void 0?void 0:o.DayContent)!==null&&i!==void 0?i:Ixe,m=E.jsx(p,{date:e,displayMonth:t,activeModifiers:l}),y={style:h,className:f,children:m,role:"gridcell"},v=a.focusTarget&&Kn(a.focusTarget,e)&&!l.outside,w=a.focusedDay&&Kn(a.focusedDay,e),S=ke(ke(ke({},y),(r={disabled:l.disabled,role:"gridcell"},r["aria-selected"]=l.selected,r.tabIndex=w||v?0:-1,r)),u),x={isButton:d,isHidden:g,activeModifiers:l,selectedDays:c,buttonProps:S,divProps:y};return x}function h2e(e){var t=b.useRef(null),n=f2e(e.date,e.displayMonth,t);return n.isHidden?E.jsx("div",{role:"gridcell"}):n.isButton?E.jsx(Bg,ke({name:"day",ref:t},n.buttonProps)):E.jsx("div",ke({},n.divProps))}function p2e(e){var t=e.number,n=e.dates,r=it(),o=r.onWeekNumberClick,i=r.styles,s=r.classNames,a=r.locale,l=r.labels.labelWeekNumber,u=r.formatters.formatWeekNumber,c=u(Number(t),{locale:a});if(!o)return E.jsx("span",{className:s.weeknumber,style:i.weeknumber,children:c});var d=l(Number(t),{locale:a}),f=function(h){o(t,n,h)};return E.jsx(Bg,{name:"week-number","aria-label":d,className:s.weeknumber,style:i.weeknumber,onClick:f,children:c})}function m2e(e){var t,n,r=it(),o=r.styles,i=r.classNames,s=r.showWeekNumber,a=r.components,l=(t=a==null?void 0:a.Day)!==null&&t!==void 0?t:h2e,u=(n=a==null?void 0:a.WeekNumber)!==null&&n!==void 0?n:p2e,c;return s&&(c=E.jsx("td",{className:i.cell,style:o.cell,children:E.jsx(u,{number:e.weekNumber,dates:e.dates})})),E.jsxs("tr",{className:i.row,style:o.row,children:[c,e.dates.map(function(d){return E.jsx("td",{className:i.cell,style:o.cell,role:"presentation",children:E.jsx(l,{displayMonth:e.displayMonth,date:d})},J8(d))})]})}function rM(e,t,n){for(var r=n!=null&&n.ISOWeek?gM(t):yM(t,n),o=n!=null&&n.ISOWeek?zS(e):VS(e,n),i=Si(r,o),s=[],a=0;a<=i;a++)s.push(ur(o,a));var l=s.reduce(function(u,c){var d=n!=null&&n.ISOWeek?r6(c):o6(c,n),f=u.find(function(h){return h.weekNumber===d});return f?(f.dates.push(c),u):(u.push({weekNumber:d,dates:[c]}),u)},[]);return l}function g2e(e,t){var n=rM(wr(e),BS(e),t);if(t!=null&&t.useFixedWeeks){var r=X8(e,t);if(r<6){var o=n[n.length-1],i=o.dates[o.dates.length-1],s=k1(i,6-r),a=rM(k1(i,1),s,t);n.push.apply(n,a)}}return n}function y2e(e){var t,n,r,o=it(),i=o.locale,s=o.classNames,a=o.styles,l=o.hideHead,u=o.fixedWeeks,c=o.components,d=o.weekStartsOn,f=o.firstWeekContainsDate,h=o.ISOWeek,g=g2e(e.displayMonth,{useFixedWeeks:!!u,ISOWeek:h,locale:i,weekStartsOn:d,firstWeekContainsDate:f}),p=(t=c==null?void 0:c.Head)!==null&&t!==void 0?t:Mxe,m=(n=c==null?void 0:c.Row)!==null&&n!==void 0?n:m2e,y=(r=c==null?void 0:c.Footer)!==null&&r!==void 0?r:Pxe;return E.jsxs("table",{id:e.id,className:s.table,style:a.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!l&&E.jsx(p,{}),E.jsx("tbody",{className:s.tbody,style:a.tbody,children:g.map(function(v){return E.jsx(m,{displayMonth:e.displayMonth,dates:v.dates,weekNumber:v.weekNumber},v.weekNumber)})}),E.jsx(y,{displayMonth:e.displayMonth})]})}function v2e(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var w2e=v2e()?b.useLayoutEffect:b.useEffect,S1=!1,b2e=0;function oM(){return"react-day-picker-".concat(++b2e)}function S2e(e){var t,n=e??(S1?oM():null),r=b.useState(n),o=r[0],i=r[1];return w2e(function(){o===null&&i(oM())},[]),b.useEffect(function(){S1===!1&&(S1=!0)},[]),(t=e??o)!==null&&t!==void 0?t:void 0}function x2e(e){var t,n,r=it(),o=r.dir,i=r.classNames,s=r.styles,a=r.components,l=oh().displayMonths,u=S2e(r.id?"".concat(r.id,"-").concat(e.displayIndex):void 0),c=r.id?"".concat(r.id,"-grid-").concat(e.displayIndex):void 0,d=[i.month],f=s.month,h=e.displayIndex===0,g=e.dis
vendor: 5,475 bytes, line 1317
1317playIndex===l.length-1,p=!h&&!g;o==="rtl"&&(t=[h,g],g=t[0],h=t[1]),h&&(d.push(i.caption_start),f=ke(ke({},f),s.caption_start)),g&&(d.push(i.caption_end),f=ke(ke({},f),s.caption_end)),p&&(d.push(i.caption_between),f=ke(ke({},f),s.caption_between));var m=(n=a==null?void 0:a.Caption)!==null&&n!==void 0?n:Axe;return E.jsxs("div",{className:d.join(" "),style:f,children:[E.jsx(m,{id:u,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),E.jsx(y2e,{id:c,"aria-labelledby":u,displayMonth:e.displayMonth})]},e.displayIndex)}function k2e(e){var t=it(),n=t.classNames,r=t.styles;return E.jsx("div",{className:n.months,style:r.months,children:e.children})}function E2e(e){var t,n,r=e.initialProps,o=it(),i=xE(),s=oh(),a=b.useState(!1),l=a[0],u=a[1];b.useEffect(function(){o.initialFocus&&i.focusTarget&&(l||(i.focus(i.focusTarget),u(!0)))},[o.initialFocus,l,i.focus,i.focusTarget,i]);var c=[o.classNames.root,o.className];o.numberOfMonths>1&&c.push(o.classNames.multiple_months),o.showWeekNumber&&c.push(o.classNames.with_weeknumber);var d=ke(ke({},o.styles.root),o.style),f=Object.keys(r).filter(function(g){return g.startsWith("data-")}).reduce(function(g,p){var m;return ke(ke({},g),(m={},m[p]=r[p],m))},{}),h=(n=(t=r.components)===null||t===void 0?void 0:t.Months)!==null&&n!==void 0?n:k2e;return E.jsx("div",ke({className:c.join(" "),style:d,dir:o.dir,id:o.id,nonce:r.nonce,title:r.title,lang:r.lang},f,{children:E.jsx(h,{children:s.displayMonths.map(function(g,p){return E.jsx(x2e,{displayIndex:p,displayMonth:g},p)})})}))}function _2e(e){var t=e.children,n=YSe(e,["children"]);return E.jsx(pxe,{initialProps:n,children:E.jsx(Exe,{children:E.jsx(i2e,{initialProps:n,children:E.jsx(Dxe,{initialProps:n,children:E.jsx(Nxe,{initialProps:n,children:E.jsx(Wxe,{children:E.jsx(r2e,{children:t})})})})})})})}function LAe(e){return E.jsx(_2e,ke({},e,{children:E.jsx(E2e,{initialProps:e})}))}export{Z2e as $,uke as A,vke as B,Oke as C,Mke as D,Ike as E,Dke as F,$ke as G,SAe as H,Nke as I,jke as J,Fke as K,Bke as L,Moe as M,Ioe as N,Uke as O,zke as P,Vke as Q,Hke as R,Wke as S,qke as T,Kke as U,Gke as V,Yke as W,Xke as X,Jke as Y,Qke as Z,ake as _,ske as a,Y2e as a$,o4 as a0,iEe as a1,Zke as a2,eEe as a3,tEe as a4,nEe as a5,rEe as a6,oEe as a7,sEe as a8,aEe as a9,SEe as aA,bEe as aB,xEe as aC,TEe as aD,kEe as aE,EEe as aF,_Ee as aG,CEe as aH,AEe as aI,PEe as aJ,REe as aK,OEe as aL,MEe as aM,IEe as aN,DEe as aO,LEe as aP,$Ee as aQ,NEe as aR,jEe as aS,FEe as aT,BEe as aU,fAe as aV,UEe as aW,zEe as aX,WEe as aY,VEe as aZ,HEe as a_,mte as aa,WCe as ab,ZCe as ac,pAe as ad,wAe as ae,DAe as af,lEe as ag,uEe as ah,cEe as ai,dEe as aj,CAe as ak,fEe as al,hEe as am,pEe as an,LAe as ao,PTe as ap,ike as aq,yte as ar,kAe as as,mEe as at,gEe as au,yEe as av,DO as aw,vEe as ax,UTe as ay,wEe as az,bAe as b,U_e as b$,vK as b0,qEe as b1,KEe as b2,JCe as b3,XEe as b4,GEe as b5,YEe as b6,JEe as b7,QEe as b8,ZEe as b9,v_e as bA,w_e as bB,k_e as bC,S_e as bD,x_e as bE,E_e as bF,__e as bG,C_e as bH,_d as bI,T_e as bJ,A_e as bK,P_e as bL,R_e as bM,L2e as bN,O_e as bO,M_e as bP,$2e as bQ,pte as bR,vAe as bS,I_e as bT,D_e as bU,L_e as bV,N_e as bW,$_e as bX,j_e as bY,F_e as bZ,B_e as b_,e_e as ba,ETe as bb,t_e as bc,nTe as bd,dAe as be,oTe as bf,rTe as bg,n_e as bh,tTe as bi,r_e as bj,o_e as bk,i_e as bl,s_e as bm,a_e as bn,F2e as bo,u_e as bp,l_e as bq,f_e as br,c_e as bs,d_e as bt,h_e as bu,p_e as bv,m_e as bw,b_e as bx,g_e as by,y_e as bz,cke as c,YCe as c$,hte as c0,QCe as c1,IAe as c2,yAe as c3,z_e as c4,tke as c5,HCe as c6,P2e as c7,O2e as c8,z as c9,tCe as cA,iCe as cB,nCe as cC,rCe as cD,oCe as cE,sCe as cF,aCe as cG,lCe as cH,uCe as cI,cCe as cJ,eke as cK,dCe as cL,fCe as cM,hCe as cN,pCe as cO,mCe as cP,gCe as cQ,yCe as cR,_Ae as cS,oke as cT,gte as cU,xAe as cV,vCe as cW,wCe as cX,bCe as cY,SCe as cZ,fte as c_,OD as ca,V_e as cb,H_e as cc,W_e as cd,dte as ce,KCe as cf,EAe as cg,rke as ch,GCe as ci,cAe as cj,mAe as ck,OAe as cl,q_e as cm,ez as cn,N2e as co,K_e as cp,G_e as cq,Y_e as cr,X_e as cs,sTe as ct,J_e as cu,iTe as cv,Q_e as cw,Z_e as cx,aTe as cy,eCe as cz,Xk as d,jTe as d$,MAe as d0,hAe as d1,gAe as d2,xCe as d3,kCe as d4,ECe as d5,_Ce as d6,CCe as d7,PCe as d8,TCe as d9,lke as dA,eAe as dB,Cve as dC,FTe as dD,iAe as dE,BTe as dF,qTe as dG,RAe as dH,TTe as dI,pTe as dJ,A2e as dK,Ne as dL,KTe as dM,RTe as dN,LTe as dO,ATe as dP,fTe as dQ,wTe as dR,mTe as dS,vTe as dT,dTe as dU,DTe as dV,gTe as dW,X2e as dX,E as dY,OTe as dZ,uAe as d_,ACe as da,RCe as db,OCe as dc,XCe as dd,nke as de,eTe as df,MCe as dg,ICe as dh,DCe as di,LCe as dj,$Ce as dk,NCe as dl,jCe as dm,FCe as dn,BCe as dp,K2e as dq,oAe as dr,aAe as ds,VG as dt,ws as du,Yre as dv,uTe as dw,uF as dx,qCe as dy,OB as dz,z2e as e,lAe as e0,_Te as e1,MTe as e2,hTe as e3,CTe as e4,ITe as e5,V2e as e6,WTe as e7,zTe as e8,Bwe as e9,VTe as eA,bTe as eB,ZTe as eC,V5 as eD,G2e as eE,Yu as eF,Y3 as eG,I2e as eH,Gx as eI,D2e as eJ,M2e as eK,HD as eL,q2e as eM,H2e as eN,B2e as eO,W2e as eP,J3 as eQ,rAe as eR,ebe as eS,TAe as eT,J2e as eU,Uwe as ea,JTe as eb,cTe as ec,$Te as ed,cl as ee,b as ef,yTe as eg,PAe as eh,lTe as ei,AAe as ej,hSe as ek,NTe as el,xTe as em,HTe as en,YTe as eo,QTe as ep,nAe as eq,XTe as er,GTe as es,kTe as et,d8 as eu,tAe as ev,sAe as ew,UCe as ex,Q2e as ey,STe as ez,dke as f,hke as g,fke as h,pke as i,mke as j,gke as k,yke as l,wke as m,bke as n,xke as o,Ske as p,kke as q,Eke as r,_ke as s,Cke as t,Tke as u,j2e as v,Ake as w,Pke as x,Rke as y,Lke as z};

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.