PageSourceSearch

https://flagworld.com/assets/index-Dkpwv4fg.js

js flagworld.com collected 2026-10-02 18:29:42 UTC 487,246 bytes, 273 lines download raw bytes

vendor: 6,120 bytes, lines 1-9
1var ip=e=>{throw TypeError(e)};var Zl=(e,t,n)=>t.has(e)||ip("Cannot "+n);var P=(e,t,n)=>(Zl(e,t,"read from private field"),n?n.call(e):t.get(e)),te=(e,t,n)=>t.has(e)?ip("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),W=(e,t,n,r)=>(Zl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ke=(e,t,n)=>(Zl(e,t,"access private method"),n);var Ai=(e,t,n,r)=>({set _(o){W(e,t,o,n)},get _(){return P(e,t,r)}});function Ow(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 s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{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 s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Pm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var km={exports:{}},ol={},Rm={exports:{}},re={};/**
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 yi=Symbol.for("react.element"),Fw=Symbol.for("react.portal"),Mw=Symbol.for("react.fragment"),Dw=Symbol.for("react.strict_mode"),Lw=Symbol.for("react.profiler"),zw=Symbol.for("react.provider"),$w=Symbol.for("react.context"),Uw=Symbol.for("react.forward_ref"),Vw=Symbol.for("react.suspense"),Bw=Symbol.for("react.memo"),Ww=Symbol.for("react.lazy"),ap=Symbol.iterator;function Hw(e){return e===null||typeof e!="object"?null:(e=ap&&e[ap]||e["@@iterator"],typeof e=="function"?e:null)}var Tm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_m=Object.assign,Am={};function ss(e,t,n){this.props=e,this.context=t,this.refs=Am,this.updater=n||Tm}ss.prototype.isReactComponent={};ss.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")};ss.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Im(){}Im.prototype=ss.prototype;function hd(e,t,n){this.props=e,this.context=t,this.refs=Am,this.updater=n||Tm}var md=hd.prototype=new Im;md.constructor=hd;_m(md,ss.prototype);md.isPureReactComponent=!0;var lp=Array.isArray,Om=Object.prototype.hasOwnProperty,gd={current:null},Fm={key:!0,ref:!0,__self:!0,__source:!0};function Mm(e,t,n){var r,o={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)Om.call(t,r)&&!Fm.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var c=Array(a),u=0;u<a;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:yi,type:e,key:s,ref:i,props:o,_owner:gd.current}}function Gw(e,t){return{$$typeof:yi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function vd(e){return typeof e=="object"&&e!==null&&e.$$typeof===yi}function Kw(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var cp=/\/+/g;function Jl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Kw(""+e.key):t.toString(36)}function ia(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case yi:case Fw:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+Jl(i,0):r,lp(o)?(n="",e!=null&&(n=e.replace(cp,"$&/")+"/"),ia(o,t,n,"",function(u){return u})):o!=null&&(vd(o)&&(o=Gw(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(cp,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",lp(e))for(var a=0;a<e.length;a++){s=e[a];var c=r+Jl(s,a);i+=ia(s,t,n,c,o)}else if(c=Hw(e),typeof c=="function")for(e=c.call(e),a=0;!(s=e.next()).done;)s=s.value,c=r+Jl(s,a++),i+=ia(s,t,n,c,o);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Ii(e,t,n){if(e==null)return e;var r=[],o=0;return ia(e,r,"","",function(s){return t.call(n,s,o++)}),r}function Qw(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 ot={current:null},aa={transition:null},qw={ReactCurrentDispatcher:ot,ReactCurrentBatchConfig:aa,ReactCurrentOwner:gd};function Dm(){throw Error("act(...) is not supported in production builds of React.")}re.Children={map:Ii,forEach:function(e,t,n){Ii(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ii(e,function(){t++}),t},toArray:function(e){return Ii(e,function(t){return t})||[]},only:function(e){if(!vd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};re.Component=ss;re.Fragment=Mw;re.Profiler=Lw;re.PureComponent=hd;re.StrictMode=Dw;re.Suspense=Vw;
vendor: 5,038 bytes, lines 9-25
9re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qw;re.act=Dm;re.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=_m({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=gd.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(c in t)Om.call(t,c)&&!Fm.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&a!==void 0?a[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){a=Array(c);for(var u=0;u<c;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:yi,type:e.type,key:o,ref:s,props:r,_owner:i}};re.createContext=function(e){return e={$$typeof:$w,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:zw,_context:e},e.Consumer=e};re.createElement=Mm;re.createFactory=function(e){var t=Mm.bind(null,e);return t.type=e,t};re.createRef=function(){return{current:null}};re.forwardRef=function(e){return{$$typeof:Uw,render:e}};re.isValidElement=vd;re.lazy=function(e){return{$$typeof:Ww,_payload:{_status:-1,_result:e},_init:Qw}};re.memo=function(e,t){return{$$typeof:Bw,type:e,compare:t===void 0?null:t}};re.startTransition=function(e){var t=aa.transition;aa.transition={};try{e()}finally{aa.transition=t}};re.unstable_act=Dm;re.useCallback=function(e,t){return ot.current.useCallback(e,t)};re.useContext=function(e){return ot.current.useContext(e)};re.useDebugValue=function(){};re.useDeferredValue=function(e){return ot.current.useDeferredValue(e)};re.useEffect=function(e,t){return ot.current.useEffect(e,t)};re.useId=function(){return ot.current.useId()};re.useImperativeHandle=function(e,t,n){return ot.current.useImperativeHandle(e,t,n)};re.useInsertionEffect=function(e,t){return ot.current.useInsertionEffect(e,t)};re.useLayoutEffect=function(e,t){return ot.current.useLayoutEffect(e,t)};re.useMemo=function(e,t){return ot.current.useMemo(e,t)};re.useReducer=function(e,t,n){return ot.current.useReducer(e,t,n)};re.useRef=function(e){return ot.current.useRef(e)};re.useState=function(e){return ot.current.useState(e)};re.useSyncExternalStore=function(e,t,n){return ot.current.useSyncExternalStore(e,t,n)};re.useTransition=function(){return ot.current.useTransition()};re.version="18.3.1";Rm.exports=re;var d=Rm.exports;const D=Pm(d),oo=Ow({__proto__:null,default:D},[d]);/**
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 Yw=d,Xw=Symbol.for("react.element"),Zw=Symbol.for("react.fragment"),Jw=Object.prototype.hasOwnProperty,e1=Yw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,t1={key:!0,ref:!0,__self:!0,__source:!0};function Lm(e,t,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)Jw.call(t,r)&&!t1.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:Xw,type:e,key:s,ref:i,props:o,_owner:e1.current}}ol.Fragment=Zw;ol.jsx=Lm;ol.jsxs=Lm;km.exports=ol;var l=km.exports,zm={exports:{}},bt={},$m={exports:{}},Um={};/**
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(T,_){var F=T.length;T.push(_);e:for(;0<F;){var H=F-1>>>1,$=T[H];if(0<o($,_))T[H]=_,T[F]=$,F=H;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var _=T[0],F=T.pop();if(F!==_){T[0]=F;e:for(var H=0,$=T.length,K=$>>>1;H<K;){var Y=2*(H+1)-1,le=T[Y],be=Y+1,oe=T[be];if(0>o(le,F))be<$&&0>o(oe,le)?(T[H]=oe,T[be]=F,H=be):(T[H]=le,T[Y]=F,H=Y);else if(be<$&&0>o(oe,F))T[H]=oe,T[be]=F,H=be;else break e}}return _}function o(T,_){var F=T.sortIndex-_.sortIndex;return F!==0?F:T.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var c=[],u=[],f=1,p=null,m=3,h=!1,w=!1,x=!1,b=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(T){for(var _=n(u);_!==null;){if(_.callback===null)r(u);else if(_.startTime<=T)r(u),_.sortIndex=_.expirationTime,t(c,_);else break;_=n(u)}}function S(T){if(x=!1,v(T),!w)if(n(c)!==null)w=!0,O(C);else{var _=n(u);_!==null&&L(S,_.startTime-T)}}function C(T,_){w=!1,x&&(x=!1,y(j),j=-1),h=!0;var F=m;try{for(v(_),p=n(c);p!==null&&(!(p.expirationTime>_)||T&&!M());
vendor: 9,171 bytes, lines 25-34
25){var H=p.callback;if(typeof H=="function"){p.callback=null,m=p.priorityLevel;var $=H(p.expirationTime<=_);_=e.unstable_now(),typeof $=="function"?p.callback=$:p===n(c)&&r(c),v(_)}else r(c);p=n(c)}if(p!==null)var K=!0;else{var Y=n(u);Y!==null&&L(S,Y.startTime-_),K=!1}return K}finally{p=null,m=F,h=!1}}var E=!1,N=null,j=-1,R=5,k=-1;function M(){return!(e.unstable_now()-k<R)}function A(){if(N!==null){var T=e.unstable_now();k=T;var _=!0;try{_=N(!0,T)}finally{_?z():(E=!1,N=null)}}else E=!1}var z;if(typeof g=="function")z=function(){g(A)};else if(typeof MessageChannel<"u"){var V=new MessageChannel,X=V.port2;V.port1.onmessage=A,z=function(){X.postMessage(null)}}else z=function(){b(A,0)};function O(T){N=T,E||(E=!0,z())}function L(T,_){j=b(function(){T(e.unstable_now())},_)}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(T){T.callback=null},e.unstable_continueExecution=function(){w||h||(w=!0,O(C))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(T){switch(m){case 1:case 2:case 3:var _=3;break;default:_=m}var F=m;m=_;try{return T()}finally{m=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,_){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var F=m;m=T;try{return _()}finally{m=F}},e.unstable_scheduleCallback=function(T,_,F){var H=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?H+F:H):F=H,T){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=F+$,T={id:f++,callback:_,priorityLevel:T,startTime:F,expirationTime:$,sortIndex:-1},F>H?(T.sortIndex=F,t(u,T),n(c)===null&&T===n(u)&&(x?(y(j),j=-1):x=!0,L(S,F-H))):(T.sortIndex=$,t(c,T),w||h||(w=!0,O(C))),T},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(T){var _=m;return function(){var F=m;m=_;try{return T.apply(this,arguments)}finally{m=F}}}})(Um);$m.exports=Um;var n1=$m.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 r1=d,wt=n1;function I(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 Vm=new Set,Bs={};function so(e,t){Yo(e,t),Yo(e+"Capture",t)}function Yo(e,t){for(Bs[e]=t,e=0;e<t.length;e++)Vm.add(t[e])}var An=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Uc=Object.prototype.hasOwnProperty,o1=/^[: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]*$/,up={},dp={};function s1(e){return Uc.call(dp,e)?!0:Uc.call(up,e)?!1:o1.test(e)?dp[e]=!0:(up[e]=!0,!1)}function i1(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 a1(e,t,n,r){if(t===null||typeof t>"u"||i1(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 st(e,t,n,r,o,s,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=s,this.removeEmptyString=i}var Ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ge[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];Ge[t]=new st(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ge[e]=new st(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ge[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 playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ge[e]=new st(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ge[e]=new st(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ge[e]=new st(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ge[e]=new st(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ge[e]=new st(e,5,!1,e.toLowerCase(),null,!1,!1)});var yd=/[\-:]([a-z])/g;function xd(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(yd,xd);Ge[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(yd,xd);Ge[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(yd,xd);Ge[t]=new st(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ge[e]=new st(e,1,!1,e.toLowerCase(),null,!1,!1)});Ge.xlinkHref=new st("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ge[e]=new st(e,1,!1,e.toLowerCase(),null,!0,!0)});function wd(e,t,n,r){var o=Ge.hasOwnProperty(t)?Ge[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(a1(t,n,o,r)&&(n=null),r||o===null?s1(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 zn=r1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Oi=Symbol.for("react.element"),wo=Symbol.for("react.portal"),bo=Symbol.for("react.fragment"),bd=Symbol.for("react.strict_mode"),Vc=Symbol.for("react.profiler"),Bm=Symbol.for("react.provider"),Wm=Symbol.for("react.context"),Sd=Symbol.for("react.forward_ref"),Bc=Symbol.for("react.suspense"),Wc=Symbol.for("react.suspense_list"),Cd=Symbol.for("react.memo"),Yn=Symbol.for("react.lazy"),Hm=Symbol.for("react.offscreen"),fp=Symbol.iterator;function ms(e){return e===null||typeof e!="object"?null:(e=fp&&e[fp]||e["@@iterator"],typeof e=="function"?e:null)}var ke=Object.assign,ec;function Ns(e){if(ec===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ec=t&&t[1]||""}return`
34`+ec+e}var tc=!1;function nc(e,t){if(!e||tc)return"";tc=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 5,039 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),s=r.stack.split(`
36`),i=o.length-1,a=s.length-1;1<=i&&0<=a&&o[i]!==s[a];)a--;for(;1<=i&&0<=a;i--,a--)if(o[i]!==s[a]){if(i!==1||a!==1)do if(i--,a--,0>a||o[i]!==s[a]){var c=`
37`+o[i].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=i&&0<=a);break}}}finally{tc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ns(e):""}function l1(e){switch(e.tag){case 5:return Ns(e.type);case 16:return Ns("Lazy");case 13:return Ns("Suspense");case 19:return Ns("SuspenseList");case 0:case 2:case 15:return e=nc(e.type,!1),e;case 11:return e=nc(e.type.render,!1),e;case 1:return e=nc(e.type,!0),e;default:return""}}function Hc(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 bo:return"Fragment";case wo:return"Portal";case Vc:return"Profiler";case bd:return"StrictMode";case Bc:return"Suspense";case Wc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Wm:return(e.displayName||"Context")+".Consumer";case Bm:return(e._context.displayName||"Context")+".Provider";case Sd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Cd:return t=e.displayName||null,t!==null?t:Hc(e.type)||"Memo";case Yn:t=e._payload,e=e._init;try{return Hc(e(t))}catch{}}return null}function c1(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 Hc(t);case 8:return t===bd?"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 xr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Gm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function u1(e){var t=Gm(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,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.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 Fi(e){e._valueTracker||(e._valueTracker=u1(e))}function Km(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Gm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Na(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 Gc(e,t){var n=t.checked;return ke({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function pp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=xr(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 Qm(e,t){t=t.checked,t!=null&&wd(e,"checked",t,!1)}function Kc(e,t){Qm(e,t);var n=xr(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")?Qc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Qc(e,t.type,xr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hp(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 Qc(e,t,n){(t!=="number"||Na(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var js=Array.isArray;function Ao(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)}
vendor: 11,698 bytes, line 37
37else{for(n=""+xr(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 qc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(I(91));return ke({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function mp(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(I(92));if(js(n)){if(1<n.length)throw Error(I(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:xr(n)}}function qm(e,t){var n=xr(t.value),r=xr(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 gp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ym(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 Yc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ym(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Mi,Xm=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(Mi=Mi||document.createElement("div"),Mi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Mi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ws(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var _s={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},d1=["Webkit","ms","Moz","O"];Object.keys(_s).forEach(function(e){d1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),_s[t]=_s[e]})});function Zm(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||_s.hasOwnProperty(e)&&_s[e]?(""+t).trim():t+"px"}function Jm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Zm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var f1=ke({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 Xc(e,t){if(t){if(f1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function Zc(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 Jc=null;function Ed(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var eu=null,Io=null,Oo=null;function vp(e){if(e=bi(e)){if(typeof eu!="function")throw Error(I(280));var t=e.stateNode;t&&(t=cl(t),eu(e.stateNode,e.type,t))}}function eg(e){Io?Oo?Oo.push(e):Oo=[e]:Io=e}function tg(){if(Io){var e=Io,t=Oo;if(Oo=Io=null,vp(e),t)for(e=0;e<t.length;e++)vp(t[e])}}function ng(e,t){return e(t)}function rg(){}var rc=!1;function og(e,t,n){if(rc)return e(t,n);rc=!0;try{return ng(e,t,n)}finally{rc=!1,(Io!==null||Oo!==null)&&(rg(),tg())}}function Hs(e,t){var n=e.stateNode;if(n===null)return null;var r=cl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(I(231,t,typeof n));return n}var tu=!1;if(An)try{var gs={};Object.defineProperty(gs,"passive",{get:function(){tu=!0}}),window.addEventListener("test",gs,gs),window.removeEventListener("test",gs,gs)}catch{tu=!1}function p1(e,t,n,r,o,s,i,a,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(f){this.onError(f)}}var As=!1,ja=null,Pa=!1,nu=null,h1={onError:function(e){As=!0,ja=e}};function m1(e,t,n,r,o,s,i,a,c){As=!1,ja=null,p1.apply(h1,arguments)}function g1(e,t,n,r,o,s,i,a,c){if(m1.apply(this,arguments),As){if(As){var u=ja;As=!1,ja=null}else throw Error(I(198));Pa||(Pa=!0,nu=u)}}function io(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 sg(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 yp(e){if(io(e)!==e)throw Error(I(188))}function v1(e){var t=e.alternate;if(!t){if(t=io(e),t===null)throw Error(I(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return yp(o),e;if(s===r)return yp(o),t;s=s.sibling}throw Error(I(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,a=o.child;a;){if(a===n){i=!0,n=o,r=s;break}if(a===r){i=!0,r=o,n=s;break}a=a.sibling}if(!i){for(a=s.child;a;){if(a===n){i=!0,n=s,r=o;break}if(a===r){i=!0,r=s,n=o;break}a=a.sibling}if(!i)throw Error(I(189))}}if(n.alternate!==r)throw Error(I(190))}if(n.tag!==3)throw Error(I(188));return n.stateNode.current===n?e:t}function ig(e){return e=v1(e),e!==null?ag(e):null}function ag(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ag(e);if(t!==null)return t;e=e.sibling}return null}var lg=wt.unstable_scheduleCallback,xp=wt.unstable_cancelCallback,y1=wt.unstable_shouldYield,x1=wt.unstable_requestPaint,Ae=wt.unstable_now,w1=wt.unstable_getCurrentPriorityLevel,Nd=wt.unstable_ImmediatePriority,cg=wt.unstable_UserBlockingPriority,ka=wt.unstable_NormalPriority,b1=wt.unstable_LowPriority,ug=wt.unstable_IdlePriority,sl=null,fn=null;function S1(e){if(fn&&typeof fn.onCommitFiberRoot=="function")try{fn.onCommitFiberRoot(sl,e,void 0,(e.current.flags&128)===128)}catch{}}var Yt=Math.clz32?Math.clz32:N1,C1=Math.log,E1=Math.LN2;function N1(e){return e>>>=0,e===0?32:31-(C1(e)/E1|0)|0}var Di=64,Li=4194304;function Ps(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 Ra(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~o;a!==0?r=Ps(a):(s&=i,s!==0&&(r=Ps(s)))}else i=n&~o,i!==0?r=Ps(i):s!==0&&(r=Ps(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Yt(t),o=1<<n,r|=e[n],t&=~o;return r}function j1(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 P1(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-Yt(s),a=1<<i,c=o[i];c===-1?(!(a&n)||a&r)&&(o[i]=j1(a,t)):c<=t&&(e.expiredLanes|=a),s&=~a}}function ru(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function dg(){var e=Di;return Di<<=1,!(Di&4194240)&&(Di=64),e}function oc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function xi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Yt(t),e[t]=n}function k1(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-Yt(n),s=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~s}}function jd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Yt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var fe=0;function fg(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var pg,Pd,hg,mg,gg,ou=!1,zi=[],cr=null,ur=null,dr=null,Gs=new Map,Ks=new Map,Zn=[],R1="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 wp(e,t){switch(e){case"focusin":case"focusout":cr=null;break;case"dragenter":case"dragleave":ur=null;break;case"mouseover":case"mouseout":dr=null;break;case"pointerover":case"pointerout":Gs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ks.delete(t.pointerId)}}function vs(e,t,n,r,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[o]},t!==null&&(t=bi(t),t!==null&&Pd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function T1(e,t,n,r,o){switch(t){case"focusin":return cr=vs(cr,e,t,n,r,o),!0;case"dragenter":return ur=vs(ur,e,t,n,r,o),!0;case"mouseover":return dr=vs(dr,e,t,n,r,o),!0;case"pointerover":var s=o.pointerId;return Gs.set(s,vs(Gs.get(s)||null,e,t,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,Ks.set(s,vs(Ks.get(s)||null,e,t,n,r,o)),!0}return!1}function vg(e){var t=Dr(e.target);if(t!==null){var n=io(t);if(n!==null){if(t=n.tag,t===13){if(t=sg(n),t!==null){e.blockedOn=t,gg(e.priority,function(){hg(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 la(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=su(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Jc=r,n.target.dispatchEvent(r),Jc=null}else return t=bi(n),t!==null&&Pd(t),e.blockedOn=n,!1;t.shift()}return!0}function bp(e,t,n){la(e)&&n.delete(t)}function _1(){ou=!1,cr!==null&&la(cr)&&(cr=null),ur!==null&&la(ur)&&(ur=null),dr!==null&&la(dr)&&(dr=null),Gs.forEac
vendor: 11,841 bytes, line 37
37h(bp),Ks.forEach(bp)}function ys(e,t){e.blockedOn===t&&(e.blockedOn=null,ou||(ou=!0,wt.unstable_scheduleCallback(wt.unstable_NormalPriority,_1)))}function Qs(e){function t(o){return ys(o,e)}if(0<zi.length){ys(zi[0],e);for(var n=1;n<zi.length;n++){var r=zi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(cr!==null&&ys(cr,e),ur!==null&&ys(ur,e),dr!==null&&ys(dr,e),Gs.forEach(t),Ks.forEach(t),n=0;n<Zn.length;n++)r=Zn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Zn.length&&(n=Zn[0],n.blockedOn===null);)vg(n),n.blockedOn===null&&Zn.shift()}var Fo=zn.ReactCurrentBatchConfig,Ta=!0;function A1(e,t,n,r){var o=fe,s=Fo.transition;Fo.transition=null;try{fe=1,kd(e,t,n,r)}finally{fe=o,Fo.transition=s}}function I1(e,t,n,r){var o=fe,s=Fo.transition;Fo.transition=null;try{fe=4,kd(e,t,n,r)}finally{fe=o,Fo.transition=s}}function kd(e,t,n,r){if(Ta){var o=su(e,t,n,r);if(o===null)hc(e,t,r,_a,n),wp(e,r);else if(T1(o,e,t,n,r))r.stopPropagation();else if(wp(e,r),t&4&&-1<R1.indexOf(e)){for(;o!==null;){var s=bi(o);if(s!==null&&pg(s),s=su(e,t,n,r),s===null&&hc(e,t,r,_a,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else hc(e,t,r,null,n)}}var _a=null;function su(e,t,n,r){if(_a=null,e=Ed(r),e=Dr(e),e!==null)if(t=io(e),t===null)e=null;else if(n=t.tag,n===13){if(e=sg(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 _a=e,null}function yg(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(w1()){case Nd:return 1;case cg:return 4;case ka:case b1:return 16;case ug:return 536870912;default:return 16}default:return 16}}var ir=null,Rd=null,ca=null;function xg(){if(ca)return ca;var e,t=Rd,n=t.length,r,o="value"in ir?ir.value:ir.textContent,s=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[s-r];r++);return ca=o.slice(e,1<r?1-r:void 0)}function ua(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 $i(){return!0}function Sp(){return!1}function St(e){function t(n,r,o,s,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?$i:Sp,this.isPropagationStopped=Sp,this}return ke(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=$i)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=$i)},persist:function(){},isPersistent:$i}),t}var is={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Td=St(is),wi=ke({},is,{view:0,detail:0}),O1=St(wi),sc,ic,xs,il=ke({},wi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_d,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==xs&&(xs&&e.type==="mousemove"?(sc=e.screenX-xs.screenX,ic=e.screenY-xs.screenY):ic=sc=0,xs=e),sc)},movementY:function(e){return"movementY"in e?e.movementY:ic}}),Cp=St(il),F1=ke({},il,{dataTransfer:0}),M1=St(F1),D1=ke({},wi,{relatedTarget:0}),ac=St(D1),L1=ke({},is,{animationName:0,elapsedTime:0,pseudoElement:0}),z1=St(L1),$1=ke({},is,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),U1=St($1),V1=ke({},is,{data:0}),Ep=St(V1),B1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},W1={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"},H1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function G1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=H1[e])?!!t[e]:!1}function _d(){return G1}var K1=ke({},wi,{key:function(e){if(e.key){var t=B1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ua(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?W1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_d,charCode:function(e){return e.type==="keypress"?ua(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ua(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Q1=St(K1),q1=ke({},il,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Np=St(q1),Y1=ke({},wi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_d}),X1=St(Y1),Z1=ke({},is,{propertyName:0,elapsedTime:0,pseudoElement:0}),J1=St(Z1),eb=ke({},il,{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}),tb=St(eb),nb=[9,13,27,32],Ad=An&&"CompositionEvent"in window,Is=null;An&&"documentMode"in document&&(Is=document.documentMode);var rb=An&&"TextEvent"in window&&!Is,wg=An&&(!Ad||Is&&8<Is&&11>=Is),jp=" ",Pp=!1;function bg(e,t){switch(e){case"keyup":return nb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var So=!1;function ob(e,t){switch(e){case"compositionend":return Sg(t);case"keypress":return t.which!==32?null:(Pp=!0,jp);case"textInput":return e=t.data,e===jp&&Pp?null:e;default:return null}}function sb(e,t){if(So)return e==="compositionend"||!Ad&&bg(e,t)?(e=xg(),ca=Rd=ir=null,So=!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 wg&&t.locale!=="ko"?null:t.data;default:return null}}var ib={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 kp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ib[e.type]:t==="textarea"}function Cg(e,t,n,r){eg(r),t=Aa(t,"onChange"),0<t.length&&(n=new Td("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Os=null,qs=null;function ab(e){Og(e,0)}function al(e){var t=No(e);if(Km(t))return e}function lb(e,t){if(e==="change")return t}var Eg=!1;if(An){var lc;if(An){var cc="oninput"in document;if(!cc){var Rp=document.createElement("div");Rp.setAttribute("oninput","return;"),cc=typeof Rp.oninput=="function"}lc=cc}else lc=!1;Eg=lc&&(!document.documentMode||9<document.documentMode)}function Tp(){Os&&(Os.detachEvent("onpropertychange",Ng),qs=Os=null)}function Ng(e){if(e.propertyName==="value"&&al(qs)){var t=[];Cg(t,qs,e,Ed(e)),og(ab,t)}}function cb(e,t,n){e==="focusin"?(Tp(),Os=t,qs=n,Os.attachEvent("onpropertychange",Ng)):e==="focusout"&&Tp()}function ub(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return al(qs)}function db(e,t){if(e==="click")return al(t)}function fb(e,t){if(e==="input"||e==="change")return al(t)}function pb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Zt=typeof Object.is=="function"?Object.is:pb;function Ys(e,t){if(Zt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Uc.call(t,o)||!Zt(e[o],t[o]))return!1}return!0}function _p(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ap(e,t){var n=_p(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=_p(n)}}function jg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?jg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Pg(){for(var e=window,t=Na();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Na(e.document)}return t}function Id(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 hb(e){var t=Pg(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&jg(n.ownerDocument.documentElement,n)){if(r!==null&&Id(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,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=Ap(n,s);var i=Ap(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(),s>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 mb=An&&"documentMode"in document&&11>=document.documentMode,Co=null,iu=null,Fs=null,au=!1;function Ip(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;au||Co==null||Co!==Na(r)||(r=Co,"selectionStart"in r&&Id(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}),Fs&&Ys(Fs,r)||(Fs=r,r=Aa(iu,"onSelect"),0<r.length&&(t=new Td("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Co)))}function Ui(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Eo={animationend:Ui("Animation","AnimationEnd"),animationiteration:Ui("Animation","AnimationIteration"),animationstart:Ui("Animation","AnimationStart"),transitionend:Ui("Transition","TransitionEnd")},uc={},kg={};An&&(kg=document.createElement("div").style,"AnimationEvent"in window||(delete Eo.animationend.animation,delete Eo.animationiteration.animation,delete Eo.animationstart.animation),"TransitionEvent"in window||delete Eo.transitionend.transition);function ll(e){if(uc[e])return uc[e];if(!Eo[e])return e;var t=Eo[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in kg)return uc[e]=t[n];return e}var Rg=ll("animationend"),Tg=ll("animationiteration"),_g=ll("animationstart"),Ag=ll("transitionend"),Ig=new Map,Op="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 Cr(e,t){Ig.set(e,t),so(t,[e])}for(var dc=0;dc<Op.length;dc++){var fc=Op[dc],gb=fc.toLowerCase(),vb=fc[0].toUpperCase()+fc.slice(1);Cr(gb,"on"+vb)}Cr(Rg,"onAnimationEnd");Cr(Tg,"onAnimationIteration");Cr(_g,"onAnimationStart");Cr("dblclick","onDoubleClick");Cr("focusin","onFocus");Cr("focusout","onBlur");Cr(Ag,"onTransitionEnd");Yo("onMouseEnter",["mouseout","mouseover"]);Yo("onMouseLeave",["mouseout","mouseover"]);Yo("onPointerEnter",["pointerout","pointerover"]);Yo("onPointerLeave",["pointerout","pointerover"]);so("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));so("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));so("onBeforeInput",["compositionend","keypress","textInput","paste"]);so("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));so("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));so("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ks="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(" "),yb=new Set("cancel close invalid load scroll toggle".split(" ").concat(ks));function Fp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,g1(r,t,void 0,e),e.currentTarget=null}function Og(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 s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var a=r[i],c=a.instance,u=a.currentTarget;if(a=a.listener,c!==s&&o.isPropagationStopped())break e;Fp(o,a,u),s=c}else for(i=0;i<r.length;i++){if(a=r[i],c=a.instance,u=a.currentTarget,a=a.listener,c!==s&&o.isPropagationStopped())break e;Fp(o,a,u),s=c}}}if(Pa)throw e=nu,Pa=!1,nu=null,e}function ye(e,t){var n=t[fu];n===void 0&&(n=t[fu]=new Set);var r=e+"__bubble";n.has(r)||(Fg(t,e,2,!1),n.add(r))}function pc(e,t,n){var r=0;t&&(r|=4),Fg(n,e,r,t)}var Vi="_reactListening"+Math.random().toString(36).slice(2);function Xs(e){if(!e[Vi]){e[Vi]=!0,Vm.forEach(function(n){n!=="selectionchange"&&(yb.has(n)||pc(n,!1,e),pc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Vi]||(t[Vi]=!0,pc("selectionchange",!1,t))}}function Fg(e,t,n,r){switch(yg(t)){case 1:var o=A1;break;case 4:o=I1;break;default:o=kd}n=o.bind(null,t,n,e),o=void 0,!tu||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 hc(e,t,n,r,o){var s=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: 3,662 bytes, line 37
37if(a===o||a.nodeType===8&&a.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var c=i.tag;if((c===3||c===4)&&(c=i.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;i=i.return}for(;a!==null;){if(i=Dr(a),i===null)return;if(c=i.tag,c===5||c===6){r=s=i;continue e}a=a.parentNode}}r=r.return}og(function(){var u=s,f=Ed(n),p=[];e:{var m=Ig.get(e);if(m!==void 0){var h=Td,w=e;switch(e){case"keypress":if(ua(n)===0)break e;case"keydown":case"keyup":h=Q1;break;case"focusin":w="focus",h=ac;break;case"focusout":w="blur",h=ac;break;case"beforeblur":case"afterblur":h=ac;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=Cp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=M1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=X1;break;case Rg:case Tg:case _g:h=z1;break;case Ag:h=J1;break;case"scroll":h=O1;break;case"wheel":h=tb;break;case"copy":case"cut":case"paste":h=U1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Np}var x=(t&4)!==0,b=!x&&e==="scroll",y=x?m!==null?m+"Capture":null:m;x=[];for(var g=u,v;g!==null;){v=g;var S=v.stateNode;if(v.tag===5&&S!==null&&(v=S,y!==null&&(S=Hs(g,y),S!=null&&x.push(Zs(g,S,v)))),b)break;g=g.return}0<x.length&&(m=new h(m,w,null,n,f),p.push({event:m,listeners:x}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",m&&n!==Jc&&(w=n.relatedTarget||n.fromElement)&&(Dr(w)||w[In]))break e;if((h||m)&&(m=f.window===f?f:(m=f.ownerDocument)?m.defaultView||m.parentWindow:window,h?(w=n.relatedTarget||n.toElement,h=u,w=w?Dr(w):null,w!==null&&(b=io(w),w!==b||w.tag!==5&&w.tag!==6)&&(w=null)):(h=null,w=u),h!==w)){if(x=Cp,S="onMouseLeave",y="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(x=Np,S="onPointerLeave",y="onPointerEnter",g="pointer"),b=h==null?m:No(h),v=w==null?m:No(w),m=new x(S,g+"leave",h,n,f),m.target=b,m.relatedTarget=v,S=null,Dr(f)===u&&(x=new x(y,g+"enter",w,n,f),x.target=v,x.relatedTarget=b,S=x),b=S,h&&w)t:{for(x=h,y=w,g=0,v=x;v;v=mo(v))g++;for(v=0,S=y;S;S=mo(S))v++;for(;0<g-v;)x=mo(x),g--;for(;0<v-g;)y=mo(y),v--;for(;g--;){if(x===y||y!==null&&x===y.alternate)break t;x=mo(x),y=mo(y)}x=null}else x=null;h!==null&&Mp(p,m,h,x,!1),w!==null&&b!==null&&Mp(p,b,w,x,!0)}}e:{if(m=u?No(u):window,h=m.nodeName&&m.nodeName.toLowerCase(),h==="select"||h==="input"&&m.type==="file")var C=lb;else if(kp(m))if(Eg)C=fb;else{C=ub;var E=cb}else(h=m.nodeName)&&h.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(C=db);if(C&&(C=C(e,u))){Cg(p,C,n,f);break e}E&&E(e,m,u),e==="focusout"&&(E=m._wrapperState)&&E.controlled&&m.type==="number"&&Qc(m,"number",m.value)}switch(E=u?No(u):window,e){case"focusin":(kp(E)||E.contentEditable==="true")&&(Co=E,iu=u,Fs=null);break;case"focusout":Fs=iu=Co=null;break;case"mousedown":au=!0;break;case"contextmenu":case"mouseup":case"dragend":au=!1,Ip(p,n,f);break;case"selectionchange":if(mb)break;case"keydown":case"keyup":Ip(p,n,f)}var N;if(Ad)e:{switch(e){case"compositionstart":var j="onCompositionStart";break e;case"compositionend":j="onCompositionEnd";break e;case"compositionupdate":j="onCompositionUpdate";break e}j=void 0}else So?bg(e,n)&&(j="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(j="onCompositionStart");j&&(wg&&n.locale!=="ko"&&(So||j!=="onCompositionStart"?j==="onCompositionEnd"&&So&&(N=xg()):(ir=f,Rd="value"in ir?ir.value:ir.textContent,S
vendor: 6,447 bytes, lines 37-38
37o=!0)),E=Aa(u,j),0<E.length&&(j=new Ep(j,e,null,n,f),p.push({event:j,listeners:E}),N?j.data=N:(N=Sg(n),N!==null&&(j.data=N)))),(N=rb?ob(e,n):sb(e,n))&&(u=Aa(u,"onBeforeInput"),0<u.length&&(f=new Ep("onBeforeInput","beforeinput",null,n,f),p.push({event:f,listeners:u}),f.data=N))}Og(p,t)})}function Zs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Aa(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=Hs(e,n),s!=null&&r.unshift(Zs(e,s,o)),s=Hs(e,t),s!=null&&r.push(Zs(e,s,o))),e=e.return}return r}function mo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Mp(e,t,n,r,o){for(var s=t._reactName,i=[];n!==null&&n!==r;){var a=n,c=a.alternate,u=a.stateNode;if(c!==null&&c===r)break;a.tag===5&&u!==null&&(a=u,o?(c=Hs(n,s),c!=null&&i.unshift(Zs(n,c,a))):o||(c=Hs(n,s),c!=null&&i.push(Zs(n,c,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var xb=/\r\n?/g,wb=/\u0000|\uFFFD/g;function Dp(e){return(typeof e=="string"?e:""+e).replace(xb,`
38`).replace(wb,"")}function Bi(e,t,n){if(t=Dp(t),Dp(e)!==t&&n)throw Error(I(425))}function Ia(){}var lu=null,cu=null;function uu(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 du=typeof setTimeout=="function"?setTimeout:void 0,bb=typeof clearTimeout=="function"?clearTimeout:void 0,Lp=typeof Promise=="function"?Promise:void 0,Sb=typeof queueMicrotask=="function"?queueMicrotask:typeof Lp<"u"?function(e){return Lp.resolve(null).then(e).catch(Cb)}:du;function Cb(e){setTimeout(function(){throw e})}function mc(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),Qs(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Qs(t)}function fr(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 zp(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 as=Math.random().toString(36).slice(2),cn="__reactFiber$"+as,Js="__reactProps$"+as,In="__reactContainer$"+as,fu="__reactEvents$"+as,Eb="__reactListeners$"+as,Nb="__reactHandles$"+as;function Dr(e){var t=e[cn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[In]||n[cn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=zp(e);e!==null;){if(n=e[cn])return n;e=zp(e)}return t}e=n,n=e.parentNode}return null}function bi(e){return e=e[cn]||e[In],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function No(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(I(33))}function cl(e){return e[Js]||null}var pu=[],jo=-1;function Er(e){return{current:e}}function xe(e){0>jo||(e.current=pu[jo],pu[jo]=null,jo--)}function ge(e,t){jo++,pu[jo]=e.current,e.current=t}var wr={},Je=Er(wr),ut=Er(!1),Qr=wr;function Xo(e,t){var n=e.type.contextTypes;if(!n)return wr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function dt(e){return e=e.childContextTypes,e!=null}function Oa(){xe(ut),xe(Je)}function $p(e,t,n){if(Je.current!==wr)throw Error(I(168));ge(Je,t),ge(ut,n)}function Mg(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(I(108,c1(e)||"Unknown",o));return ke({},n,r)}function Fa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wr,Qr=Je.current,ge(Je,e),ge(ut,ut.current),!0}function Up(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=Mg(e,t,Qr),r.__reactInternalMemoizedMergedChildContext=e,xe(ut),xe(Je),ge(Je,e)):xe(ut),ge(ut,n)}var Cn=null,ul=!1,gc=!1;function Dg(e){Cn===null?Cn=[e]:Cn.push(e)}function jb(e){ul=!0,Dg(e)}function Nr(){if(!gc&&Cn!==null){gc=!0;var e=0,t=fe;try{var n=Cn;for(fe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Cn=null,ul=!1}catch(o){throw Cn!==null&&(Cn=Cn.slice(e+1)),lg(Nd,Nr),o}finally{fe=t,gc=!1}}return null}var Po=[],ko=0,Ma=null,Da=0,Tt=[],_t=0,qr=null,Nn=1,jn="";function Fr(e,t){Po[ko++]=Da,Po[ko++]=Ma,Ma=e,Da=t}function Lg(e,t,n){Tt[_t++]=Nn,Tt[_t++]=jn,Tt[_t++]=qr,qr=e;var r=Nn;e=jn;var o=32-Yt(r)-1;r&=~(1<<o),n+=1;var s=32-Yt(t)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Nn=1<<32-Yt(t)+o|n<<o|r,jn=s+e}else Nn=1<<s|n<<o|r,jn=e}function Od(e){e.return!==null&&(Fr(e,1),Lg(e,1,0))}function Fd(e){for(;e===Ma;)Ma=Po[--ko],Po[ko]=null,Da=Po[--ko],Po[ko]=null;for(;e===qr;)qr=Tt[--_t],Tt[_t]=null,jn=Tt[--_t],Tt[_t]=null,Nn=Tt[--_t],Tt[_t]=null}var yt=null,vt=null,Ce=!1,qt=null;function zg(e,t){var n=It(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 Vp(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,yt=e,vt=fr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,yt=e,vt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=qr!==null?{id:Nn,overflow:jn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=It(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,yt=e,vt=null,!0):!1;default:return!1}}function hu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function mu(e){if(Ce){var t=vt;if(t){var n=t;if(!Vp(e,t)){if(hu(e))throw Error(I(418));t=fr(n.nextSibling);var r=yt;t&&Vp(e,t)?zg(r,n):(e.flags=e.flags&-4097|2,Ce=!1,yt=e)}}else{if(hu(e))throw Error(I(418));e.flags=e.flags&-4097|2,Ce=!1,yt=e}}}function Bp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;yt=e}function Wi(e){if(e!==yt)return!1;if(!Ce)return Bp(e),Ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!uu(e.type,e.memoizedProps)),t&&(t=vt)){if(hu(e))throw $g(),Error(I(418));for(;t;)zg(e,t),t=fr(t.nextSibling)}if(Bp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(317)
vendor: 22,620 bytes, lines 38-40
38);e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){vt=fr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}vt=null}}else vt=yt?fr(e.stateNode.nextSibling):null;return!0}function $g(){for(var e=vt;e;)e=fr(e.nextSibling)}function Zo(){vt=yt=null,Ce=!1}function Md(e){qt===null?qt=[e]:qt.push(e)}var Pb=zn.ReactCurrentBatchConfig;function ws(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(I(309));var r=n.stateNode}if(!r)throw Error(I(147,e));var o=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var a=o.refs;i===null?delete a[s]:a[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(I(284));if(!n._owner)throw Error(I(290,e))}return e}function Hi(e,t){throw e=Object.prototype.toString.call(t),Error(I(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Wp(e){var t=e._init;return t(e._payload)}function Ug(e){function t(y,g){if(e){var v=y.deletions;v===null?(y.deletions=[g],y.flags|=16):v.push(g)}}function n(y,g){if(!e)return null;for(;g!==null;)t(y,g),g=g.sibling;return null}function r(y,g){for(y=new Map;g!==null;)g.key!==null?y.set(g.key,g):y.set(g.index,g),g=g.sibling;return y}function o(y,g){return y=gr(y,g),y.index=0,y.sibling=null,y}function s(y,g,v){return y.index=v,e?(v=y.alternate,v!==null?(v=v.index,v<g?(y.flags|=2,g):v):(y.flags|=2,g)):(y.flags|=1048576,g)}function i(y){return e&&y.alternate===null&&(y.flags|=2),y}function a(y,g,v,S){return g===null||g.tag!==6?(g=Cc(v,y.mode,S),g.return=y,g):(g=o(g,v),g.return=y,g)}function c(y,g,v,S){var C=v.type;return C===bo?f(y,g,v.props.children,S,v.key):g!==null&&(g.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Yn&&Wp(C)===g.type)?(S=o(g,v.props),S.ref=ws(y,g,v),S.return=y,S):(S=va(v.type,v.key,v.props,null,y.mode,S),S.ref=ws(y,g,v),S.return=y,S)}function u(y,g,v,S){return g===null||g.tag!==4||g.stateNode.containerInfo!==v.containerInfo||g.stateNode.implementation!==v.implementation?(g=Ec(v,y.mode,S),g.return=y,g):(g=o(g,v.children||[]),g.return=y,g)}function f(y,g,v,S,C){return g===null||g.tag!==7?(g=Kr(v,y.mode,S,C),g.return=y,g):(g=o(g,v),g.return=y,g)}function p(y,g,v){if(typeof g=="string"&&g!==""||typeof g=="number")return g=Cc(""+g,y.mode,v),g.return=y,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Oi:return v=va(g.type,g.key,g.props,null,y.mode,v),v.ref=ws(y,null,g),v.return=y,v;case wo:return g=Ec(g,y.mode,v),g.return=y,g;case Yn:var S=g._init;return p(y,S(g._payload),v)}if(js(g)||ms(g))return g=Kr(g,y.mode,v,null),g.return=y,g;Hi(y,g)}return null}function m(y,g,v,S){var C=g!==null?g.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:a(y,g,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Oi:return v.key===C?c(y,g,v,S):null;case wo:return v.key===C?u(y,g,v,S):null;case Yn:return C=v._init,m(y,g,C(v._payload),S)}if(js(v)||ms(v))return C!==null?null:f(y,g,v,S,null);Hi(y,v)}return null}function h(y,g,v,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return y=y.get(v)||null,a(g,y,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Oi:return y=y.get(S.key===null?v:S.key)||null,c(g,y,S,C);case wo:return y=y.get(S.key===null?v:S.key)||null,u(g,y,S,C);case Yn:var E=S._init;return h(y,g,v,E(S._payload),C)}if(js(S)||ms(S))return y=y.get(v)||null,f(g,y,S,C,null);Hi(g,S)}return null}function w(y,g,v,S){for(var C=null,E=null,N=g,j=g=0,R=null;N!==null&&j<v.length;j++){N.index>j?(R=N,N=null):R=N.sibling;var k=m(y,N,v[j],S);if(k===null){N===null&&(N=R);break}e&&N&&k.alternate===null&&t(y,N),g=s(k,g,j),E===null?C=k:E.sibling=k,E=k,N=R}if(j===v.length)return n(y,N),Ce&&Fr(y,j),C;if(N===null){for(;j<v.length;j++)N=p(y,v[j],S),N!==null&&(g=s(N,g,j),E===null?C=N:E.sibling=N,E=N);return Ce&&Fr(y,j),C}for(N=r(y,N);j<v.length;j++)R=h(N,y,j,v[j],S),R!==null&&(e&&R.alternate!==null&&N.delete(R.key===null?j:R.key),g=s(R,g,j),E===null?C=R:E.sibling=R,E=R);return e&&N.forEach(function(M){return t(y,M)}),Ce&&Fr(y,j),C}function x(y,g,v,S){var C=ms(v);if(typeof C!="function")throw Error(I(150));if(v=C.call(v),v==null)throw Error(I(151));for(var E=C=null,N=g,j=g=0,R=null,k=v.next();N!==null&&!k.done;j++,k=v.next()){N.index>j?(R=N,N=null):R=N.sibling;var M=m(y,N,k.value,S);if(M===null){N===null&&(N=R);break}e&&N&&M.alternate===null&&t(y,N),g=s(M,g,j),E===null?C=M:E.sibling=M,E=M,N=R}if(k.done)return n(y,N),Ce&&Fr(y,j),C;if(N===null){for(;!k.done;j++,k=v.next())k=p(y,k.value,S),k!==null&&(g=s(k,g,j),E===null?C=k:E.sibling=k,E=k);return Ce&&Fr(y,j),C}for(N=r(y,N);!k.done;j++,k=v.next())k=h(N,y,j,k.value,S),k!==null&&(e&&k.alternate!==null&&N.delete(k.key===null?j:k.key),g=s(k,g,j),E===null?C=k:E.sibling=k,E=k);return e&&N.forEach(function(A){return t(y,A)}),Ce&&Fr(y,j),C}function b(y,g,v,S){if(typeof v=="object"&&v!==null&&v.type===bo&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Oi:e:{for(var C=v.key,E=g;E!==null;){if(E.key===C){if(C=v.type,C===bo){if(E.tag===7){n(y,E.sibling),g=o(E,v.props.children),g.return=y,y=g;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Yn&&Wp(C)===E.type){n(y,E.sibling),g=o(E,v.props),g.ref=ws(y,E,v),g.return=y,y=g;break e}n(y,E);break}else t(y,E);E=E.sibling}v.type===bo?(g=Kr(v.props.children,y.mode,S,v.key),g.return=y,y=g):(S=va(v.type,v.key,v.props,null,y.mode,S),S.ref=ws(y,g,v),S.return=y,y=S)}return i(y);case wo:e:{for(E=v.key;g!==null;){if(g.key===E)if(g.tag===4&&g.stateNode.containerInfo===v.containerInfo&&g.stateNode.implementation===v.implementation){n(y,g.sibling),g=o(g,v.children||[]),g.return=y,y=g;break e}else{n(y,g);break}else t(y,g);g=g.sibling}g=Ec(v,y.mode,S),g.return=y,y=g}return i(y);case Yn:return E=v._init,b(y,g,E(v._payload),S)}if(js(v))return w(y,g,v,S);if(ms(v))return x(y,g,v,S);Hi(y,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,g!==null&&g.tag===6?(n(y,g.sibling),g=o(g,v),g.return=y,y=g):(n(y,g),g=Cc(v,y.mode,S),g.return=y,y=g),i(y)):n(y,g)}return b}var Jo=Ug(!0),Vg=Ug(!1),La=Er(null),za=null,Ro=null,Dd=null;function Ld(){Dd=Ro=za=null}function zd(e){var t=La.current;xe(La),e._currentValue=t}function gu(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 Mo(e,t){za=e,Dd=Ro=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(lt=!0),e.firstContext=null)}function Ft(e){var t=e._currentValue;if(Dd!==e)if(e={context:e,memoizedValue:t,next:null},Ro===null){if(za===null)throw Error(I(308));Ro=e,za.dependencies={lanes:0,firstContext:e}}else Ro=Ro.next=e;return t}var Lr=null;function $d(e){Lr===null?Lr=[e]:Lr.push(e)}function Bg(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,$d(t)):(n.next=o.next,o.next=n),t.interleaved=n,On(e,r)}function On(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 Xn=!1;function Ud(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Wg(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 Pn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function pr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ae&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,On(e,n)}return o=r.interleaved,o===null?(t.next=t,$d(r)):(t.next=o.next,o.next=t),r.interleaved=t,On(e,n)}function da(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,jd(e,n)}}function Hp(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=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};s===null?o=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function $a(e,t,n,r){var o=e.updateQueue;Xn=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var c=a,u=c.next;c.next=null,i===null?s=u:i.next=u,i=c;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==i&&(a===null?f.firstBaseUpdate=u:a.next=u,f.lastBaseUpdate=c))}if(s!==null){var p=o.baseState;i=0,f=u=c=null,a=s;do{var m=a.lane,h=a.eventTime;if((r&m)===m){f!==null&&(f=f.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var w=e,x=a;switch(m=t,h=n,x.tag){case 1:if(w=x.payload,typeof w=="function"){p=w.call(h,p,m);break e}p=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=x.payload,m=typeof w=="function"?w.call(h,p,m):w,m==null)break e;p=ke({},p,m);break e;case 2:Xn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[a]:m.push(a))}else h={eventTime:h,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(u=f=h,c=p):f=f.next=h,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(f===null&&(c=p),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);Xr|=i,e.lanes=i,e.memoizedState=p}}function Gp(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(I(191,o));o.call(r)}}}var Si={},pn=Er(Si),ei=Er(Si),ti=Er(Si);function zr(e){if(e===Si)throw Error(I(174));return e}function Vd(e,t){switch(ge(ti,t),ge(ei,e),ge(pn,Si),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Yc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Yc(t,e)}xe(pn),ge(pn,t)}function es(){xe(pn),xe(ei),xe(ti)}function Hg(e){zr(ti.current);var t=zr(pn.current),n=Yc(t,e.type);t!==n&&(ge(ei,e),ge(pn,n))}function Bd(e){ei.current===e&&(xe(pn),xe(ei))}var Ne=Er(0);function Ua(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 vc=[];function Wd(){for(var e=0;e<vc.length;e++)vc[e]._workInProgressVersionPrimary=null;vc.length=0}var fa=zn.ReactCurrentDispatcher,yc=zn.ReactCurrentBatchConfig,Yr=0,Pe=null,De=null,$e=null,Va=!1,Ms=!1,ni=0,kb=0;function Qe(){throw Error(I(321))}function Hd(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Zt(e[n],t[n]))return!1;return!0}function Gd(e,t,n,r,o,s){if(Yr=s,Pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=e===null||e.memoizedState===null?Ab:Ib,e=n(r,o),Ms){s=0;do{if(Ms=!1,ni=0,25<=s)throw Error(I(301));s+=1,$e=De=null,t.updateQueue=null,fa.current=Ob,e=n(r,o)}while(Ms)}if(fa.current=Ba,t=De!==null&&De.next!==null,Yr=0,$e=De=Pe=null,Va=!1,t)throw Error(I(300));return e}function Kd(){var e=ni!==0;return ni=0,e}function on(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $e===null?Pe.memoizedState=$e=e:$e=$e.next=e,$e}function Mt(){if(De===null){var e=Pe.alternate;e=e!==null?e.memoizedState:null}else e=De.next;var t=$e===null?Pe.memoizedState:$e.next;if(t!==null)$e=t,De=e;else{if(e===null)throw Error(I(310));De=e,e={memoizedState:De.memoizedState,baseState:De.baseState,baseQueue:De.baseQueue,queue:De.queue,next:null},$e===null?Pe.memoizedState=$e=e:$e=$e.next=e}return $e}function ri(e,t){return typeof t=="function"?t(e):t}function xc(e){var t=Mt(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=De,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var a=i=null,c=null,u=s;do{var f=u.lane;if((Yr&f)===f)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(a=c=p,i=r):c=c.next=p,Pe.lanes|=f,Xr|=f}u=u.next}while(u!==null&&u!==s);c===null?i=r:c.next=a,Zt(r,t.memoizedState)||(lt=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do s=o.lane,Pe.lanes|=s,Xr|=s,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function wc(e){var t=Mt(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do s=e(s,i.action),i=i.next;while(i!==o);Zt(s,t.memoizedState)||(lt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Gg(){}function Kg(e,t){var n=Pe,r=Mt(),o=t(),s=!Zt(r.memoizedState,o);if(s&&(r.memoizedState=o,lt=!0),r=r.queue,Qd(Yg.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||$e!==null&&$e.memoizedState.tag&1){if(n.flags|=2048,oi(9,qg.bind(null,n,r,o,t),void 0,null),Ve===null)throw Error(I(349));Yr&30||Qg(n,t,o)}return o}function Qg(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Pe.updateQueue,t===null?(t={lastEffect:null,stores:null},Pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function qg(e,t,n,r){t.value=n,t.getSnapshot=r,Xg(t)&&Zg(e)}function Yg(e,t,n){return n(function(){Xg(t)&&Zg(e)})}function Xg(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Zt(e,n)}catch{return!0}}function Zg(e){var t=On(e,1);t!==null&&Xt(t,e,1,-1)}function Kp(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:ri,lastRenderedState:e},t.queue=e,e=e.dispatch=_b.bind(null,Pe,e),[t.memoizedState,e]}function oi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Pe.updateQueue,t===null?(t={lastEffect:null,stores:null},Pe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Jg(){return Mt().memoizedState}function pa(e,t,n,r){var o=on();Pe.flags|=e,o.memoizedState=oi(1|t,n,void 0,r===void 0?null:r)}function dl(e,t,n,r){var o=Mt();r=r===void 0?null:r;var s=void 0;if(De!==null){var i=De.memoizedState;if(s=i.destroy,r!==null&&Hd(r,i.deps)){o.memoizedState=oi(t,n,s,r);return}}Pe.flags|=e,o.memoizedState=oi(1|t,n,s,r)}function Qp(e,t){return pa(8390656,8,e,t)}function Qd(e,t){return dl(2048,8,e,t)}function ev(e,t){return dl(4,2,e,t)}function tv(e,t){return dl(4,4,e,t)}function nv(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 rv(e,t,n){return n=n!=null?n.concat([e]):null,dl(4,4,nv.bind(null,t,e),n)}function qd(){}function ov(e,t){var n=Mt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Hd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function sv(e,t){var n=Mt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Hd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function iv(e,t,n){return Yr&21?(Zt(n,t)||(n=dg(),Pe.lanes|=n,Xr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,lt=!0),e.memoizedState=n)}function Rb(e,t){var n=fe;fe=n!==0&&4>n?n:4,e(!0);var r=yc.transition;yc.transition={};try{e(!1),t()}finally{fe=n,yc.transition=r}}function av(){return Mt().memoizedState}function Tb(e,t,n){var r=mr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lv(e))cv(t,n);else if(n=Bg(e,t,n,r),n!==null){var o=rt();Xt(n,e,r,o),uv(n,t,r)}}function _b(e,t,n){var r=mr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lv(e))cv(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,a=s(i,n);if(o.hasEagerState=!0,o.eagerState=a,Zt(a,i)){var c=t.interleaved;c===null?(o.next=o,$d(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=Bg(e,t,o,r),n!==null&&(o=rt(),Xt(n,e,r,o),uv(n,t,r))}}function lv(e){var t=e.alternate;return e===Pe||t!==null&&t===Pe}function cv(e,t){Ms=Va=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function uv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,jd(e,n)}}var Ba={readContext:Ft,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useInsertionEffect:Qe,useLayoutEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useMutableSource:Qe,useSyncExternalStore:Qe,useId:Qe,unstable_isNewReconciler:!1},Ab={readContext:Ft,useCallback:function(e,t){return on().memoizedState=[e,t===void 0?null:t],e},useContext:Ft,useEffect:Qp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,pa(4194308,4,nv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return pa(4194308,4,e,t)},useInsertionEffect:function(e,t){return pa(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=Tb.bind(null,Pe,e),[r.memoizedState,e]},useRef:function(e){var t=on();return e={current:e},t.memoizedState=e},useState:Kp,useDebugValue:qd,useDeferredValue:function(e){return on().memoizedState=e},useTransition:function(){var e=Kp(!1),t=e[0];return e=Rb.bind(null,e[1]),on().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pe,o=on();if(Ce){if(n===void 0)throw Error(I(407));n=n()}else{if(n=t(),Ve===null)throw Error(I(349));Yr&30||Qg(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,Qp(Yg.bind(null,r,s,e),[e]),r.flags|=2048,oi(9,qg.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=on(),t=Ve.identifierPrefix;if(Ce){var n=jn,r=Nn;n=(r&~(1<<32-Yt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ni++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=kb++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ib={readContext:Ft,useCallback:ov,useContext:Ft,useEffect:Qd,useImperativeHandle:rv,useInsertionEffect:ev,useLayoutEffect:tv,useMemo:sv,useReducer:xc,useRef:Jg,useState:function(){return xc(ri)},useDebugValue:qd,useDeferredValue:function(e){var t=Mt();return iv(t,De.memoizedState,e)},useTransition:function(){var e=xc(ri)[0],t=Mt().memoizedState;return[e,t]},useMutableSource:Gg,useSyncExternalStore:Kg,useId:av,unstable_isNewReconciler:!1},Ob={readContext:Ft,useCallback:ov,useContext:Ft,useEffect:Qd,useImperativeHandle:rv,useInsertionEffect:ev,useLayoutEffect:tv,useMemo:sv,useReducer:wc,useRef:Jg,useState:function(){return wc(ri)},useDebugValue:qd,useDeferredValue:function(e){var t=Mt();return De===null?t.memoizedState=e:iv(t,De.memoizedState,e)},useTransition:function(){var e=wc(ri)[0],t=Mt().memoizedState;return[e,t]},useMutableSource:Gg,useSyncExternalStore:Kg,useId:av,unstable_isNewReconciler:!1};function Ht(e,t){if(e&&e.defaultProps){t=ke({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function vu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ke({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var fl={isMounted:function(e){return(e=e._reactInternals)?io(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=rt(),o=mr(e),s=Pn(r,o);s.payload=t,n!=null&&(s.callback=n),t=pr(e,s,o),t!==null&&(Xt(t,e,o,r),da(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=rt(),o=mr(e),s=Pn(r,o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=pr(e,s,o),t!==null&&(Xt(t,e,o,r),da(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=rt(),r=mr(e),o=Pn(n,r);o.tag=2,t!=null&&(o.callback=t),t=pr(e,o,r),t!==null&&(Xt(t,e,r,n),da(t,e,r))}};function qp(e,t,n,r,o,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!Ys(n,r)||!Ys(o,s):!0}function dv(e,t,n){var r=!1,o=wr,s=t.contextType;return typeof s=="object"&&s!==null?s=Ft(s):(o=dt(t)?Qr:Je.current,r=t.contextTypes,s=(r=r!=null)?Xo(e,o):wr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=fl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function Yp(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&&fl.enqueueReplaceState(t,t.state,null)}function yu(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Ud(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=Ft(s):(s=dt(t)?Qr:Je.current,o.context=Xo(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(vu(e,t,s,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&&fl.enqueueReplaceState(o,o.state,null),$a(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function ts(e,t){try{var n="",r=t;do n+=l1(r),r=r.return;while(r);var o=n}catch(s){o=`
39Error generating stack: `+s.message+`
40`+s.stack}return{value:e,source:t,stack:o,digest:null}}
vendor: 11,185 bytes, line 40
40function bc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function xu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Fb=typeof WeakMap=="function"?WeakMap:Map;function fv(e,t,n){n=Pn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ha||(Ha=!0,Ru=r),xu(e,t)},n}function pv(e,t,n){n=Pn(-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(){xu(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){xu(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 Xp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Fb;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=qb.bind(null,e,t,n),t.then(e,e))}function Zp(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 Jp(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=Pn(-1,1),t.tag=2,pr(n,t,1))),n.lanes|=1),e)}var Mb=zn.ReactCurrentOwner,lt=!1;function et(e,t,n,r){t.child=e===null?Vg(t,null,n,r):Jo(t,e.child,n,r)}function eh(e,t,n,r,o){n=n.render;var s=t.ref;return Mo(t,o),r=Gd(e,t,n,r,s,o),n=Kd(),e!==null&&!lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Fn(e,t,o)):(Ce&&n&&Od(t),t.flags|=1,et(e,t,r,o),t.child)}function th(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!rf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,hv(e,t,s,r,o)):(e=va(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:Ys,n(i,r)&&e.ref===t.ref)return Fn(e,t,o)}return t.flags|=1,e=gr(s,r),e.ref=t.ref,e.return=t,t.child=e}function hv(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(Ys(s,r)&&e.ref===t.ref)if(lt=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(lt=!0);else return t.lanes=e.lanes,Fn(e,t,o)}return wu(e,t,n,r,o)}function mv(e,t,n){var r=t.pendingProps,o=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ge(_o,mt),mt|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ge(_o,mt),mt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,ge(_o,mt),mt|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,ge(_o,mt),mt|=r;return et(e,t,o,n),t.child}function gv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function wu(e,t,n,r,o){var s=dt(n)?Qr:Je.current;return s=Xo(t,s),Mo(t,o),n=Gd(e,t,n,r,s,o),r=Kd(),e!==null&&!lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Fn(e,t,o)):(Ce&&r&&Od(t),t.flags|=1,et(e,t,n,o),t.child)}function nh(e,t,n,r,o){if(dt(n)){var s=!0;Fa(t)}else s=!1;if(Mo(t,o),t.stateNode===null)ha(e,t),dv(t,n,r),yu(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var c=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ft(u):(u=dt(n)?Qr:Je.current,u=Xo(t,u));var f=n.getDerivedStateFromProps,p=typeof f=="function"||typeof i.getSnapshotBeforeUpdate=="function";p||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||c!==u)&&Yp(t,i,r,u),Xn=!1;var m=t.memoizedState;i.state=m,$a(t,r,i,o),c=t.memoizedState,a!==r||m!==c||ut.current||Xn?(typeof f=="function"&&(vu(t,n,f,r),c=t.memoizedState),(a=Xn||qp(t,n,a,r,m,c,u))?(p||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=c),i.props=r,i.state=c,i.context=u,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Wg(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Ht(t.type,a),i.props=u,p=t.pendingProps,m=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=Ft(c):(c=dt(n)?Qr:Je.current,c=Xo(t,c));var h=n.getDerivedStateFromProps;(f=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==p||m!==c)&&Yp(t,i,r,c),Xn=!1,m=t.memoizedState,i.state=m,$a(t,r,i,o);var w=t.memoizedState;a!==p||m!==w||ut.current||Xn?(typeof h=="function"&&(vu(t,n,h,r),w=t.memoizedState),(u=Xn||qp(t,n,u,r,m,w,c)||!1)?(f||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,w,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,w,c)),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=w),i.props=r,i.state=w,i.context=c,r=u):(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 bu(e,t,n,r,s,o)}function bu(e,t,n,r,o,s){gv(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&Up(t,n,!1),Fn(e,t,s);r=t.stateNode,Mb.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Jo(t,e.child,null,s),t.child=Jo(t,null,a,s)):et(e,t,a,s),t.memoizedState=r.state,o&&Up(t,n,!0),t.child}function vv(e){var t=e.stateNode;t.pendingContext?$p(e,t.pendingContext,t.pendingContext!==t.context):t.context&&$p(e,t.context,!1),Vd(e,t.containerInfo)}function rh(e,t,n,r,o){return Zo(),Md(o),t.flags|=256,et(e,t,n,r),t.child}var Su={dehydrated:null,treeContext:null,retryLane:0};function Cu(e){return{baseLanes:e,cachePool:null,transitions:null}}function yv(e,t,n){var r=t.pendingProps,o=Ne.current,s=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ge(Ne,o&1),e===null)return mu(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,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=ml(i,r,0,null),e=Kr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Cu(n),t.memoizedState=Su,e):Yd(t,i));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return Db(e,t,i,r,a,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,a=o.sibling;var c={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=gr(o,c),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?s=gr(a,s):(s=Kr(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?Cu(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=Su,r}return s=e.child,e=s.sibling,r=gr(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Yd(e,t){return t=ml({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Gi(e,t,n,r){return r!==null&&Md(r),Jo(t,e.child,null,n),e=Yd(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Db(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=bc(Error(I(422))),Gi(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=ml({mode:"visible",children:r.children},o,0,null),s=Kr(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Jo(t,e.child,null,i),t.child.memoizedState=Cu(i),t.memoizedState=Su,s);if(!(t.mode&1))return Gi(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(I(419)),r=bc(s,r,void 0),Gi(e,t,i,r)}if(a=(i&e.childLanes)!==0,lt||a){if(r=Ve,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!==s.retryLane&&(s.retryLane=o,On(e,o),Xt(r,e,o,-1))}return nf(),r=bc(Error(I(421))),Gi(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Yb.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,vt=fr(o.nextSibling),yt=t,Ce=!0,qt=null,e!==null&&(Tt[_t++]=Nn,Tt[_t++]=jn,Tt[_t++]=qr,Nn=e.id,jn=e.overflow,qr=t),t=Yd(t,r.children),t.flags|=4096,t)}function oh(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),gu(e.return,t,n)}function Sc(e,t,n,r,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function xv(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(et(e,t,r.children,n),r=Ne.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&&oh(e,n,t);else if(e.tag===19)oh(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(ge(Ne,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&&Ua(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Sc(t,!1,o,n,s);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Ua(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Sc(t,!0,n,null,s);break;case"together":Sc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ha(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Fn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Xr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(I(153));
vendor: 4,746 bytes, line 40
40if(t.child!==null){for(e=t.child,n=gr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=gr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Lb(e,t,n){switch(t.tag){case 3:vv(t),Zo();break;case 5:Hg(t);break;case 1:dt(t.type)&&Fa(t);break;case 4:Vd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ge(La,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ge(Ne,Ne.current&1),t.flags|=128,null):n&t.child.childLanes?yv(e,t,n):(ge(Ne,Ne.current&1),e=Fn(e,t,n),e!==null?e.sibling:null);ge(Ne,Ne.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return xv(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ge(Ne,Ne.current),r)break;return null;case 22:case 23:return t.lanes=0,mv(e,t,n)}return Fn(e,t,n)}var wv,Eu,bv,Sv;wv=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}};Eu=function(){};bv=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,zr(pn.current);var s=null;switch(n){case"input":o=Gc(e,o),r=Gc(e,r),s=[];break;case"select":o=ke({},o,{value:void 0}),r=ke({},r,{value:void 0}),s=[];break;case"textarea":o=qc(e,o),r=qc(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ia)}Xc(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Bs.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&c!==a&&(c!=null||a!=null))if(u==="style")if(a){for(i in a)!a.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&a[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(s||(s=[]),s.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,a=a?a.__html:void 0,c!=null&&a!==c&&(s=s||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(s=s||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Bs.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&ye("scroll",e),s||a===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Sv=function(e,t,n,r){n!==r&&(t.flags|=4)};function bs(e,t){if(!Ce)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qe(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 zb(e,t,n){var r=t.pendingProps;switch(Fd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qe(t),null;case 1:return dt(t.type)&&Oa(),qe(t),null;case 3:return r=t.stateNode,es(),xe(ut),xe(Je),Wd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Wi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,qt!==null&&(Au(qt),qt=null))),Eu(e,t),qe(t),null;case 5:Bd(t);var o=zr(ti.current);if(n=t.type,e!==null&&t.stateNode!=null)bv(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(I(166));return qe(t),null}if(e=zr(pn.current),Wi(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[cn]=t,r[Js]=s,e=(t.mode&1)!==0,n){case"dialog":ye("cancel",r),ye("close",r);break;case"iframe":case"object":case"embed":ye("load",r);break;case"video":case"audio":for(o=0;o<ks.length;o++)ye(ks[o],r);break;case"source":ye("error",r);break;case"img":case"image":case"link":ye("error",r),ye("load",r);break;case"details":ye("toggle",r);break;case"input":pp(r,s),ye("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},ye("invalid",r);break;case"textarea":mp(r,s),ye("invalid",r)}Xc(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var a=s[i];
vendor: 32,436 bytes, line 40
40i==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Bi(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Bi(r.textContent,a,e),o=["children",""+a]):Bs.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&ye("scroll",r)}switch(n){case"input":Fi(r),hp(r,s,!0);break;case"textarea":Fi(r),gp(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Ia)}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=Ym(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[cn]=t,e[Js]=r,wv(e,t,!1,!1),t.stateNode=e;e:{switch(i=Zc(n,r),n){case"dialog":ye("cancel",e),ye("close",e),o=r;break;case"iframe":case"object":case"embed":ye("load",e),o=r;break;case"video":case"audio":for(o=0;o<ks.length;o++)ye(ks[o],e);o=r;break;case"source":ye("error",e),o=r;break;case"img":case"image":case"link":ye("error",e),ye("load",e),o=r;break;case"details":ye("toggle",e),o=r;break;case"input":pp(e,r),o=Gc(e,r),ye("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ke({},r,{value:void 0}),ye("invalid",e);break;case"textarea":mp(e,r),o=qc(e,r),ye("invalid",e);break;default:o=r}Xc(n,o),a=o;for(s in a)if(a.hasOwnProperty(s)){var c=a[s];s==="style"?Jm(e,c):s==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Xm(e,c)):s==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Ws(e,c):typeof c=="number"&&Ws(e,""+c):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Bs.hasOwnProperty(s)?c!=null&&s==="onScroll"&&ye("scroll",e):c!=null&&wd(e,s,c,i))}switch(n){case"input":Fi(e),hp(e,r,!1);break;case"textarea":Fi(e),gp(e);break;case"option":r.value!=null&&e.setAttribute("value",""+xr(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Ao(e,!!r.multiple,s,!1):r.defaultValue!=null&&Ao(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Ia)}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 qe(t),null;case 6:if(e&&t.stateNode!=null)Sv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(I(166));if(n=zr(ti.current),zr(pn.current),Wi(t)){if(r=t.stateNode,n=t.memoizedProps,r[cn]=t,(s=r.nodeValue!==n)&&(e=yt,e!==null))switch(e.tag){case 3:Bi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Bi(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[cn]=t,t.stateNode=r}return qe(t),null;case 13:if(xe(Ne),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ce&&vt!==null&&t.mode&1&&!(t.flags&128))$g(),Zo(),t.flags|=98560,s=!1;else if(s=Wi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(I(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(I(317));s[cn]=t}else Zo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;qe(t),s=!1}else qt!==null&&(Au(qt),qt=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ne.current&1?ze===0&&(ze=3):nf())),t.updateQueue!==null&&(t.flags|=4),qe(t),null);case 4:return es(),Eu(e,t),e===null&&Xs(t.stateNode.containerInfo),qe(t),null;case 10:return zd(t.type._context),qe(t),null;case 17:return dt(t.type)&&Oa(),qe(t),null;case 19:if(xe(Ne),s=t.memoizedState,s===null)return qe(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)bs(s,!1);else{if(ze!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Ua(e),i!==null){for(t.flags|=128,bs(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ge(Ne,Ne.current&1|2),t.child}e=e.sibling}s.tail!==null&&Ae()>ns&&(t.flags|=128,r=!0,bs(s,!1),t.lanes=4194304)}else{if(!r)if(e=Ua(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),bs(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!Ce)return qe(t),null}else 2*Ae()-s.renderingStartTime>ns&&n!==1073741824&&(t.flags|=128,r=!0,bs(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ae(),t.sibling=null,n=Ne.current,ge(Ne,r?n&1|2:n&1),t):(qe(t),null);case 22:case 23:return tf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?mt&1073741824&&(qe(t),t.subtreeFlags&6&&(t.flags|=8192)):qe(t),null;case 24:return null;case 25:return null}throw Error(I(156,t.tag))}function $b(e,t){switch(Fd(t),t.tag){case 1:return dt(t.type)&&Oa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return es(),xe(ut),xe(Je),Wd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Bd(t),null;case 13:if(xe(Ne),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(I(340));Zo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return xe(Ne),null;case 4:return es(),null;case 10:return zd(t.type._context),null;case 22:case 23:return tf(),null;case 24:return null;default:return null}}var Ki=!1,Xe=!1,Ub=typeof WeakSet=="function"?WeakSet:Set,U=null;function To(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Re(e,t,r)}else n.current=null}function Nu(e,t,n){try{n()}catch(r){Re(e,t,r)}}var sh=!1;function Vb(e,t){if(lu=Ta,e=Pg(),Id(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,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,a=-1,c=-1,u=0,f=0,p=e,m=null;t:for(;;){for(var h;p!==n||o!==0&&p.nodeType!==3||(a=i+o),p!==s||r!==0&&p.nodeType!==3||(c=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(h=p.firstChild)!==null;)m=p,p=h;for(;;){if(p===e)break t;if(m===n&&++u===o&&(a=i),m===s&&++f===r&&(c=i),(h=p.nextSibling)!==null)break;p=m,m=p.parentNode}p=h}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(cu={focusedElem:e,selectionRange:n},Ta=!1,U=t;U!==null;)if(t=U,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,U=e;else for(;U!==null;){t=U;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var x=w.memoizedProps,b=w.memoizedState,y=t.stateNode,g=y.getSnapshotBeforeUpdate(t.elementType===t.type?x:Ht(t.type,x),b);y.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(I(163))}}catch(S){Re(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,U=e;break}U=t.return}return w=sh,sh=!1,w}function Ds(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 s=o.destroy;o.destroy=void 0,s!==void 0&&Nu(t,n,s)}o=o.next}while(o!==r)}}function pl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ju(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 Cv(e){var t=e.alternate;t!==null&&(e.alternate=null,Cv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[cn],delete t[Js],delete t[fu],delete t[Eb],delete t[Nb])),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 Ev(e){return e.tag===5||e.tag===3||e.tag===4}function ih(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ev(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 Pu(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=Ia));else if(r!==4&&(e=e.child,e!==null))for(Pu(e,t,n),e=e.sibling;e!==null;)Pu(e,t,n),e=e.sibling}function ku(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(ku(e,t,n),e=e.sibling;e!==null;)ku(e,t,n),e=e.sibling}var Be=null,Qt=!1;function Gn(e,t,n){for(n=n.child;n!==null;)Nv(e,t,n),n=n.sibling}function Nv(e,t,n){if(fn&&typeof fn.onCommitFiberUnmount=="function")try{fn.onCommitFiberUnmount(sl,n)}catch{}switch(n.tag){case 5:Xe||To(n,t);case 6:var r=Be,o=Qt;Be=null,Gn(e,t,n),Be=r,Qt=o,Be!==null&&(Qt?(e=Be,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Be.removeChild(n.stateNode));break;case 18:Be!==null&&(Qt?(e=Be,n=n.stateNode,e.nodeType===8?mc(e.parentNode,n):e.nodeType===1&&mc(e,n),Qs(e)):mc(Be,n.stateNode));break;case 4:r=Be,o=Qt,Be=n.stateNode.containerInfo,Qt=!0,Gn(e,t,n),Be=r,Qt=o;break;case 0:case 11:case 14:case 15:if(!Xe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&Nu(n,t,i),o=o.next}while(o!==r)}Gn(e,t,n);break;case 1:if(!Xe&&(To(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Re(n,t,a)}Gn(e,t,n);break;case 21:Gn(e,t,n);break;case 22:n.mode&1?(Xe=(r=Xe)||n.memoizedState!==null,Gn(e,t,n),Xe=r):Gn(e,t,n);break;default:Gn(e,t,n)}}function ah(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ub),t.forEach(function(r){var o=Xb.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Vt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var s=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:Be=a.stateNode,Qt=!1;break e;case 3:Be=a.stateNode.containerInfo,Qt=!0;break e;case 4:Be=a.stateNode.containerInfo,Qt=!0;break e}a=a.return}if(Be===null)throw Error(I(160));Nv(s,i,o),Be=null,Qt=!1;var c=o.alternate;c!==null&&(c.return=null),o.return=null}catch(u){Re(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)jv(t,e),t=t.sibling}function jv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Vt(t,e),nn(e),r&4){try{Ds(3,e,e.return),pl(3,e)}catch(x){Re(e,e.return,x)}try{Ds(5,e,e.return)}catch(x){Re(e,e.return,x)}}break;case 1:Vt(t,e),nn(e),r&512&&n!==null&&To(n,n.return);break;case 5:if(Vt(t,e),nn(e),r&512&&n!==null&&To(n,n.return),e.flags&32){var o=e.stateNode;try{Ws(o,"")}catch(x){Re(e,e.return,x)}}if(r&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,a=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Qm(o,s),Zc(a,i);var u=Zc(a,s);for(i=0;i<c.length;i+=2){var f=c[i],p=c[i+1];f==="style"?Jm(o,p):f==="dangerouslySetInnerHTML"?Xm(o,p):f==="children"?Ws(o,p):wd(o,f,p,u)}switch(a){case"input":Kc(o,s);break;case"textarea":qm(o,s);break;case"select":var m=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var h=s.value;h!=null?Ao(o,!!s.multiple,h,!1):m!==!!s.multiple&&(s.defaultValue!=null?Ao(o,!!s.multiple,s.defaultValue,!0):Ao(o,!!s.multiple,s.multiple?[]:"",!1))}o[Js]=s}catch(x){Re(e,e.return,x)}}break;case 6:if(Vt(t,e),nn(e),r&4){if(e.stateNode===null)throw Error(I(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(x){Re(e,e.return,x)}}break;case 3:if(Vt(t,e),nn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Qs(t.containerInfo)}catch(x){Re(e,e.return,x)}break;case 4:Vt(t,e),nn(e);break;case 13:Vt(t,e),nn(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(Jd=Ae())),r&4&&ah(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(Xe=(u=Xe)||f,Vt(t,e),Xe=u):Vt(t,e),nn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&e.mode&1)for(U=e,f=e.child;f!==null;){for(p=U=f;U!==null;){switch(m=U,h=m.child,m.tag){case 0:case 11:case 14:case 15:Ds(4,m,m.return);break;case 1:To(m,m.return);var w=m.stateNode;if(typeof w.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(x){Re(r,n,x)}}break;case 5:To(m,m.return);break;case 22:if(m.memoizedState!==null){ch(p);continue}}h!==null?(h.return=m,U=h):ch(p)}f=f.sibling}e:for(f=null,p=e;;){if(p.tag===5){if(f===null){f=p;try{o=p.stateNode,u?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=p.stateNode,c=p.memoizedProps.style,i=c!=null&&c.hasOwnProperty("display")?c.display:null,a.style.display=Zm("display",i))}catch(x){Re(e,e.return,x)}}}else if(p.tag===6){if(f===null)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(x){Re(e,e.return,x)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;f===p&&(f=null),p=p.return}f===p&&(f=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:Vt(t,e),nn(e),r&4&&ah(e);break;case 21:break;default:Vt(t,e),nn(e)}}function nn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Ev(n)){var r=n;break e}n=n.return}throw Error(I(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Ws(o,""),r.flags&=-33);var s=ih(e);ku(e,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,a=ih(e);Pu(e,a,i);break;default:throw Error(I(161))}}catch(c){Re(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Bb(e,t,n){U=e,Pv(e)}function Pv(e,t,n){for(var r=(e.mode&1)!==0;U!==null;){var o=U,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||Ki;if(!i){var a=o.alternate,c=a!==null&&a.memoizedState!==null||Xe;a=Ki;var u=Xe;if(Ki=i,(Xe=c)&&!u)for(U=o;U!==null;)i=U,c=i.child,i.tag===22&&i.memoizedState!==null?uh(o):c!==null?(c.return=i,U=c):uh(o);for(;s!==null;)U=s,Pv(s),s=s.sibling;U=o,Ki=a,Xe=u}lh(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,U=s):lh(e)}}function lh(e){for(;U!==null;){var t=U;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Xe||pl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Xe)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Ht(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Gp(t,s,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}Gp(t,i,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var f=u.memoizedState;if(f!==null){var p=f.dehydrated;p!==null&&Qs(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(I(163))}Xe||t.flags&512&&ju(t)}catch(m){Re(t,t.return,m)}}if(t===e){U=null;break}if(n=t.sibling,n!==null){n.return=t.return,U=n;break}U=t.return}}function ch(e){for(;U!==null;){var t=U;if(t===e){U=null;break}var n=t.sibling;if(n!==null){n.return=t.return,U=n;break}U=t.return}}function uh(e){for(;U!==null;){var t=U;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{pl(4,t)}catch(c){Re(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(c){Re(t,o,c)}}var s=t.return;try{ju(t)}catch(c){Re(t,s,c)}break;case 5:var i=t.return;try{ju(t)}catch(c){Re(t,i,c)}}}catch(c){Re(t,t.return,c)}if(t===e){U=null;break}var a=t.sibling;if(a!==null){a.return=t.return,U=a;break}U=t.return}}var Wb=Math.ceil,Wa=zn.ReactCurrentDispatcher,Xd=zn.ReactCurrentOwner,Ot=zn.ReactCurrentBatchConfig,ae=0,Ve=null,Oe=null,He=0,mt=0,_o=Er(0),ze=0,si=null,Xr=0,hl=0,Zd=0,Ls=null,at=null,Jd=0,ns=1/0,bn=null,Ha=!1,Ru=null,hr=null,Qi=!1,ar=null,Ga=0,zs=0,Tu=null,ma=-1,ga=0;function rt(){return ae&6?Ae():ma!==-1?ma:ma=Ae()}function mr(e){return e.mode&1?ae&2&&He!==0?He&-He:Pb.transition!==null?(ga===0&&(ga=dg()),ga):(e=fe,e!==0||(e=window.event,e=e===void 0?16:yg(e.type)),e):1}function Xt(e,t,n,r){if(50<zs)throw zs=0,Tu=null,Error(I(185));xi(e,n,r),(!(ae&2)||e!==Ve)&&(e===Ve&&(!(ae&2)&&(hl|=n),ze===4&&Jn(e,He)),ft(e,r),n===1&&ae===0&&!(t.mode&1)&&(ns=Ae()+500,ul&&Nr()))}function ft(e,t){var n=e.callbackNode;P1(e,t);var r=Ra(e,e===Ve?He:0);if(r===0)n!==null&&xp(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&xp(n),t===1)e.tag===0?jb(dh.bind(null,e)):Dg(dh.bind(null,e)),Sb(function(){!(ae&6)&&Nr()}),n=null;else{switch(fg(r)){case 1:n=Nd;break;case 4:n=cg;break;case 16:n=ka;break;case 536870912:n=ug;break;default:n=ka}n=Fv(n,kv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function kv(e,t){if(ma=-1,ga=0,ae&6)throw Error(I(327));var n=e.callbackNode;if(Do()&&e.callbackNode!==n)return null;var r=Ra(e,e===Ve?He:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ka(e,r);else{t=r;var o=ae;ae|=2;var s=Tv();(Ve!==e||He!==t)&&(bn=null,ns=Ae()+500,Gr(e,t));do try{Kb();break}catch(a){Rv(e,a)}while(!0);Ld(),Wa.current=s,ae=o,Oe!==null?t=0:(Ve=null,He=0,t=ze)}if(t!==0){if(t===2&&(o=ru(e),o!==0&&(r=o,t=_u(e,o))),t===1)throw n=si,Gr(e,0),Jn(e,r),ft(e,Ae()),n;if(t===6)Jn(e,r);else{if(o=e.current.alternate,!(r&30)&&!Hb(o)&&(t=Ka(e,r),t===2&&(s=ru(e),s!==0&&(r=s,t=_u(e,s))),t===1))throw n=si,Gr(e,0),Jn(e,r),ft(e,Ae()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(I(345));case 2:Mr(e,at,bn);break;case 3:if(Jn(e,r),(r&130023424)===r&&(t=Jd+500-Ae(),10<t)){if(Ra(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){rt(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=du(Mr.bind(null,e,at,bn),t);break}Mr(e,at,bn);break;case 4:if(Jn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-Yt(r);s=1<<i,i=t[i],i>o&&(o=i),r&=~s}if(r=o,r=Ae()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Wb(r/1960))-r,10<r){e.timeoutHandle=du(Mr.bind(null,e,at,bn),r);break}Mr(e,at,bn);break;case 5:Mr(e,at,bn);break;default:throw Error(I(329))}}}return ft(e,Ae()),e.callbackNode===n?kv.bind(null,e):null}function _u(e,t){var n=Ls;return e.current.memoizedState.isDehydrated&&(Gr(e,t).flags|=256),e=Ka(e,t),e!==2&&(t=at,at=n,t!==null&&Au(t)),e}function Au(e){at===null?at=e:at.push.apply(at,e)}function Hb(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],s=o.getSnapshot;o=o.value;try{if(!Zt(s(),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 Jn(e,t){for(t&=~Zd,t&=~hl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Yt(t),r=1<<n;e[n]=-1,t&=~r}}function dh(e){if(ae&6)throw Error(I(327));Do();var t=Ra(e,0);if(!(t&1))return ft(e,Ae()),null;var n=Ka(e,t);if(e.tag!==0&&n===2){var r=ru(e);r!==0&&(t=r,n=_u(e,r))}if(n===1)throw n=si,Gr(e,0),Jn(e,t),ft(e,Ae()),n;if(n===6)throw Error(I(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Mr(e,at,bn),ft(e,Ae()),null}function ef(e,t){var n=ae;ae|=1;try{return e(t)}finally{ae=n,ae===0&&(ns=Ae()+500,ul&&Nr())}}function Zr(e){ar!==null&&ar.tag===0&&!(ae&6)&&Do();var t=ae;ae|=1;var n=Ot.transition,r=fe;try{if(Ot.transition=null,fe=1,e)return e()}finally{fe=r,Ot.transition=n,ae=t,!(ae&6)&&Nr()}}function tf(){mt=_o.current,xe(_o)}function Gr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,bb(n)),Oe!==null)for(n=Oe.return;n!==null;){var r=n;switch(Fd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Oa();break;case 3:es(),xe(ut),xe(Je),Wd();break;case 5:Bd(r);break;case 4:es();break;case 13:xe(Ne);break;case 19:xe(Ne);break;case 10:zd(r.type._context);break;case 22:case 23:tf()}n=n.return}if(Ve=e,Oe=e=gr(e.current,null),He=mt=t,ze=0,si=null,Zd=hl=Xr=0,at=Ls=null,Lr!==null){for(t=0;t<Lr.length;t++)if(n=Lr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=o,r.next=i}n.pending=r}Lr=null}return e}function Rv(e,t){do{var n=Oe;try{if(Ld(),fa.current=Ba,Va){for(var r=Pe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Va=!1}if(Yr=0,$e=De=Pe=null,Ms=!1,ni=0,Xd.current=null,n===null||n.return===null){ze=1,si=t,Oe=null;break}e:{var s=e,i=n.return,a=n,c=t;if(t=He,a.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,f=a,p=f.tag;if(!(f.mode&1)&&(p===0||p===11||p===15)){var m=f.alternate;m?(f.updateQueue=m.updateQueue,f.memoizedState=m.memoizedState,f.lanes=m.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=Zp(i);if(h!==null){h.flags&=-257,Jp(h,i,a,s,t),h.mode&1&&Xp(s,u,t),t=h,c=u;var w=t.updateQueue;if(w===null){var x=new Set;x.add(c),t.updateQueue=x}else w.add(c);break e}else{if(!(t&1)){Xp(s,u,t),nf();break e}c=Error(I(426))}}else if(Ce&&a.mode&1){var b=Zp(i);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Jp(b,i,a,s,t),Md(ts(c,a));break e}}s=c=ts(c,a),ze!==4&&(ze=2),Ls===null?Ls=[s]:Ls.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var y=fv(s,c,t);Hp(s,y);break e;case 1:a=c;var g=s.type,v=s.stateNode;if(!(s.flags&128)&&(typeof g.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(hr===null||!hr.has(v)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=pv(s,a,t);Hp(s,S);break e}}s=s.return}while(s!==null)}Av(n)}catch(C){t=C,Oe===n&&n!==null&&(Oe=n=n.return);continue}break}while(!0)}function Tv(){var e=Wa.current;return Wa.current=Ba,e===null?Ba:e}function nf(){(ze===0||ze===3||ze===2)&&(ze=4),Ve===null||!(Xr&268435455)&&!(hl&268435455)||Jn(Ve,He)}function Ka(e,t){var n=ae;ae|=2;var r=Tv();(Ve!==e||He!==t)&&(bn=null,Gr(e,t));do try{Gb();break}catch(o){Rv(e,o)}while(!0);if(Ld(),ae=n,Wa.current=r,Oe!==null)throw Error(I(261));return Ve=null,He=0,ze}function Gb(){for(;Oe!==null;)_v(Oe)}function Kb(){for(;Oe!==null&&!y1();)_v(Oe)}function _v(e){var t=Ov(e.alternate,e,mt);e.memoizedProps=e.pendingProps,t===null?Av(e):Oe=t,Xd.current=null}function Av(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=$b(n,t),n!==null){n.flags&=32767,Oe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ze=6,Oe=null;return}}else if(n=zb(n,t,mt),n!==null){Oe=n;return}if(t=t.sibling,t!==null){Oe=t;return}Oe=t=e}while(t!==null);ze===0&&(ze=5)}function Mr(e,t,n){var r=fe,o=Ot.transition;try{Ot.transition=null,fe=1,Qb(e,t,n,r)}finally{Ot.transition=o,fe=r}return null}function Qb(e,t,n,r){do Do();while(ar!==null);if(ae&6)throw Error(I(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(I(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(k1(e,s),e===Ve&&(Oe=Ve=null,He=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Qi||(Qi=!0,Fv(ka,function(){return Do(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=Ot.transition,Ot.transition=null;var i=fe;fe=1;var a=ae;ae|=4,Xd.current=null,Vb(e,n),jv(n,e),hb(cu),Ta=!!lu,cu=lu=null,e.current=n,Bb(n),x1(),ae=a,fe=i,Ot.transition=s}else e.current=n;if(Qi&&(Qi=!1,ar=e,Ga=o),s=e.pendingLanes,s===0&&(hr=null),S1(n.stateNode),ft(e,Ae()),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(Ha)throw Ha=!1,e=Ru,Ru=null,e;return Ga&1&&e.tag!==0&&Do(),s=e.pendingLanes,s&1?e===Tu?zs++:(zs=0,Tu=e):zs=0,Nr(),null}function Do(){if(ar!==null){var e=fg(Ga),t=Ot.transition,n=fe;try{if(Ot.transition=null,fe=16>e?16:e,ar===null)var r=!1;else{if(e=ar,ar=null,Ga=0,ae&6)throw Error(I(331));var o=ae;for(ae|=4,U=e.current;U!==null;){var s=U,i=s.child;if(U.flags&16){var a=s.deletions;if(a!==null){for(var c=0;c<a.length;c++){var u=a[c];for(U=u;U!==null;){var f=U;switch(f.tag){case 0:case 11:case 15:Ds(8,f,s)}var p=f.child;if(p!==null)p.return=f,U=p;else for(;U!==null;){f=U;var m=f.sibling,h=f.return;if(Cv(f),f===u){U=null;break}if(m!==null){m.return=h,U=m;break}U=h}}}var w=s.alternate;if(w!==null){var x=w.child;if(x!==null){w.child=null;do{var b=x.sibling;x.sibling=null,x=b}while(x!==null)}}U=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,U=i;else e:for(;U!==null;){if(s=U,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Ds(9,s,s.return)}var y=s.sibling;if(y!==null){y.return=s.return,U=y;break e}U=s.return}}var g=e.current;for(U=g;U!==null;){i=U;var v=i.child;if(i.subtreeFlags&2064&&v!==null)v.return=i,U=v;else e:for(i=g;U!==null;){if(a=U,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:pl(9,a)}}catch(C){Re(a,a.return,C)}if(a===i){U=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,U=S;break e}U=a.return}}if(ae=o,Nr(),fn&&typeof fn.onPostCommitFiberRoot=="function")try{fn.onPostCommitFiberRoot(sl,e)}catch{}r=!0}return r}finally{fe=n,Ot.transition=t}}return!1}function fh(e,t,n){t=ts(n,t),t=fv(e,t,1),e=pr(e,t,1),t=rt(),e!==null&&(xi(e,1,t),ft(e,t))}function Re(e,t,n){if(e.tag===3)fh(e,e,n);else for(;t!==null;){if(t.tag===3){fh(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=ts(n,e),e=pv(t,e,1),t=pr(t,e,1),e=rt(),t!==null&&(xi(t,1,e),ft(t,e));break}}t=t.return}}function qb(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=rt(),e.pingedLanes|=e.suspendedLanes&n,Ve===e&&(He&n)===n&&(ze===4||ze===3&&(He&130023424)===He&&500>Ae()-Jd?Gr(e,0):Zd|=n),ft(e,t)}function Iv(e,t){t===0&&(e.mode&1?(t=Li,Li<<=1,!(Li&130023424)&&(Li=4194304)):t=1);var n=rt();e=On(e,t),e!==null&&(xi(e,t,n),ft(e,n))}function Yb(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Iv(e,n)}function Xb(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(I(314))}r!==null&&r.delete(t),Iv(e,n)}var Ov;Ov=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ut.current)lt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return lt=!1,Lb(e,t,n);lt=!!(e.flags&131072)}else lt=!1,Ce&&t.flags&1048576&&Lg(t,Da,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ha(e,t),e=t.pendingProps;var o=Xo(t,Je.current);Mo(t,n),o=Gd(null,t,r,e,o,n);var s=Kd();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,dt(r)?(s=!0,Fa(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ud(t),o.updater=fl,t.stateNode=o,o._reactInternals=t,yu(t,r,e,n),t=bu(null,t,r,!0,s,n)):(t.tag=0,Ce&&s&&Od(t),et(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ha(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Jb(r),e=Ht(r,e),o){case 0:t=wu(null,t,r,e,n);break e;case 1:t=nh(null,t,r,e,n);break e;case 11:t=eh(null,t,r,e,n);break e;case 14:t=th(null,t,r,Ht(r.type,e),n);break e}throw Error(I(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ht(r,o),wu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ht(r,o),nh(e,t,r,o,n);case 3:e:{if(vv(t),e===null)throw Error(I(387));r=t.pendingProps,s=t.memoizedState,o=s.element,Wg(e,t),$a(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=ts(Error(I(423)),t),t=rh(e,t,r,n,o);break e}else if(r!==o){o=ts(Error(I(424)),t),t=rh(e,t,r,n,o);break e}else for(vt=fr(t.stateNode.containerInfo.firstChild),yt=t,Ce=!0,qt=null,n=Vg(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Zo(),r===o){t=Fn(e,t,n);break e}et(e,t,r,n)}t=t.child}return t;case 5:return Hg(t),e===null&&mu(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,uu(r,o)?i=null:s!==null&&uu(r,s)&&(t.flags|=32),gv(e,t),et(e,t,i,n),t.child;case 6:return e===null&&mu(t),null;case 13:return yv(e,t,n);case 4:return Vd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Jo(t,null,r,n):et(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ht(r,o),eh(e,t,r,o,n);case 7:return et(e,t,t.pendingProps,n),t.child;case 8:return et(e,t,t.pendingProps.children,n),t.child;case 12:return et(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,ge(La,r._currentValue),r._currentValue=i,s!==null)if(Zt(s.value,i)){if(s.children===o.children&&!ut.current){t=Fn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(s.tag===1){c=Pn(-1,n&-n),c.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?c.next=c:(c.next=f.next,f.next=c),u.pending=c}}s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),gu(s.return,n,t),a.lanes|=n;break}c=c.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(I(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),gu(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}et(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Mo(t,n),o=Ft(o),r=r(o),t.flags|=1,et(e,t,r,n),t.child;case 14:return r=t.type,o=Ht(r,t.pendingProps),o=Ht(r.type,o),th(e,t,r,o,n);case 15:return hv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ht(r,o),ha(e,t),t.tag=1,dt(r)?(e=!0,Fa(t)):e=!1,Mo(t,n),dv(t,r,o),yu(t,r,o,n),bu(null,t,r,!0,e,n);case 19:return xv(e,t,n);case 22:return mv(e,t,n)}throw Error(I(156,t.tag))};function Fv(e,t){return lg(e,t)}function Zb(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 It(e,t,n,r){return new Zb(e,t,n,r)}function rf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jb(e){if(typeof e=="function")return rf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Sd)return 11;if(e===Cd)return 14}return 2}function gr(e,t){var n=e.alternate;return n===null?(n=It(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deleti
vendor: 4,548 bytes, line 40
40ons=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function va(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")rf(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case bo:return Kr(n.children,o,s,t);case bd:i=8,o|=8;break;case Vc:return e=It(12,n,t,o|2),e.elementType=Vc,e.lanes=s,e;case Bc:return e=It(13,n,t,o),e.elementType=Bc,e.lanes=s,e;case Wc:return e=It(19,n,t,o),e.elementType=Wc,e.lanes=s,e;case Hm:return ml(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Bm:i=10;break e;case Wm:i=9;break e;case Sd:i=11;break e;case Cd:i=14;break e;case Yn:i=16,r=null;break e}throw Error(I(130,e==null?e:typeof e,""))}return t=It(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function Kr(e,t,n,r){return e=It(7,e,r,t),e.lanes=n,e}function ml(e,t,n,r){return e=It(22,e,r,t),e.elementType=Hm,e.lanes=n,e.stateNode={isHidden:!1},e}function Cc(e,t,n){return e=It(6,e,null,t),e.lanes=n,e}function Ec(e,t,n){return t=It(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function eS(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=oc(0),this.expirationTimes=oc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oc(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function of(e,t,n,r,o,s,i,a,c){return e=new eS(e,t,n,a,c),t===1?(t=1,s===!0&&(t|=8)):t=0,s=It(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ud(s),e}function tS(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:wo,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Mv(e){if(!e)return wr;e=e._reactInternals;e:{if(io(e)!==e||e.tag!==1)throw Error(I(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(dt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(I(171))}if(e.tag===1){var n=e.type;if(dt(n))return Mg(e,n,t)}return t}function Dv(e,t,n,r,o,s,i,a,c){return e=of(n,r,!0,e,o,s,i,a,c),e.context=Mv(null),n=e.current,r=rt(),o=mr(n),s=Pn(r,o),s.callback=t??null,pr(n,s,o),e.current.lanes=o,xi(e,o,r),ft(e,r),e}function gl(e,t,n,r){var o=t.current,s=rt(),i=mr(o);return n=Mv(n),t.context===null?t.context=n:t.pendingContext=n,t=Pn(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=pr(o,t,i),e!==null&&(Xt(e,o,i,s),da(e,o,i)),i}function Qa(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 ph(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function sf(e,t){ph(e,t),(e=e.alternate)&&ph(e,t)}function nS(){return null}var Lv=typeof reportError=="function"?reportError:function(e){console.error(e)};function af(e){this._internalRoot=e}vl.prototype.render=af.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(I(409));gl(e,t,null,null)};vl.prototype.unmount=af.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Zr(function(){gl(null,e,null,null)}),t[In]=null}};function vl(e){this._internalRoot=e}vl.prototype.unstable_scheduleHydration=function(e){if(e){var t=mg();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Zn.length&&t!==0&&t<Zn[n].priority;n++);Zn.splice(n,0,e),n===0&&vg(e)}};function lf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function yl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function hh(){}function rS(e,t,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var u=Qa(i);s.call(u)}}var i=Dv(t,r,e,0,null,!1,!1,"",hh);return e._reactRootContainer=i,e[In]=i.current,Xs(e.nodeType===8?e.parentNode:e),Zr(),i}for(;
vendor: 5,149 bytes, line 40
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=Qa(c);a.call(u)}}var c=of(e,0,!1,null,null,!1,!1,"",hh);return e._reactRootContainer=c,e[In]=c.current,Xs(e.nodeType===8?e.parentNode:e),Zr(function(){gl(t,c,n,r)}),c}function xl(e,t,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var a=o;o=function(){var c=Qa(i);a.call(c)}}gl(t,i,e,o)}else i=rS(n,t,e,o,r);return Qa(i)}pg=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ps(t.pendingLanes);n!==0&&(jd(t,n|1),ft(t,Ae()),!(ae&6)&&(ns=Ae()+500,Nr()))}break;case 13:Zr(function(){var r=On(e,1);if(r!==null){var o=rt();Xt(r,e,1,o)}}),sf(e,1)}};Pd=function(e){if(e.tag===13){var t=On(e,134217728);if(t!==null){var n=rt();Xt(t,e,134217728,n)}sf(e,134217728)}};hg=function(e){if(e.tag===13){var t=mr(e),n=On(e,t);if(n!==null){var r=rt();Xt(n,e,t,r)}sf(e,t)}};mg=function(){return fe};gg=function(e,t){var n=fe;try{return fe=e,t()}finally{fe=n}};eu=function(e,t,n){switch(t){case"input":if(Kc(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=cl(r);if(!o)throw Error(I(90));Km(r),Kc(r,o)}}}break;case"textarea":qm(e,n);break;case"select":t=n.value,t!=null&&Ao(e,!!n.multiple,t,!1)}};ng=ef;rg=Zr;var oS={usingClientEntryPoint:!1,Events:[bi,No,cl,eg,tg,ef]},Ss={findFiberByHostInstance:Dr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},sS={bundleType:Ss.bundleType,version:Ss.version,rendererPackageName:Ss.rendererPackageName,rendererConfig:Ss.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:zn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ig(e),e===null?null:e.stateNode},findFiberByHostInstance:Ss.findFiberByHostInstance||nS,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 qi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qi.isDisabled&&qi.supportsFiber)try{sl=qi.inject(sS),fn=qi}catch{}}bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oS;bt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!lf(t))throw Error(I(200));return tS(e,t,null,n)};bt.createRoot=function(e,t){if(!lf(e))throw Error(I(299));var n=!1,r="",o=Lv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=of(e,1,!1,null,null,n,!1,r,o),e[In]=t.current,Xs(e.nodeType===8?e.parentNode:e),new af(t)};bt.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(I(188)):(e=Object.keys(e).join(","),Error(I(268,e)));return e=ig(t),e=e===null?null:e.stateNode,e};bt.flushSync=function(e){return Zr(e)};bt.hydrate=function(e,t,n){if(!yl(t))throw Error(I(200));return xl(null,e,t,!0,n)};bt.hydrateRoot=function(e,t,n){if(!lf(e))throw Error(I(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=Lv;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Dv(t,null,e,1,n??null,o,!1,s,i),e[In]=t.current,Xs(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new vl(t)};bt.render=function(e,t,n){if(!yl(t))throw Error(I(200));return xl(null,e,t,!1,n)};bt.unmountComponentAtNode=function(e){if(!yl(e))throw Error(I(40));return e._reactRootContainer?(Zr(function(){xl(null,null,e,!1,function(){e._reactRootContainer=null,e[In]=null})}),!0):!1};bt.unstable_batchedUpdates=ef;bt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!yl(n))throw Error(I(200));if(e==null||e._reactInternals===void 0)throw Error(I(38));return xl(e,t,n,!1,r)};bt.version="18.3.1-next-f1338f8080-20240426";function zv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(zv)}catch(e){console.error(e)}}zv(),zm.exports=bt;var jr=zm.exports;const iS=Pm(jr);var $v,mh=jr;$v=mh.createRoot,mh.hydrateRoot;const aS=1,lS=1e6;let Nc=0;function cS(){return Nc=(Nc+1)%Number.MAX_SAFE_INTEGER,Nc.toString()}const jc=new Map,gh=e=>{if(jc.has(e))return;const t=setTimeout(()=>{jc.delete(e),$s({type:"REMOVE_TOAST",toastId:e})},lS);jc.set(e,t)},uS=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,aS)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
40return n?gh(n):e.toasts.forEach(r=>{gh(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},ya=[];let xa={toasts:[]};function $s(e){xa=uS(xa,e),ya.forEach(t=>{t(xa)})}function cf({...e}){const t=cS(),n=o=>$s({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>$s({type:"DISMISS_TOAST",toastId:t});return $s({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function Uv(){const[e,t]=d.useState(xa);return d.useEffect(()=>(ya.push(t),()=>{const n=ya.indexOf(t);n>-1&&ya.splice(n,1)}),[e]),{...e,toast:cf,dismiss:n=>$s({type:"DISMISS_TOAST",toastId:n})}}var dS=Object.defineProperty,ls=(e,t)=>dS(e,"name",{value:t,configurable:!0}),Vv=!!(typeof window<"u"&&window.document&&window.document.createElement);function B(e,t,{checkForDefaultPrevented:n=!0}={}){return ls(function(o){if(e==null||e(o),n===!1||!o||!o.defaultPrevented)return t==null?void 0:t(o)},"handleEvent")}ls(B,"composeEventHandlers");function fS(e){var t;if(!Vv)throw new Error("Cannot access window outside of the DOM");return((t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)??window}ls(fS,"getOwnerWindow");function Iu(e){if(!Vv)throw new Error("Cannot access document outside of the DOM");return(e==null?void 0:e.ownerDocument)??document}ls(Iu,"getOwnerDocument");function Bv(e,t=!1){const{activeElement:n}=Iu(e);if(!(n!=null&&n.nodeName))return null;if(Wv(n)&&n.contentDocument)return Bv(n.contentDocument.body,t);if(t){const r=n.getAttribute("aria-activedescendant");if(r){const o=Iu(n).getElementById(r);if(o)return o}}return n}ls(Bv,"getActiveElement");function Wv(e){return e.tagName==="IFRAME"}ls(Wv,"isFrame");var pS=Object.defineProperty,uf=(e,t)=>pS(e,"name",{value:t,configurable:!0});function Ou(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}uf(Ou,"setRef");function Hv(...e){return t=>{let n=!1;const r=e.map(o=>{const s=Ou(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():Ou(e[o],null)}}}}uf(Hv,"composeRefs");function ee(...e){return d.useCallback(Hv(...e),e)}uf(ee,"useComposedRefs");var hS=Object.defineProperty,At=(e,t)=>hS(e,"name",{value:t,configurable:!0});function mS(e,t){const n=d.createContext(t);n.displayName=e+"Context";const r=At(s=>{const{children:i,...a}=s,c=d.useMemo(()=>a,Object.values(a));return l.jsx(n.Provider,{value:c,children:i})},"Provider");r.displayName=e+"Provider";function o(s,i={}){const{optional:a=!1}=i,c=d.useContext(n);if(c)return c;if(t!==void 0)return t;if(!a)throw new Error(`\`${s}\` must be used within \`${e}\``)}return At(o,"useContext"),[r,o]}At(mS,"createContext");function ht(e,t=[]){let n=[];function r(s,i){const a=d.createContext(i);a.displayName=s+"Context";const c=n.length;n=[...n,i];const u=At(p=>{var y;const{scope:m,children:h,...w}=p,x=((y=m==null?void 0:m[e])==null?void 0:y[c])||a,b=d.useMemo(()=>w,Object.values(w));return l.jsx(x.Provider,{value:b,children:h})},"Provider");u.displayName=s+"Provider";function f(p,m,h={}){var y;const{optional:w=!1}=h,x=((y=m==null?void 0:m[e])==null?void 0:y[c])||a,b=d.useContext(x);if(b)return b;if(i!==void 0)return i;if(!w)throw new Error(`\`${p}\` must be used within \`${s}\``)}return At(f,"useContext"),[u,f]}At(r,"createContext");const o=At(()=>{const s=n.map(i=>d.createContext(i));return At(function(a){const c=(a==null?void 0:a[e])||s;return d.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])},"useScope")},"createScope");return o.scopeName=e,[r,Gv(o,...t)]}At(ht,"createContextScope");function Gv(...e){const t=e[0];if(e.length===1)return t;const n=At(()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return At(function(s){const i=r.reduce((a,{useScope:c,scopeName:u})=>{const p=c(s)[`__scope${u}`];return{...a,...p}},{});return d.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}At(Gv,"composeContextScopes");var gS=Object.defineProperty,Jt=(e,t)=>gS(e,"name",{value:t,configurable:!0});function Mn(e){const t=d.forwardRef((n,r)=>{let{children:o,...s}=n,i=null,a=!1;const c=[];Fu(o)&&typeof Yi=="function"&&(o=Yi(o._payload)),d.Children.forEac
40h(o,m=>{var h;if(Xv(m)){a=!0;const w=m;let x="child"in w.props?w.props.child:w.props.children;Fu(x)&&typeof Yi=="function"&&(x=Yi(x._payload)),i=yS(w,x),c.push((h=i==null?void 0:i.props)==null?void 0:h.children)}else c.push(m)}),i?i=d.cloneElement(i,void 0,c):!a&&d.Children.count(o)===1&&d.isValidElement(o)&&(i=o);const u=i?Yv(i):void 0,f=ee(r,u);if(!i){if(o||o===0)throw new Error(a?bS(e):wS(e));return o}const p=qv(s,i.props??{});return i.type!==d.Fragment&&(p.ref=r?f:u),d.cloneElement(i,p)});return t.displayName=`${e}.Slot`,t}Jt(Mn,"createSlot");var vS=Mn("Slot"),Kv=Symbol.for("radix.slottable");function Qv(e){const t=Jt(n=>"child"in n?n.children(n.child):n.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=Kv,t}Jt(Qv,"createSlottable");var yS=Jt((e,t)=>{if("child"in e.props){const n=e.props.child;return d.isValidElement(n)?d.cloneElement(n,void 0,e.props.children(n.props.children)):null}return d.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function qv(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const c=s(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}Jt(qv,"mergeProps");function Yv(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}Jt(Yv,"getElementRef");function Xv(e){return d.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Kv}Jt(Xv,"isSlottable");var xS=Symbol.for("react.lazy");function Fu(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===xS&&"_payload"in e&&Zv(e._payload)}Jt(Fu,"isLazyComponent");function Zv(e){return typeof e=="object"&&e!==null&&"then"in e}Jt(Zv,"isPromiseLike");var wS=Jt(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),bS=Jt(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Yi=oo[" use ".trim().toString()],SS=Object.defineProperty,Ue=(e,t)=>SS(e,"name",{value:t,configurable:!0});function Ci(e){const t=e+"CollectionProvider",[n,r]=ht(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=Ue(x=>{const{scope:b,children:y}=x,g=d.useRef(null),v=d.useRef(new Map).current;return l.jsx(o,{scope:b,itemMap:v,collectionRef:g,children:y})},"CollectionProvider");i.displayName=t;const a=e+"CollectionSlot",c=Mn(a),u=d.forwardRef((x,b)=>{const{scope:y,children:g}=x,v=s(a,y),S=ee(b,v.collectionRef);return l.jsx(c,{ref:S,children:g})});u.displayName=a;const f=e+"CollectionItemSlot",p="data-radix-collection-item",m=Mn(f),h=d.forwardRef((x,b)=>{const{scope:y,children:g,...v}=x,S=d.useRef(null),C=ee(b,S),E=s(f,y);return d.useEffect(()=>(E.itemMap.set(S,{ref:S,...v}),()=>void E.itemMap.delete(S))),l.jsx(m,{[p]:"",ref:C,children:g})});h.displayName=f;function w(x){const b=s(e+"CollectionConsumer",x);return d.useCallback(()=>{const g=b.collectionRef.current;if(!g)return[];const v=Array.from(g.querySelectorAll(`[${p}]`));return Array.from(b.itemMap.values()).sort((E,N)=>v.indexOf(E.ref.current)-v.indexOf(N.ref.current))},[b.collectionRef,b.itemMap])}return Ue(w,"useCollection"),[{Provider:i,Slot:u,ItemSlot:h},w,r]}Ue(Ci,"createCollection");var vh=new WeakMap,Ie,gt,Pc=(gt=class extends Map{constructor(n){super(n);te(this,Ie);W(this,Ie,[...super.keys()]),vh.set(this,!0)}set(n,r){return vh.get(this)&&(this.has(n)?P(this,Ie)[P(this,Ie).indexOf(n)]=n:P(this,Ie).push(n)),super.set(n,r),this}insert(n,r,o){const s=this.has(r),i=P(this,Ie).length,a=df(n);let c=a>=0?a:i+a;const u=c<0||c>=i?-1:c;if(u===this.size||s&&u===this.size-1||u===-1)return this.set(r,o),this;const f=this.size+(s?0:1);a<0&&c++;const p=[...P(this,Ie)];let m,h=!1;for(let w=c;w<f;w++)if(c===w){let x=p[w];p[w]===r&&(x=p[w+1]),s&&this.delete(r),m=this.get(x),this.set(r,o)}else{!h&&p[w-1]===r&&(h=!0);const x=p[h?w:w-1],b=m;m=this.get(x),this.delete(x),this.set(x,b)}return this}with(n,r,o){const s=new gt(this);return s.insert(n,r,o),s}before(n){const r=P(this,Ie).indexOf(n)-1;if(!(r<0))return this.entryAt(r)}setBefore(n,r,o){const s=P(this,Ie).indexOf(n);return s===-1?this:this.insert(s,r,o)}after(n){let r=P(this,Ie).indexOf(n);if(r=r===-1||r===this.size-1?-1:r+1,r!==-1)return this.entryAt(r)}setAfter(n,r,o){const s=P(this,Ie).indexOf(n);return s===-1?this:this.insert(s+1,r,o)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return W(this,Ie,[]),super.clear()}delete(n){const r=super.delete(n);return r&&P(this,Ie).splice(P(this,Ie).indexOf(n),1),r}deleteAt(n){const r=this.keyAt(n);return r!==void 0?this.delete(r):!1}at(n){const r=wa(P(this,Ie),n);if(r!==void 0)return this.get(r)}entryAt(n){const r=wa(P(this,Ie),n);if(r!==void 0)return[r,this.get(r)]}indexOf(n){return P(this,Ie).indexOf(n)}keyAt(n){return wa(P(this,Ie),n)}from(n,r){const o=this.indexOf(n);if(o===-1)return;let s=o+r;return s<0&&(s=0),s>=this.size&&(s=this.size-1),this.at(s)}keyFrom(n,r){const o=this.indexOf(n);if(o===-1)return;let s=o+r;return s<0&&(s=0),s>=this.size&&(s=this.size-1),this.keyAt(s)}find(n,r){let o=0;for(const s of this){if(Reflect.apply(n,r,[s,o,this]))return s;o++}}findIndex(n,r){let o=0;for(const s of this){if(Reflect.apply(n,r,[s,o,this]))return o;o++}return-1}filter(n,r){const o=[];let s=0;for(const i of this)Reflect.apply(n,r,[i,s,this])&&o.push(i),s++;
40return new gt(o)}map(n,r){const o=[];let s=0;for(const i of this)o.push([i[0],Reflect.apply(n,r,[i,s,this])]),s++;return new gt(o)}reduce(...n){const[r,o]=n;let s=0,i=o??this.at(0);for(const a of this)s===0&&n.length===1?i=a:i=Reflect.apply(r,this,[i,a,s,this]),s++;return i}reduceRight(...n){const[r,o]=n;let s=o??this.at(-1);for(let i=this.size-1;i>=0;i--){const a=this.at(i);i===this.size-1&&n.length===1?s=a:s=Reflect.apply(r,this,[s,a,i,this])}return s}toSorted(n){const r=[...this.entries()].sort(n);return new gt(r)}toReversed(){const n=new gt;for(let r=this.size-1;r>=0;r--){const o=this.keyAt(r),s=this.get(o);n.set(o,s)}return n}toSpliced(...n){const r=[...this.entries()];return r.splice(...n),new gt(r)}slice(n,r){const o=new gt;let s=this.size-1;if(n===void 0)return o;n<0&&(n=n+this.size),r!==void 0&&r>0&&(s=r-1);for(let i=n;i<=s;i++){const a=this.keyAt(i),c=this.get(a);o.set(a,c)}return o}every(n,r){let o=0;for(const s of this){if(!Reflect.apply(n,r,[s,o,this]))return!1;o++}return!0}some(n,r){let o=0;for(const s of this){if(Reflect.apply(n,r,[s,o,this]))return!0;o++}return!1}},Ie=new WeakMap,Ue(gt,"OrderedDict"),gt);function wa(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);const n=Jv(e,t);return n===-1?void 0:e[n]}Ue(wa,"at");function Jv(e,t){const n=e.length,r=df(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}Ue(Jv,"toSafeIndex");function df(e){return e!==e||e===0?0:Math.trunc(e)}Ue(df,"toSafeInteger");function CS(e){const t=e+"CollectionProvider",[n,r]=ht(t),[o,s]=n(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new Pc,setItemMap:Ue(()=>{},"setItemMap")}),i=Ue(({state:v,...S})=>v?l.jsx(c,{...S,state:v}):l.jsx(a,{...S}),"CollectionProvider");i.displayName=t;const a=Ue(v=>{const S=b();return l.jsx(c,{...v,state:S})},"CollectionInit");a.displayName=t+"Init";const c=Ue(v=>{const{scope:S,children:C,state:E}=v,N=d.useRef(null),[j,R]=d.useState(null),k=ee(N,R),[M,A]=E;return d.useEffect(()=>{if(!j)return;const z=ny(()=>{});return z.observe(j,{childList:!0,subtree:!0}),()=>{z.disconnect()}},[j]),l.jsx(o,{scope:S,itemMap:M,setItemMap:A,collectionRef:k,collectionRefObject:N,collectionElement:j,children:C})},"CollectionProviderImpl");c.displayName=t+"Impl";const u=e+"CollectionSlot",f=Mn(u),p=d.forwardRef((v,S)=>{const{scope:C,children:E}=v,N=s(u,C),j=ee(S,N.collectionRef);return l.jsx(f,{ref:j,children:E})});p.displayName=u;const m=e+"CollectionItemSlot",h="data-radix-collection-item",w=Mn(m),x=d.forwardRef((v,S)=>{const{scope:C,children:E,...N}=v,j=d.useRef(null),[R,k]=d.useState(null),M=ee(S,j,k),A=s(m,C),{setItemMap:z}=A,V=d.useRef(N);ey(V.current,N)||(V.current=N);const X=V.current;return d.useEffect(()=>{const O=X;return z(L=>R?L.has(R)?L.set(R,{...O,element:R}).toSorted(Mu):(L.set(R,{...O,element:R}),L.toSorted(Mu)):L),()=>{z(L=>!R||!L.has(R)?L:(L.delete(R),new Pc(L)))}},[R,X,z]),l.jsx(w,{[h]:"",ref:M,children:E})});x.displayName=m;function b(){return d.useState(new Pc)}Ue(b,"useInitCollection");function y(v){const{itemMap:S}=s(e+"CollectionConsumer",v);return S}return Ue(y,"useCollection"),[{Provider:i,Slot:p,ItemSlot:x},{createCollectionScope:r,useCollection:y,useInitCollection:b}]}Ue(CS,"createCollection");function ey(e,t){if(e===t)return!0;if(typeof e!="object"||typeof t!="object"||e==null||t==null)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const o of n)if(!Object.prototype.hasOwnProperty.call(t,o)||e[o]!==t[o])return!1;return!0}Ue(ey,"shallowEqual");function ty(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}Ue(ty,"isElementPreceding");function Mu(e,t){return!e[1].element||!t[1].element?0:ty(e[1].element,t[1].element)?-1:1}Ue(Mu,"sortByDocumentPosition");function ny(e){return new MutationObserver(n=>{for(const r of n)if(r.type==="childList"){e();return}})}Ue(ny,"getChildListObserver");var ES=Object.defineProperty,NS=(e,t)=>ES(e,"name",{value:t,configurable:!0}),jS=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Q=jS.reduce((e,t)=>
40{const n=Mn(`Primitive.${t}`),r=d.forwardRef((o,s)=>{const{asChild:i,...a}=o,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function ff(e,t){e&&jr.flushSync(()=>e.dispatchEvent(t))}NS(ff,"dispatchDiscreteCustomEvent");var PS=Object.defineProperty,kS=(e,t)=>PS(e,"name",{value:t,configurable:!0});function Te(e){const t=d.useRef(e);return d.useEffect(()=>{t.current=e}),d.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}kS(Te,"useCallbackRef");var RS=Object.defineProperty,Le=(e,t)=>RS(e,"name",{value:t,configurable:!0}),Du="dismissableLayer.update",TS="dismissableLayer.pointerDownOutside",_S="dismissableLayer.focusOutside",yh,pf=d.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),wl=d.forwardRef(Le(function(t,n){const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:c,onDismiss:u,...f}=t,p=d.useContext(pf),[m,h]=d.useState(null),w=(m==null?void 0:m.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,x]=d.useState({}),b=ee(n,h),y=Array.from(p.layers),[g]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),v=g?y.indexOf(g):-1,S=m?y.indexOf(m):-1,C=p.layersWithOutsidePointerEventsDisabled.size>0,E=S>=v,N=d.useRef(!1),j=oy(A=>{i==null||i(A),c==null||c(A),A.defaultPrevented||u==null||u()},{ownerDocument:w,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:N,dismissableSurfaces:p.dismissableSurfaces,shouldHandlePointerDownOutside:d.useCallback(A=>{if(!(A instanceof Node))return!1;const z=[...p.branches].some(V=>V.contains(A));return E&&!z},[p.branches,E])}),R=sy(A=>{if(o&&N.current)return;const z=A.target;[...p.branches].some(X=>X.contains(z))||(a==null||a(A),c==null||c(A),A.defaultPrevented||u==null||u())},w),k=m?S===y.length-1:!1,M=Te(A=>{A.key==="Escape"&&(s==null||s(A),!A.defaultPrevented&&u&&(A.preventDefault(),u()))});return d.useEffect(()=>{if(k)return w.addEventListener("keydown",M,{capture:!0}),()=>w.removeEventListener("keydown",M,{capture:!0})},[w,k,M]),d.useEffect(()=>{if(m)return r&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(yh=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),Lu(),()=>{r&&(p.layersWithOutsidePointerEventsDisabled.delete(m),p.layersWithOutsidePointerEventsDisabled.size===0&&(w.body.style.pointerEvents=yh))}},[m,w,r,p]),d.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),Lu())},[m,p]),d.useEffect(()=>{const A=Le(()=>x({}),"handleUpdate");return document.addEventListener(Du,A),()=>document.removeEventListener(Du,A)},[]),l.jsx(Q.div,{...f,ref:b,style:{pointerEvents:C?E?"auto":"none":void 0,...t.style},onFocusCapture:B(t.onFocusCapture,R.onFocusCapture),onBlurCapture:B(t.onBlurCapture,R.onBlurCapture),onPointerDownCapture:B(t.onPointerDownCapture,j.onPointerDownCapture)})},"DismissableLayer")),AS=d.forwardRef(Le(function(t,n){const r=d.useContext(pf),o=d.useRef(null),s=ee(n,o);return d.useEffect(()=>{const i=o.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),l.jsx(Q.div,{...t,ref:s})},"DismissableLayerBranch"));function ry(){const e=d.useContext(pf),[t,n]=d.useState(null);return d.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}Le(ry,"useDismissableLayerSurface");var IS=Le(()=>!0,"IS_TRUE");function oy(e,t){const{ownerDocument:n=globalThis==null?void 0:globalThis.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:s,shouldHandlePointerDownOutside:i=IS}=t,a=Te(e),c=d.useRef(!1),u=d.useRef(!1),f=d.useRef(new Map),p=d.useRef(()=>{});return d.useEffect(()=>{function m(){u.current=!1,o.current=!1,f.current.clear()}Le(m,"resetOutsideInteraction");function h(){return Array.from(f.current.values()).some(Boolean)}Le(h,"isOutsideInteractionIntercepted");function w(v){if(!u.current)return;const S=v.target;S instanceof Node&&[...s].some(E=>E.contains(S))||f.current.set(v.type,!0),v.type==="click"&&window.setTimeout(()=>{u.current&&p.current()},0)}Le(w,"handleInteractionCapture");function x(v){u.current&&f.current.set(v.type,!1)}Le(x,"handleInteractionBubble");const b=Le(v=>{if(v.target&&!c.current){let S=function(){n.removeEventListener("click",p.current);const E=h();m(),E||hf(TS,a,C,{discrete:!0})};if(Le(S,"handleAndDispatchPointerDownOutsideEvent"),!i(v.target)){n.removeEventListener("click",p.current),m(),c.current=!1;return}const C={originalEvent:v};u.current=!0,o.current=r&&v.button===0,f.current.clear(),!r||v.button!==0?S():(n.removeEventListener("click",p.current),p.current=S,n.addEventListener("click",p.current,{once:!0}))}else n.removeEventListener("click",p.current),m();c.current=!1},"handlePointerDown"),y=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const v of y)n.addEventListener(v,w,!0),n.addEventListener(v,x);const g=window.setTimeout(()=>{n.addEventListener("pointerdown",b)},0);return()=>{window.clearTimeout(g),n.removeEventListener("pointerdown",b),n.removeEventListener("click",p.current);for(const v of y)n.removeEventListener(v,w,!0),n.removeEventListener(v,x)}},[n,a,r,o,s,i]),{onPointerDownCapture:Le(()=>c.current=!0,"onPointerDownCapture")}}Le(oy,"usePointerDownOutside");function sy(e,t=globalThis==null?void 0:globalThis.document){const n=Te(e),r=d.useRef(!1);return d.useEffect(()=>{const o=Le(s=>{s.target&&!r.current&&hf(_S,n,{originalEvent:s},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:Le(()=>r.current=!0,"onFocusCapture"),onBlurCapture:Le(()=>r.current=!1,"onBlurCapture")}}Le(sy,"useFocusOutside");function Lu(){const e=new CustomEvent(Du);document.dispatchEvent(e)}Le(Lu,"dispatchUpdate");function hf(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ff(o,s):o.dispatchEvent(s)}Le(hf,"handleAndDispatchCustomEvent");var OS=wl,FS=AS,we=globalThis!=null&&globalThis.document?d.useLayoutEffect:()=>{},MS=Object.defineProperty,DS=(e,t)=>MS(e,"name",{value:t,configurable:!0}),mf=d.forwardRef(DS(function(t,n){var c;const{container:r,...o}
40=t,[s,i]=d.useState(!1);we(()=>i(!0),[]);const a=r||s&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return a?jr.createPortal(l.jsx(Q.div,{...o,ref:n}),a):null},"Portal")),LS=Object.defineProperty,Dn=(e,t)=>LS(e,"name",{value:t,configurable:!0});function iy(e,t){return d.useReducer((n,r)=>t[n][r]??n,e)}Dn(iy,"useStateMachine");var Dt=Dn(e=>{const{present:t,children:n}=e,r=ay(t),o=typeof n=="function"?n({present:r.isPresent}):d.Children.only(n),s=ly(r.ref,cy(o));return typeof n=="function"||r.isPresent?d.cloneElement(o,{ref:s}):null},"Presence");function ay(e){const[t,n]=d.useState(),r=d.useRef(null),o=d.useRef(e),s=d.useRef("none"),i=d.useRef(void 0),a=e?"mounted":"unmounted",[c,u]=iy(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.useEffect(()=>{c==="mounted"?(s.current=i.current??xo(r.current),i.current=void 0):s.current="none"},[c]),we(()=>{const f=r.current,p=o.current;if(p!==e){const h=s.current,w=xo(f);e?(i.current=w,u("MOUNT")):w==="none"||(f==null?void 0:f.display)==="none"?u("UNMOUNT"):u(p&&h!==w?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),we(()=>{if(t){let f;const p=t.ownerDocument.defaultView??window,m=Dn(w=>{const b=xo(r.current).includes(CSS.escape(w.animationName));if(w.target===t&&b&&(u("ANIMATION_END"),!o.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",f=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},"handleAnimationEnd"),h=Dn(w=>{w.target===t&&(s.current=xo(r.current))},"handleAnimationStart");return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{p.clearTimeout(f),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:d.useCallback(f=>{if(f){const p=getComputedStyle(f);r.current=p,i.current=xo(p)}else r.current=null;n(f)},[])}}Dn(ay,"usePresence");function zu(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}Dn(zu,"setRef");function ly(...e){const t=d.useRef(e);return t.current=e,d.useCallback(n=>{const r=t.current;let o=!1;const s=r.map(i=>{const a=zu(i,n);return!o&&typeof a=="function"&&(o=!0),a});if(o)return()=>{for(let i=0;i<s.length;i++){const a=s[i];typeof a=="function"?a():zu(r[i],null)}}},[])}Dn(ly,"useStableComposedRefs");function xo(e){return(e==null?void 0:e.animationName)||"none"}Dn(xo,"getAnimationName");function cy(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}Dn(cy,"getElementRef");var zS=Object.defineProperty,$S=(e,t)=>zS(e,"name",{value:t,configurable:!0}),xh=oo[" useEffectEvent ".trim().toString()],wh=oo[" useInsertionEffect ".trim().toString()];function uy(e){if(typeof xh=="function")return xh(e);const t=d.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof wh=="function"?wh(()=>{t.current=e}):we(()=>{t.current=e}),d.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}$S(uy,"useEffectEvent");var US=Object.defineProperty,Ei=(e,t)=>US(e,"name",{value:t,configurable:!0}),VS=oo[" useInsertionEffect ".trim().toString()]||we;function hn({prop:e,defaultProp:t,onChange:n=Ei(()=>{},"onChange"),caller:r}){const[o,s,i]=dy({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:o,u=d.useCallback(f=>{var p;if(a){const m=fy(f)?f(e):f;m!==e&&((p=i.current)==null||p.call(i,m))}else s(f)},[a,e,s,i]);return[c,u]}Ei(hn,"useControllableState");function dy({defaultProp:e,onChange:t}){const[n,r]=d.useState(e),o=d.useRef(n),s=d.useRef(t);return VS(()=>{s.current=t},[t]),d.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}Ei(dy,"useUncontrolledState");function fy(e){return typeof e=="function"}Ei(fy,"isFunction");var bh=Symbol("RADIX:SYNC_STATE");function BS(e,t,n,r){const{prop:o,defaultProp:s,onChange:i,caller:a}=t,c=o!==void 0,u=uy(i),f=[{...n,state:s}];r&&f.push(r);const[p,m]=d.useReducer((b,y)=>{if(y.type===bh)return{...b,state:y.state};const g=e(b,y);
40return c&&!Object.is(g.state,b.state)&&u(g.state),g},...f),h=p.state,w=d.useRef(h);d.useEffect(()=>{w.current!==h&&(w.current=h,c||u(h))},[h,w,c]);const x=d.useMemo(()=>o!==void 0?{...p,state:o}:p,[p,o]);return d.useEffect(()=>{c&&!Object.is(o,p.state)&&m({type:bh,state:o})},[o,p.state,c]),[x,m]}Ei(BS,"useControllableStateReducer");var WS=Object.defineProperty,HS=(e,t)=>WS(e,"name",{value:t,configurable:!0}),py=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),gf=d.forwardRef(HS(function(t,n){return l.jsx(Q.span,{...t,ref:n,style:{...py,...t.style}})},"VisuallyHidden")),GS=gf,KS=Object.defineProperty,me=(e,t)=>KS(e,"name",{value:t,configurable:!0}),hy="ToastProvider",[vf,my,QS]=Ci("Toast"),[gy,d4]=ht("Toast",[QS]),[qS,bl]=gy(hy),YS=me(e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,announcerContainer:i,children:a}=e,[c,u]=d.useState(null),[f,p]=d.useState(0),m=d.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${hy}\`. Expected non-empty \`string\`.`),l.jsx(vf.Provider,{scope:t,children:l.jsx(qS,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:f,viewport:c,onViewportChange:u,onToastAdd:d.useCallback(()=>p(h=>h+1),[]),onToastRemove:d.useCallback(()=>p(h=>h-1),[]),isClosePausedRef:m,announcerContainer:i,children:a})})},"ToastProvider"),XS="ToastViewport",ZS=["F8"],$u="toast.viewportPause",Uu="toast.viewportResume",JS=d.forwardRef(me(function(t,n){const{__scopeToast:r,hotkey:o=ZS,label:s="Notifications ({hotkey})",...i}=t,a=bl(XS,r),c=my(r),u=d.useRef(null),f=d.useRef(null),p=d.useRef(null),m=d.useRef(null),h=ee(n,m,a.onViewportChange),w=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=a.toastCount>0;d.useEffect(()=>{const y=me(g=>{var S;o.length!==0&&o.every(C=>g[C]||g.code===C)&&((S=m.current)==null||S.focus())},"handleKeyDown");return document.addEventListener("keydown",y),()=>document.removeEventListener("keydown",y)},[o]),d.useEffect(()=>{const y=u.current,g=m.current;if(x&&y&&g){const v=me(()=>{if(!a.isClosePausedRef.current){const N=new CustomEvent($u);g.dispatchEvent(N),a.isClosePausedRef.current=!0}},"handlePause"),S=me(()=>{if(a.isClosePausedRef.current){const N=new CustomEvent(Uu);g.dispatchEvent(N),a.isClosePausedRef.current=!1}},"handleResume"),C=me(N=>{!y.contains(N.relatedTarget)&&S()},"handleFocusOutResume"),E=me(()=>{y.contains(document.activeElement)||S()},"handlePointerLeaveResume");return y.addEventListener("focusin",v),y.addEventListener("focusout",C),y.addEventListener("pointermove",v),y.addEventListener("pointerleave",E),window.addEventListener("blur",v),window.addEventListener("focus",S),()=>{y.removeEventListener("focusin",v),y.removeEventListener("focusout",C),y.removeEventListener("pointermove",v),y.removeEventListener("pointerleave",E),window.removeEventListener("blur",v),window.removeEventListener("focus",S)}}},[x,a.isClosePausedRef]);const b=d.useCallback(({tabbingDirection:y})=>{const v=c().map(S=>{const C=S.ref.current,E=[C,...by(C)];return y==="forwards"?E:E.reverse()});return(y==="forwards"?v.reverse():v).flat()},[c]);return d.useEffect(()=>{const y=m.current;if(y){const g=me(v=>{var E,N,j;const S=v.altKey||v.ctrlKey||v.metaKey;if(v.key==="Tab"&&!S){const R=document.activeElement,k=v.shiftKey;if(v.target===y&&k){(E=f.current)==null||E.focus();return}const z=b({tabbingDirection:k?"backwards":"forwards"}),V=z.findIndex(X=>X===R);ba(z.slice(V+1))?v.preventDefault():k?(N=f.current)==null||N.focus():(j=p.current)==null||j.focus()}},"handleKeyDown");return y.addEventListener("keydown",g),()=>y.removeEventListener("keydown",g)}},[c,b]),l.jsxs(FS,{ref:u,role:"region","aria-label":s.replace("{hotkey}",w),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&l.jsx(Sh,{ref:f,onFocusFromOutsideViewport:()=>{const y=b({tabbingDirection:"forwards"});ba(y)}}),l.jsx(vf.Slot,{scope:r,children:l.jsx(Q.ol,{tabIndex:-1,...i,ref:h})}),x&&l.jsx(Sh,{ref:p,onFocusFromOutsideViewport:()=>{const y=b({tabbingDirection:"backwards"});ba(y)}})]})},"ToastViewport")),eC="ToastFocusProxy",Sh=d.forwardRef(me(function(t,n){const{__scopeToast:r,onFocusFromOutsideViewport:o,...s}=t,i=bl(eC,r);return l.jsx(gf,{tabIndex:0,...s,ref:n,style:{position:"fixed"},onFocus:a=>{var f;const c=a.relatedTarget;!((f=i.viewport)!=null&&f.contains(c))&&o()}})},"ToastFocusProxy")),Sl="Toast",tC="toast.swipeStart",nC="toast.swipeMove",rC="toast.swipeCancel",oC="toast.swipeEnd",sC=d.forwardRef(me(function(t,n){const{forceMount:r,open:o,defaultOpen:s,onOpenChange:i,...a}=t,[c,u]=hn({prop:o,defaultProp:s??!0,onChange:i,caller:Sl});return l.jsx(Dt,{present:r||c,children:l.jsx(lC,{open:c,...a,ref:n,onClose:()=>u(!1),onPause:Te(t.onPause),onResume:Te(t.onResume),onSwipeStart:B(t.onSwipeStart,f=>{f.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:B(t.onSwipeMove,f=>{const{x:p,y:m}=f.detail.delta;f.currentTarget.setAttribute("data-swipe","move"),f.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${p}px`),f.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${m}px`)}),onSwipeCancel:B(t.onSwipeCancel,f=>{f.currentTarget.setAttribute("data-swipe","cancel"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),f.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),f.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:B(t.onSwipeEnd,f=>{const{x:p,y:m}=f.detail.delta;f.currentTarget.setAttribute("data-swipe","end"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),f.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${p}px`),f.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${m}px`),u(!1)})})})},"Toast")),[iC,aC]=gy(Sl,{onClose(){}}),lC=d.forwardRef(me(function(t,n){const{__scopeToast:r,type:o="foreground",duration:s,open:i,onClose:a,onEscapeKeyDown:c,onPause:u,onResume:f,onSwipeStart:p,onSwipeMove:m,onSwipeCancel:h,onSwipeEnd:w,...x}=t,b=bl(Sl,r),y=my(r),[g,v]=d.useState(null),S=ee(n,v),C=d.useRef(null),E=d.useRef(null),N=s||b.duration,j=d.useRef(0),R=d.useRef(N),k=d.useRef(0),{onToastAdd:M,onToastRemove:A}=b,z=Te(()=>{var L;(g==null?void 0:g.contains(document.activeElement))&&((L=b.viewport)==null||L.focus()),a()}),V=d.useCallback(O=>
40{!O||O===1/0||(window.clearTimeout(k.current),j.current=new Date().getTime(),k.current=window.setTimeout(z,O))},[z]);d.useEffect(()=>{const O=b.viewport;if(O){const L=me(()=>{V(R.current),f==null||f()},"handleResume"),T=me(()=>{const _=new Date().getTime()-j.current;R.current=R.current-_,window.clearTimeout(k.current),u==null||u()},"handlePause");return O.addEventListener($u,T),O.addEventListener(Uu,L),()=>{O.removeEventListener($u,T),O.removeEventListener(Uu,L)}}},[b.viewport,N,u,f,V]),d.useEffect(()=>{i&&!b.isClosePausedRef.current&&V(N)},[i,N,b.isClosePausedRef,V]),d.useEffect(()=>()=>{window.clearTimeout(k.current)},[]),d.useEffect(()=>(M(),()=>A()),[M,A]);const X=d.useMemo(()=>g?yf(g):null,[g]);return b.viewport?l.jsxs(l.Fragment,{children:[X&&l.jsx(cC,{__scopeToast:r,role:"status","aria-live":o==="foreground"?"assertive":"polite",children:X}),l.jsx(iC,{scope:r,onClose:z,children:jr.createPortal(l.jsx(vf.ItemSlot,{scope:r,children:l.jsx(OS,{asChild:!0,onEscapeKeyDown:B(c,O=>{y().some(T=>{var _;return(_=T.ref.current)==null?void 0:_.contains(O.target)})||z()}),children:l.jsx(Q.li,{tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":b.swipeDirection,...x,ref:S,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:B(t.onKeyDown,O=>{O.key==="Escape"&&(c==null||c(O.nativeEvent),O.nativeEvent.defaultPrevented||z())}),onPointerDown:B(t.onPointerDown,O=>{O.button===0&&(C.current={x:O.clientX,y:O.clientY})}),onPointerMove:B(t.onPointerMove,O=>{if(!C.current)return;const L=O.clientX-C.current.x,T=O.clientY-C.current.y,_=!!E.current,F=["left","right"].includes(b.swipeDirection),H=["left","up"].includes(b.swipeDirection)?Math.min:Math.max,$=F?H(0,L):0,K=F?0:H(0,T),Y=O.pointerType==="touch"?10:2,le={x:$,y:K},be={originalEvent:O,delta:le};_?(E.current=le,Rs(nC,m,be,{discrete:!1})):Ch(le,b.swipeDirection,Y)?(E.current=le,Rs(tC,p,be,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(L)>Y||Math.abs(T)>Y)&&(C.current=null)}),onPointerUp:B(t.onPointerUp,O=>{const L=E.current,T=O.target;if(T.hasPointerCapture(O.pointerId)&&T.releasePointerCapture(O.pointerId),E.current=null,C.current=null,L){const _=O.currentTarget,F={originalEvent:O,delta:L};Ch(L,b.swipeDirection,b.swipeThreshold)?Rs(oC,w,F,{discrete:!0}):Rs(rC,h,F,{discrete:!0}),_.addEventListener("click",H=>H.preventDefault(),{once:!0})}})})})}),b.viewport)})]}):null},"ToastImpl")),cC=me(e=>{const{__scopeToast:t,children:n,...r}
40=e,o=bl(Sl,t),[s,i]=d.useState(!1),[a,c]=d.useState(!1);return xy(()=>i(!0)),d.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:l.jsx(mf,{asChild:!0,container:o.announcerContainer||void 0,children:l.jsx(gf,{...r,children:s&&l.jsxs(l.Fragment,{children:[o.label," ",n]})})})},"ToastAnnounce"),uC=d.forwardRef(me(function(t,n){const{__scopeToast:r,...o}=t;return l.jsx(Q.div,{...o,ref:n})},"ToastTitle")),dC=d.forwardRef(me(function(t,n){const{__scopeToast:r,...o}=t;return l.jsx(Q.div,{...o,ref:n})},"ToastDescription")),fC="ToastAction",pC=d.forwardRef(me(function(t,n){const{altText:r,...o}=t;return r.trim()?l.jsx(yy,{altText:r,asChild:!0,children:l.jsx(vy,{...o,ref:n})}):(console.error(`Invalid prop \`altText\` supplied to \`${fC}\`. Expected non-empty \`string\`.`),null)},"ToastAction")),hC="ToastClose",vy=d.forwardRef(me(function(t,n){const{__scopeToast:r,...o}=t,s=aC(hC,r);return l.jsx(yy,{asChild:!0,children:l.jsx(Q.button,{type:"button",...o,ref:n,onClick:B(t.onClick,s.onClose)})})},"ToastClose")),yy=d.forwardRef(me(function(t,n){const{__scopeToast:r,altText:o,...s}=t;return l.jsx(Q.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...s,ref:n})},"ToastAnnounceExclude"));function yf(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),wy(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...yf(r))}}),t}me(yf,"getAnnounceTextContent");function Rs(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ff(o,s):o.dispatchEvent(s)}me(Rs,"handleAndDispatchCustomEvent");var Ch=me((e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),s=r>o;return t==="left"||t==="right"?s&&r>n:!s&&o>n},"isDeltaInDirection");function xy(e=()=>{}){const t=Te(e);we(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}me(xy,"useNextFrame");function wy(e){return e.nodeType===e.ELEMENT_NODE}me(wy,"isHTMLElement");function by(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:me(r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}me(by,"getTabbableCandidates");function ba(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}me(ba,"focusFirst");var mC=YS,Sy=JS,Cy=sC,Ey=uC,Ny=dC,jy=pC,Py=vy;function ky(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=ky(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ry(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ky(e))&&(r&&(r+=" "),r+=t);return r}const Eh=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Nh=Ry,Cl=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Nh(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const f=n==null?void 0:n[u],p=s==null?void 0:s[u];if(f===null)return null;const m=Eh(f)||Eh(p);return o[u][m]}),a=n&&Object.entries(n).reduce((u,f)=>{let[p,m]=f;return m===void 0||(u[p]=m),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,f)=>{let{class:p,className:m,...h}=f;return Object.entries(h).every(w=>{let[x,b]=w;return Array.isArray(b)?b.includes({...s,...a}[x]):{...s,...a}[x]===b})?[...u,p,m]:u},[]);return Nh(e,i,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const gC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ty=(...e)=>
vendor: 6,722 bytes, lines 45-145
45e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var vC={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const yC=d.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...a},c)=>d.createElement("svg",{ref:c,...vC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Ty("lucide",o),...a},[...i.map(([u,f])=>d.createElement(u,f)),...Array.isArray(s)?s:[s]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const pe=(e,t)=>{const n=d.forwardRef(({className:r,...o},s)=>d.createElement(yC,{ref:s,iconNode:t,className:Ty(`lucide-${gC(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const xC=pe("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const wC=pe("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const xf=pe("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const bC=pe("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const jh=pe("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const SC=pe("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const CC=pe("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const EC=pe("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const NC=pe("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const jC=pe("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const PC=pe("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const kC=pe("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const _y=pe("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const RC=pe("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const TC=pe("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const _C=pe("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const AC=pe("Paintbrush",[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",ke
145y:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const Ay=pe("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const IC=pe("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const OC=pe("Scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const Vu=pe("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const FC=pe("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const Bu=pe("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const Ph=pe("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
181 * @license lucide-react v0.462.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const MC=pe("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
186 * @license lucide-react v0.462.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const Iy=pe("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);/**
191 * @license lucide-react v0.462.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const DC=pe("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
196 * @license lucide-react v0.462.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const LC=pe("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
201 * @license lucide-react v0.462.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const El=pe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,916 bytes, line 205
205],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),wf="-",zC=e=>{const t=UC(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(wf);return a[0]===""&&a.length!==1&&a.shift(),Oy(a,t)||$C(i)},getConflictingClassGroupIds:(i,a)=>{const c=n[i]||[];return a&&r[i]?[...c,...r[i]]:c}}},Oy=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Oy(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(wf);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},kh=/^\[(.+)\]$/,$C=e=>{if(kh.test(e)){const t=kh.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},UC=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return BC(Object.entries(e.classGroups),n).forEach(([s,i])=>{Wu(i,r,s,t)}),r},Wu=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Rh(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(VC(o)){Wu(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{Wu(i,Rh(t,s),n,r)})})},Rh=(e,t)=>{let n=e;return t.split(wf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},VC=e=>e.isThemeGetter,BC=(e,t)=>t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[t+i,a])):s);return[n,o]}):e,WC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},Fy="!",HC=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,i=a=>{const c=[];let u=0,f=0,p;for(let b=0;b<a.length;b++){let y=a[b];if(u===0){if(y===o&&(r||a.slice(b,b+s)===t)){c.push(a.slice(f,b)),f=b+s;continue}if(y==="/"){p=b;continue}}y==="["?u++:y==="]"&&u--}const m=c.length===0?a:a.substring(f),h=m.startsWith(Fy),w=h?m.substring(1):m,x=p&&p>f?p-f:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:w,maybePostfixModifierPosition:x}};return n?a=>n({className:a,parseClassName:i}):i},GC=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},KC=e=>({cache:WC(e.cacheSize),parseClassName:HC(e),...zC(e)}),QC=/\s+/,qC=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(QC);let a="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{modifiers:f,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:h}=n(u);let w=!!h,x=r(w?m.substring(0,h):m);if(!x){if(!w){a=u+(a.length>0?" "+a:a);continue}if(x=r(m),!x){a=u+(a.length>0?" "+a:a);continue}w=!1}const b=GC(f).join(":"),y=p?b+Fy:b,g=y+x;if(s.includes(g))continue;s.push(g);const v=o(x,w);for(let S=0;S<v.length;++S){const C=v[S];s.push(y+C)}a=u+(a.length>0?" "+a:a)}return a};function YC(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=My(t))&&(r&&(r+=" "),r+=n);return r}const My=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=My(e[r]))&&(n&&(n+=" "),n+=t);return n};function XC(e,...t){let n,r,o,s=i;function i(c){const u=t.reduce((f,p)=>p(f),e());return n=KC(u),r=n.cache.get,o=n.cache.set,s=a,a(c)}function a(c){const u=r(c);if(u)return u;const f=qC(c,n);return o(c,f),f}return function(){return s(YC.apply(null,arguments))}}const ve=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Dy=/^\[(?:([a-z-]+):)?(.+)\]$/i,ZC=/^\d+\/\d+$/,JC=new Set(["px","full","screen"]),e2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,t2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,n2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,r2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,o2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,xn=e=>Lo(e)||JC.has(e)||ZC.test(e),Kn=e=>cs(e,"length",f2),Lo=e=>!!e&&!Number.isNaN(Number(e)),kc=e=>cs(e,"number",Lo),Cs=e=>!!e&&Number.isInteger(Number(e)),s2=e=>e.endsWith("%")&&Lo(e.slice(0,-1)),J=e=>Dy.test(e),Qn=e=>e2.test(e),i2=new Set(["length","size","percentage"]),a2=e=>cs(e,i2,Ly),l2=e=>cs(e,"position",Ly),c2=new Set(["image","url"]),u2=e=>cs(e,c2,h2),d2=e=>cs(e,"",p2),Es=()=>!0,cs=(e,t,n)=>{const r=Dy.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},f2=e=>t2.test(e)&&!n2.test(e),Ly=()=>!1,p2=e=>r2.test(e),h2=e=>o2.test(e),m2=()=>{const e=ve("colors"),t=ve("spacing"),n=ve("blur"),r=ve("brightness"),o=ve("borderColor"),s=ve("borderRadius"),i=ve("borderSpacing"),a=ve("borderWidth"),c=ve("contrast"),u=ve("grayscale"),f=ve("hueRotate"),p=ve("invert"),m=ve("gap"),h=ve("gradientColorStops"),w=ve("gradientColorStopPositions"),x=ve("inset"),b=ve("margin"),y=ve("opacity"),g=ve("padding"),v=ve("saturate"),S=ve("scale"),C=ve("sepia"),E=ve("skew"),N=ve("space"),j=ve("translate"),R=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto",J,t],A=()=>[J,t],z=()=>["",xn,Kn],V=()=>["auto",Lo,J],X=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],O=()=>["solid","dashed","dotted","double","none"],L=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],T=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",J],F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[Lo,J];return{cacheSize:500,separator:":",theme:{colors:[Es],spacing:[xn,Kn],blur:["none","",Qn,J],brightness:H(),borderColor:[e],borderRadius:["n
205one","","full",Qn,J],borderSpacing:A(),borderWidth:z(),contrast:H(),grayscale:_(),hueRotate:H(),invert:_(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[s2,Kn],inset:M(),margin:M(),opacity:H(),padding:A(),saturate:H(),scale:H(),sepia:_(),skew:H(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",J]}],container:["container"],columns:[{columns:[Qn]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...X(),J]}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Cs,J]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",J]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",Cs,J]}],"grid-cols":[{"grid-cols":[Es]}],"col-start-end":[{col:["auto",{span:["full",Cs,J]},J]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[Es]}],"row-start-end":[{row:["auto",{span:[Cs,J]},J]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",J]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",J]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...T()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...T(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...T(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",J,t]}],"min-w":[{"min-w":[J,t,"min","max","fit"]}],"max-w":[{"max-w":[J,t,"none","full","min","max","fit","prose",{screen:[Qn]},Qn]}],h:[{h:[J,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[J,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[J,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[J,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Qn,Kn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",kc]}],"font-family":[{font:[Es]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",J]}],"line-clamp":[{"line-clamp":["none",Lo,kc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",xn,J]}],"list-image":[{"list-image":["none",J]}],"list-style-type":[{list:["none","disc","decimal",J]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...O(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",xn,Kn]}],"underline-offset":[{"underline-offset":["auto",xn,J]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",J]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...X(),l2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",a2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},u2]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}
205],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...O(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,458 bytes, line 205
205],"divide-style":[{divide:O()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...O()]}],"outline-offset":[{"outline-offset":[xn,J]}],"outline-w":[{outline:[xn,Kn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[xn,Kn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Qn,d2]}],"shadow-color":[{shadow:[Es]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...L(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":L()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Qn,J]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[p]}],saturate:[{saturate:[v]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",J]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",J]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",J]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Cs,J]}],"translate-x":[{"translate-x":[j]}],"translate-y":[{"translate-y":[j]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",J]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",J]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",J]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[xn,Kn,kc]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
205none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},g2=XC(m2);function G(...e){return g2(Ry(e))}const v2=mC,zy=d.forwardRef(({className:e,...t},n)=>l.jsx(Sy,{ref:n,className:G("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));zy.displayName=Sy.displayName;const y2=Cl("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),$y=d.forwardRef(({className:e,variant:t,...n},r)=>l.jsx(Cy,{ref:r,className:G(y2({variant:t}),e),...n}));$y.displayName=Cy.displayName;const x2=d.forwardRef(({className:e,...t},n)=>l.jsx(jy,{ref:n,className:G("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));x2.displayName=jy.displayName;const Uy=d.forwardRef(({className:e,...t},n)=>l.jsx(Py,{ref:n,className:G("absolute right-2 top-2 rounded-md p-1 text-foreground
205/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:l.jsx(El,{className:"h-4 w-4"})}));Uy.displayName=Py.displayName;const Vy=d.forwardRef(({className:e,...t},n)=>l.jsx(Ey,{ref:n,className:G("text-sm font-semibold",e),...t}));Vy.displayName=Ey.displayName;const By=d.forwardRef(({className:e,...t},n)=>l.jsx(Ny,{ref:n,className:G("text-sm opacity-90",e),...t}));By.displayName=Ny.displayName;function w2(){const{toasts:e}=Uv();return l.jsxs(v2,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return l.jsxs($y,{...s,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(Vy,{children:n}),r&&l.jsx(By,{children:r})]}),o,l.jsx(Uy,{})]},t)}),l.jsx(zy,{})]})}var Th=["light","dark"],b2="(prefers-color-scheme: dark)",S2=d.createContext(void 0),C2={setTheme:e=>{},themes:[]},E2=()=>{var e;return(e=d.useContext(S2))!=null?e:C2};d.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:i,attrs:a,nonce:c})=>{let u=s==="system",f=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=o?Th.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(w,x=!1,b=!0)=>{let y=i?i[w]:w,g=x?w+"|| ''":`'${y}'`,v="";return o&&b&&!x&&Th.includes(w)&&(v+=`d.style.colorScheme = '${w}';`),n==="class"?x||y?v+=`c.add(${g})`:v+="null":y&&(v+=`d[s](n,${g})`),v},h=e?`!function(){${f}${m(e)}}()`:r?`!function(){try{${f}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${b2}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${m(i?"x[e]":"e",!0)}}${u?"":"else{"+m(s,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${f}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${m(i?"x[e]":"e",!0)}}else{${m(s,!1,!1)};}${p}}catch(t){}}();`;return d.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:h}})});var N2=e=>{switch(e){case"success":return k2;case"info":return T2;case"warning":return R2;case"error":return _2;default:return null}},j2=Array(12).fill(0),P2=({visible:e,className:t})=>D.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},D.createElement("div",{className:"sonner-spinner"},j2.map((n,r)=>D.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),k2=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),R2=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),T2=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),_2=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),A2=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},D.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),D.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),I2=()=>{let[e,t]=D.useState(document.hidden);return D.useEffect(()=>{let n=()=>{t(document.hidden)};
205return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Hu=1,O2=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Hu++,s=this.toasts.find(a=>a.id===o),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),s?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:i,title:n}):a):this.addToast({title:n,...r,dismissible:i,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
205this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,s,i=r.then(async c=>{if(s=["resolve",c],D.isValidElement(c))o=!1,this.create({id:n,type:"default",message:c});else if(M2(c)&&!c.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,f=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:f})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(c):t.success,f=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:f})}}).catch(async c=>{if(s=["reject",c],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(c):t.error,f=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:f})}}).finally(()=>{var c;o&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),a=()=>new Promise((c,u)=>i.then(()=>s[0]==="reject"?u(s[1]):c(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Hu++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},it=new O2,F2=(e,t)=>{let n=(t==null?void 0:t.id)||Hu++;return it.addToast({title:e,...t,id:n}),n},M2=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",D2=F2,L2=()=>it.toasts,z2=()=>it.getActiveToasts();Object.assign(D2,{success:it.success,info:it.info,warning:it.warning,error:it.error,custom:it.custom,message:it.message,promise:it.promise,dismiss:it.dismiss,loading:it.loading},{getHistory:L2,getToasts:z2});function $2(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}$2(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
205left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
205:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
205--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
206`);function Xi(e){return e.label!==void 0}var U2=3,V2="32px",B2="16px",_h=4e3,W2=356,H2=14,G2=20,K2=200;function Bt(...e){return e.filter(Boolean).join(" ")}function Q2(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var q2=e=>{var t,n,r,o,s,i,a,c,u,f,p;let{invert:m,toast:h,unstyled:w,interacting:x,setHeights:b,visibleToasts:y,heights:g,index:v,toasts:S,expanded:C,removeToast:E,defaultRichColors:N,closeButton:j,style:R,cancelButtonStyle:k,actionButtonStyle:M,className:A="",descriptionClassName:z="",duration:V,position:X,gap:O,loadingIcon:L,expandByDefault:T,classNames:_,icons:F,closeButtonAriaLabel:H="Close toast",pauseWhenPageIsHidden:$}
vendor: 12,185 bytes, line 206
206=e,[K,Y]=D.useState(null),[le,be]=D.useState(null),[oe,q]=D.useState(!1),[ue,_e]=D.useState(!1),[ce,se]=D.useState(!1),[de,Et]=D.useState(!1),[Nt,tn]=D.useState(!1),[Vn,yn]=D.useState(0),[ql,Ti]=D.useState(0),Tr=D.useRef(h.duration||V||_h),_r=D.useRef(null),Ar=D.useRef(null),Nw=v===0,jw=v+1<=y,jt=h.type,fo=h.dismissible!==!1,Pw=h.className||"",kw=h.descriptionClassName||"",_i=D.useMemo(()=>g.findIndex(Z=>Z.toastId===h.id)||0,[g,h.id]),Rw=D.useMemo(()=>{var Z;return(Z=h.closeButton)!=null?Z:j},[h.closeButton,j]),np=D.useMemo(()=>h.duration||V||_h,[h.duration,V]),Yl=D.useRef(0),po=D.useRef(0),rp=D.useRef(0),ho=D.useRef(null),[Tw,_w]=X.split("-"),op=D.useMemo(()=>g.reduce((Z,he,Se)=>Se>=_i?Z:Z+he.height,0),[g,_i]),sp=I2(),Aw=h.invert||m,Xl=jt==="loading";po.current=D.useMemo(()=>_i*O+op,[_i,op]),D.useEffect(()=>{Tr.current=np},[np]),D.useEffect(()=>{q(!0)},[]),D.useEffect(()=>{let Z=Ar.current;if(Z){let he=Z.getBoundingClientRect().height;return Ti(he),b(Se=>[{toastId:h.id,height:he,position:h.position},...Se]),()=>b(Se=>Se.filter(zt=>zt.toastId!==h.id))}},[b,h.id]),D.useLayoutEffect(()=>{if(!oe)return;let Z=Ar.current,he=Z.style.height;Z.style.height="auto";let Se=Z.getBoundingClientRect().height;Z.style.height=he,Ti(Se),b(zt=>zt.find($t=>$t.toastId===h.id)?zt.map($t=>$t.toastId===h.id?{...$t,height:Se}:$t):[{toastId:h.id,height:Se,position:h.position},...zt])},[oe,h.title,h.description,b,h.id]);let Bn=D.useCallback(()=>{_e(!0),yn(po.current),b(Z=>Z.filter(he=>he.toastId!==h.id)),setTimeout(()=>{E(h)},K2)},[h,E,b,po]);D.useEffect(()=>{if(h.promise&&jt==="loading"||h.duration===1/0||h.type==="loading")return;let Z;return C||x||$&&sp?(()=>{if(rp.current<Yl.current){let he=new Date().getTime()-Yl.current;Tr.current=Tr.current-he}rp.current=new Date().getTime()})():Tr.current!==1/0&&(Yl.current=new Date().getTime(),Z=setTimeout(()=>{var he;(he=h.onAutoClose)==null||he.call(h,h),Bn()},Tr.current)),()=>clearTimeout(Z)},[C,x,h,jt,$,sp,Bn]),D.useEffect(()=>{h.delete&&Bn()},[Bn,h.delete]);function Iw(){var Z,he,Se;return F!=null&&F.loading?D.createElement("div",{className:Bt(_==null?void 0:_.loader,(Z=h==null?void 0:h.classNames)==null?void 0:Z.loader,"sonner-loader"),"data-visible":jt==="loading"},F.loading):L?D.createElement("div",{className:Bt(_==null?void 0:_.loader,(he=h==null?void 0:h.classNames)==null?void 0:he.loader,"sonner-loader"),"data-visible":jt==="loading"},L):D.createElement(P2,{className:Bt(_==null?void 0:_.loader,(Se=h==null?void 0:h.classNames)==null?void 0:Se.loader),visible:jt==="loading"})}return D.createElement("li",{tabIndex:0,ref:Ar,className:Bt(A,Pw,_==null?void 0:_.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,_==null?void 0:_.default,_==null?void 0:_[jt],(n=h==null?void 0:h.classNames)==null?void 0:n[jt]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:N,"data-styled":!(h.jsx||h.unstyled||w),"data-mounted":oe,"data-promise":!!h.promise,"data-swiped":Nt,"data-removed":ue,"data-visible":jw,"data-y-position":Tw,"data-x-position":_w,"data-index":v,"data-front":Nw,"data-swiping":ce,"data-dismissible":fo,"data-type":jt,"data-invert":Aw,"data-swipe-out":de,"data-swipe-direction":le,"data-expanded":!!(C||T&&oe),style:{"--index":v,"--toasts-before":v,"--z-index":S.length-v,"--offset":`${ue?Vn:po.current}px`,"--initial-height":T?"auto":`${ql}px`,...R,...h.style},onDragEnd:()=>{se(!1),Y(null),ho.current=null},onPointerDown:Z=>{Xl||!fo||(_r.current=new Date,yn(po.current),Z.target.setPointerCapture(Z.pointerId),Z.target.tagName!=="BUTTON"&&(se(!0),ho.current={x:Z.clientX,y:Z.clientY}))},onPointerUp:()=>{var Z,he,Se,zt;if(de||!fo)return;ho.current=null;let $t=Number(((Z=Ar.current)==null?void 0:Z.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Wn=Number(((he=Ar.current)==null?void 0:he.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ir=new Date().getTime()-((Se=_r.current)==null?void 0:Se.getTime()),Ut=K==="x"?$t:Wn,Hn=Math.abs(Ut)/Ir;if(Math.abs(Ut)>=G2||Hn>.11){yn(po.current),(zt=h.onDismiss)==null||zt.call(h,h),be(K==="x"?$t>0?"right":"left":Wn>0?"down":"up"),Bn(),Et(!0),tn(!1);return}se(!1),Y(null)},onPointerMove:Z=>{var he,Se,zt,$t;if(!ho.current||!fo||((he=window.getSelection())==null?void 0:he.toString().length)>0)return;let Wn=Z.clientY-ho.current.y,Ir=Z.clientX-ho.current.x,Ut=(Se=e.swipeDirections)!=null?Se:Q2(X);!K&&(Math.abs(Ir)>1||Math.abs(Wn)>1)&&Y(Math.abs(Ir)>Math.abs(Wn)?"x":"y");let Hn={x:0,y:0};K==="y"?(Ut.includes("top")||Ut.includes("bottom"))&&(Ut.includes("top")&&Wn<0||Ut.includes("bottom")&&Wn>0)&&(Hn.y=Wn):K==="x"&&(Ut.includes("left")||Ut.includes("right"))&&(Ut.includes("left")&&Ir<0||Ut.includes("right")&&Ir>0)&&(Hn.x=Ir),(Math.abs(Hn.x)>0||Math.abs(Hn.y)>0)&&tn(!0),(zt=Ar.current)==null||zt.style.setProperty("--swipe-amount-x",`${Hn.x}px`),($t=Ar.current)==null||$t.style.setProperty("--swipe-amount-y",`${Hn.y}px`)}},Rw&&!h.jsx?D.createElement("button",{"aria-label":H,"data-disabled":Xl,"data-close-button":!0,onClick:Xl||!fo?()=>{}:()=>{var Z;Bn(),(Z=h.onDismiss)==null||Z.call(h,h)},className:Bt(_==null?void 0:_.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},(s=F==null?void 0:F.close)!=null?s:A2):null,h.jsx||d.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:D.createElement(D.Fragment,null,jt||h.icon||h.promise?D.createElement("div",{"data-icon":"",className:Bt(_==null?void 0:_.icon,(i=h==null?void 0:h.classNames)==null?void 0:i.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||Iw():null,h.type!=="loading"?h.icon||(F==null?void 0:F[jt])||N2(jt):null):null,D.createElement("div",{"data-content":"",className:Bt(_==null?void 0:_.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},D.createElement("div",{"data-title":"",className:Bt(_==null?void 0:_.title,(c=h==null?void 0:h.classNames)==null?void 0:c.title)},typeof h.title=="function"?h.title():h.title),h.description?D.createElement("div",{"data-description":"",className:Bt(z,kw,_==null?void 0:_.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),d.isValidElement(h.cancel)?h.cancel:h.cancel&&Xi(h.cancel)?D.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||k,onClick:Z=>{var he,Se;Xi(h.cancel)&&fo&&((Se=(he=h.cancel).onClick)==null||Se.call(he,Z),Bn())},className:Bt(_==null?void 0:_.cancelButton,(f=h==null?void 0:h.classNames)==null?void 0:f.cancelButton)},h.cancel.label):null,d.isValidElement(h.action)?h.action:h.action&&Xi(h.action)?D.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||M,onClick:Z=>{var he,Se;Xi(h.action)&&((Se=(he=h.action).onClick)==null||Se.call(he,Z),!Z.defaultPrevented&&Bn())},className:Bt(_==null?void 0:_.actionButton,(p=h==null?void 0:h.classNames)==null?void 0:p.actionButton)},h.action.label):null))};function Ah(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Y2(e,t){let n={};return[e,t].forEach((r,o)=>{let s=o===1,i=s?"--mobile-offset":"--offset",a=s?B2:V2;function c(u){["top","right","bottom","left"].forEach(f=>{n[`${i}-${f}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${i}-${u}`]=a:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(a)}),n}var X2=d.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:i,className:a,offset:c,mobileOffset:u,theme:f="light",richColors:p,duration:m,style:h,visibleToasts:w=U2,toastOptions:x,dir:b=Ah(),gap:y=H2,loadingIcon:g,icons:v,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[E,N]=D.useState([]),j=D.useMemo(()=>Array.from(new Set([r].concat(E.filter($=>$.position).map($=>$.position)))),[E,r]),[R,k]=D.useState([]),[M,A]=D.useState(!1),[z,V]=D.useState(!1),[X,O]=D.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),L=D.useRef(null),T=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=D.useRef(null),F=D.useRef(!1),H=D.useCallback($=>{N(K=>{var Y;return(Y=K.find(le=>le.id===$.id))!=null&&Y.delete||it.dismiss($.id),K.filter(({id:le})=>le!==$.id)})},[]);return D.useEffect(()=>it.subscribe($=>{if($.dismiss){N(K=>K.map(Y=>Y.id===$.id?{...Y,delete:!0}:Y));return}setTimeout(()=>{iS.flushSync(()=>{N(K=>{let Y=K.findIndex(le=>le.id===$.id);return Y!==-1?[...K.slice(0,Y),{...K[Y],...$},...K.slice(Y+1)]:[$,...K]})})})}),[]),D.useEffect(()=>{if(f!=="system"){O(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?O("dark"):O("light")),typeof window>"u")return;let $=window.matchMedia("(prefers-color-scheme: dark)");try{$.addEventListener("change",({matches:K})=>{O(K?"dark":"light")})}catch{$.addListener(({matches:Y})=>{try{O(Y?"dark":"light")}catch(le){console.error(le)}})}},[f]),D.useEffect(()=>{E.length<=1&&A(!1)},[E]),D.useEffect(()=>{let $=K=>{var Y,le;o.every(be=>K[be]||K.code===be)&&(A(!0),(Y=L.current)==null||Y.focus()),K.code==="Escape"&&(document.activeElement===L.current||(le=L.current)!=null&&le.contains(document.activeElement))&&A(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[o]),D.useEffect(()=>{if(L.current)return()=>{_.current&&(_.current.focus({preventScroll:!0}),_.current=null,F.current=!1)}},[L.current]),D.createElement("section",{ref:t,"aria-label":`${S} ${T}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},j.map(($,K)=>{var Y;let[le,be]=$.split("-");return E.length?D.createElement("ol",{key:$,dir:b==="auto"?Ah():b,tabIndex:-1,ref:L,className:a,"data-sonner-toaster":!0,"data-theme":X,"data-y-position":le,"data-lifted":M&&E.length>1&&!s,"data-x-position":be,style:{"--front-toast-height":`${((Y=R[0])==null?void 0:Y.height)||0}px`,"--width":`${W2}px`,"--gap":`${y}px`,...h,...Y2(c,u)},onBlur:oe=>{F.current&&!oe.currentTarget.contains(oe.relatedTarget)&&(F.current=!1,_.current&&(_.current.focus({preventScroll:!0}),_.current=null))},onFocus:oe=>{oe.target instanceof HTMLElement&&oe.target.dataset.dismissible==="false"||F.current||(F.current=!0,_.current=oe.relatedTarget)},onMouseEnter:()=>A(!0),onMouseMove:()=>A(!0),onMouseLeave:()=>{z||A(!1)},onDragEnd:()=>A(!1),onPointerDown:oe=>{oe.target instanceof HTMLElement&&oe.target.dataset.dismissible==="false"||V(!0)},onPointerUp:()=>V(!1)},E.filter(oe=>!oe.position&&K===0||oe.position===$).map((oe,q)=>{var ue,_e;return D.createElement(q2,{key:oe.id,icons:v,index:q,toast:oe,defaultRichColors:p,duration:(ue=x==null?void 0:x.duration)!=null?ue:m,className:x==null?void 0:x.className,descriptionClassName:x==null?void 0:x.descriptionClassName,invert:n,visibleToasts:w,closeButton:(_e=x==null?void 0:x.closeButton)!=null?_e:i,interacting:z,position:$,style:x==null?void 0:x.style,unstyled:x==null?void 0:x.unstyled,classNames:x==null?void 0:x.classNames,cancelButtonStyle:x==null?void 0:x.cancelButtonStyle,actionButtonStyle:x==null?void 0:x.actionButtonStyle,removeToast:H,toasts:E.filter(ce=>ce.position==oe.position),heights:R.filter(ce=>ce.position==oe.position),setHeights:k,expandByDefault:s,gap:y,loadingIcon:g,expanded:M,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const Z2=({...e})=>{const{theme:t="system"}=E2();return l.jsx(X2,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var J2=Object.defineProperty,eE=(e,t)=>J2(e,"name",{value:t,configurable:!0}),tE=oo[" useId ".trim().toString()]||(()=>{}),nE=0;
vendor: 7,269 bytes, line 206
206function kn(e){const[t,n]=d.useState(tE());return we(()=>{e||n(r=>r??String(nE++))},[e]),e||(t?`radix-${t}`:"")}eE(kn,"useId");const rE=["top","right","bottom","left"],br=Math.min,Rn=Math.max,qa=Math.round,Zi=Math.floor,Tn=e=>({x:e,y:e}),oE={left:"right",right:"left",bottom:"top",top:"bottom"};function Wy(e,t,n){return Rn(e,br(t,n))}function Ln(e,t){return typeof e=="function"?e(t):e}function Sr(e){return e.split("-")[0]}function us(e){return e.split("-")[1]}function bf(e){return e==="x"?"y":"x"}function Sf(e){return e==="y"?"height":"width"}function dn(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Cf(e){return bf(dn(e))}function sE(e,t,n){n===void 0&&(n=!1);const r=us(e),o=Cf(e),s=Sf(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Ya(i)),[i,Ya(i)]}function iE(e){const t=Ya(e);return[Gu(e),t,Gu(t)]}function Gu(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Ih=["left","right"],Oh=["right","left"],aE=["top","bottom"],lE=["bottom","top"];function cE(e,t,n){switch(e){case"top":case"bottom":return n?t?Oh:Ih:t?Ih:Oh;case"left":case"right":return t?aE:lE;default:return[]}}function uE(e,t,n,r){const o=us(e);let s=cE(Sr(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Gu)))),s}function Ya(e){const t=Sr(e);return oE[t]+e.slice(t.length)}function dE(e){var t,n,r,o;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(r=e.bottom)!=null?r:0,left:(o=e.left)!=null?o:0}}function Hy(e){return typeof e!="number"?dE(e):{top:e,right:e,bottom:e,left:e}}function Xa(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 Fh(e,t,n){let{reference:r,floating:o}=e;const s=dn(t),i=Cf(t),a=Sf(i),c=Sr(t),u=s==="y",f=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,m=r[a]/2-o[a]/2;let h;switch(c){case"top":h={x:f,y:r.y-o.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-o.width,y:p};break;default:h={x:r.x,y:r.y}}const w=us(t);return w&&(h[i]+=m*(w==="end"?1:-1)*(n&&u?-1:1)),h}async function fE(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:m=!1,padding:h=0}=Ln(t,e),w=Hy(h),b=a[m?p==="floating"?"reference":"floating":p],y=Xa(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(b)))==null||n?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:c})),g=p==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(v))&&await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1},C=Xa(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:v,strategy:c}):g);return{top:(y.top-C.top+w.top)/S.y,bottom:(C.bottom-y.bottom+w.bottom)/S.y,left:(y.left-C.left+w.left)/S.x,right:(C.right-y.right+w.right)/S.x}}const pE=50,hE=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:fE},c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:p}=Fh(u,r,c),m=r,h=0;const w={};for(let x=0;x<s.length;x++){const b=s[x];if(!b)continue;const{name:y,fn:g}=b,{x:v,y:S,data:C,reset:E}=await g({x:f,y:p,initialPlacement:r,placement:m,strategy:o,middlewareData:w,rects:u,platform:a,elements:{reference:e,floating:t}});f=v??f,p=S??p,w[y]={...w[y],...C},E&&h<pE&&(h++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(u=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:f,y:p}=Fh(u,m,c)),x=-1)}return{x:f,y:p,placement:m,strategy:o,middlewareData:w}},mE=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:c}=t,{element:u,padding:f=0}=Ln(e,t)||{};if(u==null)return{};const p=Hy(f),m={x:n,y:r},h=Cf(o),w=Sf(h),x=await i.getDimensions(u),b=h==="y",y=b?"top":"left",g=b?"bottom":"right",v=b?"clientHeight":"clientWidth",S=s.reference[w]+s.reference[h]-m[h]-s.floating[w],C=m[h]-s.reference[h],E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let N=E?E[v]:0;(!N||!await(i.isElement==null?void 0:i.isElement(E)))&&(N=a.floating[v]||s.floating[w]);const j=S/2-C/2,R=N/2-x[w]/2-1,k=br(p[y],R),M=br(p[g],R),A=N-x[w]-M,z=N/2-x[w]/2+j,V=Wy(k,z,A),X=!c.arrow&&us(o)!=null&&z!==V&&s.reference[w]/2-(z<k?k:M)-x[w]/2<0,O=X?z<k?z-k:z-A:0;return{[h]:m[h]+O,data:{[h]:V,centerOffset:z-V-O,...X&&{alignmentOffset:O}},reset:X}}}),gE=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:c,elements:u}=t,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:x=!0,...b}=Ln(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=Sr(o),g=dn(a),v=Sr(a)===a,S=await(c.isRTL==null?void 0:c.isRTL(u.floating)),C=m||(v||!x?[Ya(a)]:iE(a)),E=w!=="none";!m&&E&&C.push(...uE(a,x,w,S));const N=[a,...C],j=await c.detectOverflow(t,b),R=[];let k=((r=s.flip)==null?void 0:r.overflows)||[];if(f&&R.push(j[y]),p){const V=sE(o,i,S);R.push(j[V[0]],j[V[1]])}if(k=[...k,{placement:o,overflows:R}],!R.every(V=>V<=0)){var M,A;const V=(((M=s.flip)==null?void 0:M.index)||0)+1,X=N[V];if(X&&(!(p==="alignment"?g!==dn(X):!1)||k.every(T=>dn(T.placement)===g?T.overflows[0]>0:!0)))return{data:{index:V,overflows:k},reset:{placement:X}};let O=(A=k.filter(L=>L.overflows[0]<=0).sort((L,T)=>L.overflows[1]-T.overflows[1])[0])==null?void 0:A.placement;if(!O)switch(h){case"bestFit":{var z;const L=(z=k.filter(T=>{if(E){const _=dn(T.placement);return _===g||_==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(_=>_>0).reduce((_,F)=>_+F,0)]).sort((T,_)=>T[1]-_[1])[0])==null?void 0:z[0];L&&(O=L);break}case"initialPlacement":O=a;break}if(o!==O)return{reset:{placement:O}}}return{}}}};function Mh(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Dh(e){return rE.some(t=>e[t]>=0)}const vE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...s}=Ln(e,t);switch(o){case"referenceHidden":{const i=await r.detectOverflow(t,{...s,elementContext:"reference"}),a=Mh(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Dh(a)}}}case"escaped":{const i=await r.detectOverflow(t,{...s,altBoundary:!0}),a=Mh(i,n.floating);return{data:{escapedOffsets:a,escaped:Dh(a)}}}default:return{}}}}},Gy=new Set(["left","top"]);async function yE(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Sr(n),a=us(n),c=dn(n)==="y",u=Gy.has(i)?-1:1,f=s&&c?-1:1,p=Ln(t,e);let{mainAxis:m,crossAxis:h,alignmentAxis:w}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}
vendor: 4,646 bytes, line 206
206:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&typeof w=="number"&&(h=a==="end"?w*-1:w),c?{x:h*f,y:m*u}:{x:m*u,y:h*f}}const xE=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,c=await yE(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:i}}}}},wE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:g=>{let{x:v,y:S}=g;return{x:v,y:S}}},...u}=Ln(e,t),f={x:n,y:r},p=await s.detectOverflow(t,u),m=dn(o),h=bf(m);let w=f[h],x=f[m];const b=(g,v)=>Wy(v+p[g==="y"?"top":"left"],v,v-p[g==="y"?"bottom":"right"]);i&&(w=b(h,w)),a&&(x=b(m,x));const y=c.fn({...t,[h]:w,[m]:x});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:i,[m]:a}}}}}},bE=function(e){return e===void 0&&(e={}),{options:e,fn(t){var n,r;const{x:o,y:s,placement:i,rects:a,middlewareData:c}=t,{offset:u=0,mainAxis:f=!0,crossAxis:p=!0}=Ln(e,t),m={x:o,y:s},h=dn(i),w=bf(h);let x=m[w],b=m[h];const y=Ln(u,t),g=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:(n=y.mainAxis)!=null?n:0,crossAxis:(r=y.crossAxis)!=null?r:0};if(f){const C=w==="y"?"height":"width",E=a.reference[w]-a.floating[C]+g.mainAxis,N=a.reference[w]+a.reference[C]-g.mainAxis;x<E?x=E:x>N&&(x=N)}if(p){var v,S;const C=w==="y"?"width":"height",E=Gy.has(Sr(i)),N=a.reference[h]-a.floating[C]+(E&&((v=c.offset)==null?void 0:v[h])||0)+(E?0:g.crossAxis),j=a.reference[h]+a.reference[C]+(E?0:((S=c.offset)==null?void 0:S[h])||0)-(E?g.crossAxis:0);b<N?b=N:b>j&&(b=j)}return{[w]:x,[h]:b}}}},SE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:s}=t,{apply:i=()=>{},...a}=Ln(e,t),c=await o.detectOverflow(t,a),u=Sr(n),f=us(n),p=dn(n)==="y",{width:m,height:h}=r.floating;let w,x;u==="top"||u==="bottom"?(w=u,x=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(x=u,w=f==="end"?"top":"bottom");const b=h-c.top-c.bottom,y=m-c.left-c.right,g=br(h-c[w],b),v=br(m-c[x],y),S=t.middlewareData.shift,C=!S;let E=g,N=v;S!=null&&S.enabled.x&&(N=y),S!=null&&S.enabled.y&&(E=b),C&&!f&&(p?N=m-2*Rn(c.left,c.right):E=h-2*Rn(c.top,c.bottom)),await i({...t,availableWidth:N,availableHeight:E});const j=await o.getDimensions(s.floating);return m!==j.width||h!==j.height?{reset:{rects:!0}}:{}}}};function Nl(){return typeof window<"u"}function ds(e){return Ky(e)?(e.nodeName||"").toLowerCase():"#document"}function pt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function $n(e){var t;return(t=(Ky(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ky(e){return Nl()?e instanceof Node||e instanceof pt(e).Node:!1}function mn(e){return Nl()?e instanceof Element||e instanceof pt(e).Element:!1}function Pr(e){return Nl()?e instanceof HTMLElement||e instanceof pt(e).HTMLElement:!1}function Lh(e){return!Nl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof pt(e).ShadowRoot}function jl(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=gn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function CE(e){return/^(table|td|th)$/.test(ds(e))}function Pl(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const EE=/transform|translate|scale|rotate|perspective|filter/,NE=/paint|layout|strict|content/,Or=e=>!!e&&e!=="none";let Rc;function Ef(e){const t=mn(e)?gn(e):e;return Or(t.transform)||Or(t.translate)||Or(t.scale)||Or(t.rotate)||Or(t.perspective)||!Nf()&&(Or(t.backdropFilter)||Or(t.filter))||EE.test(t.willChange||"")||NE.test(t.contain||"")}function jE(e){let t=Jr(e);for(;Pr(t)&&!ii(t);){if(Ef(t))return t;if(Pl(t))return null;t=Jr(t)}return null}function Nf(){return Rc==null&&(Rc=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Rc}function ii(e){return/^(html|body|#document)$/.test(ds(e))}function gn(e){return pt(e).getComputedStyle(e)}function kl(e){return mn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Jr(e){if(ds(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Lh(e)&&e.host||$n(e);return Lh(t)?t.host:t}function Qy(e){const t=Jr(e);return ii(t)?(e.ownerDocument||e).body:Pr(t)&&jl(t)?t:Qy(t)}function ai(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Qy(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=pt(o);if(s){const a=Ku(i);
206return t.concat(i,i.visualViewport||[],jl(o)?o:[],a&&n?ai(a):[])}else return t.concat(o,ai(o,[],n))}function Ku(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function qy(e){const t=gn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Pr(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=qa(n)!==s||qa(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function jf(e){return mn(e)?e:e.contextElement}function zo(e){const t=jf(e);if(!Pr(t))return Tn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=qy(t);let i=(s?qa(n.width):n.width)/r,a=(s?qa(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const PE=Tn(0);function Yy(e){const t=pt(e);return!Nf()||!t.visualViewport?PE:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function kE(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===pt(e)}function eo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=jf(e);let i=Tn(1);t&&(r?mn(r)&&(i=zo(r)):i=zo(e));const a=kE(s,n,r)?Yy(s):Tn(0);let c=(o.left+a.x)/i.x,u=(o.top+a.y)/i.y,f=o.width/i.x,p=o.height/i.y;if(s&&r){const m=pt(s),h=mn(r)?pt(r):r;let w=m,x=Ku(w);for(;x&&h!==w;){const b=zo(x),y=x.getBoundingClientRect(),g=gn(x),v=y.left+(x.clientLeft+parseFloat(g.paddingLeft))*b.x,S=y.top+(x.clientTop+parseFloat(g.paddingTop))*b.y;c*=b.x,u*=b.y,f*=b.x,p*=b.y,c+=v,u+=S,w=pt(x),x=Ku(w)}}return Xa({width:f,height:p,x:c,y:u})}function Rl(e,t){const n=kl(e).scrollLeft;return t?t.left+n:eo($n(e)).left+n}function Xy(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Rl(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function RE(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=$n(r),a=t?Pl(t.floating):!1;if(r===i||a&&s)return n;let c={scrollLeft:0,scrollTop:0},u=Tn(1);const f=Tn(0),p=Pr(r);if((p||!s)&&((ds(r)!=="body"||jl(i))&&(c=kl(r)),p)){const h=eo(r);u=zo(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}const m=i&&!p&&!s?Xy(i,c):Tn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+f.x+m.x,y:n.y*u.y-c.scrollTop*u.y+f.y+m.y}}function TE(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function _E(e){const t=kl(e),n=e.ownerDocument.body,r=Rn(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=Rn(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-t.scrollLeft+Rl(e);const i=-t.scrollTop;return gn(n).direction==="rtl"&&(s+=Rn(e.clientWidth,n.clientWidth)-r),{width:r,height:o,x:s,y:i}}const AE=25;function IE(e,t,n){n===void 0&&(n="viewport");const r=n==="layoutViewport",o=pt(e),s=$n(e),i=o.visualViewport;let a=s.clientWidth,c=s.clientHeight,u=0,f=0;if(i){const m=!Nf()||t==="fixed";r?m||(u=-i.offsetLeft,f=-i.offsetTop):(a=i.width,c=i.height,m&&(u=i.offsetLeft,f=i.offsetTop))}if(Rl(s)<=0){const m=s.ownerDocument,h=m.body,w=getComputedStyle(h),x=m.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,b=Math.abs(s.clientWidth-h.clientWidth-x),y=getComputedStyle(s).scrollbarGutter==="stable both-edges"?b/2:b;y<=AE&&(a-=y)}return{width:a,height:c,x:u,y:f}}function OE(e,t){const n=eo(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=zo(e),i=e.clientWidth*s.x,a=e.clientHeight*s.y,c=o*s.x,u=r*s.y;return{width:i,height:a,x:c,y:u}}function zh(e,t,n){let r;if(t==="viewport"||t==="layoutViewport")r=IE(e,n,t);else if(t==="document")r=_E($n(e));else if(mn(t))r=OE(t,n);else{const o=Yy(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Xa(r)}function FE(e,t){const n=t.get(e);if(n)return n;let r=ai(e,[],!1).filter(a=>mn(a)&&ds(a)!=="body"),o=null;const s=gn(e).position==="fixed";let i=s?Jr(e):e;for(;mn(i)&&!ii(i);){const a=gn(i),c=Ef(i),u=o?o.position:s?"fixed":"";!c&&(u==="fixed"||u==="absolute"&&a.position==="static")?r=r.filter(p=>p!==i):o=a,i=Jr(i)}return t.set(e,r),r}function ME(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Pl(t)?[]:FE(t,this._c):[].concat(n),r],a=zh(t,i[0],o);let c=a.top,u=a.right,f=a.bottom,p=a.left;for(let m=1;m<i.length;m++){const h=zh(t,i[m],o);c=Rn(h.top,c),u=br(h.right,u),f=br(h.bottom,f),p=Rn(h.left,p)}return{width:u-p,height:f-c,x:p,y:c}}function DE(e){const{width:t,height:n}=qy(e);return{width:t,height:n}}function LE(e,t,n){const r=Pr(t),o=$n(t),s=n==="fixed",i=eo(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const c=Tn(0);if((r||!s)&&((ds(t)!=="body"||jl(o))&&(a=kl(t)),r)){const m=eo(t,!0,s,t);c.x=m.x+t.clientLeft,c.y=m.y+t.clientTop}!r&&o&&(c.x=Rl(o));const u=o&&!r&&!s?Xy(o,a):Tn(0),f=i.left+a.scrollLeft-c.x-u.x,p=i.top+a.scrollTop-c.y-u.y;return{x:f,y:p,width:i.width,height:i.height}}function Tc(e){return gn(e).position==="static"}function $h(e,t){if(!Pr(e)||gn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return $n(e)===n&&(n=n.ownerDocument.body),n}function Zy(e,t){const n=pt(e);
vendor: 4,479 bytes, line 206
206if(Pl(e))return n;if(!Pr(e)){let o=Jr(e);for(;o&&!ii(o);){if(mn(o)&&!Tc(o))return o;o=Jr(o)}return n}let r=$h(e,t);for(;r&&CE(r)&&Tc(r);)r=$h(r,t);return r&&ii(r)&&Tc(r)&&!Ef(r)?n:r||jE(e)||n}const zE=async function(e){const t=this.getOffsetParent||Zy,n=this.getDimensions,r=await n(e.floating);return{reference:LE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function $E(e){return gn(e).direction==="rtl"}const UE={convertOffsetParentRelativeRectToViewportRelativeRect:RE,getDocumentElement:$n,getClippingRect:ME,getOffsetParent:Zy,getElementRects:zE,getClientRects:TE,getDimensions:DE,getScale:zo,isElement:mn,isRTL:$E};function Jy(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function VE(e,t,n){let r=null,o;const s=$n(e);function i(){var f;clearTimeout(o),(f=r)==null||f.disconnect(),r=null}function a(f,p){f===void 0&&(f=!1),p===void 0&&(p=1),i();const m=e.getBoundingClientRect(),{left:h,top:w,width:x,height:b}=m;if(f||t(),!x||!b)return;const y=Zi(w),g=Zi(s.clientWidth-(h+x)),v=Zi(s.clientHeight-(w+b)),S=Zi(h),E={rootMargin:-y+"px "+-g+"px "+-v+"px "+-S+"px",threshold:Rn(0,br(1,p))||1};let N=!0;function j(R){const k=R[0].intersectionRatio;if(!Jy(m,e.getBoundingClientRect()))return a();if(k!==p){if(!N)return a();k?a(!1,k):o=setTimeout(()=>{a(!1,1e-7)},1e3)}N=!1}try{r=new IntersectionObserver(j,{...E,root:s.ownerDocument})}catch{r=new IntersectionObserver(j,E)}r.observe(e)}const c=pt(e),u=()=>a(n);return c.addEventListener("resize",u),a(!0),()=>{c.removeEventListener("resize",u),i()}}function BE(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=jf(e),f=o||s?[...u?ai(u):[],...t?ai(t):[]]:[];f.forEach(y=>{o&&y.addEventListener("scroll",n),s&&y.addEventListener("resize",n)});const p=u&&a?VE(u,n,s):null;let m=-1,h=null;i&&(h=new ResizeObserver(y=>{let[g]=y;g&&g.target===u&&h&&t&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(t)})),n()}),u&&!c&&h.observe(u),t&&h.observe(t));let w,x=c?eo(e):null;c&&b();function b(){const y=eo(e);x&&!Jy(x,y)&&n(),x=y,w=requestAnimationFrame(b)}return n(),()=>{var y;f.forEach(g=>{o&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),p==null||p(),(y=h)==null||y.disconnect(),h=null,c&&cancelAnimationFrame(w)}}const WE=xE,HE=wE,GE=gE,KE=SE,QE=vE,Uh=mE,qE=bE,YE=(e,t,n)=>{const r=new Map,o=n??{},s={...UE,...o.platform,_c:r};return hE(e,t,{...o,platform:s})};var XE=typeof document<"u",ZE=function(){},Sa=XE?d.useLayoutEffect:ZE;function Za(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(!Za(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 s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Za(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function ex(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Vh(e,t){const n=ex(e);return Math.round(t*n)/n}function _c(e){const t=d.useRef(e);return Sa(()=>{t.current=e}),t}function JE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:c,open:u}=e,[f,p]=d.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=d.useState(r);Za(m,r)||h(r);const[w,x]=d.useState(null),[b,y]=d.useState(null),g=d.useCallback(T=>{T!==E.current&&(E.current=T,x(T))},[]),v=d.useCallback(T=>{T!==N.current&&(N.current=T,y(T))},[]),S=s||w,C=i||b,E=d.useRef(null),N=d.useRef(null),j=d.useRef(f),R=c!=null,k=_c(c),M=_c(o),A=_c(u),z=d.useCallback(()=>{if(!E.current||!N.current)return;const T={placement:t,strategy:n,middleware:m};M.current&&(T.platform=M.current),YE(E.current,N.current,T).then(_=>{const F={..._,isPositioned:A.current!==!1};V.current&&!Za(j.current,F)&&(j.current=F,jr.flushSync(()=>{p(F)}))})},[m,t,n,M,A]);Sa(()=>{u===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,p(T=>({...T,isPositioned:!1})))},[u]);const V=d.useRef(!1);Sa(()=>(V.current=!0,()=>{V.current=!1}),[]),Sa(()=>
206{if(S&&(E.current=S),C&&(N.current=C),S&&C){if(k.current)return k.current(S,C,z);z()}},[S,C,z,k,R]);const X=d.useMemo(()=>({reference:E,floating:N,setReference:g,setFloating:v}),[g,v]),O=d.useMemo(()=>({reference:S,floating:C}),[S,C]),L=d.useMemo(()=>{const T={position:n,left:0,top:0};if(!O.floating)return T;const _=Vh(O.floating,f.x),F=Vh(O.floating,f.y);return a?{...T,transform:"translate("+_+"px, "+F+"px)",...ex(O.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:_,top:F}},[n,a,O.floating,f.x,f.y]);return d.useMemo(()=>({...f,update:z,refs:X,elements:O,floatingStyles:L}),[f,z,X,O,L])}const eN=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Uh({element:r.current,padding:o}).fn(n):{}:r?Uh({element:r,padding:o}).fn(n):{}}}},tN=(e,t)=>{const n=WE(e);return{name:n.name,fn:n.fn,options:[e,t]}},nN=(e,t)=>{const n=HE(e);return{name:n.name,fn:n.fn,options:[e,t]}},rN=(e,t)=>({fn:qE(e).fn,options:[e,t]}),oN=(e,t)=>{const n=GE(e);return{name:n.name,fn:n.fn,options:[e,t]}},sN=(e,t)=>{const n=KE(e);return{name:n.name,fn:n.fn,options:[e,t]}},iN=(e,t)=>{const n=QE(e);return{name:n.name,fn:n.fn,options:[e,t]}},aN=(e,t)=>{const n=eN(e);return{name:n.name,fn:n.fn,options:[e,t]}};var lN=Object.defineProperty,cN=(e,t)=>lN(e,"name",{value:t,configurable:!0});function Pf(e){const[t,n]=d.useState(void 0);return we(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,a=u.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}cN(Pf,"useSize");var uN=Object.defineProperty,vr=(e,t)=>uN(e,"name",{value:t,configurable:!0}),tx="Popper",[nx,Tl]=ht(tx),[dN,rx]=nx(tx),fN=vr(e=>{const{__scopePopper:t,children:n}=e,[r,o]=d.useState(null),[s,i]=d.useState(void 0);return l.jsx(dN,{scope:t,anchor:r,onAnchorChange:o,placementState:s,setPlacementState:i,children:n})},"Popper"),pN="PopperAnchor",hN=d.forwardRef(vr(function(t,n){const{__scopePopper:r,virtualRef:o,...s}=t,i=rx(pN,r),a=d.useRef(null),c=i.onAnchorChange,u=d.useCallback(x=>{a.current=x,x&&c(x)},[c]),f=ee(n,u),p=d.useRef(null);d.useEffect(()=>{if(!o)return;const x=p.current;p.current=o.current,x!==p.current&&c(p.current)});const m=i.placementState&&_l(i.placementState),h=m==null?void 0:m[0],w=m==null?void 0:m[1];return o?null:l.jsx(Q.div,{"data-radix-popper-side":h,"data-radix-popper-align":w,...s,ref:f})},"PopperAnchor")),ox="PopperContent",[mN,f4]=nx(ox),gN=d.forwardRef(vr(function(t,n){var ue,_e,ce,se,de,Et,Nt;const{__scopePopper:r,side:o="bottom",sideOffset:s=0,align:i="center",alignOffset:a=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:f=[],collisionPadding:p=0,sticky:m="partial",hideWhenDetached:h=!1,updatePositionStrategy:w="optimized",onPlaced:x,...b}=t,y=rx(ox,r),[g,v]=d.useState(null),S=ee(n,v),[C,E]=d.useState(null),N=Pf(C),j=(N==null?void 0:N.width)??0,R=(N==null?void 0:N.height)??0,k=o+(i!=="center"?"-"+i:""),M=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},A=Array.isArray(f)?f:[f],z=A.length>0,V={padding:M,boundary:A.filter(sx),altBoundary:z},{refs:X,floatingStyles:O,placement:L,isPositioned:T,middlewareData:_}=JE({strategy:"fixed",placement:k,whileElementsMounted:vr((...tn)=>BE(...tn,{animationFrame:w==="always"}),"whileElementsMounted"),elements:{reference:y.anchor},middleware:[tN({mainAxis:s+R,alignmentAxis:a}),u&&nN({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?rN():void 0,...V}),u&&oN({...V}),sN({...V,apply:vr(({elements:tn,rects:Vn,availableWidth:yn,availableHeight:ql})=>{const{width:Ti,height:Tr}=Vn.reference,_r=tn.floating.style;_r.setProperty("--radix-popper-available-width",`${yn}px`),_r.setProperty("--radix-popper-available-height",`${ql}px`),_r.setProperty("--radix-popper-anchor-width",`${Ti}px`),_r.setProperty("--radix-popper-anchor-height",`${Tr}px`)},"apply")}),C&&aN({element:C,padding:c}),vN({arrowWidth:j,arrowHeight:R}),h&&iN({strategy:"referenceHidden",...V,boundary:z?V.boundary:void 0})]}),F=y.setPlacementState;we(()=>(F(L),()=>{F(void 0)}),[L,F]);const[H,$]=_l(L),K=Te(x);we(()=>{T&&(K==null||K())},[T,K]);const Y=(ue=_.arrow)==null?void 0:ue.x,le=(_e=_.arrow)==null?void 0:_e.y,be=((ce=_.arrow)==null?void 0:ce.centerOffset)!==0,[oe,q]=d.useState();return we(()=>{g&&q(window.getComputedStyle(g).zIndex)},[g]),l.jsx("div",{ref:X.setFloating,"data-radix-popper-content-wrapper":"",style:{...O,transform:T?O.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:oe,"--radix-popper-transform-origin":[(se=_.transformOrigin)==null?void 0:se.x,(de=_.transformOrigin)==null?void 0:de.y].join(" "),...((Et=_.hide)==null?void 0:Et.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:l.jsx(mN,{scope:r,placedSide:H,placedAlign:$,onArrowChange:E,arrowX:Y,arrowY:le,shouldHideArrow:be,children:l.jsx(Q.div,{"data-side":H,"data-align":$,...b,ref:S,style:{...b.style,animation:T?(Nt=b.style)==null?void 0:Nt.animation:"none"}})})})},"PopperContent"));function sx(e){return e!==null}vr(sx,"isNotNull");var vN=vr(e=>({name:"transformOrigin",options:e,fn(t){var b,y,g;const{placement:n,rects:r,middlewareData:o}=t,i=((b=o.arrow)==null?void 0:b.centerOffset)!==0,a=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[u,f]=_l
206(n),p={start:"0%",center:"50%",end:"100%"}[f],m=(((y=o.arrow)==null?void 0:y.x)??0)+a/2,h=(((g=o.arrow)==null?void 0:g.y)??0)+c/2;let w="",x="";return u==="bottom"?(w=i?p:`${m}px`,x=`${-c}px`):u==="top"?(w=i?p:`${m}px`,x=`${r.floating.height+c}px`):u==="right"?(w=`${-c}px`,x=i?p:`${h}px`):u==="left"&&(w=`${r.floating.width+c}px`,x=i?p:`${h}px`),{data:{x:w,y:x}}}}),"transformOrigin");function _l(e){const[t,n="center"]=e.split("-");return[t,n]}vr(_l,"getSideAndAlignFromPlacement");var yN=fN,xN=hN,ix=gN,wN=Object.defineProperty,ct=(e,t)=>wN(e,"name",{value:t,configurable:!0}),[kf,p4]=ht("Tooltip",[Tl]),bN=Tl(),SN="TooltipProvider",CN=700,Bh="tooltip.open",[EN,NN]=kf(SN),jN=ct(e=>{const{__scopeTooltip:t,delayDuration:n=CN,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,i=d.useRef(!0),a=d.useRef(!1),c=d.useRef(0);return d.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),l.jsx(EN,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:d.useCallback(()=>{r<=0||(window.clearTimeout(c.current),i.current=!1)},[r]),onClose:d.useCallback(()=>{r<=0||(window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.current=!0,r))},[r]),isPointerInTransitRef:a,onPointerInTransitChange:d.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:s})},"TooltipProvider"),PN="Tooltip",[h4,Rf]=kf(PN),kN="TooltipPortal",[m4,RN]=kf(kN,{forceMount:void 0}),li="TooltipContent",TN=d.forwardRef(ct(function(t,n){const r=RN(li,t.__scopeTooltip),{forceMount:o=r.forceMount,side:s="top",...i}=t,a=Rf(li,t.__scopeTooltip);return l.jsx(Dt,{present:o||a.open,children:a.disableHoverableContent?l.jsx(ax,{side:s,...i,ref:n}):l.jsx(_N,{side:s,...i,ref:n})})},"TooltipContent")),_N=d.forwardRef(ct(function(t,n){const r=Rf(li,t.__scopeTooltip),o=NN(li,t.__scopeTooltip),s=d.useRef(null),i=ee(n,s),[a,c]=d.use
206State(null),{trigger:u,onClose:f}=r,p=s.current,{onPointerInTransitChange:m}=o,h=d.useCallback(()=>{c(null),m(!1)},[m]),w=d.useCallback((x,b)=>{const y=x.currentTarget,g={x:x.clientX,y:x.clientY},v=lx(g,y.getBoundingClientRect()),S=cx(g,v),C=ux(b.getBoundingClientRect()),E=fx([...S,...C]);c(E),m(!0)},[m]);return d.useEffect(()=>()=>h(),[h]),d.useEffect(()=>{if(u&&p){const x=ct(y=>w(y,p),"handleTriggerLeave"),b=ct(y=>w(y,u),"handleContentLeave");return u.addEventListener("pointerleave",x),p.addEventListener("pointerleave",b),()=>{u.removeEventListener("pointerleave",x),p.removeEventListener("pointerleave",b)}}},[u,p,w,h]),d.useEffect(()=>{if(a){const x=ct(b=>{const y=b.target,g={x:b.clientX,y:b.clientY},v=(u==null?void 0:u.contains(y))||(p==null?void 0:p.contains(y)),S=!dx(g,a);v?h():S&&(h(),f())},"handleTrackPointerGrace");return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[u,p,a,f,h]),l.jsx(ax,{...t,ref:i})},"TooltipContentHoverable")),AN=Qv("TooltipContent"),ax=d.forwardRef(ct(function(t,n){const{__scopeTooltip:r,children:o,"aria-label":s,id:i,onEscapeKeyDown:a,onPointerDownOutside:c,...u}=t,f=Rf(li,r),p=bN(r),{onClose:m}=f;d.useEffect(()=>(document.addEventListener(Bh,m),()=>document.removeEventListener(Bh,m)),[m]),d.useEffect(()=>{if(f.trigger){const w=ct(x=>{x.target instanceof Node&&x.target.contains(f.trigger)&&m()},"handleScroll");return window.addEventListener("scroll",w,{capture:!0}),()=>window.removeEventListener("scroll",w,{capture:!0})}},[f.trigger,m]);const{setContentId:h}=f;return we(()=>(h(i),()=>{h(void 0)}),[i,h]),l.jsx(wl,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:w=>w.preventDefault(),onDismiss:m,children:l.jsxs(ix,{"data-state":f.stateAttribute,role:s?void 0:"tooltip",id:s?void 0:f.contentId,...p,...u,ref:n,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l.jsx(AN,{children:o}),s?l.jsx(GS,{id:f.contentId,role:"tooltip",children:s}):null]})})},"TooltipContentImpl"));function lx(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}ct(lx,"getExitSideFromRect");function cx(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}ct(cx,"getPaddedExitPoints");function ux(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}ct(ux,"getPointsFromRect");function dx(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s],c=t[i],u=a.x,f=a.y,p=c.x,m=c.y;f>r!=m>r&&n<(p-u)*(r-f)/(m-f)+u&&(o=!o)}return o}ct(dx,"isPointInPolygon");function fx(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),px(t)}ct(fx,"getHull");function px(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}ct(px,"getHullPresorted");var IN=jN,hx=TN;const ON=IN,FN=d.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(hx,{ref:r,sideOffset:t,className:G("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
206de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));FN.displayName=hx.displayName;const MN=d.createContext(void 0),DN=({client:e,children:t})=>(d.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(MN.Provider,{value:e,children:t})),LN={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)};var er,pd,ym,zN=(ym=class{constructor(){te(this,er,LN);te(this,pd,!1)}setTimeoutProvider(e){W(this,er,e)}setTimeout(e,t){return P(this,er).setTimeout(e,t)}clearTimeout(e){P(this,er).clearTimeout(e)}setInterval(e,t){return P(this,er).setInterval(e,t)}clearInterval(e){P(this,er).clearInterval(e)}},er=new WeakMap,pd=new WeakMap,ym);const Qu=new zN;function $N(e){setTimeout(e,0)}const UN=typeof window>"u"||"Deno"in globalThis;function Rt(){}function VN(e,t){return typeof e=="function"?e(t):e}function BN(e){return typeof e=="number"&&e>=0&&e!==1/0}function WN(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Us(e,t){return typeof e=="function"?e(t):e}function Wh(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:a}=e;if(i){if(r){if(t.queryHash!==Tf(i,t.options))return!1}else if(!rs(t.queryKey,i))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||s&&!s(t))}function Hh(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(ci(t.options.mutationKey)!==ci(s))return!1}else if(!rs(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Tf(e,t){return((t==null?void 0:t.queryKeyHashFn)||ci)(e)}function ci(e){return JSON.stringify(e,(t,n)=>qu(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function rs(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(Array.isArray(e)&&Array.isArray(t)){for(let r=0;r<t.length;r++)if(!rs(e[r],t[r]))return!1;return!0}const n=Object.keys(t);for(const r of n)if(!rs(e[r],t[r]))return!1;return!0}return!1}const HN=Object.prototype.hasOwnProperty;function mx(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=Gh(e)&&Gh(t);if(!r&&!(qu(e)&&qu(t)))return t;const o=(r?e:Object.keys(e)).length,s=r?t:Object.keys(t),i=s.length,a=r?new Array(i):{};let c=0;for(let u=0;u<i;u++){const f=r?u:s[u],p=e[f],m=t[f];if(p===m){a[f]=p,(r?u<o:HN.call(e,f))&&c++;continue}if(p===null||m===null||typeof p!="object"||typeof m!="object"){a[f]=m;continue}const h=mx(p,m,n+1);a[f]=h,h===p&&c++}return o===i&&c===o?e:a}function Gh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function qu(e){if(!Kh(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Kh(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Kh(e){return Object.prototype.toString.call(e)==="[object Object]"}function GN(e){return new Promise(t=>{Qu.setTimeout(t,e)})}function KN(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?mx(e,t):t}function QN(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function qN(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}const _f=Symbol();function gx(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===_f?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function YN(e,t,n){let r=!1,o;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(o??(o=t()),r||(r=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),e}let XN=()=>UN;const vx=()=>XN();var Al=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},$r,tr,Uo,xm,ZN=(xm=class extends Al{constructor(){super();te(this,$r);te(this,tr);te(this,Uo);W(this,Uo,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){P(this,tr)||this.setEventListener(P(this,Uo))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,tr))==null||t.call(this),W(this,tr,void 0))}setEventListener(t){var n;W(this,Uo,t),(n=P(this,tr))==null||n.call(this),W(this,tr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){P(this,$r)!==t&&(W(this,$r,t),this.onFocus())}onFocus(){const t=this.isFocused();
206this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof P(this,$r)=="boolean"?P(this,$r):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},$r=new WeakMap,tr=new WeakMap,Uo=new WeakMap,xm);const yx=new ZN,JN=$N;function ej(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=JN;const s=a=>{t?e.push(a):o(()=>{n(a)})},i=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||i()}return c},batchCalls:a=>(...c)=>{s(()=>{a(...c)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}const tt=ej();var Vo,nr,Bo,wm,tj=(wm=class extends Al{constructor(){super();te(this,Vo,!0);te(this,nr);te(this,Bo);W(this,Bo,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){P(this,nr)||this.setEventListener(P(this,Bo))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,nr))==null||t.call(this),W(this,nr,void 0))}setEventListener(t){var n;W(this,Bo,t),(n=P(this,nr))==null||n.call(this),W(this,nr,t(this.setOnline.bind(this)))}setOnline(t){P(this,Vo)!==t&&(W(this,Vo,t),this.listeners.forEach(n=>{n(t)}))}isOnline(){return P(this,Vo)}},Vo=new WeakMap,nr=new WeakMap,Bo=new WeakMap,wm);const Ja=new tj;function nj(e){return Math.min(1e3*2**e,3e4)}function xx(e){return(e??"online")==="online"?Ja.isOnline():!0}var Yu=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function wx(e){let t=!1,n=0,r,o="pending",s,i;const a=new Promise((g,v)=>{s=g,i=v});
206a.catch(Rt);const c=()=>o!=="pending",u=g=>{var v;if(!c()){const S=new Yu(g);x(S),(v=e.onCancel)==null||v.call(e,S)}},f=()=>{t=!0},p=()=>{t=!1},m=()=>yx.isFocused()&&(e.networkMode==="always"||Ja.isOnline())&&e.canRun(),h=()=>xx(e.networkMode)&&e.canRun(),w=g=>{c()||(r==null||r(),o="resolved",s(g))},x=g=>{c()||(r==null||r(),o="rejected",i(g))},b=()=>new Promise(g=>{var v;r=S=>{(c()||m())&&g(S)},(v=e.onPause)==null||v.call(e)}).then(()=>{var g;r=void 0,c()||(g=e.onContinue)==null||g.call(e)}),y=()=>{if(c())return;let g;const v=n===0?e.initialPromise:void 0;try{g=v??e.fn()}catch(S){g=Promise.reject(S)}Promise.resolve(g).then(w).catch(S=>{var R;if(c())return;const C=e.retry??(vx()?0:3),E=e.retryDelay??nj,N=typeof E=="function"?E(n,S):E,j=C===!0||typeof C=="number"&&n<C||typeof C=="function"&&C(n,S);if(t||!j){x(S);return}n++,(R=e.onFail)==null||R.call(e,n,S),GN(N).then(()=>m()?void 0:b()).then(()=>{t?x(S):y()})})};return{promise:a,status:()=>o,cancel:u,continue:()=>(r==null||r(),a),cancelRetry:f,continueRetry:p,canStart:h,start:()=>(h()?y():b().then(y),a)}}var Ur,bm,bx=(bm=class{constructor(){te(this,Ur)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),BN(this.gcTime)&&W(this,Ur,Qu.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(vx()?1/0:3e5))}clearGcTimeout(){P(this,Ur)!==void 0&&(Qu.clearTimeout(P(this,Ur)),W(this,Ur,void 0))}},Ur=new WeakMap,bm);function rj(e){return{onFetch:(t,n)=>{var f,p,m,h,w;const r=t.options,o=(m=(p=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:p.fetchMore)==null?void 0:m.direction,s=((h=t.state.data)==null?void 0:h.pages)||[],i=((w=t.state.data)==null?void 0:w.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const u=async()=>{let x=!1;const b=v=>{YN(v,()=>t.signal,()=>x=!0)},y=gx(t.options,t.fetchOptions),g=async(v,S,C)=>{if(x)return Promise.reject(t.signal.reason);if(S==null&&v.pages.length)return Promise.resolve(v);const N=(()=>{const M={client:t.client,queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};return b(M),M})(),j=await y(N),{maxPages:R}=t.options,k=C?qN:QN;return{pages:k(v.pages,j,R),pageParams:k(v.pageParams,S,R)}};if(o&&s.length){const v=o==="backward",S=v?oj:Qh,C={pages:s,pageParams:i};a=await g(C,S(r,C),v)}else{const v=e??s.length;do{const S=c===0?i[0]??r.initialPageParam:Qh(r,a);if(c>0&&S==null)break;a=await g(a,S),c++}while(c<v)}return a};t.options.persister?t.fetchFn=()=>{var x,b;return(b=(x=t.options).persister)==null?void 0:b.call(x,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Qh(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function oj(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Wo,Vr,Ho,kt,Br,Me,mi,Wr,Gt,wn,Sm,sj=(Sm=class extends bx{constructor(t){super();te(this,Gt);te(this,Wo);te(this,Vr);te(this,Ho);te(this,kt);te(this,Br);te(this,Me);te(this,mi);te(this,Wr);W(this,Wr,!1),W(this,mi,t.defaultOptions),this.setOptions(t.options),this.observers=[],W(this,Br,t.client),W(this,kt,P(this,Br).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,W(this,Vr,Yh(this.options)),this.state=t.state??P(this,Vr),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return P(this,Wo)}get promise(){var t;return(t=P(this,Me))==null?void 0:t.promise}setOptions(t){if(this.options={...P(this,mi),...t},t!=null&&t._type&&W(this,Wo,t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Yh(this.options);n.data!==void 0&&(this.setState(qh(n.data,n.dataUpdatedAt)),W(this,Vr,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&P(this,kt).remove(this)}setData(t,n){const r=KN(this.state.data,t,this.options);return Ke(this,Gt,wn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t){Ke(this,Gt,wn).call(this,{type:"setState",state:t})}cancel(t){var r,o;const n=(r=P(this,Me))==null?void 0:r.promise;return(o=P(this,Me))==null||o.cancel(t),n?n.then(Rt).catch(Rt):Prom
206ise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return P(this,Vr)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>Us(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===_f||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Us(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!WN(this.state.dataUpdatedAt,t)}onFocus(){var t,n;(t=this.observers.find(r=>r.shouldFetchOnWindowFocus()))==null||t.refetch({cancelRefetch:!1}),(n=P(this,Me))==null||n.continue()}onOnline(){var t,n;(t=this.observers.find(r=>r.shouldFetchOnReconnect()))==null||t.refetch({cancelRefetch:!1}),(n=P(this,Me))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),P(this,kt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){const n=this.observers.indexOf(t);n!==-1&&(this.observers.splice(n,1),this.observers.length||(P(this,Me)&&(P(this,Wr)||this.state.fetchStatus==="paused"&&this.state.status==="pending"?P(this,Me).cancel({revert:!0}):P(this,Me).cancelRetry()),this.scheduleGc()),P(this,kt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ke(this,Gt,wn).call(this,{type:"invalidate"})}async fetch(t,n){var u,f,p,m,h,w,x,b,y,g,v,S;if(this.state.fetchStatus!=="idle"&&((u=P(this,Me))==null?void 0:u.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(P(this,Me))return P(this,Me).continueRetry(),P(this,Me).promise}if(t&&this.setOptions(t),!this.options.queryFn){const C=this.observers.find(E=>E.options.queryFn);C&&this.setOptions(C.options)}const r=new AbortController,o=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(W(this,Wr,!0),r.signal)})},s=()=>{const C=gx(this.options,n),N=(()=>{const j={client:P(this,Br),queryKey:this.queryKey,meta:this.meta};return o(j),j})();return W(this,Wr,!1),this.options.persister?this.options.persister(C,N,this):C(N)},a=(()=>{const C={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:P(this,Br),state:this.state,fetchFn:s};return o(C),C})();(f=P(this,Wo)==="infinite"?rj(this.options.pages):this.options.behavior)==null||f.onFetch(a,this),W(this,Ho,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=a.fetchOptions)==null?void 0:p.meta))&&Ke(this,Gt,wn).call(this,{type:"fetch",meta:(m=a.fetchOptions)==null?void 0:m.meta});const c=W(this,Me,wx({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,onCancel:C=>{C instanceof Yu&&C.revert&&this.setState({...P(this,Ho),fetchStatus:"idle"}),r.abort()},onFail:(C,E)=>{Ke(this,Gt,wn).call(this,{type:"failed",failureCount:C,error:E})},onPause:()=>{Ke(this,Gt,wn).call(this,{type:"pause"})},onContinue:()=>{Ke(this,Gt,wn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}));try{const C=await c.start();if(C===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(C),(w=(h=P(this,kt).config).onSuccess)==null||w.call(h,C,this),(b=(x=P(this,kt).config).onSettled)==null||b.call(x,C,this.state.error,this),C}catch(C){if(C instanceof Yu){if(C.silent)return P(this,Me).promise;if(C.revert){if(this.state.data===void 0)throw C;return this.state.data}}throw Ke(this,Gt,wn).call(this,{type:"error",error:C}),(g=(y=P(this,kt).config).onError)==null||g.call(y,C,this),(S=(v=P(this,kt).config).onSettled)==null||S.call(v,this.state.data,C,this),C}finally{P(this,Me)===c&&W(this,Me,void 0),this.scheduleGc()}}},Wo=new WeakMap,Vr=new WeakMap,Ho=new WeakMap,kt=new WeakMap,Br=new WeakMap,Me=new WeakMap,mi=new WeakMap,Wr=new WeakMap,Gt=new WeakSet,wn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...ij(r.data,this.options),fetchMeta:t.meta??null};case"success":const o={...r,...qh(t.data,t.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return W(this,Ho,t.manual?o:void 0),o;case"error":const s=t.error;
206return{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),tt.batch(()=>{this.observers.slice().forEach(r=>{r.onQueryUpdate()}),P(this,kt).notify({query:this,type:"updated",action:t})})},Sm);function ij(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:xx(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function qh(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Yh(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var gi,sn,Ye,Hr,an,qn,Cm,aj=(Cm=class extends bx{constructor(t){super();te(this,an);te(this,gi);te(this,sn);te(this,Ye);te(this,Hr);W(this,gi,t.client),this.mutationId=t.mutationId,W(this,Ye,t.mutationCache),W(this,sn,[]),this.state=t.state||lj(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){P(this,sn).includes(t)||(P(this,sn).push(t),this.clearGcTimeout(),P(this,Ye).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){W(this,sn,P(this,sn).filter(n=>n!==t)),this.scheduleGc(),P(this,Ye).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){P(this,sn).length||(this.state.status==="pending"?this.scheduleGc():P(this,Ye).remove(this))}continue(){var t;return((t=P(this,Hr))==null?void 0:t.continue())??(this.state.status==="pending"?this.execute(this.state.variables):Promise.resolve())}async execute(t){var a,c,u,f,p,m,h,w,x,b,y,g,v,S,C,E,N,j;const n=()=>{Ke(this,an,qn).call(this,{type:"continue"})},r={client:P(this,gi),meta:this.options.meta,mutationKey:this.options.mutationKey},o=W(this,Hr,wx({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(R,k)=>{Ke(this,an,qn).call(this,{type:"failed",failureCount:R,error:k})},onPause:()=>{Ke(this,an,qn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>P(this,Ye).canRun(this)})),s=this.state.status==="pending",i=!o.canStart();try{if(s)n();else{Ke(this,an,qn).call(this,{type:"pending",variables:t,isPaused:i}),P(this,Ye).config.onMutate&&await P(this,Ye).config.onMutate(t,this,r);const k=await((c=(a=this.options).onMutate)==null?void 0:c.call(a,t,r));k!==this.state.context&&Ke(this,an,qn).call(this,{type:"pending",context:k,variables:t,isPaused:i})}const R=await o.start();return await((f=(u=P(this,Ye).config).onSuccess)==null?void 0:f.call(u,R,t,this.state.context,this,r)),await((m=(p=this.options).onSuccess)==null?void 0:m.call(p,R,t,this.state.context,r)),await((w=(h=P(this,Ye).config).onSettled)==null?void 0:w.call(h,R,null,this.state.variables,this.state.context,this,r)),await((b=(x=this.options).onSettled)==null?void 0:b.call(x,R,null,t,this.state.context,r)),Ke(this,an,qn).call(this,{type:"success",data:R}),R}catch(R){try{await((g=(y=P(this,Ye).config).onError)==null?void 0:g.call(y,R,t,this.state.context,this,r))}catch(k){Promise.reject(k)}try{await((S=(v=this.options).onError)==null?void 0:S.call(v,R,t,this.state.context,r))}catch(k){Promise.reject(k)}try{await((E=(C=P(this,Ye).config).onSettled)==null?void 0:E.call(C,void 0,R,this.state.variables,this.state.context,this,r))}catch(k){Promise.reject(k)}try{await((j=(N=this.options).onSettled)==null?void 0:j.call(N,void 0,R,t,this.state.context,r))}catch(k){Promise.reject(k)}throw Ke(this,an,qn).call(this,{type:"error",error:R}),R}finally{P(this,Hr)===o&&W(this,Hr,void 0),P(this,Ye).runNext(this)}}},gi=new WeakMap,sn=new WeakMap,Ye=new WeakMap,Hr=new WeakMap,an=new WeakSet,qn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};
206case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),tt.batch(()=>{P(this,sn).forEach(r=>{r.onMutationUpdate(t)}),P(this,Ye).notify({mutation:this,type:"updated",action:t})})},Cm);function lj(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var En,Kt,vi,Em,cj=(Em=class extends Al{constructor(t={}){super();te(this,En);te(this,Kt);te(this,vi);this.config=t,W(this,En,new Set),W(this,Kt,new Map),W(this,vi,0)}build(t,n,r){const o=new aj({client:t,mutationCache:this,mutationId:++Ai(this,vi)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){P(this,En).add(t);const n=Ji(t);if(typeof n=="string"){const r=P(this,Kt).get(n);r?r.push(t):P(this,Kt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(P(this,En).delete(t)){const n=Ji(t);if(typeof n=="string"){const r=P(this,Kt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&P(this,Kt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=Ji(t);if(typeof n=="string"){const o=(r=P(this,Kt).get(n))==null?void 0:r.find(s=>s.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r,o;const n=Ji(t);return typeof n=="string"?((o=(r=P(this,Kt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused))==null?void 0:o.continue())??Promise.resolve():Promise.resolve()}clear(){tt.batch(()=>{P(this,En).forEach(t=>{this.notify({type:"removed",mutation:t})}),P(this,En).clear(),P(this,Kt).clear()})}getAll(){return Array.from(P(this,En))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Hh(n,r))}findAll(t={}){return this.getAll().filter(n=>Hh(t,n))}notify(t){tt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return tt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Rt))))}},En=new WeakMap,Kt=new WeakMap,vi=new WeakMap,Em);function Ji(e){var t;return(t=e.options.scope)==null?void 0:t.id}var ln,Nm,uj=(Nm=class extends Al{constructor(t={}){super();te(this,ln);this.config=t,W(this,ln,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??Tf(o,n);let i=this.get(s);return i||(i=new sj({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){P(this,ln).has(t.queryHash)||(P(this,ln).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=P(this,ln).get(t.queryHash);n&&(t.destroy(),n===t&&P(this,ln).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){tt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return P(this,ln).get(t)}getAll(){return[...P(this,ln).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Wh(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Wh(t,r)):n}notify(t){tt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){tt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){tt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},ln=new WeakMap,Nm),Ee,rr,or,Go,Ko,sr,Qo,qo,jm,dj=(jm=class{constructor(e={}){te(this,Ee);te(this,rr);te(this,or);te(this,Go);te(this,Ko);te(this,sr);te(this,Qo);te(this,qo);W(this,Ee,e.queryCache||new uj),W(this,rr,e.mutationCache||new cj),W(this,or,e.defaultOptions||{}),W(this,Go,new Map),W(this,Ko,new Map),W(this,sr,0)}mount(){Ai(this,sr)._++,P(this,sr)===1&&(W(this,Qo,yx.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,Ee).onFocus())})),W(this,qo,Ja.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,Ee).onOnline())})))}unmount(){var e,t;Ai(this,sr)._--,P(this,sr)===0&&((e=P(this,Qo))==null||e.call(this),W(this,Qo,void 0),(t=P(this,qo))==null||t.call(this),W(this,qo,void 0))}isFetching(e){return P(this,Ee).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return P(this,rr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,Ee).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=P(this,Ee).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Us(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return P(this,Ee).findAll(e).map(({queryKey:t,state:n})=>[t,n.data])}setQueryData(e,t,n){var i;const r=this.defaultQueryOptions({queryKey:e}),o=(i=P(this,Ee).get(r.queryHash))==null?void 0:i.state.data,s=VN(t,o);if(s!==void 0)return P(this,Ee).build(this,r).setData(s,{...n,manual:!0})}
206setQueriesData(e,t,n){return tt.batch(()=>P(this,Ee).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,Ee).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=P(this,Ee);tt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=P(this,Ee);return tt.batch(()=>{const r=n.findAll(e),o=new Set(r);return r.forEach(s=>{s.reset()}),this.refetchQueries({type:"active",predicate:s=>o.has(s)},t)})}cancelQueries(e,t={}){const n={revert:!0,...t},r=tt.batch(()=>P(this,Ee).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Rt).catch(Rt)}invalidateQueries(e,t={}){return tt.batch(()=>(P(this,Ee).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=tt.batch(()=>P(this,Ee).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(Rt)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Rt)}async query(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=P(this,Ee).build(this,t),r=n.isStaleByTime(Us(t.staleTime,n))?await n.fetch(t):n.state.data,o=t.select;return o?o(r):r}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=P(this,Ee).build(this,t);return n.isStaleByTime(Us(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Rt).catch(Rt)}infiniteQuery(e){return e._type="infinite",this.query(e)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Rt).catch(Rt)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Ja.isOnline()?P(this,rr).resumePausedMutations():Promise.resolve()}getQueryCache(){return P(this,Ee)}getMutationCache(){return P(this,rr)}getDefaultOptions(){return P(this,or)}setDefaultOptions(e){W(this,or,e)}setQueryDefaults(e,t){P(this,Go).set(ci(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...P(this,Go).values()],n={};return t.forEach(r=>{rs(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){P(this,Ko).set(ci(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...P(this,Ko).values()],n={};return t.forEach(r=>{rs(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...P(this,or).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Tf(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===_f&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...P(this,or).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){P(this,Ee).clear(),P(this,rr).clear()}},Ee=new WeakMap,rr=new WeakMap,or=new WeakMap,Go=new WeakMap,Ko=new WeakMap,sr=new WeakMap,Qo=new WeakMap,qo=new WeakMap,jm);/**
207 * @remix-run/router v1.23.4
208 *
209 * Copyright (c) Remix Software Inc.
210 *
211 * This source code is licensed under the MIT license found in the
212 * LICENSE.md file in the root directory of this source tree.
213 *
214 * @license MIT
215 */function ui(){return ui=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},ui.apply(null,arguments)}var lr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(lr||(lr={}));const Xh="popstate";function fj(e){e===void 0&&(e={});function t(r,o){let{pathname:s,search:i,hash:a}=r.location;return Xu("",{pathname:s,search:i,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}
vendor: 9,431 bytes, lines 215-224
215function n(r,o){return typeof o=="string"?o:el(o)}return hj(t,n,null,e)}function Fe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Sx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function pj(){return Math.random().toString(36).substr(2,8)}function Zh(e,t){return{usr:e.state,key:e.key,idx:t}}function Xu(e,t,n,r){return n===void 0&&(n=null),ui({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?fs(t):t,{state:n,key:t&&t.key||r||pj()})}function el(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function fs(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function hj(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,a=lr.Pop,c=null,u=f();u==null&&(u=0,i.replaceState(ui({},i.state,{idx:u}),""));function f(){return(i.state||{idx:null}).idx}function p(){a=lr.Pop;let b=f(),y=b==null?null:b-u;u=b,c&&c({action:a,location:x.location,delta:y})}function m(b,y){a=lr.Push;let g=Xu(x.location,b,y);u=f()+1;let v=Zh(g,u),S=x.createHref(g);try{i.pushState(v,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(S)}s&&c&&c({action:a,location:x.location,delta:1})}function h(b,y){a=lr.Replace;let g=Xu(x.location,b,y);u=f();let v=Zh(g,u),S=x.createHref(g);i.replaceState(v,"",S),s&&c&&c({action:a,location:x.location,delta:0})}function w(b){let y=o.location.origin!=="null"?o.location.origin:o.location.href,g=typeof b=="string"?b:el(b);return g=g.replace(/ $/,"%20"),Fe(y,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,y)}let x={get action(){return a},get location(){return e(o,i)},listen(b){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(Xh,p),c=b,()=>{o.removeEventListener(Xh,p),c=null}},createHref(b){return t(o,b)},createURL:w,encodeLocation(b){let y=w(b);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:m,replace:h,go(b){return i.go(b)}};return x}var Jh;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Jh||(Jh={}));function mj(e,t,n){return n===void 0&&(n="/"),gj(e,t,n)}function gj(e,t,n,r){let o=typeof t=="string"?fs(t):t,s=Af(o.pathname||"/",n);if(s==null)return null;let i=Cx(e);vj(i);let a=null,c=Rj(s);for(let u=0;a==null&&u<i.length;++u)a=jj(i[u],c);return a}function Cx(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(s,i,a)=>{let c={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};c.relativePath.startsWith("/")&&(Fe(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=yr([r,c.relativePath]),f=n.concat(c);s.children&&s.children.length>0&&(Fe(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Cx(s.children,t,f,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:Ej(u,s.index),routesMeta:f})};return e.forEach((s,i)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))o(s,i);else for(let c of Ex(s.path))o(s,i,c)}),t}function Ex(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let i=Ex(r.join("/")),a=[];return a.push(...i.map(c=>c===""?s:[s,c].join("/"))),o&&a.push(...i),a.map(c=>e.startsWith("/")&&c===""?"/":c)}function vj(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Nj(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const yj=/^:[\w-]+$/,xj=3,wj=2,bj=1,Sj=10,Cj=-2,em=e=>e==="*";function Ej(e,t){let n=e.split("/"),r=n.length;return n.some(em)&&(r+=Cj),t&&(r+=wj),n.filter(o=>!em(o)).reduce((o,s)=>o+(yj.test(s)?xj:s===""?bj:Sj),r)}function Nj(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 jj(e,t,n){let{routesMeta:r}=e,o={},s="/",i=[];for(let a=0;a<r.length;++a){let c=r[a],u=a===r.length-1,f=s==="/"?t:t.slice(s.length)||"/",p=Pj({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},f),m=c.route;if(!p)return null;Object.assign(o,p.params),i.push({params:o,pathname:yr([s,p.pathname]),pathnameBase:Aj(yr([s,p.pathnameBase])),route:m}),p.pathnameBase!=="/"&&(s=yr([s,p.pathnameBase]))}return i}function Pj(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=kj(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,f,p)=>{let{paramName:m,isOptional:h}=f;if(m==="*"){let x=a[p]||"";i=s.slice(0,s.length-x.length).replace(/(.)\/+$/,"$1")}const w=a[p];return h&&!w?u[m]=void 0:u[m]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:i,pattern:e}}function kj(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Sx(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,c)=>(r.push({paramName:a,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Rj(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Sx(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Af(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 Tj(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?fs(e):e,s;return n?(n=Px(n),n.startsWith("/")?s=tm(n.substring(1),"/"):s=tm(n,t)):s=t,{pathname:s,search:Ij(r),hash:Oj(o)}}function tm(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 Ac(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 _j(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Nx(e,t){let n=_j(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function jx(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=fs(e):(o=ui({},e),Fe(!o.pathname||!o.pathname.includes("?"),Ac("?","pathname","search",o)),Fe(!o.pathname||!o.pathname.includes("#"),Ac("#","pathname","hash",o)),Fe(!o.search||!o.search.includes("#"),Ac("#","search","hash",o)));let s=e===""||o.pathname==="",i=s?"/":o.pathname,a;if(i==null)a=n;else{let p=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),p-=1;o.pathname=m.join("/")}a=p>=0?t[p]:"/"}let c=Tj(o,a),u=i&&i!=="/"&&i.endsWith("/"),f=(s||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||f)&&(c.pathname+="/"),c}const Px=e=>e.replace(/\/\/+/g,"/"),yr=e=>Px(e.join("/")),Aj=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ij=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Oj=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Fj(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const kx=["post","put","patch","delete"];new Set(kx);const Mj=["get",...kx];new Set(Mj);/**
216 * React Router v6.30.6
217 *
218 * Copyright (c) Remix Software Inc.
219 *
220 * This source code is licensed under the MIT license found in the
221 * LICENSE.md file in the root directory of this source tree.
222 *
223 * @license MIT
224 */function di(){return di=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},di.apply(null,arguments)}const If=d.createContext(null),Dj=d.createContext(null),ao=d.createContext(null),Il=d.createContext(null),kr=d.createContext({outlet:null,matches:[],isDataRoute:!1}),Rx=d.createContext(null);function Lj(e,t){let{relative:n}=t===void 0?{}:t;Ni()||Fe(!1);let{basename:r,navigator:o}=d.useContext(ao),{hash:s,pathname:i,search:a}=_x(e,{relative:n}),c=i;return r!=="/"&&(c=i==="/"?r:yr([r,i])),o.createHref({pathname:c,search:a,hash:s})}function Ni(){return d.useContext(Il)!=null}function ps(){return Ni()||Fe(!1),d.useContext(Il).location}function Tx(e){d.useContext(ao).static||d.useLayoutEffect(e)}function zj(){let{isDataRoute:e}=d.useContext(kr);return e?eP():$j()}function $j(){Ni()||Fe(!1);
vendor: 4,449 bytes, line 224
224let e=d.useContext(If),{basename:t,future:n,navigator:r}=d.useContext(ao),{matches:o}=d.useContext(kr),{pathname:s}=ps(),i=JSON.stringify(Nx(o,n.v7_relativeSplatPath)),a=d.useRef(!1);return Tx(()=>{a.current=!0}),d.useCallback(function(u,f){if(f===void 0&&(f={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let p=jx(u,JSON.parse(i),s,f.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:yr([t,p.pathname])),(f.replace?r.replace:r.push)(p,f.state,f)},[t,r,i,s,e])}const Uj=d.createContext(null);function Vj(e){let t=d.useContext(kr).outlet;return t&&d.createElement(Uj.Provider,{value:e},t)}function _x(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=d.useContext(ao),{matches:o}=d.useContext(kr),{pathname:s}=ps(),i=JSON.stringify(Nx(o,r.v7_relativeSplatPath));return d.useMemo(()=>jx(e,JSON.parse(i),s,n==="path"),[e,i,s,n])}function Bj(e,t){return Wj(e,t)}function Wj(e,t,n,r){Ni()||Fe(!1);let{navigator:o}=d.useContext(ao),{matches:s}=d.useContext(kr),i=s[s.length-1],a=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let u=ps(),f;if(t){var p;let b=typeof t=="string"?fs(t):t;c==="/"||(p=b.pathname)!=null&&p.startsWith(c)||Fe(!1),f=b}else f=u;let m=f.pathname||"/",h=m;if(c!=="/"){let b=c.replace(/^\//,"").split("/");h="/"+m.replace(/^\//,"").split("/").slice(b.length).join("/")}let w=mj(e,{pathname:h}),x=qj(w&&w.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:yr([c,o.encodeLocation?o.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:yr([c,o.encodeLocation?o.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),s,n,r);return t&&x?d.createElement(Il.Provider,{value:{location:di({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:lr.Pop}},x):x}function Hj(){let e=Jj(),t=Fj(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return d.createElement(d.Fragment,null,d.createElement("h2",null,"Unexpected Application Error!"),d.createElement("h3",{style:{fontStyle:"italic"}},t),n?d.createElement("pre",{style:o},n):null,null)}const Gj=d.createElement(Hj,null);class Kj extends d.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?d.createElement(kr.Provider,{value:this.props.routeContext},d.createElement(Rx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Qj(e){let{routeContext:t,match:n,children:r}=e,o=d.useContext(If);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),d.createElement(kr.Provider,{value:t},r)}function qj(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let f=i.findIndex(p=>p.route.id&&(a==null?void 0:a[p.route.id])!==void 0);f>=0||Fe(!1),i=i.slice(0,Math.min(i.length,f+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f<i.length;f++){let p=i[f];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(u=f),p.route.id){let{loaderData:m,errors:h}=n,w=p.route.loader&&m[p.route.id]===void 0&&(!h||h[p.route.id]===void 0);if(p.route.lazy||w){c=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((f,p,m)=>{let h,w=!1,x=null,b=null;n&&(h=a&&p.route.id?a[p.route.id]:void 0,x=p.route.errorElement||Gj,c&&(u<0&&m===0?(tP("route-fallback"),w=!0,b=null):u===m&&(w=!0,b=p.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,m+1)),g=()=>{let v;return h?v=x:w?v=b:p.route.Component?v=d.createElement(p.route.Component,null):p.route.element?v=p.route.element:v=f,d.createElement(Qj,{match:p,routeC
224ontext:{outlet:f,matches:y,isDataRoute:n!=null},children:v})};return n&&(p.route.ErrorBoundary||p.route.errorElement||m===0)?d.createElement(Kj,{location:n.location,revalidation:n.revalidation,component:x,error:h,children:g(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):g()},null)}var Ax=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ax||{}),Ix=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ix||{});function Yj(e){let t=d.useContext(If);return t||Fe(!1),t}function Xj(e){let t=d.useContext(Dj);return t||Fe(!1),t}function Zj(e){let t=d.useContext(kr);return t||Fe(!1),t}function Ox(e){let t=Zj(),n=t.matches[t.matches.length-1];return n.route.id||Fe(!1),n.route.id}function Jj(){var e;let t=d.useContext(Rx),n=Xj(),r=Ox();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function eP(){let{router:e}=Yj(Ax.UseNavigateStable),t=Ox(Ix.UseNavigateStable),n=d.useRef(!1);return Tx(()=>{n.current=!0}),d.useCallback(function(o,s){s===void 0&&(s={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,di({fromRouteId:t},s)))},[e,t])}const nm={};function tP(e,t,n){nm[e]||(nm[e]=!0)}function nP(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function rP(e){return Vj(e.context)}function Pt(e){Fe(!1)}function oP(e){let{basename:t="/",children:n=null,location:r,navigationType:o=lr.Pop,navigator:s,static:i=!1,future:a}=e;Ni()&&Fe(!1);let c=t.replace(/^\/*/,"/"),u=d.useMemo(()=>({basename:c,navigator:s,static:i,future:di({v7_relativeSplatPath:!1},a)}),[c,a,s,i]);typeof r=="string"&&(r=fs(r));let{pathname:f="/",search:p="",hash:m="",state:h=null,key:w="default"}=r,x=d.useMemo(()=>{let b=Af(f,c);return b==null?null:{location:{pathname:b,search:p,hash:m,state:h,key:w},navigationType:o}},[c,f,p,m,h,w,o]);return x==null?null:d.createElement(ao.Provider,{value:u},d.createElement(Il.Provider,{children:n,value:x}))}function sP(e){let{children:t,location:n}=e;return Bj(Zu(t),n)}new Promise(()=>{});function Zu(e,t){t===void 0&&(t=[]);let n=[];return d.Children.forEach(e,(r,o)=>{if(!d.isValidElement(r))return;let s=[...t,o];if(r.type===d.Fragment){n.push.apply(n,Zu(r.props.children,s));return}r.type!==Pt&&Fe(!1),!r.props.index||!r.props.children||Fe(!1);let i={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=Zu(r.props.children,s)),n.push(i)}),n}/**
225 * React Router DOM v6.30.6
226 *
227 * Copyright (c) Remix Software Inc.
228 *
229 * This source code is licensed under the MIT license found in the
230 * LICENSE.md file in the root directory of this source tree.
231 *
232 * @license MIT
233 */function Ju(){return Ju=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},Ju.apply(null,arguments)}function iP(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 aP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function lP(e,t){return e.button===0&&(!t||t==="_self")&&!aP(e)}const cP=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],uP="6";try{window.__reactRouterVersion=uP}catch{}const dP="startTransition",rm=oo[dP];function fP(e){let{basename:t,children:n,future:r,window:o}=e,s=d.useRef();s.current==null&&(s.current=fj({window:o,v5Compat:!0}));
233let i=s.current,[a,c]=d.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},f=d.useCallback(p=>{u&&rm?rm(()=>c(p)):c(p)},[c,u]);return d.useLayoutEffect(()=>i.listen(f),[i,f]),d.useEffect(()=>nP(r),[r]),d.createElement(oP,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i,future:r})}const pP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",hP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,We=d.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:s,replace:i,state:a,target:c,to:u,preventScrollReset:f,viewTransition:p}=t,m=iP(t,cP),{basename:h}=d.useContext(ao),w,x=!1;if(typeof u=="string"&&hP.test(u)&&(w=u,pP))try{let v=new URL(window.location.href),S=u.startsWith("//")?new URL(v.protocol+u):new URL(u),C=Af(S.pathname,h);S.origin===v.origin&&C!=null?u=C+S.search+S.hash:x=!0}catch{}let b=Lj(u,{relative:o}),y=mP(u,{replace:i,state:a,target:c,preventScrollReset:f,relative:o,viewTransition:p});function g(v){r&&r(v),v.defaultPrevented||y(v)}return d.createElement("a",Ju({},m,{href:w||b,onClick:x||s?r:g,ref:n,target:c}))});var om;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(om||(om={}));var sm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(sm||(sm={}));function mP(e,t){let{target:n,replace:r,state:o,preventScrollReset:s,relative:i,viewTransition:a}=t===void 0?{}:t,c=zj(),u=ps(),f=_x(e,{relative:i});return d.useCallback(p=>{if(lP(p,n)){p.preventDefault();let m=r!==void 0?r:el(u)===el(f);c(e,{replace:m,state:o,preventScrollReset:s,relative:i,viewTransition:a})}},[u,c,f,r,o,n,e,s,i,a])}const gP=Cl("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),je=d.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},s)=>{const i=r?vS:"button";return l.jsx(i,{className:G(gP({variant:t,size:n,className:e})),ref:s,...o})});je.displayName="Button";const Vs=d.forwardRef(({className:e,type:t,...n},r)=>l.jsx("input",{type:t,className:G("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));Vs.displayName="Input";const Fx=d.createContext(void 0);function vP({children:e}){const[t,n]=d.useState(()=>{const f=localStorage.getItem("varney_cart");return f?JSON.parse(f):[]}),[r,o]=d.useState(!1);d.useEffect(()=>{localStorage.setItem("varney_cart",JSON.stringify(t))},[t]);const s=f=>{n(p=>p.find(h=>h.id===f.id)?p.map(h=>h.id===f.id?{...h,quantity:h.quantity+1}:h):[...p,{...f,quantity:1}]),cf({title:"Added to Cart",description:`${f.name} has been added to your cart.`})},i=f=>{n(p=>p.filter(m=>m.id!==f))},a=(f,p)=>{if(p<1){i(f);return}n(m=>m.map(h=>h.id===f?{...h,quantity:p}:h))},c=t.reduce((f,p)=>f+p.quantity,0),u=t.reduce((f,p)=>f+p.price*p.quantity,0);return l.jsx(Fx.Provider,{value:{items:t,addToCart:s,removeFromCart:i,updateQuantity:a,cartCount:c,cartTotal:u,isCartOpen:r,setIsCartOpen:o},children:e})}function Mx(){const e=d.useContext(Fx);if(e===void 0)throw new Error("useCart must be used within a CartProvider");return e}var yP=Object.defineProperty,nt=(e,t)=>
233yP(e,"name",{value:t,configurable:!0}),Ic="focusScope.autoFocusOnMount",Oc="focusScope.autoFocusOnUnmount",im={bubbles:!1,cancelable:!0},Dx=d.forwardRef(nt(function(t,n){const{loop:r=!1,trapped:o=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...a}=t,[c,u]=d.useState(null),f=Te(s),p=Te(i),m=d.useRef(null),h=ee(n,u),w=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(o){let b=function(S){if(w.paused||!c)return;const C=S.target;c.contains(C)?m.current=C:Sn(m.current,{select:!0})},y=function(S){if(w.paused||!c)return;const C=S.relatedTarget;C!==null&&(c.contains(C)||Sn(m.current,{select:!0}))},g=function(S){if(document.activeElement===document.body)for(const E of S)E.removedNodes.length>0&&Sn(c)};nt(b,"handleFocusIn"),nt(y,"handleFocusOut"),nt(g,"handleMutations"),document.addEventListener("focusin",b),document.addEventListener("focusout",y);const v=new MutationObserver(g);return c&&v.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",y),v.disconnect()}}},[o,c,w.paused]),d.useEffect(()=>{if(c){am.add(w);const b=document.activeElement;if(!c.contains(b)){const g=new CustomEvent(Ic,im);c.addEventListener(Ic,f),c.dispatchEvent(g),g.defaultPrevented||(Lx(Bx(Of(c)),{select:!0}),document.activeElement===b&&Sn(c))}return()=>{c.removeEventListener(Ic,f),setTimeout(()=>{const g=new CustomEvent(Oc,im);c.addEventListener(Oc,p),c.dispatchEvent(g),g.defaultPrevented||Sn(b??document.body,{select:!0}),c.removeEventListener(Oc,p),am.remove(w)},0)}}},[c,f,p,w]);const x=d.useCallback(b=>{if(!r&&!o||w.paused)return;const y=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,g=document.activeElement;if(y&&g){const v=b.currentTarget,[S,C]=zx(v);S&&C?!b.shiftKey&&g===C?(b.preventDefault(),r&&Sn(S,{select:!0})):b.shiftKey&&g===S&&(b.preventDefault(),r&&Sn(C,{select:!0})):g===v&&b.preventDefault()}},[r,o,w.paused]);return l.jsx(Q.div,{tabIndex:-1,...a,ref:h,onKeyDown:x})},"FocusScope"));function Lx(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Sn(r,{select:t}),document.activeElement!==n)return}nt(Lx,"focusFirst");function zx(e){const t=Of(e),n=ed(t,e),r=ed(t.reverse(),e);return[n,r]}nt(zx,"getTabbableEdges");function Of(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:nt(r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}nt(Of,"getTabbableCandidates");function ed(e,t){const n=typeof t.checkVisibility=="function"&&t.checkVisibility({checkVisibilityCSS:!0});for(const r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):$x(r,{upTo:t})))return r}nt(ed,"findVisible");function $x(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}nt($x,"isHidden");function Ux(e){return e instanceof HTMLInputElement&&"select"in e}nt(Ux,"isSelectableInput");function Sn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Ux(e)&&t&&e.select()}}nt(Sn,"focus");var am=Vx();function Vx(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=td(e,t),e.unshift(t)},remove(t){var n;e=td(e,t),(n=e[0])==null||n.resume()}}}nt(Vx,"createFocusScopesStack");function td(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}nt(td,"arrayRemove");function Bx(e){return e.filter(t=>t.tagName!=="A")}nt(Bx,"removeLinks");var xP=Object.defineProperty,Ff=(e,t)=>xP(e,"name",{value:t,configurable:!0}),ea=0,rn=null;function wP(e){return Ol(),e.children}Ff(wP,"FocusGuards");function Ol(){d.useEffect(()=>{rn||(rn={start:nd(),end:nd()});const{start:e,end:t}=rn;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),ea++,()=>{ea===1&&(rn==null||rn.start.remove(),rn==null||rn.end.remove(),rn=null),ea=Math.max(0,ea-1)}},[])}Ff(Ol,"useFocusGuards");
vendor: 5,839 bytes, lines 233-248
233function nd(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}Ff(nd,"createFocusGuard");var un=function(){return un=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},un.apply(this,arguments)};function Wx(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function bP(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Ca="right-scroll-bar-position",Ea="width-before-scroll-bar",SP="with-scroll-bars-hidden",CP="--removed-body-scroll-bar-size";function Fc(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function EP(e,t){var n=d.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var NP=typeof window<"u"?d.useLayoutEffect:d.useEffect,lm=new WeakMap;function jP(e,t){var n=EP(null,function(r){return e.forEach(function(o){return Fc(o,r)})});return NP(function(){var r=lm.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Fc(a,null)}),s.forEach(function(a){o.has(a)||Fc(a,i)})}lm.set(n,e)},[e]),n}function PP(e){return e}function kP(e,t){t===void 0&&(t=PP);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var c=function(){var f=i;i=[],f.forEach(s)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(f){i.push(f),u()},filter:function(f){return i=i.filter(f),n}}}};return o}function RP(e){e===void 0&&(e={});var t=kP(null);return t.options=un({async:!0,ssr:!1},e),t}var Hx=function(e){var t=e.sideCar,n=Wx(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return d.createElement(r,un({},n))};Hx.isSideCarExport=!0;function TP(e,t){return e.useMedium(t),Hx}var Gx=RP(),Mc=function(){},Fl=d.forwardRef(function(e,t){var n=d.useRef(null),r=d.useState({onScrollCapture:Mc,onWheelCapture:Mc,onTouchMoveCapture:Mc}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,f=e.enabled,p=e.shards,m=e.sideCar,h=e.noRelative,w=e.noIsolation,x=e.inert,b=e.allowPinchZoom,y=e.as,g=y===void 0?"div":y,v=e.gapMode,S=Wx(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=m,E=jP([n,t]),N=un(un({},S),o);return d.createElement(d.Fragment,null,f&&d.createElement(C,{sideCar:Gx,removeScrollBar:u,shards:p,noRelative:h,noIsolation:w,inert:x,setCallbacks:s,allowPinchZoom:!!b,lockRef:n,gapMode:v}),i?d.cloneElement(d.Children.only(a),un(un({},N),{ref:E})):d.createElement(g,un({},N,{className:c,ref:E}),a))});Fl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Fl.classNames={fullWidth:Ea,zeroRight:Ca};var _P=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function AP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=_P();return t&&e.setAttribute("nonce",t),e}function IP(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function OP(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var FP=function(){var e=0,t=null;return{add:function(n){e==0&&(t=AP())&&(IP(t,n),OP(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},MP=function(){var e=FP();return function(t,n){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Kx=function(){var e=MP(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},DP={left:0,top:0,right:0,gap:0},Dc=function(e){return parseInt(e||"",10)||0},LP=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Dc(n),Dc(r),Dc(o)]},zP=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return DP;var t=LP(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},$P=Kx(),$o="data-scroll-locked",UP=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
234  .`.concat(SP,` {
235   overflow: hidden `).concat(r,`;
236   padding-right: `).concat(a,"px ").concat(r,`;
237  }
238  body[`).concat($o,`] {
239    overflow: hidden `).concat(r,`;
240    overscroll-behavior: contain;
241    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
242    padding-left: `.concat(o,`px;
243    padding-top: `).concat(s,`px;
244    padding-right: `).concat(i,`px;
245    margin-left:0;
246    margin-top:0;
247    margin-right: `).concat(a,"px ").concat(r,`;
248    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
248")].filter(Boolean).join(""),`
249  }
250  
251  .`).concat(Ca,` {
252    right: `).concat(a,"px ").concat(r,`;
253  }
254  
255  .`).concat(Ea,` {
256    margin-right: `).concat(a,"px ").concat(r,`;
257  }
258  
259  .`).concat(Ca," .").concat(Ca,` {
260    right: 0 `).concat(r,`;
261  }
262  
263  .`).concat(Ea," .").concat(Ea,` {
264    margin-right: 0 `).concat(r,`;
265  }
266  
267  body[`).concat($o,`] {
268    `).concat(CP,": ").concat(a,`px;
269  }
270`)},cm=function(){var e=parseInt(document.body.getAttribute($o)||"0",10);return isFinite(e)?e:0},VP=function(){d.useEffect(function(){return document.body.setAttribute($o,(cm()+1).toString()),function(){var e=cm()-1;e<=0?document.body.removeAttribute($o):document.body.setAttribute($o,e.toString())}},[])},BP=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;VP();var s=d.useMemo(function(){return zP(o)},[o]);return d.createElement($P,{styles:UP(s,!t,o,n?"":"!important")})},rd=!1;if(typeof window<"u")try{var ta=Object.defineProperty({},"passive",{get:function(){return rd=!0,!0}});window.addEventListener("test",ta,ta),window.removeEventListener("test",ta,ta)}catch{rd=!1}var go=rd?{passive:!1}:!1,WP=function(e){return e.tagName==="TEXTAREA"},Qx=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!WP(e)&&n[t]==="visible")},HP=function(e){return Qx(e,"overflowY")},GP=function(e){return Qx(e,"overflowX")},um=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=qx(e,r);if(o){var s=Yx(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},KP=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},QP=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},qx=function(e,t){return e==="v"?HP(t):GP(t)},Yx=function(e,t){return e==="v"?KP(t):QP(t)},qP=function(e,t){return e==="h"&&t==="rtl"?-1:1},YP=function(e,t,n,r,o){var s=qP(e,window.getComputedStyle(t).direction),i=s*r,a=n.target,c=t.contains(a),u=!1,f=i>0,p=0,m=0;do{if(!a)break;var h=Yx(e,a),w=h[0],x=h[1],b=h[2],y=x-b-s*w;(w||y)&&qx(e,a)&&(p+=y,m+=w);var g=a.parentNode;a=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(f&&Math.abs(p)<1||!f&&Math.abs(m)<1)&&(u=!0),u},na=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},dm=function(e){return[e.deltaX,e.deltaY]},fm=function(e){return e&&"current"in e?e.current:e},XP=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ZP=function(e){return`
271  .block-interactivity-`.concat(e,` {pointer-events: none;}
272  .allow-interactivity-`).concat(e,` {pointer-events: all;}
273`)},JP=0,vo=[];function ek(e){var t=d.useRef([]),n=d.useRef([0,0]),r=d.useRef(),o=d.useState(JP++)[0],s=d.useState(Kx)[0],i=d.useRef(e);d.useEffect(function(){i.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var x=bP([e.lockRef.current],(e.shards||[]).map(fm),!0).filter(Boolean);return x.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),x.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=d.useCallback(function(x,b){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!i.current.allowPinchZoom;var y=na(x),g=n.current,v="deltaX"in x?x.deltaX:g[0]-y[0],S="deltaY"in x?x.deltaY:g[1]-y[1],C,E=x.target,N=Math.abs(v)>Math.abs(S)?"h":"v";if("touches"in x&&N==="h"&&E.type==="range")return!1;var j=window.getSelection(),R=j&&j.anchorNode,k=R?R===E||R.contains(E):!1;if(k)return!1;var M=um(N,E);if(!M)return!0;if(M?C=N:(C=N==="v"?"h":"v",M=um(N,E)),!M)return!1;if(!r.current&&"changedTouches"in x&&(v||S)&&(r.current=C),!C)return!0;var A=r.current||C;return YP(A,b,x,A==="h"?v:S)},[]),c=d.useCallback(function(x){var b=x;if(!(!vo.length||vo[vo.length-1]!==s)){var y="deltaY"in b?dm(b):na(b),g=t.current.filter(function(C){return C.name===b.type&&(C.target===b.target||b.target===C.shadowParent)&&XP(C.delta,y)})[0];if(g&&g.should){b.cancelable&&b.preventDefault();return}
vendor: 8,836 bytes, line 273
273if(!g){var v=(i.current.shards||[]).map(fm).filter(Boolean).filter(function(C){return C.contains(b.target)}),S=v.length>0?a(b,v[0]):!i.current.noIsolation;S&&b.cancelable&&b.preventDefault()}}},[]),u=d.useCallback(function(x,b,y,g){var v={name:x,delta:b,target:y,should:g,shadowParent:tk(y)};t.current.push(v),setTimeout(function(){t.current=t.current.filter(function(S){return S!==v})},1)},[]),f=d.useCallback(function(x){n.current=na(x),r.current=void 0},[]),p=d.useCallback(function(x){u(x.type,dm(x),x.target,a(x,e.lockRef.current))},[]),m=d.useCallback(function(x){u(x.type,na(x),x.target,a(x,e.lockRef.current))},[]);d.useEffect(function(){return vo.push(s),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,go),document.addEventListener("touchmove",c,go),document.addEventListener("touchstart",f,go),function(){vo=vo.filter(function(x){return x!==s}),document.removeEventListener("wheel",c,go),document.removeEventListener("touchmove",c,go),document.removeEventListener("touchstart",f,go)}},[]);var h=e.removeScrollBar,w=e.inert;return d.createElement(d.Fragment,null,w?d.createElement(s,{styles:ZP(o)}):null,h?d.createElement(BP,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function tk(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const nk=TP(Gx,ek);var Mf=d.forwardRef(function(e,t){return d.createElement(Fl,un({},e,{ref:t,sideCar:nk}))});Mf.classNames=Fl.classNames;var rk=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},yo=new WeakMap,ra=new WeakMap,oa={},Lc=0,Xx=function(e){return e&&(e.host||Xx(e.parentNode))},ok=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Xx(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},sk=function(e,t,n,r){var o=ok(t,Array.isArray(e)?e:[e]);oa[n]||(oa[n]=new WeakMap);var s=oa[n],i=[],a=new Set,c=new Set(o),u=function(p){!p||a.has(p)||(a.add(p),u(p.parentNode))};o.forEach(u);var f=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(m){if(a.has(m))f(m);else try{var h=m.getAttribute(r),w=h!==null&&h!=="false",x=(yo.get(m)||0)+1,b=(s.get(m)||0)+1;yo.set(m,x),s.set(m,b),i.push(m),x===1&&w&&ra.set(m,!0),b===1&&m.setAttribute(n,"true"),w||m.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",m,y)}})};return f(t),a.clear(),Lc++,function(){i.forEach(function(p){var m=yo.get(p)-1,h=s.get(p)-1;yo.set(p,m),s.set(p,h),m||(ra.has(p)||p.removeAttribute(r),ra.delete(p)),h||p.removeAttribute(n)}),Lc--,Lc||(yo=new WeakMap,yo=new WeakMap,ra=new WeakMap,oa={})}},Zx=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=rk(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),sk(r,o,n,"aria-hidden")):function(){return null}},ik=Object.defineProperty,Ct=(e,t)=>ik(e,"name",{value:t,configurable:!0}),Df="Dialog",[Jx,g4]=ht(Df),[ak,en]=Jx(Df),e0=Ct(e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:i=!0}=e,a=d.useRef(null),c=d.useRef(null),[u,f]=hn({prop:r,defaultProp:o??!1,onChange:s,caller:Df}),[p,m]=d.useState(0),[h,w]=d.useState(0);return l.jsx(ak,{scope:t,triggerRef:a,contentRef:c,contentId:kn(),titleId:kn(),descriptionId:kn(),titlePresent:p>0,descriptionPresent:h>0,setTitleCount:m,setDescriptionCount:w,open:u,onOpenChange:f,onOpenToggle:d.useCallback(()=>f(x=>!x),[f]),modal:i,children:n})},"Dialog"),lk="DialogTrigger",ck=d.forwardRef(Ct(function(t,n){const{__scopeDialog:r,...o}=t,s=en(lk,r),i=ee(n,s.triggerRef);return l.jsx(Q.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":$l(s.open),...o,ref:i,onClick:B(t.onClick,s.onOpenToggle)})},"DialogTrigger")),t0="DialogPortal",[uk,n0]=Jx(t0,{forceMount:void 0}),r0=Ct(e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,s=en(t0,t);return l.jsx(uk,{scope:t,forceMount:n,children:d.Children.map(r,i=>l.jsx(Dt,{present:n||s.open,children:l.jsx(mf,{asChild:!0,container:o,children:i})}))})},"DialogPortal"),od="DialogOverlay",Ml=d.forwardRef(Ct(function(t,n){const r=n0(od,t.__scopeDialog),{forceMount:o=r.forceMount,...s}=t,i=en(od,t.__scopeDialog);return i.modal?l.jsx(Dt,{present:o||i.open,children:l.jsx(fk,{...s,ref:n})}):null},"DialogOverlay")),dk=Mn("DialogOverlay.RemoveScroll"),fk=d.forwardRef(Ct(function(t,n){const{__scopeDialog:r,...o}=t,s=en(od,r),i=ry(),a=ee(n,i);return l.jsx(Mf,{as:dk,allowPinchZoom:!0,shards:[s.contentRef],children:l.jsx(Q.div,{"data-state":$l(s.open),...o,ref:a,style:{pointerEvents:"auto",...o.style}})})},"DialogOverlayImpl")),fi="DialogContent",Dl=d.forwardRef(Ct(function(t,n){const r=n0(fi,t.__scopeDialog),{forceMount:o=r.forceMount,...s}=t,i=en(fi,t.__scopeDialog);return l.jsx(Dt,{present:o||i.open,children:i.modal?l.jsx(pk,{...s,ref:n}):l.jsx(hk,{...s,ref:n})})},"DialogContent")),pk=d.forwardRef(Ct(function(t,n){const r=en(fi,t.__scopeDialog),o=d.useRef(null),s=ee(n,r.contentRef,o);return d.useEffect(()=>{const i=o.current;if(i)return Zx(i)},[]),l.jsx(o0,{...t,ref:s,trapFocus:r.open,disableOutsidePointerEvents:r.open,onCloseAutoFocus:B(t.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=r.triggerRef.current)==null||a.focus()}),onPointerDownOutside:B(t.onPointerDownOutside,i=>{const a=i.detail.originalEvent,c=a.button===0&&a.ctrlKey===!0;(a.button===2||c)&&i.preventDefault()}),onFocusOutside:B(t.onFocusOutside,i=>i.preventDefault())})},"DialogContentModal")),hk=d.forwardRef(Ct(function(t,n){const r=en(fi,t.__scopeDialog),o=d.useRef(!1),s=d.useRef(!1);return l.jsx(o0,{...t,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,c;(a=t.onCloseAutoFocus)==null||a.call(t,i),i.defaultPrevented||(o.current||(c=r.triggerRef.current)==null||c.focus(),i.preventDefault()),o.current=!1,s.current=!1},onInteractOutside:i=>{var u,f;(u=t.onInteractOutside)==null||u.call(t,i),i.defaultPrevented||(o.current=!0,i.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const a=i.target;((f=r.triggerRef.current)==null?void 0:f.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})},"DialogContentNonModal")),o0=d.forwardRef(Ct(function(t,n){const{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:s,onCloseAutoFocus:i,...a}=t,c=en(fi,r);return Ol(),l.jsx(l.Fragment,{children:l.jsx(Dx,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:s,onUnmountAutoFocus:i,children:l.jsx(wl,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionPresent?c.descriptionId:void 0,"aria-labelledby":c.titlePresent?c.titleId:void 0,"data-state":$l(c.open),...a,ref:n,deferPointerDownOutside:!0,onDismiss:()=>c.onOpenChange(!1)})})})},"DialogContentImpl")),mk="DialogTitle",Ll=d.forwardRef(Ct(function(t,n){const{__scopeDialog:r,...o}=t,s=en(mk,r),{setTitleCount:i}=s;return we(()=>(i(a=>a+1),()=>i(a=>a-1)),[i]),l.jsx(Q.h2,{id:s.titleId,...o,ref:n})},"DialogTitle")),gk="DialogDescription",zl=d.forwardRef(Ct(function(t,n){const{__scopeDialog:r,...o}=t,s=en(gk,r),{setDescriptionCount:i}=s;return we(()=>(i(a=>a+1),()=>i(a=>a-1)),[i]),l.jsx(Q.p,{id:s.descriptionId,...o,ref:n})},"DialogDescription")),vk="DialogClose",s0=d.forwardRef(Ct(function(t,n){const{__scopeDialog:r,...o}=t,s=en(vk,r);return l.jsx(Q.button,{type:"button",...o,ref:n,onClick:B(t.onClick,()=>s.onOpenChange(!1))})},"DialogClose"));function $l(e){return e?"open":"closed"}Ct($l,"getState");const yk=e0,xk=r0,i0=d.forwardRef(({className:e,...t},n)=>l.jsx(Ml,{className:G("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));i0.displayName=Ml.displayName;const wk=Cl("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),a0=d.forwardRef(({side:e="right",className:t,children:n,...r},o)=>l.jsxs(xk,{children:[l.jsx(i0,{}),l.jsxs(Dl,{ref:o,className:G(wk({side:e}),t),...r,children:[n,l.jsxs(s0,{className:"absolute right-4 top-4 roun
273ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[l.jsx(El,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));a0.displayName=Dl.displayName;const l0=({className:e,...t})=>l.jsx("div",{className:G("flex flex-col space-y-2 text-center sm:text-left",e),...t});l0.displayName="SheetHeader";const c0=({className:e,...t})=>l.jsx("div",{className:G("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});c0.displayName="SheetFooter";const u0=d.forwardRef(({className:e,...t},n)=>l.jsx(Ll,{ref:n,className:G("text-lg font-semibold text-foreground",e),...t}));u0.displayName=Ll.displayName;const bk=d.forwardRef(({className:e,...t},n)=>l.jsx(zl,{ref:n,className:G("text-sm text-muted-foreground",e),...t}));bk.displayName=zl.displayName;var Sk=Object.defineProperty,Ck=(e,t)=>Sk(e,"name",{value:t,configurable:!0}),Ek=d.createContext(void 0);function hs(e){const t=d.useContext(Ek);return e||t||"ltr"}Ck(hs,"useDirection");var Nk=Object.defineProperty,jk=(e,t)=>Nk(e,"name",{value:t,configurable:!0});function tl(e,[t,n]){return Math.min(n,Math.max(t,e))}jk(tl,"clamp");var Pk=Object.defineProperty,ne=(e,t)=>Pk(e,"name",{value:t,configurable:!0});function d0(e,t){return d.useReducer((n,r)=>t[n][r]??n,e)}ne(d0,"useStateMachine");var f0="ScrollArea",[p0,v4]=ht(f0),[kk,Lt]=p0(f0),Rk=d.forwardRef(ne(function(t,n){const{__scopeScrollArea:r,type:o="hover",dir:s,scrollHideDelay:i=600,...a}=t,[c,u]=d.useState(null),[f,p]=d.useState(null),[m,h]=d.useState(null),[w,x]=d.useState(null),[b,y]=d.useState(null),[g,v]=d.useState(0),[S,C]=d.useState(0),[E,N]=d.useState(!1),[j,R]=d.useState(!1),k=ee(n,u),M=hs(s);return l.jsx(kk,{scope:r,type:o,dir:M,scrollHideDelay:i,scrollArea:c,viewport:f,onViewportChange:p,content:m,onContentChange:h,scrollbarX:w,onScrollbarXChange:x,scrollbarXEnabled:E,onScrollbarXEnabledChange:N,scrollbarY:b,onScrollbarYChange:y,scrollbarYEnabled:j,onScrollbarYEnabledChange:R,onCornerWidthChange:v,onCornerHeightChange:C,children:l.jsx(Q.div,{dir:M,...a,ref:k,style:{position:"relative","--radix-scroll-area-corner-width":g+"px","--radix-scroll-area-corner-height":S+"px",...t.style}})})},"ScrollArea")),Tk="ScrollAreaViewport",_k=d.forwardRef(ne(function(t,n){const{__scopeScrollArea:r,children:o,nonce:s,...i}=t,a=Lt(Tk,r),c=d.useRef(null),u=ee(n,c,a.onViewportChange);return l.jsxs(l.Fragment,{children:[l.jsx(Ak,{nonce:s}),l.jsx(Q.div,{"data-radix-scroll-area-viewport":"",...i,ref:u,style:{overflowX:a.scrollbarXEnabled?"scroll":"hidden",overflowY:a.scrollbarYEnabled?"scroll":"hidden",...t.style},children:l.jsx("div",{ref:a.onContentChange,style:{minWidth:"100%",display:"table"},children:o})})]})},"ScrollAreaViewport")),Ak=d.memo(ne(function({nonce:t}){return l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:t})},"ScrollAreaViewportStyle"),(e,t)=>e.nonce===t.nonce),Un="ScrollAreaScrollbar",h0=d.forwardRef(ne(function(t,n){const{forceMount:r,...o}=t,s=Lt(Un,t.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:a}=s,c=t.orientation==="horizontal";return d.useEffect(()=>(c?i(!0):a(!0),()=>{c?i(!1):a(!1)}),[c,i,a]),s.type==="hover"?l.jsx(Ik,{...o,ref:n,forceMount:r}):s.type==="scroll"?l.jsx(Ok,{...o,ref:n,forceMount:r}):s.type==="auto"?l.jsx(m0,{...o,ref:n,forceMount:r}):s.type==="always"?l.jsx(Lf,{...o,ref:n,"data-state":"visible"}):null},"ScrollAreaScrollbar")),Ik=d.forwardRef(ne(function(t,n){const{forceMount:r,...o}=t,s=Lt(Un,t.__scopeScrollArea),[i,a]=d.useState(!1);return d.useEffect(()=>{const c=s.scrollArea;let u=0;if(c){const f=ne(()=>{window.clearTimeout(u),a(!0)},"handlePointerEnter"),p=ne(()=>{u=window.setTimeout(()=>a(!1),s.scrollHideDelay)},"handlePointerLeave");return c.addEventListener("pointerenter",f),c.addEventListener("pointerleave",p),()=>{window.clearTimeout(u),c.removeEventListener("pointerenter",f),c.removeEventListener("pointerleave",p)}}},[s.scrollArea,s.scrollHideDelay]),l.jsx(Dt,{present:r||i,children:l.jsx(m0,{"data-state":i?"visible":"hidden",...o,ref:n})})},"ScrollAreaScrollbarHover")),Ok=d.forwardRef(ne(function(t,n){const{forceMount:r,...o}=t,s=Lt(Un,t.__scopeScrollArea),i=t.orientation==="horizontal",a=Pi(()=>u("SCROLL_END"),100),[c,u]=d0("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return d.useEffect(()=>{if(c==="idle"){const f=window.setTimeout(()=>u("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(f)}},[c,s.scrollHideDelay,u]),d.useEffect(()=>{const f=s.viewport,p=i?"scrollLeft":"scrollTop";if(f){let m=f[p];const h=ne(()=>{const w=f[p];m!==w&&(u("SCROLL"),a()),m=w},"handleScroll");return f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[s.viewport,i,u,a]),l.jsx(Dt,{present:r||c!=="hidden",children:l.jsx(Lf,{"data-state":c==="hidden"?"hidden":"visible",...o,ref:n,onPointerEnter:B(t.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:B(t.onPointerLeave,()=>u("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll")),m0=d.forwardRef(ne(function(t,n){const r=Lt(Un,t.__scopeScrollArea),{forceMount:o,...s}=t,[i,a]=d.useState(!1),c=t.orientation==="horizontal",u=Pi(()=>
273{if(r.viewport){const f=r.viewport.offsetWidth<r.viewport.scrollWidth,p=r.viewport.offsetHeight<r.viewport.scrollHeight;a(c?f:p)}},10);return to(r.viewport,u),to(r.content,u),l.jsx(Dt,{present:o||i,children:l.jsx(Lf,{"data-state":i?"visible":"hidden",...s,ref:n})})},"ScrollAreaScrollbarAuto")),Lf=d.forwardRef(ne(function(t,n){const{orientation:r="vertical",...o}=t,s=Lt(Un,t.__scopeScrollArea),i=d.useRef(null),a=d.useRef(0),[c,u]=d.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),f=zf(c.viewport,c.content),p={...o,sizes:c,onSizesChange:u,hasThumb:f>0&&f<1,onThumbChange:ne(h=>i.current=h,"onThumbChange"),onThumbPointerUp:ne(()=>a.current=0,"onThumbPointerUp"),onThumbPointerDown:ne(h=>a.current=h,"onThumbPointerDown")};function m(h,w){return x0(h,a.current,c,w)}return ne(m,"getScrollPosition"),r==="horizontal"?l.jsx(Fk,{...p,ref:n,onThumbPositionChange:()=>{if(s.viewport&&i.current){const h=s.viewport.scrollLeft,w=id(h,c,s.dir);i.current.style.transform=`translate3d(${w}px, 0, 0)`}},onWheelScroll:h=>{s.viewport&&(s.viewport.scrollLeft=h)},onDragScroll:h=>{s.viewport&&(s.viewport.scrollLeft=m(h,s.dir))}}):r==="vertical"?l.jsx(Mk,{...p,ref:n,onThumbPositionChange:()=>{if(s.viewport&&i.current){const h=s.viewport.scrollTop,w=id(h,c);i.current.style.transform=`translate3d(0, ${w}px, 0)`}},onWheelScroll:h=>{s.viewport&&(s.viewport.scrollTop=h)},onDragScroll:h=>{s.viewport&&(s.viewport.scrollTop=m(h))}}):null},"ScrollAreaScrollbarVisible")),Fk=d.forwardRef(ne(function(t,n){const{sizes:r,onSizesChange:o,...s}
273=t,i=Lt(Un,t.__scopeScrollArea),[a,c]=d.useState(),u=d.useRef(null),f=ee(n,u,i.onScrollbarXChange);return d.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),l.jsx(v0,{"data-orientation":"horizontal",...s,ref:f,sizes:r,style:{bottom:0,left:i.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:i.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ji(r)+"px",...t.style},onThumbPointerDown:p=>t.onThumbPointerDown(p.x),onDragScroll:p=>t.onDragScroll(p.x),onWheelScroll:(p,m)=>{if(i.viewport){const h=i.viewport.scrollLeft+p.deltaX;t.onWheelScroll(h),Uf(h,m)&&p.preventDefault()}},onResize:()=>{u.current&&i.viewport&&a&&o({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:pi(a.paddingLeft),paddingEnd:pi(a.paddingRight)}})}})},"ScrollAreaScrollbarX")),Mk=d.forwardRef(ne(function(t,n){const{sizes:r,onSizesChange:o,...s}=t,i=Lt(Un,t.__scopeScrollArea),[a,c]=d.useState(),u=d.useRef(null),f=ee(n,u,i.onScrollbarYChange);return d.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),l.jsx(v0,{"data-orientation":"vertical",...s,ref:f,sizes:r,style:{top:0,right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ji(r)+"px",...t.style},onThumbPointerDown:p=>t.onThumbPointerDown(p.y),onDragScroll:p=>t.onDragScroll(p.y),onWheelScroll:(p,m)=>{if(i.viewport){const h=i.viewport.scrollTop+p.deltaY;t.onWheelScroll(h),Uf(h,m)&&p.preventDefault()}},onResize:()=>{u.current&&i.viewport&&a&&o({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:pi(a.paddingTop),paddingEnd:pi(a.paddingBottom)}})}})},"ScrollAreaScrollbarY")),[Dk,g0]=p0(Un),v0=d.forwardRef(ne(function(t,n){const{__scopeScrollArea:r,sizes:o,hasThumb:s,onThumbChange:i,onThumbPointerUp:a,onThumbPointerDown:c,onThumbPositionChange:u,onDragScroll:f,onWheelScroll:p,onResize:m,...h}=t,w=Lt(Un,r),[x,b]=d.useState(null),y=ee(n,b),g=d.useRef(null),v=d.useRef(""),S=w.viewport,C=o.content-o.viewport,E=Te(p),N=Te(u),j=Pi(m,10);function R(k){if(g.current){const M=k.clientX-g.current.left,A=k.clientY-g.current.top;f({x:M,y:A})}}return ne(R,"handleDragScroll"),d.useEffect(()=>{const k=ne(M=>{const A=M.target;(x==null?void 0:x.contains(A))&&E(M,C)},"handleWheel");return document.addEventListener("wheel",k,{passive:!1}),()=>document.removeEventListener("wheel",k,{passive:!1})},[S,x,C,E]),d.useEffect(N,[o,N]),to(x,j),to(w.content,j),l.jsx(Dk,{scope:r,scrollbar:x,hasThumb:s,onThumbChange:Te(i),onThumbPointerUp:Te(a),onThumbPositionChange:N,onThumbPointerDown:Te(c),children:l.jsx(Q.div,{...h,ref:y,style:{position:"absolute",...h.style},onPointerDown:B(t.onPointerDown,k=>{k.button===0&&(k.target.setPointerCapture(k.pointerId),g.current=x.getBoundingClientRect(),v.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",w.viewport&&(w.viewport.style.scrollBehavior="auto"),R(k))}),onPointerMove:B(t.onPointerMove,R),onPointerUp:B(t.onPointerUp,k=>{const M=k.target;M.hasPointerCapture(k.pointerId)&&M.releasePointerCapture(k.pointerId),document.body.style.webkitUserSelect=v.current,w.viewport&&(w.viewport.style.scrollBehavior=""),g.current=null})})})},"ScrollAreaScrollbarImpl")),sd="ScrollAreaThumb",Lk=d.forwardRef(ne(function(t,n){const{forceMount:r,...o}=t,s=g0(sd,t.__scopeScrollArea);return l.jsx(Dt,{present:r||s.hasThumb,children:l.jsx(zk,{ref:n,...o})})},"ScrollAreaThumb")),zk=d.forwardRef(ne(function(t,n){const{__scopeScrollArea:r,style:o,...s}=t,i=Lt(sd,r),a=g0(sd,r),{onThumbPositionChange:c}=a,u=ee(n,a.onThumbChange),f=d.useRef(void 0),p=Pi(()=>{f.current&&(f.current(),f.current=void 0)},100);return d.useEffect(()=>{const m=i.viewport;if(m){const h=ne(()=>{if(p(),!f.current){const w=Vk(m,c);f.current=w,c()}},"handleScroll");return c(),m.addEventListener("scroll",h),()=>m.removeEventListener("scroll",h)}},[i.viewport,p,c]),l.jsx(Q.div,{"data-state":a.hasThumb?"visible":"hidden",...s,ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...o},onPointerDownCapture:B(t.onPointerDownCapture,m=>{const w=m.target.getBoundingClientRect(),x=m.clientX-w.left,b=m.clientY-w.top;a.onThumbPointerDown({x,y:b})}),onPointerUp:B(t.onPointerUp,a.onThumbPointerUp)})},"ScrollAreaThumbImpl")),y0="ScrollAreaCorner",$k=d.forwardRef(ne(function(t,n){const r=Lt(y0,t.__scopeScrollArea),o=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&o?l.jsx(Uk,{...t,ref:n}):null},"ScrollAreaCorner")),Uk=d.forwardRef(ne(function(t,n){const{__scopeScrollArea:r,...o}=t,s=Lt(y0,r),[i,a]=d.useState(0),[c,u]=d.useState(0),f=!!(i&&c),{onCornerWidthChange:p,onCornerHeight
273Change:m}=s;return to(s.scrollbarX,()=>{var w;const h=((w=s.scrollbarX)==null?void 0:w.offsetHeight)||0;s.onCornerHeightChange(h),u(h)}),to(s.scrollbarY,()=>{var w;const h=((w=s.scrollbarY)==null?void 0:w.offsetWidth)||0;s.onCornerWidthChange(h),a(h)}),d.useEffect(()=>()=>{p(0),m(0)},[p,m]),f?l.jsx(Q.div,{...o,ref:n,style:{width:i,height:c,position:"absolute",right:s.dir==="ltr"?0:void 0,left:s.dir==="rtl"?0:void 0,bottom:0,...t.style}}):null},"ScrollAreaCornerImpl"));function pi(e){return e?parseInt(e,10):0}ne(pi,"toInt");function zf(e,t){const n=e/t;return isNaN(n)?0:n}ne(zf,"getThumbRatio");function ji(e){const t=zf(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}ne(ji,"getThumbSize");function x0(e,t,n,r="ltr"){const o=ji(n),s=o/2,i=t||s,a=o-i,c=n.scrollbar.paddingStart+i,u=n.scrollbar.size-n.scrollbar.paddingEnd-a,f=n.content-n.viewport,p=r==="ltr"?[0,f]:[f*-1,0];return $f([c,u],p)(e)}ne(x0,"getScrollPositionFromPointer");function id(e,t,n="ltr"){const r=ji(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,s=t.scrollbar.size-o,i=t.content-t.viewport,a=s-r,c=n==="ltr"?[0,i]:[i*-1,0],u=tl(e,c);return $f([0,i],[0,a])(u)}ne(id,"getThumbOffsetFromScroll");function $f(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}ne($f,"linearScale");function Uf(e,t){return e>0&&e<t}ne(Uf,"isScrollingWithinScrollbarBounds");var Vk=ne((e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return ne(function o(){const s={left:e.scrollLeft,top:e.scrollTop},i=n.left!==s.left,a=n.top!==s.top;(i||a)&&t(),n=s,r=window.requestAnimationFrame(o)},"loop")(),()=>window.cancelAnimationFrame(r)},"addUnlinkedScrollListener");function Pi(e,t){const n=Te(e),r=d.useRef(0);return d.useEffect(()=>()=>window.clearTimeout(r.current),[]),d.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}ne(Pi,"useDebounceCallback");function to(e,t){const n=Te(t);we(()=>{let r=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,n])}ne(to,"useResizeObserver");var w0=Rk,Bk=_k,Wk=$k;const b0=d.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(w0,{ref:r,className:G("relative overflow-hidden",e),...n,children:[l.jsx(Bk,{className:"h-full w-full rounded-[inherit]",children:t}),l.jsx(S0,{}),l.jsx(Wk,{})]}));b0.displayName=w0.displayName;const S0=d.forwardRef(({className:e,orientation:t="vertical",...n},r)=>l.jsx(h0,{ref:r,orientation:t,className:G("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...n,children:l.jsx(Lk,{className:"relative flex-1 rounded-full bg-border"})}));S0.displayName=h0.displayName;function Hk(){const{items:e,isCartOpen:t,setIsCartOpen:n,updateQuantity:r,removeFromCart:o,cartTotal:s}=Mx(),i=()=>{n(!1),cf({title:"Checkout Initiated",description:"Connect your payment processor (like Stripe) to complete orders."})};return l.jsx(yk,{open:t,onOpenChange:n,children:l.jsxs(a0,{className:"w-full sm:max-w-lg flex flex-col",children:[l.jsx(l0,{children:l.jsx(u0,{children:"Your Cart"})}),e.length===0?l.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center text-muted-foreground",children:[l.jsx("p",{children:"Your cart is empty."}),l.jsx(je,{variant:"link",onClick:()=>n(!1),children:"Continue Shopping"})]}):l.jsxs(l.Fragment,{children:[l.jsx(b0,{className:"flex-1 -mx-6 px-6 py-4",children:l.jsx("div",{className:"space-y-4",children:e.map(a=>l.jsxs("div",{className:"flex gap-4 border-b pb-4",children:[l.jsx("div",{className:"h-20 w-20 rounded overflow-hidden bg-muted flex-shrink-0",children:l.jsx("img",{src:a.image,alt:a.name,className:"h-full w-full object-cover"})}),l.jsxs("div",{className:"flex-1 flex flex-col justify-between",children:[l.jsxs("div",{children:[l.jsx("h4",{className:"font-medium line-clamp-1",children:a.name}),l.jsxs("p",{className:"text-sm text-muted-foreground",children:["$",a.price.toFixed(2)]})]}),l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs("div",{className:"flex items-center gap-2 border rounded-md p-1",children:[l.jsx(je,{variant:"ghost",size:"icon",className:"h-6 w-6",onClick:()=>r(a.id,a.quantity-1),children:l.jsx(_C,{className:"h-3 w-3"})}),l.jsx("span",{className:"text-sm w-4 text-center",children:a.quantity}),l.jsx(je,{variant:"ghost",size:"icon",className:"h-6 w-6",onClick:()=>r(a.id,a.quantity+1),children:l.jsx(IC,{className:"h-3 w-3"})})]}),l.jsx(je,{variant:"ghost",size:"icon",className:"h-8 w-8 text-destructive hover:text-destructive",onClick:()=>o(a.id),children:l.jsx(MC,{className:"h-4 w-4"})})]})]})]},a.id))})}),l.jsxs(c0,{className:"mt-auto border-t pt-4 flex flex-col gap-4",children:[l.jsxs("div",{className:"flex items-center justify-between font-medium text-lg",children:[l.jsx("span",{children:"Total"}),l.jsxs("span",{children:["$",s.toFixed(2)]})]}),l.jsx("p",{className:"text-xs text-muted-foreground text-center mb-2",children:"Shipping and taxes calculated at checkout."}),l.jsx(je,{className:"w-full",size:"lg",onClick:i,children:"Checkout"})]})]})]})})}function Gk(){const[e,t]=d.useState(!1),{cartCount:n,setIsCartOpen:r}=Mx(),o=ps(),s=[{name:"Shop Flags",path:"/shop"},{name:"Custom Flags",path:"/custom"},{name:"Pole Installation",path:"/pole-installation"},{name:"About",path:"/about"},{name:"Frequently Asked Questions",path:"/faq"},{name:"Contact",path:"/contact"}],i=a=>{a.preventDefault();const u=new FormData(a.currentTarget).get("email");if(!u)return;const f={type:"external_form_submission",timestamp:Date.now(),formId:"Newsletter Subscription",formData:{email:u},formLabels:{email:"Email Address"},url:window.location.href,title:document.title,path:window.location.pathname,userAgent:navigator.userAgent,trackingId:"tk_c0f272d7aa554754ac403111b1d07452",locationId:"eQnnLDuDDb6RDAVpDuIi",sessionId:crypto.randomUUID(),properties:{deviceType:/Mobile|Android|iPhone/i.test(navigator.userAgent)?"mobile":"desktop"}};fetch("https://backend.leadconnectorhq.com/external-tracking/events",{method:"POST",headers:{"Content-Type":"application/json",version:"2021-07-28"},body:JSON.stringify(f)}).catch(()=>{}),a.currentTarget.reset()};return l.jsxs("div",{className:"flex min-h-screen flex-col bg-background text-foreground",children:[l.jsxs("header",{className:"sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60",children:[l.jsxs("div",{className:"container mx-auto flex h-16 items-center justify-between px-4 md:px-6",children:[l.jsxs(We,{to:"/",className:"flex items-center gap-2",children:[l.jsx("img",{src:"https://vibe.filesafe.space/1782149216883161452/attachments/5e4ab79b-e125-49c1-bd37-fec57d6fa348.png",alt:"Flag World Logo",className:"h-10 w-10 object-contain"}),l.jsx("span",{className:"text-xl font-bold tracking-tight text-primary",children:"Flag World"})]}),l.jsx("nav",{className:"hidden md:flex items-center gap-6",children:s.map(a=>l.jsx(We,{to:a.path,className:"text-sm font-medium text-muted-foreground transition-colors hover:text-foreground",children:a.name},a.path))}),l.jsxs("div",{className:"hidden md:flex items-center gap-4",children:[l.jsxs("div",{className:"relative w-full max-w-sm",children:[l.jsx(Vu,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),l.jsx(Vs,{type:"search",placeholder:"Search flags...",className:"w-full rounded-full bg-muted pl-8 md:w-[200px] lg:w-[300px]"})]}),l.jsx(je,{variant:"ghost",size:"icon",className:"relative",asChild:!0,children:l.jsxs("a",{href:"https://store.flagworld.com/cart",children:[l.jsx(Bu,{className:"h-5 w-5"}),l.jsx("span",{className:"sr-only",children:"Cart"})]})})]}),l.jsxs("div",{className:"flex items-center gap-2 md:hidden",children:[l.jsx(je,{variant:"ghost",size:"icon",className:"relative",asChild:!0,children:l.jsxs("a",{href:"https://store.flagworld.com/cart",children:[l.jsx(Bu,{className:"h-5 w-5"}),l.jsx("span",{className:"sr-only",children:"Cart"})]})}),l.jsx(je,{variant:"ghost",size:"icon",onClick:()=>t(!e),children:e?l.jsx(El,{className:"h-5 w-5"}):l.jsx(TC,{className:"h-5 w-5"})})]})]}),e&&l.jsx("div",{className:"border-b bg-background md:hidden",children:l.jsxs("nav",{className:"container mx-auto flex flex-col p-4",children:[s.map(a=>l.jsx(We,{to:a.path,className:"py-3 text-lg font-medium text-muted-foreground transition-colors hover:text-foreground",onClick:()=>t(!1),children:a.name},a.path)),l.jsxs("div",{className:"mt-4 relative",children:[l.jsx(Vu,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),l.jsx(Vs,{type:"search",placeholder:"Search flags...",className:"w-full rounded-md bg-muted pl-9"})]})]})})]}),l.jsx("div",{className:"bg-muted/60 border-b",children:l.jsx("div",{className:"container mx-auto px-4 md:px-6 py-2 text-center text-sm text-muted-foreground",children:"Flag World is located at 807 Virginia Dr, Orlando, FL."})}),l.jsx("main",{className:"flex-1",children:l.jsx("div",{className:"animate-in fade-in slide-in-from-bottom-8 duration-700 ease-out",children:l.jsx(rP,{})},o.pathname)}),l.jsx("footer",{className:"border-t bg-muted/40 text-muted-foreground",children:l.jsxs("div",{className:"container mx-auto px-4 py-12 md:px-6 lg:py-16",children:[l.jsxs("div",{className:"grid grid-cols-1 gap-8 sm:grid-cols-2 md:grid-cols-4 lg:gap-12",children:[l.jsxs("div",{className:"space-y-4",children:[l.jsxs(We,{to:"/",className:"flex items-center gap-2",children:[l.jsx("img",{src:"https://vibe.filesafe.space/1782149216883161452/attachments/5e4ab79b-e125-49c1-bd37-fec57d6fa348.png",alt:"Flag World Logo",className:"h-8 w-8 object-contain"}),l.jsx("span",{className:"text-xl font-bold text-primary",children:"Flag World"})]}),l.jsx("p",{className:"text-sm leading-relaxed",children:"Premium quality flags designed and built to fly through anything. Family-owned and proudly made in the USA since 1995."})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"mb-4 text-sm font-semibold text-foreground",children:"Shop"}),l.jsxs("ul",{className:"space-y-3 text-sm",children:[l.jsx("li",{children:l.jsx(We,{to:"/shop",className:"hover:text-primary transition-colors",children:"American Flags"})}),l.jsx("li",{children:l.jsx(We,{to:"/shop",className:"hover:text-primary transition-colors",children:"State & Military"})}),l.jsx("li",{children:l.jsx(We,{to:"/custom",className:"hover:text-primary transition-colors",children:"Custom Flags"})})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"mb-4 text-sm font-semibold text-foreground",children:"Company"}),l.jsxs("ul",{className:"space-y-3 text-sm",children:[l.jsx("li",{children:l.jsx(We,{to:"/about",className:"hover:text-primary transition-colors",children:"Our Story"})}),l.jsx("li",{children:l.jsx(We,{to:"/contact",className:"hover:text-primary transition-colors",children:"Contact Us"})}),l.jsx("li",{children:l.jsx(We,{to:"/faq",className:"hover:text-primary transition-colors",children:"FAQ"})}),l.jsx("li",{children:l.jsx(We,{to:"/pole-installation",className:"hover:text-primary transition-colors",children:"Pole Installation"})}),l.jsx("li",{children:l.jsx(We,{to:"/terms",className:"hover:text-primary transition-colors",children:"Terms of Service"})})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"mb-4 text-sm font-semibold text-foreground",children:"Stay Updated"}),l.jsx("p",{className:"mb-4 text-sm",children:"Subscribe to get special offers, free giveaways, and once-in-a-lifetime deals."}),l.jsxs("form",{onSubmit:i,className:"flex gap-2",children:[l.jsx(Vs,{name:"email",type:"email",required:!0,placeholder:"Enter your email",className:"bg-background"}),l.jsx(je,{type:"submit",variant:"secondary",children:"Subscribe"})]})]})]}),l.jsx("div",{className:"mt-12 border-t pt-8 text-center text-sm",children:l.jsxs("p",{children:["© ",new Date().getFullYear()," Flag World. All rights reserved."]})})]})}),l.jsx(Hk,{})]})}const _n=d.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:G("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));
273_n.displayName="Card";const C0=d.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:G("flex flex-col space-y-1.5 p-6",e),...t}));C0.displayName="CardHeader";const E0=d.forwardRef(({className:e,...t},n)=>l.jsx("h3",{ref:n,className:G("text-2xl font-semibold leading-none tracking-tight",e),...t}));E0.displayName="CardTitle";const Kk=d.forwardRef(({className:e,...t},n)=>l.jsx("p",{ref:n,className:G("text-sm text-muted-foreground",e),...t}));Kk.displayName="CardDescription";const no=d.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:G("p-6 pt-0",e),...t}));no.displayName="CardContent";const N0=d.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:G("flex items-center p-6 pt-0",e),...t}));N0.displayName="CardFooter";const nl=e0,rl=ck,Qk=r0,j0=d.forwardRef(({className:e,...t},n)=>l.jsx(Ml,{ref:n,className:G("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));j0.displayName=Ml.displayName;const hi=d.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(Qk,{children:[l.jsx(j0,{}),l.jsxs(Dl,{ref:r,className:G("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,l.jsxs(s0,{className:"absolute right-4 top-4 roun
273ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[l.jsx(El,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));hi.displayName=Dl.displayName;const qk=d.forwardRef(({className:e,...t},n)=>l.jsx(Ll,{ref:n,className:G("text-lg font-semibold leading-none tracking-tight",e),...t}));qk.displayName=Ll.displayName;const Yk=d.forwardRef(({className:e,...t},n)=>l.jsx(zl,{ref:n,className:G("text-sm text-muted-foreground",e),...t}));Yk.displayName=zl.displayName;function Xk(){return l.jsxs("div",{className:"flex flex-col min-h-screen",children:[l.jsxs("section",{className:"relative bg-black text-white",children:[l.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[l.jsx("img",{src:"https://vibe.filesafe.space/1782149216883161452/assets/f17f1eef-d56a-46e3-b47c-b01172c9cf81.png",alt:"American flag flying proudly",className:"w-full h-full object-cover opacity-60"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black/80 via-black/50 to-transparent"})]}),l.jsxs("div",{className:"relative container mx-auto px-4 py-24 md:py-32 lg:py-48 flex flex-col items-start",children:[l.jsx("img",{src:"https://vibe.filesafe.space/1782149216883161452/attachments/5e4ab79b-e125-49c1-bd37-fec57d6fa348.png",alt:"Flag World Logo",className:"h-56 md:h-80 mb-6 object-contain drop-shadow-lg"}),l.jsx("h1",{className:"text-4xl md:text-6xl font-extrabold tracking-tight max-w-2xl text-shadow-sm",children:"Flags Built to Fly Through Anything"}),l.jsx("p",{className:"mt-6 text-lg md:text-xl max-w-xl text-gray-200",children:"Premium quality, American-made flags crafted with durable materials to withstand the elements. From classic stars and stripes to custom designs."}),l.jsxs("div",{className:"mt-10 flex flex-col sm:flex-row gap-4",children:[l.jsx(je,{size:"lg",className:"bg-secondary text-white hover:bg-secondary/90 text-lg px-8 py-6",asChild:!0,children:l.jsx(We,{to:"/shop",children:"Shop Flags"})}),l.jsxs(nl,{children:[l.jsx(rl,{asChild:!0,children:l.jsx(je,{size:"lg",variant:"outline",className:"bg-white/10 text-white border-white/20 hover:bg-white/20 text-lg px-8 py-6",children:"Get a Custom Quote"})}),l.jsx(hi,{className:"sm:max-w-[600px] p-0 h-[80vh] border-none overflow-hidden",children:l.jsx("iframe",{src:"https://api.leadconnectorhq.com/widget/form/uPX9AEmTMFvsku02yZYd",style:{width:"100%",height:"100%",border:"none"},id:"inline-uPX9AEmTMFvsku02yZYd",title:"Custom Flag Quote Form"})})]})]})]})]}),l.jsx("section",{className:"bg-primary text-primary-foreground py-8",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 text-center",children:[l.jsxs("div",{className:"flex flex-col items-center gap-2",children:[l.jsx(FC,{className:"h-8 w-8 text-secondary"}),l.jsx("span",{className:"font-medium",children:"Made in USA"})]}),l.jsxs("div",{className:"flex flex-col items-center gap-2",children:[l.jsx(jh,{className:"h-8 w-8 text-secondary"}),l.jsx("span",{className:"font-medium",children:"Weatherproof"})]}),l.jsxs("div",{className:"flex flex-col items-center gap-2",children:[l.jsx(Iy,{className:"h-8 w-8 text-secondary"}),l.jsx("span",{className:"font-medium",children:"Fast Shipping"})]}),l.jsxs("div",{className:"flex flex-col items-center gap-2",children:[l.jsx(Ph,{className:"h-8 w-8 text-secondary"}),l.jsx("span",{className:"font-medium",children:"Satisfaction Guarantee"})]})]})})}),l.jsx("section",{className:"py-20 bg-muted/30",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"text-center mb-12",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"Shop by Category"}),l.jsx("p",{className:"text-muted-foreground",children:"Find the perfect flag for your home, business, or event."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[{title:"American Flags",image:"https://vibe.filesafe.space/1782149216883161452/assets/eb424647-35ff-4c58-9069-c1be211c5f29.png",desc:"Durable nylon and polyester.",contain:!0},{title:"Military Flags",image:"https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/c4d0e679-565d-4c9d-9010-0c5b585ddad2.png",desc:"Show your pride and support.",contain:!0},{title:"State Flags",image:"https://vibe.filesafe.space/1782149216883161452/assets/ecc9fd2d-f0ce-42ea-b6ce-5248898f556a.png",desc:"High-quality state flags.",contain:!0}].map((e,t)=>l.jsx(We,{to:"/shop",className:"group",children:l.jsxs(_n,{className:"overflow-hidden border-0 shadow-md hover:shadow-xl transition-all",children:[l.jsxs("div",{className:"aspect-[4/3] overflow-hidden relative bg-white",children:[l.jsx("img",{src:e.image,alt:e.title,className:`w-full h-full group-hover:scale-105 transition-transform duration-500 ${e.contain?"object-contain p-6":"object-cover"}`}),!e.contain&&l.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/10 transition-colors"})]}),l.jsxs(no,{className:"p-6 bg-card text-center",children:[l.jsx("h3",{className:"text-xl font-bold text-primary mb-2",children:e.title}),l.jsx("p",{className:"text-muted-foreground text-sm",children:e.desc})]})]})},t))})]})}),l.jsx("section",{className:"py-20 bg-primary text-primary-foreground",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-12",children:[l.jsxs("div",{className:"flex-1 space-y-6",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Bring Your Vision to Life with Custom Flags"}
273),l.jsx("p",{className:"text-lg text-primary-foreground/80 leading-relaxed",children:"Whether you need a logo flag for your business, a special design for an event, or a unique gift, our custom flag service delivers premium quality with quick turnaround times."}),l.jsx("ul",{className:"space-y-3",children:["No minimum order quantity","Durable outdoor materials","Vibrant, fade-resistant colors"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-3",children:[l.jsx(jh,{className:"h-5 w-5 text-secondary"}),l.jsx("span",{children:e})]},t))}),l.jsxs(nl,{children:[l.jsx(rl,{asChild:!0,children:l.jsx(je,{size:"lg",className:"bg-secondary text-white hover:bg-secondary/90 mt-4",children:"Start Your Custom Order"})}),l.jsx(hi,{className:"sm:max-w-[600px] p-0 h-[80vh] border-none overflow-hidden",children:l.jsx("iframe",{src:"https://api.leadconnectorhq.com/widget/form/jF1NTe4Y4Z9h1UwojDVS",style:{width:"100%",height:"100%",border:"none"},id:"inline-jF1NTe4Y4Z9h1UwojDVS",title:"Custom Flag Quote Form"})})]})]}),l.jsx("div",{className:"flex-1",children:l.jsx("img",{src:"https://vibe.filesafe.space/1782149216883161452/assets/3329e2ee-8876-4c7d-9bc0-05d882be01c3.png",alt:"Custom flag crafting",className:"rounded-lg shadow-2xl"})})]})})}),l.jsx("section",{className:"py-20 bg-background",children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-12",children:"What Our Customers Say"}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[{text:"The quality is unmatched. Our American flag has been flying for a year through tough weather and still looks brand new.",author:"Michael T."},{text:"Flag World made custom flags for our corporate event. The colors were vibrant and the process was incredibly easy.",author:"Sarah L."},{text:"Excellent customer service from Vicki. She helped me pick the right size and material for our home. Highly recommend!",author:"David R."}].map((e,t)=>l.jsx(_n,{className:"bg-muted/30 border-none shadow-sm",children:l.jsxs(no,{className:"p-8",children:[l.jsx("div",{className:"flex justify-center gap-1 mb-6",children:[1,2,3,4,5].map(n=>l.jsx(Ph,{className:"h-5 w-5 fill-secondary text-secondary"},n))}),l.jsxs("p",{className:"italic text-muted-foreground mb-6",children:['"',e.text,'"']}),l.jsxs("p",{className:"font-semibold text-primary",children:["— ",e.author]})]})},t))})]})}),l.jsx("section",{className:"py-20 bg-muted/30",children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-12",children:"Honoring Our Veterans"}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-6",children:["https://vibe.filesafe.space/1782149216883161452/attachments/44827822-82e2-4d1e-bd85-627b32ccd53d.jpg","https://vibe.filesafe.space/1782149216883161452/attachments/dc8e26ea-ba79-43db-828a-4ed535b3c354.jpg","https://vibe.filesafe.space/1782149216883161452/attachments/fa83f228-47bb-4a26-9efe-beead0dc9075.jpg","https://vibe.filesafe.space/1782149216883161452/attachments/5620accf-92c1-4af9-97a9-b9e8dbbbd7e4.jpg"].map((e,t)=>l.jsx(_n,{className:"overflow-hidden border-none shadow-md",children:l.jsx("div",{className:"aspect-[3/4] overflow-hidden",children:l.jsx("img",{src:e,alt:`Honored Veteran ${t+1}`,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-500"})})},t))})]})})]})}var Zk=Object.defineProperty,Jk=(e,t)=>Zk(e,"name",{value:t,configurable:!0}),eR=d.forwardRef(Jk(function(t,n){return l.jsx(Q.label,{...t,ref:n,onMouseDown:r=>{var s;r.target.closest("button, input, select, textarea")||((s=t.onMouseDown)==null||s.call(t,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}})},"Label")),P0=eR;const tR=Cl("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),k0=d.forwardRef(({className:e,...t},n)=>l.jsx(P0,{ref:n,className:G(tR(),e),...t}));k0.displayName=P0.displayName;var nR=Object.defineProperty,Vf=(e,t)=>nR(e,"name",{value:t,configurable:!0}),zc=!1;function R0(){const[e,t]=d.useState(zc);return d.useEffect(()=>{zc||(zc=!0,t(!0))},[]),e}Vf(R0,"useIsHydrated");var T0=oo[" useSyncExternalStore ".trim().toString()];function _0(){return()=>{}}Vf(_0,"subscribe");function A0(){return T0(_0,()=>!0,()=>!1)}Vf(A0,"useIsHydratedModern");var rR=typeof T0=="function"?A0:R0,oR=Object.defineProperty,lo=(e,t)=>oR(e,"name",{value:t,configurable:!0}),$c="rovingFocusGroup.onEntryFocus",sR={bubbles:!1,cancelable:!0},Ul="RovingFocusGroup",[ad,I0,iR]=Ci(Ul),[aR,O0]=ht(Ul,[iR]),[lR,cR]=aR(Ul),uR=d.forwardRef(lo(function(t,n){return l.jsx(ad.Provider,{scope:t.__scopeRovingFocusGroup,children:l.jsx(ad.Slot,{scope:t.__scopeRovingFocusGroup,children:l.jsx(dR,{...t,ref:n})})})},"RovingFocusGroup")),dR=d.forwardRef(lo(function(t,n){const{__scopeRovingFocusGroup:r,orientation:o,loop:s=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:u,onEntryFocus:f,preventScrollOnEntryFocus:p=!1,...m}=t,h=d.useRef(null),w=ee(n,h),x=hs(i),[b,y]=hn({prop:a,defaultProp:c??null,onChange:u,caller:Ul}),[g,v]=d.useState(!1),S=Te(f),C=I0(r),E=d.useRef(!1),[N,j]=d.use
273State(0);return d.useEffect(()=>{const R=h.current;if(R)return R.addEventListener($c,S),()=>R.removeEventListener($c,S)},[S]),l.jsx(lR,{scope:r,orientation:o,dir:x,loop:s,currentTabStopId:b,onItemFocus:d.useCallback(R=>y(R),[y]),onItemShiftTab:d.useCallback(()=>v(!0),[]),onFocusableItemAdd:d.useCallback(()=>j(R=>R+1),[]),onFocusableItemRemove:d.useCallback(()=>j(R=>R-1),[]),children:l.jsx(Q.div,{tabIndex:g||N===0?-1:0,"data-orientation":o,...m,ref:w,style:{outline:"none",...t.style},onMouseDown:B(t.onMouseDown,()=>{E.current=!0}),onFocus:B(t.onFocus,R=>{const k=!E.current;if(R.target===R.currentTarget&&k&&!g){const M=new CustomEvent($c,sR);if(R.currentTarget.dispatchEvent(M),!M.defaultPrevented){const A=C().filter(L=>L.focusable),z=A.find(L=>L.active),V=A.find(L=>L.id===b),O=[z,V,...A].filter(Boolean).map(L=>L.ref.current);Bf(O,p)}}E.current=!1}),onBlur:B(t.onBlur,()=>v(!1))})})},"RovingFocusGroupImpl")),fR="RovingFocusGroupItem",pR=d.forwardRef(lo(function(t,n){const{__scopeRovingFocusGroup:r,focusable:o=!0,active:s=!1,tabStopId:i,children:a,...c}=t,u=kn(),f=i||u,p=cR(fR,r),m=p.currentTabStopId===f,h=I0(r),{onFocusableItemAdd:w,onFocusableItemRemove:x,currentTabStopId:b}=p,y=rR();return we(()=>{if(!(!y||!o))return w(),()=>x()},[y,o,w,x]),d.useEffect(()=>{if(!(y||!o))return w(),()=>x()},[y,o,w,x]),l.jsx(ad.ItemSlot,{scope:r,id:f,focusable:o,active:s,children:l.jsx(Q.span,{tabIndex:m?0:-1,"data-orientation":p.orientation,...c,ref:n,onMouseDown:B(t.onMouseDown,g=>{o?p.onItemFocus(f):g.preventDefault()}),onFocus:B(t.onFocus,()=>p.onItemFocus(f)),onKeyDown:B(t.onKeyDown,g=>{if(g.key==="Tab"&&g.shiftKey){p.onItemShiftTab();return}if(g.target!==g.currentTarget)return;const v=M0(g,p.orientation,p.dir);if(v!==void 0){if(g.metaKey||g.ctrlKey||g.altKey||g.shiftKey)return;g.preventDefault();let C=h().filter(E=>E.focusable).map(E=>E.ref.current);if(v==="last")C.reverse();else if(v==="prev"||v==="next"){v==="prev"&&C.reverse();const E=C.indexOf(g.currentTarget);C=p.loop?D0(C,E+1):C.slice(E+1)}setTimeout(()=>Bf(C))}}),children:typeof a=="function"?a({isCurrentTabStop:m,hasTabStop:b!=null}):a})})},"RovingFocusGroupItem")),hR={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function F0(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}lo(F0,"getDirectionAwareKey");function M0(e,t,n){const r=F0(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return hR[r]}lo(M0,"getFocusIntent");function Bf(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}lo(Bf,"focusFirst");function D0(e,t){return e.map((n,r)=>e[(t+r)%e.length])}lo(D0,"wrapArray");var mR=uR,gR=pR,vR=Object.defineProperty,Ze=(e,t)=>vR(e,"name",{value:t,configurable:!0}),L0="Radio",[yR,z0]=ht(L0),[xR,Vl]=yR(L0);function $0(e){const{__scopeRadio:t,checked:n=!1,children:r,disabled:o,form:s,name:i,onCheck:a,required:c,value:u="on",internal_do_not_use_render:f}=e,[p,m]=d.useState(null),[h,w]=d.useState(null),x=d.useRef(!1),[b,y]=d.useReducer(S=>S+1,0),g=p?!!s||!!p.closest("form"):!0,v={checked:n,disabled:o,required:c,name:i,form:s,value:u,control:p,setControl:m,hasConsumerStoppedPropagationRef:x,userInteractionCount:b,onUserInteraction:y,isFormControl:g,bubbleInput:h,setBubbleInput:w,onCheck:Ze(()=>a==null?void 0:a(),"onCheck")};return l.jsx(xR,{scope:t,...v,children:U0(f)?f(v):r})}Ze($0,"RadioProvider");var wR="RadioTrigger",bR=d.forwardRef(Ze(function({__scopeRadio:t,onClick:n,...r},o){const{checked:s,disabled:i,value:a,setControl:c,onCheck:u,hasConsumerStoppedPropagationRef:f,onUserInteraction:p,isFormControl:m,bubbleInput:h}=Vl(wR,t),w=ee(o,c);return l.jsx(Q.button,{type:"button",role:"radio","aria-checked":s,"data-state":Wf(s),"data-disabled":i?"":void 0,disabled:i,value:a,...r,ref:w,onClick:B(n,x=>{s||(p(),u()),h&&m&&(f.current=x.isPropagationStopped(),f.current||x.stopPropagation())})})},"RadioTrigger")),SR="RadioIndicator",CR=d.forwardRef(Ze(function(t,n){const{__scopeRadio:r,forceMount:o,...s}=t,i=Vl(SR,r);return l.jsx(Dt,{present:o||i.checked,children:l.jsx(Q.span,{"data-state":Wf(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:n})})},"RadioIndicator")),ER="RadioBubbleInput",NR=d.forwardRef(Ze(function({__scopeRadio:t,onClick:n,...r},o){const{control:s,checked:i,required:a,disabled:c,name:u,value:f,form:p,bubbleInput:m,setBubbleInput:h,hasConsumerStoppedPropagationRef:w,userInteractionCount:x}=Vl(ER,t),b=ee(o,h),y=Pf(s),g=d.useRef(!1),v=d.useRef(i),S=d.useRef(x);d.useEffect(()=>{const E=m;if(!E)return;const N=window.HTMLInputElement.prototype,R=Object.getOwnPropertyDescriptor(N,"checked").set,k=x!==S.
273current;S.current=x;const M=v.current!==i;v.current=i;const A=!(k&&w.current);if(M&&R){g.current=!k;const z=new Event("click",{bubbles:A});R.call(E,i),E.dispatchEvent(z),g.current=!1}},[m,i,w,x]);const C=d.useRef(i);return l.jsx(Q.input,{type:"radio","aria-hidden":!0,defaultChecked:C.current,required:a,disabled:c,name:u,value:f,form:p,...r,tabIndex:-1,ref:b,onClick:B(n,E=>{g.current&&E.stopPropagation()}),style:{...r.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"RadioBubbleInput"));function U0(e){return typeof e=="function"}Ze(U0,"isFunction");function Wf(e){return e?"checked":"unchecked"}Ze(Wf,"getState");var jR=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Hf="RadioGroup",[PR,y4]=ht(Hf,[O0,z0]),V0=O0(),Bl=z0(),[kR,RR]=PR(Hf),B0=d.forwardRef(Ze(function(t,n){const{__scopeRadioGroup:r,name:o,form:s,defaultValue:i,value:a,required:c=!1,disabled:u=!1,orientation:f,dir:p,loop:m=!0,onValueChange:h,...w}=t,x=V0(r),b=hs(p),[y,g]=hn({prop:a,defaultProp:i??null,onChange:h,caller:Hf}),[v,S]=d.useState(null),C=ee(n,S),E=d.useRef(y);return d.useEffect(()=>{const N=s?v==null?void 0:v.ownerDocument.getElementById(s):v==null?void 0:v.closest("form");if(N instanceof HTMLFormElement){const j=Ze(()=>g(E.current),"reset");return N.addEventListener("reset",j),()=>N.removeEventListener("reset",j)}},[v,s,g]),l.jsx(kR,{scope:r,name:o,form:s,required:c,disabled:u,value:y,onValueChange:g,children:l.jsx(mR,{asChild:!0,...x,orientation:f,dir:b,loop:m,children:l.jsx(Q.div,{role:"radiogroup","aria-required":c,"aria-orientation":f,"data-disabled":u?"":void 0,dir:b,...w,ref:C})})})},"RadioGroup")),TR="RadioGroupItemProvider",_R="RadioGroupItemTrigger";function W0(e){const{__scopeRadioGroup:t,value:n,disabled:r,children:o,internal_do_not_use_render:s}=e,i=RR(TR,t),a=Bl(t),c=i.disabled||r;return l.jsx($0,{...a,checked:i.value===n,disabled:c,required:i.required,name:i.name,form:i.form,value:n,onCheck:()=>i.onValueChange(n),internal_do_not_use_render:s,children:o})}Ze(W0,"RadioGroupItemProvider");var AR=d.forwardRef(Ze(function(t,n){const{__scopeRadioGroup:r,...o}=t,s=V0(r),i=Bl(r),{checked:a,disabled:c}=Vl(_R,i.__scopeRadio),u=d.useRef(null),f=ee(n,u),p=d.useRef(!1);return d.useEffect(()=>{const m=Ze(w=>{jR.includes(w.key)&&(p.current=!0)},"handleKeyDown"),h=Ze(()=>p.current=!1,"handleKeyUp");return document.addEventListener("keydown",m),document.addEventListener("keyup",h),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",h)}},[]),l.jsx(gR,{asChild:!0,...s,focusable:!c,active:a,children:l.jsx(bR,{...i,...o,ref:f,onKeyDown:B(o.onKeyDown,m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:B(o.onFocus,()=>{var m;p.current&&((m=u.current)==null||m.click())})})})},"RadioGroupItemTrigger")),H0=d.forwardRef(Ze(function(t,n){const{__scopeRadioGroup:r,value:o,disabled:s,...i}=t;return l.jsx(W0,{__scopeRadioGroup:r,value:o,disabled:s,internal_do_not_use_render:({isFormControl:a})=>l.jsxs(l.Fragment,{children:[l.jsx(AR,{...i,ref:n,__scopeRadioGroup:r}),a&&l.jsx(IR,{__scopeRadioGroup:r})]})})},"RadioGroupItem")),IR=d.forwardRef(Ze(function(t,n){const{__scopeRadioGroup:r,...o}=t,s=Bl(r);return l.jsx(NR,{...s,...o,ref:n})},"RadioGroupItemBubbleInput")),OR=d.forwardRef(Ze(function(t,n){const{__scopeRadioGroup:r,...o}=t,s=Bl(r);return l.jsx(CR,{...s,...o,ref:n})},"RadioGroupIndicator"));const G0=d.forwardRef(({className:e,...t},n)=>l.jsx(B0,{className:G("grid gap-2",e),...t,ref:n}));G0.displayName=B0.displayName;const K0=d.forwardRef(({className:e,...t},n)=>l.jsx(H0,{ref:n,className:G("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:l.jsx(OR,{className:"flex items-center justify-center",children:l.jsx(CC,{className:"h-2.5 w-2.5 fill-current text-current"})})}));K0.displayName=H0.displayName;var FR=Object.defineProperty,MR=(e,t)=>FR(e,"name",{value:t,configurable:!0});function Q0(e){const t=d.useRef({value:e,previous:e});return d.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}MR(Q0,"usePrevious");var DR=Object.defineProperty,ie=(e,t)=>DR(e,"name",{value:t,configurable:!0}),LR=[" ","Enter","ArrowUp","ArrowDown"],zR=[" ","Enter"],os="Select",[Wl,Hl,$R]=Ci(os),[co,x4]=ht(os,[$R,Tl]),Gf=Tl(),[UR,Rr]=co(os),[VR,BR]=co(os);function q0(e){const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:c,dir:u,name:f,autoComplete:p,disabled:m,required:h,form:w,internal_do_not_use_render:x}
273=e,b=Gf(t),[y,g]=d.useState(null),[v,S]=d.useState(null),[C,E]=d.useState(!1),N=hs(u),[j,R]=hn({prop:r,defaultProp:o??!1,onChange:s,caller:os}),[k,M]=hn({prop:i,defaultProp:a,onChange:c,caller:os}),A=d.useRef(null),z=d.useRef(k);d.useEffect(()=>{const $=w?y==null?void 0:y.ownerDocument.getElementById(w):y==null?void 0:y.form;if($ instanceof HTMLFormElement){const K=ie(()=>M(z.current),"reset");return $.addEventListener("reset",K),()=>$.removeEventListener("reset",K)}},[w,y,M]);const V=y?!!w||!!y.closest("form"):!0,[X,O]=d.useState(new Set),L=kn(),T=Array.from(X).map($=>$.props.value).join(";"),_=d.useCallback($=>{O(K=>new Set(K).add($))},[]),F=d.useCallback($=>{O(K=>{const Y=new Set(K);return Y.delete($),Y})},[]),H={required:h,trigger:y,onTriggerChange:g,valueNode:v,onValueNodeChange:S,valueNodeHasChildren:C,onValueNodeHasChildrenChange:E,contentId:L,value:k,onValueChange:M,open:j,onOpenChange:R,dir:N,triggerPointerDownPosRef:A,disabled:m,name:f,autoComplete:p,form:w,nativeOptions:X,nativeSelectKey:T,isFormControl:V};return l.jsx(yN,{...b,children:l.jsx(UR,{scope:t,...H,children:l.jsx(Wl.Provider,{scope:t,children:l.jsx(VR,{scope:t,onNativeOptionAdd:_,onNativeOptionRemove:F,children:iw(x)?x(H):n})})})})}ie(q0,"SelectProvider");var WR=ie(e=>{const{__scopeSelect:t,children:n,...r}=e;return l.jsx(q0,{__scopeSelect:t,...r,internal_do_not_use_render:({isFormControl:o})=>l.jsxs(l.Fragment,{children:[n,o?l.jsx(pT,{__scopeSelect:t}):null]})})},"Select"),HR="SelectTrigger",Y0=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,disabled:o=!1,...s}=t,i=Gf(r),a=Rr(HR,r),c=a.disabled||o,u=ee(n,a.onTriggerChange),f=Hl(r),p=d.useRef("touch"),[m,h,w]=Qf(b=>{const y=f().filter(S=>!S.disabled),g=y.find(S=>S.value===a.value),v=qf(y,b,g);v!==void 0&&a.onValueChange(v.value)}),x=ie(b=>{c||(a.onOpenChange(!0),w()),b&&(a.triggerPointerDownPosRef.current={x:Math.round(b.pageX),y:Math.round(b.pageY)})},"handleOpen");return l.jsx(xN,{asChild:!0,...i,children:l.jsx(Q.button,{type:"button",role:"combobox","aria-controls":a.open?a.contentId:void 0,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":ki(a.value)?"":void 0,...s,ref:u,onClick:B(s.onClick,b=>{b.currentTarget.focus(),p.current!=="mouse"&&x(b)}),onPointerDown:B(s.onPointerDown,b=>{p.current=b.pointerType;const y=b.target;y.hasPointerCapture(b.pointerId)&&y.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&b.pointerType==="mouse"&&(x(b),b.preventDefault())}),onKeyDown:B(s.onKeyDown,b=>{const y=m.current!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&h(b.key),!(y&&b.key===" ")&&LR.includes(b.key)&&(x(),b.preventDefault())})})})},"SelectTrigger")),GR="SelectValue",KR=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,className:o,style:s,children:i,placeholder:a="",...c}=t,u=Rr(GR,r),{onValueNodeHasChildrenChange:f}=u,p=i!==void 0,m=ee(n,u.onValueNodeChange);we(()=>{f(p)},[f,p]);const h=ki(u.value);return l.jsx(Q.span,{...c,asChild:h?!1:c.asChild,ref:m,style:{pointerEvents:"none"},children:l.jsx(d.Fragment,{children:h?a:i},h?"placeholder":"value")})},"SelectValue")),QR=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,children:o,...s}=t;return l.jsx(Q.span,{"aria-hidden":!0,...s,ref:n,children:o||"▼"})},"SelectIcon")),qR="SelectPortal",[YR,XR]=co(qR,{forceMount:void 0}),ZR=ie(e=>{const{__scopeSelect:t,forceMount:n,...r}=e;return l.jsx(YR,{scope:e.__scopeSelect,forceMount:n,children:l.jsx(mf,{asChild:!0,...r})})},"SelectPortal"),ro="SelectContent",X0=d.forwardRef(ie(function(t,n){const r=XR(ro,t.__scopeSelect),{forceMount:o=r.forceMount,...s}
273=t,i=Rr(ro,t.__scopeSelect),[a,c]=d.useState();return we(()=>{c(new DocumentFragment)},[]),l.jsx(Dt,{present:o||i.open,children:({present:u})=>u?l.jsx(tT,{...s,ref:n}):l.jsx(JR,{...s,fragment:a})})},"SelectContent")),JR=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,children:o,fragment:s}=t;return s?jr.createPortal(l.jsx(Z0,{scope:r,children:l.jsx(Wl.Slot,{scope:r,children:l.jsx("div",{ref:n,children:o})})}),s):null},"SelectContentFragment")),Wt=10,[Z0,uo]=co(ro),eT=Mn("SelectContent.RemoveScroll"),tT=d.forwardRef(ie(function(t,n){const{__scopeSelect:r}=t,{position:o="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:i,onPointerDownOutside:a,side:c,sideOffset:u,align:f,alignOffset:p,arrowPadding:m,collisionBoundary:h,collisionPadding:w,sticky:x,hideWhenDetached:b,avoidCollisions:y,...g}=t,v=Rr(ro,r),[S,C]=d.useState(null),[E,N]=d.useState(null),j=ee(n,C),[R,k]=d.useState(null),[M,A]=d.useState(null),z=Hl(r),[V,X]=d.useState(!1),O=d.useRef(!1);d.useEffect(()=>{if(S)return Zx(S)},[S]),Ol();const L=d.useCallback(q=>{const[ue,..._e]=z().map(de=>de.ref.current),[ce]=_e.slice(-1),se=document.activeElement;for(const de of q)if(de===se||(de==null||de.scrollIntoView({block:"nearest"}),de===ue&&E&&(E.scrollTop=0),de===ce&&E&&(E.scrollTop=E.scrollHeight),de==null||de.focus(),document.activeElement!==se))return},[z,E]),T=d.useCallback(()=>L([R,S]),[L,R,S]);d.useEffect(()=>{V&&T()},[V,T]);const{onOpenChange:_,triggerPointerDownPosRef:F}=v;d.useEffect(()=>{if(S){let q={x:0,y:0};const ue=ie(ce=>{var se,de;q={x:Math.abs(Math.round(ce.pageX)-(((se=F.current)==null?void 0:se.x)??0)),y:Math.abs(Math.round(ce.pageY)-(((de=F.current)==null?void 0:de.y)??0))}},"handlePointerMove"),_e=ie(ce=>{q.x<=10&&q.y<=10?ce.preventDefault():ce.composedPath().includes(S)||_(!1),document.removeEventListener("pointermove",ue),F.current=null},"handlePointerUp");return F.current!==null&&(document.addEventListener("pointermove",ue),document.addEventListener("pointerup",_e,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ue),document.removeEventListener("pointerup",_e,{capture:!0})}}},[S,_,F]),d.useEffect(()=>{const q=ie(()=>_(!1),"close");return window.addEventListener("blur",q),window.addEventListener("resize",q),()=>{window.removeEventListener("blur",q),window.removeEventListener("resize",q)}},[_]);const[H,$]=Qf(q=>{const ue=z().filter(se=>!se.disabled),_e=ue.find(se=>se.ref.current===document.activeElement),ce=qf(ue,q,_e);ce&&setTimeout(()=>{var se;return(se=ce.ref.current)==null?void 0:se.focus()})}),K=d.useCallback((q,ue,_e)=>{const ce=!O.current&&!_e;(v.value!==void 0&&v.value===ue||ce)&&(k(q),ce&&(O.current=!0))},[v.value]),Y=d.useCallback(()=>S==null?void 0:S.focus(),[S]),le=d.useCallback((q,ue,_e)=>{const ce=!O.current&&!_e;(v.value!==void 0&&v.value===ue||ce)&&A(q)},[v.value]),be=o==="popper"?pm:nT,oe=be===pm?{side:c,sideOffset:u,align:f,alignOffset:p,arrowPadding:m,collisionBoundary:h,collisionPadding:w,sticky:x,hideWhenDetached:b,avoidCollisions:y}:{};return l.jsx(Z0,{scope:r,content:S,viewport:E,onViewportChange:N,itemRefCallback:K,selectedItem:R,onItemLeave:Y,itemTextRefCallback:le,focusSelectedItem:T,selectedItemText:M,position:o,isPositioned:V,searchRef:H,children:l.jsx(Mf,{as:eT,allowPinchZoom:!0,children:l.jsx(Dx,{asChild:!0,trapped:v.open,onMountAutoFocus:q=>{q.preventDefault()},onUnmountAutoFocus:B(s,q=>{var ue;(ue=v.trigger)==null||ue.focus({preventScroll:!0}),q.preventDefault()}),children:l.jsx(wl,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:q=>q.preventDefault(),onDismiss:()=>v.onOpenChange(!1),children:l.jsx(be,{role:"listbox",id:v.contentId,"data-state":v.open?"open":"closed",dir:v.dir,onContextMenu:q=>q.preventDefault(),...g,...oe,onPlaced:()=>X(!0),ref:j,style:{display:"flex",flexDirection:"column",outline:"none",...g.style},onKeyDown:B(g.onKeyDown,q=>{const ue=q.ctrlKey||q.altKey||q.metaKey;if(q.key==="Tab"&&q.preventDefault(),!ue&&q.key.length===1&&$(q.key),["ArrowUp","ArrowDown","Home","End"].includes(q.key)){let ce=z().filter(se=>!se.disabled).map(se=>se.ref.current);
vendor: 4,696 bytes, line 273
273if(["ArrowUp","End"].includes(q.key)&&(ce=ce.slice().reverse()),["ArrowUp","ArrowDown"].includes(q.key)){const se=q.target,de=ce.indexOf(se);ce=ce.slice(de+1)}setTimeout(()=>L(ce)),q.preventDefault()}})})})})})})},"SelectContentImpl")),nT=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,onPlaced:o,...s}=t,i=Rr(ro,r),a=uo(ro,r),[c,u]=d.useState(null),[f,p]=d.useState(null),m=ee(n,p),h=Hl(r),w=d.useRef(!1),x=d.useRef(!0),{viewport:b,selectedItem:y,selectedItemText:g,focusSelectedItem:v}=a,S=d.useCallback(()=>{if(i.trigger&&i.valueNode&&c&&f&&b&&y&&g){const j=i.trigger.getBoundingClientRect(),R=f.getBoundingClientRect(),k=i.valueNode.getBoundingClientRect(),M=g.getBoundingClientRect();if(i.dir!=="rtl"){const se=M.left-R.left,de=k.left-se,Et=j.left-de,Nt=j.width+Et,tn=Math.max(Nt,R.width),Vn=window.innerWidth-Wt,yn=tl(de,[Wt,Math.max(Wt,Vn-tn)]);c.style.minWidth=Nt+"px",c.style.left=yn+"px"}else{const se=R.right-M.right,de=window.innerWidth-k.right-se,Et=window.innerWidth-j.right-de,Nt=j.width+Et,tn=Math.max(Nt,R.width),Vn=window.innerWidth-Wt,yn=tl(de,[Wt,Math.max(Wt,Vn-tn)]);c.style.minWidth=Nt+"px",c.style.right=yn+"px"}const A=h(),z=window.innerHeight-Wt*2,V=b.scrollHeight,X=window.getComputedStyle(f),O=parseInt(X.borderTopWidth,10),L=parseInt(X.paddingTop,10),T=parseInt(X.borderBottomWidth,10),_=parseInt(X.paddingBottom,10),F=O+L+V+_+T,H=Math.min(y.offsetHeight*5,F),$=window.getComputedStyle(b),K=parseInt($.paddingTop,10),Y=parseInt($.paddingBottom,10),le=j.top+j.height/2-Wt,be=z-le,oe=y.offsetHeight/2,q=y.offsetTop+oe,ue=O+L+q,_e=F-ue;if(ue<=le){const se=A.length>0&&y===A[A.length-1].ref.current;c.style.bottom="0px";const de=f.clientHeight-b.offsetTop-b.offsetHeight,Et=Math.max(be,oe+(se?Y:0)+de+T),Nt=ue+Et;c.style.height=Nt+"px"}else{const se=A.length>0&&y===A[0].ref.current;c.style.top="0px";const Et=Math.max(le,O+b.offsetTop+(se?K:0)+oe)+_e;c.style.height=Et+"px",b.scrollTop=ue-le+b.offsetTop}c.style.margin=`${Wt}px 0`,c.style.minHeight=H+"px",c.style.maxHeight=z+"px",o==null||o(),requestAnimationFrame(()=>w.current=!0)}},[h,i.trigger,i.valueNode,c,f,b,y,g,i.dir,o]);we(()=>S(),[S]);const[C,E]=d.useState();we(()=>{f&&E(window.getComputedStyle(f).zIndex)},[f]);const N=d.useCallback(j=>{j&&x.current===!0&&(S(),v==null||v(),x.current=!1)},[S,v]);return l.jsx(rT,{scope:r,contentWrapper:c,shouldExpandOnScrollRef:w,onScrollButtonChange:N,children:l.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:l.jsx(Q.div,{...s,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})},"SelectItemAlignedPosition")),pm=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,align:o="start",collisionPadding:s=Wt,...i}=t,a=Gf(r);return l.jsx(ix,{...a,...i,ref:n,align:o,collisionPadding:s,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})},"SelectPopperPosition")),[rT,Kf]=co(ro,{}),hm="SelectViewport",oT=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,nonce:o,...s}=t,i=uo(hm,r),a=Kf(hm,r),c=ee(n,i.onViewportChange),u=d.useRef(0);return l.jsxs(l.Fragment,{children:[l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),l.jsx(Wl.Slot,{scope:r,children:l.jsx(Q.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:B(s.onScroll,f=>{const p=f.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:h}=a;if(h!=null&&h.current&&m){const w=Math.abs(u.current-p.scrollTop);if(w>0){const x=window.innerHeight-Wt*2,b=parseFloat(m.style.minHeight),y=parseFloat(m.style.height),g=Math.max(b,y);if(g<x){const v=g+w,S=Math.min(x,v),C=v-S;m.style.height=S+"px",m.style.bottom==="0px"&&(p.scrollTop=C>0?C:0,m.style.justifyContent="flex-end")}}}u.current=p.scrollTop})})})]})},"SelectViewport")),sT="SelectGroup",[w4,iT]=co(sT),aT="SelectLabel",J0=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,...o}=t,s=iT(aT,r);return l.jsx(Q.div,{id:s.id,...o,ref:n})},"SelectLabel")),ld="SelectItem",[lT,ew]=co(ld),tw=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,value:o,disabled:s=!1,textValue:i,...a}=t,c=Rr(ld,r),u=uo(ld,r),f=c.value===o,[p,m]=d.useState(i??""),[h,w]=d.use
273State(!1),x=Te(S=>{var C;return(C=u.itemRefCallback)==null?void 0:C.call(u,S,o,s)}),b=ee(n,x),y=kn(),g=d.useRef("touch"),v=ie(()=>{s||(c.onValueChange(o),c.onOpenChange(!1))},"handleSelect");return l.jsx(lT,{scope:r,value:o,disabled:s,textId:y,isSelected:f,onItemTextChange:d.useCallback(S=>{m(C=>C||((S==null?void 0:S.textContent)??"").trim())},[]),children:l.jsx(Wl.ItemSlot,{scope:r,value:o,disabled:s,textValue:p,children:l.jsx(Q.div,{role:"option","aria-labelledby":y,"data-highlighted":h?"":void 0,"aria-selected":f&&h,"data-state":f?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...a,ref:b,onFocus:B(a.onFocus,()=>w(!0)),onBlur:B(a.onBlur,()=>w(!1)),onClick:B(a.onClick,()=>{g.current!=="mouse"&&v()}),onPointerUp:B(a.onPointerUp,()=>{g.current==="mouse"&&v()}),onPointerDown:B(a.onPointerDown,S=>{g.current=S.pointerType}),onPointerMove:B(a.onPointerMove,S=>{var C;g.current=S.pointerType,s?(C=u.onItemLeave)==null||C.call(u):g.current==="mouse"&&S.currentTarget.focus({preventScroll:!0})}),onPointerLeave:B(a.onPointerLeave,S=>{var C;S.currentTarget===document.activeElement&&((C=u.onItemLeave)==null||C.call(u))}),onKeyDown:B(a.onKeyDown,S=>{var E;s||S.target!==S.currentTarget||((E=u.searchRef)==null?void 0:E.current)!==""&&S.key===" "||(zR.includes(S.key)&&v(),S.key===" "&&S.preventDefault())})})})})},"SelectItem")),sa="SelectItemText",cT=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,className:o,style:s,...i}=t,a=Rr(sa,r),c=uo(sa,r),u=ew(sa,r),f=BR(sa,r),[p,m]=d.useState(null),h=Te(v=>{var S;return(S=c.itemTextRefCallback)==null?void 0:S.call(c,v,u.value,u.disabled)}),w=ee(n,m,u.onItemTextChange,h),x=p==null?void 0:p.textContent,b=d.useMemo(()=>l.jsx("option",{value:u.value,disabled:u.disabled,children:x},u.value),[u.disabled,u.value,x]),{onNativeOptionAdd:y,onNativeOptionRemove:g}=f;return we(()=>(y(b),()=>g(b)),[y,g,b]),l.jsxs(l.Fragment,{children:[l.jsx(Q.span,{id:u.textId,...i,ref:w}),u.isSelected&&a.valueNode&&!a.valueNodeHasChildren&&!ki(a.value)?jr.createPortal(i.children,a.valueNode):null]})},"SelectItemText")),uT="SelectItemIndicator",dT=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,...o}=t;return ew(uT,r).isSelected?l.jsx(Q.span,{"aria-hidden":!0,...o,ref:n}):null},"SelectItemIndicator")),mm="SelectScrollUpButton",nw=d.forwardRef(ie(function(t,n){const r=uo(mm,t.__scopeSelect),o=Kf(mm,t.__scopeSelect),[s,i]=d.useState(!1),a=ee(n,o.onScrollButtonChange);return we(()=>{if(r.viewport&&r.isPositioned){let c=function(){const f=u.scrollTop>0;i(f)};ie(c,"handleScroll");const u=r.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),s?l.jsx(ow,{...t,ref:a,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=r;c&&u&&(c.scrollTop=c.scrollTop-u.offsetHeight)}}):null},"SelectScrollUpButton")),gm="SelectScrollDownButton",rw=d.forwardRef(ie(function(t,n){const r=uo(gm,t.__scopeSelect),o=Kf(gm,t.__scopeSelect),[s,i]=d.useState(!1),a=ee(n,o.onScrollButtonChange);return we(()=>{if(r.viewport&&r.isPositioned){let c=function(){const f=u.scrollHeight-u.clientHeight,p=Math.ceil(u.scrollTop)<f;i(p)};ie(c,"handleScroll");const u=r.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),s?l.jsx(ow,{...t,ref:a,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=r;c&&u&&(c.scrollTop=c.scrollTop+u.offsetHeight)}}):null},"SelectScrollDownButton")),ow=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,onAutoScroll:o,...s}=t,i=uo("SelectScrollButton",r),a=d.useRef(null),c=Hl(r),u=d.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return d.useEffect(()=>()=>u(),[u]),we(()=>{var p;const f=c().find(m=>m.ref.current===document.activeElement);(p=f==null?void 0:f.ref.current)==null||p.scrollIntoView({block:"nearest"})},[c]),l.jsx(Q.div,{"aria-hidden":!0,...s,ref:n,style:{flexShrink:0,...s.style},onPointerDown:B(s.onPointerDown,()=>{a.current===null&&(a.current=window.setInterval(o,50))}),onPointerMove:B(s.onPointerMove,()=>{var f;(f=i.onItemLeave)==null||f.call(i),a.current===null&&(a.current=window.setInterval(o,50))}),onPointerLeave:B(s.onPointerLeave,()=>{u()})})},"SelectScrollButtonImpl")),sw=d.forwardRef(ie(function(t,n){const{__scopeSelect:r,...o}=t;return l.jsx(Q.div,{"aria-hidden":!0,...o,ref:n})},"SelectSeparator")),fT="SelectBubbleInput",pT=d.forwardRef(ie(function({__scopeSelect:t,...n},r){const o=Rr(fT,t),{value:s,onValueChange:i,required:a,disabled:c,name:u,autoComplete:f,form:p}=o,{nativeOptions:m,nativeSelectKey:h}=o,w=d.useRef(null),x=ee(r,w),b=s??"",y=Q0(b),g=Array.from(m).some(v=>(v.props.value??"")==="");return d.useEffect(()=>{const v=w.current;if(!v)return;const S=window.HTMLSelectElement.prototype,E=Object.getOwnPropertyDescriptor(S,"value").set;if(y!==b&&E){const N=new Event("change",{bubbles:!0});E.call(v,b),v.dispatchEvent(N)}},[y,b]),l.jsxs(Q.select,{"aria-hidden":!0,required:a,tabIndex:-1,name:u,autoComplete:f,disabled:c,form:p,onChange:v=>i(v.target.value),...n,style:{...py,...n.style},ref:x,defaultValue:b,children:[ki(s)&&!g?l.jsx("option",{value:""}):null,Array.from(m)]},h)},"SelectBubbleInput"));function iw(e){return typeof e=="function"}ie(iw,"isFunction");function ki(e){return e===""||e===void 0}ie(ki,"shouldShowPlaceholder");function Qf(e){const t=Te(e),n=d.useRef(""),r=d.useRef(0),o=d.useCallback(i=>{const a=n.current+i;t(a),ie(function c(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>c(""),1e3))},"updateSearch")(a)},[t]),s=d.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return d.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,s]}ie(Qf,"useTypeaheadSearch");function qf(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=aw(e,Math.max(s,0));o.length===1&&(i=i.filter(u=>u!==n));const c=i.find(u=>u.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==n?c:void 0}ie(qf,"findNextItem");function aw(e,t){return e.map((n,r)=>e[(t+r)%e.length])}ie(aw,"wrapArray");const hT=WR,mT=KR,lw=d.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(Y0,{ref:r,className:G("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
273ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,l.jsx(QR,{asChild:!0,children:l.jsx(xf,{className:"h-4 w-4 opacity-50"})})]}));lw.displayName=Y0.displayName;const cw=d.forwardRef(({className:e,...t},n)=>l.jsx(nw,{ref:n,className:G("flex cursor-default items-center justify-center py-1",e),...t,children:l.jsx(bC,{className:"h-4 w-4"})}));cw.displayName=nw.displayName;const uw=d.forwardRef(({className:e,...t},n)=>l.jsx(rw,{ref:n,className:G("flex cursor-default items-center justify-center py-1",e),...t,children:l.jsx(xf,{className:"h-4 w-4"})}));uw.displayName=rw.displayName;const dw=d.forwardRef(({className:e,children:t,position:n="popper",...r},o)=>l.jsx(ZR,{children:l.jsxs(X0,{ref:o,className:G("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[l.jsx(cw,{}),l.jsx(oT,{className:G("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),l.jsx(uw,{})]})}));dw.displayName=X0.displayName;const gT=d.forwardRef(({className:e,...t},n)=>l.jsx(J0,{ref:n,className:G("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));gT.displayName=J0.displayName;const Ts=d.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(tw,{ref:r,className:G("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),...n,children:[l.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:l.jsx(dT,{children:l.jsx(wC,{className:"h-4 w-4"})})}),l.jsx(cT,{children:t})]}));Ts.displayName=tw.displayName;const vT=d.forwardRef(({className:e,...t},n)=>l.jsx(sw,{ref:n,className:G("-mx-1 my-1 h-px bg-muted",e),...t}));vT.displayName=sw.displayName;const yT=[{id:"usa-nylon",name:"USA Flag - Nylon",description:"12 sizes available. High-quality outdoor nylon American flag.",image:"https://vibe.filesafe.space/1782149216883161452/assets/eb424647-35ff-4c58-9069-c1be211c5f29.png",price:28,category:"American Flags",storeLink:"https://store.flagworld.com/product-details/product/6a39893ffc47d6ce89f6900e"},{id:"usa-polyester",name:"USA Flag - Polyester",description:"10 sizes available. Durable all-weather outdoor flag.",image:"https://vibe.filesafe.space/1782149216883161452/assets/eb424647-35ff-4c58-9069-c1be211c5f29.png",price:57,category:"American Flags",storeLink:"https://store.flagworld.com/product-details/product/6a39893f8659b73ce5ea0c4f"},{id:"usa-5x8",name:"USA Flags 5 x 8",description:"5 x 8 United States Flag.",image:"https://vibe.filesafe.space/1782149216883161452/assets/eb424647-35ff-4c58-9069-c1be211c5f29.png",price:45,category:"American Flags",storeLink:"https://store.flagworld.com/product-details/product/6a3989577745dee0219e6dc5"},{id:"usa-cotton-3x5",name:"3 x 5 United States Flag Endura-Tex Cotton",description:"3 x 5 United States Flag made with Endura-Tex Cotton.",image:"https://vibe.filesafe.space/1782149216883161452/assets/eb424647-35ff-4c58-9069-c1be211c5f29.png",price:55,category:"American Flags",storeLink:"https://store.flagworld.com/product-details/product/6a39893e52638bbd41e22644"},{id:"usa-cotton-5x9",name:"5 x 9.5 Endura-Tex Cotton US Flag",description:"5 x 9.5 United States Flag made with Endura-Tex Cotton.",image:"https://vibe.filesafe.space/1782149216883161452/assets/eb424647-35ff-4c58-9069-c1be211c5f29.png",price:147,category:"American Flags",storeLink:"https://store.flagworld.com/product-details/product/6a39893f8659b7be91ea0c4d"},{id:"usa-casket-nylon",name:"United States Casket Flag - Nylon",description:"5 x 9 1/2 Nylon United States Casket Flag. Made for dignified military and veteran memorial use.",image:"https://vibe.filesafe.space/1782149216883161452/assets/f4094336-1a00-4c72-bab8-5773a6b735a4.png",price:108,category:"American Flags",storeLink:"https://store.flagworld.com/product-details/product/6a39893fa89b237718745be8"},{id:"usa-casket-poly",name:"United States Casket Flag - Polyester",description:"5 x 9 1/2 Polyester United States Casket Flag. Made for dignified military and veteran memorial use.",image:"https://vibe.filesafe.space/1782149216883161452/assets/f4094336-1a00-4c72-bab8-5773a6b735a4.png",price:149,category:"American Flags",storeLink:"https://store.flagworld.com/product-details/product/6a39893fa89b237718745be8"},{id:"mil-air-force",name:"Air Force Flag",description:"Air Force flag, available in 3x5 and larger sizes.",image:"https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/761492c3-5f07-419d-b723-ac7f37b3cc53.png",price:46,category:"Military Flags",storeLink:"https://store.flagworld.com/product-details/product/6a46af73335f596e372c6864"},{id:"mil-army",name:"Army Flag",description:"Army flag, available in 3x5 and larger sizes.",image:"https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/5581b8be-bddb-4fe2-9d69-e4735f34c703.png",price:46,category:"Military Flags",storeLink:"https://store.flagworld.com/product-details/product/6a46af755da7e583591a71a8"},{id:"mil-marine-corps",name:"Marine Corps Flag",description:"Marine Corps flag, available in 3x5 and larger sizes.",image:"https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/c4d0e679-565d-4c9d-9010-0c5b585ddad2.png",price:46,category:"Military Flags",storeLink:"https://store.flagworld.com/product-details/product/6a46af762998ecdb4ad5aaa5"},{id:"mil-navy",name:"Navy Flag",description:"Navy flag, available in 3x5 and larger sizes.",image:"https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/e5879319-8710-4b24-a475-2e3fec14ddb0.png",price:46,category:"Military Flags",storeLink:"https://store.flagworld.com/product-details/product/6a46af775a2bf371d149e8f3"},{id:"mil-coast-guard",name:"Coast Guard Flag",description:"Coast Guard flag, available in 3x5 and larger sizes.",image:"https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/f48f4a77-2564-444e-b287-c8a4580c1e20.png",price:46,category:"Military Flags",storeLink:"https://store.flagworld.com/product-details/product/6a46af78c85d867d8b531b89"},{id:"mil-space-force-white",name:"Space Force Flag (White)",description:"Space Force flag in white, available in 3x5 and larger sizes.",image:"https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/bcb7b198-c9bb-4743-a8eb-9ccf3379c28e.png",price:46,category:"Military Flags",storeLink:"https://store.flagworld.com/product-details/product/6a46af7ab53c563bb0d3ece9"},{id:"mil-space-force-black",name:"Space Force Flag (Black)",description:"Space Force flag in black, available in 3x5 and larger sizes.",image:"https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/b6400d7b-73aa-4917-8b8a-3a1dff872ce4.png",price:46,category:"Military Flags",storeLink:"https://store.flagworld.com/product-details/product/6a46af7a5a2bf383b549e901"},{id:"mil-pow-mia",name:"POW MIA Flag",description:"POW MIA Flag, single or double sided.",image:"https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/f26c4954-2136-4c61-93c9-fc1c76207ec2.jpg",price:30,category:"Military Flags",storeLink:"https://store.flagworld.com/product-details/product/6a39895852638b5de2e2268c"}
273,{id:"state-florida-4x6",name:"Florida 4' x 6'",description:"High strength high quality nylon Florida State Flag in 4' x 6'.",image:"https://vibe.filesafe.space/1782149216883161452/assets/ecc9fd2d-f0ce-42ea-b6ce-5248898f556a.png",price:96,category:"State Flags",storeLink:"https://store.flagworld.com/product-details/product/6a3988d752638bc6afe22406"},{id:"state-florida-5x8",name:"Florida 5' x 8'",description:"High strength high quality nylon Florida State Flag in 5' x 8'.",image:"https://vibe.filesafe.space/1782149216883161452/assets/ecc9fd2d-f0ce-42ea-b6ce-5248898f556a.png",price:147,category:"State Flags",storeLink:"https://store.flagworld.com/product-details/product/6a3988d752638bc6afe22406"},{id:"terr-puerto-rico",name:"Puerto Rico",description:"Flag of Puerto Rico. High-quality outdoor nylon flag.",image:"https://vibe.filesafe.space/1782149216883161452/assets/9bd8c1d0-c74d-4531-a220-d2c22cfa691d.png",price:38,category:"US Territory Flags",storeLink:"https://store.flagworld.com/product-details/product/6a39893e52638ba670e2263f"},{id:"terr-us-virgin-islands-3x5",name:"US Virgin Islands 3' x 5'",description:"Flag of the US Virgin Islands in 3' x 5'. High-quality outdoor nylon flag.",image:"https://vibe.filesafe.space/1782149216883161452/assets/cf4f120f-5488-42d2-b6f9-cf9b14451276.png",price:53,category:"US Territory Flags",storeLink:"https://store.flagworld.com/product-details/product/6a39893ed143b71ade0bdecc"},{id:"terr-us-virgin-islands-4x6",name:"US Virgin Islands 4' x 6'",description:"Flag of the US Virgin Islands in 4' x 6'. High-quality outdoor nylon flag.",image:"https://vibe.filesafe.space/1782149216883161452/assets/cf4f120f-5488-42d2-b6f9-cf9b14451276.png",price:96,category:"US Territory Flags",storeLink:"https://store.flagworld.com/product-details/product/6a39893ed143b71ade0bdecc"},{id:"terr-us-virgin-islands-5x8",name:"US Virgin Islands 5' x 8'",description:"Flag of the US Virgin Islands in 5' x 8'. High-quality outdoor nylon flag.",image:"https://vibe.filesafe.space/1782149216883161452/assets/cf4f120f-5488-42d2-b6f9-cf9b14451276.png",price:114,category:"US Territory Flags",storeLink:"https://store.flagworld.com/product-details/product/6a39893ed143b71ade0bdecc"},{id:"custom-flag",name:"Custom Flag",description:"Bring your vision to life with custom flags. Free design proofs and no minimum order quantity.",image:"https://vibe.filesafe.space/1782149216883161452/assets/3329e2ee-8876-4c7d-9bc0-05d882be01c3.png",price:0,category:"Custom Flags"}];function xT(){const[e,t]=d.useState(""),[n,r]=d.useState("All"),[o,s]=d.useState(!1),i=d.useRef(null),a=u=>{var f;r(u),(f=i.current)==null||f.scrollIntoView({behavior:"smooth",block:"start"})},c=yT.filter(u=>{const f=u.name.toLowerCase().includes(e.toLowerCase()),p=n==="All"||u.category===n;return f&&p});return l.jsxs("div",{className:"container mx-auto px-4 py-12",children:[l.jsxs("div",{className:"mb-12 text-center",children:[l.jsx("h1",{className:"text-5xl md:text-7xl font-extrabold text-primary mb-6",children:"The Shop"}),l.jsxs("nav",{className:"flex justify-center text-sm text-muted-foreground uppercase tracking-wider font-semibold",children:[l.jsx(We,{to:"/",className:"hover:text-primary transition-colors",children:"Home"}),l.jsx("span",{className:"mx-2",children:"/"}),l.jsx("span",{className:"text-primary",children:"The Shop"})]}),l.jsx("p",{className:"mt-6 text-sm text-muted-foreground italic",children:"* No refunds, exchanges and store credit only"})]}),l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4 mb-8",children:[l.jsxs("div",{className:"flex flex-col gap-4",children:[l.jsxs("div",{className:"group relative h-[400px] md:h-[500px] overflow-hidden rounded-sm cursor-pointer",onClick:()=>a("American Flags"),children:[l.jsx("img",{src:"https://vibe.filesafe.space/1782149216883161452/assets/6626907a-08cb-4bdf-bcc0-54335dee5cc5.png",alt:"American Flags",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),l.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/30 transition-colors"}),l.jsx("div",{className:"absolute inset-0 p-8 flex items-start",children:l.jsxs("h3",{className:"text-white text-2xl md:text-3xl font-bold flex items-center gap-3",children:["American Flags"," ",l.jsx("span",{className:"text-sm font-normal opacity-80",children:"7"})]})})]}),l.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 flex-1",children:[l.jsxs("div",{className:"group relative h-[250px] overflow-hidden rounded-sm cursor-pointer",onClick:()=>a("State Flags"),children:[l.jsx("img",{src:"https://vibe.filesafe.space/1782149216883161452/assets/385c10fe-d05e-4911-8009-070cf2659042.png",alt:"State Flags",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),l.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/30 transition-colors"}),l.jsx("div",{className:"absolute inset-0 p-8 flex items-start",children:l.jsxs("h3",{className:"text-white text-2xl md:text-3xl font-bold flex items-center gap-3",children:["State Flags"," ",l.jsx("span",{className:"text-sm font-normal opacity-80",children:"2"})]})})]}),l.jsxs("div",{className:"group relative h-[250px] overflow-hidden rounded-sm cursor-pointer",onClick:()=>a("US Territory Flags"),children:[l.jsx("img",{src:"https://vibe.filesafe.space/1782149216883161452/assets/45058d09-78cc-4915-8778-47e13fa3f648.png",alt:"US Territory Flags",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),l.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/30 transition-colors"}),l.jsx("div",{className:"absolute inset-0 p-8 flex items-start",children:l.jsxs("h3",{className:"text-white text-2xl md:text-3xl font-bold flex items-center gap-3",children:["US Territory Flags"," ",l.jsx("span",{className:"text-sm font-normal opacity-80",children:"4"})]})})]})]})]}),l.jsxs("div",{className:"flex flex-col gap-4",children:[l.jsxs("div",{className:"group relative h-[250px] md:h-[350px] overflow-hidden rounded-sm cursor-pointer",onClick:()=>a("Military Flags"),children:[l.jsx("img",{src:"https://vibe.filesafe.space/1782149216883161452/assets/7a99a665-fa05-4686-96ad-db12a00343b7.png",alt:"Military Flags",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),l.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/30 transition-colors"}),l.jsx("div",{className:"absolute inset-0 p-8 flex items-start",children:l.jsxs("h3",{className:"text-white text-2xl md:text-3xl font-bold flex items-center gap-3",children:["Military Flags"," ",l.jsx("span",{className:"text-sm font-normal opacity-80",children:"8"})]})})]}),l.jsxs("div",{className:"group relative h-[250px] md:h-[400px] overflow-hidden rounded-sm cursor-pointer flex-1",onClick:()=>a("Custom Flags"),children:[l.jsx("img",{src:"https://vibe.filesafe.space/1782149216883161452/assets/3329e2ee-8876-4c7d-9bc0-05d882be01c3.png",alt:"Custom Flags",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),l.jsx("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/30 transition-colors"}),l.jsx("div",{className:"absolute inset-0 p-8 flex items-start",children:l.jsx("h3",{className:"text-white text-2xl md:text-3xl font-bold flex items-center gap-3",children:"Custom Flags"})})]})]})]}),l.jsxs("div",{className:"mb-20 bg-muted/30 rounded-lg p-6 md:p-8 flex items-center justify-between flex-col sm:flex-row gap-4 border shadow-sm",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-primary mb-2",children:"International Flags by Request"}),l.jsx("p",{className:"text-muted-foreground",children:"International flags please call us for pricing. We stock flags from every nation by special order. Call 407-895-9245 or use our quote form and we'll have it for you."})]}),l.jsx(je,{asChild:!0,variant:"secondary",className:"whitespace-nowrap",children:l.jsx(We,{to:"/contact",children:"Request a Flag"})})]}),l.jsxs("div",{className:"mb-8 border-t pt-12 flex flex-col md:flex-row md:items-center justify-between gap-4",children:[l.jsxs("div",{children:[l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"All Products"}),l.jsx("p",{className:"text-muted-foreground mt-2",children:"Browse our full collection of high-quality flags and hardware."})]}),l.jsxs(je,{variant:"outline",className:"md:hidden w-full flex items-center gap-2",onClick:()=>s(!o),children:[l.jsx(jC,{className:"h-4 w-4"}),o?"Hide Filters":"Show Filters"]})]}),l.jsxs("div",{className:"flex flex-col md:flex-row gap-8",children:[l.jsxs("aside",{className:`w-full md:w-64 space-y-8 ${o?"block":"hidden md:block"}`,children:[l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"font-semibold text-lg border-b pb-2",children:"Search"}),l.jsxs("div",{className:"relative",children:[l.jsx(Vu,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),l.jsx(Vs,{type:"search",placeholder:"Search products...",className:"pl-8",value:e,onCh
273ange:u=>t(u.target.value)})]})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"font-semibold text-lg border-b pb-2",children:"Category"}),l.jsx(G0,{value:n,onValueChange:r,className:"space-y-2",children:["All","American Flags","Military Flags","State Flags","US Territory Flags","Custom Flags"].map(u=>l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsx(K0,{value:u,id:`cat-${u}`}),l.jsx(k0,{htmlFor:`cat-${u}`,children:u})]},u))})]})]}),l.jsxs("main",{className:"flex-1",ref:i,children:[l.jsxs("div",{className:"mb-6 flex justify-between items-center",children:[l.jsxs("p",{className:"text-sm text-muted-foreground",children:["Showing ",c.length," results"]}),l.jsxs(hT,{defaultValue:"featured",children:[l.jsx(lw,{className:"w-[180px]",children:l.jsx(mT,{placeholder:"Sort by"})}),l.jsxs(dw,{children:[l.jsx(Ts,{value:"featured",children:"Featured"}),l.jsx(Ts,{value:"price-low",children:"Price: Low to High"}),l.jsx(Ts,{value:"price-high",children:"Price: High to Low"}),l.jsx(Ts,{value:"newest",children:"Newest Arrivals"})]})]})]}),c.length===0?l.jsxs("div",{className:"text-center py-20 bg-muted/30 rounded-lg",children:[l.jsx("p",{className:"text-lg text-muted-foreground",children:"No products found matching your criteria."}),l.jsx(je,{variant:"outline",className:"mt-4",onClick:()=>{t(""),r("All")},children:"Clear Filters"})]}):l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(u=>l.jsxs(_n,{className:"flex flex-col overflow-hidden group",children:[l.jsx("div",{className:"aspect-square overflow-hidden bg-white relative",children:l.jsx("img",{src:u.image,alt:u.name,className:"w-full h-full object-contain p-6 group-hover:scale-105 transition-transform duration-300"})}),l.jsxs(no,{className:"p-4 flex-1",children:[l.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:u.category}),l.jsx("h3",{className:"font-semibold text-lg mb-2 line-clamp-2",children:u.name}),l.jsx("div",{className:"text-sm text-muted-foreground mb-3 line-clamp-2",children:u.description}),u.price>0?l.jsxs("div",{className:"text-xl font-bold text-primary",children:["from $",u.price.toFixed(2)]}):null]}),l.jsx(N0,{className:"p-4 pt-0 flex flex-col gap-2",children:u.category==="Custom Flags"?l.jsxs(nl,{children:[l.jsx(rl,{asChild:!0,children:l.jsx(je,{className:"w-full",children:"Get a Custom Quote"})}),l.jsx(hi,{className:"sm:max-w-[600px] p-0 h-[80vh] border-none overflow-hidden",children:l.jsx("iframe",{src:"https://api.leadconnectorhq.com/widget/form/jF1NTe4Y4Z9h1UwojDVS",style:{width:"100%",height:"100%",border:"none"},id:"inline-jF1NTe4Y4Z9h1UwojDVS",title:"Custom Flag Quote Form"})})]}):l.jsx(je,{asChild:!0,className:"w-full gap-2",children:l.jsxs("a",{href:u.storeLink,target:"_self",children:[l.jsx(Bu,{className:"h-4 w-4"})," View & Order"]})})})]},u.id))}),n==="State Flags"&&l.jsxs("div",{className:"mt-8 bg-muted/30 rounded-lg p-6 md:p-8 flex items-center justify-between flex-col sm:flex-row gap-4 border shadow-sm",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-primary mb-2",children:"All 50 State Flags Available"}),l.jsx("p",{className:"text-muted-foreground",children:"We carry every state flag by special order. Call 407-895-9245 or use our quote form and we'll get you a price same-day."})]}),l.jsxs(nl,{children:[l.jsx(rl,{asChild:!0,children:l.jsx(je,{variant:"secondary",className:"whitespace-nowrap",children:"Get a Quote"})}),l.jsx(hi,{className:"sm:max-w-[600px] p-0 h-[80vh] border-none overflow-hidden",children:l.jsx("iframe",{src:"https://api.leadconnectorhq.com/widget/form/jF1NTe4Y4Z9h1UwojDVS",style:{width:"100%",height:"100%",border:"none"},id:"inline-jF1NTe4Y4Z9h1UwojDVS",title:"Custom Flag Quote Form"})})]})]})]})]})]})]})}function wT(){const e=[{icon:DC,title:"1. Share Your Vision",desc:"Upload your logo or describe your idea."},{icon:AC,title:"2. Design & Proof",desc:"We'll create a digital proof for your approval."},{icon:NC,title:"3. Approval",desc:"Review and approve the final design."},{icon:OC,title:"4. Production",desc:"We craft your flag with premium materials."},{icon:Iy,title:"5. Delivery",desc:"Fast, secure shipping right to your door."}];return l.jsxs("div",{className:"flex flex-col min-h-screen",children:[l.jsx("section",{className:"bg-primary text-primary-foreground py-20",children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:"Custom Flags Made Easy"}),l.jsx("p",{className:"text-xl max-w-2xl mx-auto text-primary-foreground
273/80",children:"From corporate logos to family crests, we bring your unique designs to life with unmatched quality and craftsmanship."})]})}),l.jsx("section",{className:"py-20 bg-muted/30",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-3xl font-bold text-center text-primary mb-12",children:"How It Works"}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-5 gap-8",children:e.map((t,n)=>l.jsxs("div",{className:"flex flex-col items-center text-center relative",children:[l.jsx("div",{className:"w-16 h-16 rounded-full bg-secondary text-white flex items-center justify-center mb-4 z-10",children:l.jsx(t.icon,{className:"h-8 w-8"})}),n<e.length-1&&l.jsx("div",{className:"hidden md:block absolute top-8 left-1/2 w-full h-0.5 bg-border -z-0"}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:t.title}),l.jsx("p",{className:"text-sm text-muted-foreground",children:t.desc})]},n))})]})}),l.jsx("section",{className:"py-20",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"flex flex-col lg:flex-row gap-16",children:[l.jsxs("div",{className:"flex-1 space-y-8",children:[l.jsxs("div",{children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"Request a Custom Quote"}),l.jsx("p",{className:"text-muted-foreground",children:"Fill out the form below with your project details. We'll review your requirements and provide a detailed quote within 24 hours."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-semibold",children:"Why Choose Us?"}),l.jsx("ul",{className:"space-y-3",children:["No minimum order quantity","Premium UV-resistant inks","Expert finishing (grommets, pole sleeves, etc.)","Fast turnaround times available","Note: Art charges may apply. No ChatGPT format accepted. Artwork must be in Adobe Illustrator Vector outline."].map((t,n)=>l.jsxs("li",{className:"flex items-center gap-3",children:[l.jsx(SC,{className:"h-5 w-5 text-secondary"}),l.jsx("span",{children:t})]},n))})]})]}),l.jsx("div",{className:"flex-1",children:l.jsx("div",{className:"bg-card border rounded-xl shadow-lg overflow-hidden h-[800px]",children:l.jsx("iframe",{src:"https://api.leadconnectorhq.com/widget/form/jF1NTe4Y4Z9h1UwojDVS",style:{width:"100%",height:"100%",border:"none"},id:"inline-jF1NTe4Y4Z9h1UwojDVS","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"Custom Flag Quote Form","data-height":"800","data-layout-iframe-id":"inline-jF1NTe4Y4Z9h1UwojDVS","data-form-id":"jF1NTe4Y4Z9h1UwojDVS",title:"Custom Flag Quote Form"})})})]})})})]})}function bT(){return l.jsxs("div",{className:"flex flex-col min-h-screen",children:[l.jsx("section",{className:"bg-primary text-primary-foreground py-20",children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:"About Us"}),l.jsx("p",{className:"text-xl max-w-2xl mx-auto text-primary-foreground/80",children:"Welcome to Flag World"})]})}),l.jsx("section",{className:"py-20",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"flex flex-col lg:flex-row gap-12 items-center",children:[l.jsx("div",{className:"flex-1 flex justify-center items-center",children:l.jsx("img",{src:"https://vibe.filesafe.space/1782149216883161452/attachments/66d86bf1-93dc-4ec9-a7d4-44b4002ff950.png",alt:"Flag World Logo",className:"rounded-full shadow-2xl object-cover w-[350px] h-[350px] md:w-[450px] md:h-[450px]"})}),l.jsxs("div",{className:"flex-1 space-y-6",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Our Story"}),l.jsxs("div",{className:"prose prose-lg text-muted-foreground",children:[l.jsx("p",{children:"Flag World, Inc. was founded in 1995 by Tommie A. Quaid and Vicki Varney to provide a completely traditional, unique custom flag or banner services to business, government and individuals surrounding Central Florida."}),l.jsx("p",{children:"We take pride in finding the perfect personal house banner for a holiday or special occasion or fulfilling corporate and municipal needs in a professional and creative manner. All of our American flags, State flags and Military flags are proudly made in the USA!"}),l.jsx("p",{children:"It is our objective to treat every customer’s project as if it were our own. To the sixth grade teacher, the major production company or the family celebrating a homecoming all deserve the best!"}),l.jsx("p",{className:"text-primary font-signature text-2xl mt-6",children:"Vicki Varney & Tommie A. Quaid"}),l.jsx("p",{className:"text-sm",children:"Founders"})]})]})]})})}),l.jsx("section",{className:"py-20 bg-muted/30",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"text-center mb-16",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"Our Service is Unrivaled!"}),l.jsx("p",{className:"text-muted-foreground max-w-3xl mx-auto text-lg",children:"Our staff is not only the most knowledgeable in Central Florida, but also the most helpful. Our clients include financial institutions, municipalities, home-builders, hotels, major tourist attractions, hospitals, universities and all aspects of the business community."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[{icon:xC,title:"Custom Solutions",desc:"From personal house banners to fulfilling corporate and municipal needs in a professional and creative manner."},{icon:PC,title:"Personalized Care",desc:"We take pride in the fact that we not only service businesses, but also the individual. We treat every customer as if they are our only customer."},{icon:kC,title:"American Made",desc:"All of our American flags, State flags and Military flags are proudly made in the USA!"},{icon:LC,title:"Community Trusted",desc:"Proudly serving businesses, schools, hospitals, and individuals surrounding Central Florida since 1995."}].map((e,t)=>l.jsx(_n,{className:"text-center border-none shadow-sm bg-card hover:shadow-md transition-shadow",children:l.jsxs(no,{className:"pt-8 pb-8 px-6",children:[l.jsx("div",{className:"mx-auto w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mb-6",children:l.jsx(e.icon,{className:"h-8 w-8 text-primary"})}),l.jsx("h3",{className:"font-bold text-xl mb-3 text-foreground",children:e.title}),l.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:e.desc})]})},t))})]})})]})}var ST=Object.defineProperty,Ri=(e,t)=>ST(e,"name",{value:t,configurable:!0}),Yf="Collapsible",[CT,fw]=ht(Yf),[ET,Xf]=CT(Yf),NT=d.forwardRef(Ri(function(t,n){const{__scopeCollapsible:r,open:o,defaultOpen:s,disabled:i,onOpenChange:a,...c}=t,[u,f]=hn({prop:o,defaultProp:s??!1,onChange:a,caller:Yf});return l.jsx(ET,{scope:r,disabled:i,contentId:kn(),open:u,onOpenToggle:d.useCallback(()=>f(p=>!p),[f]),children:l.jsx(Q.div,{"data-state":Gl(u),"data-disabled":i?"":void 0,...c,ref:n})})},"Collapsible")),jT="CollapsibleTrigger",PT=d.forwardRef(Ri(function(t,n){const{__scopeCollapsible:r,...o}=t,s=Xf(jT,r);return l.jsx(Q.button,{type:"button","aria-controls":s.open?s.contentId:void 0,"aria-expanded":s.open||!1,"data-state":Gl(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...o,ref:n,onClick:B(t.onClick,s.onOpenToggle)})},"CollapsibleTrigger")),pw="CollapsibleContent",kT=d.forwardRef(Ri(function(t,n){const{forceMount:r,...o}=t,s=Xf(pw,t.__scopeCollapsible);return l.jsx(Dt,{present:r||s.open,children:({present:i})=>l.jsx(RT,{...o,ref:n,present:i})})},"CollapsibleContent")),RT=d.forwardRef(Ri(function(t,n){const{__scopeCollapsible:r,present:o,children:s,...i}=t,a=Xf(pw,r),[c,u]=d.useState(o),f=d.useRef(null),p=ee(n,f),m=d.useRef(0),h=m.current,w=d.useRef(0),x=w.current,b=a.open||c,y=d.useRef(b),g=d.useRef(void 0);return d.useEffect(()=>{const v=requestAnimationFrame(()=>y.current=!1);return()=>cancelAnimationFrame(v)},[]),we(()=>{const v=f.current;if(v){g.current=g.current||{transitionDuration:v.style.transitionDuration,animationName:v.style.animationName},v.style.transitionDuration="0s",v.style.animationName="none";const S=v.getBoundingClientRect();m.current=S.height,w.current=S.width,y.current||(v.style.transitionDuration=g.current.transitionDuration,v.style.animationName=g.current.animationName),u(o)}},[a.open,o]),l.jsx(Q.div,{"data-state":Gl(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!b,...i,ref:p,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...t.style},children:b&&s})},"CollapsibleContentImpl"));function Gl(e){return e?"open":"closed"}Ri(Gl,"getState");var TT=NT,_T=PT,AT=kT,IT=Object.defineProperty,xt=(e,t)=>
273IT(e,"name",{value:t,configurable:!0}),vn="Accordion",OT=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Zf,FT,MT]=Ci(vn),[Kl,b4]=ht(vn,[MT,fw]),Jf=fw(),DT=d.forwardRef(xt(function(t,n){const{type:r,...o}=t,s=o,i=o;return l.jsx(Zf.Provider,{scope:t.__scopeAccordion,children:r==="multiple"?l.jsx(UT,{...i,ref:n}):l.jsx($T,{...s,ref:n})})},"Accordion")),[hw,LT]=Kl(vn),[mw,zT]=Kl(vn,{collapsible:!1}),$T=d.forwardRef(xt(function(t,n){const{value:r,defaultValue:o,onValueChange:s=xt(()=>{},"onValueChange"),collapsible:i=!1,...a}=t,[c,u]=hn({prop:r,defaultProp:o??"",onChange:s,caller:vn});return l.jsx(hw,{scope:t.__scopeAccordion,value:d.useMemo(()=>c?[c]:[],[c]),onItemOpen:u,onItemClose:d.useCallback(()=>i&&u(""),[i,u]),children:l.jsx(mw,{scope:t.__scopeAccordion,collapsible:i,children:l.jsx(gw,{...a,ref:n})})})},"AccordionImplSingle")),UT=d.forwardRef(xt(function(t,n){const{value:r,defaultValue:o,onValueChange:s=xt(()=>{},"onValueChange"),...i}=t,[a,c]=hn({prop:r,defaultProp:o??[],onChange:s,caller:vn}),u=d.useCallback(p=>c((m=[])=>[...m,p]),[c]),f=d.useCallback(p=>c((m=[])=>m.filter(h=>h!==p)),[c]);return l.jsx(hw,{scope:t.__scopeAccordion,value:a,onItemOpen:u,onItemClose:f,children:l.jsx(mw,{scope:t.__scopeAccordion,collapsible:!0,children:l.jsx(gw,{...i,ref:n})})})},"AccordionImplMultiple")),[VT,Ql]=Kl(vn),gw=d.forwardRef(xt(function(t,n){const{__scopeAccordion:r,disabled:o,dir:s,orientation:i="vertical",...a}=t,c=d.useRef(null),u=ee(c,n),f=FT(r),m=hs(s)==="ltr",h=B(t.onKeyDown,w=>{var R;if(!OT.includes(w.key))return;const x=w.target,b=f().filter(k=>{var M;return!((M=k.ref.current)!=null&&M.disabled)}),y=b.findIndex(k=>k.ref.current===x),g=b.length;if(y===-1)return;w.preventDefault();let v=y;const S=0,C=g-1,E=xt(()=>{v=y+1,v>C&&(v=S)},"moveNext"),N=xt(()=>{v=y-1,v<S&&(v=C)},"movePrev");switch(w.key){case"Home":v=S;break;case"End":v=C;break;case"ArrowRight":i==="horizontal"&&(m?E():N());break;case"ArrowDown":i==="vertical"&&E();break;case"ArrowLeft":i==="horizontal"&&(m?N():E());break;case"ArrowUp":i==="vertical"&&N();break}const j=v%g;(R=b[j].ref.current)==null||R.focus()});return l.jsx(VT,{scope:r,disabled:o,direction:s,orientation:i,children:l.jsx(Zf.Slot,{scope:r,children:l.jsx(Q.div,{...a,"data-orientation":i,ref:u,onKeyDown:o?void 0:h})})})},"AccordionImpl")),cd="AccordionItem",[BT,ep]=Kl(cd),WT=d.forwardRef(xt(function(t,n){const{__scopeAccordion:r,value:o,...s}=t,i=Ql(cd,r),a=LT(cd,r),c=Jf(r),u=kn(),f=o&&a.value.includes(o)||!1,p=i.disabled||t.disabled;return l.jsx(BT,{scope:r,open:f,disabled:p,triggerId:u,children:l.jsx(TT,{"data-orientation":i.orientation,"data-state":tp(f),...c,...s,ref:n,disabled:p,open:f,onOpenChange:m=>{m?a.onItemOpen(o):a.onItemClose(o)}})})},"AccordionItem")),HT="AccordionHeader",GT=d.forwardRef(xt(function(t,n){const{__scopeAccordion:r,...o}=t,s=Ql(vn,r),i=ep(HT,r);return l.jsx(Q.h3,{"data-orientation":s.orientation,"data-state":tp(i.open),"data-disabled":i.disabled?"":void 0,...o,ref:n})},"AccordionHeader")),vm="AccordionTrigger",KT=d.forwardRef(xt(function(t,n){const{__scopeAccordion:r,...o}=t,s=Ql(vn,r),i=ep(vm,r),a=zT(vm,r),c=Jf(r);return l.jsx(Zf.ItemSlot,{scope:r,children:l.jsx(_T,{"aria-disabled":i.open&&!a.collapsible||void 0,"data-orientation":s.orientation,id:i.triggerId,...c,...o,ref:n})})},"AccordionTrigger")),QT="AccordionContent",qT=d.forwardRef(xt(function(t,n){const{__scopeAccordion:r,...o}=t,s=Ql(vn,r),i=ep(QT,r),a=Jf(r);return l.jsx(AT,{role:"region","aria-labelledby":i.triggerId,"data-orientation":s.orientation,...a,...o,ref:n,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...t.style}})},"AccordionContent"));function tp(e){return e?"open":"closed"}xt(tp,"getState");var YT=DT,XT=WT,ZT=GT,vw=KT,yw=qT;const JT=YT,xw=d.forwardRef(({className:e,...t},n)=>l.jsx(XT,{ref:n,className:G("border-b",e),...t}));xw.displayName="AccordionItem";const ww=d.forwardRef(({className:e,children:t,...n},r)=>l.jsx(ZT,{className:"flex",children:l.jsxs(vw,{ref:r,className:G("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,l.jsx(xf,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));ww.displayName=vw.displayName;const bw=d.forwardRef(({className:e,children:t,...n},r)=>l.jsx(yw,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:l.jsx("div",{className:G("pb-4 pt-0",e),children:t})}));bw.displayName=yw.displayName;function e4(){const e=[{question:"What material is best for outdoor flags?",answer:"For most outdoor applications, we recommend our premium 200-denier nylon. It flies beautifully even in a light breeze and has excellent color retention. For high-wind areas, our spun polyester is the most durable option, though it requires more wind to fly fully."},{question:"How long will an outdoor flag last?",answer:"The lifespan of a flag depends entirely on weather conditions and care. A flag flown 24/7 in harsh weather may need replacement in 3-6 months. A flag flown occasionally in mild weather can last years. We recommend taking flags down during severe storms to extend their life."},{question:"What size flag do I need for my flagpole?",answer:"A general rule of thumb is that the length of the flag should be one-quarter to one-third the height of the pole. For a 20ft residential pole, a 3'x5' or 4'x6' flag is ideal. For a standard 5ft house-mounted pole, a 2.5'x4' or 3'x5' flag works best."},{question:"How long does a custom flag order take?",answer:"Once you approve the digital proof, standard production takes 7-10 business days. Shipping usually takes an additional 3-5 days. If you have a specific deadline, please let us know during the quote process—rush options are available."},{question:"Are your American flags made in the USA?",answer:"Yes, absolutely. By federal law, American flags must be labeled with their country of origin. We guarantee that all our American flags are 100% manufactured in the United States, using domestic materials and labor."},{question:"What is your return policy?",answer:"There are no refunds. We offer exchanges and store credit only on standard, unused products. Custom flags are final sale."},{question:"Do you offer wholesale or bulk pricing?",answer:"Yes! We offer tiered pricing for bulk orders, which is perfect for municipalities, schools, businesses, and event organizers. Please contact us directly with your requirements for a custom wholesale quote."}];return l.jsxs("div",{className:"flex flex-col min-h-screen",children:[l.jsx("section",{className:"bg-primary text-primary-foreground py-20",children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:"Frequently Asked Questions"}),l.jsx("p",{className:"text-xl max-w-2xl mx-auto text-primary-foreground
273/80",children:"Everything you need to know about our flags, materials, and ordering process."})]})}),l.jsx("section",{className:"py-20",children:l.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[l.jsx(JT,{type:"single",collapsible:!0,className:"w-full space-y-4",children:e.map((t,n)=>l.jsxs(xw,{value:`item-${n}`,className:"bg-card border rounded-lg px-6",children:[l.jsx(ww,{className:"text-lg font-semibold hover:no-underline hover:text-primary py-6 text-left",children:t.question}),l.jsx(bw,{className:"text-muted-foreground text-base leading-relaxed pb-6",children:t.answer})]},n))}),l.jsxs("div",{className:"mt-16 text-center bg-muted/50 rounded-xl p-8",children:[l.jsx("h3",{className:"text-2xl font-bold text-primary mb-4",children:"Still have questions?"}),l.jsx("p",{className:"text-muted-foreground mb-6",children:"Can't find the answer you're looking for? Our team is here to help."}),l.jsx(je,{size:"lg",className:"bg-secondary text-white hover:bg-secondary/90",asChild:!0,children:l.jsx(We,{to:"/contact",children:"Contact Us"})})]})]})})]})}function t4(){Uv();const[e,t]=d.useState(!1);return l.jsxs("div",{className:"flex flex-col min-h-screen",children:[l.jsx("section",{className:"bg-primary text-primary-foreground py-20",children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:"Contact Us"}),l.jsx("p",{className:"text-xl max-w-2xl mx-auto text-primary-foreground/80",children:"Have a question about an order, need help choosing a flag, or want to discuss a custom project? We're here to help."})]})}),l.jsx("section",{className:"py-20",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"flex flex-col lg:flex-row gap-16",children:[l.jsxs("div",{className:"flex-1 space-y-10",children:[l.jsxs("div",{children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-6",children:"Get in Touch"}),l.jsx("p",{className:"text-muted-foreground text-lg mb-8",children:"Vicki and the team at Flag World are ready to assist you. Reach out via phone, email, or visit our workshop."})]}),l.jsxs("div",{className:"space-y-6",children:[l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center shrink-0",children:l.jsx(Ay,{className:"h-6 w-6 text-primary"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-lg",children:"Phone"}),l.jsx("p",{className:"text-muted-foreground mb-1",children:"Call us for immediate assistance."}),l.jsxs("div",{className:"flex flex-col gap-1",children:[l.jsx("a",{href:"tel:+14078959245",className:"text-primary font-medium hover:underline text-lg",children:"Valerie: (407) 895-9245"}),l.jsx("a",{href:"tel:+14078959246",className:"text-primary font-medium hover:underline text-lg",children:"Vicki: (407) 895-9246"}),l.jsx("a",{href:"tel:+14078959247",className:"text-primary font-medium hover:underline text-lg",children:"Rocky: (407) 895-9247"})]})]})]}),l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center shrink-0",children:l.jsx(_y,{className:"h-6 w-6 text-primary"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-lg",children:"Email"}),l.jsx("p",{className:"text-muted-foreground mb-1",children:"Send us your questions or files."}),l.jsx("a",{href:"mailto:[email protected]",className:"text-primary font-medium hover:underline text-lg",children:"[email protected]"})]})]}),l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center shrink-0",children:l.jsx(RC,{className:"h-6 w-6 text-primary"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-lg",children:"Visit Our Workshop"}),l.jsxs("p",{className:"text-muted-foreground",children:["807 Virginia Dr",l.jsx("br",{}),"Orlando, FL",l.jsx("br",{}),"United States, Florida"]})]})]}),l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center shrink-0",children:l.jsx(EC,{className:"h-6 w-6 text-primary"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-lg",children:"Business Hours"}),l.jsxs("p",{className:"text-muted-foreground",children:["Monday - Thursday: 9:00 AM - 4:00 PM",l.jsx("br",{}),"Friday: 9:00 AM - 3:30 PM",l.jsx("br",{}),"Saturday & Sunday: Closed"]})]})]})]})]}),l.jsx("div",{className:"flex-1",children:l.jsxs("div",{className:"bg-card border rounded-xl p-4 md:p-8 shadow-lg",children:[l.jsx("h3",{className:"text-2xl font-bold text-primary mb-6",children:"Send a Message"}),l.jsx("iframe",{src:"https://api.leadconnectorhq.com/widget/form/qsnYEhvlh2SsvxTyR2WO",style:{width:"100%",height:"650px",border:"none",borderRadius:"3px"},id:"inline-qsnYEhvlh2SsvxTyR2WO","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"Contact Form","data-height":"650","data-layout-iframe-id":"inline-qsnYEhvlh2SsvxTyR2WO","data-form-id":"qsnYEhvlh2SsvxTyR2WO",title:"Contact Form"})]})})]})})})]})}function n4(){return l.jsx("div",{className:"container mx-auto px-4 py-12 md:py-20 max-w-4xl",children:l.jsx(_n,{className:"border-none shadow-sm bg-muted/30",children:l.jsxs(no,{className:"p-8 md:p-12 prose prose-neutral dark:prose-invert max-w-none",children:[l.jsx("h1",{className:"text-3xl font-bold text-primary mb-6",children:"Terms of Service"}),l.jsx("p",{className:"text-muted-foreground italic mb-8",children:"Last updated: June 19, 2026"}
273),l.jsxs("p",{className:"mb-6",children:['Welcome to Flag World. These Terms of Service ("Terms") govern your use of'," ",l.jsx("a",{href:"https://flagworld.com/",className:"text-secondary hover:underline",children:"flagworld.com"})," ",'(the "Site") and any purchases you make from Flag World Incorporated ("Flag World," "we," "us," or "our"). By using the Site or placing an order, you agree to these Terms.']}),l.jsx("h2",{className:"text-2xl font-semibold text-primary mt-8 mb-4",children:"Orders and Payment"}),l.jsx("p",{className:"mb-6",children:"All orders are subject to acceptance and product availability. Prices are listed in U.S. dollars and may change without notice. We reserve the right to refuse or cancel any order. Payment is processed through our third-party payment provider at the time of purchase."}),l.jsx("h2",{className:"text-2xl font-semibold text-primary mt-8 mb-4",children:"Shipping and Returns"}),l.jsx("p",{className:"mb-6",children:"Shipping times and costs are provided at checkout. Please contact us regarding exchanges or damaged items. We do not offer refunds; we only provide exchanges and store credit. Custom flags are non-refundable and non-exchangeable unless defective."}),l.jsx("h2",{className:"text-2xl font-semibold text-primary mt-8 mb-4",children:"Text Messaging Terms (SMS)"}),l.jsx("p",{className:"mb-4",children:"By providing your mobile phone number and opting in, you consent to receive text messages from Flag World. These may include transactional messages such as order confirmations and shipping updates, and, where you have agreed, promotional messages and offers."}),l.jsxs("ul",{className:"list-disc pl-6 mb-6 space-y-2",children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Consent:"})," Consent to receive text messages is not a condition of purchasing any goods or services."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Message frequency:"})," Message frequency varies based on your interactions with us."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Cost:"})," Message and data rates may apply, depending on your mobile carrier and plan."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Opt out:"})," You can cancel at any time by replying STOP to any message. After you reply STOP, we will send one confirmation message, and you will no longer receive text messages from us."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Help:"})," Reply HELP for assistance, or contact us using the information below."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Carrier liability:"})," Carriers are not liable for delayed or undelivered messages."]})]}),l.jsx("p",{className:"mb-6",children:"For information on how we handle the data associated with text messaging, see our Privacy Policy. We do not share mobile opt-in information with third parties for marketing purposes."}),l.jsx("h2",{className:"text-2xl font-semibold text-primary mt-8 mb-4",children:"Acceptable Use"}),l.jsx("p",{className:"mb-6",children:"You agree to use the Site only for lawful purposes and not to interfere with its operation, attempt unauthorized access, or use it in any way that could damage or impair the Site or other users' use of it."}),l.jsx("h2",{className:"text-2xl font-semibold text-primary mt-8 mb-4",children:"Intellectual Property"}),l.jsx("p",{className:"mb-6",children:"All content on the Site, including text, images, logos, and graphics, is the property of Flag World or its licensors and is protected by applicable intellectual property laws. You may not reproduce or use this content without our written permission."}),l.jsx("h2",{className:"text-2xl font-semibold text-primary mt-8 mb-4",children:"Disclaimers and Limitation of Liability"}),l.jsx("p",{className:"mb-6",children:'The Site and products are provided "as is" without warranties of any kind, except as required by law. To the fullest extent permitted by law, Flag World is not liable for any indirect, incidental, or consequential damages arising from your use of the Site or products.'}),l.jsx("h2",{className:"text-2xl font-semibold text-primary mt-8 mb-4",children:"Governing Law"}),l.jsx("p",{className:"mb-6",children:"These Terms are governed by the laws of the State of Florida, without regard to its conflict of law principles."}),l.jsx("h2",{className:"text-2xl font-semibold text-primary mt-8 mb-4",children:"Changes to These Terms"}),l.jsx("p",{className:"mb-6",children:'We may update these Terms from time to time. The "Last updated" date above reflects the most recent revision. Continued use of the Site after changes constitutes acceptance of the updated Terms.'}),l.jsx("h2",{className:"text-2xl font-semibold text-primary mt-8 mb-4",children:"Contact Us"}),l.jsxs("p",{className:"mb-6",children:["Flag World Incorporated",l.jsx("br",{}),"807 Virginia Dr, Orlando, FL, United States, Florida",l.jsx("br",{}
273),"+1 407-895-9245",l.jsx("br",{}),l.jsx("a",{href:"mailto:[email protected]",className:"text-secondary hover:underline",children:"[email protected]"})]})]})})})}const r4=()=>{const e=ps();return d.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),l.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:l.jsxs("div",{className:"text-center",children:[l.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),l.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),l.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},Sw=d.forwardRef(({className:e,...t},n)=>l.jsx("div",{className:"relative w-full overflow-auto",children:l.jsx("table",{ref:n,className:G("w-full caption-bottom text-sm",e),...t})}));Sw.displayName="Table";const Cw=d.forwardRef(({className:e,...t},n)=>l.jsx("thead",{ref:n,className:G("[&_tr]:border-b",e),...t}));Cw.displayName="TableHeader";const Ew=d.forwardRef(({className:e,...t},n)=>l.jsx("tbody",{ref:n,className:G("[&_tr:last-child]:border-0",e),...t}));Ew.displayName="TableBody";const o4=d.forwardRef(({className:e,...t},n)=>l.jsx("tfoot",{ref:n,className:G("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}));o4.displayName="TableFooter";const ud=d.forwardRef(({className:e,...t},n)=>l.jsx("tr",{ref:n,className:G("border-b transition-colors data-[state=selected]:bg-muted hover:bg-muted/50",e),...t}));ud.displayName="TableRow";const dd=d.forwardRef(({className:e,...t},n)=>l.jsx("th",{ref:n,className:G("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...t}));dd.displayName="TableHead";const fd=d.forwardRef(({className:e,...t},n)=>l.jsx("td",{ref:n,className:G("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));fd.displayName="TableCell";const s4=d.forwardRef(({className:e,...t},n)=>l.jsx("caption",{ref:n,className:G("mt-4 text-sm text-muted-foreground",e),...t}));s4.displayName="TableCaption";function i4(){const[e,t]=d.useState(0),n=[{height:"20'",size:"3' x 5'"},{height:"25'",size:"4' x 6'"},{height:"30'",size:"5' x 8'"},{height:"35'",size:"6' x 10'"},{height:"40'",size:"8' x 12'"},{height:"45'",size:"8' x 12'"},{height:"50'",size:"10' x 15'"},{height:"60'",size:"12' x 18'"},{height:"70'",size:"15' x 25'"},{height:"80'",size:"20' x 30'"}],r=[{height:20,flagH:3,flagW:5,label:"20'",size:"3'x5'"},{height:25,flagH:4,flagW:6,label:"25'",size:"4'x6'"},{height:30,flagH:5,flagW:8,label:"30'",size:"5'x8'"},{height:35,flagH:6,flagW:10,label:"35'",size:"6'x10'"},{height:40,flagH:8,flagW:12,label:"40'",size:"8'x12'"},{height:45,flagH:8,flagW:12,label:"45'",size:"8'x12'"},{height:50,flagH:10,flagW:15,label:"50'",size:"10'x15'"},{height:60,flagH:12,flagW:18,label:"60'",size:"12'x18'"},{height:70,flagH:15,flagW:25,label:"70'",size:"15'x25'"},{height:80,flagH:20,flagW:30,label:"80'",size:"20'x30'"}],o=r[e],s=500/80,i=o.height*s,a=o.flagH*s,c=o.flagW*s,u=6*s,f=550,p=180;return l.jsxs("div",{className:"flex flex-col min-h-screen",children:[l.jsx("section",{className:"bg-primary text-primary-foreground py-20",children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6 max-w-4xl mx-auto leading-tight",children:"Pole Installation, Guidelines & Repairs"}),l.jsx("p",{className:"text-xl max-w-2xl mx-auto text-primary-foreground/80",children:"We install and repair flagpoles for residential and commercial properties."})]})}),l.jsx("section",{className:"py-16",children:l.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[l.jsxs("div",{className:"prose prose-lg max-w-none mb-12 text-muted-foreground",children:[l.jsx("p",{children:"When selecting the height of your flagpole and the size of your flag, you must consider the location where you will display the flag and the surrounding environment."}),l.jsx("p",{children:"Flying flags larger than the recommended flag size increases the stress load on the flagpole which could potentially void the shaft warranty. If you plan to fly multiple flags on the same pole, ensure that the total square footage of all the flags does not exceed the square footage of the recommended flag size."}),l.jsx("p",{className:"font-semibold text-foreground",children:"Review any local ordinances or regulations to verify no flagpole height restrictions."})]}),l.jsxs(_n,{className:"mb-16 overflow-hidden border-2 shadow-lg",children:[l.jsxs(C0,{className:"bg-muted/30 border-b pb-8",children:[l.jsx(E0,{className:"text-3xl text-center text-primary",children:"Interactive Size Visualizer"}),l.jsx("p",{className:"text-center text-muted-foreground mt-2 text-lg",children:"Select a pole height to see the recommended flag scale."})]}),l.jsx(no,{className:"p-0",children:l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12",children:[l.jsxs("div",{className:"lg:col-span-4 p-6 md:p-8 bg-muted/10 border-r flex flex-col gap-8",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-lg mb-4",children:"1. Select Pole Height"}),l.jsx("div",{className:"grid grid-cols-3 sm:grid-cols-5 lg:grid-cols-2 gap-3",children:r.map((m,h)=>l.jsx(je,{variant:e===h?"default":"outline",onClick:()=>t(h),className:`w-full transition-all ${e===h?"ring-2 ring-primary ring-offset-2 shadow-md":"hover:border-primary/50"}`,children:m.label},h))})]}),l.jsxs("div",{className:"p-6 bg-primary/5 rounded-xl border border-primary/20 shadow-inner",children:[l.jsx("h3",{className:"font-semibold text-primary mb-2",children:"2. Recommended Flag Size"}),l.jsx("div",{className:"text-4xl font-bold text-foreground mb-2",children:o.size}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"This size ensures optimal display without exceeding the pole's structural weight limits."})]})]}),l.jsx("div",{className:"lg:col-span-8 bg-white flex items-end justify-center min-h-[500px] relative overflow-hidden p-4",children:l.jsxs("svg",{viewBox:"0 0 500 600",className:"w-full h-full max-h-[600px] drop-shadow-sm",children:[l.jsxs("defs",{children:[l.jsx("pattern",{id:"grid",width:"40",height:"40",patternUnits:"userSpaceOnUse",children:l.jsx("path",{d:"M 40 0 L 0 0 0 40",fill:"none",stroke:"currentColor",strokeWidth:"0.5",className:"text-muted/20"})}),l.jsxs("linearGradient",{id:"poleGrad",x1:"0",y1:"0",x2:"1",y2:"0",children:[l.jsx("stop",{offset:"0%",stopColor:"#cbd5e1"}),l.jsx("stop",{offset:"50%",stopColor:"#f8fafc"}),l.jsx("stop",{offset:"100%",stopColor:"#94a3b8"})]})]}),l.jsx("rect",{width:"500",height:"600",fill:"url(#grid)"}),l.jsx("line",{x1:"0",y1:f,x2:"500",y2:f,stroke:"currentColor",strokeWidth:"2",className:"text-border"}),l.jsx("rect",{x:"0",y:f,width:"500",height:"50",fill:"currentColor",className:"text-muted/30"}),l.jsxs("g",{transform:`translate(100, ${f-u})`,children:[l.jsx("circle",{cx:"12",cy:"6",r:"5",fill:"currentColor",className:"text-slate-400"}),l.jsx("rect",{x:"6",y:"12",width:"12",height:"14",rx:"3",fill:"
273currentColor",className:"text-slate-400"}),l.jsx("rect",{x:"7",y:"26",width:"4",height:"11",rx:"1",fill:"currentColor",className:"text-slate-400"}),l.jsx("rect",{x:"13",y:"26",width:"4",height:"11",rx:"1",fill:"currentColor",className:"text-slate-400"}),l.jsx("text",{x:"12",y:u+16,textAnchor:"middle",fontSize:"12",className:"fill-slate-500 font-medium",children:"6'"})]}),l.jsx("rect",{x:p-4,fill:"url(#poleGrad)",className:"transition-all duration-500 ease-in-out",style:{y:f-i,height:i},width:"8"}),l.jsx("circle",{cx:p,r:"6",fill:"#eab308",className:"transition-all duration-500 ease-in-out",style:{cy:f-i-4}}),l.jsxs("g",{className:"transition-all duration-500 ease-in-out",style:{transform:`translate(${p+4}px, ${f-i}px)`},children:[l.jsx("rect",{style:{width:c,height:a},fill:"#b91c1c",className:"transition-all duration-500 ease-in-out"}),l.jsx("rect",{style:{width:c,height:a*.14,y:a*.14},fill:"#f8fafc",className:"transition-all duration-500 ease-in-out"}),l.jsx("rect",{style:{width:c,height:a*.14,y:a*.42},fill:"#f8fafc",className:"transition-all duration-500 ease-in-out"}),l.jsx("rect",{style:{width:c,height:a*.14,y:a*.7},fill:"#f8fafc",className:"transition-all duration-500 ease-in-out"}),l.jsx("rect",{style:{width:c,height:a*.02,y:a*.98},fill:"#f8fafc",className:"transition-all duration-500 ease-in-out"}),l.jsx("rect",{style:{width:c*.4,height:a*.53},fill:"#1e3a8a",className:"transition-all duration-500 ease-in-out"})]}),l.jsxs("g",{className:"text-primary transition-all duration-500 ease-in-out",children:[l.jsx("line",{x1:p-30,y1:f,x2:p-30,y2:f-i,stroke:"currentColor",strokeWidth:"1",strokeDasharray:"4",className:"transition-all duration-500 ease-in-out"}),l.jsx("line",{x1:p-35,y1:f,x2:p-25,y2:f,stroke:"currentColor",strokeWidth:"1"}),l.jsx("line",{x1:p-35,y1:f-i,x2:p-25,y2:f-i,stroke:"currentColor",strokeWidth:"1",className:"transition-all duration-500 ease-in-out"}),l.jsx("text",{x:p-40,y:f-i/2,textAnchor:"end",dominantBaseline:"middle",fontSize:"16",fontWeight:"bold",fill:"currentColor",className:"transition-all duration-500 ease-in-out",children:o.label})]}),l.jsxs("g",{className:"text-secondary transition-all duration-500 ease-in-out",style:{transform:`translateY(${f-i}px)`},children:[l.jsx("line",{x1:p+4,y1:"-20",x2:p+4+c,y2:"-20",stroke:"currentColor",strokeWidth:"1",strokeDasharray:"4",className:"transition-all duration-500 ease-in-out"}),l.jsx("line",{x1:p+4,y1:"-25",x2:p+4,y2:"-15",stroke:"currentColor",strokeWidth:"1"}),l.jsx("line",{x1:p+4+c,y1:"-25",x2:p+4+c,y2:"-15",stroke:"currentColor",strokeWidth:"1",className:"transition-all duration-500 ease-in-out"}),l.jsx("text",{x:p+4+c/2,y:"-30",textAnchor:"middle",fontSize:"16",fontWeight:"bold",fill:"currentColor",className:"transition-all duration-500 ease-in-out",children:o.size})]})]})})]})})]}),l.jsxs("div",{className:"mb-16",children:[l.jsx("h3",{className:"text-2xl font-bold text-primary mb-6 text-center",children:"Quick Reference Guide"}),l.jsx(_n,{className:"overflow-hidden",children:l.jsxs(Sw,{children:[l.jsx(Cw,{children:l.jsxs(ud,{className:"bg-muted/50",children:[l.jsx(dd,{className:"w-1/2 text-center text-lg font-semibold py-4",children:"Flagpole Height"}),l.jsx(dd,{className:"w-1/2 text-center text-lg font-semibold py-4",children:"Recommended Flag Size"})]})}),l.jsx(Ew,{children:n.map((m,h)=>l.jsxs(ud,{className:"hover:bg-muted/30",children:[l.jsx(fd,{className:"text-center text-lg py-4 font-medium",children:m.height}),l.jsx(fd,{className:"text-center text-lg py-4",children:m.size})]},h))})]})})]}),l.jsxs("div",{className:"mb-16",children:[l.jsx("h3",{className:"text-2xl font-bold text-primary mb-6 text-center",children:"Our Recent Installations"}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:["https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/6a46d581ac41ea59b01c5ec4.jpg","https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/6a46d57d20f1c14ba9a35108.jpg","https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/6a46d57920f1c14ba9a350b0.jpg","https://vibe.filesafe.space/1782149216883161452/attachments/4a27abd6-a4fc-421c-a13c-fd5559cbf330.jpg","https://vibe.filesafe.space/1782149216883161452/attachments/cffceafc-b8e1-4cfd-adff-5e57ad310389.jpg","https://vibe.filesafe.space/1782149216883161452/attachments/c13f39c1-ea7c-479c-9065-ee1b55b1f613.jpg","https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/6a4bdb79631efcd7daeccf71.jpg","https://assets.cdn.filesafe.space/v9uRdKddv5pAcGaRTCQi/media/6a4bdb7c631efcd7daeccf97.jpg"].map((m,h)=>l.jsx("div",{className:"rounded-xl overflow-hidden shadow-md h-64 md:h-80",children:l.jsx("img",{src:m,alt:`Recent flagpole installation ${h+1}`,className:"w-full h-full object-cover transition-transform hover:scale-105 duration-500"})},h))})]}),l.jsxs("div",{className:"bg-muted/30 rounded-2xl p-8 md:p-12 text-center border shadow-sm",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"Need Something Specific?"}),l.jsx("p",{className:"text-xl text-muted-foreground mb-8",children:"Call for pricing: 407-895-9245. We're here to help you find the perfect fit for your display."}),l.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-6",children:[l.jsx(je,{size:"lg",className:"bg-secondary text-white hover:bg-secondary/90 text-lg px-8 py-6 w-full sm:w-auto",asChild:!0,children:l.jsxs("a",{href:"tel:+14078959245",className:"flex items-center gap-2",children:[l.jsx(Ay,{className:"h-5 w-5"}),"+1 407-895-9245"]})}),l.jsx(je,{size:"lg",variant:"outline",className:"text-lg px-8 py-6 w-full sm:w-auto",asChild:!0,children:l.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-2",children:[l.jsx(_y,{className:"h-5 w-5"}),"[email protected]"]})})]})]})]})})]})}const a4=new dj,l4=()=>(window.location.href="https://store.flagworld.com",null),c4=()=>l.jsx(DN,{client:a4,children:l.jsx(vP,{children:l.jsxs(ON,{children:[l.jsx(w2,{}),l.jsx(Z2,{}),l.jsx(fP,{children:l.jsx(sP,{children:l.jsxs(Pt,{element:l.jsx(Gk,{}),children:[l.jsx(Pt,{path:"/",element:l.jsx(Xk,{})}),l.jsx(Pt,{path:"/shop",element:l.jsx(xT,{})}),l.jsx(Pt,{path:"/store",element:l.jsx(l4,{})}),l.jsx(Pt,{path:"/custom",element:l.jsx(wT,{})}),l.jsx(Pt,{path:"/about",element:l.jsx(bT,{})}),l.jsx(Pt,{path:"/faq",element:l.jsx(e4,{})}),l.jsx(Pt,{path:"/contact",element:l.jsx(t4,{})}),l.jsx(Pt,{path:"/terms",element:l.jsx(n4,{})}),l.jsx(Pt,{path:"/pole-installation",element:l.jsx(i4,{})}),l.jsx(Pt,{path:"*",element:l.jsx(r4,{})})]})})})]})})});$v(document.getElementById("root")).render(l.jsx(c4,{}));

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.