PageSourceSearch

https://anthemav.com/store-locator/assets/index-DoN8O91G.js

js anthemav.com collected 2026-10-03 21:24:10 UTC 480,568 bytes, 138 lines download raw bytes

vendor: 4,611 bytes, lines 1-9
1function KS(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 l=Object.getOwnPropertyDescriptor(r,o);l&&Object.defineProperty(e,o,l.get?l:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const i of l.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function gs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dy={exports:{}},ys={},Iy={exports:{}},oe={};/**
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 Zi=Symbol.for("react.element"),QS=Symbol.for("react.portal"),XS=Symbol.for("react.fragment"),ZS=Symbol.for("react.strict_mode"),qS=Symbol.for("react.profiler"),JS=Symbol.for("react.provider"),ek=Symbol.for("react.context"),tk=Symbol.for("react.forward_ref"),nk=Symbol.for("react.suspense"),rk=Symbol.for("react.memo"),ok=Symbol.for("react.lazy"),Cm=Symbol.iterator;function lk(e){return e===null||typeof e!="object"?null:(e=Cm&&e[Cm]||e["@@iterator"],typeof e=="function"?e:null)}var zy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},By=Object.assign,Hy={};function Ol(e,t,n){this.props=e,this.context=t,this.refs=Hy,this.updater=n||zy}Ol.prototype.isReactComponent={};Ol.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")};Ol.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Uy(){}Uy.prototype=Ol.prototype;function qd(e,t,n){this.props=e,this.context=t,this.refs=Hy,this.updater=n||zy}var Jd=qd.prototype=new Uy;Jd.constructor=qd;By(Jd,Ol.prototype);Jd.isPureReactComponent=!0;var $m=Array.isArray,Vy=Object.prototype.hasOwnProperty,ep={current:null},Wy={key:!0,ref:!0,__self:!0,__source:!0};function Gy(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)Vy.call(t,r)&&!Wy.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var u=Array(a),s=0;s<a;s++)u[s]=arguments[s+2];o.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Zi,type:e,key:l,ref:i,props:o,_owner:ep.current}}function ik(e,t){return{$$typeof:Zi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function tp(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zi}function ak(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var bm=/\/+/g;function Ec(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ak(""+e.key):t.toString(36)}function Xa(e,t,n,r,o){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(l){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Zi:case QS:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+Ec(i,0):r,$m(o)?(n="",e!=null&&(n=e.replace(bm,"$&/")+"/"),Xa(o,t,n,"",function(s){return s})):o!=null&&(tp(o)&&(o=ik(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(bm,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",$m(e))for(var a=0;a<e.length;a++){l=e[a];var u=r+Ec(l,a);i+=Xa(l,t,n,u,o)}else if(u=lk(e),typeof u=="function")for(e=u.call(e),a=0;!(l=e.next()).done;)l=l.value,u=r+Ec(l,a++),i+=Xa(l,t,n,u,o);else if(l==="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 i}
vendor: 5,041 bytes, lines 9-25
9function xa(e,t,n){if(e==null)return e;var r=[],o=0;return Xa(e,r,"","",function(l){return t.call(n,l,o++)}),r}function uk(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 wt={current:null},Za={transition:null},sk={ReactCurrentDispatcher:wt,ReactCurrentBatchConfig:Za,ReactCurrentOwner:ep};function Yy(){throw Error("act(...) is not supported in production builds of React.")}oe.Children={map:xa,forEach:function(e,t,n){xa(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return xa(e,function(){t++}),t},toArray:function(e){return xa(e,function(t){return t})||[]},only:function(e){if(!tp(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};oe.Component=Ol;oe.Fragment=XS;oe.Profiler=qS;oe.PureComponent=qd;oe.StrictMode=ZS;oe.Suspense=nk;oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sk;oe.act=Yy;oe.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=By({},e.props),o=e.key,l=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(l=t.ref,i=ep.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)Vy.call(t,u)&&!Wy.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){a=Array(u);for(var s=0;s<u;s++)a[s]=arguments[s+2];r.children=a}return{$$typeof:Zi,type:e.type,key:o,ref:l,props:r,_owner:i}};oe.createContext=function(e){return e={$$typeof:ek,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:JS,_context:e},e.Consumer=e};oe.createElement=Gy;oe.createFactory=function(e){var t=Gy.bind(null,e);return t.type=e,t};oe.createRef=function(){return{current:null}};oe.forwardRef=function(e){return{$$typeof:tk,render:e}};oe.isValidElement=tp;oe.lazy=function(e){return{$$typeof:ok,_payload:{_status:-1,_result:e},_init:uk}};oe.memo=function(e,t){return{$$typeof:rk,type:e,compare:t===void 0?null:t}};oe.startTransition=function(e){var t=Za.transition;Za.transition={};try{e()}finally{Za.transition=t}};oe.unstable_act=Yy;oe.useCallback=function(e,t){return wt.current.useCallback(e,t)};oe.useContext=function(e){return wt.current.useContext(e)};oe.useDebugValue=function(){};oe.useDeferredValue=function(e){return wt.current.useDeferredValue(e)};oe.useEffect=function(e,t){return wt.current.useEffect(e,t)};oe.useId=function(){return wt.current.useId()};oe.useImperativeHandle=function(e,t,n){return wt.current.useImperativeHandle(e,t,n)};oe.useInsertionEffect=function(e,t){return wt.current.useInsertionEffect(e,t)};oe.useLayoutEffect=function(e,t){return wt.current.useLayoutEffect(e,t)};oe.useMemo=function(e,t){return wt.current.useMemo(e,t)};oe.useReducer=function(e,t,n){return wt.current.useReducer(e,t,n)};oe.useRef=function(e){return wt.current.useRef(e)};oe.useState=function(e){return wt.current.useState(e)};oe.useSyncExternalStore=function(e,t,n){return wt.current.useSyncExternalStore(e,t,n)};oe.useTransition=function(){return wt.current.useTransition()};oe.version="18.3.1";Iy.exports=oe;var f=Iy.exports;const B=gs(f),Cu=KS({__proto__:null,default:B},[f]);/**
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 ck=f,fk=Symbol.for("react.element"),dk=Symbol.for("react.fragment"),pk=Object.prototype.hasOwnProperty,hk=ck.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,mk={key:!0,ref:!0,__self:!0,__source:!0};function Ky(e,t,n){var r,o={},l=null,i=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)pk.call(t,r)&&!mk.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:fk,type:e,key:l,ref:i,props:o,_owner:hk.current}}ys.Fragment=dk;ys.jsx=Ky;ys.jsxs=Ky;Dy.exports=ys;var S=Dy.exports,Qy={exports:{}},Xt={},Xy={exports:{}},Zy={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(P,M){var N=P.length;P.push(M);e:for(;0<N;){var H=N-1>>>1,U=P[H];if(0<o(U,M))P[H]=M,P[N]=U,N=H;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var M=P[0],N=P.pop();if(N!==M){P[0]=N;e:for(var H=0,U=P.length,z=U>>>1;H<z;){var Y=2*(H+1)-1,A=P[Y],V=Y+1,Q=P[V];if(0>o(A,N))V<U&&0>o(Q,A)?(P[H]=Q,P[V]=N,H=V):(P[H]=A,P[Y]=N,H=Y);else if(V<U&&0>
vendor: 10,206 bytes, lines 25-34
25o(Q,N))P[H]=Q,P[V]=N,H=V;else break e}}return M}function o(P,M){var N=P.sortIndex-M.sortIndex;return N!==0?N:P.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var u=[],s=[],c=1,d=null,m=3,p=!1,g=!1,y=!1,x=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,h=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(P){for(var M=n(s);M!==null;){if(M.callback===null)r(s);else if(M.startTime<=P)r(s),M.sortIndex=M.expirationTime,t(u,M);else break;M=n(s)}}function E(P){if(y=!1,w(P),!g)if(n(u)!==null)g=!0,j(k);else{var M=n(s);M!==null&&I(E,M.startTime-P)}}function k(P,M){g=!1,y&&(y=!1,v(R),R=-1),p=!0;var N=m;try{for(w(M),d=n(u);d!==null&&(!(d.expirationTime>M)||P&&!T());){var H=d.callback;if(typeof H=="function"){d.callback=null,m=d.priorityLevel;var U=H(d.expirationTime<=M);M=e.unstable_now(),typeof U=="function"?d.callback=U:d===n(u)&&r(u),w(M)}else r(u);d=n(u)}if(d!==null)var z=!0;else{var Y=n(s);Y!==null&&I(E,Y.startTime-M),z=!1}return z}finally{d=null,m=N,p=!1}}var C=!1,$=null,R=-1,O=5,b=-1;function T(){return!(e.unstable_now()-b<O)}function _(){if($!==null){var P=e.unstable_now();b=P;var M=!0;try{M=$(!0,P)}finally{M?L():(C=!1,$=null)}}else C=!1}var L;if(typeof h=="function")L=function(){h(_)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,G=F.port2;F.port1.onmessage=_,L=function(){G.postMessage(null)}}else L=function(){x(_,0)};function j(P){$=P,C||(C=!0,L())}function I(P,M){R=x(function(){P(e.unstable_now())},M)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_continueExecution=function(){g||p||(g=!0,j(k))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(P){switch(m){case 1:case 2:case 3:var M=3;break;default:M=m}var N=m;m=M;try{return P()}finally{m=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,M){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var N=m;m=P;try{return M()}finally{m=N}},e.unstable_scheduleCallback=function(P,M,N){var H=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?H+N:H):N=H,P){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=N+U,P={id:c++,callback:M,priorityLevel:P,startTime:N,expirationTime:U,sortIndex:-1},N>H?(P.sortIndex=N,t(s,P),n(u)===null&&P===n(s)&&(y?(v(R),R=-1):y=!0,I(E,N-H))):(P.sortIndex=U,t(u,P),g||p||(g=!0,j(k))),P},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(P){var M=m;return function(){var N=m;m=M;try{return P.apply(this,arguments)}finally{m=N}}}})(Zy);Xy.exports=Zy;var vk=Xy.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 gk=f,Kt=vk;function D(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var qy=new Set,Ci={};function Io(e,t){ml(e,t),ml(e+"Capture",t)}function ml(e,t){for(Ci[e]=t,e=0;e<t.length;e++)qy.add(t[e])}var ar=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),wf=Object.prototype.hasOwnProperty,yk=/^[: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]*$/,Rm={},Pm={};function wk(e){return wf.call(Pm,e)?!0:wf.call(Rm,e)?!1:yk.test(e)?Pm[e]=!0:(Rm[e]=!0,!1)}function xk(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 Ek(e,t,n,r){if(t===null||typeof t>"u"||xk(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 xt(e,t,n,r,o,l,i){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=l,this.removeEmptyString=i}var rt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){rt[e]=new xt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];rt[t]=new xt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){rt[e]=new xt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){rt[e]=new xt(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){rt[e]=new xt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){rt[e]=new xt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){rt[e]=new xt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){rt[e]=new xt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){rt[e]=new xt(e,5,!1,e.toLowerCase(),null,!1,!1)});var np=/[\-:]([a-z])/g;function rp(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(np,rp);rt[t]=new xt(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(np,rp);rt[t]=new xt(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(np,rp);rt[t]=new xt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){rt[e]=new xt(e,1,!1,e.toLowerCase(),null,!1,!1)});rt.xlinkHref=new xt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){rt[e]=new xt(e,1,!1,e.toLowerCase(),null,!0,!0)});function op(e,t,n,r){var o=rt.hasOwnProperty(t)?rt[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Ek(t,n,o,r)&&(n=null),r||o===null?wk(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 mr=gk.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ea=Symbol.for("react.element"),Yo=Symbol.for("react.portal"),Ko=Symbol.for("react.fragment"),lp=Symbol.for("react.strict_mode"),xf=Symbol.for("react.profiler"),Jy=Symbol.for("react.provider"),e0=Symbol.for("react.context"),ip=Symbol.for("react.forward_ref"),Ef=Symbol.for("react.suspense"),Sf=Symbol.for("react.suspense_list"),ap=Symbol.for("react.memo"),$r=Symbol.for("react.lazy"),t0=Symbol.for("react.offscreen"),Tm=Symbol.iterator;function Ul(e){return e===null||typeof e!="object"?null:(e=Tm&&e[Tm]||e["@@iterator"],typeof e=="function"?e:null)}var Le=Object.assign,Sc;function Jl(e){if(Sc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Sc=t&&t[1]||""}return`
34`+Sc+e}var kc=!1;function Cc(e,t){if(!e||kc)return"";kc=!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(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}
vendor: 14,090 bytes, lines 34-37
34catch(s){if(s&&r&&typeof s.stack=="string"){for(var o=s.stack.split(`
35`),l=r.stack.split(`
36`),i=o.length-1,a=l.length-1;1<=i&&0<=a&&o[i]!==l[a];)a--;for(;1<=i&&0<=a;i--,a--)if(o[i]!==l[a]){if(i!==1||a!==1)do if(i--,a--,0>a||o[i]!==l[a]){var u=`
37`+o[i].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=i&&0<=a);break}}}finally{kc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Jl(e):""}function Sk(e){switch(e.tag){case 5:return Jl(e.type);case 16:return Jl("Lazy");case 13:return Jl("Suspense");case 19:return Jl("SuspenseList");case 0:case 2:case 15:return e=Cc(e.type,!1),e;case 11:return e=Cc(e.type.render,!1),e;case 1:return e=Cc(e.type,!0),e;default:return""}}function kf(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 Ko:return"Fragment";case Yo:return"Portal";case xf:return"Profiler";case lp:return"StrictMode";case Ef:return"Suspense";case Sf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case e0:return(e.displayName||"Context")+".Consumer";case Jy:return(e._context.displayName||"Context")+".Provider";case ip:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ap:return t=e.displayName||null,t!==null?t:kf(e.type)||"Memo";case $r:t=e._payload,e=e._init;try{return kf(e(t))}catch{}}return null}function kk(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 kf(t);case 8:return t===lp?"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 Wr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function n0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ck(e){var t=n0(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,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sa(e){e._valueTracker||(e._valueTracker=Ck(e))}function r0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=n0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function $u(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 Cf(e,t){var n=t.checked;return Le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Om(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Wr(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 o0(e,t){t=t.checked,t!=null&&op(e,"checked",t,!1)}function $f(e,t){o0(e,t);var n=Wr(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")?bf(e,t.type,n):t.hasOwnProperty("defaultValue")&&bf(e,t.type,Wr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mm(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 bf(e,t,n){(t!=="number"||$u(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ei=Array.isArray;function al(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=""+Wr(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 Rf(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return Le({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function _m(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(D(92));if(ei(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Wr(n)}}function l0(e,t){var n=Wr(t.value),r=Wr(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 Nm(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function i0(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 Pf(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?i0(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ka,a0=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(ka=ka||document.createElement("div"),ka.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ka.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function $i(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var si={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},$k=["Webkit","ms","Moz","O"];Object.keys(si).forEach(function(e){$k.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),si[t]=si[e]})});function u0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||si.hasOwnProperty(e)&&si[e]?(""+t).trim():t+"px"}function s0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=u0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var bk=Le({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Tf(e,t){if(t){if(bk[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function Of(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 Mf=null;function up(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _f=null,ul=null,sl=null;function Lm(e){if(e=ea(e)){if(typeof _f!="function")throw Error(D(280));var t=e.stateNode;t&&(t=ks(t),_f(e.stateNode,e.type,t))}}function c0(e){ul?sl?sl.push(e):sl=[e]:ul=e}function f0(){if(ul){var e=ul,t=sl;if(sl=ul=null,Lm(e),t)for(e=0;e<t.length;e++)Lm(t[e])}}function d0(e,t){return e(t)}function p0(){}var $c=!1;function h0(e,t,n){if($c)return e(t,n);$c=!0;try{return d0(e,t,n)}finally{$c=!1,(ul!==null||sl!==null)&&(p0(),f0())}}function bi(e,t){var n=e.stateNode;if(n===null)return null;var r=ks(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(D(231,t,typeof n));return n}var Nf=!1;if(ar)try{var Vl={};Object.defineProperty(Vl,"passive",{get:function(){Nf=!0}}),window.addEventListener("test",Vl,Vl),window.removeEventListener("test",Vl,Vl)}catch{Nf=!1}function Rk(e,t,n,r,o,l,i,a,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var ci=!1,bu=null,Ru=!1,Lf=null,Pk={onError:function(e){ci=!0,bu=e}};function Tk(e,t,n,r,o,l,i,a,u){ci=!1,bu=null,Rk.apply(Pk,arguments)}function Ok(e,t,n,r,o,l,i,a,u){if(Tk.apply(this,arguments),ci){if(ci){var s=bu;ci=!1,bu=null}else throw Error(D(198));Ru||(Ru=!0,Lf=s)}}function zo(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 m0(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 Fm(e){if(zo(e)!==e)throw Error(D(188))}function Mk(e){var t=e.alternate;if(!t){if(t=zo(e),t===null)throw Error(D(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var l=o.alternate;if(l===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===l.child){for(l=o.child;l;){if(l===n)return Fm(o),e;if(l===r)return Fm(o),t;l=l.sibling}throw Error(D(188))}if(n.return!==r.return)n=o,r=l;else{for(var i=!1,a=o.child;a;){if(a===n){i=!0,n=o,r=l;break}if(a===r){i=!0,r=o,n=l;break}a=a.sibling}if(!i){for(a=l.child;a;){if(a===n){i=!0,n=l,r=o;break}if(a===r){i=!0,r=l,n=o;break}a=a.sibling}if(!i)throw Error(D(189))}}if(n.alternate!==r)throw Error(D(190))}if(n.tag!==3)throw Error(D(188));return n.stateNode.current===n?e:t}function v0(e){return e=Mk(e),e!==null?g0(e):null}function g0(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=g0(e);if(t!==null)return t;e=e.sibling}return null}var y0=Kt.unstable_scheduleCallback,Am=Kt.unstable_cancelCallback,_k=Kt.unstable_shouldYield,Nk=Kt.unstable_requestPaint,je=Kt.unstable_now,Lk=Kt.unstable_getCurrentPriorityLevel,sp=Kt.unstable_ImmediatePriority,w0=Kt.unstable_UserBlockingPriority,Pu=Kt.unstable_NormalPriority,Fk=Kt.unstable_LowPriority,x0=Kt.unstable_IdlePriority,ws=null,_n=null;function Ak(e){if(_n&&typeof _n.onCommitFiberRoot=="function")try{_n.onCommitFiberRoot(ws,e,void 0,(e.current.flags&128)===128)}catch{}}var xn=Math.clz32?Math.clz32:Ik,jk=Math.log,Dk=Math.LN2;function Ik(e){return e>>>=0,e===0?32:31-(jk(e)/Dk|0)|0}var Ca=64,$a=4194304;function ti(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 Tu(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~o;a!==0?r=ti(a):(l&=i,l!==0&&(r=ti(l)))}else i=n&~o,i!==0?r=ti(i):l!==0&&(r=ti(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&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-xn(t),o=1<<n,r|=e[n],t&=~o;return r}function zk(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 Bk(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,l=e.pendingLanes;0<l;){var i=31-xn(l),a=1<<i,u=o[i];u===-1?(!(a&n)||a&r)&&(o[i]=zk(a,t)):u<=t&&(e.expiredLanes|=a),l&=~a}}function Ff(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function E0(){var e=Ca;return Ca<<=1,!(Ca&4194240)&&(Ca=64),e}function bc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 2,793 bytes, line 37
37function qi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xn(t),e[t]=n}function Hk(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-xn(n),l=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~l}}function cp(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-xn(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var se=0;function S0(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var k0,fp,C0,$0,b0,Af=!1,ba=[],jr=null,Dr=null,Ir=null,Ri=new Map,Pi=new Map,Pr=[],Uk="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 jm(e,t){switch(e){case"focusin":case"focusout":jr=null;break;case"dragenter":case"dragleave":Dr=null;break;case"mouseover":case"mouseout":Ir=null;break;case"pointerover":case"pointerout":Ri.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pi.delete(t.pointerId)}}function Wl(e,t,n,r,o,l){return e===null||e.nativeEvent!==l?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:l,targetContainers:[o]},t!==null&&(t=ea(t),t!==null&&fp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Vk(e,t,n,r,o){switch(t){case"focusin":return jr=Wl(jr,e,t,n,r,o),!0;case"dragenter":return Dr=Wl(Dr,e,t,n,r,o),!0;case"mouseover":return Ir=Wl(Ir,e,t,n,r,o),!0;case"pointerover":var l=o.pointerId;return Ri.set(l,Wl(Ri.get(l)||null,e,t,n,r,o)),!0;case"gotpointercapture":return l=o.pointerId,Pi.set(l,Wl(Pi.get(l)||null,e,t,n,r,o)),!0}return!1}function R0(e){var t=vo(e.target);if(t!==null){var n=zo(t);if(n!==null){if(t=n.tag,t===13){if(t=m0(n),t!==null){e.blockedOn=t,b0(e.priority,function(){C0(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 qa(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=jf(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Mf=r,n.target.dispatchEvent(r),Mf=null}else return t=ea(n),t!==null&&fp(t),e.blockedOn=n,!1;t.shift()}return!0}function Dm(e,t,n){qa(e)&&n.delete(t)}function Wk(){Af=!1,jr!==null&&qa(jr)&&(jr=null),Dr!==null&&qa(Dr)&&(Dr=null),Ir!==null&&qa(Ir)&&(Ir=null),Ri.forEach(Dm),Pi.forEach(Dm)}function Gl(e,t){e.blockedOn===t&&(e.blockedOn=null,Af||(Af=!0,Kt.unstable_scheduleCallback(Kt.unstable_NormalPriority,Wk)))}
vendor: 11,695 bytes, line 37
37function Ti(e){function t(o){return Gl(o,e)}if(0<ba.length){Gl(ba[0],e);for(var n=1;n<ba.length;n++){var r=ba[n];r.blockedOn===e&&(r.blockedOn=null)}}for(jr!==null&&Gl(jr,e),Dr!==null&&Gl(Dr,e),Ir!==null&&Gl(Ir,e),Ri.forEach(t),Pi.forEach(t),n=0;n<Pr.length;n++)r=Pr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Pr.length&&(n=Pr[0],n.blockedOn===null);)R0(n),n.blockedOn===null&&Pr.shift()}var cl=mr.ReactCurrentBatchConfig,Ou=!0;function Gk(e,t,n,r){var o=se,l=cl.transition;cl.transition=null;try{se=1,dp(e,t,n,r)}finally{se=o,cl.transition=l}}function Yk(e,t,n,r){var o=se,l=cl.transition;cl.transition=null;try{se=4,dp(e,t,n,r)}finally{se=o,cl.transition=l}}function dp(e,t,n,r){if(Ou){var o=jf(e,t,n,r);if(o===null)Ac(e,t,r,Mu,n),jm(e,r);else if(Vk(o,e,t,n,r))r.stopPropagation();else if(jm(e,r),t&4&&-1<Uk.indexOf(e)){for(;o!==null;){var l=ea(o);if(l!==null&&k0(l),l=jf(e,t,n,r),l===null&&Ac(e,t,r,Mu,n),l===o)break;o=l}o!==null&&r.stopPropagation()}else Ac(e,t,r,null,n)}}var Mu=null;function jf(e,t,n,r){if(Mu=null,e=up(r),e=vo(e),e!==null)if(t=zo(e),t===null)e=null;else if(n=t.tag,n===13){if(e=m0(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 Mu=e,null}function P0(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(Lk()){case sp:return 1;case w0:return 4;case Pu:case Fk:return 16;case x0:return 536870912;default:return 16}default:return 16}}var Mr=null,pp=null,Ja=null;function T0(){if(Ja)return Ja;var e,t=pp,n=t.length,r,o="value"in Mr?Mr.value:Mr.textContent,l=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[l-r];r++);return Ja=o.slice(e,1<r?1-r:void 0)}function eu(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 Ra(){return!0}function Im(){return!1}function Zt(e){function t(n,r,o,l,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=l,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(l):l[a]);return this.isDefaultPrevented=(l.defaultPrevented!=null?l.defaultPrevented:l.returnValue===!1)?Ra:Im,this.isPropagationStopped=Im,this}return Le(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=Ra)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ra)},persist:function(){},isPersistent:Ra}),t}var Ml={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hp=Zt(Ml),Ji=Le({},Ml,{view:0,detail:0}),Kk=Zt(Ji),Rc,Pc,Yl,xs=Le({},Ji,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mp,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!==Yl&&(Yl&&e.type==="mousemove"?(Rc=e.screenX-Yl.screenX,Pc=e.screenY-Yl.screenY):Pc=Rc=0,Yl=e),Rc)},movementY:function(e){return"movementY"in e?e.movementY:Pc}}),zm=Zt(xs),Qk=Le({},xs,{dataTransfer:0}),Xk=Zt(Qk),Zk=Le({},Ji,{relatedTarget:0}),Tc=Zt(Zk),qk=Le({},Ml,{animationName:0,elapsedTime:0,pseudoElement:0}),Jk=Zt(qk),eC=Le({},Ml,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tC=Zt(eC),nC=Le({},Ml,{data:0}),Bm=Zt(nC),rC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},oC={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"},lC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function iC(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=lC[e])?!!t[e]:!1}function mp(){return iC}var aC=Le({},Ji,{key:function(e){if(e.key){var t=rC[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=eu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?oC[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mp,charCode:function(e){return e.type==="keypress"?eu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?eu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),uC=Zt(aC),sC=Le({},xs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Hm=Zt(sC),cC=Le({},Ji,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mp}),fC=Zt(cC),dC=Le({},Ml,{propertyName:0,elapsedTime:0,pseudoElement:0}),pC=Zt(dC),hC=Le({},xs,{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}),mC=Zt(hC),vC=[9,13,27,32],vp=ar&&"CompositionEvent"in window,fi=null;ar&&"documentMode"in document&&(fi=document.documentMode);var gC=ar&&"TextEvent"in window&&!fi,O0=ar&&(!vp||fi&&8<fi&&11>=fi),Um=" ",Vm=!1;function M0(e,t){switch(e){case"keyup":return vC.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qo=!1;function yC(e,t){switch(e){case"compositionend":return _0(t);case"keypress":return t.which!==32?null:(Vm=!0,Um);case"textInput":return e=t.data,e===Um&&Vm?null:e;default:return null}}function wC(e,t){if(Qo)return e==="compositionend"||!vp&&M0(e,t)?(e=T0(),Ja=pp=Mr=null,Qo=!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 O0&&t.locale!=="ko"?null:t.data;default:return null}}var xC={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 Wm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!xC[e.type]:t==="textarea"}function N0(e,t,n,r){c0(r),t=_u(t,"onChange"),0<t.length&&(n=new hp("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var di=null,Oi=null;function EC(e){V0(e,0)}function Es(e){var t=qo(e);if(r0(t))return e}function SC(e,t){if(e==="change")return t}var L0=!1;if(ar){var Oc;if(ar){var Mc="oninput"in document;if(!Mc){var Gm=document.createElement("div");Gm.setAttribute("oninput","return;"),Mc=typeof Gm.oninput=="function"}Oc=Mc}else Oc=!1;L0=Oc&&(!document.documentMode||9<document.documentMode)}function Ym(){di&&(di.detachEvent("onpropertychange",F0),Oi=di=null)}function F0(e){if(e.propertyName==="value"&&Es(Oi)){var t=[];N0(t,Oi,e,up(e)),h0(EC,t)}}function kC(e,t,n){e==="focusin"?(Ym(),di=t,Oi=n,di.attachEvent("onpropertychange",F0)):e==="focusout"&&Ym()}function CC(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Es(Oi)}function $C(e,t){if(e==="click")return Es(t)}function bC(e,t){if(e==="input"||e==="change")return Es(t)}function RC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Sn=typeof Object.is=="function"?Object.is:RC;function Mi(e,t){if(Sn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!wf.call(t,o)||!Sn(e[o],t[o]))return!1}return!0}function Km(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Qm(e,t){var n=Km(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=Km(n)}}function A0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?A0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function j0(){for(var e=window,t=$u();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$u(e.document)}return t}function gp(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 PC(e){var t=j0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&A0(n.ownerDocument.documentElement,n)){if(r!==null&&gp(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,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=Qm(n,l);var i=Qm(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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 TC=ar&&"documentMode"in document&&11>=document.documentMode,Xo=null,Df=null,pi=null,If=!1;function Xm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;If||Xo==null||Xo!==$u(r)||(r=Xo,"selectionStart"in r&&gp(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),pi&&Mi(pi,r)||(pi=r,r=_u(Df,"onSelect"),0<r.length&&(t=new hp("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Xo)))}function Pa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Zo={animationend:Pa("Animation","AnimationEnd"),animationiteration:Pa("Animation","AnimationIteration"),animationstart:Pa("Animation","AnimationStart"),transitionend:Pa("Transition","TransitionEnd")},_c={},D0={};ar&&(D0=document.createElement("div").style,"AnimationEvent"in window||(delete Zo.animationend.animation,delete Zo.animationiteration.animation,delete Zo.animationstart.animation),"TransitionEvent"in window||delete Zo.transitionend.transition);function Ss(e){if(_c[e])return _c[e];if(!Zo[e])return e;var t=Zo[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in D0)return _c[e]=t[n];return e}var I0=Ss("animationend"),z0=Ss("animationiteration"),B0=Ss("animationstart"),H0=Ss("transitionend"),U0=new Map,Zm="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 qr(e,t){U0.set(e,t),Io(t,[e])}for(var Nc=0;Nc<Zm.length;Nc++){var Lc=Zm[Nc],OC=Lc.toLowerCase(),MC=Lc[0].toUpperCase()+Lc.slice(1);qr(OC,"on"+MC)}qr(I0,"onAnimationEnd");qr(z0,"onAnimationIteration");qr(B0,"onAnimationStart");qr("dblclick","onDoubleClick");qr("focusin","onFocus");qr("focusout","onBlur");qr(H0,"onTransitionEnd");ml("onMouseEnter",["mouseout","mouseover"]);ml("onMouseLeave",["mouseout","mouseover"]);ml("onPointerEnter",["pointerout","pointerover"]);ml("onPointerLeave",["pointerout","pointerover"]);Io("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Io("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Io("onBeforeInput",["compositionend","keypress","textInput","paste"]);Io("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Io("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Io("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ni="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(" "),_C=new Set("cancel close invalid load scroll toggle".split(" ").concat(ni));function qm(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Ok(r,t,void 0,e),e.currentTarget=null}function V0(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 l=void 0;if(t)for(var i=r.length-1;0<=i;i--){var a=r[i],u=a.instance,s=a.currentTarget;if(a=a.listener,u!==l&&o.isPropagationStopped())break e;qm(o,a,s),l=u}else for(i=0;i<r.length;i++){if(a=r[i],u=a.instance,s=a.currentTarget,a=a.listener,u!==l&&o.isPropagationStopped())break e;qm(o,a,s),l=u}}}if(Ru)throw e=Lf,Ru=!1,Lf=null,e}function ke(e,t){var n=t[Vf];n===void 0&&(n=t[Vf]=new Set);var r=e+"__bubble";n.has(r)||(W0(t,e,2,!1),n.add(r))}function Fc(e,t,n){var r=0;t&&(r|=4),W0(n,e,r,t)}var Ta="_reactListening"+Math.random().toString(36).slice(2);function _i(e){if(!e[Ta]){e[Ta]=!0,qy.forEach(function(n){n!=="selectionchange"&&(_C.has(n)||Fc(n,!1,e),Fc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ta]||(t[Ta]=!0,Fc("selectionchange",!1,t))}}function W0(e,t,n,r){switch(P0(t)){case 1:var o=Gk;break;case 4:o=Yk;break;default:o=dp}n=o.bind(null,t,n,e),o=void 0,!Nf||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 Ac(e,t,n,r,o){var l=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var a=r.stateNode.containerInfo;
vendor: 35,736 bytes, lines 37-40
37if(a===o||a.nodeType===8&&a.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var u=i.tag;if((u===3||u===4)&&(u=i.stateNode.containerInfo,u===o||u.nodeType===8&&u.parentNode===o))return;i=i.return}for(;a!==null;){if(i=vo(a),i===null)return;if(u=i.tag,u===5||u===6){r=l=i;continue e}a=a.parentNode}}r=r.return}h0(function(){var s=l,c=up(n),d=[];e:{var m=U0.get(e);if(m!==void 0){var p=hp,g=e;switch(e){case"keypress":if(eu(n)===0)break e;case"keydown":case"keyup":p=uC;break;case"focusin":g="focus",p=Tc;break;case"focusout":g="blur",p=Tc;break;case"beforeblur":case"afterblur":p=Tc;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=zm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Xk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=fC;break;case I0:case z0:case B0:p=Jk;break;case H0:p=pC;break;case"scroll":p=Kk;break;case"wheel":p=mC;break;case"copy":case"cut":case"paste":p=tC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Hm}var y=(t&4)!==0,x=!y&&e==="scroll",v=y?m!==null?m+"Capture":null:m;y=[];for(var h=s,w;h!==null;){w=h;var E=w.stateNode;if(w.tag===5&&E!==null&&(w=E,v!==null&&(E=bi(h,v),E!=null&&y.push(Ni(h,E,w)))),x)break;h=h.return}0<y.length&&(m=new p(m,g,null,n,c),d.push({event:m,listeners:y}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",m&&n!==Mf&&(g=n.relatedTarget||n.fromElement)&&(vo(g)||g[ur]))break e;if((p||m)&&(m=c.window===c?c:(m=c.ownerDocument)?m.defaultView||m.parentWindow:window,p?(g=n.relatedTarget||n.toElement,p=s,g=g?vo(g):null,g!==null&&(x=zo(g),g!==x||g.tag!==5&&g.tag!==6)&&(g=null)):(p=null,g=s),p!==g)){if(y=zm,E="onMouseLeave",v="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(y=Hm,E="onPointerLeave",v="onPointerEnter",h="pointer"),x=p==null?m:qo(p),w=g==null?m:qo(g),m=new y(E,h+"leave",p,n,c),m.target=x,m.relatedTarget=w,E=null,vo(c)===s&&(y=new y(v,h+"enter",g,n,c),y.target=w,y.relatedTarget=x,E=y),x=E,p&&g)t:{for(y=p,v=g,h=0,w=y;w;w=Wo(w))h++;for(w=0,E=v;E;E=Wo(E))w++;for(;0<h-w;)y=Wo(y),h--;for(;0<w-h;)v=Wo(v),w--;for(;h--;){if(y===v||v!==null&&y===v.alternate)break t;y=Wo(y),v=Wo(v)}y=null}else y=null;p!==null&&Jm(d,m,p,y,!1),g!==null&&x!==null&&Jm(d,x,g,y,!0)}}e:{if(m=s?qo(s):window,p=m.nodeName&&m.nodeName.toLowerCase(),p==="select"||p==="input"&&m.type==="file")var k=SC;else if(Wm(m))if(L0)k=bC;else{k=CC;var C=kC}else(p=m.nodeName)&&p.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(k=$C);if(k&&(k=k(e,s))){N0(d,k,n,c);break e}C&&C(e,m,s),e==="focusout"&&(C=m._wrapperState)&&C.controlled&&m.type==="number"&&bf(m,"number",m.value)}switch(C=s?qo(s):window,e){case"focusin":(Wm(C)||C.contentEditable==="true")&&(Xo=C,Df=s,pi=null);break;case"focusout":pi=Df=Xo=null;break;case"mousedown":If=!0;break;case"contextmenu":case"mouseup":case"dragend":If=!1,Xm(d,n,c);break;case"selectionchange":if(TC)break;case"keydown":case"keyup":Xm(d,n,c)}var $;if(vp)e:{switch(e){case"compositionstart":var R="onCompositionStart";break e;case"compositionend":R="onCompositionEnd";break e;case"compositionupdate":R="onCompositionUpdate";break e}R=void 0}else Qo?M0(e,n)&&(R="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(R="onCompositionStart");R&&(O0&&n.locale!=="ko"&&(Qo||R!=="onCompositionStart"?R==="onCompositionEnd"&&Qo&&($=T0()):(Mr=c,pp="value"in Mr?Mr.value:Mr.textContent,Qo=!0)),C=_u(s,R),0<C.length&&(R=new Bm(R,e,null,n,c),d.push({event:R,listeners:C}),$?R.data=$:($=_0(n),$!==null&&(R.data=$)))),($=gC?yC(e,n):wC(e,n))&&(s=_u(s,"onBeforeInput"),0<s.length&&(c=new Bm("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:s}),c.data=$))}V0(d,t)})}function Ni(e,t,n){return{instance:e,listener:t,currentTarget:n}}function _u(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,l=o.stateNode;o.tag===5&&l!==null&&(o=l,l=bi(e,n),l!=null&&r.unshift(Ni(e,l,o)),l=bi(e,t),l!=null&&r.push(Ni(e,l,o))),e=e.return}return r}function Wo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Jm(e,t,n,r,o){for(var l=t._reactName,i=[];n!==null&&n!==r;){var a=n,u=a.alternate,s=a.stateNode;if(u!==null&&u===r)break;a.tag===5&&s!==null&&(a=s,o?(u=bi(n,l),u!=null&&i.unshift(Ni(n,u,a))):o||(u=bi(n,l),u!=null&&i.push(Ni(n,u,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var NC=/\r\n?/g,LC=/\u0000|\uFFFD/g;function ev(e){return(typeof e=="string"?e:""+e).replace(NC,`
38`).replace(LC,"")}function Oa(e,t,n){if(t=ev(t),ev(e)!==t&&n)throw Error(D(425))}function Nu(){}var zf=null,Bf=null;function Hf(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 Uf=typeof setTimeout=="function"?setTimeout:void 0,FC=typeof clearTimeout=="function"?clearTimeout:void 0,tv=typeof Promise=="function"?Promise:void 0,AC=typeof queueMicrotask=="function"?queueMicrotask:typeof tv<"u"?function(e){return tv.resolve(null).then(e).catch(jC)}:Uf;function jC(e){setTimeout(function(){throw e})}function jc(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),Ti(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Ti(t)}function zr(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 nv(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 _l=Math.random().toString(36).slice(2),Mn="__reactFiber$"+_l,Li="__reactProps$"+_l,ur="__reactContainer$"+_l,Vf="__reactEvents$"+_l,DC="__reactListeners$"+_l,IC="__reactHandles$"+_l;function vo(e){var t=e[Mn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ur]||n[Mn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=nv(e);e!==null;){if(n=e[Mn])return n;e=nv(e)}return t}e=n,n=e.parentNode}return null}function ea(e){return e=e[Mn]||e[ur],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function qo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function ks(e){return e[Li]||null}var Wf=[],Jo=-1;function Jr(e){return{current:e}}function be(e){0>Jo||(e.current=Wf[Jo],Wf[Jo]=null,Jo--)}function Ee(e,t){Jo++,Wf[Jo]=e.current,e.current=t}var Gr={},ct=Jr(Gr),Tt=Jr(!1),Po=Gr;function vl(e,t){var n=e.type.contextTypes;if(!n)return Gr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ot(e){return e=e.childContextTypes,e!=null}function Lu(){be(Tt),be(ct)}function rv(e,t,n){if(ct.current!==Gr)throw Error(D(168));Ee(ct,t),Ee(Tt,n)}function G0(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(D(108,kk(e)||"Unknown",o));return Le({},n,r)}function Fu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gr,Po=ct.current,Ee(ct,e),Ee(Tt,Tt.current),!0}function ov(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=G0(e,t,Po),r.__reactInternalMemoizedMergedChildContext=e,be(Tt),be(ct),Ee(ct,e)):be(Tt),Ee(Tt,n)}var Xn=null,Cs=!1,Dc=!1;function Y0(e){Xn===null?Xn=[e]:Xn.push(e)}function zC(e){Cs=!0,Y0(e)}function eo(){if(!Dc&&Xn!==null){Dc=!0;var e=0,t=se;try{var n=Xn;for(se=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Xn=null,Cs=!1}catch(o){throw Xn!==null&&(Xn=Xn.slice(e+1)),y0(sp,eo),o}finally{se=t,Dc=!1}}return null}var el=[],tl=0,Au=null,ju=0,en=[],tn=0,To=null,qn=1,Jn="";function uo(e,t){el[tl++]=ju,el[tl++]=Au,Au=e,ju=t}function K0(e,t,n){en[tn++]=qn,en[tn++]=Jn,en[tn++]=To,To=e;var r=qn;e=Jn;var o=32-xn(r)-1;r&=~(1<<o),n+=1;var l=32-xn(t)+o;if(30<l){var i=o-o%5;l=(r&(1<<i)-1).toString(32),r>>=i,o-=i,qn=1<<32-xn(t)+o|n<<o|r,Jn=l+e}else qn=1<<l|n<<o|r,Jn=e}function yp(e){e.return!==null&&(uo(e,1),K0(e,1,0))}function wp(e){for(;e===Au;)Au=el[--tl],el[tl]=null,ju=el[--tl],el[tl]=null;for(;e===To;)To=en[--tn],en[tn]=null,Jn=en[--tn],en[tn]=null,qn=en[--tn],en[tn]=null}var Gt=null,Vt=null,Te=!1,wn=null;function Q0(e,t){var n=nn(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function lv(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Gt=e,Vt=zr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Gt=e,Vt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=To!==null?{id:qn,overflow:Jn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=nn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Gt=e,Vt=null,!0):!1;default:return!1}}function Gf(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Yf(e){if(Te){var t=Vt;if(t){var n=t;if(!lv(e,t)){if(Gf(e))throw Error(D(418));t=zr(n.nextSibling);var r=Gt;t&&lv(e,t)?Q0(r,n):(e.flags=e.flags&-4097|2,Te=!1,Gt=e)}}else{if(Gf(e))throw Error(D(418));e.flags=e.flags&-4097|2,Te=!1,Gt=e}}}function iv(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Gt=e}function Ma(e){if(e!==Gt)return!1;if(!Te)return iv(e),Te=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Hf(e.type,e.memoizedProps)),t&&(t=Vt)){if(Gf(e))throw X0(),Error(D(418));for(;t;)Q0(e,t),t=zr(t.nextSibling)}if(iv(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Vt=zr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Vt=null}}else Vt=Gt?zr(e.stateNode.nextSibling):null;return!0}function X0(){for(var e=Vt;e;)e=zr(e.nextSibling)}function gl(){Vt=Gt=null,Te=!1}function xp(e){wn===null?wn=[e]:wn.push(e)}var BC=mr.ReactCurrentBatchConfig;function Kl(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(D(309));var r=n.stateNode}if(!r)throw Error(D(147,e));var o=r,l=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===l?t.ref:(t=function(i){var a=o.refs;i===null?delete a[l]:a[l]=i},t._stringRef=l,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function _a(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function av(e){var t=e._init;return t(e._payload)}function Z0(e){function t(v,h){if(e){var w=v.deletions;w===null?(v.deletions=[h],v.flags|=16):w.push(h)}}function n(v,h){if(!e)return null;for(;h!==null;)t(v,h),h=h.sibling;return null}function r(v,h){for(v=new Map;h!==null;)h.key!==null?v.set(h.key,h):v.set(h.index,h),h=h.sibling;return v}function o(v,h){return v=Vr(v,h),v.index=0,v.sibling=null,v}function l(v,h,w){return v.index=w,e?(w=v.alternate,w!==null?(w=w.index,w<h?(v.flags|=2,h):w):(v.flags|=2,h)):(v.flags|=1048576,h)}function i(v){return e&&v.alternate===null&&(v.flags|=2),v}function a(v,h,w,E){return h===null||h.tag!==6?(h=Wc(w,v.mode,E),h.return=v,h):(h=o(h,w),h.return=v,h)}function u(v,h,w,E){var k=w.type;return k===Ko?c(v,h,w.props.children,E,w.key):h!==null&&(h.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===$r&&av(k)===h.type)?(E=o(h,w.props),E.ref=Kl(v,h,w),E.return=v,E):(E=au(w.type,w.key,w.props,null,v.mode,E),E.ref=Kl(v,h,w),E.return=v,E)}function s(v,h,w,E){return h===null||h.tag!==4||h.stateNode.containerInfo!==w.containerInfo||h.stateNode.implementation!==w.implementation?(h=Gc(w,v.mode,E),h.return=v,h):(h=o(h,w.children||[]),h.return=v,h)}function c(v,h,w,E,k){return h===null||h.tag!==7?(h=$o(w,v.mode,E,k),h.return=v,h):(h=o(h,w),h.return=v,h)}function d(v,h,w){if(typeof h=="string"&&h!==""||typeof h=="number")return h=Wc(""+h,v.mode,w),h.return=v,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ea:return w=au(h.type,h.key,h.props,null,v.mode,w),w.ref=Kl(v,null,h),w.return=v,w;case Yo:return h=Gc(h,v.mode,w),h.return=v,h;case $r:var E=h._init;return d(v,E(h._payload),w)}if(ei(h)||Ul(h))return h=$o(h,v.mode,w,null),h.return=v,h;_a(v,h)}return null}function m(v,h,w,E){var k=h!==null?h.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return k!==null?null:a(v,h,""+w,E);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Ea:return w.key===k?u(v,h,w,E):null;case Yo:return w.key===k?s(v,h,w,E):null;case $r:return k=w._init,m(v,h,k(w._payload),E)}if(ei(w)||Ul(w))return k!==null?null:c(v,h,w,E,null);_a(v,w)}return null}function p(v,h,w,E,k){if(typeof E=="string"&&E!==""||typeof E=="number")return v=v.get(w)||null,a(h,v,""+E,k);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Ea:return v=v.get(E.key===null?w:E.key)||null,u(h,v,E,k);case Yo:return v=v.get(E.key===null?w:E.key)||null,s(h,v,E,k);case $r:var C=E._init;return p(v,h,w,C(E._payload),k)}if(ei(E)||Ul(E))return v=v.get(w)||null,c(h,v,E,k,null);_a(h,E)}return null}function g(v,h,w,E){for(var k=null,C=null,$=h,R=h=0,O=null;$!==null&&R<w.length;R++){$.index>R?(O=$,$=null):O=$.sibling;var b=m(v,$,w[R],E);if(b===null){$===null&&($=O);break}e&&$&&b.alternate===null&&t(v,$),h=l(b,h,R),C===null?k=b:C.sibling=b,C=b,$=O}if(R===w.length)return n(v,$),Te&&uo(v,R),k;if($===null){for(;R<w.length;R++)$=d(v,w[R],E),$!==null&&(h=l($,h,R),C===null?k=$:C.sibling=$,C=$);return Te&&uo(v,R),k}for($=r(v,$);R<w.length;R++)O=p($,v,R,w[R],E),O!==null&&(e&&O.alternate!==null&&$.delete(O.key===null?R:O.key),h=l(O,h,R),C===null?k=O:C.sibling=O,C=O);return e&&$.forEach(function(T){return t(v,T)}),Te&&uo(v,R),k}function y(v,h,w,E){var k=Ul(w);if(typeof k!="function")throw Error(D(150));if(w=k.call(w),w==null)throw Error(D(151));for(var C=k=null,$=h,R=h=0,O=null,b=w.next();$!==null&&!b.done;R++,b=w.next()){$.index>R?(O=$,$=null):O=$.sibling;var T=m(v,$,b.value,E);if(T===null){$===null&&($=O);break}e&&$&&T.alternate===null&&t(v,$),h=l(T,h,R),C===null?k=T:C.sibling=T,C=T,$=O}if(b.done)return n(v,$),Te&&uo(v,R),k;if($===null){for(;!b.done;R++,b=w.next())b=d(v,b.value,E),b!==null&&(h=l(b,h,R),C===null?k=b:C.sibling=b,C=b);return Te&&uo(v,R),k}for($=r(v,$);!b.done;R++,b=w.next())b=p($,v,R,b.value,E),b!==null&&(e&&b.alternate!==null&&$.delete(b.key===null?R:b.key),h=l(b,h,R),C===null?k=b:C.sibling=b,C=b);return e&&$.forEach(function(_){return t(v,_)}),Te&&uo(v,R),k}function x(v,h,w,E){if(typeof w=="object"&&w!==null&&w.type===Ko&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Ea:e:{for(var k=w.key,C=h;C!==null;){if(C.key===k){if(k=w.type,k===Ko){if(C.tag===7){n(v,C.sibling),h=o(C,w.props.children),h.return=v,v=h;break e}}else if(C.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===$r&&av(k)===C.type){n(v,C.sibling),h=o(C,w.props),h.ref=Kl(v,C,w),h.return=v,v=h;break e}n(v,C);break}else t(v,C);C=C.sibling}w.type===Ko?(h=$o(w.props.children,v.mode,E,w.key),h.return=v,v=h):(E=au(w.type,w.key,w.props,null,v.mode,E),E.ref=Kl(v,h,w),E.return=v,v=E)}return i(v);case Yo:e:{for(C=w.key;h!==null;){if(h.key===C)if(h.tag===4&&h.stateNode.containerInfo===w.containerInfo&&h.stateNode.implementation===w.implementation){n(v,h.sibling),h=o(h,w.children||[]),h.return=v,v=h;break e}else{n(v,h);break}else t(v,h);h=h.sibling}h=Gc(w,v.mode,E),h.return=v,v=h}return i(v);case $r:return C=w._init,x(v,h,C(w._payload),E)}if(ei(w))return g(v,h,w,E);if(Ul(w))return y(v,h,w,E);_a(v,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,h!==null&&h.tag===6?(n(v,h.sibling),h=o(h,w),h.return=v,v=h):(n(v,h),h=Wc(w,v.mode,E),h.return=v,v=h),i(v)):n(v,h)}return x}var yl=Z0(!0),q0=Z0(!1),Du=Jr(null),Iu=null,nl=null,Ep=null;function Sp(){Ep=nl=Iu=null}function kp(e){var t=Du.current;be(Du),e._currentValue=t}function Kf(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 fl(e,t){Iu=e,Ep=nl=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Pt=!0),e.firstContext=null)}function an(e){var t=e._currentValue;if(Ep!==e)if(e={context:e,memoizedValue:t,next:null},nl===null){if(Iu===null)throw Error(D(308));nl=e,Iu.dependencies={lanes:0,firstContext:e}}else nl=nl.next=e;return t}var go=null;function Cp(e){go===null?go=[e]:go.push(e)}function J0(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Cp(t)):(n.next=o.next,o.next=n),t.interleaved=n,sr(e,r)}function sr(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 br=!1;function $p(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function e1(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 nr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Br(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ie&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,sr(e,n)}return o=r.interleaved,o===null?(t.next=t,Cp(r)):(t.next=o.next,o.next=t),r.interleaved=t,sr(e,n)}function tu(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,cp(e,n)}}function uv(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?o=l=i:l=l.next=i,n=n.next}while(n!==null);l===null?o=l=t:l=l.next=t}else o=l=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:l,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 zu(e,t,n,r){var o=e.updateQueue;br=!1;var l=o.firstBaseUpdate,i=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var u=a,s=u.next;u.next=null,i===null?l=s:i.next=s,i=u;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==i&&(a===null?c.firstBaseUpdate=s:a.next=s,c.lastBaseUpdate=u))}if(l!==null){var d=o.baseState;i=0,c=s=u=null,a=l;do{var m=a.lane,p=a.eventTime;if((r&m)===m){c!==null&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var g=e,y=a;switch(m=t,p=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){d=g.call(p,d,m);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,m=typeof g=="function"?g.call(p,d,m):g,m==null)break e;d=Le({},d,m);break e;case 2:br=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[a]:m.push(a))}else p={eventTime:p,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(s=c=p,u=d):c=c.next=p,i|=m;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;m=a,a=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);if(c===null&&(u=d),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else l===null&&(o.shared.lanes=0);Mo|=i,e.lanes=i,e.memoizedState=d}}function sv(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(D(191,o));o.call(r)}}}var ta={},Nn=Jr(ta),Fi=Jr(ta),Ai=Jr(ta);function yo(e){if(e===ta)throw Error(D(174));return e}function bp(e,t){switch(Ee(Ai,t),Ee(Fi,e),Ee(Nn,ta),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Pf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Pf(t,e)}be(Nn),Ee(Nn,t)}function wl(){be(Nn),be(Fi),be(Ai)}function t1(e){yo(Ai.current);var t=yo(Nn.current),n=Pf(t,e.type);t!==n&&(Ee(Fi,e),Ee(Nn,n))}function Rp(e){Fi.current===e&&(be(Nn),be(Fi))}var Me=Jr(0);function Bu(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 Ic=[];function Pp(){for(var e=0;e<Ic.length;e++)Ic[e]._workInProgressVersionPrimary=null;Ic.length=0}var nu=mr.ReactCurrentDispatcher,zc=mr.ReactCurrentBatchConfig,Oo=0,_e=null,We=null,Ze=null,Hu=!1,hi=!1,ji=0,HC=0;function it(){throw Error(D(321))}function Tp(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Sn(e[n],t[n]))return!1;return!0}function Op(e,t,n,r,o,l){if(Oo=l,_e=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,nu.current=e===null||e.memoizedState===null?GC:YC,e=n(r,o),hi){l=0;do{if(hi=!1,ji=0,25<=l)throw Error(D(301));l+=1,Ze=We=null,t.updateQueue=null,nu.current=KC,e=n(r,o)}while(hi)}if(nu.current=Uu,t=We!==null&&We.next!==null,Oo=0,Ze=We=_e=null,Hu=!1,t)throw Error(D(300));return e}function Mp(){var e=ji!==0;return ji=0,e}function On(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ze===null?_e.memoizedState=Ze=e:Ze=Ze.next=e,Ze}function un(){if(We===null){var e=_e.alternate;e=e!==null?e.memoizedState:null}else e=We.next;var t=Ze===null?_e.memoizedState:Ze.next;if(t!==null)Ze=t,We=e;else{if(e===null)throw Error(D(310));We=e,e={memoizedState:We.memoizedState,baseState:We.baseState,baseQueue:We.baseQueue,queue:We.queue,next:null},Ze===null?_e.memoizedState=Ze=e:Ze=Ze.next=e}return Ze}function Di(e,t){return typeof t=="function"?t(e):t}function Bc(e){var t=un(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=We,o=r.baseQueue,l=n.pending;if(l!==null){if(o!==null){var i=o.next;o.next=l.next,l.next=i}r.baseQueue=o=l,n.pending=null}if(o!==null){l=o.next,r=r.baseState;var a=i=null,u=null,s=l;do{var c=s.lane;if((Oo&c)===c)u!==null&&(u=u.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var d={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};u===null?(a=u=d,i=r):u=u.next=d,_e.lanes|=c,Mo|=c}s=s.next}while(s!==null&&s!==l);u===null?i=r:u.next=a,Sn(r,t.memoizedState)||(Pt=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do l=o.lane,_e.lanes|=l,Mo|=l,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Hc(e){var t=un(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,l=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do l=e(l,i.action),i=i.next;while(i!==o);Sn(l,t.memoizedState)||(Pt=!0),t.memoizedState=l,t.baseQueue===null&&(t.baseState=l),n.lastRenderedState=l}return[l,r]}function n1(){}function r1(e,t){var n=_e,r=un(),o=t(),l=!Sn(r.memoizedState,o);if(l&&(r.memoizedState=o,Pt=!0),r=r.queue,_p(i1.bind(null,n,r,e),[e]),r.getSnapshot!==t||l||Ze!==null&&Ze.memoizedState.tag&1){if(n.flags|=2048,Ii(9,l1.bind(null,n,r,o,t),void 0,null),qe===null)throw Error(D(349));Oo&30||o1(n,t,o)}return o}function o1(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=_e.updateQueue,t===null?(t={lastEffect:null,stores:null},_e.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function l1(e,t,n,r){t.value=n,t.getSnapshot=r,a1(t)&&u1(e)}function i1(e,t,n){return n(function(){a1(t)&&u1(e)})}function a1(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Sn(e,n)}catch{return!0}}function u1(e){var t=sr(e,1);t!==null&&En(t,e,1,-1)}function cv(e){var t=On();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Di,lastRenderedState:e},t.queue=e,e=e.dispatch=WC.bind(null,_e,e),[t.memoizedState,e]}function Ii(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=_e.updateQueue,t===null?(t={lastEffect:null,stores:null},_e.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 s1(){return un().memoizedState}function ru(e,t,n,r){var o=On();_e.flags|=e,o.memoizedState=Ii(1|t,n,void 0,r===void 0?null:r)}function $s(e,t,n,r){var o=un();r=r===void 0?null:r;var l=void 0;if(We!==null){var i=We.memoizedState;if(l=i.destroy,r!==null&&Tp(r,i.deps)){o.memoizedState=Ii(t,n,l,r);return}}_e.flags|=e,o.memoizedState=Ii(1|t,n,l,r)}function fv(e,t){return ru(8390656,8,e,t)}function _p(e,t){return $s(2048,8,e,t)}function c1(e,t){return $s(4,2,e,t)}function f1(e,t){return $s(4,4,e,t)}function d1(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 p1(e,t,n){return n=n!=null?n.concat([e]):null,$s(4,4,d1.bind(null,t,e),n)}function Np(){}function h1(e,t){var n=un();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Tp(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function m1(e,t){var n=un();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Tp(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function v1(e,t,n){return Oo&21?(Sn(n,t)||(n=E0(),_e.lanes|=n,Mo|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Pt=!0),e.memoizedState=n)}function UC(e,t){var n=se;se=n!==0&&4>n?n:4,e(!0);var r=zc.transition;zc.transition={};try{e(!1),t()}finally{se=n,zc.transition=r}}function g1(){return un().memoizedState}function VC(e,t,n){var r=Ur(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},y1(e))w1(t,n);else if(n=J0(e,t,n,r),n!==null){var o=yt();En(n,e,r,o),x1(n,t,r)}}function WC(e,t,n){var r=Ur(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(y1(e))w1(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,a=l(i,n);if(o.hasEagerState=!0,o.eagerState=a,Sn(a,i)){var u=t.interleaved;u===null?(o.next=o,Cp(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=J0(e,t,o,r),n!==null&&(o=yt(),En(n,e,r,o),x1(n,t,r))}}function y1(e){var t=e.alternate;return e===_e||t!==null&&t===_e}function w1(e,t){hi=Hu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function x1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,cp(e,n)}}var Uu={readContext:an,useCallback:it,useContext:it,useEffect:it,useImperativeHandle:it,useInsertionEffect:it,useLayoutEffect:it,useMemo:it,useReducer:it,useRef:it,useState:it,useDebugValue:it,useDeferredValue:it,useTransition:it,useMutableSource:it,useSyncExternalStore:it,useId:it,unstable_isNewReconciler:!1},GC={readContext:an,useCallback:function(e,t){return On().memoizedState=[e,t===void 0?null:t],e},useContext:an,useEffect:fv,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ru(4194308,4,d1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ru(4194308,4,e,t)},useInsertionEffect:function(e,t){return ru(4,2,e,t)},useMemo:function(e,t){var n=On();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=On();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=VC.bind(null,_e,e),[r.memoizedState,e]},useRef:function(e){var t=On();return e={current:e},t.memoizedState=e},useState:cv,useDebugValue:Np,useDeferredValue:function(e){return On().memoizedState=e},useTransition:function(){var e=cv(!1),t=e[0];return e=UC.bind(null,e[1]),On().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=_e,o=On();if(Te){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),qe===null)throw Error(D(349));Oo&30||o1(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,fv(i1.bind(null,r,l,e),[e]),r.flags|=2048,Ii(9,l1.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=On(),t=qe.identifierPrefix;if(Te){var n=Jn,r=qn;n=(r&~(1<<32-xn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ji++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=HC++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},YC={readContext:an,useCallback:h1,useContext:an,useEffect:_p,useImperativeHandle:p1,useInsertionEffect:c1,useLayoutEffect:f1,useMemo:m1,useReducer:Bc,useRef:s1,useState:function(){return Bc(Di)},useDebugValue:Np,useDeferredValue:function(e){var t=un();return v1(t,We.memoizedState,e)},useTransition:function(){var e=Bc(Di)[0],t=un().memoizedState;return[e,t]},useMutableSource:n1,useSyncExternalStore:r1,useId:g1,unstable_isNewReconciler:!1},KC={readContext:an,useCallback:h1,useContext:an,useEffect:_p,useImperativeHandle:p1,useInsertionEffect:c1,useLayoutEffect:f1,useMemo:m1,useReducer:Hc,useRef:s1,useState:function(){return Hc(Di)},useDebugValue:Np,useDeferredValue:function(e){var t=un();return We===null?t.memoizedState=e:v1(t,We.memoizedState,e)},useTransition:function(){var e=Hc(Di)[0],t=un().memoizedState;return[e,t]},useMutableSource:n1,useSyncExternalStore:r1,useId:g1,unstable_isNewReconciler:!1};function vn(e,t){if(e&&e.defaultProps){t=Le({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Qf(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Le({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var bs={isMounted:function(e){return(e=e._reactInternals)?zo(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=yt(),o=Ur(e),l=nr(r,o);l.payload=t,n!=null&&(l.callback=n),t=Br(e,l,o),t!==null&&(En(t,e,o,r),tu(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=yt(),o=Ur(e),l=nr(r,o);l.tag=1,l.payload=t,n!=null&&(l.callback=n),t=Br(e,l,o),t!==null&&(En(t,e,o,r),tu(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=yt(),r=Ur(e),o=nr(n,r);o.tag=2,t!=null&&(o.callback=t),t=Br(e,o,r),t!==null&&(En(t,e,r,n),tu(t,e,r))}};function dv(e,t,n,r,o,l,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,l,i):t.prototype&&t.prototype.isPureReactComponent?!Mi(n,r)||!Mi(o,l):!0}function E1(e,t,n){var r=!1,o=Gr,l=t.contextType;return typeof l=="object"&&l!==null?l=an(l):(o=Ot(t)?Po:ct.current,r=t.contextTypes,l=(r=r!=null)?vl(e,o):Gr),t=new t(n,l),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=bs,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=l),t}function pv(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&&bs.enqueueReplaceState(t,t.state,null)}function Xf(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},$p(e);var l=t.contextType;typeof l=="object"&&l!==null?o.context=an(l):(l=Ot(t)?Po:ct.current,o.context=vl(e,l)),o.state=e.memoizedState,l=t.getDerivedStateFromProps,typeof l=="function"&&(Qf(e,t,l,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&&bs.enqueueReplaceState(o,o.state,null),zu(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function xl(e,t){try{var n="",r=t;do n+=Sk(r),r=r.return;while(r);var o=n}catch(l){o=`
39Error generating stack: `+l.message+`
40`+l.stack}return{value:e,source:t,stack:o,digest:null}}function Uc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Zf(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var QC=typeof WeakMap=="function"?WeakMap:Map;function S1(e,t,n){n=nr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wu||(Wu=!0,ad=r),Zf(e,t)},n}function k1(e,t,n){n=nr(-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(){Zf(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){Zf(e,t),typeof r!="function"&&(Hr===null?Hr=new Set([this]):Hr.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function hv(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new QC;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=s2.bind(null,e,t,n),t.then(e,e))}function mv(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 vv(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=nr(-1,1),t.tag=2,Br(n,t,1))),n.lanes|=1),e)}var XC=mr.ReactCurrentOwner,Pt=!1;function ht(e,t,n,r){t.child=e===null?q0(t,null,n,r):yl(t,e.child,n,r)}function gv(e,t,n,r,o){n=n.render;var l=t.ref;return fl(t,o),r=Op(e,t,n,r,l,o),n=Mp(),e!==null&&!Pt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,cr(e,t,o)):(Te&&n&&yp(t),t.flags|=1,ht(e,t,r,o),t.child)}function yv(e,t,n,r,o){if(e===null){var l=n.type;return typeof l=="function"&&!Bp(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,C1(e,t,l,r,o)):(e=au(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&o)){var i=l.memoizedProps;if(n=n.compare,n=n!==null?n:Mi,n(i,r)&&e.ref===t.ref)return cr(e,t,o)}return t.flags|=1,e=Vr(l,r),e.ref=t.ref,e.return=t,t.child=e}function C1(e,t,n,r,o){if(e!==null){var l=e.memoizedProps;if(Mi(l,r)&&e.ref===t.ref)if(Pt=!1,t.pendingProps=r=l,(e.lanes&o)!==0)e.flags&131072&&(Pt=!0);else return t.lanes=e.lanes,cr(e,t,o)}return qf(e,t,n,r,o)}function $1(e,t,n){var r=t.pendingProps,o=r.children,l=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ee(ol,It),It|=n;else{if(!(n&1073741824))return e=l!==null?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ee(ol,It),It|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,Ee(ol,It),It|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,Ee(ol,It),It|=r;return ht(e,t,o,n),t.child}function b1(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 8,178 bytes, line 40
40function qf(e,t,n,r,o){var l=Ot(n)?Po:ct.current;return l=vl(t,l),fl(t,o),n=Op(e,t,n,r,l,o),r=Mp(),e!==null&&!Pt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,cr(e,t,o)):(Te&&r&&yp(t),t.flags|=1,ht(e,t,n,o),t.child)}function wv(e,t,n,r,o){if(Ot(n)){var l=!0;Fu(t)}else l=!1;if(fl(t,o),t.stateNode===null)ou(e,t),E1(t,n,r),Xf(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var u=i.context,s=n.contextType;typeof s=="object"&&s!==null?s=an(s):(s=Ot(n)?Po:ct.current,s=vl(t,s));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||u!==s)&&pv(t,i,r,s),br=!1;var m=t.memoizedState;i.state=m,zu(t,r,i,o),u=t.memoizedState,a!==r||m!==u||Tt.current||br?(typeof c=="function"&&(Qf(t,n,c,r),u=t.memoizedState),(a=br||dv(t,n,a,r,m,u,s))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,e1(e,t),a=t.memoizedProps,s=t.type===t.elementType?a:vn(t.type,a),i.props=s,d=t.pendingProps,m=i.context,u=n.contextType,typeof u=="object"&&u!==null?u=an(u):(u=Ot(n)?Po:ct.current,u=vl(t,u));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==d||m!==u)&&pv(t,i,r,u),br=!1,m=t.memoizedState,i.state=m,zu(t,r,i,o);var g=t.memoizedState;a!==d||m!==g||Tt.current||br?(typeof p=="function"&&(Qf(t,n,p,r),g=t.memoizedState),(s=br||dv(t,n,s,r,m,g,u)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,g,u),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,g,u)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),i.props=r,i.state=g,i.context=u,r=s):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Jf(e,t,n,r,l,o)}function Jf(e,t,n,r,o,l){b1(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&ov(t,n,!1),cr(e,t,l);r=t.stateNode,XC.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=yl(t,e.child,null,l),t.child=yl(t,null,a,l)):ht(e,t,a,l),t.memoizedState=r.state,o&&ov(t,n,!0),t.child}function R1(e){var t=e.stateNode;t.pendingContext?rv(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rv(e,t.context,!1),bp(e,t.containerInfo)}function xv(e,t,n,r,o){return gl(),xp(o),t.flags|=256,ht(e,t,n,r),t.child}var ed={dehydrated:null,treeContext:null,retryLane:0};function td(e){return{baseLanes:e,cachePool:null,transitions:null}}function P1(e,t,n){var r=t.pendingProps,o=Me.current,l=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(l=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Ee(Me,o&1),e===null)return Yf(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):(i=r.children,e=r.fallback,l?(r=t.mode,l=t.child,i={mode:"hidden",children:i},!(r&1)&&l!==null?(l.childLanes=0,l.pendingProps=i):l=Ts(i,r,0,null),e=$o(e,r,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=td(n),t.memoizedState=ed,e):Lp(t,i));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return ZC(e,t,i,r,a,o,n);if(l){l=r.fallback,i=t.mode,o=e.child,a=o.sibling;var u={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=Vr(o,u),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?l=Vr(a,l):(l=$o(l,i,n,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,r=l,l=t.child,i=e.child.memoizedState,i=i===null?td(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},l.memoizedState=i,l.childLanes=e.childLanes&~n,t.memoizedState=ed,r}return l=e.child,e=l.sibling,r=Vr(l,{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 Lp(e,t){return t=Ts({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Na(e,t,n,r){return r!==null&&xp(r),yl(t,e.child,null,n),e=Lp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ZC(e,t,n,r,o,l,i){if(n)return t.flags&256?(t.flags&=-257,r=Uc(Error(D(422))),Na(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(l=r.fallback,o=t.mode,r=Ts({mode:"visible",children:r.children},o,0,null),l=$o(l,o,i,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,t.mode&1&&yl(t,e.child,null,i),t.child.memoizedState=td(i),t.memoizedState=ed,l);if(!(t.mode&1))return Na(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,l=Error(D(419)),r=Uc(l,r,void 0),Na(e,t,i,r)}if(a=(i&e.childLanes)!==0,Pt||a){if(r=qe,r!==null){switch(i&-i){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|i)?0:o,o!==0&&o!==l.retryLane&&(l.retryLane=o,sr(e,o),En(r,e,o,-1))}return zp(),r=Uc(Error(D(421))),Na(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=c2.bind(null,e),o._reactRetry=t,null):(e=l.treeContext,Vt=zr(o.nextSibling),Gt=t,Te=!0,wn=null,e!==null&&(en[tn++]=qn,en[tn++]=Jn,en[tn++]=To,qn=e.id,Jn=e.overflow,To=t),t=Lp(t,r.children),t.flags|=4096,t)}function Ev(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Kf(e.return,t,n)}function Vc(e,t,n,r,o){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=o)}function T1(e,t,n){var r=t.pendingProps,o=r.revealOrder,l=r.tail;if(ht(e,t,r.children,n),r=Me.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&&Ev(e,n,t);else if(e.tag===19)Ev(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(Ee(Me,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&&Bu(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Vc(t,!1,o,n,l);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Bu(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Vc(t,!0,n,null,l);break;case"together":Vc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ou(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function cr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Mo|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(D(153));
vendor: 4,746 bytes, line 40
40if(t.child!==null){for(e=t.child,n=Vr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Vr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function qC(e,t,n){switch(t.tag){case 3:R1(t),gl();break;case 5:t1(t);break;case 1:Ot(t.type)&&Fu(t);break;case 4:bp(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Ee(Du,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ee(Me,Me.current&1),t.flags|=128,null):n&t.child.childLanes?P1(e,t,n):(Ee(Me,Me.current&1),e=cr(e,t,n),e!==null?e.sibling:null);Ee(Me,Me.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return T1(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ee(Me,Me.current),r)break;return null;case 22:case 23:return t.lanes=0,$1(e,t,n)}return cr(e,t,n)}var O1,nd,M1,_1;O1=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}};nd=function(){};M1=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,yo(Nn.current);var l=null;switch(n){case"input":o=Cf(e,o),r=Cf(e,r),l=[];break;case"select":o=Le({},o,{value:void 0}),r=Le({},r,{value:void 0}),l=[];break;case"textarea":o=Rf(e,o),r=Rf(e,r),l=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Nu)}Tf(n,r);var i;n=null;for(s in o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&o[s]!=null)if(s==="style"){var a=o[s];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Ci.hasOwnProperty(s)?l||(l=[]):(l=l||[]).push(s,null));for(s in r){var u=r[s];if(a=o!=null?o[s]:void 0,r.hasOwnProperty(s)&&u!==a&&(u!=null||a!=null))if(s==="style")if(a){for(i in a)!a.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&a[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(l||(l=[]),l.push(s,n)),n=u;else s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(l=l||[]).push(s,u)):s==="children"?typeof u!="string"&&typeof u!="number"||(l=l||[]).push(s,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(Ci.hasOwnProperty(s)?(u!=null&&s==="onScroll"&&ke("scroll",e),l||a===u||(l=[])):(l=l||[]).push(s,u))}n&&(l=l||[]).push("style",n);var s=l;(t.updateQueue=s)&&(t.flags|=4)}};_1=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ql(e,t){if(!Te)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 at(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 JC(e,t,n){var r=t.pendingProps;switch(wp(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return at(t),null;case 1:return Ot(t.type)&&Lu(),at(t),null;case 3:return r=t.stateNode,wl(),be(Tt),be(ct),Pp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ma(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,wn!==null&&(cd(wn),wn=null))),nd(e,t),at(t),null;case 5:Rp(t);var o=yo(Ai.current);if(n=t.type,e!==null&&t.stateNode!=null)M1(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return at(t),null}if(e=yo(Nn.current),Ma(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[Mn]=t,r[Li]=l,e=(t.mode&1)!==0,n){case"dialog":ke("cancel",r),ke("close",r);break;case"iframe":case"object":case"embed":ke("load",r);break;case"video":case"audio":for(o=0;o<ni.length;o++)ke(ni[o],r);break;case"source":ke("error",r);break;case"img":case"image":case"link":ke("error",r),ke("load",r);break;case"details":ke("toggle",r);break;case"input":Om(r,l),ke("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},ke("invalid",r);break;case"textarea":_m(r,l),ke("invalid",r)}Tf(n,l),o=null;for(var i in l)if(l.hasOwnProperty(i)){var a=l[i];
vendor: 32,121 bytes, line 40
40i==="children"?typeof a=="string"?r.textContent!==a&&(l.suppressHydrationWarning!==!0&&Oa(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(l.suppressHydrationWarning!==!0&&Oa(r.textContent,a,e),o=["children",""+a]):Ci.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&ke("scroll",r)}switch(n){case"input":Sa(r),Mm(r,l,!0);break;case"textarea":Sa(r),Nm(r);break;case"select":case"option":break;default:typeof l.onClick=="function"&&(r.onclick=Nu)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=i0(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Mn]=t,e[Li]=r,O1(e,t,!1,!1),t.stateNode=e;e:{switch(i=Of(n,r),n){case"dialog":ke("cancel",e),ke("close",e),o=r;break;case"iframe":case"object":case"embed":ke("load",e),o=r;break;case"video":case"audio":for(o=0;o<ni.length;o++)ke(ni[o],e);o=r;break;case"source":ke("error",e),o=r;break;case"img":case"image":case"link":ke("error",e),ke("load",e),o=r;break;case"details":ke("toggle",e),o=r;break;case"input":Om(e,r),o=Cf(e,r),ke("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Le({},r,{value:void 0}),ke("invalid",e);break;case"textarea":_m(e,r),o=Rf(e,r),ke("invalid",e);break;default:o=r}Tf(n,o),a=o;for(l in a)if(a.hasOwnProperty(l)){var u=a[l];l==="style"?s0(e,u):l==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&a0(e,u)):l==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&$i(e,u):typeof u=="number"&&$i(e,""+u):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(Ci.hasOwnProperty(l)?u!=null&&l==="onScroll"&&ke("scroll",e):u!=null&&op(e,l,u,i))}switch(n){case"input":Sa(e),Mm(e,r,!1);break;case"textarea":Sa(e),Nm(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Wr(r.value));break;case"select":e.multiple=!!r.multiple,l=r.value,l!=null?al(e,!!r.multiple,l,!1):r.defaultValue!=null&&al(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Nu)}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 at(t),null;case 6:if(e&&t.stateNode!=null)_1(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=yo(Ai.current),yo(Nn.current),Ma(t)){if(r=t.stateNode,n=t.memoizedProps,r[Mn]=t,(l=r.nodeValue!==n)&&(e=Gt,e!==null))switch(e.tag){case 3:Oa(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Oa(r.nodeValue,n,(e.mode&1)!==0)}l&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Mn]=t,t.stateNode=r}return at(t),null;case 13:if(be(Me),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Te&&Vt!==null&&t.mode&1&&!(t.flags&128))X0(),gl(),t.flags|=98560,l=!1;else if(l=Ma(t),r!==null&&r.dehydrated!==null){if(e===null){if(!l)throw Error(D(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(D(317));l[Mn]=t}else gl(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;at(t),l=!1}else wn!==null&&(cd(wn),wn=null),l=!0;if(!l)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||Me.current&1?Ge===0&&(Ge=3):zp())),t.updateQueue!==null&&(t.flags|=4),at(t),null);case 4:return wl(),nd(e,t),e===null&&_i(t.stateNode.containerInfo),at(t),null;case 10:return kp(t.type._context),at(t),null;case 17:return Ot(t.type)&&Lu(),at(t),null;case 19:if(be(Me),l=t.memoizedState,l===null)return at(t),null;if(r=(t.flags&128)!==0,i=l.rendering,i===null)if(r)Ql(l,!1);else{if(Ge!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Bu(e),i!==null){for(t.flags|=128,Ql(l,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)l=n,e=r,l.flags&=14680066,i=l.alternate,i===null?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=i.childLanes,l.lanes=i.lanes,l.child=i.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=i.memoizedProps,l.memoizedState=i.memoizedState,l.updateQueue=i.updateQueue,l.type=i.type,e=i.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ee(Me,Me.current&1|2),t.child}e=e.sibling}l.tail!==null&&je()>El&&(t.flags|=128,r=!0,Ql(l,!1),t.lanes=4194304)}else{if(!r)if(e=Bu(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ql(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!Te)return at(t),null}else 2*je()-l.renderingStartTime>El&&n!==1073741824&&(t.flags|=128,r=!0,Ql(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=je(),t.sibling=null,n=Me.current,Ee(Me,r?n&1|2:n&1),t):(at(t),null);case 22:case 23:return Ip(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?It&1073741824&&(at(t),t.subtreeFlags&6&&(t.flags|=8192)):at(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function e2(e,t){switch(wp(t),t.tag){case 1:return Ot(t.type)&&Lu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wl(),be(Tt),be(ct),Pp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Rp(t),null;case 13:if(be(Me),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));gl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return be(Me),null;case 4:return wl(),null;case 10:return kp(t.type._context),null;case 22:case 23:return Ip(),null;case 24:return null;default:return null}}var La=!1,ut=!1,t2=typeof WeakSet=="function"?WeakSet:Set,K=null;function rl(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Fe(e,t,r)}else n.current=null}function rd(e,t,n){try{n()}catch(r){Fe(e,t,r)}}var Sv=!1;function n2(e,t){if(zf=Ou,e=j0(),gp(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,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,a=-1,u=-1,s=0,c=0,d=e,m=null;t:for(;;){for(var p;d!==n||o!==0&&d.nodeType!==3||(a=i+o),d!==l||r!==0&&d.nodeType!==3||(u=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(p=d.firstChild)!==null;)m=d,d=p;for(;;){if(d===e)break t;if(m===n&&++s===o&&(a=i),m===l&&++c===r&&(u=i),(p=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=p}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Bf={focusedElem:e,selectionRange:n},Ou=!1,K=t;K!==null;)if(t=K,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;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 y=g.memoizedProps,x=g.memoizedState,v=t.stateNode,h=v.getSnapshotBeforeUpdate(t.elementType===t.type?y:vn(t.type,y),x);v.__reactInternalSnapshotBeforeUpdate=h}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(D(163))}}catch(E){Fe(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return g=Sv,Sv=!1,g}function mi(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 l=o.destroy;o.destroy=void 0,l!==void 0&&rd(t,n,l)}o=o.next}while(o!==r)}}function Rs(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 od(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 N1(e){var t=e.alternate;t!==null&&(e.alternate=null,N1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Mn],delete t[Li],delete t[Vf],delete t[DC],delete t[IC])),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 L1(e){return e.tag===5||e.tag===3||e.tag===4}function kv(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||L1(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 ld(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=Nu));else if(r!==4&&(e=e.child,e!==null))for(ld(e,t,n),e=e.sibling;e!==null;)ld(e,t,n),e=e.sibling}function id(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(id(e,t,n),e=e.sibling;e!==null;)id(e,t,n),e=e.sibling}var Je=null,gn=!1;function Er(e,t,n){for(n=n.child;n!==null;)F1(e,t,n),n=n.sibling}function F1(e,t,n){if(_n&&typeof _n.onCommitFiberUnmount=="function")try{_n.onCommitFiberUnmount(ws,n)}catch{}switch(n.tag){case 5:ut||rl(n,t);case 6:var r=Je,o=gn;Je=null,Er(e,t,n),Je=r,gn=o,Je!==null&&(gn?(e=Je,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Je.removeChild(n.stateNode));break;case 18:Je!==null&&(gn?(e=Je,n=n.stateNode,e.nodeType===8?jc(e.parentNode,n):e.nodeType===1&&jc(e,n),Ti(e)):jc(Je,n.stateNode));break;case 4:r=Je,o=gn,Je=n.stateNode.containerInfo,gn=!0,Er(e,t,n),Je=r,gn=o;break;case 0:case 11:case 14:case 15:if(!ut&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&rd(n,t,i),o=o.next}while(o!==r)}Er(e,t,n);break;case 1:if(!ut&&(rl(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Fe(n,t,a)}Er(e,t,n);break;case 21:Er(e,t,n);break;case 22:n.mode&1?(ut=(r=ut)||n.memoizedState!==null,Er(e,t,n),ut=r):Er(e,t,n);break;default:Er(e,t,n)}}function Cv(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new t2),t.forEach(function(r){var o=f2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function mn(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var l=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:Je=a.stateNode,gn=!1;break e;case 3:Je=a.stateNode.containerInfo,gn=!0;break e;case 4:Je=a.stateNode.containerInfo,gn=!0;break e}a=a.return}if(Je===null)throw Error(D(160));F1(l,i,o),Je=null,gn=!1;var u=o.alternate;u!==null&&(u.return=null),o.return=null}catch(s){Fe(o,t,s)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)A1(t,e),t=t.sibling}function A1(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mn(t,e),$n(e),r&4){try{mi(3,e,e.return),Rs(3,e)}catch(y){Fe(e,e.return,y)}try{mi(5,e,e.return)}catch(y){Fe(e,e.return,y)}}break;case 1:mn(t,e),$n(e),r&512&&n!==null&&rl(n,n.return);break;case 5:if(mn(t,e),$n(e),r&512&&n!==null&&rl(n,n.return),e.flags&32){var o=e.stateNode;try{$i(o,"")}catch(y){Fe(e,e.return,y)}}if(r&4&&(o=e.stateNode,o!=null)){var l=e.memoizedProps,i=n!==null?n.memoizedProps:l,a=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{a==="input"&&l.type==="radio"&&l.name!=null&&o0(o,l),Of(a,i);var s=Of(a,l);for(i=0;i<u.length;i+=2){var c=u[i],d=u[i+1];c==="style"?s0(o,d):c==="dangerouslySetInnerHTML"?a0(o,d):c==="children"?$i(o,d):op(o,c,d,s)}switch(a){case"input":$f(o,l);break;case"textarea":l0(o,l);break;case"select":var m=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!l.multiple;var p=l.value;p!=null?al(o,!!l.multiple,p,!1):m!==!!l.multiple&&(l.defaultValue!=null?al(o,!!l.multiple,l.defaultValue,!0):al(o,!!l.multiple,l.multiple?[]:"",!1))}o[Li]=l}catch(y){Fe(e,e.return,y)}}break;case 6:if(mn(t,e),$n(e),r&4){if(e.stateNode===null)throw Error(D(162));o=e.stateNode,l=e.memoizedProps;try{o.nodeValue=l}catch(y){Fe(e,e.return,y)}}break;case 3:if(mn(t,e),$n(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ti(t.containerInfo)}catch(y){Fe(e,e.return,y)}break;case 4:mn(t,e),$n(e);break;case 13:mn(t,e),$n(e),o=e.child,o.flags&8192&&(l=o.memoizedState!==null,o.stateNode.isHidden=l,!l||o.alternate!==null&&o.alternate.memoizedState!==null||(jp=je())),r&4&&Cv(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(ut=(s=ut)||c,mn(t,e),ut=s):mn(t,e),$n(e),r&8192){if(s=e.memoizedState!==null,(e.stateNode.isHidden=s)&&!c&&e.mode&1)for(K=e,c=e.child;c!==null;){for(d=K=c;K!==null;){switch(m=K,p=m.child,m.tag){case 0:case 11:case 14:case 15:mi(4,m,m.return);break;case 1:rl(m,m.return);var g=m.stateNode;if(typeof g.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(y){Fe(r,n,y)}}break;case 5:rl(m,m.return);break;case 22:if(m.memoizedState!==null){bv(d);continue}}p!==null?(p.return=m,K=p):bv(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,s?(l=o.style,typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none"):(a=d.stateNode,u=d.memoizedProps.style,i=u!=null&&u.hasOwnProperty("display")?u.display:null,a.style.display=u0("display",i))}catch(y){Fe(e,e.return,y)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=s?"":d.memoizedProps}catch(y){Fe(e,e.return,y)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:mn(t,e),$n(e),r&4&&Cv(e);break;case 21:break;default:mn(t,e),$n(e)}}function $n(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(L1(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&($i(o,""),r.flags&=-33);var l=kv(e);id(e,l,o);break;case 3:case 4:var i=r.stateNode.containerInfo,a=kv(e);ld(e,a,i);break;default:throw Error(D(161))}}catch(u){Fe(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function r2(e,t,n){K=e,j1(e)}function j1(e,t,n){for(var r=(e.mode&1)!==0;K!==null;){var o=K,l=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||La;if(!i){var a=o.alternate,u=a!==null&&a.memoizedState!==null||ut;a=La;var s=ut;if(La=i,(ut=u)&&!s)for(K=o;K!==null;)i=K,u=i.child,i.tag===22&&i.memoizedState!==null?Rv(o):u!==null?(u.return=i,K=u):Rv(o);for(;l!==null;)K=l,j1(l),l=l.sibling;K=o,La=a,ut=s}$v(e)}else o.subtreeFlags&8772&&l!==null?(l.return=o,K=l):$v(e)}}function $v(e){for(;K!==null;){var t=K;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ut||Rs(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ut)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:vn(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;l!==null&&sv(t,l,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}sv(t,i,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var s=t.alternate;if(s!==null){var c=s.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Ti(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}ut||t.flags&512&&od(t)}catch(m){Fe(t,t.return,m)}}if(t===e){K=null;break}if(n=t.sibling,n!==null){n.return=t.return,K=n;break}K=t.return}}function bv(e){for(;K!==null;){var t=K;if(t===e){K=null;break}var n=t.sibling;if(n!==null){n.return=t.return,K=n;break}K=t.return}}function Rv(e){for(;K!==null;){var t=K;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Rs(4,t)}catch(u){Fe(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(u){Fe(t,o,u)}}var l=t.return;try{od(t)}catch(u){Fe(t,l,u)}break;case 5:var i=t.return;try{od(t)}catch(u){Fe(t,i,u)}}}catch(u){Fe(t,t.return,u)}if(t===e){K=null;break}var a=t.sibling;if(a!==null){a.return=t.return,K=a;break}K=t.return}}var o2=Math.ceil,Vu=mr.ReactCurrentDispatcher,Fp=mr.ReactCurrentOwner,on=mr.ReactCurrentBatchConfig,ie=0,qe=null,Ue=null,nt=0,It=0,ol=Jr(0),Ge=0,zi=null,Mo=0,Ps=0,Ap=0,vi=null,Rt=null,jp=0,El=1/0,Qn=null,Wu=!1,ad=null,Hr=null,Fa=!1,_r=null,Gu=0,gi=0,ud=null,lu=-1,iu=0;function yt(){return ie&6?je():lu!==-1?lu:lu=je()}function Ur(e){return e.mode&1?ie&2&&nt!==0?nt&-nt:BC.transition!==null?(iu===0&&(iu=E0()),iu):(e=se,e!==0||(e=window.event,e=e===void 0?16:P0(e.type)),e):1}function En(e,t,n,r){if(50<gi)throw gi=0,ud=null,Error(D(185));qi(e,n,r),(!(ie&2)||e!==qe)&&(e===qe&&(!(ie&2)&&(Ps|=n),Ge===4&&Tr(e,nt)),Mt(e,r),n===1&&ie===0&&!(t.mode&1)&&(El=je()+500,Cs&&eo()))}function Mt(e,t){var n=e.callbackNode;Bk(e,t);var r=Tu(e,e===qe?nt:0);if(r===0)n!==null&&Am(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Am(n),t===1)e.tag===0?zC(Pv.bind(null,e)):Y0(Pv.bind(null,e)),AC(function(){!(ie&6)&&eo()}),n=null;else{switch(S0(r)){case 1:n=sp;break;case 4:n=w0;break;case 16:n=Pu;break;case 536870912:n=x0;break;default:n=Pu}n=W1(n,D1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function D1(e,t){if(lu=-1,iu=0,ie&6)throw Error(D(327));var n=e.callbackNode;if(dl()&&e.callbackNode!==n)return null;var r=Tu(e,e===qe?nt:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Yu(e,r);else{t=r;var o=ie;ie|=2;var l=z1();(qe!==e||nt!==t)&&(Qn=null,El=je()+500,Co(e,t));do try{a2();break}catch(a){I1(e,a)}while(!0);Sp(),Vu.current=l,ie=o,Ue!==null?t=0:(qe=null,nt=0,t=Ge)}if(t!==0){if(t===2&&(o=Ff(e),o!==0&&(r=o,t=sd(e,o))),t===1)throw n=zi,Co(e,0),Tr(e,r),Mt(e,je()),n;if(t===6)Tr(e,r);else{if(o=e.current.alternate,!(r&30)&&!l2(o)&&(t=Yu(e,r),t===2&&(l=Ff(e),l!==0&&(r=l,t=sd(e,l))),t===1))throw n=zi,Co(e,0),Tr(e,r),Mt(e,je()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:so(e,Rt,Qn);break;case 3:if(Tr(e,r),(r&130023424)===r&&(t=jp+500-je(),10<t)){if(Tu(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){yt(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Uf(so.bind(null,e,Rt,Qn),t);break}so(e,Rt,Qn);break;case 4:if(Tr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-xn(r);l=1<<i,i=t[i],i>o&&(o=i),r&=~l}if(r=o,r=je()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*o2(r/1960))-r,10<r){e.timeoutHandle=Uf(so.bind(null,e,Rt,Qn),r);break}so(e,Rt,Qn);break;case 5:so(e,Rt,Qn);break;default:throw Error(D(329))}}}return Mt(e,je()),e.callbackNode===n?D1.bind(null,e):null}function sd(e,t){var n=vi;return e.current.memoizedState.isDehydrated&&(Co(e,t).flags|=256),e=Yu(e,t),e!==2&&(t=Rt,Rt=n,t!==null&&cd(t)),e}function cd(e){Rt===null?Rt=e:Rt.push.apply(Rt,e)}function l2(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],l=o.getSnapshot;o=o.value;try{if(!Sn(l(),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 Tr(e,t){for(t&=~Ap,t&=~Ps,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-xn(t),r=1<<n;e[n]=-1,t&=~r}}function Pv(e){if(ie&6)throw Error(D(327));dl();var t=Tu(e,0);if(!(t&1))return Mt(e,je()),null;var n=Yu(e,t);if(e.tag!==0&&n===2){var r=Ff(e);r!==0&&(t=r,n=sd(e,r))}if(n===1)throw n=zi,Co(e,0),Tr(e,t),Mt(e,je()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,so(e,Rt,Qn),Mt(e,je()),null}function Dp(e,t){var n=ie;ie|=1;try{return e(t)}finally{ie=n,ie===0&&(El=je()+500,Cs&&eo())}}function _o(e){_r!==null&&_r.tag===0&&!(ie&6)&&dl();var t=ie;ie|=1;var n=on.transition,r=se;try{if(on.transition=null,se=1,e)return e()}finally{se=r,on.transition=n,ie=t,!(ie&6)&&eo()}}function Ip(){It=ol.current,be(ol)}function Co(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,FC(n)),Ue!==null)for(n=Ue.return;n!==null;){var r=n;switch(wp(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Lu();break;case 3:wl(),be(Tt),be(ct),Pp();break;case 5:Rp(r);break;case 4:wl();break;case 13:be(Me);break;case 19:be(Me);break;case 10:kp(r.type._context);break;case 22:case 23:Ip()}n=n.return}if(qe=e,Ue=e=Vr(e.current,null),nt=It=t,Ge=0,zi=null,Ap=Ps=Mo=0,Rt=vi=null,go!==null){for(t=0;t<go.length;t++)if(n=go[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,l=n.pending;if(l!==null){var i=l.next;l.next=o,r.next=i}n.pending=r}go=null}return e}function I1(e,t){do{var n=Ue;try{if(Sp(),nu.current=Uu,Hu){for(var r=_e.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Hu=!1}if(Oo=0,Ze=We=_e=null,hi=!1,ji=0,Fp.current=null,n===null||n.return===null){Ge=1,zi=t,Ue=null;break}e:{var l=e,i=n.return,a=n,u=t;if(t=nt,a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var s=u,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var m=c.alternate;m?(c.updateQueue=m.updateQueue,c.memoizedState=m.memoizedState,c.lanes=m.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=mv(i);if(p!==null){p.flags&=-257,vv(p,i,a,l,t),p.mode&1&&hv(l,s,t),t=p,u=s;var g=t.updateQueue;if(g===null){var y=new Set;y.add(u),t.updateQueue=y}else g.add(u);break e}else{if(!(t&1)){hv(l,s,t),zp();break e}u=Error(D(426))}}else if(Te&&a.mode&1){var x=mv(i);if(x!==null){!(x.flags&65536)&&(x.flags|=256),vv(x,i,a,l,t),xp(xl(u,a));break e}}l=u=xl(u,a),Ge!==4&&(Ge=2),vi===null?vi=[l]:vi.push(l),l=i;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t;var v=S1(l,u,t);uv(l,v);break e;case 1:a=u;var h=l.type,w=l.stateNode;if(!(l.flags&128)&&(typeof h.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(Hr===null||!Hr.has(w)))){l.flags|=65536,t&=-t,l.lanes|=t;var E=k1(l,a,t);uv(l,E);break e}}l=l.return}while(l!==null)}H1(n)}catch(k){t=k,Ue===n&&n!==null&&(Ue=n=n.return);continue}break}while(!0)}function z1(){var e=Vu.current;return Vu.current=Uu,e===null?Uu:e}function zp(){(Ge===0||Ge===3||Ge===2)&&(Ge=4),qe===null||!(Mo&268435455)&&!(Ps&268435455)||Tr(qe,nt)}function Yu(e,t){var n=ie;ie|=2;var r=z1();(qe!==e||nt!==t)&&(Qn=null,Co(e,t));do try{i2();break}catch(o){I1(e,o)}while(!0);if(Sp(),ie=n,Vu.current=r,Ue!==null)throw Error(D(261));return qe=null,nt=0,Ge}function i2(){for(;Ue!==null;)B1(Ue)}function a2(){for(;Ue!==null&&!_k();)B1(Ue)}function B1(e){var t=V1(e.alternate,e,It);e.memoizedProps=e.pendingProps,t===null?H1(e):Ue=t,Fp.current=null}function H1(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=e2(n,t),n!==null){n.flags&=32767,Ue=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ge=6,Ue=null;return}}else if(n=JC(n,t,It),n!==null){Ue=n;return}if(t=t.sibling,t!==null){Ue=t;return}Ue=t=e}while(t!==null);Ge===0&&(Ge=5)}function so(e,t,n){var r=se,o=on.transition;try{on.transition=null,se=1,u2(e,t,n,r)}finally{on.transition=o,se=r}return null}function u2(e,t,n,r){do dl();while(_r!==null);if(ie&6)throw Error(D(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(D(177));e.callbackNode=null,e.callbackPriority=0;var l=n.lanes|n.childLanes;if(Hk(e,l),e===qe&&(Ue=qe=null,nt=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Fa||(Fa=!0,W1(Pu,function(){return dl(),null})),l=(n.flags&15990)!==0,n.subtreeFlags&15990||l){l=on.transition,on.transition=null;var i=se;se=1;var a=ie;ie|=4,Fp.current=null,n2(e,n),A1(n,e),PC(Bf),Ou=!!zf,Bf=zf=null,e.current=n,r2(n),Nk(),ie=a,se=i,on.transition=l}else e.current=n;if(Fa&&(Fa=!1,_r=e,Gu=o),l=e.pendingLanes,l===0&&(Hr=null),Ak(n.stateNode),Mt(e,je()),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(Wu)throw Wu=!1,e=ad,ad=null,e;return Gu&1&&e.tag!==0&&dl(),l=e.pendingLanes,l&1?e===ud?gi++:(gi=0,ud=e):gi=0,eo(),null}function dl(){if(_r!==null){var e=S0(Gu),t=on.transition,n=se;try{if(on.transition=null,se=16>e?16:e,_r===null)var r=!1;else{if(e=_r,_r=null,Gu=0,ie&6)throw Error(D(331));var o=ie;for(ie|=4,K=e.current;K!==null;){var l=K,i=l.child;if(K.flags&16){var a=l.deletions;if(a!==null){for(var u=0;u<a.length;u++){var s=a[u];for(K=s;K!==null;){var c=K;switch(c.tag){case 0:case 11:case 15:mi(8,c,l)}var d=c.child;if(d!==null)d.return=c,K=d;else for(;K!==null;){c=K;var m=c.sibling,p=c.return;if(N1(c),c===s){K=null;break}if(m!==null){m.return=p,K=m;break}K=p}}}var g=l.alternate;if(g!==null){var y=g.child;if(y!==null){g.child=null;do{var x=y.sibling;y.sibling=null,y=x}while(y!==null)}}K=l}}if(l.subtreeFlags&2064&&i!==null)i.return=l,K=i;else e:for(;K!==null;){if(l=K,l.flags&2048)switch(l.tag){case 0:case 11:case 15:mi(9,l,l.return)}var v=l.sibling;if(v!==null){v.return=l.return,K=v;break e}K=l.return}}var h=e.current;for(K=h;K!==null;){i=K;var w=i.child;if(i.subtreeFlags&2064&&w!==null)w.return=i,K=w;else e:for(i=h;K!==null;){if(a=K,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Rs(9,a)}}catch(k){Fe(a,a.return,k)}if(a===i){K=null;break e}var E=a.sibling;if(E!==null){E.return=a.return,K=E;break e}K=a.return}}if(ie=o,eo(),_n&&typeof _n.onPostCommitFiberRoot=="function")try{_n.onPostCommitFiberRoot(ws,e)}catch{}r=!0}return r}finally{se=n,on.transition=t}}return!1}function Tv(e,t,n){t=xl(n,t),t=S1(e,t,1),e=Br(e,t,1),t=yt(),e!==null&&(qi(e,1,t),Mt(e,t))}function Fe(e,t,n){if(e.tag===3)Tv(e,e,n);else for(;t!==null;){if(t.tag===3){Tv(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Hr===null||!Hr.has(r))){e=xl(n,e),e=k1(t,e,1),t=Br(t,e,1),e=yt(),t!==null&&(qi(t,1,e),Mt(t,e));break}}t=t.return}}function s2(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=yt(),e.pingedLanes|=e.suspendedLanes&n,qe===e&&(nt&n)===n&&(Ge===4||Ge===3&&(nt&130023424)===nt&&500>je()-jp?Co(e,0):Ap|=n),Mt(e,t)}function U1(e,t){t===0&&(e.mode&1?(t=$a,$a<<=1,!($a&130023424)&&($a=4194304)):t=1);var n=yt();e=sr(e,t),e!==null&&(qi(e,t,n),Mt(e,n))}function c2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),U1(e,n)}function f2(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(D(314))}r!==null&&r.delete(t),U1(e,n)}var V1;V1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Tt.current)Pt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Pt=!1,qC(e,t,n);Pt=!!(e.flags&131072)}else Pt=!1,Te&&t.flags&1048576&&K0(t,ju,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ou(e,t),e=t.pendingProps;var o=vl(t,ct.current);fl(t,n),o=Op(null,t,r,e,o,n);var l=Mp();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,Ot(r)?(l=!0,Fu(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,$p(t),o.updater=bs,t.stateNode=o,o._reactInternals=t,Xf(t,r,e,n),t=Jf(null,t,r,!0,l,n)):(t.tag=0,Te&&l&&yp(t),ht(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ou(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=p2(r),e=vn(r,e),o){case 0:t=qf(null,t,r,e,n);break e;case 1:t=wv(null,t,r,e,n);break e;case 11:t=gv(null,t,r,e,n);break e;case 14:t=yv(null,t,r,vn(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vn(r,o),qf(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vn(r,o),wv(e,t,r,o,n);case 3:e:{if(R1(t),e===null)throw Error(D(387));r=t.pendingProps,l=t.memoizedState,o=l.element,e1(e,t),zu(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=xl(Error(D(423)),t),t=xv(e,t,r,n,o);break e}else if(r!==o){o=xl(Error(D(424)),t),t=xv(e,t,r,n,o);break e}else for(Vt=zr(t.stateNode.containerInfo.firstChild),Gt=t,Te=!0,wn=null,n=q0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(gl(),r===o){t=cr(e,t,n);break e}ht(e,t,r,n)}t=t.child}return t;case 5:return t1(t),e===null&&Yf(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,Hf(r,o)?i=null:l!==null&&Hf(r,l)&&(t.flags|=32),b1(e,t),ht(e,t,i,n),t.child;case 6:return e===null&&Yf(t),null;case 13:return P1(e,t,n);case 4:return bp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=yl(t,null,r,n):ht(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vn(r,o),gv(e,t,r,o,n);case 7:return ht(e,t,t.pendingProps,n),t.child;case 8:return ht(e,t,t.pendingProps.children,n),t.child;case 12:return ht(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,Ee(Du,r._currentValue),r._currentValue=i,l!==null)if(Sn(l.value,i)){if(l.children===o.children&&!Tt.current){t=cr(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var a=l.dependencies;if(a!==null){i=l.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(l.tag===1){u=nr(-1,n&-n),u.tag=2;var s=l.updateQueue;if(s!==null){s=s.shared;var c=s.pending;c===null?u.next=u:(u.next=c.next,c.next=u),s.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Kf(l.return,n,t),a.lanes|=n;break}u=u.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(D(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Kf(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}ht(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,fl(t,n),o=an(o),r=r(o),t.flags|=1,ht(e,t,r,n),t.child;case 14:return r=t.type,o=vn(r,t.pendingProps),o=vn(r.type,o),yv(e,t,r,o,n);case 15:return C1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vn(r,o),ou(e,t),t.tag=1,Ot(r)?(e=!0,Fu(t)):e=!1,fl(t,n),E1(t,r,o),Xf(t,r,o,n),Jf(null,t,r,!0,e,n);case 19:return T1(e,t,n);case 22:return $1(e,t,n)}throw Error(D(156,t.tag))};function W1(e,t){return y0(e,t)}function d2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nn(e,t,n,r){return new d2(e,t,n,r)}function Bp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function p2(e){if(typeof e=="function")return Bp(e)?1:0;
vendor: 4,863 bytes, line 40
40if(e!=null){if(e=e.$$typeof,e===ip)return 11;if(e===ap)return 14}return 2}function Vr(e,t){var n=e.alternate;return n===null?(n=nn(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 au(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")Bp(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ko:return $o(n.children,o,l,t);case lp:i=8,o|=8;break;case xf:return e=nn(12,n,t,o|2),e.elementType=xf,e.lanes=l,e;case Ef:return e=nn(13,n,t,o),e.elementType=Ef,e.lanes=l,e;case Sf:return e=nn(19,n,t,o),e.elementType=Sf,e.lanes=l,e;case t0:return Ts(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Jy:i=10;break e;case e0:i=9;break e;case ip:i=11;break e;case ap:i=14;break e;case $r:i=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=nn(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function $o(e,t,n,r){return e=nn(7,e,r,t),e.lanes=n,e}function Ts(e,t,n,r){return e=nn(22,e,r,t),e.elementType=t0,e.lanes=n,e.stateNode={isHidden:!1},e}function Wc(e,t,n){return e=nn(6,e,null,t),e.lanes=n,e}function Gc(e,t,n){return t=nn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function h2(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=bc(0),this.expirationTimes=bc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bc(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Hp(e,t,n,r,o,l,i,a,u){return e=new h2(e,t,n,a,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=nn(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$p(l),e}function m2(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Yo,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function G1(e){if(!e)return Gr;e=e._reactInternals;e:{if(zo(e)!==e||e.tag!==1)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ot(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(D(171))}if(e.tag===1){var n=e.type;if(Ot(n))return G0(e,n,t)}return t}function Y1(e,t,n,r,o,l,i,a,u){return e=Hp(n,r,!0,e,o,l,i,a,u),e.context=G1(null),n=e.current,r=yt(),o=Ur(n),l=nr(r,o),l.callback=t??null,Br(n,l,o),e.current.lanes=o,qi(e,o,r),Mt(e,r),e}function Os(e,t,n,r){var o=t.current,l=yt(),i=Ur(o);return n=G1(n),t.context===null?t.context=n:t.pendingContext=n,t=nr(l,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Br(o,t,i),e!==null&&(En(e,o,i,l),tu(e,o,i)),i}function Ku(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 Ov(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Up(e,t){Ov(e,t),(e=e.alternate)&&Ov(e,t)}function v2(){return null}var K1=typeof reportError=="function"?reportError:function(e){console.error(e)};function Vp(e){this._internalRoot=e}Ms.prototype.render=Vp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));Os(e,t,null,null)};Ms.prototype.unmount=Vp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;_o(function(){Os(null,e,null,null)}),t[ur]=null}};function Ms(e){this._internalRoot=e}Ms.prototype.unstable_scheduleHydration=function(e){if(e){var t=$0();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pr.length&&t!==0&&t<Pr[n].priority;n++);Pr.splice(n,0,e),n===0&&R0(e)}};function Wp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Mv(){}function g2(e,t,n,r,o){if(o){if(typeof r=="function"){var l=r;r=function(){var s=Ku(i);l.call(s)}}var i=Y1(t,r,e,0,null,!1,!1,"",Mv);return e._reactRootContainer=i,e[ur]=i.current,_i(e.nodeType===8?e.parentNode:e),_o(),i}for(;
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var s=Ku(u);a.call(s)}}var u=Hp(e,0,!1,null,null,!1,!1,"",Mv);return e._reactRootContainer=u,e[ur]=u.current,_i(e.nodeType===8?e.parentNode:e),_o(function(){Os(t,u,n,r)}),u}function Ns(e,t,n,r,o){var l=n._reactRootContainer;if(l){var i=l;if(typeof o=="function"){var a=o;o=function(){var u=Ku(i);a.call(u)}}Os(t,i,e,o)}else i=g2(n,t,e,o,r);return Ku(i)}k0=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ti(t.pendingLanes);n!==0&&(cp(t,n|1),Mt(t,je()),!(ie&6)&&(El=je()+500,eo()))}break;case 13:_o(function(){var r=sr(e,1);if(r!==null){var o=yt();En(r,e,1,o)}}),Up(e,1)}};fp=function(e){if(e.tag===13){var t=sr(e,134217728);if(t!==null){var n=yt();En(t,e,134217728,n)}Up(e,134217728)}};C0=function(e){if(e.tag===13){var t=Ur(e),n=sr(e,t);if(n!==null){var r=yt();En(n,e,t,r)}Up(e,t)}};$0=function(){return se};b0=function(e,t){var n=se;try{return se=e,t()}finally{se=n}};_f=function(e,t,n){switch(t){case"input":if($f(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=ks(r);if(!o)throw Error(D(90));r0(r),$f(r,o)}}}break;case"textarea":l0(e,n);break;case"select":t=n.value,t!=null&&al(e,!!n.multiple,t,!1)}};d0=Dp;p0=_o;var y2={usingClientEntryPoint:!1,Events:[ea,qo,ks,c0,f0,Dp]},Xl={findFiberByHostInstance:vo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},w2={bundleType:Xl.bundleType,version:Xl.version,rendererPackageName:Xl.rendererPackageName,rendererConfig:Xl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:mr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=v0(e),e===null?null:e.stateNode},findFiberByHostInstance:Xl.findFiberByHostInstance||v2,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 Aa=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Aa.isDisabled&&Aa.supportsFiber)try{ws=Aa.inject(w2),_n=Aa}catch{}}Xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=y2;Xt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Wp(t))throw Error(D(200));return m2(e,t,null,n)};Xt.createRoot=function(e,t){if(!Wp(e))throw Error(D(299));var n=!1,r="",o=K1;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Hp(e,1,!1,null,null,n,!1,r,o),e[ur]=t.current,_i(e.nodeType===8?e.parentNode:e),new Vp(t)};Xt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=v0(t),e=e===null?null:e.stateNode,e};Xt.flushSync=function(e){return _o(e)};Xt.hydrate=function(e,t,n){if(!_s(t))throw Error(D(200));return Ns(null,e,t,!0,n)};Xt.hydrateRoot=function(e,t,n){if(!Wp(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,o=!1,l="",i=K1;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Y1(t,null,e,1,n??null,o,!1,l,i),e[ur]=t.current,_i(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 Ms(t)};Xt.render=function(e,t,n){if(!_s(t))throw Error(D(200));return Ns(null,e,t,!1,n)};Xt.unmountComponentAtNode=function(e){if(!_s(e))throw Error(D(40));return e._reactRootContainer?(_o(function(){Ns(null,null,e,!1,function(){e._reactRootContainer=null,e[ur]=null})}),!0):!1};Xt.unstable_batchedUpdates=Dp;Xt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!_s(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return Ns(e,t,n,!1,r)};Xt.version="18.3.1-next-f1338f8080-20240426";function Q1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Q1)}catch(e){console.error(e)}}Q1(),Qy.exports=Xt;var An=Qy.exports;const _v=gs(An);var X1,Nv=An;X1=Nv.createRoot,Nv.hydrateRoot;var Gp={};Object.defineProperty(Gp,"__esModule",{value:!0});Gp.parse=b2;Gp.serialize=R2;const x2=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,E2=/^[\u0021-\u003A\u003C-\u007E]*$/,S2=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,k2=/^[\u0020-\u003A\u003D-\u007E]*$/,C2=Object.prototype.toString,$2=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function b2(e,t){const n=new $2,r=e.length;if(r<2)return n;const o=(t==null?void 0:t.decode)||P2;let l=0;do{const i=e.indexOf("=",l);if(i===-1)break;const a=e.indexOf(";",l),u=a===-1?r:a;if(i>u){l=e.lastIndexOf(";",i-1)+1;continue}const s=Lv(e,l,i),c=Fv(e,i,s),d=e.slice(s,c);if(n[d]===void 0){let m=Lv(e,i+1,u),p=Fv(e,u,m);const g=o(e.slice(m,p));n[d]=g}l=u+1}while(l<r);return n}function Lv(e,t,n){do{const r=e.charCodeAt(t);if(r!==32&&r!==9)return t}while(++t<n);return n}function Fv(e,t,n){for(;t>n;){const r=e.charCodeAt(--t);if(r!==32&&r!==9)return t+1}return n}function R2(e,t,n){const r=(n==null?void 0:n.encode)||encodeURIComponent;
40if(!x2.test(e))throw new TypeError(`argument name is invalid: ${e}`);const o=r(t);if(!E2.test(o))throw new TypeError(`argument val is invalid: ${t}`);let l=e+"="+o;if(!n)return l;if(n.maxAge!==void 0){if(!Number.isInteger(n.maxAge))throw new TypeError(`option maxAge is invalid: ${n.maxAge}`);l+="; Max-Age="+n.maxAge}if(n.domain){if(!S2.test(n.domain))throw new TypeError(`option domain is invalid: ${n.domain}`);l+="; Domain="+n.domain}if(n.path){if(!k2.test(n.path))throw new TypeError(`option path is invalid: ${n.path}`);l+="; Path="+n.path}if(n.expires){if(!T2(n.expires)||!Number.isFinite(n.expires.valueOf()))throw new TypeError(`option expires is invalid: ${n.expires}`);l+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(l+="; HttpOnly"),n.secure&&(l+="; Secure"),n.partitioned&&(l+="; Partitioned"),n.priority)switch(typeof n.priority=="string"?n.priority.toLowerCase():void 0){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError(`option priority is invali
40d: ${n.priority}`)}if(n.sameSite)switch(typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${n.sameSite}`)}return l}function P2(e){if(e.indexOf("%")===-1)return e;try{return decodeURIComponent(e)}catch{return e}}function T2(e){return C2.call(e)==="[object Date]"}var Av="popstate";function O2(e={}){function t(r,o){let{pathname:l,search:i,hash:a}=r.location;return fd("",{pathname:l,search:i,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Bi(o)}return _2(t,n,null,e)}function Ne(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function kn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function M2(){return Math.random().toString(36).substring(2,10)}function jv(e,t){return{usr:e.state,key:e.key,idx:t}}function fd(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Nl(t):t,state:n,key:t&&t.key||r||M2()}}function Bi({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Nl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function _2(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:l=!1}=r,i=o.history,a="POP",u=null,s=c();s==null&&(s=0,i.replaceState({...i.state,idx:s},""));function c(){return(i.state||{idx:null}).idx}function d(){a="POP";let x=c(),v=x==null?null:x-s;s=x,u&&u({action:a,location:y.location,delta:v})}function m(x,v){a="PUSH";let h=fd(y.location,x,v);s=c()+1;let w=jv(h,s),E=y.createHref(h);try{i.pushState(w,"",E)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;o.location.assign(E)}l&&u&&u({action:a,location:y.location,delta:1})}function p(x,v){a="REPLACE";let h=fd(y.location,x,v);s=c();let w=jv(h,s),E=y.createHref(h);i.replaceState(w,"",E),l&&u&&u({action:a,location:y.location,delta:0})}function g(x){return N2(x)}let y={get action(){return a},get location(){return e(o,i)}
40,listen(x){if(u)throw new Error("A history only accepts one active listener");return o.addEventListener(Av,d),u=x,()=>{o.removeEventListener(Av,d),u=null}},createHref(x){return t(o,x)},createURL:g,encodeLocation(x){let v=g(x);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:m,replace:p,go(x){return i.go(x)}};return y}function N2(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Ne(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Bi(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function Z1(e,t,n="/"){return L2(e,t,n,!1)}function L2(e,t,n,r){let o=typeof t=="string"?Nl(t):t,l=fr(o.pathname||"/",n);if(l==null)return null;let i=q1(e);F2(i);let a=null;for(let u=0;a==null&&u<i.length;++u){let s=G2(l);a=V2(i[u],s,r)}return a}function q1(e,t=[],n=[],r=""){let o=(l,i,a)=>{let u={relativePath:a===void 0?l.path||"":a,caseSensitive:l.caseSensitive===!0,childrenIndex:i,route:l};u.relativePath.startsWith("/")&&(Ne(u.relativePath.startsWith(r),`Absolute route path "${u.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),u.relativePath=u.relativePath.slice(r.length));let s=rr([r,u.relativePath]),c=n.concat(u);l.children&&l.children.length>0&&(Ne(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${s}".`),q1(l.children,t,c,s)),!(l.path==null&&!l.index)&&t.push({path:s,score:H2(s,l.index),routesMeta:c})};return e.forEach((l,i)=>{var a;if(l.path===""||!((a=l.path)!=null&&a.includes("?")))o(l,i);else for(let u of J1(l.path))o(l,i,u)}),t}function J1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return o?[l,""]:[l];let i=J1(r.join("/")),a=[];return a.push(...i.map(u=>u===""?l:[l,u].join("/"))),o&&a.push(...i),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function F2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:U2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var A2=/^:[\w-]+$/,j2=3,D2=2,I2=1,z2=10,B2=-2,Dv=e=>e==="*";function H2(e,t){let n=e.split("/"),r=n.length;return n.some(Dv)&&(r+=B2),t&&(r+=D2),n.filter(o=>!Dv(o)).reduce((o,l)=>o+(A2.test(l)?j2:l===""?I2:z2),r)}function U2(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 V2(e,t,n=!1){let{routesMeta:r}=e,o={},l="/",i=[];for(let a=0;a<r.length;++a){let u=r[a],s=a===r.length-1,c=l==="/"?t:t.slice(l.length)||"/",d=Qu({path:u.relativePath,caseSensitive:u.caseSensitive,end:s},c),m=u.route;if(!d&&s&&n&&!r[r.length-1].route.index&&(d=Qu({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},c)),!d)return null;
40Object.assign(o,d.params),i.push({params:o,pathname:rr([l,d.pathname]),pathnameBase:X2(rr([l,d.pathnameBase])),route:m}),d.pathnameBase!=="/"&&(l=rr([l,d.pathnameBase]))}return i}function Qu(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=W2(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let l=o[0],i=l.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((s,{paramName:c,isOptional:d},m)=>{if(c==="*"){let g=a[m]||"";i=l.slice(0,l.length-g.length).replace(/(.)\/+$/,"$1")}const p=a[m];return d&&!p?s[c]=void 0:s[c]=(p||"").replace(/%2F/g,"/"),s},{}),pathname:l,pathnameBase:i,pattern:e}}function W2(e,t=!1,n=!0){kn(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,(i,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function G2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return kn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function fr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Y2(e,t="/"){let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Nl(e):e;return{pathname:n?n.startsWith("/")?n:K2(n,t):t,search:Z2(r),hash:q2(o)}}function K2(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 Yc(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 Q2(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ew(e){let t=Q2(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function tw(e,t,n,r=!1){let o;typeof e=="string"?o=Nl(e):(o={...e},Ne(!o.pathname||!o.pathname.includes("?"),Yc("?","pathname","search",o)),Ne(!o.pathname||!o.pathname.includes("#"),Yc("#","pathname","hash",o)),Ne(!o.search||!o.search.includes("#"),Yc("#","search","hash",o)));let l=e===""||o.pathname==="",i=l?"/":o.pathname,a;if(i==null)a=n;else{let d=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),d-=1;o.pathname=m.join("/")}a=d>=0?t[d]:"/"}let u=Y2(o,a),s=i&&i!=="/"&&i.endsWith("/"),c=(l||i===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(s||c)&&(u.pathname+="/"),u}var rr=e=>e.join("/").replace(/\/\/+/g,"/"),X2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Z2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,q2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function J2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var nw=["POST","PUT","PATCH","DELETE"];new Set(nw);var e$=["GET",...nw];new Set(e$);var Ll=f.createContext(null);Ll.displayName="DataRouter";var Ls=f.createContext(null);Ls.displayName="DataRouterState";var rw=f.createContext({isTransitioning:!1});rw.displayName="ViewTransition";var t$=f.createContext(new Map);t$.displayName="Fetchers";var n$=f.createContext(null);n$.displayName="Await";var Hn=f.createContext(null);Hn.displayName="Navigation";var na=f.createContext(null);na.displayName="Location";var vr=f.createContext({outlet:null,matches:[],isDataRoute:!1});vr.displayName="Route";var Yp=f.createContext(null);Yp.displayName="RouteError";function r$(e,{relative:t}={}){Ne(ra(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=f.useContext(Hn),{hash:o,pathname:l,search:i}=oa(e,{relative:t}),a=l;
40return n!=="/"&&(a=l==="/"?n:rr([n,l])),r.createHref({pathname:a,search:i,hash:o})}function ra(){return f.useContext(na)!=null}function to(){return Ne(ra(),"useLocation() may be used only in the context of a <Router> component."),f.useContext(na).location}var ow="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function lw(e){f.useContext(Hn).static||f.useLayoutEffect(e)}function Kp(){let{isDataRoute:e}=f.useContext(vr);return e?v$():o$()}function o$(){Ne(ra(),"useNavigate() may be used only in the context of a <Router> component.");let e=f.useContext(Ll),{basename:t,navigator:n}=f.useContext(Hn),{matches:r}=f.useContext(vr),{pathname:o}=to(),l=JSON.stringify(ew(r)),i=f.useRef(!1);return lw(()=>{i.current=!0}),f.useCallback((u,s={})=>{if(kn(i.current,ow),!i.current)return;if(typeof u=="number"){n.go(u);return}let c=tw(u,JSON.parse(l),o,s.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:rr([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,l,o,e])}f.createContext(null);function oa(e,{relative:t}={}){let{matches:n}=f.useContext(vr),{pathname:r}=to(),o=JSON.stringify(ew(n));return f.useMemo(()=>tw(e,JSON.parse(o),r,t==="path"),[e,o,r,t])}function l$(e,t){return iw(e,t)}function iw(e,t,n,r){var v;Ne(ra(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=f.useContext(Hn),{matches:l}=f.useContext(vr),i=l[l.length-1],a=i?i.params:{},u=i?i.pathname:"/",s=i?i.pathnameBase:"/",c=i&&i.route;{let h=c&&c.path||"";aw(u,!c||h.endsWith("*")||h.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${h}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
41
42Please change the parent <Route path="${h}"> to <Route path="${h==="/"?"*":`${h}/*`}">.`)}let d=to(),m;if(t){let h=typeof t=="string"?Nl(t):t;Ne(s==="/"||((v=h.pathname)==null?void 0:v.startsWith(s)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${h.pathname}" was given in the \`location\` prop.`),m=h}else m=d;let p=m.pathname||"/",g=p;if(s!=="/"){let h=s.replace(/^\//,"").split("/");g="/"+p.replace(/^\//,"").split("/").slice(h.length).join("/")}let y=Z1(e,{pathname:g});kn(c||y!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),kn(y==null||y[y.length-1].route.element!==void 0||y[y.length-1].route.Component!==void 0||y[y.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let x=c$(y&&y.map(h=>Object.assign({},h,{params:Object.assign({},a,h.params),pathname:rr([s,o.encodeLocation?o.encodeLocation(h.pathname).pathname:h.pathname]),pathnameBase:h.pathnameBase==="/"?s:rr([s,o.encodeLocation?o.encodeLocation(h.pathnameBase).pathname:h.pathnameBase])})),l,n,r);return t&&x?f.createElement(na.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...m},navigationType:"POP"}},x):x}function i$(){let e=m$(),t=J2(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},l={padding:"2px 4px",backgroundColor:r},i=null;return console.error("Error handled by React Router default ErrorBoundary:",e),i=f.createElement(f.Fragment,null,f.createElement("p",null,"💿 Hey developer 👋"),f.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",f.createElement("code",{style:l},"ErrorBoundary")," or"," ",f.createElement("code",{style:l},"errorElement")," prop on your route.")),f.createElement(f.Fragment,null,f.createElement("h2",null,"Unexpected Application 
42Error!"),f.createElement("h3",{style:{fontStyle:"italic"}},t),n?f.createElement("pre",{style:o},n):null,i)}var a$=f.createElement(i$,null),u$=class extends f.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?f.createElement(vr.Provider,{value:this.props.routeContext},f.createElement(Yp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function s$({routeContext:e,match:t,children:n}){let r=f.useContext(Ll);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),f.createElement(vr.Provider,{value:e},n)}function c$(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,l=n==null?void 0:n.errors;if(l!=null){let u=o.findIndex(s=>s.route.id&&(l==null?void 0:l[s.route.id])!==void 0);Ne(u>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),o=o.slice(0,Math.min(o.length,u+1))}let i=!1,a=-1;if(n)for(let u=0;u<o.length;u++){let s=o[u];if((s.route.HydrateFallback||s.route.hydrateFallbackElement)&&(a=u),s.route.id){let{loaderData:c,errors:d}=n,m=s.route.loader&&!c.hasOwnProperty(s.route.id)&&(!d||d[s.route.id]===void 0);if(s.route.lazy||m){i=!0,a>=0?o=o.slice(0,a+1):o=[o[0]];break}}}return o.reduceRight((u,s,c)=>{let d,m=!1,p=null,g=null;n&&(d=l&&s.route.id?l[s.route.id]:void 0,p=s.route.errorElement||a$,i&&(a<0&&c===0?(aw("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),m=!0,g=null):a===c&&(m=!0,g=s.route.hydrateFallbackElement||null)));let y=t.concat(o.slice(0,c+1)),x=()=>{let v;return d?v=p:m?v=g:s.route.Component?v=f.createElement(s.route.Component,null):s.route.element?v=s.route.element:v=u,f.createElement(s$,{match:s,routeContext:{outlet:u,matches:y,isDataRoute:n!=null},children:v})};return n&&(s.route.ErrorBoundary||s.route.errorElement||c===0)?f.createElement(u$,{location:n.location,revalidation:n.revalidation,component:p,error:d,children:x(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):x()},null)}function Qp(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function f$(e){let t=f.useContext(Ll);return Ne(t,Qp(e)),t}function d$(e){let t=f.useContext(Ls);return Ne(t,Qp(e)),t}function p$(e){let t=f.useContext(vr);return Ne(t,Qp(e)),t}function Xp(e){let t=p$(e),n=t.matches[t.matches.length-1];return Ne(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function h$(){return Xp("useRouteId")}function m$(){var r;let e=f.useContext(Yp),t=d$("useRouteError"),n=Xp("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function v$(){let{router:e}=f$("useNavigate"),t=Xp("useNavigate"),n=f.useRef(!1);return lw(()=>{n.current=!0}),f.useCallback(async(o,l={})=>{kn(n.current,ow),n.current&&(typeof o=="number"?e.navigate(o):await e.navigate(o,{fromRouteId:t,...l}))},[e,t])}var Iv={};function aw(e,t,n){!t&&!Iv[e]&&(Iv[e]=!0,kn(!1,n))}f.memo(g$);function g$({routes:e,future:t,state:n}){return iw(e,void 0,n,t)}function dd(e){Ne(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function y$({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:l=!1}){Ne(!ra(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let i=e.replace(/^\/*/,"/"),a=f.useMemo(()=>({basename:i,navigator:o,static:l,future:{}}),[i,o,l]);typeof n=="string"&&(n=Nl(n));
42let{pathname:u="/",search:s="",hash:c="",state:d=null,key:m="default"}=n,p=f.useMemo(()=>{let g=fr(u,i);return g==null?null:{location:{pathname:g,search:s,hash:c,state:d,key:m},navigationType:r}},[i,u,s,c,d,m,r]);return kn(p!=null,`<Router basename="${i}"> is not able to match the URL "${u}${s}${c}" because it does not start with the basename, so the <Router> won't render anything.`),p==null?null:f.createElement(Hn.Provider,{value:a},f.createElement(na.Provider,{children:t,value:p}))}function w$({children:e,location:t}){return l$(pd(e),t)}function pd(e,t=[]){let n=[];return f.Children.forEach(e,(r,o)=>{if(!f.isValidElement(r))return;let l=[...t,o];if(r.type===f.Fragment){n.push.apply(n,pd(r.props.children,l));return}Ne(r.type===dd,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ne(!r.props.index||!r.props.children,"An index route cannot have child routes.");let i={id:r.props.id||l.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,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=pd(r.props.children,l)),n.push(i)}),n}var uu="get",su="application/x-www-form-urlencoded";function Fs(e){return e!=null&&typeof e.tagName=="string"}function x$(e){return Fs(e)&&e.tagName.toLowerCase()==="button"}function E$(e){return Fs(e)&&e.tagName.toLowerCase()==="form"}function S$(e){return Fs(e)&&e.tagName.toLowerCase()==="input"}function k$(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function C$(e,t){return e.button===0&&(!t||t==="_self")&&!k$(e)}function hd(e=""){return 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 $$(e,t){let n=hd(e);return t&&t.forEach((r,o)=>{n.has(o)||t.getAll(o).forEach(l=>{n.append(o,l)})}),n}var ja=null;function b$(){if(ja===null)try{new FormData(document.createElement("form"),0),ja=!1}catch{ja=!0}return ja}var R$=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Kc(e){return e!=null&&!R$.has(e)?(kn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${su}"`),null):e}function P$(e,t){let n,r,o,l,i;if(E$(e)){let a=e.getAttribute("action");r=a?fr(a,t):null,n=e.getAttribute("method")||uu,o=Kc(e.getAttribute("enctype"))||su,l=new FormData(e)}else if(x$(e)||S$(e)&&(e.type==="submit"||e.type==="image")){let a=e.form;if(a==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||a.getAttribute("action");if(r=u?fr(u,t):null,n=e.getAttribute("formmethod")||a.getAttribute("method")||uu,o=Kc(e.getAttribute("formenctype"))||Kc(a.getAttribute("enctype"))||su,l=new FormData(a,e),!b$()){let{name:s,type:c,value:d}=e;if(c==="image"){let m=s?`${s}.`:"";l.append(`${m}x`,"0"),l.append(`${m}y`,"0")}else s&&l.append(s,d)}}else{if(Fs(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=uu,r=null,o=su,i=e}return l&&o==="text/plain"&&(i=l,l=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:l,body:i}}function Zp(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function T$(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function O$(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function M$(e,t,n){let r=await Promise.all(e.map(async o=>{let l=t.routes[o.route.id];if(l){let i=await T$(l,n);return i.links?i.links():[]}return[]}));return F$(r.flat(1).filter(O$).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function zv(e,t,n,r,o,l){let i=(u,s)=>
42n[s]?u.route.id!==n[s].route.id:!0,a=(u,s)=>{var c;return n[s].pathname!==u.pathname||((c=n[s].route.path)==null?void 0:c.endsWith("*"))&&n[s].params["*"]!==u.params["*"]};return l==="assets"?t.filter((u,s)=>i(u,s)||a(u,s)):l==="data"?t.filter((u,s)=>{var d;let c=r.routes[u.route.id];if(!c||!c.hasLoader)return!1;if(i(u,s)||a(u,s))return!0;if(u.route.shouldRevalidate){let m=u.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((d=n[0])==null?void 0:d.params)||{},nextUrl:new URL(e,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof m=="boolean")return m}return!0}):[]}function _$(e,t,{includeHydrateFallback:n}={}){return N$(e.map(r=>{let o=t.routes[r.route.id];if(!o)return[];let l=[o.module];return o.clientActionModule&&(l=l.concat(o.clientActionModule)),o.clientLoaderModule&&(l=l.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(l=l.concat(o.hydrateFallbackModule)),o.imports&&(l=l.concat(o.imports)),l}).flat(1))}function N$(e){return[...new Set(e)]}function L$(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function F$(e,t){let n=new Set;return new Set(t),e.reduce((r,o)=>{let l=JSON.stringify(L$(o));return n.has(l)||(n.add(l),r.push({key:l,link:o})),r},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var A$=new Set([100,101,204,205]);function j$(e,t){let n=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n.pathname==="/"?n.pathname="_root.data":t&&fr(n.pathname,t)==="/"?n.pathname=`${t.replace(/\/$/,"")}/_root.data`:n.pathname=`${n.pathname.replace(/\/$/,"")}.data`,n}function uw(){let e=f.useContext(Ll);return Zp(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function D$(){let e=f.useContext(Ls);return Zp(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var qp=f.createContext(void 0);qp.displayName="FrameworkContext";function sw(){let e=f.useContext(qp);return Zp(e,"You must render this element inside a <HydratedRouter> element"),e}function I$(e,t){let n=f.useContext(qp),[r,o]=f.useState(!1),[l,i]=f.useState(!1),{onFocus:a,onBlur:u,onMouseEnter:s,onMouseLeave:c,onTouchStart:d}=t,m=f.useRef(null);f.useEffect(()=>{if(e==="render"&&i(!0),e==="viewport"){let y=v=>{v.forEach(h=>{i(h.isIntersecting)})},x=new IntersectionObserver(y,{threshold:.5});return m.current&&x.observe(m.current),()=>{x.disconnect()}}},[e]),f.useEffect(()=>{if(r){let y=setTimeout(()=>{i(!0)},100);return()=>{clearTimeout(y)}}},[r]);let p=()=>{o(!0)},g=()=>{o(!1),i(!1)};return n?e!=="intent"?[l,m,{}]:[l,m,{onFocus:Zl(a,p),onBlur:Zl(u,g),onMouseEnter:Zl(s,p),onMouseLeave:Zl(c,g),onTouchStart:Zl(d,p)}]:[!1,m,{}]}function Zl(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function z$({page:e,...t}){let{router:n}=uw(),r=f.useMemo(()=>Z1(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?f.createElement(H$,{page:e,matches:r,...t}):null}function B$(e){let{manifest:t,routeModules:n}=sw(),[r,o]=f.useState([]);return f.useEffect(()=>{let l=!1;return M$(e,t,n).then(i=>{l||o(i)}),()=>{l=!0}},[e,t,n]),r}function H$({page:e,matches:t,...n}){let r=to(),{manifest:o,routeModules:l}=sw(),{basename:i}=uw(),{loaderData:a,matches:u}=D$(),s=f.useMemo(()=>zv(e,t,u,o,r,"data"),[e,t,u,o,r]),c=f.useMemo(()=>zv(e,t,u,o,r,"assets"),[e,t,u,o,r]),d=f.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let g=new Set,y=!1;if(t.forEach(v=>{var w;let h=o.routes[v.route.id];!h||!h.hasLoader||(!s.some(E=>E.route.id===v.route.id)&&v.route.id in a&&((w=l[v.route.id])!=null&&w.shouldRevalidate)||h.hasClientLoader?y=!0:g.add(v.route.id))}),g.size===0)return[];let x=j$(e,i);return y&&g.size>0&&x.searchParams.set("_routes",t.filter(v=>g.has(v.route.id)).map(v=>v.route.id).join(",")),[x.pathname+x.search]},[i,a,r,o,s,t,e,l]),m=f.useMemo(()=>_$(c,o),[c,o]),p=B$(c);return f.createElement(f.Fragment,null,d.map(g=>f.createElement("link",{key:g,rel:"prefetch",as:"fetch",href:g,...n})),m.map(g=>f.createElement("link",{key:g,rel:"modulepreload",href:g,...n})),p.map(({key:g,link:y})=>f.createElement("link",{key:g,...y}
42)))}function U$(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var cw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{cw&&(window.__reactRouterVersion="7.6.2")}catch{}function V$({basename:e,children:t,window:n}){let r=f.useRef();r.current==null&&(r.current=O2({window:n,v5Compat:!0}));let o=r.current,[l,i]=f.useState({action:o.action,location:o.location}),a=f.useCallback(u=>{f.startTransition(()=>i(u))},[i]);return f.useLayoutEffect(()=>o.listen(a),[o,a]),f.createElement(y$,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:o})}var fw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dw=f.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:o,reloadDocument:l,replace:i,state:a,target:u,to:s,preventScrollReset:c,viewTransition:d,...m},p){let{basename:g}=f.useContext(Hn),y=typeof s=="string"&&fw.test(s),x,v=!1;if(typeof s=="string"&&y&&(x=s,cw))try{let O=new URL(window.location.href),b=s.startsWith("//")?new URL(O.protocol+s):new URL(s),T=fr(b.pathname,g);b.origin===O.origin&&T!=null?s=T+b.search+b.hash:v=!0}catch{kn(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let h=r$(s,{relative:o}),[w,E,k]=I$(r,m),C=K$(s,{replace:i,state:a,target:u,preventScrollReset:c,relative:o,viewTransition:d});function $(O){t&&t(O),O.defaultPrevented||C(O)}let R=f.createElement("a",{...m,...k,href:x||h,onClick:v||l?t:$,ref:U$(p,E),target:u,"data-discover":!y&&n==="render"?"true":void 0});return w&&!y?f.createElement(f.Fragment,null,R,f.createElement(z$,{page:h})):R});dw.displayName="Link";var W$=f.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:o=!1,style:l,to:i,viewTransition:a,children:u,...s},c){let d=oa(i,{relative:s.relative}),m=to(),p=f.useContext(Ls),{navigator:g,basename:y}=f.useContext(Hn),x=p!=null&&eb(d)&&a===!0,v=g.encodeLocation?g.encodeLocation(d).pathname:d.pathname,h=m.pathname,w=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;n||(h=h.toLowerCase(),w=w?w.toLowerCase():null,v=v.toLowerCase()),w&&y&&(w=fr(w,y)||w);const E=v!=="/"&&v.endsWith("/")?v.length-1:v.length;let k=h===v||!o&&h.startsWith(v)&&h.charAt(E)==="/",C=w!=null&&(w===v||!o&&w.startsWith(v)&&w.charAt(v.length)==="/"),$={isActive:k,isPending:C,isTransitioning:x},R=k?t:void 0,O;typeof r=="function"?O=r($):O=[r,k?"active":null,C?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let b=typeof l=="function"?l($):l;return f.createElement(dw,{...s,"aria-current":R,className:O,ref:c,style:b,to:i,viewTransition:a},typeof u=="function"?u($):u)});W$.displayName="NavLink";var G$=f.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:o,state:l,method:i=uu,action:a,onSubmit:u,relative:s,preventScrollReset:c,viewTransition:d,...m},p)=>{let g=q$(),y=J$(a,{relative:s}),x=i.toLowerCase()==="get"?"get":"post",v=typeof a=="string"&&fw.test(a),h=w=>{if(u&&u(w),w.defaultPrevented)return;w.preventDefault();let E=w.nativeEvent.submitter,k=(E==null?void 0:E.getAttribute("formmethod"))||i;g(E||w.currentTarget,{fetcherKey:t,method:k,navigate:n,replace:o,state:l,relative:s,preventScrollReset:c,viewTransition:d})};return f.createElement("form",{ref:p,method:x,action:y,onSubmit:r?u:h,...m,"data-discover":!v&&e==="render"?"true":void 0})});G$.displayName="Form";function Y$(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function pw(e){let t=f.useContext(Ll);return Ne(t,Y$(e)),t}function K$(e,{target:t,replace:n,state:r,preventScrollReset:o,relative:l,viewTransition:i}={}){let a=Kp(),u=to(),s=oa(e,{relative:l});return f.useCallback(c=>{if(C$(c,t)){c.preventDefault();let d=n!==void 0?n:Bi(u)===Bi(s);a(e,{replace:d,state:r,preventScrollReset:o,relative:l,viewTransition:i})}},[u,a,s,n,r,t,e,o,l,i])}function Q$(e){kn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=f.useRef(hd(e)),n=f.useRef(!1),r=to(),o=f.useMemo(()=>$$(r.search,n.current?null:t.current),[r.search]),l=Kp(),i=f.useCallback((a,u)=>{const s=hd(typeof a=="function"?a(o):a);n.current=!0,l("?"+s,u)},[l,o]);return[o,i]}var X$=0,Z$=()=>`__${String(++X$)}__`;function q$(){let{router:e}
42=pw("useSubmit"),{basename:t}=f.useContext(Hn),n=h$();return f.useCallback(async(r,o={})=>{let{action:l,method:i,encType:a,formData:u,body:s}=P$(r,t);if(o.navigate===!1){let c=o.fetcherKey||Z$();await e.fetch(c,n,o.action||l,{preventScrollReset:o.preventScrollReset,formData:u,body:s,formMethod:o.method||i,formEncType:o.encType||a,flushSync:o.flushSync})}else await e.navigate(o.action||l,{preventScrollReset:o.preventScrollReset,formData:u,body:s,formMethod:o.method||i,formEncType:o.encType||a,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[e,t,n])}function J$(e,{relative:t}={}){let{basename:n}=f.useContext(Hn),r=f.useContext(vr);Ne(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),l={...oa(e||".",{relative:t})},i=to();if(e==null){l.search=i.search;let a=new URLSearchParams(l.search),u=a.getAll("index");if(u.some(c=>c==="")){a.delete("index"),u.filter(d=>d).forEach(d=>a.append("index",d));let c=a.toString();l.search=c?`?${c}`:""}}return(!e||e===".")&&o.route.index&&(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(l.pathname=l.pathname==="/"?n:rr([n,l.pathname])),Bi(l)}function eb(e,t={}){let n=f.useContext(rw);Ne(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=pw("useViewTransitionState"),o=oa(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=fr(n.currentLocation.pathname,r)||n.currentLocation.pathname,i=fr(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Qu(o.pathname,i)!=null||Qu(o.pathname,l)!=null}[...A$];function tb({title:e,titleId:t,...n},r){return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?f.createElement("title",{id:t},e):null,f.createElement("path",{d:"M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-8.928 5.493a3 3 0 0 1-3.144 0L1.5 8.67Z"}),f.createElement("path",{d:"M22.5 6.908V6.75a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.158l9.714 5.978a1.5 1.5 0 0 0 1.572 0L22.5 6.908Z"}))}const nb=f.forwardRef(tb);function rb({title:e,titleId:t,...n},r){return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?f.createElement("title",{id:t},e):null,f.createElement("path",{d:"M21.721 12.752a9.711 9.711 0 0 0-.945-5.003 12.754 12.754 0 0 1-4.339 2.708 18.991 18.991 0 0 1-.214 4.772 17.165 17.165 0 0 0 5.498-2.477ZM14.634 15.55a17.324 17.324 0 0 0 .332-4.647c-.952.227-1.945.347-2.966.347-1.021 0-2.014-.12-2.966-.347a17.515 17.515 0 0 0 .332 4.647 17.385 17.385 0 0 0 5.268 0ZM9.772 17.119a18.963 18.963 0 0 0 4.456 0A17.182 17.182 0 0 1 12 21.724a17.18 17.18 0 0 1-2.228-4.605ZM7.777 15.23a18.87 18.87 0 0 1-.214-4.774 12.753 12.753 0 0 1-4.34-2.708 9.711 9.711 0 0 0-.944 5.004 17.165 17.165 0 0 0 5.498 2.477ZM21.356 14.752a9.765 9.765 0 0 1-7.478 6.817 18.64 18.64 0 0 0 1.988-4.718 18.627 18.627 0 0 0 5.49-2.098ZM2.644 14.752c1.682.971 3.53 1.688 5.49 2.099a18.64 18.64 0 0 0 1.988 4.718 9.765 9.765 0 0 1-7.478-6.816ZM13.878 2.43a9.755 9.755 0 0 1 6.116 3.986 11.267 11.267 0 0 1-3.746 2.504 18.63 18.63 0 0 0-2.37-6.49ZM12 2.276a17.152 17.152 0 0 1 2.805 7.121c-.897.23-1.837.353-2.805.353-.968 0-1.908-.122-2.805-.353A17.151 17.151 0 0 1 12 2.276ZM10.122 2.43a18.629 18.629 0 0 0-2.37 6.49 11.266 11.266 0 0 1-3.746-2.504 9.754 9.754 0 0 1 6.116-3.985Z"}))}const ob=f.forwardRef(rb);function lb({title:e,titleId:t,...n},r){return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?f.createElement("title",{id:t},e):null,f.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Z",clipRule:"evenodd"}))}const ib=f.forwardRef(lb);function ab({title:e,titleId:t,...n},r){return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
42currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?f.createElement("title",{id:t},e):null,f.createElement("path",{fillRule:"evenodd",d:"m11.54 22.351.07.04.028.016a.76.76 0 0 0 .723 0l.028-.015.071-.041a16.975 16.975 0 0 0 1.144-.742 19.58 19.58 0 0 0 2.683-2.282c1.944-1.99 3.963-4.98 3.963-8.827a8.25 8.25 0 0 0-16.5 0c0 3.846 2.02 6.837 3.963 8.827a19.58 19.58 0 0 0 2.682 2.282 16.975 16.975 0 0 0 1.145.742ZM12 13.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",clipRule:"evenodd"}))}const ub=f.forwardRef(ab);function sb({title:e,titleId:t,...n},r){return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?f.createElement("title",{id:t},e):null,f.createElement("path",{fillRule:"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z",clipRule:"evenodd"}))}const cb=f.forwardRef(sb),hw=({onSelectAddress:e,zipcode:t})=>{const n=f.useRef(null),r=f.useRef(null),o=f.useRef(!1),l=f.useRef(e),[i,a]=f.useState(t);f.useEffect(()=>{l.current=e},[e]);const u=async()=>{var c,d,m,p;if(!n.current||r.current||(o.current||((d=(c=window.google)==null?void 0:c.maps)!=null&&d.importLibrary&&await window.google.maps.importLibrary("places"),o.current=!0),!((p=(m=window.google)==null?void 0:m.maps)!=null&&p.places)))return;const s=new window.google.maps.places.Autocomplete(n.current,{types:["geocode"],componentRestrictions:{country:["us","ca"]}});r.current=s,s.addListener("place_changed",()=>{const g=s.getPlace();if(g.geometry){const{lat:y,lng:x}=g.geometry.location;a(g.formatted_address),l.current({address:g.formatted_address,coordinates:{lat:y(),lng:x()}})}else console.log("No details available for input: "+g.name)})};return f.useEffect(()=>()=>{var s,c;r.current&&((c=(s=window.google)==null?void 0:s.maps)!=null&&c.event)&&window.google.maps.event.clearInstanceListeners(r.current),r.current=null},[]),f.useEffect(()=>{a(t)},[t]),S.jsx(S.Fragment,{children:S.jsx("div",{className:"xl:px-6 px-4",children:S.jsxs("div",{className:"relative",children:[S.jsx("input",{type:"text",ref:n,placeholder:"Enter city name or zip code",className:"autocomplete-input peer block w-full border-0 py-1 text-gray-900 focus:ring-0 sm:text-sm/6",onFocus:u,onChange:s=>a(s.target.value),value:i}),S.jsx("div",{"aria-hidden":"true",className:"absolute inset-x-0 bottom-0 border-t border-gray-600 peer-focus:border-t-2 peer-focus:border-gray-400"}),S.jsx("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center",children:S.jsx(ib,{"aria-hidden":"true",className:"h-6 w-6 text-gray-600"})})]})})})},mw=typeof document<"u"?B.useLayoutEffect:()=>{};function fb(e){const t=f.useRef(null);return mw(()=>{t.current=e},[e]),f.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}const no=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},wo=e=>e&&"window"in e&&e.window===e?e:no(e).defaultView||window;function db(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function pb(e){return db(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let hb=!1;function Jp(){return hb}function vw(e,t){if(!Jp())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:pb(n)?n=n.host:n=n.parentNode}return!1}const md=(e=document)=>{var t;if(!Jp())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function gw(e){return Jp()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function mb(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function vb(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function yw(e){let t=null;return()=>(t==null&&(t=e()),t)}const gb=yw(function(){return vb(/^Mac/i)}),yb=yw(function(){return mb(/Android/i)});function ww(){let e=f.useRef(new Map),t=f.useCallback((o,l,i,a)=>{let u=a!=null&&a.once?(...s)=>{e.current.delete(i),i(...s)}:i;e.current.set(i,{type:l,eventTarget:o,fn:u,options:a}),o.addEventListener(l,u,a)},[]),n=f.useCallback((o,l,i,a)=>{var u;let s=((u=e.current.get(i))===null||u===void 0?void 0:u.fn)||i;o.removeEventListener(l,s,a),e.current.delete(i)},[]),r=f.useCallback(()=>{e.current.forEach((o,l)=>{n(o.eventTarget,o.type,l,o.options)})},[n]);return f.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function wb(e){return e.mozInputSource===0&&e.isTrusted?!0:yb()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function xw(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function xb(e,t){Object.defineProperty(e,"target",{value:t}
vendor: 4,569 bytes, line 42
42),Object.defineProperty(e,"currentTarget",{value:t})}function Ew(e){let t=f.useRef({isFocused:!1,observer:null});mw(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=fb(r=>{e==null||e(r)});return f.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r.target,l=i=>{if(t.current.isFocused=!1,o.disabled){let a=xw(i);n(a)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",l,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let a=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let Eb=!1,la=null,vd=new Set,yi=new Map,No=!1,gd=!1;const Sb={Tab:!0,Escape:!0};function eh(e,t){for(let n of vd)n(e,t)}function kb(e){return!(e.metaKey||!gb()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Xu(e){No=!0,kb(e)&&(la="keyboard",eh("keyboard",e))}function pl(e){la="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(No=!0,eh("pointer",e))}function Sw(e){wb(e)&&(No=!0,la="virtual")}function kw(e){e.target===window||e.target===document||Eb||!e.isTrusted||(!No&&!gd&&(la="virtual",eh("virtual",e)),No=!1,gd=!1)}function Cw(){No=!1,gd=!0}function yd(e){if(typeof window>"u"||typeof document>"u"||yi.get(wo(e)))return;const t=wo(e),n=no(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){No=!0,r.apply(this,arguments)},n.addEventListener("keydown",Xu,!0),n.addEventListener("keyup",Xu,!0),n.addEventListener("click",Sw,!0),t.addEventListener("focus",kw,!0),t.addEventListener("blur",Cw,!1),typeof PointerEvent<"u"&&(n.addEventListener("pointerdown",pl,!0),n.addEventListener("pointermove",pl,!0),n.addEventListener("pointerup",pl,!0)),t.addEventListener("beforeunload",()=>{$w(e)},{once:!0}),yi.set(t,{focus:r})}const $w=(e,t)=>{const n=wo(e),r=no(e);t&&r.removeEventListener("DOMContentLoaded",t),yi.has(n)&&(n.HTMLElement.prototype.focus=yi.get(n).focus,r.removeEventListener("keydown",Xu,!0),r.removeEventListener("keyup",Xu,!0),r.removeEventListener("click",Sw,!0),n.removeEventListener("focus",kw,!0),n.removeEventListener("blur",Cw,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",pl,!0),r.removeEventListener("pointermove",pl,!0),r.removeEventListener("pointerup",pl,!0)),yi.delete(n))};function Cb(e){const t=no(e);let n;return t.readyState!=="loading"?yd(e):(n=()=>{yd(e)},t.addEventListener("DOMContentLoaded",n)),()=>$w(e,n)}typeof document<"u"&&Cb();function bw(){return la!=="pointer"}const $b=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function bb(e,t,n){let r=no(n==null?void 0:n.target);const o=typeof window<"u"?wo(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,l=typeof window<"u"?wo(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?wo(n==null?void 0:n.target).HTMLElement:HTMLElement,a=typeof window<"u"?wo(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof o&&!$b.has(r.activeElement.type)||r.activeElement instanceof l||r.activeElement instanceof i&&r.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof a&&!Sb[n.key])}function Rb(e,t,n){yd(),f.useEffect(()=>{let r=(o,l)=>{bb(!!(n!=null&&n.isTextInput),o,l)&&e(bw())};return vd.add(r),()=>{vd.delete(r)}},t)}function Pb(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const l=f.useCallback(u=>{if(u.target===u.currentTarget)return r&&r(u),o&&o(!1),!0},[r,o]),i=Ew(l),a=f.useCallback(u=>{const s=no(u.target),c=s?md(s):md();u.target===u.currentTarget&&c===gw(u.nativeEvent)&&(n&&n(u),o&&o(!0),i(u))},[o,n,i]);return{focusProps:{onFocus:!t&&(n||o||r)?a:void 0,onBlur:!t&&(r||o)?l:void 0}}}function Tb(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,l=f.useRef({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:a}=ww(),u=f.useCallback(d=>{d.currentTarget.contains(d.target)&&l.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(l.current.isFocusWithin=!1,a(),n&&n(d),o&&o(!1))},[n,o,l,a]),s=Ew(u),c=f.useCallback(d=>
vendor: 4,469 bytes, line 42
42{if(!d.currentTarget.contains(d.target))return;const m=no(d.target),p=md(m);if(!l.current.isFocusWithin&&p===gw(d.nativeEvent)){r&&r(d),o&&o(!0),l.current.isFocusWithin=!0,s(d);let g=d.currentTarget;i(m,"focus",y=>{if(l.current.isFocusWithin&&!vw(g,y.target)){let x=new m.defaultView.FocusEvent("blur",{relatedTarget:y.target});xb(x,g);let v=xw(x);u(v)}},{capture:!0})}},[r,o,s,i,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:u}}}let wd=!1,Qc=0;function Ob(){wd=!0,setTimeout(()=>{wd=!1},50)}function Bv(e){e.pointerType==="touch"&&Ob()}function Mb(){if(!(typeof document>"u"))return typeof PointerEvent<"u"&&document.addEventListener("pointerup",Bv),Qc++,()=>{Qc--,!(Qc>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",Bv)}}function As(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[l,i]=f.useState(!1),a=f.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;f.useEffect(Mb,[]);let{addGlobalListener:u,removeAllGlobalListeners:s}=ww(),{hoverProps:c,triggerHoverEnd:d}=f.useMemo(()=>{let m=(y,x)=>{if(a.pointerType=x,o||x==="touch"||a.isHovered||!y.currentTarget.contains(y.target))return;a.isHovered=!0;let v=y.currentTarget;a.target=v,u(no(y.target),"pointerover",h=>{a.isHovered&&a.target&&!vw(a.target,h.target)&&p(h,h.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:v,pointerType:x}),n&&n(!0),i(!0)},p=(y,x)=>{let v=a.target;a.pointerType="",a.target=null,!(x==="touch"||!a.isHovered||!v)&&(a.isHovered=!1,s(),r&&r({type:"hoverend",target:v,pointerType:x}),n&&n(!1),i(!1))},g={};return typeof PointerEvent<"u"&&(g.onPointerEnter=y=>{wd&&y.pointerType==="mouse"||m(y,y.pointerType)},g.onPointerLeave=y=>{!o&&y.currentTarget.contains(y.target)&&p(y,y.pointerType)}),{hoverProps:g,triggerHoverEnd:p}},[t,n,r,o,a,u,s]);return f.useEffect(()=>{o&&d({currentTarget:a.target},a.pointerType)},[o]),{hoverProps:c,isHovered:l}}function ia(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=f.useRef({isFocused:!1,isFocusVisible:t||bw()}),[l,i]=f.useState(!1),[a,u]=f.useState(()=>o.current.isFocused&&o.current.isFocusVisible),s=f.useCallback(()=>u(o.current.isFocused&&o.current.isFocusVisible),[]),c=f.useCallback(p=>{o.current.isFocused=p,i(p),s()},[s]);Rb(p=>{o.current.isFocusVisible=p,s()},[],{isTextInput:n});let{focusProps:d}=Pb({isDisabled:r,onFocusChange:c}),{focusWithinProps:m}=Tb({isDisabled:!r,onFocusWithinChange:c});return{isFocused:l,isFocusVisible:a,focusProps:r?m:d}}var _b=Object.defineProperty,Nb=(e,t,n)=>t in e?_b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xc=(e,t,n)=>(Nb(e,typeof t!="symbol"?t+"":t,n),n);let Lb=class{constructor(){Xc(this,"current",this.detect()),Xc(this,"handoffState","pending"),Xc(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},bo=new Lb;function ro(e){var t,n;return bo.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(n=(t=e.current)==null?void 0:t.ownerDocument)!=null?n:document:null:document}function aa(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function gr(){let e=[],t={addEventListener(n,r,o,l){return n.addEventListener(r,o,l),t.add(()=>n.removeEventListener(r,o,l))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return aa(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,o){let l=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:o}),this.add(()=>{Object.assign(n.style,{[r]:l})})},group(n){let r=gr();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let o of e.splice(r,1))o()}},dispose(){for(let n of e.splice(0))n()}};return t}function Fl(){let[e]=f.useState(gr);return f.useEffect(()=>()=>
vendor: 10,473 bytes, lines 42-45
42e.dispose(),[e]),e}let ce=(e,t)=>{bo.isServer?f.useEffect(e,t):f.useLayoutEffect(e,t)};function vt(e){let t=f.useRef(e);return ce(()=>{t.current=e},[e]),t}let X=function(e){let t=vt(e);return B.useCallback((...n)=>t.current(...n),[t])};function Fb(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function Ab(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function Rw({disabled:e=!1}={}){let t=f.useRef(null),[n,r]=f.useState(!1),o=Fl(),l=X(()=>{t.current=null,r(!1),o.dispose()}),i=X(a=>{if(o.dispose(),t.current===null){t.current=a.currentTarget,r(!0);{let u=ro(a.currentTarget);o.addEventListener(u,"pointerup",l,!1),o.addEventListener(u,"pointermove",s=>{if(t.current){let c=Fb(s);r(Ab(c,t.current.getBoundingClientRect()))}},!1),o.addEventListener(u,"pointercancel",l,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:i,onPointerUp:l,onClick:l}}}let jb=f.createContext(void 0);function js(){return f.useContext(jb)}function xd(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function De(e,t,...n){if(e in t){let o=t[e];return typeof o=="function"?o(...n):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,De),r}var jn=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(jn||{}),Nr=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Nr||{});function Se(){let e=Ib();return f.useCallback(t=>Db({mergeRefs:e,...t}),[e])}function Db({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:l=!0,name:i,mergeRefs:a}){a=a??zb;let u=Pw(t,e);if(l)return Da(u,n,r,i,a);let s=o??0;if(s&2){let{static:c=!1,...d}=u;if(c)return Da(d,n,r,i,a)}if(s&1){let{unmount:c=!0,...d}=u;return De(c?0:1,{0(){return null},1(){return Da({...d,hidden:!0,style:{display:"none"}},n,r,i,a)}})}return Da(u,n,r,i,a)}function Da(e,t={},n,r,o){let{as:l=n,children:i,refName:a="ref",...u}=Zc(e,["unmount","static"]),s=e.ref!==void 0?{[a]:e.ref}:{},c=typeof i=="function"?i(t):i;"className"in u&&u.className&&typeof u.className=="function"&&(u.className=u.className(t)),u["aria-labelledby"]&&u["aria-labelledby"]===u.id&&(u["aria-labelledby"]=void 0);let d={};if(t){let m=!1,p=[];for(let[g,y]of Object.entries(t))typeof y=="boolean"&&(m=!0),y===!0&&p.push(g.replace(/([A-Z])/g,x=>`-${x.toLowerCase()}`));if(m){d["data-headlessui-state"]=p.join(" ");for(let g of p)d[`data-${g}`]=""}}if(l===f.Fragment&&(Object.keys(Rr(u)).length>0||Object.keys(Rr(d)).length>0))if(!f.isValidElement(c)||Array.isArray(c)&&c.length>1){if(Object.keys(Rr(u)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Rr(u)).concat(Object.keys(Rr(d))).map(m=>`  - ${m}`).join(`
43`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(m=>`  - ${m}`).join(`
44`)].join(`
45`))}else{let m=c.props,p=m==null?void 0:m.className,g=typeof p=="function"?(...v)=>xd(p(...v),u.className):xd(p,u.className),y=g?{className:g}:{},x=Pw(c.props,Rr(Zc(u,["ref"])));for(let v in d)v in x&&delete d[v];return f.cloneElement(c,Object.assign({},x,d,s,{ref:o(Bb(c),s.ref)},y))}return f.createElement(l,Object.assign({},Zc(u,["ref"]),l!==f.Fragment&&s,l!==f.Fragment&&d),c)}function Ib(){let e=f.useRef([]),t=f.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function zb(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function Pw(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[o=>{var l;return(l=o==null?void 0:o.preventDefault)==null?void 0:l.call(o)}]);for(let r in n)Object.assign(t,{[r](o,...l){let i=n[r];for(let a of i){if((o instanceof Event||(o==null?void 0:o.nativeEvent)instanceof Event)&&o.defaultPrevented)return;a(o,...l)}}});return t}function Lo(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];for(let r in n)Object.assign(t,{[r](...o){let l=n[r];for(let i of l)i==null||i(...o)}});return t}function fe(e){var t;return Object.assign(f.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Rr(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Zc(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Bb(e){return B.version.split(".")[0]>="19"?e.props.ref:e.ref}function Hb(e,t,n){let[r,o]=f.useState(n),l=e!==void 0,i=f.useRef(l),a=f.useRef(!1),u=f.useRef(!1);return l&&!i.current&&!a.current?(a.current=!0,i.current=l,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!l&&i.current&&!u.current&&(u.current=!0,i.current=l,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[l?e:r,X(s=>(l||o(s),t==null?void 0:t(s)))]}function Ub(e){let[t]=f.useState(e);return t}function Tw(e={},t=null,n=[]){for(let[r,o]of Object.entries(e))Mw(n,Ow(t,r),o);return n}function Ow(e,t){return e?e+"["+t+"]":t}function Mw(e,t,n){if(Array.isArray(n))for(let[r,o]of n.entries())Mw(e,Ow(t,r.toString()),o);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):Tw(n,t,e)}function Vb(e){var t,n;let r=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(r){for(let o of r.elements)if(o!==e&&(o.tagName==="INPUT"&&o.type==="submit"||o.tagName==="BUTTON"&&o.type==="submit"||o.nodeName==="INPUT"&&o.type==="image")){o.click();return}(n=r.requestSubmit)==null||n.call(r)}}let Wb="span";var Dn=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Dn||{});function Gb(e,t){var n;let{features:r=1,...o}=e,l={ref:t,"aria-hidden":(r&2)===2?!0:(n=o["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Se()({ourProps:l,theirProps:o,slot:{},defaultTag:Wb,name:"Hidden"})}let In=fe(Gb),Yb=f.createContext(null);function Kb({children:e}){let t=f.useContext(Yb);if(!t)return B.createElement(B.Fragment,null,e);let{target:n}=t;return n?An.createPortal(B.createElement(B.Fragment,null,e),n):null}function Qb({data:e,form:t,disabled:n,onReset:r,overrides:o}){let[l,i]=f.useState(null),a=Fl();return f.useEffect(()=>{if(r&&l)return a.addEventListener(l,"reset",r)},[l,t,r]),B.createElement(Kb,null,B.createElement(Xb,{setForm:i,formId:t}),Tw(e).map(([u,s])=>B.createElement(In,{features:Dn.Hidden,...Rr({key:u,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:u,value:s,...o})})))}function Xb({setForm:e,formId:t}){return f.useEffect(()=>{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:B.createElement(In,{features:Dn.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:n=>{if(!n)return;let r=n.closest("form");r&&e(r)}})}let Zb=f.createContext(void 0);function _w(){return f.useContext(Zb)}function Nw(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function or(e){return Nw(e)&&"tagName"in e}function Lt(e){return or(e)&&"accessKey"in e}function er(e){return or(e)&&"tabIndex"in e}function qb(e){return or(e)&&"style"in e}function Jb(e){return Lt(e)&&e.nodeName==="IFRAME"}function Lw(e){return Lt(e)&&e.nodeName==="INPUT"}function Hv(e){return Lt(e)&&e.nodeName==="LABEL"}function eR(e){return Lt(e)&&e.nodeName==="FIELDSET"}function Fw(e){return Lt(e)&&e.nodeName==="LEGEND"}function tR(e){return or(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}function Ds(e){let t=e.parentElement,n=null;for(;t&&!eR(t);)Fw(t)&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&nR(n)?!1:r}function nR(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(Fw(t))return!1;t=t.previousElementSibling}return!0}let Aw=Symbol();function jw(e,t=!0){return Object.assign(e,{[Aw]:t})}function Re(...e){let t=f.useRef(e);f.useEffect(()=>{t.current=e},[e]);let n=X(r=>{for(let o of t.current)o!=null&&(typeof o=="function"?o(r):o.current=r)});return e.every(r=>r==null||(r==null?void 0:r[Aw]))?void 0:n}let Is=f.createContext(null);Is.displayName="DescriptionContext";function Dw(){let e=f.useContext(Is);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Dw),t}return e}function rR(){var e,t;return(t=(e=f.useContext(Is))==null?void 0:e.value)!=null?t:void 0}function th(){let[e,t]=f.useState([]);return[e.length>0?e.join(" "):void 0,f.useMemo(()=>function(n){let r=X(l=>(t(i=>[...i,l]),()=>t(i=>{let a=i.slice(),u=a.indexOf(l);return u!==-1&&a.splice(u,1),a}))),o=f.useMemo(()=>({register:r,slot:n.slot,name:n.name,props:n.props,value:n.value}),[r,n.slot,n.name,n.props,n.value]);return B.createElement(Is.Provider,{value:o},n.children)},[t])]}let oR="p";function lR(e,t){let n=f.useId(),r=js(),{id:o=`headlessui-description-${n}`,...l}=e,i=Dw(),a=Re(t);ce(()=>i.register(o),[o,i.register]);let u=r||!1,s=f.useMemo(()=>({...i.slot,disabled:u}),[i.slot,u]),c={ref:a,...i.props,id:o};return Se()({ourProps:c,theirProps:l,slot:s,defaultTag:oR,name:i.name||"Description"})}let iR=fe(lR),Iw=Object.assign(iR,{});
vendor: 11,282 bytes, lines 45-53
45var Ce=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Ce||{});let zs=f.createContext(null);zs.displayName="LabelContext";function zw(){let e=f.useContext(zs);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,zw),t}return e}function Bw(e){var t,n,r;let o=(n=(t=f.useContext(zs))==null?void 0:t.value)!=null?n:void 0;return((r=void 0)!=null?r:0)>0?[o,...e].filter(Boolean).join(" "):o}function Hw({inherit:e=!1}={}){let t=Bw(),[n,r]=f.useState([]),o=e?[t,...n].filter(Boolean):n;return[o.length>0?o.join(" "):void 0,f.useMemo(()=>function(l){let i=X(u=>(r(s=>[...s,u]),()=>r(s=>{let c=s.slice(),d=c.indexOf(u);return d!==-1&&c.splice(d,1),c}))),a=f.useMemo(()=>({register:i,slot:l.slot,name:l.name,props:l.props,value:l.value}),[i,l.slot,l.name,l.props,l.value]);return B.createElement(zs.Provider,{value:a},l.children)},[r])]}let aR="label";function uR(e,t){var n;let r=f.useId(),o=zw(),l=_w(),i=js(),{id:a=`headlessui-label-${r}`,htmlFor:u=l??((n=o.props)==null?void 0:n.htmlFor),passive:s=!1,...c}=e,d=Re(t);ce(()=>o.register(a),[a,o.register]);let m=X(x=>{let v=x.currentTarget;if(!(x.target!==x.currentTarget&&tR(x.target))&&(Hv(v)&&x.preventDefault(),o.props&&"onClick"in o.props&&typeof o.props.onClick=="function"&&o.props.onClick(x),Hv(v))){let h=document.getElementById(v.htmlFor);if(h){let w=h.getAttribute("disabled");if(w==="true"||w==="")return;let E=h.getAttribute("aria-disabled");if(E==="true"||E==="")return;(Lw(h)&&(h.type==="file"||h.type==="radio"||h.type==="checkbox")||h.role==="radio"||h.role==="checkbox"||h.role==="switch")&&h.click(),h.focus({preventScroll:!0})}}}),p=i||!1,g=f.useMemo(()=>({...o.slot,disabled:p}),[o.slot,p]),y={ref:d,...o.props,id:a,htmlFor:u,onClick:m};return s&&("onClick"in y&&(delete y.htmlFor,delete y.onClick),"onClick"in c&&delete c.onClick),Se()({ourProps:y,theirProps:c,slot:g,defaultTag:u?aR:"div",name:o.name||"Label"})}let sR=fe(uR),cR=Object.assign(sR,{}),fR=f.createContext(()=>{});function nh({value:e,children:t}){return B.createElement(fR.Provider,{value:e},t)}function dR(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function pR(e=dR){return f.useCallback((t,n)=>{if(typeof e=="string"){let r=e;return(t==null?void 0:t[r])===(n==null?void 0:n[r])}return e(t,n)},[e])}function hR(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function mR(e,t=!1){let[n,r]=f.useReducer(()=>({}),{}),o=f.useMemo(()=>hR(e),[e,n]);return ce(()=>{if(!e)return;let l=new ResizeObserver(r);return l.observe(e),()=>{l.disconnect()}},[e]),t?{width:`${o.width}px`,height:`${o.height}px`}:o}let Uw=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};var vR=Object.defineProperty,gR=(e,t,n)=>t in e?vR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yR=(e,t,n)=>(gR(e,t+"",n),n),Vw=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Jt=(e,t,n)=>(Vw(e,t,"read from private field"),n?n.call(e):t.get(e)),qc=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Uv=(e,t,n,r)=>(Vw(e,t,"write to private field"),t.set(e,n),n),bn,ri,oi;let Ww=class{constructor(t){qc(this,bn,{}),qc(this,ri,new Uw(()=>new Set)),qc(this,oi,new Set),yR(this,"disposables",gr()),Uv(this,bn,t)}dispose(){this.disposables.dispose()}get state(){return Jt(this,bn)}subscribe(t,n){let r={selector:t,callback:n,current:t(Jt(this,bn))};return Jt(this,oi).add(r),this.disposables.add(()=>{Jt(this,oi).delete(r)})}on(t,n){return Jt(this,ri).get(t).add(n),this.disposables.add(()=>{Jt(this,ri).get(t).delete(n)})}send(t){let n=this.reduce(Jt(this,bn),t);if(n!==Jt(this,bn)){Uv(this,bn,n);for(let r of Jt(this,oi)){let o=r.selector(Jt(this,bn));Gw(r.current,o)||(r.current=o,r.callback(o))}for(let r of Jt(this,ri).get(t.type))r(Jt(this,bn),t)}}};bn=new WeakMap,ri=new WeakMap,oi=new WeakMap;function Gw(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:Jc(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:Jc(e.entries(),t.entries()):Vv(e)&&Vv(t)?Jc(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function Jc(e,t){do{let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}while(!0)}function Vv(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var wR=Object.defineProperty,xR=(e,t,n)=>t in e?wR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wv=(e,t,n)=>(xR(e,typeof t!="symbol"?t+"":t,n),n),ER=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(ER||{});let SR={0(e,t){let n=t.id,r=e.stack,o=e.stack.indexOf(n);if(o!==-1){let l=e.stack.slice();return l.splice(o,1),l.push(n),r=l,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(r===-1)return e;let o=e.stack.slice();return o.splice(r,1),{...e,stack:o}}},kR=class Yw extends Ww{constructor(){super(...arguments),Wv(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),Wv(this,"selectors",{isTop:(t,n)=>t.stack[t.stack.length-1]===n,inStack:(t,n)=>t.stack.includes(n)})}static new(){return new Yw({stack:[]})}reduce(t,n){return De(n.type,SR,t,n)}};const rh=new Uw(()=>kR.new());var Kw={exports:{}},Qw={};/**
46 * @license React
47 * use-sync-external-store-with-selector.production.js
48 *
49 * Copyright (c) Meta Platforms, Inc. and affiliates.
50 *
51 * This source code is licensed under the MIT license found in the
52 * LICENSE file in the root directory of this source tree.
53 */var ua=f;function CR(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var $R=typeof Object.is=="function"?Object.is:CR,bR=ua.useSyncExternalStore,RR=ua.useRef,PR=ua.useEffect,TR=ua.useMemo,OR=ua.useDebugValue;Qw.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var l=RR(null);if(l.current===null){var i={hasValue:!1,value:null};l.current=i}else i=l.current;l=TR(function(){function u(p){if(!s){if(s=!0,c=p,p=r(p),o!==void 0&&i.hasValue){var g=i.value;if(o(g,p))return d=g}return d=p}if(g=d,$R(c,p))return g;var y=r(p);return o!==void 0&&o(g,y)?(c=p,g):(c=p,d=y)}var s=!1,c,d,m=n===void 0?null:n;return[function(){return u(t())},m===null?void 0:function(){return u(m())}]},[t,n,r,o]);var a=bR(e,l[0],l[1]);return PR(function(){i.hasValue=!0,i.value=a},[a]),OR(a),a};Kw.exports=Qw;var MR=Kw.exports;function Yr(e,t,n=Gw){return MR.useSyncExternalStoreWithSelector(X(r=>e.subscribe(_R,r)),X(()=>e.state),X(()=>e.state),X(t),n)}function _R(e){return e}function sa(e,t){let n=f.useId(),r=rh.get(t),[o,l]=Yr(r,f.useCallback(i=>[r.selectors.isTop(i,n),r.selectors.inStack(i,n)],[r,n]));return ce(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),e?l?o:!0:!1}let Ed=new Map,wi=new Map;function Gv(e){var t;let n=(t=wi.get(e))!=null?t:0;return wi.set(e,n+1),n!==0?()=>Yv(e):(Ed.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>Yv(e))}function Yv(e){var t;let n=(t=wi.get(e))!=null?t:1;if(n===1?wi.delete(e):wi.set(e,n-1),n!==1)return;let r=Ed.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,Ed.delete(e))}function NR(e,{allowed:t,disallowed:n}={}){let r=sa(e,"inert-others");ce(()=>{var o,l;if(!r)return;let i=gr();for(let u of(o=n==null?void 0:n())!=null?o:[])u&&i.add(Gv(u));let a=(l=t==null?void 0:t())!=null?l:[];for(let u of a){if(!u)continue;let s=ro(u);if(!s)continue;let c=u.parentElement;for(;c&&c!==s.body;){for(let d of c.children)a.some(m=>d.contains(m))||i.add(Gv(d));c=c.parentElement}}return i.dispose},[r,t,n])}function Xw(e,t,n){let r=vt(o=>{let l=o.getBoundingClientRect();l.x===0&&l.y===0&&l.width===0&&l.height===0&&n()});f.useEffect(()=>{if(!e)return;let o=t===null?null:Lt(t)?t:t.current;if(!o)return;let l=gr();if(typeof ResizeObserver<"u"){let i=new ResizeObserver(()=>r.current(o));i.observe(o),l.add(()=>i.disconnect())}if(typeof IntersectionObserver<"u"){let i=new IntersectionObserver(()=>r.current(o));i.observe(o),l.add(()=>i.disconnect())}return()=>l.dispose()},[t,r,e])}let Zu=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),LR=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var ae=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(ae||{}),rn=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(rn||{}),FR=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(FR||{});function Bs(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Zu)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function AR(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(LR)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var oh=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(oh||{});function Zw(e,t=0){var n;return e===((n=ro(e))==null?void 0:n.body)?!1:De(t,{0(){return e.matches(Zu)},1(){let r=e;for(;r!==null;){if(r.matches(Zu))return!0;r=r.parentElement}return!1}})}var jR=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(jR||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function lr(e){e==null||e.focus({preventScroll:!0})}let DR=["textarea","input"].join(",");function IR(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,DR))!=null?n:!1}function xo(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),l=t(r);if(o===null||l===null)return 0;let i=o.compareDocumentPosition(l);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Be(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?n?xo(e):e:t&64?AR(e):Bs(e);o.length>0&&i.length>1&&(i=i.filter(p=>!o.some(g=>g!=null&&"current"in g?(g==null?void 0:g.current)===p:g===p))),r=r??l.activeElement;let a=(()=>
vendor: 5,809 bytes, line 53
53{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,i.indexOf(r))-1;if(t&4)return Math.max(0,i.indexOf(r))+1;if(t&8)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=t&32?{preventScroll:!0}:{},c=0,d=i.length,m;do{if(c>=d||c+d<=0)return 0;let p=u+c;if(t&16)p=(p+d)%d;else{if(p<0)return 3;if(p>=d)return 1}m=i[p],m==null||m.focus(s),c+=a}while(m!==l.activeElement);return t&6&&IR(m)&&m.select(),2}function qw(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function zR(){return/Android/gi.test(window.navigator.userAgent)}function Kv(){return qw()||zR()}function Ia(e,t,n,r){let o=vt(n);f.useEffect(()=>{if(!e)return;function l(i){o.current(i)}return document.addEventListener(t,l,r),()=>document.removeEventListener(t,l,r)},[e,t,r])}function Jw(e,t,n,r){let o=vt(n);f.useEffect(()=>{if(!e)return;function l(i){o.current(i)}return window.addEventListener(t,l,r),()=>window.removeEventListener(t,l,r)},[e,t,r])}const Qv=30;function ex(e,t,n){let r=vt(n),o=f.useCallback(function(a,u){if(a.defaultPrevented)return;let s=u(a);if(s===null||!s.getRootNode().contains(s)||!s.isConnected)return;let c=function d(m){return typeof m=="function"?d(m()):Array.isArray(m)||m instanceof Set?m:[m]}(t);for(let d of c)if(d!==null&&(d.contains(s)||a.composed&&a.composedPath().includes(d)))return;return!Zw(s,oh.Loose)&&s.tabIndex!==-1&&a.preventDefault(),r.current(a,s)},[r,t]),l=f.useRef(null);Ia(e,"pointerdown",a=>{var u,s;Kv()||(l.current=((s=(u=a.composedPath)==null?void 0:u.call(a))==null?void 0:s[0])||a.target)},!0),Ia(e,"pointerup",a=>{if(Kv()||!l.current)return;let u=l.current;return l.current=null,o(a,()=>u)},!0);let i=f.useRef({x:0,y:0});Ia(e,"touchstart",a=>{i.current.x=a.touches[0].clientX,i.current.y=a.touches[0].clientY},!0),Ia(e,"touchend",a=>{let u={x:a.changedTouches[0].clientX,y:a.changedTouches[0].clientY};if(!(Math.abs(u.x-i.current.x)>=Qv||Math.abs(u.y-i.current.y)>=Qv))return o(a,()=>er(a.target)?a.target:null)},!0),Jw(e,"blur",a=>o(a,()=>Jb(window.document.activeElement)?window.document.activeElement:null),!0)}function Kr(...e){return f.useMemo(()=>ro(...e),[...e])}function lh(e,t,n,r){let o=vt(n);f.useEffect(()=>{e=e??window;function l(i){o.current(i)}return e.addEventListener(t,l,r),()=>e.removeEventListener(t,l,r)},[e,t,r])}function tx(e,t){return f.useMemo(()=>{var n;if(e.type)return e.type;let r=(n=e.as)!=null?n:"button";if(typeof r=="string"&&r.toLowerCase()==="button"||(t==null?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function BR(e){return f.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function HR(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...l){let i=t[o].call(n,...l);i&&(n=i,r.forEach(a=>a()))}}}function UR(){let e;return{before({doc:t}){var n;let r=t.documentElement,o=(n=t.defaultView)!=null?n:window;e=Math.max(0,o.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),l=Math.max(0,e-o);n.style(r,"paddingRight",`${l}px`)}}}function VR(){return qw()?{before({doc:e,d:t,meta:n}){function r(o){return n.containers.flatMap(l=>l()).some(l=>l.contains(o))}t.microTask(()=>{var o;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let a=gr();a.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>a.dispose()))}let l=(o=window.scrollY)!=null?o:window.pageYOffset,i=null;t.addEventListener(e,"click",a=>{if(er(a.target))try{let u=a.target.closest("a");if(!u)return;let{hash:s}=new URL(u.href),c=e.querySelector(s);er(c)&&!r(c)&&(i=c)}catch{}},!0),t.addEventListener(e,"touchstart",a=>{if(er(a.target)&&qb(a.target))if(r(a.target)){let u=a.target;for(;u.parentElement&&r(u.parentElement);)u=u.parentElement;t.style(u,"overscrollBehavior","contain")}else t.style(a.target,"touchAction","none")}),t.addEventListener(e,"touchmove",a=>{if(er(a.target)){if(Lw(a.target))return;if(r(a.target)){let u=a.target;for(;u.parentElement&&u.dataset.headlessuiPortal!==""&&!(u.scrollHeight>u.clientHeight||u.scrollWidth>u.clientWidth);)u=u.parentElement;u.dataset.headlessuiPortal===""&&a.preventDefault()}else a.preventDefault()}},{passive:!1}),t.add(()=>{var a;let u=(a=window.scrollY)!=null?a:window.pageYOffset;l!==u&&window.scrollTo(0,l),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{}}function WR(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function GR(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Eo=HR(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:gr(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:GR(n)},o=[VR(),UR(),WR()];o.forEach(({before:l})=>l==null?void 0:l(r)),o.forEach(({after:l})=>l==null?void 0:l(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Eo.subscribe(()=>{let e=Eo.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&Eo.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Eo.dispatch("TEARDOWN",n)}});function YR(e,t,n=()=>({containers:[]})){let r=BR(Eo),o=t?r.get(t):void 0,l=o?o.count>0:!1;return ce(()=>{if(!(!t||!e))return Eo.dispatch("PUSH",t,n),()=>Eo.dispatch("POP",t,n)},[e,t]),l}function nx(e,t,n=()=>[document.body]){let r=sa(e,"scroll-lock");YR(r,t,o=>{var l;
vendor: 19,472 bytes, lines 53-54
53return{containers:[...(l=o.containers)!=null?l:[],n]}})}function KR(e=0){let[t,n]=f.useState(e),r=f.useCallback(u=>n(u),[t]),o=f.useCallback(u=>n(s=>s|u),[t]),l=f.useCallback(u=>(t&u)===u,[t]),i=f.useCallback(u=>n(s=>s&~u),[n]),a=f.useCallback(u=>n(s=>s^u),[n]);return{flags:t,setFlag:r,addFlag:o,hasFlag:l,removeFlag:i,toggleFlag:a}}var QR={},Xv,Zv;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((Xv=process==null?void 0:QR)==null?void 0:Xv.NODE_ENV)==="test"&&typeof((Zv=Element==null?void 0:Element.prototype)==null?void 0:Zv.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
54`)),[]});var XR=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(XR||{});function ih(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function ah(e,t,n,r){let[o,l]=f.useState(n),{hasFlag:i,addFlag:a,removeFlag:u}=KR(e&&o?3:0),s=f.useRef(!1),c=f.useRef(!1),d=Fl();return ce(()=>{var m;if(e){if(n&&l(!0),!t){n&&a(3);return}return(m=r==null?void 0:r.start)==null||m.call(r,n),ZR(t,{inFlight:s,prepare(){c.current?c.current=!1:c.current=s.current,s.current=!0,!c.current&&(n?(a(3),u(4)):(a(4),u(2)))},run(){c.current?n?(u(3),a(4)):(u(4),a(3)):n?u(1):a(1)},done(){var p;c.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(s.current=!1,u(7),n||l(!1),(p=r==null?void 0:r.end)==null||p.call(r,n))}})}},[e,n,t,d]),e?[o,{closed:i(1),enter:i(2),leave:i(4),transition:i(2)||i(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function ZR(e,{prepare:t,run:n,done:r,inFlight:o}){let l=gr();return JR(e,{prepare:t,inFlight:o}),l.nextFrame(()=>{n(),l.requestAnimationFrame(()=>{l.add(qR(e,r))})}),l.dispose}function qR(e,t){var n,r;let o=gr();if(!e)return o.dispose;let l=!1;o.add(()=>{l=!0});let i=(r=(n=e.getAnimations)==null?void 0:n.call(e).filter(a=>a instanceof CSSTransition))!=null?r:[];return i.length===0?(t(),o.dispose):(Promise.allSettled(i.map(a=>a.finished)).then(()=>{l||t()}),o.dispose)}function JR(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}function uh(e,t){let n=f.useRef([]),r=X(e);f.useEffect(()=>{let o=[...n.current];for(let[l,i]of t.entries())if(n.current[l]!==i){let a=r(t,o);return n.current=t,a}},[r,...t])}function Hs(){return typeof window<"u"}function Al(e){return rx(e)?(e.nodeName||"").toLowerCase():"#document"}function Yt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Un(e){var t;return(t=(rx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function rx(e){return Hs()?e instanceof Node||e instanceof Yt(e).Node:!1}function gt(e){return Hs()?e instanceof Element||e instanceof Yt(e).Element:!1}function zn(e){return Hs()?e instanceof HTMLElement||e instanceof Yt(e).HTMLElement:!1}function qv(e){return!Hs()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Yt(e).ShadowRoot}function ca(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Cn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function eP(e){return["table","td","th"].includes(Al(e))}function Us(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function sh(e){const t=ch(),n=gt(e)?Cn(e):e;return["transform","translate","scale","rotate","perspective"].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)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function tP(e){let t=Qr(e);for(;zn(t)&&!Sl(t);){if(sh(t))return t;if(Us(t))return null;t=Qr(t)}return null}function ch(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Sl(e){return["html","body","#document"].includes(Al(e))}function Cn(e){return Yt(e).getComputedStyle(e)}function Vs(e){return gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Qr(e){if(Al(e)==="html")return e;const t=e.assignedSlot||e.parentNode||qv(e)&&e.host||Un(e);return qv(t)?t.host:t}function ox(e){const t=Qr(e);return Sl(t)?e.ownerDocument?e.ownerDocument.body:e.body:zn(t)&&ca(t)?t:ox(t)}function Hi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=ox(e),l=o===((r=e.ownerDocument)==null?void 0:r.body),i=Yt(o);if(l){const a=Sd(i);return t.concat(i,i.visualViewport||[],ca(o)?o:[],a&&n?Hi(a):[])}return t.concat(o,Hi(o,[],n))}function Sd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nP(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}const Fo=Math.min,st=Math.max,Ui=Math.round,za=Math.floor,Ln=e=>({x:e,y:e}),rP={left:"right",right:"left",bottom:"top",top:"bottom"},oP={start:"end",end:"start"};function Jv(e,t,n){return st(e,Fo(t,n))}function jl(e,t){return typeof e=="function"?e(t):e}function Xr(e){return e.split("-")[0]}function fa(e){return e.split("-")[1]}function lx(e){return e==="x"?"y":"x"}function ix(e){return e==="y"?"height":"width"}function tr(e){return["top","bottom"].includes(Xr(e))?"y":"x"}function ax(e){return lx(tr(e))}function lP(e,t,n){n===void 0&&(n=!1);const r=fa(e),o=ax(e),l=ix(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[l]>t.floating[l]&&(i=qu(i)),[i,qu(i)]}function iP(e){const t=qu(e);return[kd(e),t,kd(t)]}function kd(e){return e.replace(/start|end/g,t=>oP[t])}function aP(e,t,n){const r=["left","right"],o=["right","left"],l=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?l:i;default:return[]}}function uP(e,t,n,r){const o=fa(e);let l=aP(Xr(e),n==="start",r);return o&&(l=l.map(i=>i+"-"+o),t&&(l=l.concat(l.map(kd)))),l}function qu(e){return e.replace(/left|right|bottom|top/g,t=>rP[t])}function sP(e){return{top:0,right:0,bottom:0,left:0,...e}}function cP(e){return typeof e!="number"?sP(e):{top:e,right:e,bottom:e,left:e}}function Ju(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 eg(e,t,n){let{reference:r,floating:o}=e;const l=tr(t),i=ax(t),a=ix(i),u=Xr(t),s=l==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,m=r[a]/2-o[a]/2;let p;switch(u){case"top":p={x:c,y:r.y-o.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(fa(t)){case"start":p[i]-=m*(n&&s?-1:1);break;case"end":p[i]+=m*(n&&s?-1:1);break}return p}const fP=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:l=[],platform:i}=n,a=l.filter(Boolean),u=await(i.isRTL==null?void 0:i.isRTL(t));let s=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=eg(s,r,u),m=r,p={},g=0;for(let y=0;y<a.length;y++){const{name:x,fn:v}=a[y],{x:h,y:w,data:E,reset:k}=await v({x:c,y:d,initialPlacement:r,placement:m,strategy:o,middlewareData:p,rects:s,platform:i,elements:{reference:e,floating:t}});c=h??c,d=w??d,p={...p,[x]:{...p[x],...E}},k&&g<=50&&(g++,typeof k=="object"&&(k.placement&&(m=k.placement),k.rects&&(s=k.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:c,y:d}=eg(s,m,u)),y=-1)}return{x:c,y:d,placement:m,strategy:o,middlewareData:p}};async function Ws(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:l,rects:i,elements:a,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:m=!1,padding:p=0}=jl(t,e),g=cP(p),x=a[m?d==="floating"?"reference":"floating":d],v=Ju(await l.getClippingRect({element:(n=await(l.isElement==null?void 0:l.isElement(x)))==null||n?x:x.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(a.floating)),boundary:s,rootBoundary:c,strategy:u})),h=d==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,w=await(l.getOffsetParent==null?void 0:l.getOffsetParent(a.floating)),E=await(l.isElement==null?void 0:l.isElement(w))?await(l.getScale==null?void 0:l.getScale(w))||{x:1,y:1}:{x:1,y:1},k=Ju(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:h,offsetParent:w,strategy:u}):h);return{top:(v.top-k.top+g.top)/E.y,bottom:(k.bottom-v.bottom+g.bottom)/E.y,left:(v.left-k.left+g.left)/E.x,right:(k.right-v.right+g.right)/E.x}}const dP=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:l,rects:i,initialPlacement:a,platform:u,elements:s}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...x}=jl(e,t);if((n=l.arrow)!=null&&n.alignmentOffset)return{};const v=Xr(o),h=tr(a),w=Xr(a)===a,E=await(u.isRTL==null?void 0:u.isRTL(s.floating)),k=m||(w||!y?[qu(a)]:iP(a)),C=g!=="none";!m&&C&&k.push(...uP(a,y,g,E));const $=[a,...k],R=await Ws(t,x),O=[];let b=((r=l.flip)==null?void 0:r.overflows)||[];if(c&&O.push(R[v]),d){const F=lP(o,i,E);O.push(R[F[0]],R[F[1]])}if(b=[...b,{placement:o,overflows:O}],!O.every(F=>F<=0)){var T,_;const F=(((T=l.flip)==null?void 0:T.index)||0)+1,G=$[F];if(G&&(!(d==="alignment"?h!==tr(G):!1)||b.every(P=>P.overflows[0]>0&&tr(P.placement)===h)))return{data:{index:F,overflows:b},reset:{placement:G}};let j=(_=b.filter(I=>I.overflows[0]<=0).sort((I,P)=>I.overflows[1]-P.overflows[1])[0])==null?void 0:_.placement;if(!j)switch(p){case"bestFit":{var L;const I=(L=b.filter(P=>{if(C){const M=tr(P.placement);return M===h||M==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(M=>M>0).reduce((M,N)=>M+N,0)]).sort((P,M)=>P[1]-M[1])[0])==null?void 0:L[0];I&&(j=I);break}case"initialPlacement":j=a;break}if(o!==j)return{reset:{placement:j}}}return{}}}};async function pP(e,t){const{placement:n,platform:r,elements:o}=e,l=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Xr(n),a=fa(n),u=tr(n)==="y",s=["left","top"].includes(i)?-1:1,c=l&&u?-1:1,d=jl(t,e);let{mainAxis:m,crossAxis:p,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"&&(p=a==="end"?g*-1:g),u?{x:p*c,y:m*s}:{x:m*s,y:p*c}}const hP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:l,placement:i,middlewareData:a}=t,u=await pP(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:l+u.y,data:{...u,placement:i}}}}},mP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:l=!0,crossAxis:i=!1,limiter:a={fn:x=>{let{x:v,y:h}=x;return{x:v,y:h}}},...u}=jl(e,t),s={x:n,y:r},c=await Ws(t,u),d=tr(Xr(o)),m=lx(d);let p=s[m],g=s[d];if(l){const x=m==="y"?"top":"left",v=m==="y"?"bottom":"right",h=p+c[x],w=p-c[v];p=Jv(h,p,w)}if(i){const x=d==="y"?"top":"left",v=d==="y"?"bottom":"right",h=g+c[x],w=g-c[v];g=Jv(h,g,w)}const y=a.fn({...t,[m]:p,[d]:g});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[m]:l,[d]:i}}}}}},vP=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:l,platform:i,elements:a}=t,{apply:u=()=>{},...s}=jl(e,t),c=await Ws(t,s),d=Xr(o),m=fa(o),p=tr(o)==="y",{width:g,height:y}=l.floating;let x,v;d==="top"||d==="bottom"?(x=d,v=m===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(v=d,x=m==="end"?"top":"bottom");const h=y-c.top-c.bottom,w=g-c.left-c.right,E=Fo(y-c[x],h),k=Fo(g-c[v],w),C=!t.middlewareData.shift;let $=E,R=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&($=h),C&&!m){const b=st(c.left,0),T=st(c.right,0),_=st(c.top,0),L=st(c.bottom,0);p?R=g-2*(b!==0||T!==0?b+T:st(c.left,c.right)):$=y-2*(_!==0||L!==0?_+L:st(c.top,c.bottom))}await u({...t,availableWidth:R,availableHeight:$});const O=await i.getDimensions(a.floating);return g!==O.width||y!==O.height?{reset:{rects:!0}}:{}}}};function ux(e){const t=Cn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=zn(e),l=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=Ui(n)!==l||Ui(r)!==i;return a&&(n=l,r=i),{width:n,height:r,$:a}}function fh(e){return gt(e)?e:e.contextElement}function hl(e){const t=fh(e);if(!zn(t))return Ln(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:l}=ux(t);let i=(l?Ui(n.width):n.width)/r,a=(l?Ui(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const gP=Ln(0);function sx(e){const t=Yt(e);return!ch()||!t.visualViewport?gP:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function yP(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Yt(e)?!1:t}function Ao(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),l=fh(e);let i=Ln(1);t&&(r?gt(r)&&(i=hl(r)):i=hl(e));const a=yP(l,n,r)?sx(l):Ln(0);let u=(o.left+a.x)/i.x,s=(o.top+a.y)/i.y,c=o.width/i.x,d=o.height/i.y;if(l){const m=Yt(l),p=r&&gt(r)?Yt(r):r;let g=m,y=Sd(g);for(;y&&r&&p!==g;){const x=hl(y),v=y.getBoundingClientRect(),h=Cn(y),w=v.left+(y.clientLeft+parseFloat(h.paddingLeft))*x.x,E=v.top+(y.clientTop+parseFloat(h.paddingTop))*x.y;u*=x.x,s*=x.y,c*=x.x,d*=x.y,u+=w,s+=E,g=Yt(y),y=Sd(g)}}return Ju({width:c,height:d,x:u,y:s})}function dh(e,t){const n=Vs(e).scrollLeft;return t?t.left+n:Ao(Un(e)).left+n}function cx(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:dh(e,r)),l=r.top+t.scrollTop;return{x:o,y:l}}function wP(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const l=o==="fixed",i=Un(r),a=t?Us(t.floating):!1;if(r===i||a&&l)return n;let u={scrollLeft:0,scrollTop:0},s=Ln(1);const c=Ln(0),d=zn(r);if((d||!d&&!l)&&((Al(r)!=="body"||ca(i))&&(u=Vs(r)),zn(r))){const p=Ao(r);s=hl(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}const m=i&&!d&&!l?cx(i,u,!0):Ln(0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+c.x+m.x,y:n.y*s.y-u.scrollTop*s.y+c.y+m.y}}function xP(e){return Array.from(e.getClientRects())}function EP(e){const t=Un(e),n=Vs(e),r=e.ownerDocument.body,o=st(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),l=st(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+dh(e);const a=-n.scrollTop;return Cn(r).direction==="rtl"&&(i+=st(t.clientWidth,r.clientWidth)-o),{width:o,height:l,x:i,y:a}}function SP(e,t){const n=Yt(e),r=Un(e),o=n.visualViewport;let l=r.clientWidth,i=r.clientHeight,a=0,u=0;if(o){l=o.width,i=o.height;const s=ch();(!s||s&&t==="fixed")&&(a=o.offsetLeft,u=o.offsetTop)}return{width:l,height:i,x:a,y:u}}function kP(e,t){const n=Ao(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,l=zn(e)?hl(e):Ln(1),i=e.clientWidth*l.x,a=e.clientHeight*l.y,u=o*l.x,s=r*l.y;return{width:i,height:a,x:u,y:s}}function tg(e,t,n){let r;if(t==="viewport")r=SP(e,n);else if(t==="document")r=EP(Un(e));else if(gt(t))r=kP(t,n);else{const o=sx(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ju(r)}function fx(e,t){const n=Qr(e);return n===t||!gt(n)||Sl(n)?!1:Cn(n).position==="fixed"||fx(n,t)}function CP(e,t){const n=t.get(e);if(n)return n;let r=Hi(e,[],!1).filter(a=>gt(a)&&Al(a)!=="body"),o=null;const l=Cn(e).position==="fixed";let i=l?Qr(e):e;for(;gt(i)&&!Sl(i);){const a=Cn(i),u=sh(i);!u&&a.position==="fixed"&&(o=null),(l?!u&&!o:!u&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ca(i)&&!u&&fx(e,i))?r=r.filter(c=>c!==i):o=a,i=Qr(i)}return t.set(e,r),r}function $P(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Us(t)?[]:CP(t,this._c):[].concat(n),r],a=i[0],u=i.reduce((s,c)=>{const d=tg(t,c,o);return s.top=st(d.top,s.top),s.right=Fo(d.right,s.right),s.bottom=Fo(d.bottom,s.bottom),s.left=st(d.left,s.left),s},tg(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function bP(e){const{width:t,height:n}=ux(e);return{width:t,height:n}}function RP(e,t,n){const r=zn(t),o=Un(t),l=n==="fixed",i=Ao(e,!0,l,t);let a={scrollLeft:0,scrollTop:0};const u=Ln(0);function s(){u.x=dh(o)}if(r||!r&&!l)if((Al(t)!=="body"||ca(o))&&(a=Vs(t)),r){const p=Ao(t,!0,l,t);u.x=p.x+t.clientLeft,u.y=p.y+t.clientTop}else o&&s();l&&!r&&o&&s();const c=o&&!r&&!l?cx(o,a):Ln(0),d=i.left+a.scrollLeft-u.x-c.x,m=i.top+a.scrollTop-u.y-c.y;return{x:d,y:m,width:i.width,height:i.height}}function ef(e){return Cn(e).position==="static"}function ng(e,t){if(!zn(e)||Cn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Un(e)===n&&(n=n.ownerDocument.body),n}function dx(e,t){const n=Yt(e);if(Us(e))return n;if(!zn(e)){let o=Qr(e);for(;o&&!Sl(o);){if(gt(o)&&!ef(o))return o;o=Qr(o)}return n}let r=ng(e,t);for(;r&&eP(r)&&ef(r);)r=ng(r,t);return r&&Sl(r)&&ef(r)&&!sh(r)?n:r||tP(e)||n}const PP=async function(e){const t=this.getOffsetParent||dx,n=this.getDimensions,r=await n(e.floating);return{reference:RP(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function TP(e){return Cn(e).direction==="rtl"}const OP={convertOffsetParentRelativeRectToViewportRelativeRect:wP,getDocumentElement:Un,getClippingRect:$P,getOffsetParent:dx,getElementRects:PP,getClientRects:xP,getDimensions:bP,getScale:hl,isElement:gt,isRTL:TP};function px(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function MP(e,t){let n=null,r;const o=Un(e);function l(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,u){a===void 0&&(a=!1),u===void 0&&(u=1),l();const s=e.getBoundingClientRect(),{left:c,top:d,width:m,height:p}=s;if(a||t(),!m||!p)return;const g=za(d),y=za(o.clientWidth-(c+m)),x=za(o.clientHeight-(d+p)),v=za(c),w={rootMargin:-g+"px "+-y+"px "+-x+"px "+-v+"px",threshold:st(0,Fo(1,u))||1};let E=!0;function k(C){const $=C[0].intersectionRatio;if($!==u){if(!E)return i();$?i(!1,$):r=setTimeout(()=>{i(!1,1e-7)},1e3)}$===1&&!px(s,e.getBoundingClientRect())&&i(),E=!1}try{n=new IntersectionObserver(k,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(k,w)}n.observe(e)}return i(!0),l}function _P(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,s=fh(e),c=o||l?[...s?Hi(s):[],...Hi(t)]:[];c.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),l&&v.addEventListener("resize",n)});const d=s&&a?MP(s,n):null;let m=-1,p=null;i&&(p=new ResizeObserver(v=>{let[h]=v;h&&h.target===s&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(t)})),n()}),s&&!u&&p.observe(s),p.observe(t));let g,y=u?Ao(e):null;u&&x();function x(){const v=Ao(e);y&&!px(y,v)&&n(),y=v,g=requestAnimationFrame(x)}return n(),()=>{var v;
54c.forEach(h=>{o&&h.removeEventListener("scroll",n),l&&h.removeEventListener("resize",n)}),d==null||d(),(v=p)==null||v.disconnect(),p=null,u&&cancelAnimationFrame(g)}}const tf=Ws,NP=hP,LP=mP,FP=dP,AP=vP,jP=(e,t,n)=>{const r=new Map,o={platform:OP,...n},l={...o.platform,_c:r};return fP(e,t,{...o,platform:l})};var DP=typeof document<"u",IP=function(){},cu=DP?f.useLayoutEffect:IP;function es(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(!es(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 l=o[r];if(!(l==="_owner"&&e.$$typeof)&&!es(e[l],t[l]))return!1}return!0}return e!==e&&t!==t}function hx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function rg(e,t){const n=hx(e);return Math.round(t*n)/n}function nf(e){const t=f.useRef(e);return cu(()=>{t.current=e}),t}function zP(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:l,floating:i}={},transform:a=!0,whileElementsMounted:u,open:s}=e,[c,d]=f.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=f.useState(r);es(m,r)||p(r);const[g,y]=f.useState(null),[x,v]=f.useState(null),h=f.useCallback(P=>{P!==C.current&&(C.current=P,y(P))},[]),w=f.useCallback(P=>{P!==$.current&&($.current=P,v(P))},[]),E=l||g,k=i||x,C=f.useRef(null),$=f.useRef(null),R=f.useRef(c),O=u!=null,b=nf(u),T=nf(o),_=nf(s),L=f.useCallback(()=>{if(!C.current||!$.current)return;const P={placement:t,strategy:n,middleware:m};T.current&&(P.platform=T.current),jP(C.current,$.current,P).then(M=>{const N={...M,isPositioned:_.current!==!1};F.current&&!es(R.current,N)&&(R.current=N,An.flushSync(()=>{d(N)}))})},[m,t,n,T,_]);cu(()=>{s===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,d(P=>({...P,isPositioned:!1})))},[s]);const F=f.useRef(!1);cu(()=>(F.current=!0,()=>{F.current=!1}),[]),cu(()=>{if(E&&(C.current=E),k&&($.current=k),E&&k){if(b.current)return b.current(E,k,L);L()}},[E,k,L,b,O]);const G=f.useMemo(()=>({reference:C,floating:$,setReference:h,setFloating:w}),[h,w]),j=f.useMemo(()=>({reference:E,floating:k}),[E,k]),I=f.useMemo(()=>{const P={position:n,left:0,top:0};if(!j.floating)return P;const M=rg(j.floating,c.x),N=rg(j.floating,c.y);return a?{...P,transform:"translate("+M+"px, "+N+"px)",...hx(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:N}},[n,a,j.floating,c.x,c.y]);return f.useMemo(()=>({...c,update:L,refs:G,elements:j,floatingStyles:I}),[c,L,G,j,I])}const mx=(e,t)=>({...NP(e),options:[e,t]}),BP=(e,t)=>({...LP(e),options:[e,t]}),HP=(e,t)=>({...FP(e),options:[e,t]}),UP=(e,t)=>({...AP(e),options:[e,t]}),vx={...Cu},VP=vx.useInsertionEffect,WP=VP||(e=>e());function gx(e){const t=f.useRef(()=>{});return WP(()=>{t.current=e}),f.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}var Cd=typeof document<"u"?f.useLayoutEffect:f.useEffect;let og=!1,GP=0;const lg=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+GP++;function YP(){const[e,t]=f.useState(()=>og?lg():void 0);return Cd(()=>{e==null&&t(lg())},[]),f.useEffect(()=>{og=!0},[]),e}const KP=vx.useId,QP=KP||YP;function XP(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const ZP=f.createContext(null),qP=f.createContext(null),JP=()=>{var e;return((e=f.useContext(ZP))==null?void 0:e.id)||null},eT=()=>f.useContext(qP),tT="data-floating-ui-focusable";function nT(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=QP(),l=f.useRef({}),[i]=f.useState(()=>XP()),a=JP()!=null,[u,s]=f.useState(r.reference),c=gx((p,g,y)=>{l.current.openEvent=p?g:void 0,i.emit("openchange",{open:p,event:g,reason:y,nested:a}),n==null||n(p,g,y)}),d=f.useMemo(()=>({setPositionReference:s}),[]),m=f.useMemo(()=>({reference:u||r.reference||null,floating:r.floating||null,domReference:r.reference}),[u,r.reference,r.floating]);return f.useMemo(()=>({dataRef:l,open:t,onOpenChange:c,elements:m,events:i,floatingId:o,refs:d}),[t,c,m,i,o,d])}function rT(e){e===void 0&&(e={});const{nodeId:t}=e,n=nT({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[l,i]=f.useState(null),[a,u]=f.useState(null),c=(o==null?void 0:o.domReference)||l,d=f.useRef(null),m=eT();Cd(()=>{c&&(d.current=c)},[c]);const p=zP({...e,elements:{...o,...a&&{reference:a}}}),g=f.useCallback(w=>{const E=gt(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),contextElement:w}:w;u(E),p.refs.setReference(E)},[p.refs]),y=f.useCallback(w=>{(gt(w)||w===null)&&(d.current=w,i(w)),(gt(p.refs.reference.current)||p.refs.reference.current===null||w!==null&&!gt(w))&&p.refs.setReference(w)},[p.refs]),x=f.useMemo(()=>({...p.refs,setReference:y,setPositionReference:g,domReference:d}),[p.refs,y,g]),v=f.useMemo(()=>({...p.elements,domReference:c}),[p.elements,c]),h=f.useMemo(()=>({...p,...r,refs:x,elements:v,nodeId:t}),[p,x,v,t,r]);return Cd(()=>{r.dataRef.current.floatingContext=h;const w=m==null?void 0:m.nodesRef.current.find(E=>E.id===t);w&&(w.context=h)}),f.useMemo(()=>({...p,context:h,refs:x,elements:v}),[p,x,v,h])}const ig="active",ag="selected";function rf(e,t,n){const r=new Map,o=n==="item";let l=e;if(o&&e){const{[ig]:i,[ag]:a,...u}=e;l=u}return{...n==="floating"&&{tabIndex:-1,[tT]:""},...l,...t.map(i=>{const a=i?i[n]:null;return typeof a=="function"?e?a(e):null:a}).concat(e).reduce((i,a)=>
vendor: 4,580 bytes, line 54
54(a&&Object.entries(a).forEach(u=>{let[s,c]=u;if(!(o&&[ig,ag].includes(s)))if(s.indexOf("on")===0){if(r.has(s)||r.set(s,[]),typeof c=="function"){var d;(d=r.get(s))==null||d.push(c),i[s]=function(){for(var m,p=arguments.length,g=new Array(p),y=0;y<p;y++)g[y]=arguments[y];return(m=r.get(s))==null?void 0:m.map(x=>x(...g)).find(x=>x!==void 0)}}}else i[s]=c}),i),{})}}function oT(e){e===void 0&&(e=[]);const t=e.map(a=>a==null?void 0:a.reference),n=e.map(a=>a==null?void 0:a.floating),r=e.map(a=>a==null?void 0:a.item),o=f.useCallback(a=>rf(a,e,"reference"),t),l=f.useCallback(a=>rf(a,e,"floating"),n),i=f.useCallback(a=>rf(a,e,"item"),r);return f.useMemo(()=>({getReferenceProps:o,getFloatingProps:l,getItemProps:i}),[o,l,i])}function ug(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const lT=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:o,offset:l=0,index:i=0,minItemsVisible:a=4,referenceOverflowThreshold:u=0,scrollRef:s,...c}=jl(e,t),{rects:d,elements:{floating:m}}=t,p=n.current[i],g=(s==null?void 0:s.current)||m,y=m.clientTop||g.clientTop,x=m.clientTop!==0,v=g.clientTop!==0,h=m===g;if(!p)return{};const w={...t,...await mx(-p.offsetTop-m.clientTop-d.reference.height/2-p.offsetHeight/2-l).fn(t)},E=await tf(ug(w,g.scrollHeight+y+m.clientTop),c),k=await tf(w,{...c,elementContext:"reference"}),C=st(0,E.top),$=w.y+C,b=(g.scrollHeight>g.clientHeight?T=>T:Ui)(st(0,g.scrollHeight+(x&&h||v?y*2:0)-C-st(0,E.bottom)));if(g.style.maxHeight=b+"px",g.scrollTop=C,o){const T=g.offsetHeight<p.offsetHeight*Fo(a,n.current.length)-1||k.top>=-u||k.bottom>=-u;An.flushSync(()=>o(T))}return r&&(r.current=await tf(ug({...w,y:$},g.offsetHeight+y+m.clientTop),c)),{y:$}}});function iT(e,t){const{open:n,elements:r}=e,{enabled:o=!0,overflowRef:l,scrollRef:i,onChange:a}=t,u=gx(a),s=f.useRef(!1),c=f.useRef(null),d=f.useRef(null);f.useEffect(()=>{if(!o)return;function p(y){if(y.ctrlKey||!g||l.current==null)return;const x=y.deltaY,v=l.current.top>=-.5,h=l.current.bottom>=-.5,w=g.scrollHeight-g.clientHeight,E=x<0?-1:1,k=x<0?"max":"min";g.scrollHeight<=g.clientHeight||(!v&&x>0||!h&&x<0?(y.preventDefault(),An.flushSync(()=>{u(C=>C+Math[k](x,w*E))})):/firefox/i.test(nP())&&(g.scrollTop+=x))}const g=(i==null?void 0:i.current)||r.floating;if(n&&g)return g.addEventListener("wheel",p),requestAnimationFrame(()=>{c.current=g.scrollTop,l.current!=null&&(d.current={...l.current})}),()=>{c.current=null,d.current=null,g.removeEventListener("wheel",p)}},[o,n,r.floating,l,i,u]);const m=f.useMemo(()=>({onKeyDown(){s.current=!0},onWheel(){s.current=!1},onPointerMove(){s.current=!1},onScroll(){const p=(i==null?void 0:i.current)||r.floating;if(!(!l.current||!p||!s.current)){if(c.current!==null){const g=p.scrollTop-c.current;(l.current.bottom<-.5&&g<-1||l.current.top<-.5&&g>1)&&An.flushSync(()=>u(y=>y+g))}requestAnimationFrame(()=>{c.current=p.scrollTop})}}}),[r.floating,u,l,i]);return f.useMemo(()=>o?{floating:m}:{},[o,m])}let da=f.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});da.displayName="FloatingContext";let ph=f.createContext(null);ph.displayName="PlacementContext";function aT(e){return f.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function uT(){return f.useContext(da).setReference}function sT(){let{getFloatingProps:e,slot:t}=f.useContext(da);return f.useCallback((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function cT(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=f.useContext(ph),n=f.useMemo(()=>e,[JSON.stringify(e,(o,l)=>{var i;return(i=l==null?void 0:l.outerHTML)!=null?i:l})]);ce(()=>{t==null||t(n??null)},[t,n]);let r=f.useContext(da);return f.useMemo(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let sg=4;function fT({children:e,enabled:t=!0}){let[n,r]=f.useState(null),[o,l]=f.useState(0),i=f.useRef(null),[a,u]=f.useState(null);dT(a);let s=t&&n!==null&&a!==null,{to:c="bottom",gap:d=0,offset:m=0,padding:p=0,inner:g}=pT(n,a),[y,x="center"]=c.split(" ");ce(()=>{s&&l(0)},[s]);let{refs:v,floatingStyles:h,context:w}=rT({open:s,placement:y==="selection"?x==="center"?"bottom":`bottom-${x}`:x==="center"?`${y}`:`${y}-${x}`,strategy:"absolute",transform:!1,middleware:[mx({mainAxis:y==="selection"?0:d,crossAxis:m}),BP({padding:p}),y!=="selection"&&HP({padding:p}),y==="selection"&&g?lT({...g,padding:p,overflowRef:i,offset:o,minItemsVisible:sg,referenceOverflowThreshold:p,onFallbackChange(T){var _,L;if(!T)return;let F=w.elements.floating;if(!F)return;
vendor: 4,654 bytes, line 54
54let G=parseFloat(getComputedStyle(F).scrollPaddingBottom)||0,j=Math.min(sg,F.childElementCount),I=0,P=0;for(let M of(L=(_=w.elements.floating)==null?void 0:_.childNodes)!=null?L:[])if(Lt(M)){let N=M.offsetTop,H=N+M.clientHeight+G,U=F.scrollTop,z=U+F.clientHeight;if(N>=U&&H<=z)j--;else{P=Math.max(0,Math.min(H,z)-Math.max(N,U)),I=M.clientHeight;break}}j>=1&&l(M=>{let N=I*j-P+G;return M>=N?M:N})}}):null,UP({padding:p,apply({availableWidth:T,availableHeight:_,elements:L}){Object.assign(L.floating.style,{overflow:"auto",maxWidth:`${T}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${_}px)`})}})].filter(Boolean),whileElementsMounted:_P}),[E=y,k=x]=w.placement.split("-");y==="selection"&&(E="selection");let C=f.useMemo(()=>({anchor:[E,k].filter(Boolean).join(" ")}),[E,k]),$=iT(w,{overflowRef:i,onChange:l}),{getReferenceProps:R,getFloatingProps:O}=oT([$]),b=X(T=>{u(T),v.setFloating(T)});return f.createElement(ph.Provider,{value:r},f.createElement(da.Provider,{value:{setFloating:b,setReference:v.setReference,styles:h,getReferenceProps:R,getFloatingProps:O,slot:C}},e))}function dT(e){ce(()=>{if(!e)return;let t=new MutationObserver(()=>{let n=window.getComputedStyle(e).maxHeight,r=parseFloat(n);if(isNaN(r))return;let o=parseInt(n);isNaN(o)||r!==o&&(e.style.maxHeight=`${Math.ceil(r)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function pT(e,t){var n,r,o;let l=of((n=e==null?void 0:e.gap)!=null?n:"var(--anchor-gap, 0)",t),i=of((r=e==null?void 0:e.offset)!=null?r:"var(--anchor-offset, 0)",t),a=of((o=e==null?void 0:e.padding)!=null?o:"var(--anchor-padding, 0)",t);return{...e,gap:l,offset:i,padding:a}}function of(e,t,n=void 0){let r=Fl(),o=X((u,s)=>{if(u==null)return[n,null];if(typeof u=="number")return[u,null];if(typeof u=="string"){if(!s)return[n,null];let c=cg(u,s);return[c,d=>{let m=yx(u);{let p=m.map(g=>window.getComputedStyle(s).getPropertyValue(g));r.requestAnimationFrame(function g(){r.nextFrame(g);let y=!1;for(let[v,h]of m.entries()){let w=window.getComputedStyle(s).getPropertyValue(h);if(p[v]!==w){p[v]=w,y=!0;break}}if(!y)return;let x=cg(u,s);c!==x&&(d(x),c=x)})}return r.dispose}]}return[n,null]}),l=f.useMemo(()=>o(e,t)[0],[e,t]),[i=l,a]=f.useState();return ce(()=>{let[u,s]=o(e,t);if(a(u),!!s)return s(a)},[e,t]),i}function yx(e){let t=/var\((.*)\)/.exec(e);if(t){let n=t[1].indexOf(",");if(n===-1)return[t[1]];let r=t[1].slice(0,n).trim(),o=t[1].slice(n+1).trim();return o?[r,...yx(o)]:[r]}return[]}function cg(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}let Gs=f.createContext(null);Gs.displayName="OpenClosedContext";var tt=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(tt||{});function Dl(){return f.useContext(Gs)}function wx({value:e,children:t}){return B.createElement(Gs.Provider,{value:e},t)}function xx({children:e}){return B.createElement(Gs.Provider,{value:null},e)}function hT(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let Or=[];hT(()=>{function e(t){if(!er(t.target)||t.target===document.body||Or[0]===t.target)return;let n=t.target;n=n.closest(Zu),Or.unshift(n??t.target),Or=Or.filter(r=>r!=null&&r.isConnected),Or.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function hh(e){let t=X(e),n=f.useRef(!1);f.useEffect(()=>(n.current=!1,()=>{n.current=!0,aa(()=>{n.current&&t()})}),[t])}function mT(){let e=typeof document>"u";return"useSyncExternalStore"in Cu?(t=>t.useSyncExternalStore)(Cu)(()=>()=>{},()=>!1,()=>!e):!1}function pa(){let e=mT(),[t,n]=f.useState(bo.isHandoffComplete);return t&&bo.isHandoffComplete===!1&&n(!1),f.useEffect(()=>{t!==!0&&n(!0)},[t]),f.useEffect(()=>bo.handoff(),[]),e?!1:t}let Ex=f.createContext(!1);function vT(){return f.useContext(Ex)}function fg(e){return B.createElement(Ex.Provider,{value:e.force},e.children)}function gT(e){let t=vT(),n=f.useContext(kx),[r,o]=f.useState(()=>{var l;if(!t&&n!==null)return(l=n.current)!=null?l:null;if(bo.isServer)return null;let i=e==null?void 0:e.getElementById("headlessui-portal-root");
54if(i)return i;if(e===null)return null;let a=e.createElement("div");return a.setAttribute("id","headlessui-portal-root"),e.body.appendChild(a)});return f.useEffect(()=>{r!==null&&(e!=null&&e.body.contains(r)||e==null||e.body.appendChild(r))},[r,e]),f.useEffect(()=>{t||n!==null&&o(n.current)},[n,o,t]),r}let Sx=f.Fragment,yT=fe(function(e,t){let{ownerDocument:n=null,...r}=e,o=f.useRef(null),l=Re(jw(p=>{o.current=p}),t),i=Kr(o),a=n??i,u=gT(a),[s]=f.useState(()=>{var p;return bo.isServer?null:(p=a==null?void 0:a.createElement("div"))!=null?p:null}),c=f.useContext($d),d=pa();ce(()=>{!u||!s||u.contains(s)||(s.setAttribute("data-headlessui-portal",""),u.appendChild(s))},[u,s]),ce(()=>{if(s&&c)return c.register(s)},[c,s]),hh(()=>{var p;!u||!s||(Nw(s)&&u.contains(s)&&u.removeChild(s),u.childNodes.length<=0&&((p=u.parentElement)==null||p.removeChild(u)))});let m=Se();return d?!u||!s?null:An.createPortal(m({ourProps:{ref:l},theirProps:r,slot:{},defaultTag:Sx,name:"Portal"}),s):null});function wT(e,t){let n=Re(t),{enabled:r=!0,ownerDocument:o,...l}=e,i=Se();return r?B.createElement(yT,{...l,ownerDocument:o,ref:n}):i({ourProps:{ref:n},theirProps:l,slot:{},defaultTag:Sx,name:"Portal"})}let xT=f.Fragment,kx=f.createContext(null);function ET(e,t){let{target:n,...r}=e,o={ref:Re(t)},l=Se();return B.createElement(kx.Provider,{value:n},l({ourProps:o,theirProps:r,defaultTag:xT,name:"Popover.Group"}))}let $d=f.createContext(null);function Cx(){let e=f.useContext($d),t=f.useRef([]),n=X(l=>(t.current.push(l),e&&e.register(l),()=>r(l))),r=X(l=>{let i=t.current.indexOf(l);i!==-1&&t.current.splice(i,1),e&&e.unregister(l)}),o=f.useMemo(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,f.useMemo(()=>function({children:l}){return B.createElement($d.Provider,{value:o},l)},[o])]}let ST=fe(wT),$x=fe(ET),bx=Object.assign(ST,{Group:$x});function kT(e,t=typeof document<"u"?document.defaultView:null,n){let r=sa(e,"escape");lh(t,"keydown",o=>{r&&(o.defaultPrevented||o.key===Ce.Escape&&n(o))})}function CT(){var e;let[t]=f.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,r]=f.useState((e=t==null?void 0:t.matches)!=null?e:!1);return ce(()=>{if(!t)return;function o(l){r(l.matches)}return t.addEventListener("change",o),()=>t.removeEventListener("change",o)},[t]),n}function Rx({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=Kr(n),o=X(()=>{var l,i;let a=[];for(let u of e)u!==null&&(or(u)?a.push(u):"current"in u&&or(u.current)&&a.push(u.current));if(t!=null&&t.current)for(let u of t.current)a.push(u);for(let u of(l=r==null?void 0:r.querySelectorAll("html > *, body > *"))!=null?l:[])u!==document.body&&u!==document.head&&or(u)&&u.id!=="headlessui-portal-root"&&(n&&(u.contains(n)||u.contains((i=n==null?void 0:n.getRootNode())==null?void 0:i.host))||a.some(s=>u.contains(s))||a.push(u));return a});
vendor: 5,588 bytes, line 54
54return{resolveContainers:o,contains:X(l=>o().some(i=>i.contains(l)))}}let Px=f.createContext(null);function ts({children:e,node:t}){let[n,r]=f.useState(null),o=mh(t??n);return B.createElement(Px.Provider,{value:o},e,o===null&&B.createElement(In,{features:Dn.Hidden,ref:l=>{var i,a;if(l){for(let u of(a=(i=ro(l))==null?void 0:i.querySelectorAll("html > *, body > *"))!=null?a:[])if(u!==document.body&&u!==document.head&&or(u)&&u!=null&&u.contains(l)){r(u);break}}}}))}function mh(e=null){var t;return(t=f.useContext(Px))!=null?t:e}function Ys(){let e=f.useRef(!1);return ce(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Wt=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Wt||{});function vh(){let e=f.useRef(0);return Jw(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function Tx(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)or(n.current)&&t.add(n.current);return t}let $T="div";var co=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(co||{});function bT(e,t){let n=f.useRef(null),r=Re(n,t),{initialFocus:o,initialFocusFallback:l,containers:i,features:a=15,...u}=e;pa()||(a=0);let s=Kr(n);OT(a,{ownerDocument:s});let c=MT(a,{ownerDocument:s,container:n,initialFocus:o,initialFocusFallback:l});_T(a,{ownerDocument:s,container:n,containers:i,previousActiveElement:c});let d=vh(),m=X(h=>{if(!Lt(n.current))return;let w=n.current;(E=>E())(()=>{De(d.current,{[Wt.Forwards]:()=>{Be(w,ae.First,{skipElements:[h.relatedTarget,l]})},[Wt.Backwards]:()=>{Be(w,ae.Last,{skipElements:[h.relatedTarget,l]})}})})}),p=sa(!!(a&2),"focus-trap#tab-lock"),g=Fl(),y=f.useRef(!1),x={ref:r,onKeyDown(h){h.key=="Tab"&&(y.current=!0,g.requestAnimationFrame(()=>{y.current=!1}))},onBlur(h){if(!(a&4))return;let w=Tx(i);Lt(n.current)&&w.add(n.current);let E=h.relatedTarget;er(E)&&E.dataset.headlessuiFocusGuard!=="true"&&(Ox(w,E)||(y.current?Be(n.current,De(d.current,{[Wt.Forwards]:()=>ae.Next,[Wt.Backwards]:()=>ae.Previous})|ae.WrapAround,{relativeTo:h.target}):er(h.target)&&lr(h.target)))}},v=Se();return B.createElement(B.Fragment,null,p&&B.createElement(In,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:Dn.Focusable}),v({ourProps:x,theirProps:u,defaultTag:$T,name:"FocusTrap"}),p&&B.createElement(In,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:Dn.Focusable}))}let RT=fe(bT),PT=Object.assign(RT,{features:co});function TT(e=!0){let t=f.useRef(Or.slice());return uh(([n],[r])=>{r===!0&&n===!1&&aa(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=Or.slice())},[e,Or,t]),X(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function OT(e,{ownerDocument:t}){let n=!!(e&8),r=TT(n);uh(()=>{n||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&lr(r())},[n]),hh(()=>{n&&lr(r())})}function MT(e,{ownerDocument:t,container:n,initialFocus:r,initialFocusFallback:o}){let l=f.useRef(null),i=sa(!!(e&1),"focus-trap#initial-focus"),a=Ys();return uh(()=>{if(e===0)return;if(!i){o!=null&&o.current&&lr(o.current);return}let u=n.current;u&&aa(()=>{if(!a.current)return;let s=t==null?void 0:t.activeElement;if(r!=null&&r.current){if((r==null?void 0:r.current)===s){l.current=s;return}}else if(u.contains(s)){l.current=s;return}if(r!=null&&r.current)lr(r.current);else{if(e&16){if(Be(u,ae.First|ae.AutoFocus)!==rn.Error)return}else if(Be(u,ae.First)!==rn.Error)return;if(o!=null&&o.current&&(lr(o.current),(t==null?void 0:t.activeElement)===o.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}l.current=t==null?void 0:t.activeElement})},[o,i,e]),l}function _T(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:o}){let l=Ys(),i=!!(e&4);lh(t==null?void 0:t.defaultView,"focus",a=>{if(!i||!l.current)return;let u=Tx(r);Lt(n.current)&&u.add(n.current);let s=o.current;if(!s)return;let c=a.target;Lt(c)?Ox(u,c)?(o.current=c,lr(c)):(a.preventDefault(),a.stopPropagation(),lr(s)):lr(o.current)},!0)}function Ox(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function Mx(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Nx)!==f.Fragment||B.Children.count(e.children)===1}let Ks=f.createContext(null);Ks.displayName="TransitionContext";var NT=(e=>(e.Visible="visible",e.Hidden="hidden",e))(NT||{});function LT(){let e=f.useContext(Ks);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function FT(){let e=f.useContext(Qs);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Qs=f.createContext(null);Qs.displayName="NestingContext";function Xs(e){return"children"in e?Xs(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function _x(e,t){let n=vt(e),r=f.useRef([]),o=Ys(),l=Fl(),i=X((p,g=Nr.Hidden)=>{let y=r.current.findIndex(({el:x})=>x===p);y!==-1&&(De(g,{[Nr.Unmount](){r.current.splice(y,1)},[Nr.Hidden](){r.current[y].state="hidden"}}),l.microTask(()=>{var x;!Xs(r)&&o.current&&((x=n.current)==null||x.call(n))}))}),a=X(p=>{let g=r.current.find(({el:y})=>y===p);return g?g.state!=="visible"&&(g.state="visible"):r.current.push({el:p,state:"visible"}),()=>i(p,Nr.Unmount)}),u=f.useRef([]),s=f.useRef(Promise.resolve()),c=f.useRef({enter:[],leave:[]}
vendor: 4,426 bytes, line 54
54),d=X((p,g,y)=>{u.current.splice(0),t&&(t.chains.current[g]=t.chains.current[g].filter(([x])=>x!==p)),t==null||t.chains.current[g].push([p,new Promise(x=>{u.current.push(x)})]),t==null||t.chains.current[g].push([p,new Promise(x=>{Promise.all(c.current[g].map(([v,h])=>h)).then(()=>x())})]),g==="enter"?s.current=s.current.then(()=>t==null?void 0:t.wait.current).then(()=>y(g)):y(g)}),m=X((p,g,y)=>{Promise.all(c.current[g].splice(0).map(([x,v])=>v)).then(()=>{var x;(x=u.current.shift())==null||x()}).then(()=>y(g))});return f.useMemo(()=>({children:r,register:a,unregister:i,onStart:d,onStop:m,wait:s,chains:c}),[a,i,r,d,m,c,s])}let Nx=f.Fragment,Lx=jn.RenderStrategy;function AT(e,t){var n,r;let{transition:o=!0,beforeEnter:l,afterEnter:i,beforeLeave:a,afterLeave:u,enter:s,enterFrom:c,enterTo:d,entered:m,leave:p,leaveFrom:g,leaveTo:y,...x}=e,[v,h]=f.useState(null),w=f.useRef(null),E=Mx(e),k=Re(...E?[w,t,h]:t===null?[]:[t]),C=(n=x.unmount)==null||n?Nr.Unmount:Nr.Hidden,{show:$,appear:R,initial:O}=LT(),[b,T]=f.useState($?"visible":"hidden"),_=FT(),{register:L,unregister:F}=_;ce(()=>L(w),[L,w]),ce(()=>{if(C===Nr.Hidden&&w.current){if($&&b!=="visible"){T("visible");return}return De(b,{hidden:()=>F(w),visible:()=>L(w)})}},[b,w,L,F,$,C]);let G=pa();ce(()=>{if(E&&G&&b==="visible"&&w.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[w,b,G,E]);let j=O&&!R,I=R&&$&&O,P=f.useRef(!1),M=_x(()=>{P.current||(T("hidden"),F(w))},_),N=X(Q=>{P.current=!0;let J=Q?"enter":"leave";M.onStart(w,J,le=>{le==="enter"?l==null||l():le==="leave"&&(a==null||a())})}),H=X(Q=>{let J=Q?"enter":"leave";P.current=!1,M.onStop(w,J,le=>{le==="enter"?i==null||i():le==="leave"&&(u==null||u())}),J==="leave"&&!Xs(M)&&(T("hidden"),F(w))});f.useEffect(()=>{E&&o||(N($),H($))},[$,E,o]);let U=!(!o||!E||!G||j),[,z]=ah(U,v,$,{start:N,end:H}),Y=Rr({ref:k,className:((r=xd(x.className,I&&s,I&&c,z.enter&&s,z.enter&&z.closed&&c,z.enter&&!z.closed&&d,z.leave&&p,z.leave&&!z.closed&&g,z.leave&&z.closed&&y,!z.transition&&$&&m))==null?void 0:r.trim())||void 0,...ih(z)}),A=0;b==="visible"&&(A|=tt.Open),b==="hidden"&&(A|=tt.Closed),$&&b==="hidden"&&(A|=tt.Opening),!$&&b==="visible"&&(A|=tt.Closing);let V=Se();return B.createElement(Qs.Provider,{value:M},B.createElement(wx,{value:A},V({ourProps:Y,theirProps:x,defaultTag:Nx,features:Lx,visible:b==="visible",name:"Transition.Child"})))}function jT(e,t){let{show:n,appear:r=!1,unmount:o=!0,...l}=e,i=f.useRef(null),a=Mx(e),u=Re(...a?[i,t]:t===null?[]:[t]);pa();let s=Dl();if(n===void 0&&s!==null&&(n=(s&tt.Open)===tt.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,d]=f.useState(n?"visible":"hidden"),m=_x(()=>{n||d("hidden")}),[p,g]=f.useState(!0),y=f.useRef([n]);ce(()=>{p!==!1&&y.current[y.current.length-1]!==n&&(y.current.push(n),g(!1))},[y,n]);let x=f.useMemo(()=>({show:n,appear:r,initial:p}),[n,r,p]);ce(()=>{n?d("visible"):!Xs(m)&&i.current!==null&&d("hidden")},[n,m]);let v={unmount:o},h=X(()=>{var k;p&&g(!1),(k=e.beforeEnter)==null||k.call(e)}),w=X(()=>{var k;p&&g(!1),(k=e.beforeLeave)==null||k.call(e)}),E=Se();return B.createElement(Qs.Provider,{value:m},B.createElement(Ks.Provider,{value:x},E({ourProps:{...v,as:f.Fragment,children:B.createElement(Fx,{ref:u,...v,...l,beforeEnter:h,beforeLeave:w})},theirProps:{},defaultTag:f.Fragment,features:Lx,visible:c==="visible",name:"Transition"})))}function DT(e,t){let n=f.useContext(Ks)!==null,r=Dl()!==null;return B.createElement(B.Fragment,null,!n&&r?B.createElement(bd,{ref:t,...e}):B.createElement(Fx,{ref:t,...e}))}let bd=fe(jT),Fx=fe(AT),gh=fe(DT),Ax=Object.assign(bd,{Child:gh,Root:bd});var IT=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(IT||{}),zT=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(zT||{});let BT={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},yh=f.createContext(null);yh.displayName="DialogContext";function Zs(e){let t=f.useContext(yh);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Zs),n}return t}function HT(e,t){return De(t.type,BT,e,t)}let dg=fe(function(e,t){let n=f.useId(),{id:r=`headlessui-dialog-${n}`,open:o,onClose:l,initialFocus:i,role:a="dialog",autoFocus:u=!0,__demoMode:s=!1,unmount:c=!1,...d}=e,m=f.useRef(!1);a=function(){return a==="dialog"||a==="alertdialog"?a:(m.current||(m.current=!0,
vendor: 4,370 bytes, line 54
54console.warn(`Invalid role [${a}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let p=Dl();o===void 0&&p!==null&&(o=(p&tt.Open)===tt.Open);let g=f.useRef(null),y=Re(g,t),x=Kr(g),v=o?0:1,[h,w]=f.useReducer(HT,{titleId:null,descriptionId:null,panelRef:f.createRef()}),E=X(()=>l(!1)),k=X(z=>w({type:0,id:z})),C=pa()?v===0:!1,[$,R]=Cx(),O={get current(){var z;return(z=h.panelRef.current)!=null?z:g.current}},b=mh(),{resolveContainers:T}=Rx({mainTreeNode:b,portals:$,defaultContainers:[O]}),_=p!==null?(p&tt.Closing)===tt.Closing:!1;NR(s||_?!1:C,{allowed:X(()=>{var z,Y;return[(Y=(z=g.current)==null?void 0:z.closest("[data-headlessui-portal]"))!=null?Y:null]}),disallowed:X(()=>{var z;return[(z=b==null?void 0:b.closest("body > *:not(#headlessui-portal-root)"))!=null?z:null]})});let L=rh.get(null);ce(()=>{if(C)return L.actions.push(r),()=>L.actions.pop(r)},[L,r,C]);let F=Yr(L,f.useCallback(z=>L.selectors.isTop(z,r),[L,r]));ex(F,T,z=>{z.preventDefault(),E()}),kT(F,x==null?void 0:x.defaultView,z=>{z.preventDefault(),z.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),E()}),nx(s||_?!1:C,x,T),Xw(C,g,E);let[G,j]=th(),I=f.useMemo(()=>[{dialogState:v,close:E,setTitleId:k,unmount:c},h],[v,h,E,k,c]),P=f.useMemo(()=>({open:v===0}),[v]),M={ref:y,id:r,role:a,tabIndex:-1,"aria-modal":s?void 0:v===0?!0:void 0,"aria-labelledby":h.titleId,"aria-describedby":G,unmount:c},N=!CT(),H=co.None;C&&!s&&(H|=co.RestoreFocus,H|=co.TabLock,u&&(H|=co.AutoFocus),N&&(H|=co.InitialFocus));let U=Se();return B.createElement(xx,null,B.createElement(fg,{force:!0},B.createElement(bx,null,B.createElement(yh.Provider,{value:I},B.createElement($x,{target:g},B.createElement(fg,{force:!1},B.createElement(j,{slot:P},B.createElement(R,null,B.createElement(PT,{initialFocus:i,initialFocusFallback:g,containers:T,features:H},B.createElement(nh,{value:E},U({ourProps:M,theirProps:d,slot:P,defaultTag:UT,features:VT,visible:v===0,name:"Dialog"})))))))))))}),UT="div",VT=jn.RenderStrategy|jn.Static;function WT(e,t){let{transition:n=!1,open:r,...o}=e,l=Dl(),i=e.hasOwnProperty("open")||l!==null,a=e.hasOwnProperty("onClose");if(!i&&!a)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!i)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!a)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!l&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(r!==void 0||n)&&!o.static?B.createElement(ts,null,B.createElement(Ax,{show:r,transition:n,unmount:o.unmount},B.createElement(dg,{ref:t,...o}))):B.createElement(ts,null,B.createElement(dg,{ref:t,open:r,...o}))}let GT="div";function YT(e,t){let n=f.useId(),{id:r=`headlessui-dialog-panel-${n}`,transition:o=!1,...l}=e,[{dialogState:i,unmount:a},u]=Zs("Dialog.Panel"),s=Re(t,u.panelRef),c=f.useMemo(()=>({open:i===0}),[i]),d=X(x=>{x.stopPropagation()}),m={ref:s,id:r,onClick:d},p=o?gh:f.Fragment,g=o?{unmount:a}:{},y=Se();return B.createElement(p,{...g},y({ourProps:m,theirProps:l,slot:c,defaultTag:GT,name:"Dialog.Panel"}))}let KT="div";function QT(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:l}]=Zs("Dialog.Backdrop"),i=f.useMemo(()=>({open:o===0}),[o]),a={ref:t,"aria-hidden":!0},u=n?gh:f.Fragment,s=n?{unmount:l}:{},c=Se();return B.createElement(u,{...s},c({ourProps:a,theirProps:r,slot:i,defaultTag:KT,name:"Dialog.Backdrop"}))}let XT="h2";function ZT(e,t){let n=f.useId(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:l,setTitleId:i}]=Zs("Dialog.Title"),a=Re(t);f.useEffect(()=>(i(r),()=>i(null)),[r,i]);let u=f.useMemo(()=>({open:l===0}),[l]),s={ref:a,id:r};return Se()({ourProps:s,theirProps:o,slot:u,defaultTag:XT,name:"Dialog.Title"})}let qT=fe(WT),JT=fe(YT);fe(QT);let e3=fe(ZT),pg=Object.assign(qT,{Panel:JT,Title:e3,Description:Iw});var t3=Object.defineProperty,n3=(e,t,n)=>t in e?t3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}
54):e[t]=n,hg=(e,t,n)=>(n3(e,typeof t!="symbol"?t+"":t,n),n),He=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(He||{}),r3=(e=>(e[e.OpenPopover=0]="OpenPopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(r3||{});let o3={0:e=>e.popoverState===0?e:{...e,popoverState:0,__demoMode:!1},1(e){return e.popoverState===1?e:{...e,popoverState:1,__demoMode:!1}},2(e,t){return e.button===t.button?e:{...e,button:t.button}},3(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},4(e,t){return e.panel===t.panel?e:{...e,panel:t.panel}},5(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}};class wh extends Ww{constructor(t){super(t),hg(this,"actions",{close:()=>this.send({type:1}),refocusableClose:n=>{this.actions.close();let r=n?Lt(n)?n:"current"in n&&Lt(n.current)?n.current:this.state.button:this.state.button;r==null||r.focus()},open:()=>this.send({type:0}),setButtonId:n=>this.send({type:3,buttonId:n}),setButton:n=>this.send({type:2,button:n}),setPanelId:n=>this.send({type:5,panelId:n}),setPanel:n=>this.send({type:4,panel:n})}),hg(this,"selectors",{isPortalled:n=>{if(!n.button||!n.panel)return!1;for(let s of document.querySelectorAll("body > *"))if(Number(s==null?void 0:s.contains(n.button))^Number(s==null?void 0:s.contains(n.panel)))return!0;let r=Bs(),o=r.indexOf(n.button),l=(o+r.length-1)%r.length,i=(o+1)%r.length,a=r[l],u=r[i];return!n.panel.contains(a)&&!n.panel.contains(u)}});{let n=this.state.id,r=rh.get(null);this.on(0,()=>r.actions.push(n)),this.on(1,()=>r.actions.pop(n))}}static new({id:t,__demoMode:n=!1}){return new wh({id:t,__demoMode:n,popoverState:n?0:1,buttons:{current:[]},button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:{current:null},afterPanelSentinel:{current:null},afterButtonSentinel:{current:null}})}reduce(t,n){return De(n.type,o3,t,n)}}const jx=f.createContext(null);function qs(e){let t=f.useContext(jx);if(t===null){let n=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,qs),n}return t}function l3({id:e,__demoMode:t=!1}){let n=f.useMemo(()=>wh.new({id:e,__demoMode:t}),[]);return hh(()=>n.dispose()),n}let xh=f.createContext(null);xh.displayName="PopoverGroupContext";function Dx(){return f.useContext(xh)}let Js=f.createContext(null);Js.displayName="PopoverPanelContext";function i3(){return f.useContext(Js)}let a3="div";function u3(e,t){var n;let r=f.useId(),{__demoMode:o=!1,...l}=e,i=l3({id:r,__demoMode:o}),a=f.useRef(null),u=Re(t,jw(F=>{a.current=F})),[s,c,d,m,p]=Yr(i,f.useCallback(F=>[F.popoverState,F.button,F.panel,F.buttonId,F.panelId],[])),g=Kr((n=a.current)!=null?n:c),y=vt(m),x=vt(p),v=f.useMemo(()=>({buttonId:y,panelId:x,close:i.actions.close}),[y,x,i]),h=Dx(),w=h==null?void 0:h.registerPopover,E=X(()=>{var F;return(F=h==null?void 0:h.isFocusWithinPopoverGroup())!=null?F:(g==null?void 0:g.activeElement)&&((c==null?void 0:c.contains(g.activeElement))||(d==null?void 0:d.contains(g.activeElement)))});f.useEffect(()=>w==null?void 0:w(v),[w,v]);let[k,C]=Cx(),$=mh(c),R=Rx({mainTreeNode:$,portals:k,defaultContainers:[{get current(){return i.state.button}},{get current(){return i.state.panel}}]});lh(g==null?void 0:g.defaultView,"focus",F=>{var G,j,I,P,M,N;F.target!==window&&er(F.target)&&i.state.popoverState===He.Open&&(E()||i.state.button&&i.state.panel&&(R.contains(F.target)||(j=(G=i.state.beforePanelSentinel.current)==null?void 0:G.contains)!=null&&j.call(G,F.target)||(P=(I=i.state.afterPanelSentinel.current)==null?void 0:I.contains)!=null&&P.call(I,F.target)||(N=(M=i.state.afterButtonSentinel.current)==null?void 0:M.contains)!=null&&N.call(M,F.target)||i.actions.close()))},!0);let O=s===He.Open;ex(O,R.resolveContainers,(F,G)=>{i.actions.close(),Zw(G,oh.Loose)||(F.preventDefault(),c==null||c.focus())});let b=f.useMemo(()=>({open:s===He.Open,close:i.actions.refocusableClose}),[s,i]),T=Yr(i,f.useCallback(F=>De(F.popoverState,{[He.Open]:tt.Open,[He.Closed]:tt.Closed}),[])),_={ref:u},L=Se();return B.createElement(ts,{node:$},B.createElement(fT,null,B.createElement(Js.Provider,{value:null},B.createElement(jx.Provider,{value:i},B.createElement(nh,{value:i.actions.refocusableClose},B.createElement(wx,{value:T},B.createElement(C,null,L({ourProps:_,theirProps:l,slot:b,defaultTag:a3,name:"Popover"}))))))))}let s3="button";function c3(e,t){let n=f.useId(),{id:r=`headlessui-popover-button-${n}`,disabled:o=!1,autoFocus:l=!1,...i}=e,a=qs("Popover.Button"),[u,s,c,d,m,p,g]=Yr(a,f.useCallback(A=>[A.popoverState,a.selectors.isPortalled(A),A.button,A.buttonId,A.panel,A.panelId,A.afterButtonSentinel],[])),y=f.useRef(null),x=`headlessui-focus-sentinel-${f.useId()}`,v=Dx(),h=v==null?void 0:v.closeOthers,w=i3()!==null;f.useEffect(()=>{if(!w)return a.actions.setButtonId(r),()=>a.actions.setButtonId(null)},[w,r,a]);let[E]=f.useState(()=>Symbol()),k=Re(y,t,uT(),X(A=>{if(!w){if(A)a.state.buttons.current.push(E);else{let V=a.state.buttons.current.indexOf(E);V!==-1&&a.state.buttons.current.splice(V,1)}a.state.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),A&&a.actions.setButton(A)}})),C=Re(y,t),$=Kr(y),R=X(A=>{var V,Q,J;if(w){if(a.state.popoverState===He.Closed)return;switch(A.key){case Ce.Space:case Ce.Enter:A.preventDefault(),(Q=(V=A.target).click)==null||Q.call(V),a.actions.close(),(J=a.state.button)==null||J.focus();break}}else switch(A.key){case Ce.Space:case Ce.Enter:A.preventDefault(),A.stopPropagation(),a.state.popoverState===He.Closed?(h==null||h(a.state.buttonId),a.actions.open()):a.actions.close();break;case Ce.Escape:if(a.state.popoverState!==He.Open)return h==null?void 0:h(a.state.buttonId);if(!y.current||$!=null&&$.activeElement&&!y.current.contains($.activeElement))return;A.preventDefault(),A.stopPropagation(),a.actions.close();break}}),O=X(A=>{w||A.key===Ce.Space&&A.preventDefault()}),b=X(A=>{var V,Q;Ds(A.currentTarget)||o||(w?(a.actions.close(),(V=a.state.button)==null||V.focus()):(A.preventDefault(),A.stopPropagation(),a.state.popoverState===He.Closed?(h==null||h(a.state.buttonId),a.actions.open()):a.actions.close(),(Q=a.state.button)==null||Q.focus()))}),T=X(A=>{A.preventDefault(),A.stopPropagation()}),{isFocusVisible:_,focusProps:L}=ia({autoFocus:l}),{isHovered:F,hoverProps:G}=As({isDisabled:o}),{pressed:j,pressProps:I}=Rw({disabled:o}),P=u===He.Open,M=f.useMemo(()=>({open:P,active:j||P,disabled:o,hover:F,focus:_,autofocus:l}),[P,F,_,j,o,l]),N=tx(e,c),H=Lo(w?{ref:C,type:N,onKeyDown:R,onClick:b,disabled:o||void 0,autoFocus:l}:{ref:k,id:d,type:N,"aria-expanded":u===He.Open,"aria-controls":m?p:void 0,disabled:o||void 0,autoFocus:l,onKeyDown:R,onKeyUp:O,onClick:b,onMouseDown:T},L,G,I),U=vh(),z=X(()=>
54{if(!Lt(a.state.panel))return;let A=a.state.panel;function V(){De(U.current,{[Wt.Forwards]:()=>Be(A,ae.First),[Wt.Backwards]:()=>Be(A,ae.Last)})===rn.Error&&Be(Bs().filter(Q=>Q.dataset.headlessuiFocusGuard!=="true"),De(U.current,{[Wt.Forwards]:ae.Next,[Wt.Backwards]:ae.Previous}),{relativeTo:a.state.button})}V()}),Y=Se();return B.createElement(B.Fragment,null,Y({ourProps:H,theirProps:i,slot:M,defaultTag:s3,name:"Popover.Button"}),P&&!w&&s&&B.createElement(In,{id:x,ref:g,features:Dn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:z}))}let f3="div",d3=jn.RenderStrategy|jn.Static;function Ix(e,t){let n=f.useId(),{id:r=`headlessui-popover-backdrop-${n}`,transition:o=!1,...l}=e,i=qs("Popover.Backdrop"),a=Yr(i,f.useCallback(v=>v.popoverState,[])),[u,s]=f.useState(null),c=Re(t,s),d=Dl(),[m,p]=ah(o,u,d!==null?(d&tt.Open)===tt.Open:a===He.Open),g=X(v=>{if(Ds(v.currentTarget))return v.preventDefault();i.actions.close()}),y=f.useMemo(()=>({open:a===He.Open}),[a]),x={ref:c,id:r,"aria-hidden":!0,onClick:g,...ih(p)};return Se()({ourProps:x,theirProps:l,slot:y,defaultTag:f3,features:d3,visible:m,name:"Popover.Backdrop"})}let p3="div",h3=jn.RenderStrategy|jn.Static;function m3(e,t){let n=f.useId(),{id:r=`headlessui-popover-panel-${n}`,focus:o=!1,anchor:l,portal:i=!1,modal:a=!1,transition:u=!1,...s}=e,c=qs("Popover.Panel"),d=Yr(c,c.selectors.isPortalled),[m,p,g,y,x]=Yr(c,f.useCallback(z=>[z.popoverState,z.button,z.__demoMode,z.beforePanelSentinel,z.afterPanelSentinel],[])),v=`headlessui-focus-sentinel-before-${n}`,h=`headlessui-focus-sentinel-after-${n}`,w=f.useRef(null),E=aT(l),[k,C]=cT(E),$=sT();E&&(i=!0);let[R,O]=f.useState(null),b=Re(w,t,E?k:null,c.actions.setPanel,O),T=Kr(p),_=Kr(w);ce(()=>(c.actions.setPanelId(r),()=>c.actions.setPanelId(null)),[r,c]);let L=Dl(),[F,G]=ah(u,R,L!==null?(L&tt.Open)===tt.Open:m===He.Open);Xw(F,p,c.actions.close),nx(g?!1:a&&F,_);let j=X(z=>{var Y;switch(z.key){case Ce.Escape:if(c.state.popoverState!==He.Open||!w.current||_!=null&&_.activeElement&&!w.current.contains(_.activeElement))return;z.preventDefault(),z.stopPropagation(),c.actions.close(),(Y=c.state.button)==null||Y.focus();break}});f.useEffect(()=>{var z;e.static||m===He.Closed&&((z=e.unmount)==null||z)&&c.actions.setPanel(null)},[m,e.unmount,e.static,c]),f.useEffect(()=>{if(g||!o||m!==He.Open||!w.current)return;let z=_==null?void 0:_.activeElement;w.current.contains(z)||Be(w.current,ae.First)},[g,o,w.current,m]);let I=f.useMemo(()=>({open:m===He.Open,close:c.actions.refocusableClose}),[m,c]),P=Lo(E?$():{},{ref:b,id:r,onKeyDown:j,onBlur:o&&m===He.Open?z=>{var Y,A,V,Q,J;let le=z.relatedTarget;le&&w.current&&((Y=w.current)!=null&&Y.contains(le)||(c.actions.close(),((V=(A=y.current)==null?void 0:A.contains)!=null&&V.call(A,le)||(J=(Q=x.current)==null?void 0:Q.contains)!=null&&J.call(Q,le))&&le.focus({preventScroll:!0})))}:void 0,tabIndex:-1,style:{...s.style,...C,"--button-width":mR(p,!0).width},...ih(G)}),M=vh(),N=X(()=>{let z=w.current;if(!z)return;function Y(){De(M.current,{[Wt.Forwards]:()=>{var A;Be(z,ae.First)===rn.Error&&((A=c.state.afterPanelSentinel.current)==null||A.focus())},[Wt.Backwards]:()=>{var A;(A=c.state.button)==null||A.focus({preventScroll:!0})}})}Y()}),H=X(()=>{let z=w.current;if(!z)return;function Y(){De(M.current,{[Wt.Forwards]:()=>{if(!c.state.button)return;let A=Bs(),V=A.indexOf(c.state.button),Q=A.slice(0,V+1),J=[...A.slice(V+1),...Q];for(let le of J.slice())if(le.dataset.headlessuiFocusGuard==="true"||R!=null&&R.contains(le)){let he=J.indexOf(le);he!==-1&&J.splice(he,1)}Be(J,ae.First,{sorted:!1})},[Wt.Backwards]:()=>{var A;Be(z,ae.Previous)===rn.Error&&((A=c.state.button)==null||A.focus())}})}Y()}),U=Se();return B.createElement(xx,null,B.createElement(Js.Provider,{value:r},B.createElement(nh,{value:c.actions.refocusableClose},B.createElement(bx,{enabled:i?e.static||F:!1,ownerDocument:T},F&&d&&B.createElement(In,{id:v,ref:y,features:Dn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:N}),U({ourProps:P,theirProps:s,slot:I,defaultTag:p3,features:h3,visible:F,name:"Popover.Panel"}),F&&d&&B.createElement(In,{id:h,ref:x,features:Dn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:H})))))}let v3="div";
54function g3(e,t){let n=f.useRef(null),r=Re(n,t),[o,l]=f.useState([]),i=X(y=>{l(x=>{let v=x.indexOf(y);if(v!==-1){let h=x.slice();return h.splice(v,1),h}return x})}),a=X(y=>(l(x=>[...x,y]),()=>i(y))),u=X(()=>{var y;let x=ro(n);if(!x)return!1;let v=x.activeElement;return(y=n.current)!=null&&y.contains(v)?!0:o.some(h=>{var w,E;return((w=x.getElementById(h.buttonId.current))==null?void 0:w.contains(v))||((E=x.getElementById(h.panelId.current))==null?void 0:E.contains(v))})}),s=X(y=>{for(let x of o)x.buttonId.current!==y&&x.close()}),c=f.useMemo(()=>({registerPopover:a,unregisterPopover:i,isFocusWithinPopoverGroup:u,closeOthers:s}),[a,i,u,s]),d=f.useMemo(()=>({}),[]),m=e,p={ref:r},g=Se();return B.createElement(ts,null,B.createElement(xh.Provider,{value:c},g({ourProps:p,theirProps:m,slot:d,defaultTag:v3,name:"Popover.Group"})))}let y3=fe(u3),w3=fe(c3),x3=fe(Ix),E3=fe(Ix),S3=fe(m3),k3=fe(g3),lf=Object.assign(y3,{Button:w3,Backdrop:E3,Overlay:x3,Panel:S3,Group:k3});var C3=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(C3||{});let $3={0(e,t){let n=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:xo(n,r=>r.element.current)}},1(e,t){let n=e.options.slice(),r=e.options.findIndex(o=>o.id===t.id);return r===-1?e:(n.splice(r,1),{...e,options:n})}},Eh=f.createContext(null);Eh.displayName="RadioGroupDataContext";function Sh(e){let t=f.useContext(Eh);if(t===null){let n=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Sh),n}return t}let kh=f.createContext(null);kh.displayName="RadioGroupActionsContext";function Ch(e){let t=f.useContext(kh);if(t===null){let n=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Ch),n}return t}function b3(e,t){return De(t.type,$3,e,t)}let R3="div";function P3(e,t){let n=f.useId(),r=js(),{id:o=`headlessui-radiogroup-${n}`,value:l,form:i,name:a,onChange:u,by:s,disabled:c=r||!1,defaultValue:d,tabIndex:m=0,...p}=e,g=pR(s),[y,x]=f.useReducer(b3,{options:[]}),v=y.options,[h,w]=Hw(),[E,k]=th(),C=f.useRef(null),$=Re(C,t),R=Ub(d),[O,b]=Hb(l,u,R),T=f.useMemo(()=>v.find(U=>!U.propsRef.current.disabled),[v]),_=f.useMemo(()=>v.some(U=>g(U.propsRef.current.value,O)),[v,O]),L=X(U=>{var z;if(c||g(U,O))return!1;let Y=(z=v.find(A=>g(A.propsRef.current.value,U)))==null?void 0:z.propsRef.current;return Y!=null&&Y.disabled?!1:(b==null||b(U),!0)}),F=X(U=>{let z=C.current;if(!z)return;let Y=ro(z),A=v.filter(V=>V.propsRef.current.disabled===!1).map(V=>V.element.current);switch(U.key){case Ce.Enter:Vb(U.currentTarget);break;case Ce.ArrowLeft:case Ce.ArrowUp:if(U.preventDefault(),U.stopPropagation(),Be(A,ae.Previous|ae.WrapAround)===rn.Success){let V=v.find(Q=>Q.element.current===(Y==null?void 0:Y.activeElement));V&&L(V.propsRef.current.value)}break;case Ce.ArrowRight:case Ce.ArrowDown:if(U.preventDefault(),U.stopPropagation(),Be(A,ae.Next|ae.WrapAround)===rn.Success){let V=v.find(Q=>Q.element.current===(Y==null?void 0:Y.activeElement));V&&L(V.propsRef.current.value)}break;case Ce.Space:{U.preventDefault(),U.stopPropagation();let V=v.find(Q=>Q.element.current===(Y==null?void 0:Y.activeElement));V&&L(V.propsRef.current.value)}break}}),G=X(U=>(x({type:0,...U}),()=>x({type:1,id:U.id}))),j=f.useMemo(()=>({value:O,firstOption:T,containsCheckedOption:_,disabled:c,compare:g,tabIndex:m,...y}),[O,T,_,c,g,m,y]),I=f.useMemo(()=>({registerOption:G,change:L}),[G,L]),P={ref:$,id:o,role:"radiogroup","aria-labelledby":h,"aria-describedby":E,onKeyDown:F},M=f.useMemo(()=>({value:O}),[O]),N=f.useCallback(()=>{if(R!==void 0)return L(R)},[L,R]),H=Se();return B.createElement(k,{name:"RadioGroup.Description"},B.createElement(w,{name:"RadioGroup.Label"},B.createElement(kh.Provider,{value:I},B.createElement(Eh.Provider,{value:j},a!=null&&B.createElement(Qb,{disabled:c,data:{[a]:O||"on"},overrides:{type:"radio",checked:O!=null},form:i,onReset:N}),H({ourProps:P,theirProps:p,slot:M,defaultTag:R3,name:"RadioGroup"})))))}let T3="div";function O3(e,t){var n;let r=Sh("RadioGroup.Option"),o=Ch("RadioGroup.Option"),l=f.useId(),{id:i=`headlessui-radiogroup-option-${l}`,value:a,disabled:u=r.disabled||!1,autoFocus:s=!1,...c}=e,d=f.useRef(null),m=Re(d,t),[p,g]=Hw(),[y,x]=th(),v=vt({value:a,disabled:u});ce(()=>o.registerOption({id:i,element:d,propsRef:v}),[i,o,d,v]);let h=X(_=>{var L;if(Ds(_.currentTarget))return _.preventDefault();o.change(a)&&((L=d.current)==null||L.focus())}),w=((n=r.firstOption)==null?void 0:n.id)===i,{isFocusVisible:E,focusProps:k}=ia({autoFocus:s}),{isHovered:C,hoverProps:$}=As({isDisabled:u}),R=r.compare(r.value,a),O=Lo({ref:m,id:i,role:"radio","aria-checked":R?"true":"false","aria-labelledby":p,"aria-describedby":y,"aria-disabled":u?!0:void 0,tabIndex:u?-1:R||!r.containsCheckedOption&&w?r.tabIndex:-1,onClick:u?void 0:h,autoFocus:s},k,$),b=f.useMemo(()=>({checked:R,disabled:u,active:E,hover:C,focus:E,autofocus:s}),[R,u,C,E,s]),T=Se();return B.createElement(x,{name:"RadioGroup.Description"},B.createElement(g,{name:"RadioGroup.Label"},T({ourProps:O,theirProps:c,slot:b,defaultTag:T3,name:"RadioGroup.Option"})))}let M3="span";function _3(e,t){var n;let r=Sh("Radio"),o=Ch("Radio"),l=f.useId(),i=_w(),a=js(),{id:u=i||`headlessui-radio-${l}`,value:s,disabled:c=r.disabled||a||!1,autoFocus:d=!1,...m}=e,p=f.useRef(null),g=Re(p,t),y=Bw(),x=rR(),v=vt({value:s,disabled:c});ce(()=>o.registerOption({id:u,element:p,propsRef:v}),[u,o,p,v]);let h=X(T=>{var _;if(Ds(T.currentTarget))return T.preventDefault();o.change(s)&&((_=p.current)==null||_.focus())}),{isFocusVisible:w,focusProps:E}=ia({autoFocus:d}),{isHovered:k,hoverProps:C}=As({isDisabled:c}),$=((n=r.firstOption)==null?void 0:n.id)===u,R=r.compare(r.value,s),O=Lo({ref:g,id:u,role:"radio","aria-checked":R?"true":"false","aria-labelledby":y,"aria-describedby":x,"aria-disabled":c?!0:void 0,tabIndex:c?-1:R||
vendor: 5,438 bytes, line 54
54!r.containsCheckedOption&&$?r.tabIndex:-1,autoFocus:d,onClick:c?void 0:h},E,C),b=f.useMemo(()=>({checked:R,disabled:c,hover:k,focus:w,autofocus:d}),[R,c,k,w,d]);return Se()({ourProps:O,theirProps:m,slot:b,defaultTag:M3,name:"Radio"})}let N3=fe(P3),L3=fe(O3),$h=fe(_3),F3=cR,A3=Iw,zx=Object.assign(N3,{Option:L3,Radio:$h,Label:F3,Description:A3});function j3({onFocus:e}){let[t,n]=f.useState(!0),r=Ys();return t?B.createElement(In,{as:"button",type:"button",features:Dn.Focusable,onFocus:o=>{o.preventDefault();let l,i=50;function a(){if(i--<=0){l&&cancelAnimationFrame(l);return}if(e()){if(cancelAnimationFrame(l),!r.current)return;n(!1);return}l=requestAnimationFrame(a)}l=requestAnimationFrame(a)}}):null}const Bx=f.createContext(null);function D3(){return{groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let o=(n=r.get(t))!=null?n:0;r.set(t,o+1);let l=Array.from(r.keys()).indexOf(t);function i(){let a=r.get(t);a>1?r.set(t,a-1):r.delete(t)}return[l,i]}}}function I3({children:e}){let t=f.useRef(D3());return f.createElement(Bx.Provider,{value:t},e)}function Hx(e){let t=f.useContext(Bx);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let n=f.useId(),[r,o]=t.current.get(e,n);return f.useEffect(()=>o,[]),r}var z3=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(z3||{}),B3=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(B3||{}),H3=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(H3||{});let U3={0(e,t){var n;let r=xo(e.tabs,c=>c.current),o=xo(e.panels,c=>c.current),l=r.filter(c=>{var d;return!((d=c.current)!=null&&d.hasAttribute("disabled"))}),i={...e,tabs:r,panels:o};if(t.index<0||t.index>r.length-1){let c=De(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>De(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(l.length===0)return i;let d=De(c,{0:()=>r.indexOf(l[0]),1:()=>r.indexOf(l[l.length-1])});return{...i,selectedIndex:d===-1?e.selectedIndex:d}}let a=r.slice(0,t.index),u=[...r.slice(t.index),...a].find(c=>l.includes(c));if(!u)return i;let s=(n=r.indexOf(u))!=null?n:e.selectedIndex;return s===-1&&(s=e.selectedIndex),{...i,selectedIndex:s}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=xo([...e.tabs,t.tab],l=>l.current),o=e.selectedIndex;return e.info.current.isControlled||(o=r.indexOf(n),o===-1&&(o=e.selectedIndex)),{...e,tabs:r,selectedIndex:o}},2(e,t){return{...e,tabs:e.tabs.filter(n=>n!==t.tab)}},3(e,t){return e.panels.includes(t.panel)?e:{...e,panels:xo([...e.panels,t.panel],n=>n.current)}},4(e,t){return{...e,panels:e.panels.filter(n=>n!==t.panel)}}},bh=f.createContext(null);bh.displayName="TabsDataContext";function kl(e){let t=f.useContext(bh);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,kl),n}return t}let Rh=f.createContext(null);Rh.displayName="TabsActionsContext";function Ph(e){let t=f.useContext(Rh);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Ph),n}return t}function V3(e,t){return De(t.type,U3,e,t)}let W3="div";function G3(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:o=!1,onChange:l,selectedIndex:i=null,...a}=e;const u=r?"vertical":"horizontal",s=o?"manual":"auto";let c=i!==null,d=vt({isControlled:c}),m=Re(t),[p,g]=f.useReducer(V3,{info:d,selectedIndex:i??n,tabs:[],panels:[]}),y=f.useMemo(()=>({selectedIndex:p.selectedIndex}),[p.selectedIndex]),x=vt(l||(()=>{})),v=vt(p.tabs),h=f.useMemo(()=>({orientation:u,activation:s,...p}),[u,s,p]),w=X(b=>(g({type:1,tab:b}),()=>g({type:2,tab:b}))),E=X(b=>(g({type:3,panel:b}),()=>g({type:4,panel:b}))),k=X(b=>{C.current!==b&&x.current(b),c||g({type:0,index:b})}),C=vt(c?e.selectedIndex:p.selectedIndex),$=f.useMemo(()=>({registerTab:w,registerPanel:E,change:k}),[]);ce(()=>{g({type:0,index:i??n})},[i]),ce(()=>{if(C.current===void 0||p.tabs.length<=0)return;let b=xo(p.tabs,T=>T.current);b.some((T,_)=>p.tabs[_]!==T)&&k(b.indexOf(p.tabs[C.current]))});let R={ref:m},O=Se();return B.createElement(I3,null,B.createElement(Rh.Provider,{value:$},B.createElement(bh.Provider,{value:h},h.tabs.length<=0&&B.createElement(j3,{onFocus:()=>{var b,T;for(let _ of v.current)if(((b=_.current)==null?void 0:b.tabIndex)===0)return(T=_.current)==null||T.focus(),!0;return!1}}),O({ourProps:R,theirProps:a,slot:y,defaultTag:W3,name:"Tabs"}))))}let Y3="div";function K3(e,t){let{orientation:n,selectedIndex:r}=kl("Tab.List"),o=Re(t),l=f.useMemo(()=>({selectedIndex:r}),[r]),i=e,a={ref:o,role:"tablist","aria-orientation":n};return Se()({ourProps:a,theirProps:i,slot:l,defaultTag:Y3,name:"Tabs.List"})}let Q3="button";function X3(e,t){var n,r;let o=f.useId(),{id:l=`headlessui-tabs-tab-${o}`,disabled:i=!1,autoFocus:a=!1,...u}=e,{orientation:s,activation:c,selectedIndex:d,tabs:m,panels:p}=kl("Tab"),g=Ph("Tab"),y=kl("Tab"),[x,v]=f.useState(null),h=f.useRef(null),w=Re(h,t,v);ce(()=>g.registerTab(h),[g,h]);let E=Hx("tabs"),k=m.indexOf(h);k===-1&&(k=E);let C=k===d,$=X(N=>{var H;let U=N();if(U===rn.Success&&c==="auto"){let z=(H=ro(h))==null?void 0:H.activeElement,Y=y.tabs.findIndex(A=>A.current===z);Y!==-1&&g.change(Y)}return U}),R=X(N=>{let H=m.map(U=>
54U.current).filter(Boolean);if(N.key===Ce.Space||N.key===Ce.Enter){N.preventDefault(),N.stopPropagation(),g.change(k);return}switch(N.key){case Ce.Home:case Ce.PageUp:return N.preventDefault(),N.stopPropagation(),$(()=>Be(H,ae.First));case Ce.End:case Ce.PageDown:return N.preventDefault(),N.stopPropagation(),$(()=>Be(H,ae.Last))}if($(()=>De(s,{vertical(){return N.key===Ce.ArrowUp?Be(H,ae.Previous|ae.WrapAround):N.key===Ce.ArrowDown?Be(H,ae.Next|ae.WrapAround):rn.Error},horizontal(){return N.key===Ce.ArrowLeft?Be(H,ae.Previous|ae.WrapAround):N.key===Ce.ArrowRight?Be(H,ae.Next|ae.WrapAround):rn.Error}}))===rn.Success)return N.preventDefault()}),O=f.useRef(!1),b=X(()=>{var N;O.current||(O.current=!0,(N=h.current)==null||N.focus({preventScroll:!0}),g.change(k),aa(()=>{O.current=!1}))}),T=X(N=>{N.preventDefault()}),{isFocusVisible:_,focusProps:L}=ia({autoFocus:a}),{isHovered:F,hoverProps:G}=As({isDisabled:i}),{pressed:j,pressProps:I}=Rw({disabled:i}),P=f.useMemo(()=>({selected:C,hover:F,active:j,focus:_,autofocus:a,disabled:i}),[C,F,_,j,a,i]),M=Lo({ref:w,onKeyDown:R,onMouseDown:T,onClick:b,id:l,role:"tab",type:tx(e,x),"aria-controls":(r=(n=p[k])==null?void 0:n.current)==null?void 0:r.id,"aria-selected":C,tabIndex:C?0:-1,disabled:i||void 0,autoFocus:a},L,G,I);return Se()({ourProps:M,theirProps:u,slot:P,defaultTag:Q3,name:"Tabs.Tab"})}let Z3="div";function q3(e,t){let{selectedIndex:n}=kl("Tab.Panels"),r=Re(t),o=f.useMemo(()=>({selectedIndex:n}),[n]),l=e,i={ref:r};return Se()({ourProps:i,theirProps:l,slot:o,defaultTag:Z3,name:"Tabs.Panels"})}let J3="div",eO=jn.RenderStrategy|jn.Static;function tO(e,t){var n,r,o,l;let i=f.useId(),{id:a=`headlessui-tabs-panel-${i}`,tabIndex:u=0,...s}=e,{selectedIndex:c,tabs:d,panels:m}=kl("Tab.Panel"),p=Ph("Tab.Panel"),g=f.useRef(null),y=Re(g,t);ce(()=>p.registerPanel(g),[p,g]);let x=Hx("panels"),v=m.indexOf(g);v===-1&&(v=x);let h=v===c,{isFocusVisible:w,focusProps:E}=ia(),k=f.useMemo(()=>({selected:h,focus:w}),[h,w]),C=Lo({ref:y,id:a,role:"tabpanel","aria-labelledby":(r=(n=d[v])==null?void 0:n.current)==null?void 0:r.id,tabIndex:h?u:-1},E),$=Se();return!h&&((o=s.unmount)==null||o)&&!((l=s.static)!=null&&l)?B.createElement(In,{"aria-hidden":"true",...C}):$({ourProps:C,theirProps:s,slot:k,defaultTag:J3,features:eO,visible:h,name:"Tabs.Panel"})}let nO=fe(X3),Ux=fe(G3),Vx=fe(K3),Wx=fe(q3),Gx=fe(tO),rO=Object.assign(nO,{Group:Ux,List:Vx,Panels:Wx,Panel:Gx});function oO({title:e,titleId:t,...n},r){return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?f.createElement("title",{id:t},e):null,f.createElement("path",{d:"M3 4a2 2 0 0 0-2 2v1.161l8.441 4.221a1.25 1.25 0 0 0 1.118 0L19 7.162V6a2 2 0 0 0-2-2H3Z"}),f.createElement("path",{d:"m19 8.839-7.77 3.885a2.75 2.75 0 0 1-2.46 0L1 8.839V14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.839Z"}))}const lO=f.forwardRef(oO);function iO({title:e,titleId:t,...n},r){return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?f.createElement("title",{id:t},e):null,f.createElement("path",{d:"M16.555 5.412a8.028 8.028 0 0 0-3.503-2.81 14.899 14.899 0 0 1 1.663 4.472 8.547 8.547 0 0 0 1.84-1.662ZM13.326 7.825a13.43 13.43 0 0 0-2.413-5.773 8.087 8.087 0 0 0-1.826 0 13.43 13.43 0 0 0-2.413 5.773A8.473 8.473 0 0 0 10 8.5c1.18 0 2.304-.24 3.326-.675ZM6.514 9.376A9.98 9.98 0 0 0 10 10c1.226 0 2.4-.22 3.486-.624a13.54 13.54 0 0 1-.351 3.759A13.54 13.54 0 0 1 10 13.5c-1.079 0-2.128-.127-3.134-.366a13.538 13.538 0 0 1-.352-3.758ZM5.285 7.074a14.9 14.9 0 0 1 1.663-4.471 8.028 8.028 0 0 0-3.503 2.81c.529.638 1.149 1.199 1.84 1.66ZM17.334 6.798a7.973 7.973 0 0 1 .614 4.115 13.47 13.47 0 0 1-3.178 1.72 15.093 15.093 0 0 0 .174-3.939 10.043 10.043 0 0 0 2.39-1.896ZM2.666 6.798a10.042 10.042 0 0 0 2.39 1.896 15.196 15.196 0 0 0 .174 3.94 13.472 13.472 0 0 1-3.178-1.72 7.973 7.973 0 0 1 .615-4.115ZM10 15c.898 0 1.778-.079 2.633-.23a13.473 13.473 0 0 1-1.72 3.178 8.099 8.099 0 0 1-1.826 0 13.47 13.47 0 0 1-1.72-3.178c.855.151 1.735.23 2.633.23ZM14.357 14.357a14.912 14.912 0 0 1-1.305 3.04 8.027 8.027 0 0 0 4.345-4.345c-.953.542-1.971.981-3.04 1.305ZM6.948 17.397a8.027 8.027 0 0 1-4.345-4.345c.953.542 1.971.981 3.04 1.305a14.912 14.912 0 0 0 1.305 3.04Z"}))}const aO=f.forwardRef(iO);function uO({title:e,titleId:t,...n},r){return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?f.createElement("title",{id:t},e):null,f.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-7-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 9a.75.75 0 0 0 0 1.5h.253a.25.25 0 0 1 .244.304l-.459 2.066A1.75 1.75 0 0 0 10.747 15H11a.75.75 0 0 0 0-1.5h-.253a.25.25 0 0 1-.244-.304l.459-2.066A1.75 1.75 0 0 0 9.253 9H9Z",clipRule:"evenodd"}))}const sO=f.forwardRef(uO);function cO({title:e,titleId:t,...n},r){return f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?f.createElement("title",{id:t},e):null,f.createElement("path",{fillRule:"evenodd",d:"M2 3.5A1.5 1.5 0 0 1 3.5 2h1.148a1.5 1.5 0 0 1 1.465 1.175l.716 3.223a1.5 1.5 0 0 1-1.052 1.767l-.933.267c-.41.117-.643.555-.48.95a11.542 11.542 0 0 0 6.254 6.254c.395.163.833-.07.95-.48l.267-.933a1.5 1.5 0 0 1 1.767-1.052l3.223.716A1.5 1.5 0 0 1 18 15.352V16.5a1.5 1.5 0 0 1-1.5 1.5H15c-1.149 0-2.263-.15-3.326-.43A13.022 13.022 0 0 1 2.43 8.326 13.019 13.019 0 0 1 2 5V3.5Z",clipRule:"evenodd"}))}const fO=f.forwardRef(cO);var mg=function(t){return t.reduce(function(n,r){var o=r[0],l=r[1];return n[o]=l,n},{})},vg=typeof window<"u"&&window.document&&window.document.createElement?f.useLayoutEffect:f.useEffect,_t="top",sn="bottom",cn="right",Nt="left",Th="auto",ha=[_t,sn,cn,Nt],Cl="start",Vi="end",dO="clippingParents",Yx="viewport",ql="popper",pO="reference",gg=ha.reduce(function(e,t){return e.concat([t+"-"+Cl,t+"-"+Vi])},[]),Kx=[].concat(ha,[Th]).reduce(function(e,t){return e.concat([t,t+"-"+Cl,t+"-"+Vi])},[]),hO="beforeRead",mO="read",vO="afterRead",gO="beforeMain",yO="main",wO="afterMain",xO="beforeWrite",EO="write",SO="afterWrite",kO=[hO,mO,vO,gO,yO,wO,xO,EO,SO];function Bn(e){return e?(e.nodeName||"").toLowerCase():null}function Qt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function jo(e){var t=Qt(e).Element;return e instanceof t||e instanceof Element}function ln(e){var t=Qt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Oh(e){if(typeof ShadowRoot>"u")return!1;var t=Qt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function CO(e){var t=e.state;
vendor: 16,577 bytes, line 54
54Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},l=t.elements[n];!ln(l)||!Bn(l)||(Object.assign(l.style,r),Object.keys(o).forEach(function(i){var a=o[i];a===!1?l.removeAttribute(i):l.setAttribute(i,a===!0?"":a)}))})}function $O(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],l=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=i.reduce(function(u,s){return u[s]="",u},{});!ln(o)||!Bn(o)||(Object.assign(o.style,a),Object.keys(l).forEach(function(u){o.removeAttribute(u)}))})}}const bO={name:"applyStyles",enabled:!0,phase:"write",fn:CO,effect:$O,requires:["computeStyles"]};function Fn(e){return e.split("-")[0]}var Ro=Math.max,ns=Math.min,$l=Math.round;function Rd(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Qx(){return!/^((?!chrome|android).)*safari/i.test(Rd())}function bl(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,l=1;t&&ln(e)&&(o=e.offsetWidth>0&&$l(r.width)/e.offsetWidth||1,l=e.offsetHeight>0&&$l(r.height)/e.offsetHeight||1);var i=jo(e)?Qt(e):window,a=i.visualViewport,u=!Qx()&&n,s=(r.left+(u&&a?a.offsetLeft:0))/o,c=(r.top+(u&&a?a.offsetTop:0))/l,d=r.width/o,m=r.height/l;return{width:d,height:m,top:c,right:s+d,bottom:c+m,left:s,x:s,y:c}}function Mh(e){var t=bl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Xx(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Oh(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function dr(e){return Qt(e).getComputedStyle(e)}function RO(e){return["table","td","th"].indexOf(Bn(e))>=0}function oo(e){return((jo(e)?e.ownerDocument:e.document)||window.document).documentElement}function ec(e){return Bn(e)==="html"?e:e.assignedSlot||e.parentNode||(Oh(e)?e.host:null)||oo(e)}function yg(e){return!ln(e)||dr(e).position==="fixed"?null:e.offsetParent}function PO(e){var t=/firefox/i.test(Rd()),n=/Trident/i.test(Rd());if(n&&ln(e)){var r=dr(e);if(r.position==="fixed")return null}var o=ec(e);for(Oh(o)&&(o=o.host);ln(o)&&["html","body"].indexOf(Bn(o))<0;){var l=dr(o);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||t&&l.willChange==="filter"||t&&l.filter&&l.filter!=="none")return o;o=o.parentNode}return null}function ma(e){for(var t=Qt(e),n=yg(e);n&&RO(n)&&dr(n).position==="static";)n=yg(n);return n&&(Bn(n)==="html"||Bn(n)==="body"&&dr(n).position==="static")?t:n||PO(e)||t}function _h(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function xi(e,t,n){return Ro(e,ns(t,n))}function TO(e,t,n){var r=xi(e,t,n);return r>n?n:r}function Zx(){return{top:0,right:0,bottom:0,left:0}}function qx(e){return Object.assign({},Zx(),e)}function Jx(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var OO=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,qx(typeof t!="number"?t:Jx(t,ha))};function MO(e){var t,n=e.state,r=e.name,o=e.options,l=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Fn(n.placement),u=_h(a),s=[Nt,cn].indexOf(a)>=0,c=s?"height":"width";if(!(!l||!i)){var d=OO(o.padding,n),m=Mh(l),p=u==="y"?_t:Nt,g=u==="y"?sn:cn,y=n.rects.reference[c]+n.rects.reference[u]-i[u]-n.rects.popper[c],x=i[u]-n.rects.reference[u],v=ma(l),h=v?u==="y"?v.clientHeight||0:v.clientWidth||0:0,w=y/2-x/2,E=d[p],k=h-m[c]-d[g],C=h/2-m[c]/2+w,$=xi(E,C,k),R=u;n.modifiersData[r]=(t={},t[R]=$,t.centerOffset=$-C,t)}}function _O(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Xx(t.elements.popper,o)&&(t.elements.arrow=o))}const NO={name:"arrow",enabled:!0,phase:"main",fn:MO,effect:_O,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Rl(e){return e.split("-")[1]}var LO={top:"auto",right:"auto",bottom:"auto",left:"auto"};function FO(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:$l(n*o)/o||0,y:$l(r*o)/o||0}}function wg(e){var t,n=e.popper,r=e.popperRect,o=e.placement,l=e.variation,i=e.offsets,a=e.position,u=e.gpuAcceleration,s=e.adaptive,c=e.roundOffsets,d=e.isFixed,m=i.x,p=m===void 0?0:m,g=i.y,y=g===void 0?0:g,x=typeof c=="function"?c({x:p,y}):{x:p,y};p=x.x,y=x.y;var v=i.hasOwnProperty("x"),h=i.hasOwnProperty("y"),w=Nt,E=_t,k=window;if(s){var C=ma(n),$="clientHeight",R="clientWidth";if(C===Qt(n)&&(C=oo(n),dr(C).position!=="static"&&a==="absolute"&&($="scrollHeight",R="scrollWidth")),C=C,o===_t||(o===Nt||o===cn)&&l===Vi){E=sn;var O=d&&C===k&&k.visualViewport?k.visualViewport.height:C[$];y-=O-r.height,y*=u?1:-1}if(o===Nt||(o===_t||o===sn)&&l===Vi){w=cn;var b=d&&C===k&&k.visualViewport?k.visualViewport.width:C[R];p-=b-r.width,p*=u?1:-1}}var T=Object.assign({position:a},s&&LO),_=c===!0?FO({x:p,y},Qt(n)):{x:p,y};if(p=_.x,y=_.y,u){var L;return Object.assign({},T,(L={},L[E]=h?"0":"",L[w]=v?"0":"",L.transform=(k.devicePixelRatio||1)<=1?"translate("+p+"px, "+y+"px)":"translate3d("+p+"px, "+y+"px, 0)",L))}return Object.assign({},T,(t={},t[E]=h?y+"px":"",t[w]=v?p+"px":"",t.transform="",t))}function AO(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,l=n.adaptive,i=l===void 0?!0:l,a=n.roundOffsets,u=a===void 0?!0:a,s={placement:Fn(t.placement),variation:Rl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,wg(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,wg(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const jO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:AO,data:{}};var Ba={passive:!0};function DO(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,l=o===void 0?!0:o,i=r.resize,a=i===void 0?!0:i,u=Qt(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&s.forEach(function(c){c.addEventListener("scroll",n.update,Ba)}),a&&u.addEventListener("resize",n.update,Ba),function(){l&&s.forEach(function(c){c.removeEventListener("scroll",n.update,Ba)}),a&&u.removeEventListener("resize",n.update,Ba)}}const IO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:DO,data:{}};var zO={left:"right",right:"left",bottom:"top",top:"bottom"};function fu(e){return e.replace(/left|right|bottom|top/g,function(t){return zO[t]})}var BO={start:"end",end:"start"};function xg(e){return e.replace(/start|end/g,function(t){return BO[t]})}function Nh(e){var t=Qt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Lh(e){return bl(oo(e)).left+Nh(e).scrollLeft}function HO(e,t){var n=Qt(e),r=oo(e),o=n.visualViewport,l=r.clientWidth,i=r.clientHeight,a=0,u=0;if(o){l=o.width,i=o.height;var s=Qx();(s||!s&&t==="fixed")&&(a=o.offsetLeft,u=o.offsetTop)}return{width:l,height:i,x:a+Lh(e),y:u}}function UO(e){var t,n=oo(e),r=Nh(e),o=(t=e.ownerDocument)==null?void 0:t.body,l=Ro(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Ro(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+Lh(e),u=-r.scrollTop;return dr(o||n).direction==="rtl"&&(a+=Ro(n.clientWidth,o?o.clientWidth:0)-l),{width:l,height:i,x:a,y:u}}function Fh(e){var t=dr(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function eE(e){return["html","body","#document"].indexOf(Bn(e))>=0?e.ownerDocument.body:ln(e)&&Fh(e)?e:eE(ec(e))}function Ei(e,t){var n;t===void 0&&(t=[]);var r=eE(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),l=Qt(r),i=o?[l].concat(l.visualViewport||[],Fh(r)?r:[]):r,a=t.concat(i);return o?a:a.concat(Ei(ec(i)))}function Pd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function VO(e,t){var n=bl(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Eg(e,t,n){return t===Yx?Pd(HO(e,n)):jo(t)?VO(t,n):Pd(UO(oo(e)))}function WO(e){var t=Ei(ec(e)),n=["absolute","fixed"].indexOf(dr(e).position)>=0,r=n&&ln(e)?ma(e):e;return jo(r)?t.filter(function(o){return jo(o)&&Xx(o,r)&&Bn(o)!=="body"}):[]}function GO(e,t,n,r){var o=t==="clippingParents"?WO(e):[].concat(t),l=[].concat(o,[n]),i=l[0],a=l.reduce(function(u,s){var c=Eg(e,s,r);return u.top=Ro(c.top,u.top),u.right=ns(c.right,u.right),u.bottom=ns(c.bottom,u.bottom),u.left=Ro(c.left,u.left),u},Eg(e,i,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function tE(e){var t=e.reference,n=e.element,r=e.placement,o=r?Fn(r):null,l=r?Rl(r):null,i=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,u;switch(o){case _t:u={x:i,y:t.y-n.height};break;case sn:u={x:i,y:t.y+t.height};break;case cn:u={x:t.x+t.width,y:a};break;case Nt:u={x:t.x-n.width,y:a};break;default:u={x:t.x,y:t.y}}var s=o?_h(o):null;if(s!=null){var c=s==="y"?"height":"width";switch(l){case Cl:u[s]=u[s]-(t[c]/2-n[c]/2);break;case Vi:u[s]=u[s]+(t[c]/2-n[c]/2);break}}return u}function Wi(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,l=n.strategy,i=l===void 0?e.strategy:l,a=n.boundary,u=a===void 0?dO:a,s=n.rootBoundary,c=s===void 0?Yx:s,d=n.elementContext,m=d===void 0?ql:d,p=n.altBoundary,g=p===void 0?!1:p,y=n.padding,x=y===void 0?0:y,v=qx(typeof x!="number"?x:Jx(x,ha)),h=m===ql?pO:ql,w=e.rects.popper,E=e.elements[g?h:m],k=GO(jo(E)?E:E.contextElement||oo(e.elements.popper),u,c,i),C=bl(e.elements.reference),$=tE({reference:C,element:w,placement:o}),R=Pd(Object.assign({},w,$)),O=m===ql?R:C,b={top:k.top-O.top+v.top,bottom:O.bottom-k.bottom+v.bottom,left:k.left-O.left+v.left,right:O.right-k.right+v.right},T=e.modifiersData.offset;if(m===ql&&T){var _=T[o];Object.keys(b).forEach(function(L){var F=[cn,sn].indexOf(L)>=0?1:-1,G=[_t,sn].indexOf(L)>=0?"y":"x";b[L]+=_[G]*F})}return b}function YO(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,l=n.rootBoundary,i=n.padding,a=n.flipVariations,u=n.allowedAutoPlacements,s=u===void 0?Kx:u,c=Rl(r),d=c?a?gg:gg.filter(function(g){return Rl(g)===c}):ha,m=d.filter(function(g){return s.indexOf(g)>=0});m.length===0&&(m=d);var p=m.reduce(function(g,y){return g[y]=Wi(e,{placement:y,boundary:o,rootBoundary:l,padding:i})[Fn(y)],g},{});return Object.keys(p).sort(function(g,y){return p[g]-p[y]})}function KO(e){if(Fn(e)===Th)return[];var t=fu(e);return[xg(e),t,xg(t)]}function QO(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,l=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,u=n.fallbackPlacements,s=n.padding,c=n.boundary,d=n.rootBoundary,m=n.altBoundary,p=n.flipVariations,g=p===void 0?!0:p,y=n.allowedAutoPlacements,x=t.options.placement,v=Fn(x),h=v===x,w=u||(h||!g?[fu(x)]:KO(x)),E=[x].concat(w).reduce(function(Y,A){return Y.concat(Fn(A)===Th?YO(t,{placement:A,boundary:c,rootBoundary:d,padding:s,flipVariations:g,allowedAutoPlacements:y}):A)},[]),k=t.rects.reference,C=t.rects.popper,$=new Map,R=!0,O=E[0],b=0;b<E.length;b++){var T=E[b],_=Fn(T),L=Rl(T)===Cl,F=[_t,sn].indexOf(_)>=0,G=F?"width":"height",j=Wi(t,{placement:T,boundary:c,rootBoundary:d,altBoundary:m,padding:s}),I=F?L?cn:Nt:L?sn:_t;k[G]>C[G]&&(I=fu(I));var P=fu(I),M=[];if(l&&M.push(j[_]<=0),a&&M.push(j[I]<=0,j[P]<=0),M.every(function(Y){return Y})){O=T,R=!1;break}$.set(T,M)}if(R)for(var N=g?3:1,H=function(A){var V=E.find(function(Q){var J=$.get(Q);if(J)return J.slice(0,A).every(function(le){return le})});if(V)return O=V,"break"},U=N;U>0;U--){var z=H(U);if(z==="break")break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}}const XO={name:"flip",enabled:!0,phase:"main",fn:QO,requiresIfExists:["offset"],data:{_skip:!1}};function Sg(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function kg(e){return[_t,cn,sn,Nt].some(function(t){return e[t]>=0})}function ZO(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,l=t.modifiersData.preventOverflow,i=Wi(t,{elementContext:"reference"}),a=Wi(t,{altBoundary:!0}),u=Sg(i,r),s=Sg(a,o,l),c=kg(u),d=kg(s);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:s,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}const qO={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ZO};function JO(e,t,n){var r=Fn(e),o=[Nt,_t].indexOf(r)>=0?-1:1,l=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=l[0],a=l[1];return i=i||0,a=(a||0)*o,[Nt,cn].indexOf(r)>=0?{x:a,y:i}:{x:i,y:a}}function eM(e){var t=e.state,n=e.options,r=e.name,o=n.offset,l=o===void 0?[0,0]:o,i=Kx.reduce(function(c,d){return c[d]=JO(d,t.rects,l),c},{}),a=i[t.placement],u=a.x,s=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=s),t.modifiersData[r]=i}const tM={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:eM};function nM(e){var t=e.state,n=e.name;t.modifiersData[n]=tE({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const rM={name:"popperOffsets",enabled:!0,phase:"read",fn:nM,data:{}};function oM(e){return e==="x"?"y":"x"}function lM(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,l=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,u=n.boundary,s=n.rootBoundary,c=n.altBoundary,d=n.padding,m=n.tether,p=m===void 0?!0:m,g=n.tetherOffset,y=g===void 0?0:g,x=Wi(t,{boundary:u,rootBoundary:s,padding:d,altBoundary:c}),v=Fn(t.placement),h=Rl(t.placement),w=!h,E=_h(v),k=oM(E),C=t.modifiersData.popperOffsets,$=t.rects.reference,R=t.rects.popper,O=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,b=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(C){if(l){var L,F=E==="y"?_t:Nt,G=E==="y"?sn:cn,j=E==="y"?"height":"width",I=C[E],P=I+x[F],M=I-x[G],N=p?-R[j]/2:0,H=h===Cl?$[j]:R[j],U=h===Cl?-R[j]:-$[j],z=t.elements.arrow,Y=p&&z?Mh(z):{width:0,height:0},A=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Zx(),V=A[F],Q=A[G],J=xi(0,$[j],Y[j]),le=w?$[j]/2-N-J-V-b.mainAxis:H-J-V-b.mainAxis,he=w?-$[j]/2+N+J+Q+b.mainAxis:U+J+Q+b.mainAxis,Ae=t.elements.arrow&&ma(t.elements.arrow),Ve=Ae?E==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,dn=(L=T==null?void 0:T[E])!=null?L:0,kt=I+le-dn-Ve,Ft=I+he-dn,Ie=xi(p?ns(P,kt):P,I,p?Ro(M,Ft):M);C[E]=Ie,_[E]=Ie-I}if(a){var At,Ct=E==="x"?_t:Nt,Ye=E==="x"?sn:cn,Ke=C[k],me=k==="y"?"height":"width",ve=Ke+x[Ct],Pe=Ke-x[Ye],ze=[_t,Nt].indexOf(v)!==-1,dt=(At=T==null?void 0:T[k])!=null?At:0,Vn=ze?ve:Ke-$[me]-R[me]-dt+b.altAxis,pn=ze?Ke+$[me]+R[me]-dt-b.altAxis:Pe,hn=p&&ze?TO(Vn,Ke,pn):xi(p?Vn:ve,Ke,p?pn:Pe);C[k]=hn,_[k]=hn-Ke}t.modifiersData[r]=_}}const iM={name:"preventOverflow",enabled:!0,phase:"main",fn:lM,requiresIfExists:["offset"]};function aM(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function uM(e){return e===Qt(e)||!ln(e)?Nh(e):aM(e)}function sM(e){var t=e.getBoundingClientRect(),n=$l(t.width)/e.offsetWidth||1,r=$l(t.height)/e.offsetHeight||1;return n!==1||r!==1}function cM(e,t,n){n===void 0&&(n=!1);var r=ln(t),o=ln(t)&&sM(t),l=oo(t),i=bl(e,o,n),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Bn(t)!=="body"||Fh(l))&&(a=uM(t)),ln(t)?(u=bl(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):l&&(u.x=Lh(l))),{x:i.left+a.scrollLeft-u.x,y:i.top+a.scrollTop-u.y,width:i.width,height:i.height}}function fM(e){var t=new Map,n=new Set,r=[];e.forEach(function(l){t.set(l.name,l)});function o(l){n.add(l.name);var i=[].concat(l.requires||[],l.requiresIfExists||[]);
54i.forEach(function(a){if(!n.has(a)){var u=t.get(a);u&&o(u)}}),r.push(l)}return e.forEach(function(l){n.has(l.name)||o(l)}),r}function dM(e){var t=fM(e);return kO.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function pM(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function hM(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Cg={placement:"bottom",modifiers:[],strategy:"absolute"};function $g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function mM(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,l=o===void 0?Cg:o;return function(a,u,s){s===void 0&&(s=l);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Cg,l),modifiersData:{},elements:{reference:a,popper:u},attributes:{},styles:{}},d=[],m=!1,p={state:c,setOptions:function(v){var h=typeof v=="function"?v(c.options):v;y(),c.options=Object.assign({},l,c.options,h),c.scrollParents={reference:jo(a)?Ei(a):a.contextElement?Ei(a.contextElement):[],popper:Ei(u)};var w=dM(hM([].concat(r,c.options.modifiers)));return c.orderedModifiers=w.filter(function(E){return E.enabled}),g(),p.update()},forceUpdate:function(){if(!m){var v=c.elements,h=v.reference,w=v.popper;if($g(h,w)){c.rects={reference:cM(h,ma(w),c.options.strategy==="fixed"),popper:Mh(w)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(b){return c.modifiersData[b.name]=Object.assign({},b.data)});for(var E=0;E<c.orderedModifiers.length;E++){if(c.reset===!0){c.reset=!1,E=-1;continue}var k=c.orderedModifiers[E],C=k.fn,$=k.options,R=$===void 0?{}:$,O=k.name;typeof C=="function"&&(c=C({state:c,options:R,name:O,instance:p})||c)}}}},update:pM(function(){return new Promise(function(x){p.forceUpdate(),x(c)})}),destroy:function(){y(),m=!0}};if(!$g(a,u))return p;p.setOptions(s).then(function(x){!m&&s.onFirstUpdate&&s.onFirstUpdate(x)});function g(){c.orderedModifiers.forEach(function(x){var v=x.name,h=x.options,w=h===void 0?{}:h,E=x.effect;if(typeof E=="function"){var k=E({state:c,name:v,instance:p,options:w}),C=function(){};d.push(k||C)}})}function y(){d.forEach(function(x){return x()}),d=[]}return p}}var vM=[IO,rM,jO,bO,tM,XO,iM,NO,qO],gM=mM({defaultModifiers:vM}),yM=typeof Element<"u",wM=typeof Map=="function",xM=typeof Set=="function",EM=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function du(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!du(e[r],t[r]))return!1;return!0}var l;if(wM&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(l=e.entries();!(r=l.next()).done;)if(!t.has(r.value[0]))return!1;for(l=e.entries();!(r=l.next()).done;)if(!du(r.value[1],t.get(r.value[0])))return!1;return!0}if(xM&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(l=e.entries();!(r=l.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(EM&&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(yM&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!du(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var SM=function(t,n){try{return du(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 kM=gs(SM);var CM=[],$M=function(t,n,r){r===void 0&&(r={});var o=f.useRef(null),l={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||CM}
54,i=f.useState({styles:{popper:{position:l.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),a=i[0],u=i[1],s=f.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(p){var g=p.state,y=Object.keys(g.elements);An.flushSync(function(){u({styles:mg(y.map(function(x){return[x,g.styles[x]||{}]})),attributes:mg(y.map(function(x){return[x,g.attributes[x]]}))})})},requires:["computeStyles"]}},[]),c=f.useMemo(function(){var m={onFirstUpdate:l.onFirstUpdate,placement:l.placement,strategy:l.strategy,modifiers:[].concat(l.modifiers,[s,{name:"applyStyles",enabled:!1}])};return kM(o.current,m)?o.current||m:(o.current=m,m)},[l.onFirstUpdate,l.placement,l.strategy,l.modifiers,s]),d=f.useRef();return vg(function(){d.current&&d.current.setOptions(c)},[c]),vg(function(){if(!(t==null||n==null)){var m=r.createPopper||gM,p=m(t,n,c);return d.current=p,function(){p.destroy(),d.current=null}}},[t,n,r.createPopper]),{state:d.current?d.current.state:null,styles:a.styles,attributes:a.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}};function bg({title:e,description:t}){let[n,r]=f.useState(),[o,l]=f.useState(),{styles:i,attributes:a}=$M(n,o);return S.jsx("div",{className:"top-16",children:S.jsx(lf,{className:"relative",children:({open:u})=>S.jsxs(S.Fragment,{children:[S.jsx(lf.Button,{className:`
55                ${u?"":"text-opacity-90"}
56                group inline-flex items-center rounded-md text-base font-medium text-gray-900 hover:text-opacity-100`,ref:r,children:S.jsx(sO,{className:`${u?"":"text-opacity-90"}
57                   h-4 w-4 text-gray-900 transition duration-150 ease-in-out group-hover:text-opacity-80`,"aria-hidden":"true"})}),S.jsx(Ax,{as:f.Fragment,enter:"transition ease-out duration-200",enterFrom:"opacity-0 translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-1",children:S.jsx(lf.Panel,{ref:l,style:i.popper,...a.popper,className:"absolute left-1/2 mt-3 w-screen max-w-sm -translate-x-1/2 transform px-4 sm:px-0 lg:max-w-xs z-10 ",children:S.jsx("div",{className:"overflow-hidden rounded-md shadow-lg ring-1 ring-black ring-opacity-5 border border-gray-200",children:S.jsxs("div",{className:"relative bg-gray-50 dark:bg-black py-4 px-7",children:[S.jsx("p",{className:"text-md font-medium text-gray-900 dark:text-white",children:e}),S.jsx("p",{className:"text-sm font-normal text-gray-900 dark:text-white mt-2",children:t})]})})})})]})})})}const bM=()=>S.jsx(S.Fragment,{children:S.jsxs("div",{className:"fixed top-0 left-0 right-0 bottom-0 w-full h-screen z-[999] overflow-hidden bg-gray-700 opacity-75 flex flex-col items-center justify-center",children:[S.jsx("div",{className:"loader h-12  mb-4",children:S.jsx("svg",{className:"waving-flag",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.7 11.2",children:S.jsx("path",{className:"flag-shape",d:"M12.2,9.1c-.7,1-1.9,1.6-3.1,1.7-1.8,0-3.5-1.7-5.5-1.7s-2.3.6-3,1.6V2C1.3,1,2.4.4,3.6.4c2,0,3.7,1.7,5.5,1.7,1.2-.1,2.3-.7,3.1-1.6v8.6Z"})})}),S.jsx("h2",{className:"text-center text-white text-xl mt-28",children:"Loading..."})]})});function Rg(...e){return e.filter(Boolean).join(" ")}const RM=({storesList:e,onListClick:t,setFilters:n,setSelectedFilter:r,selectedFilter:o,series:l,loading:i})=>{const[a,u]=f.useState(),s=(d,m)=>{u(d),t(m)},c=e==null?void 0:e.map(d=>{const m=d.series.map(p=>l==null?void 0:l.find(g=>g.SERIES_ID===p)).filter(Boolean);return{...d,series:m}});return S.jsxs(S.Fragment,{children:[i?S.jsx(bM,{}):null,o!==""?S.jsx("div",{className:"flex justify-end mt-6 pr-2",children:S.jsx("button",{type:"button",className:"font-body rounded-full bg-white px-6 py-1 text-lg font-medium text-gray-900 shadow-sm ring-1 ring-inset ring-gray-600 hover:bg-gray-200/70",onClick:()=>{r(""),n(!1)},children:"Clear Filters"})}):null,S.jsx("div",{className:"px-2 md:bg-white pt-6",children:c.length?S.jsx("fieldset",{"aria-label":"Server size",children:S.jsx(zx,{value:a,className:"overflow-y-scroll md:h-[70vh] h-[37vh]",onChange:d=>s(d,c.indexOf(d)),children:c==null?void 0:c.map(d=>{var m,p,g;return S.jsxs($h,{value:d,"aria-label":d.CUST_NAME,className:Rg(d.FLAGSHIP_DEALER_AN==="Y"?"bg-yellow-100":"hover:bg-gray-100 bg-white","group  relative cursor-pointer rounded-lg  px-6 py-6 shadow-sm focus:outline-none data-[focus]:border-gray-700 data-[focus]:ring-2 data-[focus]:ring-gray-700 flex justify-between mx-1 mt-1"),children:[S.jsx("span",{className:"items-center",children:S.jsxs("span",{className:"text-sm",children:[S.jsx("span",{className:"font-body font-bold text-gray-900 text-xl lg:leading-tight leading-snug",children:d.CUST_NAME}),S.jsx("br",{}),S.jsxs("div",{className:"flex flex-wrap gap-2",children:[S.jsx("span",{className:Rg(d.STOREFRONT==="Storefront"?"custom-installer text-white":"bg-gradient-to-r from-neutral-500 to-neutral-900 text-gray-50","mt-2 inline-flex items-center font-body rounded-md md:px-3 px-2 py-2 md:text-[13px] text-xs font-light"),children:d.STOREFRONT==="Storefront"?"Anthem Retailer":"Custom Integrator"}),d.DEMO_SHOWROOM_AN==="Y"||d.APPOINTMENTS_ONLY_AN==="Y"?S.jsxs("span",{className:"flex gap-2",children:[d.DEMO_SHOWROOM_AN==="Y"&&S.jsx("span",{className:"mt-2 inline-flex font-body items-center gap-x-1.5 rounded-md bg-gradient-to-r from-purple-600 to-indigo-500 md:px-3 px-2 py-2 md:text-[13px] text-xs font-light text-white",children:"Demo Showroom"}),d.APPOINTMENTS_ONLY_AN==="Y"&&S.jsx("span",{className:"mt-2 inline-flex font-body items-center gap-x-1.5 rounded-md bg-gradient-to-r from-red-500 to-pink-500 md:px-3 px-2 py-2 md:text-[13px] text-xs font-light text-white",children:"Call Ahead to Visit"})]}):null]}
57),((m=d.relatedSeries)==null?void 0:m.length)>0&&S.jsx("div",{className:"flex flex-wrap gap-1 mt-2",children:d.relatedSeries.filter(y=>y.ANTHEM==="Y").sort((y,x)=>y.ORDER-x.ORDER).map(y=>S.jsx("span",{className:"inline-flex font-body items-center rounded-md bg-black px-1.5 py-0.5 text-[10px] font-normal text-gray-50",children:y.SERIES},y.SERIES_ID))}),S.jsx("br",{}),((p=d==null?void 0:d.ZIPCODE)==null?void 0:p.length)&&S.jsxs(S.Fragment,{children:[S.jsxs("div",{className:"text-gray-900 pt-2",children:[S.jsxs("span",{className:"block sm:inline font-body lg:text-[17px] text-[16px] font-normal",children:[d.CUST_ADDRESS,", ",d.CITY,", ",d.STATE]})," "]}),S.jsxs("div",{className:"block sm:inline font-body text-[13px] font-normal",children:[Math.round((d.distance*.000621371192+Number.EPSILON)*100)/100," ","miles away"]})]})]})}),S.jsx("span",{className:"mt-2 flex sm:ml-4 sm:mt-0 sm:flex-col sm:text-center",children:(g=d==null?void 0:d.ZIPCODE)!=null&&g.length?S.jsxs("span",{className:"ml-1 text-gray-900 sm:ml-0 svg-container",onClick:()=>{let y=new URL("https://www.google.com/maps/dir/");const x=`${d.CUST_ADDRESS}, ${d.CUST_CITY}, ${d.CUST_STATE}`;y.searchParams.append("api","1"),y.searchParams.append("destination",x),window.open(y.href,"_blank")},children:[S.jsxs("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 247.9 247.9",style:{width:"50px",height:"50px",boxSizing:"content-box",padding:"8px"},className:"inline-svg",children:[S.jsx("defs",{children:S.jsx("style",{children:`
58.st0 {
59fill: #231f20 !important;
60}
61
62.st1 {
63stroke-width: 6px;
64}
65
66.st1, .st2 {
67fill: none;
68stroke: #231f20 !important;
69stroke-miterlimit: 10;
70}
71
72
73.st2 {
74stroke-width: 6px;
75}
76
77svg:hover .st1, svg:hover .st2 {
78stroke: #CC0000 !important;
79
80}
81
82svg:hover .st0 {
83fill: #CC0000 !important;
84}
85
86
87.hover-text {
88opacity: 0;
89transition: opacity 0.3s;
90color: #CC0000;
91}
92
93
94.svg-container:hover .hover-text {
95opacity: 1;
96}
97
98`})}),S.jsxs("g",{children:[S.jsxs("g",{children:[S.jsx("path",{className:"st1",d:"M122.4,180.3v-21.5s-6.1-65.6,46.7-67.6"}),S.jsx("path",{className:"st0",d:"M155.8,101.4c-.3-.5-.2-1.1.3-1.4l12.6-8.7-13.2-7.7c-.5-.3-.6-.9-.4-1.4.3-.5.9-.6,1.4-.4l14.6,8.5c.3.2.5.5.5.8,0,.3-.1.7-.4.9l-13.9,9.6c-.2.1-.3.2-.5.2-.3,0-.7-.1-.9-.4Z"})]}),S.jsxs("g",{children:[S.jsx("path",{className:"st1",d:"M122.4,180.3v-21.5s6.1-65.6-46.7-67.6"}),S.jsx("path",{className:"st0",d:"M89.7,82.2c.3.5.1,1.1-.4,1.4l-13.2,7.7,12.6,8.7c.5.3.6.9.3,1.4-.3.5-.9.6-1.4.3l-13.9-9.6c-.3-.2-.4-.5-.4-.9s.2-.7.5-.8l14.6-8.5c.2,0,.4-.1.5-.1.3,0,.6.2.8.5Z"})]})]}),S.jsx("circle",{className:"st2",cx:124.4,cy:124.2,r:120})]}),S.jsx("div",{className:"hover-text text-xs",children:"Get Directions"})]}):null}),S.jsx("span",{"aria-hidden":"true",className:"pointer-events-none absolute -inset-px rounded-lg border-2 border-transparent group-data-[focus]:border group-data-[checked]:border-gray-700"})]},d.SHIPTO_ID)})})}):S.jsxs("div",{className:"px-6 font-body text-xl",children:["No stores found nearby"," ",(o==null?void 0:o.length)>0&&`For ${o}. Reset filters to see all stores.`]})})]})},nE=({setFilters:e,filters:t,selectedFilter:n})=>{const r=()=>{e(!t)};return S.jsx("div",{className:"",children:S.jsx("button",{type:"button",className:"rounded-full text-lg font-body bg-white xl:px-6 lg:px-2 px-3 py-1 font-medium text-gray-900 shadow-sm ring-1 ring-inset ring-gray-700 hover:bg-gray-200/70",onClick:r,children:"Filter"})})},rE=e=>{const[t,n]=f.useState(null);return f.useEffect(()=>{const r=()=>new Promise(l=>{if(window.google&&window.google.maps)l(window.google);else{const i=document.createElement("script");i.src=`https://maps.googleapis.com/maps/api/js?key=${e}`,i.async=!0,i.defer=!0,i.onload=()=>l(window.google),document.head.appendChild(i)}});(async()=>{const l=await r();n(l)})()},[e]),t};var lo={},Il={};/**
99 * @license React
100 * react-dom-server-legacy.browser.production.min.js
101 *
102 * Copyright (c) Facebook, Inc. and its affiliates.
103 *
104 * This source code is licensed under the MIT license found in the
105 * LICENSE file in the root directory of this source tree.
106 */var oE=f;function te(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 $t=Object.prototype.hasOwnProperty,PM=/^[: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]*$/,Pg={},Tg={};function lE(e){return $t.call(Tg,e)?!0:$t.call(Pg,e)?!1:PM.test(e)?Tg[e]=!0:(Pg[e]=!0,!1)}function Et(e,t,n,r,o,l,i){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=l,this.removeEmptyString=i}var ot={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ot[e]=new Et(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ot[t]=new Et(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ot[e]=new Et(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ot[e]=new Et(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInl
106ine readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ot[e]=new Et(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ot[e]=new Et(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ot[e]=new Et(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ot[e]=new Et(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ot[e]=new Et(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ah=/[\-:]([a-z])/g;function jh(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(Ah,jh);ot[t]=new Et(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(Ah,jh);ot[t]=new Et(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(Ah,jh);ot[t]=new Et(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ot[e]=new Et(e,1,!1,e.toLowerCase(),null,!1,!1)});ot.xlinkHref=new Et("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ot[e]=new Et(e,1,!1,e.toLowerCase(),null,!0,!0)});var pu={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},TM=["Webkit","ms","Moz","O"];Object.keys(pu).forEach(function(e){TM.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pu[t]=pu[e]})});var OM=/["'&<>]/;function mt(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=OM.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 MM=/([A-Z])/g,_M=/^ms-/,Td=Array.isArray;function Kn(e,t){return{insertionMode:e,selectedValue:t}}function NM(e,t,n){switch(t){case"select":return Kn(1,n.value!=null?n.value:n.defaultValue);case"svg":return Kn(2,null);case"math":return Kn(3,null);case"foreignObject":return Kn(1,null);case"table":return Kn(4,null);case"thead":case"tbody":case"tfoot":return Kn(5,null);case"colgroup":return Kn(7,null);case"tr":return Kn(6,null)}return 4<=e.insertionMode||e.insertionMode===0?Kn(1,null):e}var Og=new Map;function iE(e,t,n){if(typeof n!="object")throw Error(te(62));t=!0;for(var r in n)if($t.call(n,r)){var o=n[r];if(o!=null&&typeof o!="boolean"&&o!==""){if(r.indexOf("--")===0){var l=mt(r);o=mt((""+o).trim())}else{l=r;var i=Og.get(l);i!==void 0||(i=mt(l.replace(MM,"-$1").toLowerCase().replace(_M,"-ms-")),Og.set(l,i)),l=i,o=typeof o=="number"?o===0||$t.call(pu,r)?""+o:o+"px":mt((""+o).trim())}t?(t=!1,e.push(' style="',l,":",o)):e.push(";",l,":",o)}}t||e.push('"')}function jt(e,t,n,r){switch(n){case"style":iE(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=ot.hasOwnProperty(n)?ot[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,'="',mt(r),'"');break;case 5:isNaN(r)||e.push(" ",n,'="',mt(r),'"');break;case 6:!isNaN(r)&&1<=r&&e.push(" ",n,'="',mt(r),'"');break;default:t.sanitizeURL&&(r=""+r),e.push(" ",n,'="',mt(r),'"')}}else if(lE(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,'="',mt(r),'"')}}}function hu(e,t,n){if(t!=null){if(n!=null)throw Error(te(60));if(typeof t!="object"||!("__html"in t))throw Error(te(61));t=t.__html,t!=null&&e.push(""+t)}}function LM(e){var t="";
vendor: 29,791 bytes, lines 106-120
106return oE.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function af(e,t,n,r){e.push(Rn(n));var o=n=null,l;for(l in t)if($t.call(t,l)){var i=t[l];if(i!=null)switch(l){case"children":n=i;break;case"dangerouslySetInnerHTML":o=i;break;default:jt(e,r,l,i)}}return e.push(">"),hu(e,o,n),typeof n=="string"?(e.push(mt(n)),null):n}var FM=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Mg=new Map;function Rn(e){var t=Mg.get(e);if(t===void 0){if(!FM.test(e))throw Error(te(65,e));t="<"+e,Mg.set(e,t)}return t}function AM(e,t,n,r,o){switch(t){case"select":e.push(Rn("select"));var l=null,i=null;for(c in n)if($t.call(n,c)){var a=n[c];if(a!=null)switch(c){case"children":l=a;break;case"dangerouslySetInnerHTML":i=a;break;case"defaultValue":case"value":break;default:jt(e,r,c,a)}}return e.push(">"),hu(e,i,l),l;case"option":i=o.selectedValue,e.push(Rn("option"));var u=a=null,s=null,c=null;for(l in n)if($t.call(n,l)){var d=n[l];if(d!=null)switch(l){case"children":a=d;break;case"selected":s=d;break;case"dangerouslySetInnerHTML":c=d;break;case"value":u=d;default:jt(e,r,l,d)}}if(i!=null)if(n=u!==null?""+u:LM(a),Td(i)){for(r=0;r<i.length;r++)if(""+i[r]===n){e.push(' selected=""');break}}else""+i===n&&e.push(' selected=""');else s&&e.push(' selected=""');return e.push(">"),hu(e,c,a),a;case"textarea":e.push(Rn("textarea")),c=i=l=null;for(a in n)if($t.call(n,a)&&(u=n[a],u!=null))switch(a){case"children":c=u;break;case"value":l=u;break;case"defaultValue":i=u;break;case"dangerouslySetInnerHTML":throw Error(te(91));default:jt(e,r,a,u)}if(l===null&&i!==null&&(l=i),e.push(">"),c!=null){if(l!=null)throw Error(te(92));if(Td(c)&&1<c.length)throw Error(te(93));l=""+c}return typeof l=="string"&&l[0]===`
107`&&e.push(`
108`),l!==null&&e.push(mt(""+l)),null;case"input":e.push(Rn("input")),u=c=a=l=null;for(i in n)if($t.call(n,i)&&(s=n[i],s!=null))switch(i){case"children":case"dangerouslySetInnerHTML":throw Error(te(399,"input"));case"defaultChecked":u=s;break;case"defaultValue":a=s;break;case"checked":c=s;break;case"value":l=s;break;default:jt(e,r,i,s)}return c!==null?jt(e,r,"checked",c):u!==null&&jt(e,r,"checked",u),l!==null?jt(e,r,"value",l):a!==null&&jt(e,r,"value",a),e.push("/>"),null;case"menuitem":e.push(Rn("menuitem"));for(var m in n)if($t.call(n,m)&&(l=n[m],l!=null))switch(m){case"children":case"dangerouslySetInnerHTML":throw Error(te(400));default:jt(e,r,m,l)}return e.push(">"),null;case"title":e.push(Rn("title")),l=null;for(d in n)if($t.call(n,d)&&(i=n[d],i!=null))switch(d){case"children":l=i;break;case"dangerouslySetInnerHTML":throw Error(te(434));default:jt(e,r,d,i)}return e.push(">"),l;case"listing":case"pre":e.push(Rn(t)),i=l=null;for(u in n)if($t.call(n,u)&&(a=n[u],a!=null))switch(u){case"children":l=a;break;case"dangerouslySetInnerHTML":i=a;break;default:jt(e,r,u,a)}if(e.push(">"),i!=null){if(l!=null)throw Error(te(60));if(typeof i!="object"||!("__html"in i))throw Error(te(61));n=i.__html,n!=null&&(typeof n=="string"&&0<n.length&&n[0]===`
109`?e.push(`
110`,n):e.push(""+n))}return typeof l=="string"&&l[0]===`
111`&&e.push(`
112`),l;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(Rn(t));for(var p in n)if($t.call(n,p)&&(l=n[p],l!=null))switch(p){case"children":case"dangerouslySetInnerHTML":throw Error(te(399,t));default:jt(e,r,p,l)}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 af(e,n,t,r);case"html":return o.insertionMode===0&&e.push("<!DOCTYPE html>"),af(e,n,t,r);default:if(t.indexOf("-")===-1&&typeof n.is!="string")return af(e,n,t,r);e.push(Rn(t)),i=l=null;for(s in n)if($t.call(n,s)&&(a=n[s],a!=null))switch(s){case"children":l=a;break;case"dangerouslySetInnerHTML":i=a;break;case"style":iE(e,r,a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:lE(s)&&typeof a!="function"&&typeof a!="symbol"&&e.push(" ",s,'="',mt(a),'"')}return e.push(">"),hu(e,i,l),l}}function _g(e,t,n){if(e.push('<!--$?--><template id="'),n===null)throw Error(te(395));return e.push(n),e.push('"></template>')}function jM(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(te(397))}}function DM(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(te(397))}}var IM=/[<\u2028\u2029]/g;function uf(e){return JSON.stringify(e).replace(IM,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 zM(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 Ng(e,t,n,r){return n.generateStaticMarkup?(e.push(mt(t)),!1):(t===""?e=r:(r&&e.push("<!-- -->"),e.push(mt(t)),e=!0),e)}var Si=Object.assign,BM=Symbol.for("react.element"),aE=Symbol.for("react.portal"),uE=Symbol.for("react.fragment"),sE=Symbol.for("react.strict_mode"),cE=Symbol.for("react.profiler"),fE=Symbol.for("react.provider"),dE=Symbol.for("react.context"),pE=Symbol.for("react.forward_ref"),hE=Symbol.for("react.suspense"),mE=Symbol.for("react.suspense_list"),vE=Symbol.for("react.memo"),Dh=Symbol.for("react.lazy"),HM=Symbol.for("react.scope"),UM=Symbol.for("react.debug_trace_mode"),VM=Symbol.for("react.legacy_hidden"),WM=Symbol.for("react.default_value"),Lg=Symbol.iterator;function Od(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 uE:return"Fragment";case aE:return"Portal";case cE:return"Profiler";case sE:return"StrictMode";case hE:return"Suspense";case mE:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case dE:return(e.displayName||"Context")+".Consumer";case fE:return(e._context.displayName||"Context")+".Provider";case pE:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vE:return t=e.displayName||null,t!==null?t:Od(e.type)||"Memo";case Dh:t=e._payload,e=e._init;try{return Od(e(t))}catch{}}return null}var gE={};function Fg(e,t){if(e=e.contextTypes,!e)return gE;var n={},r;for(r in e)n[r]=t[r];return n}var So=null;function tc(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(te(401))}else{if(n===null)throw Error(te(401));tc(e,n)}t.context._currentValue2=t.value}}function yE(e){e.context._currentValue2=e.parentValue,e=e.parent,e!==null&&yE(e)}function wE(e){var t=e.parent;t!==null&&wE(t),e.context._currentValue2=e.value}function xE(e,t){if(e.context._currentValue2=e.parentValue,e=e.parent,e===null)throw Error(te(402));e.depth===t.depth?tc(e,t):xE(e,t)}function EE(e,t){var n=t.parent;if(n===null)throw Error(te(402));e.depth===n.depth?tc(e,n):EE(e,n),t.context._currentValue2=t.value}function rs(e){var t=So;t!==e&&(t===null?wE(e):e===null?yE(t):t.depth===e.depth?tc(t,e):t.depth>e.depth?xE(t,e):EE(t,e),So=e)}var Ag={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 jg(e,t,n,r){var o=e.state!==void 0?e.state:null;e.updater=Ag,e.props=n,e.state=o;var l={queue:[],replace:!1};e._reactInternals=l;var i=t.contextType;if(e.context=typeof i=="object"&&i!==null?i._currentValue2:r,i=t.getDerivedStateFromProps,typeof i=="function"&&(i=i(n,o),o=i==null?o:Si({},o,i),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&&Ag.enqueueReplaceState(e,e.state,null),l.queue!==null&&0<l.queue.length)if(t=l.queue,i=l.replace,l.queue=null,l.replace=!1,i&&t.length===1)e.state=t[0];else{for(l=i?t[0]:e.state,o=!0,i=i?1:0;i<t.length;i++){var a=t[i];a=typeof a=="function"?a.call(e,l,n,r):a,a!=null&&(o?(o=!1,l=Si({},l,a)):Si(l,a))}e.state=l}else l.queue=null}var GM={id:1,overflow:""};function Md(e,t,n){var r=e.id;e=e.overflow;var o=32-mu(r)-1;r&=~(1<<o),n+=1;var l=32-mu(t)+o;if(30<l){var i=o-o%5;return l=(r&(1<<i)-1).toString(32),r>>=i,o-=i,{id:1<<32-mu(t)+o|n<<o|r,overflow:l+e}}return{id:1<<l|n<<o|r,overflow:e}}var mu=Math.clz32?Math.clz32:QM,YM=Math.log,KM=Math.LN2;function QM(e){return e>>>=0,e===0?32:31-(YM(e)/KM|0)|0}function XM(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ZM=typeof Object.is=="function"?Object.is:XM,pr=null,Ih=null,vu=null,ge=null,li=!1,os=!1,Gi=0,Lr=null,nc=0;function fo(){if(pr===null)throw Error(te(321));return pr}function Dg(){if(0<nc)throw Error(te(312));return{memoizedState:null,queue:null,next:null}}function zh(){return ge===null?vu===null?(li=!1,vu=ge=Dg()):(li=!0,ge=vu):ge.next===null?(li=!1,ge=ge.next=Dg()):(li=!0,ge=ge.next),ge}function Bh(){Ih=pr=null,os=!1,vu=null,nc=0,ge=Lr=null}function SE(e,t){return typeof t=="function"?t(e):t}function Ig(e,t,n){if(pr=fo(),ge=zh(),li){var r=ge.queue;if(t=r.dispatch,Lr!==null&&(n=Lr.get(r),n!==void 0)){Lr.delete(r),r=ge.memoizedState;do r=e(r,n.action),n=n.next;while(n!==null);return ge.memoizedState=r,[r,t]}return[ge.memoizedState,t]}return e=e===SE?typeof t=="function"?t():t:n!==void 0?n(t):t,ge.memoizedState=e,e=ge.queue={last:null,dispatch:null},e=e.dispatch=qM.bind(null,pr,e),[ge.memoizedState,e]}function zg(e,t){if(pr=fo(),ge=zh(),t=t===void 0?null:t,ge!==null){var n=ge.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(!ZM(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),ge.memoizedState=[e,t],e}function qM(e,t,n){if(25<=nc)throw Error(te(301));if(e===pr)if(os=!0,e={action:n,next:null},Lr===null&&(Lr=new Map),n=Lr.get(t),n===void 0)Lr.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function JM(){throw Error(te(394))}function Ha(){}var Bg={readContext:function(e){return e._currentValue2},useContext:function(e){return fo(),e._currentValue2},useMemo:zg,useReducer:Ig,useRef:function(e){pr=fo(),ge=zh();var t=ge.memoizedState;return t===null?(e={current:e},ge.memoizedState=e):t},useState:function(e){return Ig(SE,e)},useInsertionEffect:Ha,useLayoutEffect:function(){},useCallback:function(e,t){return zg(function(){return e},t)},useImperativeHandle:Ha,useEffect:Ha,useDebugValue:Ha,useDeferredValue:function(e){return fo(),e},useTransition:function(){return fo(),[!1,JM]},useId:function(){var e=Ih.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-mu(e)-1)).toString(32)+t;var n=gu;if(n===null)throw Error(te(404));return t=Gi++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return fo(),t(e._source)},useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error(te(407));return n()}},gu=null,sf=oE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function e_(e){return console.error(e),null}function ii(){}function t_(e,t,n,r,o,l,i,a,u){var s=[],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:s,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:o===void 0?e_:o,onAllReady:ii,onShellReady:i===void 0?ii:i,onShellError:ii,onFatalError:ii},n=ls(t,0,null,n,!1,!1),n.parentFlushed=!0,e=Hh(t,e,null,n,c,gE,null,GM),s.push(e),t}function Hh(e,t,n,r,o,l,i,a){e.allPendingTasks++,n===null?e.pendingRootTasks++:n.pendingTasks++;var u={node:t,ping:function(){var s=e.pingedTasks;s.push(u),s.length===1&&$E(e)},blockedBoundary:n,blockedSegment:r,abortSet:o,legacyContext:l,context:i,treeContext:a};return o.add(u),u}function ls(e,t,n,r,o,l){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:o,textEmbedded:l}}function Yi(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 is(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 Hg(e,t,n,r,o){for(pr={},Ih=t,Gi=0,e=n(r,o);os;)os=!1,Gi=0,nc+=1,ge=null,e=n(r,o);return Bh(),e}function Ug(e,t,n,r){var o=n.render(),l=r.childContextTypes;if(l!=null){var i=t.legacyContext;if(typeof n.getChildContext!="function")r=i;else{n=n.getChildContext();for(var a in n)if(!(a in l))throw Error(te(108,Od(r)||"Unknown",a));r=Si({},i,n)}t.legacyContext=r,zt(e,t,o),t.legacyContext=i}else zt(e,t,o)}function Vg(e,t){if(e&&e.defaultProps){t=Si({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function _d(e,t,n,r,o){if(typeof n=="function")if(n.prototype&&n.prototype.isReactComponent){o=Fg(n,t.legacyContext);var l=n.contextType;l=new n(r,typeof l=="object"&&l!==null?l._currentValue2:o),jg(l,n,r,o),Ug(e,t,l,n)}else{l=Fg(n,t.legacyContext),o=Hg(e,t,n,r,l);var i=Gi!==0;if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0)jg(o,n,r,l),Ug(e,t,o,n);else if(i){r=t.treeContext,t.treeContext=Md(r,1,0);try{zt(e,t,o)}finally{t.treeContext=r}}else zt(e,t,o)}else if(typeof n=="string"){switch(o=t.blockedSegment,l=AM(o.chunks,n,r,e.responseState,o.formatContext),o.lastPushedText=!1,i=o.formatContext,o.formatContext=NM(i,n,r),Nd(e,t,l),o.formatContext=i,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 VM:case UM:case sE:case cE:case uE:zt(e,t,r.children);return;case mE:zt(e,t,r.children);return;case HM:throw Error(te(343));case hE:e:{n=t.blockedBoundary,o=t.blockedSegment,l=r.fallback,r=r.children,i=new Set;var a={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:i,errorDigest:null},u=ls(e,o.chunks.length,a,o.formatContext,!1,!1);o.children.push(u),o.lastPushedText=!1;var s=ls(e,0,null,o.formatContext,!1,!1);s.parentFlushed=!0,t.blockedBoundary=a,t.blockedSegment=s;try{if(Nd(e,t,r),e.responseState.generateStaticMarkup||s.lastPushedText&&s.textEmbedded&&s.chunks.push("<!-- -->"),s.status=1,as(a,s),a.pendingTasks===0)break e}catch(c){s.status=4,a.forceClientRender=!0,a.errorDigest=Yi(e,c)}finally{t.blockedBoundary=n,t.blockedSegment=o}t=Hh(e,l,n,u,i,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof n=="object"&&n!==null)switch(n.$$typeof){case pE:if(r=Hg(e,t,n.render,r,o),Gi!==0){n=t.treeContext,t.treeContext=Md(n,1,0);try{zt(e,t,r)}finally{t.treeContext=n}}else zt(e,t,r);return;case vE:n=n.type,r=Vg(n,r),_d(e,t,n,r,o);return;case fE:if(o=r.children,n=n._context,r=r.value,l=n._currentValue2,n._currentValue2=r,i=So,So=r={parent:i,depth:i===null?0:i.depth+1,context:n,parentValue:l,value:r},t.context=r,zt(e,t,o),e=So,e===null)throw Error(te(403));r=e.parentValue,e.context._currentValue2=r===WM?e.context._defaultValue:r,e=So=e.parent,t.context=e;return;case dE:r=r.children,r=r(n._currentValue2),zt(e,t,r);return;case Dh:o=n._init,n=o(n._payload),r=Vg(n,r),_d(e,t,n,r,void 0);return}throw Error(te(130,n==null?n:typeof n,""))}}function zt(e,t,n){if(t.node=n,typeof n=="object"&&n!==null){switch(n.$$typeof){case BM:_d(e,t,n.type,n.props,n.ref);return;case aE:throw Error(te(257));case Dh:var r=n._init;n=r(n._payload),zt(e,t,n);return}if(Td(n)){Wg(e,t,n);return}if(n===null||typeof n!="object"?r=null:(r=Lg&&n[Lg]||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);Wg(e,t,o)}return}throw e=Object.prototype.toString.call(n),Error(te(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}typeof n=="string"?(r=t.blockedSegment,r.lastPushedText=Ng(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText)):typeof n=="number"&&(r=t.blockedSegment,r.lastPushedText=Ng(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function Wg(e,t,n){for(var r=n.length,o=0;o<r;o++){var l=t.treeContext;t.treeContext=Md(l,r,o);try{Nd(e,t,n[o])}finally{t.treeContext=l}}}function Nd(e,t,n){var r=t.blockedSegment.formatContext,o=t.legacyContext,l=t.context;try{return zt(e,t,n)}catch(u){if(Bh(),typeof u=="object"&&u!==null&&typeof u.then=="function"){n=u;var i=t.blockedSegment,a=ls(e,i.chunks.length,null,i.formatContext,i.lastPushedText,!0);i.children.push(a),i.lastPushedText=!1,e=Hh(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=l,rs(l)}else throw t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=l,rs(l),u}}function n_(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,CE(this,t,e)}function kE(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(te(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach(function(o){return kE(o,t,n)}),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(r=t.onAllReady,r()))}function as(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&&as(e,n)}else e.completedSegments.push(t)}function CE(e,t,n){if(t===null){if(n.parentFlushed){if(e.completedRootSegment!==null)throw Error(te(389));e.completedRootSegment=n}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=ii,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(n.parentFlushed&&n.status===1&&as(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(n_,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&n.status===1&&(as(t,n),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function $E(e){if(e.status!==2){var t=So,n=sf.current;sf.current=Bg;var r=gu;gu=e.responseState;try{var o=e.pingedTasks,l;for(l=0;l<o.length;l++){var i=o[l],a=e,u=i.blockedSegment;if(u.status===0){rs(i.context);try{zt(a,i,i.node),a.responseState.generateStaticMarkup||u.lastPushedText&&u.textEmbedded&&u.chunks.push("<!-- -->"),i.abortSet.delete(i),u.status=1,CE(a,i.blockedBoundary,u)}catch(g){if(Bh(),typeof g=="object"&&g!==null&&typeof g.then=="function"){var s=i.ping;g.then(s,s)}else{i.abortSet.delete(i),u.status=4;var c=i.blockedBoundary,d=g,m=Yi(a,d);if(c===null?is(a,d):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=m,c.parentFlushed&&a.clientRenderedBoundaries.push(c))),a.allPendingTasks--,a.allPendingTasks===0){var p=a.onAllReady;p()}}}finally{}}}o.splice(0,l),e.destination!==null&&Uh(e,e.destination)}catch(g){Yi(e,g),is(e,g)}finally{gu=r,sf.current=n,n===Bg&&rs(t)}}}function Ua(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 l=0;n=n.children;for(var i=0;i<n.length;i++){for(o=n[i];l<o.index;l++)t.push(r[l]);o=rc(e,t,o)}for(;l<r.length-1;l++)t.push(r[l]);return l<r.length&&(o=t.push(r[l])),o;default:throw Error(te(390))}}function rc(e,t,n){var r=n.boundary;if(r===null)return Ua(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=mt(r),t.push(r),t.push('"')),t.push("></template>")),Ua(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,l=o.nextSuspenseID++;return o=o.boundaryPrefix+l.toString(16),r=r.id=o,_g(t,e.responseState,r),Ua(e,t,n),t.push("<!--/$-->")}if(r.byteSize>e.progressiveChunkSize)return r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),_g(t,e.responseState,r.id),Ua(e,t,n),t.push("<!--/$-->");if(e.responseState.generateStaticMarkup||t.push("<!--$-->"),n=r.completedSegments,n.length!==1)throw Error(te(391));return rc(e,t,n[0]),e=e.responseState.generateStaticMarkup?!0:t.push("<!--/$-->"),e}function Gg(e,t,n){return jM(t,e.responseState,n.formatContext,n.id),rc(e,t,n),DM(t,n.formatContext)}function Yg(e,t,n){for(var r=n.completedSegments,o=0;o<r.length;o++)bE(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(te(395));return n=n.toString(16),t.push(r),t.push('","'),t.push(e.segmentPrefix),t.push(n),t.push('")<\/script>')}function bE(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(te(392));return Gg(e,t,r)}return Gg(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 Uh(e,t){try{var n=e.completedRootSegment;if(n!==null&&e.pendingRootTasks===0){rc(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,l;for(l=0;l<o.length;l++){var i=o[l];r=t;var a=e.responseState,u=i.id,s=i.errorDigest,c=i.errorMessage,d=i.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("')),u===null)throw Error(te(395));if(r.push(u),r.push('"'),s||c||d){r.push(",");var m=uf(s||"");r.push(m)}if(c||d){r.push(",");var p=uf(c||"");r.push(p)}if(d){r.push(",");var g=uf(d);r.push(g)}if(!r.push(")<\/script>")){e.destination=null,l++,o.splice(0,l);return}}o.splice(0,l);var y=e.completedBoundaries;for(l=0;l<y.length;l++)if(!Yg(e,t,y[l])){e.destination=null,l++,y.splice(0,l);return}y.splice(0,l);var x=e.partialBoundaries;for(l=0;l<x.length;l++){var v=x[l];e:{o=e,i=t;var h=v.completedSegments;for(a=0;a<h.length;a++)if(!bE(o,i,v,h[a])){a++,h.splice(0,a);var w=!1;break e}h.splice(0,a),w=!0}if(!w){e.destination=null,l++,x.splice(0,l);return}}x.splice(0,l);var E=e.completedBoundaries;for(l=0;l<E.length;l++)if(!Yg(e,t,E[l])){e.destination=null,l++,E.splice(0,l);return}E.splice(0,l)}finally{e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.push(null)}}function r_(e,t){try{var n=e.abortableTasks;n.forEach(function(r){return kE(r,e,t)}),n.clear(),e.destination!==null&&Uh(e,e.destination)}catch(r){Yi(e,r),is(e,r)}}function o_(){}function RE(e,t,n,r){var o=!1,l=null,i="",a={push:function(s){return s!==null&&(i+=s),!0},destroy:function(s){o=!0,l=s}},u=!1;if(e=t_(e,zM(n,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,o_,void 0,function(){u=!0}),$E(e),r_(e,r),e.status===1)e.status=2,a.destroy(e.fatalError);else if(e.status!==2&&e.destination===null){e.destination=a;try{Uh(e,a)}catch(s){Yi(e,s),is(e,s)}}if(o)throw l;if(!u)throw Error(te(426));return i}Il.renderToNodeStream=function(){throw Error(te(207))};Il.renderToStaticMarkup=function(e,t){return RE(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')};Il.renderToStaticNodeStream=function(){throw Error(te(208))};Il.renderToString=function(e,t){return RE(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')};Il.version="18.3.1";var Vh={};/**
113 * @license React
114 * react-dom-server.browser.production.min.js
115 *
116 * Copyright (c) Facebook, Inc. and its affiliates.
117 *
118 * This source code is licensed under the MIT license found in the
119 * LICENSE file in the root directory of this source tree.
120 */var PE=f;function ne(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 Bt=null,Ht=0;function Z(e,t){if(t.length!==0)if(512<t.length)0<Ht&&(e.enqueue(new Uint8Array(Bt.buffer,0,Ht)),Bt=new Uint8Array(512),Ht=0),e.enqueue(t);else{var n=Bt.length-Ht;n<t.length&&(n===0?e.enqueue(Bt):(Bt.set(t.subarray(0,n),Ht),e.enqueue(Bt),t=t.subarray(n)),Bt=new Uint8Array(512),Ht=0),Bt.set(t,Ht),Ht+=t.length}}function $e(e,t){return Z(e,t),!0}function Kg(e){Bt&&0<Ht&&(e.enqueue(new Uint8Array(Bt.buffer,0,Ht)),Bt=null,Ht=0)}var TE=new TextEncoder;function re(e){return TE.encode(e)}function W(e){return TE.encode(e)}function OE(e,t){typeof e.error=="function"?e.error(t):e.close()}var bt=Object.prototype.hasOwnProperty,l_=/^[: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]*$/,Qg={},Xg={};function ME(e){return bt.call(Xg,e)?!0:bt.call(Qg,e)?!1:l_.test(e)?Xg[e]=!0:(Qg[e]=!0,!1)}function St(e,t,n,r,o,l,i){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=l,this.removeEmptyString=i}var lt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){lt[e]=new St(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];lt[t]=new St(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){lt[e]=new St(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){lt[e]=new St(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInl
120ine readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){lt[e]=new St(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){lt[e]=new St(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){lt[e]=new St(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){lt[e]=new St(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){lt[e]=new St(e,5,!1,e.toLowerCase(),null,!1,!1)});var Wh=/[\-:]([a-z])/g;function Gh(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(Wh,Gh);lt[t]=new St(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(Wh,Gh);lt[t]=new St(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(Wh,Gh);lt[t]=new St(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){lt[e]=new St(e,1,!1,e.toLowerCase(),null,!1,!1)});lt.xlinkHref=new St("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){lt[e]=new St(e,1,!1,e.toLowerCase(),null,!0,!0)});var yu={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},i_=["Webkit","ms","Moz","O"];Object.keys(yu).forEach(function(e){i_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),yu[t]=yu[e]})});var a_=/["'&<>]/;function et(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=a_.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 u_=/([A-Z])/g,s_=/^ms-/,Ld=Array.isArray,c_=W("<script>"),f_=W("<\/script>"),d_=W('<script src="'),p_=W('<script type="module" src="'),Zg=W('" async=""><\/script>'),h_=/(<\/|<)(s)(cript)/gi;function m_(e,t,n,r){return""+t+(n==="s"?"\\u0073":"\\u0053")+r}function v_(e,t,n,r,o){e=e===void 0?"":e,t=t===void 0?c_:W('<script nonce="'+et(t)+'">');var l=[];if(n!==void 0&&l.push(t,re((""+n).replace(h_,m_)),f_),r!==void 0)for(n=0;n<r.length;n++)l.push(d_,re(et(r[n])),Zg);if(o!==void 0)for(r=0;r<o.length;r++)l.push(p_,re(et(o[r])),Zg);return{bootstrapChunks:l,startInlineScript:t,placeholderPrefix:W(e+"P:"),segmentPrefix:W(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function Pn(e,t){return{insertionMode:e,selectedValue:t}}
vendor: 6,377 bytes, lines 120-124
120function g_(e){return Pn(e==="http://www.w3.org/2000/svg"?2:e==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function y_(e,t,n){switch(t){case"select":return Pn(1,n.value!=null?n.value:n.defaultValue);case"svg":return Pn(2,null);case"math":return Pn(3,null);case"foreignObject":return Pn(1,null);case"table":return Pn(4,null);case"thead":case"tbody":case"tfoot":return Pn(5,null);case"colgroup":return Pn(7,null);case"tr":return Pn(6,null)}return 4<=e.insertionMode||e.insertionMode===0?Pn(1,null):e}var Yh=W("<!-- -->");function qg(e,t,n,r){return t===""?r:(r&&e.push(Yh),e.push(re(et(t))),!0)}var Jg=new Map,w_=W(' style="'),ey=W(":"),x_=W(";");function _E(e,t,n){if(typeof n!="object")throw Error(ne(62));t=!0;for(var r in n)if(bt.call(n,r)){var o=n[r];if(o!=null&&typeof o!="boolean"&&o!==""){if(r.indexOf("--")===0){var l=re(et(r));o=re(et((""+o).trim()))}else{l=r;var i=Jg.get(l);i!==void 0||(i=W(et(l.replace(u_,"-$1").toLowerCase().replace(s_,"-ms-"))),Jg.set(l,i)),l=i,o=typeof o=="number"?o===0||bt.call(yu,r)?re(""+o):re(o+"px"):re(et((""+o).trim()))}t?(t=!1,e.push(w_,l,ey,o)):e.push(x_,l,ey,o)}}t||e.push(po)}var Sr=W(" "),Go=W('="'),po=W('"'),ty=W('=""');function Dt(e,t,n,r){switch(n){case"style":_E(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=lt.hasOwnProperty(n)?lt[n]:null,t!==null){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=re(t.attributeName),t.type){case 3:r&&e.push(Sr,n,ty);break;case 4:r===!0?e.push(Sr,n,ty):r!==!1&&e.push(Sr,n,Go,re(et(r)),po);break;case 5:isNaN(r)||e.push(Sr,n,Go,re(et(r)),po);break;case 6:!isNaN(r)&&1<=r&&e.push(Sr,n,Go,re(et(r)),po);break;default:t.sanitizeURL&&(r=""+r),e.push(Sr,n,Go,re(et(r)),po)}}else if(ME(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(Sr,re(n),Go,re(et(r)),po)}}}var kr=W(">"),ny=W("/>");function wu(e,t,n){if(t!=null){if(n!=null)throw Error(ne(60));if(typeof t!="object"||!("__html"in t))throw Error(ne(61));t=t.__html,t!=null&&e.push(re(""+t))}}function E_(e){var t="";return PE.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}var cf=W(' selected=""');function ff(e,t,n,r){e.push(Tn(n));var o=n=null,l;for(l in t)if(bt.call(t,l)){var i=t[l];if(i!=null)switch(l){case"children":n=i;break;case"dangerouslySetInnerHTML":o=i;break;default:Dt(e,r,l,i)}}return e.push(kr),wu(e,o,n),typeof n=="string"?(e.push(re(et(n))),null):n}var df=W(`
121`),S_=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ry=new Map;function Tn(e){var t=ry.get(e);if(t===void 0){if(!S_.test(e))throw Error(ne(65,e));t=W("<"+e),ry.set(e,t)}return t}var k_=W("<!DOCTYPE html>");function C_(e,t,n,r,o){switch(t){case"select":e.push(Tn("select"));var l=null,i=null;for(c in n)if(bt.call(n,c)){var a=n[c];if(a!=null)switch(c){case"children":l=a;break;case"dangerouslySetInnerHTML":i=a;break;case"defaultValue":case"value":break;default:Dt(e,r,c,a)}}return e.push(kr),wu(e,i,l),l;case"option":i=o.selectedValue,e.push(Tn("option"));var u=a=null,s=null,c=null;for(l in n)if(bt.call(n,l)){var d=n[l];if(d!=null)switch(l){case"children":a=d;break;case"selected":s=d;break;case"dangerouslySetInnerHTML":c=d;break;case"value":u=d;default:Dt(e,r,l,d)}}if(i!=null)if(n=u!==null?""+u:E_(a),Ld(i)){for(r=0;r<i.length;r++)if(""+i[r]===n){e.push(cf);break}}else""+i===n&&e.push(cf);else s&&e.push(cf);return e.push(kr),wu(e,c,a),a;case"textarea":e.push(Tn("textarea")),c=i=l=null;for(a in n)if(bt.call(n,a)&&(u=n[a],u!=null))switch(a){case"children":c=u;break;case"value":l=u;break;case"defaultValue":i=u;break;case"dangerouslySetInnerHTML":throw Error(ne(91));default:Dt(e,r,a,u)}if(l===null&&i!==null&&(l=i),e.push(kr),c!=null){if(l!=null)throw Error(ne(92));if(Ld(c)&&1<c.length)throw Error(ne(93));l=""+c}return typeof l=="string"&&l[0]===`
122`&&e.push(df),l!==null&&e.push(re(et(""+l))),null;case"input":e.push(Tn("input")),u=c=a=l=null;for(i in n)if(bt.call(n,i)&&(s=n[i],s!=null))switch(i){case"children":case"dangerouslySetInnerHTML":throw Error(ne(399,"input"));case"defaultChecked":u=s;break;case"defaultValue":a=s;break;case"checked":c=s;break;case"value":l=s;break;default:Dt(e,r,i,s)}return c!==null?Dt(e,r,"checked",c):u!==null&&Dt(e,r,"checked",u),l!==null?Dt(e,r,"value",l):a!==null&&Dt(e,r,"value",a),e.push(ny),null;case"menuitem":e.push(Tn("menuitem"));for(var m in n)if(bt.call(n,m)&&(l=n[m],l!=null))switch(m){case"children":case"dangerouslySetInnerHTML":throw Error(ne(400));default:Dt(e,r,m,l)}return e.push(kr),null;case"title":e.push(Tn("title")),l=null;for(d in n)if(bt.call(n,d)&&(i=n[d],i!=null))switch(d){case"children":l=i;break;case"dangerouslySetInnerHTML":throw Error(ne(434));default:Dt(e,r,d,i)}return e.push(kr),l;case"listing":case"pre":e.push(Tn(t)),i=l=null;for(u in n)if(bt.call(n,u)&&(a=n[u],a!=null))switch(u){case"children":l=a;break;case"dangerouslySetInnerHTML":i=a;break;default:Dt(e,r,u,a)}if(e.push(kr),i!=null){if(l!=null)throw Error(ne(60));if(typeof i!="object"||!("__html"in i))throw Error(ne(61));n=i.__html,n!=null&&(typeof n=="string"&&0<n.length&&n[0]===`
123`?e.push(df,re(n)):e.push(re(""+n)))}return typeof l=="string"&&l[0]===`
124`&&e.push(df),l;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(Tn(t));for(var p in n)if(bt.call(n,p)&&(l=n[p],l!=null))switch(p){case"children":case"dangerouslySetInnerHTML":throw Error(ne(399,t));default:Dt(e,r,p,l)}return e.push(ny),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 ff(e,n,t,r);case"html":return o.insertionMode===0&&e.push(k_),ff(e,n,t,r);default:if(t.indexOf("-")===-1&&typeof n.is!="string")return ff(e,n,t,r);e.push(Tn(t)),i=l=null;for(s in n)if(bt.call(n,s)&&(a=n[s],a!=null))switch(s){case"children":l=a;break;case"dangerouslySetInnerHTML":i=a;break;case"style":_E(e,r,a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ME(s)&&typeof a!="function"&&typeof a!="symbol"&&e.push(Sr,re(s),Go,re(et(a)),po)}return e.push(kr),wu(e,i,l),l}}var $_=W("</"),b_=W(">
124"),R_=W('<template id="'),P_=W('"></template>'),T_=W("<!--$-->"),O_=W('<!--$?--><template id="'),M_=W('"></template>'),__=W("<!--$!-->"),N_=W("<!--/$-->"),L_=W("<template"),F_=W('"'),A_=W(' data-dgst="');W(' data-msg="');W(' data-stck="');var j_=W("></template>");function oy(e,t,n){if(Z(e,O_),n===null)throw Error(ne(395));return Z(e,n),$e(e,M_)}var D_=W('<div hidden id="'),I_=W('">'),z_=W("</div>"),B_=W('<svg aria-hidden="true" style="display:none" id="'),H_=W('">'),U_=W("</svg>"),V_=W('<math aria-hidden="true" style="display:none" id="'),W_=W('">'),G_=W("</math>"),Y_=W('<table hidden id="'),K_=W('">'),Q_=W("</table>"),X_=W('<table hidden><tbody id="'),Z_=W('">'),q_=W("</tbody></table>"),J_=W('<table hidden><tr id="'),eN=W('">'),tN=W("</tr></table>"),nN=W('<table hidden><colgroup id="'),rN=W('">'),oN=W("</colgroup></table>");function lN(e,t,n,r){switch(n.insertionMode){case 0:case 1:return Z(e,D_),Z(e,t.segmentPrefix),Z(e,re(r.toString(16))),$e(e,I_);case 2:return Z(e,B_),Z(e,t.segmentPrefix),Z(e,re(r.toString(16))),$e(e,H_);case 3:return Z(e,V_),Z(e,t.segmentPrefix),Z(e,re(r.toString(16))),$e(e,W_);case 4:return Z(e,Y_),Z(e,t.segmentPrefix),Z(e,re(r.toString(16))),$e(e,K_);case 5:return Z(e,X_),Z(e,t.segmentPrefix),Z(e,re(r.toString(16))),$e(e,Z_);case 6:return Z(e,J_),Z(e,t.segmentPrefix),Z(e,re(r.toString(16))),$e(e,eN);case 7:return Z(e,nN),Z(e,t.segmentPrefix),Z(e,re(r.toString(16))),$e(e,rN);default:throw Error(ne(397))}}function iN(e,t){switch(t.insertionMode){case 0:case 1:return $e(e,z_);case 2:return $e(e,U_);case 3:return $e(e,G_);case 4:return $e(e,Q_);case 5:return $e(e,q_);case 6:return $e(e,tN);case 7:return $e(e,oN);default:throw Error(ne(397))}}var aN=W('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("'),uN=W('$RS("'),sN=W('","'),cN=W('")<\/script>'),fN=W('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("'),dN=W('$RC("'),pN=W('","'),hN=W('")<\/script>'),mN=W('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("'),vN=W('$RX("'),gN=W('"'),yN=W(")<\/script>"),pf=W(","),wN=/[<\u2028\u2029]/g;function hf(e){return JSON.stringify(e).replace(wN,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 ki=Object.assign,xN=Symbol.for("react.element"),NE=Symbol.for("react.portal"),LE=Symbol.for("react.fragment"),FE=Symbol.for("react.strict_mode"),AE=Symbol.for("react.profiler"),jE=Symbol.for("react.provider"),DE=Symbol.for("react.context"),IE=Symbol.for("react.forward_ref"),zE=Symbol.for("react.suspense"),BE=Symbol.for("react.suspense_list"),HE=Symbol.for("react.memo"),Kh=Symbol.for("react.lazy"),EN=Symbol.for("react.scope"),SN=Symbol.for("react.debug_trace_mode"),kN=Symbol.for("react.legacy_hidden"),CN=Symbol.for("react.default_value"),ly=Symbol.iterator;function Fd(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 LE:return"Fragment";case NE:return"Portal";case AE:return"Profiler";case FE:return"StrictMode";case zE:return"Suspense";case BE:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case DE:return(e.displayName||"Context")+".Consumer";case jE:return(e._context.displayName||"Context")+".Provider";case IE:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case HE:return t=e.displayName||null,t!==null?t:Fd(e.type)||"Memo";case Kh:t=e._payload,e=e._init;try{return Fd(e(t))}catch{}}return null}var UE={};function iy(e,t){if(e=e.contextTypes,!e)return UE;var n={},r;for(r in e)n[r]=t[r];return n}var ko=null;function oc(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(ne(401))}else{if(n===null)throw Error(ne(401));oc(e,n)}t.context._currentValue=t.value}}function VE(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&VE(e)}function WE(e){var t=e.parent;t!==null&&WE(t),e.context._currentValue=e.value}function GE(e,t){if(e.context._currentValue=e.parentValue,e=e.parent,e===null)throw Error(ne(402));e.depth===t.depth?oc(e,t):GE(e,t)}function YE(e,t){var n=t.parent;if(n===null)throw Error(ne(402));e.depth===n.depth?oc(e,n):YE(e,n),t.context._currentValue=t.value}function us(e){var t=ko;t!==e&&(t===null?WE(e):e===null?VE(t):t.depth===e.depth?oc(t,e):t.depth>e.depth?GE(t,e):YE(t,e),ko=e)}var ay={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 uy(e,t,n,r){var o=e.state!==void 0?e.state:null;e.updater=ay,e.props=n,e.state=o;var l={queue:[],replace:!1};e._reactInternals=l;var i=t.contextType;if(e.context=typeof i=="object"&&i!==null?i._currentValue:r,i=t.getDerivedStateFromProps,typeof i=="function"&&(i=i(n,o),o=i==null?o:ki({},o,i),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&&ay.enqueueReplaceState(e,e.state,null),l.queue!==null&&0<l.queue.length)if(t=l.queue,i=l.replace,l.queue=null,l.replace=!1,i&&t.length===1)e.state=t[0];else{for(l=i?t[0]:e.state,o=!0,i=i?1:0;i<t.length;i++){var a=t[i];a=typeof a=="function"?a.call(e,l,n,r):a,a!=null&&(o?(o=!1,l=ki({},l,a)):ki(l,a))}e.state=l}else l.queue=null}var $N={id:1,overflow:""};function Ad(e,t,n){var r=e.id;e=e.overflow;var o=32-xu(r)-1;r&=~(1<<o),n+=1;var l=32-xu(t)+o;if(30<l){var i=o-o%5;return l=(r&(1<<i)-1).toString(32),r>>=i,o-=i,{id:1<<32-xu(t)+o|n<<o|r,overflow:l+e}}return{id:1<<l|n<<o|r,overflow:e}}var xu=Math.clz32?Math.clz32:PN,bN=Math.log,RN=Math.LN2;function PN(e){return e>>>=0,e===0?32:31-(bN(e)/RN|0)|0}function TN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ON=typeof Object.is=="function"?Object.is:TN,hr=null,Qh=null,Eu=null,ye=null,ai=!1,ss=!1,Ki=0,Fr=null,lc=0;function ho(){if(hr===null)throw Error(ne(321));return hr}function sy(){if(0<lc)throw Error(ne(312));return{memoizedState:null,queue:null,next:null}}function Xh(){return ye===null?Eu===null?(ai=!1,Eu=ye=sy()):(ai=!0,ye=Eu):ye.next===null?(ai=!1,ye=ye.next=sy()):(ai=!0,ye=ye.next),ye}function Zh(){Qh=hr=null,ss=!1,Eu=null,lc=0,ye=Fr=null}function KE(e,t){return typeof t=="function"?t(e):t}function cy(e,t,n){if(hr=ho(),ye=Xh(),ai){var r=ye.queue;if(t=r.dispatch,Fr!==null&&(n=Fr.get(r),n!==void 0)){Fr.delete(r),r=ye.memoizedState;do r=e(r,n.action),n=n.next;while(n!==null);return ye.memoizedState=r,[r,t]}return[ye.memoizedState,t]}return e=e===KE?typeof t=="function"?t():t:n!==void 0?n(t):t,ye.memoizedState=e,e=ye.queue={last:null,dispatch:null},e=e.dispatch=MN.bind(null,hr,e),[ye.memoizedState,e]}function fy(e,t){if(hr=ho(),ye=Xh(),t=t===void 0?null:t,ye!==null){var n=ye.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(!ON(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),ye.memoizedState=[e,t],e}function MN(e,t,n){if(25<=lc)throw Error(ne(301));if(e===hr)if(ss=!0,e={action:n,next:null},Fr===null&&(Fr=new Map),n=Fr.get(t),n===void 0)Fr.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function _N(){throw Error(ne(394))}function Va(){}var dy={readContext:function(e){return e._currentValue},useContext:function(e){return ho(),e._currentValue},useMemo:fy,useReducer:cy,useRef:function(e){hr=ho(),ye=Xh();var t=ye.memoizedState;return t===null?(e={current:e},ye.memoizedState=e):t},useState:function(e){return cy(KE,e)},useInsertionEffect:Va,useLayoutEffect:function(){},useCallback:function(e,t){return fy(function(){return e},t)},useImperativeHandle:Va,useEffect:Va,useDebugValue:Va,useDeferredValue:function(e){return ho(),e},useTransition:function(){return ho(),[!1,_N]},useId:function(){var e=Qh.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-xu(e)-1)).toString(32)+t;var n=Su;if(n===null)throw Error(ne(404));return t=Ki++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return ho(),t(e._source)}
vendor: 9,671 bytes, line 124
124,useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error(ne(407));return n()}},Su=null,mf=PE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function NN(e){return console.error(e),null}function ui(){}function LN(e,t,n,r,o,l,i,a,u){var s=[],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:s,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:o===void 0?NN:o,onAllReady:l===void 0?ui:l,onShellReady:i===void 0?ui:i,onShellError:a===void 0?ui:a,onFatalError:u===void 0?ui:u},n=cs(t,0,null,n,!1,!1),n.parentFlushed=!0,e=qh(t,e,null,n,c,UE,null,$N),s.push(e),t}function qh(e,t,n,r,o,l,i,a){e.allPendingTasks++,n===null?e.pendingRootTasks++:n.pendingTasks++;var u={node:t,ping:function(){var s=e.pingedTasks;s.push(u),s.length===1&&ZE(e)},blockedBoundary:n,blockedSegment:r,abortSet:o,legacyContext:l,context:i,treeContext:a};return o.add(u),u}function cs(e,t,n,r,o,l){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:o,textEmbedded:l}}function Qi(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 fs(e,t){var n=e.onShellError;n(t),n=e.onFatalError,n(t),e.destination!==null?(e.status=2,OE(e.destination,t)):(e.status=1,e.fatalError=t)}function py(e,t,n,r,o){for(hr={},Qh=t,Ki=0,e=n(r,o);ss;)ss=!1,Ki=0,lc+=1,ye=null,e=n(r,o);return Zh(),e}function hy(e,t,n,r){var o=n.render(),l=r.childContextTypes;if(l!=null){var i=t.legacyContext;if(typeof n.getChildContext!="function")r=i;else{n=n.getChildContext();for(var a in n)if(!(a in l))throw Error(ne(108,Fd(r)||"Unknown",a));r=ki({},i,n)}t.legacyContext=r,Ut(e,t,o),t.legacyContext=i}else Ut(e,t,o)}function my(e,t){if(e&&e.defaultProps){t=ki({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function jd(e,t,n,r,o){if(typeof n=="function")if(n.prototype&&n.prototype.isReactComponent){o=iy(n,t.legacyContext);var l=n.contextType;l=new n(r,typeof l=="object"&&l!==null?l._currentValue:o),uy(l,n,r,o),hy(e,t,l,n)}else{l=iy(n,t.legacyContext),o=py(e,t,n,r,l);var i=Ki!==0;if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0)uy(o,n,r,l),hy(e,t,o,n);else if(i){r=t.treeContext,t.treeContext=Ad(r,1,0);try{Ut(e,t,o)}finally{t.treeContext=r}}else Ut(e,t,o)}else if(typeof n=="string"){switch(o=t.blockedSegment,l=C_(o.chunks,n,r,e.responseState,o.formatContext),o.lastPushedText=!1,i=o.formatContext,o.formatContext=y_(i,n,r),Dd(e,t,l),o.formatContext=i,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($_,re(n),b_)}o.lastPushedText=!1}else{switch(n){case kN:case SN:case FE:case AE:case LE:Ut(e,t,r.children);return;case BE:Ut(e,t,r.children);return;case EN:throw Error(ne(343));case zE:e:{n=t.blockedBoundary,o=t.blockedSegment,l=r.fallback,r=r.children,i=new Set;var a={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:i,errorDigest:null},u=cs(e,o.chunks.length,a,o.formatContext,!1,!1);o.children.push(u),o.lastPushedText=!1;var s=cs(e,0,null,o.formatContext,!1,!1);s.parentFlushed=!0,t.blockedBoundary=a,t.blockedSegment=s;try{if(Dd(e,t,r),s.lastPushedText&&s.textEmbedded&&s.chunks.push(Yh),s.status=1,ds(a,s),a.pendingTasks===0)break e}catch(c){s.status=4,a.forceClientRender=!0,a.errorDigest=Qi(e,c)}finally{t.blockedBoundary=n,t.blockedSegment=o}t=qh(e,l,n,u,i,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof n=="object"&&n!==null)switch(n.$$typeof){case IE:if(r=py(e,t,n.render,r,o),Ki!==0){n=t.treeContext,t.treeContext=Ad(n,1,0);try{Ut(e,t,r)}finally{t.treeContext=n}}else Ut(e,t,r);return;case HE:n=n.type,r=my(n,r),jd(e,t,n,r,o);return;case jE:if(o=r.children,n=n._context,r=r.value,l=n._currentValue,n._currentValue=r,i=ko,ko=r={parent:i,depth:i===null?0:i.depth+1,context:n,parentValue:l,value:r},t.context=r,Ut(e,t,o),e=ko,e===null)throw Error(ne(403));r=e.parentValue,e.context._currentValue=r===CN?e.context._defaultValue:r,e=ko=e.parent,t.context=e;return;case DE:r=r.children,r=r(n._currentValue),Ut(e,t,r);return;case Kh:o=n._init,n=o(n._payload),r=my(n,r),jd(e,t,n,r,void 0);return}throw Error(ne(130,n==null?n:typeof n,""))}}function Ut(e,t,n){if(t.node=n,typeof n=="object"&&n!==null){switch(n.$$typeof){case xN:jd(e,t,n.type,n.props,n.ref);return;case NE:throw Error(ne(257));case Kh:var r=n._init;n=r(n._payload),Ut(e,t,n);return}if(Ld(n)){vy(e,t,n);return}if(n===null||typeof n!="object"?r=null:(r=ly&&n[ly]||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);vy(e,t,o)}return}throw e=Object.prototype.toString.call(n),Error(ne(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}typeof n=="string"?(r=t.blockedSegment,r.lastPushedText=qg(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText)):typeof n=="number"&&(r=t.blockedSegment,r.lastPushedText=qg(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function vy(e,t,n){for(var r=n.length,o=0;o<r;o++){var l=t.treeContext;t.treeContext=Ad(l,r,o);try{Dd(e,t,n[o])}finally{t.treeContext=l}}}function Dd(e,t,n){var r=t.blockedSegment.formatContext,o=t.legacyContext,l=t.context;try{return Ut(e,t,n)}catch(u){if(Zh(),typeof u=="object"&&u!==null&&typeof u.then=="function"){n=u;var i=t.blockedSegment,a=cs(e,i.chunks.length,null,i.formatContext,i.lastPushedText,!0);i.children.push(a),i.lastPushedText=!1,e=qh(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=l,us(l)}else throw t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=l,us(l),u}}function FN(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,XE(this,t,e)}function QE(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(ne(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach(function(o){return QE(o,t,n)}),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(r=t.onAllReady,r()))}function ds(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&&ds(e,n)}else e.completedSegments.push(t)}function XE(e,t,n){if(t===null){if(n.parentFlushed){if(e.completedRootSegment!==null)throw Error(ne(389));e.completedRootSegment=n}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=ui,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(n.parentFlushed&&n.status===1&&ds(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(FN,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&n.status===1&&(ds(t,n),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function ZE(e){if(e.status!==2){var t=ko,n=mf.current;mf.current=dy;var r=Su;Su=e.responseState;try{var o=e.pingedTasks,l;for(l=0;l<o.length;l++){var i=o[l],a=e,u=i.blockedSegment;if(u.status===0){us(i.context);try{Ut(a,i,i.node),u.lastPushedText&&u.textEmbedded&&u.chunks.push(Yh),i.abortSet.delete(i),u.status=1,XE(a,i.blockedBoundary,u)}catch(g){if(Zh(),typeof g=="object"&&g!==null&&typeof g.then=="function"){var s=i.ping;g.then(s,s)}else{i.abortSet.delete(i),u.status=4;var c=i.blockedBoundary,d=g,m=Qi(a,d);if(c===null?fs(a,d):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=m,c.parentFlushed&&a.clientRenderedBoundaries.push(c))),a.allPendingTasks--,a.allPendingTasks===0){var p=a.onAllReady;p()}}}finally{}}}o.splice(0,l),e.destination!==null&&Jh(e,e.destination)}catch(g){Qi(e,g),fs(e,g)}finally{Su=r,mf.current=n,n===dy&&us(t)}}}function Wa(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,Z(t,R_),Z(t,e.placeholderPrefix),e=re(r.toString(16)),Z(t,e),$e(t,P_);case 1:n.status=2;var o=!0;r=n.chunks;var l=0;n=n.children;for(var i=0;i<n.length;i++){for(o=n[i];l<o.index;l++)Z(t,r[l]);o=ic(e,t,o)}for(;l<r.length-1;l++)Z(t,r[l]);return l<r.length&&(o=$e(t,r[l])),o;default:throw Error(ne(390))}}function ic(e,t,n){var r=n.boundary;if(r===null)return Wa(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)r=r.errorDigest,$e(t,__),Z(t,L_),r&&(Z(t,A_),Z(t,re(et(r))),Z(t,F_)),$e(t,j_),Wa(e,t,n);else if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var o=e.responseState,l=o.nextSuspenseID++;o=W(o.boundaryPrefix+l.toString(16)),r=r.id=o,oy(t,e.responseState,r),Wa(e,t,n)}else if(r.byteSize>e.progressiveChunkSize)r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),oy(t,e.responseState,r.id),Wa(e,t,n);else{if($e(t,T_),n=r.completedSegments,n.length!==1)throw Error(ne(391
124));ic(e,t,n[0])}return $e(t,N_)}function gy(e,t,n){return lN(t,e.responseState,n.formatContext,n.id),ic(e,t,n),iN(t,n.formatContext)}function yy(e,t,n){for(var r=n.completedSegments,o=0;o<r.length;o++)qE(e,t,n,r[o]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,Z(t,e.startInlineScript),e.sentCompleteBoundaryFunction?Z(t,dN):(e.sentCompleteBoundaryFunction=!0,Z(t,fN)),r===null)throw Error(ne(395));return n=re(n.toString(16)),Z(t,r),Z(t,pN),Z(t,e.segmentPrefix),Z(t,n),$e(t,hN)}function qE(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(ne(392));return gy(e,t,r)}return gy(e,t,r),e=e.responseState,Z(t,e.startInlineScript),e.sentCompleteSegmentFunction?Z(t,uN):(e.sentCompleteSegmentFunction=!0,Z(t,aN)),Z(t,e.segmentPrefix),o=re(o.toString(16)),Z(t,o),Z(t,sN),Z(t,e.placeholderPrefix),Z(t,o),$e(t,cN)}function Jh(e,t){Bt=new Uint8Array(512),Ht=0;try{var n=e.completedRootSegment;if(n!==null&&e.pendingRootTasks===0){ic(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)Z(t,r[n]);n<r.length&&$e(t,r[n])}var o=e.clientRenderedBoundaries,l;for(l=0;l<o.length;l++){var i=o[l];r=t;var a=e.responseState,u=i.id,s=i.errorDigest,c=i.errorMessage,d=i.errorComponentStack;if(Z(r,a.startInlineScript),a.sentClientRenderFunction?Z(r,vN):(a.sentClientRenderFunction=!0,Z(r,mN)),u===null)throw Error(ne(395));Z(r,u),Z(r,gN),(s||c||d)&&(Z(r,pf),Z(r,re(hf(s||"")))),(c||d)&&(Z(r,pf),Z(r,re(hf(c||"")))),d&&(Z(r,pf),Z(r,re(hf(d)))),$e(r,yN)}o.splice(0,l);var m=e.completedBoundaries;for(l=0;l<m.length;l++)yy(e,t,m[l]);m.splice(0,l),Kg(t),Bt=new Uint8Array(512),Ht=0;var p=e.partialBoundaries;for(l=0;l<p.length;l++){var g=p[l];e:{o=e,i=t;var y=g.completedSegments;for(a=0;a<y.length;a++)if(!qE(o,i,g,y[a])){a++,y.splice(0,a);var x=!1;break e}y.splice(0,a),x=!0}if(!x){e.destination=null,l++,p.splice(0,l);return}}p.splice(0,l);var v=e.completedBoundaries;for(l=0;l<v.length;l++)yy(e,t,v[l]);v.splice(0,l)}finally{Kg(t),e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.close()}}function wy(e,t){try{var n=e.abortableTasks;n.forEach(function(r){return QE(r,e,t)}),n.clear(),e.destination!==null&&Jh(e,e.destination)}catch(r){Qi(e,r),fs(e,r)}}Vh.renderToReadableStream=function(e,t){return new Promise(function(n,r){var o,l,i=new Promise(function(c,d){l=c,o=d}),a=LN(e,v_(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),g_(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,l,function(){var c=new ReadableStream({type:"bytes",pull:function(d){if(a.status===1)a.status=2,OE(d,a.fatalError);else if(a.status!==2&&a.destination===null){a.destination=d;try{Jh(a,d)}catch(m){Qi(a,m),fs(a,m)}}},cancel:function(){wy(a)}},{highWaterMark:0});c.allReady=i,n(c)},function(c){i.catch(function(){}),r(c)},o);if(t&&t.signal){var u=t.signal,s=function(){wy(a,u.reason),u.removeEventListener("abort",s)};u.addEventListener("abort",s)}ZE(a)})};Vh.version="18.3.1";var zl,JE;zl=Il,JE=Vh;lo.version=zl.version;lo.renderToString=zl.renderToString;lo.renderToStaticMarkup=zl.renderToStaticMarkup;lo.renderToNodeStream=zl.renderToNodeStream;lo.renderToStaticNodeStream=zl.renderToStaticNodeStream;lo.renderToReadableStream=JE.renderToReadableStream;function AN(...e){return e.filter(Boolean).join(" ")}const eS=({name:e,address:t,googleUrl:n,phone:r,category:o,website:l,email:i,storeType:a,fullAddress:u,zipcode:s})=>(console.log(s),S.jsxs("div",{className:"px-6 pb-6 font-body",children:[S.jsx("div",{className:"font-bold text-lg leading-10 font-body",children:e}),S.jsx("div",{children:S.jsx("span",{className:AN(a==="Storefront"?"custom-installer text-white ":"bg-gradient-to-r from-neutral-500 to-neutral-900 text-gray-50","inline-flex items-center rounded-md px-2 py-1 text-[15px] font-normal"),children:a==="Storefront"?"Anthem Retailer":"Custom Integrator"})}),S.jsx("div",{className:"flex gap-3 mt-6",children:s!==null?S.jsxs(S.Fragment,{children:[S.jsx("span",{className:"h-7 w-5 text-gray-700",children:S.jsx(ub,{})}),S.jsx("span",{className:"text-[12px] font-normal mt-0.5",children:S.jsx("a",{target:"_blank",href:n,children:u})})]}):null}),S.jsx("div",{className:"flex text-[12px]  gap-3 font-normal",children:r!==null?S.jsxs(S.Fragment,{children:[S.jsx("span",{className:"h-5 w-5 text-gray-700",children:S.jsx(cb,{})}),S.jsx("span",{className:"mt-0.5",children:S.jsx("a",{href:`tel:${r}`,children:r})})]}):null}),S.jsx("div",{className:"flex text-[12px] gap-3 font-normal mt-2",children:l!==null?S.jsxs(S.Fragment,{children:[S.jsx("span",{className:"h-5 w-5 text-gray-700",children:S.jsx(ob,{})}),S.jsx("span",{className:"mt-0.5",children:S.jsx("a",{href:`https://${l==null?void 0:l.replace(/^(https?:\/\/)?/,"")}`,target:"_blank",rel:"noopener noreferrer",children:"Visit Website"})})]}):null}),S.jsx("div",{className:"flex text-[12px]  gap-3 font-normal mt-2",children:i!==null?S.jsxs(S.Fragment,{children:[S.jsx("span",{className:"h-5 w-5 text-gray-700",children:S.jsx(nb,{})}),S.jsx("span",{className:"mt-0.5",children:S.jsx("a",{href:`mailto:${i}`,children:"Email Dealer"})})]}):null})]})),jN=({map:e,google:t,latlng:n,name:r,address:o,fullAddress:l,zipcode:i,phone:a,category:u,website:s,email:c,storeType:d})=>(f.useEffect(()=>{if(!e||!t)return;const m=new URL("https://www.google.com/maps/dir/");m.searchParams.append("api","1"),m.searchParams.append("destination",l);const p=lo.renderToString(S.jsx(eS,{name:r,address:o,googleUrl:m.href,phone:a,category:u,website:s,email:c,storeType:d,fullAddress:l,zipcode:i})),g=new t.maps.InfoWindow({content:p}),y=new t.maps.Marker({position:n,map:e,icon:{url:d==="Storefront"?"https://cdn.pmlsound.com/anthem/ml-pin-01-red.png":"https://cdn.pmlsound.com/anthem/ml-pin-03-black.png",scaledSize:new t.maps.Size(60,60),origin:new t.maps.Point(0,0),anchor:new t.maps.Point(28,50)},name:r,address:o,fullAddress:l,phone:a,category:u,website:s,storeType:d,email:c,zipcode:i});return y.addListener("click",()=>{g.open(e,y)}),()=>{y.setMap(null)}},[e,t,n,r,o,l,a,u,s,c,d,i]),null);var tS={exports:{}};/*!
125	Copyright (c) 2018 Jed Watson.
126	Licensed under the MIT License (MIT), see
127	http://jedwatson.github.io/classnames
128*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var l="",i=0;i<arguments.length;i++){var a=arguments[i];a&&(l=o(l,r(a)))}return l}function r(l){if(typeof l=="string"||typeof l=="number")return l;if(typeof l!="object")return"";if(Array.isArray(l))return n.apply(null,l);if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]"))return l.toString();var i="";for(var a in l)t.call(l,a)&&l[a]&&(i=o(i,a));return i}function o(l,i){return i?l?l+" "+i:l+i:l}e.exports?(n.default=n,e.exports=n):window.classNames=n}
128)()})(tS);var DN=tS.exports;const Zr=gs(DN);function Do(){return Do=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Do.apply(null,arguments)}function ft(e){"@babel/helpers - typeof";return ft=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},ft(e)}function IN(e,t){if(ft(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ft(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function nS(e){var t=IN(e,"string");return ft(t)=="symbol"?t:t+""}function we(e,t,n){return(t=nS(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xy(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 ee(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xy(Object(n),!0).forEach(function(r){we(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xy(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function zN(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function ps(e,t){if(e==null)return{};var n,r,o=zN(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function BN(e){if(Array.isArray(e))return e}function HN(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,l,i,a=[],u=!0,s=!1;try{if(l=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=l.call(n)).done)&&(a.push(r.value),a.length!==t);u=!0);}catch(c){s=!0,o=c}finally{try{if(!u&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return a}}function Id(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 rS(e,t){if(e){if(typeof e=="string")return Id(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)?Id(e,t):void 0}}function UN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
129In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xe(e,t){return BN(e)||HN(e,t)||rS(e,t)||UN()}function ac(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var zd={},VN=function(t){};function WN(e,t){}function GN(e,t){}function YN(){zd={}}function oS(e,t,n){!t&&!zd[n]&&(e(!1,n),zd[n]=!0)}function Pl(e,t){oS(WN,e,t)}function KN(e,t){oS(GN,e,t)}Pl.preMessage=VN;Pl.resetWarned=YN;Pl.noteOnce=KN;var lS={exports:{}},de={};/**
130 * @license React
131 * react-is.production.min.js
132 *
133 * Copyright (c) Facebook, Inc. and its affiliates.
134 *
135 * This source code is licensed under the MIT license found in the
136 * LICENSE file in the root directory of this source tree.
137 */var em=Symbol.for("react.element"),tm=Symbol.for("react.portal"),uc=Symbol.for("react.fragment"),sc=Symbol.for("react.strict_mode"),cc=Symbol.for("react.profiler"),fc=Symbol.for("react.provider"),dc=Symbol.for("react.context"),QN=Symbol.for("react.server_context"),pc=Symbol.for("react.forward_ref"),hc=Symbol.for("react.suspense"),mc=Symbol.for("react.suspense_list"),vc=Symbol.for("react.memo"),gc=Symbol.for("react.lazy"),XN=Symbol.for("react.offscreen"),iS;iS=Symbol.for("react.module.reference");function fn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case em:switch(e=e.type,e){case uc:case cc:case sc:case hc:case mc:return e;default:switch(e=e&&e.$$typeof,e){case QN:case dc:case pc:case gc:case vc:case fc:return e;default:return t}}case tm:return t}}}de.ContextConsumer=dc;de.ContextProvider=fc;de.Element=em;de.ForwardRef=pc;de.Fragment=uc;de.Lazy=gc;de.Memo=vc;de.Portal=tm;de.Profiler=cc;de.StrictMode=sc;de.Suspense=hc;de.SuspenseList=mc;de.isAsyncMode=function(){return!1};de.isConcurrentMode=function(){return!1};de.isContextConsumer=function(e){return fn(e)===dc};de.isContextProvider=function(e){return fn(e)===fc};de.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===em};de.isForwardRef=function(e){return fn(e)===pc};de.isFragment=function(e){return fn(e)===uc};de.isLazy=function(e){return fn(e)===gc};de.isMemo=function(e){return fn(e)===vc};de.isPortal=function(e){return fn(e)===tm};de.isProfiler=function(e){return fn(e)===cc};de.isStrictMode=function(e){return fn(e)===sc};de.isSuspense=function(e){return fn(e)===hc};de.isSuspenseList=function(e){return fn(e)===mc};de.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===uc||e===cc||e===sc||e===hc||e===mc||e===XN||typeof e=="object"&&e!==null&&(e.$$typeof===gc||e.$$typeof===vc||e.$$typeof===fc||e.$$typeof===dc||e.$$typeof===pc||e.$$typeof===iS||e.getModuleId!==void 0)};de.typeOf=fn;lS.exports=de;var vf=lS.exports;function ZN(e,t,n){var r=f.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}var qN=Symbol.for("react.element"),JN=Symbol.for("react.transitional.element"),e5=Symbol.for("react.fragment");function aS(e){return e&&ft(e)==="object"&&(e.$$typeof===qN||e.$$typeof===JN
137)&&e.type===e5}var t5=Number(f.version.split(".")[0]),uS=function(t,n){typeof t=="function"?t(n):ft(t)==="object"&&t&&"current"in t&&(t.current=n)},n5=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.filter(Boolean);return o.length<=1?o[0]:function(l){n.forEach(function(i){uS(i,l)})}},r5=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ZN(function(){return n5.apply(void 0,n)},n,function(o,l){return o.length!==l.length||o.every(function(i,a){return i!==l[a]})})},sS=function(t){var n,r;if(!t)return!1;if(cS(t)&&t5>=19)return!0;var o=vf.isMemo(t)?t.type.type:t.type;return!(typeof o=="function"&&!((n=o.prototype)!==null&&n!==void 0&&n.render)&&o.$$typeof!==vf.ForwardRef||typeof t=="function"&&!((r=t.prototype)!==null&&r!==void 0&&r.render)&&t.$$typeof!==vf.ForwardRef)};function cS(e){return f.isValidElement(e)&&!aS(e)}var fS=function(t){if(t&&cS(t)){var n=t;return n.props.propertyIsEnumerable("ref")?n.props.ref:n.ref}return null};function o5(e){if(Array.isArray(e))return Id(e)}function l5(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function i5(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
138In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zn(e){return o5(e)||l5(e)||rS(e)||i5()}var Ey=ac()?f.useLayoutEffect:f.useEffect,dS=function(t,n){var r=f.useRef(!0);Ey(function(){return t(r.current)},n),Ey(function(){return r.current=!1,function(){r.current=!0}},[])},Sy=function(t,n){dS(function(r){if(!r)return t()},n)};function Bd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return B.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Bd(r)):aS(r)&&r.props?n=n.concat(Bd(r.props.children,t)):n.push(r))}),n}function ky(e){return e instanceof HTMLElement||e instanceof SVGElement}function a5(e){return e&&ft(e)==="object"&&ky(e.nativeElement)?e.nativeElement:ky(e)?e:null}function ku(e){var t=a5(e);if(t)return t;if(e instanceof B.Component){var n;return(n=_v.findDOMNode)===null||n===void 0?void 0:n.call(_v,e)}return null}var Hd=f.createContext(null);function u5(e){var t=e.children,n=e.onBatchResize,r=f.useRef(0),o=f.useRef([]),l=f.useContext(Hd),i=f.useCallback(function(a,u,s){r.current+=1;var c=r.current;o.current.push({size:a,element:u,data:s}),Promise.resolve().then(function(){c===r.current&&(n==null||n(o.current),o.current=[])}),l==null||l(a,u,s)},[n,l]);return f.createElement(Hd.Provider,{value:i},t)}var pS=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,l){return o[0]===n?(r=l,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,l=this.__entries__;o<l.length;o++){var i=l[o];n.call(r,i[1],i[0])}},t}()}(),Ud=typeof window<"u"&&typeof document<"u"&&window.document===document,hs=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),s5=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(hs):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),c5=2;function f5(e,t){var n=!1,r=!1,o=0;function l(){n&&(n=!1,e()),r&&a()}function i(){s5(l)}function a(){var u=Date.now();if(n){if(u-o<c5)return;r=!0}else n=!0,r=!1,setTimeout(i,t);o=u}return a}var d5=20,p5=["top","right","bottom","left","width","height","size","weight"],h5=typeof MutationObserver<"u",m5=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=f5(this.refresh.bind(this),d5)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,r=n.indexOf(t);~r&&n.splice(r,1),!n.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!Ud||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),h5?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Ud||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=p5.some(function(l){return!!~r.indexOf(l)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
vendor: 4,422 bytes, line 138
138w e),this.instance_},e.instance_=null,e}(),hS=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},Tl=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||hs},mS=yc(0,0,0,0);function ms(e){return parseFloat(e)||0}function Cy(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(r,o){var l=e["border-"+o+"-width"];return r+ms(l)},0)}function v5(e){for(var t=["top","right","bottom","left"],n={},r=0,o=t;r<o.length;r++){var l=o[r],i=e["padding-"+l];n[l]=ms(i)}return n}function g5(e){var t=e.getBBox();return yc(0,0,t.width,t.height)}function y5(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return mS;var r=Tl(e).getComputedStyle(e),o=v5(r),l=o.left+o.right,i=o.top+o.bottom,a=ms(r.width),u=ms(r.height);if(r.boxSizing==="border-box"&&(Math.round(a+l)!==t&&(a-=Cy(r,"left","right")+l),Math.round(u+i)!==n&&(u-=Cy(r,"top","bottom")+i)),!x5(e)){var s=Math.round(a+l)-t,c=Math.round(u+i)-n;Math.abs(s)!==1&&(a-=s),Math.abs(c)!==1&&(u-=c)}return yc(o.left,o.top,a,u)}var w5=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof Tl(e).SVGGraphicsElement}:function(e){return e instanceof Tl(e).SVGElement&&typeof e.getBBox=="function"}}();function x5(e){return e===Tl(e).document.documentElement}function E5(e){return Ud?w5(e)?g5(e):y5(e):mS}function S5(e){var t=e.x,n=e.y,r=e.width,o=e.height,l=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,i=Object.create(l.prototype);return hS(i,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),i}function yc(e,t,n,r){return{x:e,y:t,width:n,height:r}}var k5=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=yc(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=E5(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),C5=function(){function e(t,n){var r=S5(n);hS(this,{target:t,contentRect:r})}return e}(),$5=function(){function e(t,n,r){if(this.activeObservations_=[],this.observations_=new pS,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=r}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Tl(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new k5(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Tl(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new C5(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),vS=typeof WeakMap<"u"?new WeakMap:new pS,gS=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=m5.getInstance(),r=new $5(t,n,this);vS.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){gS.prototype[e]=function(){var t;return(t=vS.get(this))[e].apply(t,arguments)}});var b5=function(){return typeof hs.ResizeObserver<"u"?hs.ResizeObserver:gS}(),Ar=new Map;function R5(e){e.forEach(function(t){var n,r=t.target;
138(n=Ar.get(r))===null||n===void 0||n.forEach(function(o){return o(r)})})}var yS=new b5(R5);function P5(e,t){Ar.has(e)||(Ar.set(e,new Set),yS.observe(e)),Ar.get(e).add(t)}function T5(e,t){Ar.has(e)&&(Ar.get(e).delete(t),Ar.get(e).size||(yS.unobserve(e),Ar.delete(e)))}function nm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $y(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,nS(r.key),r)}}function rm(e,t,n){return t&&$y(e.prototype,t),n&&$y(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Vd(e,t){return Vd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Vd(e,t)}function om(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&&Vd(e,t)}function vs(e){return vs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},vs(e)}function wS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(wS=function(){return!!e})()}function Wd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O5(e,t){if(t&&(ft(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Wd(e)}function lm(e){var t=wS();return function(){var n,r=vs(e);if(t){var o=vs(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O5(this,n)}}var M5=function(e){om(n,e);var t=lm(n);function n(){return nm(this,n),t.apply(this,arguments)}return rm(n,[{key:"render",value:function(){return this.props.children}}]),n}(f.Component);function _5(e,t){var n=e.children,r=e.disabled,o=f.useRef(null),l=f.useRef(null),i=f.useContext(Hd),a=typeof n=="function",u=a?n(o):n,s=f.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),c=!a&&f.isValidElement(u)&&sS(u),d=c?fS(u):null,m=r5(d,o),p=function(){var v;return ku(o.current)||(o.current&&ft(o.current)==="object"?ku((v=o.current)===null||v===void 0?void 0:v.nativeElement):null)||ku(l.current)};f.useImperativeHandle(t,function(){return p()});var g=f.useRef(e);g.current=e;var y=f.useCallback(function(x){var v=g.current,h=v.onResize,w=v.data,E=x.getBoundingClientRect(),k=E.width,C=E.height,$=x.offsetWidth,R=x.offsetHeight,O=Math.floor(k),b=Math.floor(C);if(s.current.width!==O||s.current.height!==b||s.current.offsetWidth!==$||s.current.offsetHeight!==R){var T={width:O,height:b,offsetWidth:$,offsetHeight:R};s.current=T;var _=$===Math.round(k)?k:$,L=R===Math.round(C)?C:R,F=ee(ee({},T),{},{offsetWidth:_,offsetHeight:L});i==null||i(F,x,w),h&&Promise.resolve().then(function(){h(F,x)})}},[]);return f.useEffect(function(){var x=p();return x&&!r&&P5(x,y),function(){return T5(x,y)}},[o.current,r]),f.createElement(M5,{ref:l},c?f.cloneElement(u,{ref:m}):u)}var N5=f.forwardRef(_5),L5="rc-observer-key";function F5(e,t){var n=e.children,r=typeof n=="function"?[n]:Bd(n);return r.map(function(o,l){var i=(o==null?void 0:o.key)||"".concat(L5,"-").concat(l);return f.createElement(N5,Do({},e,{key:i,ref:l===0?t:void 0}),o)})}var A5=f.forwardRef(F5);A5.Collection=u5;function ir(e){var t=f.useRef();t.current=e;var n=f.useCallback(function(){for(var r,o=arguments.length,l=new Array(o),i=0;i<o;i++)l[i]=arguments[i];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(l))},[]);return n}function j5(){var e=ee({},Cu);return e.useId}j5();var D5=f.createContext({}),I5=function(e){om(n,e);var t=lm(n);function n(){return nm(this,n),t.apply(this,arguments)}return rm(n,[{key:"render",value:function(){return this.props.children}}]),n}(f.Component);function Xi(e){var t=f.useRef(!1),n=f.useState(e),r=xe(n,2),o=r[0],l=r[1];f.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(a,u){u&&t.current||l(a)}return[o,i]}function gf(e){return e!==void 0}function z5(e,t){var n=t||{},r=n.defaultValue,o=n.value,l=n.onChange,i=n.postState,a=Xi(function(){return gf(o)?o:gf(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),u=xe(a,2),s=u[0],c=u[1],d=o!==void 0?o:s,m=i?i(d):d,p=ir(l),g=Xi([d]),y=xe(g,2),x=y[0],v=y[1];Sy(function(){var w=x[0];s!==w&&p(s,w)},[x]),Sy(function(){gf(o)||c(o)},[o]);var h=ir(function(w,E){c(w,E),v([d],E)});return[m,h]}function B5(e){var t=f.useReducer(function(a){return a+1},0),n=xe(t,2),r=n[1],o=f.useRef(e),l=ir(function(){return o.current}
138),i=ir(function(a){o.current=typeof a=="function"?a(o.current):a,r()});return[l,i]}var Cr="none",Ga="appear",Ya="enter",Ka="leave",by="none",yn="prepare",ll="start",il="active",im="end",xS="prepared";function Ry(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function H5(e,t){var n={animationend:Ry("Animation","AnimationEnd"),transitionend:Ry("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var U5=H5(ac(),typeof window<"u"?window:{}),ES={};if(ac()){var V5=document.createElement("div");ES=V5.style}var Qa={};function SS(e){if(Qa[e])return Qa[e];var t=U5[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var l=n[o];if(Object.prototype.hasOwnProperty.call(t,l)&&l in ES)return Qa[e]=t[l],Qa[e]}return""}var kS=SS("animationend"),CS=SS("transitionend"),$S=!!(kS&&CS),Py=kS||"animationend",Ty=CS||"transitionend";function Oy(e,t){if(!e)return null;if(ft(e)==="object"){var n=t.replace(/-\w/g,function(r){return r[1].toUpperCase()});return e[n]}return"".concat(e,"-").concat(t)}const W5=function(e){var t=f.useRef();function n(o){o&&(o.removeEventListener(Ty,e),o.removeEventListener(Py,e))}function r(o){t.current&&t.current!==o&&n(t.current),o&&o!==t.current&&(o.addEventListener(Ty,e),o.addEventListener(Py,e),t.current=o)}return f.useEffect(function(){return function(){n(t.current)}},[]),[r,n]};var bS=ac()?f.useLayoutEffect:f.useEffect,RS=function(t){return+setTimeout(t,16)},PS=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(RS=function(t){return window.requestAnimationFrame(t)},PS=function(t){return window.cancelAnimationFrame(t)});var My=0,am=new Map;function TS(e){am.delete(e)}var Gd=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;My+=1;var r=My;function o(l){if(l===0)TS(r),t();else{var i=RS(function(){o(l-1)});am.set(r,i)}}return o(n),r};Gd.cancel=function(e){var t=am.get(e);return TS(e),PS(t)};const G5=function(){var e=f.useRef(null);function t(){Gd.cancel(e.current)}function n(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var l=Gd(function(){o<=1?r({isCanceled:function(){return l!==e.current}}):n(r,o-1)});e.current=l}return f.useEffect(function(){return function(){t()}},[]),[n,t]};var Y5=[yn,ll,il,im],K5=[yn,xS],OS=!1,Q5=!0;function MS(e){return e===il||e===im}const X5=function(e,t,n){var r=Xi(by),o=xe(r,2),l=o[0],i=o[1],a=G5(),u=xe(a,2),s=u[0],c=u[1];function d(){i(yn,!0)}var m=t?K5:Y5;return bS(function(){if(l!==by&&l!==im){var p=m.indexOf(l),g=m[p+1],y=n(l);y===OS?i(g,!0):g&&s(function(x){function v(){x.isCanceled()||i(g,!0)}y===!0?v():Promise.resolve(y).then(v)})}},[e,l]),f.useEffect(function(){return function(){c()}},[]),[d,l]};function Z5(e,t,n,r){var o=r.motionEnter,l=o===void 0?!0:o,i=r.motionAppear,a=i===void 0?!0:i,u=r.motionLeave,s=u===void 0?!0:u,c=r.motionDeadline,d=r.motionLeaveImmediately,m=r.onAppearPrepare,p=r.onEnterPrepare,g=r.onLeavePrepare,y=r.onAppearStart,x=r.onEnterStart,v=r.onLeaveStart,h=r.onAppearActive,w=r.onEnterActive,E=r.onLeaveActive,k=r.onAppearEnd,C=r.onEnterEnd,$=r.onLeaveEnd,R=r.onVisibleChanged,O=Xi(),b=xe(O,2),T=b[0],_=b[1],L=B5(Cr),F=xe(L,2),G=F[0],j=F[1],I=Xi(null),P=xe(I,2),M=P[0],N=P[1],H=G(),U=f.useRef(!1),z=f.useRef(null);function Y(){return n()}var A=f.useRef(!1);function V(){j(Cr),N(null,!0)}var Q=ir(function(me){var ve=G();if(ve!==Cr){var Pe=Y();if(!(me&&!me.deadline&&me.target!==Pe)){var ze=A.current,dt;ve===Ga&&ze?dt=k==null?void 0:k(Pe,me):ve===Ya&&ze?dt=C==null?void 0:C(Pe,me):ve===Ka&&ze&&(dt=$==null?void 0:$(Pe,me)),ze&&dt!==!1&&V()}}}),J=W5(Q),le=xe(J,1),he=le[0],Ae=function(ve){switch(ve){case Ga:return we(we(we({},yn,m),ll,y),il,h);case Ya:return we(we(we({},yn,p),ll,x),il,w);case Ka:return we(we(we({},yn,g),ll,v),il,E);default:return{}}},Ve=f.useMemo(function(){return Ae(H)},[H]),dn=X5(H,!e,function(me){if(me===yn){var ve=Ve[yn];return ve?ve(Y()):OS}if(Ie in Ve){var Pe;N(((Pe=Ve[Ie])===null||Pe===void 0?void 0:Pe.call(Ve,Y(),null))||null)}return Ie===il&&H!==Cr&&(he(Y()),c>0&&(clearTimeout(z.current),z.current=setTimeout(function(){Q({deadline:!0})},c))),Ie===xS&&V(),Q5}),kt=xe(dn,2),Ft=kt[0],Ie=kt[1],At=MS(Ie);A.current=At;var Ct=f.useRef(null);bS(function(){if(!(U.current&&Ct.current===t)){_(t);var me=U.current;U.current=!0;var ve;!me&&t&&a&&(ve=Ga),me&&t&&l&&(ve=Ya),(me&&!t&&s||!me&&d&&!t&&s)&&(ve=Ka);var Pe=Ae(ve);ve&&(e||Pe[yn])?(j(ve),Ft()):j(Cr),Ct.current=t}},[t]),f.useEffect(function(){(H===Ga&&!a||H===Ya&&!l||H===Ka&&!s)&&j(Cr)},[a,l,s]),f.useEffect(function(){return function(){U.current=!1,clearTimeout(z.current)}},[]);var Ye=f.useRef(!1);f.useEffect(function(){T&&(Ye.current=!0),T!==void 0&&H===Cr&&((Ye.current||T)&&(R==null||R(T)),Ye.current=!0)},[T,H]);var Ke=M;return Ve[yn]&&Ie===ll&&(Ke=ee({transition:"none"},Ke)),[H,Ie,Ke,T??t]}function q5(e){var t=e;ft(e)==="object"&&(t=e.transitionSupport);function n(o,l){return!!(o.motionName&&t&&l!==!1)}
138var r=f.forwardRef(function(o,l){var i=o.visible,a=i===void 0?!0:i,u=o.removeOnLeave,s=u===void 0?!0:u,c=o.forceRender,d=o.children,m=o.motionName,p=o.leavedClassName,g=o.eventProps,y=f.useContext(D5),x=y.motion,v=n(o,x),h=f.useRef(),w=f.useRef();function E(){try{return h.current instanceof HTMLElement?h.current:ku(w.current)}catch{return null}}var k=Z5(v,a,E,o),C=xe(k,4),$=C[0],R=C[1],O=C[2],b=C[3],T=f.useRef(b);b&&(T.current=!0);var _=f.useCallback(function(P){h.current=P,uS(l,P)},[l]),L,F=ee(ee({},g),{},{visible:a});if(!d)L=null;else if($===Cr)b?L=d(ee({},F),_):!s&&T.current&&p?L=d(ee(ee({},F),{},{className:p}),_):c||!s&&!p?L=d(ee(ee({},F),{},{style:{display:"none"}}),_):L=null;else{var G;R===yn?G="prepare":MS(R)?G="active":R===ll&&(G="start");var j=Oy(m,"".concat($,"-").concat(G));L=d(ee(ee({},F),{},{className:Zr(Oy(m,$),we(we({},j,j&&G),m,typeof m=="string")),style:O}),_)}if(f.isValidElement(L)&&sS(L)){var I=fS(L);I||(L=f.cloneElement(L,{ref:_}))}return f.createElement(I5,{ref:w},L)});return r.displayName="CSSMotion",r}const J5=q5($S);var Yd="add",Kd="keep",Qd="remove",yf="removed";function eL(e){var t;return e&&ft(e)==="object"&&"key"in e?t=e:t={key:e},ee(ee({},t),{},{key:String(t.key)})}function Xd(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(eL)}function tL(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,o=t.length,l=Xd(e),i=Xd(t);l.forEach(function(s){for(var c=!1,d=r;d<o;d+=1){var m=i[d];if(m.key===s.key){r<d&&(n=n.concat(i.slice(r,d).map(function(p){return ee(ee({},p),{},{status:Yd})})),r=d),n.push(ee(ee({},m),{},{status:Kd})),r+=1,c=!0;break}}c||n.push(ee(ee({},s),{},{status:Qd}))}),r<o&&(n=n.concat(i.slice(r).map(function(s){return ee(ee({},s),{},{status:Yd})})));var a={};n.forEach(function(s){var c=s.key;a[c]=(a[c]||0)+1});var u=Object.keys(a).filter(function(s){return a[s]>1});return u.forEach(function(s){n=n.filter(function(c){var d=c.key,m=c.status;return d!==s||m!==Qd}),n.forEach(function(c){c.key===s&&(c.status=Kd)})}),n}var nL=["component","children","onVisibleChanged","onAllRemoved"],rL=["status"],oL=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function lL(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:J5,n=function(r){om(l,r);var o=lm(l);function l(){var i;nm(this,l);for(var a=arguments.length,u=new Array(a),s=0;s<a;s++)u[s]=arguments[s];return i=o.call.apply(o,[this].concat(u)),we(Wd(i),"state",{keyEntities:[]}),we(Wd(i),"removeKey",function(c){i.setState(function(d){var m=d.keyEntities.map(function(p){return p.key!==c?p:ee(ee({},p),{},{status:yf})});return{keyEntities:m}},function(){var d=i.state.keyEntities,m=d.filter(function(p){var g=p.status;return g!==yf}).length;m===0&&i.props.onAllRemoved&&i.props.onAllRemoved()})}),i}return rm(l,[{key:"render",value:function(){var a=this,u=this.state.keyEntities,s=this.props,c=s.component,d=s.children,m=s.onVisibleChanged;s.onAllRemoved;var p=ps(s,nL),g=c||f.Fragment,y={};return oL.forEach(function(x){y[x]=p[x],delete p[x]}),delete p.keys,f.createElement(g,p,u.map(function(x,v){var h=x.status,w=ps(x,rL),E=h===Yd||h===Kd;return f.createElement(t,Do({},y,{key:w.key,visible:E,eventProps:w,onVisibleChanged:function(C){m==null||m(C,{key:w.key}),C||a.removeKey(w.key)}}),function(k,C){return d(ee(ee({},k),{},{index:v}),C)})}))}}],[{key:"getDerivedStateFromProps",value:function(a,u){var s=a.keys,c=u.keyEntities,d=Xd(s),m=tL(c,d);return{keyEntities:m.filter(function(p){var g=c.find(function(y){var x=y.key;return p.key===x});return!(g&&g.status===yf&&p.status===Qd)})}}}]),l}(f.Component);return we(n,"defaultProps",{component:"div"}),n}lL($S);function iL(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(l,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,u=r.has(l);if(Pl(!u,"Warning: There may be circular references"),u)return!1;if(l===i)return!0;
138if(n&&a>1)return!1;r.add(l);var s=a+1;if(Array.isArray(l)){if(!Array.isArray(i)||l.length!==i.length)return!1;for(var c=0;c<l.length;c++)if(!o(l[c],i[c],s))return!1;return!0}if(l&&i&&ft(l)==="object"&&ft(i)==="object"){var d=Object.keys(l);return d.length!==Object.keys(i).length?!1:d.every(function(m){return o(l[m],i[m],s)})}return!1}return o(e,t)}function Zd(e,t,n){return(e-t)/(n-t)}function um(e,t,n,r){var o=Zd(t,n,r),l={};switch(e){case"rtl":l.right="".concat(o*100,"%"),l.transform="translateX(50%)";break;case"btt":l.bottom="".concat(o*100,"%"),l.transform="translateY(50%)";break;case"ttb":l.top="".concat(o*100,"%"),l.transform="translateY(-50%)";break;default:l.left="".concat(o*100,"%"),l.transform="translateX(-50%)";break}return l}function mo(e,t){return Array.isArray(e)?e[t]:e}var Xe={BACKSPACE:8,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},Bo=f.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),aL=f.createContext({}),uL=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],_y=f.forwardRef(function(e,t){var n=e.prefixCls,r=e.value,o=e.valueIndex,l=e.onStartMove,i=e.onDelete,a=e.style,u=e.render,s=e.dragging,c=e.draggingDelete,d=e.onOffsetChange,m=e.onChangeComplete,p=e.onFocus,g=e.onMouseEnter,y=ps(e,uL),x=f.useContext(Bo),v=x.min,h=x.max,w=x.direction,E=x.disabled,k=x.keyboard,C=x.range,$=x.tabIndex,R=x.ariaLabelForHandle,O=x.ariaLabelledByForHandle,b=x.ariaRequired,T=x.ariaValueTextFormatterForHandle,_=x.styles,L=x.classNames,F="".concat(n,"-handle"),G=function(A){E||l(A,o)},j=function(A){p==null||p(A,o)},I=function(A){g(A,o)},P=function(A){if(!E&&k){var V=null;switch(A.which||A.keyCode){case Xe.LEFT:V=w==="ltr"||w==="btt"?-1:1;break;case Xe.RIGHT:V=w==="ltr"||w==="btt"?1:-1;break;case Xe.UP:V=w!=="ttb"?1:-1;break;case Xe.DOWN:V=w!=="ttb"?-1:1;break;case Xe.HOME:V="min";break;case Xe.END:V="max";break;case Xe.PAGE_UP:V=2;break;case Xe.PAGE_DOWN:V=-2;break;case Xe.BACKSPACE:case Xe.DELETE:i(o);break}V!==null&&(A.preventDefault(),d(V,o))}},M=function(A){switch(A.which||A.keyCode){case Xe.LEFT:case Xe.RIGHT:case Xe.UP:case Xe.DOWN:case Xe.HOME:case Xe.END:case Xe.PAGE_UP:case Xe.PAGE_DOWN:m==null||m();break}},N=um(w,r,v,h),H={};if(o!==null){var U;H={tabIndex:E?null:mo($,o),role:"slider","aria-valuemin":v,"aria-valuemax":h,"aria-valuenow":r,"aria-disabled":E,"aria-label":mo(R,o),"aria-labelledby":mo(O,o),"aria-required":mo(b,o),"aria-valuetext":(U=mo(T,o))===null||U===void 0?void 0:U(r),"aria-orientation":w==="ltr"||w==="rtl"?"horizontal":"vertical",onMouseDown:G,onTouchStart:G,onFocus:j,onMouseEnter:I,onKeyDown:P,onKeyUp:M}}var z=f.createElement("div",Do({ref:t,className:Zr(F,we(we(we({},"".concat(F,"-").concat(o+1),o!==null&&C),"".concat(F,"-dragging"),s),"".concat(F,"-dragging-delete"),c),L.handle),style:ee(ee(ee({},N),a),_.handle)},H,y));return u&&(z=u(z,{index:o,prefixCls:n,value:r,dragging:s,draggingDelete:c})),z}),sL=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onF
138ocus"],cL=f.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,o=e.onStartMove,l=e.onOffsetChange,i=e.values,a=e.handleRender,u=e.activeHandleRender,s=e.draggingIndex,c=e.draggingDelete,d=e.onFocus,m=ps(e,sL),p=f.useRef({}),g=f.useState(!1),y=xe(g,2),x=y[0],v=y[1],h=f.useState(-1),w=xe(h,2),E=w[0],k=w[1],C=function(T){k(T),v(!0)},$=function(T,_){C(_),d==null||d(T)},R=function(T,_){C(_)};f.useImperativeHandle(t,function(){return{focus:function(T){var _;(_=p.current[T])===null||_===void 0||_.focus()},hideHelp:function(){An.flushSync(function(){v(!1)})}}});var O=ee({prefixCls:n,onStartMove:o,onOffsetChange:l,render:a,onFocus:$,onMouseEnter:R},m);return f.createElement(f.Fragment,null,i.map(function(b,T){var _=s===T;return f.createElement(_y,Do({ref:function(F){F?p.current[T]=F:delete p.current[T]},dragging:_,draggingDelete:_&&c,style:mo(r,T),key:T,value:b,valueIndex:T},O))}),u&&x&&f.createElement(_y,Do({key:"a11y"},O,{value:i[E],valueIndex:null,dragging:s!==-1,draggingDelete:c,render:u,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),fL=function(t){var n=t.prefixCls,r=t.style,o=t.children,l=t.value,i=t.onClick,a=f.useContext(Bo),u=a.min,s=a.max,c=a.direction,d=a.includedStart,m=a.includedEnd,p=a.included,g="".concat(n,"-text"),y=um(c,l,u,s);return f.createElement("span",{className:Zr(g,we({},"".concat(g,"-active"),p&&d<=l&&l<=m)),style:ee(ee({},y),r),onMouseDown:function(v){v.stopPropagation()},onClick:function(){i(l)}},o)},dL=function(t){var n=t.prefixCls,r=t.marks,o=t.onClick,l="".concat(n,"-mark");return r.length?f.createElement("div",{className:l},r.map(function(i){var a=i.value,u=i.style,s=i.label;return f.createElement(fL,{key:a,prefixCls:l,style:u,value:a,onClick:o},s)})):null},pL=function(t){var n=t.prefixCls,r=t.value,o=t.style,l=t.activeStyle,i=f.useContext(Bo),a=i.min,u=i.max,s=i.direction,c=i.included,d=i.includedStart,m=i.includedEnd,p="".concat(n,"-dot"),g=c&&d<=r&&r<=m,y=ee(ee({},um(s,r,a,u)),typeof o=="function"?o(r):o);return g&&(y=ee(ee({},y),typeof l=="function"?l(r):l)),f.createElement("span",{className:Zr(p,we({},"".concat(p,"-active"),g)),style:y})},hL=function(t){var n=t.prefixCls,r=t.marks,o=t.dots,l=t.style,i=t.activeStyle,a=f.useContext(Bo),u=a.min,s=a.max,c=a.step,d=f.useMemo(function(){var m=new Set;if(r.forEach(function(g){m.add(g.value)}),o&&c!==null)for(var p=u;p<=s;)m.add(p),p+=c;return Array.from(m)},[u,s,c,o,r]);return f.createElement("div",{className:"".concat(n,"-step")},d.map(function(m){return f.createElement(pL,{prefixCls:n,key:m,value:m,style:l,activeStyle:i})}))},Ny=function(t){var n=t.prefixCls,r=t.style,o=t.start,l=t.end,i=t.index,a=t.onStartMove,u=t.replaceCls,s=f.useContext(Bo),c=s.direction,d=s.min,m=s.max,p=s.disabled,g=s.range,y=s.classNames,x="".concat(n,"-track"),v=Zd(o,d,m),h=Zd(l,d,m),w=function($){!p&&a&&a($,-1)},E={};switch(c){case"rtl":E.right="".concat(v*100,"%"),E.width="".concat(h*100-v*100,"%");break;case"btt":E.bottom="".concat(v*100,"%"),E.height="".concat(h*100-v*100,"%");break;case"ttb":E.top="".concat(v*100,"%"),E.height="".concat(h*100-v*100,"%");break;default:E.left="".concat(v*100,"%"),E.width="".concat(h*100-v*100,"%")}var k=u||Zr(x,we(we({},"".concat(x,"-").concat(i+1),i!==null&&g),"".concat(n,"-track-draggable"),a),y.track);return f.createElement("div",{className:k,style:ee(ee({},E),r),onMouseDown:w,onTouchStart:w})},mL=function(t){var n=t.prefixCls,r=t.style,o=t.values,l=t.startPoint,i=t.onStartMove,a=f.useContext(Bo),u=a.included,s=a.range,c=a.min,d=a.styles,m=a.classNames,p=f.useMemo(function(){if(!s){if(o.length===0)return[];var y=l??c,x=o[0];return[{start:Math.min(y,x),end:Math.max(y,x)}]}for(var v=[],h=0;h<o.length-1;h+=1)v.push({start:o[h],end:o[h+1]});return v},[o,s,l,c]);if(!u)return null;var g=p!=null&&p.length&&(m.tracks||d.tracks)?f.createElement(Ny,{index:null,prefixCls:n,start:p[0].start,end:p[p.length-1].end,replaceCls:Zr(m.tracks,"".concat(n,"-tracks")),style:d.tracks}):null;return f.createElement(f.Fragment,null,g,p.map(function(y,x){var v=y.start,h=y.end;return f.createElement(Ny,{index:x,prefixCls:n,style:ee(ee({},mo(r,x)),d.track),start:v,end:h,key:x,onStartMove:i})}
138))},vL=130;function Ly(e){var t="targetTouches"in e?e.targetTouches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function gL(e,t,n,r,o,l,i,a,u,s,c){var d=f.useState(null),m=xe(d,2),p=m[0],g=m[1],y=f.useState(-1),x=xe(y,2),v=x[0],h=x[1],w=f.useState(!1),E=xe(w,2),k=E[0],C=E[1],$=f.useState(n),R=xe($,2),O=R[0],b=R[1],T=f.useState(n),_=xe(T,2),L=_[0],F=_[1],G=f.useRef(null),j=f.useRef(null),I=f.useRef(null),P=f.useContext(aL),M=P.onDragStart,N=P.onDragChange;dS(function(){v===-1&&b(n)},[n,v]),f.useEffect(function(){return function(){document.removeEventListener("mousemove",G.current),document.removeEventListener("mouseup",j.current),I.current&&(I.current.removeEventListener("touchmove",G.current),I.current.removeEventListener("touchend",j.current))}},[]);var H=function(V,Q,J){Q!==void 0&&g(Q),b(V);var le=V;J&&(le=V.filter(function(he,Ae){return Ae!==v})),i(le),N&&N({rawValues:V,deleteIndex:J?v:-1,draggingIndex:v,draggingValue:Q})},U=ir(function(A,V,Q){if(A===-1){var J=L[0],le=L[L.length-1],he=r-J,Ae=o-le,Ve=V*(o-r);Ve=Math.max(Ve,he),Ve=Math.min(Ve,Ae);var dn=l(J+Ve);Ve=dn-J;var kt=L.map(function(Ct){return Ct+Ve});H(kt)}else{var Ft=(o-r)*V,Ie=Zn(O);Ie[A]=L[A];var At=u(Ie,Ft,A,"dist");H(At.values,At.value,Q)}}),z=function(V,Q,J){V.stopPropagation();var le=J||n,he=le[Q];h(Q),g(he),F(le),b(le),C(!1);var Ae=Ly(V),Ve=Ae.pageX,dn=Ae.pageY,kt=!1;M&&M({rawValues:le,draggingIndex:Q,draggingValue:he});var Ft=function(Ct){Ct.preventDefault();var Ye=Ly(Ct),Ke=Ye.pageX,me=Ye.pageY,ve=Ke-Ve,Pe=me-dn,ze=e.current.getBoundingClientRect(),dt=ze.width,Vn=ze.height,pn,hn;switch(t){case"btt":pn=-Pe/Vn,hn=ve;break;case"ttb":pn=Pe/Vn,hn=ve;break;case"rtl":pn=-ve/dt,hn=Pe;break;default:pn=ve/dt,hn=Pe}kt=s?Math.abs(hn)>vL&&c<O.length:!1,C(kt),U(Q,pn,kt)},Ie=function At(Ct){Ct.preventDefault(),document.removeEventListener("mouseup",At),document.removeEventListener("mousemove",Ft),I.current&&(I.current.removeEventListener("touchmove",G.current),I.current.removeEventListener("touchend",j.current)),G.current=null,j.current=null,I.current=null,a(kt),h(-1),C(!1)};document.addEventListener("mouseup",Ie),document.addEventListener("mousemove",Ft),V.currentTarget.addEventListener("touchend",Ie),V.currentTarget.addEventListener("touchmove",Ft),G.current=Ft,j.current=Ie,I.current=V.currentTarget},Y=f.useMemo(function(){var A=Zn(n).sort(function(he,Ae){return he-Ae}),V=Zn(O).sort(function(he,Ae){return he-Ae}),Q={};V.forEach(function(he){Q[he]=(Q[he]||0)+1}),A.forEach(function(he){Q[he]=(Q[he]||0)-1});var J=s?1:0,le=Object.values(Q).reduce(function(he,Ae){return he+Math.abs(Ae)},0);return le<=J?O:n},[n,O,s]);return[v,p,k,Y,z]}function yL(e,t,n,r,o,l){var i=f.useCallback(function(p){return Math.max(e,Math.min(t,p))},[e,t]),a=f.useCallback(function(p){if(n!==null){var g=e+Math.round((i(p)-e)/n)*n,y=function(w){return(String(w).split(".")[1]||"").length},x=Math.max(y(n),y(t),y(e)),v=Number(g.toFixed(x));return e<=v&&v<=t?v:null}return null},[n,e,t,i]),u=f.useCallback(function(p){var g=i(p),y=r.map(function(h){return h.value});n!==null&&y.push(a(p)),y.push(e,t);var x=y[0],v=t-e;return y.forEach(function(h){var w=Math.abs(g-h);w<=v&&(x=h,v=w)}),x},[e,t,r,n,i,a]),s=function p(g,y,x){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof y=="number"){var h,w=g[x],E=w+y,k=[];r.forEach(function(b){k.push(b.value)}),k.push(e,t),k.push(a(w));var C=y>0?1:-1;v==="unit"?k.push(a(w+C*n)):k.push(a(E)),k=k.filter(function(b){return b!==null}).filter(function(b){return y<0?b<=w:b>=w}),v==="unit"&&(k=k.filter(function(b){return b!==w}));var $=v==="unit"?w:E;h=k[0];var R=Math.abs(h-$);if(k.forEach(function(b){var T=Math.abs(b-$);T<R&&(h=b,R=T)}),h===void 0)return y<0?e:t;if(v==="dist")return h;if(Math.abs(y)>1){var O=Zn(g);return O[x]=h,p(O,y-C,x,v)}return h}else{if(y==="min")return e;if(y==="max")return t}},c=function(g,y,x){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",h=g[x],w=s(g,y,x,v);return{value:w,changed:w!==h}},d=function(g){return l===null&&g===0||typeof l=="number"&&g<l},m=function(g,y,x){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",h=g.map(u),w=h[x],E=s(h,y,x,v);if(h[x]=E,o===!1){var k=l||0;x>0&&h[x-1]!==w&&(h[x]=Math.max(h[x],h[x-1]+k)),x<h.length-1&&h[x+1]!==w&&(h[x]=Math.min(h[x],h[x+1]-k))}else if(typeof l=="number"||l===null){for(var C=x+1;C<h.length;C+=1)for(var $=!0;d(h[C]-h[C-1])&&$;){var R=c(h,1,C);h[C]=R.value,$=R.changed}for(var O=x;O>0;
138O-=1)for(var b=!0;d(h[O]-h[O-1])&&b;){var T=c(h,-1,O-1);h[O-1]=T.value,b=T.changed}for(var _=h.length-1;_>0;_-=1)for(var L=!0;d(h[_]-h[_-1])&&L;){var F=c(h,-1,_-1);h[_-1]=F.value,L=F.changed}for(var G=0;G<h.length-1;G+=1)for(var j=!0;d(h[G+1]-h[G])&&j;){var I=c(h,1,G+1);h[G+1]=I.value,j=I.changed}}return{value:h[x],values:h}};return[u,m]}function wL(e){return f.useMemo(function(){if(e===!0||!e)return[!!e,!1,!1,0];var t=e.editable,n=e.draggableTrack,r=e.minCount,o=e.maxCount;return[!0,t,!t&&n,r||0,o]},[e])}var _S=f.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-slider":n,o=e.className,l=e.style,i=e.classNames,a=e.styles,u=e.id,s=e.disabled,c=s===void 0?!1:s,d=e.keyboard,m=d===void 0?!0:d,p=e.autoFocus,g=e.onFocus,y=e.onBlur,x=e.min,v=x===void 0?0:x,h=e.max,w=h===void 0?100:h,E=e.step,k=E===void 0?1:E,C=e.value,$=e.defaultValue,R=e.range,O=e.count,b=e.onChange,T=e.onBeforeChange,_=e.onAfterChange,L=e.onChangeComplete,F=e.allowCross,G=F===void 0?!0:F,j=e.pushable,I=j===void 0?!1:j,P=e.reverse,M=e.vertical,N=e.included,H=N===void 0?!0:N,U=e.startPoint,z=e.trackStyle,Y=e.handleStyle,A=e.railStyle,V=e.dotStyle,Q=e.activeDotStyle,J=e.marks,le=e.dots,he=e.handleRender,Ae=e.activeHandleRender,Ve=e.track,dn=e.tabIndex,kt=dn===void 0?0:dn,Ft=e.ariaLabelForHandle,Ie=e.ariaLabelledByForHandle,At=e.ariaRequired,Ct=e.ariaValueTextFormatterForHandle,Ye=f.useRef(null),Ke=f.useRef(null),me=f.useMemo(function(){return M?P?"ttb":"btt":P?"rtl":"ltr"},[P,M]),ve=wL(R),Pe=xe(ve,5),ze=Pe[0],dt=Pe[1],Vn=Pe[2],pn=Pe[3],hn=Pe[4],qt=f.useMemo(function(){return isFinite(v)?v:0},[v]),Ho=f.useMemo(function(){return isFinite(w)?w:100},[w]),io=f.useMemo(function(){return k!==null&&k<=0?1:k},[k]),LS=f.useMemo(function(){return typeof I=="boolean"?I?io:!1:I>=0?I:!1},[I,io]),va=f.useMemo(function(){return Object.keys(J||{}).map(function(ue){var q=J[ue],pe={value:Number(ue)};return q&&ft(q)==="object"&&!f.isValidElement(q)&&("label"in q||"style"in q)?(pe.style=q.style,pe.label=q.label):pe.label=q,pe}).filter(function(ue){var q=ue.label;return q||typeof q=="number"}).sort(function(ue,q){return ue.value-q.value})},[J]),FS=yL(qt,Ho,io,va,G,LS),sm=xe(FS,2),ga=sm[0],cm=sm[1],AS=z5($,{value:C}),fm=xe(AS,2),yr=fm[0],jS=fm[1],pt=f.useMemo(function(){var ue=yr==null?[]:Array.isArray(yr)?yr:[yr],q=xe(ue,1),pe=q[0],Oe=pe===void 0?qt:pe,Qe=yr===null?[]:[Oe];if(ze){if(Qe=Zn(ue),O||yr===void 0){var wr=O>=0?O+1:2;for(Qe=Qe.slice(0,wr);Qe.length<wr;){var Wn;Qe.push((Wn=Qe[Qe.length-1])!==null&&Wn!==void 0?Wn:qt)}}Qe.sort(function(Gn,Yn){return Gn-Yn})}return Qe.forEach(function(Gn,Yn){Qe[Yn]=ga(Gn)}),Qe},[yr,ze,qt,O,ga]),Uo=function(q){return ze?q:q[0]},ya=ir(function(ue){var q=Zn(ue).sort(function(pe,Oe){return pe-Oe});b&&!iL(q,pt,!0)&&b(Uo(q)),jS(q)}),dm=ir(function(ue){ue&&Ye.current.hideHelp();var q=Uo(pt);_==null||_(q),Pl(!_,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),L==null||L(q)}),DS=function(q){if(!(c||!dt||pt.length<=pn)){var pe=Zn(pt);pe.splice(q,1),T==null||T(Uo(pe)),ya(pe);var Oe=Math.max(0,q-1);Ye.current.hideHelp(),Ye.current.focus(Oe)}},IS=gL(Ke,me,pt,qt,Ho,ga,ya,dm,cm,dt,pn),Bl=xe(IS,5),pm=Bl[0],zS=Bl[1],BS=Bl[2],wc=Bl[3],hm=Bl[4],mm=function(q,pe){if(!c){var Oe=Zn(pt),Qe=0,wr=0,Wn=Ho-qt;pt.forEach(function(xr,wa){var km=Math.abs(q-xr);km<=Wn&&(Wn=km,Qe=wa),xr<q&&(wr=wa)});
138var Gn=Qe;dt&&Wn!==0&&(!hn||pt.length<hn)?(Oe.splice(wr+1,0,q),Gn=wr+1):Oe[Qe]=q,ze&&!pt.length&&O===void 0&&Oe.push(q);var Yn=Uo(Oe);if(T==null||T(Yn),ya(Oe),pe){var ao,Vo;(ao=document.activeElement)===null||ao===void 0||(Vo=ao.blur)===null||Vo===void 0||Vo.call(ao),Ye.current.focus(Gn),hm(pe,Gn,Oe)}else _==null||_(Yn),Pl(!_,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),L==null||L(Yn)}},HS=function(q){q.preventDefault();var pe=Ke.current.getBoundingClientRect(),Oe=pe.width,Qe=pe.height,wr=pe.left,Wn=pe.top,Gn=pe.bottom,Yn=pe.right,ao=q.clientX,Vo=q.clientY,xr;switch(me){case"btt":xr=(Gn-Vo)/Qe;break;case"ttb":xr=(Vo-Wn)/Qe;break;case"rtl":xr=(Yn-ao)/Oe;break;default:xr=(ao-wr)/Oe}var wa=qt+xr*(Ho-qt);mm(ga(wa),q)},US=f.useState(null),vm=xe(US,2),xc=vm[0],gm=vm[1],VS=function(q,pe){if(!c){var Oe=cm(pt,q,pe);T==null||T(Uo(pt)),ya(Oe.values),gm(Oe.value)}};f.useEffect(function(){if(xc!==null){var ue=pt.indexOf(xc);ue>=0&&Ye.current.focus(ue)}gm(null)},[xc]);var WS=f.useMemo(function(){return Vn&&io===null?!1:Vn},[Vn,io]),ym=ir(function(ue,q){hm(ue,q),T==null||T(Uo(pt))}),wm=pm!==-1;f.useEffect(function(){if(!wm){var ue=pt.lastIndexOf(zS);Ye.current.focus(ue)}},[wm]);var Hl=f.useMemo(function(){return Zn(wc).sort(function(ue,q){return ue-q})},[wc]),GS=f.useMemo(function(){return ze?[Hl[0],Hl[Hl.length-1]]:[qt,Hl[0]]},[Hl,ze,qt]),xm=xe(GS,2),Em=xm[0],Sm=xm[1];f.useImperativeHandle(t,function(){return{focus:function(){Ye.current.focus(0)},blur:function(){var q,pe=document,Oe=pe.activeElement;(q=Ke.current)!==null&&q!==void 0&&q.contains(Oe)&&(Oe==null||Oe.blur())}}}),f.useEffect(function(){p&&Ye.current.focus(0)},[]);var YS=f.useMemo(function(){return{min:qt,max:Ho,direction:me,disabled:c,keyboard:m,step:io,included:H,includedStart:Em,includedEnd:Sm,range:ze,tabIndex:kt,ariaLabelForHandle:Ft,ariaLabelledByForHandle:Ie,ariaRequired:At,ariaValueTextFormatterForHandle:Ct,styles:a||{},classNames:i||{}}},[qt,Ho,me,c,m,io,H,Em,Sm,ze,kt,Ft,Ie,At,Ct,a,i]);return f.createElement(Bo.Provider,{value:YS},f.createElement("div",{ref:Ke,className:Zr(r,o,we(we(we(we({},"".concat(r,"-disabled"),c),"".concat(r,"-vertical"),M),"".concat(r,"-horizontal"),!M),"".concat(r,"-with-marks"),va.length)),style:l,onMouseDown:HS,id:u},f.createElement("div",{className:Zr("".concat(r,"-rail"),i==null?void 0:i.rail),style:ee(ee({},A),a==null?void 0:a.rail)}),Ve!==!1&&f.createElement(mL,{prefixCls:r,style:z,values:pt,startPoint:U,onStartMove:WS?ym:void 0}),f.createElement(hL,{prefixCls:r,marks:va,dots:le,style:V,activeStyle:Q}),f.createElement(cL,{ref:Ye,prefixCls:r,style:Y,values:wc,draggingIndex:pm,draggingDelete:BS,onStartMove:ym,onOffsetChange:VS,onFocus:g,onBlur:y,handleRender:he,activeHandleRender:Ae,onChangeComplete:dm,onDelete:dt?DS:void 0}),f.createElement(dL,{prefixCls:r,marks:va,onClick:mm})))});const{Handle:FL}=_S,NS=({distance:e,setDistance:t})=>S.jsx("div",{children:S.jsxs("div",{className:"w-full px-1 font-body",children:[S.jsx("div",{className:"flex justify-between",children:S.jsx("div",{children:S.jsxs("p",{className:"pb-4 text-gray-900 text-[17px] font-body",children:["Choose Distance (",e," miles)"]})})}),S.jsx(_S,{min:5,defaultValue:15,max:50,marks:{5:"5mi",10:"10mi",15:"15mi",20:"20mi",25:"25mi",30:"30mi",35:"35mi",40:"40mi",45:"45mi",50:"50mi"},step:5,onChange:n=>t(n),handleStyle:{height:20,width:20,marginLeft:0,marginTop:-6}})]})});function xL(...e){return e.filter(Boolean).join(" ")}const Fy=[{id:1,name:"Anthem Retailer",value:"Storefront"},{id:2,name:"Custom Integrator",value:"Custom"}],EL="https://pe-dealer-locator-back-657295313151.us-central1.run.app/api/series/filter",SL=({setSelectedFilter:e,selectedFilter:t,setFilters:n,distance:r,setDistance:o})=>{const[l,i]=f.useState([]),[a,u]=f.useState(!0);f.useEffect(()=>{fetch(EL).then(p=>{if(p.ok)return p.json();throw new Error(p.status)}).then(p=>{const g=(p||[]).filter(y=>y.ANTHEM==="Y").sort((y,x)=>(y.ORDER||0)-(x.ORDER||0)).map(y=>({id:y.SERIES_ID,name:y.SERIES,value:y.SERIES}));i(g)}).catch(p=>{console.error("Error fetching series filters:",p),i([])}).finally(()=>u(!1))},[]);const s=[...Fy,...l],c=t!==""&&t!==void 0&&t!==null,d=s.find(p=>p.value===t),m=p=>S.jsxs($h,{value:p,"aria-label":p.name,className:xL(p.name==="Anthem Retailer"?"custom-installer text-white":"bg-gradient-to-r from-neutral-900 to-neutral-500 text-gray-50","group relative block cursor-pointer rounded-lg border border-gray-100 px-6 py-4 shadow-sm focus:outline-none data-[focus]:border-green-600 data-[focus]:ring-2 data-[focus]:ring-green-600 sm:flex sm:justify-between"),children:[S.jsx("span",{className:"flex items-center",children:S.jsx("span",{className:"flex flex-col text-lg",children:S.jsx("span",{className:"font-medium font-body",children:p.name})})}),S.jsx("span",{"aria-hidden":"true",className:"pointer-events-none absolute -inset-px rounded-lg border-2 border-transparent group-data-[focus]:border group-data-[checked]:border-green-600"})]},p.id??p.name);return S.jsxs(S.Fragment,{children:[S.jsx("div",{className:"px-6 py-6 md:hidden block",children:S.jsx(NS,{distance:r,setDistance:o})}),S.jsxs("div",{className:"pt-6 px-6 flex justify-between",children:[S.jsx("h1",{className:"text-2xl font-semibold font-body",children:"Select a Category"}),S.jsx("span",{onClick:()=>{e(""),n(!1)},children:S.jsx("button",{type:"button",className:"font-body rounded-full bg-white px-6 py-1 text-lg font-medium text-gray-900 shadow-sm ring-1 ring-inset ring-gray-600 hover:bg-gray-200/70",children:c?"Clear Filters":"Close Filters"})})]}),S.jsx("fieldset",{"aria-label":"Server size",className:"h-[24vh] md:h-full overflow-y-scroll",children:S.jsxs(zx,{value:d,onChange:p=>{e(p.value),n(!1)},className:"space-y-4 px-6 pt-6",children:[Fy.map(m),S.jsxs("div",{className:"border-t border-gray-200 pt-6 mt-6",children:[S.jsx("h2",{className:"text-xl font-semibold font-body mb-4",children:"Select a Series"}),a?S.jsx("p",{className:"font-body text-gray-500",children:"Loading series..."}):S.jsx("div",{className:"space-y-4",children:l.map(m)})]})]})})]})},kL=({infoWindow:e,setInfoWindow:t,map:n,markers:r,setMarkers:o,storesList:l,setStoresList:i,selectedStoreIndex:a,filters:u,setFilters:s,selectedFilter:c,setSelectedFilter:d,coordinates:m,city:p,distance:g,setDistance:y,zipcode:x,setZipcode:v,location:h,setLocation:w,handleAddressSelect:E})=>{const[k,C]=f.useState(null),$=rE("AIzaSyBudK7LCeXFcnEjAnaUnKeiWHsy2stDr5Y"),[R,O]=f.useState([]),[b,T]=f.useState(!1);console.log(l),f.useEffect(()=>
138{v(p)},[p]);const _=c&&c!==""&&c!=="Storefront"&&c!=="Custom";f.useEffect(()=>{var P;const j=((P=x==null?void 0:x.trim)==null?void 0:P.call(x))||"";if(!j)return;(M=>{var z;i([]);const N="https://pe-dealer-locator-back-657295313151.us-central1.run.app/api/stores",H=new URLSearchParams({zip_code:M,filter:c==="Storefront"||c==="Custom"?c:"",distance:String(g)});if(_){const Y=(z=R.find(A=>A.SERIES===c))==null?void 0:z.SERIES_ID;Y!=null&&H.set("series",String(Y))}const U=`${N}?${H.toString()}`;T(!0),fetch(U).then(Y=>{if(Y.status===200)return Y==null?void 0:Y.json();throw new Error(Y.status)}).then(Y=>{if(Y.length>0){const V=Y.filter(Q=>Q.ANTHEM==="Y"&&Q.ENABLED_AN==="Y").sort((Q,J)=>Q.FLAGSHIP_DEALER_AN==="Y"&&J.FLAGSHIP_DEALER_AN!=="Y"?-1:Q.FLAGSHIP_DEALER_AN!=="Y"&&J.FLAGSHIP_DEALER_AN==="Y"?1:0);F(),L(V),i(V),T(!1)}else i([]),T(!1)}).catch(Y=>{console.error("Error fetching stores:",Y),i([]),T(!1)})})(j)},[c,x,g,R]);const L=j=>{F();const I=new $.maps.LatLngBounds,P=j.map((M,N)=>{const H=new $.maps.LatLng(M.LATITUDE,-M.LONGITUDE),U=new $.maps.Marker({latlng:H,position:H,map:n,title:M.CUST_NAME,name:M.CUST_NAME,address:M.CUST_ADDRESS,fullAddress:`${M.CUST_ADDRESS}, ${M.CITY}, ${M.STATE}`,category:M.SIC_CODE,storeType:M.STOREFRONT,phone:M.TELEPHONE,website:M.WEBSITE,email:M.EMAIL,zipcode:M.ZIPCODE});return U.addListener("click",()=>C(N)),I.extend(H),U});o(P),j.length===1?(n.setCenter(I.getCenter()),n.setZoom(10)):n.fitBounds(I)},F=()=>{e.close(),r.forEach(j=>j.setMap(null)),o([])},G=j=>{const I=r[j];if(C(j),I){const P=lo.renderToString(S.jsx(eS,{name:I.name,address:I.address,storeType:I.storeType,category:I.category,phone:I.phone,website:I.website,email:I.email,fullAddress:I.fullAddress,zipcode:I.zipcode}));e.setContent(P),e.open(n,I)}};return B.useEffect(()=>{if(a!==null&&r[a]){const j=r[a];e.setContent(j.getTitle()),e.open(n,j)}},[a,r,e,n]),f.useEffect(()=>{fetch("https://pe-dealer-locator-back-657295313151.us-central1.run.app/api/series").then(j=>{if(j.status===200)return j==null?void 0:j.json();throw new Error(j.status)}).then(j=>{if(j.length>0){const I=j.filter(P=>P.ANTHEM==="Y");O(I)}}).catch(j=>{console.error("Error fetching stores:",j)})},[]),S.jsxs("div",{className:"bg-white py-6",children:[S.jsxs("div",{className:"md:grid grid-cols-6 hidden",children:[S.jsx("div",{className:"col-span-5",children:S.jsx(hw,{zipcode:x,setZipcode:v,onSelectAddress:E})}),S.jsx("div",{className:"col-span-1",children:S.jsx(nE,{filters:u,setFilters:s,selectedFilter:c})})]}),S.jsx("div",{className:"px-6 py-6 hidden md:block",children:S.jsx(NS,{distance:g,setDistance:y})}),S.jsx("div",{className:"h-[60vh]",children:u?S.jsx(SL,{setSelectedFilter:d,selectedFilter:c,setFilters:s,distance:g,setDistance:y}):S.jsx("div",{className:"md:pt-0 pt-8",children:S.jsx(RM,{storesList:l,onListClick:G,setFilters:s,setSelectedFilter:d,selectedFilter:c,series:R,loading:b})})}),r.map((j,I)=>S.jsx(jN,{map:n,google:$,infoWindow:e,setInfoWindow:t,...j},I))]})},CL=({infoWindow:e,setInfoWindow:t,map:n,setMap:r,storesList:o,selectedStoreIndex:l,setMarkers:i,markers:a,distance:u,filters:s,coordinates:c,city:d})=>{const m=f.useRef(null),p=rE("AIzaSyBudK7LCeXFcnEjAnaUnKeiWHsy2stDr5Y");return f.useEffect(()=>{(async()=>{const{Map:y}=await p.maps.importLibrary("maps"),x={lat:c==null?void 0:c.latitude,lng:c==null?void 0:c.longitude},v=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#9ca3af"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9ca3af"}]}],h=new y(m.current,{center:x,zoom:11,mapTypeId:"roadmap",mapTypeControl:!0,fullscreenControl:!1,streetViewControl:!0,styles:v}),w=new p.maps.InfoWindow;r(h),t(w),a.forEach(C=>C.setMap(null));const E=new p.maps.LatLngBounds,k=o.map(C=>{const $=new p.maps.LatLng(C.lat,C.lng);E.extend($);const R=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#9ca3af"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9ca3af"}]}],O=new p.maps.Marker({position:$,map:n,icon:{url:"https://s3.amazonaws.com/media.locally.net/original/ml%20masterpiece%20dealer2_2023-03-02-08-39-05.png",scaledSize:new p.maps.Size(60,60),origin:new p.maps.Point(0,0),anchor:new p.maps.Point(20,40)},styles:R});return O.addListener("click",()=>{e.setContent(C.name),e.open(h,O)}),O});i(k),h.fitBounds(E)})()},[p]),S.jsx(S.Fragment,{children:S.jsxs("div",{className:"relative lg:h-[94vh] md:h-[60vh] h-[40vh] xl:w-full ",children:[S.jsx("div",{ref:m,className:"w-full h-full"}),S.jsx("div",{className:"md:absolute bottom-6 right-16 bg-white p-2 shadow-lg rounded text-xs lg:text-[15px] lg:font-normal font-medium",children:S.jsxs("div",{className:"flex gap-3 lg:gap-6",children:[S.jsxs("div",{className:"flex items-center",children:[S.jsx("img",{src:"https://cdn.pmlsound.com/anthem/ml-pin-01-red.png",className:"h-9 w-10"}),S.jsx("span",{children:"Anthem Retailer"}),S.jsx("div",{className:"mb-6",children:S.jsx(bg,{title:"Anthem Retailer",description:"These dealers feature dedicated retail showrooms that showcase Anthem’s premium audio solutions. Many also provide in-house custom installation services to support AV projects in both new construction and renovation environments."})})]}),S.jsxs("div",{className:"flex items-center",children:[S.jsx("img",{src:"https://cdn.pmlsound.com/anthem/ml-pin-03-black.png",className:"h-9 w-10"}),S.jsx("span",{children:"Custom Integrator"}),S.jsx("div",{className:"mb-6",children:S.jsx(bg,{title:"Custom Integrator",description:"These dealers do not operate a physical showroom or maintain regular retail hours, but they specialize in custom installation and are well-equipped to support AV projects for new construction and home renovations. They can assist with selecting and integrating Anthem electronics as part of a complete, performance-driven custom AV solution."})})]})]})})]})})},$L=["Storefront","Custom"],bL=({coordinates:e,city:t})=>{const[n,r]=Q$(),[o,l]=f.useState(null),[i,a]=f.useState(null),[u,s]=f.useState([]),[c,d]=f.useState([]),[m,p]=f.useState(null),[g,y]=f.useState(!1),[x,v]=f.useState(()=>{const b=n.get("series");return b!=null&&b.trim()!==""?b.trim():""}),[h,w]=f.useState(15),[E,k]=f.useState(""),[C,$]=f.useState(null);f.useEffect(()=>{const b=x&&x!==""&&!$L.includes(x),T=new URLSearchParams(n);T.delete("series");const _=T.toString(),F=[b?"series="+encodeURIComponent(x):"",_].filter(
138Boolean).join("&");r(F||"",{replace:!0});const G=window.location.pathname+(F?"?"+F:"");window.history.replaceState(null,"",G)},[x]);const R=b=>{p(b)},O=b=>{$(b),k(b.address)};return S.jsxs("div",{className:"grid lg:grid-cols-12 grid-cols-1",children:[S.jsx("div",{className:"xl:col-span-4 lg:col-span-6 order-last lg:order-first max-h-full",children:S.jsx(kL,{infoWindow:o,setInfoWindow:l,map:i,markers:u,setMarkers:s,onListClick:R,storesList:c,setStoresList:d,filters:g,setFilters:y,selectedFilter:x,setSelectedFilter:v,coordinates:e,city:t,distance:h,setDistance:w,zipcode:E,setZipcode:k,location:C,setLocation:$,handleAddressSelect:O})}),S.jsxs("div",{className:"grid grid-cols-6 md:hidden py-2",children:[S.jsx("div",{className:"col-span-5",children:S.jsx(hw,{zipcode:E,setZipcode:k,onSelectAddress:O})}),S.jsx("div",{className:"col-span-1",children:S.jsx(nE,{filters:g,setFilters:y,selectedFilter:x})})]}),S.jsx("div",{className:"xl:col-span-8 col-span-6",children:S.jsx(CL,{infoWindow:o,setInfoWindow:l,map:i,setMap:a,markers:u,setMarkers:s,storesList:c,selectedStoreIndex:m,filters:g,distance:h,coordinates:e})})]})},Ay=[{name:"North America",href:"/store-locator/"},{name:"Rest of World",href:"/store-locator/rest-of-world"}];function RL({country:e}){const[t,n]=f.useState(!1);return S.jsx("div",{className:"bg-black bg-no-repeat bg-top bg-center",children:S.jsxs("header",{className:"",children:[S.jsxs("nav",{className:"mx-auto flex max-w-7xl items-center lg:justify-between justify-left lg:px-8","aria-label":"Global",children:[S.jsx("div",{className:"flex lg:flex-1 lg:justify-left justify-between lg:pr-10 pr-0 px-6 lg:px-0",children:S.jsx("div",{className:"flex lg:hidden",children:S.jsxs("button",{type:"button",className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-50",onClick:()=>n(!0),children:[S.jsx("span",{className:"sr-only",children:"Open main menu"}),S.jsx("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true",children:S.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})})]})})}),S.jsxs("div",{className:"p-4 ml-6 lg:ml-0",children:[S.jsx("span",{className:"sr-only",children:"Your Company"}),S.jsx("img",{className:"h-6 w-auto",src:"https://cdn11.bigcommerce.com/s-1jr7uauyna/images/stencil/640w/download_1767647472__13630.original.png?compression=lossy",alt:""})]}),S.jsxs("div",{className:"lg:flex flex-1 justify-end gap-6 hidden",children:[Ay.map(r=>S.jsx("a",{href:`${r.href}`,className:"cursor-pointer lg:-mx-3 font-body block px-3 py-2 lg:text-md font-normal leading-7 text-gray-50 hover:text-red-500",children:r.name},r.name)),S.jsx("button",{onClick:()=>window.location.href="https://www.anthemav.com/",className:"cursor-pointer lg:-mx-3 font-body block px-3 py-2 lg:text-md font-normal leading-7 text-gray-50 hover:text-red-500",children:"Return to Anthem"})]})]}),S.jsxs(pg,{as:"div",className:"lg:hidden",open:t,onClose:n,children:[S.jsx("div",{className:"fixed inset-0 z-10"}),S.jsxs(pg.Panel,{className:"fixed inset-y-0 left-0 z-10 w-full overflow-y-auto bg-white px-6",children:[S.jsxs("div",{className:"flex items-center justify-between",children:[S.jsx("div",{className:"flex flex-1",children:S.jsxs("button",{type:"button",className:"-m-2.5 rounded-md p-2.5 text-gray-700",onClick:()=>n(!1),children:[S.jsx("span",{className:"sr-only",children:"Close menu"}),S.jsx("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true",children:S.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})]})}),S.jsxs("a",{href:"#",className:"-m-1.5 p-1.5",children:[S.jsx("span",{className:"sr-only",children:"Your Company"}),S.jsx("img",{className:"h-28 w-auto",src:"https://cdn.pmlsound.com/anthem/avm90/images/anthem-logo-horizontal-wht.svg",alt:""})]}),S.jsx("div",{className:"flex flex-1 justify-end",children:S.jsxs("a",{href:"#",className:"text-sm font-semibold leading-6 text-gray-50",children:["Log in ",S.jsx("span",{"aria-hidden":"true",children:"→"})]})})]}),S.jsxs("div",{className:"mt-6 space-y-2",children:[Ay.map(r=>S.jsx(S.Fragment,{children:S.jsx("a",{href:r.href,className:"-mx-3 block rounded-lg font-logo px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:text-red-500",children:r.name},r.name)})),S.jsx("div",{className:"pt-2",children:S.jsx("button",{onClick:()=>window.location.href="https://www.anthemav.com/",className:"text-base font-semibold leading-7 text-gray-900 hover:text-red-500",children:"Return to Anthem"})})]})]})]})]})})}function PL({storesList:e}){const t=[{region:"Europe",stores:e.filter(n=>n.REGION==="europe"&&n.ANTHEM==="Y"&&n.ENABLED==="1")},{region:"Asia",stores:e.filter(n=>n.REGION==="asia"&&n.ANTHEM==="Y"&&n.ENABLED==="1")},{region:"Latin America",stores:e.filter(n=>n.REGION==="latin_america"&&n.ANTHEM==="Y"&&n.ENABLED==="1")},{region:"Middle East & Africa",stores:e.filter(n=>n.REGION==="middle_east"&&n.ANTHEM==="Y"&&n.ENABLED==="1")},{region:"ROW",stores:e.filter(n=>n.REGION==="row"&&n.ANTHEM==="Y"&&n.ENABLED==="1")}];return S.jsx("div",{className:"flex w-full justify-center pt-20 lg:px-4",children:S.jsx("div",{className:"xl:max-w-[95rem] max-w-7xl mx-auto",children:S.jsx("div",{className:"",children:S.jsxs(Ux,{children:[S.jsx(Vx,{className:"flex lg:gap-4 justify-center pb-6",children:t.map(({region:n})=>S.jsx(rO,{className:"rounded-full uppercase tracking-wide lg:py-1.5 py-0.5 lg:px-6 px-3 lg:text-lg/6 text-sm/6 font-medium text-gray-900 focus:outline-none data-[selected]:bg-gray-900 data-[selected]:text-gray-50 data-[hover]:bg-gray-900/80 data-[hover]:text-gray-50 data-[selected]:data-[hover]:bg-gray-900 data-[focus]:outline-1 data-[focus]:outline-white",children:n},n))}),S.jsx(Wx,{className:"mt-3  flex-1",children:t.map(({region:n,stores:r})=>S.jsx(Gx,{className:"rounded-xl bg-white/5 p-3 ",children:S.jsx("ul",{role:"list",className:"grid grid-cols-1 gap-6 sm:grid-cols-2 xl:grid-cols-3",children:r.map(o=>S.jsxs("li",{className:"col-span-1 divide-y divide-gray-200 rounded-lg bg-gray-100/70 shadow",children:[S.jsxs("div",{className:"flex w-full items-center justify-between space-x-6 p-6",children:[S.jsx("img",{alt:"",src:"https://cdn.pmlsound.com/anthem/anthem-badge.png",className:"size-20 shrink-0 rounded-full"}),S.jsxs("div",{className:"flex-1 break-words",children:[S.jsxs("div",{className:"flex items-center space-x-3",children:[S.jsx("h3",{className:"uppercase break-words lg:text-lg text-md font-medium text-gray-900",children:o.CUST_NAME}),S.jsx("span",{className:"inline-flex shrink-0 items-center px-1.5 py-0.5",children:S.jsx("img",{src:`https://flagsapi.com/${o.COUNTRY_CODE}/shiny/32.png`})})]}),S.jsx("span",{className:"uppercase tracking-widest inline-flex shrink-0 items-center rounded-full bg-gray-50 px-1.5 py-0.5 text-xs font-medium text-gray-700 ring-1 ring-inset ring-gray-600/30",children:o.COUNTRY}),S.jsxs("p",{className:"mt-1.5 truncate text-sm text-gray-500 hover:text-gray-900 flex gap-1",children:[S.jsx(aO,{"aria-hidden":"true",className:"size-5 text-gray-400 mt-0.5"}),S.jsx("a",{href:o.WEBSITE,target:"_blank",rel:"noreferrer",className:"hover:underline mt-0.5 tracking-wide uppercase",children:"Visit Website"})]})]})]}),S.jsx("div",{children:S.jsxs("div",{className:"-mt-px flex divide-x divide-gray-200",children:[S.jsx("div",{className:"flex w-0 flex-1",children:S.jsxs("a",{href:`mailto:${o.EMAIL}`,className:"lowercase relative -mr-px inline-flex w-0 flex-1 items-center justify-center gap-x-1 rounded-bl-lg border border-transparent py-4 text-sm font-normal text-gray-900",children:[S.jsx(lO,{"aria-hidden":"true",className:"size-5 text-gray-400"}),o.EMAIL]})}),S.jsx("div",{className:"-ml-px flex w-0 flex-1",children:S.jsxs("a",{href:`tel:${o.CUST_PHONE}`,className:"relative inline-flex w-0 flex-1 items-center justify-center gap-x-1 rounded-br-lg border border-transparent py-4 text-sm font-normal text-gray-900",children:[S.jsx(fO,{"aria-hidden":"true",className:"size-5 text-gray-400"}),o.CUST_PHONE]})})]})})]},o.ID))})},n))})]})})})})}const TL=({country:e})=>{const[t,n]=f.useState([]);return f.useEffect(()=>{(()=>{fetch("https://pe-dealer-locator-back-657295313151.us-central1.run.app/api/international").then(l=>{if(l.status===200)return l==null?void 0:l.json();throw new Error(l.status)}).then(l=>{if(l.length>0){const i=l.sort((a,u)=>a.COUNTRY<u.COUNTRY?-1:a.COUNTRY>u.COUNTRY?1:0);n(i)}else n([])}).catch(l=>console.error("Error fetching stores:",l))})()},[]),S.jsxs("div",{className:"overflow-scroll h-screen pb-20",children:[S.jsx("h1",{className:"text-center lg:text-5xl text-3xl font-bold text-gray-900 pt-20 tracking-wider up
138percase",children:"Anthem International Distributors List"}),S.jsx(PL,{storesList:t})]})};function OL(){const[e,t]=f.useState({}),[n,r]=f.useState(""),[o,l]=f.useState("");return Kp(),f.useEffect(()=>{fetch("https://backendapi.paradigm.com/api/get_ip",{method:"POST"}).then(a=>a.json()).then(a=>{t(a.coordinates),r(a.city),l(a.location.iso_code)})},[]),S.jsxs("div",{className:"h-screen overflow-hidden lg:overflow-auto",children:[S.jsx(RL,{}),S.jsxs(w$,{children:[S.jsx(dd,{path:"/",element:S.jsx(bL,{coordinates:e,city:n,country:o})}),S.jsx(dd,{path:"/rest-of-world",element:S.jsx(TL,{country:o})})]})]})}const jy="AIzaSyBudK7LCeXFcnEjAnaUnKeiWHsy2stDr5Y";function ML(){const[e,t]=f.useState(!1),[n,r]=f.useState(null);return f.useEffect(()=>{if(window.google&&window.google.maps){console.log("Google Maps API already present."),t(!0);return}console.log("Attempting to load Google Maps script..."),window.googleMapsScriptLoadedCallback=()=>{console.log("Google Maps API script finished loading!"),t(!0)};const o=document.createElement("script");return o.src=`https://maps.googleapis.com/maps/api/js?key=${jy}&callback=googleMapsScriptLoadedCallback&v=3.57`,o.async=!0,o.defer=!0,o.onerror=l=>{const i="Failed to load Google Maps script. Check network or API key restrictions.";console.error(i,l),r(i)},document.head.appendChild(o),()=>{document.head.contains(o)&&document.head.removeChild(o),delete window.googleMapsScriptLoadedCallback}},[jy]),n?S.jsxs("div",{style:{color:"red",padding:"20px",textAlign:"center"},children:[S.jsx("h2",{children:"Application Error"}),S.jsx("p",{children:n}),S.jsx("p",{children:"Please check the console for more details and your Google Maps API key configuration."})]}):e?S.jsx(f.StrictMode,{children:S.jsx(V$,{basename:"/store-locator",children:S.jsx(OL,{})})}):S.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh",fontSize:"24px",color:"#333"},children:"Loading Application... Please wait for map services."})}X1(document.getElementById("root")).render(S.jsx(ML,{}));

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.